.member-tools { display:flex; align-items:center; gap:8px; }
.member-balance, .member-dropdown summary { display:grid; place-items:center; border:1px solid var(--line); border-radius:30px; min-height:40px; padding:0 12px; color:var(--accent); font-weight:750; background:var(--chrome); white-space:nowrap; }
.member-dropdown { position:relative; }
.member-dropdown summary { cursor:pointer; list-style:none; width:42px; color:var(--text); padding:0; }
.member-dropdown summary::-webkit-details-marker { display:none; }
.member-panel { z-index:20; position:absolute; right:0; top:calc(100% + 10px); width:min(275px, 80vw); background:var(--chrome); border:1px solid var(--line); border-radius:14px; padding:14px; box-shadow:0 12px 30px #0004; }
.member-panel small, .member-panel strong { display:block; overflow-wrap:anywhere; }
.member-panel small { color:var(--muted); margin:4px 0 14px; }
.member-panel a, .member-panel button { display:block; padding:10px; width:100%; text-align:left; color:var(--text); background:transparent; border:0; border-radius:8px; font:inherit; cursor:pointer; }
.member-panel :is(a,button):hover { background:var(--line); }
.store-page { padding-top:36px; padding-bottom:64px; min-height:65vh; }
.store-page h1 { font-size:clamp(29px, 4vw, 48px); margin:10px 0 24px; line-height:1.15; }
.store-page h2 { font-size:21px; margin:0 0 14px; }
.store-page h3 { margin:0 0 10px; }
.store-page p { line-height:1.6; }
.store-path, .store-muted { color:var(--muted); }
.store-path a { color:var(--link); }
.store-toolbar, .store-actions { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin:16px 0; }
.store-toolbar input { flex:1; min-width:150px; }
.store-page :is(input,select) { border:1px solid var(--line); border-radius:8px; background:var(--chrome); color:var(--text); padding:10px 12px; font:inherit; max-width:100%; }
.store-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:16px; }
.store-card, .store-box { border:1px solid var(--line); background:var(--chrome); border-radius:14px; padding:18px; min-width:0; }
.store-card { display:grid; align-content:start; gap:8px; }
.store-card :is(h2,h3,p) { margin:0; }
.store-card img, .store-gallery img { width:100%; display:block; border-radius:8px; aspect-ratio:16/9; object-fit:contain; background:var(--chrome); }
.store-card .lineup, .store-gallery .lineup { min-height:130px; width:100%; border-radius:8px; }
.store-gallery .lineup { min-height:320px; }
.store-split { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,340px); gap:20px; align-items:start; }
.store-account { display:grid; grid-template-columns:minmax(170px,230px) minmax(0,1fr); gap:20px; align-items:start; }
.store-account nav a { display:block; padding:10px; border-radius:7px; }
.store-account nav a[aria-current] { background:var(--line); color:var(--accent); }
.store-box + .store-box { margin-top:16px; }
.store-stack { display:grid; gap:16px; }
.store-price { color:var(--accent); font-weight:800; font-size:1.25em; }
.store-line { display:flex; justify-content:space-between; align-items:center; gap:10px; padding:8px 0; border-bottom:1px solid var(--line); }
.store-line > :first-child { overflow-wrap:anywhere; }
.store-state { min-height:1.6em; color:var(--muted); }
.store-thumb { padding:0; width:90px; }
.store-thumb img { width:100%; }
.store-summary label { display:grid; gap:6px; margin:10px 0; }
.store-summary label input { width:100%; }
.store-summary button:disabled { cursor:default; opacity:.6; }
.store-summary .btn-main { width:100%; }
.store-page .btn[aria-pressed=true] { background:var(--line); color:var(--accent); }
#walletDialog.wallet-inline { position:static; width:100%; max-height:none; margin:0; box-shadow:none; }
.wallet-qr-screen { container-type:inline-size; }
.wallet-qr-screen .wallet-qr-back { padding:8px 0; border:0; color:var(--link); }
.wallet-qr-screen h3 { padding-bottom:14px; border-bottom:1px solid var(--line); }
.wallet-qr-layout { display:grid; grid-template-columns:minmax(150px, 1fr) minmax(0, 2.2fr); align-items:start; gap:clamp(14px, 3cqw, 24px); }
.wallet-qr-layout[hidden] { display:none; }
.wallet-qr-scan { text-align:center; }
.wallet-qr-image { display:grid; place-items:center; min-height:160px; padding:12px; background:#fff; color:#162337; border:1px solid var(--line); border-radius:12px; }
#walletContent .wallet-qr-image img { margin:0; border-radius:0; }
#walletContent .wallet-qr-image img[hidden] { display:none; }
.wallet-qr-image p { margin:0; font-size:13px; }
.wallet-qr-expiry { margin:8px 0 0; color:var(--muted); font-size:13px; font-variant-numeric:tabular-nums; }
.wallet-qr-fields { margin:0; }
.wallet-qr-fields > div { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1.55fr); align-items:center; gap:8px; padding:9px 0; border-bottom:1px solid var(--line); }
.wallet-qr-fields dt { color:var(--muted); font-size:13px; }
.wallet-qr-fields dd { display:flex; align-items:center; justify-content:flex-end; gap:8px; margin:0; text-align:right; overflow-wrap:anywhere; font-size:14px; }
.wallet-qr-fields dd .btn { flex:none; padding:8px 10px; }
.wallet-qr-fields .wallet-qr-amount { color:var(--price); font-size:18px; }
.wallet-qr-copy-status { margin:6px 0 0; font-size:13px; color:var(--link); }
.wallet-qr-copy-status:empty { margin:0; }
.wallet-qr-note { margin-top:12px; padding:12px; background:var(--chip-bg); color:var(--chip-text); border-radius:10px; font-size:13px; }
.wallet-qr-note p { margin:4px 0 0; }
.wallet-qr-screen #walletStatus { margin:14px 0 0; padding:10px 12px; border:1px solid var(--line); border-radius:10px; background:var(--chrome); color:var(--muted); font-size:13px; }
.wallet-qr-screen #walletStatus[data-state=paid] { color:#86e7bd; border-color:#459b79; }
[data-theme=light] .wallet-qr-screen #walletStatus[data-state=paid] { color:#15644c; }
.wallet-qr-actions { margin-top:12px; }
.wallet-qr-actions .btn { width:100%; border-color:var(--hover-line); }
@container (max-width:500px) {
  .wallet-qr-layout { grid-template-columns:1fr; }
  .wallet-qr-scan { width:min(100%, 240px); margin-inline:auto; }
}
@media(max-width:780px) { .store-split,.store-account { grid-template-columns:1fr; } .store-gallery .lineup { min-height:210px; } .store-account nav { display:flex; flex-wrap:wrap; } }
@media(max-width:420px) { .store-grid { grid-template-columns:1fr; } .member-balance,.member-dropdown summary { min-height:34px; } .member-dropdown summary { width:34px; } .member-balance { padding:0 7px; font-size:11px; } }
.coin-platforms { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:14px 0; }
.coin-platform { display:flex; align-items:center; gap:10px; padding:12px; border:1px solid var(--line); border-radius:10px; }
.coin-platform:hover, .coin-platform[aria-current=page] { border-color:var(--accent); }
.coin-platform[aria-current=page] { color:var(--accent); }
.coin-platform-symbol { display:grid; place-items:center; background:var(--line); border-radius:7px; min-width:35px; height:35px; font-size:11px; letter-spacing:.04em; }
.coin-section { margin-top:23px; padding-top:16px; border-top:1px solid var(--line); }
.coin-grid { grid-template-columns:repeat(auto-fit,minmax(155px,1fr)); gap:12px; }
.coin-card { overflow:hidden; padding:0; gap:0; }
.coin-card-sale { border-color:color-mix(in srgb,var(--accent) 45%,var(--line)); }
.coin-card-art { position:relative; }
.coin-card .coin-card-art img { aspect-ratio:1.85; object-fit:cover; border-radius:0; }
.coin-art-label { position:absolute; top:10px; left:10px; padding:3px 8px; border-radius:15px; background:#ffd272; color:#282014; font-weight:800; font-size:11px; }
.coin-card-body { display:grid; gap:8px; padding:12px; }
.coin-card .btn { width:100%; }
.coin-card-in-cart { border-color:var(--accent); }
.coin-card-in-cart .btn:not(:disabled) { background:var(--action); color:var(--action-text); border-color:var(--action); }
.coin-cart-badge { width:fit-content; padding:4px 8px; border-radius:7px; background:var(--chip-bg); color:var(--chip-text); font-size:12px; font-weight:750; }
.coin-cart-jump { display:none; }
.coin-cart-status { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
#coin-checkout { scroll-margin-top:110px; }
@media(prefers-reduced-motion:no-preference) {
  .coin-card { transition:border-color .18s ease, box-shadow .18s ease; }
  .coin-card .btn, .coin-cart-jump { transition:background-color .16s ease, color .16s ease, transform .16s ease; }
}
@media(max-width:780px) {
  .coin-cart-jump:not([hidden]) {
    position:fixed; z-index:9; left:16px; bottom:calc(max(16px,env(safe-area-inset-bottom)) + 54px);
    display:grid; place-items:center; width:50px; height:50px; border-radius:50%;
    background:var(--action); color:var(--action-text); box-shadow:var(--shadow);
  }
  .coin-cart-jump:active { transform:scale(.94); }
  .coin-cart-jump:focus-visible { outline:2px solid var(--link); outline-offset:3px; }
  .coin-cart-icon { position:relative; width:26px; height:24px; background:linear-gradient(currentColor,currentColor) 1px 2px / 6px 2px no-repeat; }
  .coin-cart-icon::before {
    content:""; position:absolute; top:4px; left:6px; width:16px; height:11px;
    border:2px solid currentColor; border-radius:2px 3px 4px 3px; transform:skewX(-11deg);
  }
  .coin-cart-icon::after { content:""; position:absolute; top:18px; left:8px; width:4px; height:4px; border-radius:50%; background:currentColor; box-shadow:10px 0 currentColor; }
  .coin-cart-count {
    position:absolute; top:-5px; right:-6px; min-width:22px; min-height:22px; padding:0 4px;
    display:grid; place-items:center; border:2px solid var(--surface); border-radius:14px;
    background:#b52b41; color:#fff; font-size:11px; line-height:1; font-variant-numeric:tabular-nums;
  }
}
@media(max-width:430px) { .coin-platform { padding:8px; gap:5px; font-size:12px; } .coin-platform-symbol { display:none; } .coin-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; } }
.acc-facts h2, .acc-description h2 { padding-bottom:12px; border-bottom:1px solid var(--line); }
.acc-facts-grid { margin:0; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
.acc-fact { display:grid; grid-template-columns:1fr auto; align-items:center; column-gap:8px; padding:12px; min-width:0; border:1px solid var(--line); border-radius:9px; background:color-mix(in srgb,var(--chrome) 90%,var(--text)); }
.acc-fact dt { grid-column:1/-1; margin-bottom:4px; font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:.05em; font-weight:750; }
.acc-fact dd { grid-column:1; margin:0; overflow-wrap:anywhere; font-weight:750; }
.acc-fact button { grid-column:2; padding:6px 8px; min-height:30px; }
.acc-available { color:var(--accent); }
.acc-copy-status { display:block; margin-top:7px; font-size:12px; color:var(--muted); }
.acc-copy-status:empty { margin:0; }
.acc-description { border-inline-start:3px solid var(--accent); }
.acc-description h3 { font-size:14px; color:var(--accent); }
.acc-description ul { padding-inline-start:20px; line-height:1.55; margin:0 0 17px; }
.acc-description li { margin:4px 0; white-space:pre-line; overflow-wrap:anywhere; }
.acc-description li::marker { color:var(--accent); }
.acc-description p { margin-bottom:0; }
@media(max-width:420px) { .acc-fact { padding:8px; } .acc-fact button { grid-column:1; justify-self:start; margin-top:5px; } }
.checkout-receiver { margin:16px 0; padding:14px 0; border-block:1px solid var(--line); }
.checkout-quantity { display:flex; align-items:center; gap:6px; white-space:nowrap; }
.checkout-quantity .btn { min-width:30px; min-height:30px; padding:3px 6px; }
.checkout-receipt { width:min(560px,calc(100% - 24px)); }
.checkout-receipt h2 { margin:0 0 10px; }
.checkout-receipt h3 { margin:14px 0 8px; }
.checkout-code { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:8px; border:1px solid var(--line); border-radius:8px; padding:9px 10px; margin-bottom:6px; }
.checkout-code a { color:var(--link); font-family:monospace; font-size:14px; overflow-wrap:anywhere; }
.checkout-copy-status { min-height:1.4em; }
.checkout-handoff { margin:14px 0 0; }
.checkout-handoff .btn { display:inline-flex; }
#walletDialog.orders-inline .register-heading, #walletDialog.orders-inline #walletProfile { display:none; }
.order-table-scroll { overflow-x:auto; max-width:100%; border:1px solid var(--line); border-radius:10px; }
.order-table { border-collapse:collapse; width:100%; min-width:410px; font-size:13px; }
.order-table :is(th,td) { padding:11px 10px; text-align:left; border-bottom:1px solid var(--line); }
.order-table th { background:color-mix(in srgb,var(--chrome) 87%,var(--text)); font-weight:750; }
.order-table tr:last-child td { border-bottom:0; }
.order-table td:nth-child(3), .order-table time { white-space:nowrap; }
.order-table a { color:var(--link); font-weight:750; overflow-wrap:anywhere; }
.order-table tbody tr:hover { background:color-mix(in srgb,var(--chrome) 96%,var(--text)); }
.order-badge { display:inline-block; border-radius:20px; padding:4px 7px; color:var(--accent); background:var(--line); font-size:11px; font-weight:700; }
.order-badge-completed, .order-badge-active { color:var(--text); background:color-mix(in srgb,var(--chrome) 70%,#20866b); }
.checkout-receipt { position:fixed; background:linear-gradient(155deg,#153e3c,#11273a 52%,#101e2e); color:#f3ffff; border:1px solid #509c83; overflow-x:hidden; }
.checkout-receipt h2 { color:#9af4ce; }
.checkout-receipt p { color:#d0e9e8; }
.checkout-receipt .checkout-code { border-color:#48766f; }
.checkout-receipt .checkout-code a { color:#b8f7e2; }
.checkout-receipt .btn-outline { color:#e9fff8; border-color:#56877d; }
.checkout-confetti { pointer-events:none; position:absolute; left:50%; top:62px; }
.checkout-confetti i { position:absolute; width:6px; height:9px; border-radius:1px; background:#ffdb7c; opacity:0; animation:checkout-burst 850ms ease-out both; }
.checkout-confetti i:nth-child(3n) { background:#9af4ce; }
.checkout-confetti i:nth-child(3n+1) { background:#ace2ff; }
@keyframes checkout-burst {
  8% { opacity:.9; transform:translate(0,0) rotate(0); }
  70% { opacity:.7; }
  100% { opacity:0; transform:translate(var(--x),var(--y)) rotate(var(--spin)); }
}
@media(prefers-reduced-motion:reduce) { .checkout-confetti { display:none; } }
.store-account > section { min-width:0; }
@media(max-width:780px) { .store-account { grid-template-columns:minmax(0,1fr); } }
.quick-chat { position:fixed; z-index:9; right:16px; bottom:max(16px,env(safe-area-inset-bottom)); color:var(--text); }
.quick-chat summary, .quick-chat nav { border:1px solid var(--outline); background:var(--surface); box-shadow:var(--shadow); }
.quick-chat summary { list-style:none; display:flex; align-items:center; gap:9px; padding:10px 13px; border-radius:24px; cursor:pointer; font-size:13px; font-weight:800; }
.quick-chat summary::-webkit-details-marker { display:none; }
.quick-chat[open] summary span { transform:rotate(180deg); }
.quick-chat nav { position:absolute; right:0; bottom:calc(100% + 8px); width:max-content; min-width:172px; max-width:calc(100vw - 32px); border-radius:12px; padding:6px; }
.quick-chat nav a { display:block; border-radius:7px; padding:9px 10px; color:var(--link); font-size:13px; font-weight:700; }
.quick-chat nav a:hover, .quick-chat nav a:focus-visible { background:var(--chrome); text-decoration:underline; }
@media(max-width:780px) { .store-footer { padding-bottom:65px; } }
.store-related { margin-top:clamp(20px, 3vw, 34px); }
[data-theme="light"] .store-page :is(.store-box,.store-card) { background:var(--surface); }
[data-theme="light"] .acc-fact { background:var(--chrome); }
[data-theme="light"] .acc-available { color:#15644c; }
[data-theme="light"] .store-page :is(input,select) { background:var(--chrome); }
[data-theme="light"] .store-related .store-card { background:var(--card-end); }
.coin-quick-link:is(:hover,:focus-visible) { border-color:var(--accent); }
.coin-quick-link:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.profile-wallet-actions { display:flex; justify-content:flex-end; margin-top:16px; }
.profile-wallet-actions .btn { display:inline-flex; align-items:center; justify-content:center; min-width:120px; min-height:42px; }
.quick-chat summary { background:var(--action); color:var(--action-text); border-color:var(--action); font-weight:850; min-height:44px; }
.quick-chat summary:hover { background:var(--action-hover); }
@media(max-width:560px) { .profile-wallet-actions .btn { width:100%; } }
.product .home-acc-preview { position:absolute; inset:0; z-index:1; width:100%; height:100%; object-fit:contain; background:#101b2b; visibility:hidden; }
.product .home-acc-preview.is-loaded { visibility:visible; }
.music-toggle { position:fixed; z-index:9; left:16px; bottom:max(16px,env(safe-area-inset-bottom)); min-height:44px; border:1px solid var(--outline); border-radius:24px; padding:8px 12px; color:var(--text); background:var(--surface); font:700 13px var(--font); cursor:pointer; }
.music-toggle:hover,.music-toggle[aria-pressed="true"] { border-color:var(--accent); color:var(--accent); }
.music-toggle:focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
#musicStatus:not(:empty) { position:fixed; z-index:9; bottom:68px; left:16px; padding:8px; border-radius:8px; background:var(--surface); color:var(--text); }
