/* SICRAFT: esports broadcast. Near-black panels, electric lime, live red, condensed italic display type. */
:root {
  --bg: #05060a; --bg2: #090b11; --panel: #0d1018; --panel2: #121622; --panel3: #181d2b;
  --line: #1c2230; --line2: #283044;
  --text: #eef1f7; --dim: #8d95a9; --mute: #5a6278;
  --volt: #c8ff2e; --volt2: #9fd400; --hot: #ff2e63; --cyan: #2ee6ff; --amber: #ffb020;
  --btc: #f7931a; --eth: #8c9cff; --sol: #b26bff;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --cut: 12px;
  --gutter: clamp(16px, 3vw, 32px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.5 var(--body);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image: radial-gradient(1200px 500px at 70% -10%, rgba(200, 255, 46, 0.06), transparent 60%),
    radial-gradient(900px 400px at 0% 10%, rgba(255, 46, 99, 0.05), transparent 60%);
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
img, video, canvas { display: block; max-width: 100%; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1480px; margin: 0 auto; padding: 0 var(--gutter); }
.cut { clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.hide { display: none !important; }

/* ── type ── */
.disp { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.01em; line-height: 0.95; }
.kicker { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 13px; color: var(--dim); }
.volt { color: var(--volt); } .hot { color: var(--hot); } .dim { color: var(--dim); }

/* ── buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px;
  font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: 0.06em; font-size: 17px;
  background: var(--panel2); border: 1px solid var(--line2); transition: transform .12s, background .12s, border-color .12s;
}
.btn:hover { border-color: var(--dim); }
.btn:active { transform: translateY(1px); }
.btn.primary { background: var(--volt); color: #0a0d04; border-color: var(--volt); clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); padding: 0 24px; }
.btn.primary:hover { background: #d8ff6a; }
.btn.ghost { background: transparent; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ── top bar ── */
.top { position: sticky; top: 0; z-index: 40; background: rgba(5, 6, 10, 0.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: linear-gradient(90deg, transparent, var(--volt) 30%, var(--hot) 70%, transparent); opacity: .5; }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 34px; height: 34px; }
.wordmark { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; letter-spacing: 0.02em; line-height: 1; }
.wordmark b { color: var(--volt); font-weight: 800; }
.brandblock { display: flex; flex-direction: column; justify-content: center; gap: 1px; }
.brandblock .logo img { width: 30px; height: 30px; }
.brandblock .wordmark { font-size: 27px; }
.powered { padding-left: 40px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; line-height: 1; color: var(--dim); white-space: nowrap; transition: color .12s; }
.powered b { color: var(--volt); font-weight: 800; font-style: italic; letter-spacing: .08em; }
.powered:hover, .powered:hover b { color: var(--volt); }
.nav a { white-space: nowrap; }
.xbtn { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line2); background: var(--panel2); color: var(--text); transition: border-color .12s; }
.xbtn:hover { border-color: var(--dim); }
.nav { display: flex; gap: 4px; }
.nav a { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 15px; color: var(--dim); padding: 8px 10px; }
.nav a:hover { color: var(--text); }
.top .spacer { flex: 1; }
.livepill { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line2); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 14px; white-space: nowrap; }
.livepill .dot { width: 8px; height: 8px; background: var(--hot); box-shadow: 0 0 12px var(--hot); animation: blink 1.2s infinite; }
.livepill.break .dot { background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.livepill .t { font-family: var(--mono); font-weight: 500; font-style: normal; color: var(--volt); }
@keyframes blink { 50% { opacity: .35; } }
.demo-tag { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: #0a0d04; background: var(--amber); padding: 3px 8px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 1px solid var(--line2); background: var(--panel); }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; }

/* ── broadcast ── */
.broadcast { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; padding-top: 18px; }
.stage { min-width: 0; }
.feed { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; border: 1px solid var(--line2); }
.feed video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) contrast(1.05); }
.feed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; background: #05060a; }
.feed .ov { pointer-events: none; }
.feed .scan { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.55), transparent 22%, transparent 62%, rgba(0,0,0,.7)); }
.ov { position: absolute; z-index: 2; }
.ov-tl { top: 14px; left: 14px; display: flex; gap: 6px; align-items: stretch; }
.chip { display: inline-flex; align-items: center; gap: 7px; height: 28px; padding: 0 10px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; background: rgba(5,6,10,.78); border: 1px solid rgba(255,255,255,.08); }
.chip.live { background: var(--hot); border-color: var(--hot); color: #fff; }
.chip.live::before { content: ""; width: 7px; height: 7px; background: #fff; animation: blink 1.2s infinite; }
.chip.break { background: var(--amber); border-color: var(--amber); color: #120c00; }
.ov-timer { top: 12px; left: 50%; transform: translateX(-50%); text-align: center; }
.ov-timer .clock { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(30px, 4.4vw, 54px); line-height: 1; letter-spacing: .02em; text-shadow: 0 2px 0 rgba(0,0,0,.6); font-variant-numeric: tabular-nums; }
.ov-timer .clock.hurry { color: var(--hot); }
.ov-timer .lbl { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .2em; font-size: 11px; color: var(--dim); }
.ov-bug { top: 14px; right: 14px; width: min(250px, 34%); background: rgba(5,6,10,.82); border: 1px solid rgba(255,255,255,.08); }
.ov-bug .row { display: grid; grid-template-columns: 22px 4px 1fr auto; gap: 8px; align-items: center; height: 28px; padding: 0 10px 0 6px; font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .04em; font-size: 15px; }
.ov-bug .row + .row { border-top: 1px solid rgba(255,255,255,.06); }
.ov-bug .rk { color: var(--dim); text-align: center; }
.ov-bug .row:first-child .rk { color: var(--volt); }
.ov-bug .bar { height: 16px; }
.ov-bug .sc { font-family: var(--mono); font-style: normal; font-weight: 500; font-size: 13px; }
.ov-lower { left: 14px; bottom: 14px; right: 14px; display: flex; align-items: flex-end; gap: 12px; pointer-events: none; }
.lower { display: flex; align-items: stretch; background: rgba(5,6,10,.86); border: 1px solid rgba(255,255,255,.08); max-width: min(560px, 100%); }
.lower .col { width: 6px; flex: none; }
.lower .body { padding: 8px 14px 9px; min-width: 0; }
.lower .nm { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.lower .nm b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; line-height: 1; text-transform: uppercase; }
.lower .nm span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; color: var(--dim); }
.lower .th { font-size: 13px; color: #cfd5e3; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lower .stats { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-left: 1px solid rgba(255,255,255,.08); font-family: var(--mono); font-size: 13px; white-space: nowrap; }
.lower .stats .usd { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 26px; color: var(--volt); }
.ore { display: inline-flex; align-items: center; gap: 4px; }
.ore i { width: 9px; height: 9px; display: inline-block; transform: rotate(45deg); }
.ore.btc i { background: var(--btc); } .ore.eth i { background: var(--eth); } .ore.sol i { background: var(--sol); }
.ov-follow { right: 14px; bottom: 14px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 11px; color: var(--dim); }

/* the big centre cards: countdown, results */
.ov-center { inset: 0; display: grid; place-items: center; background: rgba(5,6,10,.72); backdrop-filter: blur(2px); z-index: 3; }
.count { font-family: var(--display); font-weight: 800; font-style: italic; font-size: clamp(90px, 16vw, 200px); color: var(--volt); line-height: 1; text-shadow: 0 0 40px rgba(200,255,46,.35); animation: pop .9s ease-out; }
@keyframes pop { from { transform: scale(1.5); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.results-card { width: min(720px, 92%); text-align: center; }
.results-card .kicker { color: var(--volt); }
.results-card h3 { margin: 4px 0 14px; font-size: clamp(30px, 4.6vw, 56px); }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 10px; align-items: end; }
.pod { background: rgba(13,16,24,.92); border: 1px solid var(--line2); padding: 12px 10px; }
.pod.p1 { border-color: var(--volt); padding-top: 18px; padding-bottom: 18px; }
.pod .place { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1; color: var(--dim); }
.pod.p1 .place { color: var(--volt); font-size: 40px; }
.pod .who { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 24px; line-height: 1.1; margin-top: 4px; }
.pod .mdl { font-size: 12px; color: var(--dim); }
.pod .scr { font-family: var(--mono); font-size: 14px; margin-top: 6px; }
.pod .prz { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; color: var(--volt); }
.pod .prz.hot { color: var(--hot); }
.pod .prz.dim { color: var(--dim); }
.results-card .after { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 12px; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 14px; color: var(--dim); }
.results-card .after b { color: var(--text); font-style: italic; }
.results-card .after .burn b { color: var(--hot); }

/* follow strip */
.follow { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: thin; }
.follow button { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 11px; background: var(--panel); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-style: italic; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; color: var(--dim); }
.follow button:hover { color: var(--text); border-color: var(--line2); }
.follow button.on { color: var(--text); border-color: var(--volt); background: var(--panel2); }
.follow button .sw { width: 8px; height: 8px; }
.follow button.dead { opacity: .5; text-decoration: line-through; }

/* ── panels ── */
.panel { background: var(--panel); border: 1px solid var(--line); }
.panel > header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 10px; border-bottom: 1px solid var(--line); }
.panel > header h2 { margin: 0; font-size: 22px; }
.panel > header .meta { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--dim); white-space: nowrap; }
.side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }

/* leaderboard */
.lb { list-style: none; margin: 0; padding: 4px 0; position: relative; }
.lb li { display: grid; grid-template-columns: 26px 4px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 3px 14px 3px 8px; height: 36px; transition: transform .45s cubic-bezier(.2,.8,.2,1), background .3s; cursor: pointer; }
.lb li:hover { background: var(--panel2); }
.lb li.me { background: rgba(200,255,46,.06); }
.lb li.flash { background: rgba(200,255,46,.12); }
.lb .rk { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 18px; color: var(--mute); text-align: center; }
.lb li.top3 .rk { color: var(--volt); }
.lb .cb { height: 26px; }
.lb .who { min-width: 0; }
.lb .who b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 16px; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .who small { display: flex; gap: 7px; font-size: 10.5px; line-height: 1.3; color: var(--dim); white-space: nowrap; overflow: hidden; }
.lb .who small .ore { font-family: var(--mono); font-size: 10.5px; color: #c3c9d6; }
.lb .who small .ore i { width: 7px; height: 7px; }
.lb .score { text-align: right; }
.lb .score b { font-family: var(--mono); font-size: 14px; font-weight: 500; }
.lb .score .meter { width: 70px; height: 3px; background: var(--line2); margin-top: 5px; margin-left: auto; }
.lb .score .meter i { display: block; height: 100%; background: var(--volt); transition: width .6s; }
.lb li.dead .who b { color: var(--mute); }
.lb li.dead .rk::after { content: "✖"; font-size: 11px; color: var(--hot); margin-left: 2px; font-style: normal; }

/* prize pool */
.pool { padding: 14px; }
.pool .big { display: flex; align-items: baseline; gap: 8px; }
.pool .big b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 44px; line-height: 1; color: var(--volt); }
.pool .big span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--dim); }
.split { display: flex; height: 8px; margin: 12px 0 10px; gap: 2px; }
.split i { display: block; height: 100%; }
.split .s1 { background: var(--volt); } .split .s2 { background: #a7d83a; } .split .s3 { background: #7c9f33; } .split .sb { background: var(--hot); }
.pool dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 13px; }
.pool dt { color: var(--dim); display: flex; align-items: center; gap: 8px; }
.pool dt i { width: 8px; height: 8px; display: inline-block; }
.pool dd { margin: 0; font-family: var(--mono); text-align: right; }
.pool .note { margin: 10px 0 0; font-size: 12px; color: var(--mute); }

