/* unbox — charcoal, white and orange, skin-first. */
:root {
  --bg: #161617; --bg2: #1c1c1e; --panel: #232325; --panel2: #2a2a2d; --panel3: #20264200; --line: #333336; --line2: #3e3e43;
  --text: #f7f7f7; --muted: #a3a3aa; --dim: #6e6e75;
  --acc: #ff6a00; --acc-2: #ff8f3a; --acc-ink: #1a0a00; --vio: #c94f00; --cyan: #ffffff;
  --green: #2bd576; --red: #ff4d61;
  --r-consumer: #b0c3d9; --r-industrial: #5e98d9; --r-milspec: #4b69ff; --r-restricted: #8847ff; --r-classified: #d32ce6; --r-covert: #eb4b4b; --r-gold: #e4ae39;
  --radius: 14px; --radius-s: 10px;
  --font: 'Inter', system-ui, -apple-system, Segoe UI, sans-serif; --display: 'Chakra Petch', 'Inter', system-ui, sans-serif; --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; }
body::before { content: ''; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(900px 500px at 85% -10%, rgba(255, 106, 0, .08), transparent 60%),
  radial-gradient(700px 420px at -5% 10%, rgba(255, 106, 0, .10), transparent 60%),
  linear-gradient(180deg, #18181a 0%, var(--bg) 40%); }
body::after { content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: var(--text); }
::selection { background: var(--acc); color: var(--acc-ink); }
.wrap { width: min(1320px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); } .dim { color: var(--dim); } .green { color: var(--green); } .red { color: var(--red); } .acc { color: var(--acc); }
.mono { font-family: var(--mono); font-size: .92em; }
.label { font: 600 11px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.01em; }
.hide { display: none !important; }

/* ---------- top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px) saturate(140%); background: rgba(22, 22, 23, .78); border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: 22px; height: 66px; }
.logo { display: flex; align-items: center; gap: 9px; font: 800 28px/1 'Poppins', var(--font); letter-spacing: -.03em; text-transform: lowercase; color: #fff; }
.logo-box { width: 40px; height: auto; flex: none; transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.logo:hover .logo-box { transform: translateY(-2px) rotate(-4deg); }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--acc); box-shadow: 0 0 22px rgba(255, 106, 0, .35); position: relative; }
.logo-mark svg { position: relative; z-index: 1; width: 20px; height: 20px; }
.logo b { color: var(--acc); font-weight: 800; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 9px 14px; border-radius: 9px; color: var(--muted); font: 600 14px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: color .2s, background .2s; position: relative; }
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav a.on { color: var(--text); }
.nav a.on::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -14px; height: 2px; background: var(--acc); box-shadow: 0 0 12px var(--acc); border-radius: 2px; }
.top-right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.steam-btn { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border-radius: 10px; background: linear-gradient(180deg, #2d2c30, #2a2a2d); border: 1px solid #3e3e43; font: 600 13px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; transition: transform .15s, border-color .2s; }
.steam-btn:hover { border-color: #5a5a61; transform: translateY(-1px); }
.steam-btn svg { width: 18px; height: 18px; }
.user-chip { display: inline-flex; align-items: center; gap: 9px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.user-chip img, .user-chip .av { width: 28px; height: 28px; border-radius: 50%; background: var(--panel2); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 40px; height: 40px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 11px; border: 1px solid var(--line2); background: var(--panel2); font: 700 14px/1 var(--display); letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap; position: relative; overflow: hidden; }
.btn:hover { transform: translateY(-1px); border-color: #5a5a61; }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn.primary { background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: var(--acc-ink); border-color: transparent; box-shadow: 0 8px 28px -8px rgba(255, 106, 0, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary:hover { box-shadow: 0 10px 34px -6px rgba(255, 106, 0, .9), inset 0 1px 0 rgba(255,255,255,.5); }
.btn.primary::after { content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); animation: shine 3.6s ease-in-out infinite; }
@keyframes shine { 0%, 60% { left: -60%; } 100% { left: 140%; } }
.btn.buy { background: linear-gradient(180deg, var(--acc-2), var(--acc)); color: var(--acc-ink); border-color: transparent; }
.btn.sell { background: var(--panel2); color: var(--text); border-color: var(--line2); }
.btn.ghost { background: transparent; }
.btn.sm { padding: 8px 13px; font-size: 12px; border-radius: 9px; }
.btn.lg { padding: 16px 26px; font-size: 15px; border-radius: 13px; }
.btn.block { width: 100%; }
.icon-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); display: inline-grid; place-items: center; }

/* ---------- live drops ---------- */
.drops { border-bottom: 1px solid var(--line); background: linear-gradient(180deg, rgba(28, 28, 30,.9), rgba(22, 22, 23,.6)); overflow: hidden; position: relative; }
.drops .wrap { display: flex; align-items: center; gap: 14px; height: 84px; }
.drops-label { flex: none; display: flex; flex-direction: column; gap: 6px; padding-right: 14px; border-right: 1px solid var(--line); }
.live-dot { display: inline-flex; align-items: center; gap: 7px; font: 700 12px/1 var(--display); letter-spacing: .14em; color: var(--acc); }
.live-dot::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 0 rgba(255, 106, 0, .7); animation: ping 1.6s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 106, 0, .6); } 100% { box-shadow: 0 0 0 10px rgba(255, 106, 0, 0); } }
.drops-track { display: flex; gap: 8px; flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, #000 85%, transparent); }
.drop { --rc: var(--acc); flex: none; width: 128px; height: 66px; border-radius: 10px; background: linear-gradient(180deg, var(--panel), var(--bg2)); border: 1px solid var(--line); position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr; padding: 6px 8px; }
.drop::before { content: ''; position: absolute; inset: auto 0 0 0; height: 3px; background: var(--rc, var(--r-milspec)); box-shadow: 0 0 14px var(--rc); }
.drop::after { content: ''; position: absolute; inset: 0; background: radial-gradient(120px 50px at 50% 110%, color-mix(in srgb, var(--rc) 35%, transparent), transparent 70%); pointer-events: none; }
.drop img { position: absolute; right: 2px; top: 4px; width: 74px; height: 50px; object-fit: contain; filter: drop-shadow(0 4px 8px rgba(0,0,0,.6)); }
.drop .t { position: relative; z-index: 1; font: 700 12px/1.1 var(--display); }
.drop .s { position: relative; z-index: 1; font-size: 11px; margin-top: auto; font-weight: 700; }
.drop .s.b { color: var(--green); } .drop .s.x { color: var(--red); }

/* ---------- hero ---------- */
.hero { padding: 56px 0 30px; position: relative; overflow-x: clip; }
.hero-skin { display: block; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 13px 7px 8px; border-radius: 999px; background: rgba(255, 106, 0, .08); border: 1px solid rgba(255, 106, 0, .3); font-size: 13px; font-weight: 600; color: #ffd3b3; }
.eyebrow b { background: var(--acc); color: var(--acc-ink); border-radius: 999px; padding: 3px 8px; font: 700 11px/1 var(--display); letter-spacing: .08em; }
.hero h1 { font-size: clamp(42px, 6.2vw, 86px); font-weight: 700; margin: 20px 0 18px; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; }
.hero h1 .stroke { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .55); }
.hero h1 .glow { background: linear-gradient(90deg, var(--acc-2), var(--acc) 40%, #c94f00 80%); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255, 106, 0, .35)); }
.hero p.lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 36px; }
.hstat { padding: 14px 16px; border-radius: 12px; background: rgba(35, 35, 37, .7); border: 1px solid var(--line); }
.hstat .v { font: 700 24px/1 var(--display); margin-top: 7px; font-variant-numeric: tabular-nums; }
.stage { position: relative; aspect-ratio: 1 / .86; display: grid; place-items: center; perspective: 1200px; }
.stage .ring { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .12); animation: spin 40s linear infinite; }
.stage .ring.r2 { width: 62%; border: 1px solid rgba(255, 106, 0, .22); animation-duration: 26s; animation-direction: reverse; }
.stage .ring.r2::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 18px var(--acc); }
.stage .ring.r3 { width: 96%; border: 1px solid rgba(255, 255, 255, .14); animation-duration: 60s; }
.stage .ring.r3::before { content: ''; position: absolute; bottom: 12%; right: 4%; width: 7px; height: 7px; border-radius: 50%; background: var(--vio); box-shadow: 0 0 14px var(--vio); }
@keyframes spin { to { transform: rotate(360deg); } }
.stage .halo { position: absolute; width: 58%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--rc, var(--r-covert)) 55%, transparent), transparent 66%); filter: blur(30px); transition: background .6s; }
.hero-skin { position: relative; width: 92%; transform-style: preserve-3d; will-change: transform; }
.hero-skin img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.75)) drop-shadow(0 0 30px color-mix(in srgb, var(--rc, #eb4b4b) 45%, transparent)); }
.hero-tag { position: absolute; padding: 10px 14px; border-radius: 12px; background: rgba(35, 35, 37, .86); border: 1px solid var(--line2); backdrop-filter: blur(10px); box-shadow: var(--shadow); font-size: 13px; min-width: 150px; }
.hero-tag .label { font-size: 10px; }
.hero-tag b { display: block; font: 700 18px/1.2 var(--display); margin-top: 4px; }
.hero-tag.t1 { top: 8%; left: 0; } .hero-tag.t2 { bottom: 12%; right: 0; } .hero-tag.t3 { bottom: 4%; left: 8%; }
.hero-name { position: absolute; top: 2%; right: 2%; text-align: right; }
.hero-name .n { font: 700 20px/1.1 var(--display); }
.particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.particles i { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: var(--acc); opacity: .0; }

/* ---------- section heads ---------- */
.section { padding: 46px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(26px, 3vw, 38px); text-transform: uppercase; }
.sec-head h2 .n { color: var(--acc); font-size: .6em; vertical-align: super; margin-right: 6px; }
.sec-head p { margin: 6px 0 0; color: var(--muted); }

/* ---------- vault roulette ---------- */
.reel-box { position: relative; border-radius: 18px; border: 1px solid var(--line); background: linear-gradient(180deg, #1f1f21, #1f1f21); padding: 26px 0; overflow: hidden; box-shadow: inset 0 0 80px rgba(0,0,0,.6); }
.reel-box::before, .reel-box::after { content: ''; position: absolute; top: 0; bottom: 0; width: 160px; z-index: 3; pointer-events: none; }
.reel-box::before { left: 0; background: linear-gradient(90deg, #1f1f21, transparent); } .reel-box::after { right: 0; background: linear-gradient(-90deg, #1f1f21, transparent); }
.reel-line { position: absolute; left: 50%; top: 10px; bottom: 10px; width: 3px; transform: translateX(-50%); background: var(--acc); box-shadow: 0 0 18px var(--acc), 0 0 40px var(--acc); z-index: 4; border-radius: 3px; }
.reel-line::before, .reel-line::after { content: ''; position: absolute; left: 50%; transform: translateX(-50%); border: 9px solid transparent; }
.reel-line::before { top: -6px; border-top-color: var(--acc); } .reel-line::after { bottom: -6px; border-bottom-color: var(--acc); }
.reel { display: flex; gap: 10px; will-change: transform; padding-left: 50%; }
.reel-item { flex: none; width: 190px; height: 150px; border-radius: 12px; background: linear-gradient(180deg, #2a2a2d, #1f1f21); border: 1px solid var(--line); position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 10px 12px; }
.reel-item::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rc); box-shadow: 0 0 18px var(--rc); }
.reel-item::before { content: ''; position: absolute; inset: 0; background: radial-gradient(180px 90px at 50% 100%, color-mix(in srgb, var(--rc) 30%, transparent), transparent 70%); }
.reel-item img { position: relative; height: 92px; width: 100%; object-fit: contain; margin: auto 0 0; filter: drop-shadow(0 8px 10px rgba(0,0,0,.6)); }
.reel-item .t { position: relative; font: 700 13px/1.1 var(--display); } .reel-item .s { position: relative; font-size: 11px; color: var(--muted); }
.reel-item.win { border-color: var(--rc); box-shadow: 0 0 0 2px var(--rc), 0 0 40px color-mix(in srgb, var(--rc) 60%, transparent); }
.reel-ctl { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 18px; flex-wrap: wrap; }
.reel-result { margin-top: 18px; display: none; }
.reel-result.on { display: block; }

/* ---------- filters ---------- */
.filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.seg { display: inline-flex; padding: 4px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); gap: 2px; flex-wrap: wrap; }
.seg button { border: 0; background: none; padding: 8px 13px; border-radius: 8px; font: 600 13px/1 var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); transition: background .2s, color .2s; }
.seg button.on { background: var(--panel2); color: var(--text); box-shadow: inset 0 -2px 0 var(--acc); }
.search { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); height: 44px; }
.search input { flex: 1; border: 0; background: none; outline: none; height: 100%; }
select.sel { height: 44px; padding: 0 12px; border-radius: 11px; background: var(--panel); border: 1px solid var(--line); }

/* ---------- skin card ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.sk { --rc: var(--acc); position: relative; border-radius: var(--radius); background: linear-gradient(180deg, var(--panel), #1f1f21); border: 1px solid var(--line); overflow: hidden; transition: transform .25s cubic-bezier(.2,.8,.2,1), border-color .25s, box-shadow .25s; transform-style: preserve-3d; display: flex; flex-direction: column; }
.sk:hover { border-color: color-mix(in srgb, var(--rc) 60%, var(--line)); box-shadow: 0 18px 50px -18px color-mix(in srgb, var(--rc) 55%, transparent); }
.sk-art { position: relative; height: 170px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(220px 120px at 50% 105%, color-mix(in srgb, var(--rc) 38%, transparent), transparent 70%), linear-gradient(180deg, #2a2a2d, #1f1f21); }
.sk-art::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); box-shadow: 0 0 20px var(--rc); }
.sk-art img { width: 84%; height: 140px; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0,0,0,.6)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sk:hover .sk-art img { transform: scale(1.08) rotate(-3deg) translateY(-4px); }
.sk-art .shine { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.16) 50%, transparent 65%); transform: translateX(-100%); transition: transform .8s; pointer-events: none; }
.sk:hover .sk-art .shine { transform: translateX(100%); }
.sk-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; justify-content: space-between; gap: 6px; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 7px; font: 700 10.5px/1 var(--display); letter-spacing: .08em; text-transform: uppercase; background: rgba(22, 22, 23, .72); border: 1px solid var(--line2); backdrop-filter: blur(6px); }
.pill.vault { color: var(--acc); border-color: rgba(255, 106, 0, .4); }
.pill.vault::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 8px var(--acc); }
.pill.redeemed { color: var(--muted); } .pill.frozen { color: var(--red); border-color: rgba(255,77,97,.4); } .pill.redeeming { color: var(--acc); border-color: rgba(255, 106, 0,.45); }
.pill.grad { color: var(--cyan); border-color: rgba(255, 255, 255, .4); }
.sk-body { padding: 14px 15px 15px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sk-name { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.sk-name .tk { font: 700 19px/1 var(--display); }
.sk-name .no { font: 600 12px/1 var(--mono); color: var(--dim); }
.sk-skin { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -5px; }
.sk-skin b { color: var(--text); font-weight: 600; }
.sk-row { display: flex; justify-content: space-between; font-size: 13px; }
.sk-row .v { font-weight: 700; font-variant-numeric: tabular-nums; }
.bar { height: 6px; border-radius: 6px; background: var(--bg2); overflow: hidden; position: relative; }
.bar i { position: absolute; inset: 0 auto 0 0; border-radius: 6px; background: linear-gradient(90deg, var(--vio), var(--acc)); box-shadow: 0 0 12px rgba(255, 106, 0, .5); }
.floatbar { height: 6px; border-radius: 6px; position: relative; background: var(--line2); }
.floatbar b { position: absolute; top: -4px; width: 3px; height: 14px; border-radius: 2px; background: var(--acc); box-shadow: 0 0 8px var(--acc); transform: translateX(-50%); }
.chg.up { color: var(--green); } .chg.dn { color: var(--red); }

/* ---------- panels ---------- */
.panel { background: linear-gradient(180deg, var(--panel), #1f1f21); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.panel h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; font-size: 14px; }
.kv dt { color: var(--muted); } .kv dd { margin: 0; text-align: right; font-weight: 600; word-break: break-all; }
.table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table th { text-align: left; font: 600 11px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 10px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 10px; border-bottom: 1px solid rgba(51, 51, 54, .6); vertical-align: middle; }
.table tr.new td { animation: flashrow 1.4s ease-out; }
@keyframes flashrow { from { background: rgba(255, 106, 0, .14); } to { background: transparent; } }
.table-wrap { overflow-x: auto; }
.empty { padding: 30px; text-align: center; color: var(--muted); border: 1px dashed var(--line2); border-radius: 12px; }
.notice { padding: 12px 14px; border-radius: 11px; font-size: 14px; border: 1px solid var(--line2); background: var(--panel2); }
.notice.warn { border-color: rgba(255, 106, 0, .45); background: rgba(255, 106, 0, .08); }
.notice.bad { border-color: rgba(255, 77, 97, .45); background: rgba(255, 77, 97, .08); }
.notice.ok { border-color: rgba(255, 106, 0, .4); background: rgba(255, 106, 0, .07); }
.skel { border-radius: 12px; background: linear-gradient(90deg, var(--panel) 0%, var(--panel2) 50%, var(--panel) 100%); background-size: 200% 100%; animation: skel 1.3s infinite; }
@keyframes skel { to { background-position: -200% 0; } }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.field label { font: 600 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.input, .field input, .field textarea { width: 100%; padding: 12px 14px; border-radius: 11px; background: var(--bg2); border: 1px solid var(--line2); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus, .input:focus { border-color: var(--acc); box-shadow: 0 0 0 3px rgba(255, 106, 0, .15); }
.input-wrap { position: relative; } .input-wrap .suffix { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; font-size: 13px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; }
.chip-btn { padding: 7px 11px; border-radius: 8px; border: 1px solid var(--line2); background: var(--panel2); font-size: 12.5px; font-weight: 600; }
.chip-btn.on, .chip-btn:hover { border-color: var(--acc); color: var(--acc); }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; counter-reset: s; }
.step { position: relative; padding: 14px 14px 14px 52px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); counter-increment: s; font-size: 13px; color: var(--muted); }
.step::before { content: counter(s); position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font: 700 14px/1 var(--display); background: var(--panel2); border: 1px solid var(--line2); color: var(--muted); }
.step b { display: block; color: var(--text); font: 700 14px/1.2 var(--display); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 2px; }
.step.done::before { content: '✓'; background: rgba(255, 106, 0, .15); border-color: var(--acc); color: var(--acc); }
.step.now { border-color: rgba(255, 106, 0, .5); box-shadow: 0 0 0 1px rgba(255, 106, 0,.25), 0 10px 30px -14px rgba(255, 106, 0, .5); }
.step.now::before { background: var(--acc); color: var(--acc-ink); border-color: var(--acc); }

/* ---------- inventory ---------- */
.inv { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.it { --rc: var(--acc); position: relative; border-radius: 11px; background: linear-gradient(180deg, #2a2a2d, #1f1f21); border: 1px solid var(--line); padding: 10px; cursor: pointer; transition: transform .2s, border-color .2s, box-shadow .2s; text-align: left; display: flex; flex-direction: column; min-height: 168px; }
.it::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--rc); border-radius: 0 0 11px 11px; }
.it:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--rc) 55%, var(--line)); }
.it.sel { border-color: var(--acc); box-shadow: 0 0 0 2px var(--acc), 0 12px 30px -10px rgba(255, 106, 0,.6); }
.it.off { opacity: .42; cursor: not-allowed; filter: grayscale(.6); }
.it img { height: 86px; width: 100%; object-fit: contain; margin: 4px 0 8px; filter: drop-shadow(0 8px 8px rgba(0,0,0,.5)); }
.it .n { font-size: 12px; font-weight: 600; line-height: 1.25; }
.it .x { font-size: 11px; color: var(--muted); margin-top: auto; padding-top: 4px; }
.it .tagx { position: absolute; top: 8px; right: 8px; }

/* ---------- deposit card / ring ---------- */
.dep { display: grid; grid-template-columns: 110px 1fr auto; gap: 16px; align-items: center; padding: 14px; border-radius: 13px; background: var(--panel); border: 1px solid var(--line); position: relative; overflow: hidden; }
.dep::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--rc); box-shadow: 0 0 14px var(--rc); }
.dep img { width: 110px; height: 76px; object-fit: contain; }
.dep .st { font: 700 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; }
.ring-t { width: 64px; height: 64px; position: relative; }
.ring-t svg { transform: rotate(-90deg); }
.ring-t span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 11px/1.1 var(--display); text-align: center; }
.pulse { animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; } }

