:root {
  --bg: #0e110f;
  --surface: #141815;
  --surface-2: #191e1a;
  --line: #272d29;
  --line-light: #353d37;
  --text: #edf0ed;
  --muted: #929b94;
  --green: #6cc77f;
  --green-strong: #4eaa64;
  --green-soft: rgba(108, 199, 127, 0.11);
  --amber: #cbb56e;
  --orange: #c78e69;
  --pink: #c47f91;
  --radius: 10px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: linear-gradient(180deg, #111512 0, var(--bg) 420px);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
button, a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.shell { width: min(100% - 40px, 1040px); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 17, 15, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner { display: flex; min-height: 64px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; }
.brand img { display: block; width: 174px; height: auto; }
.update-state { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; }
.update-state i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }

.intro { padding: 60px 0 50px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0.01em; }
h1, h2 { margin: 0; }
h1 {
  max-width: 760px;
  font-size: clamp(42px, 6vw, 64px);
  font-weight: 720;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.intro-copy { max-width: 680px; margin: 19px 0 0; color: #b6beb8; font-size: 16px; line-height: 1.6; }
.intro-meta { display: flex; flex-wrap: wrap; margin-top: 28px; color: var(--muted); font-size: 12px; }
.intro-meta span { display: inline-flex; align-items: baseline; gap: 6px; padding: 0 18px; border-left: 1px solid var(--line-light); }
.intro-meta span:first-child { padding-left: 0; border-left: 0; }
.intro-meta strong { color: var(--text); font-size: 17px; font-weight: 700; }

.controls { position: relative; z-index: 10; padding: 16px 0 18px; border-block: 1px solid var(--line); background: #101411; }
.controls-inner { display: grid; grid-template-columns: minmax(240px, 1fr) auto auto; align-items: center; gap: 16px; }
.search-field { display: flex; min-height: 44px; align-items: center; gap: 10px; padding: 0 14px; border: 1px solid var(--line-light); border-radius: 8px; background: var(--surface); }
.search-field:focus-within { border-color: var(--green-strong); }
.search-field svg { width: 17px; flex: 0 0 auto; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 14px; }
.search-field input::placeholder { color: #747e76; }
.month-links { display: flex; gap: 5px; }
.month-links a { padding: 9px 10px; border-radius: 6px; color: #bdc5bf; font-size: 12px; font-weight: 600; text-decoration: none; }
.month-links a:hover { color: var(--green); background: var(--green-soft); }
.result-count { display: flex; align-items: baseline; gap: 5px; color: var(--muted); font-size: 11px; }
.result-count strong { color: var(--text); font-size: 19px; }

.filter-board { margin-top: 14px; padding: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.filter-board-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.filter-board-head > div { display: flex; align-items: baseline; gap: 10px; }
.filter-board-head strong { font-size: 13px; font-weight: 650; }
.filter-board-head span { color: var(--muted); font-size: 11px; }
.filter-options { display: flex; min-width: 0; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.filter-options::-webkit-scrollbar { display: none; }
.filter-options.wrap { flex-wrap: wrap; overflow: visible; }
.filter-chip, .reset-button, .empty-state button {
  min-height: 32px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: #abb4ad;
  background: #111512;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.filter-chip:hover { color: var(--text); border-color: #485149; }
.filter-chip.active { color: #d9edde; border-color: rgba(108,199,127,.48); background: var(--green-soft); }
.reset-button { color: var(--green); }
.filter-groups { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, .9fr) minmax(0, 1fr); gap: 18px; padding-top: 14px; }
.filter-group { min-width: 0; }
.filter-label { display: block; margin-bottom: 8px; color: #aeb6b0; font-size: 11px; font-weight: 600; }

.date-browser { padding-top: 58px; }
.date-browser-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 22px; }
.date-browser-head .eyebrow { margin-bottom: 8px; }
.date-browser-head h2 { font-size: clamp(28px, 3.5vw, 36px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; }
.date-browser-head > p { max-width: 350px; margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.5; text-align: right; }
.month-calendars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.month-calendar { padding: 17px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.month-calendar > header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.month-calendar > header h3 { margin: 0; font-size: 16px; font-weight: 650; }
.month-calendar > header span { color: var(--muted); font-size: 11px; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; }
.calendar-weekdays { margin-bottom: 6px; }
.calendar-weekdays span { color: #778078; font-size: 9px; font-weight: 650; text-align: center; }
.calendar-day, .calendar-day-blank { min-width: 0; min-height: 48px; }
.calendar-day { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding: 8px; overflow: hidden; border: 1px solid transparent; border-radius: 7px; color: #7f8981; background: #111512; text-align: left; cursor: pointer; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease; }
.calendar-day strong { font-size: 12px; font-weight: 600; }
.calendar-day span { display: inline-flex; min-width: 17px; height: 17px; align-items: center; justify-content: center; border-radius: 9px; color: #b8d9bf; background: rgba(108,199,127,.10); font-size: 9px; font-weight: 700; }
.calendar-day.has-events { color: var(--text); border-color: #303832; background: #161b17; }
.calendar-day-accent { position: absolute; bottom: 6px; left: 8px; width: 12px; height: 2px; border-radius: 2px; background: var(--green); opacity: 0; }
.calendar-day.is-notable-day { border-color: rgba(108,199,127,.34); background: rgba(108,199,127,.07); }
.calendar-day.is-notable-day .calendar-day-accent { opacity: .72; }
.calendar-day.is-top-day { border-color: rgba(203,181,110,.52); background: rgba(203,181,110,.09); }
.calendar-day.is-top-day strong { font-weight: 760; }
.calendar-day.is-top-day span { color: #e7d99f; background: rgba(203,181,110,.12); }
.calendar-day.is-top-day .calendar-day-accent { width: 19px; background: var(--amber); opacity: .95; }
.calendar-day.is-super-day { border-color: rgba(196,127,145,.58); background: rgba(196,127,145,.11); }
.calendar-day.is-super-day strong { font-weight: 780; }
.calendar-day.is-super-day span { color: #e9c2cc; background: rgba(196,127,145,.13); }
.calendar-day.is-super-day .calendar-day-accent { width: 22px; background: var(--pink); opacity: 1; }
.calendar-day:hover { color: var(--text); border-color: rgba(108,199,127,.48); background: var(--green-soft); }
.calendar-day.is-top-day:hover { border-color: rgba(203,181,110,.72); background: rgba(203,181,110,.13); }
.calendar-day.is-super-day:hover { border-color: rgba(196,127,145,.76); background: rgba(196,127,145,.15); }
.calendar-day:focus-visible { outline-offset: 1px; }

.calendar-section { padding: 70px 0 96px; }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 54px; }
.calendar-heading h2, .month-divider h2 { font-size: clamp(32px, 4vw, 42px); font-weight: 700; line-height: 1.08; letter-spacing: -0.035em; }
.calendar-heading > p { max-width: 370px; margin: 0 0 3px; color: var(--muted); font-size: 12px; line-height: 1.45; text-align: right; }
.calendar { display: grid; }
.month-divider { position: relative; display: flex; scroll-margin-top: 152px; align-items: baseline; justify-content: space-between; margin: 68px 0 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.month-divider::after { content: ""; position: absolute; bottom: -1px; left: 0; width: 72px; height: 1px; background: var(--green); }
.month-divider:first-child { margin-top: 0; }
.month-divider h2 { color: var(--text); text-transform: capitalize; }
.month-divider span { color: var(--muted); font-size: 12px; font-weight: 800; }

.date-group { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 30px; padding: 34px 0 42px; border-bottom: 1px solid var(--line); }
.date-heading { position: sticky; top: 84px; align-self: start; }
.date-number { display: flex; align-items: end; gap: 7px; }
.date-open-button { width: fit-content; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.date-open-button:hover strong { color: var(--green); }
.date-number strong { color: var(--text); font-size: 46px; font-weight: 680; line-height: 0.82; letter-spacing: -0.04em; }
.date-number span { padding-bottom: 2px; color: #c3cbc5; font-size: 12px; font-weight: 800; text-transform: uppercase; }
.date-heading h2 { margin-top: 12px; font-size: 14px; font-weight: 700; text-transform: capitalize; }
.date-heading p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 6px 0 0; color: var(--muted); font-size: 10px; line-height: 1.4; }
.day-rating { display: inline-flex; align-items: center; padding: 3px 6px; border: 1px solid var(--line-light); border-radius: 6px; color: #c7d0ca; font-weight: 850; }
.day-rating.rating-warm { color: var(--amber); border-color: rgba(203,181,110,.28); background: rgba(203,181,110,.06); }
.day-rating.rating-hot { color: var(--orange); border-color: rgba(199,142,105,.30); background: rgba(199,142,105,.07); }
.day-rating.rating-super { color: #ddb0bb; border-color: rgba(196,127,145,.42); background: rgba(196,127,145,.10); }
.day-content { display: grid; gap: 28px; min-width: 0; }
.sport-block { --sport-accent: var(--green); min-width: 0; }
.sport-football { --sport-accent: #75bd85; }
.sport-hockey { --sport-accent: #7fa9bd; }
.sport-mma { --sport-accent: #c09272; }
.sport-boxing { --sport-accent: #bd7f88; }
.sport-tennis { --sport-accent: #b0b474; }
.sport-esports { --sport-accent: #998bab; }
.sport-basketball { --sport-accent: #bd9169; }
.sport-motorsport { --sport-accent: #b97c82; }
.sport-heading { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 11px; padding: 5px 8px 5px 6px; border: 1px solid color-mix(in srgb, var(--sport-accent) 22%, var(--line)); border-radius: 7px; color: color-mix(in srgb, var(--sport-accent) 80%, var(--text)); background: transparent; font-size: 12px; }
.sport-heading span { font-size: 17px; }
.tournaments { display: grid; gap: 12px; }
.tournament-block { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.tournament-block > header { position: relative; display: flex; min-height: 45px; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 14px 10px 17px; border-bottom: 1px solid var(--line); }
.tournament-block > header::before { content: ""; position: absolute; inset: 11px auto 11px 0; width: 3px; border-radius: 3px; background: var(--sport-accent); }
.tournament-block header h3 { margin: 0; font-size: 12px; font-weight: 750; }
.tournament-block header span { color: var(--muted); font-size: 10px; }
.event-list { display: grid; }
.event-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto 20px; gap: 13px; align-items: center; min-height: 64px; padding: 10px 14px; border-bottom: 1px solid var(--line); transition: background .16s ease; }
.event-row:hover { background: rgba(255,255,255,.022); }
.event-list > :last-child .event-row, .event-list > .event-row:last-child { border-bottom: 0; }
.event-row > time { color: var(--muted); font-size: 12px; font-weight: 700; }
.event-copy { min-width: 0; }
.event-title-line { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 6px 9px; }
.event-title-line h4 { margin: 0; font-size: 14px; font-weight: 550; line-height: 1.3; }
.event-row.is-top .event-title-line h4 { color: #fff; font-weight: 800; }
.event-row.is-top { box-shadow: inset 2px 0 0 color-mix(in srgb, var(--sport-accent) 72%, transparent); }
.event-row.is-main { background: rgba(199,142,105,.045); }
.event-row.rating-super { background: rgba(196,127,145,.06); box-shadow: inset 2px 0 0 rgba(196,127,145,.75); }
.event-copy p { margin: 5px 0 0; overflow: hidden; color: var(--muted); font-size: 10px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.rating-pill { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; padding: 3px 6px; border: 1px solid var(--line-light); border-radius: 6px; color: #aebbb2; background: rgba(255,255,255,.025); font-size: 9px; font-weight: 900; white-space: nowrap; }
.rating-pill.rating-warm { color: var(--amber); border-color: rgba(203,181,110,.25); background: rgba(203,181,110,.055); }
.rating-pill.rating-hot { color: var(--orange); border-color: rgba(199,142,105,.3); background: rgba(199,142,105,.065); }
.rating-pill.rating-super { color: #ddb0bb; border-color: rgba(196,127,145,.4); background: rgba(196,127,145,.10); }
.event-count { color: var(--muted); font-size: 10px; white-space: nowrap; }
.source-link { color: var(--muted); font-size: 13px; text-decoration: none; }
.source-link:hover { color: var(--green); }

.program-details > summary { display: block; list-style: none; cursor: pointer; }
.program-details > summary::-webkit-details-marker { display: none; }
.tournament-expandable > header > div span { display: block; margin-top: 3px; }
.tournament-toggle { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 5px; padding: 5px 0; border: 0; color: var(--sport-accent); background: transparent; font-size: 10px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.tournament-toggle i, .program-action i { font-style: normal; transition: transform 0.16s ease; }
.tournament-expandable.is-open .tournament-toggle i, .program-details[open] .program-action i { transform: rotate(180deg); }
.remaining-events { border-top: 1px solid var(--line-light); background: #111512; }
.remaining-events::before { content: "Ещё матчи"; display: block; padding: 9px 14px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.program-details { border-bottom: 1px solid var(--line); }
.program-details:last-child { border-bottom: 0; }
.program-details .event-row { border-bottom: 0; }
.program-action { display: flex; justify-content: flex-end; gap: 5px; padding: 0 14px 10px; color: var(--green); font-size: 9px; font-weight: 800; }
.program-body { padding: 13px 14px 15px 103px; border-top: 1px solid var(--line); background: #111512; }
.program-body p { margin: 0 0 6px; color: #c0c8c2; font-size: 11px; line-height: 1.5; }
.program-body span { color: var(--muted); font-size: 10px; line-height: 1.45; }
.program-body a { display: inline-block; margin-top: 9px; color: var(--green); font-size: 10px; font-weight: 750; text-decoration: none; }
.program-body.has-matches { padding: 0; }
.program-intro { padding: 13px 14px 12px 103px; }
.program-match-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 11px; }
.program-match-heading strong { color: var(--text); font-size: 11px; }
.program-match-heading span { text-align: right; }
.program-match-list { border-top: 1px solid var(--line); background: #101411; }
.program-match-list .event-row { min-height: 58px; background-color: transparent; }
.program-match-list .event-row:last-child { border-bottom: 0; }
.program-match-list .event-row.is-top { background: color-mix(in srgb, var(--sport-accent) 5%, transparent); }
.program-best { display: inline-flex; align-items: center; padding: 2px 5px; border: 1px solid color-mix(in srgb, var(--sport-accent) 35%, transparent); border-radius: 5px; color: var(--sport-accent) !important; background: color-mix(in srgb, var(--sport-accent) 8%, transparent); font-size: 8px !important; font-weight: 900; white-space: nowrap; }
.program-body.has-matches .program-source { margin: 0; padding: 11px 14px 13px 103px; }

.day-dialog { width: min(720px, calc(100% - 28px)); max-width: none; max-height: calc(100vh - 28px); margin: auto; padding: 0; overflow: hidden; border: 1px solid var(--line-light); border-radius: 12px; color: var(--text); background: var(--surface); box-shadow: 0 28px 80px rgba(0,0,0,.48); }
.day-dialog::backdrop { background: rgba(4,6,5,.78); backdrop-filter: blur(4px); }
.day-dialog-card { display: grid; max-height: min(82vh, 720px); grid-template-rows: auto minmax(0, 1fr); }
.day-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 20px 22px 18px; border-bottom: 1px solid var(--line); background: #161a17; }
.day-dialog-head p { margin: 0 0 7px; color: var(--muted); font-size: 10px; font-weight: 650; }
.day-dialog-head h2 { margin: 0; font-size: 23px; font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; }
.day-dialog-head span { display: block; margin-top: 7px; color: var(--muted); font-size: 11px; }
.day-dialog-close { display: inline-flex; width: 34px; height: 34px; flex: 0 0 auto; align-items: center; justify-content: center; padding: 0 0 2px; border: 1px solid var(--line-light); border-radius: 50%; color: #bcc4be; background: transparent; font-size: 22px; line-height: 1; cursor: pointer; }
.day-dialog-close:hover { color: var(--text); border-color: #4a554d; background: rgba(255,255,255,.035); }
.day-dialog-events { min-height: 180px; overflow-y: auto; overscroll-behavior: contain; }
.day-dialog-event { display: grid; min-height: 82px; grid-template-columns: 70px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.day-dialog-event:last-child { border-bottom: 0; }
.day-dialog-event.is-top { background: rgba(108,199,127,.035); box-shadow: inset 2px 0 0 rgba(108,199,127,.55); }
.day-dialog-event > time { color: #aab3ac; font-size: 12px; font-weight: 650; }
.day-dialog-copy { min-width: 0; }
.day-dialog-copy > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; }
.day-dialog-copy h3 { margin: 0; font-size: 14px; font-weight: 650; line-height: 1.35; }
.day-dialog-copy p { margin: 5px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.day-dialog-aside { display: flex; align-items: center; gap: 9px; }
.day-dialog-aside a { color: var(--muted); font-size: 13px; text-decoration: none; }
.day-dialog-aside a:hover { color: var(--green); }
.day-dialog-empty { display: grid; min-height: 210px; place-items: center; align-content: center; padding: 30px; text-align: center; }
.day-dialog-empty strong { font-size: 16px; }
.day-dialog-empty p { max-width: 350px; margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }

.empty-state { display: grid; min-height: 260px; place-items: center; align-content: center; padding: 30px; text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state > span { font-size: 30px; }
.empty-state strong { margin-top: 12px; font-size: 18px; }
.empty-state p { margin: 7px 0 18px; color: var(--muted); font-size: 12px; }
.empty-state button { color: #d9edde; border-color: rgba(108,199,127,.48); background: var(--green-soft); }
.loading-list { display: grid; gap: 1px; }
.loading-list div { min-height: 72px; background: linear-gradient(90deg, var(--surface) 20%, #1a211c 50%, var(--surface) 80%); background-size: 250% 100%; animation: shimmer 1.5s infinite; }
@keyframes shimmer { to { background-position: -250% 0; } }

.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; min-height: 90px; align-items: center; gap: 13px; color: var(--muted); font-size: 11px; }
.footer-inner img { width: 30px; }
.footer-inner strong { margin-left: auto; color: var(--text); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

@media (max-width: 760px) {
  html { scroll-padding-top: 64px; }
  .shell { width: min(100% - 28px, 620px); }
  .header-inner { min-height: 58px; }
  .brand img { width: 154px; }
  .update-state span { display: none; }
  .intro { padding: 42px 0 38px; }
  h1 { font-size: clamp(38px, 11.5vw, 52px); }
  .intro-copy { font-size: 15px; }
  .intro-meta { gap: 10px 0; }
  .controls { padding: 12px 0 14px; }
  .controls-inner { grid-template-columns: 1fr auto; }
  .search-field { grid-column: 1 / -1; }
  .month-links { justify-self: start; }
  .filter-board { padding: 12px; }
  .filter-board-head > div { align-items: flex-start; flex-direction: column; gap: 3px; }
  .filter-groups { grid-template-columns: 1fr; gap: 15px; }
  .date-browser { padding-top: 44px; }
  .date-browser-head { align-items: flex-start; flex-direction: column; gap: 9px; margin-bottom: 18px; }
  .date-browser-head > p { text-align: left; }
  .month-calendars { grid-template-columns: 1fr; }
  .month-calendar { padding: 14px; }
  .calendar-day, .calendar-day-blank { min-height: 44px; }
  .calendar-section { padding: 56px 0 74px; }
  .calendar-heading { align-items: start; flex-direction: column; gap: 14px; margin-bottom: 42px; }
  .calendar-heading > p { text-align: left; }
  .month-divider { scroll-margin-top: 20px; margin-top: 54px; }
  .date-group { grid-template-columns: 1fr; gap: 18px; padding: 27px 0 34px; }
  .date-heading { position: static; display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 12px; }
  .date-heading h2 { margin: 0 0 2px; }
  .date-heading p { margin-top: 4px; }
  .date-number strong { font-size: 43px; }
  .day-content { gap: 23px; }
  .event-row { grid-template-columns: 58px minmax(0, 1fr) auto; gap: 10px; padding: 10px 11px; }
  .event-row > time { font-size: 11px; }
  .event-title-line h4 { font-size: 13px; }
  .event-count { grid-column: 2; }
  .source-link { grid-column: 3; grid-row: 1; }
  .event-copy p { white-space: normal; }
  .top-label { flex-basis: auto; }
  .program-body { padding-left: 79px; }
  .program-intro { padding-left: 79px; }
  .program-match-heading { align-items: flex-start; flex-direction: column; gap: 3px; }
  .program-match-heading span { text-align: left; }
  .program-body.has-matches .program-source { padding-left: 79px; }
  .tournament-block > header { padding-inline: 11px; }
  .tournament-toggle span { display: none; }
  .tournament-toggle i { font-size: 13px; }
  .day-dialog-head { padding: 17px 17px 15px; }
  .day-dialog-head h2 { font-size: 20px; }
  .day-dialog-event { grid-template-columns: 55px minmax(0, 1fr) auto; gap: 10px; padding: 13px 17px; }
  .day-dialog-copy h3 { font-size: 13px; }
}

@media (max-width: 410px) {
  .intro-meta { align-items: flex-start; flex-direction: column; }
  .intro-meta span { padding: 0; border-left: 0; }
  .result-count span { display: none; }
  .month-links a { padding-inline: 8px; }
  .filter-chip { padding-inline: 9px; }
  .event-row { grid-template-columns: 54px minmax(0, 1fr) auto; }
  .calendar-day { padding: 7px 6px; }
  .calendar-weekdays, .calendar-grid { gap: 4px; }
  .day-dialog-event { grid-template-columns: 48px minmax(0, 1fr); }
  .day-dialog-aside { grid-column: 2; justify-content: flex-start; }
}

@media (forced-colors: active) {
  .calendar-day.is-notable-day { border-style: dashed; }
  .calendar-day.is-top-day, .calendar-day.is-super-day { border-width: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
