.calendar-section { position: relative; z-index: 1; padding: 76px 0 90px; border-top: 1px solid var(--landing-line); }
.calendar-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 30px; }
.calendar-heading h2 { margin: 0; font-size: clamp(2rem, 3.2vw, 3.35rem); font-weight: 350; letter-spacing: -.025em; line-height: 1.2; }
.calendar-heading > p { max-width: 410px; color: var(--landing-muted); font-size: 1rem; line-height: 1.7; margin: 0; }
.calendar-live { display: grid; grid-template-columns: 1fr 1.3fr; border: 1px solid var(--landing-line); background: #081c29; }
.calendar-live > div { padding: 25px 28px; }
.calendar-live > div + div { border-left: 1px solid var(--landing-line); }
.calendar-kicker { color: var(--landing-muted); font: 500 .75rem var(--font-mono); letter-spacing: .14em; margin: 0 0 17px; }
.calendar-live p:not(.calendar-kicker) { line-height: 1.6; font-size: 1rem; }
.calendar-current-line { display: flex; flex-direction: column; gap: 3px; margin: 12px 0 0; }
.calendar-current-line strong { font-weight: 600; font-size: .875rem; color: var(--calendar-color); }
.calendar-current-line span { color: #deedf3; }
.calendar-current-line .calendar-field-note { color: var(--landing-muted); font-size: .875rem; margin-top: 4px; }
.calendar-next-event { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; text-decoration: none; border-top: 1px solid rgb(176 218 233 / 10%); }
.calendar-next-event strong { display: block; font-weight: 500; font-size: .875rem; line-height: 1.5; }
.calendar-next-event time { display: block; color: var(--landing-muted); font-size: .875rem; margin-top: 3px; }
.calendar-next-event:hover strong { color: var(--aqua); }
.calendar-countdown { color: #edcf8a; font: 500 .875rem var(--font-mono); white-space: nowrap; padding-top: 4px; }
.calendar-controls { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 26px 0 18px; }
.calendar-filters, .calendar-window { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.calendar-filters label { display: flex; align-items: center; gap: 8px; color: var(--landing-muted); font-size: .875rem; }
.calendar-filters select { padding: 9px 30px 9px 12px; font: inherit; color: #dfedf2; border: 1px solid var(--landing-line); border-radius: 3px; background-color: #0b2231; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%2387e8e2' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-position: right 10px center; background-repeat: no-repeat; }
.calendar-window button, .calendar-download { padding: 9px 13px; background: transparent; border: 1px solid var(--landing-line); border-radius: 3px; color: #c7dce5; font-size: .875rem; cursor: pointer; }
.calendar-window button:hover, .calendar-download:hover { border-color: var(--aqua); color: var(--aqua); }
.calendar-window button:nth-child(2) { border-color: rgb(135 232 226 / 45%); color: var(--aqua); }
.calendar-range { color: #c7dce5; font: 400 .875rem var(--font-mono); padding: 5px 0 14px; }
.calendar-chart { width: 100%; overflow-x: auto; border: 1px solid var(--landing-line); background: #061724; scrollbar-color: #345566 #061724; }
.calendar-chart:focus-visible { outline: 2px solid var(--aqua); outline-offset: 4px; }
.calendar-gantt { display: block; width: 100%; min-width: 1160px; height: auto; font-family: var(--font-mono); }
.calendar-axis-label { fill: #a2bdcc; font-size: 16px; }
.calendar-grid-line { stroke: #305065; stroke-width: 1; opacity: .6; }
.calendar-lane-bg { fill: #0b2130; fill-opacity: .36; }
.calendar-lane-1 { fill: #132c3b; }
.calendar-open-league { --calendar-color: #87e8e2; --calendar-fill: #123d46; }
.calendar-ai-league { --calendar-color: #b3b4ff; --calendar-fill: #2e3155; }
.calendar-lane-title { fill: var(--calendar-color); font-size: 17px; font-weight: 600; }
.calendar-lane-month { fill: #c6dbe6; font-size: 15px; }
.calendar-lane-count { fill: #95afc0; font-size: 14px; }
.calendar-phase rect, .calendar-phase path { fill: var(--calendar-fill); stroke: var(--calendar-color); stroke-width: 1.25; }
.calendar-phase text { fill: #e2eef3; font-size: 16px; }
.calendar-tentative rect { stroke-dasharray: 5 4; fill-opacity: .35; }
.calendar-phase.calendar-state-active rect, .calendar-phase.calendar-state-pending rect { stroke-width: 2; fill-opacity: 1; }
.calendar-phase.calendar-state-past:not(.calendar-tentative) rect { fill-opacity: .5; stroke-opacity: .6; }
.calendar-state-published rect { fill-opacity: 1; }
.calendar-phase:hover rect, .calendar-phase:focus rect { stroke: #f4fafb; stroke-width: 2; }
.calendar-deadline path { fill: var(--calendar-color); stroke: none; }
.calendar-phase .calendar-deadline-label { fill: #a9c1ce; font-size: 16px; }
.calendar-now-line { stroke: #f1cc79; stroke-width: 2; pointer-events: none; }
.calendar-now-tag { fill: #f1cc79; pointer-events: none; }
.calendar-now-text { fill: #0a1c29; font-size: 13px; font-weight: 700; pointer-events: none; }
.calendar-foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 19px 0; }
.calendar-legend { display: flex; flex-wrap: wrap; gap: 18px; font-size: .875rem; color: var(--landing-muted); }
.calendar-legend span { display: inline-flex; align-items: center; gap: 8px; }
.calendar-legend i { display: inline-block; width: 21px; height: 11px; border: 1px solid #9ebccc; background: #163441; }
.calendar-legend .calendar-dashed { border-style: dashed; background: transparent; }
.calendar-legend .calendar-gold { width: 2px; height: 15px; background: #f1cc79; border: none; }
.calendar-download { color: var(--aqua); white-space: nowrap; }
.calendar-asof, .calendar-policy { color: var(--landing-muted); font-size: .875rem; line-height: 1.7; margin: 8px 0; }
.calendar-policy a { color: #c9e3e5; text-underline-offset: 3px; }
.calendar-details { margin-top: 22px; border-top: 1px solid var(--landing-line); }
.calendar-details > summary { cursor: pointer; font-size: 1rem; padding: 19px 0; color: #c9e3e5; }
.calendar-date-lane h4 { font-size: 1rem; font-weight: 550; margin: 20px 0 6px; }
.calendar-lane-note { color: var(--aqua); font-size: .875rem; }
.calendar-date-lane ul { list-style: none; padding: 0; }
.calendar-date-lane li { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; border-top: 1px solid rgb(176 218 233 / 10%); padding: 16px 0; font-size: .875rem; }
.calendar-date-lane li a { text-underline-offset: 3px; color: #d4e7ee; line-height: 1.6; }
.calendar-date-value { color: #bacfdb; line-height: 1.6; }
.calendar-date-lane li p { grid-column: 1 / -1; color: var(--landing-muted); line-height: 1.6; margin: 0; }
.calendar-empty { padding: 36px 28px; font-size: 1rem; color: var(--landing-muted); line-height: 1.7; }
.round-card { scroll-margin-top: calc(var(--header-height) + 30px); }
@media (max-width: 1100px) {
  .calendar-heading { align-items: start; flex-direction: column; gap: 22px; }
  .calendar-heading > p { max-width: 640px; }
  .calendar-controls { gap: 16px; }
}
@media (max-width: 600px) {
  .calendar-section { padding: 58px 0; }
  .calendar-live { grid-template-columns: 1fr; }
  .calendar-live > div { padding: 22px; }
  .calendar-live > div + div { border-left: 0; border-top: 1px solid var(--landing-line); }
  .calendar-filters { align-items: stretch; flex-direction: column; width: 100%; }
  .calendar-filters label { justify-content: space-between; }
  .calendar-filters select { max-width: 72%; }
  .calendar-foot { align-items: start; flex-direction: column; gap: 20px; }
  .calendar-date-lane li { grid-template-columns: 1fr; }
}
