/* AHOP Pastel Arcade (DESIGN-3 phase 1).
   Applies ONLY to the storefront: every rule below is scoped to html[data-surface="shop"] (set by render() in app.js).
   The admin console (data-surface="admin") keeps the previous dark look from legacy.css untouched.
   Colours follow the handoff pack; the one deliberate change is the input/control border (#9C809C, >= 3:1 on white and ivory).
   No inline styles, no external hosts (CSP style-src/img-src 'self' data:). All motion is off under prefers-reduced-motion. */
html[data-surface=shop]{
 --ahop-canvas:#FFF9F3;--ahop-surface:#FFFFFF;--ahop-lavender:#EEE3F6;--ahop-lavender-strong:#D8B6EA;
 --ahop-ink:#461443;--ahop-muted:#73586E;--ahop-primary:#783C91;--ahop-primary-hover:#642A7C;
 --ahop-border:#DCCBDC;--ahop-border-control:#9C809C;--ahop-peach:#FFAE8B;--ahop-gold:#D3A45C;
 --ahop-success:#276548;--ahop-success-bg:#EAF5EC;--ahop-warning:#825000;--ahop-warning-bg:#FFF2D8;--ahop-danger:#AD2945;--ahop-danger-bg:#FCECEF;
 --ahop-shadow:0 8px 24px rgba(70,20,67,.09);--ahop-shadow-lift:0 14px 30px rgba(70,20,67,.16);
 --ahop-nav-h:64px;
 color-scheme:light;
 /* remap the variables the legacy sheets read, for the shop only */
 --bg:var(--ahop-canvas);--card:var(--ahop-surface);--panel:var(--ahop-surface);--line:var(--ahop-border);--text:var(--ahop-ink);--muted:var(--ahop-muted);
 --accent:var(--ahop-primary);--pink:var(--ahop-primary);--purple:var(--ahop-border-control);--soft-pink:var(--ahop-primary);--ok:var(--ahop-success);
 --glow:transparent;--grad:var(--ahop-primary);
}
/* SELECT-FIELD-1: warning under a Server select and a highlighted Server row in the confirm box (classes only, no inline style). */
html[data-surface=shop] .server-hint{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:var(--ahop-lavender);color:var(--ahop-ink);font-size:14px;line-height:1.5;overflow-wrap:anywhere}
html[data-surface=shop] .review-product .row.server-row{padding:8px 10px;border-radius:10px;background:var(--ahop-lavender);border:1px solid var(--ahop-primary)}
html[data-surface=shop] .review-product .row.server-row strong{color:var(--ahop-ink);font-size:1.05em}
/* SITE-EXTRAS-1: announcement pop-up ("popup ประกาศ"), shop only. Tokens from the root above; no external urls, no inline styles;
   the fade/pop motion is switched off under prefers-reduced-motion. Shown above the bottom bar (z-index 200 > 50), safe-area aware. */
