/* Rules lifted verbatim from the app's prism.css, limited to the selectors the
   captured views actually use (see build_views.py). */
.dash-skeleton {
      background: linear-gradient(90deg, var(--surface2) 25%, var(--surface3) 50%, var(--surface2) 75%);
      background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 10px;
    }
.dash-skeleton-header { height: 140px; }
.dash-btn {
      background: var(--surface); border: 1px solid var(--border2);
      color: var(--accent); padding: 4px 10px; border-radius: 6px;
      font-size: .75rem; cursor: pointer; transition: background .15s;
    }
.dash-btn:hover { background: var(--accent-dim); }
.dash-similar-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
      gap: 12px; margin-top: 12px;
    }
.dash-sim-card {
      background: var(--surface); border: 1px solid var(--border);
      border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 8px;
      transition: border-color .15s, box-shadow .15s;
    }
.dash-sim-card:hover { border-color: var(--accent); box-shadow: 0 2px 8px rgba(37,99,235,.08); }
.dash-sim-header { display: flex; align-items: center; gap: 10px; }
.dash-sim-photo {
      width: 38px; height: 38px; border-radius: 50%; object-fit: cover;
      background: var(--surface3); flex-shrink: 0;
    }
.dash-sim-name { font-size: .85rem; font-weight: 600; color: var(--text); }
.dash-sim-meta { font-size: .72rem; color: var(--text-muted); margin-top: 1px; }
.dash-sim-score { font-family: var(--font-display); margin-left: auto; font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.dash-sim-stats { display: flex; flex-wrap: wrap; gap: 6px; }
.dash-sim-stat {
      font-size: .72rem; background: var(--surface2);
      border-radius: 5px; padding: 2px 7px; color: var(--text-muted);
    }
.dash-sim-stat strong { color: var(--text); }
.dash-sim-footer { margin-top: auto; }
.hw-sub {
      font-size: .85rem; line-height: 1.55; color: var(--text-dim);
      max-width: 620px;
    }
.term-panel {
  grid-column: span 4; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-sm); display: flex; flex-direction: column; overflow: hidden;
  min-width: 0;
}
.term-panel.full { grid-column: span 12; }
@media (max-width: 1180px) {
.term-panel { grid-column: span 6; }
.term-panel.full { grid-column: span 12; }
}
@media (max-width: 720px) {
.term-panel, .term-panel.full { grid-column: span 12; }
}
.term-hd {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 7px 10px; border-bottom: 1px solid var(--border); background: var(--surface2);
}
.term-hd .t {
  font-family: var(--font-mono); font-size: var(--text-xs); font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 6px;
}
.term-hd .code {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .05em; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 3px; padding: 1px 5px;
}
.term-note {
  padding: 5px 10px; font-size: 9px; color: var(--text-muted);
  border-bottom: 1px solid var(--border); background: var(--surface2); line-height: 1.45;
}
.cri { width: 16px; height: 16px; object-fit: contain; flex-shrink: 0; vertical-align: middle; }
.tsub {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); padding: 7px 10px 3px; display: flex; align-items: center; gap: 6px;
}
.term-fx {
  padding: 6px 10px; border-bottom: 1px solid var(--border); font-size: var(--fs-body-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0;
}
.term-fx:last-child { border-bottom: none; }
.term-fx .tfx-teams { display: inline-flex; align-items: center; gap: 5px; min-width: 0; overflow: hidden; }
.term-fx .tfx-v { color: var(--text-muted); font-size: var(--text-xs); }
.term-fx .tm { font-family: var(--font-mono); font-size: var(--text-xs); color: var(--text-muted); flex-shrink: 0; }
@media (max-width: 720px) {
.term-panel { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; }
.term-panel::-webkit-scrollbar { height: 3px; }
.term-panel::-webkit-scrollbar-thumb { background: var(--border2); border-radius: 2px; }
}
.mx-head { padding: 20px 20px 16px; border-bottom: 1px solid var(--border); }
.mx-meta {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-dim); margin-bottom: 12px;
}
.mx-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; }
.mx-team { display: flex; align-items: center; gap: 9px; min-width: 0; }
.mx-team span { font-size: 14px; font-weight: 600; color: var(--text); }
.mx-away { flex-direction: row-reverse; text-align: right; }
.mx-crest { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.mx-centre { text-align: center; min-width: 76px; }
.mx-score {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 24px; font-weight: 700; color: var(--text);
  display: flex; align-items: center; justify-content: center; gap: 7px;
}
.mx-score span { opacity: .35; font-weight: 400; }
.mx-state {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: .08em; color: var(--text-dim); margin-top: 3px;
}
.mx-sub { margin-top: 12px; font-size: 11.5px; color: var(--text-dim); }
.mx-body-inner { padding: 4px 20px 20px; }
.mx-sect { padding: 16px 0; border-bottom: 1px solid var(--border); }
.mx-sect:last-child { border-bottom: 0; padding-bottom: 4px; }
.mx-sect-hd {
  display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text);
}
.mx-sect-note { text-transform: none; letter-spacing: 0; color: var(--text-dim); font-size: 10.5px; }
.mx-out-block { margin-bottom: 12px; }
.mx-out-block:last-child { margin-bottom: 0; }
.mx-out-team {
  display: flex; align-items: center; gap: 7px; margin-bottom: 6px;
  font-size: 12px; font-weight: 600; color: var(--text);
}
.mx-out-team .mx-crest { width: 16px; height: 16px; }
.mx-out-n {
  font-family: var(--mono, ui-monospace, monospace); font-size: 10px;
  color: var(--text-dim); border: 1px solid var(--border);
  border-radius: 3px; padding: 0 4px; margin-left: 2px;
}
.mx-out-row {
  display: grid; grid-template-columns: 1fr auto auto; gap: 10px;
  align-items: baseline; padding: 3px 0; font-size: 12px;
}
.mx-out-name { color: var(--text); }
.mx-out-reason { color: var(--text-dim); font-size: 11px; }
.mx-out-reason.mx-ban { color: #b45309; }
.mx-out-until {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px; color: var(--text-dim); opacity: .8; white-space: nowrap;
}
.mx-form-row { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 12px; }
.mx-form-team { flex: 1; min-width: 0; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-form-pills { display: flex; gap: 3px; }
.mx-pill {
  width: 17px; height: 17px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono, ui-monospace, monospace); font-size: 9.5px; font-weight: 600;
  color: #fff;
}
.mx-w { background: #16a34a; }
.mx-d { background: #a3a3a3; }
.mx-l { background: #dc2626; }
.mx-form-pos {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 10px; color: var(--text-dim); white-space: nowrap; min-width: 62px; text-align: right;
}
.mx-h2h-row {
  display: grid; grid-template-columns: 74px 1fr auto 1fr; gap: 8px;
  align-items: baseline; padding: 4px 0; font-size: 12px;
}
.mx-h2h-date { font-family: var(--mono, ui-monospace, monospace); font-size: 10px; color: var(--text-dim); }
.mx-h2h-tm { color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mx-h2h-away { text-align: right; }
.mx-h2h-sc { font-family: var(--mono, ui-monospace, monospace); font-weight: 650; color: var(--text); }
.mx-ev-row { display: grid; grid-template-columns: 34px auto 1fr; gap: 9px; align-items: baseline; padding: 3px 0; font-size: 12px; }
.mx-ev-min { font-family: var(--mono, ui-monospace, monospace); font-size: 10.5px; color: var(--text-dim); }
.mx-ev-type {
  font-family: var(--mono, ui-monospace, monospace); font-size: 9.5px;
  letter-spacing: .05em; text-transform: uppercase; color: var(--text-dim);
}
.mx-ev-goal { color: #16a34a; }
.mx-ev-yellowcard { color: #ca8a04; }
.mx-ev-pl { color: var(--text); }
@media (max-width: 760px) {
.mx-head { padding: 18px 16px 14px; }
.mx-body-inner { padding: 4px 16px 24px; }
.mx-team span { font-size: 13px; }
.mx-crest { width: 26px; height: 26px; }
.mx-out-row { grid-template-columns: 1fr auto; }
.mx-out-until { display: none; }
.mx-h2h-row { grid-template-columns: 62px 1fr auto 1fr; gap: 6px; font-size: 11.5px; }
.mx-form-pos { min-width: 0; }
}
.hw-grid > .term-panel { grid-column: auto; }
.hw-row {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 12px; cursor: pointer;
  border-top: 1px solid var(--border);
  transition: background .12s ease;
}
.hw-row:first-child { border-top: 0; }
.hw-row:hover { background: var(--surface2, rgba(0,0,0,.03)); }
.hw-row:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: -2px; }
.hw-thumb {
  width: 30px; height: 30px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; background: var(--surface2);
}
.hw-thumb { border-radius: 5px; width: 42px; height: 30px; }
.hw-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.hw-head {
  font-size: 12.5px; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hw-head { white-space: normal; line-height: 1.3; }
.hw-sub { display: flex; gap: 5px; align-items: center; }
.hw-lg {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9px; letter-spacing: .06em; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 3px; padding: 0 4px;
}
@media (max-width: 760px) {
.hw-row { padding: 7px 10px; gap: 9px; }
.hw-head { font-size: 12px; }
}
.tsub-md {
  font-family: var(--font-mono, var(--mono, ui-monospace, monospace));
  font-size: 9px; letter-spacing: .06em; color: var(--text-dim, var(--text-muted));
  border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; text-transform: none;
}
.tsub-meta { margin-left: auto; color: var(--text-muted); text-transform: none; letter-spacing: .04em; }
.term-fx.fx-done .tfx-teams { color: var(--text); }
.term-fx .tfx-score {
  font-family: var(--font-mono, var(--mono, ui-monospace, monospace));
  font-weight: 700; color: var(--text); letter-spacing: .5px;
}
.term-fx .tfx-off { color: var(--text-muted); font-size: var(--text-xs); text-transform: uppercase; }
.gw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (min-width: 1180px) {
.gw-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.gw-league { min-width: 0; border-right: 1px solid var(--border); }
.gw-league:last-child { border-right: none; }
.gw-league .term-fx:last-child { border-bottom: none; }
@media (max-width: 760px) {
.gw-league { border-right: none; border-bottom: 1px solid var(--border); }
.gw-league:last-child { border-bottom: none; }
}
.gw-league .term-fx { align-items: center; gap: 6px; }
.gw-league .term-fx .tfx-teams { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; flex: 1 1 auto; }
.gw-league .term-fx .tfx-t { display: flex; align-items: center; gap: 5px; min-width: 0; }
.gw-league .term-fx .tfx-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gw-league .term-fx .tfx-v { display: none; }
.gw-league .term-fx .tm { text-align: right; }
.gw-round {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 7px 10px 4px; border-top: 1px solid var(--border);
  font-family: var(--font-mono, var(--mono, ui-monospace, monospace));
  font-size: 9px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted);
}
.gw-league > .gw-round:first-of-type { border-top: none; }
.gw-round .tsub-meta { margin-left: 0; }
.tfx-when { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1px; text-align: right; line-height: 1.35; }
.tfx-when .t { color: var(--text-muted); }
.mx-trend-pills { display: flex; gap: 5px; flex-wrap: wrap; margin: 0 0 10px; }
.mx-pill-btn {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 9.5px; letter-spacing: .05em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px; cursor: pointer;
  border: 1px solid var(--border); background: transparent; color: var(--text-dim);
  transition: color .12s, border-color .12s;
}
.mx-pill-btn:hover { color: var(--text); }
.mx-pill-btn.active { color: var(--text); border-color: var(--text-dim); }
.mx-tr-svg { width: 100%; height: 150px; display: block; overflow: visible; }
.mx-tr-axis { stroke: var(--border); stroke-width: 1; }
.mx-tr-grid { stroke: var(--border); stroke-width: 1; opacity: .45; }
.mx-tr-tick {
  fill: var(--text-dim); font-size: 8px; text-anchor: middle;
  font-family: var(--mono, ui-monospace, monospace); opacity: .7;
}
.mx-tr-line { fill: none; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mx-tr-area { stroke: none; }
.mx-tr-line.mx-tr-home { stroke: #2563eb; }
.mx-tr-area.mx-tr-home { fill: #2563eb; opacity: .16; }
.mx-tr-line.mx-tr-away { stroke: #f59e0b; }
.mx-tr-area.mx-tr-away { fill: #f59e0b; opacity: .18; }
.mx-tr-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 6px;
}
.mx-tr-k {
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 13px; font-weight: 650;
}
.mx-tr-k.mx-tr-home { color: #2563eb; }
.mx-tr-k.mx-tr-away { color: #b45309; }
.mx-tr-name { font-size: 10.5px; color: var(--text-dim); }
@media (max-width: 760px) {
.mx-tr-svg { height: 128px; }
.mx-pill-btn { font-size: 9px; padding: 3px 6px; }
}
.term-fx.fx-open { cursor: pointer; }
.term-fx.fx-open:hover { background: var(--surface2, rgba(0,0,0,.03)); }
.term-fx.fx-open:focus-visible { outline: 2px solid var(--accent, #2563eb); outline-offset: -2px; }
.pv { max-width: 1180px; margin: 0 auto; padding: 16px 20px 56px; display: flex; flex-direction: column; gap: 14px; }
.pv .dash-skeleton-header { border-radius: 10px; }
.pv-hero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 18px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 18px 20px; }
.pv-avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; object-position: top;
  background: var(--surface3); border: 1px solid var(--border); }
.pv-who { min-width: 0; }
.pv-name { font-family: var(--font-display); font-weight: 800; font-size: 30px; letter-spacing: -.02em; line-height: 1.05; margin: 0; text-wrap: balance; color: var(--text); }
.pv-sub { margin-top: 5px; font-size: 14px; color: var(--text-dim); }
.pv-sub b { color: var(--text); font-weight: 600; }
.pv-bio { margin-top: 4px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); letter-spacing: .02em; }
.pv-ai { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 14px; }
.pv-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 18px 11px 14px; border-radius: 11px; cursor: pointer;
  font-family: var(--font-display); font-weight: 800; font-size: 15px; letter-spacing: -.005em; color: var(--pv-cta-fg);
  border: 2px solid transparent;
  background: linear-gradient(var(--pv-cta-bg), var(--pv-cta-bg)) padding-box, var(--spectrum) border-box;
  box-shadow: 0 6px 22px -10px rgba(79,70,229,.55); transition: transform .15s ease, box-shadow .15s ease; }
.pv-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 28px -10px rgba(79,70,229,.7); }
.pv-cta::after { content: ""; position: absolute; inset: -2px; pointer-events: none;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.28) 50%, transparent 62%);
  transform: translateX(-120%); animation: pvSheen 3.6s ease-in-out infinite; }
.pv-spark { width: 20px; height: 20px; flex-shrink: 0; }
.pv-cta { white-space: nowrap; max-width: 100%; }
.pv-chip { border: 1px solid var(--border); background: var(--surface2); border-radius: 999px; padding: 6px 11px;
  font-size: 12.5px; cursor: pointer; color: var(--text-dim); font-family: var(--font); text-align: left; }
.pv-chip:hover { border-color: var(--accent); color: var(--accent); }
.pv-ai-k { flex-basis: 100%; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-top: 2px; }
.pv-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pv-act { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; padding: 7px 11px;
  border-radius: 7px; border: 1px solid var(--border); background: var(--surface2); color: var(--text); cursor: pointer; }
.pv-act:hover { background: var(--accent-dim); }
.pv-act.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.pv-scores { display: flex; gap: 8px; }
.pv-score { min-width: 108px; text-align: center; border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; background: var(--surface2); }
.pv-score b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; color: var(--text); }
.pv-score b small { font-size: 12px; color: var(--text-muted); font-weight: 700; }
.pv-score span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--text-muted); }
.pv-now { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 14px 16px;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 18px; align-items: start; }
.pv-now h2 { margin: 3px 0 0; font-family: var(--font-display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; color: var(--text); }
.pv-now p { margin: 4px 0 0; color: var(--text-dim); font-size: 13.5px; max-width: 68ch; }
.pv [hidden] { display: none !important; }
.pv-seasonbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.pv-seasonbar:empty { display: none; }
.pv-seg { display: inline-flex; border: 1px solid var(--border); border-radius: 9px; background: var(--surface); padding: 3px; gap: 3px; }
.pv-seg button { border: 0; background: transparent; border-radius: 7px; padding: 7px 12px; cursor: pointer; text-align: left; color: var(--text); font-family: var(--font); }
.pv-seg button b { display: block; font-size: 13px; font-weight: 600; }
.pv-seg button span { display: block; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }
.pv-seg button[aria-pressed="true"] { background: var(--accent-soft); }
.pv-seg button[aria-pressed="true"] b { color: var(--accent); }
.pv-seg button:disabled { opacity: .55; cursor: progress; }
.pv-kpis { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: 8px; }
.pv-kpis:empty { display: none; }
.pv-kpi { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
.pv-kpi b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 24px; line-height: 1.1; color: var(--text); font-variant-numeric: tabular-nums; }
.pv-kpi span { display: block; margin-top: 3px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.pv-kpi em { display: block; font-style: normal; margin-top: 2px; font-family: var(--font-mono); font-size: 10.5px; color: var(--accent); }
.pv-grid { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 14px; align-items: start; }
.pv-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pv-panel { background: var(--surface); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.pv-ph { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 11px 14px 9px; border-bottom: 1px solid var(--border); }
.pv-ph h2 { margin: 0; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-dim); }
.pv-ph .aside { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); text-align: right; }
.pv-body { padding: 8px 14px 14px; }
.pv-note { padding: 10px 14px 0; margin: 0; font-size: 12.5px; color: var(--text-muted); }
.pv-field { margin: 10px 14px 0; padding: 10px 12px; border-radius: 8px; background: var(--surface2); border: 1px solid var(--border); font-size: 13px; color: var(--text); }
.pv-field b { font-weight: 600; }
.pv-field details { margin-top: 6px; }
.pv-field summary { cursor: pointer; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.pv-field ul { margin: 8px 0 2px; padding-left: 18px; display: grid; gap: 5px; color: var(--text-dim); font-size: 12.5px; max-width: 72ch; }
.pv-grp { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin: 10px 0 2px; }
.pv-rk { display: grid; grid-template-columns: 170px minmax(0, 1fr) 84px; gap: 14px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--border); }
.pv-rk:last-of-type { border-bottom: 0; }
.pv-rk-l { font-size: 13px; color: var(--text); }
.pv-rk-l b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 15px; margin-top: 1px; }
.pv-rk-r { text-align: right; font-family: var(--font-mono); font-size: 12px; }
.pv-rk-r b { display: block; font-size: 14px; font-weight: 500; color: var(--text); }
.pv-rk-r span { color: var(--text-muted); font-size: 10.5px; }
.pv-strip { position: relative; height: 34px; }
.pv-track { position: absolute; left: 0; right: 0; top: 15px; height: 4px; border-radius: 2px; background: var(--surface3); }
.pv-band { position: absolute; top: 12px; height: 10px; border-radius: 3px; background: var(--pv-band); }
.pv-med { position: absolute; top: 9px; width: 2px; height: 16px; background: var(--text-dim); opacity: .55; }
.pv-dotm { position: absolute; top: 10px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--surface); }
.pv-strip-lab { position: absolute; top: 25px; font-family: var(--font-mono); font-size: 9.5px; color: var(--text-muted); transform: translateX(-50%); white-space: nowrap; }
.pv-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 0 0; font-size: 11.5px; color: var(--text-muted); }
.pv-legend i { display: inline-block; vertical-align: middle; margin-right: 6px; }
.pv-legend .lg-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.pv-legend .lg-band { width: 18px; height: 8px; border-radius: 2px; background: var(--pv-band); }
.pv-legend .lg-med { width: 2px; height: 12px; background: var(--text-dim); opacity: .55; }
.pv-logwrap { overflow-x: auto; }
.pv-table { width: 100%; border-collapse: collapse; font-size: 13px; min-width: 520px; color: var(--text); }
.pv-table th { text-align: left; font-family: var(--font-mono); font-weight: 500; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding: 9px 8px; border-bottom: 1px solid var(--border); }
.pv-table td { padding: 8px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.pv-table tr:last-child td { border-bottom: 0; }
.pv-table td.m { font-family: var(--font-mono); font-size: 11.5px; color: var(--text-muted); }
.pv-table td.opp { width: 100%; white-space: normal; }
.pv-table .r { text-align: right; }
.pv-ga { color: var(--text); font-weight: 500; }
.pv-res { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 11.5px; }
.pv-res i { font-style: normal; font-weight: 600; font-size: 10px; width: 18px; height: 18px; border-radius: 5px; display: grid; place-items: center; color: #fff; }
.pv-res.W i { background: var(--pv-win); }
.pv-res.L i { background: var(--pv-loss); }
.pv-res.D i { background: var(--pv-draw); }
.pv-rt { display: inline-flex; align-items: center; gap: 8px; justify-content: flex-end; }
.pv-rt b { font-family: var(--font-mono); font-weight: 500; font-size: 12.5px; min-width: 32px; text-align: right; }
.pv-rt s { display: block; width: 46px; height: 5px; border-radius: 3px; background: var(--surface3); position: relative; text-decoration: none; }
.pv-rt s u { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 3px; background: var(--accent); }
.pv-form { padding: 16px 14px 4px; }
#pv-form.pv-panel { overflow: visible; }
.pv-fbars { position: relative; display: flex; align-items: stretch; gap: 6px; }
.pv-fcol { flex: 1 1 0; max-width: 40px; position: relative; display: flex; flex-direction: column; cursor: default; outline: none; }
.pv-fbox { flex: 1 1 auto; position: relative; display: flex; align-items: flex-end; }
.pv-fb { width: 100%; border-radius: 4px 4px 1px 1px; transition: filter .12s; }
.pv-fb.W { background: color-mix(in srgb, var(--pv-win) 72%, transparent); }
.pv-fb.L { background: color-mix(in srgb, var(--pv-loss) 72%, transparent); }
.pv-fb.D { background: color-mix(in srgb, var(--pv-draw) 72%, transparent); }
.pv-fval { position: absolute; left: 50%; transform: translateX(-50%); z-index: 1; font-family: var(--font-mono);
  font-size: 9.5px; line-height: 1.3; color: var(--text-muted); background: var(--surface); padding: 0 2px; border-radius: 3px; }
.pv-avg { position: absolute; left: 0; right: 0; z-index: 0; border-top: 1px dashed var(--text-dim); opacity: .6; pointer-events: none; }
.pv-fcode { display: flex; align-items: flex-end; justify-content: center; font-family: var(--font-mono); font-size: 9px;
  letter-spacing: .02em; color: var(--text-muted); overflow: hidden; white-space: nowrap; }
.pv-ftip { display: none; position: absolute; top: -8px; left: 50%; transform: translate(-50%, -100%); z-index: 5;
  white-space: nowrap; max-width: min(300px, calc(100vw - 48px)); font-size: 11.5px; line-height: 1.35; padding: 6px 9px; border-radius: 7px;
  background: var(--text); color: var(--bg); box-shadow: 0 6px 18px -6px rgba(0,0,0,.35); pointer-events: none; }
.pv-ftip b { font-weight: 600; }
.pv-ftip small { display: block; opacity: .7; font-family: var(--font-mono); font-size: 10px; }
.pv-fcol:hover .pv-ftip, .pv-fcol:focus .pv-ftip, .pv-fcol:focus-visible .pv-ftip { display: block; }
.pv-fcol:hover .pv-fb, .pv-fcol:focus .pv-fb { filter: brightness(1.08) saturate(1.1); }
.pv-fcol:hover .pv-fcode, .pv-fcol:focus .pv-fcode { color: var(--text); }
.pv-form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; padding: 8px 14px 12px; font-family: var(--font-mono); font-size: 10.5px; color: var(--text-muted); }
.pv-fkey i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin: 0 4px 0 8px; vertical-align: -.5px; }
.pv-fkey i:first-child { margin-left: 0; }
.pv-fkey i.W { background: var(--pv-win); }
.pv-fkey i.D { background: var(--pv-draw); }
.pv-fkey i.L { background: var(--pv-loss); }
.pv-ha-m, .pv-ga-m { display: none; }
.pv-ga-m { margin-left: 6px; font-family: var(--font-mono); font-size: 11px; color: var(--text); font-weight: 500; }
.pv-cmp { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; padding: 9px 0; border-bottom: 1px solid var(--border); align-items: baseline; font-size: 12.5px; color: var(--text); }
.pv-cmp:last-child { border-bottom: 0; }
.pv-cmp-v { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); text-align: right; }
.pv-cmp-v b { color: var(--text); font-weight: 500; }
.pv-delta { font-family: var(--font-mono); font-size: 10.5px; grid-column: 2; text-align: right; }
.pv-delta.up { color: var(--pv-win); }
.pv-delta.down { color: var(--pv-loss); }
.pv-ha { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px 14px; }
.pv-ha div { background: var(--surface2); border: 1px solid var(--border); border-radius: 8px; padding: 10px 11px; }
.pv-ha h3 { margin: 0 0 6px; font-family: var(--font-mono); font-size: 9.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.pv-ha p { margin: 2px 0; display: flex; justify-content: space-between; font-size: 12.5px; color: var(--text); }
.pv-ha p b { font-family: var(--font-mono); font-weight: 500; }
.pv-car { display: grid; grid-template-columns: 56px minmax(0,1fr) auto; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border); align-items: baseline; }
.pv-car:last-child { border-bottom: 0; }
.pv-car-s { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }
.pv-car-t { font-size: 13px; font-weight: 500; color: var(--text); }
.pv-car-t small { display: block; color: var(--text-muted); font-weight: 400; font-size: 11.5px; }
.pv-car-n { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); text-align: right; }
.pv-car-n b { display: block; color: var(--text); font-size: 12.5px; font-weight: 500; }
#dash-s7 #dash-similar-results { padding: 8px 14px 14px; }
@media (max-width: 1100px) {
.pv-hero { grid-template-columns: auto minmax(0, 1fr); }
.pv-scores { grid-column: 2; justify-self: start; }
.pv-kpis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
.pv-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
.pv { padding: 12px 14px 48px; gap: 12px; }
.pv-hero { grid-template-columns: auto minmax(0, 1fr); padding: 14px; gap: 12px; }
.pv-scores { grid-column: 1 / -1; }
.pv-score { flex: 1 1 0; min-width: 0; }
.pv-avatar { width: 56px; height: 56px; }
.pv-name { font-size: 23px; }
.pv-cta { font-size: 14px; }
.pv-kpis { grid-template-columns: repeat(2, 1fr); }
.pv-rk { grid-template-columns: minmax(0,1fr) 76px; gap: 6px 10px; }
.pv-rk .pv-strip { grid-column: 1 / -1; grid-row: 2; }
.pv-seg { width: 100%; }
.pv-seg button { flex: 1 1 0; }
.pv-now { grid-template-columns: 1fr; }
.pv-cta { white-space: normal; text-align: left; line-height: 1.25; }
.pv-table { min-width: 0; }
.pv-table .ha, .pv-table .ga, .pv-rt s { display: none; }
.pv-ha-m, .pv-ga-m { display: inline; }
.pv-ha-m { color: var(--text-muted); font-size: 11.5px; }
.pv-table td { padding: 8px 6px; }
.pv-ph { flex-wrap: wrap; }
.pv-ph .aside { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
.pv-cta, .pv-cta:hover { transition: none; transform: none; }
.pv-cta::after { animation: none; display: none; }
}
.hw-all { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase;
  color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; }
.hw-all:hover { text-decoration: underline; }
#hw-news-rows.hw-news-2col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(5, auto); grid-auto-flow: column; column-gap: 0; }
#hw-news-rows.hw-news-2col .hw-news-row:nth-child(n+6) { border-left: 1px solid var(--border); }
@media (max-width: 720px) {
#hw-news-rows.hw-news-2col { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; }
#hw-news-rows.hw-news-2col .hw-news-row:nth-child(n+6) { display: none; }
}
@keyframes pvSheen { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
@keyframes shimmer {
      0%   { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }
