:root {
  --bg: #09090a; --panel: #111113; --panel2: #151517; --line: #222225; --line2: #2c2c30; --text: #f5f5f3; --muted: #8b8b88; --dim: #5c5c5a;
  --up: #2fd58b; --dn: #ff4d5e; --mid: #f2b84b; --white: #f5f5f3;
  --r: 14px;
}
* { box-sizing: border-box; margin: 0; }
html, body { background: var(--bg); color: var(--text); font-family: 'Zalando Sans', Inter, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
.skin-axiom, .skin-gmgn, .skin-padre { font-variant-numeric: tabular-nums; }
body { min-height: 100vh; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
.mono { font-family: 'Google Sans Code', ui-monospace, monospace; }
h1, h2, h3, .sum .big, .stats3 b, .res .score b { font-family: 'Zalando Sans Expanded', 'Zalando Sans', sans-serif; }
.mk { display: inline-grid; place-items: center; }
.mk svg { width: 100%; height: 100%; display: block; }
.btn { height: 44px; padding: 0 20px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -.01em; transition: transform .12s, background .12s, opacity .12s; }
.btn:active { transform: scale(.98); }
.btn.pri { background: var(--white); color: #0a0a0b; }
.btn.pri:hover { background: #fff; }
.btn.sec { background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.sec:hover { background: #1b1b1e; }
.btn.ghost { color: var(--muted); }
.btn[disabled] { opacity: .35; pointer-events: none; }
.chip { height: 34px; padding: 0 14px; border-radius: 17px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); color: #cfcfcc; white-space: nowrap; }
.chip small { font-weight: 500; color: var(--dim); }
.chip.on { background: var(--white); color: #0a0a0b; box-shadow: none; }
.chip.on small { color: #6b6b68; }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.seg button { height: 34px; padding: 0 14px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.seg button.on { background: var(--white); color: #0a0a0b; }
.up { color: var(--up); } .dn { color: var(--dn); } .mid { color: var(--mid); }

/* ---------------- top bar (Rewind's own) */
.top { height: 64px; display: flex; align-items: center; gap: 18px; padding: 0 28px; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; background: rgba(9,9,10,.86); backdrop-filter: blur(14px); }
.brand { display: flex; align-items: center; gap: 11px; font-family: 'Zalando Sans Expanded', sans-serif; font-weight: 900; font-size: 20px; letter-spacing: -.035em; }
.brand .mk { width: 32px; height: 32px; border-radius: 9px; background: #f5f5f3; color: #0a0a0b; padding: 6px; }
.top nav { display: flex; gap: 4px; margin-left: 18px; }
.top nav button { height: 36px; padding: 0 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted); }
.top nav button.on, .top nav button:hover { color: var(--text); background: var(--panel2); }
.top .sp { flex: 1; }
.top .who { height: 38px; padding: 0 6px 0 14px; border-radius: 12px; display: flex; align-items: center; gap: 10px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); font-size: 13.5px; font-weight: 600; }
.top .who i { width: 28px; height: 28px; border-radius: 8px; background: linear-gradient(135deg, #3a3a3e, #1a1a1c); display: grid; place-items: center; font-style: normal; font-size: 12px; color: var(--muted); }

/* ---------------- lobby */
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.hero { padding: 64px 0 26px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: end; }
.hero h1 { font-weight: 800; font-size: 64px; line-height: .98; letter-spacing: -.045em; }
.hero h1 span { color: var(--dim); }
.hero p { margin-top: 18px; font-size: 18px; line-height: 1.5; color: #b9b9b6; max-width: 560px; }
.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.stats3 div { background: var(--panel); padding: 18px 20px; }
.stats3 b { display: block; font-size: 30px; font-weight: 700; letter-spacing: -.03em; }
.stats3 span { font-size: 13px; color: var(--muted); }
.modes { margin: 26px 0 70px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.mode { position: relative; text-align: left; border-radius: 18px; padding: 22px 22px 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); min-height: 196px; display: flex; flex-direction: column; overflow: hidden; transition: background .15s, box-shadow .15s, transform .15s; }
.mode:hover { background: #141416; box-shadow: inset 0 0 0 1px #3a3a3e; transform: translateY(-2px); }
.mode .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line2); display: grid; place-items: center; }
.mode .ic svg { width: 22px; height: 22px; }
.mode h3 { margin-top: 18px; font-size: 19px; font-weight: 800; letter-spacing: -.03em; }
.mode p { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.mode .tag { position: absolute; right: 18px; top: 20px; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: #0a0a0b; background: var(--white); padding: 4px 8px; border-radius: 6px; }
.mode .go { margin-top: auto; padding-top: 14px; font-size: 13px; font-weight: 600; color: #cfcfcc; display: flex; align-items: center; gap: 6px; }
.mode.big { grid-column: span 2; background: linear-gradient(135deg, #18181b, #0f0f11); }
.mode.big h3 { font-size: 27px; }
.mode .strip { position: absolute; right: -10px; bottom: -6px; width: 56%; opacity: .9; }

/* ---------------- builder */
.builder { display: grid; grid-template-columns: 1fr 380px; gap: 22px; padding: 30px 0 80px; }
.card { background: var(--panel); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); padding: 22px; }
.card + .card { margin-top: 14px; }
.card h4 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: baseline; gap: 10px; }
.card h4 small { font-weight: 500; color: var(--muted); font-size: 13px; }
.card .row { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.mix { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 14px; }
.mx { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px 0 14px; border-radius: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.mx b { font-size: 14px; font-weight: 600; flex: 1; } .mx b small { display: block; font-size: 11.5px; font-weight: 500; color: var(--dim); margin-top: 1px; }
.mx .dot { width: 8px; height: 8px; border-radius: 50%; }
.step { display: flex; align-items: center; gap: 6px; }
.step button { width: 30px; height: 30px; border-radius: 9px; background: #1d1d20; font-size: 17px; font-weight: 600; color: #cfcfcc; }
.step span { width: 24px; text-align: center; font-weight: 700; font-size: 15px; }
.range { margin-top: 16px; }
.range .track { position: relative; height: 34px; }
.range input[type=range] { position: absolute; left: 0; right: 0; top: 8px; width: 100%; -webkit-appearance: none; appearance: none; background: none; pointer-events: none; height: 18px; }
.range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: all; width: 18px; height: 18px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 4px rgba(245,245,243,.12); cursor: grab; }
.range .bar { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--line2); }
.range .fill { position: absolute; top: 15px; height: 4px; border-radius: 2px; background: var(--white); }
.range .lab { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.range .lab b { color: var(--text); font-weight: 600; }
.skins { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.skin { height: 74px; border-radius: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; font-weight: 600; color: var(--muted); }
.skin img, .skin .mk { height: 20px; }
.skin.on { box-shadow: inset 0 0 0 2px var(--white); color: var(--text); }
.sum { position: sticky; top: 84px; }
.sum .big { font-size: 34px; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.sum ul { list-style: none; padding: 0; margin: 16px 0 0; font-size: 13.5px; color: #b9b9b6; }
.sum li { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid var(--line); }
.sum li b { color: var(--text); font-weight: 600; }
.diff { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.df { text-align: left; border-radius: 12px; padding: 12px; background: var(--panel2); box-shadow: inset 0 0 0 1px var(--line); }
.df b { display: block; font-size: 14px; } .df span { display: block; margin-top: 4px; font-size: 11.5px; line-height: 1.35; color: var(--muted); }
.df.on { box-shadow: inset 0 0 0 2px var(--white); }
.paste { margin-top: 12px; display: flex; gap: 8px; }
.paste input { flex: 1; height: 44px; border-radius: 12px; padding: 0 14px; background: var(--panel2); border: 0; box-shadow: inset 0 0 0 1px var(--line2); outline: none; font-size: 14px; }
.paste input:focus { box-shadow: inset 0 0 0 1.5px #6b6b68; }
.note { margin-top: 10px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }

/* ---------------- replay: skinned terminal */
.rp { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-rows: 48px 58px 1fr 64px; background: var(--s-bg); color: var(--s-text); font-family: var(--s-font, Inter, sans-serif); }
.rp .sh { display: flex; align-items: center; gap: 22px; padding: 0 16px; border-bottom: 1px solid var(--s-line); }
.rp .sh .lg { height: var(--s-logo-h, 22px); display: block; }
.rp .sh nav { display: flex; gap: 20px; font-size: 13.5px; font-weight: 500; color: var(--s-nav); }
.rp .sh nav .on { color: var(--s-accent); }
.rp .sh .rt { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--s-muted); }
.rp .sh .pill { height: 30px; padding: 0 12px; border-radius: var(--s-pill, 15px); background: var(--s-panel2); display: flex; align-items: center; gap: 8px; color: var(--s-text); font-weight: 600; }
.rp .sh .sim { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; padding: 4px 7px; border-radius: 6px; background: var(--white); color: #0a0a0b; }
.rp .tb { display: flex; align-items: center; gap: 14px; padding: 0 16px; border-bottom: 1px solid var(--s-line); }
.rp .tb .av { width: 38px; height: 38px; border-radius: 8px; background: var(--s-panel2) center/cover; display: grid; place-items: center; font-weight: 800; color: var(--s-muted); }
.rp .tb .nm b { font-size: 15px; } .rp .tb .nm span { margin-left: 7px; font-size: 12.5px; color: var(--s-muted); }
.rp .tb .nm div { margin-top: 3px; font-size: 11.5px; color: var(--s-muted); display: flex; gap: 10px; }
.rp .tb .kv { display: flex; gap: 26px; margin-left: 22px; }
.rp .tb .kv span { display: block; font-size: 11px; color: var(--s-muted); } .rp .tb .kv b { font-size: 13px; font-weight: 600; }
.rp .tb .mc { margin-left: auto; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.rp .bond { width: 140px; height: 6px; border-radius: 3px; background: var(--s-panel2); overflow: hidden; margin-top: 6px; } .rp .bond i { display: block; height: 100%; background: var(--s-accent); }
.rp .main { display: grid; grid-template-columns: 1fr 340px; min-height: 0; }
.rp .left { display: grid; grid-template-rows: 32px 1fr 36px 230px; min-height: 0; border-right: 1px solid var(--s-line); }
.rp .ctb { display: flex; align-items: center; gap: 14px; padding: 0 12px; border-bottom: 1px solid var(--s-line); font-size: 12px; color: var(--s-muted); }
.rp .ctb button { color: var(--s-muted); font-weight: 600; } .rp .ctb button.on { color: var(--s-text); }
.rp .ctb .sep { width: 1px; height: 14px; background: var(--s-line); }
.rp .cv { position: relative; min-height: 0; } .rp .cv canvas { position: absolute; left: 0; top: 0; }
.rp .tabs { display: flex; align-items: center; gap: 22px; padding: 0 14px; border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); font-size: 12.5px; font-weight: 600; color: var(--s-muted); }
.rp .tabs .on { color: var(--s-text); position: relative; } .rp .tabs .on::after { content: ''; position: absolute; left: 0; right: 0; bottom: -10px; height: 2px; background: var(--s-accent); }
.rp .tape { overflow: hidden; font-size: 12px; }
.rp .tape .hr, .rp .tape .r { display: grid; grid-template-columns: 70px 70px 1fr 1fr 1fr 130px; align-items: center; gap: 8px; height: 25px; padding: 0 14px; }
.rp .tape .hr { color: var(--s-muted); font-size: 11px; }
.rp .tape .r { border-top: 1px solid var(--s-line2); }
.rp .tape .r .w { justify-self: end; color: var(--s-muted); }
.rp .tape .r.dev { background: rgba(255,77,94,.08); } .rp .tape .r.me { background: rgba(245,245,243,.07); }
.rp .tape .tg { font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 5px; border-radius: 4px; margin-left: 6px; }
.rp .tape .tg.d { background: var(--dn); color: #1a0306; } .rp .tape .tg.wh { background: var(--s-accent); color: var(--s-on-accent); } .rp .tape .tg.y { background: var(--white); color: #0a0a0b; }
.rp .right { display: flex; flex-direction: column; min-height: 0; padding: 12px; gap: 10px; overflow: hidden; }
.rp .tp { background: var(--s-panel); border-radius: 12px; padding: 12px; box-shadow: inset 0 0 0 1px var(--s-line); }
.rp .tp .sg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 3px; border-radius: 10px; background: var(--s-panel2); }
.rp .tp .sg button { height: 32px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--s-muted); }
.rp .tp .sg button.on.b { background: var(--s-buy); color: var(--s-buy-fg); } .rp .tp .sg button.on.s { background: var(--dn); color: #1a0306; }
.rp .tp .amt { margin-top: 10px; height: 40px; border-radius: 10px; background: var(--s-panel2); display: flex; align-items: center; padding: 0 12px; font-size: 13px; color: var(--s-muted); }
.rp .tp .amt b { margin-left: auto; font-size: 15px; color: var(--s-text); } .rp .tp .amt em { font-style: normal; margin-left: 6px; }
.rp .tp .pre { margin-top: 8px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.rp .tp .pre button { height: 32px; border-radius: 8px; background: var(--s-panel2); font-weight: 700; font-size: 12.5px; }
.rp .tp .pre button.on { box-shadow: inset 0 0 0 1.5px var(--s-accent); color: var(--s-accent); }
.rp .tp .go { margin-top: 10px; width: 100%; height: 44px; border-radius: var(--s-btn-r, 10px); font-weight: 800; font-size: 15px; background: var(--s-buy); color: var(--s-buy-fg); }
.rp .tp .go.s { background: var(--dn); color: #1a0306; }
.rp .tp .bal { margin-top: 8px; display: flex; justify-content: space-between; font-size: 11.5px; color: var(--s-muted); }
.rp .pos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rp .pos div { background: var(--s-panel); border-radius: 10px; padding: 9px 11px; box-shadow: inset 0 0 0 1px var(--s-line); }
.rp .pos span { display: block; font-size: 11px; color: var(--s-muted); } .rp .pos b { font-size: 15px; font-weight: 700; }
.rp .feed { flex: 1; min-height: 0; overflow: hidden; background: var(--s-panel); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--s-line); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.rp .feed h5 { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--s-muted); display: flex; justify-content: space-between; }
.rp .tw { border-radius: 10px; background: var(--s-panel2); padding: 10px 11px; font-size: 12.5px; line-height: 1.42; animation: pop .35s ease; }
.rp .tw .u { display: flex; align-items: center; gap: 7px; font-weight: 700; font-size: 12px; margin-bottom: 5px; }
.rp .tw .u i { width: 18px; height: 18px; border-radius: 50%; background: #2a2a2e; display: grid; place-items: center; }
.rp .tw .u i svg { width: 10px; height: 10px; } .rp .tw .u span { color: var(--s-muted); font-weight: 500; }
.rp .ev { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--s-text); animation: pop .35s ease; }
.rp .ev i { width: 7px; height: 7px; border-radius: 50%; flex: none; } .rp .ev span { margin-left: auto; color: var(--s-muted); font-size: 11px; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
/* replay controls (Rewind's own bar) */
.ctl { display: flex; align-items: center; gap: 14px; padding: 0 16px; background: #0b0b0c; border-top: 1px solid #222225; color: #f5f5f3; font-family: 'Zalando Sans', sans-serif; }
.ctl .brand { font-size: 16px; } .ctl .brand .mk { width: 26px; height: 26px; padding: 5px; border-radius: 7px; }
.ctl .play { width: 40px; height: 40px; border-radius: 50%; background: #f5f5f3; color: #0a0a0b; display: grid; place-items: center; }
.ctl .play svg { width: 16px; height: 16px; }
.ctl .spd { display: flex; padding: 3px; border-radius: 10px; background: #151517; }
.ctl .spd button { height: 30px; min-width: 44px; padding: 0 9px; border-radius: 8px; font-weight: 700; font-size: 12.5px; color: #8b8b88; }
.ctl .spd button.on { background: #f5f5f3; color: #0a0a0b; }
.ctl .spd button[disabled] { opacity: .3; }
.ctl .tl { flex: 1; height: 6px; border-radius: 3px; background: #222225; position: relative; cursor: pointer; }
.ctl .tl i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: #f5f5f3; }
.ctl .tl b { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.12); }
.ctl .tm { font-size: 13px; font-weight: 600; color: #b9b9b6; min-width: 112px; text-align: right; }
.ctl .k { font-size: 12.5px; font-weight: 700; padding: 6px 10px; border-radius: 8px; background: #151517; color: #cfcfcc; }
.ctl .eq { font-size: 13px; font-weight: 700; min-width: 110px; }

/* reveal + results */
.ov { position: fixed; inset: 0; z-index: 50; background: rgba(4,4,5,.72); backdrop-filter: blur(10px); display: grid; place-items: center; padding: 24px; }
.rv { width: min(980px, 100%); background: #0f0f11; border-radius: 22px; box-shadow: 0 0 0 1px #262629, 0 40px 120px rgba(0,0,0,.6); overflow: hidden; }
.rv .hd { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border-bottom: 1px solid #222225; }
.rv .hd img { width: 54px; height: 54px; border-radius: 12px; object-fit: cover; }
.rv .hd h2 { font-size: 26px; letter-spacing: -.03em; } .rv .hd .ca { font-size: 12px; color: var(--muted); margin-top: 4px; }
.rv .badge { margin-left: auto; padding: 8px 12px; border-radius: 10px; font-weight: 800; font-size: 13px; letter-spacing: .04em; }
.rv .badge.up { background: rgba(47,213,139,.14); color: var(--up); } .rv .badge.down { background: rgba(255,77,94,.14); color: var(--dn); } .rv .badge.mid { background: rgba(242,184,75,.14); color: var(--mid); }
.rv .bd { display: grid; grid-template-columns: 1.3fr 1fr; }
.rv .cv { position: relative; height: 300px; border-right: 1px solid #222225; } .rv .cv canvas { position: absolute; left: 0; top: 0; }
.rv .info { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.rv .kv2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.rv .kv2 div { background: #151517; border-radius: 10px; padding: 10px 12px; } .rv .kv2 span { display: block; font-size: 11.5px; color: var(--muted); } .rv .kv2 b { font-size: 17px; }
.rv .tweet { background: #151517; border-radius: 12px; padding: 12px; font-size: 13px; line-height: 1.45; color: #cfcfcc; }
.rv .tweet b { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.rv .ft { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-top: 1px solid #222225; }
.res { padding: 40px 0 80px; }
.res h1 { font-size: 46px; font-weight: 800; letter-spacing: -.045em; }
.res .score { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 24px; }
.res .score div { background: var(--panel); border-radius: 16px; padding: 18px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.res .score span { font-size: 13px; color: var(--muted); } .res .score b { display: block; margin-top: 6px; font-size: 34px; letter-spacing: -.03em; }
.res table { width: 100%; margin-top: 22px; border-collapse: collapse; font-size: 14px; }
.res th { text-align: left; font-weight: 600; color: var(--muted); font-size: 12.5px; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.res td { padding: 12px; border-bottom: 1px solid var(--line); }
.res td img { width: 30px; height: 30px; border-radius: 8px; vertical-align: middle; margin-right: 10px; object-fit: cover; }

/* sniper drill board */
.sn { position: fixed; inset: 0; z-index: 30; display: grid; grid-template-rows: 48px 1fr 64px; background: var(--s-bg); color: var(--s-text); }
.sn .board { display: grid; grid-template-columns: 1fr 360px; min-height: 0; }
.sn .col { overflow: hidden; border-right: 1px solid var(--s-line); }
.sn .row2 { display: grid; grid-template-columns: 62px 1fr 110px 96px; align-items: center; gap: 12px; height: 84px; padding: 0 14px; border-bottom: 1px solid var(--s-line2); animation: pop .3s ease; }
.sn .row2 img { width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.sn .row2 b { font-size: 15px; } .sn .row2 span { font-size: 12px; color: var(--s-muted); }
.sn .row2 .q { height: 30px; border-radius: 15px; background: var(--s-buy); color: var(--s-buy-fg); font-weight: 800; font-size: 12.5px; }
.sn .row2.hit { box-shadow: inset 3px 0 0 var(--up); background: rgba(47,213,139,.06); } .sn .row2.miss { box-shadow: inset 3px 0 0 var(--dn); }

/* ---------------- skins */
.skin-rewind { --s-bg: #09090a; --s-panel: #111113; --s-panel2: #18181b; --s-line: #222225; --s-line2: #18181a; --s-text: #f5f5f3; --s-muted: #8b8b88; --s-nav: #cfcfcc; --s-accent: #f5f5f3; --s-on-accent: #0a0a0b; --s-buy: #2fd58b; --s-buy-fg: #04140b; --s-font: 'Zalando Sans', sans-serif; }
.skin-axiom { --s-bg: #08090b; --s-panel: #101115; --s-panel2: #16171c; --s-line: #1a1b20; --s-line2: #14151a; --s-text: #fcfcfc; --s-muted: #777a8c; --s-nav: #e4e4e7; --s-accent: #6f87ff; --s-on-accent: #fff; --s-buy: #526fff; --s-buy-fg: #fff; --s-font: Inter, sans-serif; --s-logo-h: 17px; }
.skin-gmgn { --s-bg: #0e0f10; --s-panel: #141518; --s-panel2: #1a1b1e; --s-line: #1f2023; --s-line2: #17181b; --s-text: #f2f3f5; --s-muted: #7f838b; --s-nav: #e6e7ea; --s-accent: #9ed455; --s-on-accent: #0b1506; --s-buy: #9ed455; --s-buy-fg: #0b1506; --s-font: Inter, sans-serif; --s-logo-h: 26px; --s-pill: 8px; }
.skin-padre { --s-bg: #0b0c0e; --s-panel: #121316; --s-panel2: #16171b; --s-line: #1a1b1f; --s-line2: #141518; --s-text: #e9eaec; --s-muted: #8a8d96; --s-nav: #eceef0; --s-accent: #4ade80; --s-on-accent: #062012; --s-buy: #5be37d; --s-buy-fg: #04130a; --s-font: Inter, sans-serif; --s-logo-h: 14px; --s-btn-r: 22px; }
@media (max-width: 1100px) { .hero { grid-template-columns: 1fr; } .modes { grid-template-columns: 1fr 1fr; } .builder { grid-template-columns: 1fr; } .rp .main { grid-template-columns: 1fr 300px; } }

/* ---------------- trade panel v2: market + limit, quote, position, orders */
.rp .right { overflow-y: auto; scrollbar-width: none; }
.rp .tp .mt { margin-top: 10px; display: flex; align-items: center; gap: 4px; font-size: 12.5px; }
.rp .tp .mt button { height: 28px; padding: 0 10px; border-radius: 8px; font-weight: 600; color: var(--s-muted); }
.rp .tp .mt button.on { color: var(--s-text); background: var(--s-panel2); }
.rp .tp .mt .sp { flex: 1; }
.rp .tp .mt .wb { display: inline-flex; align-items: center; gap: 5px; color: var(--s-muted); font-size: 12px; } .rp .tp .mt .wb b { color: var(--s-text); }
.rp .tp .inp { margin-top: 10px; height: 42px; border-radius: 10px; background: var(--s-panel2); display: flex; align-items: center; gap: 8px; padding: 0 12px; box-shadow: inset 0 0 0 1px var(--s-line); }
.rp .tp .inp:focus-within { box-shadow: inset 0 0 0 1.5px var(--s-accent); }
.rp .tp .inp span { font-size: 12.5px; color: var(--s-muted); white-space: nowrap; }
.rp .tp .inp input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; text-align: right; font-size: 15px; font-weight: 700; color: var(--s-text); font-variant-numeric: tabular-nums; }
.rp .tp .inp em { font-style: normal; font-size: 12px; color: var(--s-muted); }
.rp .tp .kind { margin-top: 10px; display: flex; gap: 6px; }
.rp .tp .kind button { flex: 1; height: 30px; border-radius: 8px; background: var(--s-panel2); font-size: 12.5px; font-weight: 700; color: var(--s-muted); }
.rp .tp .kind button.on { color: var(--s-text); box-shadow: inset 0 0 0 1.5px var(--s-accent); }
.rp .tp .set { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--s-muted); }
.rp .tp .set b { color: var(--s-text); font-weight: 600; }
.rp .tp .qt { margin-top: 8px; min-height: 16px; font-size: 11.5px; color: var(--s-muted); text-align: center; } .rp .tp .qt b { color: var(--s-text); }
.rp .tp .qt .pend { color: var(--s-accent); }
.rp .pos4 { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 12px; overflow: hidden; gap: 1px; background: var(--s-line); box-shadow: 0 0 0 1px var(--s-line); flex: none; }
.rp .pos4 div { background: var(--s-panel); padding: 8px 9px; } .rp .pos4 span { display: block; font-size: 10.5px; color: var(--s-muted); } .rp .pos4 b { font-size: 13px; font-weight: 700; white-space: nowrap; } .rp .pos4 small { font-size: 10px; }
.rp .ords h5, .rp .feed h5 { font-size: 11.5px; font-weight: 700; letter-spacing: .06em; color: var(--s-muted); display: flex; justify-content: space-between; margin-bottom: 6px; }
.rp .ords:empty { display: none; }
.rp .ords { flex: none; background: var(--s-panel); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--s-line); padding: 10px; }
.rp .or { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 12px; } .rp .or i { width: 7px; height: 7px; border-radius: 50%; background: var(--s-accent); flex: none; }
.rp .or.tp i { background: var(--up); } .rp .or.sl i { background: var(--dn); }
.rp .or b { margin-left: auto; font-weight: 700; } .rp .or button { width: 22px; height: 22px; border-radius: 6px; background: var(--s-panel2); color: var(--s-muted); font-size: 14px; line-height: 1; }
.rp .feed { overflow-y: auto; scrollbar-width: none; }
.rp .feed .xt, .rp .feed .xp, .rp .feed .xc { animation: pop .35s ease; flex: none; }
.rp .feed .xt .ph { max-height: 150px; }
.rp .tb .nm .xi { display: inline-flex; width: 13px; height: 13px; color: var(--s-text); } .rp .tb .nm .xi svg { width: 13px; height: 13px; }
/* tape wallets */
.rp .tape .r .w { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.rp .tape .r .wl { font-variant-numeric: tabular-nums; }
.rp .tape .r.me { background: rgba(245,245,243,.07); box-shadow: inset 3px 0 0 var(--s-accent); }
/* chart toolbar instant-trade toggle */
.rp .ctb .sp { flex: 1; }
.rp .ctb .itb { height: 24px; padding: 0 9px; border-radius: 7px; display: inline-flex; align-items: center; gap: 5px; color: var(--s-muted); font-weight: 700; font-size: 11.5px; box-shadow: inset 0 0 0 1px var(--s-line); }
.rp .ctb .itb.on { color: var(--s-accent); box-shadow: inset 0 0 0 1px var(--s-accent); }
/* instant trade: floating, draggable */
.rp .it { position: absolute; left: 14px; top: 12px; z-index: 6; width: 286px; border-radius: 14px; background: color-mix(in srgb, var(--s-panel) 92%, transparent); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px var(--s-line), 0 18px 50px rgba(0,0,0,.5); padding: 8px 10px 10px; user-select: none; }
.rp .it-h { display: flex; align-items: center; gap: 6px; height: 26px; cursor: grab; color: var(--s-accent); }
.rp .it-h b { color: var(--s-text); font-size: 12.5px; } .rp .it-h .kb { margin-left: auto; font-size: 10.5px; color: var(--s-muted); }
.rp .it-h button { width: 22px; height: 22px; border-radius: 6px; color: var(--s-muted); font-size: 16px; line-height: 1; }
.rp .it-r { margin-top: 6px; display: grid; grid-template-columns: 34px repeat(4, 1fr); gap: 5px; align-items: center; }
.rp .it-r span { font-size: 11.5px; font-weight: 700; color: var(--s-muted); }
.rp .it-r button { height: 32px; border-radius: 9px; font-weight: 800; font-size: 12.5px; font-variant-numeric: tabular-nums; transition: transform .08s, filter .12s; }
.rp .it-r button:active { transform: scale(.95); }
.rp .it-r .ib { background: color-mix(in srgb, var(--s-buy) 18%, transparent); color: var(--s-buy); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--s-buy) 40%, transparent); }
.rp .it-r .ib:hover { background: var(--s-buy); color: var(--s-buy-fg); }
.rp .it-r .is { background: rgba(255,77,94,.12); color: var(--dn); box-shadow: inset 0 0 0 1px rgba(255,77,94,.35); }
.rp .it-r .is:hover { background: var(--dn); color: #1a0306; }
.rp .it-f { margin-top: 8px; display: flex; justify-content: space-between; font-size: 11px; color: var(--s-muted); } .rp .it-f span { display: inline-flex; align-items: center; gap: 4px; } .rp .it-f b { color: var(--s-text); font-variant-numeric: tabular-nums; }
/* fill toasts */
.rp .toasts { position: absolute; left: 14px; bottom: 12px; z-index: 6; display: flex; flex-direction: column; gap: 6px; pointer-events: none; }
.rp .tst { padding: 9px 12px; border-radius: 10px; background: var(--s-panel); box-shadow: inset 0 0 0 1px var(--s-line), 0 10px 30px rgba(0,0,0,.45); font-size: 12.5px; color: var(--s-text); animation: pop .3s ease; transition: opacity .4s, transform .4s; max-width: 420px; }
.rp .tst.b { box-shadow: inset 3px 0 0 var(--up), inset 0 0 0 1px var(--s-line), 0 10px 30px rgba(0,0,0,.45); }
.rp .tst.s { box-shadow: inset 3px 0 0 var(--dn), inset 0 0 0 1px var(--s-line), 0 10px 30px rgba(0,0,0,.45); }
.rp .tst.n { box-shadow: inset 3px 0 0 var(--s-accent), inset 0 0 0 1px var(--s-line), 0 10px 30px rgba(0,0,0,.45); }
.rp .tst.out { opacity: 0; transform: translateY(6px); }
.rp .tst b { font-weight: 700; }

/* lobby v2: coin pictures everywhere */
.hero.lob { padding-top: 48px; }
.hero.lob .kick { display: inline-block; font-family: 'Google Sans Code', monospace; font-size: 12.5px; color: var(--muted); letter-spacing: .02em; margin-bottom: 14px; }
.hero.lob h1 { font-size: 56px; }
.strip2 { margin: 6px 0 0; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.track2 { display: flex; gap: 10px; width: max-content; animation: slide 70s linear infinite; padding: 6px 0; }
.track2 .ci { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 5px; border-radius: 20px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.track2 .ci img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
@keyframes slide { to { transform: translateX(-50%); } }
.mode .stk { display: flex; margin-top: 14px; }
.mode .stk img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--panel); margin-left: -8px; background: #1d1d20; }
.mode .stk img:first-child { margin-left: 0; }
.mode.big .stk img { box-shadow: 0 0 0 3px #141416; }

/* terminal switch in the replay header + lobby picker */
.rp .sh .shl { display: contents; }
.rp .tsw { display: flex; gap: 3px; padding: 3px; border-radius: 10px; background: var(--s-panel2); }
.rp .tsw button { width: 30px; height: 26px; border-radius: 7px; display: grid; place-items: center; opacity: .55; transition: opacity .12s, background .12s; }
.rp .tsw button:hover { opacity: 1; }
.rp .tsw button.on { opacity: 1; background: var(--s-panel); box-shadow: inset 0 0 0 1px var(--s-accent); }
.rp .tsw img { width: 18px; height: 18px; border-radius: 5px; }
.rp .tsw .mk { width: 18px; height: 18px; padding: 3px; border-radius: 5px; background: #f5f5f3; color: #0a0a0b; }
.rp .it.edit .it-r input { height: 32px; width: 100%; min-width: 0; border-radius: 9px; border: 0; outline: none; text-align: center; font: 800 12.5px Inter, sans-serif; background: var(--s-panel2); color: var(--s-text); box-shadow: inset 0 0 0 1.5px var(--s-accent); }
.term { margin: 18px 0 0; }
.term h4 { font-size: 15px; font-weight: 700; display: flex; gap: 10px; align-items: baseline; } .term h4 small { font-size: 13px; font-weight: 500; color: var(--muted); }
.tsk { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.tsk button { height: 70px; border-radius: 16px; display: flex; align-items: center; gap: 12px; padding: 0 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; transition: box-shadow .15s, background .15s; }
.tsk button:hover { background: #141416; }
.tsk button.on { box-shadow: inset 0 0 0 2px var(--white); background: #141416; }
.tsk img { width: 36px; height: 36px; border-radius: 10px; }
.tsk .mk { width: 36px; height: 36px; padding: 7px; border-radius: 10px; background: #f5f5f3; color: #0a0a0b; }
@media (max-width: 760px) { .tsk { grid-template-columns: 1fr 1fr; } }

/* film capture: no wall-clock animations, the film animates what it needs */
body.film *, body.film *::before, body.film *::after { animation: none !important; transition: none !important; }
body.film .rp { cursor: none; }

/* tabular digits only where the terminal font (Inter) is used; Zalando Sans widens its spaces with tnum */
.rp .ctl, .rp .ctl *, .rp .ctl .btn { font-variant-numeric: normal; }
.modes .mode[data-mode="ranked"] { grid-column: span 3; min-height: 150px; }

/* KOLs: real Kolscan-tagged wallets with their pictures */
.rp .tape .r .kpf { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--s-accent); }
.rp .tape .r .wl.kol { color: var(--s-text); font-weight: 700; }
.rp .tape .tg.k { background: #f2b84b; color: #1a1204; }
.rp .feed .kev { height: 34px; border-radius: 10px; padding: 0 10px 0 6px; background: var(--s-panel2); box-shadow: inset 0 0 0 1px var(--s-line); }
.rp .feed .kev .kpf { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--up); }
.rp .feed .kev.s .kpf { box-shadow: 0 0 0 2px var(--dn); }
.rp .feed .kev b { font-weight: 800; }
.rp .feed .knote { font-size: 10px; color: var(--s-muted); opacity: .8; }
.rp .tb .kv .kin { position: relative; min-width: 96px; }
.rp .tb .kv .kin i { position: absolute; left: 22px; top: 18px; display: flex; }
.rp .tb .kv .kin .ks { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; margin-left: -5px; box-shadow: 0 0 0 2px var(--s-bg); }
.rp .tb .kv .kin .ks:first-child { margin-left: 0; }
.rp .tst .tk { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; vertical-align: -4px; margin-right: 6px; }
