/* FAH Collection — the customer shop, its product choices and the path back to a purchase. */
body.night-store {
  color-scheme:dark; --bg:#151318; --surface:#1d1a22; --surface-2:#25212d; --fg:#f5f1f8; --fg-2:#bfb7c6;
  --line:#38323f; --line-strong:#53495e; --accent:#d3b9ee; --accent-fg:#24192f; --accent-soft:#30283a; --brass:var(--accent);
  --ok:#bbd6aa; --ok-soft:#253128; --warn:#f0cc91; --warn-soft:#382c1e; --err:#f5afae; --err-soft:#392427;
  --primary-hover:#e2cef6; --shop-width:1232px;
  background:var(--bg); color:var(--fg); font-family:"Sukhumvit Set","Noto Sans Thai",Thonburi,-apple-system,system-ui,sans-serif;
}
.night-store .topbar { min-height:61px; padding:max(7px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) 7px max(16px,env(safe-area-inset-left)); gap:12px; background:var(--bg); border-color:var(--line); }
.night-store :is(.signin-link,.account-menu>summary) { min-height:44px; border-radius:22px; gap:7px; padding:7px 14px; background:transparent; border-color:var(--line-strong); color:var(--fg); box-shadow:none; }
.night-store .topnav a.on { text-decoration-color:var(--accent); }.night-store .topnav a:not(.on) { color:var(--fg-2); }
.night-store :focus-visible { outline:2px solid var(--accent); outline-offset:3px; }
.night-store .tabbar { min-height:calc(63px + env(safe-area-inset-bottom)); padding-inline:max(4px,env(safe-area-inset-left)) max(4px,env(safe-area-inset-right)); border-color:var(--line); background:#18171b; }
.night-store .tabbar a { position:relative; min-width:0; min-height:52px; text-align:center; overflow-wrap:anywhere; font-size:clamp(10px,2.5vw,12px); }
.night-store .tabbar a.on { color:var(--accent); }.night-store .tabbar a.on::before { content:""; position:absolute; top:-4px; width:25px; height:2px; background:var(--accent); }
.night-store main.catalog-main,.night-store main.product-main,.night-store .store-footer { width:100%; max-width:var(--shop-width); margin-inline:auto; padding-inline:max(16px,env(safe-area-inset-left)) max(16px,env(safe-area-inset-right)); }
.night-store main.catalog-main { padding-block:16px 26px; }
.night-store .store-footer { padding-block:8px 12px; gap:6px; --install-pill:#35273e; --install-ink:#e1c4f5; --install-line:#75598c; }
.night-store .footer-payments img,.night-store .payment-list .pay-logo:not(.credit-logo) { border-radius:4px; background:#f6f1e9; }

/* The whole row opens a product. The shared price column keeps the catalogue easy to scan. */
.arena-library { --cover:48px; --row-pad:12px; --row-gap:12px; display:grid; grid-template-columns:minmax(0,1fr); min-width:0; margin-bottom:16px; scroll-margin-top:82px; }
.arena-library-head { display:flex; align-items:center; gap:12px; margin:2px 0 12px; }
.arena-library-head h1 { flex:none; margin:0; color:var(--fg); font-size:clamp(24px,5.8vw,34px); line-height:1.38; font-weight:650; letter-spacing:-.025em; }
.arena-library-head::after { content:""; order:1; flex:1; height:1px; background:var(--line); }
.arena-library-head>span { order:2; color:var(--fg-2); font-size:12px; line-height:1.45; }
.arena-games { margin:0; padding:0; list-style:none; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.arena-games>li { position:relative; }
.arena-games>li+li::before { content:""; position:absolute; inset:0 var(--row-pad) auto calc(var(--row-pad) + var(--cover) + var(--row-gap)); height:1px; background:var(--line); pointer-events:none; }
.arena-game { display:grid; grid-template-columns:var(--cover) minmax(0,1fr) auto; align-items:center; gap:var(--row-gap); min-height:68px; padding:9px var(--row-pad); color:var(--fg); }
.arena-games>li:first-child .arena-game { border-start-start-radius:13px; border-start-end-radius:13px; }
.arena-games>li:last-child .arena-game { border-end-start-radius:13px; border-end-end-radius:13px; }
.night-store .arena-game:focus-visible { position:relative; z-index:1; outline-offset:-2px; }
.arena-game:active { background:#ffffff0b; }
.arena-thumb { display:grid; place-items:center; width:var(--cover); height:var(--cover); border-radius:24%; background:#302a32; color:var(--accent); box-shadow:inset 0 0 0 1px #e6d3df22; }
.arena-thumb img { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
.arena-game-copy { display:grid; justify-items:start; gap:2px; min-width:0; }
.arena-game-copy>strong { font-size:clamp(16px,3.9vw,18px); line-height:1.4; font-weight:630; overflow-wrap:anywhere; }
.arena-game-end { position:relative; display:inline-flex; align-items:center; gap:7px; white-space:nowrap; }
.arena-game-end svg { width:13px; height:13px; color:#b3a7ab; }
.arena-price,.product-facts b,.plan-current-price,.purchase-summary strong { font-family:-apple-system,system-ui,sans-serif; font-variant-numeric:tabular-nums; }
.arena-price { color:var(--accent); font-size:clamp(17px,4.2vw,21px); line-height:1.3; font-weight:600; letter-spacing:-.025em; }
.arena-stock { color:#b7c5b0; display:inline-flex; gap:5px; align-items:center; font-size:12px; line-height:1.45; }
.arena-stock i { width:5px; height:5px; border-radius:50%; background:#a7c595; flex:none; }
.arena-stock.is-out { color:var(--warn); }.arena-stock.is-out i { background:var(--warn); }
.arena-empty { padding:18px; border:1px solid var(--line); border-radius:14px; background:var(--surface); }
.arena-empty p { margin:3px 0 0; color:var(--fg-2); font-size:14px; }

.arena-service { background:var(--surface); align-self:start; min-width:0; margin-top:16px; display:grid; border:1px solid var(--line); border-radius:12px; }
.arena-how,.arena-key-service { padding:10px 13px; }
.arena-how { display:flex; align-items:baseline; justify-content:space-between; flex-wrap:wrap; gap:5px 12px; scroll-margin-top:82px; }
.arena-how h2,.arena-key-service strong { margin:0; font-size:15px; line-height:1.45; font-weight:620; }
.arena-how ol { display:flex; align-items:baseline; flex-wrap:wrap; gap:5px 10px; margin:0; padding:0; list-style:none; }
.arena-how li { display:flex; align-items:center; gap:4px; font-size:12px; line-height:1.5; color:var(--fg-2); }
.arena-how li b { color:var(--accent); font:italic 15px/1 Georgia,serif; }
.arena-key-service { display:flex; align-items:center; gap:9px; min-height:48px; border-top:1px solid var(--line); border-radius:0 0 11px 11px; color:var(--fg); }
.arena-key-service>i { display:grid; place-items:center; flex:none; width:30px; height:30px; border-radius:9px; color:var(--accent); background:var(--accent-soft); }
.arena-key-service>i svg { width:16px; height:16px; }
.arena-key-service>span { display:flex; flex-wrap:wrap; align-items:baseline; gap:0 9px; }
.arena-key-service small { color:var(--fg-2); font-size:12px; line-height:1.45; }
.arena-key-service>svg { margin-inline-start:auto; width:14px; height:14px; color:var(--accent); }
.arena-caption { margin:0 0 4px; color:var(--accent); font:italic 500 14px/1.15 Georgia,"Times New Roman",serif; letter-spacing:.025em; }

/* Lilac Flow: a compact row of purchases with the catalogue artwork. */
.arena-feedback { min-width:0; padding:4px 10px 10px; scroll-margin-top:88px; border:1px solid #3d3447; border-radius:13px; background:#211d27; }
.feedback-header,.feedback-header>div { display:flex; align-items:center; gap:7px; }.feedback-header { justify-content:space-between; gap:3px; min-height:45px; }
.feedback-header h2 { margin:0; font-size:17px; line-height:1.3; font-weight:680; }.feedback-seal { display:grid; place-items:center; color:#d6b1ff; }.feedback-seal svg { width:17px; height:17px; }
.feedback-header .feedback-controls { gap:0; margin-inline-end:-5px; }
.feedback-controls button { display:grid; place-items:center; width:44px; height:44px; padding:0; border:0; border-radius:8px; background:transparent; color:#d4cbd9; cursor:pointer; }
@media (hover:hover) { .feedback-controls button:hover { color:var(--accent); background:#302538; } }
.feedback-controls svg { width:15px; height:15px; }.feedback-controls [data-rotate]>span { display:grid; place-items:center; width:25px; height:25px; border:1px solid #775c8d; border-radius:50%; background:#302538; color:#dab9f4; }.feedback-controls [data-rotate] svg { width:13px; height:13px; }
.feedback-controls [data-rotate] .play-icon,.feedback-controls .is-paused .pause-icon { display:none; }.feedback-controls [data-rotate].is-paused .play-icon { display:grid; }
.feedback-track { overflow-x:auto; overscroll-behavior-x:contain; overflow-anchor:none; padding-block:1px; scrollbar-width:thin; scrollbar-color:var(--line-strong) transparent; border-radius:9px; }
.feedback-ribbon { display:flex; gap:8px; width:100%; margin:0; padding:0; list-style:none; }
.arena-feedback.can-scroll .feedback-track { scrollbar-width:none; -webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 8px),transparent); mask-image:linear-gradient(90deg,#000 calc(100% - 8px),transparent); }
.arena-feedback.can-scroll .feedback-track::-webkit-scrollbar { display:none; }.arena-feedback .feedback-track:focus-visible { -webkit-mask-image:none; mask-image:none; outline-offset:1px; }
.feedback-card { position:relative; display:flex; flex-direction:column; justify-content:center; gap:6px; flex:0 0 min(82%,247px); min-width:0; min-height:86px; padding:8px 11px; border:1px solid #483b54; border-radius:9px; background:#2b2434; }
.feedback-identity,.feedback-summary { display:flex; align-items:center; gap:8px; min-width:0; }
.feedback-cover { position:relative; overflow:hidden; display:grid; place-items:center; flex:none; width:38px; height:38px; border:1px solid #604d71; border-radius:9px; background:#352a40; color:#d6b8ed; }
.feedback-cover>svg { width:22px; height:22px; }.feedback-cover img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#2b2434; }
.feedback-copy,.feedback-score { min-width:0; }.feedback-author,.feedback-title,.feedback-product,.feedback-summary small { display:block; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.feedback-author,.feedback-title { font:650 15px/1.35 system-ui,"Sukhumvit Set",sans-serif; color:#f7f0fa; }.feedback-product { color:#cfc5d4; font-size:12px; line-height:1.45; }
.feedback-summary { justify-content:space-between; gap:4px; border-top:1px solid #46394e; padding-top:5px; }.feedback-summary small { color:#dfd3e6; font-size:11px; line-height:1.35; }
.feedback-score { display:grid; gap:2px; }.feedback-rating { display:flex; gap:2px; align-items:center; color:#ffd34f; }.feedback-rating svg { width:13px; height:13px; fill:none; stroke:#c5a257; stroke-width:1.3; stroke-linejoin:round; }.feedback-rating .filled { fill:currentColor; stroke:currentColor; filter:drop-shadow(0 0 1px #ffc94260); }
.feedback-verified { flex:none; display:inline-flex; align-items:center; gap:3px; color:#88e6ac; font-size:11px; font-weight:650; line-height:1.4; white-space:nowrap; }.feedback-verified svg { width:14px; height:14px; }
.feedback-empty { margin:0 0 5px; font-size:12px; color:var(--fg-2); }
.feedback-share { display:flex; align-items:center; justify-content:space-between; gap:8px; margin:8px 0 0; padding:6px 2px 0; border-top:1px solid #46394e; }.feedback-share div { min-width:0; }.feedback-share strong,.feedback-share small { display:block; font-size:12px; line-height:1.5; }.feedback-share small { color:#d3c2df; overflow-wrap:anywhere; }.feedback-share button { flex:none; min-height:44px; padding:4px 10px; border:1px solid #756083; border-radius:8px; color:#f4e6ff; background:#382b42; font:inherit; font-size:13px; cursor:pointer; }
.feedback-admin-note { margin:8px 2px 0; padding-top:6px; border-top:1px solid #46394e; font-size:12px; line-height:1.5; color:var(--fg-2); }
.purchase-form .feed-email-at-checkout,.store-review-form .feed-email-at-review { display:flex; align-items:center; gap:8px; min-height:44px; margin:0; color:var(--fg-2); font-size:13px; line-height:1.45; cursor:pointer; }
.feed-email-at-checkout input,.feed-email-at-review input { flex:none; width:17px; height:17px; margin:0; }.feed-email-at-checkout bdi,.feed-email-at-review bdi { color:var(--fg); overflow-wrap:anywhere; }
/* Package and payment controls are native form elements; selection and prices come from the shop. */
.night-store main.product-main { padding-top:6px; padding-bottom:26px; }
.night-store .back-link { gap:7px; margin:0 0 4px; color:var(--fg-2); }.night-store .back-link svg { width:16px; height:16px; }
.night-store .purchase-page { gap:20px; }
.night-store .hero-banner { width:100%; max-height:none; padding:0; aspect-ratio:2.55; margin:0 0 16px; border:1px solid var(--line); border-radius:15px; background:#19171d; }
.night-store .hero-banner.is-signature { background:var(--surface-2); }
.night-store .hero-banner.is-signature img { width:100%; height:100%; object-fit:contain; transform:scale(1.15); }
.night-store .product-overview h1 { margin:0; color:var(--fg); font-size:clamp(27px,6.4vw,42px); line-height:1.34; letter-spacing:-.035em; font-weight:650; }
.product-facts { margin-top:6px; display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 13px; font-size:13px; color:var(--fg-2); }.product-facts b { font-size:20px; color:var(--accent); font-weight:600; }.product-facts .arena-stock { font-size:12px; }
.product-notes { margin-top:5px; }.product-notes summary { width:fit-content; min-height:44px; display:flex; align-items:center; gap:6px; color:var(--fg-2); font-size:13px; cursor:pointer; list-style:none; }.product-notes summary::-webkit-details-marker { display:none; }.product-notes summary::after { content:""; width:6px; height:6px; border:solid currentColor; border-width:0 1px 1px 0; transform:rotate(45deg); }.product-notes[open] summary::after { transform:rotate(225deg); }.night-store .product-description { margin:0; font-size:14px; }
.night-store .purchase-form { border-top:1px solid var(--line); padding-top:16px; }
.night-store .purchase-step { margin:0 0 19px; }.night-store .purchase-step-heading { gap:10px; margin-bottom:10px; font-size:19px; font-weight:620; }.night-store .section-number { color:var(--accent); font:italic 15px/1 Georgia,serif; }
.night-store .plan-list,.night-store .payment-list { gap:7px; }.night-store .plan { min-height:59px; padding:9px 12px; gap:11px; border-radius:9px; background:var(--surface); }
.night-store .plan:has(input:checked) { color:var(--fg); background:var(--accent-soft); border-color:var(--accent); box-shadow:inset 3px 0 var(--accent); }
.night-store .plan:focus-within { outline:2px solid var(--accent); outline-offset:2px; }.night-store .plan:focus-within:not(:has(:focus-visible)) { outline:none; }
.night-store .plan input { accent-color:var(--accent); }.night-store .plan-stock { margin:0; font-size:12px; }.night-store .plan .price { color:var(--accent); font-weight:600; }.night-store .plan.out { color:var(--fg-2); }
.night-store .sticky-bar.purchase-submit { display:flex; flex-wrap:wrap; align-items:center; gap:7px 12px; bottom:calc(63px + env(safe-area-inset-bottom)); margin:0; padding:9px 0; border-top:1px solid var(--line); background:var(--bg); }
.night-store .purchase-summary { padding:0; gap:2px; display:grid; align-content:center; line-height:1.3; min-width:0; max-width:42%; }.night-store .purchase-summary span { font-size:11px; }.night-store .purchase-summary strong { color:var(--accent); font-size:20px; font-weight:600; }
.night-store .purchase-submit .btn { width:auto; min-width:0; flex:1 1 140px; min-height:46px; padding:8px 12px; border:0; border-radius:25px; box-shadow:none; background:var(--accent); color:var(--accent-fg); font-size:15px; font-weight:650; }
.night-store .purchase-submit .btn:disabled { opacity:.55; }.night-store .purchase-note { margin:5px 0 0; }
.night-store .auth-heading h1 { font-weight:620; }.night-store .auth-form { background:var(--surface); border-color:var(--line); }.night-store .auth-form input { font-size:16px; }.night-store .auth-form .btn { border-radius:24px; background:var(--accent); color:var(--accent-fg); }
/* A signed-out visitor needs only the form and the link to create an account. */
body.auth-entry { padding:max(18px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(18px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left)); background:var(--bg); }
.auth-entry main { flex:0 0 auto; width:100%; max-width:420px; margin:auto; padding:clamp(19px,5vw,32px); border:1px solid var(--line); border-radius:18px; background:var(--surface); }
.auth-entry-brand { margin:0 0 20px; }
.auth-entry-brand .store-logo { width:160px; }
.auth-entry .auth-page { margin:0; max-width:none; }
.auth-entry .auth-heading { margin:0 0 20px; }.auth-entry .auth-heading h1 { margin:0; font-size:clamp(27px,7vw,33px); line-height:1.35; }
.auth-entry .auth-heading p { margin:4px 0 0; }
.auth-entry .auth-form { margin:0; padding:0; border:0; background:none; box-shadow:none; }
.auth-entry .auth-form .field { margin-bottom:14px; }.auth-entry .auth-form label { margin-bottom:5px; color:var(--fg); }
.auth-entry .auth-form input:not([type=hidden]) { min-height:48px; border-color:var(--line-strong); border-radius:9px; background:#161419; }
.auth-entry .auth-form input:focus { border-color:var(--accent); }.auth-entry .password-toggle { top:2px; min-height:44px; }
.auth-entry .auth-form .btn { width:100%; margin:5px 0 0; min-height:48px; font-size:16px; }
.auth-entry .auth-switch { margin:15px 0 0; padding-top:6px; border-top:1px solid var(--line); }.auth-entry .auth-switch a { padding-inline:4px; color:var(--accent); }
.auth-entry .btn-google { border-radius:9px; }.auth-entry .auth-or { margin:11px 0; }
.auth-entry .btn-google:disabled { margin-bottom:14px; cursor:default; font-family:inherit; color:var(--fg-2); background:var(--surface); }
@media (max-height:660px) {
  .auth-entry main { padding-block:16px; }.auth-entry-brand { margin-bottom:11px; }.auth-entry-brand .store-logo { width:145px; }
  .auth-entry .auth-heading { margin-bottom:12px; }.auth-entry .auth-form .field { margin-bottom:10px; }
  .auth-entry .auth-or { margin:6px 0; }.auth-entry .auth-switch { margin-top:10px; }
}
.night-store .card,.night-store .list-item,.night-store .order-item { box-shadow:none; }
@media (hover:hover) {
  .night-store .purchase-submit .btn:hover:not(:disabled) { background:var(--primary-hover); color:var(--accent-fg); }
  .arena-game:hover,.arena-key-service:hover { background:#ffffff08; }
  .arena-game:hover .arena-game-end svg { color:var(--accent); }
  .night-store :is(.signin-link,.account-menu>summary):hover { background:var(--surface-2); }
}
@media (min-width:600px) {
  .arena-library { --cover:54px; --row-pad:16px; --row-gap:14px; }
  .arena-game { min-height:76px; }
  .arena-library { margin-bottom:18px; }
  .arena-service { margin-top:18px; grid-template-columns:minmax(0,1.5fr) minmax(0,1fr); }
  .arena-how { justify-content:flex-start; column-gap:16px; }
  .arena-key-service { border:0; border-inline-start:1px solid var(--line); border-radius:0 11px 11px 0; }
  .arena-feedback { padding-inline:16px; }
}
@media (min-width:900px) {
  .night-store .topbar { min-height:71px; padding-inline:max(32px,calc((100% - var(--shop-width) + 64px)/2)); }
  .night-store .topnav { margin-inline:auto; }.night-store .customer-actions { margin-inline-start:0; }
  .night-store main.catalog-main,.night-store main.product-main,.night-store .store-footer { padding-inline:32px; }.night-store main.catalog-main { padding-top:30px; padding-bottom:29px; }
  .arena-library { grid-template-columns:minmax(0,2.2fr) minmax(0,1fr); align-items:start; column-gap:clamp(24px,3.6vw,50px); margin-bottom:24px; }
  .arena-library-head { grid-column:1; margin:0 0 16px; }.arena-library-head>span { margin-inline-end:42px; }
  .arena-games,.arena-empty { grid-column:1; }
  .arena-game { min-height:78px; }.arena-game-copy { grid-template-columns:minmax(0,1.4fr) minmax(0,.85fr); align-items:center; column-gap:12px; }
  .arena-game-end { min-width:82px; justify-content:flex-end; gap:13px; }
  .arena-service { grid-column:2; grid-row:2; margin:0; grid-template-columns:1fr; }
  .arena-how { display:block; padding:20px; }.arena-how h2 { font-size:19px; }
  .arena-how ol { display:grid; gap:0; margin-top:12px; }.arena-how li { position:relative; gap:11px; min-height:34px; font-size:14px; }
  .arena-how li b { display:grid; place-items:center; width:22px; height:22px; border:1px solid var(--line-strong); border-radius:50%; background:var(--surface); font-size:13px; }
  .arena-how li+li::before { content:""; position:absolute; top:-6px; left:10px; width:1px; height:12px; background:var(--line-strong); }
  .arena-key-service { gap:12px; padding:14px 20px; border:0; border-top:1px solid var(--line); border-radius:0 0 11px 11px; }
  .arena-key-service>span { display:grid; gap:1px; }.arena-key-service>i { width:34px; height:34px; }
  .night-store main.product-main { padding-top:14px; }.night-store .purchase-page { gap:clamp(32px,5vw,70px); grid-template-columns:minmax(0,1.13fr) minmax(0,1fr); }
  .night-store .hero-banner { aspect-ratio:1.62; margin-bottom:23px; }.night-store .purchase-form { padding:19px 22px 16px; border:1px solid var(--line); border-radius:15px; background:var(--surface); }
  .night-store .sticky-bar.purchase-submit { position:static; background:transparent; }.night-store .back-link { margin-bottom:10px; }
}
@media (max-width:359px) {
  .night-store main.catalog-main,.night-store main.product-main { padding-inline:max(12px,env(safe-area-inset-left)) max(12px,env(safe-area-inset-right)); }
  .arena-library { --cover:44px; --row-pad:10px; --row-gap:9px; }
  .arena-game { min-height:64px; }.arena-library-head { gap:8px; }.arena-game-end { gap:4px; }
}
