/* Chimera: the desktop app's theme, on the web. Gold on near-black, Cinzel for
   the display faces, Inter for the body. */
@font-face { font-family: "Cinzel"; src: url("/fonts/Cinzel%5Bwght%5D.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/Inter%5Bopsz,wght%5D.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }

:root {
  --gold: #D9B24C; --gold-deep: #A57E2A; --gold-light: #F1D27C; --bronze: #7A5A1C; --silver: #F3EEE3;
  --bg: #0C0B09; --surface: #11100D; --raised: #181613; --hover: #211E19; --border: #2B2822; --line: #1E1B17;
  --text: #ECE6DA; --muted: #A39B8B; --faint: #6B655B; --accent: var(--gold); --accent-shade: #33290F;
  --running: #7BCB6E; --danger: #D95A4A; --ink-on-gold: #241B08;
  --display: "Cinzel", "Trajan Pro", serif; --body: "Inter", "DejaVu Sans", system-ui, sans-serif;
  --radius: 8px;
  --meander: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='6' viewBox='0 0 5 6'%3E%3Cpath d='M0.5 5.5V0.5H4.5V3.5H1.5V1.5H3.5V2.5' fill='none' stroke='%23D9B24C' stroke-opacity='0.42' stroke-width='1'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); color-scheme: dark; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 400 14px/1.45 var(--body); -webkit-font-smoothing: antialiased; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: .02em; }
p { margin: 0 0 .7em; }
img { max-width: 100%; }
input, button, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(217,178,76,.35); }

/* ---- the ground: glows from above and below, a lattice cut into it, the beast in the corner ---- */
.ground { position: relative; background: var(--bg); isolation: isolate; }
.ground::before { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    radial-gradient(80% 60% at 35% -30%, rgba(217,178,76,.055), rgba(217,178,76,0) 70%),
    radial-gradient(60% 50% at 105% 125%, rgba(217,178,76,.03), rgba(217,178,76,0) 70%),
    repeating-linear-gradient(45deg, rgba(217,178,76,.022) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(-45deg, rgba(217,178,76,.022) 0 1px, transparent 1px 44px); }
.ground::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(620px, 55vw); aspect-ratio: 1.55; z-index: -1; pointer-events: none;
  background: url("/brand/chimera-mark.svg") no-repeat right bottom / contain; opacity: .07;
  filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(.8); }

/* ---- header ---- */
.top { position: sticky; top: 0; z-index: 20; background: var(--surface); }
.top-row { display: flex; align-items: center; gap: 6px; height: 54px; padding: 0 14px 0 12px; }
.brand { display: flex; align-items: center; gap: 9px; height: 40px; margin-right: 22px; }
.brand img { height: 34px; width: auto; }
.brand .word { font: 700 22px/1 var(--display); letter-spacing: .06em; background: linear-gradient(var(--gold-light), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 3px; }
.nav { display: flex; align-items: center; gap: 2px; }
.nav a, .nav button { position: relative; display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 0; background: none; border-radius: 5px; color: var(--muted); font: 700 11.5px/1 var(--display); letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.nav a:hover, .nav button:hover { color: var(--text); background: rgba(217,178,76,.10); }
.nav a.on { color: var(--gold-light); background: rgba(217,178,76,.16); }
.nav a.on::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 1.5px; height: 2px; background: var(--gold); }
.crumbs { display: flex; align-items: center; gap: 4px; margin-left: 16px; color: var(--text); font-size: 14px; }
.crumbs .arrow { width: 28px; height: 28px; border: 0; background: none; color: var(--faint); border-radius: 5px; cursor: pointer; display: grid; place-items: center; }
.crumbs .arrow:hover { color: var(--gold); background: rgba(217,178,76,.10); }
.crumbs .here { margin-left: 8px; }
.spacer { flex: 1; }
.more { position: relative; }
.more .menu { display: none; position: absolute; right: 0; top: 34px; min-width: 190px; padding: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: 8px; box-shadow: 0 12px 30px rgba(0,0,0,.5); }
.more.open .menu, .more:focus-within .menu { display: block; }
.more .menu a { display: flex; justify-content: space-between; align-items: center; height: 32px; padding: 0 10px; border-radius: 5px; color: var(--text); font: 500 13px var(--body); letter-spacing: 0; }
.more .menu a:hover { background: var(--hover); color: var(--gold-light); }
.account { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px 0 6px; border-radius: 5px; color: var(--muted); font: 700 11.5px/1 var(--display); letter-spacing: .04em; }
.account:hover { color: var(--text); background: rgba(217,178,76,.10); }
.account.on { color: var(--gold-light); background: rgba(217,178,76,.16); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.mono { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 700 10px var(--body); }
.rule { height: 9px; background: var(--surface); position: relative; }
.rule::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, var(--gold-deep), var(--gold) 35%, var(--line)); }
.rule::after { content: ""; position: absolute; left: 0; right: 0; top: 1px; bottom: 1px; background: var(--meander) repeat-x left center;
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent); mask-image: linear-gradient(90deg, #000 55%, transparent); }
.rule + .rule-line { height: 1px; background: var(--line); }

/* ---- the band under the header: page title, search, sort ---- */
.band { display: flex; align-items: center; gap: 26px; height: 66px; padding: 0 28px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 8px 22px rgba(0,0,0,.35); position: relative; z-index: 5; }
.band h1 { font-size: 24px; font-weight: 700; color: var(--silver); letter-spacing: .04em; }
.band form.search { flex: 0 1 460px; }
.band .sort { margin-left: auto; display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.field { display: block; width: 100%; height: 36px; padding: 0 12px; background: var(--bg); border: 1px solid var(--gold-deep); border-radius: 6px; color: var(--text); outline: none; }
.field::placeholder { color: var(--faint); }
.field:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,178,76,.12); }
.field.plain { background: var(--raised); border-color: var(--border); }
.field.plain:focus { border-color: var(--gold-deep); }
select.field { appearance: none; padding-right: 30px; background-image: url("/brand/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; }
.chip-select { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; background: var(--raised); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-weight: 600; font-size: 13px; }
.chip-select select { appearance: none; border: 0; background: none; font-weight: 600; padding-right: 16px; cursor: pointer; }

/* ---- layout ---- */
.page { padding: 26px 28px 60px; }
.shelf { display: grid; grid-template-columns: 270px 1fr; gap: 26px; align-items: start; }
.wrap { max-width: 1120px; margin: 0 auto; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; }
.section-title h2 { font-size: 15px; letter-spacing: .06em; color: var(--silver); }
.section-title .count, .section-title .hint { color: var(--muted); font-size: 13px; font-family: var(--body); font-weight: 400; letter-spacing: 0; }
.lede { color: var(--muted); font-size: 13px; margin: -6px 0 16px; }

/* ---- filters ---- */
.filters h2 { font-size: 15px; letter-spacing: .06em; color: var(--silver); display: flex; justify-content: space-between; align-items: baseline; }
.filters h2 a { font: 400 13px var(--body); color: var(--muted); }
.filters h2 a:hover { color: var(--gold); }
.filters .showing { color: var(--faint); font-size: 12.5px; margin: 6px 0 12px; }
.filters h3 { font-size: 11.5px; letter-spacing: .1em; color: var(--gold); margin: 14px 0 8px; display: flex; justify-content: space-between; align-items: center; }
.filters h3 .chev { width: 14px; height: 14px; opacity: .6; }
.filters .group { border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.filters .row { display: flex; align-items: center; gap: 10px; height: 31px; padding: 0 8px; border-radius: 5px; color: var(--muted); font-size: 13.5px; }
.filters .row:hover { background: var(--hover); color: var(--text); }
.filters .row.on { color: var(--text); }
.filters .row .gem { width: 8px; height: 8px; border: 1.3px solid var(--faint); transform: rotate(45deg); flex: none; }
.filters .row.on .gem { background: var(--gold); border-color: var(--gold); }
.filters .row .n { margin-left: auto; color: var(--faint); font-size: 12px; }
.filters .row img { width: 13px; height: 13px; opacity: .8; }
.filters .slider { margin: 12px 0 6px; }
.filters .slider label { display: flex; justify-content: space-between; font: 700 11.5px var(--display); letter-spacing: .06em; color: var(--gold); }
.filters .slider label span { font: 400 13px var(--body); color: var(--muted); letter-spacing: 0; }
.filters .tags-box { position: relative; }
.filters .tags-box .field { height: 34px; }
.tagpicks { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 18px; background: none; margin: 4px 0; }
input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: var(--border); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; border: 1px solid var(--gold-deep); background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 1px 4px rgba(0,0,0,.6); cursor: pointer; }
input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: var(--border); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--gold-deep); background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 55%, var(--gold-deep)); cursor: pointer; }

/* ---- icons: the SVGs are drawn in black ---- */
img[src*="/brand/icons/"] { filter: invert(.78) sepia(.15); }
.verified img, .stars i { filter: none; }
.verified img { filter: invert(.72) sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05); }

