/* Signal workspace (UX redesign V1, Variant B). One stylesheet for desktop browser, mobile browser and Telegram
   Mini App. Dark theme; green = growth, red = pullback / deterioration, grey = secondary, white = main text and
   structural levels. Few borders, small radius, large type. */
:root {
  --bg: #080d17; --surface: #0d1422; --surface2: #121b2c; --line: #1a2436;
  --text: #eef2f8; --muted: #8a96a8; --dim: #5d6a7e;
  --up: #2fd08a; --down: #ff5d66; --warn: #f2b84b; --white: #f3f6fb;
  --fs-body: 15.5px; --fs-sec: 13px; --fs-symbol: 26px; --fs-price: 36px; --fs-metric: 26px; --fs-state: 22px;
  --r: 8px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: var(--fs-body)/1.45 Inter, "Segoe UI", system-ui, -apple-system, sans-serif; }
a { color: inherit; text-decoration: none; }
.up { color: var(--up); } .down { color: var(--down); } .warn { color: var(--warn); } .muted, .flat, .off { color: var(--muted); } .sig { color: var(--warn); }
.num { font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.link { color: #7fb4ff; }
h3 { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); } .pad { padding: 16px; }
.foot { margin: 12px 0 0; font-size: 12.5px; color: var(--dim); }

.topbar { display: flex; align-items: center; gap: 22px; height: 46px; padding: 0 20px; border-bottom: 1px solid var(--line); }
.brand { font-weight: 700; letter-spacing: .02em; }
.tabs { display: flex; gap: 4px; }
.tabs a { padding: 6px 12px; border-radius: 6px; color: var(--muted); font-size: 14.5px; }
.tabs a.on { background: var(--surface2); color: var(--text); }
.fresh { margin-left: auto; font-size: var(--fs-sec); color: var(--muted); }
.mock { font-size: 12px; color: var(--dim); border: 1px dashed var(--line); padding: 1px 7px; border-radius: 4px; }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--dim); margin-right: 7px; vertical-align: 1px; flex: none; }
.dot.up { background: var(--up); } .dot.warn, .dot.sig { background: var(--warn); } .dot.down { background: var(--down); }

.page { padding: 16px 20px 24px; max-width: 1440px; margin: 0 auto; }
.view { display: none; } .view.on { display: block; }