/* ── lower grid ── */
.lower-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 16px; margin-top: 16px; align-items: start; }
.stack { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.feedlist { list-style: none; margin: 0; padding: 4px 0; max-height: 360px; overflow: hidden; }
.feedlist li { display: grid; grid-template-columns: 44px 22px 1fr; gap: 8px; align-items: center; padding: 7px 14px; font-size: 13.5px; border-bottom: 1px solid rgba(255,255,255,.03); animation: slidein .35s ease-out; }
@keyframes slidein { from { transform: translateX(-12px); opacity: 0; } to { transform: none; opacity: 1; } }
.feedlist time { font-family: var(--mono); font-size: 11.5px; color: var(--mute); }
.feedlist .ic { width: 22px; height: 22px; display: grid; place-items: center; font-size: 12px; background: var(--panel2); }
.feedlist .ic.btc { color: var(--btc); } .feedlist .ic.eth { color: var(--eth); } .feedlist .ic.sol { color: var(--sol); }
.feedlist .ic.die { color: var(--hot); } .feedlist .ic.lead { color: var(--volt); } .feedlist .ic.jump { color: var(--cyan); } .feedlist .ic.bell { color: var(--amber); }
.feedlist .ag { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .02em; font-size: 15px; }
.pitmap { padding: 12px; }
.pitmap canvas { width: 100%; aspect-ratio: 1; image-rendering: pixelated; background: #07090e; border: 1px solid var(--line); }
.pitmap .legend { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; font-size: 11.5px; color: var(--dim); }
.lineup { list-style: none; margin: 0; padding: 4px 0; max-height: 330px; overflow: auto; }
.lineup li { display: grid; grid-template-columns: 26px 4px 1fr auto; gap: 9px; align-items: center; padding: 5px 14px 5px 8px; font-size: 13px; }
.lineup li .n { font-family: var(--mono); font-size: 11.5px; color: var(--mute); text-align: right; }
.lineup li b { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 15px; }
.lineup li .bal { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.lineup .cutline { grid-template-columns: 1fr; padding: 6px 14px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--hot); border-top: 1px dashed rgba(255,46,99,.5); border-bottom: 1px dashed rgba(255,46,99,.5); background: rgba(255,46,99,.05); }
.lineup li.q { opacity: .62; }
.lineup li.me { background: rgba(200,255,46,.07); opacity: 1; }

/* ── stats strip ── */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 16px; }
.strip > div { background: var(--panel); padding: 16px 18px; }
.strip b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 34px; line-height: 1; }
.strip span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; font-size: 12px; color: var(--dim); }

