:root {
  --bg: #0c0c0e;
  --surface: #161618;
  --raised: #202024;
  --line: #2f2f35;
  --text: #f5f3ea;
  --text-2: #a9a79b;
  --yellow: #ffcc00;
  --yellow-hi: #ffd940;
  --on-yellow: #141100;
  --cyan: #8fd0e6;
  --up: #4ade80;
  --down: #f87171;
  --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 1rem/1.6 var(--font-body); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 650; }
h3 { font-size: 1.1rem; font-weight: 650; }
p { margin: 0 0 1em; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); color: var(--on-yellow); padding: .6rem 1rem; z-index: 50; font-weight: 600; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--yellow); color: var(--on-yellow); }

/* Header */
.nav { background: rgba(12,12,14,.94); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; backdrop-filter: blur(8px); }
.nav-in { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.nav nav { display: flex; gap: 1.25rem; margin-right: auto; }
.nav nav a { text-decoration: none; font-weight: 500; color: var(--text-2); padding: .35rem 0; border-bottom: 2px solid transparent; }
.nav nav a:hover, .nav nav a[aria-current] { color: var(--text); border-bottom-color: var(--yellow); }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.3rem var(--font-display); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .8rem 1.4rem; border-radius: 8px; font: 600 1rem var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-sm { padding: .5rem 1rem; font-size: .95rem; }
.btn-ember { background: var(--yellow); color: var(--on-yellow); }
.btn-ember:hover { background: var(--yellow-hi); }
.btn-ghost { border-color: var(--text-2); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.textlink { font-weight: 600; color: var(--yellow); text-underline-offset: 3px; }
.textlink:hover { color: var(--yellow-hi); }

/* Hero */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lede { font-size: 1.15rem; color: var(--text-2); max-width: 38rem; }

/* Countdown */
.clock { display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.clock-num { font: 700 clamp(2.2rem, 5vw, 3.3rem)/1 var(--font-display); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; color: var(--yellow); }
.clock-num.is-soon { color: var(--down); }
.clock-num.is-due { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--cyan); }
.clock-label { font-size: .85rem; color: var(--text-2); margin-top: .25rem; }

/* Fruit tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)); gap: .75rem; }
.tile { display: flex; flex-direction: column; gap: .15rem; padding: .9rem .9rem .85rem; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; min-width: 0; }
a.tile:hover { border-color: var(--yellow); }
.tile-img { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: .45rem; }
.tile-img img { width: 100%; height: 100%; object-fit: contain; }
.tile-img-sm { width: 40px; height: 40px; margin: 0; flex: none; }
.tile-img-lg { width: 112px; height: 112px; margin: 0; flex: none; }
.tile-ph { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 10px; background: var(--line); color: var(--text-2); font: 700 1.5rem var(--font-display); }
.tile-name { font: 650 1.05rem/1.2 var(--font-display); overflow-wrap: break-word; }
.tile-rar { font-size: .8rem; color: var(--text-2); }
.tile-price { font-size: .9rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.tile-robux { color: var(--cyan); font-weight: 500; }
.empty { padding: 1.1rem 1.2rem; background: var(--surface); border: 1px dashed var(--line); border-radius: 8px; color: var(--text-2); margin: 0; }

/* Sections */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-tint { background: var(--surface); border-block: 1px solid var(--line); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(1.5rem, 5vw, 4rem); }
.features { margin: 0; display: grid; gap: 0; }
.features > div { padding: 1.1rem 0; border-top: 1px solid var(--line); }
.features > div:last-child { border-bottom: 1px solid var(--line); }
.features dt { font: 650 1.15rem var(--font-display); margin-bottom: .2rem; }
.features dt a { text-decoration: none; }
.features dt a:hover { color: var(--yellow); }
.features dd { margin: 0; color: var(--text-2); max-width: 38rem; }
.row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }

/* Page heads */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .3em; }
.crumb { margin: 0 0 .4rem; font-size: .9rem; }
.crumb a { color: var(--yellow); }
.now { max-width: 46rem; color: var(--text); }

/* Stock boards */
.boards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.board { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1rem, 2.5vw, 1.6rem); }
.board-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.board-head h2 { margin: 0; }
.board-head p { margin: 0; }
.prev { margin: 1.1rem 0 .4rem; font-size: .95rem; }
.prev-label { font-weight: 600; margin-right: .3rem; color: var(--yellow); }
.lastseen { margin-top: clamp(2rem, 4vw, 3rem); }
.ls { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 2rem; }
.ls li { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-bottom: 1px solid var(--line); }
.ls a { font-weight: 600; text-underline-offset: 3px; }
.ls a:hover { color: var(--yellow); }
.ls time { color: var(--text-2); font-size: .92rem; }

