/* Hart Watch widget styles - everything is scoped under .hw */
/* Hart Watch — scoped widget styles. Everything lives under .hw so a host theme (Elementor, dark site CSS) can't leak in or out.
   Look: clean stat-table style (white sheet, bold uppercase headers, zebra rows, highlighted sort column). */
.hw{
  --hw-bg:#080808; --hw-sheet:#111214; --hw-alt:#16181b; --hw-head:#1c1f23; --hw-ink:#ffffff; --hw-muted:#9aa1ab;
  --hw-line:#26292e; --hw-line-strong:#ffffff; --hw-accent:#2255a4; --hw-accent-hi:#5b8ee0; --hw-accent-soft:#2255a42e;
  --hw-gold:#d9b25f; --hw-gold-soft:#d9b25f22; --hw-red:#ff4d61; --hw-good:#3fc483; --hw-good-soft:#3fc48322; --hw-yellow:#f5c518;
  --hw-field:#16181b; --hw-field-line:#3a3e45;
  --hw-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  all:initial; display:block; box-sizing:border-box; background:var(--hw-bg); color:var(--hw-ink);
  font-family:var(--hw-font); font-size:14px; line-height:1.45; color-scheme:dark; -webkit-font-smoothing:antialiased;
  font-feature-settings:"tnum" 1,"cv11" 1;
}
.hw *,.hw *::before,.hw *::after{box-sizing:border-box;font-family:inherit}
.hw .hw-wrap{max-width:1120px;margin:0 auto;padding:24px 16px 40px;display:grid;gap:30px}
.hw .hw-wrap>*{min-width:0}
.hw h1,.hw h2,.hw h3,.hw p{margin:0;color:inherit;font-family:inherit;letter-spacing:normal;text-transform:none}

/* header */
.hw .hw-top{display:grid;gap:16px;border-bottom:2px solid var(--hw-line-strong);padding-bottom:16px}
.hw .hw-title{display:flex;align-items:baseline;gap:6px 14px;flex-wrap:wrap}
.hw h1{font-size:30px;font-weight:800;line-height:1.05;text-transform:uppercase;letter-spacing:-.01em}
.hw .hw-sub{color:var(--hw-muted);font-size:14px;max-width:62ch}
.hw .hw-controls{display:flex;flex-wrap:wrap;gap:12px 16px;align-items:flex-end}
.hw .hw-ctl{display:flex;flex-direction:column;gap:5px}
.hw .hw-lbl{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hw-muted)}
.hw select,.hw input[type=search]{font:inherit;font-size:14px;color:var(--hw-ink);background:var(--hw-field);border:1px solid var(--hw-field-line);border-radius:4px;padding:8px 10px;min-height:38px;margin:0;box-shadow:none;appearance:auto}
.hw input[type=search]{width:100%}
.hw input[type=search]::placeholder{color:var(--hw-muted)}
.hw select option{background:#16181b;color:#fff}
.hw .hw-seasonrow{display:flex;flex-wrap:wrap;gap:10px 20px;align-items:flex-end}
.hw .hw-seasonrow .hw-status{padding-bottom:10px}
.hw .hw-controls{margin-bottom:12px}
.hw .hw-search{flex:1 1 240px;max-width:360px}
.hw select:focus-visible,.hw input:focus-visible,.hw button:focus-visible{outline:2px solid var(--hw-accent);outline-offset:1px}
.hw .hw-tabs{display:flex;border-bottom:1px solid var(--hw-line)}
.hw .hw-tabs button{font:inherit;font-size:13px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--hw-muted);background:none;border:0;border-bottom:3px solid transparent;padding:9px 12px 7px;min-height:38px;cursor:pointer;margin:0 0 -1px;border-radius:0}
.hw .hw-tabs button[aria-pressed=true]{color:var(--hw-ink);border-bottom-color:var(--hw-accent-hi)}
.hw .hw-tabs button:hover{color:var(--hw-ink)}
.hw .hw-status{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;color:var(--hw-muted)}
.hw .hw-status b{color:var(--hw-ink);font-weight:700}
.hw .hw-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:6px;vertical-align:1px}
.hw .hw-dot.live{background:var(--hw-red);box-shadow:0 0 0 3px #ff4d6130}
.hw .hw-dot.final{background:var(--hw-gold)}

/* section heads */
.hw .hw-head{display:flex;justify-content:space-between;align-items:flex-end;gap:8px 16px;flex-wrap:wrap;margin-bottom:10px}
.hw h2{font-size:18px;font-weight:800;text-transform:uppercase;letter-spacing:.01em}
.hw .hw-head p{color:var(--hw-muted);font-size:13px;max-width:62ch}
.hw .hw-head-left{justify-content:flex-start;align-items:baseline;gap:6px 14px}
.hw .hw-head-left p{font-size:14px}
.hw .hw-sep{color:var(--hw-field-line);font-weight:400}

/* ballot */
.hw .hw-ballot{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.hw .hw-card{border:1px solid var(--hw-line);border-radius:4px;padding:12px;display:grid;gap:4px;align-content:start;min-width:0;background:var(--hw-sheet)}
.hw .hw-card.lead{border-top:3px solid var(--hw-accent-hi);padding-top:10px}
.hw .hw-card .rk{font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hw-muted)}
.hw .hw-card .nm{font-size:16px;font-weight:700;line-height:1.2;overflow-wrap:anywhere}
.hw .hw-card .meta{font-size:12px;font-weight:600;color:var(--hw-muted);letter-spacing:.03em}
.hw .hw-card .line{font-size:13px}
.hw .hw-card .odds{font-size:24px;font-weight:800;line-height:1.1;margin-top:4px}
.hw .hw-card .odds small{font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--hw-muted);margin-left:5px}
.hw .hw-tag{display:inline-block;justify-self:start;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;padding:2px 6px;border-radius:3px;background:var(--hw-alt);color:var(--hw-muted);margin-top:2px}
.hw .hw-tag.won{background:var(--hw-good-soft);color:var(--hw-good)}

