/* LOOTDROP. A green sky in a black frame: the hero is one giant rounded tile of saturated green where the crate keeps
   falling through clouds; everything else sits on near-black in bold rounded tiles. Green means the drop (the live
   crate, the one action, a win). Rust red and CS2 amber mean only their game. Cream is the crate and the text. */

@font-face { font-family: 'Big Shoulders Stencil Display'; src: url('/fonts/big-shoulders-stencil-display-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-display: swap; }
@font-face { font-family: 'Big Shoulders Stencil Display'; src: url('/fonts/big-shoulders-stencil-display-latin-900-normal.woff2') format('woff2'); font-weight: 900; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/barlow-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'JetBrains Mono'; src: url('/fonts/jetbrains-mono-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-display: swap; }

:root {
  --ground: #111312;      /* the frame */
  --surface: #1A1D1B;     /* panels, cards */
  --surface-2: #232825;
  --line: rgba(246, 239, 227, .09);
  --line-2: rgba(246, 239, 227, .18);
  --cream: #F6EFE3;       /* text on dark; the crate */
  --cream-2: #D9D1C3;     /* secondary text */
  --muted: #A29D92;       /* labels: 6.5:1 on the ground */
  --green: #13A86F;       /* THE accent: the drop. The sky tile, the one action, a win */
  --green-2: #19BF7F;
  --deep: #0B2A1E;        /* ink on green and on cream */
  --mint: #7FD4A8;
  --rust: #E8443A;        /* Rust skins, and nothing else */
  --cs2: #F2A93B;         /* CS2 skins, and nothing else */
  --bad: #FF7A6B; --good: #5FD9A3;
  --display: 'Big Shoulders Stencil Display', Impact, 'Arial Narrow', sans-serif;
  --text: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --r: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 84px; }
body { margin: 0; background: var(--ground); color: var(--cream); font: 400 17px/1.55 var(--text); overflow-x: hidden; min-height: 100vh; display: flex; flex-direction: column; }
#main { flex: 1; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--green); color: var(--deep); }
:focus-visible { outline: 3px solid var(--green-2); outline-offset: 3px; border-radius: 10px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.fine { font-size: 14px; color: var(--muted); margin: 0; }
.label, .kicker { font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.kicker { display: inline-flex; align-items: center; gap: 9px; color: var(--cream-2); }
.kicker::before { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1 { font: 900 clamp(56px, 7.8vw, 120px)/.88 var(--display); letter-spacing: .005em; }
h2 { font: 800 clamp(40px, 4.8vw, 68px)/.92 var(--display); }
h3 { font: 700 20px/1.25 var(--text); }
p { margin: 0; }
.lede { font-size: clamp(17px, 1.5vw, 19px); max-width: 34em; color: var(--cream-2); }
.lede b { color: var(--cream); font-weight: 600; }
.icon { display: inline-flex; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.green { color: var(--green-2); }

/* ---------- buttons: pills ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--surface-2); color: var(--cream); font: 700 16px/1 var(--text); text-decoration: none; cursor: pointer; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .12s var(--ease), background .2s, box-shadow .2s; }
.btn:hover { background: #2C322F; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--green); color: var(--deep); box-shadow: none; }
.btn.primary:hover { background: var(--green-2); }
.btn.deep { background: var(--deep); color: var(--cream); box-shadow: none; }
.btn.deep:hover { background: #12392A; }
.btn.cream { background: var(--cream); color: var(--deep); box-shadow: none; }
.btn.cream:hover { background: #fff; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; color: inherit; }
.icon-btn { width: 38px; height: 38px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--surface-2); cursor: pointer; }

.chip { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--surface-2); color: var(--cream-2); white-space: nowrap; }
.chip.green { background: var(--green); color: var(--deep); }
.chip.rust { background: var(--rust); color: #170806; }
.chip.cs2 { background: var(--cs2); color: #1C1205; }
.chip.ghost { background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); }

.plate { position: relative; background: var(--surface); border-radius: var(--r); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- header ---------- */
#top { position: sticky; top: 0; z-index: 40; background: rgba(17, 19, 18, .86); backdrop-filter: blur(10px); transition: box-shadow .2s; }
#top.scrolled { box-shadow: 0 1px 0 var(--line-2); }
.demo-strip { background: var(--deep); color: var(--cream-2); font: 500 13px/1.4 var(--text); text-align: center; padding: 7px var(--gut); }
.demo-strip b { color: var(--mint); font-weight: 700; }
.top-bar { display: flex; align-items: center; gap: 22px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex: none; }
.logo { display: flex; align-items: center; gap: 12px; }
.brand .mk, .brand .mk svg { width: 42px; height: 42px; flex: none; }
.brand .wm svg { height: 22px; width: auto; }
.nav { display: flex; gap: 2px; }
.nav a { padding: 9px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--cream-2); }
.nav a:hover { background: var(--surface-2); color: var(--cream); }
.nav a[aria-current] { color: var(--deep); background: var(--green); }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.top-actions .btn { height: 42px; font-size: 15px; padding: 0 16px; }
.ca-chip { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 999px; font: 600 12px/1 var(--mono); color: var(--cream-2); background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-2); border: 0; }
.ca-chip.live { cursor: pointer; background: var(--surface-2); }
.wallet-box { position: relative; }
.wallet-btn.on { gap: 8px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-2); box-shadow: 0 0 0 3px rgba(19, 168, 111, .3); }
.menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: var(--surface); border-radius: 18px; padding: 6px; box-shadow: inset 0 0 0 1px var(--line-2), 0 18px 40px rgba(0, 0, 0, .45); z-index: 50; }
.menu-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px; border: 0; background: none; border-radius: 12px; text-align: left; text-decoration: none; font-size: 15px; cursor: pointer; }
.menu-item:hover { background: var(--surface-2); }
.tabbar { display: none; }

/* ---------- the sky tile: the hero ---------- */
.sky { position: relative; margin: 8px clamp(8px, 1.4vw, 18px) 0; border-radius: 40px; background: var(--green); color: var(--deep); overflow: hidden; isolation: isolate; }
.drift { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.drift .cl { position: absolute; bottom: -120px; width: 180px; }
.drift .cl.far { opacity: .16; }
.drift .wind { position: absolute; bottom: -140px; width: 5px; opacity: .14; }
/* still frame (motion off): clouds where they rest */
/* clouds keep to the right half of the sky, so the words on the left stay clean */
.drift .c1 { left: 54%; bottom: 74%; width: 210px; } .drift .c2 { left: 76%; bottom: 84%; width: 150px; } .drift .c3 { left: 90%; bottom: 40%; width: 210px; }
.drift .c4 { left: 50%; bottom: 8%; width: 260px; } .drift .c5 { left: 72%; bottom: 4%; width: 300px; } .drift .c6 { left: 86%; bottom: 22%; width: 260px; }
.drift .w1 { left: 49%; bottom: 40%; } .drift .w2 { left: 63%; bottom: 60%; } .drift .w3 { left: 92%; bottom: 20%; } .drift .w4 { left: 54%; bottom: 10%; }
[data-motion='on'] .drift .cl, [data-motion='on'] .drift .wind { bottom: -160px; animation: rise linear infinite; will-change: transform; }
[data-motion='on'] .drift .c1 { animation-duration: 15s; animation-delay: -3s; } [data-motion='on'] .drift .c2 { animation-duration: 21s; animation-delay: -12s; }
[data-motion='on'] .drift .c3 { animation-duration: 12s; animation-delay: -7s; } [data-motion='on'] .drift .c4 { animation-duration: 26s; animation-delay: -20s; }
[data-motion='on'] .drift .c5 { animation-duration: 32s; animation-delay: -6s; } [data-motion='on'] .drift .c6 { animation-duration: 29s; animation-delay: -16s; }
[data-motion='on'] .drift .w1 { animation-duration: 2.6s; animation-delay: -1s; } [data-motion='on'] .drift .w2 { animation-duration: 3.4s; animation-delay: -2.2s; }
[data-motion='on'] .drift .w3 { animation-duration: 2.9s; animation-delay: -.4s; } [data-motion='on'] .drift .w4 { animation-duration: 3.8s; animation-delay: -3s; }
@keyframes rise { from { transform: translateY(0); } to { transform: translateY(calc(-100vh - 1100px)); } }

.hero { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: 30px; align-items: center; padding: clamp(46px, 6vw, 84px) clamp(22px, 4vw, 64px) clamp(40px, 5vw, 70px); min-height: clamp(600px, calc(100vh - 110px), 860px); }
.hero-copy { display: grid; gap: 24px; align-content: center; }
.sky .kicker { color: var(--deep); }
.sky .kicker::before { background: var(--deep); }
.sky h1 { color: var(--deep); }
.sky .slab { display: inline; color: var(--cream); background: var(--deep); padding: 0 .14em; line-height: 1.04; -webkit-box-decoration-break: clone; box-decoration-break: clone; border-radius: .08em; }
.sky .lede { color: var(--deep); }
.sky .lede b { color: var(--deep); font-weight: 700; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.proof { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.proof li { display: flex; gap: 10px; align-items: baseline; font-size: 15.5px; font-weight: 500; color: var(--deep); }
.proof li::before { content: ''; flex: none; width: 14px; height: 9px; border-left: 3px solid var(--deep); border-bottom: 3px solid var(--deep); transform: rotate(-45deg) translate(2px, -2px); }

.ca-box { display: grid; gap: 6px; padding: 14px 18px; border-radius: 20px; max-width: 560px; box-shadow: inset 0 0 0 2px var(--line-2); }
.ca-box .ca-line { display: flex; align-items: center; gap: 10px; }
.ca-box .addr { font: 600 14px/1.3 var(--mono); user-select: all; overflow-wrap: anywhere; flex: 1; }
.ca-box .soon { font: 900 24px/1 var(--display); letter-spacing: .04em; }
.sky .ca-box { box-shadow: inset 0 0 0 2px rgba(11, 42, 30, .4); }
.sky .ca-box .label, .sky .ca-box .fine { color: var(--deep); opacity: .85; }

.stage { position: relative; display: grid; justify-items: center; align-content: center; gap: 18px; }
.stage .crate-char { width: min(100%, 440px); overflow: visible; filter: drop-shadow(0 24px 0 rgba(11, 42, 30, .14)); }
[data-motion='on'] .crate-char .sway { transform-origin: 160px 30px; animation: sway 5.8s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(12px) rotate(3deg); } }
.readout { width: min(100%, 400px); padding: 18px 20px 20px; display: grid; gap: 10px; background: var(--ground); color: var(--cream); border-radius: 28px; }
.readout .big { font: 900 52px/1 var(--display); letter-spacing: .01em; }
.readout .big small { font: 600 15px var(--mono); color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.bar { height: 14px; border-radius: 999px; background: var(--surface-2); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 999px; background: var(--green); width: 0; transition: width .6s var(--ease); }
.readout .state { font-size: 15px; color: var(--cream-2); }
.readout .state b { color: var(--cream); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section-head { display: grid; gap: 14px; margin-bottom: 34px; max-width: 780px; }
.section-head.split { max-width: none; grid-template-columns: 1fr auto; align-items: end; }

/* the bento: big rounded tiles of colour */
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.tile { position: relative; border-radius: 30px; padding: 26px; display: grid; gap: 10px; align-content: space-between; min-height: 230px; overflow: hidden; text-decoration: none; }
.tile .label { color: inherit; opacity: .75; }
.tile .v { font: 900 clamp(48px, 5vw, 76px)/.9 var(--display); letter-spacing: .01em; }
.tile .v small { font: 600 16px var(--mono); opacity: .7; margin-left: 6px; letter-spacing: 0; }
.tile p { font-size: 15.5px; }
.t-crate { grid-column: span 5; background: var(--deep); color: var(--cream); }
.t-crate .bar { background: rgba(246, 239, 227, .1); }
.t-last { grid-column: span 4; background: var(--cream); color: var(--deep); }
.t-last .label { opacity: .7; }
.t-last .art { height: 104px; display: grid; place-items: center; }
.t-last .art img, .t-last .art svg { max-height: 104px; width: auto; }
.t-zone { grid-column: span 3; background: var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-rust { grid-column: span 3; background: var(--rust); color: #170806; }
.t-cs2 { grid-column: span 3; background: var(--cs2); color: #1C1205; }
.t-proof { grid-column: span 3; background: var(--surface); color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); }
.t-split { grid-column: span 3; background: var(--green); color: var(--deep); }
.tile .glyph { position: absolute; right: -14px; bottom: -18px; width: 150px; opacity: .2; transform: rotate(-12deg); pointer-events: none; }
.tile-link { text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.step { padding: 26px 24px; display: grid; gap: 12px; align-content: start; }
.step .n { font: 900 64px/.9 var(--display); color: var(--green); }
.step p { font-size: 15.5px; color: var(--cream-2); }

/* skin cards: one per drop */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.skin { display: grid; background: var(--surface); border-radius: 26px; overflow: hidden; text-decoration: none; color: var(--cream); box-shadow: inset 0 0 0 1px var(--line); transition: transform .25s var(--ease); }
.skin:hover { transform: translateY(-4px); }
.skin .band { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; background: var(--surface-2); color: var(--cream-2); }
.skin .band.rust { background: var(--rust); color: #170806; }
.skin .band.cs2 { background: var(--cs2); color: #1C1205; }
.skin .art { height: 140px; margin: 12px 12px 0; border-radius: 18px; background: var(--cream); display: grid; place-items: center; }
.skin .art img { max-height: 120px; width: auto; }
.skin .art .item-ic { width: 112px; }
.skin .body { padding: 14px 16px 16px; display: grid; gap: 6px; }
.skin .name { font-weight: 700; font-size: 17px; line-height: 1.25; }
.skin .meta { display: flex; justify-content: space-between; gap: 8px; font: 500 13px/1.4 var(--mono); color: var(--muted); }
.skin .usd { font: 900 30px/1 var(--display); color: var(--cream); }
.stamp { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font: 600 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; background: rgba(0, 0, 0, .22); color: inherit; }
.stamp.delivered { background: var(--green); color: var(--deep); }
.stamp.returned { background: rgba(0, 0, 0, .3); }
.stamp.live { background: var(--cream); color: var(--deep); }

/* receipts */
.feed { display: grid; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.feed-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-top: 1px solid var(--line); font-size: 15px; color: var(--cream-2); }
.feed-row:first-child { border-top: 0; }
.feed-row a { color: var(--cream); }
.feed-row .when { font: 500 13px var(--mono); color: var(--muted); }
.feed-row .tx { font: 600 13px var(--mono); color: var(--cream-2); text-decoration: none; white-space: nowrap; }
.feed-row .tx:hover { color: var(--green-2); }
.feed-row .k { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--muted); margin-right: 9px; vertical-align: 1px; }
.feed-row .k.draw, .feed-row .k.delivered, .feed-row .k.commit { background: var(--green-2); }

.split-bar { display: grid; height: 64px; border-radius: 999px; overflow: hidden; background: var(--deep); }
.split-bar > div { display: flex; align-items: center; justify-content: space-between; padding: 0 20px; font: 700 15px var(--text); }
.split-bar .crate { background: var(--deep); color: var(--cream); }
.split-bar .team { background: rgba(246, 239, 227, .85); color: var(--deep); }
.split-bar b { font: 900 30px/1 var(--display); }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border-radius: 20px; padding: 0 22px; box-shadow: inset 0 0 0 1px var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 600 22px/1 var(--mono); color: var(--green-2); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 0 18px; color: var(--cream-2); max-width: 64em; }

.close { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: clamp(36px, 5vw, 64px) clamp(24px, 5vw, 70px); }
.close h2 { color: var(--deep); font-size: clamp(46px, 6vw, 92px); }
.close .crate-char { width: clamp(180px, 22vw, 300px); }

/* ---------- footer ---------- */
#foot { border-top: 1px solid var(--line); margin-top: 70px; }
.foot { display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px 40px; padding-top: 40px; padding-bottom: 36px; }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand .wm svg { height: 30px; width: auto; }
.foot-brand p { color: var(--cream-2); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; align-content: start; justify-content: flex-end; }
.foot-links a { font-weight: 600; text-decoration: none; color: var(--cream-2); }
.foot-links a:hover { color: var(--cream); }
.foot-note { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.foot-base { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- pages ---------- */
.page-head { padding: 50px 0 32px; display: grid; gap: 16px; }
.page-head h1 { font-size: clamp(48px, 6.4vw, 92px); }
.card { padding: 24px; }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 18px; align-items: start; }
.stack { display: grid; gap: 16px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { display: grid; gap: 4px; padding: 16px 18px; background: var(--surface-2); border-radius: 20px; min-width: 0; }
.stat-value { font: 900 34px/1.02 var(--display); letter-spacing: .01em; overflow-wrap: anywhere; }
.stat-hint { font-size: 13px; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: 15px; }
.input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 16px; background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--line-2); font: 500 16px var(--mono); color: var(--cream); }
.input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--green); }
.input::placeholder { color: #7F7B72; }
.problem { color: var(--bad); font-size: 14.5px; font-weight: 600; }
.ok { color: var(--good); font-weight: 700; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 999px; background: var(--surface-2); flex-wrap: wrap; }
.seg button { height: 38px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--cream-2); font-weight: 700; cursor: pointer; }
.seg button[aria-pressed='true'] { background: var(--cream); color: var(--deep); }
.seg button[data-g='rust'][aria-pressed='true'] { background: var(--rust); color: #170806; }
.seg button[data-g='cs2'][aria-pressed='true'] { background: var(--cs2); color: #1C1205; }

.checks { display: grid; gap: 10px; }
.check { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.check .box { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font: 900 22px var(--display); background: var(--surface-2); color: var(--muted); }
.check.on .box { background: var(--green); color: var(--deep); }
.check b { display: block; font-weight: 700; }
.check span { font-size: 14.5px; color: var(--cream-2); }

.proofline { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.proofline:first-child { border-top: 0; }
.proofline .n { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font: 700 14px var(--mono); background: var(--green); color: var(--deep); }
.proofline .v { font: 500 13.5px/1.5 var(--mono); overflow-wrap: anywhere; color: var(--cream-2); }
.proofline h3 { font-size: 17px; margin-bottom: 4px; }
.verify-out { padding: 14px 16px; border-radius: 16px; font-weight: 600; }
.verify-out.good { background: var(--green); color: var(--deep); }
.verify-out.bad { background: #3A1814; color: var(--bad); }

.timeline { display: grid; }
.tl { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; color: var(--cream-2); }
.tl .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--surface-2); box-shadow: inset 0 0 0 2px var(--line-2); justify-self: center; }
.tl.done { color: var(--cream); }
.tl.done .dot { background: var(--green); box-shadow: none; }
.tl.now .dot { background: var(--cream); box-shadow: 0 0 0 5px rgba(19, 168, 111, .35); }
.tl .t { font: 500 13px var(--mono); color: var(--muted); }

.table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border-radius: var(--r); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.table th { text-align: left; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 14px 16px; border-bottom: 1px solid var(--line-2); }
.table td { padding: 12px 16px; border-top: 1px solid var(--line); font-size: 15px; vertical-align: middle; }
.table tr.clickable { cursor: pointer; }
.table tr.clickable:hover td { background: var(--surface-2); }
.table .itemcell { display: flex; align-items: center; gap: 12px; }
.table .itemcell .thumb { width: 64px; height: 46px; border-radius: 12px; background: var(--cream); display: grid; place-items: center; flex: none; }
.table .itemcell .thumb .item-ic, .table .itemcell .thumb img { width: 52px; height: 38px; object-fit: contain; }

.empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 56px 20px; }
.empty .crate-char { width: 150px; }
.sk { background: linear-gradient(90deg, var(--surface), var(--surface-2), var(--surface)); background-size: 200% 100%; border-radius: 12px; min-height: 18px; }
[data-motion='on'] .sk { animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.skin.sk-card { min-height: 300px; }

/* toasts and the modal */
.toasts { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); display: grid; gap: 8px; z-index: 90; }
.toast { padding: 11px 18px; background: var(--cream); color: var(--deep); border-radius: 999px; font-weight: 700; font-size: 15px; }
.toast.bad { background: var(--bad); color: #1A0503; }
.modal-veil { position: fixed; inset: 0; background: rgba(0, 0, 0, .6); display: grid; place-items: center; z-index: 80; padding: 16px; }
.modal-panel { width: min(100%, 460px); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line-2), 0 30px 60px rgba(0, 0, 0, .5); }
.modal-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 8px; }
.modal-head h2 { font: 800 32px/1 var(--display); }
.modal-panel.locked .modal-x { visibility: hidden; }
.modal-body { padding: 8px 20px 22px; display: grid; gap: 14px; }
.wallet-list { display: grid; gap: 8px; }
.wallet-row { display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 13px 15px; border: 0; border-radius: 18px; background: var(--surface-2); cursor: pointer; text-align: left; }
.wallet-row:hover { background: #2C322F; }
.wallet-row img { border-radius: 8px; }
.wallet-name { font-weight: 700; }
.wallet-tag { font: 600 11px var(--mono); text-transform: uppercase; color: var(--muted); }
.wallet-help { display: grid; gap: 10px; }

#main.enter { animation: enter .35s var(--ease); }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
[data-motion='off'] *, [data-motion='off'] *::before, [data-motion='off'] *::after { animation: none !important; transition: none !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-crate, .t-last { grid-column: span 6; }
  .t-zone, .t-rust, .t-cs2, .t-proof, .t-split { grid-column: span 6; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 60; background: rgba(26, 29, 27, .94); backdrop-filter: blur(10px); border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2), 0 10px 30px rgba(0, 0, 0, .4); padding: 5px; }
  .tabbar a { display: grid; place-items: center; height: 48px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; color: var(--cream-2); }
  .tabbar a[aria-current] { background: var(--green); color: var(--deep); }
  body { padding-bottom: 76px; }
}
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; min-height: 0; gap: 18px; padding-top: 30px; }
  .stage { order: -1; }
  .stage .crate-char { width: min(64vw, 250px); }
  .grid-2 { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
  .top-cta, .ca-chip { display: none; }
  .section-head.split { grid-template-columns: 1fr; }
  .close { grid-template-columns: 1fr; text-align: left; }
  .close .crate-char { width: 170px; justify-self: center; order: -1; }
  .drift .c4, .drift .c5, .drift .c3, .drift .wind { display: none; }
}
@media (max-width: 560px) {
  .top-bar { gap: 10px; height: 64px; }
  .brand .wm { display: none; }
  .sky { border-radius: 30px; margin: 6px 6px 0; }
  .steps { grid-template-columns: 1fr; }
  .t-crate, .t-last, .t-zone, .t-rust, .t-cs2, .t-proof, .t-split { grid-column: span 12; min-height: 0; }
  .hero-cta .btn { flex: 1 1 100%; }
  .feed-row { grid-template-columns: 1fr auto; }
  .feed-row .when { grid-column: 1 / -1; }
  .table .hide-sm { display: none; }
  .split-bar > div { padding: 0 14px; font-size: 13px; }
  .split-bar b { font-size: 24px; }
  .wallet-btn .muted { display: none; }
}
