/* Bố cục: một cảnh 3D cố định phía sau, cuộn trang đi giữa các "phòng" (mỗi game một phòng), sau đó là cửa hàng thường. */
:root {
  --ink: #06070b;
  --ink-2: #0b0d15;
  --panel: #10131d;
  --panel-2: #161a27;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #ece9e2;
  --mute: #9a9cab;
  --gold: #e8b45a;
  --gold-2: #ffd89a;
  --ruby: #d0364f;
  --ok: #5fd6a2;
  --warn: #f2b84b;
  --bad: #ff6f72;
  --font-display: "Barlow Condensed", "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --gx: max(16px, env(safe-area-inset-left, 0px));
  --gy: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: auto; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.sheet-open { overflow: hidden; }
h1, h2, h3 { margin: 0; font-weight: 700; text-wrap: balance; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .5; }
code { font-family: var(--font-mono); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.gut { padding-left: var(--gx); padding-right: var(--gy); }
.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-left: var(--gx); padding-right: var(--gy); }

/* ---- nút ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 10px; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 600; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:hover:not(:disabled) { border-color: var(--gold); }
.btn.gold { background: linear-gradient(180deg, #f3c776, #d99d3c); border-color: transparent; color: #1a1105; }
.btn.gold:hover:not(:disabled) { transform: translateY(-1px); background: linear-gradient(180deg, #ffd88f, #e3a742); }
.btn.ghost { background: rgba(255, 255, 255, .03); }
.btn.sm { min-height: 36px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.btn.block { width: 100%; }
.link { background: none; border: 0; padding: 4px; color: var(--mute); text-decoration: underline; font-size: 13px; }

/* ---- thanh trên ---- */
.top { position: fixed; z-index: 30; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 10px; padding: calc(env(safe-area-inset-top, 0px) + 10px) var(--gy) 12px var(--gx); background: linear-gradient(180deg, rgba(6, 7, 11, .94) 30%, rgba(6, 7, 11, 0)); }
.logo { display: flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; color: var(--text); }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo b { font-family: var(--font-display); font-size: 24px; letter-spacing: .08em; text-transform: uppercase; line-height: 1; }
.demo-tag { font: 600 10px/1 var(--font-mono); letter-spacing: .12em; padding: 5px 7px; border: 1px solid var(--gold); color: var(--gold); border-radius: 4px; }
.top .spacer { flex: 1; }
.top .actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; min-height: 44px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(10, 12, 20, .6); color: var(--text); }
.icon-btn:hover { border-color: var(--gold); }
.icon-btn svg { width: 20px; height: 20px; }
.badge-n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--ruby); color: #fff; font: 700 11px/20px var(--font-body); text-align: center; }
.av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: #1a1105; font-weight: 700; font-size: 13px; }
.av.big { width: 44px; height: 44px; font-size: 20px; }
#wallet-pill { font: 600 12px var(--font-mono); color: var(--gold-2); border: 1px solid var(--line); border-radius: 20px; padding: 6px 10px; background: rgba(10, 12, 20, .6); }

