/* Subscription Radar — tokens first; everything below uses roles, not raw hex. */
:root,
:root[data-theme="light"] {
  color-scheme: light;
  --page: #f4f4f1;
  --surface: #fcfcfb;
  --surface-2: #f3f2ee;
  --text: #0b0b0b;
  --text-2: #52514e;
  --muted: #7a7973;
  --grid: #e1e0d9;
  --axis: #c3c2b7;
  --border: rgba(11, 11, 11, 0.1);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.05);
  --s1: #2a78d6; /* blue  */
  --s2: #eb6834; /* orange */
  --s3: #1baf7a; /* aqua  */
  --s4: #eda100; /* yellow */
  --s7: #6250d6; /* violet */
  --seq-dim: #b7d3f6;
  --good-text: #006300;
  --accent-a: #2a78d6;
  --accent-b: #6250d6;
  --glow: rgba(42, 120, 214, 0.1);
  --chip-on: #0b0b0b;
  --chip-on-text: #fcfcfb;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #0b0b0c;
  --surface: #161616;
  --surface-2: #1f1f1e;
  --text: #f0efec;
  --text-2: #c3c2b7;
  --muted: #8f8d86;
  --grid: #2c2c2a;
  --axis: #383835;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 12px 32px rgba(0, 0, 0, 0.35);
  --s1: #3987e5;
  --s2: #d95926;
  --s3: #199e70;
  --s4: #c98500;
  --s7: #9085e9;
  --seq-dim: #184f95;
  --good-text: #0ca30c;
  --accent-a: #3987e5;
  --accent-b: #9085e9;
  --glow: rgba(57, 135, 229, 0.16);
  --chip-on: #f0efec;
  --chip-on-text: #0b0b0b;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--page);
  color: var(--text);
  font: 14px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.01em; }

/* ---------------- buttons & fields ---------------- */
.btn {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 550;
  transition: background 0.15s, border-color 0.15s, transform 0.05s;
}
.btn:hover { background: var(--surface-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible, input:focus-visible, select:focus-visible, .chip:focus-visible, tr:focus-visible, li:focus-visible {
  outline: 2px solid var(--accent-a);
  outline-offset: 2px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent-a), var(--accent-b));
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover { filter: brightness(1.08); background: linear-gradient(135deg, var(--accent-a), var(--accent-b)); }
.btn-primary:disabled { opacity: 0.6; cursor: progress; }
.btn-ghost { background: transparent; }
.btn-block { width: 100%; padding: 11px 14px; }
.icon-btn { width: 38px; padding: 8px 0; }

.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field span { font-size: 12.5px; color: var(--text-2); font-weight: 550; }
.field input {
  width: 100%;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface-2);
}
.form-error {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(208, 59, 59, 0.12);
  color: var(--text);
  border-left: 3px solid #d03b3b;
  font-size: 13px;
}

/* ---------------- login ---------------- */
.login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px 16px;
  position: relative;
  overflow: hidden;
}
.login-glow {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(600px 400px at 30% 30%, var(--glow), transparent 70%),
    radial-gradient(500px 380px at 75% 70%, rgba(144, 133, 233, 0.12), transparent 70%);
  pointer-events: none;
}
.login-card {
  position: relative;
  width: min(400px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px 28px 22px;
  box-shadow: var(--shadow);
}
.login-foot { text-align: center; color: var(--muted); font-size: 12px; margin: 16px 0 0; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-lg { margin-bottom: 26px; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-lg .brand-name { font-size: 20px; }
.brand-sub { color: var(--muted); font-size: 12.5px; }

/* ---------------- layout ---------------- */
#app { max-width: 1320px; margin: 0 auto; padding: 0 24px 40px; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  background: color-mix(in srgb, var(--page) 86%, transparent);
  backdrop-filter: blur(10px);
}
.topbar-actions { display: flex; align-items: center; gap: 6px; }
.menu { position: relative; }
.menu-pop {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 180px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow);
}
.menu-pop button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.menu-pop button:hover { background: var(--surface-2); }

.hero {
  position: relative;
  margin: 8px 0 18px;
  padding: 28px 28px 26px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background:
    radial-gradient(700px 260px at 0% 0%, var(--glow), transparent 70%),
    radial-gradient(500px 240px at 100% 100%, rgba(144, 133, 233, 0.1), transparent 70%),
    var(--surface);
  box-shadow: var(--shadow);
}
.hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 720; }
.hero-sub { margin: 8px 0 0; color: var(--text-2); max-width: 820px; font-size: 15px; }
.hero-sub b { color: var(--text); }

