:root {
  --green: #487858;
  --green-deep: #294738;
  --yellow: #ffc850;
  --aqua: #78d0c8;
  --charcoal: #585858;
  --ink: #18221e;
  --muted: #67726d;
  --paper: #f5f4ee;
  --white: #ffffff;
  --line: rgba(29, 55, 43, .16);
  --shadow: 0 14px 34px rgba(18, 35, 28, .14);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
button, select { font: inherit; }
button { cursor: pointer; }
.site-shell { min-height: 100vh; overflow: hidden; background: linear-gradient(165deg, #f8f7f0 0%, #e8eee9 48%, #d8e1db 100%); }
.site-header { height: 74px; max-width: 1220px; padding: 0 26px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--green-deep); font-size: 11px; font-weight: 900; letter-spacing: .16em; }
.brand img { width: 112px; height: 42px; object-fit: contain; }
.site-header__note { margin: 0; color: var(--muted); font-size: 12px; font-weight: 700; text-align: right; }
main { max-width: 1220px; margin: 0 auto; padding: 0 26px 44px; }
.hero { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 32px; padding: 56px 42px 44px; color: var(--white); background: linear-gradient(117deg, rgba(35, 70, 55, .98), rgba(72, 120, 88, .95) 52%, rgba(72, 120, 88, .69)), repeating-linear-gradient(0deg, transparent 0 20px, rgba(255,255,255,.045) 21px 22px); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -90px; top: -115px; width: 420px; height: 420px; border: 54px solid rgba(120, 208, 200, .15); border-radius: 50%; }
.eyebrow, .section-kicker { margin: 0 0 8px; font-size: 11px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; color: var(--aqua); }
.hero .eyebrow { color: var(--yellow); }
h1, h2, h3, p { margin-top: 0; }
h1 { position: relative; z-index: 1; max-width: 700px; margin-bottom: 16px; font-size: clamp(42px, 7vw, 80px); line-height: .88; letter-spacing: -.065em; text-transform: uppercase; }
h1 span { display: block; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.9); }
.hero__copy { position: relative; z-index: 1; max-width: 590px; margin: 0; color: #e8f1ed; font-size: 17px; line-height: 1.55; }
.hero__rule { position: relative; z-index: 1; flex: 0 0 265px; padding: 18px; background: rgba(11, 27, 19, .32); border-left: 4px solid var(--yellow); border-radius: 0 12px 12px 0; }
.hero__rule span { float: left; margin: -8px 8px 0 0; color: var(--yellow); font-size: 38px; font-weight: 900; }
.hero__rule p { margin: 0; color: #eff5f0; font-size: 12px; line-height: 1.45; }
.class-tabs { display: flex; gap: 8px; margin: 20px 0; overflow-x: auto; padding-bottom: 4px; }
.class-tabs button { flex: 1; min-width: 118px; padding: 13px 16px; color: var(--green-deep); background: rgba(255,255,255,.6); border: 1px solid var(--line); border-radius: 999px; font-weight: 900; letter-spacing: .08em; transition: transform .18s ease, background .18s ease; }
.class-tabs button:hover { transform: translateY(-2px); }
.class-tabs button.is-active { color: var(--ink); background: var(--yellow); border-color: var(--yellow); box-shadow: 0 7px 15px rgba(208, 155, 22, .22); }
.field-section--primary .section-heading { margin-top: 20px; }
.controls { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 32px 0 14px; }
.controls h2, .section-heading h2, .tracker h2, .watch h2, .method h2 { margin: 0; font-size: clamp(25px, 3vw, 36px); letter-spacing: -.045em; }
.controls label { display: flex; flex-direction: column; gap: 6px; color: var(--green-deep); font-size: 11px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.controls select { min-width: 180px; padding: 11px 35px 11px 13px; appearance: none; background: var(--white) linear-gradient(45deg, transparent 50%, var(--green) 50%) calc(100% - 15px) 50%/5px 5px no-repeat; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 800; }
.summary-strip { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0 0 28px; border: 1px solid var(--line); border-radius: 13px; overflow: hidden; background: rgba(255,255,255,.58); }
.summary-strip div { padding: 16px; border-right: 1px solid var(--line); }
.summary-strip div:last-child { border: 0; }
.summary-strip span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.summary-strip strong { color: var(--green-deep); font-size: 18px; }
.tracker, .watch, .method { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; margin: 30px 0; padding: 26px; border-radius: 16px; }
.tracker--open { color: var(--white); background: linear-gradient(120deg, #163427, #315847); }
.tracker p, .watch p, .method p { max-width: 700px; margin: 8px 0 0; font-size: 14px; line-height: 1.55; }
.tracker .section-kicker { color: var(--yellow); }
.tracker__teams { display: flex; flex-wrap: wrap; gap: 10px; }
.tracker-team { display: flex; align-items: center; gap: 9px; min-width: 195px; padding: 10px; color: var(--white); text-align: left; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; }
.tracker-team strong, .tracker-team small { display: block; }
.tracker-team small { margin-top: 3px; color: var(--yellow); font-size: 11px; font-weight: 800; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 38px 0 14px; }
.section-heading p { max-width: 380px; margin: 0; color: var(--muted); font-size: 12px; font-weight: 650; line-height: 1.45; text-align: right; }
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.bracket-board { display: grid; gap: 14px; }
.bracket-half { padding: 14px; background: rgba(255,255,255,.61); border: 1px solid var(--line); border-radius: 15px; }
.bracket-half__header { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 0 3px 11px; color: var(--green-deep); }
.bracket-half__header span { color: var(--green); font-size: 10px; font-weight: 950; letter-spacing: .13em; }
.bracket-half__header strong { color: var(--muted); font-size: 11px; }
.bracket-half__games { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.bracket-matchup { overflow: hidden; background: var(--white); border: 1px solid rgba(43,75,58,.24); border-radius: 11px; box-shadow: 0 5px 13px rgba(35,65,49,.07); }
.bracket-matchup > header { display: flex; justify-content: space-between; align-items: center; padding: 7px 11px; color: var(--white); background: var(--green-deep); }
.bracket-matchup > header span { color: var(--aqua); font-size: 9px; font-weight: 950; letter-spacing: .1em; }
.bracket-matchup > header strong { font-size: 12px; }
.bracket-matchup__teams { display: grid; grid-template-columns: minmax(0, 1fr) 31px minmax(0, 1fr); align-items: stretch; }
.bracket-team { display: grid; grid-template-columns: 30px 42px minmax(0, 1fr); align-items: center; width: 100%; min-width: 0; gap: 6px; padding: 10px 7px; color: var(--ink); text-align: left; background: transparent; border: 0; }
.bracket-team:hover { background: #f2f7f3; }
.bracket-team__seed { display: grid; place-items: center; width: 27px; height: 27px; color: var(--white); background: var(--green); border-radius: 50%; font-size: 12px; font-weight: 950; }
.bracket-team__logo { width: 38px; height: 38px; }
.bracket-team__body { min-width: 0; }
.bracket-team__body strong, .bracket-team__body small, .bracket-team__body em { display: block; }
.bracket-team__body strong { overflow: hidden; font-size: 14px; font-weight: 950; letter-spacing: -.025em; text-overflow: ellipsis; white-space: nowrap; }
.bracket-team__body small { overflow: hidden; margin-top: 2px; color: var(--muted); font-size: 9px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.bracket-team__body em { margin-top: 2px; color: var(--green-deep); font-size: 9px; font-style: normal; font-weight: 950; text-transform: uppercase; }
.bracket-versus { display: grid; place-items: center; align-self: stretch; color: var(--green); background: #edf3ed; border-right: 1px solid var(--line); border-left: 1px solid var(--line); font-size: 10px; font-weight: 950; letter-spacing: .06em; }
.team-card { position: relative; display: grid; grid-template-columns: 60px 1fr 88px; min-height: 118px; overflow: hidden; padding: 0; color: var(--ink); text-align: left; background: rgba(255,255,255,.86); border: 1px solid rgba(43,75,58,.23); border-radius: 13px; box-shadow: 0 5px 15px rgba(35,65,49,.08); transition: transform .18s ease, box-shadow .18s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 13px 24px rgba(35,65,49,.14); }
.team-card__edge { position: absolute; inset: 0 auto 0 0; width: 5px; background: var(--aqua); }
.team-card--bubble .team-card__edge { background: var(--yellow); }
.team-card__rank { display: flex; align-items: center; justify-content: center; padding: 8px 0; color: var(--white); background: var(--green); font-size: 11px; font-weight: 900; letter-spacing: .12em; writing-mode: vertical-rl; transform: rotate(180deg); }
.team-card--bubble .team-card__rank { color: var(--ink); background: var(--yellow); }
.team-card__body { align-self: center; min-width: 0; padding: 13px 4px 13px 13px; }
.team-card__name { display: block; overflow: hidden; font-size: 19px; font-weight: 950; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.auto-star { margin-left: 2px; color: var(--yellow); font-size: 1.18em; vertical-align: top; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 7px 0; }
.team-card__tags span { padding: 3px 5px; color: #435047; background: #e9ede9; font-size: 9px; font-weight: 900; }
.team-card__odds { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .025em; text-transform: uppercase; }
.team-card__odds strong { margin-right: 4px; color: var(--green-deep); font-size: 17px; }
.team-logo { position: relative; display: inline-grid; place-items: center; flex: 0 0 auto; overflow: hidden; }
.team-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.logo-fallback { display: grid; place-items: center; width: 100%; height: 100%; color: var(--white); background: var(--green); border: 2px solid var(--white); border-radius: 50%; font-size: 10px; font-weight: 950; letter-spacing: .04em; }
.team-card__logo { align-self: center; width: 71px; height: 71px; margin-right: 13px; }
.bubble-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.watch { grid-template-columns: minmax(180px, .7fr) 1.3fr; color: var(--ink); background: linear-gradient(120deg, rgba(255,200,80,.95), rgba(255,236,184,.82)); border: 1px solid rgba(171,120,9,.18); }
.watch .section-kicker { color: #74520a; }
.watch-team { display: grid; grid-template-columns: 62px 1fr auto; align-items: center; gap: 12px; padding: 12px; color: var(--ink); text-align: left; background: rgba(255,255,255,.63); border: 1px solid rgba(94,72,14,.2); border-radius: 12px; }
.watch-team strong, .watch-team small, .watch-team em { display: block; }
.watch-team strong { font-size: 18px; }
.watch-team small { margin-top: 2px; color: #4c514d; font-size: 11px; font-weight: 800; }
.watch-team em { margin-top: 5px; color: #76560c; font-size: 10px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.watch-team b { font-size: 10px; letter-spacing: .1em; }
.watch-team__logo { width: 56px; height: 56px; }
.district-section { margin-top: 42px; }
.district-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.district-panel { overflow: hidden; background: rgba(255,255,255,.82); border: 1px solid var(--line); border-radius: 14px; }
.district-panel__header { display: flex; justify-content: space-between; padding: 15px 17px; color: var(--white); background: var(--green-deep); }
.district-panel__header span { color: var(--aqua); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.district-panel__header strong { font-size: 13px; }
.district-row { display: grid; grid-template-columns: 29px 42px 1fr auto; align-items: center; width: 100%; gap: 8px; padding: 9px 13px; color: var(--ink); text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); }
.district-row:last-child { border-bottom: 0; }
.district-row:hover { background: #f6f9f6; }
.district-row__place { color: var(--green); font-size: 17px; font-weight: 950; }
.district-row__logo { width: 34px; height: 34px; }
.district-row__team strong, .district-row__team small { display: block; }
.district-row__team strong { font-size: 14px; }
.district-row__team i { margin-left: 2px; color: #bb8400; font-style: normal; }
.district-row__team small { color: var(--muted); font-size: 10px; font-weight: 700; }
.district-row__rank { color: var(--muted); font-size: 10px; font-weight: 900; }
.method { grid-template-columns: minmax(220px,.65fr) 1.35fr; margin-top: 42px; color: var(--white); background: var(--charcoal); }
.method .section-kicker { color: var(--aqua); }
.method p { margin: 0; color: #ebefec; }
.sponsor { display: grid; place-items: center; gap: 8px; margin: 30px 0 0; padding: 14px; background: rgba(255,255,255,.7); border-radius: 14px; }
.sponsor span { color: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.sponsor img { width: min(100%, 720px); max-height: 125px; object-fit: contain; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1220px; padding: 22px 26px 40px; margin: 0 auto; color: var(--muted); border-top: 1px solid var(--line); }
.site-footer img { width: 110px; height: 45px; object-fit: contain; }
.site-footer p { margin: 0; max-width: 600px; font-size: 11px; line-height: 1.5; text-align: right; }
.tracker-team__logo { width: 38px; height: 38px; }
.empty-state { grid-column: 1 / -1; margin: 0; padding: 28px; color: var(--muted); background: rgba(255,255,255,.6); border: 1px dashed var(--line); border-radius: 12px; text-align: center; }
.drawer-backdrop { position: fixed; z-index: 9; inset: 0; background: rgba(13, 28, 20, .48); backdrop-filter: blur(4px); }
.team-drawer { position: fixed; z-index: 10; top: 0; right: 0; width: min(510px, 100vw); height: 100vh; overflow-y: auto; padding: 30px; background: #f8f7f1; box-shadow: -18px 0 50px rgba(10,23,16,.25); outline: 0; animation: slideIn .24s ease-out; }
@keyframes slideIn { from { transform: translateX(100%); } to { transform: translateX(0); } }
.drawer-close { position: absolute; top: 14px; right: 15px; width: 36px; height: 36px; color: var(--green-deep); background: var(--white); border: 1px solid var(--line); border-radius: 50%; font-size: 25px; line-height: 1; }
.drawer-team { display: flex; align-items: center; gap: 18px; padding: 13px 40px 21px 0; border-bottom: 4px solid var(--aqua); }
.drawer-logo { width: 94px; height: 94px; }
.drawer-team h2 { margin: 0 0 5px; color: var(--green-deep); font-size: 31px; letter-spacing: -.055em; }
.drawer-team p { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.drawer-scenario { margin: 22px 0; color: #37433d; font-size: 16px; line-height: 1.55; }
.metric-grid { display: grid; grid-template-columns: repeat(2, 1fr); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.metric-grid div { padding: 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric-grid div:nth-child(2n) { border-right: 0; }
.metric-grid div:nth-last-child(-n+2) { border-bottom: 0; }
.metric-grid span { display: block; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.metric-grid strong { display: block; margin-top: 4px; color: var(--green-deep); font-size: 25px; letter-spacing: -.04em; }
.drawer-section { padding: 20px 0; border-bottom: 1px solid var(--line); }
.drawer-section h3 { margin-bottom: 9px; color: var(--green-deep); font-size: 17px; }
.drawer-section p { margin: 0; color: #4d5852; font-size: 14px; line-height: 1.5; }
dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0; }
dl div { padding: 10px; background: rgba(72,120,88,.08); border-radius: 8px; }
dt { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
dd { margin: 4px 0 0; color: var(--green-deep); font-size: 15px; font-weight: 900; }
.schedule-list { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.schedule-list li { display: grid; grid-template-columns: 92px 48px 1fr; gap: 8px; align-items: center; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: 8px; font-size: 12px; }
.schedule-list span { color: var(--muted); font-weight: 750; }
.schedule-list strong { color: var(--green); font-size: 10px; letter-spacing: .08em; }
.schedule-list em { font-style: normal; font-weight: 900; }
.drawer-note { margin: 17px 0 0; color: var(--muted); font-size: 11px; line-height: 1.45; }
.nojs-snapshot { max-width: 900px; padding: 48px; margin: 40px auto; color: var(--ink); background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.nojs-snapshot h1 { color: var(--green-deep); font-size: 54px; }
.nojs-snapshot h2 { color: var(--green); }
.nojs-snapshot li { margin: 10px 0; line-height: 1.5; }
.nojs-note, .data-error { max-width: 900px; margin: 0 auto 30px; padding: 12px 20px; color: #7c291f; background: #fde9e5; border-radius: 8px; }
@media (max-width: 760px) {
  .site-header { height: 62px; padding: 0 18px; }
  .brand img { width: 91px; }
  .site-header__note { font-size: 10px; }
  main { padding: 0 14px 28px; }
  .hero { display: block; padding: 38px 23px 26px; border-radius: 17px; }
  h1 { font-size: 47px; }
  .hero__copy { font-size: 14px; }
  .hero__rule { margin-top: 24px; }
  .class-tabs { margin: 14px 0; }
  .class-tabs button { min-width: 92px; padding: 11px; font-size: 11px; }
  .controls, .section-heading { align-items: start; flex-direction: column; }
  .controls { margin-top: 26px; }
  .controls select { width: min(270px, 90vw); }
  .section-heading p { text-align: left; }
  .summary-strip { grid-template-columns: repeat(2, 1fr); }
  .summary-strip div:nth-child(2) { border-right: 0; }
  .summary-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tracker, .watch, .method { display: block; padding: 20px; }
  .tracker__teams { margin-top: 15px; }
  .bracket-half__header { align-items: flex-start; flex-direction: column; gap: 3px; }
  .bracket-half__games { grid-template-columns: 1fr; }
  .bracket-team { grid-template-columns: 30px 42px minmax(0, 1fr); padding: 10px 9px; }
  .bracket-team__body strong { overflow: visible; font-size: 13px; line-height: 1.08; text-overflow: clip; white-space: normal; }
  .bracket-team__body small { font-size: 8px; }
  .field-grid, .bubble-grid, .district-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 51px 1fr 76px; min-height: 106px; }
  .team-card__name { font-size: 17px; }
  .team-card__logo { width: 61px; height: 61px; margin-right: 10px; }
  .watch-team { grid-template-columns: 53px 1fr; }
  .watch-team b { display: none; }
  .site-footer { align-items: flex-start; flex-direction: column; padding: 22px 18px 36px; }
  .site-footer p { text-align: left; }
  .team-drawer { padding: 24px 19px; }
  .drawer-team h2 { font-size: 27px; }
  .schedule-list li { grid-template-columns: 77px 42px 1fr; font-size: 11px; }
}