/* ---- tags, chips, stars, badges ---- */
.tag { display: inline-block; padding: 3px 7px; border-radius: 4px; background: #2A2110; color: var(--gold); font: 700 9.5px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; }
a.tag:hover { background: var(--accent-shade); color: var(--gold-light); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: 6px; background: rgba(12,11,9,.8); border: 1px solid rgba(43,40,34,.9); color: var(--text); font-size: 11.5px; }
.chip img { width: 12px; height: 12px; }
.chip.cat { color: var(--gold); font: 700 9.5px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.chip.price { font-weight: 600; }
.detect { display: inline-flex; align-items: center; gap: 5px; height: 20px; padding: 0 8px; border-radius: 4px; background: rgba(123,203,110,.12); color: var(--running); font: 700 9.5px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.detect::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.detect.low { color: #B5D65A; background: rgba(181,214,90,.12); } .detect.medium { color: #E08A3C; background: rgba(224,138,60,.12); } .detect.high { color: var(--danger); background: rgba(217,90,74,.12); }
.stars { display: inline-flex; gap: 1px; align-items: center; }
.stars i { width: 11px; height: 11px; display: inline-block; background: url("/brand/icons/star.svg") no-repeat center / contain; opacity: .35; }
.stars i.full { background-image: url("/brand/icons/star-filled.svg"); opacity: 1; filter: invert(.72) sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05); }
.stars i.half { background-image: url("/brand/icons/star-filled.svg"); opacity: .7; filter: invert(.72) sepia(1) saturate(4) hue-rotate(5deg) brightness(1.05); }
.stars i.empty { filter: invert(.5); }
.verified { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); }
.verified img { width: 14px; height: 14px; }
.muted { color: var(--muted); } .faint { color: var(--faint); } .small { font-size: 12.5px; } .gold { color: var(--gold); } .green { color: var(--running); } .warn { color: #E08A3C; }
.status { font: 700 10px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.up { color: var(--running); }

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 36px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--raised); color: var(--text); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; }
.btn:hover { background: var(--hover); color: var(--text); border-color: #3a362d; }
.btn.accent { background: linear-gradient(#E8C766, var(--gold) 55%, #C79E3E); border-color: var(--gold-deep); color: var(--ink-on-gold); }
.btn.accent:hover { background: linear-gradient(#F1D27C, #E3C15C 55%, #CFA646); box-shadow: 0 0 0 3px rgba(217,178,76,.18); color: var(--ink-on-gold); }
.btn.shield { height: 54px; min-width: 200px; padding: 0 30px; border-radius: 10px; flex-direction: column; gap: 0; line-height: 1.1; font-size: 17px; font-weight: 700; position: relative; overflow: hidden; }
.btn.shield small { font-size: 11px; font-weight: 600; color: #4A3610; }
.btn.shield::after { content: ""; position: absolute; inset: 3.5px; border-radius: 7px; border: 1px solid rgba(36,27,8,.28); pointer-events: none; }
.btn.shield::before { content: ""; position: absolute; right: -4px; top: 2px; bottom: 2px; width: 45%; background: url("/brand/chimera-mark.svg") no-repeat right center / contain; opacity: .10; filter: brightness(0); }
.btn.link { border: 0; background: none; color: var(--muted); padding: 0 8px; }
.btn.link:hover { color: var(--gold); background: none; }
.btn.danger { color: var(--danger); }
.btn.wide { width: 100%; }
.btn:disabled, .btn.off { opacity: .5; cursor: default; }
form.inline { display: inline; }

/* ---- cards and sections ---- */
.card { background: var(--raised); border: 1px solid var(--border); border-radius: 10px; padding: 16px 18px; }
.section { background: var(--raised); border: 1px solid var(--border); border-radius: 10px; padding: 12px 18px 16px; margin-bottom: 16px; }
.section > h2, .card > h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; letter-spacing: .06em; color: var(--silver); padding: 4px 0 8px; position: relative; }
.section > h2::before, .card > h2::before { content: ""; width: 3px; height: 16px; background: var(--gold); border-radius: 1px; }
.section > h2 .chev, .card > h2 .chev { margin-left: auto; width: 12px; height: 12px; opacity: .5; }
.section > h2::after, .card > h2::after { content: ""; position: absolute; left: 13px; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, var(--gold-deep), var(--line) 60%); }
.section .gem, .card .gem { position: relative; height: 10px; }
.section .gem::before, .card .gem::before { content: ""; position: absolute; left: 3px; top: 0; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.rows .row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rows .row:last-child { border-bottom: 0; }
.kv { display: grid; grid-template-columns: 110px 1fr; gap: 6px 12px; font-size: 13px; }
.kv dt { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .06em; }
.kv dd { margin: 0; }
.corners { position: relative; }
.corners > .c { position: absolute; inset: 0; pointer-events: none; }
.corners::before, .corners::after, .corners > .c::before, .corners > .c::after { content: ""; position: absolute; width: 14px; height: 14px; border: 1.5px solid var(--gold); opacity: .85; pointer-events: none; }
.corners::before { left: 10px; top: 10px; border-right: 0; border-bottom: 0; border-radius: 2px 0 0 0; }
.corners::after { right: 10px; top: 10px; border-left: 0; border-bottom: 0; }
.corners > .c::before { left: 10px; bottom: 10px; border-right: 0; border-top: 0; }
.corners > .c::after { right: 10px; bottom: 10px; border-left: 0; border-top: 0; }

/* ---- product tiles ---- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, 225px); gap: 25px; }
.tile { display: block; width: 225px; background: var(--raised); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; color: var(--text); transition: transform .15s, border-color .15s; }
.tile:hover { transform: translateY(-2px); border-color: #3a362d; color: var(--text); }
.tile .hero { position: relative; height: 146px; display: grid; place-items: center; background: radial-gradient(70% 90% at 50% 45%, color-mix(in srgb, var(--accent) 55%, transparent), transparent 75%), linear-gradient(#1c1813, #14120e); }
.tile .ring { width: 92px; height: 92px; border-radius: 50%; border: 1.5px solid var(--accent); display: grid; place-items: center; background: radial-gradient(circle, rgba(0,0,0,.35), transparent 70%); }
.tile .ring img { width: 74px; height: 74px; object-fit: contain; }
.tile .chip.cat { position: absolute; left: 12px; top: 12px; }
.tile .chip.price { position: absolute; right: 12px; top: 12px; }
.tile .plats { position: absolute; left: 12px; bottom: 12px; display: flex; gap: 6px; }
.tile .body { padding: 12px 14px 10px; }
.tile .name { font-weight: 600; font-size: 14.5px; }
.tile .sub { color: var(--muted); font-size: 12.5px; margin: 2px 0 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tile .rate { display: flex; justify-content: space-between; align-items: center; }
.tile .foot { display: flex; justify-content: space-between; align-items: center; margin: 12px -14px -10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* ---- config and model cards ---- */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(268px, 1fr)); gap: 16px; }
.ccard { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 14px 18px; background: var(--raised); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; min-height: 190px; }
.ccard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--accent, var(--gold)); }
.ccard .name { font-weight: 600; font-size: 14.5px; color: var(--text); }
.ccard .name:hover { color: var(--gold-light); }
.ccard .by { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ccard .sum { color: var(--muted); font-size: 13px; }
.ccard .rate { display: flex; align-items: center; gap: 6px; color: var(--faint); font-size: 12.5px; }
.ccard .bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding-top: 10px; }
.mcard .head { margin: -14px -16px 8px -18px; padding: 14px 16px 14px 18px; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(#3B2E14, #2A2010); border-bottom: 1px solid var(--border); }
.mcard .head .game { font: 700 16px var(--display); color: var(--gold-light); letter-spacing: .04em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard .head .chip { color: var(--gold); font: 600 10.5px var(--body); letter-spacing: .06em; }
.mcard::before { display: none; }
.inlib { color: var(--muted); font-size: 13px; }

/* ---- product page ---- */
.crumb { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13.5px; margin-bottom: 12px; }
.crumb .g { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.crumb a { color: var(--muted); } .crumb a:hover { color: var(--gold); }
.product-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.product-head .name { font-weight: 700; font-size: 15px; color: var(--gold); }
.product { display: grid; grid-template-columns: 1fr 325px; gap: 18px; margin-top: 14px; }
.showcase { position: relative; border-radius: 10px; border: 1px solid var(--border); height: 550px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(60% 80% at 50% 50%, color-mix(in srgb, var(--accent) 40%, transparent), transparent 70%), linear-gradient(135deg, #2a1e0f, #14110c 60%); }
.showcase .beast { position: absolute; left: -30px; top: 5%; height: 90%; opacity: .12; filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(.8); }
.showcase .word { position: absolute; left: 60px; top: 50%; transform: translateY(-50%); font: 700 40px var(--display); letter-spacing: .06em; color: rgba(217,178,76,.45); }
.showcase .ring { --ring: 440px; width: var(--ring); height: var(--ring); border-radius: 50%; border: 5px solid var(--accent); display: grid; place-items: center; box-shadow: 0 0 60px rgba(0,0,0,.4), inset 0 0 40px rgba(0,0,0,.35); position: relative; }
.showcase .ring img { width: 360px; height: 360px; object-fit: contain; }
.showcase .ring::before, .showcase .ring::after { content: ""; position: absolute; background: var(--gold); border-radius: 3px; }
.showcase .ring::before { width: 6px; height: 50px; left: 50%; top: -5px; transform: translateX(-50%); box-shadow: 0 calc(var(--ring) - 50px) 0 var(--gold); }
.showcase .ring::after { width: 50px; height: 6px; top: 50%; left: -5px; transform: translateY(-50%); box-shadow: calc(var(--ring) - 50px) 0 0 var(--gold); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 8px; }
.thumbs div { height: 70px; border-radius: 6px; border: 1px solid var(--border); background: var(--raised); display: grid; place-items: center; color: var(--faint); }
.thumbs div.on { border-color: var(--gold); background: linear-gradient(135deg, #2a1e0f, #14110c); }
.side { background: var(--raised); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.side .top-art { height: 150px; display: grid; place-items: center; justify-items: end; padding-right: 20px; background: linear-gradient(135deg, #2a1e0f, #16130e); position: relative; }
.side .top-art .beast { position: absolute; left: 0; top: 0; height: 100%; opacity: .12; filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(.8); }
.side .top-art .ring { width: 118px; height: 118px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; position: relative; }
.side .top-art .ring img { width: 96px; height: 96px; object-fit: contain; }
.side .text { padding: 16px; }
.actionbar { position: sticky; bottom: 0; margin-top: 18px; display: flex; align-items: center; gap: 22px; padding: 12px 16px; background: rgba(24,22,19,.96); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 -10px 30px rgba(0,0,0,.4); }
.actionbar .what { flex: 1; }
.actionbar .what b { display: block; font-size: 14px; }
.actionbar .what span { color: var(--muted); font-size: 12.5px; }
.actionbar .links { display: flex; gap: 22px; color: var(--muted); font-size: 13px; }

/* ---- library ---- */
.library { display: grid; grid-template-columns: 255px 1fr; gap: 0; min-height: calc(100vh - 64px); }
.rail { padding: 14px 12px; border-right: 1px solid var(--line); background: rgba(17,16,13,.6); }
.rail h3 { font: 700 12px var(--display); letter-spacing: .1em; color: var(--gold); margin: 18px 0 8px 6px; }
.rail a.item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; color: var(--text); }
.rail a.item:hover { background: var(--hover); }
.rail a.item.on { background: var(--accent-shade); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.rail .disc { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--gold-deep); display: grid; place-items: center; background: #1c1813; flex: none; }
.rail .disc img { width: 24px; height: 24px; object-fit: contain; }
.rail .disc.letter { color: var(--gold); font: 700 14px var(--body); border-color: var(--border); }
.rail .item .t { flex: 1; min-width: 0; }
.rail .item .t b { display: block; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail .item .t span { font-size: 11.5px; color: var(--muted); }
.rail .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.rail .find { display: block; text-align: center; color: var(--muted); margin-top: 40px; font-size: 13px; }
.lib-main { padding: 22px 28px 60px; }
.banner { position: relative; height: 200px; border-radius: 10px; border: 1px solid var(--border); padding: 20px 26px; overflow: hidden;
  background: radial-gradient(50% 120% at 85% 50%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%), linear-gradient(90deg, #2a1e0f, #14110c 70%); }
.banner .beast { position: absolute; left: 20px; top: 0; height: 100%; opacity: .1; filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(.8); }
.banner h1 { font-size: 28px; color: var(--gold); margin: 12px 0 8px; letter-spacing: .06em; }
.banner .ring { position: absolute; right: 60px; top: 50%; transform: translateY(-50%); width: 170px; height: 170px; border-radius: 50%; border: 3px solid var(--accent); display: grid; place-items: center; }
.banner .ring img { width: 130px; height: 130px; object-fit: contain; }
.banner .ring::before { content: ""; position: absolute; width: 4px; height: 22px; left: 50%; top: -3px; transform: translateX(-50%); background: var(--gold); box-shadow: 0 148px 0 var(--gold); border-radius: 2px; }
.banner .ring::after { content: ""; position: absolute; width: 22px; height: 4px; top: 50%; left: -3px; transform: translateY(-50%); background: var(--gold); box-shadow: 148px 0 0 var(--gold); border-radius: 2px; }
.actions { display: flex; align-items: center; gap: 14px; margin: 16px 0 18px; }
.stat { display: inline-flex; flex-direction: column; gap: 4px; min-width: 120px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); }
.stat b { font: 700 18px var(--display); letter-spacing: .02em; color: var(--silver); }
.stat span { font: 700 9.5px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.stats { display: flex; gap: 10px; flex-wrap: wrap; margin: 8px 0 12px; }
.confrow { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 8px; background: var(--surface); margin-top: 10px; }
.confrow .t { flex: 1; min-width: 0; }
.confrow .t b { display: block; font-size: 14px; }
.confrow .meta { color: var(--faint); font-size: 12px; display: flex; gap: 8px; align-items: center; }

/* ---- account, support ---- */
.two { display: grid; grid-template-columns: 330px 1fr; gap: 16px; align-items: start; }
.profile { display: flex; gap: 20px; align-items: center; padding: 8px 0 4px; }
.profile .ring { width: 92px; height: 92px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font: 700 40px var(--display); color: var(--gold); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--gold-deep); }
.profile b { display: block; color: var(--gold); font-size: 14px; }
.profile .l { color: var(--muted); font-size: 13px; line-height: 1.5; }
.guides { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.guide { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; min-height: 148px; background: linear-gradient(#1F1A12, var(--raised) 45%); border: 1px solid var(--border); border-radius: 10px; color: var(--text); }
.guide:hover { border-color: #3a362d; color: var(--text); }
.guide h3 { font-size: 15px; color: var(--gold-light); letter-spacing: .05em; }
.guide p { color: var(--muted); font-size: 13px; flex: 1; }
.guide .meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 12.5px; }
.passage h3 { font-size: 15px; color: var(--gold-light); margin: 22px 0 8px; letter-spacing: .05em; }
.passage p { color: var(--text); max-width: 760px; line-height: 1.6; }
.msgs .row b { flex: 1; font-weight: 600; }
.notice { padding: 12px 14px; border-radius: 8px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font-size: 13px; }
.notice.err { border-color: rgba(217,90,74,.5); color: #E9A79C; }
.notice.ok { border-color: rgba(123,203,110,.5); color: #B7E3AF; }

/* ---- forms ---- */
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
.form textarea.field { height: 140px; padding: 10px 12px; resize: vertical; }
.auth { max-width: 420px; margin: 60px auto; }
.auth .card { padding: 24px 26px 22px; }
.auth h1 { font-size: 22px; color: var(--silver); letter-spacing: .06em; margin-bottom: 4px; }
.auth .sub { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.auth .foot { margin-top: 16px; color: var(--muted); font-size: 12.5px; }

/* ---- main site ---- */
.hero { padding: 90px 28px 60px; text-align: center; }
.hero img.mark { height: 190px; width: auto; }
.hero h1 { font-size: 64px; letter-spacing: .1em; margin: 6px 0 10px; background: linear-gradient(var(--gold-light), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .tag { display: block; background: none; color: var(--muted); font: 400 18px var(--body); text-transform: none; letter-spacing: 0; margin: 0 auto 26px; max-width: 620px; padding: 0; }
.hero .cta { display: flex; justify-content: center; gap: 12px; }
.beasts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.beast-card { display: block; position: relative; padding: 26px 22px 22px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(160deg, #1d1810, #121009 60%); color: var(--text); overflow: hidden; }
.beast-card:hover { border-color: var(--gold-deep); color: var(--text); }
.beast-card .ring { width: 110px; height: 110px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; margin-bottom: 16px; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 25%, transparent), transparent 70%); }
.beast-card .ring img { width: 88px; height: 88px; object-fit: contain; }
.beast-card h3 { font-size: 22px; letter-spacing: .08em; color: var(--gold-light); }
.beast-card .g { color: var(--muted); font-size: 13px; margin: 2px 0 10px; }
.beast-card p { color: var(--muted); font-size: 13.5px; }
.beast-card .more-link { color: var(--gold); font-weight: 600; font-size: 13px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.feature { padding: 18px 18px 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--raised); }
.feature h3 { font-size: 14px; letter-spacing: .06em; color: var(--gold-light); margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 13.5px; margin: 0; }
.block { padding: 40px 28px; }
.block h2 { font-size: 22px; letter-spacing: .08em; color: var(--silver); text-align: center; margin-bottom: 22px; }
.block h2 small { display: block; font: 400 14px var(--body); color: var(--muted); letter-spacing: 0; margin-top: 6px; }
.footer { padding: 30px 28px 40px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; display: flex; gap: 24px; flex-wrap: wrap; align-items: center; }
.footer a { color: var(--muted); } .footer a:hover { color: var(--gold); }
.footer .spacer { flex: 1; }
.faq dt { font-weight: 600; margin-top: 18px; color: var(--gold-light); }
.faq dd { margin: 6px 0 0; color: var(--muted); max-width: 760px; line-height: 1.6; }
.prose { max-width: 760px; color: var(--muted); line-height: 1.65; }
.prose h2 { font-size: 16px; color: var(--gold-light); margin: 22px 0 8px; letter-spacing: .05em; }
.release { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.release .t { flex: 1; } .release .t b { display: block; font-size: 15px; }
.release .t span { color: var(--muted); font-size: 12.5px; }
.badge-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--running); margin-right: 6px; }
@media (max-width: 900px) {
  .shelf, .product, .two, .library { grid-template-columns: 1fr; }
  .beasts { grid-template-columns: 1fr; }
  .hero h1 { font-size: 42px; }
  .showcase { height: 380px; } .showcase .ring { --ring: 280px; } .showcase .ring img { width: 230px; height: 230px; } .showcase .word { display: none; }
  .band { flex-wrap: wrap; height: auto; padding: 12px 16px; gap: 12px; } .band .sort { margin-left: 0; }
  .page, .lib-main { padding: 18px 16px 50px; }
  .crumbs { display: none; }
}

/* ======================================================================
   One site: the header, the cart, the promotional front page
   ====================================================================== */
.ground::after { position: fixed; right: -2vw; bottom: -2vh; width: min(760px, 60vw); opacity: .075; transform: translate3d(0, 0, 0); }
.ground.is-home::after { opacity: .09; }
.top-row { gap: 4px; }
.right-nav { gap: 4px; }
.nav .get { background: linear-gradient(#E8C766, var(--gold) 55%, #C79E3E); color: var(--ink-on-gold) !important; border: 1px solid var(--gold-deep); font-family: var(--body); font-weight: 700; letter-spacing: 0; font-size: 12.5px; padding: 0 14px; }
.nav .get:hover, .nav .get.on { background: linear-gradient(#F1D27C, #E3C15C 55%, #CFA646); box-shadow: 0 0 0 3px rgba(217,178,76,.18); }
.nav .cart-link .count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; margin-left: 6px; border-radius: 9px; background: var(--gold); color: var(--ink-on-gold); font: 700 10px var(--body); }
.burger { display: none; width: 36px; height: 34px; border: 1px solid var(--border); background: var(--raised); color: var(--text); border-radius: 6px; cursor: pointer; font-size: 16px; }
.verified { color: var(--gold); }
.verified .vf { vertical-align: -2px; }
.chip-select { background-image: url("/brand/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 8px center; background-size: 12px; padding-right: 26px; }
.chip-select select { padding-right: 2px; }
.filters .group h3 { cursor: pointer; user-select: none; }
.filters .group.closed .row { display: none; }
.filters .group.closed h3 .chev { transform: rotate(-90deg); }
.filters h3 .chev { transition: transform .15s; }

/* buy buttons */
.buy { display: inline-flex; align-items: center; gap: 8px; }
.buy .btn .price { margin-left: 8px; padding-left: 8px; border-left: 1px solid rgba(36,27,8,.25); font-weight: 600; opacity: .85; }
.buy .btn.wish { width: 36px; padding: 0; font-size: 16px; color: var(--muted); }
.buy .btn.wish:hover { color: #E06C8A; }
.buy .btn.wish.on { color: #E06C8A; border-color: rgba(224,108,138,.4); }
.buy.lg .btn.wish { width: auto; padding: 0 16px; height: 54px; border-radius: 10px; font-size: 14px; font-weight: 600; }
.buy .btn.own { border-color: var(--gold-deep); color: var(--gold); }
.buy .btn.own.shield { background: var(--raised); }
.buy .btn.own.shield small { color: var(--muted); }
.cart-row .t { flex: 1; min-width: 0; }
.cart-row .t b { display: block; }
.cart-row .price-col { min-width: 60px; text-align: right; }
.cart-total { display: flex; justify-content: flex-end; gap: 16px; align-items: baseline; padding: 14px 0 6px; font-size: 18px; }
.cart-total b { font-size: 22px; color: var(--gold-light); font-family: var(--display); }

/* the front page */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 90px 56px 70px; max-width: 1360px; margin: 0 auto; position: relative; }
.hero2::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217,178,76,.10), transparent); pointer-events: none; z-index: -1; }
.hero-copy h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; letter-spacing: .03em; margin: 18px 0 20px; background: linear-gradient(var(--silver), var(--gold-light) 70%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .lead { font-size: 17px; color: var(--muted); max-width: 520px; line-height: 1.55; margin-bottom: 26px; }
.hero-copy .cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-chips { display: flex; gap: 8px; margin-top: 26px; }
.btn.big { height: 54px; padding: 0 26px; border-radius: 10px; font-size: 15px; }
.hero-art { position: relative; min-height: 420px; }
.mock { position: relative; border-radius: 12px; border: 1px solid rgba(217,178,76,.25); background: #0e0d0a; box-shadow: 0 30px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(0,0,0,.6), 0 0 60px rgba(217,178,76,.08); overflow: hidden; transform-style: preserve-3d; }
.mock::before { content: ""; position: absolute; inset: 0; border-radius: 12px; background: linear-gradient(135deg, rgba(255,255,255,.06), transparent 40%); pointer-events: none; z-index: 2; }
.mock img { display: block; width: 100%; height: auto; }
.hero-art .mock { animation: float 7s ease-in-out infinite; }
.hero-art .mock.small { position: absolute; right: var(--dx, -40px); bottom: calc(-1 * var(--dy, 60px)); width: 46%; animation-delay: -3s; animation-duration: 9s; border-color: rgba(217,178,76,.35); }
@keyframes float { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
[data-tilt] { transition: transform .15s ease-out; will-change: transform; }

.ticker { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(17,16,13,.7); padding: 12px 0; margin-top: 40px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker .track { display: flex; align-items: center; gap: 22px; width: max-content; animation: marquee 40s linear infinite; font: 700 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker .gem-dot { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%) } }

.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1100px; margin: 50px auto 0; padding: 0 28px; }
.stat-big { text-align: center; padding: 22px 12px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg, rgba(24,22,19,.9), rgba(17,16,13,.9)); }
.stat-big b { display: block; font: 700 40px var(--display); color: var(--gold-light); letter-spacing: .02em; }
.stat-big span { color: var(--muted); font-size: 13px; }

.features { max-width: 1200px; margin: 0 auto; padding: 70px 28px 20px; display: grid; gap: 70px; }
.feature-row { display: grid; grid-template-columns: 1fr 1.15fr; gap: 50px; align-items: center; }
.feature-row.flip .feature-text { order: 2; }
.feature-text h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: .03em; color: var(--silver); margin: 12px 0 14px; line-height: 1.12; }
.feature-text p { color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 480px; }
.checks { list-style: none; padding: 0; margin: 16px 0 22px; display: grid; gap: 9px; }
.checks li { padding-left: 26px; position: relative; color: var(--text); font-size: 14.5px; }
.checks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.feature-art .mock { transition: transform .15s ease-out; }
.feature-art .mock:hover { border-color: rgba(217,178,76,.45); }

.block-head { text-align: center; max-width: 720px; margin: 0 auto 30px; }
.block-head h2 { font-size: clamp(24px, 3vw, 34px); color: var(--silver); letter-spacing: .04em; margin: 10px 0 8px; }
.showcase-wrap { max-width: 1200px; margin: 0 auto; padding: 80px 28px 30px; }
.showcase-tabs { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.showcase-tabs button { height: 34px; padding: 0 16px; border-radius: 8px; border: 1px solid var(--border); background: var(--raised); color: var(--muted); font: 700 11.5px var(--display); letter-spacing: .06em; cursor: pointer; }
.showcase-tabs button.on { color: var(--gold-light); background: var(--accent-shade); border-color: var(--gold-deep); }
.showcase-stage { aspect-ratio: 14 / 9; position: relative; }
.showcase-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.showcase-stage img.on { opacity: 1; }
.showcase-stage .bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(217,178,76,.15); z-index: 3; }
.showcase-stage .bar i { display: block; height: 100%; width: 0; background: var(--gold); animation: fill 5s linear infinite; }
@keyframes fill { from { width: 0 } to { width: 100% } }

.grid-features { max-width: 1200px; margin: 0 auto; padding: 60px 28px 20px; }
.feature { position: relative; padding: 22px 20px 20px; background: linear-gradient(180deg, rgba(24,22,19,.95), rgba(17,16,13,.95)); transition: transform .15s, border-color .15s; }
.feature:hover { transform: translateY(-3px); border-color: var(--gold-deep); }
.feature .fnum { display: block; font: 700 12px var(--display); color: var(--gold); letter-spacing: .1em; margin-bottom: 10px; }
.feature h3 { font-size: 15px; }

.quotes { max-width: 1200px; margin: 0 auto; padding: 60px 28px 20px; }
.quote-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.quote { margin: 0; padding: 22px 22px 18px; border: 1px solid var(--border); border-radius: 12px; background: var(--raised); display: flex; flex-direction: column; gap: 12px; }
.quote p { color: var(--text); font-size: 14.5px; line-height: 1.6; margin: 0; flex: 1; }
.quote footer { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; }
.quote footer .mono { width: 26px; height: 26px; font-size: 12px; }

.faq-home { max-width: 820px; margin: 0 auto; padding: 60px 28px 20px; }
.acc details { border: 1px solid var(--border); border-radius: 10px; background: var(--raised); margin-bottom: 8px; overflow: hidden; }
.acc summary { cursor: pointer; padding: 14px 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; color: var(--gold); font-size: 18px; }
.acc details[open] summary::after { content: "−"; }
.acc details p { margin: 0; padding: 0 18px 16px; color: var(--muted); line-height: 1.6; }

.final-cta { text-align: center; padding: 90px 28px 80px; position: relative; }
.final-cta .beast-big { height: 150px; width: auto; margin-bottom: 8px; filter: drop-shadow(0 0 40px rgba(217,178,76,.25)); animation: float 8s ease-in-out infinite; }
.final-cta h2 { font-size: clamp(26px, 3.2vw, 40px); color: var(--silver); letter-spacing: .05em; margin-bottom: 8px; }
.final-cta .cta { display: flex; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.feature-row.reveal { transition-delay: .05s; }

.footer { display: block; padding: 0; }
.footer-top { display: grid; grid-template-columns: 1.2fr 2fr; gap: 30px; padding: 40px 28px 26px; max-width: 1200px; margin: 0 auto; }
.footer-brand { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; align-items: center; }
.footer-brand img { height: 30px; grid-row: 1; }
.footer-brand .word { font: 700 18px var(--display); letter-spacing: .06em; color: var(--gold); }
.footer-brand p { grid-column: 1 / -1; margin: 6px 0 0; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.footer-cols h4 { font-size: 11px; letter-spacing: .12em; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; }
.footer-cols a { display: block; color: var(--muted); font-size: 13.5px; padding: 3px 0; }
.footer-cols a:hover { color: var(--gold-light); }
.footer-bottom { display: flex; gap: 16px; padding: 14px 28px 30px; max-width: 1200px; margin: 0 auto; color: var(--faint); font-size: 12.5px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-art .mock, .final-cta .beast-big, .ticker .track, .showcase-stage .bar i { animation: none; }
}
@media (max-width: 980px) {
  .hero2 { grid-template-columns: 1fr; padding: 50px 22px 30px; }
  .hero-art { min-height: 0; margin-top: 30px; }
  .hero-art .mock.small { display: none; }
  .feature-row, .feature-row.flip { grid-template-columns: 1fr; gap: 22px; }
  .feature-row.flip .feature-text { order: 0; }
  .stats-row, .quote-row { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .main-nav, .right-nav { display: none; }
  .burger { display: block; margin-left: auto; }
  .top.open .main-nav, .top.open .right-nav { display: flex; flex-direction: column; align-items: stretch; width: 100%; padding: 6px 0; }
  .top.open .top-row { flex-wrap: wrap; }
  .top.open .spacer { display: none; }
}

/* polish: glows behind the screenshots, section dividers, steps, the trailer */
.mock { border-color: rgba(217,178,76,.32); box-shadow: 0 30px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.6), 0 0 90px rgba(217,178,76,.10); }
.mock:hover { border-color: rgba(217,178,76,.5); }
.feature-art { position: relative; }
.feature-art::before { content: ""; position: absolute; inset: -12% -8%; background: radial-gradient(closest-side, rgba(217,178,76,.14), transparent 70%); z-index: -1; pointer-events: none; }
.hero-art { isolation: isolate; }
.glow-orb { position: absolute; border-radius: 50%; filter: blur(60px); z-index: -1; pointer-events: none; opacity: .55; animation: drift 14s ease-in-out infinite; }
.glow-orb.a { width: 360px; height: 360px; right: -80px; top: -120px; background: rgba(217,178,76,.35); }
.glow-orb.b { width: 300px; height: 300px; left: -60px; bottom: -80px; background: rgba(165,126,42,.35); animation-delay: -7s; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) } 50% { transform: translate(-20px, 18px) } }
.rule.divider { max-width: 1200px; margin: 30px auto 0; opacity: .6; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.how { max-width: 1200px; margin: 0 auto; padding: 70px 28px 40px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { position: relative; padding: 26px 22px 22px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg, rgba(24,22,19,.95), rgba(17,16,13,.95)); transition: transform .15s, border-color .15s; }
.step:hover { transform: translateY(-3px); border-color: var(--gold-deep); }
.step .num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold); font: 700 15px var(--display); margin-bottom: 14px; box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--gold-deep); }
.step h3 { font-size: 15px; letter-spacing: .06em; color: var(--gold-light); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 13.5px; }
.step a { font-weight: 600; font-size: 13px; }
.trailer { max-width: 1000px; margin: 0 auto; padding: 60px 28px 20px; }
.poster { aspect-ratio: 16 / 9; }
.poster img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.poster .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; border: 2px solid var(--gold); background: rgba(12,11,9,.7); cursor: pointer; z-index: 3; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(217,178,76,.12), 0 0 60px rgba(217,178,76,.25); animation: pulse 2.6s ease-in-out infinite; }
.poster .play span { width: 0; height: 0; border-left: 26px solid var(--gold-light); border-top: 15px solid transparent; border-bottom: 15px solid transparent; margin-left: 6px; }
.poster-note { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 3; color: var(--muted); font-size: 12.5px; background: rgba(12,11,9,.7); padding: 4px 10px; border-radius: 6px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 10px rgba(217,178,76,.12), 0 0 60px rgba(217,178,76,.25) } 50% { box-shadow: 0 0 0 18px rgba(217,178,76,.06), 0 0 80px rgba(217,178,76,.35) } }
@media (prefers-reduced-motion: reduce) { .glow-orb, .poster .play { animation: none; } }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr; } }

/* ======================================================================
   The platform: the splash, the pitch sections, plans, checkout, the
   developer portal, the admin rooms, the forum
   ====================================================================== */
.splash { position: relative; min-height: calc(100vh - 63px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px 24px 70px; overflow: hidden; }
.splash-glow { position: absolute; left: 50%; top: 42%; width: min(1100px, 120vw); height: min(1100px, 120vw); transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(217,178,76,.16), rgba(217,178,76,.05) 45%, transparent 70%); pointer-events: none; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: translate(-50%, -50%) scale(1) } 50% { transform: translate(-50%, -50%) scale(1.06) } }
.splash-logo { position: relative; width: min(760px, 88vw); height: auto; filter: drop-shadow(0 0 50px rgba(217,178,76,.25)); animation: float 9s ease-in-out infinite; }
.splash-lines { position: relative; max-width: 820px; margin-top: 6px; }
.splash-lines h1 { font-size: clamp(30px, 4.4vw, 52px); letter-spacing: .05em; line-height: 1.1; background: linear-gradient(var(--silver), var(--gold-light) 70%, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 14px; }
.splash-lines .line { font: 600 clamp(17px, 2vw, 22px)/1.4 var(--body); color: var(--text); margin: 0 0 4px; }
.splash-lines .sub { color: var(--muted); font-size: 15.5px; max-width: 640px; margin: 14px auto 0; line-height: 1.55; }
.splash-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; justify-content: center; }
.splash-stat { margin-top: 26px; color: var(--muted); font-size: 14px; }
.splash-stat b { color: var(--gold-light); font-family: var(--display); font-size: 18px; }
.splash-more { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: var(--gold); font-size: 20px; animation: nudge 2s ease-in-out infinite; }
@keyframes nudge { 0%, 100% { transform: translate(-50%, 0) } 50% { transform: translate(-50%, 6px) } }
.pitch { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 80px 28px 40px; }
.pitch.flip .pitch-text { order: 2; }
.pitch-text h2 { font-size: clamp(28px, 3.2vw, 40px); color: var(--silver); letter-spacing: .03em; line-height: 1.1; margin: 12px 0 14px; }
.pitch-text > p { color: var(--muted); font-size: 15.5px; line-height: 1.65; max-width: 540px; }
.icon-list { list-style: none; padding: 0; margin: 18px 0 22px; display: grid; gap: 14px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; }
.icon-list b { display: block; font-size: 14.5px; margin-bottom: 2px; }
.icon-list span:not(.ico) { color: var(--muted); font-size: 13.5px; line-height: 1.5; }
.ico { flex: none; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--gold-deep); background: linear-gradient(160deg, #2a2010, #14110c); display: grid; place-items: center; }
.ico svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ico.big { width: 46px; height: 46px; margin-bottom: 12px; }
.ico.big svg { width: 24px; height: 24px; }
.pitch-art { position: relative; }
.pitch-art::before { content: ""; position: absolute; inset: -12% -8%; background: radial-gradient(closest-side, rgba(217,178,76,.14), transparent 70%); z-index: -1; pointer-events: none; }
.feature-grid.tight { grid-template-columns: repeat(2, 1fr); gap: 12px; }
.feature-grid.tight .feature h3 { font-size: 13.5px; }
.price-art { display: grid; place-items: center; }
.price-card { width: min(360px, 100%); padding: 26px 26px 22px; border: 1px solid var(--gold-deep); border-radius: 14px; background: linear-gradient(180deg, #221a0e, #14110c 70%); box-shadow: 0 30px 80px rgba(0,0,0,.5), 0 0 60px rgba(217,178,76,.12); text-align: center; }
.price-card b { display: block; font: 700 54px/1 var(--display); color: var(--gold-light); margin: 10px 0 4px; }
.price-card .checks { text-align: left; margin: 18px 0 20px; }
.final-cta .cta.secondary { margin-top: 14px; }
.final-cta .cta.secondary .btn { height: 40px; }
.chip.lite { position: absolute; right: 12px; bottom: 12px; color: var(--gold); font-weight: 700; }

/* plans and checkout */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 900px; margin: 0 auto; }
.plan { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 18px 22px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(24,22,19,.95), rgba(17,16,13,.95)); cursor: pointer; text-align: center; }
.plan input { position: absolute; opacity: 0; }
.plan b { font: 700 40px/1 var(--display); color: var(--gold-light); margin: 6px 0 2px; }
.plan:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,178,76,.18), 0 20px 50px rgba(0,0,0,.4); transform: translateY(-2px); }
.plan.best { border-color: var(--gold-deep); }
.plan .tag { margin-top: 6px; }
.plan-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.check { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; }
.methods { display: grid; gap: 8px; }
.method { display: flex; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; }
.method:has(input:checked) { border-color: var(--gold); background: var(--accent-shade); }
.method.off { opacity: .6; }
.method input { accent-color: var(--gold); }
.method b { display: block; font-size: 14px; }
.bundle .name { color: var(--gold-light); font-family: var(--display); font-size: 16px; }
.codes { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.codes code { padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--gold-light); font-size: 14px; text-align: center; }
.qr-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.qr { width: 200px; height: 200px; padding: 8px; border-radius: 10px; background: var(--bg); border: 1px solid var(--gold-deep); }
.qr svg { width: 100%; height: 100%; }
.secret { display: inline-block; margin-top: 6px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); color: var(--gold-light); letter-spacing: .1em; }
.gift-box { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.profile .ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* the portal, the admin, forms */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.checks-row { display: flex; gap: 14px; height: 36px; align-items: center; }
.form .grid2 label { display: grid; }
.row-form { display: flex; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.row-form .field { width: auto; flex: 1; min-width: 140px; }
.admin-nav { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.admin-nav a { padding: 6px 12px; border-radius: 6px; color: var(--muted); font: 700 11.5px var(--display); letter-spacing: .06em; }
.admin-nav a:hover { background: var(--hover); color: var(--text); }
.admin-nav a.on { background: var(--accent-shade); color: var(--gold-light); }
.dev-head { display: flex; gap: 22px; align-items: flex-start; }
.ring.big { flex: none; width: 110px; height: 110px; border-radius: 50%; border: 2px solid var(--gold); display: grid; place-items: center; font: 700 44px var(--display); color: var(--gold); box-shadow: inset 0 0 0 3px var(--surface), inset 0 0 0 4px var(--gold-deep); overflow: hidden; }
.ring.big img { width: 100%; height: 100%; object-fit: cover; }
.dev-meta h1 { font-size: 30px; color: var(--gold-light); letter-spacing: .04em; display: flex; align-items: center; gap: 10px; }

/* the forum */
.forum-page { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; max-width: 1200px; margin: 0 auto; }
.forum-side h3 { font: 700 11.5px var(--display); letter-spacing: .1em; color: var(--gold); margin: 20px 0 8px 10px; }
.board-link { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 6px; color: var(--text); font-size: 13.5px; }
.board-link:hover { background: var(--hover); color: var(--gold-light); }
.board-link.on { background: var(--accent-shade); color: var(--gold-light); }
.board-link .n { color: var(--faint); font-size: 12px; }
.forum-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 14px; }
.forum-head h1 { font-size: 26px; color: var(--silver); letter-spacing: .04em; }
.sorts { display: flex; gap: 4px; }
.sorts a { padding: 6px 12px; border-radius: 6px; color: var(--muted); font: 700 11.5px var(--display); letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--border); }
.sorts a.on { background: var(--accent-shade); color: var(--gold-light); border-color: var(--gold-deep); }
.posts { display: grid; gap: 8px; }
.post-row, .post-full { display: flex; gap: 14px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--raised); }
.post-row:hover { border-color: #3a362d; }
.votes { display: flex; flex-direction: column; align-items: center; gap: 2px; width: 40px; flex: none; }
.votes button { border: 0; background: none; color: var(--faint); font-size: 14px; cursor: pointer; padding: 2px 6px; border-radius: 4px; line-height: 1; }
.votes button:hover { color: var(--gold); background: var(--hover); }
.votes button.on { color: var(--gold); }
.votes b { font-size: 13px; color: var(--text); }
.votes.small { width: 30px; }
.votes.small button { font-size: 11px; }
.post-body { flex: 1; min-width: 0; }
.post-title { font-weight: 600; font-size: 15.5px; color: var(--text); }
.post-title:hover { color: var(--gold-light); }
.post-meta { color: var(--muted); font-size: 12.5px; margin-top: 4px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.post-meta a { color: var(--muted); }
.post-meta a:hover { color: var(--gold); }
.post-full h1 { font-size: 24px; letter-spacing: .03em; color: var(--silver); font-family: var(--display); }
.post-full .text, .comment .text { margin-top: 10px; line-height: 1.6; }
.post-full .text p, .comment .text p { margin: 0 0 .6em; }
.comment-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; font-size: 12.5px; }
.comment-actions .btn.link { height: 26px; font-size: 12.5px; padding: 0 4px; }
.reply summary { cursor: pointer; color: var(--muted); font-size: 12.5px; list-style: none; }
.reply summary::-webkit-details-marker { display: none; }
.reply summary:hover { color: var(--gold); }
.reply form { margin-top: 8px; }
.comments { display: grid; gap: 6px; margin-top: 10px; }
.comment { display: flex; gap: 10px; padding: 10px 12px; border-left: 2px solid var(--line); }
.comment .comment-body { flex: 1; min-width: 0; }
.children { margin-top: 10px; }
.pager { display: flex; gap: 6px; margin-top: 16px; }
.pager a { padding: 6px 10px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); }
.pager a.on { color: var(--gold-light); border-color: var(--gold-deep); background: var(--accent-shade); }
@media (max-width: 980px) {
  .pitch, .pitch.flip { grid-template-columns: 1fr; gap: 26px; padding: 50px 22px 20px; }
  .pitch.flip .pitch-text { order: 0; }
  .plan-grid { grid-template-columns: 1fr; }
  .forum-page { grid-template-columns: 1fr; }
  .grid2 { grid-template-columns: 1fr; }
  .feature-grid.tight { grid-template-columns: 1fr; }
  .splash { min-height: 0; padding: 30px 18px 60px; }
}

/* a flat splash for full-page captures */
body.flat .splash { min-height: 0; padding-top: 40px; }

/* ======================================================================
   Controls with some life in them: menus, switches, tabs, folding
   sections, motion
   ====================================================================== */
.dd { position: relative; }
.dd-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border: 0; background: none; border-radius: 5px; color: var(--muted); font: 700 11.5px/1 var(--display); letter-spacing: .04em; cursor: pointer; white-space: nowrap; }
.dd-btn:hover, .dd.open .dd-btn { color: var(--text); background: rgba(217,178,76,.10); }
.dd-btn.on { color: var(--gold-light); background: rgba(217,178,76,.16); }
.dd-btn .caret { font-size: 9px; opacity: .7; transition: transform .2s; }
.dd.open .dd-btn .caret { transform: rotate(180deg); }
.dd-btn.account { gap: 8px; padding-left: 6px; }
.dd-btn .mono { overflow: hidden; }
.dd-btn .mono img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.dd-menu { position: absolute; left: 0; top: 36px; min-width: 220px; padding: 6px; background: var(--raised); border: 1px solid var(--border); border-radius: 10px; box-shadow: 0 18px 40px rgba(0,0,0,.55); opacity: 0; transform: translateY(-6px) scale(.98); pointer-events: none; transition: opacity .16s ease, transform .16s ease; z-index: 30; }
.dd.right .dd-menu { left: auto; right: 0; }
.dd.open .dd-menu { opacity: 1; transform: none; pointer-events: auto; }
.dd-menu a, .dd-menu button { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 8px 10px; border: 0; background: none; border-radius: 6px; color: var(--text); font: 500 13px var(--body); letter-spacing: 0; text-align: left; cursor: pointer; }
.dd-menu a small, .dd-menu .dd-head small { color: var(--faint); font-size: 11.5px; }
.dd-menu a:hover, .dd-menu button:hover { background: var(--hover); color: var(--gold-light); }
.dd-menu form { margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--line); }
.dd-head { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.dd-head b { display: block; color: var(--gold-light); font-size: 13.5px; }

.switch { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; user-select: none; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch .knob { position: relative; flex: none; width: 42px; height: 24px; border-radius: 12px; background: var(--border); border: 1px solid #3a362d; transition: background .2s, border-color .2s; }
.switch .knob::after { content: ""; position: absolute; left: 2px; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #d5cdbf, #8a8274 70%); box-shadow: 0 1px 3px rgba(0,0,0,.6); transition: transform .2s cubic-bezier(.4, 1.6, .5, 1), background .2s; }
.switch input:checked + .knob { background: var(--accent-shade); border-color: var(--gold-deep); }
.switch input:checked + .knob::after { transform: translateX(18px); background: radial-gradient(circle at 35% 35%, var(--gold-light), var(--gold) 55%, var(--gold-deep)); }
.switch input:focus-visible + .knob { box-shadow: 0 0 0 3px rgba(217,178,76,.25); }
.switch .lbl { display: flex; flex-direction: column; font-size: 13.5px; color: var(--text); }
.switch .lbl small { color: var(--faint); font-size: 12px; }
.switches { display: grid; gap: 12px; margin: 4px 0 6px; }

.tabs { display: flex; gap: 4px; padding: 4px; margin-bottom: 18px; border: 1px solid var(--border); border-radius: 10px; background: var(--raised); width: max-content; max-width: 100%; overflow: auto; }
.tabs a { padding: 8px 16px; border-radius: 7px; color: var(--muted); font: 700 11.5px var(--display); letter-spacing: .08em; white-space: nowrap; transition: background .15s, color .15s; }
.tabs a:hover { color: var(--text); background: var(--hover); }
.tabs a.on { color: var(--gold-light); background: var(--accent-shade); box-shadow: inset 0 0 0 1px var(--gold-deep); }
.tab-panel { animation: enter .35s ease both; }

.section > h2, .card > h2 { cursor: pointer; }
.section > h2 .chev, .card > h2 .chev { transition: transform .2s; }
.section.closed > h2 .chev { transform: rotate(-90deg); }
.section.closed > *:not(h2) { display: none !important; }
.section.danger { border-color: rgba(217,90,74,.45); }
.section.danger > h2::before { background: var(--danger); }
.section.danger > h2::after { background: linear-gradient(90deg, rgba(217,90,74,.7), var(--line) 60%); }
.receipt > h2 { display: flex; }

.table { display: grid; gap: 0; }
.table .tr { display: grid; grid-template-columns: 70px 100px 1fr 90px 90px 90px 70px; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; }
.table .tr.th { color: var(--gold); font: 700 10.5px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.table .tr:not(.th):hover { background: rgba(217,178,76,.04); }
.shot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 10px; }
.shot-cell { position: relative; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; background: var(--surface); }
.shot-cell img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.shot-cell form { position: absolute; right: 4px; top: 4px; }
.showcase .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.showcase.showing-shot .ring, .showcase.showing-shot .word, .showcase.showing-shot .beast { visibility: hidden; }
.thumbs div { cursor: pointer; overflow: hidden; transition: border-color .15s, transform .15s; }
.thumbs div img { width: 100%; height: 100%; object-fit: cover; }
.thumbs div:hover { border-color: var(--gold-deep); transform: translateY(-1px); }
.errcard { text-align: center; }
.errcard img { height: 90px; width: auto; opacity: .9; filter: drop-shadow(0 0 20px rgba(217,178,76,.2)); }
.errcard h1 { font-size: 44px; margin-top: 6px; }
.auth .form label small { display: block; margin-top: -2px; }
.auth .switches { margin: 6px 0 10px; }

/* motion */
@keyframes enter { from { opacity: 0; transform: translateY(10px) } to { opacity: 1; transform: none } }
.page, .forum-page, .lib-main, .block { animation: enter .4s ease both; }
.tiles > *, .cards > *, .posts > *, .guides > *, .steps > *, .stats > *, .plan-grid > .plan { animation: enter .5s ease both; animation-delay: calc(var(--i, 0) * 45ms); }
.rows .row { transition: background .15s; }
.rows .row:hover { background: rgba(217,178,76,.035); }
.btn { transition: background .15s, border-color .15s, box-shadow .15s, transform .1s; }
.btn:active { transform: translateY(1px) scale(.99); }
.nav a { position: relative; }
.nav a.on::after { animation: grow .25s ease both; }
@keyframes grow { from { transform: scaleX(0) } to { transform: scaleX(1) } }
.rule::before { background: linear-gradient(90deg, var(--gold-deep), var(--gold) 30%, var(--gold-light) 34%, var(--gold) 38%, var(--line) 100%); background-size: 200% 100%; animation: shimmer 9s linear infinite; }
@keyframes shimmer { from { background-position: 100% 0 } to { background-position: -100% 0 } }
.nav .cart-link .count { animation: pop .45s cubic-bezier(.4, 1.8, .5, 1) both; }
@keyframes pop { from { transform: scale(.4); opacity: 0 } to { transform: none; opacity: 1 } }
.notice { animation: enter .35s ease both; }
.tile:hover .ring { transform: scale(1.04); }
.tile .ring { transition: transform .2s ease; }
.ccard { transition: transform .15s, border-color .15s; }
.ccard:hover { transform: translateY(-2px); border-color: #3a362d; }
.field { transition: border-color .15s, box-shadow .15s; }
.stat { transition: transform .15s, border-color .15s; }
.stat:hover { transform: translateY(-2px); border-color: var(--gold-deep); }
@media (prefers-reduced-motion: reduce) {
  .page, .forum-page, .lib-main, .block, .tiles > *, .cards > *, .posts > *, .guides > *, .steps > *, .stats > *, .plan-grid > .plan, .tab-panel, .notice, .nav .cart-link .count { animation: none; }
  .rule::before { animation: none; }
}
@media (max-width: 980px) {
  .table .tr { grid-template-columns: 1fr 1fr; }
  .table .tr.th { display: none; }
  .dd-menu { position: static; opacity: 1; transform: none; pointer-events: auto; box-shadow: none; border: 0; padding: 0 0 0 12px; display: none; }
  .dd.open .dd-menu { display: block; }
  .top.open .main-nav .dd, .top.open .right-nav .dd { width: 100%; }
}

/* small fixes from the captures */
.profile .ring { flex: none; overflow: hidden; }
.thumbs div[data-shot=""] { display: grid; place-items: center; }
.thumbs div[data-shot=""] img { width: auto; height: 52px; object-fit: contain; }

/* ======================================================================
   Consistency with the app: inputs, buttons, switches and menus drawn
   the way the launcher draws them; a phone-sized header that works
   ====================================================================== */
input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]), textarea, select { display: block; width: 100%; padding: 8px 12px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s; }
input:focus, textarea:focus, select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,178,76,.12); }
input::placeholder, textarea::placeholder { color: var(--faint); }
textarea { min-height: 80px; resize: vertical; line-height: 1.45; }
select { appearance: none; padding-right: 32px; background-image: url("/brand/icons/chevron-down.svg"); background-repeat: no-repeat; background-position: right 10px center; background-size: 14px; cursor: pointer; }
select option { background: var(--raised); color: var(--text); }
input[type=color] { width: 100%; height: 38px; padding: 3px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
input[type=file] { padding: 6px; cursor: pointer; color: var(--muted); }
input[type=file]::file-selector-button { margin-right: 12px; padding: 6px 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--raised); color: var(--text); font: 600 12.5px var(--body); cursor: pointer; transition: background .15s, border-color .15s; }
input[type=file]::file-selector-button:hover { background: var(--hover); border-color: var(--faint); }
.field, .field.plain { background: var(--surface); border-color: var(--border); }
.field:focus, .field.plain:focus { border-color: var(--accent); }
.band .search input, .field.search { border-color: var(--gold-deep); background: var(--bg); }
.form label { color: var(--muted); font-size: 12.5px; }
.form label small { color: var(--faint); font-size: 12px; }
.row-form input { width: auto; flex: 1; min-width: 140px; }
.btn { background: var(--raised); border-color: var(--border); font-weight: 600; }
.btn:hover { background: var(--hover); border-color: var(--faint); }
.btn.danger { background: var(--danger); border-color: var(--danger); color: #2a0b09; font-weight: 700; }
.btn.danger:hover { background: #e8705a; border-color: #e8705a; color: #2a0b09; }
.btn.link.danger { background: none; border-color: transparent; color: var(--danger); font-weight: 500; }
.btn.link.danger:hover { background: var(--hover); color: #e8705a; }
.switch .knob { width: 44px; height: 22px; border-radius: 11px; background: var(--border); border: 0; }
.switch .knob::after { left: 3px; top: 3px; width: 16px; height: 16px; background: var(--muted); box-shadow: 0 1px 2px rgba(0,0,0,.5); }
.switch input:checked + .knob { background: var(--gold); border: 0; }
.switch input:checked + .knob::after { transform: translateX(22px); background: var(--silver); }
.switch:hover .knob { filter: brightness(1.1); }

.dd-menu { border-color: var(--gold-deep); padding: 6px; }
.dd-menu a, .dd-menu button { padding: 8px 22px 8px 14px; font-size: 13.5px; }
.dd-menu a:hover, .dd-menu button:hover, .dd-menu a:focus-visible { background: var(--accent-shade); color: var(--gold-light); outline: none; }
.dd-menu form { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 4px; }
.dd-btn .caret { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.dd.open .dd-btn .caret { transform: rotate(-135deg) translateY(-2px); }
.dd.right .dd-menu { right: 0; left: auto; }


.profile { align-items: center; }
.profile .who { min-width: 0; }
.actions { flex-wrap: wrap; }
.cta.secondary { flex-wrap: wrap; }

/* the phone header: a burger and a panel, no menus to fight with */
.burger { display: none; width: 40px; height: 36px; border: 1px solid var(--border); border-radius: 6px; background: var(--raised); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 2px; background: var(--gold); border-radius: 1px; transition: transform .2s, opacity .2s; }
.top.open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.top.open .burger span:nth-child(2) { opacity: 0; }
.top.open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
@media (max-width: 980px) {
  .top-row { height: 56px; padding: 0 12px; }
  .main-nav, .right-nav, .top.open .main-nav, .top.open .right-nav { display: none !important; }
  .burger { display: flex; margin-left: auto; }
  .mobile-menu { display: grid; position: absolute; left: 0; right: 0; top: 65px; padding: 10px 12px 16px; background: var(--raised); border-bottom: 1px solid var(--gold-deep); box-shadow: 0 20px 40px rgba(0,0,0,.5); z-index: 25; }
  .mobile-menu[hidden] { display: none; }
  .mobile-menu a, .mobile-menu button { display: block; width: 100%; padding: 12px 10px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--text); font: 700 13px var(--display); letter-spacing: .06em; text-align: left; cursor: pointer; }
  .mobile-menu a.on { color: var(--gold-light); }
  .mobile-menu a.strong { color: var(--ink-on-gold); background: var(--gold); border-radius: 6px; margin-top: 8px; text-align: center; }
  .mobile-menu form { margin-top: 4px; }
  .top { position: sticky; }
  .band .sort { width: 100%; }
  .splash-lines h1 { font-size: 28px; }
  .splash-cta .btn.shield { min-width: 0; width: 100%; }
  .final-cta .cta .btn, .final-cta .cta.secondary .btn { width: 100%; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .tile { width: auto; }
  .actionbar { flex-wrap: wrap; position: static; }
  .buy.lg { width: 100%; }
  .buy.lg .btn.shield { flex: 1; }
  .forum-head { flex-direction: column; align-items: stretch; }
  .forum-search input { width: 100%; }
  .two { grid-template-columns: 1fr; }
  .footer-top { padding: 30px 16px 20px; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .page { padding: 18px 14px 50px; }
  .wrap { max-width: none; }
}

/* the plans, with some life */
.plan { transition: transform .2s ease, border-color .2s, box-shadow .2s; overflow: hidden; }
.plan::after { content: ""; position: absolute; top: 0; left: -80%; width: 60%; height: 100%; background: linear-gradient(105deg, transparent, rgba(241,210,124,.10), transparent); transform: skewX(-20deg); transition: left .6s ease; pointer-events: none; }
.plan:hover { transform: translateY(-4px); border-color: var(--gold-deep); }
.plan:hover::after { left: 120%; }
.plan:has(input:checked) { animation: chosen 2.6s ease-in-out infinite; }
@keyframes chosen { 0%, 100% { box-shadow: 0 0 0 3px rgba(217,178,76,.18), 0 20px 50px rgba(0,0,0,.4) } 50% { box-shadow: 0 0 0 6px rgba(217,178,76,.10), 0 0 60px rgba(217,178,76,.22), 0 20px 50px rgba(0,0,0,.4) } }
.plan b { transition: transform .2s; }
.plan:has(input:checked) b { transform: scale(1.06); }
.plan .eyebrow { transition: color .2s; }
.trial-row { display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.trial-row .row-form { border: 0; padding: 0; margin: 0; }
@media (prefers-reduced-motion: reduce) { .plan:has(input:checked) { animation: none; } .plan::after { display: none; } }

/* the forum, fuller */
.forum-search input { width: 220px; height: 34px; }
.ranges { display: flex; gap: 4px; margin: -6px 0 12px; }
.ranges a { padding: 4px 10px; border-radius: 6px; color: var(--muted); font-size: 12.5px; border: 1px solid transparent; }
.ranges a.on { color: var(--gold-light); border-color: var(--gold-deep); background: var(--accent-shade); }
.board-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 18px; }
.board-card { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: linear-gradient(180deg, rgba(24,22,19,.95), rgba(17,16,13,.95)); color: var(--text); transition: transform .15s, border-color .15s; }
.board-card:hover { transform: translateY(-2px); border-color: var(--gold-deep); color: var(--text); }
.board-card b { font: 700 13px var(--display); letter-spacing: .06em; color: var(--gold-light); }
.flairs { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 10px; }
.flair { display: inline-block; padding: 2px 8px; border-radius: 4px; font: 700 10px var(--body); letter-spacing: .06em; text-transform: uppercase; border: 1px solid transparent; }
.flair.flair-discussion { color: #6CC4E8; background: rgba(108,196,232,.12); }
.flair.flair-question { color: #E08A3C; background: rgba(224,138,60,.12); }
.flair.flair-guide { color: #7BCB6E; background: rgba(123,203,110,.12); }
.flair.flair-release { color: var(--gold); background: rgba(217,178,76,.12); }
.flair.flair-bug { color: var(--danger); background: rgba(217,90,74,.12); }
.flair.on { border-color: currentColor; }
@media (max-width: 980px) { .forum-side { order: 2; } .forum-side .btn.wide { display: none; } .forum-head { gap: 10px; } }
.badge { display: inline-block; padding: 2px 8px; border-radius: 4px; font: 700 10px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.badge.pin { color: var(--gold-light); background: var(--accent-shade); }
.badge.lock { color: var(--muted); background: var(--surface); border: 1px solid var(--border); }
.post-row.pinned, .post-full.pinned { border-color: var(--gold-deep); }
.post-line { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ava { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--gold-deep); display: grid; place-items: center; overflow: hidden; color: var(--gold); font: 700 13px var(--body); background: var(--surface); }
.ava img { width: 100%; height: 100%; object-fit: cover; }
.ava.small { width: 22px; height: 22px; font-size: 10px; margin-right: 4px; }
.side-stats { display: grid; gap: 4px; padding: 0 10px; color: var(--muted); font-size: 12.5px; }
.side-stats b { color: var(--text); }
.text blockquote { margin: 6px 0; padding: 6px 12px; border-left: 3px solid var(--gold-deep); background: rgba(217,178,76,.05); color: var(--muted); }
.text code { padding: 1px 5px; border-radius: 4px; background: var(--surface); border: 1px solid var(--line); font-size: 12.5px; }
.text pre { padding: 10px 12px; border-radius: 6px; background: var(--surface); border: 1px solid var(--line); overflow: auto; font-size: 12.5px; }
.text ul { margin: 6px 0; padding-left: 20px; }
.text a { text-decoration: underline; text-decoration-color: rgba(217,178,76,.4); }

.phone-only { display: none; }
@media (max-width: 980px) { .phone-only { display: inline-flex; } }

/* the rule as the app draws it: seven pixels, a gold line, a hook per five */
.rule { height: 7px; }
.rule::after { top: 1px; bottom: 1px; background-position: left top; }
.rule.divider { height: 7px; }
/* the app's ghost "Clear all" */
.filters h2 a { display: inline-flex; align-items: center; height: 26px; padding: 3px 8px; border-radius: 6px; color: var(--muted); font: 500 12.5px var(--body); }
.filters h2 a:hover { background: var(--hover); color: var(--text); }
/* the portal, cleaner */
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 18px; }
.portal-head h1 { font-size: 28px; color: var(--silver); letter-spacing: .04em; margin: 6px 0 6px; }
.portal-head .actions { margin: 0; }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.portal-form .stack { display: grid; gap: 10px; align-content: start; }
.steps-bar { display: flex; gap: 6px; margin-bottom: 16px; }
.steps-bar span { flex: 1; padding: 8px 12px; border-radius: 8px; border: 1px solid var(--border); background: var(--raised); color: var(--faint); font: 700 11px var(--display); letter-spacing: .08em; text-align: center; }
.steps-bar span.on { color: var(--gold-light); border-color: var(--gold-deep); background: var(--accent-shade); }
.steps-bar span.done { color: var(--running); border-color: rgba(123,203,110,.35); }
.upload-list { display: grid; gap: 8px; }
.upload-row { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); color: var(--text); transition: border-color .15s, transform .15s; }
.upload-row:hover { border-color: var(--gold-deep); transform: translateY(-1px); color: var(--text); }
.upload-row .disc { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold-deep); display: grid; place-items: center; overflow: hidden; background: #1c1813; }
.upload-row .disc img { width: 30px; height: 30px; object-fit: contain; }
.upload-row .t { flex: 1; min-width: 0; display: grid; }
.upload-row .t b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.state { display: inline-block; padding: 3px 9px; border-radius: 5px; font: 700 10px var(--body); letter-spacing: .08em; text-transform: uppercase; background: var(--surface); border: 1px solid var(--border); color: var(--muted); }
.state.published { color: var(--running); border-color: rgba(123,203,110,.4); }
.state.review { color: var(--gold); border-color: var(--gold-deep); }
.state.rejected, .state.flagged, .state.removed { color: var(--danger); border-color: rgba(217,90,74,.4); }
.state-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.status-card.review { border-color: var(--gold-deep); }
.status-card.published { border-color: rgba(123,203,110,.35); }
.mark-row { display: flex; gap: 14px; align-items: flex-start; }
.mark-row .ring { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 1.5px solid var(--gold-deep); display: grid; place-items: center; overflow: hidden; background: #1c1813; }
.mark-row .ring img { width: 54px; height: 54px; object-fit: contain; }
.mark-row .form { flex: 1; }
.empty { display: flex; align-items: center; gap: 14px; }
.empty p { margin: 0; }
@media (max-width: 980px) { .portal-grid { grid-template-columns: 1fr; } .steps-bar { flex-direction: column; } }

.portal-form .grid2 > label { align-content: start; }
.portal-form .grid2 > label textarea { min-height: 150px; }

/* the sort control: the label and a select that is its own width */
.band .sort { display: flex; align-items: center; }
.sort-pick { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; cursor: pointer; }
.sort-pick select { display: inline-block; width: auto; min-width: 170px; height: 32px; padding: 0 30px 0 12px; background-color: var(--raised); border: 1px solid var(--border); border-radius: 6px; color: var(--text); font-weight: 600; font-size: 13px; }
.sort-pick select:hover { border-color: var(--faint); }
.sort-pick select:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(217,178,76,.12); }
.chip-select { display: none; }

/* the three tiers */
.period-switch { display: flex; justify-content: center; width: max-content; margin: 0 auto 18px; border: 1px solid var(--gold-deep); border-radius: 8px; overflow: hidden; background: rgba(0,0,0,.25); }
.period-switch button { display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 18px; background: none; border: 0; color: var(--muted); font: 600 13px/1 var(--body); cursor: pointer; transition: background .15s, color .15s; }
.period-switch button + button { border-left: 1px solid var(--gold-deep); }
.period-switch button small { font-size: 11px; color: var(--gold); }
.period-switch button.on { background: var(--gold); color: #0C0B09; }
.period-switch button.on small { color: #0C0B09; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: start; }
.tier { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 22px 22px; border: 1px solid var(--border); border-radius: 14px; background: linear-gradient(180deg, rgba(24,22,19,.95), rgba(17,16,13,.95)); animation: rise .5s ease both; animation-delay: calc(var(--i, 0) * 90ms); }
.tier.best { border-color: var(--gold-deep); box-shadow: 0 0 0 3px rgba(217,178,76,.12), 0 24px 60px rgba(0,0,0,.45); }
.tier > .tag { position: absolute; top: 14px; right: 14px; }
.tier .price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.tier .price b { font: 700 40px/1 var(--display); color: var(--gold-light); }
.tier .price s { color: var(--muted); font-size: 15px; }
.tier .per { color: var(--muted); font-size: 13px; }
.tier .save { min-height: 18px; color: var(--gold); font-size: 13px; font-weight: 600; }
.tier .checks { margin: 4px 0 2px; }
.tier .picker { display: flex; flex-direction: column; gap: 8px; margin: 6px 0 2px; }
.tier .pick { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; transition: border-color .15s; }
.tier .pick:hover { border-color: var(--faint); }
.tier .pick:has(input:checked), .tier .pick.running { border-color: var(--gold-deep); }
.tier .pick .ring { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--accent, var(--gold-deep)); display: grid; place-items: center; overflow: hidden; background: #0C0B09; }
.tier .pick .ring img { width: 30px; height: 30px; }
.tier .pick .t { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.tier .pick .t b { font-size: 13px; }
.tier .pick .t span { font-size: 12px; color: var(--muted); }
.tier .pick .switch .knob { margin: 0; }
.tier .total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--border); }
.tier .total b { font: 700 22px/1 var(--display); color: var(--gold-light); }
.tier-foot { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.btn.wide { width: 100%; justify-content: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stack { display: grid; gap: 10px; align-content: start; }
.price-card .tier-rows { display: grid; gap: 8px; margin: 14px 0 6px; text-align: left; }
.price-card .tier-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.price-card .tier-row span { font: 600 13px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; color: var(--gold); }
.price-card .tier-row b { display: flex; align-items: baseline; gap: 6px; margin: 0; font: 700 22px/1 var(--display); color: var(--gold-light); }
.price-card .tier-row b small { font: 500 11px/1 var(--body); color: var(--muted); }
@media (max-width: 900px) { .tiers, .grid3 { grid-template-columns: 1fr; } .period-switch { width: 100%; } .period-switch button { flex: 1; justify-content: center; } }
