/* PropsDNA design system — navy #021128 + our green ramp (deep emerald -> mint -> lime). Mobile first. */
:root {
  --bg: #021128;
  --bg-2: #04163a;
  --bg-3: #072049;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(150, 190, 255, 0.10);
  --border-2: rgba(150, 190, 255, 0.18);
  --text: #eaf2ff;
  --muted: #94a8c8;
  --dim: #64789a;
  --em-950: #022c22;
  --em-900: #064e3b;
  --em-700: #047857;
  --em-500: #10b981;
  --green: #22c55e;
  --mint: #5eead4;
  --mint-2: #6ee7b7;
  --lime: #a3e635;
  --red: #fb7185;
  --red-d: #e11d48;
  --amber: #fbbf24;
  --grad: linear-gradient(92deg, #10b981 0%, #22c55e 45%, #a3e635 100%);
  --glow: 0 0 0 1px rgba(110, 231, 183, 0.18), 0 10px 40px -12px rgba(34, 197, 94, 0.35);
  --r: 16px;
  --r-sm: 10px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-d: "Space Grotesk", "Manrope", system-ui, sans-serif;
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 12px 32px -18px rgba(0, 0, 0, 0.8);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font: 15px/1.5 var(--font);
  font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  background-image:
    radial-gradient(900px 500px at 85% -10%, rgba(16, 185, 129, 0.13), transparent 60%),
    radial-gradient(700px 420px at -10% 10%, rgba(163, 230, 53, 0.06), transparent 60%),
    radial-gradient(1200px 600px at 50% 120%, rgba(7, 32, 73, 0.9), transparent 70%);
  background-attachment: fixed;
}
a { color: var(--mint-2); text-decoration: none; }
a:hover { color: var(--lime); }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.num { font-family: var(--font-d); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }

/* ---------- header ---------- */
.hdr { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  background: rgba(2, 17, 40, 0.78); border-bottom: 1px solid var(--border); }
.hdr .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.logo { display: flex; align-items: center; flex: none; }
.logo img { height: 26px; width: auto; }
.nav { display: none; gap: 4px; margin-left: 8px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: color .15s, background .15s; }
.nav a:hover { color: var(--text); background: var(--surface-2); }
.nav a[aria-current="page"] { color: var(--text); background: linear-gradient(180deg, rgba(34, 197, 94, 0.16), rgba(34, 197, 94, 0.06)); box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.22); }
.hdr .sp { flex: 1; }
.pill-date { font-size: 13px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.pill-date b { color: var(--text); font-weight: 700; }
.cta-sm { display: none; font-weight: 700; font-size: 14px; color: #03221a; background: var(--grad); padding: 8px 14px; border-radius: 999px; box-shadow: 0 6px 24px -8px rgba(34, 197, 94, 0.6); }
.cta-sm:hover { color: #03221a; filter: brightness(1.08); }

/* bottom tab bar (mobile) */
.tabbar { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(3, 19, 45, 0.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--border);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--dim); padding: 4px 0; border-radius: 10px; }
.tabbar a svg { width: 22px; height: 22px; }
.tabbar a[aria-current="page"] { color: var(--mint-2); }
.tabbar a[aria-current="page"] svg { filter: drop-shadow(0 0 8px rgba(110, 231, 183, 0.5)); }

/* ---------- footer ---------- */
.ftr { margin-top: 56px; border-top: 1px solid var(--border); padding: 28px 0 calc(96px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 13.5px; }
.ftr .wrap { display: grid; gap: 14px; }
.ftr .rg { display: flex; gap: 10px; align-items: flex-start; color: var(--text); font-weight: 600; }
.ftr .rg .b18 { flex: none; font-family: var(--font-d); font-weight: 700; font-size: 12px; border: 1.5px solid var(--amber); color: var(--amber); border-radius: 999px; padding: 1px 7px; }
.ftr nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.ftr nav a { color: var(--muted); }
.ftr nav a:hover { color: var(--text); }
.ftr small { color: var(--dim); }

/* ---------- generic ---------- */
main { padding-top: 18px; }
h1, h2, h3 { font-family: var(--font-d); letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
h1 { font-size: 28px; font-weight: 700; }
h2 { font-size: 19px; font-weight: 700; }
h3 { font-size: 15px; font-weight: 700; }
.grad-t { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018)); border: 1px solid var(--border); border-radius: var(--r); box-shadow: var(--shadow); }
.card-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px 10px; }
.card-b { padding: 4px 16px 16px; }
.eyebrow { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  color: var(--muted); font-weight: 600; font-size: 13.5px; cursor: pointer; white-space: nowrap; transition: all .15s ease; user-select: none; }
.chip:hover { color: var(--text); border-color: var(--border-2); }
.chip[aria-pressed="true"], .chip.on { color: #032018; background: var(--grad); border-color: transparent; box-shadow: 0 4px 18px -6px rgba(34, 197, 94, 0.55); }
.chip .ct { font-size: 11px; font-weight: 800; background: rgba(2, 17, 40, 0.85); color: var(--lime); border-radius: 999px; padding: 1px 7px; }
.chip.on .ct { background: rgba(2, 17, 40, 0.9); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 1px 4px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.chips::-webkit-scrollbar { display: none; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--text); font-weight: 700; font-size: 14px; cursor: pointer; transition: all .15s; }
.btn:hover { border-color: rgba(110, 231, 183, 0.4); color: var(--text); }
.btn-p { background: var(--grad); color: #032018; border: 0; box-shadow: 0 8px 28px -10px rgba(34, 197, 94, 0.7); }
.btn-p:hover { color: #032018; filter: brightness(1.07); }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; filter: none; }
.btn-g { background: transparent; border-color: transparent; color: var(--muted); }
.inp { height: 40px; width: 100%; border-radius: 12px; border: 1px solid var(--border); background: rgba(2, 12, 30, 0.6); padding: 0 12px; color: var(--text); transition: border-color .15s, box-shadow .15s; }
.inp:focus { outline: none; border-color: rgba(110, 231, 183, 0.5); box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.15); }
select.inp { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 12px) 18px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.search { position: relative; }
.search svg { position: absolute; left: 12px; top: 11px; width: 18px; height: 18px; color: var(--dim); pointer-events: none; }
.search .inp { padding-left: 38px; }

.tone-good { color: var(--mint-2); }
.tone-mid { color: var(--amber); }
.tone-bad { color: var(--red); }
.bg-good { background: rgba(16, 185, 129, 0.14); color: var(--mint-2); box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.22); }
.bg-mid { background: rgba(251, 191, 36, 0.12); color: var(--amber); box-shadow: inset 0 0 0 1px rgba(251, 191, 36, 0.22); }
.bg-bad { background: rgba(251, 113, 133, 0.12); color: var(--red); box-shadow: inset 0 0 0 1px rgba(251, 113, 133, 0.22); }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; white-space: nowrap; }
.tag-ref { color: var(--amber); border: 1px dashed rgba(251, 191, 36, 0.5); padding: 0 6px; font-size: 10.5px; text-transform: uppercase; letter-spacing: .04em; }
.tag-st { background: rgba(251, 113, 133, 0.14); color: var(--red); }

/* ---------- hero ---------- */
.hero { display: grid; gap: 16px; padding: 10px 0 18px; }
.hero h1 { font-size: 28px; }
.hero p { margin: 6px 0 0; color: var(--muted); max-width: 640px; font-size: 14px; }
.hero h1 { font-size: 26px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { position: relative; overflow: hidden; padding: 10px 10px; border-radius: 14px; border: 1px solid var(--border); background: linear-gradient(160deg, rgba(16, 185, 129, 0.08), rgba(255, 255, 255, 0.015) 55%); }
.tile::after { content: ""; position: absolute; inset: auto -30% -60% auto; width: 120px; height: 120px; background: radial-gradient(circle, rgba(163, 230, 53, 0.14), transparent 70%); }
.tile .v { font-family: var(--font-d); font-size: 19px; font-weight: 700; line-height: 1.1; }
.tile .l { font-size: 11px; color: var(--muted); font-weight: 600; line-height: 1.25; }
.tile .s { display: none; font-size: 11.5px; color: var(--dim); }

.banner { line-height: 1.45; display: flex; gap: 10px; align-items: flex-start; padding: 11px 14px; border-radius: 12px; font-size: 13.5px; color: var(--muted); border: 1px dashed rgba(251, 191, 36, 0.35); background: rgba(251, 191, 36, 0.05); }
.banner b { color: var(--text); }
.banner .dot { flex: none; width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.banner.ok { border: 1px solid rgba(110, 231, 183, 0.3); background: rgba(16, 185, 129, 0.06); }
.banner.ok .dot { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- board toolbar ---------- */
.toolbar { display: grid; gap: 10px; margin: 16px 0 12px; }
.tb-row { display: flex; gap: 8px; align-items: center; }
.tb-row .search { flex: 1; min-width: 0; }
.fbtn { position: relative; }
.fbtn .badge { position: absolute; top: -6px; right: -6px; min-width: 19px; height: 19px; border-radius: 999px; background: var(--lime); color: #142200; font-size: 11px; font-weight: 800; display: grid; place-items: center; padding: 0 5px; box-shadow: 0 0 12px rgba(163, 230, 53, 0.6); }
.games { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.games::-webkit-scrollbar { display: none; }
.gchip { flex: none; display: flex; gap: 6px; align-items: center; padding: 6px 12px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 700; color: var(--text); transition: all .15s; }
.gchip .at { color: var(--dim); font-weight: 600; }
.gchip:hover { border-color: var(--border-2); }
.gchip[aria-pressed="true"] { border-color: rgba(110, 231, 183, 0.55); background: rgba(16, 185, 129, 0.12); box-shadow: var(--glow); }
.meta-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); margin: 4px 0 10px; }
.meta-row .inp { height: 34px; width: auto; font-size: 13px; padding-right: 28px; background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; font-size: 13.5px; color: var(--muted); user-select: none; }
.toggle input { appearance: none; width: 36px; height: 20px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--border-2); position: relative; cursor: pointer; transition: background .15s; margin: 0; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--muted); transition: transform .18s, background .18s; }
.toggle input:checked { background: rgba(34, 197, 94, 0.35); border-color: rgba(110, 231, 183, 0.6); }
.toggle input:checked::after { transform: translateX(16px); background: var(--lime); }
.toggle:has(input:checked) { color: var(--text); }
.reset { color: var(--lime); font-weight: 700; font-size: 13px; background: none; border: 0; cursor: pointer; padding: 4px 2px; }

/* filter drawer */
.drawer { display: none; margin: 0 0 14px; padding: 16px; }
.drawer.open { display: block; animation: drop .18s ease; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.fgrid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.fld { display: grid; gap: 6px; min-width: 0; }
.fld > span { font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .02em; }
.fld .hint { font-size: 11.5px; color: var(--dim); font-weight: 500; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg { display: inline-flex; gap: 4px; padding: 3px; border-radius: 12px; background: rgba(2, 12, 30, 0.6); border: 1px solid var(--border); flex-wrap: wrap; }
.seg button { border: 0; background: none; color: var(--muted); font-weight: 700; font-size: 13px; padding: 6px 11px; border-radius: 9px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.3); }
.fdis { opacity: .5; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }
.preset { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--border-2); border-radius: 999px; font-size: 13px; font-weight: 600; overflow: hidden; }
.preset button { background: none; border: 0; cursor: pointer; padding: 5px 4px 5px 11px; color: var(--text); }
.preset button + button { padding: 5px 9px 5px 4px; color: var(--dim); }

/* ---------- prop list ---------- */
.list-h { display: none; }
.rows { display: grid; gap: 10px; }
.row { position: relative; border-radius: var(--r); border: 1px solid var(--border); background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)); transition: border-color .18s, box-shadow .18s, transform .18s; }
.row:hover { border-color: var(--border-2); }
.row.open { border-color: rgba(110, 231, 183, 0.35); box-shadow: var(--glow); }
.row.all::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .55; pointer-events: none; }
.rmain { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "av who star" "av prop prop" "bars bars bars"; gap: 4px 12px; align-items: center; padding: 12px 12px 12px 14px; cursor: pointer; }
.rmain .av { grid-area: av; }
.av { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 30% 20%, #0f3b5a, #06203f); border: 1px solid var(--border-2); position: relative; display: grid; place-items: center; font-family: var(--font-d); font-weight: 700; color: var(--mint-2); font-size: 14px; }
.av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 12%; transform: scale(1.25) translateY(8%); }
.who { grid-area: who; min-width: 0; }
.who .nm { font-weight: 700; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: flex; align-items: center; gap: 6px; }
.who .nm a { color: var(--text); }
.who .nm a:hover { color: var(--lime); }
.who .mt { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prop { grid-area: prop; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-width: 0; }
.prop .mk { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.side { font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; }
.side.over { background: rgba(16, 185, 129, 0.16); color: var(--mint-2); }
.side.under { background: rgba(251, 113, 133, 0.14); color: var(--red); }
.proj { display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--muted); }
.proj b { font-family: var(--font-d); color: var(--text); font-size: 15px; }
.edge { font-family: var(--font-d); font-weight: 700; font-size: 13.5px; padding: 3px 9px; border-radius: 999px; }
.edge.pos { background: rgba(16, 185, 129, 0.15); color: var(--mint-2); }
.edge.neg { background: rgba(251, 113, 133, 0.13); color: var(--red); }
.cellbars { grid-area: bars; display: flex; align-items: center; gap: 12px; justify-content: space-between; padding-top: 6px; }
.l10 { display: flex; align-items: center; gap: 8px; min-width: 0; }
.l10 .rate { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.l10 .rate b { font-family: var(--font-d); color: var(--text); font-size: 13.5px; }
.mini { width: 104px; height: 30px; flex: none; }
.mini .o { fill: url(#gOver); }
.mini .u { fill: rgba(251, 113, 133, 0.75); }
.mini .p { fill: #5d7193; }
.mini .ln { stroke: rgba(234, 242, 255, 0.55); stroke-dasharray: 2 2; stroke-width: 1; }
.badges { display: flex; align-items: center; gap: 6px; }
.grade { white-space: nowrap; display: grid; place-items: center; min-width: 34px; height: 26px; border-radius: 8px; font-family: var(--font-d); font-weight: 700; font-size: 13.5px; padding: 0 6px; }
.chk { white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-d); font-weight: 700; font-size: 12.5px; padding: 3px 8px; border-radius: 8px; background: var(--surface-2); color: var(--muted); }
.chk.full { background: var(--grad); color: #032018; box-shadow: 0 0 16px -4px rgba(163, 230, 53, 0.7); }
.star { grid-area: star; width: 36px; height: 36px; border-radius: 10px; border: 1px solid transparent; background: none; cursor: pointer; color: var(--dim); display: grid; place-items: center; transition: color .15s, background .15s; }
.star:hover { color: var(--amber); background: var(--surface-2); }
.star[aria-pressed="true"] { color: var(--amber); }
.star svg { width: 20px; height: 20px; }
.star[aria-pressed="true"] svg { fill: currentColor; filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.5)); }
.chev { display: none; color: var(--dim); transition: transform .2s; }
.row.open .chev { transform: rotate(180deg); color: var(--mint-2); }

/* expand */
.rexp { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .25s ease; }
.row.open .rexp { grid-template-rows: 1fr; }
.rexp > div { overflow: hidden; }
.xin { border-top: 1px solid var(--border); padding: 14px; display: grid; gap: 12px; }
.xgrid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.xbox { border-radius: 12px; background: rgba(2, 12, 30, 0.45); border: 1px solid var(--border); padding: 12px; min-width: 0; }
.xbox h4 { margin: 0 0 8px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 800; display: flex; justify-content: space-between; gap: 8px; }
.hrs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hr { text-align: center; border-radius: 10px; padding: 7px 2px; background: var(--surface); }
.hr .k { font-size: 10.5px; color: var(--dim); font-weight: 800; letter-spacing: .05em; }
.hr .p { font-family: var(--font-d); font-weight: 700; font-size: 15px; }
.hr .f { font-size: 11px; color: var(--muted); }
.kv { display: grid; grid-template-columns: 1fr auto; gap: 5px 12px; font-size: 13px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; text-align: right; font-family: var(--font-d); font-weight: 600; }
.cl { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13px; }
.cl li { display: grid; grid-template-columns: 20px 1fr auto; gap: 8px; align-items: center; }
.cl .ic { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; }
.cl .ok .ic { background: rgba(16, 185, 129, 0.2); color: var(--mint-2); }
.cl .no .ic { background: rgba(251, 113, 133, 0.16); color: var(--red); }
.cl small { color: var(--dim); font-size: 11.5px; text-align: right; }
.ins { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.ins li { display: flex; gap: 8px; align-items: flex-start; }
.ins li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: 7px; background: var(--muted); }
.ins li.good::before { background: var(--green); box-shadow: 0 0 8px var(--green); }
.ins li.bad::before { background: var(--red); }
.acc { display: flex; align-items: baseline; gap: 8px; }
.acc .big { font-family: var(--font-d); font-size: 26px; font-weight: 700; }
.warn { color: var(--amber); font-size: 12px; font-weight: 600; }
.xfoot { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; align-items: center; }
.bk { width: 100%; border-collapse: collapse; font-size: 13px; }
.bk th { text-align: left; font-size: 11px; color: var(--dim); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 6px; }
.bk td { padding: 7px 6px; border-top: 1px solid var(--border); font-family: var(--font-d); }
.bk td.best { color: var(--mint-2); font-weight: 700; }
.bk td.bestu { color: var(--red); font-weight: 700; }
.soon { font-size: 13px; color: var(--muted); }
.more { display: flex; justify-content: center; margin: 16px 0; }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty h3 { color: var(--text); margin-bottom: 6px; font-size: 17px; }
.skel { height: 108px; border-radius: var(--r); background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 200% 100%; animation: sh 1.3s infinite linear; }
@keyframes sh { to { background-position: -200% 0; } }

/* ---------- player page ---------- */
.ph { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 8px 0 14px; }
.ph .av { width: 84px; height: 84px; font-size: 24px; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.08), 0 0 40px -10px rgba(34, 197, 94, 0.45); }
.ph h1 { font-size: 26px; }
.ph h1 { overflow-wrap: anywhere; }
.ph .mt { color: var(--muted); font-size: 14px; margin-top: 4px; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 12px 0; }
.stat { padding: 12px 14px; border-radius: 14px; border: 1px solid var(--border); background: var(--surface); }
.stat .l { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--dim); }
.stat .v { font-family: var(--font-d); font-size: 22px; font-weight: 700; display: flex; align-items: baseline; gap: 6px; }
.stat .v small { font-size: 12px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.chart { width: 100%; height: 250px; display: block; }
.chart .ax { fill: var(--dim); font-size: 10.5px; font-family: var(--font); }
.chart .val { fill: var(--text); font-size: 11px; font-weight: 700; font-family: var(--font-d); }
.chart .grid { stroke: rgba(150, 190, 255, 0.07); }
.chart .ln { stroke: var(--lime); stroke-width: 1.5; stroke-dasharray: 5 4; }
.chart .lnl { fill: var(--lime); font-size: 11px; font-weight: 800; font-family: var(--font-d); }
.chart .bo { fill: url(#cgOver); }
.chart .bu { fill: url(#cgUnder); }
.chart .bp { fill: #5d7193; }
.chart rect { transition: opacity .15s; }
.chart g.b:hover rect { opacity: .82; }
.wins { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 10px; }
.win { border: 1px solid var(--border); background: var(--surface); border-radius: 12px; padding: 7px 4px; text-align: center; cursor: pointer; color: var(--text); }
.win .k { font-size: 11px; font-weight: 800; color: var(--dim); letter-spacing: .05em; }
.win .p { font-family: var(--font-d); font-weight: 700; font-size: 15px; display: block; }
.win[aria-pressed="true"] { border-color: rgba(110, 231, 183, 0.55); background: rgba(16, 185, 129, 0.12); box-shadow: var(--glow); }
.pgrid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; }
.cflt { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }
.dtab { width: 100%; border-collapse: collapse; font-size: 13px; }
.dtab th { font-size: 11px; color: var(--dim); font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 6px 4px; text-align: right; }
.dtab th:first-child, .dtab td:first-child { text-align: left; }
.dtab td { padding: 7px 4px; border-top: 1px solid var(--border); text-align: right; font-family: var(--font-d); }
.dtab tr.me td { background: rgba(16, 185, 129, 0.07); }
.dtab .rk { font-size: 11px; font-weight: 700; margin-left: 4px; }
.calc { display: flex; gap: 8px; align-items: center; }
.calc .inp { width: 110px; }
.calc-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.lchart { width: 100%; height: 160px; }
.lchart .l { fill: none; stroke: var(--mint-2); stroke-width: 2; }
.lchart .d { fill: var(--lime); }
.scroll-x { overflow-x: auto; }

/* ---------- markets ---------- */
.mgrid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.lb { list-style: none; margin: 0; padding: 0; }
.lb li { display: grid; grid-template-columns: 36px 1fr auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--border); }
.lb li:first-child { border-top: 0; }
.lb .av { width: 36px; height: 36px; font-size: 12px; }
.lb .nm { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb .nm a { color: var(--text); }
.lb .sub { font-size: 12px; color: var(--muted); }
.lb .val { text-align: right; font-family: var(--font-d); font-weight: 700; }
.lb .val small { display: block; font-family: var(--font); font-weight: 600; font-size: 11px; color: var(--dim); }
.flame { display: inline-flex; gap: 2px; }
.flame i { width: 6px; height: 14px; border-radius: 2px; background: var(--grad); display: inline-block; }

/* ---------- watchlist ---------- */
.wl { display: grid; gap: 10px; }
.wi { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; }
.wi .chg { text-align: right; font-family: var(--font-d); }
.wi .chg b { font-size: 16px; }
.wi .chg small { display: block; font-family: var(--font); font-size: 11.5px; color: var(--dim); }
.wi .rm { background: none; border: 0; color: var(--dim); cursor: pointer; font-size: 12.5px; font-weight: 700; padding: 4px 0; }
.wi .rm:hover { color: var(--red); }

/* ---------- pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 18px; }
.plan { position: relative; padding: 22px 20px; display: grid; gap: 14px; align-content: start; }
.plan.hot { border-color: rgba(110, 231, 183, 0.45); box-shadow: var(--glow); background: linear-gradient(180deg, rgba(16, 185, 129, 0.12), rgba(255, 255, 255, 0.02)); }
.plan .ribbon { position: absolute; top: -11px; left: 20px; background: var(--grad); color: #032018; font-weight: 800; font-size: 11.5px; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }
.plan .price { font-family: var(--font-d); font-size: 40px; font-weight: 700; line-height: 1; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 600; font-family: var(--font); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.plan li { display: flex; gap: 8px; }
.plan li::before { content: "✓"; color: var(--green); font-weight: 800; }
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { padding: 14px 16px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { color: var(--muted); margin: 8px 0 0; }

.prose { max-width: 760px; }
.prose h2 { margin: 26px 0 8px; }
.prose p, .prose li { color: var(--muted); }
.prose code { font-family: var(--font-d); background: var(--surface-2); padding: 1px 6px; border-radius: 6px; color: var(--text); font-size: 13.5px; }
.formula { padding: 12px 14px; border-radius: 12px; border: 1px solid var(--border); background: rgba(2, 12, 30, 0.5); font-family: var(--font-d); font-size: 14px; color: var(--text); overflow-x: auto; }

/* ---------- breakpoints ---------- */
@media (min-width: 640px) {
  .tile { padding: 12px 14px; }
  .tile .v { font-size: 24px; }
  .tile .l { font-size: 12px; }
  .tile .s { display: block; }
  .hero p { font-size: 15px; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .xgrid { grid-template-columns: repeat(2, 1fr); }
  .plans { grid-template-columns: repeat(3, 1fr); }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .cflt { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .wrap { padding: 0 24px; }
  .nav { display: flex; }
  .cta-sm { display: inline-flex; }
  .tabbar { display: none; }
  .ftr { padding-bottom: 36px; }
  .ftr .wrap { grid-template-columns: 1fr auto; align-items: start; }
  h1, .hero h1 { font-size: 36px; }
  .hero { grid-template-columns: 1.2fr 1fr; align-items: end; padding: 24px 0 22px; }
  .tb-row.top { gap: 10px; }
  .fgrid { grid-template-columns: repeat(4, 1fr); }
  .xgrid { grid-template-columns: repeat(3, 1fr); }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .pgrid .span2 { grid-column: 1 / -1; }
  .mgrid { grid-template-columns: repeat(2, 1fr); }
  .list-h { display: grid; grid-template-columns: 36px 50px minmax(170px, 1.5fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(160px, 1.1fr) 176px 22px; gap: 12px; padding: 0 16px 8px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--dim); }
  .rmain { grid-template-columns: 36px 50px minmax(170px, 1.5fr) minmax(140px, 1fr) minmax(140px, 1fr) minmax(160px, 1.1fr) 176px 22px; grid-template-areas: none; gap: 12px; padding: 12px 16px; }
  .rmain > * { grid-area: auto !important; }
  .star { order: -1; }
  .av { width: 46px; height: 46px; }
  .prop { display: contents; }
  .prop .pm { display: flex; flex-direction: column; gap: 3px; }
  .prop .pp { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
  .cellbars { display: contents; }
  .chev { display: block; }
  .ph { grid-template-columns: 112px 1fr; }
  .ph .av { width: 112px; height: 112px; }
  .ph h1 { font-size: 34px; }
  .chart { height: 300px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
