:root {
  --bg: #07090d; --bg2: #0b0f15; --panel: rgba(17, 23, 31, .72); --panel-solid: #111720; --panel2: rgba(24, 31, 41, .8);
  --line: #1c2430; --line2: #2a3442; --text: #e9eef6; --muted: #8592a6; --dim: #5d6879;
  --amber: #ffcc66; --amber2: #ffb43d; --screen: #7fd8ff; --gain: #3ee6a8; --loss: #ff6b6b; --warn: #ffb86b;
  --r: 16px; --font: Inter, system-ui, sans-serif; --disp: "Space Grotesk", Inter, sans-serif; --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box }
html { background: var(--bg) }
body { margin: 0; min-height: 100vh; color: var(--text); font: 15px/1.5 var(--font); background:
  radial-gradient(1200px 600px at 75% -10%, rgba(127, 216, 255, .08), transparent 60%),
  radial-gradient(900px 500px at 10% 0%, rgba(255, 204, 102, .06), transparent 60%), var(--bg); overflow-x: hidden }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; cursor: pointer }
input, textarea, select { font: inherit; color: var(--text); background: #0a0e14; border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; width: 100%; outline: none; transition: border-color .15s }
input:focus, textarea:focus, select:focus { border-color: var(--amber) }
textarea { resize: vertical }
.muted { color: var(--muted) } .small { font-size: 13px } .mono { font-family: var(--mono) } .center { text-align: center; justify-content: center }
.up { color: var(--gain) } .down { color: var(--loss) }
.grow { flex: 1 } .row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap } .row.gap { gap: 12px }
.glass { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); backdrop-filter: blur(14px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 20px 50px -30px rgba(0, 0, 0, .8) }

/* buttons, chips */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: 12px; border: 0; background: linear-gradient(180deg, var(--amber), var(--amber2)); color: #1a1206; font-weight: 700; letter-spacing: .01em; white-space: nowrap; transition: transform .12s, filter .12s, box-shadow .2s; box-shadow: 0 8px 24px -10px rgba(255, 180, 61, .6) }
.btn:hover { transform: translateY(-1px); filter: brightness(1.05) }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; filter: none }
.btn.ghost { background: rgba(255, 255, 255, .03); color: var(--text); border: 1px solid var(--line2); box-shadow: none }
.btn.ghost:hover { border-color: var(--muted) }
.btn.danger { color: var(--loss) }
.btn.big { padding: 14px 24px; font-size: 16px; border-radius: 14px }
.btn.small { padding: 8px 13px; font-size: 13px } .btn.tiny { padding: 4px 9px; font-size: 12px; border-radius: 8px }
.btn em, .tab em { font-style: normal; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; border: 1px solid currentColor; border-radius: 6px; padding: 0 5px }
.btn.launch { background: rgba(255, 255, 255, .03); color: var(--muted); border: 1px dashed var(--line2); box-shadow: none }
.chips { display: flex; flex-wrap: wrap; gap: 6px }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; letter-spacing: .02em; background: rgba(255, 255, 255, .05); border: 1px solid var(--line2); color: #c9d2de; white-space: nowrap }
.chip.tiny { padding: 0 6px; font-size: 10px }
.chips.pick .chip { cursor: pointer; padding: 6px 12px; font-size: 13px }
.chips.pick .chip.on { background: rgba(255, 204, 102, .14); border-color: var(--amber); color: var(--amber) }
.st-demo { color: var(--screen); border-color: rgba(127, 216, 255, .4); background: rgba(127, 216, 255, .08) }
.st-paused { color: var(--warn); border-color: rgba(255, 184, 107, .4) }
.st-stopped, .st-draft { color: var(--muted) }
.risk-conservative { color: #9df2c2 } .risk-balanced { color: #ffd98a } .risk-aggressive { color: #ff9f80 }
.chips.pick .risk-conservative.on { color: #9df2c2; border-color: #9df2c2; background: rgba(157, 242, 194, .1) }
.chips.pick .risk-aggressive.on { color: #ff9f80; border-color: #ff9f80; background: rgba(255, 159, 128, .1) }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dim); display: inline-block; flex: none }
.dot.on { background: var(--gain); box-shadow: 0 0 0 0 rgba(62, 230, 168, .6); animation: ping 2s infinite }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 230, 168, .55) } 70%, 100% { box-shadow: 0 0 0 8px rgba(62, 230, 168, 0) } }
.house { font-size: 10px; font-weight: 700; letter-spacing: .1em; color: var(--muted); border: 1px solid var(--line2); border-radius: 6px; padding: 0 5px; margin-left: 6px; vertical-align: middle }

/* header */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; padding: 12px 28px; background: rgba(7, 9, 13, .78); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line) }
.brand { display: flex; align-items: center; gap: 10px; font: 700 18px var(--disp); letter-spacing: .02em }
.nav { display: flex; gap: 4px; flex: 1 }
.nav a { padding: 8px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 13.5px; letter-spacing: .06em; text-transform: uppercase }
.nav a:hover { color: var(--text) } .nav a.on { color: var(--text); background: rgba(255, 255, 255, .05) }
main { max-width: 1320px; margin: 0 auto; padding: 0 28px 60px }
.foot { max-width: 1320px; margin: 0 auto; padding: 24px 28px 90px; color: var(--dim); font-size: 12px; border-top: 1px solid var(--line) }

/* hero */
.hero { position: relative; margin: 0 -28px; padding: 54px 28px 40px; overflow: hidden; border-bottom: 1px solid var(--line) }
.hero-floor { position: absolute; inset: auto -20% -40% -20%; height: 70%; background-image: linear-gradient(rgba(127, 216, 255, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(127, 216, 255, .09) 1px, transparent 1px); background-size: 56px 56px; transform: perspective(500px) rotateX(62deg); transform-origin: top; mask-image: linear-gradient(to bottom, #000 10%, transparent 80%); pointer-events: none }
.hero-in { position: relative; max-width: 1264px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center }
.kicker { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--muted); padding: 6px 12px; border: 1px solid var(--line2); border-radius: 999px; background: rgba(255, 255, 255, .02) }
h1 { font: 700 clamp(44px, 6.2vw, 84px)/0.98 var(--disp); letter-spacing: -.035em; margin: 18px 0 16px }
.grad { background: linear-gradient(100deg, var(--amber) 10%, #ffe2a6 45%, var(--screen) 95%); -webkit-background-clip: text; background-clip: text; color: transparent }
.lead { font-size: 19px; color: #d6dde8; margin: 0 0 26px; line-height: 1.5 }
.flow { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 12.5px; color: #c4ccd8 }
.flow span { padding: 4px 10px; border-radius: 8px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line) }
.flow span.later { color: var(--dim); border-style: dashed } .flow i { color: var(--dim); font-style: normal }
.hero-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; perspective: 900px }
.station { position: relative; display: block; transform: rotateY(-8deg) rotateX(4deg); transition: transform .3s; animation: rise .7s both; animation-delay: calc(var(--i) * 80ms) }
.station:hover { transform: rotateY(0) translateY(-4px) }
@keyframes rise { from { opacity: 0; transform: translateY(16px) rotateY(-8deg) } }
.scr { height: 118px; border-radius: 12px; padding: 12px; background: linear-gradient(180deg, rgba(127, 216, 255, .1), rgba(127, 216, 255, .02)), #0a0f15; border: 1px solid rgba(127, 216, 255, .22); box-shadow: 0 0 34px -10px rgba(127, 216, 255, .35), inset 0 0 20px rgba(127, 216, 255, .05); overflow: hidden }
.scr::after { content: ""; position: absolute; inset: 0 0 auto; height: 118px; border-radius: 12px; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px); pointer-events: none }
.sn { font: 600 13px var(--disp); color: #cfe9f7 } .sp { font: 700 22px var(--mono); margin: 2px 0 } .sl { font-size: 11px; color: var(--muted); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.sav { display: flex; justify-content: center; margin-top: -8px }

/* sections, grids */
.block { margin-top: 38px }
.bh { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap }
h2 { font: 700 26px var(--disp); letter-spacing: -.01em; margin: 0 0 6px }
h3 { font: 600 15px var(--disp); margin: 0; display: flex; align-items: center; gap: 8px } h3 em { font: 400 12px var(--font); font-style: normal }
.lnk { color: var(--amber); font-weight: 600; font-size: 14px }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr)); gap: 16px }
.grid > * { min-width: 0 }
.loading, .empty { color: var(--muted); padding: 30px; text-align: center; grid-column: 1/-1 }
.empty.big { padding: 70px 20px; font-size: 17px } .empty.big .btn { margin-top: 16px } .empty.small { padding: 16px; font-size: 14px }

/* agent card (grid) */
.acard { min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 16px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 40%), var(--panel); border: 1px solid var(--line); transition: border-color .2s, transform .2s, box-shadow .2s }
.acard:hover { border-color: var(--line2); transform: translateY(-2px); box-shadow: 0 18px 40px -24px rgba(127, 216, 255, .35) }
.acard-top { display: flex; gap: 12px; align-items: center }
.acard-av { width: 64px; height: 64px; flex: none; border-radius: 14px; background: radial-gradient(circle at 50% 70%, rgba(127, 216, 255, .12), transparent 70%) }
.acard-name { font: 700 18px var(--disp) } .acard-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 6px }
.acard-mid { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line) }
.lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em }
.bignum { font: 700 22px var(--mono) } .bignum small { font: 500 11px var(--font); color: var(--muted) }
.acard-grid { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 8px }
.kv { display: flex; flex-direction: column; gap: 1px; min-width: 0 } .kv span { font-size: 11px; color: var(--muted) } .kv b { font: 600 14px var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .kv b i { font-style: normal; font-size: 12px }
.acard-last { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #cfd6e0; border-top: 1px solid var(--line); padding-top: 10px }
.acard-last .txt { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .acard-last .when { color: var(--dim); font-size: 12px; white-space: nowrap }

/* avatar animation */
.avatar.anim .eyes { animation: blink 5s infinite }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1) } 95% { transform: scaleY(.1) } }
.avatar.anim .bulb { animation: bulb 2.4s ease-in-out infinite }
@keyframes bulb { 50% { opacity: .45 } }
.avatar .scan { animation: scan 2.2s ease-in-out infinite alternate }
@keyframes scan { to { transform: translateX(32px) } }

