:root{
  --ink:#2a2a2a;
  --muted:#6b7280;

  /* BRAND COLORS (matched to your site) */
  --primary:#c27a2c;
  --primary-soft:#f5e6d3;

  --line:#eee3d3;
  --paper:#ffffff;

  /* BACKGROUND */
  --bg:#faf7f2;
  --top:#fff8ed;

  /* Cards */
  --card-bg:#fffaf4;
  --card-border:#eadac3;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:"DM Sans",sans-serif;
}.site-header{height:76px;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1200px)/2));box-shadow:0 1px 0 #ece8f7}.brand{display:flex;align-items:center;gap:9px;color:#7c2e31;text-decoration:none;font:700 20px/18px Outfit,sans-serif}.brand-mark{font-size:34px;color:#7c2e31}.live-status{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:13px}.status-dot{width:9px;height:9px;border-radius:50%;background:#94a3b8}.status-dot.live{background:#27b36a;box-shadow:0 0 0 4px #dcfce7}.page-shell{max-width:1230px;margin:0 auto;padding:44px 24px 64px}
.intro-card,.table-card{
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:16px;
  box-shadow:0 4px 12px rgba(0,0,0,0.04);
}
.intro-card{padding:24px 26px;display:flex;align-items:end;justify-content:space-between;gap:24px}.eyebrow{font-size:12px;font-weight:700;color:var(--blue);letter-spacing:.03em;margin:0 0 6px}h1,h2{font-family:Outfit,sans-serif;margin:0;letter-spacing:-.035em}h1{font-size:30px}h2{font-size:25px}.intro-card p:not(.eyebrow),.table-header p:not(.eyebrow){margin:6px 0 0;color:var(--muted);font-size:14px}.filters{display:flex;align-items:end;gap:10px;flex-wrap:wrap}.filters label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#475569}
.filters input{
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  height: 42px;
  padding: 0px 11px;
  font: 14px "DM Sans", sans-serif;
}

.filters input:focus{
  outline:none;
  border-color:var(--primary);
}
.source-control input{width:235px}.help-button{border:0;background:#dce8ff;color:#2452bc;border-radius:50%;font-weight:700;cursor:pointer;width:17px;height:17px;padding:0}
.primary-button,.refresh-button{height:42px;border:0;border-radius:10px;padding:0 17px;background:var(--primary);color:white;font:700 14px "DM Sans",sans-serif;cursor:pointer}
.primary-button:hover{
  background:#a8641f;
}
.champions-section{margin:28px 0 32px}.section-heading{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 0 18px}.section-heading>span:first-child{font-size:25px}.section-heading #selectedDateLabel{font-size:14px;color:var(--muted);margin-left:4px}.champion-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px}.champion-card{position:relative;overflow:hidden;min-height:205px;border-radius:18px;border:2px solid var(--card-border);background:var(--card-bg);padding:18px 14px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;box-shadow:0 9px 18px #33415513}.champion-card:first-child{box-shadow:0 13px 25px #c98a151f}.medal{font-size:30px;line-height:1}.place{font-size:11px;font-weight:700;color:#5a4d31;margin:8px 0}.champion-name{font:700 18px/1.15 Outfit,sans-serif}.champion-time{margin-top:16px;color:#7c2e31;
  border:1px solid var(--line);background:#ffffff9c;border-radius:9px;width:100%;padding:9px 3px;color:#7c2e31;font:700 16px Outfit,sans-serif}
.rank-1{--card-bg:#f7d9a8;--card-border:#d4a15d}
.rank-2{--card-bg:#f1efe9;--card-border:#c9c5bb}
.rank-3{--card-bg:#fff8ed;--card-border:#f7d9a8}
.rank-4{--card-bg:#f8efe3;--card-border:#e2c9a6}
.rank-5{--card-bg:#efe7da;--card-border:#d6c2a3}
.rank-6{--card-bg:#f3efe8;--card-border:#d8d2c7}
.table-card{overflow:hidden}.table-header{padding:25px 26px;display:flex;justify-content:space-between;align-items:center}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}
th{background:var(--primary-soft);;color:#5a4632;padding:16px 26px;font-size:13px}
td{border-bottom:1px solid var(--line);padding:17px 26px;font-size:15px}tr.is-champion td{background:var(--top);font-weight:700}.rank-cell{font:700 16px Outfit,sans-serif;width:16%}.name-cell{width:54%}.time-cell{font-weight:700;color:#7c2e31;white-space:nowrap}.medal-small{margin-right:7px}.empty-state{text-align:center;padding:34px;color:var(--muted)}dialog{max-width:500px;border:0;border-radius:16px;box-shadow:0 20px 60px #17203944;padding:27px 31px;color:var(--ink)}dialog::backdrop{background:#17203970}dialog h2{margin-bottom:12px}.dialog-close{float:right;border:0;background:none;font-size:28px;line-height:20px;cursor:pointer}@media(max-width:900px){.champion-grid{grid-template-columns:repeat(3,1fr)}.intro-card{align-items:flex-start;flex-direction:column}.filters{width:100%}.source-control{flex:1}.source-control input{width:100%}}@media(max-width:560px){.site-header{padding:0 17px}.page-shell{padding:25px 14px}.intro-card{padding:20px}.filters{display:grid;grid-template-columns:1fr}.filters label,.source-control{width:100%}.primary-button{width:100%}.champion-grid{grid-template-columns:repeat(2,1fr);gap:10px}.champion-card{min-height:175px}.champion-name{font-size:16px}.table-header{padding:20px}.table-header h2{font-size:22px}th,td{padding:14px 16px}.rank-cell{width:auto}.name-cell{width:auto}}
.report-tabs{display:inline-flex;gap:4px;margin:0 0 18px;padding:5px;background:#fff;border:1px solid var(--line);border-radius:13px;box-shadow:0 6px 16px #263d7e10}
.report-tab.is-active{
  background:#7c2e31);
  color:#fff;
}
.report-tab{border:0;border-radius:9px;background:transparent;color:#64748b;padding:11px 17px;font:700 14px "DM Sans",sans-serif;cursor:pointer}.report-tab.is-active{background:#7c2e31;color:#fff;box-shadow:0 3px 8px #7c2e31a6}@media(max-width:560px){.report-tabs{width:100%;display:grid;grid-template-columns:1fr 1fr}.report-tab{padding:10px 6px;font-size:12px}}
.sync-note{height:42px;border:1px solid #dbe7fe;border-radius:10px;padding:5px 12px;display:flex;align-items:center;gap:8px;background:#f8fbff;color:#334155;font-size:12px;font-weight:600}.sync-note small{color:var(--muted);font-weight:400}.sync-icon{color:#2563eb;font-size:20px}
