/* Streets of Detroit store. Values come from the Figma file (SOD Store / Components + pages). */

/* Lexend, self-hosted (SIL Open Font License) so it can't be slowed or blocked by a third party.
   One variable file per character set covers weights 400-700. Preloaded in index.html. */
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/lexend-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lexend';
  font-style: normal;
  font-weight: 100 900;
  font-display: block;
  src: url('../fonts/lexend-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
:root {
  --bg: #0B0A09;
  --bg-foot: #080707;
  --panel: rgba(15, 15, 15, .82);
  --panel-solid: rgba(15, 15, 15, .92);
  --line: rgba(255, 255, 255, .08);
  --line-soft: rgba(255, 255, 255, .07);
  --fill-1: rgba(255, 255, 255, .025);
  --fill-2: rgba(255, 255, 255, .04);
  --fill-3: rgba(255, 255, 255, .05);
  --acc: #E04A26;
  --acc-text: #FF7A55;
  --acc-12: rgba(224, 74, 38, .12);
  --acc-14: rgba(224, 74, 38, .14);
  --acc-30: rgba(224, 74, 38, .3);
  --acc-55: rgba(224, 74, 38, .55);
  --ok: #3DDC84;
  --t1: #fff;
  --t2: rgba(255, 255, 255, .6);
  --t3: rgba(255, 255, 255, .45);
  --t4: rgba(255, 255, 255, .4);
  --r: 10px;
  --r-sm: 8px;
  --gutter: 40px;
  --font: 'Lexend', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
/* Always reserve the scrollbar's space, so opening the cart/menu (which locks scrolling)
   doesn't widen the page and shift everything sideways. */
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
body { margin: 0; background: var(--bg); color: var(--t1); font-family: var(--font); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; min-height: 100vh; overflow-x: hidden; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .6; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--acc); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }
.ic { flex: none; }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--t3); }
.sm { font-size: 11.5px; }
.xs { font-size: 11px; }
.acc { color: var(--acc-text); }
.label { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--t4); }
.eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .12em; color: var(--acc-text); text-transform: uppercase; }
.h2, .section-head h2 { font-size: 30px; font-weight: 700; line-height: 1.25; }

/* Logo: the source art is a 2000x2000 transparent canvas; crop to the wordmark */
.logo { display: block; position: relative; overflow: hidden; aspect-ratio: 1700 / 640; width: 112px; }
.logo img { position: absolute; width: 117.647%; height: auto; max-width: none; left: -8.824%; top: -104.69%; }
.logo-footer { width: 146px; }
.logo-sm { width: 96px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 18px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; line-height: 1.2; white-space: nowrap; border: 1px solid transparent; transition: background-color .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--acc); color: #fff; }
.btn-primary:hover { background: #ea5733; }
.btn-secondary { background: var(--fill-3); border-color: rgba(255,255,255,.1); }
.btn-secondary:hover { background: rgba(255,255,255,.09); }
.btn-outline { background: var(--acc-12); border-color: var(--acc-55); color: var(--acc-text); }
.btn-outline:hover { background: rgba(224,74,38,.2); }
.btn-sm { padding: 9px 14px; font-size: 12px; }
.btn-lg { padding: 14px 22px; }
.btn-nav { padding: 10px 18px; }
.btn-block { width: 100%; }
.icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; background: var(--fill-2); border: 1px solid var(--line); color: var(--t2); }
.icon-btn:hover { color: #fff; border-color: rgba(255,255,255,.18); }

.tag { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 5px; font-size: 9.5px; font-weight: 600; letter-spacing: .08em; line-height: 1.2; border: 1px solid; }
.tag-accent { background: var(--acc-14); border-color: rgba(224,74,38,.35); color: var(--acc-text); }
.tag-neutral { background: var(--fill-3); border-color: var(--line); color: var(--t2); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-box { --s: 40px; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; border-radius: 8px; background: var(--acc-12); border: 1px solid var(--acc-30); color: var(--acc-text); }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); min-height: 38px; }
.chip:hover { border-color: rgba(255,255,255,.16); }
.badge { background: var(--acc); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 5px; line-height: 1.2; }