/* how */
.howgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px }
.howc { padding: 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #c7cfdb }
.howc b { font: 600 15px var(--disp); color: var(--text) } .howc.later { border-style: dashed; opacity: .75 } .howc em { font-style: normal; font-size: 10px; color: var(--amber); border: 1px solid; border-radius: 5px; padding: 0 4px; margin-left: 4px }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px }
.tab { padding: 9px 14px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--muted); font-weight: 600; font-size: 13.5px }
.tab.on { color: var(--text); border-color: var(--line2); background: rgba(255, 255, 255, .07) } .tab:disabled { opacity: .5; cursor: default }

/* create */
.create { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; margin-top: 30px; align-items: start }
.steps { display: flex; gap: 8px; margin-bottom: 22px }
.stepb { flex: 1; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line); color: var(--muted); font-weight: 600 }
.stepb i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; border: 1px solid var(--line2) }
.stepb.on { color: var(--text); border-color: var(--amber); background: rgba(255, 204, 102, .06) } .stepb.on i { background: var(--amber); color: #1a1206; border-color: var(--amber) }
.stepb.done i { background: rgba(62, 230, 168, .15); border-color: var(--gain); color: var(--gain) }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px } .field > span { font-weight: 600; font-size: 14px } .field em { font-weight: 400; font-style: normal }
.avbuilder { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(0, 0, 0, .2) }
.avrow { display: flex; align-items: center; gap: 12px } .avlbl { width: 62px; font-size: 12px; color: var(--muted); flex: none }
.avopts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.avopt { padding: 2px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); line-height: 0 } .avopt.on { border-color: var(--amber); background: rgba(255, 204, 102, .1) }
.sw { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid transparent; box-shadow: 0 0 0 1px var(--line2) } .sw.glow { box-shadow: 0 0 10px var(--c), 0 0 0 1px var(--line2) } .sw.on { border-color: #fff }
.sep { width: 1px; height: 22px; background: var(--line2); margin: 0 6px }
.pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px }
.pcard { text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line) }
.pcard b { font: 600 15px var(--disp) } .pcard span { font-size: 12.5px; color: var(--muted) } .pcard i { font-size: 12.5px; color: #c8d1dc; margin-top: 4px }
.pcard.on { border-color: var(--amber); background: rgba(255, 204, 102, .06) }
.words textarea { min-height: 110px; margin-bottom: 10px }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; margin-bottom: 10px }
.arch { text-align: left; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .02); border: 1px solid var(--line) }
.arch .ic { font-size: 22px } .arch b { font: 600 15px var(--disp) } .arch span:last-child { font-size: 12.5px; color: var(--muted) } .arch.on { border-color: var(--amber); background: rgba(255, 204, 102, .06) }
.note { padding: 9px 12px; border-radius: 10px; font-size: 13.5px; margin: 8px 0 } .note.ok { background: rgba(127, 216, 255, .07); border: 1px solid rgba(127, 216, 255, .25) } .note.warn { background: rgba(255, 184, 107, .07); border: 1px solid rgba(255, 184, 107, .3); color: #ffd7aa }
.settings { padding: 6px 18px; margin-top: 14px }
.sgroup { padding: 14px 0; border-bottom: 1px solid var(--line) } .sgroup:last-child { border: 0 }
.sh { font: 600 13px var(--disp); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px } .sh em { text-transform: none; letter-spacing: 0; font-style: normal }
.sigs { margin-top: 8px }
.slider { display: grid; grid-template-columns: 220px 1fr 74px; gap: 14px; align-items: center; padding: 7px 0 }
.sl { font-size: 14px; display: flex; flex-direction: column } .sl em { font-style: normal; font-size: 12px; color: var(--muted) }
.slider b { font: 600 14px var(--mono); text-align: right }
.slider.big { grid-template-columns: 160px 1fr 140px; margin: 18px 0 } .slider.big b { font-size: 18px; color: var(--amber) }
input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; padding: 0; border: 0; border-radius: 6px; background: linear-gradient(90deg, var(--line2), var(--line2)); cursor: pointer }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(255, 204, 102, .18) }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border: 0; border-radius: 50%; background: var(--amber) }
.toggle { display: flex; gap: 10px; align-items: center; font-size: 14px; padding-top: 6px } .toggle input { width: 18px; height: 18px; accent-color: var(--amber) }
.step-nav { display: flex; margin-top: 22px; gap: 10px }
.demo-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.dmode { padding: 16px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: #c7cfdb }
.dmode b { font: 700 15px var(--disp); color: var(--text); letter-spacing: .06em } .dmode.on { border-color: var(--screen); background: rgba(127, 216, 255, .05) } .dmode.off { opacity: .55; border-style: dashed }
.dmode em { font-style: normal; font-size: 10px; border: 1px solid; border-radius: 5px; padding: 0 4px; margin-left: 6px; color: var(--amber) }
.honest { padding: 12px 14px; border-radius: 12px; background: rgba(255, 204, 102, .05); border: 1px solid rgba(255, 204, 102, .25); font-size: 14px; margin-bottom: 18px }
.create-side { position: sticky; top: 80px }
.preview { padding: 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center }
.pv-av, .ahead-av, .tcard-av { position: relative; display: grid; place-items: center }
.pedestal { position: absolute; bottom: -2px; width: 70%; height: 16px; border-radius: 50%; background: radial-gradient(ellipse, rgba(127, 216, 255, .35), transparent 70%); filter: blur(2px) }
.pv-name { font: 700 22px var(--disp) }
.pv-say { font-size: 14px; color: #d6dde8; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); width: 100% }
.pv-tag { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px }
.pv-sum { font-size: 13px; color: var(--muted); text-align: left }
.riskbar { width: 100%; text-align: left } .bar { height: 7px; border-radius: 6px; background: var(--line); margin: 6px 0; overflow: hidden } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gain), var(--amber), var(--loss)); border-radius: 6px; transition: width .3s }