/* Last seen table */
.ls-table { min-width: 480px; }
.ls-wrap { max-height: 70vh; overflow: auto; }
.cell-link { display: flex; align-items: center; gap: .8rem; padding-left: .3rem; }
.badge-on { display: inline-block; padding: .15rem .65rem; border: 1px solid var(--yellow); color: var(--yellow); border-radius: 999px; font-size: .85rem; font-weight: 600; white-space: nowrap; }

/* Values */
.toolbar { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .9rem; }
.field input, .field select { font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .65rem .9rem; min-height: 44px; }
.field input::placeholder { color: var(--text-2); }
.field input:hover, .field select:hover { border-color: var(--text-2); }
.field-grow { flex: 1 1 240px; }
.field-grow input { width: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.chip { font: 500 .95rem var(--font-body); border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 999px; padding: .4rem 1rem; cursor: pointer; min-height: 38px; }
.chip:hover { border-color: var(--yellow); }
.chip.is-on { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); font-weight: 600; }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 3rem; }
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { font-size: .85rem; font-weight: 600; color: var(--text-2); background: var(--raised); position: sticky; top: 0; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--raised); }
.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cell-item { font-weight: 400; }
.cell-item a { display: flex; align-items: center; gap: .8rem; text-decoration: none; padding-left: .3rem; }
.item-name { display: block; font: 650 1.05rem/1.2 var(--font-display); }
.cell-item a:hover .item-name { color: var(--yellow); }
.item-meta { display: block; font-size: .82rem; color: var(--text-2); }
.dem { display: flex; align-items: center; gap: .6rem; white-space: nowrap; }
.dem-bar { width: 64px; height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.dem-bar > span { display: block; height: 100%; background: var(--yellow); }
.dem-n { font-size: .9rem; font-variant-numeric: tabular-nums; }
.trend { font-weight: 600; white-space: nowrap; }
.trend-up { color: var(--up); }
.trend-down { color: var(--down); }
.trend-flat { color: var(--text-2); }
[hidden] { display: none !important; }

/* Item page */
.item-head-in { display: flex; align-items: center; gap: 1.5rem; }
.item-head h1 { margin-bottom: .1em; }
.summary { max-width: 46rem; margin: 0 0 1.5rem; }
.item-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); padding-bottom: 3rem; }
.stats { margin: 0 0 1rem; }
.stats > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.stats dt { color: var(--text-2); }
.stats dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.status { padding: .9rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.status-on { border-color: var(--up); color: var(--up); font-weight: 600; }
.spark { width: 100%; height: auto; color: var(--yellow); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .5rem; }
.item-grid section { margin-bottom: 2rem; }

/* Trade calculator */
.trade { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2rem); align-items: start; }
.side { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(1rem, 2.5vw, 1.5rem); }
.side h2 { margin-bottom: .8rem; }
.entries { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .6rem; min-height: 3rem; }
.entry { display: grid; grid-template-columns: auto 1fr auto; gap: .4rem .8rem; align-items: center; padding: .7rem .8rem; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; }
.entry-name { font: 650 1rem/1.2 var(--font-display); }
.entry-sub { display: block; font-size: .82rem; color: var(--text-2); font-weight: 400; font-family: var(--font-body); }
.entry-total { font: 700 1.05rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--yellow); text-align: right; }
.entry-ctl { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 40px; height: 40px; font: 600 1.2rem var(--font-body); background: var(--bg); color: var(--text); border: 0; cursor: pointer; }
.qty button:hover { background: var(--line); }
.qty output { min-width: 2.4rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 600; }
.kind { font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 0 .6rem; min-height: 40px; }
.rm { margin-left: auto; font: 500 .9rem var(--font-body); color: var(--text-2); background: transparent; border: 1px solid var(--line); border-radius: 8px; min-height: 40px; padding: 0 .9rem; cursor: pointer; }
.rm:hover { color: var(--down); border-color: var(--down); }
.side-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: .9rem; }
.side-total strong { font: 700 1.8rem var(--font-display); font-variant-numeric: tabular-nums; color: var(--yellow); }
.verdict { margin: 1.5rem 0 0; padding: 1.3rem 1.5rem; border-radius: 14px; border: 2px solid var(--line); background: var(--surface); display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; align-items: baseline; justify-content: space-between; }
.verdict-main { font: 700 clamp(1.6rem, 4vw, 2.3rem) var(--font-display); }
.verdict-detail { color: var(--text-2); }
.verdict.is-win { border-color: var(--up); } .verdict.is-win .verdict-main { color: var(--up); }
.verdict.is-lose { border-color: var(--down); } .verdict.is-lose .verdict-main { color: var(--down); }
.verdict.is-fair { border-color: var(--yellow); } .verdict.is-fair .verdict-main { color: var(--yellow); }
.trade-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }

/* FAQ + prose */
.faq { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.faq h2 { margin-bottom: 1rem; }
.faq details { border-top: 1px solid var(--line); padding: .2rem 0; max-width: 52rem; }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .9rem 0; font: 650 1.1rem var(--font-display); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--yellow); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { color: var(--text-2); margin: 0 0 1rem; }
.prose { max-width: 46rem; color: var(--text-2); }
.prose h2 { color: var(--text); margin-top: 1.5rem; }

/* Footer */
.foot { background: var(--surface); border-top: 1px solid var(--line); color: var(--text-2); padding: 2.5rem 0 1.5rem; }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.foot-in p { margin: .6rem 0 0; max-width: 22rem; }
.foot nav { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; align-items: flex-start; }
.foot nav a { color: var(--text); text-underline-offset: 3px; }
.foot nav a:hover { color: var(--yellow); }
.foot-note { margin-top: 2rem; font-size: .85rem; border-top: 1px solid var(--line); padding-top: 1rem; }

/* ---- Landing ---- */
.eyebrow { color: var(--yellow); font-weight: 600; letter-spacing: .02em; margin: 0 0 .8rem; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero-search { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; max-width: 36rem; }
.hero-search input { flex: 1 1 240px; font: inherit; color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1rem; min-height: 48px; }
.hero-search input::placeholder { color: var(--text-2); }
.hero-search input:hover { border-color: var(--text-2); }
.hero .actions { align-items: center; margin-top: 1rem; }
.demo { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.1rem, 2.5vw, 1.6rem); }
.demo h2 { font-size: 1.05rem; color: var(--text-2); font-weight: 600; margin-bottom: 1rem; }
.demo-sides { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.1rem; }
.demo-label { font-size: .85rem; color: var(--text-2); margin: 0 0 .5rem; }
.demo-total { font: 700 1.4rem var(--font-display); color: var(--yellow); margin: .5rem 0 0; font-variant-numeric: tabular-nums; text-align: right; }
.demo-btn { width: 100%; }
.demo-verdict { margin: 1.2rem 0 .9rem; padding: .8rem 1rem; border: 2px solid var(--line); border-radius: 10px; display: flex; flex-wrap: wrap; gap: .2rem .8rem; align-items: baseline; }
.demo-verdict strong { font: 700 1.5rem var(--font-display); }
.demo-verdict span { color: var(--text-2); }
.demo-verdict.is-win { border-color: var(--up); } .demo-verdict.is-win strong { color: var(--up); }
.demo-verdict.is-lose { border-color: var(--down); } .demo-verdict.is-lose strong { color: var(--down); }
.demo-verdict.is-fair { border-color: var(--yellow); } .demo-verdict.is-fair strong { color: var(--yellow); }
.mini { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; text-decoration: none; margin-bottom: .5rem; }
.mini:hover { border-color: var(--yellow); }
.mini-img { width: 40px; height: 40px; flex: none; display: grid; place-items: center; }
.mini-img img { width: 100%; height: 100%; object-fit: contain; }
.mini-name { font: 650 .98rem/1.25 var(--font-display); flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
.mini-val { margin-left: auto; flex: none; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--text-2); font-size: .9rem; }
.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding-block: 1.2rem; }
.facts p { margin: 0; display: flex; flex-direction: column; }
.facts strong { font: 700 clamp(1.3rem, 3vw, 1.9rem) var(--font-display); color: var(--yellow); }
.facts span { color: var(--text-2); font-size: .9rem; }
.tools { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; margin-top: 1.2rem; }
.tool { display: flex; flex-direction: column; gap: .4rem; padding: 1.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.tool svg { color: var(--yellow); margin-bottom: .4rem; }
.tool h3 { margin: 0; font-size: 1.25rem; }
.tool p { color: var(--text-2); margin: 0 0 .6rem; flex: 1; }
.tool-go { color: var(--yellow); font-weight: 600; }
.tool:hover { border-color: var(--yellow); }
.tool:hover .tool-go { text-decoration: underline; text-underline-offset: 3px; }
.icards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .9rem; }
.icard { display: flex; flex-direction: column; gap: .1rem; padding: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.section-tint .icard { background: var(--raised); }
.icard:hover { border-color: var(--yellow); }
.icard-img { width: 72px; height: 72px; margin-bottom: .5rem; display: grid; place-items: center; }
.icard-img img { width: 100%; height: 100%; object-fit: contain; }
.icard-name { font: 650 1.1rem/1.2 var(--font-display); }
.icard-rar { font-size: .82rem; color: var(--text-2); }
.icard-val { font: 700 1.35rem var(--font-display); color: var(--yellow); margin-top: .4rem; font-variant-numeric: tabular-nums; }
.icard-meta { font-size: .82rem; color: var(--text-2); }
.section-tint .tile { background: var(--raised); }
.section-tint .board { background: var(--bg); }

/* Banner (replaces the old full-width call to action) */
.banner-wrap { padding: clamp(2rem, 5vw, 3.5rem) 0; }
.banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2.2rem); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.banner h2 { margin: 0 0 .2em; font-size: clamp(1.3rem, 3vw, 1.8rem); }
.banner p { margin: 0; color: var(--text-2); }