/* Demo banner */
.demo-banner { display: flex; gap: 10px; align-items: center; justify-content: center; padding: 9px 16px; font-size: 12px; background: #1a1210; border-bottom: 1px solid var(--acc-30); color: rgba(255,255,255,.8); text-align: center; position: relative; z-index: 30; }
.demo-banner svg { color: var(--acc-text); }
.demo-banner code { background: var(--fill-3); padding: 1px 5px; border-radius: 4px; font-size: 11px; }

/* Nav */
.site-top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; }
.site-nav-wrap { padding-top: 24px; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.nav-left, .nav-right { display: flex; align-items: center; min-width: 0; }
.nav-left { gap: 18px; }
.nav-right { gap: 8px; }
.nav-div { width: 1px; height: 24px; background: rgba(255,255,255,.1); }
.nav-links { display: flex; gap: 2px; }
.nav-link { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600; color: var(--t2); white-space: nowrap; transition: background-color .15s, color .15s; }
.nav-link svg { opacity: .9; }
.nav-link:hover { color: #fff; background: var(--fill-2); }
.nav-link.hw { color: var(--acc-text); }
.nav-link.active { background: var(--acc); color: #fff; }
.nav-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; width: 180px; height: 38px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); color: var(--t3); }
.nav-search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 12px; color: #fff; }
.nav-search input::placeholder { color: var(--t4); }
.nav-search:focus-within { border-color: rgba(255,255,255,.2); }
.chip-user span { max-width: 120px; overflow: hidden; text-overflow: ellipsis; }
.chip-menu, .chip-search { display: none; }
/* Nav fitting: app.js measures the bar and adds these classes when it would overflow. */
.nav-left, .nav-right { flex-shrink: 0; }
#site-nav.nav-compact .nav-right .nav-search, #site-nav.nav-compact .chip-currency { display: none; }
#site-nav.nav-compact .chip-search { display: inline-flex; }
#site-nav.nav-tight .chip-user > span { display: none; }
#site-nav.nav-tight .chip-user { gap: 6px; }
#site-nav.nav-tight .nav-link { padding: 9px 9px; gap: 6px; }
#site-nav.nav-tight .nav-left { gap: 12px; }
#site-nav.nav-collapsed .nav-links, #site-nav.nav-collapsed .nav-div, #site-nav.nav-collapsed .btn-nav, #site-nav.nav-collapsed .chip-user { display: none; }
#site-nav.nav-collapsed .chip-menu { display: inline-flex; }

/* Drawers */
.drawer { position: fixed; inset: 0; z-index: 50; }
.drawer[hidden] { display: none; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.drawer-panel { position: absolute; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: #0e0d0c; border-left: 1px solid var(--line); overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 16px; }
.cart-drawer .drawer-panel { padding-top: 64px; }
.drawer-close { position: absolute; top: 16px; right: 16px; }
.modal-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(440px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto; background: #0e0d0c; border: 1px solid var(--line); border-radius: 12px; padding: 28px 24px 24px; display: flex; flex-direction: column; gap: 10px; }
.modal-panel form { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.modal-ic { margin-bottom: 6px; }
.modal-text { font-size: 12.5px; line-height: 1.55; }
.field-error { font-size: 11.5px; color: var(--acc-text); }
.howto summary { cursor: pointer; font-size: 12px; color: rgba(255,255,255,.7); text-decoration: underline; }
.howto ol { list-style: decimal; padding: 8px 0 0 18px; display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: rgba(255,255,255,.6); line-height: 1.5; }
.modal-panel[data-mode="auth"] .dc-manual, .modal-panel[data-mode="manual"] .dc-auth { display: none; }
.dc-auth { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.btn-discord { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 15px 18px; border-radius: 8px; background: #5865F2; color: #fff; font-size: 14px; font-weight: 700; transition: background-color .45s var(--ease), transform .55s var(--ease); }
.btn-discord:hover { background: #4752c4; }
.btn-discord:active { transform: scale(.98); }
.btn-discord:disabled { opacity: .7; }
.dc-note { text-align: center; line-height: 1.5; }
.field-btn .linked-sm, .field-btn .field-edit { flex: none; }
.field-btn .linked-sm + .field-edit { margin-left: 10px; }
.linked-sm { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--ok); }
.field-edit { margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--acc-text); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; }
.drawer-links .nav-link { padding: 12px; font-size: 14px; }
.drawer .drawer-search { display: flex; width: 100%; height: 44px; }

/* Hero */
.hero { position: relative; height: 900px; overflow: hidden; }
.hero-art { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: max(100%, 1440px); height: 810px; object-fit: cover; }
.hero-fade { position: absolute; inset: 0 0 auto; height: 812px; background: linear-gradient(180deg, rgba(11,10,9,.75) 0%, rgba(11,10,9,.05) 18%, rgba(11,10,9,.1) 60%, var(--bg) 100%); }
.hero-cta { position: absolute; left: 0; right: 0; top: 652px; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 0 16px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 20px; background: var(--panel); border: 1px solid rgba(255,255,255,.1); font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85); text-align: center; }
.pill-live { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: 12px; background: var(--acc); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.hero-status { position: absolute; left: 0; right: 0; bottom: 24px; }
.status-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 22px; border-radius: 12px; background: var(--panel-solid); border: 1px solid var(--line); }
.stat { display: flex; align-items: center; gap: 12px; min-width: 0; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: .1em; color: var(--t4); margin-bottom: 3px; }
.stat-value { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.stat-value a:hover { color: var(--acc-text); }
.copy { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.copy svg { color: var(--t3); }
.copy:hover svg { color: #fff; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; flex: none; }
.dot.off { background: #888; }
.vdiv { width: 1px; height: 36px; background: var(--line); flex: none; }

/* Sections */
.section { padding-top: 88px; }
.section-tight { padding-top: 32px; }
#categories { padding-top: 72px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 28px; }
.section-head > div { display: flex; flex-direction: column; gap: 8px; }
.section-head p.muted { font-size: 13.5px; color: rgba(255,255,255,.5); }
.h2 { margin: 8px 0 24px; }

.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-tile { display: flex; flex-direction: column; gap: 18px; padding: 18px; border-radius: var(--r); background: var(--fill-1); border: 1px solid var(--line-soft); transition: border-color .15s, background-color .15s; }
.cat-tile:hover { border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.cat-tile.hw { background: rgba(224,74,38,.08); border-color: rgba(224,74,38,.35); }
.cat-tile.hw:hover { border-color: var(--acc-55); }
.cat-top { display: flex; justify-content: space-between; align-items: center; }
.cat-arrow { color: rgba(255,255,255,.35); }
.cat-tile.hw .cat-arrow { color: rgba(255,255,255,.8); }
.cat-tile h3 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.cat-tile p { font-size: 12px; color: var(--t3); }
.cat-tile.hw p { color: var(--acc-text); }

/* Product card */
.card { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: var(--r); background: var(--fill-1); border: 1px solid var(--line-soft); min-width: 0; transition: border-color .15s; }
.card:hover { border-color: rgba(255,255,255,.14); }
.card.is-added { border-color: rgba(224,74,38,.7); background: rgba(224,74,38,.05); }
.thumb { display: grid; place-items: center; border-radius: 8px; background: var(--fill-2); border: 1px solid rgba(255,255,255,.05); color: rgba(255,255,255,.9); overflow: hidden; }
/* Package art: 16:9 frame (most Tebex package images), whole image shown so nothing is cropped. */
.thumb { position: relative; aspect-ratio: 16 / 9; }
.thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumb-hw { background: rgba(224,74,38,.07); border-color: rgba(224,74,38,.18); color: var(--acc-text); }
.card-info { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-info h3 { font-size: 15px; font-weight: 700; }
.card-info h3 a:hover { color: var(--acc-text); }
.card-info p { font-size: 11.5px; line-height: 1.4; color: var(--t3); }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; min-width: 0; }
.price strong { font-size: 17px; font-weight: 700; }
.price span { font-size: 11px; color: var(--t4); }
.was { font-size: 11px; color: rgba(255,255,255,.35); }

.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-span { grid-column: 1 / -1; }

/* Featured (Halloween) */
.feature-row { display: grid; grid-template-columns: 560px 1fr; gap: 16px; }
.feature { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); min-height: 560px; background: #141210; }
.feature > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature > img.pkg-img { height: auto; aspect-ratio: 16 / 9; object-fit: contain; }
.feature-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,0) 45%, rgba(11,10,9,.92) 82%, var(--bg) 100%); }
.feature-info { position: absolute; left: 30px; right: 30px; bottom: 30px; display: flex; flex-direction: column; gap: 14px; }
.feature-info h3 { font-size: 26px; font-weight: 700; }
.feature-info p { font-size: 13px; line-height: 1.5; color: var(--t2); max-width: 500px; }
.feature-buy { display: flex; justify-content: space-between; align-items: center; gap: 12px; max-width: 500px; }
.price-lg { display: flex; align-items: baseline; gap: 10px; }
.price-lg strong { font-size: 24px; }
.price-lg s { font-size: 14px; color: rgba(255,255,255,.35); }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start; }

/* Panels */
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.panel-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.two-col { display: grid; grid-template-columns: 1fr 464px; gap: 16px; align-items: stretch; }
.two-col.single { grid-template-columns: 1fr; }
.activity { gap: 6px; }
.activity .panel-head { padding-bottom: 10px; }
.live-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; background: rgba(61,220,132,.1); border: 1px solid rgba(61,220,132,.3); color: var(--ok); font-size: 10px; font-weight: 600; letter-spacing: .08em; }
.live-pill .dot { width: 6px; height: 6px; }
.act-list { display: flex; flex-direction: column; gap: 6px; }
.act-list li { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 8px; background: var(--fill-1); border: 1px solid rgba(255,255,255,.05); }
.act-list li > div { flex: 1; min-width: 0; }
.act-list p { font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.act-list p.xs { font-size: 11px; color: rgba(255,255,255,.35); margin-top: 3px; }
.act-list .acc { font-weight: 600; }
.act-price { font-size: 13px; color: rgba(255,255,255,.85); }
.avatar { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.06); display: grid; place-items: center; font-weight: 700; font-size: 13px; color: rgba(255,255,255,.8); flex: none; }
.empty-line { padding: 12px 0; }
.goal { gap: 18px; }
.goal-row { display: flex; justify-content: space-between; align-items: baseline; }
.goal-total { font-size: 28px; }
.goal-row .muted { font-size: 13px; }
.goal-pct { font-weight: 700; }
.progress { height: 10px; border-radius: 5px; background: rgba(255,255,255,.06); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--acc); border-radius: 5px; }
.top-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(224,74,38,.08); border: 1px solid var(--acc-30); }
.top-row > div { flex: 1; }
.top-row strong { font-size: 14px; }
.assurances { display: flex; flex-direction: column; gap: 10px; }
.assurances li { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: rgba(255,255,255,.7); }
.assurances svg { color: rgba(255,255,255,.55); }
.assurances.bordered { border-top: 1px solid var(--line-soft); padding-top: 16px; }

/* FAQ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.faq-col { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border-radius: var(--r); background: var(--fill-1); border: 1px solid var(--line-soft); }
.faq-item[open] { background: rgba(224,74,38,.06); border-color: var(--acc-30); }
.faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { color: rgba(255,255,255,.5); transition: transform .15s; }
.faq-item[open] summary svg { transform: rotate(45deg); color: var(--acc-text); }
.faq-item p { padding: 0 18px 16px; font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); }

/* Discord */
.discord-banner { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); height: 420px; }
.discord-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.discord-bar { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 18px 18px 24px; border-radius: var(--r); background: rgba(15,15,15,.9); border: 1px solid var(--line); }
.discord-left { display: flex; align-items: center; gap: 14px; }
.discord-left h2 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.discord-left .sm { font-size: 12.5px; color: rgba(255,255,255,.55); }
.discord-ic { width: 44px; height: 44px; border-radius: 9px; background: #5865F2; display: grid; place-items: center; flex: none; }

/* Footer */
.footer { margin-top: 96px; background: var(--bg-foot); border-top: 1px solid rgba(255,255,255,.06); padding: 48px 0 32px; }
.footer .container { display: flex; flex-direction: column; gap: 40px; }
.strip { display: block; border-radius: var(--r); overflow: hidden; }
.strip img { width: 100%; height: auto; }
.footer-cols { display: flex; justify-content: space-between; gap: 32px; }
.footer-brand { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-brand p { font-size: 12.5px; line-height: 1.5; color: var(--t3); }
.socials { display: flex; gap: 8px; }
.socials .chip { padding: 9px; min-height: 0; color: rgba(255,255,255,.7); }
.footer-col { width: 200px; }
.footer-col h4 { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; color: var(--t4); text-transform: uppercase; margin-bottom: 12px; }
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.75); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.06); font-size: 11.5px; color: rgba(255,255,255,.35); }
.tebex-note { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.tebex-note a, .tebex-legal a { color: rgba(255,255,255,.6); text-decoration: underline; }
.tebex-legal { margin-top: -24px; font-size: 11px; line-height: 1.6; color: rgba(255,255,255,.35); max-width: 900px; }

/* Page header (category / product) */
.page-header { position: relative; height: 340px; overflow: hidden; margin-bottom: 8px; }
.ph-art { position: absolute; left: 50%; transform: translateX(-50%); top: -300px; width: max(100%, 1440px); height: 810px; object-fit: cover; opacity: .45; }
.page-header.is-hw .ph-art { opacity: .75; }
.page-header.compact { height: 190px; margin-bottom: 0; }
.page-header.compact .ph-art { top: -120px; opacity: .35; }
.page-header.compact .ph-inner { bottom: 24px; }
.ph-fade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,10,9,.7) 0%, rgba(11,10,9,.55) 50%, var(--bg) 100%); }
.ph-inner { position: absolute; left: 0; right: 0; bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.ph-inner > div:first-child { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.crumb { display: flex; gap: 8px; font-size: 12px; font-weight: 500; color: var(--t3); flex-wrap: wrap; }
.crumb span:not(.acc) { color: rgba(255,255,255,.25); }
.crumb a:hover { color: #fff; }
.page-header h1 { font-size: 40px; font-weight: 700; line-height: 1.2; }
.ph-desc { font-size: 13.5px; color: rgba(255,255,255,.55); max-width: 720px; }
.segment { display: flex; gap: 4px; padding: 5px; border-radius: 9px; background: var(--panel); border: 1px solid var(--line); flex: none; }
.seg-item { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 7px; font-size: 12px; font-weight: 600; color: var(--t2); }
.seg-item.on { background: var(--acc); color: #fff; }

.body-grid { display: grid; grid-template-columns: minmax(0, 1fr) 444px; gap: 16px; align-items: start; }
.items-panel { gap: 18px; }
.search-field { display: flex; align-items: center; gap: 8px; width: 240px; height: 40px; padding: 0 12px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); color: var(--t3); }
.search-field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 12px; color: #fff; }
.search-field input::placeholder { color: var(--t4); }
.filter-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.fchips { display: flex; gap: 8px; flex-wrap: wrap; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 7px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.7); }
.fchip .n { padding: 1px 6px; border-radius: 4px; background: rgba(255,255,255,.08); font-size: 10px; color: rgba(255,255,255,.7); }
.fchip.on { background: var(--acc-14); border-color: rgba(224,74,38,.5); color: var(--acc-text); }
.sort { position: relative; display: inline-flex; align-items: center; }
.sort select { appearance: none; background: var(--fill-2); border: 1px solid var(--line); border-radius: 7px; padding: 7px 30px 7px 12px; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); cursor: pointer; }
.sort select option { background: #141210; }
.sort svg { position: absolute; right: 10px; pointer-events: none; color: var(--t3); }
.cart-col { position: sticky; top: 16px; }

/* Sort dropdown (custom, replaces the browser's native menu) */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: rgba(255,255,255,.85); transition: border-color .4s var(--ease), background-color .4s var(--ease); }
.dd-btn:hover, .dd.open .dd-btn { border-color: rgba(224,74,38,.55); background: var(--acc-12); }
.dd-pre { color: var(--t4); font-weight: 500; }
.dd-chev { color: var(--t3); transition: transform .45s var(--ease), color .4s var(--ease); }
.dd.open .dd-chev { transform: rotate(180deg); color: var(--acc-text); }
.dd-menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 210px; padding: 6px; border-radius: 10px; background: #121110; border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-6px) scale(.98); transform-origin: top right;
  transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.dd.open .dd-menu { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s; }
.dd-opt { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 7px; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.7); cursor: pointer; transition: background-color .3s var(--ease), color .3s var(--ease); }
.dd-opt:hover, .dd-opt:focus { background: var(--fill-3); color: #fff; outline: none; }
.dd-opt.on { color: var(--acc-text); font-weight: 600; }
.dd-opt.on:hover, .dd-opt.on:focus { background: var(--acc-12); }

/* Cart panel */
.cart-panel[aria-busy="true"] { opacity: .75; }
.count-pill { align-self: flex-start; padding: 4px 9px; border-radius: 6px; background: var(--acc-14); border: 1px solid rgba(224,74,38,.4); color: var(--acc-text); font-size: 10px; font-weight: 600; letter-spacing: .08em; white-space: nowrap; }
.cart-items { display: flex; flex-direction: column; gap: 10px; }
.cart-item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); }
.ci-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ci-text a { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ci-text a:hover { color: var(--acc-text); }
.cart-item strong { font-size: 13px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 18px 0 6px; }
.cart-empty .icon-box { margin-bottom: 6px; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 12px; height: 42px; border-radius: 8px; background: var(--fill-2); border: 1px solid var(--line); color: var(--acc-text); width: 100%; min-width: 0; }
.field input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; font-size: 12.5px; font-weight: 500; color: #fff; }
.field input::placeholder { color: var(--t4); font-weight: 400; }
.field:focus-within { border-color: rgba(255,255,255,.2); }
.field-static span:first-of-type { flex: 1; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.field-btn { cursor: pointer; text-align: left; }
.field-btn span { flex: 1; font-size: 12.5px; font-weight: 500; color: rgba(255,255,255,.85); }
.field-btn:hover { border-color: rgba(255,255,255,.2); }
.linked { display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 600; color: var(--ok); }
.seg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opt { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,.7); }
.opt svg:not(.cb svg) { color: rgba(255,255,255,.55); }
.opt.on { background: var(--acc-12); border-color: var(--acc-55); color: #fff; }
.opt.on > svg { color: var(--acc-text); }
.cb { width: 16px; height: 16px; border-radius: 4px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); flex: none; }
.opt.on .cb { background: var(--acc); border-color: var(--acc); }
.gift-form, .coupon { display: flex; gap: 8px; }
.gift-form.is-hidden { display: none; }
.coupon-list { display: flex; gap: 6px; flex-wrap: wrap; }
.coupon-chip { cursor: pointer; }
.summary { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.summary > div { display: flex; justify-content: space-between; font-size: 12.5px; color: rgba(255,255,255,.55); }
.summary > div span:last-child { color: #fff; font-weight: 700; }
.summary .acc { color: var(--acc-text) !important; }
.summary .total { font-size: 14px; color: #fff; font-weight: 700; align-items: center; }
.summary .total span:last-child { font-size: 20px; }
.checkout-btn, .buy-btn { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 15px 18px; border-radius: 8px; background: var(--acc); color: #fff; font-size: 14px; font-weight: 700; transition: background-color .15s; }
.checkout-btn:hover, .buy-btn:hover { background: #ea5733; }
.ck-right, .muted-w { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; color: rgba(255,255,255,.85); }
.buy-btn > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.secure { display: flex; justify-content: center; align-items: center; gap: 6px; font-size: 11px; color: var(--t4); }

/* Product */
.product-grid { align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.gallery { padding: 12px; gap: 12px; }
.media { position: relative; height: 440px; border-radius: 8px; overflow: hidden; background: #141210; display: grid; place-items: center; }
.media:not(.media-empty) { height: auto; aspect-ratio: 16 / 9; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.media .media-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .12; }
.media-icon { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.media-icon .icon-box { border-radius: 20px; background: var(--acc-14); border-color: rgba(224,74,38,.45); }
.media-icon p { font-size: 13px; font-weight: 700; letter-spacing: .4em; color: var(--acc-text); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.thumb-btn { height: 84px; border-radius: 8px; overflow: hidden; border: 1px solid var(--line-soft); background: rgba(255,255,255,.03); }
.thumb-btn { position: relative; }
.thumb-btn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.thumb-btn.on { border-color: rgba(224,74,38,.6); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); align-self: flex-start; }
.tab { padding: 7px 12px; border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--t2); }
.tab.on { background: var(--acc); color: #fff; }
.rich { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.75); }
.rich > * + * { margin-top: 10px; }
.rich ul { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rich li { padding: 14px; border-radius: 8px; background: var(--fill-1); border: 1px solid rgba(255,255,255,.06); font-size: 12px; color: rgba(255,255,255,.6); }
.rich li strong { display: block; font-size: 13.5px; font-weight: 600; color: #fff; margin-bottom: 2px; }
.rich a { color: var(--acc-text); text-decoration: underline; }
.rich img { border-radius: 8px; }
.rich h1, .rich h2, .rich h3 { color: #fff; font-size: 16px; }
.info-list { display: flex; flex-direction: column; gap: 0; margin: 0; }
.info-list div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); font-size: 13px; }
.info-list dt { color: var(--t3); }
.info-list dd { margin: 0; text-align: right; }
.purchase { position: sticky; top: 16px; }
.p-title { font-size: 28px; font-weight: 700; line-height: 1.2; }
.p-desc { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.55); }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.p-price strong { font-size: 30px; }
.p-price .muted { font-size: 13px; }
.p-price .was { font-size: 13px; }
.off-pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 5px; background: var(--acc-14); border: 1px solid rgba(224,74,38,.35); color: var(--acc-text); font-size: 10.5px; font-weight: 700; align-self: center; }
.opt-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 8px; background: rgba(255,255,255,.03); border: 1px solid var(--line); }
.opt-row.on { background: rgba(224,74,38,.1); border-color: rgba(224,74,38,.6); }
.opt-row > div { flex: 1; }
.opt-row p { font-size: 13px; }
.radio { width: 16px; height: 16px; border-radius: 50%; border: 5px solid var(--acc); background: #fff; flex: none; }
.qty { display: inline-flex; align-items: center; gap: 14px; }
.qty span { min-width: 20px; text-align: center; font-weight: 700; }

/* States */
.state-box { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 24px; border-radius: var(--r); background: var(--panel); border: 1px solid var(--line); }
.state-box h3 { font-size: 18px; font-weight: 700; margin-top: 6px; }
.state-box p { font-size: 13px; color: rgba(255,255,255,.55); max-width: 520px; line-height: 1.5; }
.state-box .btn, .state-box .row-btns { margin-top: 10px; }
.state-ok .icon-box { background: rgba(61,220,132,.1); border-color: rgba(61,220,132,.35); color: var(--ok); }
.row-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.setup-steps { text-align: left; list-style: decimal; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: rgba(255,255,255,.75); margin-top: 8px; }
.setup-steps a { color: var(--acc-text); text-decoration: underline; }
.setup-steps code, .page-body code { background: var(--fill-3); padding: 1px 5px; border-radius: 4px; }
.page-body { max-width: 900px; }
.skeleton { pointer-events: none; }
.skeleton .thumb, .sk-line, .sk-box, .skeleton-panel, .feature.skeleton { background: rgba(255,255,255,.045); }
.sk-line { height: 10px; border-radius: 4px; }
.sk-box { width: 44px; height: 44px; border-radius: 8px; }
.w40 { width: 40%; } .w70 { width: 70%; } .w90 { width: 90%; }
.feature.skeleton { min-height: 560px; border-color: var(--line-soft); }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 60; display: flex; flex-direction: column; gap: 8px; max-width: calc(100% - 32px); }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 9px; background: #141210; border: 1px solid var(--line); font-size: 12.5px; max-width: 380px; transition: opacity .3s, transform .3s; }
.toast svg { color: var(--ok); }
.toast-error { border-color: rgba(224,74,38,.5); }
.toast-error svg, .toast-info svg { color: var(--acc-text); }
.toast.out { opacity: 0; transform: translateY(6px); }

/* ---------- Motion (kept to page/tab/filter changes, drawers, FAQ and toasts) ---------- */
:root { --ease: cubic-bezier(.22, .61, .36, 1); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-in { from { transform: translateX(100%); } to { transform: none; } }
@keyframes slide-out { from { transform: none; } to { transform: translateX(100%); } }
@keyframes fade-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.anim-swap { animation: fade-up .45s var(--ease) both; }
#app.page-fade { animation: fade-in .45s var(--ease) both; }

/* Sliding active pill for the nav links, category tabs and product tabs (positioned by app.js). */
[data-ind] { position: relative; }
[data-ind] > :not(.ind) { position: relative; z-index: 1; }
[data-ind] > .active, [data-ind] > .on { background: transparent; }
.ind { position: absolute; top: 0; left: 0; height: 0; width: 0; border-radius: 8px; background: var(--acc); opacity: 0; pointer-events: none; z-index: 0;
  transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s var(--ease); }
.segment .ind { border-radius: 7px; }
.tabs .ind { border-radius: 6px; }
.ind.no-anim { transition: none; }
.drawer:not([hidden]) .drawer-backdrop { animation: fade-in .4s var(--ease) both; }
.drawer:not([hidden]) .drawer-panel { animation: slide-in .45s var(--ease) both; }
.drawer.closing .drawer-backdrop { animation: fade-out .3s var(--ease) both; }
.drawer.closing .drawer-panel { animation: slide-out .3s var(--ease) both; }
@keyframes modal-in { from { opacity: 0; transform: translate(-50%, -46%); } to { opacity: 1; transform: translate(-50%, -50%); } }
.drawer:not([hidden]) .modal-panel { animation: modal-in .45s var(--ease) both; }
.drawer.closing .modal-panel { animation: fade-out .3s var(--ease) both; }
.faq-item[open] p { animation: fade-up .4s var(--ease) both; }
.faq-item summary svg { transition: transform .35s var(--ease), color .35s var(--ease); }
.toast { animation: toast-in .4s var(--ease) backwards; }
.nav-link, .seg-item, .tab, .fchip, .opt, .thumb-btn { transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }

/* Reveal on scroll (motion.js adds .reveal, then .in when the element enters the viewport). */
@keyframes reveal { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.reveal:not(.in) { opacity: 0; }
.reveal.in { animation: reveal .9s var(--ease) backwards; animation-delay: var(--d, 0s); }

/* Slower, smoother hovers everywhere. */
.btn, .chip, .icon-btn, .field-btn, .checkout-btn, .buy-btn, .cat-tile, .card, .faq-item, .footer-col a, .crumb a, .card-info h3 a, .stat-value a {
  transition: background-color .45s var(--ease), border-color .45s var(--ease), color .45s var(--ease), transform .55s var(--ease), opacity .45s var(--ease);
}
.card:hover, .cat-tile:hover { transform: translateY(-4px); }
.btn:active, .checkout-btn:active, .buy-btn:active { transform: scale(.98); }
.thumb img, .media > img, .feature > img, .discord-banner > img { animation: fade-in .8s var(--ease) both; }
.thumb img { transition: transform .7s var(--ease); }
.card:hover .thumb img { transform: scale(1.03); }
.progress span { transition: width .8s var(--ease); }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-row { grid-template-columns: 1fr; }
  .feature { min-height: 520px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .body-grid { grid-template-columns: minmax(0, 1fr) 380px; }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-bar { flex-wrap: wrap; justify-content: flex-start; }
  .status-bar .vdiv { display: none; }
  .status-bar .stat { flex: 1 1 calc(50% - 16px); }
  .status-cta { margin-left: auto; }
  .site-top { position: relative; }
  .site-nav-wrap { padding: 12px 0; }
  .page-header, .page-header.compact { height: auto; min-height: 0; }
  .page-header .ph-art { top: -380px; }
  .page-header.compact .ph-art { top: -300px; }
  .page-header .ph-inner, .page-header.compact .ph-inner { position: relative; bottom: auto; padding-top: 48px; padding-bottom: 28px; }
  .page-header.compact .ph-inner { padding-top: 14px; padding-bottom: 16px; }
  .hero { height: auto; padding-bottom: 24px; }
  .hero-art { position: relative; left: 0; transform: none; width: 100%; height: auto; aspect-ratio: 16 / 9; }
  .hero-fade { height: auto; aspect-ratio: 16 / 9; }
  .hero-cta { position: relative; top: auto; margin-top: -40px; }
  .hero-status { position: relative; bottom: auto; margin-top: 28px; }
}
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  .body-grid, .two-col { grid-template-columns: minmax(0, 1fr); }
  .cart-col, .purchase { position: static; }
  .product-grid .stack { display: contents; }
  .product-grid .gallery { order: 1; }
  .product-grid .purchase { order: 2; }
  .product-grid .included { order: 3; }
  .ph-inner { flex-direction: column; align-items: flex-start; }
  .footer-cols { flex-wrap: wrap; }
  .footer-brand { flex-basis: 100%; max-width: none; }
}
@media (max-width: 768px) {
  :root { --gutter: 16px; }
  .site-nav-wrap { padding: 10px 0; }
  .nav { padding: 8px 8px 8px 12px; }
  .logo { width: 96px; }
  .demo-banner { font-size: 11px; padding: 7px 12px; }
  .hero-cta { margin-top: -10px; }
  .section { padding-top: 64px; }
  #categories { padding-top: 48px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .h2, .section-head h2 { font-size: 24px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .grid-4, .grid-3, .feature-grid { grid-template-columns: 1fr; }
  .status-bar .stat { flex-basis: 100%; }
  .status-cta { width: 100%; margin-left: 0; }
  .feature { min-height: 480px; }
  .feature-info { left: 18px; right: 18px; bottom: 18px; }
  .feature-info h3 { font-size: 22px; }
  .feature-buy { flex-direction: column; align-items: flex-start; }
  .faq-grid { grid-template-columns: 1fr; }
  .discord-banner { height: auto; aspect-ratio: auto; display: flex; flex-direction: column; }
  .discord-banner > img { position: relative; aspect-ratio: 16 / 9; height: auto; }
  .discord-bar { position: relative; left: auto; right: auto; bottom: auto; flex-direction: column; align-items: flex-start; border-radius: 0; border: 0; border-top: 1px solid var(--line); }
  .page-header .ph-inner { padding-top: 36px; padding-bottom: 24px; }
  .page-header.compact .ph-inner { padding-top: 12px; padding-bottom: 16px; }
  .page-header h1 { font-size: 30px; }
  .ph-inner { bottom: 24px; }
  .segment { max-width: 100%; overflow-x: auto; }
  .panel { padding: 16px; }
  .panel-head { flex-direction: column; align-items: stretch; }
  .search-field { width: 100%; }
  .media { height: 280px; }
  .rich ul { grid-template-columns: 1fr; }
  .footer { margin-top: 64px; }
  .footer-col { width: calc(50% - 16px); }
  .footer-bottom { flex-direction: column; }
  .p-title { font-size: 24px; }
}
@media (max-width: 420px) {
  .nav-right { gap: 6px; }
  .nav-right .chip { padding: 9px 10px; gap: 6px; }
  .logo { width: 88px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-tile { padding: 14px; }
  .pill { font-size: 11.5px; }
  .footer-col { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