/* agent page */
.agent { margin-top: 20px }
.demo-banner { font-size: 13px; padding: 9px 14px; border-radius: 12px; background: rgba(127, 216, 255, .06); border: 1px solid rgba(127, 216, 255, .22); color: #cfe9f7; margin-bottom: 14px }
.ahead { display: grid; grid-template-columns: 130px 1fr auto; gap: 22px; padding: 22px; align-items: center; position: relative; overflow: hidden }
.ahead::before { content: ""; position: absolute; left: -60px; top: -80px; width: 320px; height: 320px; background: radial-gradient(circle, rgba(127, 216, 255, .12), transparent 65%); pointer-events: none }
.ahead-name { font: 700 32px var(--disp); letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap }
.tick { font: 600 13px var(--mono); color: var(--muted); border: 1px dashed var(--line2); border-radius: 8px; padding: 2px 8px }
.ahead-by { color: var(--muted); font-size: 14px; margin-bottom: 8px }
.ahead-descr { margin: 10px 0 6px; color: #cfd6e0 }
.say { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap } .say .q { font-size: 15px; color: var(--amber) }
.ahead-act { display: flex; flex-direction: column; gap: 8px; align-items: stretch; min-width: 190px }
.statgrid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 14px 0 }
.stat { padding: 12px 14px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line) }
.stat .l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em } .stat .v { font: 700 21px var(--mono); margin-top: 2px } .stat .s { font-size: 12px; color: var(--muted) }
.stat.up .v { color: var(--gain) } .stat.down .v { color: var(--loss) }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 14px; align-items: start }
.col-main, .col-side { display: flex; flex-direction: column; gap: 14px; min-width: 0 }
.panel { padding: 16px }
.ph { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap } .ph h3 { flex: 1 }
canvas { width: 100%; display: block }
.tablewrap { overflow-x: auto }
.tbl { width: 100%; border-collapse: collapse; font-size: 13.5px }
.tbl th { text-align: left; font-weight: 600; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 6px 8px; border-bottom: 1px solid var(--line); white-space: nowrap }
.tbl td { padding: 9px 8px; border-bottom: 1px solid rgba(28, 36, 48, .6); white-space: nowrap; vertical-align: top } .tbl small { color: var(--muted) }
.tbl td.wide { white-space: normal; min-width: 220px } .reason { color: #c7cfdb; font-size: 13px }
.tok { display: inline-flex; align-items: center; gap: 8px } .tok img, .tok i { width: 22px; height: 22px; border-radius: 50%; background: var(--line2); object-fit: cover }
.side { font: 700 11px var(--mono); padding: 2px 7px; border-radius: 6px } .side.buy { color: var(--gain); background: rgba(62, 230, 168, .1) } .side.sell { color: var(--loss); background: rgba(255, 107, 107, .1) }
.code { font-size: 11px; font-weight: 700; color: var(--text); background: rgba(255, 255, 255, .06); border-radius: 6px; padding: 1px 6px; margin-right: 4px }
.by { font: 700 9.5px var(--mono); letter-spacing: .06em; color: var(--screen); border: 1px solid rgba(127, 216, 255, .4); border-radius: 5px; padding: 0 4px; margin-left: 6px; vertical-align: middle } .by.r { color: var(--muted); border-color: var(--line2) }
.feedp { max-height: 640px; display: flex; flex-direction: column } .feed { overflow-y: auto; display: flex; flex-direction: column; gap: 2px; margin-right: -6px; padding-right: 6px }
.ev { display: flex; gap: 10px; padding: 9px 8px; border-radius: 10px; transition: background .6s } .ev.fresh { background: rgba(255, 204, 102, .08) }
.ev .ic { width: 24px; height: 24px; border-radius: 8px; flex: none; display: grid; place-items: center; font-size: 12px; background: rgba(255, 255, 255, .05); color: var(--muted) }
.ev-buy .ic, .ev-up .ic { color: var(--gain); background: rgba(62, 230, 168, .1) } .ev-close .ic, .ev-down .ic, .ev-reject .ic, .ev-daily .ic { color: var(--loss); background: rgba(255, 107, 107, .1) } .ev-partial .ic, .ev-setup .ic { color: var(--amber); background: rgba(255, 204, 102, .1) } .ev-scan .ic { color: var(--screen) }
.evb { min-width: 0; flex: 1 } .evh { font: 600 13px var(--disp); letter-spacing: .02em; display: flex; gap: 6px; align-items: center } .evh .t { margin-left: auto; font: 400 11px var(--mono); color: var(--dim) }
.evd { font-size: 12.5px; color: var(--muted); word-break: break-word } .evs { font-size: 13px; color: #e6dcc4; font-style: italic; margin-top: 2px }
.kvl { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(28, 36, 48, .6); font-size: 14px } .kvl span { color: var(--muted) } .kvl b { font-family: var(--mono); font-weight: 600; text-align: right } .kvl em { font-style: normal; font-size: 11px }
.kvgrid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 16px; margin: 6px 0 }
.kvgrid .kvl { font-size: 13px }
.sum { margin: 0 0 8px; color: #d6dde8; font-size: 14px }
.prompt { font-size: 13px; padding: 10px 12px; border-radius: 10px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); margin-bottom: 8px; color: #cfd6e0 }

/* the collectible card */
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; padding: 20px; background: rgba(3, 5, 8, .72); backdrop-filter: blur(8px); animation: fade .2s }
@keyframes fade { from { opacity: 0 } }
.modal-in { max-height: 92vh; overflow-y: auto; display: flex; flex-direction: column; gap: 16px } .modal-in.wide { width: min(860px, 100%); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 18px; padding: 22px }
.tcard { position: relative; width: 360px; max-width: 100%; padding: 18px 20px 16px; border-radius: 22px; overflow: hidden; background: linear-gradient(160deg, #141b25, #090c11 60%); border: 1px solid #2a3442; box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03) inset, 0 0 60px -20px var(--ac) }
.tcard::before { content: ""; position: absolute; inset: 0; border-radius: 22px; padding: 1px; background: linear-gradient(140deg, var(--ac), transparent 35%, transparent 65%, var(--screen)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .6; pointer-events: none }
.tcard-glow { position: absolute; left: 50%; top: 70px; width: 260px; height: 220px; transform: translateX(-50%); background: radial-gradient(circle, color-mix(in srgb, var(--ac) 30%, transparent), transparent 65%); pointer-events: none }
.tcard-head { display: flex; justify-content: space-between; font: 600 11px var(--mono); letter-spacing: .1em; color: var(--muted) } .tcard-head .mode { color: var(--screen) }
.tcard-av { margin: 6px 0 4px }
.tcard-name { font: 700 28px var(--disp); text-align: center; position: relative }
.tcard-by { text-align: center; color: var(--muted); font-size: 13px; margin-bottom: 8px }
.tcard-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 16px 0 12px; padding: 14px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid var(--line) }
.tcard-stats .kv b { font-size: 15px } .tcard-stats small { font: 400 10px var(--font) }
.tcard-foot { font-size: 10.5px; color: var(--dim); text-align: center }
.cardmodal { align-items: center }

.lobby-soon { padding: 50px 30px; text-align: center; max-width: 720px; margin: 50px auto } .lobby-soon p { color: #cfd6e0 }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 20px); opacity: 0; z-index: 60; padding: 12px 18px; border-radius: 12px; background: var(--panel-solid); border: 1px solid var(--line2); box-shadow: 0 20px 50px -20px #000; transition: .25s; font-size: 14px; max-width: calc(100vw - 32px) }
.toast.show { opacity: 1; transform: translate(-50%, 0) } .toast.bad { border-color: rgba(255, 107, 107, .5) }

/* tablet */
@media (max-width: 1100px) {
  .hero-in { grid-template-columns: 1fr } .hero-wall { grid-template-columns: repeat(3, 1fr) }
  .cols { grid-template-columns: 1fr } .statgrid { grid-template-columns: repeat(5, 1fr) }
  .create { grid-template-columns: 1fr } .create-side { position: static; order: -1 } .preview { flex-direction: row; flex-wrap: wrap; text-align: left; justify-content: flex-start } .pv-say, .pv-sum, .riskbar { flex: 1 1 260px }
}
/* phone */
@media (max-width: 720px) {
  .top { padding: 10px 16px; gap: 10px; backdrop-filter: none; background: rgba(7, 9, 13, .96) } .top .cta { margin-left: auto } /* a blurred header would trap the fixed bottom nav inside it */
  .nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; justify-content: space-around; padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: rgba(7, 9, 13, .94); border-top: 1px solid var(--line); backdrop-filter: blur(16px) }
  .nav a { padding: 8px 6px; font-size: 11.5px; letter-spacing: .04em }
  main { padding: 0 16px 40px } .foot { padding: 20px 16px 90px }
  .hero { margin: 0 -16px; padding: 34px 16px 30px } .lead { font-size: 16.5px } .hero-wall { grid-template-columns: repeat(2, 1fr); gap: 10px } .station:nth-child(n+5) { display: none } .scr { height: 104px }
  .grid { grid-template-columns: minmax(0, 1fr) } .howgrid { grid-template-columns: 1fr 1fr }
  .ahead { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 18px } .ahead-name { justify-content: center; font-size: 26px } .ahead .chips, .say { justify-content: center } .ahead-act { width: 100%; min-width: 0; display: grid; grid-template-columns: 1fr 1fr } .ahead-act .btn { justify-content: center; padding: 10px 8px; font-size: 13.5px } .ahead-act #cardBtn { grid-column: 1/-1 }
  .statgrid { grid-template-columns: repeat(2, 1fr) } .stat .v { font-size: 18px }
  .kvgrid { grid-template-columns: 1fr }
  .steps { gap: 6px } .stepb { padding: 10px 8px; font-size: 13px; gap: 6px; justify-content: center } .pgrid { grid-template-columns: 1fr 1fr }
  .slider { grid-template-columns: 1fr 70px; gap: 6px 10px } .slider .sl { grid-column: 1/-1 } .slider.big { grid-template-columns: 1fr 120px }
  .demo-modes { grid-template-columns: 1fr } .avlbl { width: 46px }
  .preview { flex-direction: column; text-align: center; align-items: center }
}

/* ===== milestone 2: live states, the live screen, the launch moment ===== */
.chip.mode { color: var(--screen); border-color: rgba(127, 216, 255, .35); background: rgba(127, 216, 255, .06); letter-spacing: .08em }
.state { display: inline-flex; align-items: center; gap: 7px; font: 700 10.5px var(--mono); letter-spacing: .1em; padding: 4px 9px 4px 8px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); white-space: nowrap }
.state i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; position: relative }
.state.s-scanning { color: var(--screen); border-color: rgba(127, 216, 255, .35) }
.state.s-scanning i::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid transparent; border-top-color: currentColor; animation: spin 1.1s linear infinite }
.state.s-in_position { color: var(--gain); border-color: rgba(62, 230, 168, .4); background: rgba(62, 230, 168, .06) } .state.s-in_position i { animation: beat 1.2s ease-in-out infinite }
.state.s-just_closed { color: var(--amber); border-color: rgba(255, 204, 102, .4) } .state.s-just_closed i { animation: flash 1s steps(2) infinite }
.state.s-cooldown, .state.s-waiting { color: #b6c0cf } .state.s-waiting i { animation: breathe 2.6s ease-in-out infinite }
.state.s-paused { color: var(--warn) } .state.s-daily_stop { color: var(--loss); border-color: rgba(255, 107, 107, .4) } .state.s-stopped, .state.s-draft { color: var(--dim) }
@keyframes spin { to { transform: rotate(360deg) } }
@keyframes beat { 50% { transform: scale(1.5); opacity: .6 } }
@keyframes flash { 50% { opacity: .2 } }
@keyframes breathe { 50% { opacity: .35 } }

/* cards */
.acard-top { position: relative } .acard-top > .state { position: absolute; top: 0; right: 0 }
.acard-id { min-width: 0; padding-right: 104px }
.acard.cs-in_position { border-color: rgba(62, 230, 168, .28); box-shadow: 0 0 0 1px rgba(62, 230, 168, .06) inset, 0 18px 40px -28px rgba(62, 230, 168, .45) }
.acard.cs-scanning { border-color: rgba(127, 216, 255, .22) }
.acard.cs-just_closed { border-color: rgba(255, 204, 102, .3) }
.acard-pos { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); min-width: 0 }
.acard-pos .lbl { flex: none } .acard-pos b { font: 700 15px var(--mono) } .acard-pos i { font: 700 15px var(--mono); font-style: normal; margin-left: auto }
.acard-pos.up { border-color: rgba(62, 230, 168, .3); background: rgba(62, 230, 168, .05) } .acard-pos.up i { color: var(--gain) }
.acard-pos.down { border-color: rgba(255, 107, 107, .3); background: rgba(255, 107, 107, .05) } .acard-pos.down i { color: var(--loss) }
.acard-pos.flat .txt { font-size: 13px; color: #cfd6e0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0 }
.acard-grid { grid-template-columns: 1fr 1fr 1fr }
.acard-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 9px }
.paper { font: 700 9.5px var(--mono); letter-spacing: .12em; color: var(--screen); border: 1px solid rgba(127, 216, 255, .35); border-radius: 5px; padding: 1px 5px }
.owned { display: flex; flex-direction: column; gap: 8px; min-width: 0 }
.ctl { display: flex; gap: 6px; flex-wrap: wrap } .ctl .btn { flex: 1; justify-content: center }