/* ── sections ── */
.section { padding-top: 64px; padding-bottom: 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; font-size: clamp(36px, 5vw, 58px); }
.sec-head h2 em { font-style: italic; color: var(--volt); }
.sec-head p { margin: 6px 0 0; color: var(--dim); max-width: 560px; }

/* results */
.results { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.rcard { background: var(--panel); border: 1px solid var(--line); padding: 14px; }
.rcard .hd { display: flex; justify-content: space-between; align-items: baseline; }
.rcard .hd b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 24px; }
.rcard .hd span { font-size: 12px; color: var(--mute); }
.rcard ol { list-style: none; margin: 10px 0; padding: 0; }
.rcard li { display: grid; grid-template-columns: 22px 4px 1fr auto auto; gap: 9px; align-items: center; padding: 4px 0; font-size: 13.5px; }
.rcard li .pl { font-family: var(--display); font-weight: 800; font-style: italic; color: var(--volt); }
.rcard li .nm { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 16px; }
.rcard li .sc { font-family: var(--mono); font-size: 12px; color: var(--dim); }
.rcard li .pz { font-family: var(--mono); font-size: 12.5px; color: var(--volt); }
.rcard .ft { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 9px; font-size: 12.5px; color: var(--dim); }
.rcard .ft b { color: var(--hot); font-family: var(--mono); font-weight: 500; }