/* tables */
.hw .hw-tablebox{border:1px solid var(--hw-line);border-radius:4px;overflow-x:auto;background:var(--hw-sheet)}
.hw table{width:100%;border-collapse:collapse;margin:0;border:0;font-size:13px}
.hw th{background:var(--hw-head);color:var(--hw-ink);font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase;text-align:left;padding:10px;border:0;border-bottom:1px solid var(--hw-field-line);white-space:nowrap}
.hw td{padding:8px 10px;border:0;border-bottom:1px solid var(--hw-line);white-space:nowrap;vertical-align:middle;background:transparent;color:var(--hw-ink)}
.hw tbody tr:nth-child(even) td{background:var(--hw-alt)}
.hw tbody tr:hover td{background:var(--hw-accent-soft)}
.hw tbody tr:last-child td{border-bottom:0}
.hw .num{text-align:right}
.hw th.sorted{background:#1b2a44;color:#cfe0ff}
.hw td.sorted{background:#121a28}
.hw tbody tr:nth-child(even) td.sorted{background:#15203a}
.hw td.rk{font-weight:700;color:var(--hw-muted);width:44px}
.hw td.pl{white-space:normal;min-width:140px;font-weight:700}
.hw td.pl .sub{display:none;font-weight:400;font-size:12px;color:var(--hw-muted);margin-top:2px}
.hw .tm{font-weight:600}
.hw .po{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--hw-yellow);margin-left:6px;vertical-align:2px}
.hw .oddscell{display:flex;align-items:center;gap:8px;min-width:150px}
.hw .bar{flex:1;height:6px;background:#2a2e34;border-radius:3px;overflow:hidden;min-width:60px}
.hw .bar i{display:block;height:100%;background:var(--hw-accent-hi);border-radius:3px}
.hw .oddsval{width:48px;text-align:right;font-weight:700}
.hw .vote{color:var(--hw-muted)}
.hw .vote.won{color:var(--hw-good);font-weight:700}
.hw .hw-more{display:flex;justify-content:center;padding:12px;border-top:1px solid var(--hw-line)}
.hw .hw-more:empty{display:none}
.hw .hw-btn{font:inherit;font-size:12px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#fff;background:var(--hw-accent);border:1px solid var(--hw-accent);border-radius:4px;padding:9px 16px;min-height:38px;cursor:pointer;margin:0}
.hw .hw-btn:hover{background:var(--hw-accent-hi);border-color:var(--hw-accent-hi)}
.hw .hw-empty{padding:24px 12px;text-align:center;color:var(--hw-muted)}
.hw .hw-legend{display:flex;flex-wrap:wrap;gap:4px 18px;font-size:12px;color:var(--hw-muted);margin-top:8px}

/* track record */
.hw .hw-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:10px}
.hw .hw-stat{border:1px solid var(--hw-line);border-radius:4px;padding:12px 14px}
.hw .hw-stat .v{font-size:28px;font-weight:800;line-height:1.1}
.hw .hw-stat .k{font-size:12px;color:var(--hw-muted);margin-top:2px}
.hw .chip{display:inline-block;min-width:56px;text-align:center;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;padding:3px 7px;border-radius:3px}
.hw .chip.hit{background:var(--hw-good-soft);color:var(--hw-good)}
.hw .chip.near{background:var(--hw-head);color:var(--hw-ink)}
.hw .chip.miss{background:#ff4d6122;color:var(--hw-red)}

/* method */
.hw .hw-method{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;max-width:760px}
.hw .hw-method>div{min-width:0}
.hw h3{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;margin-bottom:3px}
.hw .hw-method p,.hw .hw-note{color:var(--hw-muted);font-size:13px;max-width:66ch}
.hw .hw-note{margin-top:12px}

@media (max-width:860px){.hw .hw-ballot{grid-template-columns:repeat(2,minmax(0,1fr))}.hw .hw-ballot .hw-card:first-child{grid-column:1/-1}}
@media (max-width:640px){
  .hw .hw-method,.hw .hw-stats{grid-template-columns:1fr}
  .hw .hide-sm{display:none}
  .hw td.pl{min-width:0}
  .hw td.pl .sub{display:block}
  .hw .oddscell{min-width:0}
  .hw .bar{min-width:36px}
  .hw td,.hw th{padding:7px 7px}
  .hw h1{font-size:26px}
}