/* agent screen */
.ahead { grid-template-columns: 130px 1fr minmax(240px, auto) }
.ahead-act { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; align-content: center }
.ahead-act .btn { justify-content: center; padding: 10px 12px; font-size: 13.5px } .ahead-act #watch { grid-column: 1/-1 } .ahead-act .launch { grid-column: 1/-1 }
.btn.ghost.on { color: var(--amber); border-color: rgba(255, 204, 102, .5) }
.ahead-by b { color: var(--text) }
.vtabs { display: flex; align-items: center; gap: 6px; margin: 16px 0 12px; flex-wrap: wrap }
.vtab { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); color: var(--muted); font: 600 14px var(--disp); letter-spacing: .04em }
.vtab.on { color: var(--text); background: rgba(255, 255, 255, .07); border-color: var(--line2) }
.paperbadge { font-size: 12px; color: #9fd8f3; padding: 6px 10px; border-radius: 10px; border: 1px solid rgba(127, 216, 255, .22); background: rgba(127, 216, 255, .05) }
[hidden] { display: none !important }
.metrics { display: grid; grid-template-columns: 1.5fr repeat(5, 1fr); gap: 10px; margin-bottom: 14px }
.metric { padding: 14px 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); min-width: 0 }
.metric .l { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .07em }
.metric .v { font: 700 22px var(--mono); margin: 3px 0 1px; white-space: nowrap } .metric .v small { font-size: 12px; color: var(--muted) } .metric .s { font-size: 12px; color: var(--muted) }
.metric.big { background: linear-gradient(135deg, rgba(255, 204, 102, .07), transparent 60%), var(--panel); border-color: rgba(255, 204, 102, .22) } .metric.big .v { font-size: 30px }
.metric.up .v { color: var(--gain) } .metric.down .v { color: var(--loss) } .metric.big.up .v, .metric.big.down .v { color: var(--text) }
.posp .ph h3 { flex: 0 1 auto } .posp .ph .state { margin-right: auto }
.flat { display: flex; align-items: center; gap: 16px; padding: 6px 0 } .flat p { margin: 4px 0 0; font-size: 14px }
.radar { width: 54px; height: 54px; flex: none; border-radius: 50%; border: 1px solid rgba(127, 216, 255, .3); position: relative; overflow: hidden; background: radial-gradient(circle, rgba(127, 216, 255, .1), transparent 70%) }
.radar::before, .radar::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(127, 216, 255, .18) } .radar::before { inset: 9px } .radar::after { inset: 19px }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(127, 216, 255, .55), transparent 25%); opacity: 0 } .radar.on i { opacity: 1; animation: spin 2.2s linear infinite }
.pos-main { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px }
.pos-tok { display: flex; align-items: center; gap: 12px; min-width: 0 } .pos-tok img, .pos-tok > i { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: var(--line2); flex: none } .pos-tok b { font: 700 22px var(--disp); display: block } .pos-tok span { display: block }
.pos-pnl { text-align: right } .pos-pnl b { display: block; font: 700 30px var(--mono) } .pos-pnl span { font: 600 13px var(--mono) } .pos-pnl.up { color: var(--gain) } .pos-pnl.down { color: var(--loss) }
.pos-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line) }
.pos-grid .kv b { font-size: 14px }
.tpsl { margin: 14px 0 6px } .tpsl .bar { position: relative; height: 8px; border-radius: 6px; background: linear-gradient(90deg, rgba(255, 107, 107, .35), rgba(255, 255, 255, .06) 45%, rgba(62, 230, 168, .35)); overflow: visible; margin: 0 }
.tpsl .fill { position: absolute; top: 0; bottom: 0; border-radius: 6px; opacity: .9 } .tpsl .fill.up { background: var(--gain) } .tpsl .fill.down { background: var(--loss) }
.tpsl .mark { position: absolute; top: -5px; width: 3px; height: 18px; border-radius: 2px; transform: translateX(-50%) } .tpsl .mark.entry { background: #cfd6e0 } .tpsl .mark.now { background: var(--amber); box-shadow: 0 0 10px var(--amber); transition: left .6s ease }
.tpsl .ends { display: flex; justify-content: space-between; font: 700 11px var(--mono); margin-top: 6px }
.why { font-size: 13.5px; color: #cfd6e0; margin: 8px 0 10px }
.evs span { font-style: normal; font-size: 11px; color: var(--amber); letter-spacing: .04em; margin-right: 2px }
.ev-filter .ic { color: var(--gain); background: rgba(62, 230, 168, .08) } .ev-tp .ic { color: var(--gain); background: rgba(62, 230, 168, .14) } .ev-waiting .ic { color: var(--screen) }
.feedp { max-height: 980px }
.descr { margin: 0 0 12px; color: #d6dde8 } .kvgrid.one { grid-template-columns: 1fr }
#about .pv-say { margin-top: 12px }

/* step 3: the launch moment */
.launchpad { display: flex; flex-direction: column; gap: 14px }
.lp-head { display: flex; align-items: center; gap: 18px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: radial-gradient(circle at 12% 50%, rgba(127, 216, 255, .1), transparent 50%), rgba(255, 255, 255, .02) }
.lp-head h2 { margin: 0 } .lp-head p { margin: 4px 0 0 } .lp-av { position: relative; display: grid; place-items: center; flex: none }
.balpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px }
.bal { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 16px 10px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .02); transition: .15s; cursor: pointer }
.bal b { font: 700 28px var(--mono) } .bal span { font-size: 11px; color: var(--muted); letter-spacing: .08em }
.bal.on { border-color: var(--amber); background: rgba(255, 204, 102, .08); box-shadow: 0 0 30px -12px rgba(255, 204, 102, .6) } .bal.on b { color: var(--amber) }
.bal.custom input { width: 100%; text-align: center; font: 700 20px var(--mono); padding: 6px; background: transparent; border: 0; border-bottom: 1px dashed var(--line2); border-radius: 0 }
.btn.run { position: relative; justify-content: center; padding: 20px; font-size: 20px; letter-spacing: .08em; border-radius: 16px; overflow: hidden; box-shadow: 0 14px 40px -12px rgba(255, 180, 61, .8) }
.btn.run .ring { position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent 0 70%, rgba(255, 255, 255, .45) 80%, transparent 90%); animation: spin 3.5s linear infinite; mix-blend-mode: overlay; pointer-events: none }
.ghostlink { background: none; border: 0; color: var(--muted); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; align-self: center; cursor: pointer }

/* the wake-up sequence */
.boot { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(127, 216, 255, .1), transparent 50%), rgba(4, 6, 9, .94); backdrop-filter: blur(10px); animation: fade .3s; transition: opacity .55s }
.boot.out { opacity: 0 }
.boot-in { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; width: min(460px, 100%) }
.boot-av { position: relative; display: grid; place-items: center } .boot-ring { position: absolute; inset: -14px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--screen); border-right-color: rgba(127, 216, 255, .3); animation: spin 1.4s linear infinite }
.boot-name { font: 700 28px var(--disp) }
.boot-steps { width: 100%; display: flex; flex-direction: column; gap: 8px }
.bs { display: grid; grid-template-columns: 22px 1fr; column-gap: 10px; align-items: center; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); opacity: .35; transition: .3s }
.bs i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line2) } .bs b { font: 700 13px var(--mono); letter-spacing: .12em } .bs span { grid-column: 2; font-size: 12.5px; color: var(--muted) }
.bs.go { opacity: 1; border-color: rgba(127, 216, 255, .4) } .bs.go i { border-color: var(--screen); border-top-color: transparent; animation: spin .8s linear infinite }
.bs.ok { opacity: 1 } .bs.ok i { border-color: var(--gain); background: var(--gain); box-shadow: 0 0 12px var(--gain) } .bs.bad { opacity: 1 } .bs.bad i { border-color: var(--warn) }
.boot-say { min-height: 22px; color: var(--amber); font-style: italic; text-align: center }

@media (max-width: 1100px) {
  .metrics { grid-template-columns: repeat(3, 1fr) } .metric.big { grid-column: 1/-1 } .pos-grid { grid-template-columns: repeat(3, 1fr) }
  .ahead { grid-template-columns: 110px 1fr } .ahead-act { grid-column: 1/-1; grid-template-columns: repeat(4, 1fr) } .ahead-act #watch, .ahead-act .launch { grid-column: auto }
}
@media (max-width: 720px) {
  .metrics { grid-template-columns: 1fr 1fr } .metric .v { font-size: 18px } .metric.big .v { font-size: 26px }
  .pos-grid { grid-template-columns: 1fr 1fr } .pos-pnl b { font-size: 24px } .pos-tok b { font-size: 18px }
  .ahead { grid-template-columns: 1fr } .ahead-act { grid-template-columns: 1fr 1fr } .ahead-act #watch, .ahead-act .launch { grid-column: 1/-1 }
  .balpick { grid-template-columns: 1fr 1fr } .paperbadge { width: 100% }
  .acard-id { padding-right: 0 } .acard-top > .state { position: static; align-self: flex-start } .acard-top { flex-wrap: wrap }
  .lp-head { flex-direction: column; text-align: center }
}
.keybox { margin-top: 30px; padding: 16px; display: flex; flex-direction: column; gap: 10px } .keybox p { margin: 4px 0 0 } .keybox input { flex: 1; min-width: 200px; padding: 8px 12px }
@media (max-width: 720px) { .metrics .metric:last-child { grid-column: 1/-1 } }
.warn { color: var(--warn) }
.tf { display: inline-flex; gap: 2px; padding: 3px; border-radius: 10px; background: rgba(255,255,255,.04); border: 1px solid var(--line) } .tf button { border: 0; background: none; color: var(--muted); font: 700 12px var(--mono); padding: 4px 10px; border-radius: 7px; cursor: pointer } .tf button.on { background: rgba(255,204,102,.14); color: var(--amber) }
.cabar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -4px 0 8px }
.ca { display: inline-flex; align-items: center; gap: 5px; font: 600 11.5px var(--mono); color: var(--muted); padding: 2px 8px; border-radius: 7px; border: 1px solid var(--line2); background: rgba(255,255,255,.03); cursor: pointer; white-space: nowrap } .ca b { color: #d6dde8; font-weight: 600 } .ca i { font-style: normal; opacity: .7 } .ca:hover { border-color: var(--amber); color: var(--amber) }
.poscas { display: block; margin: 3px 0 2px } .tbl .ca { margin-top: 4px; font-size: 10.5px; padding: 1px 6px }
#ctabs small { font: 600 10px var(--mono); opacity: .7 }
@media (max-width: 720px) { #ctabs { flex-wrap: nowrap; overflow-x: auto; width: 100%; padding-bottom: 4px } #ctabs .chip { flex: none } }

/* ===== design pass: the small details ===== */
::selection { background: rgba(255, 204, 102, .28); color: #fff }
html { scrollbar-color: #2a3442 transparent; scrollbar-width: thin }
::-webkit-scrollbar { width: 10px; height: 10px } ::-webkit-scrollbar-thumb { background: #232c38; border-radius: 10px; border: 2px solid var(--bg) } ::-webkit-scrollbar-track { background: transparent }
body { font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
.mono, .kv b, .bignum, .metric .v, .stat .v, .tbl td { font-variant-numeric: tabular-nums }
/* film grain: kills the flat "generated" look */
body::after { content: ""; position: fixed; inset: -50%; z-index: 100; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1.2s steps(4) infinite }
@keyframes grain { 25% { transform: translate(-2%, 1%) } 50% { transform: translate(1%, -2%) } 75% { transform: translate(2%, 2%) } }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; border-radius: 8px }

/* header */
.top { transition: padding .25s, background .25s, box-shadow .25s }
.top.scrolled { padding-top: 8px; padding-bottom: 8px; background: rgba(7, 9, 13, .9); box-shadow: 0 10px 30px -20px #000 }
.top .progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; background: linear-gradient(90deg, var(--amber), var(--screen)); transform-origin: left; transform: scaleX(0); opacity: .8 }
.nav a { position: relative; transition: color .2s, background .2s }
.nav a.on::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 8px var(--amber); transform: translateX(-50%) }
.brand svg { transition: transform .5s cubic-bezier(.2, .8, .2, 1.4) } .brand:hover svg { transform: rotate(-8deg) scale(1.06) }

/* buttons */
.btn { transition: transform .15s, filter .15s, box-shadow .25s, background .2s, border-color .2s }
.btn:active { transform: translateY(0) scale(.97) }
.btn .arr { display: inline-block; transition: transform .25s } .btn:hover .arr, .lnk:hover .arr { transform: translateX(4px) }
.lnk .arr { display: inline-block; transition: transform .25s }
.btn.shine { position: relative; overflow: hidden }
.btn.shine::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: skewX(-20deg); animation: sheen 4.5s ease-in-out infinite }
@keyframes sheen { 0%, 70% { left: -60% } 100% { left: 130% } }

/* page transition + reveal on scroll */
.page-in { animation: pagein .45s cubic-bezier(.2, .7, .2, 1) both }
@keyframes pagein { from { opacity: 0; transform: translateY(10px) } }
html.fx [data-reveal]:not(.in) { opacity: 0; transform: translateY(18px) }
html.fx [data-reveal] { transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms) }
html.fx h1[data-reveal] { transform: none !important; opacity: 1 !important }
html.fx h1[data-reveal] .w { display: inline-block; opacity: 0; transform: translateY(.45em) rotate(2deg); filter: blur(6px); transition: opacity .8s, transform .8s cubic-bezier(.2, .8, .2, 1), filter .8s }
html.fx h1[data-reveal].in .w { opacity: 1; transform: none; filter: none }
html.fx h1[data-reveal].in .w:nth-of-type(2) { transition-delay: .08s } html.fx h1[data-reveal].in .w:nth-of-type(3) { transition-delay: .18s }

/* the live market tape */
.tape { display: flex; align-items: center; height: 38px; margin: 0 -28px; border-bottom: 1px solid var(--line); background: rgba(10, 13, 18, .7); overflow: hidden; font-size: 12.5px }
.tape-l { flex: none; display: flex; align-items: center; gap: 8px; padding: 0 16px 0 28px; height: 100%; font: 700 10.5px var(--mono); letter-spacing: .14em; color: var(--muted); border-right: 1px solid var(--line); background: var(--bg) }
.tape-run { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent) }
.tape-in { display: inline-flex; gap: 28px; padding-left: 28px; white-space: nowrap; animation: tape 70s linear infinite } .tape:hover .tape-in { animation-play-state: paused }
@keyframes tape { to { transform: translateX(-50%) } }
.tk { display: inline-flex; align-items: baseline; gap: 7px } .tk b { font-weight: 600; color: #d8dee8 } .tk i { font: 600 12px var(--mono); font-style: normal } .tk small { color: var(--dim); font: 11px var(--mono) }

/* hero */
.hero { padding-top: 64px; padding-bottom: 54px }
.hero-glow { position: absolute; width: 760px; height: 760px; right: -160px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(127, 216, 255, .12), transparent 62%); animation: drift 14s ease-in-out infinite alternate; pointer-events: none }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.08) } }
.hero-floor { animation: floor 6s linear infinite } @keyframes floor { to { background-position: 0 56px, 0 0 } }
h1 { letter-spacing: -.045em }
.hstats { display: flex; gap: 0; margin-top: 30px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); width: max-content; max-width: 100% }
.hstats > div { padding: 12px 18px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--line) } .hstats > div:last-child { border: 0 }
.hstats b { font: 700 20px var(--mono); font-variant-numeric: tabular-nums } .hstats span { font-size: 11.5px; color: var(--muted); white-space: nowrap }
.station .scr { transition: box-shadow .3s, border-color .3s } .station:hover .scr { border-color: rgba(127, 216, 255, .5); box-shadow: 0 0 44px -8px rgba(127, 216, 255, .45), inset 0 0 20px rgba(127, 216, 255, .08) }
.station .sav .avatar { animation: bob 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.5s) } @keyframes bob { 50% { transform: translateY(-4px) } }
.eyebrow { display: flex; align-items: center; gap: 8px; font: 700 10.5px var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--amber); margin-bottom: 6px } .eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor }
.bh > div h2 { margin: 0 }