/* ---------- coin page ---------- */
.coin-top { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; padding-top: 26px; }
.showcase { position: relative; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; min-height: 440px; background: radial-gradient(600px 300px at 50% 110%, color-mix(in srgb, var(--rc) 40%, transparent), transparent 70%), radial-gradient(400px 260px at 80% 0%, rgba(255, 255, 255, .14), transparent 70%), linear-gradient(180deg, #232325, #1f1f21); display: flex; flex-direction: column; perspective: 1000px; }
.showcase::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--rc); box-shadow: 0 0 30px var(--rc); }
.showcase .floor { position: absolute; left: 10%; right: 10%; bottom: 60px; height: 40px; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,0,0,.6), transparent); filter: blur(6px); }
.showcase .gun { position: relative; flex: 1; display: grid; place-items: center; padding: 30px 40px 10px; transform-style: preserve-3d; }
.showcase .gun img { max-height: 380px; width: 100%; object-fit: contain; filter: drop-shadow(0 30px 40px rgba(0,0,0,.7)) drop-shadow(0 0 40px color-mix(in srgb, var(--rc) 35%, transparent)); will-change: transform; }
.showcase .top { position: relative; z-index: 2; padding: 20px 22px 0; display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; }
.showcase .top h1 { font-size: clamp(26px, 3vw, 38px); }
.showcase .sub { color: var(--acc); font-weight: 700; font-size: 14px; margin-top: 6px; letter-spacing: .02em; }
.showcase .bottom { position: relative; z-index: 2; padding: 0 22px 20px; display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; }
.stickers { display: flex; gap: 6px; }
.stickers img { width: 52px; height: 40px; object-fit: contain; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid var(--line); padding: 3px; transition: transform .2s; }
.stickers img:hover { transform: scale(1.5) translateY(-6px); z-index: 2; position: relative; background: var(--panel2); }
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.metric { padding: 14px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); }
.metric .v { font: 700 22px/1 var(--display); margin-top: 8px; font-variant-numeric: tabular-nums; }
.metric .s { font-size: 12px; margin-top: 6px; }
.coin-main { display: grid; grid-template-columns: 1.35fr 1fr; gap: 18px; margin-top: 18px; align-items: start; }
.side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 84px; }
#tab-trades, #tab-holders { max-height: 560px; overflow-y: auto; }
.table thead th { position: sticky; top: 0; background: var(--panel); z-index: 1; }
#chart { height: 360px; border-radius: 12px; overflow: hidden; }
.tabs { display: flex; gap: 4px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 14px; font: 700 13px/1 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-bottom-color: var(--acc); }
.trade-box .seg { width: 100%; display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
.trade-box .seg button { padding: 11px; font-size: 14px; }
.trade-box .seg button.on[data-s="buy"] { box-shadow: inset 0 -2px 0 var(--acc); color: var(--acc); }
.trade-box .seg button.on[data-s="sell"] { box-shadow: inset 0 -2px 0 var(--text); color: var(--text); }
.quote { font-size: 13px; color: var(--muted); margin: 4px 0 14px; min-height: 18px; }
.redeem-meter { position: relative; height: 12px; border-radius: 12px; background: var(--bg2); overflow: hidden; border: 1px solid var(--line); }
.redeem-meter i { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, #c94f00, var(--acc), var(--acc-2)); box-shadow: 0 0 16px rgba(255, 106, 0, .6); border-radius: 12px; transition: width 1s cubic-bezier(.2,.8,.2,1); }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; text-align: center; margin: 14px 0; }
.versus .v { font: 700 20px/1 var(--display); margin-top: 6px; }
.versus .vs { font: 700 12px/1 var(--display); color: var(--dim); }

/* ---------- burn overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10, 10, 11, .86); backdrop-filter: blur(8px); display: grid; place-items: center; }
.overlay .center { text-align: center; position: relative; width: min(560px, 92vw); }
.overlay .center img { width: 80%; margin: 0 auto; filter: drop-shadow(0 30px 40px rgba(0,0,0,.8)) drop-shadow(0 0 50px var(--rc)); }
.overlay h2 { font-size: 34px; text-transform: uppercase; margin-top: 18px; }
.ember { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: radial-gradient(circle, #ffe1c7, var(--acc) 50%, transparent 70%); pointer-events: none; }

/* ---------- how ---------- */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.how .card { padding: 22px; border-radius: 16px; background: linear-gradient(180deg, var(--panel), #1f1f21); border: 1px solid var(--line); position: relative; overflow: hidden; }
.how .card .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 106, 0, .12); border: 1px solid rgba(255, 106, 0, .35); color: var(--acc); margin-bottom: 16px; }
.how .card .ic svg { width: 24px; height: 24px; }
.how .card h4 { font-size: 18px; text-transform: uppercase; margin-bottom: 8px; }
.how .card p { margin: 0; font-size: 14px; color: var(--muted); }
.how .card .num { position: absolute; right: 14px; top: 6px; font: 700 64px/1 var(--display); color: rgba(255,255,255,.04); }
.prose { max-width: 860px; }
.prose h2 { font-size: 28px; text-transform: uppercase; margin: 42px 0 12px; }
.prose h3 { font-size: 19px; margin: 26px 0 8px; }
.prose p, .prose li { color: #d6d6da; }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--panel2); padding: 2px 6px; border-radius: 6px; }
.callout { padding: 16px 18px; border-radius: 12px; border-left: 3px solid var(--acc); background: var(--panel); margin: 16px 0; }

/* ---------- toast / footer ---------- */
.toasts { position: fixed; right: 16px; bottom: 16px; z-index: 300; display: flex; flex-direction: column; gap: 8px; }
.toast { padding: 12px 16px; border-radius: 11px; background: var(--panel2); border: 1px solid var(--line2); box-shadow: var(--shadow); font-size: 14px; max-width: 360px; animation: tin .35s cubic-bezier(.2,.8,.2,1); }
.toast.bad { border-color: rgba(255, 77, 97, .5); } .toast.ok { border-color: rgba(255, 106, 0, .5); }
@keyframes tin { from { transform: translateY(14px); opacity: 0; } }
.footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 40px; color: var(--muted); font-size: 13px; }
.footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer a:hover { color: var(--text); }
.reveal { opacity: 0; transform: translateY(24px); }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero .wrap, .coin-top, .coin-main { grid-template-columns: 1fr; }
  .side { position: static; }
  .how { grid-template-columns: repeat(2, 1fr); }
  .stage { max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; flex-direction: column; background: var(--bg2); border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .nav.open { display: flex; }
  .nav a.on::after { display: none; }
  .menu-btn { display: inline-grid; place-items: center; }
  .steam-btn span { display: none; }
  .user-chip .nm { display: none; }
  .hero-stats, .metrics { grid-template-columns: repeat(2, 1fr); }
  .how { grid-template-columns: 1fr; }
  .dep { grid-template-columns: 76px 1fr; } .dep img { width: 76px; height: 56px; } .dep .act { grid-column: 1 / -1; }
  .hero-tag.t3 { display: none; }
  .reel-item { width: 150px; height: 128px; } .reel-item img { height: 74px; }
  .reel-box::before, .reel-box::after { width: 50px; }
  .drops-label { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } .reveal { opacity: 1; transform: none; } }
@media (max-width: 520px) {
  .topbar .wrap { gap: 10px; }
  .logo { font-size: 22px; gap: 7px; } .logo-box { width: 32px; }
  .top-right { gap: 6px; }
  .wallet-btn { padding: 8px 10px; font-size: 11px; max-width: 96px; overflow: hidden; text-overflow: ellipsis; }
  .steam-btn { padding: 8px 10px; }
}
.wl-short { display: none; }
@media (max-width: 520px) { .wl-long { display: none; } .wl-short { display: inline; } }

/* ---------- cases ---------- */
.hero-c { padding: 48px 0 20px; }
.hero-c .wrap { display: block; }
.centered .sec-head { justify-content: center; text-align: center; } .centered .sec-head > div { margin: 0 auto; } .centered .sec-head p { margin-inline: auto; max-width: 720px; }
.x-btn { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line2); background: var(--panel2); display: inline-grid; place-items: center; transition: border-color .2s, transform .15s; } .x-btn:hover { border-color: var(--acc); transform: translateY(-1px); } .x-btn svg { width: 17px; height: 17px; fill: currentColor; }
.hero-c h1 { font-size: clamp(40px, 6vw, 80px); }
.cases { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.case { text-align: left; padding: 16px; border-radius: 14px; background: linear-gradient(180deg, var(--panel), #1f1f21); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; transition: transform .2s, border-color .2s, box-shadow .2s; }
.case:hover { transform: translateY(-3px); border-color: var(--line2); }
.case.on { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), 0 14px 40px -16px rgba(255, 106, 0, .6); }
.case[data-empty] { opacity: .55; }
.case-top { display: flex; justify-content: space-between; align-items: center; font: 700 17px/1.1 var(--display); text-transform: uppercase; }
.case-price { font: 700 22px/1 var(--mono); } .case-price small { font-size: 12px; color: var(--muted); }
.odds-strip { display: flex; gap: 2px; height: 5px; border-radius: 5px; overflow: hidden; background: var(--bg2); } .odds-strip i { display: block; height: 100%; background: var(--acc); }
.case-detail { display: grid; grid-template-columns: 1.6fr 1fr; gap: 16px; margin-top: 16px; }
.cd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cd-stats b { display: block; font: 700 17px/1 var(--display); margin-top: 6px; }
.odds .odd { display: grid; grid-template-columns: 110px 1fr 70px 70px; gap: 12px; align-items: center; font-size: 13px; padding: 7px 0; }
.odds .odd b { text-align: right; font-variant-numeric: tabular-nums; }
.cd-top { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-style: dashed; }
.cd-top img { width: 80%; max-width: 260px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.6)); margin: 10px 0; }
.cd-top b { font: 700 22px/1 var(--display); }
.two-col { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; align-items: start; }
.grid.mini { grid-template-columns: repeat(2, 1fr); gap: 10px; }
.grid.mini .sk-art { height: 120px; } .grid.mini .sk-art img { height: 100px; } .grid.mini .sk-name .tk { font-size: 16px; }
.act { display: flex; flex-direction: column; }
.act-row { display: grid; grid-template-columns: 44px 70px 1fr auto 36px; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(51,51,54,.6); font-size: 13px; }
.act-row:hover { background: rgba(255,255,255,.02); }
.act-row img { width: 44px; height: 30px; object-fit: contain; }
.it .tagx { position: absolute; top: 8px; right: 8px; }
/* launch picker */
.picker { display: grid; grid-template-columns: 1.4fr 1fr; gap: 18px; align-items: start; }
.picker .inv { max-height: 560px; overflow-y: auto; padding-right: 4px; }
.it.claimed { opacity: .45; cursor: not-allowed; }
.it.claimed .tagx { color: var(--acc); }
@media (max-width: 1080px) { .case-detail, .two-col, .picker { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cd-stats { grid-template-columns: repeat(2, 1fr); } .odds .odd { grid-template-columns: 90px 1fr 60px; } .odds .odd .muted { display: none; } .act-row { grid-template-columns: 36px 1fr auto; } .act-row .mono { display: none; } .act-row span:last-child { display: none; } .grid.mini { grid-template-columns: 1fr 1fr; } }
