/* GMI Competitive Intel Radar — shared theme (dark, visual-first) */
:root {
  color-scheme: dark;
  --bg: #0a0d14;
  --bg-2: #0f1320;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --surface-solid: #141927;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #8e8d86;
  --accent: #3987e5;
  --accent-2: #9085e9;
  --good: #5fd08f;
  --warn: #f0b545;
  --bad: #ff8a85;
  --radius: 16px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 14px; line-height: 1.5; color: var(--text);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(57,135,229,.18), transparent 60%),
    radial-gradient(900px 500px at 95% 0%, rgba(144,133,233,.16), transparent 60%),
    radial-gradient(800px 600px at 50% 110%, rgba(25,158,112,.10), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}
a { color: #86b6ef; text-decoration: none; }
a:hover { text-decoration: underline; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 22px; padding: 0 28px; height: 60px;
  background: rgba(10, 13, 20, 0.72); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.2px; white-space: nowrap; }
.logo { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff;
  background: conic-gradient(from 200deg, #3987e5, #9085e9, #d55181, #d95926, #3987e5); box-shadow: 0 0 18px rgba(144,133,233,.45); }
.brand small { color: var(--muted); font-weight: 500; }
.tabs { display: flex; gap: 4px; background: var(--surface); border: 1px solid var(--border); padding: 4px; border-radius: 12px; }
.tabs button { border: 0; background: none; padding: 6px 14px; border-radius: 8px; cursor: pointer; color: var(--text-2); font-weight: 550; }
.tabs button:hover { color: var(--text); }
.tabs button.active { color: #fff; background: linear-gradient(135deg, rgba(57,135,229,.55), rgba(144,133,233,.55)); box-shadow: 0 2px 12px rgba(57,135,229,.25); }
.spacer { flex: 1; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; border: 1px solid var(--border-strong);
  background: var(--surface); color: var(--text); cursor: pointer; white-space: nowrap; font-weight: 550; transition: background .15s, transform .15s; }
.btn:hover { background: var(--surface-2); text-decoration: none; transform: translateY(-1px); }
.btn.primary { border: 0; background: linear-gradient(135deg, #3987e5, #9085e9); color: #fff; box-shadow: 0 4px 16px rgba(57,135,229,.3); }
.btn.danger { color: var(--bad); }
.btn.sm { padding: 4px 10px; font-size: 12.5px; border-radius: 8px; }

/* ---------- layout ---------- */
.wrap { max-width: 1280px; margin: 0 auto; padding: 28px 28px 80px; }
.section { margin-top: 44px; }
.section-head { display: flex; align-items: flex-end; gap: 14px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.3px; }
.section-head p { margin: 0; color: var(--muted); font-size: 13px; }
.kicker { font-size: 11.5px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px 20px; backdrop-filter: blur(6px); min-width: 0; }
.card h3 { margin: 0 0 4px; font-size: 15px; letter-spacing: -.2px; }
.sub { color: var(--muted); font-size: 12.5px; margin-bottom: 12px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: 1fr 1fr; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.two { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 1050px) { .g4 { grid-template-columns: repeat(2, 1fr); } .g3, .g2, .two { grid-template-columns: 1fr; } .brand small { display: none; } }
.hidden { display: none !important; }
.muted { color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; border-radius: 22px; padding: 34px 36px 30px; border: 1px solid var(--border-strong);
  background:
    radial-gradient(600px 300px at 0% 0%, rgba(57,135,229,.35), transparent 70%),
    radial-gradient(500px 300px at 100% 0%, rgba(213,81,129,.28), transparent 70%),
    radial-gradient(600px 300px at 60% 120%, rgba(25,158,112,.25), transparent 70%),
    linear-gradient(180deg, #121829, #0d1120); }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 36px 36px; mask-image: linear-gradient(180deg, #000 0%, transparent 85%); }
.hero > * { position: relative; z-index: 1; }
.hero h1 { margin: 10px 0 8px; font-size: 32px; line-height: 1.15; letter-spacing: -.8px; max-width: 900px;
  background: linear-gradient(90deg, #fff, #cde2fb 60%, #c9c2ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { color: var(--text-2); font-size: 15px; max-width: 820px; margin: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 99px; font-size: 12px; font-weight: 600;
  background: rgba(255,255,255,.08); border: 1px solid var(--border); color: var(--text-2); white-space: nowrap; }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 0 rgba(95,208,143,.6); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95,208,143,.6); } 70% { box-shadow: 0 0 0 8px rgba(95,208,143,0); } 100% { box-shadow: 0 0 0 0 rgba(95,208,143,0); } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 26px; }
@media (max-width: 1050px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 16px 16px 14px; border-radius: 14px; background: rgba(0,0,0,.25); border: 1px solid var(--border); position: relative; overflow: hidden; }
.stat::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); box-shadow: 0 0 14px var(--c); }
.stat .v { font-size: 30px; font-weight: 800; letter-spacing: -1px; font-variant-numeric: tabular-nums; }
.stat .l { color: var(--text-2); font-size: 12.5px; line-height: 1.4; }

/* ---------- trend cards ---------- */
.trends { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 1150px) { .trends { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .trends { grid-template-columns: 1fr; } }
.trend { position: relative; border-radius: var(--radius); padding: 16px 16px 14px; cursor: pointer; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 22%, transparent), rgba(255,255,255,.02) 55%);
  border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); transition: transform .18s, box-shadow .18s; }
.trend:hover, .trend.open { transform: translateY(-3px); box-shadow: 0 10px 30px color-mix(in srgb, var(--c) 25%, transparent); }
.trend .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 17px; color: #fff; font-weight: 700;
  background: var(--c); box-shadow: 0 0 18px color-mix(in srgb, var(--c) 60%, transparent); }
.trend h3 { margin: 12px 0 4px; font-size: 15px; }
.trend p { margin: 0; color: var(--text-2); font-size: 12.5px; line-height: 1.45; }
.momentum { display: flex; gap: 3px; margin-top: 12px; align-items: center; }
.momentum i { width: 14px; height: 5px; border-radius: 3px; background: rgba(255,255,255,.12); }
.momentum i.on { background: var(--c); }
.momentum span { margin-left: 6px; font-size: 11px; color: var(--muted); }
.logos { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 10px; }
.mini { font-size: 10.5px; padding: 1px 7px; border-radius: 99px; background: rgba(0,0,0,.3); color: var(--text-2); border: 1px solid var(--border); }

.trend-detail { margin-top: 14px; border-radius: var(--radius); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent);
  background: linear-gradient(135deg, color-mix(in srgb, var(--c) 14%, transparent), rgba(255,255,255,.02)); padding: 18px 20px; animation: fadein .25s ease; }
@keyframes fadein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.td-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
@media (max-width: 900px) { .td-grid { grid-template-columns: 1fr; } }
.ev { display: grid; grid-template-columns: 62px 110px 1fr; gap: 10px; padding: 7px 0; border-top: 1px solid var(--border); font-size: 13px; align-items: baseline; }
.ev:first-child { border-top: 0; }
.ev .d { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; }
.ev .w { font-weight: 650; }
.so { padding: 12px 14px; border-radius: 12px; background: rgba(0,0,0,.25); border: 1px solid var(--border); margin-bottom: 10px; }
.so .k { font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }

/* ---------- charts ---------- */
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.axis-label { fill: var(--muted); font-size: 11px; }
.quad-label { fill: rgba(255,255,255,.28); font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.map-name { fill: var(--text); font-size: 11.5px; font-weight: 600; paint-order: stroke; stroke: #0d1120; stroke-width: 3px; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: var(--text-2); margin-top: 10px; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.tooltip { position: fixed; z-index: 60; pointer-events: none; display: none; max-width: 320px; padding: 10px 12px; border-radius: 10px; font-size: 12.5px;
  background: rgba(20,25,39,.96); border: 1px solid var(--border-strong); box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.tooltip .t { font-weight: 700; margin-bottom: 4px; }
.tooltip .r { color: var(--text-2); padding: 2px 0; }

/* dot matrix */
.matrix { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.matrix th { font-weight: 600; color: var(--text-2); padding: 6px 8px; white-space: nowrap; text-align: left; }
.matrix thead th { text-align: center; vertical-align: bottom; font-size: 11.5px; }
.matrix thead th .hd { display: inline-flex; flex-direction: column; align-items: center; gap: 4px; }
.matrix thead th .hd i { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 12px; }
.matrix td { text-align: center; height: 34px; border-top: 1px solid var(--border); }
.matrix tr:hover td, .matrix tr:hover th { background: rgba(255,255,255,.03); }
.bub { display: inline-block; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #0d1120, 0 0 12px color-mix(in srgb, var(--c) 55%, transparent); cursor: pointer; transition: transform .15s; }
.bub:hover { transform: scale(1.25); }

/* players */
.players { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 14px; }
.player { padding: 18px 20px; }
.player .top { display: flex; align-items: center; gap: 10px; }
.avatar { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; flex: none; }
.player h3 { margin: 0; }
.tagline { margin: 12px 0 10px; font-size: 15px; font-weight: 600; letter-spacing: -.2px; color: #fff; }
.tagline::before { content: "“"; color: var(--accent-2); } .tagline::after { content: "”"; color: var(--accent-2); }
.fromto { display: flex; align-items: center; gap: 8px; font-size: 12.5px; margin-bottom: 10px; flex-wrap: wrap; }
.fromto .a { padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,.06); color: var(--text-2); }
.fromto .b { padding: 3px 9px; border-radius: 8px; background: linear-gradient(135deg, rgba(57,135,229,.35), rgba(144,133,233,.35)); color: #fff; font-weight: 600; }
.fromto .arr { color: var(--accent-2); font-weight: 800; }
.threat { display: grid; grid-template-columns: 96px 1fr; gap: 6px 10px; align-items: center; font-size: 12px; color: var(--text-2); margin: 10px 0; }
.meter { display: flex; gap: 3px; }
.meter i { flex: 1; height: 7px; border-radius: 3px; background: rgba(255,255,255,.08); }
.meter.l1 i:nth-child(-n+1), .meter.l2 i:nth-child(-n+2), .meter.l3 i:nth-child(-n+3) { background: linear-gradient(90deg, #f0b545, #e66767); }
.read { font-size: 13px; color: var(--text-2); border-left: 2px solid var(--accent-2); padding-left: 10px; margin-top: 8px; }
.moves { list-style: none; margin: 12px 0 0; padding: 0; }
.moves li { font-size: 12.5px; padding: 6px 0; border-top: 1px solid var(--border); display: flex; gap: 8px; cursor: pointer; }
.moves li:hover { color: #fff; }
.moves li .d { color: var(--muted); font-variant-numeric: tabular-nums; flex: none; }
.moves li .tdot { width: 7px; height: 7px; border-radius: 50%; flex: none; margin-top: 6px; }

/* messaging + playbook + watch */
.claim { display: grid; grid-template-columns: 210px 1fr; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--border); }
.claim:first-child { border-top: 0; }
.claim b { font-size: 16px; }
.claim .n { font-size: 12px; color: var(--muted); margin-top: 4px; }
.play { counter-reset: p; list-style: none; padding: 0; margin: 0; }
.play li { counter-increment: p; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13.5px; }
.play li:first-child { border-top: 0; }
.play li::before { content: counter(p); width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 12px; color: #fff; background: var(--c); }
.pb-card { border-top: 3px solid var(--c); }
.watch { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 1050px) { .watch { grid-template-columns: repeat(2, 1fr); } }
.watch .card { padding: 14px 16px; }
.watch .date { font-size: 12px; font-weight: 700; color: #86b6ef; letter-spacing: .5px; }
.watch .what { font-weight: 650; margin: 4px 0 2px; }

/* day-0 race */
.race { position: relative; height: 150px; margin-top: 8px; }
.race .track { position: absolute; left: 0; right: 0; top: 64px; height: 2px; background: linear-gradient(90deg, #3987e5, #d55181); }
.race .tick { position: absolute; top: 76px; font-size: 11px; color: var(--muted); transform: translateX(-50%); }
.race .host { position: absolute; transform: translateX(-50%); text-align: center; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.race .host i { display: block; width: 12px; height: 12px; margin: 4px auto; border-radius: 50%; background: #fff; box-shadow: 0 0 10px #86b6ef; }

/* ---------- feed / filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.seg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 3px; }
.seg button { border: 0; background: none; padding: 5px 11px; border-radius: 7px; cursor: pointer; color: var(--text-2); white-space: nowrap; font-weight: 550; }
.seg button.active { background: rgba(57,135,229,.3); color: #fff; }
select, input[type=search], input[type=text], input[type=url], input[type=date], textarea {
  background: var(--surface-solid); border: 1px solid var(--border-strong); border-radius: 10px; padding: 6px 11px; min-height: 34px; color: var(--text); }
textarea { width: 100%; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.tchip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 99px; cursor: pointer; font-size: 12.5px; font-weight: 600;
  border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-2); }
.tchip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.tchip.on { background: color-mix(in srgb, var(--c) 28%, transparent); border-color: var(--c); color: #fff; }
.feed { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (max-width: 900px) { .feed { grid-template-columns: 1fr; } }
.fitem { padding: 14px 16px 14px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.fitem::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--c); }
.fitem .meta { display: flex; gap: 8px; align-items: center; font-size: 12px; color: var(--muted); margin-bottom: 6px; flex-wrap: wrap; }
.fitem .meta b { color: var(--text); font-size: 12.5px; }
.fitem .ttl { font-weight: 650; font-size: 14px; line-height: 1.4; color: #fff; }
.fitem .why { color: var(--text-2); font-size: 13px; margin-top: 6px; }
.imp { font-size: 10.5px; font-weight: 750; letter-spacing: .6px; padding: 1px 7px; border-radius: 6px; text-transform: uppercase; }
.imp.High { background: rgba(230,103,103,.18); color: #ff9b97; }
.imp.Medium { background: rgba(240,181,69,.15); color: #f0c46a; }
.imp.Low { background: rgba(255,255,255,.07); color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }

/* ---------- admin shared ---------- */
.banner { display: flex; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: rgba(240,181,69,.12); border: 1px solid rgba(240,181,69,.35); margin-bottom: 16px; }
.banner b { color: var(--warn); }
table.data { width: 100%; border-collapse: collapse; font-size: 13px; }
table.data th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px; padding: 9px 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
table.data td { padding: 10px 8px; border-bottom: 1px solid var(--border); vertical-align: top; }
.num { text-align: right; font-variant-numeric: tabular-nums; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; border-radius: 99px; font-size: 11.5px; font-weight: 600; background: rgba(255,255,255,.07); color: var(--text-2); white-space: nowrap; }
.badge.ok { background: rgba(95,208,143,.15); color: var(--good); }
.range-label { color: var(--muted); font-size: 12.5px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); background: #fff; color: #0a0d14; font-weight: 600; padding: 9px 16px; border-radius: 10px; z-index: 70; display: none; font-size: 13px; }
.foot { color: var(--muted); font-size: 12px; margin-top: 44px; text-align: center; }

/* ---------- lens views (product / marketing) ---------- */
.lens-hero { position: relative; overflow: hidden; border-radius: 22px; padding: 28px 32px; border: 1px solid var(--border-strong);
  background: radial-gradient(520px 260px at 0% 0%, color-mix(in srgb, var(--c1) 40%, transparent), transparent 70%),
              radial-gradient(520px 260px at 100% 100%, color-mix(in srgb, var(--c2) 32%, transparent), transparent 70%),
              linear-gradient(180deg, #121829, #0d1120); }
.lens-hero h1 { margin: 8px 0 6px; font-size: 26px; letter-spacing: -.6px; }
.lens-hero .lede { color: var(--text-2); max-width: 760px; margin: 0; }
.takeaways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.takeaways.five { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 1100px) { .takeaways, .takeaways.five { grid-template-columns: 1fr 1fr; } }
.tk { padding: 14px 16px; border-radius: 14px; background: rgba(0,0,0,.28); border: 1px solid var(--border); font-size: 13px; color: var(--text-2); line-height: 1.45; }
.tk b { display: block; font-size: 11px; letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 6px; color: var(--kc, #c9c2ff); }

.capgrid { width: 100%; border-collapse: collapse; font-size: 13px; }
.capgrid td { padding: 9px 8px; border-top: 1px solid var(--border); vertical-align: middle; }
.capgrid tr.grp td { border-top: 0; padding-top: 20px; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; font-weight: 750; color: var(--gc); }
.capgrid .nm { font-weight: 600; color: #fff; width: 280px; }
.adopt { display: flex; gap: 3px; }
.adopt i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.08); }
.adopt i.on { background: var(--sc); box-shadow: 0 0 6px color-mix(in srgb, var(--sc) 70%, transparent); }
.status { font-size: 11px; font-weight: 750; padding: 2px 9px; border-radius: 99px; white-space: nowrap; color: var(--sc); background: color-mix(in srgb, var(--sc) 16%, transparent); border: 1px solid color-mix(in srgb, var(--sc) 40%, transparent); }
.who { display: flex; flex-wrap: wrap; gap: 4px; }
.who a { font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: rgba(255,255,255,.06); border: 1px solid var(--border); color: var(--text-2); }
.who a:hover { color: #fff; border-color: var(--border-strong); text-decoration: none; }

.lines-mini { display: grid; grid-template-columns: 74px 1fr 18px; gap: 3px 8px; align-items: center; font-size: 11.5px; color: var(--muted); min-width: 200px; }
.lines-mini .bar { height: 6px; border-radius: 3px; background: rgba(255,255,255,.06); overflow: hidden; }
.lines-mini .bar span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #3987e5, #9085e9); }
.lines-mini .n { color: var(--text-2); text-align: right; font-variant-numeric: tabular-nums; }

.tacgrid { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12.5px; }
.tacgrid th { font-weight: 600; color: var(--text-2); padding: 6px 6px; white-space: nowrap; text-align: left; }
.tacgrid thead th { text-align: center; vertical-align: bottom; font-size: 11px; line-height: 1.25; white-space: normal; min-width: 76px; }
.tacgrid thead th i { display: grid; place-items: center; width: 26px; height: 26px; margin: 0 auto 5px; border-radius: 8px; font-style: normal; font-size: 13px; color: #fff;
  background: linear-gradient(135deg, #9085e9, #d55181); }
.tacgrid td { text-align: center; height: 34px; border-top: 1px solid var(--border); }
.tacgrid tr:hover td, .tacgrid tr:hover th { background: rgba(255,255,255,.03); }
.tdotm { display: inline-block; width: 14px; height: 14px; border-radius: 50%; cursor: pointer; background: radial-gradient(circle at 35% 35%, #e3ddff, #9085e9 60%);
  box-shadow: 0 0 10px rgba(144,133,233,.7); transition: transform .15s; }
.tdotm:hover { transform: scale(1.3); }
.tcount { font-weight: 700; color: #fff; font-variant-numeric: tabular-nums; }

.stories { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.story { padding: 16px 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.story::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c) 35%, transparent), transparent 70%); pointer-events: none; }
.story .head { display: flex; align-items: center; gap: 10px; }
.story .tl { font-size: 12px; color: var(--muted); margin-top: 10px; }
.story .st { font-size: 15px; font-weight: 650; color: #fff; line-height: 1.35; margin: 4px 0 10px; letter-spacing: -.2px; }