/* how it works */
.howgrid { gap: 14px }
.howc { position: relative; padding: 22px 18px 18px; transition: transform .25s, border-color .25s, background .25s; overflow: hidden }
.howc:hover { transform: translateY(-3px); border-color: var(--line2); background: rgba(255, 255, 255, .035) }
.howc .n { font: 700 40px var(--disp); font-style: normal; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 204, 102, .45); margin-bottom: 6px }

/* spotlight: light follows the cursor */
.acard, .panel, .metric, .howc, .pcard, .arch, .bal { position: relative; isolation: isolate }
.acard::before, .panel::before, .metric::before, .howc::before, .pcard::before, .arch::before, .bal::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .3s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .055), transparent 45%) }
.acard:hover::before, .panel:hover::before, .metric:hover::before, .howc:hover::before, .pcard:hover::before, .arch:hover::before, .bal:hover::before { opacity: 1 }
.acard::after { content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px; background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 204, 102, .5), transparent 40%); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .3s }
.acard:hover::after { opacity: 1 }
.acard .acard-av .avatar { transition: transform .4s cubic-bezier(.2, .8, .2, 1.4) } .acard:hover .acard-av .avatar { transform: translateY(-3px) rotate(-4deg) }

/* numbers that change */
.num { display: inline-block; border-radius: 6px; padding: 0 2px; margin: 0 -2px }
.flash-up { animation: fup 1s ease-out } .flash-down { animation: fdown 1s ease-out }
@keyframes fup { 0% { background: rgba(62, 230, 168, .28); color: var(--gain) } 100% { background: transparent } }
@keyframes fdown { 0% { background: rgba(255, 107, 107, .28); color: var(--loss) } 100% { background: transparent } }

/* feed */
.ev.fresh { animation: evin .6s cubic-bezier(.2, .8, .2, 1) both } @keyframes evin { from { opacity: 0; transform: translateY(-8px); background: rgba(255, 204, 102, .14) } }

/* skeletons */
.skel { border-radius: var(--r); border: 1px solid var(--line); background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 12px; min-height: 230px }
.skel i { display: block; height: 14px; border-radius: 7px; background: linear-gradient(90deg, #121821 25%, #1b2330 37%, #121821 63%); background-size: 400% 100%; animation: shim 1.4s ease infinite }
.skel i:first-child { width: 55%; height: 22px } .skel i:nth-child(2) { width: 85%; height: 70px } .skel i:nth-child(3) { width: 40% }
@keyframes shim { from { background-position: 100% 0 } to { background-position: 0 0 } }

/* panels & footer */
.panel { transition: border-color .25s } .panel:hover { border-color: var(--line2) }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; line-height: 1.6 }
.toast { backdrop-filter: blur(12px); background: rgba(17, 23, 32, .9) }

@media (max-width: 720px) {
  .tape { margin: 0 -16px } .tape-l { padding: 0 12px 0 16px }
  .hstats { width: 100%; display: grid; grid-template-columns: 1fr 1fr } .hstats > div:nth-child(2) { border-right: 0 } .hstats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line) }
  .hero-glow { width: 420px; height: 420px; right: -200px }
}
@media (prefers-reduced-motion: reduce) { body::after, .hero-glow, .hero-floor, .btn.shine::after, .station .sav .avatar { animation: none !important } }
.pos-tok .ca { display: inline-flex } .pos-tok .ca b { font: 600 11.5px var(--mono); display: inline } .pos-tok .ca i { display: inline }
.acard-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis } .acard-pos b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap } .acard-pos i, .acard-pos .small { flex: none } .acard-pos.flat .lbl { flex: none }
.acard-top > .state { max-width: 46%; overflow: hidden; text-overflow: ellipsis }