/* Add button + item menu */
.add-btn { display: flex; align-items: center; justify-content: center; gap: .7rem; width: 100%; min-height: 56px; margin-bottom: 1rem; font: 600 1rem var(--font-body); color: var(--yellow); background: transparent; border: 2px dashed var(--line); border-radius: 10px; cursor: pointer; }
.add-btn:hover { border-color: var(--yellow); background: var(--raised); }
.add-plus { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--yellow); color: var(--on-yellow); font: 700 1.3rem/1 var(--font-body); }
dialog { width: min(760px, calc(100% - 1.5rem)); max-height: min(86vh, 720px); padding: 0; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
dialog[open] { display: flex; }
dialog::backdrop { background: rgba(0, 0, 0, .75); }
body:has(dialog[open]) { overflow: hidden; }
.dlg { display: flex; flex-direction: column; width: 100%; min-height: 0; padding: 1.2rem 1.4rem 1.4rem; }
.dlg-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1rem; }
.dlg-head h2 { margin: 0; font-size: 1.3rem; flex: 1; }
.dlg-x, .dlg-back { min-height: 44px; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--text); cursor: pointer; font: 500 .95rem var(--font-body); }
.dlg-x { width: 44px; font-size: 1.6rem; line-height: 1; }
.dlg-back { padding: 0 1rem; }
.dlg-x:hover, .dlg-back:hover { border-color: var(--yellow); color: var(--yellow); }
#step-list { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.pick-grid { list-style: none; margin: 0; padding: 0 .2rem .2rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; overflow-y: auto; min-height: 0; flex: 1; align-content: start; }
.pick { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; width: 100%; height: 100%; padding: .7rem; background: var(--raised); border: 1px solid var(--line); border-radius: 8px; color: var(--text); cursor: pointer; text-align: left; font: inherit; }
.pick:hover { border-color: var(--yellow); }
.pick .tile-img { margin-bottom: .35rem; }
.pick-name { font: 650 1rem/1.2 var(--font-display); overflow-wrap: break-word; }
.pick-val { color: var(--yellow); font-weight: 600; font-variant-numeric: tabular-nums; }
.cfg-item { display: flex; align-items: center; gap: 1rem; padding: 1rem; background: var(--raised); border-radius: 8px; margin-bottom: .6rem; }
.cfg-item .tile-img { width: 72px !important; height: 72px !important; margin: 0; flex: none; }
.cfg-name { font: 700 1.5rem var(--font-display); margin: 0; }
.cfg-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.qty output { min-width: 2.6rem; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { font: 600 1rem var(--font-body); min-height: 44px; padding: 0 1.1rem; background: var(--bg); color: var(--text); border: 0; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--yellow); color: var(--on-yellow); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
.cfg-total { display: flex; justify-content: space-between; align-items: baseline; margin: 1rem 0; }
.cfg-total strong { font: 700 1.8rem var(--font-display); color: var(--yellow); font-variant-numeric: tabular-nums; }
#cfg-add { width: 100%; }

@media (max-width: 720px) { .facts-in { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cfg-row { flex-wrap: wrap; } }

@media (max-width: 900px) {
  .hero-in, .split, .boards, .item-grid, .trade { grid-template-columns: minmax(0, 1fr); }
  .col-robux { display: none; }
}
@media (max-width: 820px) {
  .nav nav a.nav-opt { display: none; }
}
@media (max-width: 720px) {
  .nav-in { gap: 1rem; }
  .nav nav { gap: .9rem; }
  .col-perm, .col-beli { display: none; }
  .item-head-in { align-items: flex-start; }
  .tile-img-lg { width: 80px; height: 80px; }
}
@media (max-width: 480px) {
  .brand span { display: none; }
  .btn-sm { padding: .5rem .8rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

@media (max-width: 560px) {
  .nav-in { flex-wrap: wrap; row-gap: 0; padding-block: .5rem; }
  .nav nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: .4rem; }
  .brand span { display: inline; }
  .nav nav a { white-space: nowrap; }
  .nav nav { margin-right: 0; }
  .brand { margin-right: auto; }
}