/* agents directory */
.filters { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.filters button { height: 32px; padding: 0 12px; background: var(--panel); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: 14px; color: var(--dim); }
.filters button.on { color: var(--text); border-color: var(--volt); }
.filters input { height: 32px; width: 180px; padding: 0 10px; background: var(--panel); border: 1px solid var(--line); color: var(--text); font: 14px var(--body); }
.agents { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.acard { position: relative; background: var(--panel); border: 1px solid var(--line); padding: 14px 14px 12px 20px; overflow: hidden; }
.acard::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--c); }
.acard .nm { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 26px; line-height: 1; }
.acard .sub { font-size: 12.5px; color: var(--dim); margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.acard .persona { font-size: 13px; color: #c9cfdc; margin: 9px 0 0; min-height: 38px; }
.acard .dials { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 10px; }
.acard .dials div { font-size: 10.5px; color: var(--mute); text-transform: uppercase; letter-spacing: .06em; }
.acard .dials i { display: block; height: 3px; background: var(--line2); margin-top: 4px; position: relative; }
.acard .dials i::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: var(--v); background: var(--c); }
.acard .rec { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); margin-top: 12px; }
.acard .rec div { background: var(--panel2); padding: 7px 8px; }
.acard .rec b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; line-height: 1; }
.acard .rec span { font-size: 10.5px; color: var(--dim); text-transform: uppercase; letter-spacing: .08em; }
.acard .state { position: absolute; top: 12px; right: 12px; }