/* ===== the floor (lobby) ===== */
.lobby-pick { display: grid; place-items: center; min-height: calc(100vh - 180px); padding: 30px 0 }
.lp-card { width: min(760px, 100%); padding: 30px; display: flex; flex-direction: column; gap: 14px }
.lp-card h2 { margin: 0 } .lp-card p { margin: 0 }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 8px 0 }
.pick { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 10px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .02); text-align: center; transition: .15s }
.pick b { font: 700 16px var(--disp) } .pick span { font-size: 12.5px; color: #c7cfdb } .pick i { font-style: normal }
.pick.on { border-color: var(--amber); background: rgba(255, 204, 102, .07); box-shadow: 0 0 30px -14px rgba(255, 204, 102, .7) }
body.in-floor { overflow: hidden } body.in-floor .foot { display: none } body.in-floor main { padding: 0; max-width: none }
.floor { position: fixed; left: 0; right: 0; top: 58px; bottom: 0; z-index: 15; background: #05070b; overflow: hidden; user-select: none }
.floor canvas { width: 100%; height: 100%; display: block; touch-action: none }
.f-top { position: absolute; top: 12px; left: 14px; right: 14px; display: flex; align-items: center; gap: 12px; pointer-events: none }
.f-top > * { pointer-events: auto }
.f-leave, .f-title, .f-me { padding: 8px 12px; border-radius: 12px; background: rgba(8, 11, 16, .72); border: 1px solid rgba(255, 255, 255, .08); backdrop-filter: blur(10px); font-size: 13px }
.f-title { display: inline-flex; align-items: center; gap: 8px; font: 700 11.5px var(--mono); letter-spacing: .12em; color: #c9d2de } .f-title b { color: var(--text) }
.f-me { display: inline-flex; align-items: center; gap: 8px } .f-me b { font-family: var(--disp) } .f-me span { font: 700 10.5px var(--mono); color: var(--screen); letter-spacing: .1em }
.f-help { position: absolute; top: 62px; left: 50%; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(8, 11, 16, .7); border: 1px solid rgba(255, 255, 255, .08); font-size: 12.5px; color: #c9d2de; transition: opacity .8s; white-space: nowrap }
.f-help b { color: var(--amber); font-family: var(--mono); font-size: 11.5px } .f-help.fade { opacity: 0 }
.f-prompt { position: absolute; left: 50%; bottom: 120px; transform: translateX(-50%); padding: 10px 16px; border-radius: 14px; background: rgba(8, 11, 16, .82); border: 1px solid rgba(255, 204, 102, .45); box-shadow: 0 0 30px -10px rgba(255, 204, 102, .6); font-size: 14px; animation: pagein .25s }
.f-prompt kbd { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 7px; background: var(--amber); color: #1a1206; font: 800 13px var(--mono); margin-right: 6px }
.f-chat { position: absolute; left: 14px; bottom: 14px; width: min(380px, calc(100% - 28px)); display: flex; flex-direction: column; gap: 6px }
.f-log { max-height: 190px; overflow-y: auto; display: flex; flex-direction: column; gap: 3px; padding: 8px 10px; border-radius: 12px; background: linear-gradient(transparent, rgba(8, 11, 16, .6) 30%); font-size: 13.5px; mask-image: linear-gradient(transparent, #000 25%) }
.f-log div { color: #dfe5ee; text-shadow: 0 1px 2px #000 } .f-log b { color: var(--amber); margin-right: 4px } .f-log .bot b { color: var(--screen) }
.f-chat input { background: rgba(8, 11, 16, .78); border-color: rgba(255, 255, 255, .1); backdrop-filter: blur(8px) }
.f-pop { position: absolute; width: 260px; padding: 12px; border-radius: 14px; background: rgba(12, 16, 22, .94); border: 1px solid var(--line2); box-shadow: 0 20px 40px -20px #000; display: flex; flex-direction: column; gap: 8px; animation: pagein .2s; z-index: 2 }
.fp-h { display: flex; align-items: center; gap: 10px } .fp-h b { display: block; font: 700 16px var(--disp) } .fp-h span { font-size: 12px; color: var(--muted) } .fp-h .chip { margin-left: auto }
.fp-s { font: 700 11.5px var(--mono); letter-spacing: .06em }
.f-joy { position: absolute; left: 26px; bottom: 120px; width: 110px; height: 110px; border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .14); display: grid; place-items: center; touch-action: none }
.f-joy i { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 204, 102, .55); box-shadow: 0 0 20px rgba(255, 204, 102, .4) }
.f-load { position: absolute; inset: 0; display: grid; place-items: center; background: #05070b; font: 700 13px var(--mono); letter-spacing: .14em; color: var(--muted); transition: opacity .6s } .f-load.gone { opacity: 0; pointer-events: none }
@media (max-width: 720px) {
  .floor { bottom: 58px; top: 54px } .f-help { display: none } .f-top { top: 8px; left: 8px; right: 8px; gap: 6px } .f-title { font-size: 10px; padding: 6px 9px } .f-me b { display: none }
  .f-chat { width: calc(100% - 150px); left: auto; right: 10px; bottom: 10px } .f-log { max-height: 120px; font-size: 12.5px } .f-joy { left: 18px; bottom: 18px } .f-prompt { bottom: 150px; font-size: 13px }
}
body.in-floor main, body.in-floor #view { animation: none !important; transform: none !important; filter: none !important }
.f-mic { position: absolute; right: 14px; bottom: 14px; display: grid; grid-template-columns: auto auto; column-gap: 9px; align-items: center; padding: 10px 14px; border-radius: 14px; background: rgba(8, 11, 16, .82); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); cursor: pointer; text-align: left }
.f-mic b { font: 700 14px var(--disp) } .f-mic i { grid-column: 2; font-style: normal; font-size: 11px; color: var(--muted) }
.f-mic .mic-dot { grid-row: 1 / 3; width: 12px; height: 12px; border-radius: 50%; background: var(--dim) }
.f-mic.on { border-color: rgba(62, 230, 168, .55); box-shadow: 0 0 24px -8px rgba(62, 230, 168, .6) } .f-mic.on .mic-dot { background: var(--gain); animation: ping 1.6s infinite }
@media (max-width: 720px) { .f-mic { bottom: auto; top: 54px; right: 8px; padding: 8px 10px } .f-mic i { display: none } }

/* ===== 13.10: follow, trading capital, paper copy, scanner, launch preview, lobby polish ===== */
/* follow: FOLLOW → ✓ FOLLOWING (hover: UNFOLLOW) */
.fbtn .f-on, .fbtn .f-un { display: none }
.fbtn.on { color: var(--gain); border-color: rgba(62, 230, 168, .45); background: rgba(62, 230, 168, .07) }
.fbtn.on .f-off { display: none } .fbtn.on .f-on { display: inline }
@media (hover: hover) { .fbtn.on:hover { color: var(--loss); border-color: rgba(255, 107, 107, .5); background: rgba(255, 107, 107, .06) } .fbtn.on:hover .f-on { display: none } .fbtn.on:hover .f-un { display: inline } }
.acard-foot { gap: 8px } .acard-foot .fol { margin-left: auto; white-space: nowrap } .acard-foot .fbtn { flex: none }
.acard-foot > .muted.small:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap }

/* home: ENTER THE FLOOR */
.btn.floorcta { background: rgba(127, 216, 255, .08); color: var(--screen); border: 1px solid rgba(127, 216, 255, .45); box-shadow: 0 0 34px -12px rgba(127, 216, 255, .7) }
.btn.floorcta:hover { background: rgba(127, 216, 255, .14) }
.fc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gain); animation: ping 2s infinite }
.floorhint { max-width: 520px; margin-top: -4px }
.lp-steps { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin: 6px 0 14px }
.lp-steps b { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 204, 102, .14); color: var(--amber); font: 700 12px var(--mono); margin-right: 4px }
.lp-steps i { font-style: normal; color: var(--dim) }

/* scanner instead of an empty chart */
.scanbox { display: flex; align-items: center; gap: 22px; min-height: 260px; padding: 20px 8px; border-radius: 14px; background: radial-gradient(ellipse at 20% 50%, rgba(127, 216, 255, .07), transparent 60%) }
.radar.big { width: 150px; height: 150px; flex: none } .radar.big::before { inset: 25px } .radar.big::after { inset: 52px }
.radar.big b { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--screen); box-shadow: 0 0 12px var(--screen) }
.sb-txt { display: flex; flex-direction: column; gap: 6px; min-width: 0 } .sb-t { font: 700 18px var(--disp); letter-spacing: .06em; color: var(--screen) }
#pxc.cin { animation: chartin .5s ease-out } @keyframes chartin { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
@media (max-width: 640px) { .scanbox { flex-direction: column; text-align: center; min-height: 0 } .radar.big { width: 110px; height: 110px } }

/* new live states */
.state.s-entry_found, .state.s-closed { color: var(--amber); border-color: rgba(255, 204, 102, .4) } .state.s-entry_found i { animation: flash .8s steps(2) infinite }
.state.s-take_profit { color: var(--gain); border-color: rgba(62, 230, 168, .4); background: rgba(62, 230, 168, .06) }
.state.s-stop_loss { color: var(--loss); border-color: rgba(255, 107, 107, .4); background: rgba(255, 107, 107, .05) }
.acard.cs-take_profit { border-color: rgba(62, 230, 168, .25) } .acard.cs-stop_loss { border-color: rgba(255, 107, 107, .25) }

/* trading capital */
.capp .ph { flex-wrap: wrap }
.capsrc { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: 2px 0 12px }
.tog { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; cursor: pointer; user-select: none; position: relative }
.tog input { position: absolute; opacity: 0; pointer-events: none }
.tog i { width: 34px; height: 20px; border-radius: 999px; background: var(--line2); position: relative; transition: background .2s }
.tog i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #c9d2de; transition: transform .2s }
.tog input:checked + i { background: rgba(62, 230, 168, .55) } .tog input:checked + i::after { transform: translateX(14px); background: #fff }
.tog input:focus-visible + i { outline: 2px solid var(--amber); outline-offset: 2px } .tog.ro { cursor: default; opacity: .8 }
.capgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px }
.capc { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); display: flex; flex-direction: column } .capc.off { opacity: .45 }
.capc .ct { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px } .capc .ct b { font: 700 14.5px var(--disp) } .capc p { margin: 8px 0 0 }
.chip.soon { color: var(--amber); border-color: rgba(255, 204, 102, .45); background: rgba(255, 204, 102, .07); letter-spacing: .08em; font-size: 10px }
.capnow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 14px 0 4px; padding: 12px 14px; border-radius: 14px; background: rgba(127, 216, 255, .04); border: 1px solid rgba(127, 216, 255, .14) }
.capnow small { font-size: 11px }
.caphist { margin: 10px 0 0; font-size: 13px } .caphist summary { cursor: pointer; color: var(--muted); font-size: 12.5px; padding: 4px 0 }
.capflow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; font: 600 11.5px var(--mono); letter-spacing: .04em }
.capflow span { padding: 5px 10px; border-radius: 8px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03) } .capflow span:last-child { border-color: rgba(62, 230, 168, .4); color: var(--gain) } .capflow i { font-style: normal; color: var(--dim) }
.col-side .capgrid, .col-side .capnow { grid-template-columns: 1fr }
@media (max-width: 720px) { .capgrid { grid-template-columns: 1fr } .capnow { grid-template-columns: 1fr 1fr } }

/* modals: fund, paper copy, launch */
.modal-in.fundm, .modal-in.launchm { width: min(520px, 100%); background: var(--panel-solid); border: 1px solid var(--line); border-radius: 18px; padding: 22px; gap: 12px }
.modal-in h2 { margin: 0 } .modal-in .eyebrow { margin-bottom: -6px }
.seg { display: flex; gap: 8px; flex-wrap: wrap } .seg .chip { cursor: pointer; padding: 7px 13px; font-size: 13px } .seg .chip.on, .seg .chip:hover { border-color: var(--amber); color: var(--amber); background: rgba(255, 204, 102, .1) }
.fld { display: flex; align-items: center; gap: 10px; padding: 4px 12px; border-radius: 12px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .02) }
.fld span { font-size: 12px; color: var(--muted) } .fld input { flex: 1; border: 0; background: none; font: 600 18px var(--mono); padding: 8px 0; min-width: 0 } .fld em { font-style: normal; font: 700 13px var(--mono); color: var(--muted) }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 10px }
.steps li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; column-gap: 10px; font-size: 14px }
.steps li::before { content: counter(s); grid-row: 1 / 3; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255, 204, 102, .12); color: var(--amber); font: 700 12px var(--mono) }
.steps li span { color: var(--muted); font-size: 13px }

