/* =========================================================
   甜点电竞 · 12-05 顶部「指引」按钮 + 「客服·付款」面板（assets/od-help.js）
   居中弹窗 + 页签（12-05 用户选 A，B / C 已删）
   ========================================================= */
.odh-guide{display:inline-flex;align-items:center;gap:6px}
.odh-guide .icon{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
@media(hover:hover){.odh-guide:hover{color:var(--coral)}}

/* ---------- 面板共用 ---------- */
.odh-dialog{width:500px;padding:34px 30px 28px;overflow:auto;max-height:calc(100dvh - 24px);overscroll-behavior:contain}
.odh-dialog .icon{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.odh-dialog>.eyebrow{font-size:10px;letter-spacing:2px;color:var(--muted)}
.odh-dialog h2{font-size:27px;margin-top:4px}
.odh-lead{font-size:13px;color:var(--muted);margin:8px 0 18px}
.odh-tabs{position:relative;display:flex;gap:4px;padding:4px;border-radius:14px;background:var(--cream,#f3ece4);box-shadow:var(--inset);margin-bottom:18px}
.odh-tabs button{position:relative;z-index:1;flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;border-radius:10px;background:transparent;color:var(--muted);font-size:14px;font-weight:600;transition:color .25s}
.odh-tabs button .icon{width:16px;height:16px}
.odh-tabs button.on{color:var(--coral)}
.odh-tab-ink{position:absolute;left:4px;top:4px;bottom:4px;width:50%;border-radius:10px;background:var(--surface);box-shadow:3px 3px 7px #d5c9bb80,-2px -2px 5px #fffaf7;transition:transform .32s cubic-bezier(.3,1.2,.4,1),width .32s}
.odh-pane{display:none}
.odh-pane.on{display:block}
.odh-h{display:none;font-size:15px;margin:0 0 12px;color:var(--ink)}
.odh-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.odh-qr{margin:0;display:flex;flex-direction:column;align-items:center;gap:9px;padding:14px 12px 12px;border-radius:18px;background:var(--surface);box-shadow:var(--raised);border:1px solid #ffffff70;text-align:center}
.odh-qr-img{display:block;width:100%;max-width:168px;aspect-ratio:1;padding:8px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px #00000010;cursor:zoom-in;transition:transform .25s cubic-bezier(.3,1.4,.45,1)}
.odh-qr-img img{display:block;width:100%;height:100%;object-fit:contain;image-rendering:auto}
@media(hover:hover){.odh-qr:not(.odh-qr-none) .odh-qr-img:hover{transform:scale(1.04)}}
.odh-qr-none .odh-qr-img{cursor:default;background:color-mix(in srgb,var(--paper) 70%,transparent);box-shadow:inset 0 0 0 1.5px color-mix(in srgb,var(--muted) 35%,transparent)}
.odh-qr-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;height:100%;color:var(--muted)}
.odh-qr-empty .icon{width:34px;height:34px;opacity:.55}
.odh-qr-empty em{font-style:normal;font-size:12px;letter-spacing:.5px}
.odh-qr figcaption{display:grid;text-align:left;width:100%;max-width:168px}
.odh-qr figcaption b{font-size:14px;color:var(--coral)}
.odh-qr figcaption small{font-size:11px;color:var(--muted);line-height:1.45}
.odh-qr [hidden]{display:none}
.odh-qr-payment .odh-qr-img{max-width:none;aspect-ratio:auto}
.odh-qr-payment .odh-qr-img img{height:auto}
.odh-qr-payment.odh-qr-none .odh-qr-img{height:160px}
.odh-rows{display:grid;gap:10px;margin-top:16px}
.odh-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 16px;border-radius:15px;box-shadow:var(--inset)}
.odh-row small{display:block;font-size:11px;color:var(--muted)}
.odh-row>span{min-width:0;overflow-wrap:anywhere}
.odh-row strong{font-size:20px;color:var(--coral);letter-spacing:.5px}
.odh-row .soft-button{font-size:12px;padding:8px 11px;gap:6px}
.odh-row .icon{width:13px;height:13px}
.odh-kook{width:100%;margin-top:16px;justify-content:center}
.odh-kook .icon{width:15px;height:15px}
.odh-note{display:flex;gap:9px;align-items:flex-start;padding:11px 14px;border-radius:14px;margin:0 0 14px;font-size:12.5px;line-height:1.6;color:var(--ink);background:color-mix(in srgb,var(--coral) 10%,transparent);border:1px solid color-mix(in srgb,var(--coral) 22%,transparent)}
.odh-note .icon{flex:none;width:17px;height:17px;color:var(--coral);margin-top:1px}
.odh-tip{font-size:11.5px;color:var(--muted);margin:14px 2px 0;text-align:center}
/* 点二维码放大 */
.odh-zoom{position:absolute;inset:0;z-index:5;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;background:color-mix(in srgb,var(--surface) 94%,transparent);backdrop-filter:blur(4px);border-radius:inherit;cursor:zoom-out}
.odh-zoom[hidden]{display:none}
.odh-zoom img{width:auto;max-width:92%;max-height:78%;height:auto;object-fit:contain;padding:10px;border-radius:20px;background:#fff;box-shadow:0 14px 40px #6b4a3a30}
.odh-zoom span{font-size:12px;color:var(--muted)}

/* ---------- 居中弹窗 + 页签 ---------- */
.odh-dialog[open]{animation:odhPop .34s cubic-bezier(.25,1.25,.4,1)}
@keyframes odhPop{from{opacity:0;transform:translateY(14px) scale(.96)}to{opacity:1;transform:none}}

/* ---------- 手机：顶部显示「?」和耳机两个图标按钮 ---------- */
@media(max-width:600px){
  .site-header .header-actions{gap:4px}
  .site-header .header-actions .odh-guide,.site-header .header-actions .contact-trigger{display:inline-flex!important;width:40px;height:40px;min-width:40px;padding:0;align-items:center;justify-content:center;border-radius:12px}
  .site-header .header-actions .odh-guide .action-label,.site-header .header-actions .contact-trigger .action-label{display:none}
  .site-header .header-actions .contact-trigger .icon{width:18px;height:18px}
  .site-header .header-actions :is(.cart-trigger,.avatar-button,.mobile-menu-button){width:40px!important;height:40px!important;min-width:40px!important}
  .odh-dialog{width:calc(100vw - 20px);padding:28px 18px 22px}
  .odh-grid{gap:8px}
  .odh-grid .odh-qr-img{padding:5px}
  .odh-grid .odh-qr-empty{gap:4px}
  .odh-grid .odh-qr-empty .icon{width:24px;height:24px}
  .odh-grid .odh-qr-empty em{font-size:10px;line-height:1.25;letter-spacing:0}
  .odh-qr{padding:10px 8px}
}
@media(max-width:600px) and (any-pointer:coarse){.site-header .header-actions{gap:3px}}
@media(max-width:380px){.site-header .brand-name small{display:none}.site-header .brand-name{font-size:17px}}

/* 夜晚：二维码底保持白色，其余跟主题 */
html[data-od-weather=night] .odh-tab-ink{box-shadow:0 2px 8px #0003}
@media(prefers-reduced-motion:reduce){.odh-tab-ink{transition:none}}