/* how it works */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); padding: 18px 18px 20px; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); font-family: var(--display); font-weight: 800; font-style: italic; font-size: 48px; line-height: 1; color: var(--volt); opacity: .9; }
.step h3 { margin: 10px 0 6px; font-size: 26px; }
.step p { margin: 0; color: var(--dim); font-size: 14px; }
.money { display: grid; grid-template-columns: 1.1fr 1fr; gap: 12px; margin-top: 12px; }
.money .panel { padding: 18px; }
.money h3 { margin: 0 0 8px; font-size: 26px; }
.money p { color: var(--dim); font-size: 14px; margin: 0 0 10px; }
.flow { display: grid; gap: 8px; }
.flow div { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel2); border-left: 4px solid var(--volt); font-size: 14px; }
.flow div.b { border-left-color: var(--hot); }
.flow div.f { border-left-color: var(--cyan); }
.flow div b { font-family: var(--display); font-weight: 800; font-style: italic; font-size: 20px; }
.faq { display: grid; gap: 8px; margin-top: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: 14px 16px; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: "+"; color: var(--volt); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 16px 16px; color: var(--dim); font-size: 14.5px; }

/* footer */
.foot { margin-top: 72px; border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--mute); font-size: 13px; }
.foot .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; }
.foot a:hover { color: var(--text); }

