/* Finality SMP store — winter theme. Colours are tokens; a future theme only swaps this block and the art. */
:root {
  --night: #070e1c;
  --night-2: #0a1528;
  --panel: #0e1b30;
  --panel-2: #13243f;
  --panel-3: #1a2f50;
  --line: rgba(150, 190, 245, .13);
  --line-2: rgba(150, 190, 245, .22);
  --snow: #eef6ff;
  --muted: #94a9c6;
  --ice: #5cd3ff;
  --ice-2: #36b6f0;
  --ice-ink: #03243c;
  --holly: #e2343f;
  --gold: #ffcc4d;
  --pine: #2fbf6a;
  --r-lg: 18px;
  --r: 12px;
  --r-sm: 9px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .28);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--snow); font: 15.5px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--ice); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { margin: 0; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.muted { color: var(--muted); }
.skip { position: absolute; left: 16px; top: -60px; background: var(--ice); color: var(--ice-ink); padding: 8px 14px; border-radius: 8px; z-index: 100; font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- ribbons ---------- */
.ribbon { text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; background: #3b2a06; color: #ffe29a; border-bottom: 1px solid rgba(255, 204, 77, .3); }
.ribbon.notice { background: linear-gradient(90deg, #7a1620, #b3222d, #7a1620); color: #fff; border: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: #050b18 url('img/hero-bg.svg') center bottom / cover no-repeat; border-bottom: 1px solid var(--line); }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 90px; background: linear-gradient(transparent, var(--night)); pointer-events: none; }
.snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.topnav { position: relative; z-index: 3; border-bottom: 1px solid rgba(255, 255, 255, .06); background: rgba(5, 11, 24, .45); backdrop-filter: blur(8px); }
.topnav-inner { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--snow); font-weight: 800; font-size: 16px; }
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; object-fit: contain; }
.navlinks { display: flex; gap: 4px; margin-left: auto; }
.navlink { color: var(--muted); font-weight: 700; font-size: 14.5px; padding: 8px 14px; border-radius: var(--r-sm); }
.navlink:hover { color: var(--snow); background: rgba(255, 255, 255, .06); text-decoration: none; }
.navlink.on { color: var(--snow); background: rgba(92, 211, 255, .14); box-shadow: inset 0 0 0 1px rgba(92, 211, 255, .3); }
.basket-btn { position: relative; width: 42px; height: 42px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .04); color: var(--snow); cursor: pointer; display: grid; place-items: center; }
.basket-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; }
.basket-btn .count { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--holly); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 19px; }

