@font-face { font-family: 'Geist'; src: url(fonts/geist.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
@font-face { font-family: 'GeistMono'; src: url(fonts/geist-mono.woff2) format('woff2'); font-weight: 100 900; font-display: block; }
:root {
  --pink: #ff5cb8; --pink2: #ff3d9a; --ink: #0b0c10; --card: #0d0e13; --line: #24262e; --mut: #7d828e; --mut2: #535865;
  --blue: #3a74ff; --vet: #ff2f7d; --quant: #ffb22e; --size: #ff3348; --fills: #f2f2f2; --risk: #ff9a1a; --crawl: #ff5cb8; --chief: #ff5cb8;
  --green: #2fe08a; --red: #ff3d5a; --amber: #ffb22e;
  --sans: 'Geist', system-ui, sans-serif; --mono: 'GeistMono', ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; overflow: hidden; }
body {
  background-color: var(--pink);
  background-image: radial-gradient(rgba(60, 0, 40, .16) 1px, transparent 1.3px), linear-gradient(180deg, #ff63bd, #ff4fae);
  background-size: 9px 9px, 100% 100%;
  font-family: var(--mono); color: #e9ebf0; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

#stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
#stage.wide { width: 1920px; height: 945px; }
#stage.tall { width: 1080px; height: 1480px; }
#stage > section, #stage > header { position: absolute; }

/* ---------- placements ---------- */
.wide #hdr { left: 14px; top: 0; width: 1892px; height: 54px; }
.wide #cards { left: 14px; top: 58px; width: 1200px; height: 180px; }
.wide #room { left: 14px; top: 248px; width: 1200px; height: 683px; }
.wide #bal { left: 1224px; top: 58px; width: 682px; height: 200px; }
.wide #ana { left: 1224px; top: 268px; width: 682px; height: 372px; }
.wide #thr { left: 1224px; top: 650px; width: 682px; height: 281px; }
.tall #hdr { left: 14px; top: 0; width: 1052px; height: 52px; }
.tall #cards { left: 14px; top: 56px; width: 1052px; height: 206px; }
.tall #room { left: 14px; top: 272px; width: 1052px; height: 600px; }
.tall #bal { left: 14px; top: 880px; width: 1052px; height: 182px; }
.tall #ana { left: 14px; top: 1072px; width: 521px; height: 396px; }
.tall #thr { left: 545px; top: 1072px; width: 521px; height: 396px; }

/* ---------- header ---------- */
#hdr { display: flex; align-items: center; justify-content: space-between; color: #0a0a0d; }
.brand { display: flex; align-items: center; gap: 12px; }
.mark { width: 32px; height: 32px; border-radius: 9px; background: #0a0b0f; display: grid; place-items: center; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.mark img { width: 78%; height: 78%; object-fit: contain; }
.mark.set { overflow: hidden; } .mark.set img { width: 100%; height: 100%; object-fit: cover; filter: none; }
#b-name { font-family: var(--sans); font-weight: 900; font-size: 31px; letter-spacing: -.5px; line-height: 1; }
.ico { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: #0a0b0f; opacity: .35; pointer-events: none; }
.ico.on { opacity: 1; pointer-events: auto; cursor: pointer; }
.ico svg { width: 15px; height: 15px; fill: #fff; }
.ico.pump { background: #ffb22e; } .ico.pump svg { fill: #0a0b0f; }
.wal { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 11px; border-radius: 8px; background: #0a0b0f; color: #e9ebf0; font-size: 11px; letter-spacing: .3px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.wal i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px var(--green); }
.tall .motto { display: none; }
.motto { font-size: 11.5px; letter-spacing: .6px; color: #1b0a14; margin-left: 10px; opacity: .85; text-transform: uppercase; }
.goal { display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: #1b0a14; }
.g-lbl { letter-spacing: .4px; }
.g-bar { width: 190px; height: 13px; border: 1.5px solid #120810; border-radius: 3px; padding: 1.5px; display: block; }
.tall .g-bar { width: 130px; }
.g-bar i { display: block; height: 100%; width: 0; border-radius: 1px; background: repeating-linear-gradient(-45deg, #120810 0 3px, #5a2443 3px 6px); transition: width .8s; }
#g-pct { font-size: 15px; font-weight: 700; min-width: 54px; color: #120810; }
.day { letter-spacing: .5px; opacity: .8; min-width: 112px; text-align: right; }
.clock { background: #0a0b0f; color: #fff; font-size: 21px; font-weight: 600; padding: 5px 12px 4px; border-radius: 6px; letter-spacing: .5px; min-width: 128px; text-align: center; }
.tall .clock { font-size: 18px; min-width: 112px; }

/* ---------- agent cards ---------- */
#cards { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: 1fr 1fr; gap: 10px; }
.card { position: relative; background: var(--card); border: 1px solid #1d1f26; border-radius: 8px; padding: 9px 12px 8px 12px; overflow: hidden; display: flex; flex-direction: column; }
.card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); opacity: 0; transition: opacity .3s; }
.card.run::before { opacity: 1; }
.card .t { display: flex; align-items: center; gap: 9px; height: 28px; }
.card .t img { width: 26px; height: 26px; object-fit: contain; flex: none; }
.card .nm { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.card .nm b { font-family: var(--sans); font-weight: 800; font-size: 17px; color: var(--c); letter-spacing: .1px; }
.card .nm i { font-style: normal; font-size: 9px; color: var(--mut); margin-top: 3px; white-space: nowrap; }
.card .badge { position: absolute; right: 9px; top: 9px; font-size: 7.5px; letter-spacing: .6px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 3px; color: var(--mut); }
.card .badge.hot { color: var(--pink); border-color: rgba(255, 92, 184, .55); }
.card .badge.q { color: var(--quant); border-color: rgba(255, 178, 46, .6); }
.card .row { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; gap: 8px; height: 19px; }
.card .row i { font-style: normal; font-size: 9px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .row b { font-size: 15.5px; font-weight: 600; color: #fff; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card .bar { height: 3px; background: #22242b; border-radius: 2px; margin-top: 5px; overflow: hidden; }
.card .bar i { display: block; height: 100%; width: 0; background: var(--c); transition: width .6s; }
.card .st { font-size: 9px; color: var(--mut2); margin-top: 6px; height: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card .st.q { color: #c9ccd4; }
.card .st.go { color: var(--green); }
.card .st.go::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 0; box-shadow: 0 0 6px var(--green); }
.card .st .dots::after { content: ''; animation: dots 1.2s steps(4) infinite; }
@keyframes dots { 0% { content: ''; } 25% { content: '.'; } 50% { content: '..'; } 75% { content: '...'; } }
.wide .card .st { margin-top: 4px; }
.wide .card { padding: 7px 12px 6px; }
.wide .card.chief .pick { font-size: 14.5px; margin-top: 1px; }
.wide .card.chief .lbl { margin-top: 2px; }
/* chief: big last pick */
.card.chief .lbl { font-size: 9px; line-height: 11px; color: var(--mut); margin-top: auto; }
.card.chief .pick { font-size: 16.5px; line-height: 1.15; color: #e9ebf0; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: .2px; }
.card.chief .rule { font-size: 8.5px; line-height: 10px; color: var(--mut2); margin-top: 2px; white-space: nowrap; }
/* quant: three dials */
.card .dials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.card .dial { display: flex; flex-direction: column; }
.card .dial span { display: flex; justify-content: space-between; align-items: baseline; font-size: 9px; color: var(--mut); }
.card .dial b { font-size: 13px; color: var(--quant); font-weight: 600; font-variant-numeric: tabular-nums; }
.card .dial .bar { margin-top: 3px; }
/* crawler: four counters */
.card .kv { display: grid; grid-template-columns: 1fr auto 1fr auto; column-gap: 8px; row-gap: 1px; font-size: 9px; color: var(--mut); margin-top: auto; }
.card .kv b { color: #e9ebf0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.card.crawl .sub2 { font-size: 9px; color: var(--mut); margin-top: 2px; }

/* ---------- panels ---------- */
.panel { background: var(--ink); border: 1px solid #1c1e25; border-radius: 9px; overflow: hidden; }
.ph { display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 14px; font-size: 10.5px; letter-spacing: 1px; }
.ph b { color: #fff; font-weight: 700; }
.pink { color: var(--pink); }

/* ---------- room ---------- */
#room { background: #08090c; border: 2px solid #121318; border-radius: 4px; }
#world { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); aspect-ratio: 16 / 9; height: 100%; container-type: size; }
.tall #world { height: 100%; }
#room-img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#world > * { position: absolute; }
.br { position: absolute; width: 16px; height: 16px; border: 2px solid var(--pink); z-index: 9; }
.br.tl { left: 5px; top: 5px; border-right: 0; border-bottom: 0; } .br.tr { right: 5px; top: 5px; border-left: 0; border-bottom: 0; }
.br.bl { left: 5px; bottom: 5px; border-right: 0; border-top: 0; } .br.brr { right: 5px; bottom: 5px; border-left: 0; border-top: 0; }

.screen { overflow: hidden; }
.screen.big { left: 25.91%; top: 5.38%; width: 43.78%; height: 26.27%; background: #0c0d11; display: flex; flex-direction: column; padding: .45cqw .6cqw .3cqw; box-shadow: inset 0 0 1.2cqw rgba(0,0,0,.6); }
.cs-head { display: flex; align-items: center; gap: 1.15cqw; height: 2.3cqw; flex: none; border-bottom: 1px solid #1b1d24; padding-bottom: .3cqw; }
.cs-av { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #1d2028 center / cover no-repeat; flex: none; }
.cs-id { display: flex; flex-direction: column; min-width: 7.5cqw; max-width: 9cqw; overflow: hidden; line-height: 1.1; }
.cs-id b { font-size: .82cqw; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-id i { font-style: normal; font-size: .55cqw; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-st { display: flex; flex-direction: column; line-height: 1.15; white-space: nowrap; }
.cs-st i { font-style: normal; font-size: .52cqw; color: var(--mut); }
.cs-st b { font-size: .7cqw; color: #e9ebf0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cs-st b.up { color: var(--green); } .cs-st b.dn { color: var(--red); }
.cs-legend { font-size: .55cqw; color: var(--mut); height: 1.1cqw; padding-top: .2cqw; white-space: nowrap; overflow: hidden; flex: none; }
.cs-legend b { font-weight: 500; color: #c9ccd4; } .cs-legend .up { color: var(--green); } .cs-legend .dn { color: var(--red); }
.cs-chart { flex: 1; min-height: 0; position: relative; }
.cs-stamp { position: absolute; left: 2.2cqw; top: 5.4cqw; font-size: .9cqw; font-weight: 700; letter-spacing: .1cqw; padding: .15cqw .5cqw; border: 2px solid; border-radius: .2cqw; opacity: 0; transform: rotate(-6deg); transition: opacity .3s; }
.cs-stamp.on { opacity: .95; }
.cs-stamp.buy { color: var(--green); border-color: var(--green); } .cs-stamp.sell { color: var(--pink); border-color: var(--pink); }

.tick-top { left: 25.9%; top: 1.15%; width: 43.8%; height: 2.6%; overflow: hidden; white-space: nowrap; font-size: .78cqw; color: var(--green); letter-spacing: .08cqw; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.tick-run { display: inline-block; padding-left: 100%; animation: run 38s linear infinite; }
@keyframes run { from { transform: translateX(0); } to { transform: translateX(-100%); } }
.tick-bot { left: 25.9%; top: 32.25%; width: 43.8%; text-align: center; font-size: .78cqw; color: var(--green); letter-spacing: .08cqw; white-space: nowrap; overflow: hidden; }

.r-logo { left: 1.6%; top: 2.4%; display: flex; align-items: center; gap: .9cqw; }
.mark.big { width: 4.6cqw; height: 4.6cqw; border-radius: 1.1cqw; background: #f4f5f7; box-shadow: 0 .3cqw 1cqw rgba(0,0,0,.6); }
.mark.big img { width: 76%; height: 76%; filter: drop-shadow(0 .1cqw .1cqw rgba(0,0,0,.35)); }
.r-logo b { font-family: var(--sans); font-weight: 600; font-size: 1.9cqw; letter-spacing: .5cqw; color: #f4f5f7; }
.disc { width: 2.5cqw; height: 2.5cqw; object-fit: contain; top: 17.4%; filter: grayscale(1) brightness(1.2) drop-shadow(0 0 .2cqw rgba(0,0,0,.6)); opacity: .92; }
.disc.l { left: 19.25%; } .disc.r { left: 73.55%; }

.avs { left: 77.2%; top: 1.4%; display: flex; gap: .45cqw; }
.avs a img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.avs a b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.1cqw; color: #e9ebf0; font-family: var(--sans); font-weight: 800; }
.avs a { width: 3.25cqw; height: 3.25cqw; border-radius: 50%; background: #1d2028 center / cover no-repeat; border: .18cqw solid #e9ebf0; box-shadow: 0 .2cqw .6cqw rgba(0,0,0,.55); position: relative; transition: transform .3s; }
.avs a.new { animation: pop .6s cubic-bezier(.2,1.4,.4,1); }
@keyframes pop { from { transform: scale(.2); } to { transform: scale(1); } }
.avs a span { position: absolute; left: 50%; bottom: -1.25cqw; transform: translateX(-50%); font-size: .5cqw; color: #c9ccd4; white-space: nowrap; max-width: 4cqw; overflow: hidden; text-overflow: ellipsis; }

.screen.clock-s { left: 79.17%; top: 15.62%; width: 6.05%; height: 7.06%; background: #050807; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: .15cqw; }
.clock-s b { font-size: 1.25cqw; color: var(--green); font-weight: 600; letter-spacing: .05cqw; text-shadow: 0 0 .5cqw rgba(47,224,138,.5); line-height: 1; }
.clock-s i { font-style: normal; font-size: .42cqw; color: #4a8d6b; margin-top: .25cqw; letter-spacing: .05cqw; }
.screen.board { left: 87.34%; top: 10.88%; width: 9.83%; height: 14%; background: #08090c; padding: .45cqw .5cqw; }
.board b { display: block; font-size: .5cqw; color: #e9ebf0; letter-spacing: .06cqw; margin-bottom: .25cqw; }
.board ul { list-style: none; }
.board li { font-size: .42cqw; color: var(--green); line-height: 1.32; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board li::before { content: '- '; }

.plate { font-size: .62cqw; letter-spacing: .06cqw; color: #f2f3f5; background: #121318; border: 1px solid #3b3e48; padding: .22cqw .55cqw .18cqw; border-radius: .12cqw; white-space: nowrap; transform: translateX(-50%); box-shadow: 0 .15cqw .4cqw rgba(0,0,0,.5); font-weight: 600; }
.plate.lt { left: 82.2%; top: 23.2%; font-size: .55cqw; }
.plate.head { left: 85.3%; top: 39.4%; font-size: .5cqw; background: transparent; border: 0; box-shadow: none; color: #d8dae0; }
.plate.runner { left: 82.8%; top: 65.6%; }
.plate.radar { left: 82.6%; top: 86.4%; }
.plate.paper { left: 5.25%; top: 74%; font-size: .55cqw; }
.runner-v, .radar-v { transform: translateX(-50%); font-size: .55cqw; white-space: nowrap; color: var(--green); text-shadow: 0 0 .4cqw rgba(0,0,0,.9); }
.runner-v { left: 82.8%; top: 69.6%; } .radar-v { left: 82.6%; top: 90.4%; color: #9fe8c4; }
.radar-w { left: 85.2%; top: 70.4%; width: 3cqw; height: 3cqw; }
.radar-w i { position: absolute; inset: 0; border-radius: 50%; border: .22cqw solid transparent; border-right-color: var(--green); opacity: .2; }
.radar-w i:nth-child(2) { inset: .55cqw; } .radar-w i:nth-child(3) { inset: 1.1cqw; }
.radar-w.ping i { animation: wave 1.1s ease-out 3; }
.radar-w.ping i:nth-child(2) { animation-delay: .15s; } .radar-w.ping i:nth-child(3) { animation-delay: .3s; }
@keyframes wave { 0% { opacity: .2; } 30% { opacity: 1; } 100% { opacity: .2; } }

.mon { position: absolute; background: #07080b; overflow: hidden; padding: .22cqw .3cqw; display: flex; flex-direction: column; }
.mon .mh { display: flex; justify-content: space-between; font-size: .42cqw; color: #9aa0ab; letter-spacing: .04cqw; line-height: 1; height: .62cqw; }
.mon .mh b { font-weight: 500; color: #e2e5ea; }
.mon canvas { flex: 1; min-height: 0; width: 100%; display: block; }

#mons { inset: 0; pointer-events: none; }
#web { left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; z-index: 4; }
#crew { inset: 0; pointer-events: none; z-index: 5; }
#bubbles { inset: 0; pointer-events: none; z-index: 7; }
.who { position: absolute; width: 3.9cqw; height: 3.9cqw; transform: translate(-50%, -50%); transition: left 1.3s cubic-bezier(.45,.05,.3,1), top 1.3s cubic-bezier(.45,.05,.3,1); }
.who img { width: 100%; height: 100%; object-fit: contain; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 .35cqw .35cqw rgba(0,0,0,.55)); }
.who.walk img { animation: hop .32s ease-in-out infinite; }
.who.run img { filter: drop-shadow(0 0 .7cqw var(--c)) drop-shadow(0 .35cqw .35cqw rgba(0,0,0,.55)); }
.who::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -6%; height: 12%; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(.15cqw); z-index: -1; }
.who em { position: absolute; left: 50%; top: -1.05cqw; transform: translateX(-50%); font-style: normal; font-size: .55cqw; font-weight: 700; letter-spacing: .06cqw; color: var(--c); white-space: nowrap; text-shadow: 0 0 .3cqw #000, 0 0 .3cqw #000; }
.who.head, .who.chief { width: 4.6cqw; height: 4.6cqw; }
.who.crawler { width: 3cqw; height: 3cqw; transition: left 1.6s ease-in-out, top 1.1s ease-in-out; }
.who.crawler::after { display: none; }
.who.crawler img { animation: dangle 3.4s ease-in-out infinite; }
.thread { position: absolute; width: 1px; background: linear-gradient(rgba(255,255,255,.1), rgba(255,255,255,.55)); transform: translateX(-50%); transition: left 1.6s ease-in-out, height 1.1s ease-in-out; z-index: 5; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7%); } }
@keyframes hop { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-14%) rotate(3deg); } }
@keyframes dangle { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
.bub { position: absolute; transform: translate(-50%, -100%); background: rgba(10,11,15,.94); border: 1px solid #e8e9ee; color: #f2f3f5; font-size: .6cqw; padding: .28cqw .5cqw; white-space: nowrap; border-radius: .1cqw; opacity: 0; transition: opacity .25s; max-width: 24cqw; overflow: hidden; text-overflow: ellipsis; }
.bub.on { opacity: 1; }
.bub.side { transform: translate(-100%, -50%); }
.lbl-box { position: absolute; transform: translate(-50%, -50%); font-size: .7cqw; color: #ffd9b8; background: rgba(10,8,6,.92); border: 1px solid #ff8a2a; padding: .22cqw .55cqw; white-space: nowrap; opacity: 0; transition: opacity .25s; z-index: 6; box-shadow: 0 0 .9cqw rgba(255,138,42,.25); }
.lbl-box.on { opacity: 1; }

/* ---------- balance ---------- */
#bal-c { position: absolute; left: 0; top: 30px; width: 100%; height: calc(100% - 30px); display: block; }
.bal-v { position: absolute; right: 18px; top: 50%; display: flex; flex-direction: column; align-items: flex-start; pointer-events: none; }
.wide .bal-v { top: 42%; }
.bal-v i { font-style: normal; font-size: 9px; letter-spacing: 1px; color: var(--mut); }
.bal-v b { font-size: 26px; color: var(--green); font-weight: 700; letter-spacing: -.3px; font-variant-numeric: tabular-nums; text-shadow: 0 0 18px rgba(47,224,138,.25); }
.bal-v em { font-style: normal; font-size: 10px; color: #8de0b6; }

/* ---------- analysis ---------- */
.ana-body { position: absolute; left: 10px; right: 10px; top: 30px; bottom: 56px; display: flex; gap: 6px; }
.ana-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #0e1015; border: 1px solid #1a1c23; border-radius: 4px; overflow: hidden; }
.an-head { display: flex; align-items: center; gap: 12px; padding: 5px 8px; height: 34px; border-bottom: 1px solid #1a1c23; flex: none; }
.an-head .cs-av { width: 22px; height: 22px; }
.an-id { display: flex; flex-direction: column; line-height: 1.15; width: 92px; overflow: hidden; }
.an-id b { font-size: 10.5px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-id i { font-style: normal; font-size: 8px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-head .cs-st i { font-size: 7.5px; } .an-head .cs-st b { font-size: 9.5px; }
.tall .an-head .cs-st:nth-of-type(5), .tall .an-head .cs-st:nth-of-type(6) { display: none; }
.an-tools { display: flex; align-items: center; gap: 10px; height: 20px; padding: 0 8px; font-size: 8.5px; color: var(--mut); border-bottom: 1px solid #1a1c23; flex: none; }
.an-tools b { color: var(--blue); font-weight: 500; } .an-tools .sep { width: 1px; height: 10px; background: #2a2d36; }
.an-chartwrap { position: relative; flex: 1; min-height: 0; }
.an-chart { position: absolute; inset: 0; }
.an-legend { position: absolute; left: 8px; top: 4px; font-size: 8.5px; color: var(--mut); z-index: 3; white-space: nowrap; pointer-events: none; }
.an-legend b { color: #e9ebf0; font-weight: 500; }
.an-checks { position: absolute; right: 54px; top: 6px; width: 168px; background: rgba(14,16,21,.93); border: 1px solid #22252d; border-radius: 3px; padding: 4px 7px; z-index: 3; }
.tall .an-checks { width: 150px; }
.an-checks div { display: flex; justify-content: space-between; align-items: center; font-size: 8.5px; color: #8b909b; height: 14px; gap: 6px; }
.an-checks div b { font-weight: 500; font-variant-numeric: tabular-nums; color: #5b606b; }
.an-checks div.s1 b { color: var(--green); } .an-checks div.s2 b { color: var(--amber); } .an-checks div.s3 b { color: var(--red); }
.an-checks div.s0 b::after { content: ''; animation: dots 1s steps(4) infinite; }
.an-checks div.hit { color: #e9ebf0; }
.an-tag { position: absolute; left: 8px; bottom: 6px; font-size: 11px; color: #e9ebf0; z-index: 3; display: flex; align-items: center; gap: 6px; font-weight: 600; }
.an-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 6px var(--pink); }
.ana-side { width: 112px; flex: none; display: flex; flex-direction: column; gap: 4px; }
.tall .ana-side { width: 82px; }
.mini { flex: 1; background: #0e1015; border: 1px solid #1a1c23; border-radius: 3px; position: relative; overflow: hidden; }
.mini canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.mini span { position: absolute; left: 4px; top: 3px; font-size: 7.5px; color: #9aa0ab; z-index: 2; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; }
.an-log { position: absolute; left: 10px; right: 10px; bottom: 6px; height: 46px; overflow: hidden; }
.an-log div, .an-log a { display: grid; grid-template-columns: 44px 100px 1fr 48px 46px; gap: 8px; font-size: 9px; height: 15px; align-items: center; color: #9aa0ab; border-left: 2px solid transparent; padding-left: 6px; animation: rowin .35s ease-out; }
.tall .an-log div, .tall .an-log a { grid-template-columns: 40px 86px 1fr 44px 38px; }
.an-log > :first-child { border-left-color: var(--green); }
.an-log a.lane { background: linear-gradient(90deg, rgba(47,224,138,.1), transparent 70%); cursor: pointer; }
.an-log a.lane:hover b { text-decoration: underline; }
.an-log .pk { color: var(--pink); font-weight: 700; }
.an-log div b, .an-log a b { color: #e9ebf0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-log .w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.an-log .ok { color: var(--green); font-weight: 700; } .an-log .no { color: var(--red); font-weight: 700; } .an-log .mid { color: var(--amber); font-weight: 700; }
.an-log .ms { color: var(--mut2); text-align: right; }
@keyframes rowin { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- thresholds.py ---------- */
.code { position: absolute; left: 14px; right: 14px; top: 34px; font-size: 10.5px; line-height: 16.8px; color: #c9ccd4; }
.wide .code { display: grid; grid-template-columns: 1fr 1fr; column-gap: 26px; font-size: 10.5px; line-height: 17.5px; }
.code .blk { position: relative; }
.code .ln { display: grid; grid-template-columns: 1fr auto 52px; align-items: center; white-space: nowrap; height: 16.8px; }
.wide .code .ln { height: 17.5px; }
.code .ln.kv { padding-left: 14px; }
.tall .code { line-height: 16px; } .tall .code .ln { height: 16px; }
.code .k { color: #9ec3ff; } .code .v { color: #f0e2a0; } .code .op { color: #8b909b; margin-right: 10px; } .code .c { color: #5a5f6b; font-style: italic; }
.code .kw { color: #ff79c6; font-weight: 600; } .code .p { color: #8b909b; }
.code .live { overflow: hidden; text-overflow: ellipsis; padding-left: 6px; text-align: right; color: #3c404a; font-size: 9.5px; font-variant-numeric: tabular-nums; }
.code .live.s1 { color: var(--green); } .code .live.s2 { color: var(--amber); } .code .live.s3 { color: var(--red); }
.code .ln.hit { background: linear-gradient(90deg, rgba(255,92,184,.13), transparent 85%); }
.flt { position: absolute; left: 14px; right: 14px; bottom: 12px; }
.flt-h { font-size: 9.5px; color: #c9ccd4; letter-spacing: .6px; margin-bottom: 7px; }
.flt-h span { color: var(--mut); }
.flt-row { display: flex; align-items: center; gap: 0; }
.flt-row .s { font-size: 9.5px; padding: 4px 8px; border: 1px solid #2a2d36; border-radius: 3px; color: #6b707b; transition: background .2s, color .2s, border-color .2s; white-space: nowrap; }
.flt-row .s.on { background: var(--pink); color: #12060d; border-color: var(--pink); font-weight: 700; box-shadow: 0 0 12px rgba(255,92,184,.45); }
.flt-row .s.done { color: #c9ccd4; border-color: #4a4e5a; }
.flt-row .s.kill { background: #3a0e1a; border-color: var(--red); color: var(--red); }
.flt-row .a { width: 18px; height: 1px; background: #3a3d47; position: relative; }
.flt-row .a::after { content: ''; position: absolute; right: -1px; top: -3px; border: 3.5px solid transparent; border-left-color: #3a3d47; }
.flt-row .coin { margin-left: 12px; font-size: 9.5px; color: var(--mut); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flt-row .coin b { color: #e9ebf0; font-weight: 600; }