/* ---- cảnh 3D ---- */
#gl { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--ink); }
#vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse 75% 70% at 62% 50%, rgba(3,4,8,0) 38%, rgba(3,4,8,.78) 100%); }
body:not(.in-stage) #vignette, .no-gl #vignette { display: none; }
#stage { position: relative; z-index: 1; height: 1800px; }
#hud { position: fixed; inset: 0; z-index: 5; pointer-events: none; }
body:not(.in-stage) #hud, body:not(.in-stage) #dots { visibility: hidden; }
.pane { position: absolute; left: var(--gx); right: var(--gy); top: 50%; transform: translateY(-50%); max-width: 520px; display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; background: rgba(8, 10, 17, .56); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: opacity .12s linear; will-change: opacity; }
.lowfx .pane { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(8, 10, 17, .82); }
.pane.off { pointer-events: none; }
.pane.on { pointer-events: auto; }
.eyebrow { font: 600 11px/1.4 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.hero-h { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(60px, 11vw, 124px); line-height: .88; letter-spacing: .01em; }
.hero-h span { color: var(--gold); display: block; }
.lead-p { color: #cfcdd6; max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.room-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chip { font: 600 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border: 1px solid var(--line-2); border-radius: 5px; color: var(--mute); }
.chip.ruby { background: var(--ruby); border-color: var(--ruby); color: #fff; }
.room-h { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(38px, 5.4vw, 64px); line-height: .94; }
.room-price { display: flex; align-items: baseline; gap: 12px; }
.room-price strong { font-family: var(--font-display); font-size: 34px; color: var(--gold-2); letter-spacing: .02em; }
.room-price s { color: var(--mute); }
.room-idx { font: 500 11px var(--font-mono); letter-spacing: .14em; color: var(--mute); }
#dots { position: fixed; z-index: 6; right: var(--gy); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; }
#dots button { width: 28px; height: 28px; background: none; border: 0; padding: 0; position: relative; }
#dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: rgba(255, 255, 255, .28); transition: transform .2s, background .2s; }
#dots button[aria-current="true"]::after { background: var(--gold); transform: scale(1.5); }
#scroll-hint { position: fixed; z-index: 6; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); transform: translateX(-50%); font: 500 11px var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); display: flex; flex-direction: column; align-items: center; gap: 6px; transition: opacity .3s; pointer-events: none; }
#scroll-hint i { width: 1px; height: 28px; background: linear-gradient(var(--gold), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
#hero2d { display: none; padding: 130px var(--gy) 70px var(--gx); background: radial-gradient(60% 60% at 70% 30%, rgba(232, 180, 90, .22), transparent), var(--ink); }
.no-gl #gl, .no-gl #stage, .no-gl #hud, .no-gl #dots, .no-gl #scroll-hint { display: none; }
.no-gl #hero2d { display: block; }
#hero2d .pane { position: static; transform: none; max-width: 560px; margin-inline: auto 0; background: none; border: 0; padding: 0; backdrop-filter: none; }

/* ---- cửa hàng ---- */
.section { position: relative; z-index: 3; background: var(--ink); padding-block: 72px; scroll-margin-top: 56px; }
#shop::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 160px; background: linear-gradient(0deg, var(--ink), rgba(6, 7, 11, 0)); pointer-events: none; }
.sec-h { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.sec-h h2 { font-family: var(--font-display); text-transform: uppercase; font-size: clamp(36px, 5vw, 56px); line-height: 1; letter-spacing: .02em; }
.sec-h p { color: var(--mute); max-width: 52ch; }
.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 20px; }
.toolbar input[type=search], .toolbar select { min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); padding: 0 14px; }
.toolbar input[type=search] { flex: 1 1 200px; min-width: 0; }
#genre-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip-btn { min-height: 38px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line-2); background: transparent; color: var(--mute); font-weight: 500; }
.chip-btn.on { background: var(--gold); border-color: var(--gold); color: #1a1105; font-weight: 600; }
#grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; min-width: 0; transition: transform .2s, border-color .2s; }
.card:hover { transform: translateY(-4px); border-color: rgba(232, 180, 90, .55); box-shadow: 0 22px 46px -22px var(--ac, #e8b45a); }
.card-cover { overflow: hidden; }
.card-cover img { transition: transform .6s ease; }
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover { position: relative; display: block; padding: 0; border: 0; background: var(--ink-2); aspect-ratio: 360 / 496; width: 100%; }
.card-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.badge { position: absolute; top: 10px; left: 10px; background: var(--ruby); color: #fff; font: 700 12px/1 var(--font-mono); padding: 6px 8px; border-radius: 5px; }
.badge.inline { position: static; display: inline-block; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 14px; flex: 1; }
.card-body h3 { font-size: 15px; line-height: 1.3; min-height: 2.6em; }
.genre { font: 500 11px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.price strong { font-size: 18px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.price s { color: var(--mute); font-size: 13px; font-variant-numeric: tabular-nums; }
.price.big strong { font-size: 28px; }
.stock { font-size: 12px; font-weight: 600; }
.stock.ok { color: var(--ok); } .stock.low { color: var(--warn); } .stock.out { color: var(--bad); }
.card-body .btn { margin-top: auto; }
.empty { color: var(--mute); padding: 30px 0; grid-column: 1 / -1; }
.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; counter-reset: s; }
.steps-row li { list-style: none; border-top: 1px solid var(--line-2); padding-top: 16px; }
.steps-row .n { font-family: var(--font-display); font-size: 52px; color: var(--gold); line-height: 1; display: block; margin-bottom: 8px; }
.steps-row strong { display: block; margin-bottom: 4px; }
.steps-row p { color: var(--mute); }
.steps-row ul { margin: 0; padding: 0; display: contents; }
footer.site { position: relative; z-index: 3; background: var(--ink); border-top: 1px solid var(--line); padding-block: 36px calc(36px + env(safe-area-inset-bottom, 0px)); color: var(--mute); font-size: 13px; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; }
footer.site p { max-width: 62ch; }

/* ---- hộp thoại ---- */
#sheet-root { position: fixed; inset: 0; z-index: 50; pointer-events: none; }
#sheet-root .scrim { position: fixed; inset: 0; background: rgba(2, 3, 6, .74); backdrop-filter: blur(3px); pointer-events: auto; }
.sheet { position: fixed; pointer-events: auto; display: flex; flex-direction: column; background: var(--ink-2); border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(520px, calc(100% - 32px)); max-height: calc(100% - 40px); animation: pop .22s ease-out; }
.sheet.wide { width: min(780px, calc(100% - 32px)); }
.sheet.drawer { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: min(440px, 100%); max-height: none; border-radius: 0; border-width: 0 0 0 1px; animation: slide .24s ease-out; }
@keyframes pop { from { opacity: 0; transform: translate(-50%, -46%); } }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px var(--gy) 12px var(--gx); border-bottom: 1px solid var(--line); }
.sheet-head h2 { font-family: var(--font-display); text-transform: uppercase; font-size: 28px; letter-spacing: .03em; }
.x { width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line); background: transparent; font-size: 24px; line-height: 1; }
.sheet-body { overflow-y: auto; padding: 16px var(--gy) 18px var(--gx); display: flex; flex-direction: column; gap: 14px; overscroll-behavior: contain; }
.sheet-foot { display: flex; gap: 10px; justify-content: flex-end; padding: 12px var(--gy) calc(12px + env(safe-area-inset-bottom, 0px)) var(--gx); border-top: 1px solid var(--line); }
.sheet-foot .btn.block { flex: 1; }
.lead { font-size: 16px; } .lead.ok { color: var(--ok); }
.note { color: var(--mute); font-size: 13px; }
.muted { color: var(--mute); font-size: 13px; }
.err { color: var(--bad); font-size: 13px; }
.demo-banner { border: 1px dashed var(--gold); color: var(--gold-2); border-radius: 10px; padding: 10px 12px; font-size: 13px; background: rgba(232, 180, 90, .06); }
.form { display: flex; flex-direction: column; gap: 8px; }
.form h3, .sheet-body h3 { font-size: 15px; margin-top: 6px; }
label { font-size: 13px; color: var(--mute); }
input:not([type=radio]):not([type=color]), select, textarea { width: 100%; min-height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); padding: 10px 12px; color: var(--text); }
input[type=color] { width: 64px; height: 44px; border: 1px solid var(--line-2); border-radius: 10px; background: var(--panel); padding: 4px; }
textarea { resize: vertical; font-family: var(--font-mono); font-size: 13px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tabs button { min-height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: transparent; color: var(--mute); font-weight: 600; }
.tabs button.on { background: var(--panel-2); color: var(--gold-2); border-color: var(--gold); }
.quick { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; }
.who { display: flex; align-items: center; gap: 12px; }
.who div { display: flex; flex-direction: column; } .who span { color: var(--mute); font-size: 13px; }
.lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.line { display: grid; grid-template-columns: 54px 1fr auto; gap: 4px 12px; align-items: center; }
.line .link { grid-column: 3; justify-self: end; }
.mini { width: 54px; height: 74px; object-fit: cover; border-radius: 6px; grid-row: span 2; }
.line-info { display: flex; flex-direction: column; min-width: 0; } .line-info span { color: var(--gold-2); font-variant-numeric: tabular-nums; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 10px; }
.qty button { width: 40px; height: 40px; background: none; border: 0; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-variant-numeric: tabular-nums; }
.coupon { display: flex; gap: 8px; } .coupon input { flex: 1; min-width: 0; }
.sum { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--line); padding-top: 12px; }
.sum-row { display: flex; justify-content: space-between; font-variant-numeric: tabular-nums; } .sum-row.ok { color: var(--ok); }
.sum-row.total { font-size: 20px; font-weight: 700; color: var(--gold-2); }
.co-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; } .co-lines li { display: flex; justify-content: space-between; gap: 12px; }
.pay { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; } .pay legend { font-size: 13px; color: var(--mute); margin-bottom: 8px; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border: 1px solid var(--line-2); border-radius: 12px; color: var(--text); cursor: pointer; }
.opt.on { border-color: var(--gold); background: rgba(232, 180, 90, .06); }
.opt input { margin-top: 4px; accent-color: var(--gold); }
.opt span { display: flex; flex-direction: column; gap: 2px; } .opt em { font-style: normal; color: var(--mute); font-size: 13px; } .opt em.bad { color: var(--bad); }
.pv { display: grid; grid-template-columns: 200px 1fr; gap: 20px; } .pv-cover { width: 100%; border-radius: 10px; }
.pv-info { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.steps { margin: 0; padding-left: 18px; color: #cfcdd6; display: flex; flex-direction: column; gap: 4px; }
.oi { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; background: var(--panel); }
.oi-h { display: flex; justify-content: space-between; gap: 8px; }
.keyrow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.key { flex: 1 1 200px; min-width: 0; font: 600 14px var(--font-mono); letter-spacing: .04em; padding: 10px 12px; border-radius: 8px; background: #05060a; border: 1px solid var(--line-2); color: var(--gold-2); overflow-wrap: anywhere; user-select: all; }
.key.masked { color: var(--mute); user-select: none; }
.order { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.order header { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; } .order .tot { margin-left: auto; font-weight: 700; color: var(--gold-2); }
.pill { font: 700 11px var(--font-mono); padding: 4px 8px; border-radius: 20px; border: 1px solid var(--ok); color: var(--ok); }
.wallet .bal { display: flex; flex-direction: column; padding: 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line); }
.wallet .bal span { color: var(--mute); font-size: 13px; } .wallet .bal strong { font-family: var(--font-display); font-size: 40px; color: var(--gold-2); }
.topups { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin: 10px 0 6px; }
.tx { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.tx li { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); } .tx em { display: block; font-style: normal; color: var(--mute); font-size: 12px; }
.neg { color: var(--bad); } .pos { color: var(--ok); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; } .kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--panel); display: flex; flex-direction: column; } .kpis span { color: var(--mute); font-size: 12px; } .kpis strong { font-size: 20px; color: var(--gold-2); font-variant-numeric: tabular-nums; }
.tabs.sub { margin-top: 4px; }
.arow { border: 1px solid var(--line); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: var(--panel); }
.arow-h { display: flex; gap: 12px; align-items: center; } .arow-h div { display: flex; flex-direction: column; }
.arow .mini { width: 40px; height: 54px; grid-row: auto; }
form.inline { display: grid; grid-template-columns: auto 1fr auto 90px auto; gap: 8px; align-items: center; }
form.inline.col { grid-template-columns: 1fr; }
.empty-state { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; color: var(--mute); padding: 20px 0; }

#toasts { position: fixed; z-index: 60; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; width: min(420px, calc(100% - 32px)); }
.toast { background: #11141f; border: 1px solid var(--line-2); border-left: 3px solid var(--ok); border-radius: 10px; padding: 10px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: tin .22s ease-out; transition: opacity .3s; }
.toast.warn { border-left-color: var(--warn); } .toast.bad { border-left-color: var(--bad); } .toast.out { opacity: 0; }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* ---- điện thoại ---- */
@media (max-width: 719px) {
  .logo b { font-size: 18px; letter-spacing: .04em; }
  .icon-btn { min-width: 40px; padding: 0 8px; }
  .demo-tag { padding: 4px 5px; font-size: 9px; }
  .top { gap: 8px; }
  .top .go-shop .lbl, #acct-btn .lbl, #wallet-pill { display: none; }
  .pane { top: auto; bottom: calc(env(safe-area-inset-bottom, 0px) + 56px); transform: none; padding: 16px; gap: 10px; max-width: none; }
  .hero-h { font-size: clamp(54px, 18vw, 84px); }
  .room-h { font-size: 36px; }
  #dots { right: max(6px, env(safe-area-inset-right, 0px)); }
  #grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card-body { padding: 10px; } .card-body h3 { font-size: 14px; }
  .sheet, .sheet.wide { left: 0; right: 0; bottom: 0; top: auto; transform: none; width: 100%; max-height: 92%; border-radius: 18px 18px 0 0; animation: rise .24s ease-out; }
  .sheet.drawer { top: auto; max-height: 92%; border-width: 1px 0 0; }
  @keyframes rise { from { transform: translateY(40px); opacity: 0; } }
  .pv { grid-template-columns: 112px 1fr; gap: 14px; } .pv-cover { max-width: none; }
  .price.big strong { font-size: 24px; }
  form.inline { grid-template-columns: 1fr 1fr; } form.inline label { display: none; } form.inline .btn { grid-column: 1 / -1; }
  .section { padding-block: 52px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

.logo-row { display: flex; flex-direction: column; gap: 6px; }
.logo-row input[type=file] { padding: 8px; font-size: 13px; }
.logo-have { display: flex; align-items: center; gap: 10px; }
.logo-prev { max-height: 44px; max-width: 160px; background: #000; border-radius: 6px; padding: 4px; object-fit: contain; }

.loading { padding: 18px 0; }
.bank { border: 1px solid var(--gold); border-radius: 12px; padding: 14px; background: rgba(232, 180, 90, .06); display: flex; flex-direction: column; gap: 8px; }
.bank dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; }
.bank dt { color: var(--mute); font-size: 13px; } .bank dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.bank code { color: var(--gold-2); font-weight: 600; user-select: all; }

.card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.card-actions .btn { margin-top: 0; }
.card-actions a.btn { min-height: 38px; font-size: 13px; }
.stock.partner { color: var(--gold-2); }