html[data-surface=shop].extras-popup-open{overflow:hidden}
html[data-surface=shop] .extras-popup-backdrop{position:fixed;inset:0;z-index:200;display:grid;place-items:center;padding:16px;padding-bottom:calc(16px + env(safe-area-inset-bottom));background:rgba(70,20,67,.45);animation:extras-fade .2s ease-out}
html[data-surface=shop] .extras-popup{position:relative;box-sizing:border-box;width:min(100%,440px);max-height:calc(100vh - 32px);max-height:calc(100dvh - 32px);overflow:auto;background:var(--ahop-surface);color:var(--ahop-ink);border:2px solid var(--ahop-lavender-strong);border-radius:28px;box-shadow:var(--ahop-shadow-lift);padding:28px 24px 24px;animation:extras-pop .25s ease-out}
html[data-surface=shop] .extras-popup:focus{outline:none}
html[data-surface=shop] .extras-popup-close{position:absolute;top:10px;right:10px;display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:0;border:1px solid var(--ahop-border-control);border-radius:999px;background:var(--ahop-surface);color:var(--ahop-ink);font-size:26px;line-height:1;cursor:pointer}
html[data-surface=shop] .extras-popup-close:hover{background:var(--ahop-lavender)}
html[data-surface=shop] .extras-popup-close:focus-visible,html[data-surface=shop] .extras-popup-btn:focus-visible{outline:3px solid var(--ahop-primary);outline-offset:2px}
html[data-surface=shop] .extras-popup-img{display:block;width:100%;height:auto;max-height:220px;object-fit:cover;border-radius:18px;margin:0 0 16px}
html[data-surface=shop] .extras-popup h2{margin:0 48px 10px 0;font-size:22px;line-height:1.3;overflow-wrap:anywhere}
html[data-surface=shop] .extras-popup-text{margin:0 0 18px;white-space:pre-line;overflow-wrap:anywhere;line-height:1.6}
html[data-surface=shop] .extras-popup-btn{display:flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border-radius:999px;background:var(--ahop-primary);color:#fff;font-weight:700;text-align:center;text-decoration:none}
html[data-surface=shop] .extras-popup-btn:hover{background:var(--ahop-primary-hover);color:#fff}
html[data-surface=shop] .extras-popup-host{margin:8px 0 0;text-align:center;font-size:14px;color:var(--ahop-muted);overflow-wrap:anywhere}
@keyframes extras-fade{from{opacity:0}to{opacity:1}}
@keyframes extras-pop{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html[data-surface=shop] .extras-popup-backdrop,html[data-surface=shop] .extras-popup{animation:none}}


/* ---------- base ---------- */
html[data-surface=shop]{background:var(--ahop-canvas)}
html[data-surface=shop] body{background:radial-gradient(ellipse 60% 40% at 100% 0,rgba(216,182,234,.35),transparent 70%),radial-gradient(ellipse 50% 35% at 0 30%,rgba(255,174,139,.16),transparent 70%),var(--ahop-canvas);color:var(--ahop-ink);isolation:auto}
html[data-surface=shop] body:before{display:none}
html[data-surface=shop] ::selection{background:var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] h1,html[data-surface=shop] h2,html[data-surface=shop] h3{color:var(--ahop-ink);text-shadow:none}
html[data-surface=shop] h1{font-weight:800}
html[data-surface=shop] h2{font-weight:700}
html[data-surface=shop] small,html[data-surface=shop] .muted,html[data-surface=shop] .hint{color:var(--ahop-muted)}
html[data-surface=shop] .eyebrow{color:var(--ahop-primary);letter-spacing:.08em;background:none}
html[data-surface=shop] a{color:var(--ahop-primary)}
html[data-surface=shop] a:hover{color:var(--ahop-primary-hover)}
html[data-surface=shop] :where(button,a,input,select,textarea,summary,[tabindex]):focus-visible,html[data-surface=shop] button:focus-visible,html[data-surface=shop] a:focus-visible,html[data-surface=shop] input:focus-visible{outline:3px solid var(--ahop-primary);outline-offset:3px}
html[data-surface=shop] .skip-link{background:var(--ahop-primary);color:#fff}
html[data-surface=shop] .visually-hidden{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
html[data-surface=shop] main{max-width:1280px;padding:0 32px 60px}
html[data-surface=shop] .error{color:var(--ahop-danger)}
html[data-surface=shop] .success,html[data-surface=shop] .deposit-row b.success{color:var(--ahop-success)}
html[data-surface=shop] .required{color:var(--ahop-danger)}
/* ---------- pack icons (mask: take the text colour) ---------- */
html[data-surface=shop] .pi{display:inline-block;flex:none;width:1.25em;height:1.25em;vertical-align:-.25em;background:currentColor;-webkit-mask:var(--pi) center/contain no-repeat;mask:var(--pi) center/contain no-repeat}
html[data-surface=shop] .pi-arrow-left{--pi:url(/assets/pastel/icons/ui/arrow-left.svg)}
html[data-surface=shop] .pi-arrow-right{--pi:url(/assets/pastel/icons/ui/arrow-right.svg)}
html[data-surface=shop] .pi-check{--pi:url(/assets/pastel/icons/ui/check.svg)}
html[data-surface=shop] .pi-chevron-down{--pi:url(/assets/pastel/icons/ui/chevron-down.svg)}
html[data-surface=shop] .pi-clock{--pi:url(/assets/pastel/icons/ui/clock.svg)}
html[data-surface=shop] .pi-close{--pi:url(/assets/pastel/icons/ui/close.svg)}
html[data-surface=shop] .pi-copy{--pi:url(/assets/pastel/icons/ui/copy.svg)}
html[data-surface=shop] .pi-desktop{--pi:url(/assets/pastel/icons/ui/desktop.svg)}
html[data-surface=shop] .pi-eye{--pi:url(/assets/pastel/icons/ui/eye.svg)}
html[data-surface=shop] .pi-filter{--pi:url(/assets/pastel/icons/ui/filter.svg)}
html[data-surface=shop] .pi-gamepad{--pi:url(/assets/pastel/icons/ui/gamepad.svg)}
html[data-surface=shop] .pi-headset{--pi:url(/assets/pastel/icons/ui/headset.svg)}
html[data-surface=shop] .pi-help{--pi:url(/assets/pastel/icons/ui/help.svg)}
html[data-surface=shop] .pi-home{--pi:url(/assets/pastel/icons/ui/home.svg)}
html[data-surface=shop] .pi-lock{--pi:url(/assets/pastel/icons/ui/lock.svg)}
html[data-surface=shop] .pi-logout{--pi:url(/assets/pastel/icons/ui/logout.svg)}
html[data-surface=shop] .pi-mail{--pi:url(/assets/pastel/icons/ui/mail.svg)}
html[data-surface=shop] .pi-orders{--pi:url(/assets/pastel/icons/ui/orders.svg)}
html[data-surface=shop] .pi-package{--pi:url(/assets/pastel/icons/ui/package.svg)}
html[data-surface=shop] .pi-paw{--pi:url(/assets/pastel/icons/ui/paw.svg)}
html[data-surface=shop] .pi-phone{--pi:url(/assets/pastel/icons/ui/phone.svg)}
html[data-surface=shop] .pi-qr{--pi:url(/assets/pastel/icons/ui/qr.svg)}
html[data-surface=shop] .pi-refresh{--pi:url(/assets/pastel/icons/ui/refresh.svg)}
html[data-surface=shop] .pi-search{--pi:url(/assets/pastel/icons/ui/search.svg)}
html[data-surface=shop] .pi-store{--pi:url(/assets/pastel/icons/ui/store.svg)}
html[data-surface=shop] .pi-user{--pi:url(/assets/pastel/icons/ui/user.svg)}
html[data-surface=shop] .pi-wallet{--pi:url(/assets/pastel/icons/ui/wallet.svg)}
html[data-surface=shop] .pi-warning{--pi:url(/assets/pastel/icons/ui/warning.svg)}
/* ---------- header / nav ---------- */
html[data-surface=shop] header{background:rgba(255,249,243,.97);backdrop-filter:none;-webkit-backdrop-filter:none;border-bottom:1px solid var(--ahop-border);box-shadow:0 2px 12px rgba(70,20,67,.05)}
html[data-surface=shop] .header-inner{max-width:1280px;min-height:72px;padding:0 32px;gap:24px}
html[data-surface=shop] .brand{color:var(--ahop-ink)}
html[data-surface=shop] header .brand{display:inline-flex;align-items:center;padding:0;background:none;box-shadow:none}
html[data-surface=shop] .footer-brand{display:inline-flex;padding:0;background:none}
html[data-surface=shop] nav{display:flex;align-items:center;gap:4px}
html[data-surface=shop] nav a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 14px;border:0;border-radius:0;background:none;color:var(--ahop-ink);font-weight:600;font-size:16px;text-decoration:none;border-bottom:3px solid transparent}
html[data-surface=shop] nav a:hover{background:none;color:var(--ahop-primary);border-bottom-color:var(--ahop-lavender-strong)}
html[data-surface=shop] nav a.active{background:none;color:var(--ahop-primary);border:0;border-bottom:3px solid var(--ahop-peach)}
html[data-surface=shop] nav .pi{display:none}
html[data-surface=shop] .pending-count{background:var(--ahop-danger);color:#fff}
html[data-surface=shop] .account-button,html[data-surface=shop] .header-wallet{background:var(--ahop-primary);border:0;color:#fff;border-radius:999px;min-height:44px;padding:8px 20px;font-size:15px;box-shadow:0 3px 0 var(--ahop-primary-hover)}
html[data-surface=shop] .account-button:hover{background:var(--ahop-primary-hover);color:#fff}
html[data-surface=shop] #notificationSound{background:var(--ahop-surface);color:var(--ahop-ink);border:1px solid var(--ahop-border-control);border-radius:999px;min-height:44px;font-size:14px}
html[data-surface=shop] .notification-status{color:var(--ahop-muted)}
/* ---------- buttons ---------- */
html[data-surface=shop] button,html[data-surface=shop] .button{background:var(--ahop-surface);border:1px solid var(--ahop-border-control);color:var(--ahop-ink);font-weight:600;border-radius:14px;min-height:44px;text-shadow:none;transition:transform .12s,box-shadow .12s,background .12s}
html[data-surface=shop] button:hover,html[data-surface=shop] .button:hover{background:var(--ahop-lavender);border-color:var(--ahop-primary);color:var(--ahop-ink);transform:translateY(-1px)}
html[data-surface=shop] button:active,html[data-surface=shop] .button:active{transform:translateY(1px);transition-duration:.08s}
html[data-surface=shop] .secondary{background:var(--ahop-surface);border:1px solid var(--ahop-border-control);color:var(--ahop-ink)}
html[data-surface=shop] .secondary:hover{background:var(--ahop-lavender);border-color:var(--ahop-primary)}
html[data-surface=shop] .primary,html[data-surface=shop] button.primary,html[data-surface=shop] a.button.primary{background:var(--ahop-primary);color:#fff;border:0;border-radius:16px;min-height:48px;font-size:17px;font-weight:700;text-shadow:none;box-shadow:0 4px 0 var(--ahop-primary-hover),0 10px 18px rgba(120,60,145,.25)}
html[data-surface=shop] .primary:hover,html[data-surface=shop] button.primary:hover,html[data-surface=shop] a.button.primary:hover{background:var(--ahop-primary-hover);color:#fff;filter:none;box-shadow:0 4px 0 #4d1f60,0 12px 20px rgba(120,60,145,.3)}
html[data-surface=shop] .primary:before,html[data-surface=shop] .primary:hover:before{display:none}
html[data-surface=shop] .primary[disabled],html[data-surface=shop] .primary:disabled{background:var(--ahop-lavender);color:var(--ahop-muted);box-shadow:none;filter:none;cursor:not-allowed;border:1px dashed var(--ahop-border-control)}
html[data-surface=shop] button[disabled]:not(.primary){background:var(--ahop-lavender);color:var(--ahop-muted);border-style:dashed;cursor:not-allowed;transform:none}
html[data-surface=shop] .card-action{background:var(--ahop-primary);border:0;color:#fff;border-radius:12px;font-weight:700;padding:8px 16px;box-shadow:0 3px 0 var(--ahop-primary-hover)}
html[data-surface=shop] .card-action:hover{background:var(--ahop-primary-hover);color:#fff}
html[data-surface=shop] .soon-action{background:var(--ahop-lavender)!important;color:var(--ahop-muted);border:1px dashed var(--ahop-border-control);border-radius:12px}
html[data-surface=shop] .category-tabs button{font-size:15px;background:var(--ahop-surface);border:1px solid var(--ahop-border-control);color:var(--ahop-ink);border-radius:999px;padding:8px 18px;min-height:44px;display:inline-flex;align-items:center;gap:8px}
html[data-surface=shop] .category-tabs button.active,html[data-surface=shop] .order-filters button.active,html[data-surface=shop] .info-nav a.active{background:var(--ahop-primary);border-color:var(--ahop-primary);color:#fff}
html[data-surface=shop] .category-tabs button.active .pi{color:#fff}
html[data-surface=shop] .amount-presets button{background:var(--ahop-surface);color:var(--ahop-ink);border:1px solid var(--ahop-border-control)}
html[data-surface=shop] .amount-presets button:hover{background:var(--ahop-lavender);color:var(--ahop-ink)}
/* ---------- surfaces ---------- */
html[data-surface=shop] .panel,html[data-surface=shop] .card,html[data-surface=shop] .store-guide,html[data-surface=shop] .balance-card,html[data-surface=shop] .account-shortcut{background:var(--ahop-surface);border:1px solid var(--ahop-border);border-radius:24px;box-shadow:var(--ahop-shadow);backdrop-filter:none;-webkit-backdrop-filter:none;color:var(--ahop-ink)}
html[data-surface=shop] .panel:hover,html[data-surface=shop] .card:hover,html[data-surface=shop] .account-shortcut:hover{border-color:var(--ahop-lavender-strong)}
html[data-surface=shop] .panel{padding:24px}
html[data-surface=shop] .balance-card{background:linear-gradient(135deg,var(--ahop-lavender),#fff);border-color:var(--ahop-lavender-strong)}
html[data-surface=shop] .balance-card h2,html[data-surface=shop] .balance-card .eyebrow,html[data-surface=shop] .balance-card p,html[data-surface=shop] .balance-footer{color:var(--ahop-ink)}
html[data-surface=shop] .wallet-mark{background:var(--ahop-primary);color:#fff;border:0}
html[data-surface=shop] .notice{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] .notice.warn{background:var(--ahop-warning-bg);border-color:var(--ahop-warning);color:var(--ahop-warning)}
html[data-surface=shop] .account-balance,html[data-surface=shop] .wallet-user-filter{background:var(--ahop-lavender);border-color:var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] .wallet-summary{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] .wallet-summary b,html[data-surface=shop] .summary-wallet-link,html[data-surface=shop] .info-aside a,html[data-surface=shop] .contact-channel a,html[data-surface=shop] .contact-channel strong{color:var(--ahop-primary)}
html[data-surface=shop] .empty,html[data-surface=shop] .hist-empty{color:var(--ahop-muted);background:var(--ahop-surface);border:1px dashed var(--ahop-border-control);border-radius:20px}
html[data-surface=shop] .row b,html[data-surface=shop] .row strong{color:var(--ahop-ink)}
html[data-surface=shop] .package-price,html[data-surface=shop] .balance-card h2{color:var(--ahop-primary)}
/* ---------- forms, tables, status ---------- */
html[data-surface=shop] input,html[data-surface=shop] select,html[data-surface=shop] textarea{background:var(--ahop-surface);color:var(--ahop-ink);border:1px solid var(--ahop-border-control);border-radius:12px;min-height:48px}
html[data-surface=shop] input::placeholder,html[data-surface=shop] textarea::placeholder{color:var(--ahop-muted);opacity:.85}
html[data-surface=shop] input:focus,html[data-surface=shop] select:focus,html[data-surface=shop] textarea:focus{border-color:var(--ahop-primary);box-shadow:0 0 0 1px var(--ahop-primary)}
html[data-surface=shop] input[type=file]::file-selector-button{background:var(--ahop-primary);color:#fff;border-radius:10px}
html[data-surface=shop] .check-label>input,html[data-surface=shop] input[type=checkbox],html[data-surface=shop] input[type=radio]{accent-color:var(--ahop-primary);min-height:0}
html[data-surface=shop] label{color:var(--ahop-ink)}
html[data-surface=shop] thead,html[data-surface=shop] th{background:var(--ahop-lavender);color:var(--ahop-ink)}
html[data-surface=shop] th{color:var(--ahop-ink);font-size:13px}
html[data-surface=shop] th,html[data-surface=shop] td{border-bottom:1px solid var(--ahop-border)}
html[data-surface=shop] .badge{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink);font-size:12px}
html[data-surface=shop] .badge.status-completed,html[data-surface=shop] .badge.status-approved{background:var(--ahop-success-bg);border-color:var(--ahop-success);color:var(--ahop-success)}
html[data-surface=shop] .badge.status-failed,html[data-surface=shop] .badge.status-rejected{background:var(--ahop-danger-bg);border-color:var(--ahop-danger);color:var(--ahop-danger)}
html[data-surface=shop] .badge.status-pending,html[data-surface=shop] .badge.status-queued,html[data-surface=shop] .badge.status-processing{background:var(--ahop-warning-bg);border-color:var(--ahop-warning);color:var(--ahop-warning)}
html[data-surface=shop] .status-dot.completed,html[data-surface=shop] .ledger-icon.positive{background:var(--ahop-success-bg);color:var(--ahop-success)}
html[data-surface=shop] .availability{border-radius:999px;font-size:13px;padding:4px 12px;font-weight:600}
html[data-surface=shop] .availability.live{color:var(--ahop-success);background:var(--ahop-success-bg);border:1px solid var(--ahop-success)}
html[data-surface=shop] .availability:not(.live){color:var(--ahop-muted);background:var(--ahop-lavender);border:1px solid var(--ahop-border-control)}
html[data-surface=shop] .availability.paused,html[data-surface=shop] .game-card .availability.paused,html[data-surface=shop] .game-head .availability.paused{color:var(--ahop-warning);background:var(--ahop-warning-bg);border:1px solid var(--ahop-warning)}
html[data-surface=shop] .avail-note{color:var(--ahop-warning)}
html[data-surface=shop] .auto-chip,html[data-surface=shop] .pkg-auto{display:inline-flex;align-items:center;gap:6px;width:fit-content;padding:3px 10px;border:1px solid var(--ahop-primary);border-radius:999px;background:var(--ahop-lavender);color:var(--ahop-primary-hover);font-weight:600;font-size:13px}
html[data-surface=shop] .auto-chip .pi{width:1em;height:1em}
/* ---------- dialog / toast ---------- */
html[data-surface=shop] dialog{background:var(--ahop-surface);color:var(--ahop-ink);border:1px solid var(--ahop-lavender-strong);border-radius:24px;box-shadow:0 24px 70px rgba(70,20,67,.28)}
html[data-surface=shop] dialog::backdrop{background:rgba(70,20,67,.45);backdrop-filter:blur(3px)}
html[data-surface=shop] dialog .close{background:var(--ahop-lavender);color:var(--ahop-ink);border:1px solid var(--ahop-border-control)}
html[data-surface=shop] dialog .review-product{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] dialog .row.total b{color:var(--ahop-primary)}
html[data-surface=shop] #toast{background:var(--ahop-ink);color:#fff;border:0;border-radius:16px;box-shadow:var(--ahop-shadow-lift)}
/* ---------- footer ---------- */
html[data-surface=shop] footer,html[data-surface=shop] .site-footer{background:var(--ahop-lavender);border-top:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] .site-footer .footer-wrap{max-width:1280px}
html[data-surface=shop] .footer-intro,html[data-surface=shop] .footer-pay,html[data-surface=shop] .footer-pay b,html[data-surface=shop] .footer-bottom p,html[data-surface=shop] .footer-trademark,html[data-surface=shop] .footer-copy{color:var(--ahop-ink)}
html[data-surface=shop] .footer-trademark,html[data-surface=shop] .footer-copy{color:var(--ahop-muted)}
html[data-surface=shop] .footer-cols h2{color:var(--ahop-ink)}
html[data-surface=shop] .footer-cols a,html[data-surface=shop] footer a{color:var(--ahop-primary);text-decoration:none}
html[data-surface=shop] .footer-cols a:hover,html[data-surface=shop] footer a:hover{color:var(--ahop-primary-hover);background:none;text-decoration:underline}
html[data-surface=shop] .footer-bottom{border-top:1px solid var(--ahop-lavender-strong)}
html[data-surface=shop] .footer-pay{background:var(--ahop-surface);border:1px solid var(--ahop-lavender-strong);border-radius:16px;color:var(--ahop-ink)}
html[data-surface=shop] .footer-contact li span,html[data-surface=shop] .footer-contact li b{color:var(--ahop-muted)}
/* ---------- home ---------- */
html[data-surface=shop] .home-page{gap:36px}
html[data-surface=shop] .home-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;align-items:center;min-height:0;padding:28px 0 0}
html[data-surface=shop] .hero-copy{gap:16px}
html[data-surface=shop] .hero-badge{display:inline-flex;align-items:center;gap:8px;width:fit-content;max-width:100%;padding:6px 14px;border:1px solid var(--ahop-lavender-strong);border-radius:999px;background:var(--ahop-lavender);color:var(--ahop-primary-hover);font-weight:600;font-size:14px;text-shadow:none}
html[data-surface=shop] .home-hero h1{font-size:clamp(38px,5.2vw,64px);line-height:1.15;color:var(--ahop-ink);text-shadow:none}
html[data-surface=shop] .hero-line2{display:block;margin-top:4px;font-size:.62em;font-weight:800;color:var(--ahop-primary);text-decoration:underline;text-decoration-color:var(--ahop-peach);text-decoration-thickness:4px;text-underline-offset:.2em;text-decoration-skip-ink:none}
html[data-surface=shop] .hero-lead{color:var(--ahop-muted);font-size:18px;max-width:30em}
html[data-surface=shop] .hero-search{display:flex;align-items:center;gap:12px;max-width:600px}
html[data-surface=shop] .home-search{flex:1;display:flex;align-items:center;gap:10px;min-width:0;min-height:52px;padding:0 16px;background:var(--ahop-surface);border:1px solid var(--ahop-border-control);border-radius:999px;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .home-search:focus-within{border-color:var(--ahop-primary);box-shadow:0 0 0 1px var(--ahop-primary)}
html[data-surface=shop] .home-search input{flex:1;min-width:0;margin:0;border:0!important;background:transparent!important;box-shadow:none!important;padding:10px 2px;min-height:0;font-size:16px;color:var(--ahop-ink)}
html[data-surface=shop] .home-search .pi{color:var(--ahop-primary)}
html[data-surface=shop] .hero-cta{flex:none;padding:10px 22px;display:inline-flex;align-items:center;gap:8px;border-radius:999px}
html[data-surface=shop] .price-tag{position:static;display:inline-flex;align-items:baseline;gap:8px;width:fit-content;margin:0;padding:6px 16px;border-radius:999px;background:var(--ahop-warning-bg);color:var(--ahop-warning);transform:none;text-shadow:none;font-weight:700}
html[data-surface=shop] .price-tag small{color:var(--ahop-warning);font-size:14px;font-weight:600}
html[data-surface=shop] .price-tag b{color:var(--ahop-warning);font-size:20px}
html[data-surface=shop] .hero-stage{position:relative;min-height:0;display:grid;place-items:center;isolation:auto}
html[data-surface=shop] .nong{display:block;width:min(100%,540px);height:auto;transform:none;filter:drop-shadow(0 18px 24px rgba(70,20,67,.18));animation:pastel-float 5s ease-in-out infinite}
@keyframes pastel-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes pastel-pop{0%{transform:scale(1)}50%{transform:scale(1.025)}100%{transform:scale(1)}}
html[data-surface=shop] .home-marquee{background:var(--ahop-warning-bg);border:1px solid var(--ahop-gold);border-radius:16px;color:var(--ahop-warning)}
html[data-surface=shop] .m-set li{color:var(--ahop-warning);font-weight:600}
html[data-surface=shop] .paw-heading{display:flex;align-items:center;gap:12px;margin:0;font-size:clamp(24px,3vw,32px);color:var(--ahop-ink)}
html[data-surface=shop] .paw-heading .pi{width:1.1em;height:1.1em;color:var(--ahop-primary)}
html[data-surface=shop] .section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:0}
html[data-surface=shop] .section-head:after{content:none}
html[data-surface=shop] .section-meta{color:var(--ahop-muted);font-size:15px}
/* featured carousel: selection only */
html[data-surface=shop] .home-featured{position:relative;padding:20px 0 8px;border-radius:32px;background:linear-gradient(180deg,var(--ahop-lavender),rgba(238,227,246,.35));box-shadow:inset 0 0 0 1px var(--ahop-lavender-strong)}
html[data-surface=shop] .home-featured .section-head{padding:0 24px}
html[data-surface=shop] .feat-stage{position:relative;container-type:inline-size;--gap:20px;--per:3;--pad:64px;--slide:calc((100cqw - var(--pad) * 2 - var(--gap) * (var(--per) - 1)) / var(--per))}
html[data-surface=shop] .feat-track{position:relative;display:flex;gap:20px;margin:0;list-style:none;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;padding:22px var(--pad) 18px}
html[data-surface=shop] .feat-track::-webkit-scrollbar{display:none}
html[data-surface=shop] .feat-track:focus-visible{outline-offset:-3px;border-radius:24px}
html[data-surface=shop] .feat-slide{flex:0 0 var(--slide);min-width:0;scroll-snap-align:center;transform:scale(.94);transition:transform .22s ease-out,opacity .22s;opacity:.92}
html[data-surface=shop] .feat-slide.is-current{transform:scale(1.02);opacity:1}
html[data-surface=shop] .feat-track:only-child .feat-slide,html[data-surface=shop] .feat-track>.feat-slide:only-child{margin-inline:auto}
html[data-surface=shop] .cartridge{height:100%;display:flex;flex-direction:column;padding:10px;border-radius:24px;background:linear-gradient(160deg,var(--ahop-lavender-strong),var(--ahop-lavender));border:2px solid #fff;box-shadow:var(--ahop-shadow),0 0 0 1px var(--ahop-lavender-strong)}
html[data-surface=shop] .feat-slide.is-current .cartridge{border-color:var(--ahop-peach);box-shadow:var(--ahop-shadow-lift),0 0 0 3px var(--ahop-peach)}
html[data-surface=shop] .cartridge-art{border-radius:16px;overflow:hidden;background:var(--ahop-lavender)}
html[data-surface=shop] .cartridge-body{display:flex;flex-direction:column;gap:12px;flex:1;margin-top:10px;padding:14px;border-radius:16px;background:var(--ahop-surface)}
html[data-surface=shop] .cartridge-body:after{content:'';display:block;height:8px;margin-top:auto;border-radius:4px;background:repeating-linear-gradient(90deg,var(--ahop-gold) 0 10px,transparent 10px 14px);opacity:.75}
html[data-surface=shop] .feat-nav{position:absolute;top:50%;z-index:3;width:48px;height:48px;min-height:48px;padding:0;margin-top:-24px;display:grid;place-items:center;border-radius:50%;background:var(--ahop-primary);color:#fff;border:0;box-shadow:0 3px 0 var(--ahop-primary-hover),var(--ahop-shadow)}
html[data-surface=shop] .feat-nav:hover{background:var(--ahop-primary-hover);color:#fff}
html[data-surface=shop] .feat-nav .pi{width:24px;height:24px}
html[data-surface=shop] .feat-prev{left:8px}
html[data-surface=shop] .feat-next{right:8px}
html[data-surface=shop] .feat-dots{display:flex;justify-content:center;gap:8px;padding:2px 0 8px}
html[data-surface=shop] .feat-dots i{width:10px;height:10px;border-radius:50%;background:var(--ahop-lavender-strong)}
html[data-surface=shop] .feat-dots i.is-current{width:26px;border-radius:6px;background:var(--ahop-primary)}
/* game cards (cartridges) */
html[data-surface=shop] .home-games{display:grid;gap:4px}
html[data-surface=shop] .home-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
html[data-surface=shop] .game-card{display:flex;flex-direction:column;background:linear-gradient(160deg,var(--ahop-lavender-strong),var(--ahop-lavender));border:2px solid #fff;border-radius:22px;padding:8px;box-shadow:var(--ahop-shadow),0 0 0 1px var(--ahop-lavender-strong);transition:transform .18s ease-out,box-shadow .18s}
html[data-surface=shop] .game-card:hover,html[data-surface=shop] .game-card:focus-within{transform:translateY(-4px);border-color:var(--ahop-peach);box-shadow:var(--ahop-shadow-lift)}
html[data-surface=shop] .game-cover{position:relative;aspect-ratio:2/1;overflow:hidden;border-radius:16px;background:var(--ahop-lavender)}
html[data-surface=shop] .game-cover:after{content:none}
html[data-surface=shop] .game-card:hover .game-cover .neon-art img{transform:none}
html[data-surface=shop] .neon-art{position:relative;width:100%;height:100%;overflow:hidden;background:var(--ahop-lavender);isolation:auto}
html[data-surface=shop] .neon-art:before,html[data-surface=shop] .neon-art:after,html[data-surface=shop] .neon-art.has-tile:before{display:none}
html[data-surface=shop] .neon-art.has-banner,html[data-surface=shop] .cartridge-art .neon-art{height:auto;aspect-ratio:2/1}
html[data-surface=shop] .neon-art.has-banner img,html[data-surface=shop] .banner-img{position:static;display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;transition:none}
/* games without a 2:1 banner: keep their artwork whole (contain), never stretched */
html[data-surface=shop] .neon-art:not(.has-banner){aspect-ratio:2/1}
html[data-surface=shop] .neon-art:not(.has-banner) .art-scene{background-image:linear-gradient(135deg,var(--ahop-lavender-strong),var(--ahop-lavender))!important;opacity:1}
html[data-surface=shop] .neon-art:not(.has-banner)>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center}
html[data-surface=shop] .neon-art:not(.has-banner) .art-wordmark{color:var(--ahop-ink)!important;text-shadow:none}
html[data-surface=shop] .neon-art:not(.has-banner) .art-wordmark small{color:var(--ahop-muted)}
html[data-surface=shop] .neon-art.has-tile .art-wordmark,html[data-surface=shop] .neon-art.has-tile .art-scene{display:none}
html[data-surface=shop] .game-cover>.availability{top:10px;left:10px;z-index:3}
html[data-surface=shop] .card-body{flex:1;padding:12px 10px 10px;background:var(--ahop-surface);border-radius:16px;margin-top:8px;display:flex;flex-direction:column;gap:10px}
html[data-surface=shop] .game-name{display:flex;align-items:center;gap:10px}
html[data-surface=shop] .game-name h3{margin:0;font-size:17px;color:var(--ahop-ink)}
html[data-surface=shop] .game-name p{margin:0;color:var(--ahop-muted);font-size:14px}
html[data-surface=shop] .game-name .auto-chip{margin-top:4px}
html[data-surface=shop] .game-logo{width:44px;height:44px;flex:0 0 44px;border-radius:12px;background:var(--ahop-lavender);overflow:hidden;display:grid;place-items:center;color:var(--ahop-primary)}
html[data-surface=shop] .game-logo.has-icon{background:none;border-radius:0;overflow:visible}
html[data-surface=shop] .game-logo img{position:static;width:100%;height:100%;object-fit:contain;background:none}
html[data-surface=shop] .card-bottom{margin-top:auto!important;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0;padding:0;border:0}
html[data-surface=shop] .card-bottom small{display:block;color:var(--ahop-muted);font-size:12px}
html[data-surface=shop] .card-bottom strong{font-size:19px;color:var(--ahop-primary)}
html[data-surface=shop] .card-bottom .card-action,html[data-surface=shop] .card-bottom .soon-action{min-height:44px}
html[data-surface=shop] .home-grid .card-action .pi{width:1em;height:1em}
html[data-surface=shop] .game-card[data-availability="paused"] .game-cover img{filter:grayscale(.5);opacity:.85}
/* how-to bar */
html[data-surface=shop] .home-how{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:16px 24px!important;background:linear-gradient(135deg,var(--ahop-lavender),#fff);border:1px solid var(--ahop-lavender-strong);border-radius:28px;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .home-how ol{display:flex;flex:1;align-items:center;gap:8px;margin:0;padding:0;list-style:none}
html[data-surface=shop] .home-how li{display:flex;align-items:center;gap:12px;flex:1;min-width:0;margin:0;padding:0;position:relative}
html[data-surface=shop] .home-how li:before{content:none}
html[data-surface=shop] .home-how li:not(:last-child):after{content:'';flex:none;width:20px;height:20px;margin-left:auto;background:var(--ahop-primary);-webkit-mask:url(/assets/pastel/icons/ui/chevron-down.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/chevron-down.svg) center/contain no-repeat;transform:rotate(-90deg);opacity:.7;order:4}
html[data-surface=shop] .home-how .step-number{flex:none;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ahop-peach);color:var(--ahop-ink);font-weight:800;border:0;order:2}
html[data-surface=shop] .home-how .step-icon{flex:none;order:1;width:44px;height:44px;display:grid;place-items:center;border-radius:12px;background:var(--ahop-surface);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-primary)}
html[data-surface=shop] .home-how .step-icon .pi{width:26px;height:26px}
html[data-surface=shop] .home-how li>div{order:3;min-width:0}
html[data-surface=shop] .home-how b{display:block;color:var(--ahop-ink);font-size:16px}
html[data-surface=shop] .home-how small{display:block;color:var(--ahop-muted);font-size:13px}
html[data-surface=shop] .help-launch{flex:none;display:inline-flex;align-items:center;gap:8px;padding:10px 20px;border-radius:999px;background:var(--ahop-surface);border:2px solid var(--ahop-primary);color:var(--ahop-primary-hover);font-weight:700;text-decoration:none}
html[data-surface=shop] .help-launch:hover{background:var(--ahop-primary);color:#fff;transform:none}
html[data-surface=shop] .store-note{color:var(--ahop-muted);display:flex;gap:10px;font-size:14px}
/* ---------- game page ---------- */
html[data-surface=shop] .checkout-page .breadcrumb{color:var(--ahop-muted);font-size:15px;text-decoration:none}
html[data-surface=shop] .checkout-page .breadcrumb span{color:var(--ahop-ink);font-weight:700}
html[data-surface=shop] .game-head{display:grid;grid-template-columns:minmax(0,640px) minmax(0,1fr);align-items:center;gap:24px;padding:12px!important;border-radius:28px;background:linear-gradient(135deg,var(--ahop-lavender),#fff)}
html[data-surface=shop] .game-head-art{width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;border-radius:20px;background:var(--ahop-lavender);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .game-head-copy{padding:8px 12px}
html[data-surface=shop] .game-head h1{font-size:clamp(30px,4vw,48px);color:var(--ahop-ink)}
html[data-surface=shop] .game-head p{color:var(--ahop-muted)}
html[data-surface=shop] .head-pose{display:none}
html[data-surface=shop] .checkout-page label{color:var(--ahop-ink);font-weight:600}
html[data-surface=shop] .checkout-page .hint{color:var(--ahop-muted)}
html[data-surface=shop] .checkout-page .checkout-steps{background:var(--ahop-surface);border:1px solid var(--ahop-border);border-radius:20px;color:var(--ahop-muted);box-shadow:none}
html[data-surface=shop] .checkout-steps b{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink)}
html[data-surface=shop] .checkout-steps li.current{background:var(--ahop-lavender);color:var(--ahop-ink);box-shadow:none}
html[data-surface=shop] .checkout-steps li.current b{background:var(--ahop-peach);border-color:var(--ahop-peach);color:var(--ahop-ink)}
html[data-surface=shop] .checkout-page .checkout-main{counter-reset:sect}
html[data-surface=shop] .checkout-main>.panel>.panel-heading h2{display:flex;align-items:center;gap:12px}
html[data-surface=shop] .checkout-main>.panel>.panel-heading h2:before{counter-increment:sect;content:counter(sect);display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:50%;background:var(--ahop-peach);color:var(--ahop-ink);font-weight:800;font-size:18px}
html[data-surface=shop] .checkout-page .package{background:linear-gradient(160deg,#fff,var(--ahop-canvas));color:var(--ahop-ink);border:2px solid var(--ahop-border-control);border-radius:20px;box-shadow:var(--ahop-shadow);backdrop-filter:none}
html[data-surface=shop] .checkout-page .package:hover:not(:disabled){border-color:var(--ahop-primary);transform:translateY(-3px);background:var(--ahop-lavender)}
html[data-surface=shop] .checkout-page .package.selected{border-color:var(--ahop-primary);background:var(--ahop-lavender);box-shadow:0 0 0 3px var(--ahop-primary),var(--ahop-shadow);transform:scale(1.01)}
html[data-surface=shop] .checkout-page .package strong{color:var(--ahop-ink)}
html[data-surface=shop] .checkout-page .package-price{color:var(--ahop-primary)}
html[data-surface=shop] .checkout-page .package small,html[data-surface=shop] .checkout-page .package.selected small{color:var(--ahop-muted)}
html[data-surface=shop] .checkout-page .package.is-soldout{opacity:1;filter:none;background:var(--ahop-lavender);color:var(--ahop-muted);border-style:dashed}
html[data-surface=shop] .checkout-page .package.is-soldout small:first-of-type{color:var(--ahop-warning)}
html[data-surface=shop] .package-radio{border:2px solid var(--ahop-border-control);background:#fff}
html[data-surface=shop] .package.selected .package-radio,html[data-surface=shop] .checkout-page .package.selected .package-radio{border:7px solid var(--ahop-primary);background:#fff}
html[data-surface=shop] .checkout-page .service-note{background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-ink);border-radius:20px}
html[data-surface=shop] .checkout-page .order-summary{border:1px solid var(--ahop-lavender-strong);background:linear-gradient(180deg,var(--ahop-lavender),#fff 38%);border-radius:28px}
html[data-surface=shop] .checkout-page .order-summary .row b{color:var(--ahop-ink)}
html[data-surface=shop] .checkout-page .order-summary .row.total b{color:var(--ahop-primary)}
html[data-surface=shop] .checkout-page .wallet-summary{background:var(--ahop-warning-bg);border-color:var(--ahop-gold);color:var(--ahop-ink)}
html[data-surface=shop] .pay-warning{background:var(--ahop-warning-bg);border:1px solid var(--ahop-warning);color:var(--ahop-ink)}
html[data-surface=shop] .pay-warning b{color:var(--ahop-warning)}
html[data-surface=shop] .pay-warning a,html[data-surface=shop] .checkout-page .summary-wallet-link{color:var(--ahop-primary)}
html[data-surface=shop] .summary-bar{background:transparent}
/* ---------- accounts / orders / policy (phases 2-4 get the base theme only) ---------- */
html[data-surface=shop] .deposit-row,html[data-surface=shop] .order-card,html[data-surface=shop] .ledger-table{color:var(--ahop-ink)}
html[data-surface=shop] .order-card{background:var(--ahop-surface);border:1px solid var(--ahop-border);border-radius:20px}
html[data-surface=shop] .avatar{background:var(--ahop-primary);color:#fff}
html[data-surface=shop] .account-links a{color:var(--ahop-primary)}
html[data-surface=shop] .info-nav a{background:var(--ahop-surface);border:1px solid var(--ahop-border-control);color:var(--ahop-ink)}
html[data-surface=shop] .pp-card{background:#fff;color:#000}
/* ---------- responsive ---------- */
@media(max-width:1100px){html[data-surface=shop] .home-grid{grid-template-columns:repeat(3,minmax(0,1fr))}html[data-surface=shop] .feat-stage{--per:2}}
@media(max-width:860px){html[data-surface=shop] .home-hero{grid-template-columns:1fr}html[data-surface=shop] .hero-stage{order:2}html[data-surface=shop] .nong{width:min(70%,340px)}html[data-surface=shop] .home-how{flex-direction:column;align-items:stretch}html[data-surface=shop] .home-how ol{flex-direction:column;align-items:stretch}html[data-surface=shop] .home-how li:not(:last-child):after{display:none}html[data-surface=shop] .help-launch{justify-content:center}html[data-surface=shop] .game-head{grid-template-columns:1fr}}
@media(max-width:760px){html[data-surface=shop] body{padding-bottom:calc(var(--ahop-nav-h) + env(safe-area-inset-bottom))}html[data-surface=shop] main{padding:0 16px 40px}html[data-surface=shop] .header-inner{min-height:56px;padding:6px 16px;gap:8px;flex-wrap:nowrap;justify-content:space-between}html[data-surface=shop] header .brand .brand-logo{height:34px;width:auto}html[data-surface=shop] .account-button{padding:6px 14px;font-size:14px;max-width:none}html[data-surface=shop] #notificationSound,html[data-surface=shop] #notificationStatus{display:none}html[data-surface=shop] nav{position:fixed;left:0;right:0;bottom:0;z-index:50;display:grid;grid-template-columns:repeat(4,1fr);gap:0;height:calc(var(--ahop-nav-h) + env(safe-area-inset-bottom));padding:0 0 env(safe-area-inset-bottom);background:var(--ahop-surface);border-top:1px solid var(--ahop-border);box-shadow:0 -6px 20px rgba(70,20,67,.1)}html[data-surface=shop] nav a{flex-direction:column;justify-content:center;gap:2px;min-height:var(--ahop-nav-h);padding:6px 2px;font-size:12px;border-bottom:0;border-top:3px solid transparent;color:var(--ahop-muted)}html[data-surface=shop] nav a.active{color:var(--ahop-primary);border-top:3px solid var(--ahop-peach);background:var(--ahop-lavender);border-bottom:0}html[data-surface=shop] nav a:hover{border-bottom:0;border-top-color:var(--ahop-lavender-strong)}html[data-surface=shop] nav .pi{display:inline-block;width:24px;height:24px}html[data-surface=shop] nav #adminLink,html[data-surface=shop] nav .nav-help{display:none}html[data-surface=shop] #toast{bottom:calc(var(--ahop-nav-h) + 16px + env(safe-area-inset-bottom))}html[data-surface=shop] .home-page{gap:28px}html[data-surface=shop] .home-hero{padding-top:12px}html[data-surface=shop] .home-hero h1{font-size:clamp(32px,9vw,40px)}html[data-surface=shop] .hero-lead{font-size:16px}html[data-surface=shop] .hero-search{flex-direction:column;align-items:stretch}html[data-surface=shop] .hero-cta{justify-content:center}html[data-surface=shop] .nong{width:min(62%,260px)}html[data-surface=shop] .home-featured{border-radius:24px;padding-top:14px}html[data-surface=shop] .home-featured .section-head{padding:0 16px}html[data-surface=shop] .feat-stage{--per:1.22;--gap:12px;--pad:16px}html[data-surface=shop] .feat-track{gap:12px}html[data-surface=shop] .feat-slide{transform:none}html[data-surface=shop] .feat-slide.is-current{transform:none}html[data-surface=shop] .feat-nav{display:none}html[data-surface=shop] .home-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}html[data-surface=shop] .home-grid .game-card{padding:6px;border-radius:18px}html[data-surface=shop] .home-grid .card-body{padding:10px 8px 8px}html[data-surface=shop] .home-grid .game-logo{display:none}html[data-surface=shop] .home-grid .card-bottom{flex-direction:column;align-items:stretch}html[data-surface=shop] .home-grid .card-action,html[data-surface=shop] .home-grid .soon-action{width:100%}html[data-surface=shop] .game-head{padding:8px!important;border-radius:22px}html[data-surface=shop] .game-head-art{max-height:none}html[data-surface=shop] .checkout-page{padding-bottom:140px}html[data-surface=shop] .checkout-page .checkout-steps{padding:6px}html[data-surface=shop] .summary-bar{bottom:calc(var(--ahop-nav-h) + env(safe-area-inset-bottom));background:var(--ahop-surface);border-top:1px solid var(--ahop-border);box-shadow:0 -6px 20px rgba(70,20,67,.1)}html[data-surface=shop] .summary-bar .row.total span{color:var(--ahop-muted)}html[data-surface=shop] .summary-bar .row.total b{color:var(--ahop-primary)}}
/* ---------- motion off ---------- */
@media(prefers-reduced-motion:reduce){html[data-surface=shop] *,html[data-surface=shop] *:before,html[data-surface=shop] *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}html[data-surface=shop] .nong{animation:none}html[data-surface=shop] button:hover,html[data-surface=shop] .button:hover,html[data-surface=shop] .game-card:hover,html[data-surface=shop] .game-card:focus-within,html[data-surface=shop] .checkout-page .package:hover:not(:disabled){transform:none}html[data-surface=shop] .feat-slide,html[data-surface=shop] .feat-slide.is-current{transform:none}}
@media(hover:none){html[data-surface=shop] .game-card:hover{transform:none}}
html[data-surface=shop] .checkout-page .service-note b,html[data-surface=shop] .service-note b{color:var(--ahop-ink)}
html[data-surface=shop] .checkout-page .service-note p{color:var(--ahop-ink)}
html[data-surface=shop] .store-guide:after{content:none;background:none}
/* safety net for pages that still carry hard-coded light-on-dark greys from the old sheets (wallet, orders, account, policy, contact):
   plain text inherits the page ink. Zero extra specificity from :where(), so every class rule above still wins. */
html[data-surface=shop] main :where(p,li,dd,dt,td,th,small,label,span,strong,b,h1,h2,h3,h4,div,legend,summary),html[data-surface=shop] dialog :where(p,li,dd,dt,td,th,small,label,span,strong,b,h1,h2,h3,h4,div,legend,summary){color:inherit}
html[data-surface=shop] .number-mark{background:var(--ahop-peach);color:var(--ahop-ink);border:0}
html[data-surface=shop] .muted,html[data-surface=shop] .hint,html[data-surface=shop] small,html[data-surface=shop] .info-meta{color:var(--ahop-muted)}
html[data-surface=shop] .eyebrow{color:var(--ahop-primary)}
html[data-surface=shop] .order-card-top h3 .muted,html[data-surface=shop] .order-card-top h3 span{color:var(--ahop-muted)}
html[data-surface=shop] .info-heading>p,html[data-surface=shop] .info-aside p{color:var(--ahop-ink)}
html[data-surface=shop] .info-aside a{color:var(--ahop-primary)}
html[data-surface=shop] .info-nav a{border-radius:999px;padding:8px 18px}
html[data-surface=shop] .contact-placeholder{background:var(--ahop-lavender);border:1px dashed var(--ahop-border-control);color:var(--ahop-ink)}
html[data-surface=shop] .contact-placeholder p,html[data-surface=shop] .contact-placeholder b,html[data-surface=shop] .contact-placeholder strong,html[data-surface=shop] .contact-placeholder span{color:var(--ahop-ink)}
html[data-surface=shop] .contact-placeholder .number-mark{color:var(--ahop-ink)}
html[data-surface=shop] .contact-channel{background:var(--ahop-surface);border:1px solid var(--ahop-border);color:var(--ahop-ink)}
html[data-surface=shop] .contact-help ul,html[data-surface=shop] .contact-help li,html[data-surface=shop] .contact-hours,html[data-surface=shop] .contact-note{color:var(--ahop-ink)}
html[data-surface=shop] .info-layout,html[data-surface=shop] .info-page{padding-top:8px}
html[data-surface=shop] .info-nav{margin-top:20px}

/* ===== DESIGN-3 phase 1.5: scene, arcade tray carousel, shortcuts, game page frames (pictures from /assets/pastel, all decorative ones aria-hidden) ===== */
html[data-surface=shop] .home-hero{position:relative;isolation:isolate;overflow:hidden;border-radius:36px;background:#F6ECF1 url(/assets/pastel/rooms/room-desktop.webp) center/cover no-repeat;min-height:clamp(430px,35vw,540px);padding:36px clamp(24px,4vw,56px) 0;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);align-items:end;gap:8px;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .home-hero .hero-copy{align-self:center;padding-bottom:36px;position:relative;z-index:1}
html[data-surface=shop] .home-hero h1{font-size:clamp(40px,5.4vw,76px);line-height:1.1}
html[data-surface=shop] .home-hero .hero-line2{font-size:.5em;margin-top:10px}
html[data-surface=shop] .home-hero .hero-badge{background:rgba(255,255,255,.7);border-color:var(--ahop-lavender-strong)}
html[data-surface=shop] .home-hero .hero-lead{font-size:clamp(16px,1.5vw,20px)}
html[data-surface=shop] .home-hero .hero-stage{align-self:end;position:relative;z-index:1}
html[data-surface=shop] .home-hero .nong{width:min(112%,660px);margin:0 -1% -4px auto;filter:drop-shadow(0 16px 22px rgba(70,20,67,.16))}
html[data-surface=shop] .scene-deco{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden}
html[data-surface=shop] .scene-deco .deco{position:absolute;height:auto;pointer-events:none;user-select:none;max-width:none}
html[data-surface=shop] .scene-deco .deco-tl{top:-3%;left:-2%;width:clamp(120px,15vw,230px)}
html[data-surface=shop] .scene-deco .deco-tr{top:-3%;right:-2%;width:clamp(120px,15vw,230px)}
html[data-surface=shop] .scene-deco .deco-bl{bottom:-5%;left:-3%;width:clamp(110px,13vw,200px)}
html[data-surface=shop] .scene-deco .deco-br{bottom:-5%;right:-3%;width:clamp(110px,13vw,200px)}
/* carousel on the arcade tray */
html[data-surface=shop] .home-featured{padding:4px 0 0;border-radius:0;background:none;box-shadow:none}
html[data-surface=shop] .home-featured .section-head{padding:0 8px}
html[data-surface=shop] .feat-stage{--pad:clamp(40px,6cqw,84px);--gap:2cqw;--per:3}
html[data-surface=shop] .feat-track{position:relative;z-index:2;padding:34px var(--pad) 0}
html[data-surface=shop] .feat-slide{transform:scale(.92);opacity:1}
html[data-surface=shop] .feat-slide.is-current{transform:scale(1.1);z-index:2}
html[data-surface=shop] .feat-tray{position:relative;z-index:1;display:block;width:100%;aspect-ratio:3/1;margin-top:-20cqw;background:url(/assets/pastel/arcade/arcade-tray.webp) center bottom/100% 100% no-repeat;pointer-events:none}
html[data-surface=shop] .tray-joystick{position:absolute;left:3.2cqw;bottom:6cqw;width:6.4cqw;height:auto;pointer-events:none}
html[data-surface=shop] .tray-buttons{position:absolute;right:4cqw;bottom:6.4cqw;width:11cqw;height:5cqw;pointer-events:none}
html[data-surface=shop] .tray-btn{position:absolute;width:6cqw;height:auto;pointer-events:none}
html[data-surface=shop] .tray-btn-1{left:0;bottom:0}
html[data-surface=shop] .tray-btn-2{left:2.6cqw;bottom:0}
html[data-surface=shop] .tray-btn-3{left:5cqw;bottom:.8cqw}
html[data-surface=shop] .feat-nav{top:calc(34px + 8cqw);z-index:4;margin-top:-24px}
html[data-surface=shop] .feat-prev{left:1.2cqw}
html[data-surface=shop] .feat-next{right:1.2cqw}
html[data-surface=shop] .feat-dots{position:relative;z-index:3;margin-top:-5.4cqw;padding:0}
html[data-surface=shop] .feat-dots i{box-shadow:0 0 0 1px rgba(255,255,255,.8)}
/* cartridge = frame image over the banner; name, price and action stay real HTML below */
html[data-surface=shop] .cartridge{padding:0;border:0;background:none;box-shadow:none;border-radius:0;gap:0}
html[data-surface=shop] .cartridge-art{position:relative;overflow:visible;background:none;border-radius:0;aspect-ratio:2/1}
html[data-surface=shop] .cartridge-art .neon-art{position:absolute;inset:21.7% 13.3% 27.5% 13.3%;width:auto;height:auto;aspect-ratio:auto;border-radius:10px;overflow:hidden}
html[data-surface=shop] .cartridge-art .neon-art.has-banner img,html[data-surface=shop] .cartridge-art .banner-img{height:100%;width:100%;aspect-ratio:auto;object-fit:cover;object-position:center 30%}
html[data-surface=shop] .cartridge-art:after{content:'';position:absolute;inset:0;background:url(/assets/pastel/cartridge/cartridge-frame.webp) center/100% 100% no-repeat;pointer-events:none;filter:drop-shadow(0 8px 10px rgba(70,20,67,.22))}
html[data-surface=shop] .feat-slide.is-current .cartridge-art:after{filter:drop-shadow(0 0 3px #D3A45C) drop-shadow(0 0 14px #D3A45C) drop-shadow(0 8px 12px rgba(70,20,67,.25))}
html[data-surface=shop] .feat-slide.is-current .cartridge{border:0;box-shadow:none}
html[data-surface=shop] .cartridge-body{margin-top:-4%;position:relative;z-index:1;padding:12px 14px;gap:8px;border-radius:18px;border:1px solid var(--ahop-lavender-strong);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .cartridge-body:after{content:none}
html[data-surface=shop] .cartridge-body .card-bottom{align-items:center}
/* shortcut row */
html[data-surface=shop] .game-shortcuts ul{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0;padding:0;list-style:none}
html[data-surface=shop] .game-shortcut{width:100%;display:flex;align-items:center;gap:12px;min-height:72px;padding:10px 16px;border-radius:20px;border:1px solid var(--ahop-lavender-strong);background:linear-gradient(180deg,#fff,var(--ahop-canvas));color:var(--ahop-ink);font-weight:700;text-align:left;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .game-shortcut:hover{border-color:var(--ahop-primary);transform:translateY(-2px)}
html[data-surface=shop] .game-shortcut .game-logo{flex:none;width:48px;height:48px;background:none;border:0;box-shadow:none}
html[data-surface=shop] .game-shortcut .game-logo img{width:48px;height:48px}
html[data-surface=shop] .shortcut-name{flex:1;min-width:0;line-height:1.2}
html[data-surface=shop] .game-shortcut>.pi{flex:none;width:18px;height:18px;color:var(--ahop-primary)}
/* game page: lighter backdrop, full-width banner head, cartridge-framed package cards */
html[data-surface=shop] .checkout-page{position:relative;isolation:isolate}
html[data-surface=shop] .checkout-page .scene-deco{position:absolute;inset:0;z-index:-1;overflow:visible}
html[data-surface=shop] .scene-deco-lite .deco-tl{top:-40px;left:-80px;width:clamp(110px,11vw,170px);opacity:.9}
html[data-surface=shop] .scene-deco-lite .deco-br{bottom:-20px;right:-40px;width:clamp(110px,12vw,190px);opacity:.9}
html[data-surface=shop] .game-head{position:relative;display:block;padding:0!important;overflow:hidden;border-radius:32px;background:var(--ahop-lavender);box-shadow:var(--ahop-shadow-lift);border:2px solid #fff;min-height:0}
html[data-surface=shop] .game-head-art{display:block;width:100%;height:clamp(230px,22vw,300px);aspect-ratio:auto;object-fit:cover;object-position:center 28%;border-radius:0;box-shadow:none}
html[data-surface=shop] .game-head-copy{position:absolute;left:clamp(16px,3vw,40px);bottom:clamp(14px,2.2vw,28px);max-width:min(560px,56%);padding:14px 20px;border-radius:22px;background:rgba(255,249,243,.9);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .game-head-copy h1{font-size:clamp(30px,4vw,52px);line-height:1.1}
html[data-surface=shop] .game-head-copy p{margin:4px 0 0}
html[data-surface=shop] .checkout-main>.panel>.panel-heading h2:after{content:'';order:-1;flex:none;width:34px;height:34px;background:var(--ahop-primary);-webkit-mask:url(/assets/pastel/icons/ui/paw.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/paw.svg) center/contain no-repeat}
html[data-surface=shop] .checkout-page .package{border:0;border-radius:0;background:none;box-shadow:none;border-image:url(/assets/pastel/cartridge/cartridge-frame.webp) 192 236 244 236 fill/22px 26px 28px 26px stretch;border-style:solid;border-width:22px 26px 28px 26px;padding:2px 8px 0;min-height:104px;filter:drop-shadow(0 4px 6px rgba(70,20,67,.16))}
html[data-surface=shop] .checkout-page .package:hover:not(:disabled){background:none;transform:translateY(-3px);border-color:transparent}
html[data-surface=shop] .checkout-page .package.selected{background:none;transform:none;filter:drop-shadow(0 0 3px #D3A45C) drop-shadow(0 0 12px rgba(211,164,92,.9))}
html[data-surface=shop] .checkout-page .package.is-soldout{filter:grayscale(.5);border-style:solid}
@media(max-width:1100px){html[data-surface=shop] .game-shortcuts ul{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:860px){
html[data-surface=shop] .home-hero{background-image:url(/assets/pastel/rooms/room-mobile.webp);background-position:center bottom;grid-template-columns:1fr;align-items:start;padding:22px 18px 0;min-height:0}
html[data-surface=shop] .home-hero .hero-copy{padding-bottom:8px}
html[data-surface=shop] .home-hero .nong{width:min(88%,400px);margin:0 auto -4px}
html[data-surface=shop] .scene-deco .deco-tl,html[data-surface=shop] .scene-deco .deco-tr{width:clamp(80px,22vw,120px)}
html[data-surface=shop] .scene-deco .deco-bl,html[data-surface=shop] .scene-deco .deco-br{display:none}
html[data-surface=shop] .game-head-art{height:auto;aspect-ratio:2/1}
html[data-surface=shop] .game-head-copy{position:static;max-width:none;border-radius:0;box-shadow:none;background:var(--ahop-canvas);padding:14px 18px 16px}
html[data-surface=shop] .scene-deco-lite .deco-br{display:none}
}
@media(max-width:760px){
html[data-surface=shop] .feat-stage{--per:1.35;--gap:10px;--pad:16px}
html[data-surface=shop] .feat-slide,html[data-surface=shop] .feat-slide.is-current{transform:none}
html[data-surface=shop] .feat-tray{margin-top:-27cqw}
html[data-surface=shop] .tray-joystick,html[data-surface=shop] .tray-buttons{display:none}
html[data-surface=shop] .feat-dots{margin-top:-6cqw}
html[data-surface=shop] .game-shortcuts ul{gap:10px}
html[data-surface=shop] .game-shortcut{padding:8px 10px;gap:8px;min-height:64px;font-size:14px}
html[data-surface=shop] .game-shortcut .game-logo,html[data-surface=shop] .game-shortcut .game-logo img{width:36px;height:36px}
html[data-surface=shop] .game-shortcut>.pi{display:none}
html[data-surface=shop] .scene-deco-lite .deco-tl{width:90px;top:-10px;left:-24px}
}

/* ===== DESIGN-3 phase 1.6: fixes after the owner's side-by-side review ===== */
/* 1. game page: banner is shown whole (nothing on top of it); badges, name and description sit in a row below it */
html[data-surface=shop] .game-head{display:block;background:var(--ahop-surface)}
html[data-surface=shop] .game-head-art{height:auto;aspect-ratio:2.5/1;object-position:center 40%}
html[data-surface=shop] .game-head-copy{position:static;left:auto;bottom:auto;max-width:none;display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;padding:14px 22px 16px;border-radius:0;background:var(--ahop-surface);box-shadow:none}
html[data-surface=shop] .game-head-copy .game-head-badges{display:flex;flex-wrap:wrap;gap:8px;margin:0}
html[data-surface=shop] .game-head-copy h1{font-size:clamp(24px,2.6vw,34px);margin:0}
html[data-surface=shop] .game-head-copy p{flex:1 1 280px;margin:0;color:var(--ahop-muted)}
html[data-surface=shop] .scene-deco-lite .deco-tl{top:56px;left:-76px;width:clamp(90px,8vw,120px)}
html[data-surface=shop] .scene-deco-lite .deco-br{bottom:40px;right:-70px;width:clamp(90px,8vw,120px)}
html[data-surface=shop] .checkout-page .breadcrumb{position:relative;z-index:1}
/* 3. hero: scene is a full-bleed band under the header, bigger headline, bigger mascot */
html[data-surface=shop] body{overflow-x:clip}
html[data-surface=shop] .home-page>.home-hero{width:100vw;max-width:none;margin-inline:calc(50% - 50vw);margin-top:-1px;border-radius:0;box-shadow:none;min-height:clamp(480px,40vw,620px);padding:40px max(32px,calc(50vw - 600px)) 0}
html[data-surface=shop] .home-hero h1{font-size:clamp(46px,6.6vw,96px);line-height:1.05}
html[data-surface=shop] .home-hero .hero-line2{font-size:.42em}
html[data-surface=shop] .home-hero .nong{width:min(124%,780px);margin:0 -3% -4px auto}
html[data-surface=shop] .home-hero{grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
/* 4. carousel: the picture window of the cartridge is close to 4:3; the centred card is the highlighted one */
html[data-surface=shop] .feat-stage{--gap:2cqw;--slide:29cqw;--pad:calc((100cqw - var(--slide)) / 2)}
html[data-surface=shop] .feat-track{padding-inline:var(--pad)}
html[data-surface=shop] .feat-slide{flex:0 0 var(--slide)}
html[data-surface=shop] .cartridge-art{aspect-ratio:1.32/1;--ft:calc(var(--slide) * .105);--fs:calc(var(--slide) * .1);--fb:calc(var(--slide) * .13)}
html[data-surface=shop] .cartridge-art .neon-art{inset:var(--ft) var(--fs) var(--fb) var(--fs);border-radius:8px}
html[data-surface=shop] .cartridge-art .neon-art.has-banner img,html[data-surface=shop] .cartridge-art .banner-img{object-position:56% 30%}
html[data-surface=shop] .cartridge-art:after{inset:0;background:none;border:solid transparent;border-width:var(--ft) var(--fs) var(--fb) var(--fs);border-image:url(/assets/pastel/cartridge/cartridge-frame.webp) 192 236 244 236 / var(--ft) var(--fs) var(--fb) var(--fs) stretch}
html[data-surface=shop] .feat-nav{top:calc(34px + 11cqw)}
html[data-surface=shop] .feat-slide.is-current{transform:scale(1.08)}
@media(max-width:860px){
html[data-surface=shop] .home-page>.home-hero{grid-template-columns:minmax(0,1fr);min-height:0;padding:22px 20px 0}
html[data-surface=shop] .home-hero h1{font-size:clamp(40px,11.5vw,60px);line-height:1.08}
html[data-surface=shop] .home-hero .hero-line2{display:block;font-size:.46em;line-height:1.3;margin-top:8px}
html[data-surface=shop] .home-hero .hero-copy{padding-bottom:0}
html[data-surface=shop] .home-hero .nong{width:min(112%,520px);margin:4px auto -4px;display:block}
html[data-surface=shop] .home-hero .hero-stage{order:2}
html[data-surface=shop] .game-head-art{aspect-ratio:2/1}
html[data-surface=shop] .game-head-copy{padding:12px 16px 14px}
html[data-surface=shop] .scene-deco-lite .deco-tl{display:none}
}
@media(max-width:760px){
html[data-surface=shop] .feat-stage{--slide:64cqw;--gap:3cqw}
html[data-surface=shop] .feat-slide,html[data-surface=shop] .feat-slide.is-current{transform:none}
html[data-surface=shop] .feat-slide.is-current .cartridge-art:after{filter:drop-shadow(0 0 3px #D3A45C) drop-shadow(0 0 12px #D3A45C)}
/* 2. package cards on phones: plain CSS border with small gold studs instead of the thick picture frame */
html[data-surface=shop] .checkout-page .package{border:2px solid var(--ahop-lavender-strong);border-image:none;border-radius:16px;filter:none;box-shadow:var(--ahop-shadow);padding:12px 14px;min-height:76px;display:grid;position:relative;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:2px 8px;background:radial-gradient(circle at 7px 7px,#D3A45C 0 2.5px,transparent 3px),radial-gradient(circle at calc(100% - 7px) 7px,#D3A45C 0 2.5px,transparent 3px),radial-gradient(circle at 7px calc(100% - 7px),#D3A45C 0 2.5px,transparent 3px),radial-gradient(circle at calc(100% - 7px) calc(100% - 7px),#D3A45C 0 2.5px,transparent 3px),linear-gradient(160deg,#fff,var(--ahop-canvas))}
html[data-surface=shop] .checkout-page .package:hover:not(:disabled){background:inherit;border-color:var(--ahop-primary)}
html[data-surface=shop] .checkout-page .package.selected{filter:none;border-color:var(--ahop-primary);box-shadow:0 0 0 2px #D3A45C,var(--ahop-shadow)}
html[data-surface=shop] .checkout-page .package strong{grid-column:1;grid-row:1;white-space:nowrap;font-size:17px}
html[data-surface=shop] .checkout-page .package .package-price{grid-column:1/-1;grid-row:2;white-space:nowrap;font-size:17px;justify-self:start}
html[data-surface=shop] .checkout-page .package .package-radio{position:static;grid-column:2;grid-row:1;width:18px;height:18px;flex:none}
html[data-surface=shop] .checkout-page .package small{grid-column:1/-1;white-space:normal;line-height:1.3}
html[data-surface=shop] .checkout-page .package .pkg-auto{justify-self:start;white-space:nowrap}
html[data-surface=shop] .checkout-page .packages{gap:10px}
html[data-surface=shop]{scroll-padding-bottom:calc(var(--ahop-nav-h) + 120px)}
}
@media(max-width:760px){
html[data-surface=shop] body:has(.summary-bar){padding-bottom:calc(var(--ahop-nav-h) + 112px + env(safe-area-inset-bottom))}
html[data-surface=shop] .summary-bar{padding:8px 14px;gap:12px;align-items:center}
html[data-surface=shop] .summary-bar .row.total{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0;line-height:1.15}
html[data-surface=shop] .summary-bar .row.total span{font-size:13px}
html[data-surface=shop] .summary-bar .row.total b{font-size:24px}
html[data-surface=shop] .summary-bar .primary{min-height:48px;flex:1}
}

/* ===== DESIGN-3 phase 1.7 ===== */
/* 1. carousel: the picture window of the cartridge is exactly 2:1, so the whole banner (game name included) is shown, nothing cropped */
html[data-surface=shop] .cartridge-art{aspect-ratio:1.575/1}
html[data-surface=shop] .cartridge-art .neon-art.has-banner img,html[data-surface=shop] .cartridge-art .banner-img{object-position:center}
html[data-surface=shop] .feat-nav{top:calc(34px + 9cqw)}
/* 2. header: the account button shows the full "name · balance" text; the sound toggle is a bell icon (same button, same behaviour; name + title come from index.html) */
html[data-surface=shop] .account-button{max-width:none;overflow:visible;text-overflow:clip;white-space:nowrap;flex:none}
html[data-surface=shop] #notificationSound{flex:none;display:inline-grid;place-items:center;width:44px;padding:0;font-size:0;line-height:0}
html[data-surface=shop] #notificationSound[hidden]{display:none}
html[data-surface=shop] #notificationSound:before{content:'';display:block;width:22px;height:22px;background:currentColor;-webkit-mask:url(/assets/pastel/icons/ui/bell.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/bell.svg) center/contain no-repeat}
html[data-surface=shop] #notificationSound[aria-pressed=true]{background:var(--ahop-lavender);border-color:var(--ahop-primary);color:var(--ahop-primary)}
html[data-surface=shop] .header-inner{gap:16px}
/* 3. game page on desktop: banner beside the details so the first Player UID field is on the first screen at 1366x768; more air between header and breadcrumb */
html[data-surface=shop] .checkout-page{padding-top:28px}
@media(min-width:1100px){
html[data-surface=shop] .game-head{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);align-items:center;background:linear-gradient(135deg,var(--ahop-lavender),#fff)}
html[data-surface=shop] .game-head-art{height:auto;aspect-ratio:2.6/1;object-position:center}
html[data-surface=shop] .game-head-copy{flex-direction:column;align-items:flex-start;flex-wrap:nowrap;gap:10px;padding:16px 28px;background:none}
html[data-surface=shop] .game-head-copy p{flex:none}
}

/* ===== DESIGN-3 phase 1.9: first set of game pictures (cartridge 3:2, wide header 6:1, currency icons) ===== */
/* carousel: 3:2 picture window; width 0.8 x slide, height = 0.7683 - 0.105 - 0.13 = 0.5333 x slide -> exactly 3:2 */
html[data-surface=shop] .cartridge-art.is-3x2{aspect-ratio:1.3016/1}
html[data-surface=shop] .cartridge-art .neon-art.has-cartridge{inset:var(--ft) var(--fs) var(--fb) var(--fs);width:auto;height:auto;border-radius:8px;overflow:hidden;background:var(--ahop-lavender)}
html[data-surface=shop] .cartridge-art .neon-art.has-cartridge .cartridge-img{display:block;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center top}
html[data-surface=shop] .feat-nav{top:calc(34px + 12cqw)}
/* game page head: games with the new pictures */
html[data-surface=shop] .game-head picture{display:block}
html[data-surface=shop] .game-head .game-head-art.game-head-pic{display:block;width:100%;height:auto;aspect-ratio:2/1;object-fit:cover;object-position:center top}
html[data-surface=shop] .game-head-icon{flex:none;width:40px;height:40px}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon title" "icon badges" "desc desc";align-items:center;gap:4px 12px}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-icon{grid-area:icon}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy h1{grid-area:title}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-badges{grid-area:badges}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy p{grid-area:desc}
@media(min-width:1100px){
html[data-surface=shop] .game-head:has(.game-head-pic){display:block;position:relative;grid-template-columns:none;background:var(--ahop-lavender)}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-art.game-head-pic{aspect-ratio:6/1;object-position:center}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy{position:absolute;left:0;top:0;bottom:0;width:40%;display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon title" "icon badges" "icon desc";align-content:center;align-items:center;gap:2px 14px;padding:10px 24px;background:none;box-shadow:none}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-icon{grid-area:icon;width:56px;height:56px}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy h1{grid-area:title;font-size:clamp(26px,2.6vw,36px)}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-badges{grid-area:badges}
html[data-surface=shop] .game-head:has(.game-head-pic) .game-head-copy p{grid-area:desc;font-size:14px;color:var(--ahop-ink)}
}
/* package cards: currency icon on the left (decorative, name/amount/price stay real text) */
html[data-surface=shop] .checkout-page .package .package-icon{width:64px;height:64px;object-fit:contain;flex:none}
html[data-surface=shop] .checkout-page .package:has(.package-icon){display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:12px;align-items:center;text-align:left}
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-icon{grid-column:1;grid-row:1/span 4}
html[data-surface=shop] .checkout-page .package:has(.package-icon)>:not(.package-icon){grid-column:2}
@media(max-width:1099px){html[data-surface=shop] .game-head-copy .game-head-icon{display:inline-block}}
@media(max-width:760px){
html[data-surface=shop] .checkout-page .package .package-icon{width:44px;height:44px}
html[data-surface=shop] .checkout-page .package:has(.package-icon){grid-template-columns:auto minmax(0,1fr);column-gap:8px}
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-icon{grid-column:1;grid-row:1/span 2}
html[data-surface=shop] .checkout-page .package:has(.package-icon) strong{grid-column:2;grid-row:1}
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-radio{position:absolute;top:8px;right:8px;width:14px;height:14px}
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-price{grid-column:2/-1;grid-row:2}
html[data-surface=shop] .checkout-page .package:has(.package-icon)>:not(.package-icon):is(small){grid-column:1/-1}
}

/* ===== DESIGN-3 phase 1.8: shape polish against screens/01_home.png, 03_product.png, 04_review.png =====
   Radius/shadow/colour come from specs/tokens.css (card 24, shadow 0 8px 24px rgb(70 20 67/.09), palette).
   Where the pictures differ from the tokens on SHAPE the pictures win: single-line inputs are capsules (tokens say 16),
   primary buttons are plum-gradient capsules, the carousel plate has ~56px top corners. */
/* B1 shapes */
html[data-surface=shop] input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]):not([type=hidden]),html[data-surface=shop] select{border-radius:999px;padding-inline:20px}
html[data-surface=shop] textarea{border-radius:20px}
html[data-surface=shop] .home-search input,html[data-surface=shop] .home-search{border-radius:999px}
html[data-surface=shop] .primary,html[data-surface=shop] button.primary,html[data-surface=shop] a.button.primary,html[data-surface=shop] .account-button,html[data-surface=shop] .card-action,html[data-surface=shop] .header-wallet{border-radius:999px;background:linear-gradient(180deg,#8E4DAA 0%,#783C91 48%,#5E2576 100%);box-shadow:0 8px 18px rgba(100,42,124,.28),inset 0 1px 0 rgba(255,255,255,.28)}
html[data-surface=shop] .primary:hover,html[data-surface=shop] button.primary:hover,html[data-surface=shop] a.button.primary:hover,html[data-surface=shop] .account-button:hover,html[data-surface=shop] .card-action:hover{background:linear-gradient(180deg,#7C3B97 0%,#642A7C 55%,#4F1D65 100%);box-shadow:0 10px 22px rgba(100,42,124,.34),inset 0 1px 0 rgba(255,255,255,.2)}
html[data-surface=shop] .feat-nav{box-shadow:0 8px 18px rgba(100,42,124,.28),inset 0 1px 0 rgba(255,255,255,.28);background:linear-gradient(180deg,#8E4DAA,#642A7C)}
html[data-surface=shop] .game-card,html[data-surface=shop] .panel{border-radius:24px}
html[data-surface=shop] .home-page>.home-featured{position:relative;z-index:2;margin-top:-44px;padding:26px 20px 52px;border-radius:56px;background:linear-gradient(180deg,#FFFDFA 0%,#F8EFF5 100%);box-shadow:0 -6px 24px rgba(70,20,67,.06),var(--ahop-shadow)}
html[data-surface=shop] .game-head{border-width:4px;border-radius:32px}
html[data-surface=shop] .home-how{border-radius:999px;background:linear-gradient(180deg,#F3E9F9,#EBDDF4);border:0;box-shadow:inset 0 0 0 1px rgba(216,182,160,.2),var(--ahop-shadow)}
/* B2 section headings: paw + orange number + long rule */
html[data-surface=shop] .checkout-main>.panel>.panel-heading{display:flex;align-items:center;gap:16px}
html[data-surface=shop] .checkout-main>.panel>.panel-heading:after{content:'';flex:1;min-width:24px;height:2px;border-radius:2px;background:var(--ahop-lavender-strong)}
/* B3 summary panel: lavender sheet, white rows stacked inside with pack icons, soft gold price box */
html[data-surface=shop] .checkout-page .order-summary{background:linear-gradient(180deg,#F1E6F8 0%,#F8F1FB 55%,#fff 100%);border:1px solid var(--ahop-lavender-strong);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .order-summary>.row{background:#fff;margin:0;padding:12px 16px;border-bottom:1px solid var(--ahop-lavender);align-items:center}
html[data-surface=shop] .order-summary>.panel-heading+.row{border-radius:16px 16px 0 0}
html[data-surface=shop] .order-summary>.row:has(+label){border-radius:0 0 16px 16px;border-bottom:0;margin-bottom:12px}
html[data-surface=shop] .order-summary>.row .muted{display:inline-flex;align-items:center;gap:10px}
html[data-surface=shop] .order-summary>.row .muted:before{content:'';flex:none;width:24px;height:24px;background:var(--ahop-primary);-webkit-mask:var(--ico) center/contain no-repeat;mask:var(--ico) center/contain no-repeat}
html[data-surface=shop] .order-summary>.panel-heading+.row .muted:before{--ico:url(/assets/pastel/icons/ui/gamepad.svg)}
html[data-surface=shop] .order-summary>.panel-heading+.row+.row .muted:before{--ico:url(/assets/pastel/icons/ui/package.svg)}
html[data-surface=shop] .order-summary>.row:has(+label) .muted:before{--ico:url(/assets/pastel/icons/ui/wallet.svg)}
html[data-surface=shop] .checkout-page .wallet-summary{border-radius:16px;background:linear-gradient(180deg,#FFF6E2,#FFEFD0);border:1px solid #EBCB93;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
/* B4 package cards (desktop): raised cream tile, four gold studs, icon cell + vertical rule, capsule price, plum border + check when selected */
@media(min-width:761px){
html[data-surface=shop] .checkout-page .package{position:relative;border:2px solid #E7D9C6;border-image:none;border-radius:20px;filter:none;padding:14px 18px 14px 22px;min-height:92px;text-align:left;background:radial-gradient(circle at 10px 10px,#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 10px) 10px,#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at 10px calc(100% - 10px),#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 10px) calc(100% - 10px),#D3A45C 0 3px,transparent 3.5px),linear-gradient(180deg,#FFFDF9 0%,#FBF1E4 100%);box-shadow:inset 0 2px 0 rgba(255,255,255,.95),inset 0 -3px 0 rgba(214,184,150,.35),0 6px 14px rgba(70,20,67,.10)}
html[data-surface=shop] .checkout-page .package:hover:not(:disabled){transform:translateY(-2px);border-color:var(--ahop-lavender-strong);background-color:transparent}
html[data-surface=shop] .checkout-page .package:has(.package-icon){background-image:radial-gradient(circle at 10px 10px,#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 10px) 10px,#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at 10px calc(100% - 10px),#D3A45C 0 3px,transparent 3.5px),radial-gradient(circle at calc(100% - 10px) calc(100% - 10px),#D3A45C 0 3px,transparent 3.5px),linear-gradient(#E3D3BC,#E3D3BC),linear-gradient(180deg,#FFFDF9 0%,#FBF1E4 100%);background-repeat:no-repeat;background-size:auto,auto,auto,auto,2px 64%,auto;background-position:0 0,0 0,0 0,0 0,102px 50%,0 0;column-gap:26px;grid-template-columns:64px minmax(0,1fr)}
html[data-surface=shop] .checkout-page .package .package-price{display:inline-block;width:fit-content;padding:3px 16px;border-radius:999px;background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong);color:var(--ahop-primary);font-weight:700}
html[data-surface=shop] .checkout-page .package .package-radio{display:none}
html[data-surface=shop] .checkout-page .package.selected{border:3px solid var(--ahop-primary);filter:none;padding:13px 17px 13px 21px;box-shadow:inset 0 2px 0 rgba(255,255,255,.95),0 0 0 3px rgba(120,60,145,.14),0 10px 20px rgba(70,20,67,.14)}
html[data-surface=shop] .checkout-page .package.selected:before{content:'';position:absolute;top:-12px;right:-10px;width:34px;height:34px;border-radius:12px;background:var(--ahop-primary);box-shadow:0 4px 10px rgba(70,20,67,.25)}
html[data-surface=shop] .checkout-page .package.selected:after{content:'';position:absolute;top:-12px;right:-10px;width:34px;height:34px;background:#fff;-webkit-mask:url(/assets/pastel/icons/ui/check.svg) center/22px no-repeat;mask:url(/assets/pastel/icons/ui/check.svg) center/22px no-repeat}
}
/* B6 three-step bar + help button */
html[data-surface=shop] .home-how .step-number{background:linear-gradient(180deg,#FFC4A8,#FFAE8B);box-shadow:0 2px 6px rgba(255,174,139,.55)}
html[data-surface=shop] .help-launch{background:#fff;border:2px solid var(--ahop-primary);color:var(--ahop-primary);border-radius:999px;box-shadow:var(--ahop-shadow);font-weight:700}
html[data-surface=shop] .help-launch:hover{background:var(--ahop-lavender);color:var(--ahop-primary-hover)}
@media(max-width:860px){html[data-surface=shop] .home-how{border-radius:32px}}
@media(max-width:760px){html[data-surface=shop] .home-page>.home-featured{margin-top:-28px;padding:22px 12px 30px;border-radius:36px}}
/* B7 soft shadows only: no hard offset shadows on controls */
html[data-surface=shop] #notificationSound,html[data-surface=shop] .game-shortcut,html[data-surface=shop] .category-tabs button{box-shadow:var(--ahop-shadow)}

/* ===== DESIGN-3 phase 1.10: trimmed currency icons fill their cell; long prices must never leave the card ===== */
html[data-surface=shop] .checkout-page .package .package-price{max-width:100%;box-sizing:border-box}
@media(min-width:761px){
html[data-surface=shop] .checkout-page .package .package-price{font-size:17px;padding:3px 12px}
html[data-surface=shop] .checkout-page .package{padding-right:14px}
html[data-surface=shop] .checkout-page .package.selected{padding-right:13px}
}
@media(max-width:760px){
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-icon{grid-row:1;grid-column:1;width:40px;height:40px}
html[data-surface=shop] .checkout-page .package:has(.package-icon) strong{padding-right:18px}
html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-price{grid-column:1/-1;grid-row:2;margin-top:2px}
}

/* ===== DESIGN-3 phase 2: orders page (display only; markup hooks added in app.js/neon.js, no logic changed) ===== */
/* status chips: colour + icon + the system's own Thai text (never colour alone) */
html[data-surface=shop] .badge{display:inline-flex;align-items:center;gap:6px;padding:6px 14px 6px 10px;border-radius:999px;font-size:14px;font-weight:700;line-height:1.3;white-space:nowrap}
html[data-surface=shop] .badge:before{content:'';flex:none;width:16px;height:16px;background:currentColor;-webkit-mask:var(--bi,url(/assets/pastel/icons/ui/clock.svg)) center/contain no-repeat;mask:var(--bi,url(/assets/pastel/icons/ui/clock.svg)) center/contain no-repeat}
html[data-surface=shop] .badge.status-queued,html[data-surface=shop] .badge.status-pending{--bi:url(/assets/pastel/icons/ui/clock.svg);background:linear-gradient(180deg,#FFF6E2,#FFEBCB);border-color:#EBB98C;color:#825000}
html[data-surface=shop] .badge.status-processing{--bi:url(/assets/pastel/icons/ui/refresh.svg);background:linear-gradient(180deg,#FFF6E2,#FFEBCB);border-color:#EBB98C;color:#825000}
html[data-surface=shop] .badge.status-completed,html[data-surface=shop] .badge.status-approved{--bi:url(/assets/pastel/icons/ui/check.svg);background:linear-gradient(180deg,#F1FAF3,#E1F2E6);border-color:#8CC3A0;color:#276548}
html[data-surface=shop] .badge.status-failed,html[data-surface=shop] .badge.status-rejected{--bi:url(/assets/pastel/icons/ui/warning.svg);background:linear-gradient(180deg,#FEF1F3,#FADDE3);border-color:#E5A0AE;color:#AD2945}
html[data-surface=shop] .badge.status-refunded{--bi:url(/assets/pastel/icons/ui/refresh.svg);background:linear-gradient(180deg,#F6EEFB,#EBDDF4);border-color:var(--ahop-lavender-strong);color:var(--ahop-primary-hover)}
/* hero: full-bleed room scene under the header, paw + big title on the left, Hope on the right (picture never stretched) */
html[data-surface=shop] .orders-page>.page-title{position:relative;isolation:isolate;overflow:hidden;width:100vw;max-width:none;margin:0 calc(50% - 50vw) 28px;min-height:clamp(190px,17vw,250px);padding:24px max(32px,calc(50vw - 600px));display:flex;align-items:center;justify-content:flex-start;background:#F6ECF1 url(/assets/pastel/rooms/room-desktop.webp) center 35%/cover no-repeat;border:0;border-radius:0}
html[data-surface=shop] .orders-page>.page-title>div:first-child{position:relative;z-index:1;max-width:min(560px,58%)}
html[data-surface=shop] .orders-page .page-title .eyebrow{display:none}
html[data-surface=shop] .orders-page .page-title h1{display:flex;align-items:center;gap:.28em;font-size:clamp(34px,4.6vw,60px);line-height:1.1}
html[data-surface=shop] .orders-page .page-title h1:before{content:'';flex:none;width:.85em;height:.85em;background:var(--ahop-primary);-webkit-mask:url(/assets/pastel/icons/ui/paw.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/paw.svg) center/contain no-repeat}
html[data-surface=shop] .orders-page .page-title p{font-size:clamp(16px,1.5vw,20px);color:var(--ahop-muted);margin:6px 0 0}
html[data-surface=shop] .orders-mascot{position:absolute;right:max(24px,calc(50vw - 540px));bottom:0;z-index:0;height:min(112%,270px);width:auto;max-width:none;object-fit:contain;pointer-events:none;filter:drop-shadow(0 12px 18px rgba(70,20,67,.16))}
/* filter tabs: capsule bar, count chips in lavender (no dark squares) */
html[data-surface=shop] .orders-page .order-filters{display:flex;flex-wrap:wrap;gap:6px;width:fit-content;max-width:100%;padding:6px;margin:0 0 20px;background:#fff;border:1px solid var(--ahop-lavender-strong);border-radius:999px;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .orders-page .order-filters button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 18px;border:0;border-radius:999px;background:transparent;color:var(--ahop-ink);font-weight:600;box-shadow:none}
html[data-surface=shop] .orders-page .order-filters button:hover{background:var(--ahop-lavender)}
html[data-surface=shop] .orders-page .order-filters button.active{background:linear-gradient(180deg,#8E4DAA 0%,#783C91 48%,#5E2576 100%);color:#fff;box-shadow:0 6px 14px rgba(100,42,124,.26),inset 0 1px 0 rgba(255,255,255,.28)}
html[data-surface=shop] .orders-page .order-filters button span{display:inline-grid;place-items:center;min-width:24px;height:24px;padding:0 7px;margin:0;border-radius:999px;background:var(--ahop-lavender);color:var(--ahop-primary);font-size:13px;font-weight:700;border:0}
html[data-surface=shop] .orders-page .order-filters button.active span{background:rgba(255,255,255,.26);color:#fff}
/* order cards */
html[data-surface=shop] .orders-page .order-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,540px),1fr));gap:18px}
html[data-surface=shop] .orders-page .order-card{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px 16px;align-items:center;padding:16px;border:1px solid #E7D9C6;border-radius:24px;background:linear-gradient(180deg,#fff,#FFFBF6);box-shadow:var(--ahop-shadow);color:var(--ahop-ink)}
html[data-surface=shop] .orders-page .order-card:has(.badge.status-queued,.badge.status-processing){border:2px solid #EBB98C;background:linear-gradient(180deg,#FFFAF0,#FFF3E2);padding:15px}
html[data-surface=shop] .orders-page .order-thumb{grid-column:1;width:120px;height:80px;object-fit:cover;object-position:center top;border-radius:14px;background:var(--ahop-lavender);box-shadow:0 4px 12px rgba(70,20,67,.14)}
html[data-surface=shop] .orders-page .order-card-top{grid-column:2;display:flex;align-items:flex-start;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;margin:0;padding:0;border:0;background:none}
html[data-surface=shop] .orders-page .order-card>.order-card-top:first-child{grid-column:1/-1}
html[data-surface=shop] .orders-page .order-card-top small{display:block;color:var(--ahop-muted);font-size:13px}
html[data-surface=shop] .orders-page .order-card-top h3{margin:2px 0 0;font-size:20px;line-height:1.25;color:var(--ahop-ink)}
html[data-surface=shop] .orders-page .order-card-body{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin:0;padding:12px 16px;border:0;border-radius:18px;background:#F6EEFB}
html[data-surface=shop] .orders-page .order-card-body small{display:block;color:var(--ahop-muted);font-size:13px}
html[data-surface=shop] .orders-page .order-card-body p{margin:2px 0 0;color:var(--ahop-ink)}
html[data-surface=shop] .orders-page .order-card-body strong{color:var(--ahop-primary);font-size:20px}
html[data-surface=shop] .orders-page .order-reference{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin:0;padding:12px 16px;background:#fff;border:1px dashed var(--ahop-gold);border-radius:16px;color:var(--ahop-ink)}
html[data-surface=shop] .orders-page .order-reference b{color:var(--ahop-ink)}
html[data-surface=shop] .orders-page .order-reference p{margin:0}
html[data-surface=shop] .orders-page .order-reference code{padding:3px 10px;border-radius:10px;background:#F6EEFB;color:var(--ahop-ink);font-size:15px}
html[data-surface=shop] .orders-page .order-card-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}
html[data-surface=shop] .orders-page .order-card-actions .small,html[data-surface=shop] .orders-page .order-reference .small{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:8px 18px;border-radius:999px}
html[data-surface=shop] .orders-page .order-card-actions .secondary,html[data-surface=shop] .orders-page .order-reference .secondary{background:#fff;border:2px solid var(--ahop-primary);color:var(--ahop-primary);font-weight:700;box-shadow:none}
html[data-surface=shop] .orders-page .order-card-actions .primary{font-weight:700}
html[data-surface=shop] .orders-page .empty{display:grid;justify-items:center;gap:6px;padding:28px 20px;text-align:center}
html[data-surface=shop] .orders-page .empty-mascot{display:block;width:150px;height:auto;margin:0 auto 4px}
@media(max-width:860px){
html[data-surface=shop] .orders-page>.page-title{min-height:150px;padding:18px 20px;background-image:url(/assets/pastel/rooms/room-mobile.webp);background-position:center bottom}
html[data-surface=shop] .orders-page>.page-title>div:first-child{max-width:62%}
html[data-surface=shop] .orders-mascot{right:10px;height:min(108%,170px)}
}
@media(max-width:760px){
html[data-surface=shop] .orders-page .order-filters{width:100%;border-radius:28px;gap:4px}
html[data-surface=shop] .orders-page .order-filters button{padding:8px 12px;font-size:15px;flex:1 1 auto;justify-content:center}
html[data-surface=shop] .orders-page .order-list{grid-template-columns:minmax(0,1fr);gap:14px}
html[data-surface=shop] .orders-page .order-thumb{width:88px;height:60px}
html[data-surface=shop] .orders-page .order-card-top h3{font-size:18px}
html[data-surface=shop] .orders-page .order-card-body{grid-template-columns:minmax(0,1fr)}
html[data-surface=shop] .orders-page .order-card-actions .small{flex:1 1 auto;justify-content:center}
}
/* phase 2 tweaks after the first screenshots */
html[data-surface=shop] .orders-page>.page-title>div:first-child{padding:10px 22px 12px 14px;border-radius:26px;background:radial-gradient(120% 140% at 30% 40%,rgba(255,249,243,.86),rgba(255,249,243,.55) 70%,transparent)}
html[data-surface=shop] .orders-page .order-card-actions .small{font-size:15px}
@media(max-width:760px){
html[data-surface=shop] .orders-page .page-title h1{font-size:clamp(26px,8vw,32px);gap:.22em}
html[data-surface=shop] .orders-page>.page-title>div:first-child{max-width:66%;padding:8px 12px 10px 8px}
html[data-surface=shop] .orders-page .page-title p{font-size:14px}
html[data-surface=shop] .orders-page .order-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-surface=shop] .orders-page .order-filters button{font-size:14px;padding:8px 10px}
html[data-surface=shop] .orders-page .order-card-body{grid-template-columns:repeat(2,minmax(0,1fr))}
html[data-surface=shop] .orders-page .order-card-body>div:first-child{grid-column:1/-1}
}
@media(max-width:760px){
html[data-surface=shop] .orders-page .page-title h1{font-size:26px;white-space:nowrap}
html[data-surface=shop] .orders-page .page-title h1:before{width:.75em;height:.75em}
html[data-surface=shop] .orders-page>.page-title>div:first-child{max-width:68%}
html[data-surface=shop] .orders-mascot{height:min(104%,150px)}
}

/* ===== DESIGN-3 phase 2.1: phone package cards - the selection circle sits bottom-right and never shares a row with the name; long names wrap ===== */
@media(max-width:760px){
html[data-surface=shop] .checkout-page .package .package-radio,html[data-surface=shop] .checkout-page .package:has(.package-icon) .package-radio{position:absolute;top:auto;right:10px;bottom:10px;left:auto;width:14px;height:14px;grid-column:auto;grid-row:auto}
html[data-surface=shop] .checkout-page .package strong,html[data-surface=shop] .checkout-page .package:has(.package-icon) strong{min-width:0;padding-right:0;white-space:normal;overflow-wrap:anywhere;font-size:16px;line-height:1.25}
html[data-surface=shop] .checkout-page .package{padding-bottom:12px}
}

/* ===== DESIGN-3 phase 3 (a): Wallet amount step, payment popup, slip picker. Display only; no inline styles, no external hosts. ===== */
html[data-surface=shop] .wallet-balance-line{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0 14px;padding:12px 18px;border-radius:18px;background:linear-gradient(180deg,#FFF6E2,#FFEFD0);border:1px solid #EBCB93;box-shadow:inset 0 1px 0 rgba(255,255,255,.7)}
html[data-surface=shop] .wallet-balance-line span{color:var(--ahop-muted);font-weight:600}
html[data-surface=shop] .wallet-balance-line b{color:var(--ahop-primary);font-size:22px}
html[data-surface=shop] #depositForm .amount-presets{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 6px}
html[data-surface=shop] #depositForm .amount-presets button{flex:1 1 72px;min-height:44px;border-radius:999px;font-weight:700;font-size:16px}
html[data-surface=shop] #depositForm .amount-presets button:hover{border-color:var(--ahop-primary)}
html[data-surface=shop] #depositForm .error,html[data-surface=shop] #payForm .error{min-height:1.4em;margin:6px 2px;color:var(--ahop-danger);font-weight:600}
html[data-surface=shop] #depositForm input[aria-invalid=true],html[data-surface=shop] #payForm input[aria-invalid=true]{border-color:var(--ahop-danger);box-shadow:0 0 0 1px var(--ahop-danger)}
html[data-surface=shop] #depositForm .primary,html[data-surface=shop] #payForm .primary{min-height:52px;margin-top:6px}
/* popups */
html[data-surface=shop] dialog{max-width:min(560px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto}
html[data-surface=shop] dialog .pay-summary{display:grid;gap:8px;margin:12px 0;padding:12px 16px;border-radius:18px;background:#F6EEFB;border:1px solid var(--ahop-lavender-strong)}
html[data-surface=shop] dialog .pay-summary .row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0}
html[data-surface=shop] dialog .pay-summary b{color:var(--ahop-primary);font-size:20px;overflow-wrap:anywhere}
html[data-surface=shop] dialog .pay-instructions{margin:12px 0;border-radius:16px;overflow-wrap:anywhere}
html[data-surface=shop] dialog .pp-box:empty{display:none}
html[data-surface=shop] dialog .pp-card{display:grid;justify-items:center;gap:10px;margin:12px 0;padding:16px;border-radius:20px;border:1px solid var(--ahop-lavender-strong);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] dialog .pp-canvas{max-width:100%;height:auto}
html[data-surface=shop] dialog .pp-summary{text-align:center;font-weight:600}
html[data-surface=shop] dialog .pp-card .secondary{min-height:44px;border-radius:999px}
html[data-surface=shop] dialog #payForm label{display:grid;gap:8px;margin:12px 0 4px;font-weight:600}
html[data-surface=shop] dialog #payForm input[type=file]{min-height:48px;padding:10px 14px;border-radius:16px;background:var(--ahop-canvas)}
/* slip: name + size, and a preview image when the browser can read it (data: URL only) */
html[data-surface=shop] .slip-preview{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:10px 0;padding:12px;border-radius:18px;background:#fff;border:1px dashed var(--ahop-primary)}
html[data-surface=shop] .slip-preview[hidden]{display:none}
html[data-surface=shop] .slip-preview-img{display:block;flex:none;max-width:96px;max-height:128px;width:auto;height:auto;object-fit:contain;border-radius:12px;border:1px solid var(--ahop-lavender-strong);background:var(--ahop-lavender)}
html[data-surface=shop] .slip-file{flex:1 1 140px;min-width:0;display:grid;gap:2px}
html[data-surface=shop] .slip-file b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ahop-ink)}
html[data-surface=shop] .slip-file small{color:var(--ahop-muted)}
html[data-surface=shop] .slip-actions,html[data-surface=shop] dialog .pay-actions{display:flex;flex-wrap:wrap;gap:10px;width:100%}
html[data-surface=shop] .slip-actions .small,html[data-surface=shop] dialog .pay-actions .small{flex:1 1 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;border-radius:999px}
html[data-surface=shop] dialog .pay-actions .secondary{background:#fff;border:2px solid var(--ahop-primary);color:var(--ahop-primary);font-weight:700}
html[data-surface=shop] dialog .pay-status{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:10px 0}
html[data-surface=shop] dialog .review-back{margin-top:8px;min-height:48px;border-radius:999px}
@media(max-width:760px){
html[data-surface=shop] dialog{width:calc(100vw - 24px);padding:20px 16px}
html[data-surface=shop] .wallet-balance-line b{font-size:20px}
}

/* ===== DESIGN-3 phase 3 (b): money history + top-up history (look only; texts and status values come from the system) ===== */
html[data-surface=shop] .ledger-icon{display:inline-grid;place-items:center;flex:none;width:34px;height:34px;margin-right:8px;border-radius:50%;background:#FDEBE2;color:#B4532A;font-size:0;vertical-align:middle}
html[data-surface=shop] .ledger-icon:before{content:'';width:20px;height:20px;background:currentColor;-webkit-mask:var(--li,url(/assets/pastel/icons/ui/wallet.svg)) center/contain no-repeat;mask:var(--li,url(/assets/pastel/icons/ui/wallet.svg)) center/contain no-repeat}
html[data-surface=shop] .ledger-icon.type-deposit{--li:url(/assets/pastel/icons/ui/wallet.svg)}
html[data-surface=shop] .ledger-icon.type-purchase{--li:url(/assets/pastel/icons/ui/package.svg)}
html[data-surface=shop] .ledger-icon.type-refund{--li:url(/assets/pastel/icons/ui/refresh.svg)}
html[data-surface=shop] .ledger-icon.type-adjustment{--li:url(/assets/pastel/icons/ui/warning.svg)}
html[data-surface=shop] .ledger-icon.positive{background:var(--ahop-success-bg);color:var(--ahop-success)}
html[data-surface=shop] .ledger-table{border-collapse:separate;border-spacing:0 8px;width:100%}
html[data-surface=shop] .ledger-table thead th{padding:10px 14px;background:#F1E6F8;color:var(--ahop-primary-hover);font-weight:700;text-align:left;border:0}
html[data-surface=shop] .ledger-table thead th:first-child{border-radius:999px 0 0 999px}
html[data-surface=shop] .ledger-table thead th:last-child{border-radius:0 999px 999px 0}
html[data-surface=shop] .ledger-table tbody td{padding:10px 14px;background:#fff;border:0;border-top:1px solid #EFE3F5;border-bottom:1px solid #EFE3F5;color:var(--ahop-ink)}
html[data-surface=shop] .ledger-table tbody td:first-child{border-left:1px solid #EFE3F5;border-radius:18px 0 0 18px}
html[data-surface=shop] .ledger-table tbody td:last-child{border-right:1px solid #EFE3F5;border-radius:0 18px 18px 0}
html[data-surface=shop] .ledger-table td.success{color:var(--ahop-success);font-weight:700}
html[data-surface=shop] .ledger-table td.error{color:var(--ahop-danger);font-weight:700}
html[data-surface=shop] .ledger-table code{background:#F6EEFB;color:var(--ahop-ink);border-radius:8px;padding:2px 8px}
html[data-surface=shop] .deposit-history{display:grid;gap:10px}
html[data-surface=shop] .deposit-history h3{margin:14px 0 2px;font-size:20px;color:var(--ahop-ink)}
html[data-surface=shop] .deposit-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px;border:1px solid var(--ahop-lavender-strong);border-radius:20px;background:linear-gradient(180deg,#fff,#FFFBF6);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .deposit-row>div{display:grid;gap:3px;min-width:0}
html[data-surface=shop] .deposit-row b{font-size:22px;color:var(--ahop-ink)}
html[data-surface=shop] .deposit-row small{color:var(--ahop-muted);overflow-wrap:anywhere}
html[data-surface=shop] .deposit-row .badge{flex:none}
html[data-surface=shop] .deposit-row .evidence-link{display:inline-flex;align-items:center;gap:6px;width:fit-content;min-height:44px;padding:6px 14px;border-radius:999px;border:1px solid var(--ahop-lavender-strong);background:#fff;color:var(--ahop-primary);font-weight:600;text-decoration:none}
html[data-surface=shop] .deposit-row .evidence-link:hover{background:var(--ahop-lavender)}
@media(max-width:760px){
html[data-surface=shop] .deposit-row b{font-size:20px}
html[data-surface=shop] .ledger-table thead th,html[data-surface=shop] .ledger-table tbody td{padding:8px 10px}
}

html[data-surface=shop] dialog .pay-summary .row span{flex:none;white-space:nowrap}
html[data-surface=shop] dialog .pay-summary b.ref-value{flex:1 1 auto;min-width:0;text-align:right;font-size:15px;font-weight:600;word-break:break-all}
@media(max-width:760px){
html[data-surface=shop] .ledger-table{font-size:13px}
html[data-surface=shop] .ledger-table thead th:nth-child(4),html[data-surface=shop] .ledger-table tbody td:nth-child(4){display:none}
html[data-surface=shop] .ledger-table thead th:nth-child(3){border-radius:0 999px 999px 0}
html[data-surface=shop] .ledger-table tbody td:nth-child(3){border-right:1px solid #EFE3F5;border-radius:0 18px 18px 0;white-space:nowrap}
html[data-surface=shop] .ledger-icon{width:28px;height:28px;margin-right:6px}
html[data-surface=shop] .ledger-icon:before{width:16px;height:16px}
}
@media(max-width:760px){
html[data-surface=shop] .ledger-table{table-layout:fixed;width:100%}
html[data-surface=shop] .ledger-table th:nth-child(1),html[data-surface=shop] .ledger-table td:nth-child(1){width:38%}
html[data-surface=shop] .ledger-table th:nth-child(2),html[data-surface=shop] .ledger-table td:nth-child(2){width:34%}
html[data-surface=shop] .ledger-table th:nth-child(3),html[data-surface=shop] .ledger-table td:nth-child(3){width:28%}
html[data-surface=shop] .ledger-table td{overflow-wrap:anywhere}
}
@media(max-width:760px){
html[data-surface=shop] .ledger-panel .table-wrap{overflow:visible}
html[data-surface=shop] .ledger-table{min-width:0;max-width:100%}
}

/* ===== DESIGN-3 phase 3.1: Wallet page hero (room scene + Hope), pastel balance card, phone order, popup button text ===== */
html[data-surface=shop] .wallet-page>.page-title{position:relative;isolation:isolate;overflow:hidden;width:100vw;max-width:none;margin:0 calc(50% - 50vw) 28px;min-height:clamp(190px,17vw,250px);padding:24px max(32px,calc(50vw - 600px));display:flex;align-items:center;justify-content:flex-start;background:#F6ECF1 url(/assets/pastel/rooms/room-desktop.webp) center 35%/cover no-repeat;border:0;border-radius:0}
html[data-surface=shop] .wallet-page>.page-title>div:first-child{position:relative;z-index:1;max-width:min(560px,58%);padding:10px 22px 12px 14px;border-radius:26px;background:radial-gradient(120% 140% at 30% 40%,rgba(255,249,243,.86),rgba(255,249,243,.55) 70%,transparent)}
html[data-surface=shop] .wallet-page .page-title .eyebrow{display:none}
html[data-surface=shop] .wallet-page .page-title h1{display:flex;align-items:center;gap:.28em;font-size:clamp(34px,4.6vw,60px);line-height:1.1}
html[data-surface=shop] .wallet-page .page-title h1:before{content:'';flex:none;width:.8em;height:.8em;background:var(--ahop-primary);-webkit-mask:url(/assets/pastel/icons/ui/wallet.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/wallet.svg) center/contain no-repeat}
html[data-surface=shop] .wallet-page .page-title p{font-size:clamp(16px,1.5vw,20px);color:var(--ahop-muted);margin:6px 0 0}
html[data-surface=shop] .wallet-hero-art{position:absolute;right:max(24px,calc(50vw - 540px));bottom:0;z-index:0;display:flex;align-items:flex-end;height:min(112%,290px);pointer-events:none}
html[data-surface=shop] .wallet-hero-art img{display:block;width:auto;max-width:none;pointer-events:none;filter:drop-shadow(0 12px 18px rgba(70,20,67,.16))}
html[data-surface=shop] .wallet-mascot{height:100%;object-fit:contain}
html[data-surface=shop] .wallet-prop{height:46%;object-fit:contain;margin-right:-14px}
html[data-surface=shop] .wallet-prop-wallet{height:52%}
/* balance card: pastel plate with the wallet picture from the pack (decorative) */
html[data-surface=shop] .balance-card{position:relative;overflow:hidden;background:linear-gradient(135deg,#F3E8FA 0%,#E3CDF2 55%,#D6B7EC 100%);border:1px solid var(--ahop-lavender-strong);border-radius:28px;box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .balance-card .eyebrow{font-size:16px;font-weight:700;letter-spacing:0;color:var(--ahop-primary-hover)}
html[data-surface=shop] .balance-card h2{font-size:clamp(36px,4vw,52px);color:var(--ahop-primary);line-height:1.1;margin:6px 0}
html[data-surface=shop] .balance-card .wallet-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--ahop-primary);box-shadow:0 6px 14px rgba(100,42,124,.28)}
html[data-surface=shop] .balance-card .wallet-mark:before{content:'';width:24px;height:24px;background:#fff;-webkit-mask:url(/assets/pastel/icons/ui/wallet.svg) center/contain no-repeat;mask:url(/assets/pastel/icons/ui/wallet.svg) center/contain no-repeat}
html[data-surface=shop] .balance-card .balance-footer{border-top:1px solid rgba(120,60,145,.28);color:var(--ahop-primary-hover);font-weight:600;letter-spacing:0}
html[data-surface=shop] .wallet-card-art{position:absolute;right:18px;bottom:44px;width:clamp(96px,11vw,140px);height:auto;pointer-events:none;filter:drop-shadow(0 8px 12px rgba(70,20,67,.18))}
/* failed popup: the two buttons share one text size */
html[data-surface=shop] dialog .pay-actions .small,html[data-surface=shop] dialog .pay-actions a.button{font-size:16px;font-weight:700;line-height:1.2}
@media(max-width:860px){
html[data-surface=shop] .wallet-page>.page-title{min-height:150px;padding:18px 20px;background-image:url(/assets/pastel/rooms/room-mobile.webp);background-position:center bottom}
html[data-surface=shop] .wallet-page>.page-title>div:first-child{max-width:62%}
html[data-surface=shop] .wallet-hero-art{right:8px;height:min(108%,176px)}
}
@media(max-width:760px){
html[data-surface=shop] .wallet-page .page-title h1{font-size:26px;white-space:nowrap}
html[data-surface=shop] .wallet-page>.page-title>div:first-child{max-width:62%;padding:8px 10px 10px 8px}
html[data-surface=shop] .wallet-page .page-title p{font-size:14px}
/* order on phones: balance -> top-up form -> top-up history -> money history (desktop keeps its two columns) */
html[data-surface=shop] .wallet-layout{display:flex;flex-direction:column;gap:16px}
html[data-surface=shop] .wallet-layout>div:first-child{display:contents}
html[data-surface=shop] .wallet-layout .balance-card{order:1}
html[data-surface=shop] .wallet-layout .deposit-panel{order:2}
html[data-surface=shop] .wallet-layout .ledger-panel{order:3}
html[data-surface=shop] .wallet-balance-line{display:none}
html[data-surface=shop] .wallet-card-art{width:88px;bottom:46px}
}
@media(max-width:760px){
html[data-surface=shop] .wallet-layout>*{align-self:stretch;width:100%;max-width:none;min-width:0}
html[data-surface=shop] .wallet-prop{display:none}
}
@media(max-width:760px){
html[data-surface=shop] .wallet-layout .balance-card,html[data-surface=shop] .wallet-layout .ledger-panel,html[data-surface=shop] .wallet-layout .deposit-panel{align-self:stretch;width:100%;max-width:none;min-width:0}
html[data-surface=shop] .wallet-hero-art img.wallet-prop{display:none}
}

/* ===== DESIGN-3 phase 3.2: Thai pastel slip picker (label around a visually hidden, still focusable file input) ===== */
html[data-surface=shop] .slip-field{display:grid;gap:8px;margin:12px 0 4px}
html[data-surface=shop] .slip-field-label{font-weight:600}
html[data-surface=shop] .slip-pick-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
html[data-surface=shop] .slip-pick{position:relative;display:inline-flex;margin:0;cursor:pointer}
html[data-surface=shop] .slip-input{position:absolute;width:1px;height:1px;margin:-1px;padding:0;border:0;opacity:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html[data-surface=shop] .slip-pick-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;border-radius:999px;border:2px solid var(--ahop-lavender-strong);background:linear-gradient(180deg,#F6EEFB,#EBDDF4);color:var(--ahop-primary);font-size:16px;font-weight:700;line-height:1.2;box-shadow:var(--ahop-shadow);transition:background .18s,border-color .18s}
html[data-surface=shop] .slip-pick:hover .slip-pick-btn{border-color:var(--ahop-primary);background:linear-gradient(180deg,#EFE3F7,#E2CFEF)}
html[data-surface=shop] .slip-pick:focus-within .slip-pick-btn{outline:3px solid var(--ahop-primary);outline-offset:3px}
html[data-surface=shop] .slip-pick-name{flex:1 1 140px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--ahop-muted)}
html[data-surface=shop] .slip-actions .small{font-size:15px;font-weight:700}

/* ===== DESIGN-3 phase 4: login/register modal, account page, contact + policy pages, 404, maintenance (pictures from /assets/pastel, all decorative and aria-hidden) ===== */
html[data-surface=shop] dialog .auth-card{max-width:420px;margin:0 auto;text-align:center}
html[data-surface=shop] dialog .auth-card h2{margin:8px 0 4px}
html[data-surface=shop] dialog .auth-card form{display:grid;gap:12px;text-align:left;margin-top:14px}
html[data-surface=shop] dialog .auth-card label{display:grid;gap:6px;font-weight:700}
html[data-surface=shop] .auth-art{position:relative;display:flex;justify-content:center;align-items:flex-end;height:132px;margin:0 auto 6px;pointer-events:none}
html[data-surface=shop] .auth-art .auth-mascot{width:auto;height:132px;max-width:none;object-fit:contain}
html[data-surface=shop] .auth-art .auth-prop{position:absolute;width:64px;height:64px;left:calc(50% + 34px);bottom:-4px;z-index:1;transform:rotate(12deg)}
html[data-surface=shop] dialog .auth-tabs{display:flex;gap:4px;padding:4px;border-radius:999px;background:var(--ahop-lavender);border:1px solid var(--ahop-lavender-strong)}
html[data-surface=shop] dialog .auth-tab{flex:1;min-height:44px;border-radius:999px;border:0;background:transparent;color:var(--ahop-ink);font-weight:700;box-shadow:none;cursor:pointer}
html[data-surface=shop] dialog .auth-tab.active{background:var(--ahop-primary);color:#fff}
html[data-surface=shop] dialog .auth-tab:not(.active):hover{background:#fff}
html[data-surface=shop] dialog .auth-legal{margin:14px 0 0;font-size:14px;color:var(--ahop-muted)}
html[data-surface=shop] dialog .auth-legal a{color:var(--ahop-primary);font-weight:700}
html[data-surface=shop] dialog .auth-card .error:empty{display:none}
html[data-surface=shop] dialog .auth-card .error{margin:0;padding:8px 14px;border-radius:14px;background:#FDECEC;color:var(--ahop-danger)}
html[data-surface=shop] .sign-in-panel{text-align:center;display:grid;justify-items:center;gap:10px;padding:24px 20px}
html[data-surface=shop] .sign-in-panel h2,html[data-surface=shop] .sign-in-panel p{margin:0}
html[data-surface=shop] .sign-in-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:6px}
html[data-surface=shop] .account-page .account-card{position:relative;overflow:hidden;display:grid;gap:14px;padding:22px}
html[data-surface=shop] .account-page .account-heading{min-width:0}
html[data-surface=shop] .account-page .account-heading h2,html[data-surface=shop] .account-page .account-heading .muted{overflow-wrap:anywhere}
html[data-surface=shop] .account-page .account-card .row{display:flex;justify-content:space-between;gap:12px;padding:12px 16px;border-radius:16px;background:var(--ahop-lavender)}
html[data-surface=shop] .account-page .account-card>button{justify-self:start}
html[data-surface=shop] .info-heading{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:16px;align-items:start}
html[data-surface=shop] .info-heading>*{grid-column:1;min-width:0}
html[data-surface=shop] .info-heading>.info-mascot,html[data-surface=shop] .info-heading>.info-prop{grid-column:2;grid-row:1 / span 4;align-self:end;justify-self:end;width:auto;pointer-events:none}
html[data-surface=shop] .info-heading>.info-mascot{height:190px}
html[data-surface=shop] .info-heading>.info-prop{height:96px}
html[data-surface=shop] .contact-placeholder{text-align:center;display:grid;justify-items:center;gap:6px}
html[data-surface=shop] .contact-placeholder .contact-prop{width:72px;height:72px}
html[data-surface=shop] .contact-placeholder h3,html[data-surface=shop] .contact-placeholder p{margin:0}
html[data-surface=shop] .notfound-page{display:grid;grid-template-columns:auto minmax(0,1fr);gap:28px;align-items:center;max-width:760px;margin:24px auto;padding:28px;border-radius:28px;background:var(--ahop-surface);border:1px solid var(--ahop-border);box-shadow:var(--ahop-shadow)}
html[data-surface=shop] .notfound-mascot{display:block;width:auto;height:260px}
html[data-surface=shop] .notfound-copy{display:grid;gap:10px;justify-items:start}
html[data-surface=shop] .notfound-copy h1,html[data-surface=shop] .notfound-copy p{margin:0}
html[data-surface=shop] .notfound-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:8px}
@media(max-width:760px){
 html[data-surface=shop] .auth-art,html[data-surface=shop] .auth-art .auth-mascot{height:104px}
 html[data-surface=shop] .auth-art .auth-prop{width:52px;height:52px;left:calc(50% + 28px)}
 html[data-surface=shop] .info-heading>.info-mascot{height:128px}
 html[data-surface=shop] .info-heading>.info-prop{height:72px}
 html[data-surface=shop] .notfound-page{grid-template-columns:1fr;justify-items:center;text-align:center;padding:20px;margin:12px auto}
 html[data-surface=shop] .notfound-mascot{height:170px}
 html[data-surface=shop] .notfound-copy{justify-items:center}
 html[data-surface=shop] .notfound-actions{justify-content:center}
}
@media(max-width:760px){
 /* the page-level link row (about / contact / terms ...) is a <nav> too: it must not take the fixed bottom tab bar rules */
 html[data-surface=shop] nav.info-nav{position:static;display:flex;flex-wrap:wrap;gap:8px;height:auto;padding:0;background:none;border:0;box-shadow:none;z-index:auto}
 html[data-surface=shop] nav.info-nav a{display:inline-flex;flex-direction:row;min-height:40px;padding:8px 14px;font-size:14px;border:1px solid var(--ahop-border-control);border-radius:999px;white-space:nowrap}
}
/* phase 4.1: the login/register modal fits a short desktop window (768 and 700 tall) with the submit button in view, no scrolling */
@media(min-width:761px) and (max-height:820px){
 html[data-surface=shop] dialog .auth-card{max-width:400px}
 html[data-surface=shop] .auth-art,html[data-surface=shop] .auth-art .auth-mascot{height:84px}
 html[data-surface=shop] .auth-art{margin-bottom:2px}
 html[data-surface=shop] .auth-art .auth-prop{width:44px;height:44px;left:calc(50% + 24px)}
 html[data-surface=shop] dialog .auth-card h2{margin:4px 0 2px;font-size:22px}
 html[data-surface=shop] dialog .auth-card>p.muted{margin:0 0 4px}
 html[data-surface=shop] dialog .auth-card form{gap:8px;margin-top:8px}
 html[data-surface=shop] dialog .auth-card label{gap:4px}
 html[data-surface=shop] dialog .auth-tab{min-height:40px}
 html[data-surface=shop] dialog .auth-legal{margin-top:8px}
}
@media(min-width:761px) and (max-height:700px){
 html[data-surface=shop] .auth-art,html[data-surface=shop] .auth-art .auth-mascot{height:64px}
 html[data-surface=shop] .auth-art .auth-prop{width:36px;height:36px;left:calc(50% + 20px)}
}
/* 404 card: centred in the window height on desktop */
@media(min-width:761px){
 html[data-surface=shop] .notfound-page{max-width:880px;margin:clamp(16px,9vh,96px) auto;padding:36px 40px}
 html[data-surface=shop] .notfound-mascot{height:300px}
 html[data-surface=shop] .notfound-copy h1{font-size:clamp(32px,3.4vw,44px)}
}
@media(min-width:761px) and (max-height:820px){
 html[data-surface=shop] dialog:has(.auth-card){padding:14px 24px 16px}
 html[data-surface=shop] dialog .auth-card input{min-height:42px;padding-top:6px;padding-bottom:6px}
 html[data-surface=shop] dialog .auth-card .primary{min-height:44px}
}

/* ===== DESIGN-3 phase 4.2: sign-in / sign-up page (#login), after 09_login. The door scene is one decorative picture used as a background (no inline style). Every rule starts with the shop surface selector. ===== */
html[data-surface=shop] main:has(.login-page){max-width:none;padding:0}
html[data-surface=shop] .login-page{display:block;margin:0;padding:0}
html[data-surface=shop] .login-stage{position:relative;isolation:isolate;max-width:1536px;margin-inline:auto;min-height:clamp(600px,60vw,920px);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;padding:56px max(32px,calc((100% - 1216px)/2)) 40px}
html[data-surface=shop] .login-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:url(/assets/pastel/scenes/login-scene.webp) left 40%/cover no-repeat}
html[data-surface=shop] .login-back{position:absolute;left:max(32px,calc((100% - 1216px)/2));top:14px;display:inline-flex;align-items:center;min-height:44px;padding:8px 18px;border-radius:999px;background:rgba(255,255,255,.92);border:1px solid var(--ahop-border-control);color:var(--ahop-ink);font-weight:700;text-decoration:none;z-index:2}
html[data-surface=shop] .login-card{position:relative;grid-column:2;display:grid;gap:12px;width:100%;max-width:520px;justify-self:end;margin-top:34px;padding:56px 40px 24px;border-radius:40px;background:rgba(255,251,247,.95);border:3px solid #F1E3D6;box-shadow:var(--ahop-shadow-lift),inset 0 0 0 4px #fff;min-width:0}
html[data-surface=shop] .login-paw{position:absolute;left:50%;top:-42px;transform:translateX(-50%);width:84px;height:84px;padding:6px;border-radius:50%;background:var(--ahop-canvas)}
html[data-surface=shop] .login-card h1{margin:0;text-align:center;font-size:clamp(30px,3.2vw,44px);line-height:1.15}
html[data-surface=shop] .login-sub{margin:0 0 4px;text-align:center;font-size:22px;font-weight:700;color:var(--ahop-primary)}
html[data-surface=shop] .login-card form{display:grid;gap:12px;margin:0}
html[data-surface=shop] .login-card label{display:grid;gap:6px;font-weight:700;font-size:17px}
html[data-surface=shop] .login-field{position:relative;display:block}
html[data-surface=shop] #authForm .login-field input{width:100%;min-height:54px;padding-left:52px;padding-right:52px;font-weight:400}
html[data-surface=shop] .login-ico{position:absolute;left:18px;top:50%;width:22px;height:22px;transform:translateY(-50%);color:var(--ahop-primary);pointer-events:none}
html[data-surface=shop] .login-card .login-eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;min-height:40px;padding:0;display:grid;place-items:center;border:0;border-radius:50%;background:transparent;color:var(--ahop-primary);box-shadow:none;cursor:pointer}
html[data-surface=shop] .login-card .login-eye svg{width:22px;height:22px}
html[data-surface=shop] .login-card .login-eye[aria-pressed=true]{background:var(--ahop-lavender)}
html[data-surface=shop] .login-card .error:empty{display:none}
html[data-surface=shop] .login-card .error{margin:0;padding:8px 14px;border-radius:14px;background:#FDECEC;color:var(--ahop-danger)}
html[data-surface=shop] .login-card .login-submit{min-height:58px;font-size:20px}
html[data-surface=shop] .login-rule{border:0;border-top:1px solid var(--ahop-border);margin:4px 0}
html[data-surface=shop] .login-switch{margin:0;text-align:center;font-weight:700}
html[data-surface=shop] .login-card .login-link{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;border:0;background:none;box-shadow:none;color:var(--ahop-primary);font:inherit;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
html[data-surface=shop] .login-bar{display:flex;justify-content:flex-end;padding:14px max(20px,calc((100% - 1216px)/2));background:var(--ahop-lavender)}
html[data-surface=shop] .login-bar-links{display:flex;align-items:center;position:static;height:auto;padding:0;background:none;border:0;box-shadow:none}
html[data-surface=shop] .login-bar-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 20px;color:var(--ahop-ink);font-weight:700}
html[data-surface=shop] .login-bar-links a+a{border-left:1px solid var(--ahop-border-control)}
html[data-surface=shop] main#app:focus{outline:none}
@media(min-width:761px) and (max-height:820px){
  html[data-surface=shop] .login-stage{align-items:start;padding-top:32px;padding-bottom:24px}
  html[data-surface=shop] .login-card{margin-top:24px;padding:44px 32px 8px;gap:6px}
 html[data-surface=shop] .login-card form{gap:6px}
 html[data-surface=shop] .login-card label{gap:3px;font-size:16px}
 html[data-surface=shop] #authForm .login-field input{min-height:44px}
 html[data-surface=shop] .login-card .login-submit{min-height:48px;font-size:18px}
 html[data-surface=shop] .login-card h1{font-size:34px}
 html[data-surface=shop] .login-sub{font-size:18px;margin:0}
 html[data-surface=shop] .login-rule{margin:0}
 html[data-surface=shop] .login-card .login-link{min-height:40px}
 html[data-surface=shop] .login-paw{top:-34px;width:68px;height:68px}
}
@media(max-width:760px){
 html[data-surface=shop] .login-stage{display:block;min-height:0;padding:176px 16px 8px}
 html[data-surface=shop] .login-stage:before{bottom:auto;height:200px;background:url(/assets/pastel/scenes/login-scene-768.webp) left 30%/cover no-repeat}
 html[data-surface=shop] .login-back{left:16px;top:10px}
 html[data-surface=shop] .login-card{max-width:none;margin-top:0;padding:46px 18px 12px;border-radius:30px;gap:8px}
 html[data-surface=shop] .login-card form{gap:8px}
 html[data-surface=shop] .login-card label{gap:4px;font-size:16px}
 html[data-surface=shop] #authForm .login-field input{min-height:48px}
 html[data-surface=shop] .login-card .login-submit{min-height:52px;font-size:18px}
 html[data-surface=shop] .login-paw{top:-34px;width:68px;height:68px}
 html[data-surface=shop] .login-card h1{font-size:28px}
 html[data-surface=shop] .login-sub{font-size:18px;margin:0}
 html[data-surface=shop] .login-bar{margin-top:12px;padding-inline:16px}
 html[data-surface=shop] .login-bar-links a{padding:0 10px;font-size:13px;white-space:nowrap}
}
/* high-density phones (2 device pixels per CSS pixel or more) get the 1536 picture; normal screens keep the 768 one */
@media(max-width:760px) and (min-resolution:2dppx){
 html[data-surface=shop] .login-stage:before{background-image:url(/assets/pastel/scenes/login-scene.webp)}
}

/* ===== phase 4.3: Safari-on-iPhone header fix =====
   The sound settings (volume slider + test button) used to sit inside the header row as soon as the bell was pressed, pushing the logo and the
   name/balance button off the right edge and making the whole page wider than the phone. They are now a small floating card under the bell:
   hidden until the bell is pressed (the page script sets hidden), out of the header's flow, never wider than the window. */
html[data-surface=shop] header{background:#FFF9F3}
html[data-surface=shop] .header-inner{position:relative}
html[data-surface=shop] .account-button{flex:0 1 auto;min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html[data-surface=shop] .notification-controls{position:absolute;top:calc(100% + 6px);right:16px;z-index:70;display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:12px;width:min(320px,calc(100vw - 32px));max-width:calc(100vw - 32px);padding:12px 16px;background:var(--ahop-surface);border:1px solid var(--ahop-lavender-strong);border-radius:20px;box-shadow:var(--ahop-shadow-lift)}
html[data-surface=shop] .notification-controls[hidden]{display:none}
html[data-surface=shop] .notification-controls label{display:flex;align-items:center;gap:8px;flex:1 1 auto;min-width:0;margin:0;font-size:14px;white-space:nowrap}
html[data-surface=shop] .notification-controls input{flex:1 1 auto;width:auto;min-width:60px}
html[data-surface=shop] .notification-controls .small{flex:none;white-space:nowrap}
@media(min-width:761px){html[data-surface=shop] .notification-controls{right:32px}}
/* Wallet amount presets: two by two on narrow screens */
@media(max-width:560px){html[data-surface=shop] #depositForm .amount-presets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-surface=shop] #depositForm .amount-presets button{width:100%;min-width:0;flex:none}}

/* ===== DESIGN-3 phase 4.4 (A): logo A, transparent background, on light surfaces only (cream header, lavender footer): no dark box behind it ===== */
html[data-surface=shop] header .brand .brand-logo{display:block;height:44px;width:auto;mix-blend-mode:normal}
html[data-surface=shop] .footer-brand img{display:block;height:56px;width:auto;mix-blend-mode:normal}
@media(max-width:760px){html[data-surface=shop] header .brand .brand-logo{height:34px}html[data-surface=shop] .footer-brand img{height:44px}}

/* ===== DESIGN-3 phase 4.4 (C): shop closed for maintenance: scene left (one background picture), text card right. Only drawn while the shop is really closed. ===== */
html[data-surface=shop] main:has(.maintenance-page){max-width:none;padding:0}
html[data-surface=shop] .maintenance-stage{position:relative;isolation:isolate;max-width:1536px;margin-inline:auto;min-height:clamp(560px,56vw,860px);display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;padding:40px max(32px,calc((100% - 1216px)/2))}
html[data-surface=shop] .maintenance-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:url(/assets/pastel/scenes/maintenance-scene.webp) left 40%/cover no-repeat}
html[data-surface=shop] .maintenance-card{grid-column:2;width:100%;max-width:520px;justify-self:end;display:grid;gap:14px;padding:32px 36px;border-radius:36px;background:rgba(255,251,247,.95);border:3px solid #F1E3D6;box-shadow:var(--ahop-shadow-lift),inset 0 0 0 4px #fff}
html[data-surface=shop] .maintenance-card .section-head{display:block;margin:0}
html[data-surface=shop] .maintenance-card h1{margin:4px 0 8px}
html[data-surface=shop] .maintenance-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:760px){
 html[data-surface=shop] .maintenance-stage{display:block;min-height:0;padding:196px 16px 20px}
 html[data-surface=shop] .maintenance-stage:before{bottom:auto;height:230px;background:url(/assets/pastel/scenes/maintenance-scene-768.webp) left 40%/cover no-repeat}
 html[data-surface=shop] .maintenance-card{max-width:none;padding:22px 18px;border-radius:28px}
}

/* ===== DESIGN-3 phase 4.4 (D): account and contact pages get a header picture (764x508, never wider than its real size, never stretched; decorative) ===== */
html[data-surface=shop] .page-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,420px);gap:20px;align-items:center;margin-bottom:8px}
html[data-surface=shop] .page-hero-copy{min-width:0}
html[data-surface=shop] .page-hero-img{display:block;width:100%;max-width:764px;height:auto;aspect-ratio:764 / 508;border-radius:28px;justify-self:end;pointer-events:none}
html[data-surface=shop] .info-heading>.info-scene{grid-column:2;grid-row:1 / span 4;align-self:center;justify-self:end;width:min(100%,420px);max-width:764px;height:auto;aspect-ratio:764 / 508;border-radius:28px;pointer-events:none}
@media(max-width:760px){
 html[data-surface=shop] .page-hero{grid-template-columns:minmax(0,1fr);gap:8px}
 html[data-surface=shop] .page-hero-img{order:-1;max-width:100%;justify-self:center}
 html[data-surface=shop] .info-heading>.info-scene{grid-column:1;grid-row:auto;order:-1;justify-self:center;width:100%;margin-bottom:10px}
}

/* ===== DESIGN-3 phase 4.6 / 4.7: home hero on phones, after 11_mobile (phones only; desktop is untouched) =====
   The hero is ONE scene picture used as its background (home-scene-768.webp, home-scene.webp on high-density screens), Hope sits on the right of the
   picture, the text on the left (about 55% wide) on a cream fade. The separate mascot (.hero-stage) is hidden here. The hero reaches 56px under the rounded top of the games card (negative bottom margin) and its last 56px are masked to transparent, so it dissolves into whatever the page shows there (card corners, side gutters): no hard line, nothing to colour-match. The search is a one-row capsule.
   The badge and the "starting from" tag are hidden (the price is still on every game card). .hero-copy uses display:contents so its children join the grid. */
@media(max-width:760px){
 html[data-surface=shop] .home-page>.home-hero{display:grid;grid-template-columns:minmax(0,55%) minmax(0,1fr);grid-template-rows:auto 1fr auto;column-gap:0;row-gap:0;align-items:start;min-height:0;padding:16px 16px 68px;margin-bottom:-56px;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 56px),transparent 100%);background:linear-gradient(90deg,rgba(253,246,244,.94) 0,rgba(253,246,244,.85) 38%,rgba(253,246,244,0) 66%),url(/assets/pastel/scenes/home-scene-768.webp) right -16px bottom/auto 100% no-repeat #FDF6F4}
 html[data-surface=shop] .home-page>.home-hero .hero-copy{display:contents}
 html[data-surface=shop] .home-page>.home-hero .hero-badge,html[data-surface=shop] .home-page>.home-hero .price-tag,html[data-surface=shop] .home-page>.home-hero .hero-stage{display:none}
 html[data-surface=shop] .home-page>.home-hero h1{grid-column:1;grid-row:1;align-self:end;margin:0;font-size:clamp(28px,8vw,36px);line-height:1.1}
 html[data-surface=shop] .home-page>.home-hero .hero-line2{display:block;margin-top:6px;font-size:.52em;line-height:1.25}
 html[data-surface=shop] .home-page>.home-hero .hero-lead{grid-column:1;grid-row:2;align-self:start;margin:8px 0 0;max-width:46vw;padding:0;background:none;font-size:14.5px;line-height:1.45;text-wrap:balance}
 html[data-surface=shop] .home-page>.home-hero .hero-search{grid-column:1 / -1;grid-row:3;display:flex;flex-direction:row;align-items:center;gap:6px;max-width:none;height:48px;margin-top:12px;padding:3px 3px 3px 14px;background:var(--ahop-surface);border:1px solid var(--ahop-border-control);border-radius:999px;box-shadow:var(--ahop-shadow)}
 html[data-surface=shop] .home-page>.home-hero .home-search{flex:1;min-width:0;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 html[data-surface=shop] .home-page>.home-hero .hero-search .home-search input[type=search]{padding:0 2px;padding-inline:2px;font-size:13.5px}
 html[data-surface=shop] .home-page>.home-hero .hero-cta{flex:none;width:auto;height:40px;min-height:0;padding:0 12px;font-size:14px}
 html[data-surface=shop] .home-page .home-featured .section-head{margin-bottom:6px}
 html[data-surface=shop] .home-page .home-featured .feat-track{padding-top:16px}
}
/* high-density phones: the 1536 scene */
@media(max-width:760px) and (min-resolution:2dppx){
 html[data-surface=shop] .home-page>.home-hero{background:linear-gradient(90deg,rgba(253,246,244,.94) 0,rgba(253,246,244,.85) 38%,rgba(253,246,244,0) 66%),url(/assets/pastel/scenes/home-scene.webp) right -16px bottom/auto 100% no-repeat #FDF6F4}
}

/* ===== hotfix: announcement strip (.home-marquee) shows the message ONCE, on one compact card =====
   neon.js prints the text in two lists (one hidden from screen readers) and repeats it inside the visible list so a scrolling strip would loop.
   The strip does not scroll (legacy "DESIGN round 1"), so everything except the first copy is hidden here; the first copy stays in the page for screen readers. */
html[data-surface=shop] .home-marquee{display:block;padding:8px 14px;border:1px solid var(--ahop-gold);border-radius:14px}
html[data-surface=shop] .home-marquee .marquee-toggle{display:none}
html[data-surface=shop] .home-marquee .marquee-view,html[data-surface=shop] .home-marquee .fx-marquee{display:block;width:100%;overflow:visible}
html[data-surface=shop] .home-marquee .m-set{display:block;margin:0;padding:0}
html[data-surface=shop] .home-marquee .m-set li{display:block;white-space:normal;overflow-wrap:anywhere;font-size:14.5px;line-height:1.5;font-weight:700;color:var(--ahop-warning)}
html[data-surface=shop] .home-marquee .m-set[aria-hidden=true],html[data-surface=shop] .home-marquee .m-set li[aria-hidden=true]{display:none}

/* ===== DESIGN-3 phase 4.9: home hero on desktop (>= 761px), after 01_home. Phones keep their own rules (phase 4.6 - 4.8). =====
   The hero is ONE scene picture (home-scene.webp, 1536x1024) used as its background, anchored top right at 112% of the hero height with the picture's own 3:2 ratio
   (never stretched), so Hope and the whole arcade stay on the right; a short fade hides the picture's left edge. ("cover" would crop a 3:1 box to its middle third and cut Hope.) The left half has a cream fade so the headline reads. The old cut-out mascot (.hero-stage), the room picture and the corner plants are not
   used here. The visible hero is clamp(420px,30vw,560px) high; its last 56px are masked to transparent and sit under the games card, so the bottom edge
   dissolves into the page (same idea as on phones). The badge and the "starting from" tag are hidden (the price stays on every game card). */
@media(min-width:761px){
 html[data-surface=shop] .home-page>.home-hero{--hero-h:calc(clamp(420px,30vw,560px) + 56px);--hero-scene-h:calc(var(--hero-h)*1.12);display:grid;grid-template-columns:minmax(0,1fr);align-items:center;min-height:var(--hero-h);padding:32px max(32px,calc(50vw - 600px)) 56px;margin-bottom:-56px;-webkit-mask-image:linear-gradient(180deg,#000 calc(100% - 56px),transparent 100%);mask-image:linear-gradient(180deg,#000 calc(100% - 56px),transparent 100%);background:linear-gradient(90deg,rgba(253,246,244,.94) 0,rgba(253,246,244,.85) 38%,rgba(253,246,244,0) 66%),linear-gradient(90deg,#FDF6F4 0,rgba(253,246,244,0) 30%) right top/calc(var(--hero-scene-h)*1.5) var(--hero-scene-h) no-repeat,url(/assets/pastel/scenes/home-scene.webp) right top/calc(var(--hero-scene-h)*1.5) var(--hero-scene-h) no-repeat #FDF6F4}
 html[data-surface=shop] .home-page>.home-hero .scene-deco,html[data-surface=shop] .home-page>.home-hero .hero-stage,html[data-surface=shop] .home-page>.home-hero .hero-badge,html[data-surface=shop] .home-page>.home-hero .price-tag{display:none}
 html[data-surface=shop] .home-page>.home-hero .hero-copy{max-width:min(48vw,640px);padding-bottom:0;gap:14px}
 html[data-surface=shop] .home-page>.home-hero h1{font-size:clamp(40px,4.6vw,68px);line-height:1.08}
 html[data-surface=shop] .home-page>.home-hero .hero-line2{display:block;margin-top:8px;font-size:.5em;line-height:1.25}
 html[data-surface=shop] .home-page>.home-hero .hero-lead{max-width:none;font-size:clamp(16px,1.3vw,19px)}
 html[data-surface=shop] .home-page>.home-hero .hero-search{display:flex;flex-direction:row;align-items:center;gap:6px;width:100%;max-width:560px;height:52px;margin-top:6px;padding:4px 4px 4px 18px;background:var(--ahop-surface);border:1px solid var(--ahop-border-control);border-radius:999px;box-shadow:var(--ahop-shadow)}
 html[data-surface=shop] .home-page>.home-hero .home-search{flex:1;min-width:0;height:100%;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
 html[data-surface=shop] .home-page>.home-hero .hero-search .home-search input[type=search]{padding:0 2px;padding-inline:2px;font-size:16px}
 html[data-surface=shop] .home-page>.home-hero .hero-cta{flex:none;width:auto;height:44px;min-height:0;padding:0 22px;font-size:16px}
}