.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr minmax(0, 620px) 1fr; align-items: center; gap: 24px; padding: 26px 0 56px; }
.banner { margin: 0; }
.banner img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero-block { position: relative; display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); background: rgba(10, 21, 40, .72); border: 1px solid var(--line-2); color: var(--snow); font: inherit; text-align: left; cursor: pointer; backdrop-filter: blur(6px); transition: border-color .15s, transform .15s; max-width: 300px; width: 100%; }
.hero-block:first-child { justify-self: end; }
.hero-block:last-child { justify-self: start; }
.hero-block:hover { border-color: rgba(92, 211, 255, .55); text-decoration: none; transform: translateY(-1px); }
.hero-ico { width: 46px; height: 46px; flex: none; border-radius: 13px; display: grid; place-items: center; background: rgba(92, 211, 255, .14); color: var(--ice); }
.hero-ico.discord { background: rgba(88, 101, 242, .2); color: #a4adff; }
.hero-ico svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hero-ico.discord svg { fill: currentColor; stroke: none; }
.hero-txt { display: flex; flex-direction: column; min-width: 0; }
.hero-txt b { font-size: 16.5px; font-weight: 800; }
.hero-txt small { color: var(--muted); font-size: 13px; }
.tag { position: absolute; top: -11px; right: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--pine); color: #04210f; }
#discord-tag { background: #5865f2; color: #fff; }
.tag .dot { width: 7px; height: 7px; border-radius: 50%; background: #04210f; opacity: .7; }
.tag.off { background: #3a4a63; color: var(--snow); }

/* ---------- player bar ---------- */
.playerbar { position: relative; z-index: 2; margin-top: -30px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.pb-avatar { width: 46px; height: 46px; border-radius: 10px; background: var(--panel-2); object-fit: contain; image-rendering: pixelated; }
.pb-text { display: flex; flex-direction: column; min-width: 0; margin-right: auto; }
.pb-text b { font-size: 16px; }
.pb-text span { color: var(--muted); font-size: 13.5px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px; border-radius: var(--r-sm); border: 0; background: var(--ice); color: var(--ice-ink); font: inherit; font-weight: 800; font-size: 14.5px; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background .15s; }
.btn:hover { background: #82deff; text-decoration: none; }
.btn.ghost { background: transparent; color: var(--snow); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { background: rgba(255, 255, 255, .05); }
.btn.block { width: 100%; }
.btn.lg { min-height: 50px; font-size: 16px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* ---------- layout ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; padding: 26px 0 64px; align-items: start; }
.sidebar { display: grid; gap: 16px; position: sticky; top: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; }
.panel h2 { font-size: 15px; margin-bottom: 12px; }
.loading { display: flex; align-items: center; gap: 12px; color: var(--muted); padding: 40px 0; }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--ice); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* sidebar widgets */
.goal-bar { height: 10px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.goal-bar i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ice-2), var(--ice)); transition: width .8s ease; }
#goal-text { margin: 10px 0 0; font-size: 13.5px; }
.top { display: flex; gap: 12px; align-items: center; }
.top img { width: 56px; height: 56px; border-radius: 10px; image-rendering: pixelated; background: var(--panel-2); }
.top b { display: block; font-size: 16px; }
.top span { font-size: 13px; }
.recent { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.recent li { display: flex; gap: 10px; align-items: center; font-size: 14px; min-width: 0; }
.recent img { width: 34px; height: 34px; border-radius: 7px; image-rendering: pixelated; background: var(--panel-2); flex: none; }
.recent div { min-width: 0; }
.recent b { display: block; font-size: 14px; }
.recent span { display: block; color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.secure p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.secure p b { color: var(--snow); }
.methods { display: flex; flex-wrap: wrap; gap: 6px; }
.methods span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 6px; background: var(--panel-2); color: var(--muted); border: 1px solid var(--line); }

/* ---------- home ---------- */
.intro { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px 26px; margin-bottom: 22px; }
.intro h2 { font-size: 22px; margin-bottom: 10px; }
.intro p { margin: 0 0 10px; color: #cfdcef; max-width: 68ch; }
.intro p:last-child { margin-bottom: 0; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.section-title h2 { font-size: 19px; }
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: 18px; border-radius: var(--r-lg); overflow: hidden; color: var(--snow); background: linear-gradient(180deg, var(--panel-2), var(--panel)); border: 1px solid var(--line); transition: border-color .15s, transform .15s; isolation: isolate; }
.cat-tile:hover { border-color: rgba(92, 211, 255, .5); transform: translateY(-2px); text-decoration: none; }
.cat-tile img { position: absolute; top: 8px; right: 8px; width: 62%; height: 70%; object-fit: contain; z-index: -1; transition: transform .25s; }
.cat-tile:hover img { transform: scale(1.05) rotate(-2deg); }
.cat-tile b { font-size: 18px; font-weight: 800; }
.cat-tile span { color: var(--muted); font-size: 13.5px; }
.policies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 22px; }
.policy { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
.policy b { display: block; margin-bottom: 4px; font-size: 14.5px; }
.policy p { margin: 0; color: var(--muted); font-size: 13.5px; }

/* ---------- category ---------- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--snow); }
.cat-head { margin-bottom: 18px; }
.cat-head h2 { font-size: 26px; }
.cat-head p { margin: 6px 0 0; color: var(--muted); max-width: 70ch; }
.cat-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: thin; }
.cat-tabs a { flex: none; padding: 7px 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--muted); border: 1px solid var(--line); }
.cat-tabs a:hover { color: var(--snow); text-decoration: none; border-color: var(--line-2); }
.cat-tabs a.on { background: var(--snow); color: var(--night); border-color: var(--snow); }
.pkg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pkg { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--panel-2), var(--panel) 60%); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; transition: border-color .15s, transform .15s; }
.pkg:hover { border-color: rgba(92, 211, 255, .45); transform: translateY(-2px); }
.pkg-art { aspect-ratio: 4 / 3; display: grid; place-items: center; margin: -4px -4px 10px; cursor: pointer; border: 0; background: none; padding: 0; }
.pkg-art img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s; }
.pkg:hover .pkg-art img { transform: scale(1.04); }
.badge { position: absolute; top: 14px; left: 14px; z-index: 1; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; padding: 3px 9px; border-radius: 7px; background: var(--holly); color: #fff; }
.badge.gold { background: var(--gold); color: #3a2800; }
.pkg h3 { font-size: 17px; font-weight: 800; }
.pkg .req { font-size: 12.5px; color: var(--gold); font-weight: 700; margin-top: 2px; }
.pkg .req.bad { color: #fca5a5; }
.pkg .req.ok { color: #86efac; }
.pkg.locked { border-color: rgba(248, 113, 113, .55); box-shadow: 0 0 0 1px rgba(248, 113, 113, .25), 0 0 30px rgba(248, 113, 113, .22); }
.pkg.locked .pkg-art img { filter: grayscale(.45) brightness(.85); }
.pkg .btn:disabled { opacity: .55; cursor: not-allowed; }
.pkg .perks { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 5px; font-size: 13.5px; color: #c4d3e8; }
.pkg .perks li { display: flex; gap: 8px; align-items: baseline; }
.pkg .perks li::before { content: ""; width: 5px; height: 5px; border-radius: 1px; background: var(--ice); flex: none; transform: translateY(-2px) rotate(45deg); }
.pkg-foot { margin-top: auto; padding-top: 14px; display: grid; gap: 10px; }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.price b { font-size: 21px; font-weight: 800; }
.price s { color: var(--muted); font-size: 14px; }
.price small { color: var(--muted); font-size: 13.5px; font-weight: 600; }
.pkg-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.more-btn { min-width: 42px; padding: 0 12px; }

/* ---------- dialogs ---------- */
dialog { width: min(820px, 100% - 24px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-2); border-radius: 22px; background: var(--night-2); color: var(--snow); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
dialog::backdrop { background: rgba(2, 6, 14, .72); backdrop-filter: blur(3px); }
#login-dialog, #basket-dialog { width: min(440px, 100% - 24px); }
.dlg { position: relative; padding: 26px; overflow: auto; max-height: calc(100dvh - 34px); }
.close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .06); color: var(--snow); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; }
.close:hover { background: rgba(255, 255, 255, .12); }
.login-dlg { text-align: center; }
.login-head { width: 72px; height: 72px; margin: 0 auto 12px; border-radius: 14px; object-fit: contain; image-rendering: pixelated; background: var(--panel-2); }
.login-dlg h2 { font-size: 22px; margin-bottom: 6px; }
.login-dlg .muted { font-size: 14px; margin: 0 0 16px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); margin-bottom: 12px; }
.seg button { border: 0; background: none; color: var(--muted); font: inherit; font-weight: 700; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.seg button[aria-checked="true"] { background: var(--panel-3); color: var(--snow); box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.seg.sm button { padding: 7px 10px; font-size: 13.5px; }
input[type=text] { width: 100%; min-height: 46px; padding: 0 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--panel); color: var(--snow); font: inherit; }
input[type=text]::placeholder { color: #6f83a1; }
input[type=text]:focus { outline: none; border-color: var(--ice); box-shadow: 0 0 0 3px rgba(92, 211, 255, .18); }
.err { color: #ff9aa2; font-size: 13.5px; min-height: 1.4em; margin: 8px 0; }
.err:empty { min-height: 0; margin: 4px 0; }

.pkg-dlg { padding: 0; }
.pd-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.pd-art { position: relative; display: grid; place-items: center; padding: 24px; background: radial-gradient(circle at 50% 55%, rgba(92, 211, 255, .14), transparent 70%), var(--panel); border-right: 1px solid var(--line); }
.pd-art img { width: 100%; max-height: 260px; object-fit: contain; }
.pd-info { padding: 26px 28px 18px; }
.crumb { margin: 0 0 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
.pd-info h2 { font-size: 26px; margin-bottom: 8px; padding-right: 40px; }
.pd-price { margin-bottom: 12px; }
.pd-req { margin: 0 0 12px; padding: 9px 12px; border-radius: var(--r-sm); background: rgba(255, 204, 77, .1); border: 1px solid rgba(255, 204, 77, .3); color: #ffe29a; font-size: 13.5px; }
.pd-req.bad { background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .35); color: #fecaca; }
.desc p { margin: 0 0 10px; color: #cfdcef; }
.desc ul { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 6px; }
.desc li { display: flex; gap: 10px; align-items: baseline; color: #dbe6f5; }
.desc li b, .desc p b { color: #fff; font-weight: 700; }
.desc .d-head { margin: 16px 0 8px; font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ice); }
.desc .d-head:first-child { margin-top: 0; }
.desc .d-tip { margin: 14px 0 10px; padding: 9px 12px; border-radius: var(--r-sm); background: rgba(92, 211, 255, .08); border: 1px solid rgba(92, 211, 255, .22); color: #dff3ff; font-size: 14px; }
.desc .d-img { display: block; width: 100%; max-width: 460px; height: auto; border-radius: 6px; margin: 4px 0 10px; box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }
.desc ul.perks { gap: 5px; }
.desc li::before { content: ""; width: 6px; height: 6px; border-radius: 1px; background: var(--ice); flex: none; transform: translateY(-2px) rotate(45deg); }
.pd-contents { padding: 20px 28px; border-top: 1px solid var(--line); }
.pd-contents h3 { font-size: 15px; margin-bottom: 12px; }
.contents { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.contents li { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.contents .c-img { aspect-ratio: 1; border-radius: 9px; overflow: hidden; background: radial-gradient(circle at 50% 55%, var(--panel-3), var(--night-2)); display: grid; place-items: center; }
.contents .c-img img { width: 100%; height: 100%; object-fit: cover; }
.contents .c-img img.sprite { object-fit: contain; padding: 14%; }
.contents b { font-size: 13.5px; line-height: 1.3; }
.contents span { font-size: 12.5px; color: var(--muted); line-height: 1.35; }
.also { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.contents[hidden] + .also { margin-top: 0; }
.also-label { color: var(--muted); font-size: 13px; font-weight: 700; }
.also-label:empty { display: none; }
.chip { font-size: 13px; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: #dbe6f5; }
.pd-buy { padding: 20px 28px 26px; border-top: 1px solid var(--line); background: var(--night); }
.options { display: grid; gap: 8px; margin-bottom: 12px; }
.option { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line-2); cursor: pointer; }
.option input { accent-color: var(--ice); width: 18px; height: 18px; margin: 0; }
.option:has(input:checked) { border-color: var(--ice); background: rgba(92, 211, 255, .07); }
.option .o-label { display: flex; flex-direction: column; }
.option .o-label small { color: var(--muted); }
.option .o-amt { margin-left: auto; font-weight: 800; }
.gift { margin-bottom: 12px; border: 1px solid var(--line); border-radius: var(--r); padding: 10px 14px; }
.gift summary { cursor: pointer; font-weight: 700; font-size: 14.5px; }
.gift-row { display: grid; grid-template-columns: 180px 1fr; gap: 8px; margin-top: 10px; }
.gift-row .seg { margin: 0; }
.fine { margin: 12px 0 0; color: var(--muted); font-size: 12.5px; text-align: center; }
.basket-list { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.basket-list li { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: var(--r); background: var(--panel); }
.basket-list img { width: 44px; height: 44px; object-fit: contain; }
.basket-list .bl-name { display: flex; flex-direction: column; margin-right: auto; }
.basket-list small { color: var(--muted); }
.link { background: none; border: 0; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; cursor: pointer; }

/* ---------- footer & pages ---------- */
.footer { border-top: 1px solid var(--line); background: var(--night-2); padding: 30px 0 40px; }
.footer-inner { display: grid; grid-template-columns: auto 1fr; gap: 14px 28px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 44px; height: 44px; object-fit: contain; }
.footer-brand b { display: block; }
.footer-brand span { color: var(--muted); font-size: 13.5px; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--snow); font-weight: 600; font-size: 14.5px; }
.legal { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 12.5px; }
.page { padding: 34px 0 70px; }
.page article { max-width: 780px; margin-inline: auto; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 34px; }
.page h1 { font-size: 32px; margin-bottom: 14px; }
.page h2 { font-size: 19px; margin: 26px 0 8px; }
.page p, .page li { color: #cfdcef; }
details.faq { border-bottom: 1px solid var(--line); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 16.5px; }
details.faq p { margin: 10px 0 0; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--snow); color: var(--night); padding: 10px 18px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); }
.empty-state { padding: 40px; text-align: center; color: var(--muted); background: var(--panel); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr 1fr; }
  .banner { grid-column: 1 / -1; grid-row: 1; max-width: 620px; justify-self: center; }
  .hero-block, .hero-block:first-child, .hero-block:last-child { justify-self: stretch; max-width: none; }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}
@media (max-width: 720px) {
  body { font-size: 15px; }
  .brand span { display: none; }
  .navlink { padding: 8px 10px; }
  .hero-inner { grid-template-columns: 1fr; padding: 16px 0 50px; gap: 14px; }
  .hero-block { padding: 12px 14px; }
  .playerbar { flex-wrap: wrap; }
  .playerbar .btn { flex: 1; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-art { border-right: 0; border-bottom: 1px solid var(--line); padding: 18px; }
  .pd-art img { max-height: 180px; }
  .pd-info, .pd-contents, .pd-buy { padding-left: 18px; padding-right: 18px; }
  .policies { grid-template-columns: 1fr; }
  .gift-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .page article { padding: 22px 18px; }
  .contents { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-tile { min-height: 150px; padding: 14px; }
  .cat-tile b { font-size: 16px; }
  .cat-tile img { width: 78%; height: 62%; }
  .intro { padding: 20px; }
  .intro h2 { font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .snow { display: none; }
}

/* compact header for info pages */
.hero.compact::after { height: 60px; }
.compact-inner { position: relative; z-index: 2; display: flex; justify-content: center; padding: 18px 0 40px; }
.compact-banner img { width: min(340px, 70vw); height: auto; filter: drop-shadow(0 12px 22px rgba(0, 0, 0, .45)); }