/* ---- event header: symbol, trigger, time, status; then FOUR metrics (price, impulse, from signal, drawdown) */
.head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.symbol { font-size: var(--fs-symbol); font-weight: 700; letter-spacing: -0.01em; }
.chip { font-size: var(--fs-sec); padding: 2px 9px; border-radius: 5px; background: var(--surface2); color: var(--muted); font-weight: 600; }
.chip.kind { color: var(--warn); } .chip.sig { color: var(--text); font-size: 14px; }
.status { margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.big { display: flex; align-items: flex-start; gap: 46px; margin: 10px 0 12px; }
.metric b { display: block; font-size: var(--fs-metric); font-weight: 650; line-height: 1.12; }
.metric.price b { font-size: var(--fs-price); font-weight: 700; }
.metric small { display: block; font-size: var(--fs-sec); color: var(--muted); margin-top: 3px; }
.metric .mo { display: none; }
.kv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.kv div { padding: 9px 14px; border-right: 1px solid var(--line); min-width: 0; } .kv div:last-child { border-right: 0; }
.kv span { display: block; font-size: var(--fs-sec); color: var(--muted); }
.kv b { font-size: 17px; font-weight: 600; white-space: nowrap; }
.kv i { font-style: normal; color: var(--muted); font-size: var(--fs-sec); margin-left: 6px; font-weight: 500; }

/* ---- workspace: chart 68 % | state + history 32 % */
.work { display: grid; grid-template-columns: minmax(0, 68fr) minmax(0, 32fr); gap: 14px; margin-top: 14px; }
.chartcard { padding: 10px 12px 8px; }
.charttabs { display: flex; gap: 4px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.charttabs button { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; padding: 5px 11px; border-radius: 6px; cursor: pointer; }
.charttabs button.on { background: var(--surface2); color: var(--text); }
.charttabs button.ghost { color: #7fb4ff; border: 1px solid var(--line); margin-left: 8px; }
.charttabs .legend { margin-left: auto; font-size: 12.5px; color: var(--muted); }
.charttabs .legend b { display: inline-block; width: 16px; height: 0; border-top: 2px solid var(--white); vertical-align: middle; margin: 0 5px 0 12px; }
.charttabs .legend b.loc { border-top: 1px dashed var(--muted); } .charttabs .legend b.cur { border-top: 1px dashed var(--warn); }
#chart { height: 440px; cursor: zoom-in; } #chart svg, #chartbig svg, #minimap svg { font-family: inherit; }
#minimap { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.mininote { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.nodata { display: flex; align-items: center; justify-content: center; height: 100%; color: var(--muted); }
.side { display: flex; flex-direction: column; gap: 14px; }
.statebox { padding: 14px 16px; }
.statebox .title { font-size: var(--fs-state); font-weight: 700; line-height: 1.2; }
.statebox p { margin: 8px 0 0; color: #c5cedb; line-height: 1.6; }
.statebox .dir { margin-top: 10px; font-size: 14px; color: var(--muted); } .statebox .dir b { color: var(--text); font-weight: 600; }
.hist { padding: 14px 16px; flex: 1; }
.hist ol { list-style: none; margin: 0; padding: 0; }
.hist li { display: grid; grid-template-columns: 52px 14px 1fr; align-items: baseline; padding: 7px 0; border-top: 1px solid var(--line); color: var(--text); }
.hist li:first-child { border-top: 0; }
.hist li time { color: var(--muted); font-variant-numeric: tabular-nums; }
.hist li.derived .dot { background: transparent !important; border: 1.5px solid currentColor; } .hist li.derived time::after { content: " ◦"; } .dnote { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); }
.hist li.up span { color: var(--up); } .hist li.warn span, .hist li.sig span { color: var(--warn); } .hist li.down span { color: var(--down); } .hist li.off span { color: var(--muted); }
details.tech { margin-top: 14px; }
details.tech summary { cursor: pointer; padding: 10px 14px; color: var(--muted); font-size: 14px; list-style: none; }
details.tech summary::before { content: "▸ "; } details.tech[open] summary::before { content: "▾ "; }
.techgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 26px; padding: 0 14px 12px; font-size: 13.5px; }
.techgrid div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.techgrid span { color: var(--muted); } .techgrid b { font-weight: 500; text-align: right; overflow-wrap: anywhere; flex-shrink: 0; max-width: 62%; }

/* ---- V3 blocks: structured state, decision context, signal-vs-now comparison, extended context */
.statebox dl.rows { margin: 10px 0 0; }
.rows div { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border-top: 1px solid var(--line); }
.rows dt { color: var(--muted); } .rows dd { margin: 0; font-weight: 600; text-align: right; }
.decision { padding: 14px 16px; }
.decision h4, .extgrp h4 { margin: 10px 0 4px; font-size: 14px; font-weight: 650; color: var(--text); }
.decision .grp:first-of-type h4 { margin-top: 2px; }
.decision ul { margin: 0; padding: 0; list-style: none; }
.decision li { position: relative; padding: 4px 0 4px 16px; color: #d3dbe7; }
.decision li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 6px; height: 6px; border-radius: 50%; background: var(--muted); }
.decision .rev li::before { background: var(--down); } .decision .con li::before { background: var(--up); }
.decision .sum { font-size: 16px; font-weight: 650; margin: 0 0 6px; } .decision .none { margin: 2px 0 0; color: var(--dim); } .decision .hint { margin: 10px 0 0; font-size: 12.5px; color: var(--dim); }
.work { align-items: start; } .main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.compare { padding: 14px 16px; }
.cmp { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 10px; padding: 6px 0; border-top: 1px solid var(--line); align-items: baseline; }
.cmp.head { border-top: 0; padding-top: 0; } .cmp.head b { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.cmp span { color: var(--muted); } .cmp b { font-weight: 600; overflow-wrap: anywhere; }
.extgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px 26px; padding: 0 14px 12px; }
.exti { display: flex; justify-content: space-between; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); font-size: 14px; }
.exti span { color: var(--muted); } .exti b { font-weight: 500; text-align: right; overflow-wrap: anywhere; max-width: 68%; }
.exti.stale b { color: var(--muted); }
.bdg { display: inline-block; font-style: normal; font-size: 11.5px; font-weight: 600; padding: 0 6px; border-radius: 4px; margin-left: 7px; border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.bdg.ok { color: #7fd6ac; } .bdg.stale { color: var(--warn); border-color: #5a4a22; } .bdg.na { color: var(--dim); } .bdg.sig { color: #9fb2c8; }

/* ---- block order: desktop = header, metrics, facts, chart + state */
#v-event.on { display: flex; flex-direction: column; }
#v-event .head { order: 1; } #v-event .big { order: 2; } #v-event .mstate { order: 3; display: none; } #v-event .kv { order: 4; }
#v-event .work { order: 5; } #v-event .foot { order: 9; }
/* the two columns flow independently: a long history on the right never pushes the left blocks down */
.work { align-items: start; } .main details.tech, .main details.ext { margin-top: 0; }
.hist .link.more { display: inline-block; margin-top: 10px; }

/* ---- ПУЛЬС РЫНКА: one meter per metric, white marker = at the signal, coloured fill = now */
.pulse { padding: 14px 16px 12px; }
.phead { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; } .phead h3 { margin: 0; }
.plegend { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.plegend i { display: inline-block; width: 14px; height: 0; margin-left: 8px; } .plegend .lg-sig { border-top: 2px solid var(--white); } .plegend .lg-live { height: 8px; width: 8px; border-radius: 2px; background: var(--up); }
.pseg { margin-left: auto; display: flex; gap: 2px; background: var(--surface2); border-radius: 6px; padding: 2px; }
.pseg button { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; padding: 3px 10px; border-radius: 5px; cursor: pointer; } .pseg button.on { background: #24324a; color: var(--text); }
.meters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 12px; }
.meters.all { grid-template-columns: repeat(8, minmax(0, 1fr)); } .meters .extra { display: none; } .meters.all .extra { display: flex; }
.meter { display: flex; flex-direction: column; align-items: center; gap: 3px; font: inherit; color: var(--text); background: none; border: 1px solid transparent; border-radius: 8px; padding: 8px 2px 6px; cursor: pointer; min-width: 0; }
.meter:hover, .meter.sel { background: var(--surface2); border-color: var(--line); }
.meter .mt { font-size: 12px; font-weight: 650; letter-spacing: .05em; color: var(--muted); white-space: nowrap; }
.track { position: relative; width: 34px; height: 116px; background: #0a101b; border: 1px solid var(--line); border-radius: 5px; overflow: hidden; }
.track .zero { position: absolute; left: 0; right: 0; bottom: 50%; border-top: 1px dashed #2a3850; display: none; } .track.m-center .zero, .track.m-sign .zero, .track.m-activity .zero { display: block; }
/* equalizer scales: directional = faint red (bottom) -> yellow (centre) -> green (top); activity = 1x normal at the centre */
.track.k-directional { background: linear-gradient(to top, rgba(255,93,102,.16), rgba(242,184,75,.10) 50%, rgba(47,208,138,.16)); }
.track.k-directional .zero { border-top: 1px solid rgba(242,184,75,.55); }
.track.m-activity { background: linear-gradient(to top, rgba(242,184,75,.04), rgba(242,184,75,.13)); } .track.m-activity .zero { border-top: 1px dotted rgba(242,184,75,.6); }
.track.m-activity::after { content: "1×"; position: absolute; right: 2px; bottom: calc(50% + 1px); font-size: 9px; color: rgba(242,184,75,.75); font-style: normal; }
.track .cur { position: absolute; left: -2px; right: -2px; height: 4px; margin-bottom: -2px; border-radius: 2px; background: var(--warn); box-shadow: 0 0 0 1px rgba(8,13,23,.7); transition: bottom .35s ease; }
.track .dot { position: absolute; left: 50%; bottom: 50%; width: 10px; height: 10px; margin: 0 0 -5px -5px; border-radius: 50%; background: var(--warn); }
.track .cur[hidden], .track .dot[hidden], .track .tstate[hidden] { display: none; }
.track .tstate { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; writing-mode: vertical-rl; transform: rotate(180deg);
  font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--muted); background: rgba(8,13,23,.55); }
.f-UNAVAILABLE .track, .f-INSTRUMENT_UNAVAILABLE .track, .f-SLOT_UNAVAILABLE .track, .f-CONNECTING .track { opacity: .6; border-style: dashed; background: #0a0f18 !important; }
.f-UNAVAILABLE .track .zero, .f-INSTRUMENT_UNAVAILABLE .track .zero, .f-SLOT_UNAVAILABLE .track .zero, .f-CONNECTING .track .zero { display: none; }
.f-UNAVAILABLE .track::after, .f-INSTRUMENT_UNAVAILABLE .track::after, .f-SLOT_UNAVAILABLE .track::after, .f-CONNECTING .track::after { display: none; }
.f-WARMING .track .tstate, .f-STALE .track .tstate { background: transparent; color: rgba(242,184,75,.65); font-size: 9px; }
.f-WARMING .cur { opacity: .6; }
.plegend { flex-wrap: wrap; row-gap: 2px; } .plegend i { flex: none; }
.plegend .lg-c { width: 9px; height: 9px; border-radius: 50%; margin-left: 10px; } .plegend .lg-c.ctx { background: var(--warn); border-radius: 2px; }
.pdetail .pkind { color: var(--dim); font-size: 12.5px; }
.track .fill { position: absolute; left: 3px; right: 3px; bottom: 0; height: 0; border-radius: 3px; background: var(--dim); transition: height .35s ease, bottom .35s ease; }
.track .smark { position: absolute; left: -1px; right: -1px; height: 2px; margin-bottom: -1px; background: var(--white); box-shadow: 0 0 0 1px rgba(8,13,23,.6); transition: bottom .35s ease; }
.t-up .fill { background: var(--up); } .t-down .fill { background: var(--down); } .t-warn .fill { background: var(--warn); } .t-na .fill { background: var(--dim); }
.t-dir .fill { opacity: .55; } .t-warn .fill { opacity: .55; }
.meter .mv { font-size: 16px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.meter .md { font-size: 12.5px; color: var(--muted); white-space: nowrap; min-height: 16px; } .meter .mf { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.t-up .mf, .t-down .mf, .t-warn .mf { color: #7fd6ac; } .f-STALE { opacity: .55; } .f-WARMING .mf, .f-CONNECTING .mf { color: var(--warn) !important; } .f-SLOT_UNAVAILABLE .mf { color: var(--dim) !important; }
.f-WARMING .fill { opacity: .55; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.18) 0 4px, transparent 4px 8px); } .f-STALE .mf { color: var(--warn) !important; } .f-UNAVAILABLE .mv { color: var(--dim); }
.pdetail { margin-top: 10px; padding: 10px 12px; background: var(--surface2); border-radius: 8px; font-size: 13.5px; }
.pdetail b { font-size: 14px; } .pdetail dl { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px 14px; margin: 6px 0; }
.pdetail dt { color: var(--muted); font-size: 12.5px; } .pdetail dd { margin: 0; font-weight: 600; } .pdetail p { margin: 4px 0 0; color: #b9c3d2; }
.pnote { margin: 8px 0 0; font-size: 12.5px; color: var(--dim); }
/* LIVE ГРАФИК (TradingView): fixed height = no layout shift while the widget loads */
.tvcard { padding: 12px 12px 8px; }
.tvhead { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; } .tvhead h3 { margin: 0; }
.tvsub { font-size: 13px; color: var(--muted); } .tvlive { margin-left: auto; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--up); } .tvlive[hidden] { display: none; }
.tvbody { height: 520px; border-radius: 6px; overflow: hidden; background: #0a101b; }
.tvbody .tradingview-widget-container, .tvbody .tradingview-widget-container__widget { width: 100%; height: 100%; }
.tvfail { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 0 16px; color: var(--muted); }
.tvfail b { color: var(--text); letter-spacing: .06em; font-size: 15px; } .tvnote { margin: 8px 2px 0; font-size: 12.5px; color: var(--dim); }
.pdetail .preason { color: var(--warn); }
.plive { font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--up); border: 1px solid #1f5a40; border-radius: 4px; padding: 1px 7px; }
.plive[hidden] { display: none; }

/* ---- signal list: one compact row per event */
.list { max-width: 1060px; }
.list h3 { margin: 18px 0 8px; } .list h3:first-child { margin-top: 4px; }
.row { display: grid; grid-template-columns: 16px minmax(190px, 1.25fr) minmax(250px, 1.5fr) minmax(200px, 1.5fr) 56px; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); margin-bottom: 6px; }
.row .who b { display: block; font-size: 18px; font-weight: 650; } .row .who span { font-size: 13.5px; color: var(--muted); }
.row .nums { display: flex; gap: 22px; font-size: 14px; color: var(--muted); } .row .nums span { color: var(--muted); white-space: nowrap; }
.row .nums b { font-size: 18px; font-weight: 650; margin-right: 4px; } .row .nums .up b { color: var(--up); } .row .nums .down b { color: var(--down); } .row .nums .muted b { color: var(--text); }
.row .st { font-size: 16px; } .row time { color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.row.quiet { opacity: .6; } .row.quiet .st { color: var(--muted); }
.empty { color: var(--dim); padding: 6px 2px 2px; font-size: 14px; }

/* ---- expanded chart, mobile navigation, Telegram Mini App bar */
.chartfull { position: fixed; inset: 0; background: var(--bg); z-index: 20; padding: 46px 10px 10px; }
.chartfull[hidden] { display: none; }
#chartbig { width: 100%; height: 100%; }
#closefull { position: absolute; top: 8px; right: 10px; width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface2); color: var(--text); font-size: 16px; cursor: pointer; }
.bottom, .mhead, .drawer { display: none; }

@media (max-width: 760px) {
  :root { --fs-body: 16px; --fs-sec: 13.5px; --fs-symbol: 23px; --fs-price: 38px; --fs-metric: 24px; --fs-state: 21px; }
  .topbar { display: none; }
  /* sticky compact header (46 px): menu button + "CAP_USDT · PUMP ● НАБЛЮДЕНИЕ"; the only app bar, also inside Telegram */
  .mhead { display: flex; align-items: center; gap: 2px; position: sticky; top: 0; z-index: 15; height: 46px; padding: 0 12px 0 2px; background: #0b111d; border-bottom: 1px solid var(--line); }
  #burger { flex: none; width: 46px; height: 46px; font-size: 21px; line-height: 1; background: none; border: 0; color: var(--text); cursor: pointer; }
  .mtitle { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 16.5px; font-weight: 700; white-space: nowrap; overflow: hidden; }
  .mtitle .sep { color: var(--dim); font-weight: 500; } .mtitle .k { color: var(--warn); font-weight: 600; font-size: 13.5px; }
  .mtitle .s { margin-left: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; overflow: hidden; text-overflow: ellipsis; } .mtitle .s .dot { margin-right: 5px; }
  .drawer { display: block; position: fixed; inset: 0; z-index: 30; } .drawer[hidden] { display: none; }
  .scrim { position: absolute; inset: 0; background: rgba(2, 5, 10, .6); }
  .panel { position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 330px); overflow-y: auto; background: var(--surface); border-right: 1px solid var(--line); padding: 6px 0 24px; }
  .panel h5 { margin: 16px 16px 4px; font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--dim); text-transform: uppercase; }
  .panel a { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; min-height: 46px; padding: 12px 16px; font-size: 16px; color: var(--text); }
  .panel a.on { background: var(--surface2); } .panel a.off { color: var(--dim); }
  .panel a.sym b { font-weight: 650; } .panel a.sym span { font-size: 13.5px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .panel a.sym span i { font-style: normal; } .panel .none { padding: 8px 16px; color: var(--dim); font-size: 14.5px; }
  .panel hr { border: 0; border-top: 1px solid var(--line); margin: 8px 0; }
  body.menu { overflow: hidden; }
  #v-event .head { display: none; }  /* the sticky header already shows symbol, kind and status */
  .page { padding: 12px 14px 84px; }
  .head { gap: 8px; align-items: center; } .head .chip { display: none; } .head .chip.kind { display: inline-block; } .status { font-size: 13.5px; }
  .big { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 10px; margin: 6px 0 2px; }
  .metric.price { grid-column: 1 / -1; }
  .metric small { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; } .metric.price small { text-transform: none; letter-spacing: 0; font-size: var(--fs-sec); }
  .metric .d { display: none; } .metric .mo { display: inline; }
  #v-event .mstate { display: block; font-size: var(--fs-state); font-weight: 700; margin: 8px 0 10px; }
  #v-event .work, #v-event .side, #v-event .main { display: contents; }
  #v-event .chartcard { order: 4; padding: 8px 6px 6px; margin: 0 -6px; } #chart { height: 300px; }
  #v-event .tvcard { order: 5; margin-top: 12px; padding: 10px 8px 6px; } .tvbody { height: 340px; }
  #v-event .pulse { order: 6; margin-top: 12px; padding: 12px 10px 10px; }
  .meters, .meters.all { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2px; } .track { width: 26px; height: 96px; }
  .meter { padding: 6px 0 4px; } .meter .mv { font-size: 14px; } .meter .mt { font-size: 11px; } .meter .md { font-size: 11.5px; } .meter .mf { font-size: 10.5px; }
  .plegend { order: 3; width: 100%; font-size: 12px; } .plegend .lg-c, .plegend .lg-sig { margin-left: 8px; } .plegend .lg-c:first-child { margin-left: 0; } .pdetail dl { grid-template-columns: 1fr 1fr; }
  .charttabs .legend { display: none; } .charttabs button { font-size: 14.5px; padding: 6px 9px; } .charttabs button.ghost { margin-left: 0; }
  #v-event .kv { order: 7; grid-template-columns: 1fr; margin-top: 12px; }
  .kv div { display: flex; justify-content: space-between; align-items: baseline; border-right: 0; border-top: 1px solid var(--line); padding: 11px 14px; }
  .kv div:first-child { border-top: 0; } .kv span { font-size: 15px; } .kv b { font-size: 17px; }
  #v-event .statebox { display: none; } .histstate .statebox { margin-top: 12px; }
  #v-event .decision { order: 8; margin-top: 12px; } #v-event .compare { order: 9; margin-top: 12px; }
  .compare { margin-top: 12px; } .cmp { grid-template-columns: 1fr 1fr; gap: 2px 10px; padding: 9px 0; } .cmp span { grid-column: 1 / -1; font-size: 14px; }
  .cmp.head span { display: none; } .decision li { font-size: 16px; padding: 6px 0 6px 16px; } .decision h4 { font-size: 15.5px; }
  .extgrid { grid-template-columns: 1fr; } .exti { font-size: 15px; } details.ext { margin-top: 12px; }
  #v-event .hist { order: 10; margin-top: 12px; } .hist li { grid-template-columns: 56px 14px 1fr; padding: 10px 0; font-size: 16px; } .hist .link { display: block; padding-top: 10px; }
  .hist.full { margin-top: 12px; }
  #v-event details.ext { order: 11; margin-top: 12px; } #v-event details.tech { order: 12; margin-top: 12px; } #v-event .foot { order: 13; } details.tech summary { font-size: 16px; padding: 13px 14px; font-weight: 600; color: var(--text); }
  .techgrid { grid-template-columns: 1fr; font-size: 14px; }
  .list { max-width: none; }
  .row { grid-template-columns: 14px 1fr auto; gap: 3px 10px; padding: 13px 14px; align-items: start; }
  .row .dot { margin-top: 9px; } .row .who { grid-column: 2; } .row .who b { font-size: 19px; } .row .who span { font-size: 14px; }
  .row time { grid-column: 3; grid-row: 1; font-size: 14px; padding-top: 4px; }
  .row .nums { grid-column: 2 / 4; flex-direction: column; gap: 1px; font-size: 15px; margin-top: 4px; } .row .nums b { font-size: 19px; display: inline-block; min-width: 74px; }
  .row .st { grid-column: 2 / 4; font-size: 16px; margin-top: 4px; }
  .bottom { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; left: 0; right: 0; bottom: 0; height: 62px; background: #0b111d; border-top: 1px solid var(--line); z-index: 10; }
  .bottom a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 12.5px; color: var(--muted); }
  .bottom a i { font-style: normal; font-size: 19px; line-height: 1; } .bottom a.on { color: var(--text); }
  body.nofull .bottom { display: none; }
}
.netbanner{margin:0 0 10px;padding:8px 12px;border-radius:8px;background:#3a2a10;color:#ffd58a;font-size:13px;border:1px solid #6b4a14}.netbanner small{opacity:.6;margin-left:6px}.netbanner button{margin-left:8px;padding:4px 10px;border-radius:6px;border:1px solid #ffd58a;background:transparent;color:#ffd58a;font:inherit;cursor:pointer}