/* ---------------- filters ---------------- */
.filters { display: grid; gap: 10px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
  font-weight: 550;
  font-size: 13px;
}
.chip .n { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 500; }
.chip[aria-selected="true"] { background: var(--chip-on); color: var(--chip-on-text); border-color: transparent; }
.chip[aria-selected="true"] .n { color: inherit; opacity: 0.7; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filter-row select, .filter-row input[type="search"] {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
  max-width: 100%;
}
.filter-row input[type="search"] { flex: 1 1 220px; min-width: 0; }
.toggle { display: inline-flex; gap: 6px; align-items: center; padding: 6px 8px; cursor: pointer; color: var(--text-2); }

/* ---------------- KPI tiles ---------------- */
.kpis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.kpi-label { color: var(--text-2); font-size: 12.5px; font-weight: 550; display: flex; align-items: center; gap: 7px; }
.kpi-value { font-size: 30px; font-weight: 720; letter-spacing: -0.02em; margin-top: 6px; line-height: 1.1; }
.kpi-note { color: var(--muted); font-size: 12px; margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-bar { height: 3px; border-radius: 2px; margin-top: 10px; background: var(--grid); overflow: hidden; }
.kpi-bar i { display: block; height: 100%; border-radius: 2px; background: var(--s1); }

/* ---------------- cards & grid ---------------- */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; margin-bottom: 16px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  min-width: 0;
}
.span-7 { grid-column: span 7; }
.span-6 { grid-column: span 6; }
.span-5 { grid-column: span 5; }
.card-h { margin-bottom: 12px; }
.card-h.row { display: flex; justify-content: space-between; align-items: end; gap: 12px; }
.card-h h2 { font-size: 15px; font-weight: 650; display: flex; align-items: center; gap: 8px; }
.card-h p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
.dot-new { background: var(--s1); }
.dot-up { background: var(--s7); }
.dot-mom { background: var(--s3); }
.dot-money { background: var(--s4); }

/* ---------------- charts ---------------- */
.chart { width: 100%; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart text, #chart-model text { font: 11.5px system-ui, -apple-system, "Segoe UI", sans-serif; fill: var(--muted); font-variant-numeric: tabular-nums; }
.chart .lbl { fill: var(--text-2); font-size: 12.5px; }
.chart .val { fill: var(--text); font-weight: 600; font-size: 12px; }
.chart .gridline { stroke: var(--grid); stroke-width: 1; }
.chart .baseline { stroke: var(--axis); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: pointer; }
.chart .bar { fill: var(--s1); transition: opacity 0.15s; }
.chart .bar.dim { opacity: 0.28; }
.chart .bar.alt { fill: var(--s7); }
.chart .row:hover .bar, .chart .col:hover .bar { opacity: 0.85; }
.chart .sel-mark { fill: var(--text); }
.empty { color: var(--muted); padding: 30px 0; text-align: center; font-size: 13px; }

.model-bar { display: flex; gap: 2px; height: 22px; border-radius: 6px; overflow: hidden; margin: 2px 0 10px; }
.model-bar span { display: block; height: 100%; min-width: 2px; cursor: pointer; transition: opacity 0.15s; }
.model-bar span:hover { opacity: 0.85; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 14px; font-size: 12.5px; color: var(--text-2); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.legend b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.m-subscription { background: var(--s1); }
.m-freemium { background: var(--s3); }
.m-wallet { background: var(--s4); }
.m-unknown { background: var(--axis); }
.sub-h { font-size: 12.5px; color: var(--text-2); font-weight: 600; margin: 4px 0 6px; }

/* ---------------- mini lists ---------------- */
.mini-list { list-style: none; margin: 0; padding: 0; }
.mini-list li {
  display: grid;
  grid-template-columns: 22px 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 8px 6px;
  border-radius: 10px;
  cursor: pointer;
}
.mini-list li:hover { background: var(--surface-2); }
.mini-list .rk { color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; text-align: right; }
.mini-list .nm { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list .meta { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list .side { text-align: right; font-size: 12px; color: var(--text-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.mini-list .side b { display: block; color: var(--text); font-size: 13px; }

.icon {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--surface-2);
  object-fit: cover;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: var(--text-2);
  font-size: 14px;
  border: 1px solid var(--border);
}
.icon-sm { width: 30px; height: 30px; border-radius: 8px; font-size: 12px; }
.icon-lg { width: 64px; height: 64px; border-radius: 16px; font-size: 22px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text-2);
  white-space: nowrap;
}
.tag i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.tag-new { color: var(--text); }
.tag-new i { background: var(--s1); }
.tag-up i { background: var(--s7); }

/* ---------------- table ---------------- */
.table-card { padding-bottom: 8px; }
.table-wrap { overflow-x: auto; margin: 0 -18px; padding: 0 18px; }
.apps-table { width: 100%; border-collapse: collapse; min-width: 980px; }
.apps-table th {
  text-align: left;
  font-size: 12px;
  color: var(--muted);
  font-weight: 600;
  padding: 8px 10px;
  border-bottom: 1px solid var(--grid);
  white-space: nowrap;
  user-select: none;
}
.apps-table th[data-sort] { cursor: pointer; }
.apps-table th[data-sort]:hover { color: var(--text); }
.apps-table th.sorted { color: var(--text); }
.apps-table th.sorted::after { content: " ↓"; }
.apps-table th.sorted.asc::after { content: " ↑"; }
.apps-table td { padding: 9px 10px; border-bottom: 1px solid var(--grid); vertical-align: middle; }
.apps-table tbody tr { cursor: pointer; }
.apps-table tbody tr:hover { background: var(--surface-2); }
.apps-table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.apps-table .c-star { width: 34px; }
.app-cell { display: flex; gap: 10px; align-items: center; min-width: 220px; }
.app-cell .nm { font-weight: 600; }
.app-cell .dev { color: var(--muted); font-size: 12px; }
.star { background: none; border: 0; cursor: pointer; font-size: 16px; color: var(--axis); padding: 2px 4px; line-height: 1; }
.star.on { color: var(--s4); }
.table-foot { text-align: center; padding: 10px 0 4px; }
.muted { color: var(--muted); }

.foot { color: var(--muted); font-size: 12px; text-align: center; padding: 20px 0 0; line-height: 1.6; }

/* ---------------- drawer ---------------- */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.45); z-index: 40; }
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  background: var(--surface);
  border-left: 1px solid var(--border);
  z-index: 50;
  transform: translateX(100%);
  transition: transform 0.22s ease;
  overflow-y: auto;
  padding: 22px 24px 32px;
  box-shadow: -20px 0 40px rgba(0, 0, 0, 0.25);
}
.drawer.open { transform: none; }
.drawer-close { position: absolute; top: 14px; right: 14px; }
.d-head { display: flex; gap: 14px; align-items: center; margin: 8px 40px 16px 0; }
.d-head h2 { font-size: 20px; }
.d-head .dev { color: var(--text-2); }
.d-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.d-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.d-stat { background: var(--surface-2); border-radius: 12px; padding: 10px 12px; }
.d-stat .k { font-size: 11.5px; color: var(--muted); }
.d-stat .v { font-weight: 650; font-size: 15px; margin-top: 2px; overflow-wrap: anywhere; }
.d-sec { margin-bottom: 18px; }
.d-sec h3 { font-size: 12.5px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.d-sec p { margin: 0; color: var(--text-2); }
.d-desc { white-space: pre-line; color: var(--text-2); font-size: 13px; max-height: 280px; overflow: auto; padding-right: 6px; }
.d-links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.d-links a { text-decoration: none; }
.research-box { border: 1px solid var(--border); border-left: 3px solid var(--s7); border-radius: 10px; padding: 10px 12px; }
.research-box p { margin: 0 0 4px; }

/* ---------------- dialog / tooltip / toast ---------------- */
.dialog {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  color: var(--text);
  padding: 22px;
  width: min(400px, calc(100vw - 32px));
}
.dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
.dialog h2 { font-size: 17px; margin-bottom: 16px; }
.dialog-actions { display: flex; justify-content: flex-end; gap: 8px; }

.tooltip {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  box-shadow: var(--shadow);
  max-width: 280px;
}
.tooltip b { font-weight: 650; }
.tooltip .t-sub { color: var(--muted); font-size: 12px; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--chip-on);
  color: var(--chip-on-text);
  padding: 10px 16px;
  border-radius: 10px;
  z-index: 70;
  font-weight: 550;
}

.skeleton { height: 180px; border-radius: 12px; background: linear-gradient(90deg, var(--surface-2), var(--grid), var(--surface-2)); background-size: 200% 100%; animation: sk 1.2s infinite linear; }
@keyframes sk { to { background-position: -200% 0; } }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .span-7, .span-6, .span-5 { grid-column: span 12; }
}
@media (max-width: 640px) {
  #app { padding: 0 16px 32px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi-value { font-size: 24px; }
  .hero { padding: 20px; }
  #export-btn { display: none; }
  .brand-sub { display: none; }
  .d-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filter-row select { flex: 1 1 45%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
@media (forced-colors: active) {
  .chart .bar, .model-bar span { forced-color-adjust: none; }
}

/* =============================== simplified layout (cards first) =============================== */
.hero { padding: 24px 26px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 10px 36px; margin-top: 16px; }
.hs .v { font-size: 30px; font-weight: 720; letter-spacing: -0.02em; line-height: 1.1; }
.hs .k { color: var(--text-2); font-size: 13px; margin-top: 2px; }
#city-chips { margin: 0 0 26px; }

.block { margin-bottom: 30px; }
.block-h { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-bottom: 12px; }
.block-h h2 { font-size: 19px; font-weight: 700; display: flex; align-items: center; gap: 9px; }
.block-h p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.block-h .dot { width: 10px; height: 10px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.card-h h3 { font-size: 14.5px; font-weight: 650; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.acard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
  min-width: 0;
}
.acard:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--accent-a) 45%, var(--border)); }
.acard-top { display: flex; gap: 12px; align-items: center; min-width: 0; }
.acard-top > div:not(.icon) { min-width: 0; flex: 1; }
.acard .nm { font-weight: 680; font-size: 15.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard .sub { color: var(--muted); font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acard .line { color: var(--text-2); font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.acard-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; border-top: 1px solid var(--grid); padding-top: 12px; margin-top: auto; }
.acard-stats .k { color: var(--muted); font-size: 11.5px; }
.acard-stats .v { font-weight: 680; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
.acard .tags { display: flex; gap: 6px; flex-wrap: wrap; }
.icon-xl { width: 52px; height: 52px; border-radius: 14px; font-size: 20px; flex: none; }
div.icon-xl, div.icon-lg {
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-a) 35%, var(--surface-2)), color-mix(in srgb, var(--accent-b) 35%, var(--surface-2)));
  color: var(--text);
}
.cards .empty { grid-column: 1 / -1; background: var(--surface); border: 1px dashed var(--border); border-radius: 16px; }

.table-card .filter-row { margin-bottom: 10px; }
.apps-table { min-width: 820px; }
@media (max-width: 640px) {
  .hero-stats { gap: 12px 24px; }
  .hs .v { font-size: 24px; }
  .cards { grid-template-columns: 1fr; }
  .block-h h2 { font-size: 17px; }
}

.acard-facts { display: grid; gap: 4px; border-top: 1px solid var(--grid); padding-top: 10px; margin-top: auto; font-size: 13px; }
.acard-facts div { display: flex; gap: 8px; min-width: 0; }
.acard-facts .k { color: var(--muted); flex: none; width: 58px; }
.acard-facts .v { color: var(--text); font-weight: 560; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 640px) {
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; scroll-padding-left: 16px; }
  .acard { scroll-snap-align: start; }
  .acard:hover { transform: none; }
  .cards .empty { grid-column: auto; }
}
.btn-sm { white-space: nowrap; flex: none; }

/* news */
.news-card { padding: 6px 18px; }
.news-list { list-style: none; margin: 0; padding: 0; }
.news-item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--grid); }
.news-item:last-child { border-bottom: 0; }
.news-date { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; padding-top: 2px; white-space: nowrap; }
.news-title { font-weight: 600; text-decoration: none; line-height: 1.35; }
.news-title:hover { text-decoration: underline; }
.news-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; font-size: 12px; }
.tag-fund i { background: var(--s4); }
.tag-app { cursor: pointer; background: var(--surface-2); color: var(--text); font: inherit; font-size: 11.5px; font-weight: 600; }
.tag-app:hover { border-color: var(--accent-a); }
.d-sec .news-item { grid-template-columns: 46px minmax(0, 1fr); padding: 8px 0; }
.news-list .empty { padding: 24px 0; }
