:root {
  color-scheme: light;
  --paper: #f7f6ef;
  --card: #fffdf7;
  --ink: #182a24;
  --muted: #57645b;
  --green: #24563d;
  --lime: #d6ef85;
  --line: #dcded0;
  --serif: Georgia, "Times New Roman", serif;
  font: 100%/1.55 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); min-width: 300px; }
a { color: var(--green); text-underline-offset: .22em; }
a:hover { color: #123322; }
button, select { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 3px solid #597c30;
  outline-offset: 4px;
}
h1, h2, h3, p, dl { margin: 0; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; left: -1000px; top: .5rem; }
.skip-link:focus { left: .5rem; background: white; padding: .5rem 1rem; z-index: 2; }
.site-header { background: #fdfcf7; border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.header-inner { min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--ink); text-decoration: none; font-weight: 780; letter-spacing: -.025em; }
.brand-mark { width: 30px; height: 30px; display: flex; align-items: end; justify-content: center; gap: 2.5px; padding-bottom: 7px; border-radius: 6px; background: #1b3a2e; }
.brand-mark i { width: 3px; height: 7px; border-radius: 1px; background: var(--lime); }
.brand-mark i:nth-child(2) { height: 11px; }
.brand-mark i:nth-child(3) { height: 15px; }
.site-header nav { display: flex; gap: 1.5rem; align-self: stretch; }
.site-header nav a { display: flex; align-items: center; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; font-size: .91rem; font-weight: 680; }
.site-header nav a[aria-current] { color: var(--ink); border-color: #316747; }
main.wrap { padding-block: 30px 55px; min-height: calc(100vh - 165px); }
.hero { container-type: inline-size; background: #142b25; color: #f8faed; padding: 40px 40px 31px; border-radius: 16px; background-image: linear-gradient(115deg, #102820, #20392e); }
.eyebrow { color: var(--lime); font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .12em; }
.hero h1 { font: 500 clamp(2.55rem, 6vw, 4.7rem)/1.02 var(--serif); letter-spacing: -.055em; margin: 9px 0 10px; }
.hero-copy > p:last-child { color: #d4ded2; max-width: 560px; }
.hero-stats, .ledger-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 25px; border-top: 1px solid #506056; }
.stat { padding-top: 14px; min-width: 0; }
.stat + .stat { border-left: 1px solid #506056; padding-left: clamp(12px, 3vw, 28px); }
.stat > * { display: block; }
.stat span, .stat small { color: #d4ded2; font-size: .82rem; }
.stat strong { color: var(--lime); font-size: clamp(1.24rem, 3.8vw, 2rem); font-variant-numeric: tabular-nums; font-weight: 700; letter-spacing: -.06em; line-height: 1.25; }
.toolbar { display: flex; justify-content: space-between; align-items: end; gap: 12px; margin-block: 24px 20px; }
.week-picker label { display: block; font-size: .8rem; font-weight: 730; color: var(--muted); margin-bottom: 3px; }
.week-picker > div, .toolbar-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.week-picker select, .week-picker button, .button { background: var(--card); color: var(--ink); border: 1px solid #b9c1b4; border-radius: 6px; padding: 8px 12px; min-height: 42px; }
.week-picker button, .button { font-size: .88rem; font-weight: 720; text-decoration: none; }
.week-picker button { background: #234b39; color: #fff; border-color: #234b39; }
.week-picker button:hover { background: #153829; }
.button:hover { background: #eef1e6; }
.dashboard-stack { display: grid; gap: 23px; }
.surface { background: var(--card); border: 1px solid var(--line); border-radius: 13px; }
.featured { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, 1fr); overflow: hidden; border-color: #aabf8c; }
.featured-main { padding: 23px 28px 26px; }
.featured-label, .section-head, .ticket-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.featured-label { justify-content: start; flex-wrap: wrap; }
.featured-label h2 { color: #26533c; font-size: .92rem; font-weight: 790; }
.featured h3 { font: 500 clamp(2.05rem, 4.5vw, 3.25rem)/1.12 var(--serif); letter-spacing: -.05em; margin: 7px 0 3px; }
.featured p { max-width: 64ch; margin-top: 10px; }
.featured p.matchup { color: var(--muted); margin-top: 1px; font-size: .94rem; }
.featured p.conditions { border-left: 2px solid #9fb882; padding-left: 10px; color: #435244; font-size: .91rem; }
.conditions strong, .ticket details strong { display: inline; margin-right: 4px; }
.feature-facts { align-content: start; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; background: #edf2e0; border-left: 1px solid #cdd9bb; padding: 23px 22px; }
.feature-facts dt { color: #495749; font-size: .81rem; }
.feature-facts dd { font-weight: 730; margin: 1px 0 0; overflow-wrap: anywhere; }
.feature-facts > div:nth-child(n + 5) { grid-column: 1 / -1; }
.section-head h2 { font: 500 clamp(1.6rem, 3.1vw, 2.25rem)/1.16 var(--serif); letter-spacing: -.035em; }
.section-head p { color: var(--muted); font-size: .92rem; margin-top: 5px; max-width: 76ch; }
.ticket-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 12px; align-items: start; }
.ticket { padding: 15px 16px; }
.ticket-head h3 { font-size: .91rem; }
.badge { white-space: nowrap; display: inline-block; color: #35443b; background: #e8ece1; border-radius: 99px; font-size: .76rem; font-weight: 740; padding: 2px 10px; }
.badge.win { color: #1b5034; background: #e0edd9; }
.badge.loss { color: #7b2920; background: #f8e4de; }
.badge.push, .badge.pass, .badge.hold { color: #6d4513; background: #f5ead3; }
.legs { display: grid; gap: 9px; list-style: none; padding: 0; margin: 12px 0; }
.legs li { display: grid; border-top: 1px solid var(--line); padding-top: 7px; min-width: 0; }
.legs strong { overflow-wrap: anywhere; }
.leg-market, .legs small { color: var(--muted); font-size: .79rem; }
.ticket-prices { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ticket-prices strong { margin-left: auto; color: var(--green); }
.ticket details { margin-top: 9px; border-top: 1px solid var(--line); padding-top: 8px; font-size: .84rem; color: var(--muted); }
.ticket summary { cursor: pointer; font-weight: 750; color: var(--green); }
.ticket details p { margin-top: 8px; }
.week-source { color: var(--muted); font-size: .88rem; }
.data-panel { padding: 20px 23px; min-width: 0; }
.ledger-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); border-color: var(--line); margin-top: 15px; }
.ledger-stats .stat { border-color: var(--line); }
.ledger-stats .stat strong { color: var(--green); }
.ledger-stats .stat span, .ledger-stats .stat small { color: var(--muted); }
.table-scroll { overflow-x: auto; margin-top: 14px; }
table { border-collapse: collapse; width: 100%; text-align: left; font-variant-numeric: tabular-nums; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); font-size: .88rem; white-space: nowrap; }
thead th { color: var(--muted); background: #f1f2ea; }
tbody th { font-weight: 700; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.empty, .notice { padding: 15px 20px; }
.site-footer { background: #ecefe5; border-top: 1px solid var(--line); color: #425148; font-size: .87rem; }
.footer-inner { padding-block: 19px; }
.footer-inner > span { font-weight: 770; color: var(--ink); }
@media (max-width: 820px) {
  .ticket-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 28px); }
  main.wrap { padding-top: 16px; }
  .header-inner { min-height: 0; align-items: flex-start; flex-direction: column; gap: 0; padding-top: 11px; }
  .site-header nav { min-height: 44px; }
  .hero { padding: 24px 17px 19px; }
  .hero-stats { margin-top: 17px; }
  .hero-stats .stat span, .hero-stats .stat small { font-size: .75rem; }
  .toolbar { align-items: flex-start; flex-direction: column; }
  .featured { grid-template-columns: minmax(0, 1fr); }
  .featured-main { padding: 17px; }
  .feature-facts { border-left: 0; border-top: 1px solid #cdd9bb; padding: 17px; }
  .ticket-grid { grid-template-columns: minmax(0, 1fr); }
  .ledger-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger-stats .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 4px; }
}
