*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#0d0d0d;color:#e8e8e8;min-height:100vh}
.page{max-width:980px;margin:0 auto;padding:0 22px 48px}

/* ── Header ── */
.hdr{display:flex;align-items:center;justify-content:space-between;padding:20px 30px;background:linear-gradient(115deg,#111 0%,#1a0500 35%,#3a0800 65%,#5a0e00 100%)}
.hrow{display:flex;align-items:center;gap:16px}
.logo{width:60px;height:60px;border-radius:12px;object-fit:contain;border:2px solid rgba(255,130,0,.5);background:#fff}
.htop{font-size:20px;font-weight:700;color:#fff}
.hsub{font-size:12px;color:rgba(255,255,255,.4);margin-top:3px}
.live-badge{display:flex;align-items:center;gap:6px;font-size:12px;color:rgba(255,255,255,.5);background:rgba(255,255,255,.06);padding:6px 14px;border-radius:20px;border:1px solid rgba(255,255,255,.1);white-space:nowrap;flex-shrink:0}
.dot{width:8px;height:8px;border-radius:50%;background:#FF6A00;animation:pu 1.5s infinite;display:inline-block;flex-shrink:0}
@keyframes pu{0%,100%{opacity:1}50%{opacity:.3}}

/* ── Nav ── */
.nav-menu{display:flex;align-items:center;gap:3px;padding:8px 22px;background:#111;border-bottom:1px solid #1e1e1e;overflow-x:auto;position:sticky;top:0;z-index:200;scrollbar-width:none}
.nav-menu::-webkit-scrollbar{display:none}
.nav-item{display:inline-flex;align-items:center;gap:4px;padding:6px 12px;border-radius:8px;font-size:12px;font-weight:600;color:#777;text-decoration:none;white-space:nowrap;cursor:pointer;border:1px solid transparent;transition:background .15s,color .15s,border-color .15s;user-select:none}
@media (hover:hover){.nav-item:hover{background:#1e1e1e;color:#e8e8e8}}
.nav-item.active{background:#2a1000;color:#FF6A00;border-color:#3a1800}
.nav-premium{background:linear-gradient(115deg,#3a1000,#5a1a00);color:#FF6A00;border-color:#FF6A00;margin-left:8px}
@media (hover:hover){.nav-premium:hover{background:linear-gradient(115deg,#4a1400,#7a2400);color:#ffaa44;border-color:#ffaa44}}

/* ── Section anchors — reliable offset ── */
.section-anchor{display:block;height:1px;margin-top:-56px;padding-top:56px}

/* ── Error ── */
.api-error{background:#1a0505;border:1px solid #5a1010;border-radius:10px;padding:12px 16px;margin:16px 0 0;font-size:13px;color:#f87171}

/* ── Layout ── */
.sl{font-size:10px;font-weight:700;color:#555;letter-spacing:.12em;text-transform:uppercase;margin:22px 0 9px}
.card{background:#161616;border:1px solid #2a2a2a;border-radius:14px;padding:20px;margin-bottom:14px}
.card-title{font-size:14px;font-weight:700;color:#e8e8e8;margin-bottom:14px}
.label-sm{font-size:12px;color:#666}
.val-sm{font-size:13px;font-weight:700}
.rb{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}
.mt6{margin-top:6px}
.orange{color:#FF6A00}
.blue{color:#4a90d9}
.green{color:#22c55e}
.red{color:#ef4444}
.hodl-num{color:#4a90d9;font-weight:400}

/* ── Overview metric cards ── */
.mg{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin-bottom:14px}
/* v28b: the Overview has eight tiles -- four across, two even rows (phones keep two across below) */
@media (min-width:641px){ #mg{grid-template-columns:repeat(4,1fr)} }
.m{background:#161616;border:1px solid #2a2a2a;border-radius:12px;padding:14px 16px}
.ml{font-size:10px;color:#555;text-transform:uppercase;letter-spacing:.05em;margin-bottom:5px;font-weight:700}
.mv{font-size:19px;font-weight:800;color:#e8e8e8}
.ms{font-size:10px;color:#444;margin-top:3px}

/* ── Network cards ── */
.net-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:10px;margin-bottom:14px}
.net-card{background:#161616;border:1px solid #2a2a2a;border-radius:12px;padding:14px 16px}
.net-label{font-size:10px;color:#555;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:6px}
.net-value{font-size:17px;font-weight:800;color:#e8e8e8;line-height:1.2}
.net-sub{font-size:10px;color:#444;margin-top:3px;line-height:1.4}

/* ── Skeleton ── */
.skeleton{background:linear-gradient(90deg,#1a1a1a 25%,#222 50%,#1a1a1a 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border:1px solid #1e1e1e;border-radius:12px}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ── Progress ── */
.pw{height:8px;background:#222;border-radius:4px;overflow:hidden}
.pb{height:100%;border-radius:4px;transition:width .8s ease}
.bdg{font-size:11px;padding:4px 12px;border-radius:20px;font-weight:700;display:inline-block;border:1px solid transparent}

/* ── Season track ── */
.strack{display:grid;grid-template-columns:repeat(4,1fr);border-radius:10px;overflow:hidden;height:48px;border:1px solid #2a2a2a;margin-top:10px}
.ss{display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;gap:4px;border-right:1px solid rgba(255,255,255,.06)}
.ss:last-child{border-right:none}

/* ── Positions table ── */
.pt{width:100%;border-collapse:collapse;font-size:12px}
.pt th{text-align:left;font-size:10px;font-weight:700;color:#444;padding:0 7px 9px;border-bottom:1px solid #222;text-transform:uppercase;letter-spacing:.05em}
.pt td{padding:10px 7px;border-bottom:1px solid #1e1e1e;color:#e8e8e8;vertical-align:middle}
.pt tr:last-child td{border-bottom:none}
.pt tfoot td{border-top:2px solid #222;font-weight:700;padding:10px 7px;border-bottom:none;background:#111}
.tg{font-size:11px;padding:3px 9px;border-radius:20px;font-weight:700;display:inline-block}
.to{background:#052e16;color:#22c55e}
.tc{background:#1a1a1a;color:#555}
.tlong{background:#0c1f3d;color:#60a5fa}
.tshort{background:#2d0a0a;color:#f87171}
.r-huge{color:#FF6A00;font-weight:700}
.r-big{color:#22c55e;font-weight:700}
.r-mid{color:#86efac;font-weight:700}
.r-small{color:#a3e635;font-weight:700}
.r-neg{color:#f87171;font-weight:700}
.r-open{color:#fbbf24;font-weight:700}

/* ── Holder comparison chart ── */
.cmp-title{font-size:14px;font-weight:700;color:#e8e8e8;margin-bottom:16px}
.cmp-chart-wrap{margin-bottom:18px}
.chart-placeholder{height:200px;display:flex;align-items:center;justify-content:center;color:#444;font-size:13px;background:#111;border-radius:10px;margin-bottom:10px}
.cmp-legend{display:flex;gap:16px;flex-wrap:wrap;margin-top:10px;padding-top:10px;border-top:1px solid #222}
.cmp-leg-item{display:flex;align-items:center;gap:6px;font-size:12px;color:#888}
.cmp-leg-dot{width:11px;height:11px;border-radius:3px;flex-shrink:0}
.cmp-cards-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin-bottom:14px}
.cmp-mini{border-radius:10px;padding:14px 15px}
.cmp-mini-lbl{font-size:10px;font-weight:700;letter-spacing:.07em;text-transform:uppercase;margin-bottom:4px}
.cmp-mini-pct{font-size:22px;font-weight:800;line-height:1;margin-bottom:3px}
.cmp-mini-basis{font-size:10px;color:#555}
.cmp-mini-status{font-size:11px;font-weight:600;margin-top:4px}
.btc-comp-box{background:#1a0d00;border:1px solid #3a1a00;border-radius:8px;padding:8px 12px;font-size:12px;color:#FF6A00;line-height:1.5}
.insight{background:#111;border:1px solid #222;border-radius:10px;padding:14px;font-size:13px;color:#777;line-height:1.65}

/* ── Sentiment ── */
.g2{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}
.g3{display:grid;grid-template-columns:1fr 1fr 1fr;gap:14px;margin-bottom:14px}
@media(max-width:760px){.g3{grid-template-columns:1fr}}
.go{display:flex;align-items:flex-start;gap:16px;flex-wrap:wrap}
.fz div{display:flex;align-items:center;gap:6px;margin-bottom:6px;font-size:12px}
.zd{width:9px;height:9px;border-radius:50%;flex-shrink:0}
.gauge-num{font-size:26px;font-weight:800;margin-top:5px}
.gauge-lbl{font-size:12px;color:#555;margin-top:2px}
.fg-footer{margin-top:10px;font-size:11px;color:#444;border-top:1px solid #222;padding-top:10px}
.tom-nums{display:flex;gap:24px;margin-bottom:12px}
.tom-big{font-size:26px;font-weight:800;line-height:1}
.tom-lbl{font-size:11px;color:#444;margin-top:3px}

/* ── Calculator ── */
.calc-title{font-size:15px;font-weight:700;color:#e8e8e8;margin-bottom:6px}
.calc-sub{font-size:13px;color:#555;margin-bottom:16px;line-height:1.5}
.calc-row{margin-bottom:18px}
.calc-input-wrap{display:inline-flex;align-items:center;background:#111;border:1px solid #333;border-radius:10px;padding:0 14px}
.calc-prefix{font-size:18px;font-weight:700;color:#FF6A00;margin-right:6px}
.calc-input-wrap input{background:transparent;border:none;outline:none;font-size:18px;font-weight:700;color:#e8e8e8;padding:11px 0;width:180px;font-family:inherit}
.calc-results-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px;margin-bottom:4px}
.crc{background:#111;border:1px solid #222;border-radius:10px;padding:15px}
.crc-lbl{font-size:10px;color:#444;text-transform:uppercase;letter-spacing:.06em;font-weight:700;margin-bottom:7px}
.crc-val{font-size:21px;font-weight:800;margin-bottom:4px}
.crc-sub{font-size:11px;color:#444}
.crc-diff{border-radius:10px;padding:15px;background:#052e16;border:1px solid #166534}

/* ── Halving timeline — scrollable on mobile ── */
.halving-timeline{display:flex;align-items:flex-start;position:relative;padding:8px 0 4px;overflow-x:auto;-webkit-overflow-scrolling:touch}
.halving-timeline::before{content:"";position:absolute;top:20px;left:0;right:0;height:2px;background:linear-gradient(90deg,#22c55e,#4a90d9,#a78bfa,#fbbf24,#FF6A00,#f87171,#7c3aed);pointer-events:none}
.ht-item{min-width:100px;flex:1;text-align:center;position:relative;padding-top:34px;padding-bottom:4px;flex-shrink:0}
.ht-dot{width:13px;height:13px;border-radius:50%;position:absolute;top:13px;left:50%;transform:translateX(-50%);border:2px solid #0d0d0d;z-index:1}
.ht-label{font-size:10px;font-weight:700;color:#e8e8e8;margin-bottom:3px}
.ht-date{font-size:9px;color:#555;margin-bottom:2px}
.ht-reward{font-size:9px;color:#FF6A00;font-weight:600}
.ht-note{font-size:8px;color:#7c3aed;margin-top:2px}

/* ── Macro ── */
.pp-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:13px}
.pp-card{background:#111;border:1px solid #222;border-radius:12px;padding:16px}
.pp-flag{font-size:26px;margin-bottom:7px}
.pp-label{font-size:14px;font-weight:700;color:#e8e8e8;margin-bottom:2px}
.pp-since{font-size:11px;color:#555;margin-bottom:11px}
.pp-bar-wrap{height:9px;background:#1e1e1e;border-radius:5px;overflow:hidden;margin-bottom:9px}
.pp-bar{height:100%;border-radius:5px}
.pp-stat{font-size:17px;font-weight:800;margin-bottom:3px}
.pp-sub{font-size:11px;color:#555;line-height:1.4}
.debt-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin-bottom:13px}
.debt-card{background:#111;border:1px solid #222;border-radius:12px;padding:16px}
.debt-flag{font-size:22px;margin-bottom:5px}
.debt-label{font-size:12px;color:#555;font-weight:500;margin-bottom:5px}
.debt-num{font-size:26px;font-weight:800;margin-bottom:3px}
.debt-sub{font-size:11px;color:#555;margin-bottom:7px;line-height:1.4}
.debt-pct{font-size:11px;color:#444;margin-top:5px}
.debt-ticker{background:#0a0a0a;border:1px solid #1a1a1a;border-radius:8px;padding:9px 13px;font-size:12px;color:#444;font-family:monospace;margin-top:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.conflict-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:13px;flex-wrap:wrap;gap:6px}
.conflict-count{display:flex;align-items:baseline;gap:7px}
.conflict-num{font-size:34px;font-weight:800;color:#ef4444}
.conflict-lbl{font-size:13px;color:#555}
.conflict-meta{font-size:11px;color:#333}
.conflict-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:9px}
.conf-card{background:#111;border:1px solid #1e1e1e;border-radius:10px;padding:11px 13px}
.conf-intensity{display:inline-block;font-size:9px;font-weight:700;padding:2px 7px;border-radius:20px;margin-bottom:5px;text-transform:uppercase;letter-spacing:.05em}
.conf-high{background:#2d0a0a;color:#f87171}
.conf-med{background:#1a1200;color:#fbbf24}
.conf-low{background:#0a1a0a;color:#86efac}
.conf-name{font-size:12px;font-weight:700;color:#e8e8e8;margin-bottom:2px}
.conf-since{font-size:10px;color:#444}

/* ── Buttons ── */
.btn-row{display:flex;gap:9px;flex-wrap:wrap;margin-top:13px}
.btn-row button{font-size:13px;padding:8px 16px;cursor:pointer;border-radius:9px;border:1px solid #2a2a2a;background:#161616;color:#e8e8e8;font-weight:600;transition:background .15s}
.btn-row button:hover{background:#222}

/* ── Responsive ── */
@media(max-width:640px){
  .hdr{padding:14px 18px}
  .nav-menu{padding:7px 14px;gap:2px}
  .page{padding:0 14px 32px}
  .g2,.debt-grid{grid-template-columns:1fr}
  .mg{grid-template-columns:repeat(2,1fr)}
  .pp-grid{grid-template-columns:1fr}
  .net-grid{grid-template-columns:repeat(2,1fr)}
  .conflict-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}
}
/* ── Top holders table ── */
.holders-table-wrap{overflow-x:auto}
.holders-table{width:100%;border-collapse:collapse;font-size:13px;min-width:560px}
.holders-table th{text-align:left;font-size:10px;font-weight:700;color:#444;padding:0 10px 10px;border-bottom:1px solid #222;text-transform:uppercase;letter-spacing:.05em}
.holders-table td{padding:10px 10px;border-bottom:1px solid #1e1e1e;color:#e8e8e8;vertical-align:middle}
.holders-table tr:last-child td{border-bottom:none}
.holders-table tr:hover td{background:#1e1e1e}
.holder-rank{font-size:16px;font-weight:800;color:#555;width:40px}
.holder-entity{font-weight:700;color:#e8e8e8}
.holder-sub{font-size:10px;color:#555;margin-top:2px;font-weight:400}
.holder-type{font-size:10px;padding:2px 8px;border-radius:20px;font-weight:700;display:inline-block}
.ht-individual{background:#0c1f3d;color:#60a5fa}
.ht-exchange{background:#1a1200;color:#fbbf24}
.ht-etf{background:#052e16;color:#22c55e}
.ht-corporate{background:#2a1000;color:#FF6A00}
.ht-government{background:#1a0a2a;color:#a78bfa}
.ht-miner{background:#1a1a0a;color:#a3e635}
.holder-btc{font-weight:700;color:#e8e8e8}
.holder-val{color:#FF6A00;font-weight:600}
.holder-pct{color:#555;font-size:12px}
.holder-status{font-size:10px;padding:2px 8px;border-radius:20px;font-weight:700}
.hs-dormant{background:#1a1a1a;color:#555}
.hs-active{background:#052e16;color:#22c55e}
.hs-accumulating{background:#2a1000;color:#FF6A00}
.hs-distributing{background:#2d0a0a;color:#f87171}

/* ── Saylor / Strategy ── */
.saylor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:10px}
.saylor-stat{background:#111;border:1px solid #222;border-radius:10px;padding:12px 14px}
.saylor-lbl{font-size:10px;color:#555;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:4px}
.saylor-val{font-size:18px;font-weight:800;color:#e8e8e8}
.saylor-sub{font-size:10px;color:#444;margin-top:2px}

/* ── ETF flows ── */
.etf-grid{display:flex;flex-direction:column;gap:8px}
.etf-row{display:flex;align-items:center;gap:10px}
.etf-name{font-size:12px;color:#e8e8e8;min-width:100px;font-weight:500}
.etf-track{flex:1;height:12px;background:#1a1a1a;border-radius:6px;overflow:hidden;position:relative}
.etf-bar{height:100%;border-radius:6px;transition:width .8s ease}
.etf-val{font-size:12px;font-weight:700;min-width:70px;text-align:right}
.etf-summary{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:12px}
.etf-sum-card{background:#111;border:1px solid #222;border-radius:10px;padding:12px 14px}
.etf-sum-lbl{font-size:10px;color:#555;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:4px}
.etf-sum-val{font-size:20px;font-weight:800}
.etf-sum-sub{font-size:10px;color:#444;margin-top:2px}

/* ── Miner flows ── */
.miner-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}
.miner-stat{background:#111;border:1px solid #222;border-radius:10px;padding:12px 14px}
.miner-lbl{font-size:10px;color:#555;text-transform:uppercase;letter-spacing:.05em;font-weight:700;margin-bottom:4px}
.miner-val{font-size:18px;font-weight:800;color:#e8e8e8}
.miner-sub{font-size:10px;color:#444;margin-top:2px}
.miner-pressure{margin-top:10px;padding:10px 12px;border-radius:8px;font-size:12px;line-height:1.5}

/* ── Inflation table ── */
.infl-row{display:grid;grid-template-columns:24px 124px 1fr 66px;gap:10px;align-items:center;margin-bottom:8px;padding-bottom:8px;border-bottom:1px solid #1e1e1e}
.infl-row:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}
.infl-rank{font-size:13px;font-weight:800;color:#333;text-align:center}
.infl-country{font-size:13px;font-weight:600;color:#e8e8e8}
.infl-bar-wrap{height:10px;background:#1a1a1a;border-radius:5px;overflow:hidden}
.infl-bar{height:100%;border-radius:5px;transition:width .8s ease}
.infl-rate{font-size:13px;font-weight:800;text-align:right}
.infl-rate small{display:block;font-size:10px;font-weight:600;color:#666;line-height:1.2;margin-top:1px}
.infl-note{display:none}
@media(min-width:640px){
  .infl-row{grid-template-columns:28px 160px 1fr 70px 330px}
  .infl-note{display:block;font-size:11px;color:#777}
}

/* ── Macro sub-nav ── */
.macro-subnav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.macro-tab{font-size:12px;font-weight:600;padding:7px 16px;border-radius:9px;border:1px solid #2a2a2a;background:#161616;color:#777;cursor:pointer;transition:all .15s;white-space:nowrap}
.macro-tab:hover{background:#222;color:#e8e8e8;border-color:#333}
.macro-tab.active{background:#1a0d00;color:#FF6A00;border-color:#FF6A00}
.macro-tab-content{display:block}

/* ── Alert status badge ── */
.alert-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;font-weight:600;color:#22c55e;padding:6px 12px;border:1px solid #22c55e44;border-radius:20px;background:#052e16;white-space:nowrap;margin-left:4px}
.alert-badge.offline{color:#777;border-color:#333;background:#1a1a1a}
.alert-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 6px #22c55e;animation:alertPulse 2s ease-in-out infinite}
.alert-badge.offline .alert-dot{background:#777;box-shadow:none;animation:none}
@keyframes alertPulse{0%,100%{opacity:1}50%{opacity:0.35}}

/* ═══════════════════════════════════════════════════════════
   GLASS THEME (v19q) — frosted panels over a subtle plasma glow
   Layered as overrides so structure/logic is untouched.
   ═══════════════════════════════════════════════════════════ */

/* Page: dark base + subtle plasma glow (tuned gentle so it never fights data) */
body{
  background:#08080d !important;
}
/* iOS-proof plasma glow: a fixed viewport layer behind all content.
   (background-attachment:fixed is broken on iOS Safari — this isn't.) */
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    radial-gradient(90% 70% at 10% 0%, rgba(139,70,180,.20), transparent 65%),
    radial-gradient(90% 70% at 95% 5%, rgba(240,110,60,.15), transparent 62%),
    radial-gradient(120% 90% at 50% 45%, rgba(120,70,175,.10), transparent 60%),
    radial-gradient(110% 80% at 55% 100%, rgba(80,60,175,.16), transparent 65%);
}

/* Fallback for browsers without backdrop-filter: solid-ish panels */
.card,.m,.net-card{
  background:linear-gradient(160deg, rgba(255,255,255,.075), rgba(255,255,255,.022)) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.16) inset, 0 10px 28px -14px rgba(0,0,0,.6) !important;
}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .card,.m,.net-card{
    -webkit-backdrop-filter:blur(13px) saturate(1.15);
    backdrop-filter:blur(13px) saturate(1.15);
  }
}
/* Hero cards (overview metric tiles) get a top-edge light-catch + sheen */
.m{position:relative;overflow:hidden}
.m::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);
  opacity:.5;pointer-events:none;
}

/* Nav: glass bar */
.nav-menu{
  background:linear-gradient(180deg, rgba(20,18,28,.72), rgba(12,12,18,.72)) !important;
  -webkit-backdrop-filter:blur(16px) saturate(1.2);
  backdrop-filter:blur(16px) saturate(1.2);
  border-bottom:1px solid rgba(255,255,255,.08) !important;
}

/* DENSE DATA AREAS — lighter/near-solid frost so small text stays crisp.
   These sit INSIDE glass cards, so keep them quiet & high-contrast. */
.insight,.pp-card,.debt-card,.conf-card,.crc,.calc-input-wrap,.chart-placeholder,
.debt-ticker,.btc-comp-box,.pt tfoot td{
  background:rgba(10,10,16,.55) !important;
  border-color:rgba(255,255,255,.07) !important;
  -webkit-backdrop-filter:blur(3px);
  backdrop-filter:blur(3px);
}

/* Progress tracks: translucent with inset depth */
.pw,.pp-bar-wrap,.track{
  background:rgba(255,255,255,.07) !important;
  box-shadow:0 1px 2px rgba(0,0,0,.35) inset;
}

/* Tables: subtle translucent header/footer, keep rows readable */
.pt tfoot td{background:rgba(255,255,255,.04) !important}

/* Macro tabs / sub-tabs as glass chips (if present) */
.macro-tab{
  background:linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.02)) !important;
  border:1px solid rgba(255,255,255,.1) !important;
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
}

/* keep the pulsing live-dot and semantic colors fully intact (no override) */

/* ═══════════════════════════════════════════════════════════
   GLASS THEME v19r — plasma header/nav band + 3D glass tabs
   ═══════════════════════════════════════════════════════════ */

/* Header: defined plasma gradient strip */
.hdr{
  background:linear-gradient(115deg,#2a1147 0%,#5e1e78 24%,#9c2c6e 48%,#c85a34 74%,#e0912f 100%) !important;
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow:0 8px 26px -14px rgba(120,40,120,.6);
  position:relative;overflow:hidden;
}
/* soft sheen sweep across the header */
.hdr::after{
  content:"";position:absolute;top:-60%;left:-10%;width:60%;height:220%;
  background:linear-gradient(115deg,rgba(255,255,255,.16),transparent 60%);
  transform:rotate(10deg);pointer-events:none;
}
.htop{color:#fff !important;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.hsub{color:rgba(255,255,255,.7) !important}
.live-badge{background:rgba(255,255,255,.14) !important;border-color:rgba(255,255,255,.22) !important;color:rgba(255,255,255,.85) !important}

/* Nav bar: plasma-tinted glass flowing from the header */
.nav-menu{
  /* No backdrop-filter on this sticky bar: iOS Safari intermittently drops taps
     when a sticky element is also a backdrop-filter compositing layer. Use an
     opaque plasma-tinted gradient instead — visually near-identical, tap-reliable. */
  background:linear-gradient(180deg, rgba(58,22,78,.96), rgba(24,14,34,.97)) !important;
  border-bottom:1px solid rgba(255,255,255,.1) !important;
}

/* Nav tabs → 3D glass chips */
.nav-item{
  background:linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.03)) !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 4px 10px -6px rgba(0,0,0,.5) !important;
  color:rgba(255,255,255,.7) !important;
  transition:box-shadow .12s, background .15s, color .15s !important;
}
@media (hover:hover){
.nav-item:hover{
  background:linear-gradient(160deg, rgba(255,255,255,.15), rgba(255,255,255,.05)) !important;
  color:#fff !important;
  transform:translateY(-1px);
  box-shadow:0 1px 0 rgba(255,255,255,.35) inset, 0 7px 16px -6px rgba(0,0,0,.55) !important;
}
}
/* Active tab: brighter lit-glass, plasma-tinted */
.nav-item.active{
  background:linear-gradient(160deg, rgba(240,145,47,.30), rgba(156,44,110,.22)) !important;
  border-color:rgba(255,180,90,.5) !important;
  color:#ffd9a8 !important;
  box-shadow:0 1px 0 rgba(255,255,255,.4) inset, 0 0 16px -3px rgba(240,145,47,.4), 0 6px 14px -6px rgba(0,0,0,.5) !important;
}
/* Premium nav chip keeps its identity but in glass */
.nav-premium{
  background:linear-gradient(160deg, rgba(240,145,47,.35), rgba(200,60,52,.28)) !important;
  border-color:rgba(255,170,68,.6) !important;color:#ffcf9a !important;
}

/* ═══════════════════════════════════════════════════════════
   GLASS THEME v19s — extend coverage to remaining inner panels
   (Sentiment gauge area, calculator, network, halving timeline,
   whales tables, macro sub-cards) so the theme is uniform.
   ═══════════════════════════════════════════════════════════ */

/* Inner panels that still had #111/#161616 fills */
.fg-footer{border-top:1px solid rgba(255,255,255,.08) !important}
.gauge-lbl{color:rgba(255,255,255,.55) !important}
.calc-sub{color:rgba(255,255,255,.5) !important}
.calc-input-wrap{
  background:rgba(10,10,16,.55) !important;
  border:1px solid rgba(255,255,255,.12) !important;
  -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);
}
.crc,.crc-diff{
  background:rgba(10,10,16,.5) !important;
  border:1px solid rgba(255,255,255,.08) !important;
}
.crc-diff{border-color:rgba(34,197,94,.35) !important;background:rgba(5,46,22,.35) !important}

/* Halving timeline items + dots */
.ht-dot{border-color:rgba(10,10,16,.9) !important}
.ht-track-line{background:rgba(255,255,255,.1) !important}

/* Comparison mini-cards + chart placeholders */
.cmp-mini{ -webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px); }
.chart-placeholder{background:rgba(10,10,16,.45) !important;border:1px solid rgba(255,255,255,.06)}

/* Positions table chrome */
.pt th{border-bottom:1px solid rgba(255,255,255,.1) !important}
.pt td{border-bottom:1px solid rgba(255,255,255,.05) !important}

/* Sub-cards used across Network / Whales / Macro tabs */
.etf-sum-card,.miner-card,.holder-row,.saylor-card,.tax-row,.infl-row{
  background:rgba(10,10,16,.5) !important;
  border-color:rgba(255,255,255,.07) !important;
}

/* Generic catch: any inline-style #111 boxes rendered by JS inherit body glow;
   soften remaining hard-dark inner boxes */
.insight{color:rgba(255,255,255,.6) !important}

/* ═══════════════════════════════════════════════════════════
   GLASS THEME v19t — 3D glass season timeline + progress bars
   ═══════════════════════════════════════════════════════════ */

/* Season timeline segments → glassy chips (keep each season's own color,
   which the JS sets inline as background; layer glass sheen on top) */
.ss{
  position:relative;
  overflow:hidden;
  border-right:1px solid rgba(255,255,255,.1) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.22) inset, 0 -6px 12px -8px rgba(0,0,0,.5) inset;
}
.ss::after{
  content:"";position:absolute;top:0;left:0;right:0;height:50%;
  background:linear-gradient(180deg, rgba(255,255,255,.16), transparent);
  pointer-events:none;
}

/* Progress tracks → glass tubes with inset depth */
.pw,.pp-bar-wrap{
  background:rgba(255,255,255,.06) !important;
  box-shadow:0 1px 3px rgba(0,0,0,.5) inset, 0 1px 0 rgba(255,255,255,.06) !important;
  border-radius:20px !important;
}
/* Fills → glossy 3D highlight over the semantic color (JS sets the color inline) */
.pb,.pp-bar{
  position:relative;
  border-radius:20px !important;
  background-image:linear-gradient(180deg, rgba(255,255,255,.35), rgba(255,255,255,0) 45%, rgba(0,0,0,.15)) !important;
  background-blend-mode:overlay;
  box-shadow:0 1px 4px -1px rgba(0,0,0,.5);
}

/* v19u+ : Return comparison chart — glass panel behind the transparent canvas */
.cmp-chart-wrap{
  background:linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  padding:10px;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:0 1px 0 rgba(255,255,255,.14) inset, 0 8px 22px -14px rgba(0,0,0,.55);
}

/* v19w : Calculator result cards (.crc) + VS-advantage cards (.crc-diff) → full 3D glass.
   JS sets colored inline backgrounds; we layer real glass depth on top and keep a
   subtle color tint via the border + a translucent overlay. */
.crc, .crc-diff{
  position:relative;
  overflow:hidden;
  border-radius:14px !important;
  -webkit-backdrop-filter:blur(12px) saturate(1.15);
  backdrop-filter:blur(12px) saturate(1.15);
  background:linear-gradient(160deg, rgba(255,255,255,.09), rgba(255,255,255,.025)) !important;
  box-shadow:0 1px 0 rgba(255,255,255,.22) inset, 0 10px 26px -14px rgba(0,0,0,.6) !important;
}
/* top-edge light-catch */
.crc::before, .crc-diff::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);
  opacity:.55;pointer-events:none;
}
/* keep the green identity on the VS-advantage cards */
.crc-diff{
  border:1px solid rgba(34,197,94,.4) !important;
  background:linear-gradient(160deg, rgba(34,197,94,.14), rgba(34,197,94,.03)) !important;
}

/* v19x : Calculator-tab bar chart — glass panel behind the transparent canvas */
.calc-chart-wrap{
  background:linear-gradient(160deg, rgba(255,255,255,.05), rgba(255,255,255,.015)) !important;
  border:1px solid rgba(255,255,255,.1);
  border-radius:12px;
  padding:10px;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:0 1px 0 rgba(255,255,255,.14) inset, 0 8px 22px -14px rgba(0,0,0,.55);
}

/* v19y : Whales & ETF sub-cards (Miners / ETF Flows / Saylor) → 3D glass.
   Correct class names: .saylor-stat, .etf-sum-card, .miner-stat (+ bar tracks). */
.saylor-stat, .etf-sum-card, .miner-stat{
  position:relative;
  overflow:hidden;
  /* Dense data boxes: darker, more opaque base for text contrast + gentle frost. */
  background:rgba(12,12,20,.62) !important;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:12px !important;
  -webkit-backdrop-filter:blur(4px) saturate(1.05);
  backdrop-filter:blur(4px) saturate(1.05);
  box-shadow:0 1px 0 rgba(255,255,255,.1) inset, 0 8px 20px -14px rgba(0,0,0,.55) !important;
}
.saylor-stat::before, .etf-sum-card::before, .miner-stat::before{
  content:"";position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  opacity:.35;pointer-events:none;
}
/* bar tracks in these tabs → glass tubes */
.saylor-bar-wrap, .etf-bar-wrap, .miner-bar-wrap{
  background:rgba(255,255,255,.06) !important;
  box-shadow:0 1px 3px rgba(0,0,0,.5) inset !important;
}
/* the coloured pressure/status callout keeps its tint but gains glass depth */
.miner-pressure{
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  box-shadow:0 1px 0 rgba(255,255,255,.14) inset, 0 6px 18px -12px rgba(0,0,0,.5);
}

/* ══════════════════════════════════════════════════════════
   GO PREMIUM (v20j) — glassy logo lockup.
   Sampled from logo.png: amber #FF8500 · hot orange #FF5E00
   · petal crimson #ED1C24 · pure black type + lotus mark.
   Translucent + backdrop-blur so the plasma glow bleeds through.
   Diagonal flare (low-left → top-right) on BOTH buttons. No pulse.
   ══════════════════════════════════════════════════════════ */
.go-premium-btn{
  position:relative;
  display:inline-flex;align-items:center;gap:9px;
  padding:13px 22px;border-radius:12px;
  font-size:14.5px;font-weight:800;letter-spacing:.02em;
  text-decoration:none;white-space:nowrap;cursor:pointer;
  color:#000;overflow:hidden;
  background:linear-gradient(150deg,
    rgba(255,133,0,.90) 0%,
    rgba(255,94,0,.86) 48%,
    rgba(237,28,36,.82) 100%);
  border:1px solid rgba(255,205,140,.62);
  -webkit-backdrop-filter:blur(10px) saturate(1.18);
  backdrop-filter:blur(10px) saturate(1.18);
  box-shadow:
    0 1px 0 rgba(255,255,255,.6) inset,
    0 -10px 22px -14px rgba(0,0,0,.5) inset,
    0 0 20px -5px rgba(255,86,0,.7),
    0 6px 16px -8px rgba(0,0,0,.6);
  transition:box-shadow .15s, filter .15s, transform .08s;
}
/* glossy top-half sheen — the "glass" */
.go-premium-btn::before{
  content:"";position:absolute;left:0;right:0;top:0;height:52%;
  background:linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0));
  pointer-events:none;border-radius:12px 12px 40% 40%;
}
.go-premium-btn>span{position:relative;z-index:2}
.premium-mark{width:20px;height:20px;display:block;flex-shrink:0;position:relative;z-index:2}
.go-premium-btn:active{ transform:translateY(1px) scale(.985); }

@media (hover:hover){
  .go-premium-btn:hover{
    filter:brightness(1.07) saturate(1.05);
    box-shadow:
      0 1px 0 rgba(255,255,255,.7) inset,
      0 -10px 22px -14px rgba(0,0,0,.5) inset,
      0 0 28px -3px rgba(255,86,0,.85),
      0 9px 20px -8px rgba(0,0,0,.65);
  }
}

/* diagonal flare, low-left → top-right — on BOTH buttons */
.go-premium-btn::after{
  content:"";position:absolute;top:0;bottom:0;left:-30%;width:20%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.6),transparent);
  transform:skewX(-28deg);
  pointer-events:none;z-index:1;
  animation:premiumFlare 4.5s ease-in-out infinite;
}
@keyframes premiumFlare{
  0%   {left:-30%; opacity:0}
  8%   {opacity:1}
  55%  {left:118%; opacity:1}
  62%  {opacity:0}
  100% {left:118%; opacity:0}
}

/* HERO (comparison): full page width, taller, no pulse */
.go-premium-hero{
  display:flex;width:100%;justify-content:center;
  padding:18px 30px;font-size:16.5px;border-radius:14px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.62) inset,
    0 -12px 26px -16px rgba(0,0,0,.5) inset,
    0 0 30px -6px rgba(255,86,0,.78),
    0 0 52px -14px rgba(237,28,36,.5),
    0 8px 20px -8px rgba(0,0,0,.65);
}
.go-premium-hero::before{border-radius:14px 14px 40% 40%}
.go-premium-hero .premium-mark{width:23px;height:23px}
/* narrower + slower flare to suit the extra width */
.go-premium-hero::after{width:16%;animation-duration:5.4s}

@media (prefers-reduced-motion: reduce){
  .go-premium-btn::after{animation:none;opacity:0}
}
/* keep the calculator row aligned when the button sits beside the input */
.calc-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:18px}

/* v20h : Calculate button — neutral glass, so Go Premium stays the star */
.calc-btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:13px 22px;border-radius:11px;
  font-family:inherit;font-size:14.5px;font-weight:600;letter-spacing:.01em;
  white-space:nowrap;cursor:pointer;
  color:rgba(255,255,255,.88);
  background:linear-gradient(160deg, rgba(255,255,255,.12), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.18);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 6px 14px -8px rgba(0,0,0,.5);
  transition:background .15s, box-shadow .15s, color .15s, transform .08s;
}
.calc-btn:active{ transform:translateY(1px) scale(.985); }
@media (hover:hover){
  .calc-btn:hover{
    color:#fff;
    background:linear-gradient(160deg, rgba(255,255,255,.2), rgba(255,255,255,.07));
    box-shadow:0 1px 0 rgba(255,255,255,.35) inset, 0 8px 18px -8px rgba(0,0,0,.55);
  }
}

/* v20p : Swing indicator state icon — inherits the state colour via currentColor */
.swing-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:26px;height:26px;flex-shrink:0;
  filter:drop-shadow(0 0 6px currentColor);
  opacity:.95;
}
.swing-icon svg{width:100%;height:100%;display:block}

/* v20t : live-price marker on a completed monthly-target bar */
.tgt-now{
  position:absolute;
  top:-2px;
  bottom:-2px;
  width:2px;
  background:#fff;
  border-radius:2px;
  box-shadow:0 0 6px rgba(255,255,255,.9);
  pointer-events:none;
  transform:translateX(-1px);
  transition:left .8s ease;
}
.tgt-mark{
  position:absolute;
  top:-2px;
  bottom:-2px;
  width:0;
  border-left:2px dashed #f59e0b;
  pointer-events:none;
  transform:translateX(-1px);
  transition:left .8s ease;
}

/* ── Swings tab: segmented state bars ── */
.seg-wrap{margin:14px 0 10px}
.seg-title{font-size:12px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:8px}
/* keep .seg-bar/.seg for any legacy use, but Swings tab uses gradient spectrum below */
.seg-bar{display:grid;border-radius:8px;overflow:hidden;height:30px;border:1px solid #2a2a2a;margin-top:6px}
.seg{display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;border-right:1px solid rgba(255,255,255,.06);transition:opacity .25s ease}
.seg:last-child{border-right:none}
.seg-sub{font-size:10px;font-weight:600;opacity:.75;margin-left:5px}

/* ── Gradient spectrum bars (Swings tab) ── */
.gwrap{margin:16px 0 20px}
.gtitle{font-size:12px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.05em;margin-bottom:11px;display:flex;align-items:center}
.gbar{position:relative;height:12px;border-radius:6px;border:1px solid #2a2a2a;overflow:visible}
.gmark{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:15px;height:15px;border-radius:50%;background:#fff;border:2px solid #0a0a0a;box-shadow:0 0 0 1.5px rgba(255,255,255,.4),0 1px 4px rgba(0,0,0,.6);transition:left .5s ease}
.glabels{display:flex;justify-content:space-between;font-size:10px;color:#666;margin-top:8px;font-weight:600;gap:4px}
.glabels span{text-align:center;transition:all .2s}
.glabels span.active{color:#fff;font-weight:800}
/* input gauges (TradingView-style dials) */
.gauges{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px;margin-bottom:4px}
.gcell{text-align:center}
.gname{font-size:11px;font-weight:700;color:#9ca3af;text-transform:uppercase;letter-spacing:.03em;margin-bottom:2px}
.gcell canvas{width:100%;max-width:230px;height:auto}
.gstate-big{font-size:18px;font-weight:500;margin-top:-6px}
.gstate-big.strong{font-weight:800}
.swings-divider{border-top:1px solid #262626;margin:18px 0 4px}
/* consensus: clean bar, vivid red->green, stands out by colour */
.g-consensus{background:linear-gradient(90deg,#d40000 0%,#ff7a00 28%,#ffdd00 52%,#46c000 76%,#00c400 100%)}
.consensus .gbar{height:16px;border-radius:8px}
.consensus .gmark{width:18px;height:18px}
.consensus .gtitle{color:#c4b5fd;font-size:13px}
.consensus-badge{display:inline-block;background:#7c3aed;color:#fff;font-size:9px;font-weight:800;letter-spacing:.08em;padding:2px 8px;border-radius:5px;margin-right:9px}

/* v28f/v28g: trades grouped per month, each month a box -- the boxes, bands and rows are styled in trader.js */
#trades-content .mth-past:focus-visible{outline:2px solid #ff6a00;outline-offset:-2px}

/* v26l: crowding card */
.crowd-sub{font-size:11px;color:#888;line-height:1.45;margin-top:4px;min-height:16px}
.crowd-liq{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:132px;padding-top:6px}
.crowd-liq .px{font-size:30px;font-weight:800;color:#e8e8e8;line-height:1.1}
.crowd-liq .dist{font-size:13px;font-weight:700;margin-top:4px}
.crowd-liq .who{font-size:11px;color:#9ca3af;text-transform:uppercase;letter-spacing:.04em;margin-top:2px}
.crowd-liq .other{font-size:11px;color:#777;margin-top:10px}
.crowd-note{font-size:11px;color:#666;line-height:1.5;margin-top:14px;text-align:center}
.crowd-banner{display:block;margin:0 auto 14px;text-align:center;font-size:12px;font-weight:700;padding:8px 14px;border-radius:10px}
.crowd-banner.block{background:rgba(239,68,68,.12);color:#ef4444;border:1px solid rgba(239,68,68,.4)}
.crowd-banner.shadow{background:rgba(245,158,11,.12);color:#f59e0b;border:1px solid rgba(245,158,11,.4)}
.crowd-banner.ok{background:rgba(34,197,94,.10);color:#22c55e;border:1px solid rgba(34,197,94,.35)}
.crowd-ends{display:flex;justify-content:space-between;gap:6px;max-width:230px;margin:4px auto 6px;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;padding:0 4px;white-space:nowrap}
#section-risk ~ .card .gstate-big{margin-top:0}

/* v26r: liquidation range bar */
.liqwrap{width:100%;max-width:300px;margin:34px auto 0;text-align:left}
.liqbar{position:relative;height:14px;border-radius:7px;background:linear-gradient(90deg,#d40000 0%,#3a2a2a 35%,#2a2a2a 50%,#2a3a2a 65%,#00c400 100%)}
.liqmark{position:absolute;top:50%;width:18px;height:18px;border-radius:50%;background:#f5f5f5;border:3px solid #111;transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(255,255,255,.25)}
.liqends{display:flex;justify-content:space-between;margin-top:8px;font-size:11px;line-height:1.35;color:#9ca3af}
.liqend b{font-size:15px;color:#e8e8e8}
.liqend i{font-style:normal;font-size:10px;text-transform:uppercase;letter-spacing:.04em}
.liqend.l{text-align:left;color:#ef4444}.liqend.r{text-align:right;color:#22c55e}
.liqend.l b,.liqend.r b{color:#e8e8e8}
.liqnow{text-align:center;margin-top:8px;font-size:12px;color:#c8c8c8}
.liqnow b{color:#f5f5f5}

/* v26t: Smoke and Mirrors on phones -- one gauge per row, text kept inside */
.sm-gauges{grid-template-columns:repeat(3,minmax(0,1fr))}
.sm-gauges .gcell{min-width:0}
.sm-gauges .gstate-big{font-size:17px;overflow-wrap:anywhere}
.sm-gauges .crowd-sub{overflow-wrap:anywhere}
@media(max-width:640px){
  .sm-gauges{grid-template-columns:1fr;gap:22px}
  .sm-gauges .gcell canvas{max-width:230px}
  .sm-gauges .gstate-big{font-size:20px}
  .sm-gauges .crowd-sub{font-size:12px}
  .crowd-banner{font-size:12px;padding:8px 10px}
  .crowd-note{font-size:11px;text-align:left}
}


/* v26y: recent-buyers bar */
.sthbar-wrap{margin-top:8px}
.sthbar{position:relative;height:16px;border-radius:8px;background:linear-gradient(90deg,#22c55e 0%,#22c55e 10%,#2a2a2a 22%,#2a2a2a 78%,#f59e0b 90%,#ef4444 100%);border:1px solid #2a2a2a}
.sthmark{position:absolute;top:50%;width:18px;height:18px;border-radius:50%;background:#f5f5f5;border:3px solid #111;transform:translate(-50%,-50%);box-shadow:0 0 0 2px rgba(255,255,255,.25);transition:left .5s ease}
.sthtick{position:absolute;top:-4px;width:2px;height:24px;background:rgba(255,255,255,.18)}
.sthlabels{display:flex;justify-content:space-between;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:#777;margin-top:8px;gap:8px}
.sthlabels span:nth-child(2){font-size:16px;color:#e8e8e8;text-transform:none;letter-spacing:0}
@media(max-width:640px){.sthlabels{font-size:9px}}

/* v27b: zone-proximity line under the Smoke and Mirrors banner */
.crowd-zone{text-align:center;font-size:11px;color:#9ca3af;margin:-6px auto 14px;line-height:1.6}

/* v28u: the liquidation range bar and the liquidated-amounts bar (v27e, v28k) are gone: both are gauges now (see the end of this file) */

/* v28p: the compression cue (v27f) is gone with the 30-day frame */

/* v27r: limit-entry time bar under the consensus */
.limitbar{margin-top:12px}
.limitbar-track{position:relative;height:8px;border-radius:4px;background:#1a1a1a;border:1px solid #2a2a2a;overflow:hidden}
.limitbar-fill{height:100%;border-radius:4px;background:#7c3aed;transition:width 1s linear}
.limitbar.run .limitbar-fill{background:linear-gradient(90deg,#7c3aed,#a78bfa);animation:limitpulse 1.6s ease-in-out infinite}
.limitbar.done .limitbar-fill{background:#22c55e}
.limitbar.mkt .limitbar-fill{background:#f59e0b}
.limitbar.off .limitbar-fill{background:#555}
.limitbar-ticks{position:absolute;inset:0;display:flex;justify-content:space-evenly;pointer-events:none}
.limitbar-ticks span{width:1px;background:rgba(255,255,255,.18)}
.limitbar-txt{display:flex;justify-content:space-between;gap:10px;margin-top:6px;font-size:12px;line-height:1.4;color:#c4b5fd;font-weight:600}
.limitbar.done .limitbar-txt{color:#22c55e}
.limitbar.mkt .limitbar-txt{color:#f59e0b}
.limitbar.off .limitbar-txt{color:#888}
.limitbar-right{color:#9ca3af;font-weight:500;white-space:nowrap}
@keyframes limitpulse{0%,100%{opacity:1}50%{opacity:.7}}

/* v28c: trend bar and follow-through badge styles removed with the bar. */

/* v28m: one time frame for the Liquidations bars (v28n: two bars) */
.liqframe-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:0 0 14px}
.liqframe-tabs{display:flex;gap:6px}
.liqframe-tab{background:#141414;border:1px solid #262626;color:#9ca3af;font-size:13px;font-weight:700;padding:8px 16px;border-radius:999px;cursor:pointer;font-family:inherit;line-height:1;min-width:48px}
.liqframe-tab.on{background:#262626;border-color:#6b7280;color:#f5f5f5}
.liqframe-hint{font-size:10px;color:#555}
@media(max-width:640px){.liqframe-tab{padding:9px 14px;font-size:13px}.liqframe-hint{display:none}}

/* v28u: Swings now holds the time frames and three gauges of one form: [Liquidated amounts] [Exchange flows] [Liquidation range] (owner, 27 Oct 2026: "the two new gauges need to have the same form factor as the whale flows") */
.swing-gauges{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}
.swing-gauges .gcell{min-width:0}
.swing-gauges .gstate-big{font-size:17px;overflow-wrap:anywhere}
.gsub{font-size:11px;color:#6b7280;line-height:1.5;margin:8px auto 0;max-width:300px;padding:0 4px}
.gsub div+div{margin-top:4px}
.gsub b{color:#c8c8c8}
@media(max-width:640px){
  .swing-gauges{grid-template-columns:1fr;gap:24px}
  .swing-gauges .gstate-big{font-size:20px}
  .gsub{font-size:12px}
}