/* paper copy panel */
.copyp { border-color: rgba(127, 216, 255, .3) !important; box-shadow: 0 0 40px -24px rgba(127, 216, 255, .6) }
.copyp .ph { flex-wrap: wrap }
.copylog { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-top: 10px }
.cl-h, .cl-r { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 8px 12px; font-size: 13px }
.cl-h { font: 700 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: rgba(255, 255, 255, .03) }
.cl-r { border-top: 1px solid var(--line) } .cl-r span { min-width: 0 } .cl-r .t { font-style: normal; font: 11px var(--mono); color: var(--dim); margin-right: 8px }
.copylog .empty { padding: 14px }
.copylist { display: flex; flex-direction: column; gap: 8px }
.copyrow { display: grid; grid-template-columns: 1.4fr auto 1fr auto 1.2fr; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px }
.copyrow b { font: 700 15px var(--disp) }
@media (max-width: 640px) { .copyrow { grid-template-columns: 1fr auto } .cl-h, .cl-r { grid-template-columns: 1fr; gap: 4px } .cl-h span:last-child { display: none } }

/* lobby: popup, crosshair, cursor hint, wave, NPC toggle */
.f-pop { width: 280px } .f-pop .fbtn { padding: 8px 12px; font-size: 13px }
.fp-g { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; font-size: 13px } .fp-g span { color: var(--muted) } .fp-g b { font: 600 12.5px var(--mono); text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.f-cross { position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; margin: -9px; pointer-events: none }
.f-cross::before, .f-cross::after { content: ""; position: absolute; background: rgba(255, 255, 255, .85); box-shadow: 0 0 4px #000 } .f-cross::before { left: 8px; top: 0; width: 2px; height: 18px } .f-cross::after { top: 8px; left: 0; height: 2px; width: 18px }
.f-cursor { position: absolute; left: 50%; bottom: 74px; transform: translateX(-50%); padding: 6px 13px; border-radius: 999px; background: rgba(8, 11, 16, .72); border: 1px solid rgba(255, 255, 255, .1); font-size: 12.5px; color: #c9d2de; white-space: nowrap; pointer-events: none }
.f-cursor:empty { display: none } .f-cursor.on { border-color: rgba(255, 204, 102, .4) }
.f-cursor kbd { display: inline-block; padding: 1px 6px; border-radius: 6px; background: rgba(255, 204, 102, .16); color: var(--amber); font: 700 11.5px var(--mono); border: 1px solid rgba(255, 204, 102, .35) }
.f-acts { position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px; align-items: stretch }
.f-acts .f-mic { position: static }
.f-wave { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 14px; background: rgba(8, 11, 16, .82); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(10px); cursor: pointer; font-size: 18px; color: var(--text) } .f-wave b { font: 700 14px var(--disp) }
.f-wave:active { transform: scale(.96) }
.f-npc { position: absolute; left: 14px; top: 58px; padding: 6px 11px; border-radius: 10px; background: rgba(8, 11, 16, .8); border: 1px dashed rgba(255, 184, 107, .5); color: var(--warn); font: 600 11.5px var(--mono); cursor: pointer } .f-npc.on { border-style: solid }
@media (max-width: 720px) { .f-acts { bottom: auto; top: 54px; right: 8px } .f-acts .f-mic { top: auto } .f-wave { padding: 8px 10px } .f-wave b { display: none } .f-cursor { display: none } .f-npc { top: 100px } }

/* ===== pre-launch path / live agent (product flow: demo is optional, the agent starts at launch) ===== */
.chip.live { color: var(--gain); border-color: rgba(62, 230, 168, .5); background: rgba(62, 230, 168, .08); letter-spacing: .1em; font-weight: 800 }
.btn.launchgo { background: linear-gradient(180deg, #7ff0c4, var(--gain)); color: #04140d; box-shadow: 0 8px 24px -10px rgba(62, 230, 168, .6) }
.pathp .ph { flex-wrap: wrap }
.psteps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 4px 0 10px; counter-reset: p }
.pstep { position: relative; display: flex; flex-direction: column; gap: 3px; padding: 10px 10px 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); min-width: 0 }
.pstep i { font-style: normal; display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line2); font: 700 11px var(--mono); color: var(--muted) }
.pstep b { font: 700 13.5px var(--disp) } .pstep span { font-size: 11.5px; color: var(--muted) }
.pstep.done i { background: rgba(62, 230, 168, .15); border-color: var(--gain); color: var(--gain) }
.pstep.now { border-color: rgba(127, 216, 255, .45); background: rgba(127, 216, 255, .05) } .pstep.now i { border-color: var(--screen); color: var(--screen) }
.pstep.opt { border-style: dashed }
.pstep.next { border-color: rgba(62, 230, 168, .45); background: rgba(62, 230, 168, .05) } .pstep.next i { background: var(--gain); color: #04140d; border-color: var(--gain) }
.capnow.six { grid-template-columns: repeat(3, 1fr) }
.capnow.eight { grid-template-columns: repeat(4, 1fr) }
.capnow.big .kv b { font-size: 17px } .capnow .kv.hl b { color: var(--gain); font-size: 20px }
.lagent { margin-bottom: 16px }
.wgrid { display: grid; grid-template-columns: auto auto; gap: 4px 16px; margin: 0 0 10px; width: max-content } .wgrid b { font-family: var(--mono); color: var(--text); text-align: right }
@media (max-width: 900px) { .psteps { grid-template-columns: repeat(3, 1fr) } }
@media (max-width: 560px) { .psteps { grid-template-columns: 1fr 1fr } .capnow.six, .capnow.eight { grid-template-columns: 1fr 1fr } }
.capp .ph h3, .pathp .ph h3, .copyp .ph h3 { flex: none } /* chips sit next to the title; the spacer pushes the buttons right */
.fld input, .fld input:focus { border: 0 !important; box-shadow: none; padding-left: 0; background: none } .fld:focus-within { border-color: var(--amber) }

/* create, step 3: test (optional) or launch */
.cpath { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 12px var(--mono); color: var(--muted) }
.cpath span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2) } .cpath i { font-style: normal; color: var(--dim) }
.cpath .done { color: var(--gain); border-color: rgba(62, 230, 168, .4) } .cpath .opt { border-style: dashed } .cpath .opt em { font-style: normal; opacity: .7 }
.cpath .go { color: var(--gain); border-color: rgba(62, 230, 168, .55); background: rgba(62, 230, 168, .07) }
.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 14px }
.ch-card { display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02) }
.ch-card.go { border-color: rgba(62, 230, 168, .35); background: radial-gradient(circle at 80% 0%, rgba(62, 230, 168, .08), transparent 55%), rgba(255, 255, 255, .02) }
.ch-top { display: flex; align-items: center; justify-content: space-between; gap: 8px } .ch-top b { font: 700 18px var(--disp) }
.ch-card p { margin: 0 } .ch-card .balpick { grid-template-columns: repeat(4, 1fr); gap: 8px } .ch-card .bal b { font-size: 20px }
.ch-card .btn.run { padding: 14px; font-size: 16px }
.ch-list { margin: 0; padding-left: 18px; font-size: 13.5px; color: #c9d2de; display: flex; flex-direction: column; gap: 4px }
.btn.launchgo.big { justify-content: center; padding: 14px; font-size: 15px } .btn.launchgo:disabled { opacity: .55 }
.ch-card .btn.ghost { justify-content: center }
@media (max-width: 760px) { .choice { grid-template-columns: 1fr } .ch-card .balpick { grid-template-columns: 1fr 1fr } }
.ch-card .balpick { grid-template-columns: repeat(3, 1fr) } .ch-card .bal.custom { grid-column: 1 / -1; flex-direction: row; justify-content: center; gap: 10px; padding: 8px }

/* ===== BotPad (12.10 night): brand, Play, dev-preview banner, pre-launch / live, launch step ===== */
.simbar { position: sticky; top: 0; z-index: 60; padding: 6px 16px; text-align: center; font: 600 12px var(--mono); letter-spacing: .04em; color: #1a1206; background: repeating-linear-gradient(135deg, #ffcc66 0 14px, #ffb43d 14px 28px) }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; filter: drop-shadow(0 0 8px rgba(127, 216, 255, .45)) }
.top-act { display: flex; align-items: center; gap: 8px }
.xlink { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line2); color: var(--text); background: rgba(255, 255, 255, .03) } .xlink:hover { border-color: var(--muted) }
.btn.playbtn { background: linear-gradient(180deg, #8ff0ff, var(--screen)); color: #03141c; box-shadow: 0 0 22px -6px rgba(127, 216, 255, .9) }
.floatplay { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: inline-flex; align-items: center; gap: 9px; padding: 13px 20px; border-radius: 999px; font: 700 15px var(--disp); color: #03141c; background: linear-gradient(180deg, #8ff0ff, var(--screen)); box-shadow: 0 10px 34px -8px rgba(127, 216, 255, .9), 0 0 0 1px rgba(255, 255, 255, .25) inset; transition: transform .15s }
.floatplay:hover { transform: translateY(-2px) } .floatplay .fc-dot { background: #04140d }
body.on-floor .floatplay, body.in-floor .floatplay { display: none }
.foot-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; margin-bottom: 8px }
.foot-brand { display: inline-flex; align-items: center; gap: 7px; font: 700 14px var(--disp); color: var(--text) } .foot-brand img { border-radius: 5px }
.cabox { font: 600 12px var(--mono); padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line2); color: var(--muted) } .cabox b { color: var(--text) } .cabox[data-ca] { cursor: pointer } .cabox[data-ca]:hover { border-color: var(--amber) }
.chip.pre { color: #c9d2de; border-color: rgba(133, 146, 166, .5); background: rgba(133, 146, 166, .08); letter-spacing: .08em }
.state.s-draft, .state.s-prelaunch { color: var(--muted) }
.kick-logo { border-radius: 5px; vertical-align: -4px }
.herocta { align-items: stretch } .btn.floorcta.mega { padding: 16px 30px; font-size: 18px; color: #03141c; background: linear-gradient(180deg, #8ff0ff, var(--screen)); border: 0; box-shadow: 0 0 40px -6px rgba(127, 216, 255, .95), 0 12px 30px -12px rgba(127, 216, 255, .8); animation: megaglow 2.4s ease-in-out infinite }
.btn.floorcta.mega .fc-dot { background: #04140d }
@keyframes megaglow { 50% { box-shadow: 0 0 60px -4px rgba(127, 216, 255, 1), 0 12px 30px -12px rgba(127, 216, 255, .8) } }
/* cards: pre-launch */
.acard-mid.pre { align-items: center } .prebig { font: 700 22px var(--disp); color: #c9d2de; margin: 2px 0 } .prelogo { font-size: 34px; opacity: .55 }
.acard.is-pre { border-style: dashed }
/* create step 3: launch */
.lsum { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 14px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02) }
.lform { display: grid; grid-template-columns: 1fr 1fr; gap: 10px } .lform .fld em { order: -1 } .lform .fld span + em { order: 0 }
.lflow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font: 600 12px var(--mono); color: var(--muted) }
.lflow span { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line2) } .lflow i { font-style: normal; color: var(--dim) }
.lflow .on { color: var(--gain); border-color: rgba(62, 230, 168, .4) } .lflow .go { color: #04140d; background: var(--gain); border-color: var(--gain) }
.btn.run.launchrun { background: linear-gradient(180deg, #7ff0c4, var(--gain)); color: #04140d; box-shadow: 0 14px 40px -12px rgba(62, 230, 168, .85) }
/* agent page: pre-launch */
.prel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 20px; align-items: center; margin-bottom: 14px }
.prel-main h2 { margin: 2px 0 6px; font-size: 30px } .prel-main .btn.run { margin-top: 10px; width: 100% }
.prel-side { padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02) }
#path { margin-bottom: 16px }
.cols.solo .col-main:empty { display: none }
@media (max-width: 760px) { .prel, .lform { grid-template-columns: 1fr } .lsum { grid-template-columns: 1fr 1fr } .floatplay { right: 12px; bottom: 74px; padding: 11px 16px; font-size: 14px } .top-act .playbtn { display: none } }
.simbar { position: relative } .top-act { margin-left: auto } @media (max-width: 760px) { .top-act .cta { margin-left: 0 } }

/* ===== BotPad polish pass: hero, 5 steps, launch card ===== */
.solline { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: #c9d2de }
.sol-dot { width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, #9945ff, #14f195) }
.btn.floorcta { animation: none }
.hero .lead { max-width: 540px }
.station .sp.pre { color: #c9d2de; font-size: 15px; letter-spacing: .1em }
.station.kind .sk { margin-top: 6px; font: 600 11px var(--mono); color: var(--amber) }
.steps5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; padding-top: 6px; padding-bottom: 6px }
.s5 { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02) }
.s5 i { font-style: normal; font: 700 12px var(--mono); color: var(--muted) } .s5 b { font: 700 15px var(--disp); color: var(--text) } .s5 span { font-size: 12.5px; color: var(--muted) }
.s5:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); color: var(--dim); font-size: 13px; z-index: 1 }
.s5.hl { border-color: rgba(62, 230, 168, .45); background: rgba(62, 230, 168, .05) } .s5.hl i { color: var(--gain) }
.lcard { display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: 18px; border: 1px solid rgba(62, 230, 168, .4); background: radial-gradient(circle at 85% 0%, rgba(62, 230, 168, .09), transparent 55%), rgba(255, 255, 255, .02) }
.lcard p { margin: 0 } .lc-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap } .lc-top b { font: 700 24px var(--disp) }
.lflow .opt { border-style: dashed }
.opttest { font-size: 13px; color: var(--muted); padding: 10px 14px; border-radius: 12px; border: 1px dashed var(--line2) } .opttest b { color: #c9d2de }
.btn em { margin-left: 2px }
@media (max-width: 900px) { .steps5 { grid-template-columns: 1fr 1fr } .s5::after { display: none } }
.station .sl { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.lform .fld em, .lform .fld span + em { order: 0 }
.hero h1 { font-size: clamp(46px, 6.6vw, 104px) }
/* after launch: set it up, START BOT */
.setupp { border-color: rgba(62, 230, 168, .4) !important; margin-bottom: 16px }
.setup { display: grid; grid-template-columns: 1fr 220px; gap: 20px; align-items: center }
.setup h2 { margin: 2px 0 8px; font-size: 28px } .setup p { margin: 0 0 14px }
.setup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 16px; padding: 12px 14px; border-radius: 14px; background: rgba(62, 230, 168, .04); border: 1px solid rgba(62, 230, 168, .18) }
.setup-grid .kv b { font-size: 17px } .setup-grid .kv.hl b { color: var(--gain); font-size: 20px } .setup-grid .lnk { margin-top: 2px }
.setup .row .btn.run { flex: 1 } .setup-av { display: grid; place-items: center; position: relative }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin: 6px 0 0 } .slink { font: 600 12px var(--mono); padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line2); color: #c9d2de } .slink:hover { border-color: var(--screen); color: var(--screen) }
.lform.three { grid-template-columns: 1.4fr 1fr } .lform.socials { grid-template-columns: 1fr 1fr 1fr }
.lbtns { display: grid; grid-template-columns: 1.6fr 1fr; gap: 10px } .btn.demobtn { justify-content: center; flex-direction: column; gap: 2px; padding: 12px } .btn.demobtn em { border: 0; opacity: .7; font-size: 11px }
@media (max-width: 760px) { .setup { grid-template-columns: 1fr } .setup-av { display: none } .setup-grid { grid-template-columns: 1fr 1fr } .lform.socials, .lbtns, .lform.three { grid-template-columns: 1fr } }

/* the real launch: step list while Phantom signs and the chain confirms */
.lsteps { list-style: none; margin: 14px 0 6px; padding: 0; display: grid; gap: 6px; font: 600 13px "JetBrains Mono", monospace; color: #5d6879 }
.lsteps li { display: flex; align-items: center; gap: 10px }
.lsteps li::before { content: ''; width: 10px; height: 10px; border-radius: 50%; border: 2px solid currentColor; flex: none }
.lsteps li.on { color: #ffcc66 } .lsteps li.on::before { background: currentColor; animation: lpulse 1s infinite }
.lsteps li.done { color: #3ee6a8 } .lsteps li.done::before { background: currentColor }
.lsteps li.bad { color: #ff6b6b } .lsteps li.bad::before { background: currentColor }
@keyframes lpulse { 50% { opacity: .35 } }
.launchm .fld + .fld, .launchm .lform + .fld, .launchm .fld + .lform { margin-top: 10px }
.launchm .kv b.small { word-break: break-all }

/* ---------- the main $BOTPAD token: one stream splits into two ---------- */
.split { position: relative; display: grid; gap: 10px; justify-items: center; padding: 18px 0 }
.sp-src { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(255,204,102,.45); background: rgba(255,204,102,.08); font: 700 14px "JetBrains Mono", monospace; letter-spacing: .04em; color: #ffd98a }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; background: #ffcc66; box-shadow: 0 0 12px #ffcc66 }
.sp-lines { position: relative; width: min(420px, 70%); height: 34px }
.sp-lines i { position: absolute; top: 0; width: 50%; height: 100%; border-top: 2px solid rgba(255,204,102,.5) }
.sp-lines i:first-child { left: 0; border-left: 2px solid rgba(127,216,255,.6); border-top-left-radius: 14px }
.sp-lines i:last-child { right: 0; border-right: 2px solid rgba(255,107,107,.6); border-top-right-radius: 14px }
.sp-arms { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: min(560px, 100%) }
.sp-arm { padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(10,14,20,.7); display: grid; gap: 2px; text-align: center }
.sp-arm em { font: 800 30px "JetBrains Mono", monospace; font-style: normal }
.sp-arm.hold { border-color: rgba(127,216,255,.35) } .sp-arm.hold em { color: #7fd8ff }
.sp-arm.burn { border-color: rgba(255,107,107,.35) } .sp-arm.burn em { color: #ff8a7a }
.sp-arm b { font-size: 15px } .sp-arm span { font-size: 12px; color: #8592a6 }
.tokband { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: center; border: 1px solid rgba(255,255,255,.07); border-radius: 22px; padding: 22px 26px; background: rgba(10,14,20,.5) }
.tokband h2 { margin: 2px 0 6px }
.tokp .lead { max-width: 640px }
.tk-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 14px 0 }
.tk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px }
.tk-rules { margin: 6px 0 10px 18px; padding: 0; color: #c9d2de; font-size: 14px; line-height: 1.7 }
@media (max-width: 760px) { .tokband, .tk-cols { grid-template-columns: 1fr } .tk-stats { grid-template-columns: 1fr 1fr } }

/* ---------- DEV panel (local only) ---------- */
.devbtn { position: fixed; left: 14px; bottom: 14px; z-index: 90; padding: 6px 12px; border-radius: 10px; border: 1px dashed #ff9f43; background: #1a1206; color: #ffb86b; font: 800 12px "JetBrains Mono", monospace; cursor: pointer }
.devp { position: fixed; left: 14px; bottom: 54px; z-index: 90; width: 320px; max-height: 70vh; overflow: auto; padding: 12px; border-radius: 14px; border: 1px dashed #ff9f43; background: rgba(16,12,6,.97); color: #e9eef6; font-size: 12px; box-shadow: 0 20px 50px rgba(0,0,0,.5) }
.dv-h { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px } .dv-h span { color: #b98a4e; font-size: 11px; flex: 1 } .dv-x { background: none; border: 0; color: #e9eef6; font-size: 18px; cursor: pointer }
.dv-s { padding: 8px 0; border-top: 1px solid rgba(255,159,67,.2); display: flex; flex-wrap: wrap; gap: 5px } .dv-t { width: 100%; color: #ffb86b; font-weight: 700; margin-bottom: 2px }
.dv-s button { padding: 5px 8px; border-radius: 8px; border: 1px solid rgba(255,255,255,.14); background: #241a0e; color: #f3e6d2; font: 600 11px Inter, sans-serif; cursor: pointer } .dv-s button:disabled { opacity: .4; cursor: default }

.acard-grid.four { grid-template-columns: repeat(4, 1fr) }
.acard-grid.four .kv b { font-size: 13px }
.tk-stats .kv { padding: 12px 14px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(10,14,20,.6); display: grid; gap: 4px }
.tk-stats .kv span { font-size: 12px; color: #8592a6 } .tk-stats .kv b { font: 700 20px "JetBrains Mono", monospace }
.slink.wl { display: inline-flex; gap: 8px; align-items: center; border-color: rgba(62,230,168,.4); color: #dfe6ef } .slink.wl b { color: #3ee6a8 } .slink.wl .lnk { font-size: 12px }

/* header: X link and the contract address next to Create bot */
.toplink { font: 700 13px var(--mono); color: var(--text); text-decoration: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line2); white-space: nowrap; transition: border-color .15s, background .15s }
.toplink:hover { border-color: var(--amber); background: rgba(255, 255, 255, .04) }
.topca { white-space: nowrap }
@media (max-width: 1100px) { .toplink span { display: none } }
@media (max-width: 560px) { .topca { display: none } }

.cabox[data-ca] { cursor: pointer } .cabox b { overflow-wrap: anywhere } .tk-ca { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 4px }
