:root { --zz-buyer-tools: ready; }
.zz-platform-support { border: 0; cursor: pointer; }
.zz-support-dialog { box-sizing: border-box; width: min(360px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto; padding: 24px; border: 0; border-radius: 20px; color: #252738; background: #fff; text-align: center; box-shadow: 0 20px 70px #20234040; }
.zz-support-dialog::backdrop { background: #171b3859; }
.zz-support-dialog h2 { margin: 0 0 12px; font: 700 21px/1.5 system-ui, sans-serif; }
.zz-support-dialog img { display: block; width: 100%; height: auto; }
.zz-support-dialog p { margin: 12px 0; color: #626674; font: 13px/1.6 system-ui, sans-serif; }
.zz-support-dialog a, .zz-support-dialog button { display: block; box-sizing: border-box; width: 100%; padding: 10px; margin-top: 10px; border: 0; border-radius: 12px; background: #4f61d7; color: #fff; text-decoration: none; cursor: pointer; font: 600 14px/1.5 system-ui, sans-serif; }
.zz-support-dialog button { background: #f1f2f8; color: #424754; }
.zz-platform-support { position: fixed; right: 18px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 90; padding: 12px 16px; border-radius: 24px; background: #4f61d7; color: #fff !important; text-decoration: none; font: 600 14px/1.4 system-ui, sans-serif; box-shadow: 0 5px 18px #263f8030; }
.zz-platform-support:hover { background: #3f4fbd; }
.zz-platform-support:focus-visible, .zz-recent-orders button:focus-visible { outline: 3px solid #b0b9ff; outline-offset: 3px; }
.zz-recent-orders { box-sizing: border-box; width: min(100%, 680px); margin: 20px auto; padding: 16px; border: 1px solid #e6e7ef; border-radius: 16px; text-align: left; background: #fff; color: #252738; }
.zz-recent-orders h2 { margin: 0 0 6px; font: 600 16px/1.5 system-ui, sans-serif; }
.zz-recent-orders p { margin: 0 0 12px; color: #666b7a; font: 13px/1.6 system-ui, sans-serif; }
.zz-recent-orders-list { display: flex; flex-wrap: wrap; gap: 8px; }
.zz-recent-orders button { max-width: 100%; overflow-wrap: anywhere; border: 1px solid #e2e5f5; border-radius: 8px; padding: 8px 12px; background: #f4f5ff; color: #394cad; cursor: pointer; font: 14px/1.5 system-ui, sans-serif; }
.zz-recent-orders .zz-recent-clear { margin-top: 12px; padding: 4px 0; border: 0; background: transparent; color: #666b7a; font-size: 12px; }
.zz-trust-strip { flex: 0 0 100%; box-sizing: border-box; margin: 0 0 8px; padding: 5px 8px; color: #58625e; background: #f1f7f4; border-radius: 6px; text-align: center; white-space: normal; font: 12px/1.6 system-ui, sans-serif; }
footer.app-footer:has(> .zz-trust-strip), .page-bottom:has(> .zz-trust-strip) { flex-wrap: wrap; height: auto !important; }
@media (max-width: 600px) { .zz-platform-support { right: 12px; bottom: calc(116px + env(safe-area-inset-bottom, 0px)); padding: 10px 12px; font-size: 12px; } .zz-recent-orders { width: calc(100% - 24px); } }

.zz-support-dialog .zz-support-copy { margin-top:4px;padding:6px;background:#eef2fd;color:#3e63dd;font-size:12px; }
/* v5.8 手机上单独出现的"联系平台客服"(首页、查单页、文章页):缩成带耳机图标的"客服"圆按钮,不再压住内容;
   在店铺页它被收进快捷栏(不是 body 的直接子元素),不受这条影响 */
@media (max-width: 600px) {
  body > .zz-platform-support {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    width: 54px; height: 54px; padding: 0; right: 12px; border-radius: 50%; font-size: 0 !important; line-height: 1;
    background: linear-gradient(140deg, #3e63dd, #6d86e8); box-shadow: 0 12px 24px -10px #3e63ddcc;
  }
  body > .zz-platform-support::before {
    content: ""; width: 21px; height: 21px; background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0v4a2 2 0 0 1-2 2h-1v-6h3M4 13h3v6H6a2 2 0 0 1-2-2v-4'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13a8 8 0 0 1 16 0v4a2 2 0 0 1-2 2h-1v-6h3M4 13h3v6H6a2 2 0 0 1-2-2v-4'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body > .zz-platform-support::after { content: "客服"; font: 700 10px/1 system-ui, sans-serif; color: #fff; }
  /* 页面底部留出按钮的位置 */
  body:has(> .zz-platform-support) { padding-bottom: 84px; }
}
/* 服务时间:绿色在线圆点胶囊 */
.zz-support-dialog .zz-support-hours { display:inline-flex; align-items:center; gap:7px; margin:10px auto 2px; padding:4px 12px; border-radius:999px; background:#e6f5ef; color:#1f7a5c; font-weight:600; }
.zz-support-dialog .zz-support-hours::before { content:""; width:7px; height:7px; border-radius:50%; background:#2e9e78; box-shadow:0 0 0 3px #2e9e7833; }

/* v5.10 购买区说明:USDT/TRX 付款须知(选中时出现在支付方式下面)与最低额预警 */
.zz-pay-note { --zz-coin: #3E63DD; box-sizing: border-box; width: 100%; margin: 12px 0 4px; padding: 12px 14px 12px 16px; border: 1px solid #E3E9FB; border-left: 3px solid var(--zz-coin); border-radius: 14px; background: #F6F8FE; color: #4A4759; text-align: left; font: 12.5px/1.7 "PingFang SC","HarmonyOS Sans SC","MiSans","Microsoft YaHei UI",sans-serif; animation: zz-note-in .32s ease-out both; }
.zz-pay-note[data-coin="USDT"] { --zz-coin: #2E9E78; }
.zz-pay-note[data-coin="TRX"] { --zz-coin: #8576DE; }
.zz-pay-note-title { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: #1D1B2C; font-weight: 600; font-size: 13px; }
.zz-pay-note-title svg { width: 16px; height: 16px; fill: none; stroke: var(--zz-coin); stroke-width: 2; stroke-linecap: round; }
.zz-pay-note ul { margin: 0; padding: 0; list-style: none; }
.zz-pay-note li { position: relative; padding-left: 13px; }
.zz-pay-note li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 5px; border-radius: 50%; background: var(--zz-coin); opacity: .7; }
.zz-pay-note b { color: #1D1B2C; font-weight: 600; }
.zz-pay-note-warn { margin: 8px 0 0; padding: 7px 10px; border-radius: 10px; background: #FFF4DE; color: #8A5A00; font-weight: 600; }
/* 联系方式用途说明;太短时变成暖黄提醒 */
.zz-contact-note { box-sizing: border-box; width: 100%; margin: 8px 0 12px; padding: 0 2px; color: #8B8698; text-align: left; font: 12px/1.6 "PingFang SC","HarmonyOS Sans SC","MiSans","Microsoft YaHei UI",sans-serif; animation: zz-note-in .32s ease-out both; }
.zz-contact-note.is-warn { color: #9A6100; }
.zz-contact-note.is-warn::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #F2BE46; vertical-align: 1px; }
html[data-zz="h5"] .zz-contact-note { margin: 2px 0 8px; padding: 0 14px; }
html[data-zz="h5"] .zz-pay-note { font-size: 13px; }
@keyframes zz-note-in { from { opacity: 0; translate: 0 4px; } }

@media (prefers-reduced-motion: reduce) {
  .zz-pay-note, .zz-contact-note { animation-name: zz-note-fade; }
}
@keyframes zz-note-fade { from { opacity: 0; } }

/* v5.10 手机店头:徽章行放在头像与店名下面,和两侧留白对齐 */
html[data-zz="h5"] .page-bg > .zzb-row { position: relative; z-index: 1; margin: 12px 0 0; }