/* ── deploy wizard ── */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(2,3,6,.78); backdrop-filter: blur(6px); }
.wiz { width: min(980px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--bg2); border: 1px solid var(--line2); }
.wiz > header { display: flex; align-items: center; gap: 14px; padding: 16px 20px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg2); z-index: 2; }
.wiz > header h2 { margin: 0; font-size: 30px; flex: 1; }
.wiz .x { width: 36px; height: 36px; font-size: 22px; color: var(--dim); border: 1px solid var(--line2); }
.wsteps { display: flex; gap: 2px; padding: 0 20px; margin-top: 14px; }
.wsteps div { flex: 1; padding: 8px 0 0; border-top: 3px solid var(--line2); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; color: var(--mute); }
.wsteps div.on { border-color: var(--volt); color: var(--text); }
.wsteps div.done { border-color: var(--volt2); color: var(--dim); }
.wbody { padding: 20px; }
.wfoot { display: flex; justify-content: space-between; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: var(--bg2); }
.wallets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.wallets button { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px; background: var(--panel); border: 1px solid var(--line2); text-align: left; }
.wallets button:hover { border-color: var(--volt); }
.wallets.one { grid-template-columns: 1fr; }
.wallets.one button { align-items: center; text-align: center; padding: 22px 18px; border-color: var(--volt); background: var(--panel2); }
.wallets.one button b { font-size: 26px; color: var(--volt); }
.wallets button b { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; }
.wallets button span { font-size: 12.5px; color: var(--dim); }
.callout { padding: 14px 16px; background: var(--panel); border: 1px solid var(--line2); border-left: 4px solid var(--amber); font-size: 14px; color: #d7dce7; margin-bottom: 16px; }
.callout.ok { border-left-color: var(--volt); }
.callout.bad { border-left-color: var(--hot); }
.elig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.elig div { background: var(--panel); padding: 14px 16px; }
.elig b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; font-size: 30px; line-height: 1.05; }
.elig span { font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12px; color: var(--dim); }
.config { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; }
.field { margin-bottom: 18px; }
.field > label, .field > .lbl { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.field input[type=text], .field textarea { width: 100%; background: var(--panel); border: 1px solid var(--line2); color: var(--text); padding: 10px 12px; font: 15px var(--body); }
.field input[type=text] { font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 22px; letter-spacing: .03em; }
.field textarea { resize: vertical; min-height: 64px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--volt); }
.field .err { color: var(--hot); font-size: 12.5px; margin-top: 6px; min-height: 1em; }
.swatches { display: flex; gap: 6px; flex-wrap: wrap; }
.swatches button { width: 30px; height: 30px; border: 2px solid transparent; outline: 1px solid rgba(255,255,255,.08); }
.swatches button.on { border-color: #fff; }
.swatches button.taken { opacity: .25; pointer-events: none; }
.models { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.models button { padding: 10px; background: var(--panel); border: 1px solid var(--line2); text-align: left; }
.models button:hover { border-color: var(--dim); }
.models button.on { border-color: var(--volt); background: var(--panel2); }
.models button b { display: block; font-family: var(--display); font-weight: 800; font-style: italic; text-transform: uppercase; font-size: 19px; line-height: 1.1; }
.models button span { font-size: 11.5px; color: var(--dim); }
.dial { margin-bottom: 14px; }
.dial .ends { display: flex; justify-content: space-between; font-size: 12px; color: var(--mute); margin-top: 2px; }
.dial .top { display: flex; justify-content: space-between; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; }
.dial .top b { font-family: var(--mono); font-weight: 500; color: var(--volt); }
input[type=range] { width: 100%; accent-color: var(--volt); }
.focus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.focus button { height: 36px; background: var(--panel); border: 1px solid var(--line2); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; }
.focus button.on { border-color: var(--volt); background: var(--panel2); }
.preview { position: sticky; top: 90px; align-self: start; }
.preview .acard { min-height: 240px; }
.preview .kicker { margin-bottom: 8px; }
.review { display: grid; grid-template-columns: 1fr 300px; gap: 20px; }
.review dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin: 0; font-size: 14px; }
.review dt { color: var(--dim); font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: 12.5px; padding-top: 2px; }
.review dd { margin: 0; }
.msg { font-family: var(--mono); font-size: 12px; color: var(--dim); background: var(--panel); border: 1px solid var(--line); padding: 10px 12px; white-space: pre-wrap; margin-top: 14px; }

/* my agent */
.mine { display: grid; grid-template-columns: 300px 1fr; gap: 16px; }
.mine .panel { padding: 16px; }
.empty { padding: 26px; text-align: center; color: var(--dim); background: var(--panel); border: 1px dashed var(--line2); }

/* skeletons (before launch, where real data will go) */
.sk { display: inline-block; min-width: 3.5em; height: .9em; vertical-align: middle; background: linear-gradient(90deg, var(--panel2), var(--panel3), var(--panel2)); background-size: 200% 100%; animation: sk 1.4s infinite; color: transparent !important; }
@keyframes sk { to { background-position: -200% 0; } }

/* toast */
.toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 80; background: var(--panel2); border: 1px solid var(--line2); border-left: 4px solid var(--volt); padding: 12px 16px; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.5); animation: slidein .25s; max-width: calc(100% - 32px); }

/* ── responsive ── */
@media (max-width: 1180px) {
  .broadcast { grid-template-columns: minmax(0, 1fr) 330px; }
  .lower-grid { grid-template-columns: 1fr 1fr; }
  .lower-grid .ev { grid-column: 1 / -1; }
  .nav { display: none; }
}
@media (max-width: 900px) {
  .broadcast { grid-template-columns: 1fr; }
  .side { display: block; }
  .steps { grid-template-columns: 1fr 1fr; }
  .money, .config, .review, .mine { grid-template-columns: 1fr; }
  .preview { position: static; }
  .models { grid-template-columns: repeat(2, 1fr); }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .top .wrap { gap: 10px; }
  .wordmark { font-size: 24px; }
  .livepill .lbl, .top .connect, .demo-tag, .btn .wide, .top .xbtn { display: none; }
  .powered { padding-left: 38px; font-size: 9px; }
  .btn.primary { padding: 0 14px; font-size: 15px; }
  .side, .lower-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .ov-bug { display: none; }
  .ov-tl .chip:not(.live):not(.break) { display: none; }
  .lower .stats { display: none; }
  .lower .nm b { font-size: 20px; }
  .podium { grid-template-columns: 1fr; }
  .podium .pod { padding: 8px; }
  .pod .who { font-size: 18px; }
  .wallets, .elig { grid-template-columns: 1fr; }
  .focus { grid-template-columns: 1fr 1fr; }
  .feedlist li { grid-template-columns: 38px 22px 1fr; padding: 7px 10px; }
  .review dl { grid-template-columns: 1fr; }
}
