/* Cartridge: the Tall Grass look. Light sage ground, ink outlines, hard shadows, red and yellow.
   Loaded after app.css and fx.css; it swaps the colour tokens and restyles the pieces that had
   glass, glow or spectrum gradients baked in. */
@font-face { font-family: "Archivo"; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
/* The same file pinned to a narrow width, for headlines and big numbers */
@font-face { font-family: "Archivo Display"; font-weight: 100 900; font-stretch: 74% 74%; font-display: swap; src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 400; font-display: swap; src: url("fonts/dm-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-weight: 500; font-display: swap; src: url("fonts/dm-mono-latin-500-normal.woff2") format("woff2"); }

:root {
  --fx-mode: ink;
  --bg: #DCE6DA; --surface: #FFFFFF; --surface-2: #EEF3EC; --ink: #14231F; --muted: #4C5F58;
  --line: #A9BBA6; --edge: #14231F; --accent: #E8412F; --on-accent: #FFFFFF; --accent-text: #B3261A; --hi: #FFD43A; --sage: #C9D6C6;
  --live: #1F7A4D; --up: #1F7A4D; --down: #B3261A; --danger: #B3261A; --focus: #1D4ED8; --on-holo: #14231F;
  --scrim: rgba(20, 35, 31, .6); --camera: #14231F; --on-camera: #FFFFFF;
  --bw: 2.5px; --shadow: 3px 3px 0 var(--ink); --glow: 3px 3px 0 var(--ink);
  --holo: linear-gradient(var(--hi), var(--hi));
  --glass-fill: #FFFFFF; --glass-edge: var(--ink); --glass-shadow: 4px 4px 0 var(--ink); --glass-blur: none;
  --card-fill: #FFFFFF; --card-edge: var(--ink); --card-shadow: 3px 3px 0 var(--ink);
  --f-display: "Archivo Display", "Arial Narrow", sans-serif;
  --f-body: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}
body { background: var(--bg); color: var(--ink); }
body::after { background: linear-gradient(rgba(220, 230, 218, 0), var(--bg) 70%); }
:focus-visible { outline: 3px solid var(--focus); }

/* No spectrum text anywhere: headlines and prices are plain ink */
.brand b, .holo-text, .big-price b, .pf-value b, .hero-stage h1 em, .holo-em, .crit .tag { background: none; -webkit-background-clip: border-box; background-clip: border-box; -webkit-text-fill-color: currentColor; color: inherit; animation: none; }
.sheen::after, .hface::after { display: none; }

/* Header */
.bar { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: linear-gradient(#000 calc(100% - 14px), transparent); mask-image: linear-gradient(#000 calc(100% - 14px), transparent); }
.brand { gap: 9px; } .brand .mark { width: 30px; height: 30px; display: block; }
.brand b { font: 900 23px/1 var(--f-display); letter-spacing: 0; text-transform: uppercase; color: var(--ink); }
.acct-btn { width: 44px; height: 44px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.topnav .navbtn { color: var(--muted); font-weight: 700; } .topnav .navbtn[aria-current="page"] { background: var(--ink); color: #fff; box-shadow: none; }

/* Tab bar: a solid ink cartridge slot */
.bottomnav { height: var(--nav-h); padding: 6px; border: 0; border-radius: 16px; background: var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.bottomnav .navbtn { border-radius: 10px; color: #A9BBB3; font: 800 10px/1.1 var(--f-body); letter-spacing: .03em; text-transform: uppercase; }
.bottomnav .navbtn[aria-current="page"] { background: none; box-shadow: none; color: var(--hi); }
.bottomnav .navbtn.scan-nav { color: #fff; }
.bottomnav .navbtn.scan-nav svg { background: var(--accent); color: #fff; border-radius: 9px; box-shadow: none; }
.bottomnav .navbtn.scan-nav[aria-current="page"] { color: var(--hi); }

/* Controls */
.btn { border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: var(--shadow); font-weight: 800; letter-spacing: .01em; text-transform: uppercase; transition: transform .08s ease, box-shadow .08s ease; }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-accent { border-color: var(--ink); background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-quiet { border-color: transparent; background: none; box-shadow: none; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.btn-quiet:active { transform: none; box-shadow: none; }
.btn-danger { color: var(--danger); } .btn-danger.armed { background: var(--danger); color: #fff; }
.btn[disabled] { opacity: .5; }
.chip { border: var(--bw) solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); font-weight: 800; text-transform: uppercase; font-size: 12.5px; }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: none; }
.field-in, .search input, .filters select, .fld select { border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); box-shadow: none; }
.field-in::placeholder, .search input::placeholder { color: #6B7D76; }
.search.big input { border-radius: 14px; } .search svg { color: var(--ink); }
.seg { border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; }
.seg button { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12.5px; }
.seg button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.x { border: var(--bw) solid var(--ink); border-radius: 10px; background: #fff; color: var(--ink); }
.tab { color: var(--muted); font-weight: 800; text-transform: uppercase; font-size: 12.5px; } .tab[aria-selected="true"] { color: var(--ink); } .tab[aria-selected="true"]::after { background: var(--accent); height: 4px; }
.tab .n { background: var(--sage); color: var(--ink); }
.label-sm, .eyebrow { color: var(--muted); }
a { text-decoration-thickness: 2px; }

/* Cards */
.slab, .card-box, .holding, .tile, .empty, .board li, .road li, .pull, .result, .notice { border: var(--bw) solid var(--ink); background: #fff; box-shadow: var(--shadow); }
.slab { border-radius: 16px; } .card-box, .tile, .empty { border-radius: 16px; } .holding, .board li, .road li { border-radius: 14px; }
.label { border: 0; border-radius: 10px; background: var(--sage); }
.result { box-shadow: none; } .result[aria-pressed="true"] { border-color: var(--ink); background: var(--hi); box-shadow: var(--shadow); }
.slab.is-featured, .tile.live-tile, .best { border: var(--bw) solid var(--ink); background: var(--hi); }
.slab.is-tracked .label, .d-label.is-tracked { background: var(--hi); border-color: transparent; }
.track { border: var(--bw) solid var(--ink); background: #fff; color: var(--ink); } .track[aria-pressed="true"] { background: var(--hi); color: var(--ink); border-color: var(--ink); }
.feat-flag, .badge.slabbed { background: var(--ink); color: #fff; }
.d-label { border: var(--bw) solid var(--ink); background: var(--sage); border-radius: 14px; }

/* Price check */
.price { border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: 4px 4px 0 var(--ink); }
.price h2 { letter-spacing: 0; } .big-price b { color: var(--ink); } .big-price span { color: var(--muted); }
.price .art, .price .noimg { border: 2px solid var(--ink); border-radius: 7px; box-shadow: none; }
.ladder div { border: 0; border-radius: 10px; background: var(--sage); } .ladder dt { color: #33453F; }
.camera { border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 4px 4px 0 var(--ink); background: var(--camera); }
.cam-status { border: 0; border-radius: 8px; background: var(--hi); color: var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font: 500 11.5px/1.3 var(--f-mono); text-transform: uppercase; letter-spacing: .03em; }
.pill { border: var(--bw) solid #fff; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 800; text-transform: uppercase; font-size: 12.5px; }
.pill[aria-pressed="true"] { border-color: var(--ink); background: var(--hi); color: var(--ink); box-shadow: none; }
.shutter { border: 3px solid #fff; background: var(--accent); box-shadow: inset 0 0 0 3px var(--ink); -webkit-backdrop-filter: none; backdrop-filter: none; }
.guide i { border-color: var(--hi); filter: none; }
.camera-off { border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--ink); }
.room-banner { border: var(--bw) solid var(--ink); background: var(--hi); color: var(--ink); }

/* Deal tray */
.tray { border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--hi); color: var(--ink); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.tray::before { display: none; }
.tray-title { font-family: var(--f-display); } .tray-sum, .tray-offer, .tray .muted, .tray .hint { color: var(--ink); } .tray-offer b { color: var(--ink); }
.tray-list li { border: 2px solid var(--ink); border-radius: 10px; background: #fff; }
.qty { border: 2px solid var(--ink); border-radius: 8px; background: #fff; }
.tray .btn { color: var(--ink); border-color: var(--ink); background: #fff; } .tray .btn-accent { background: var(--accent); color: #fff; } .tray .btn-quiet { background: none; border-color: transparent; }
input[type="range"] { accent-color: var(--accent); }

/* Sheets and toasts */
.sheet { border: var(--bw) solid var(--ink); border-bottom: 0; border-radius: 22px 22px 0 0; background: var(--bg); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.sheet::before { background: var(--ink); opacity: .35; }
.scrim { background: var(--scrim); -webkit-backdrop-filter: none; backdrop-filter: none; }
@media (min-width: 720px) { .sheet { border: var(--bw) solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); } }
.toast { border: var(--bw) solid var(--ink); border-radius: 10px; background: var(--ink); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-weight: 700; }

/* Home */
.hero-stage { margin-inline: 0 !important; padding: 18px 18px 120px !important; border-radius: 18px; background: var(--ink); color: #fff; box-shadow: 4px 4px 0 var(--accent); min-height: 0; margin-top: 6px !important; }
.hero-stage::before { display: none; }
.hero-stage h1 { font: 900 clamp(46px, 13vw, 96px)/.92 var(--f-display); letter-spacing: -.01em; }
.hero-stage h1 em { color: var(--hi); }
.hero-stage .lede { color: #C9D6C6; }
.hero-stage .btn { border-color: #fff; box-shadow: none; } .hero-stage .btn:not(.btn-accent) { background: none; color: #fff; }
.pulse-line { border: 0; border-radius: 6px; padding: 4px 9px; background: var(--hi); color: var(--ink); letter-spacing: .03em; }
.pulse-line::before { background: var(--live); box-shadow: none; animation: none; }
canvas.grass { height: 110px; }
.hface { border: var(--bw) solid var(--ink); border-radius: 10px; background: #fff; color: var(--live); box-shadow: 4px 4px 0 var(--ink); }
.hface .hlab { background: var(--hi); color: var(--ink); }
.ticker { border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; -webkit-mask-image: none; mask-image: none; margin-top: 16px; }
.ticker-track i { color: var(--accent-text); }
.tile h3, .tile b { color: var(--ink); }
.tiles .tile:nth-child(odd) { background: var(--hi); }

/* Moments */
.crit, .crit.t0, .crit.t1, .crit.t2, .crit.t3 { background: rgba(20, 35, 31, .93); color: #fff; }
.crit .tag { color: var(--hi); } .crit .val { color: var(--hi); } .crit .who { color: #C9D6C6; }
.crit.t2 .hface { box-shadow: 5px 5px 0 var(--live); } .crit.t3 .hface { box-shadow: 6px 6px 0 var(--hi); animation: none; }

@media (max-width: 720px) {
  .hero-stage .fan { display: none; }
}
@media (max-width: 520px) {
  .price h2 { font-size: 27px; } .big-price b { font-size: 42px; }
}
.bottomnav .navbtn.scan-nav svg { animation: none; }
.track { min-height: 44px; border-radius: 10px; font-weight: 800; text-transform: uppercase; font-size: 12.5px; }

/* ===== Collection views, wishlist, trade checker ===== */
.pf-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px 0 10px; margin: 0; }
.pf-tabs .chip { flex: none; min-height: 40px; }
.price-actions .wish-btn[aria-pressed="true"] { background: var(--hi); }
.wish-flag { grid-column: 1 / -1; margin: 6px 0 0; padding: 6px 10px; border-radius: 8px; background: var(--sage); font-weight: 700; font-size: 13px; }
.wish-flag.hit { background: var(--hi); border: 2px solid var(--ink); }
.holding.hit { background: var(--hi); }
.holding.static { cursor: default; }
.wish-show h2 { font: 900 34px/1 var(--f-display); text-transform: uppercase; margin: 0 0 12px; }
.wish-show ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.wish-show li { padding: 12px 14px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; display: grid; gap: 2px; }
.wish-show li b { font-size: 20px; } .wish-show li span { color: var(--muted); font-size: 14px; }

.binder-page { margin: 0 0 16px; padding: 12px; border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.binder-page .label-sm { margin: 0 0 8px; }
.pockets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pocket { position: relative; display: block; padding: 0; aspect-ratio: 63 / 88; border: 2px solid var(--ink); border-radius: 8px; background: var(--surface-2); overflow: hidden; cursor: pointer; font: inherit; color: inherit; }
.pocket img, .pocket .noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; }
.pocket .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 3px 5px; background: rgba(20, 35, 31, .82); color: #fff; font-size: 10.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: left; }
.pocket .count { position: absolute; top: 4px; right: 4px; padding: 1px 6px; border-radius: 6px; background: var(--hi); border: 2px solid var(--ink); font-size: 11px; font-weight: 800; }
.empty-pocket { border-style: dashed; border-color: var(--line); background: none; cursor: default; }

.badges-box { margin-bottom: 14px; }
.badges { list-style: none; margin: 10px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.badges li { padding: 8px 10px; border: 2px dashed var(--line); border-radius: 10px; display: grid; gap: 1px; color: var(--muted); }
.badges li b { font-size: 13px; text-transform: uppercase; letter-spacing: .01em; } .badges li span { font-size: 11.5px; line-height: 1.3; }
.badges li.got { border: 2px solid var(--ink); background: var(--hi); color: var(--ink); }
.set-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 8px; }
.set-row { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; align-items: center; gap: 10px; padding: 10px 12px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.set-row .nm { display: grid; gap: 1px; min-width: 0; } .set-row .nm b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .set-row .nm span { font-size: 12.5px; color: var(--muted); }
.set-row .pct { font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.set-row.done { background: var(--hi); }
.meter { height: 12px; border: 2px solid var(--ink); border-radius: 7px; background: var(--surface-2); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--live); }
.set-sheet h2 { font: 900 30px/1 var(--f-display); text-transform: uppercase; margin: 0 0 4px; }
.set-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; margin-top: 12px; }
.set-cell { position: relative; display: block; padding: 0; aspect-ratio: 63 / 88; border: 2px solid var(--line); border-radius: 7px; background: var(--surface-2); overflow: hidden; cursor: pointer; font: inherit; }
.set-cell img, .set-cell .noimg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; border-radius: 0; filter: grayscale(1); opacity: .38; }
.set-cell b { position: absolute; left: 3px; bottom: 3px; padding: 0 5px; border-radius: 5px; background: rgba(20, 35, 31, .82); color: #fff; font: 500 10.5px/1.5 var(--f-mono); }
.set-cell.got { border-color: var(--ink); box-shadow: 2px 2px 0 var(--ink); } .set-cell.got img { filter: none; opacity: 1; } .set-cell.got b { background: var(--live); }
.set-cell.wished { border-color: var(--ink); } .set-cell.wished img { opacity: .7; } .set-cell.wished b { background: var(--hi); color: var(--ink); }

.pf-pick { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; } .pf-pick select { flex: 1 1 auto; min-width: 0; min-height: 44px; } .pf-pick .btn { flex: none; }
.pfm-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; } .pfm-list li { display: grid; gap: 3px; padding: 10px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; }
.pfm-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .pfm-row .field-in { flex: 1 1 140px; min-width: 0; }
.big-price .trend { padding: 1px 7px; border-radius: 6px; border: 2px solid var(--ink); font: 500 11px/1.5 var(--f-mono); letter-spacing: 0; text-transform: none; white-space: nowrap; }
.big-price .trend.up { background: var(--live); color: #fff; } .big-price .trend.down { background: var(--accent); color: #fff; }

.tray-mode { margin: 0 0 10px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.tray.is-trade { background: #fff; }
.trade-h { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.trade-h b, .trade-h h2 { font: 900 17px/1.1 var(--f-display); text-transform: uppercase; margin: 0; } .trade-h span { font-weight: 800; }
.trade-col { margin-top: 10px; padding: 10px; border: 2px solid var(--ink); border-radius: 12px; background: var(--surface-2); display: grid; gap: 8px; }
.trade-col .tray-list { margin: 0; }
#trade-box .seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
.verdict-line { margin: 0 0 10px; padding: 8px 10px; border: 2px solid var(--ink); border-radius: 10px; background: var(--sage); font-weight: 800; }
.verdict-line.up { background: var(--live); color: #fff; } .verdict-line.down { background: var(--accent); color: #fff; } .verdict-line.even { background: var(--hi); }
.verdict { padding: 2px 8px; border-radius: 7px; border: 2px solid var(--ink); background: var(--sage); }
.verdict:empty { display: none; } .verdict.up { background: var(--live); color: #fff; } .verdict.down { background: var(--accent); color: #fff; } .verdict.even { background: var(--hi); }
.swap { flex: none; width: 36px; height: 36px; border: 2px solid var(--ink); border-radius: 8px; background: #fff; font: 800 16px/1 var(--f-body); color: var(--ink); cursor: pointer; }
#pf-body .seg { margin: 0 0 12px; } #pf-body .pf-tools { margin-bottom: 12px; align-items: center; }

/* ===== First-run intro ===== */
.intro-over { position: fixed; inset: 0; z-index: 40; background: var(--bg); overflow-y: auto; padding: calc(var(--sat) + 14px) max(18px, var(--sar)) calc(var(--sab) + 18px) max(18px, var(--sal)); }
.intro-in { max-width: 460px; min-height: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; } .intro-actions { margin-top: auto; padding-top: 8px; }
.intro-top { display: flex; align-items: center; gap: 9px; } .intro-top b { font: 900 24px/1 var(--f-display); text-transform: uppercase; }
.intro-over h1 { margin: 0; font: 900 clamp(40px, 12vw, 58px)/.94 var(--f-display); text-transform: uppercase; }
.intro-over .lede { margin: 0; font-size: 16px; line-height: 1.45; color: var(--muted); }
.intro-over .pulse-line { align-self: flex-start; margin: 6px 0 0; }
.intro-in > * { position: relative; }
.intro-bars { display: flex; gap: 5px; } .intro-bars i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); overflow: hidden; } .intro-bars b { display: block; height: 100%; width: 0; background: var(--ink); }
.intro-bars i.done b { width: 100%; } .intro-bars i.on b { animation: ibar 5.6s linear forwards; } .intro-bars i:last-child.on b { animation-duration: .6s; background: var(--accent); }
@keyframes ibar { to { width: 100%; } }
.intro-x { margin-left: auto; width: 40px; height: 40px; border: var(--bw) solid var(--ink); border-radius: 10px; background: #fff; font: 700 22px/1 var(--f-display); color: var(--ink); }
.intro-over h1 span { display: inline-block; white-space: pre; opacity: 0; transform: translateY(.5em) rotate(3deg); animation: irise .45s cubic-bezier(.2,1.4,.4,1) var(--d) forwards; }
.intro-over .pulse-line, .intro-over .lede { opacity: 0; animation: irise .4s ease-out .05s forwards; } .intro-over .lede { animation-delay: .45s; }
@keyframes irise { to { opacity: 1; transform: none; } }
.intro-art { position: relative; margin: 4px 0; padding: 16px; height: clamp(230px, 36dvh, 320px); flex: none; border: var(--bw) solid var(--ink); border-radius: 20px; background: var(--ink); color: #fff; box-shadow: 5px 5px 0 var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; overflow: hidden; animation: istage .5s cubic-bezier(.2,1.3,.4,1) both; }
.intro-art::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, #ffffff0a 0 2px, transparent 2px 6px); pointer-events: none; }
@keyframes istage { from { transform: translateX(40px) rotate(2deg); opacity: 0; } }
.ia-trade { box-shadow: 5px 5px 0 var(--hi); } .ia-grade { box-shadow: 5px 5px 0 var(--live); } .ia-join { background: var(--hi); color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
/* stand-in cards */
.fk { position: relative; width: 62px; aspect-ratio: 63 / 88; border-radius: 6px; border: 4px solid var(--hi); background: #fff; box-shadow: 2px 2px 0 #0008; flex: none; }
.fk i { position: absolute; left: 4px; right: 4px; border-radius: 2px; } .fk-art { top: 4px; height: 48%; background: var(--accent); } .fk-l1 { top: 60%; height: 5px; background: var(--ink); right: 30% !important; } .fk-l2 { top: 74%; height: 5px; background: var(--line); }
.fk-blue { border-color: #9CC3F5; } .fk-blue .fk-art { background: #2F6FD0; } .fk-green { border-color: #A8DDB8; } .fk-green .fk-art { background: var(--live); } .fk-red { border-color: #F5B1A9; } .fk-gold .fk-art { background: linear-gradient(135deg, var(--accent), #F08A2C); }
.ia-stamp { position: absolute; padding: 4px 12px; border: 3px solid currentColor; border-radius: 8px; font: 900 20px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; opacity: 0; transform: scale(2.6) rotate(-14deg); animation: istamp .35s cubic-bezier(.3,1.5,.5,1) forwards; }
.ia-stamp.red { color: #fff; background: var(--accent); border-color: #fff; } .ia-stamp.yellow { color: var(--ink); background: var(--hi); border-color: var(--ink); }
@keyframes istamp { to { opacity: 1; transform: scale(1) rotate(-7deg); } }
/* 1 scan */
.ia-finder { position: relative; padding: 14px 20px; } .ia-finder > i { position: absolute; width: 22px; height: 22px; border: 4px solid #fff; animation: ilock .3s ease-out 1.4s forwards; }
.ia-finder > i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; } .ia-finder > i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; } .ia-finder > i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; } .ia-finder > i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
@keyframes ilock { 50% { transform: scale(.8); } to { border-color: var(--hi); } }
.ia-finder .fk { width: 84px; } .ia-drop { animation: idrop .6s cubic-bezier(.2,1.4,.4,1) both; } @keyframes idrop { from { transform: translateY(-160px) rotate(-25deg); opacity: 0; } }
.ia-beam { position: absolute; left: 6px; right: 6px; top: 10px; height: 4px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 14px 3px var(--accent); opacity: 0; animation: ibeam .8s ease-in-out .6s 1; }
@keyframes ibeam { 0% { opacity: 1; top: 10px; } 100% { opacity: 1; top: calc(100% - 14px); } }
.ia-price { padding: 2px 14px; border-radius: 10px; background: var(--hi); color: var(--ink); font: 900 34px/1.2 var(--f-display); opacity: 0; animation: ipop .35s cubic-bezier(.3,1.6,.5,1) 1.45s forwards; }
@keyframes ipop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
.ia-scan .ia-stamp { right: 14px; top: 18px; animation-delay: 2.3s; }
/* 2 trade */
.ia-sides { display: flex; align-items: center; gap: 8px; width: 100%; } .ia-side { flex: 1; display: grid; justify-items: center; gap: 6px; padding: 10px 6px; border-radius: 12px; background: #ffffff14; }
.ia-side > span { font: 900 12px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--hi); } .ia-side > b { font: 900 22px/1 var(--f-display); }
.ia-pile { display: flex; height: 76px; align-items: center; } .ia-pile .fk { width: 46px; margin: 0 -9px; opacity: 0; animation: ifly .5s cubic-bezier(.2,1.3,.4,1) forwards; }
.ia-pile .f1 { --r: -8deg; animation-delay: .25s; } .ia-pile .f2 { --r: 6deg; animation-delay: .45s; } .ia-pile .f3 { --r: -10deg; animation-delay: .85s; } .ia-pile .f4 { --r: 0deg; animation-delay: 1.05s; } .ia-pile .f5 { --r: 10deg; animation-delay: 1.25s; }
@keyframes ifly { from { opacity: 0; transform: translateY(120px) rotate(40deg); } to { opacity: 1; transform: rotate(var(--r)); } }
.ia-vs { font: 900 18px/1 var(--f-display); color: var(--accent); animation: ipulse 1s ease-in-out infinite; } @keyframes ipulse { 50% { transform: scale(1.3); } }
.ia-verdict { width: 100%; padding: 10px 12px; border-radius: 12px; background: var(--live); color: #fff; font: 900 20px/1.1 var(--f-display); text-transform: uppercase; text-align: center; opacity: 0; transform: translateY(40px); animation: iup .4s cubic-bezier(.2,1.4,.4,1) 2s forwards; }
@keyframes iup { to { opacity: 1; transform: none; } }
/* 3 grade */
.ia-gradewrap { display: flex; align-items: center; gap: 18px; } .ia-gcard { position: relative; padding: 12px; animation: idrop .6s cubic-bezier(.2,1.4,.4,1) both; } .ia-gcard .fk { width: 110px; border-width: 9px 6px 9px 10px; }
.ia-gcard .g { position: absolute; background: var(--accent); box-shadow: 0 0 8px var(--accent); } .g.gl, .g.gr { top: 0; bottom: 0; width: 2px; } .g.gt, .g.gb { left: 0; right: 0; height: 2px; }
.g.gl { left: 0; animation: gl .7s ease-out .7s forwards; } .g.gr { right: 0; animation: gr .7s ease-out .9s forwards; } .g.gt { top: 0; animation: gt .7s ease-out 1.1s forwards; } .g.gb { bottom: 0; animation: gb .7s ease-out 1.3s forwards; }
@keyframes gl { to { left: 22px; background: var(--hi); } } @keyframes gr { to { right: 18px; background: var(--hi); } } @keyframes gt { to { top: 21px; background: var(--hi); } } @keyframes gb { to { bottom: 21px; background: var(--hi); } }
.ia-gside { display: grid; gap: 12px; justify-items: start; } .ia-read { display: grid; gap: 2px; opacity: 0; animation: iup .35s ease-out 1.6s forwards; transform: translateY(14px); } .ia-read span { font: 900 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--hi); } .ia-read b { font: 900 24px/1 var(--f-display); }
.ia-read.up { animation-delay: 2.25s; } .ia-read.up b { color: #7BE3A3; } .ia-gside .ia-stamp { position: static; font-size: 30px; animation-delay: 1.9s; }
/* 4 room */
.ia-ripwrap { display: flex; align-items: center; gap: 16px; width: 100%; } .ia-pack { position: relative; width: 104px; height: 176px; flex: none; margin-left: 14px; }
.ia-packbody, .ia-packtop { position: absolute; left: 8px; right: 8px; background: linear-gradient(135deg, var(--accent), #F08A2C); border: 3px solid #fff; }
.ia-packbody { top: 74px; bottom: 0; border-radius: 0 0 8px 8px; border-top: 0; z-index: 3; animation: ishake .5s linear .2s 2; } .ia-packbody::after { content: "TG"; position: absolute; inset: 0; display: grid; place-items: center; font: 900 26px/1 var(--f-display); color: var(--hi); }
.ia-packtop { top: 48px; height: 28px; border-radius: 8px 8px 0 0; z-index: 3; animation: ishake .5s linear .2s 2, irip .5s ease-in 1.2s forwards; }
@keyframes ishake { 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } } @keyframes irip { to { transform: translate(40px, -70px) rotate(60deg); opacity: 0; } }
.ia-pack .fk { position: absolute; left: 26px; top: 84px; width: 52px; z-index: 2; animation: ifan .6s cubic-bezier(.2,1.4,.4,1) forwards; } .ia-pack .p1 { --x: -26px; --r: -18deg; animation-delay: 1.3s; } .ia-pack .p2 { --x: 0px; --r: 0deg; animation-delay: 1.45s; z-index: 2; } .ia-pack .p3 { --x: 26px; --r: 18deg; animation-delay: 1.6s; }
@keyframes ifan { to { transform: translate(var(--x), -78px) rotate(var(--r)); } }
.ia-feed { flex: 1; display: grid; gap: 6px; min-width: 0; } .ia-total { display: grid; gap: 2px; } .ia-total span { font: 900 11px/1 var(--f-display); text-transform: uppercase; letter-spacing: .06em; color: var(--hi); } .ia-total b { font: 900 30px/1 var(--f-display); }
.ia-pull { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 9px; background: #fff; color: var(--ink); font-weight: 700; font-size: 14px; opacity: 0; transform: translateX(40px); animation: iup .35s cubic-bezier(.2,1.4,.4,1) forwards; } .ia-pull.hi { background: var(--hi); }
.ia-pull.q1 { animation-delay: 1.6s; } .ia-pull.q2 { animation-delay: 2s; } .ia-pull.q3 { animation-delay: 2.4s; }
/* 5 join */
.ia-perks { position: relative; display: grid; gap: 7px; width: 100%; z-index: 2; } .ia-perk { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; font-weight: 700; font-size: 14px; line-height: 1.2; box-shadow: 3px 3px 0 var(--ink); opacity: 0; transform: translateX(-40px); animation: iup .4s cubic-bezier(.2,1.4,.4,1) var(--d) forwards; }
.ia-perk svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 6px; background: var(--live); color: #fff; }
.ia-grass { z-index: 0 !important; position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 46px; opacity: .45; pointer-events: none; }
.intro-in[data-slide="join"] .btn-accent { animation: icta 1.4s ease-in-out 1.2s infinite; } @keyframes icta { 50% { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); } }
@media (prefers-reduced-motion: reduce) { .intro-over *, .intro-over *::before { animation-duration: .01s !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; } }
.intro-actions { display: flex; gap: 10px; flex-wrap: wrap; } .intro-actions .btn-accent { flex: 1 1 auto; }

/* ---------- Price card tools, grade check, slab check, sealed, share links, Discord ---------- */
.price-more { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 8px; grid-column: 1 / -1; }
.price-more .btn { width: auto; min-width: 0; min-height: 38px; padding: 0 6px; gap: 4px; border: 2px solid var(--ink); border-radius: 10px; background: var(--surface-2); box-shadow: none; font-size: 11px; text-decoration: none; white-space: nowrap; } .price-more .btn * { text-decoration: none; border: 0; } .price-more .btn svg { width: 12px; height: 12px; flex: none; }
.gc h3 { margin: 16px 0 4px; font: 900 15px/1.1 var(--f-display); text-transform: uppercase; }
.gc-canvas { display: block; width: 100%; margin-top: 10px; border: var(--bw) solid var(--ink); border-radius: 12px; background: var(--sage); touch-action: none; }
.gc-center { margin: 8px 0 0; font: 700 13px/1.3 var(--f-mono, ui-monospace, monospace); }
.gc-flaws { display: grid; gap: 6px; } .gc-flaw { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 6px 10px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; font-weight: 600; }
.gc-flaw input { width: 20px; height: 20px; accent-color: var(--accent); flex: none; } .gc-flaw:has(input:checked) { background: var(--hi); }
.gc-out { margin-top: 14px; padding: 12px; border: var(--bw) solid var(--ink); border-radius: 14px; background: var(--surface-2); box-shadow: var(--shadow); }
.gc-out p { margin: 4px 0 0; } .gc-grade { display: block; font: 900 40px/1 var(--f-display); text-transform: uppercase; }
.gc-money { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.gc-worth { margin: 10px 0 0; padding: 10px; border: var(--bw) solid var(--ink); border-radius: 12px; background: #fff; font-weight: 600; } .gc-worth.up { background: #D8F0DF; } .gc-worth.down { background: #FBDDD8; }
.holding.sealed .sealed-ico { display: grid; place-items: center; width: 44px; height: 60px; border: var(--bw) solid var(--ink); border-radius: 8px; background: var(--hi); font: 900 11px/1 var(--f-display); }
.share-link { flex: 1 1 160px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 8px; border-radius: 8px; background: var(--surface-2); font-size: 12px; }
.discord h2 { margin: 0 0 4px; font-size: 16px; }

/* ---------- Intro: extra punch ---------- */
.ia-rays { position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg, #ffffff12 0 9deg, transparent 9deg 18deg); animation: irays 18s linear infinite; pointer-events: none; } .ia-join .ia-rays { background: repeating-conic-gradient(from 0deg, #ffffff66 0 9deg, transparent 9deg 18deg); }
@keyframes irays { to { transform: rotate(360deg); } }
.ia-sparks { position: absolute; inset: 0; pointer-events: none; } .ia-sparks i { position: absolute; left: var(--x); bottom: -14px; width: var(--s); height: var(--s); background: var(--hi); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: ispark 2.8s ease-in var(--d) infinite; } .ia-join .ia-sparks i { background: var(--accent); }
@keyframes ispark { 10% { opacity: .9; } 100% { transform: translateY(-300px) rotate(200deg); opacity: 0; } }
.intro-art > :not(.ia-rays):not(.ia-sparks):not(.ia-stamp):not(.ia-grass) { position: relative; z-index: 1; } .ia-stamp { z-index: 2; }
.intro-art.hit { animation: ihit .45s cubic-bezier(.3,.7,.4,1); } @keyframes ihit { 0% { transform: scale(1.04) rotate(-1.5deg); } 25% { transform: translate(-6px, 3px) rotate(1.2deg); } 50% { transform: translate(5px, -3px) rotate(-.8deg); } 75% { transform: translate(-3px, 2px); } 100% { transform: none; } }
.intro-over h1 span.hl { color: var(--accent); position: relative; } .intro-over h1 span.hl::after { content: ""; position: absolute; left: -2%; right: 6%; bottom: .06em; height: .16em; background: var(--hi); z-index: -1; transform: scaleX(0); transform-origin: left; animation: imark .35s ease-out .7s forwards; } @keyframes imark { to { transform: scaleX(1); } }
.intro-actions .btn-accent { position: relative; overflow: hidden; } .intro-actions .btn-accent::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, #ffffff70, transparent); animation: ishine 2.6s ease-in-out 1.5s infinite; } @keyframes ishine { 40%, 100% { left: 130%; } }
/* ---------- Sample previews for signed-out people ---------- */
.lock-chip { align-self: flex-start; justify-self: start; padding: 3px 8px; border-radius: 6px; background: var(--ink); color: var(--hi); font: 900 10px/1.2 var(--f-display); text-transform: uppercase; letter-spacing: .06em; }
.unlocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.unlock { display: flex; flex-direction: column; gap: 6px; padding: 10px; text-align: left; border: var(--bw) solid var(--ink); border-radius: 16px; background: #fff; box-shadow: var(--shadow); color: var(--ink); font: inherit; } .unlock:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.unlock > b { font: 900 16px/1.05 var(--f-display); text-transform: uppercase; } .unlock-line { font-size: 12.5px; line-height: 1.3; color: var(--muted); }
.unlock-mock { display: grid; gap: 4px; align-content: center; min-height: 104px; padding: 8px; border-radius: 10px; background: var(--surface-2); overflow: hidden; } .unlock-mock .spark { height: 34px; }
.um-big { font: 900 22px/1 var(--f-display); } .unlock-mock .gain { font-size: 11px; font-weight: 700; }
.um-row { display: flex; justify-content: space-between; gap: 6px; padding: 4px 6px; border-radius: 6px; background: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; } .um-row span { overflow: hidden; text-overflow: ellipsis; } .um-row.hi { background: var(--hi); } .um-row.up b { color: var(--live); } .um-row.down b { color: var(--accent-text); }
.um-flag { padding: 5px 6px; border-radius: 6px; background: var(--live); color: #fff; font-size: 11px; font-weight: 800; animation: ipulse2 1.6s ease-in-out infinite; } @keyframes ipulse2 { 50% { background: #2E9E63; transform: scale(1.03); } }
.um-meter { height: 10px; border-radius: 5px; background: #fff; overflow: hidden; } .um-meter i { display: block; height: 100%; background: var(--live); }
.um-badges { display: flex; gap: 5px; } .um-badges i { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--ink); border-radius: 50%; background: var(--hi); font: 900 9px/1 var(--f-display); font-style: normal; } .um-badges i.off { background: #fff; opacity: .45; }
.um-link { padding: 5px 6px; border: 2px dashed var(--ink); border-radius: 6px; font: 500 11px/1.2 var(--f-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.um-devices { display: flex; align-items: flex-end; justify-content: center; gap: 8px; } .um-devices i { border: 2.5px solid var(--ink); border-radius: 5px; background: var(--hi); } .um-devices i:nth-child(1) { width: 20px; height: 38px; } .um-devices i:nth-child(2) { width: 40px; height: 52px; background: #fff; } .um-devices i:nth-child(3) { width: 66px; height: 42px; background: var(--sage); }
.locked-head h1 { margin: 10px 0 4px; font: 900 clamp(30px, 9vw, 44px)/.95 var(--f-display); text-transform: uppercase; } .locked-head .pulse-line { display: inline-block; margin: 0 0 6px; }
.locked-room { display: grid; gap: 10px; width: 100%; text-align: left; font: inherit; color: var(--ink); } .locked-room .board { margin: 0; } .locked-room .btn { justify-self: stretch; }
