:root {
  --black: #111315;
  --black-soft: #1a1d20;
  --panel: #202428;
  --panel-light: #292e32;
  --yellow: #f7c719;
  --yellow-soft: #ffe16b;
  --cyan: #5ec8cf;
  --cyan-soft: #a6edf1;
  --white: #f7f7f2;
  --muted: #aeb5b7;
  --line: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.34);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--white);
  background:
    radial-gradient(circle at 82% 8%, rgba(94, 200, 207, 0.12), transparent 29rem),
    radial-gradient(circle at 10% 32%, rgba(247, 199, 25, 0.08), transparent 26rem),
    var(--black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  overflow-x: clip;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--black);
  background: var(--yellow);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.86);
  backdrop-filter: blur(18px);
  padding-top: env(safe-area-inset-top, 0px);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  height: 92px;
  margin: 0 auto;
}

.brand {
  justify-self: start;
  width: 116px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.brand img {
  display: block;
  width: 100%;
  height: 82px;
  object-fit: contain;
}

.event-date {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--yellow);
  font-weight: 950;
  letter-spacing: -0.06em;
  min-width: 0;
  white-space: nowrap;
}

.event-date span {
  font-size: 1.65rem;
}

.event-date small {
  max-width: 34px;
  color: var(--white);
  font-size: 0.66rem;
  line-height: 1.05;
  letter-spacing: 0.08em;
}

.desktop-nav {
  display: flex;
  justify-self: end;
  gap: 4px;
}

.nav-button {
  padding: 11px 14px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.91rem;
  font-weight: 750;
  cursor: pointer;
}

.nav-button:hover,
.nav-button:focus-visible,
.nav-button.is-active {
  color: var(--black);
  background: var(--yellow);
}

.view {
  min-height: 70vh;
}

.view.is-active {
  animation: view-enter 460ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes view-enter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  gap: clamp(36px, 8vw, 110px);
  align-items: center;
  width: min(1160px, calc(100% - 40px));
  min-height: 610px;
  margin: 0 auto;
  padding: 86px 0 118px;
}

.search-stage::before {
  content: "";
  position: absolute;
  right: 37%;
  bottom: 5%;
  width: 150px;
  height: 14px;
  background: var(--cyan);
  transform: skewX(-28deg) rotate(-9deg);
  opacity: 0.85;
  pointer-events: none;
}

.search-stage::after {
  content: "";
  position: absolute;
  right: 31%;
  bottom: 2%;
  width: 74px;
  height: 14px;
  background: var(--yellow);
  transform: skewX(-28deg) rotate(-9deg);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.search-copy h1,
.section-heading h1 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.9;
  text-transform: uppercase;
}

.search-copy h1 {
  max-width: 660px;
  font-size: clamp(4rem, 7.8vw, 7.1rem);
}

.search-copy h1 span {
  color: var(--yellow);
}

.intro {
  max-width: 520px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.search-panel {
  position: relative;
  z-index: 5;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(41, 46, 50, 0.96), rgba(27, 30, 33, 0.96));
  box-shadow: var(--shadow);
}

.search-panel label {
  display: block;
  margin-bottom: 10px;
  font-weight: 850;
}

.search-control {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 0 17px;
  border: 2px solid transparent;
  border-radius: 15px;
  background: var(--white);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-control:focus-within {
  border-color: var(--cyan);
  box-shadow: 0 0 0 4px rgba(94, 200, 207, 0.18);
}

.search-control svg,
.mobile-nav svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.search-control svg {
  flex: 0 0 auto;
  color: #555e61;
}

.search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--black);
  background: transparent;
  font-size: 1.02rem;
  font-weight: 700;
}

.search-control input::placeholder {
  color: #767e80;
  font-weight: 550;
}

.clear-button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--black);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.suggestions {
  position: absolute;
  top: calc(100% - 20px);
  right: 28px;
  left: 28px;
  z-index: 10;
  max-height: 310px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fafaf5;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 13px 16px;
  border: 0;
  border-bottom: 1px solid #dfe1dc;
  color: var(--black);
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.suggestion:last-child {
  border-bottom: 0;
}

.suggestion:hover,
.suggestion:focus-visible,
.suggestion.is-active {
  background: var(--yellow-soft);
  outline: 0;
}

.suggestion strong {
  font-size: 0.94rem;
}

.suggestion small {
  color: #535a5c;
  font-size: 0.76rem;
  text-align: right;
}

.search-status {
  min-height: 1.5em;
  margin: 13px 2px 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.quick-stats {
  position: absolute;
  right: 0;
  bottom: 76px;
  display: flex;
  gap: 32px;
}

.quick-stats div {
  display: flex;
  align-items: baseline;
  gap: 7px;
}

.quick-stats strong {
  color: var(--yellow);
  font-size: 1.45rem;
  font-weight: 950;
}

.quick-stats span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-result,
.empty-result {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.team-result {
  scroll-margin-top: 120px;
  padding-top: 12px;
}

.result-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.result-heading h2 {
  margin: 0;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  font-weight: 900;
  letter-spacing: 0.015em;
  line-height: 0.95;
  text-transform: uppercase;
}

.category-label {
  margin: 12px 0 0;
  color: var(--yellow);
  font-weight: 850;
}

.text-button {
  flex: 0 0 auto;
  padding: 10px 0;
  border: 0;
  border-bottom: 2px solid var(--cyan);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.result-days {
  display: grid;
  gap: 46px;
}

.day-header {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 17px;
}

.day-header h3 {
  margin: 0;
  font-size: 1.45rem;
}

.day-header span {
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--black);
  background: var(--cyan);
  font-size: 0.75rem;
  font-weight: 900;
}

.wod-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.schedule-card {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--black-soft);
}

.schedule-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 7px;
  height: 100%;
  background: var(--yellow);
}

.schedule-card:nth-child(even)::before {
  background: var(--cyan);
}

.card-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.wod-badge {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.heat-badge {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.76rem;
  font-weight: 850;
}

.start-time {
  margin: 16px 0 4px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.1rem;
  letter-spacing: 0.02em;
  line-height: 1;
}

.start-label {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.card-times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.card-times span {
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.3;
}

.card-times strong {
  display: block;
  margin-top: 3px;
  color: var(--white);
  font-size: 0.88rem;
}

.position-note {
  margin: 16px 0 0;
  color: var(--cyan-soft);
  font-size: 0.8rem;
  font-weight: 750;
}

.empty-result {
  padding: 50px 24px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  text-align: center;
}

.empty-result > span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--black);
  background: var(--yellow);
  font-size: 1.5rem;
  font-weight: 950;
}

.empty-result h2,
.empty-result p {
  margin: 0;
}

.empty-result p {
  margin-top: 6px;
  color: var(--muted);
}

.content-view {
  width: min(1160px, calc(100% - 40px));
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
  padding: 78px 0 110px;
}

.section-heading {
  min-width: 0;
  max-width: 760px;
  margin-bottom: 38px;
}

.section-heading h1 {
  font-size: clamp(3.4rem, 7vw, 6.4rem);
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.program-intro {
  min-width: 0;
}

.day-switch {
  display: flex;
  gap: 8px;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  margin-bottom: 26px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--black-soft);
}

.day-button {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  min-width: 0;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
  font-weight: 850;
  cursor: pointer;
  transition:
    color 220ms ease,
    background-color 320ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 220ms ease;
}

.day-button:active {
  transform: scale(0.98);
}

.day-button small {
  color: var(--cyan);
  font-size: 0.7rem;
  font-weight: 900;
}

.day-button.is-active {
  color: var(--black);
  background: var(--yellow);
}

.day-button.is-active small {
  color: var(--black);
}

.full-schedule {
  display: grid;
  min-width: 0;
  gap: 18px;
}

.program-card {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--black-soft);
  animation: program-card-enter 440ms cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--card-index) * 70ms);
}

.program-summary {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  width: 100%;
  padding: 20px 22px;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.program-summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--black);
  background: var(--cyan);
  font-size: 1.25rem;
  font-weight: 900;
  transition:
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 250ms ease;
}

.program-summary:hover::after,
.program-summary:focus-visible::after {
  background: var(--yellow);
}

.program-summary:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: -3px;
}

.program-card[data-open="true"] .program-summary::after {
  transform: rotate(45deg);
}

.program-number {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  color: var(--black);
  background: var(--yellow);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 1.55rem;
}

.program-title strong,
.program-title small {
  display: block;
}

.program-title {
  min-width: 0;
}

.program-title strong {
  font-size: 1.05rem;
}

.program-title small {
  margin-top: 3px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.program-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-5px);
  transition:
    grid-template-rows 520ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 320ms ease,
    transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.program-card[data-open="true"] .program-panel {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
}

.program-panel-inner {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.heat-table-wrap {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  padding: 0 22px 22px;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.heat-table-wrap::-webkit-scrollbar {
  height: 7px;
}

.heat-table-wrap::-webkit-scrollbar-track {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.heat-table-wrap::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: var(--cyan);
}

.swipe-hint {
  display: none;
  margin: 0;
  padding: 0 16px 10px;
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 750;
}

@keyframes program-card-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.heat-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}

.heat-table th,
.heat-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.heat-table th {
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.heat-table td:first-child {
  color: var(--yellow);
  font-weight: 900;
}

.heat-table td:nth-child(n + 3) {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}

.wod-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.wod-info-card {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel-light), var(--black-soft));
}

.wod-info-card:nth-child(2),
.wod-info-card:nth-child(4) {
  background: linear-gradient(145deg, #2b2921, var(--black-soft));
}

.wod-info-card::after {
  content: attr(data-number);
  position: absolute;
  right: -6px;
  bottom: -42px;
  color: rgba(255, 255, 255, 0.04);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 11rem;
  line-height: 1;
}

.wod-info-card h2 {
  margin: 34px 0 8px;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 2.1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wod-info-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
}

.wod-info-card .wod-format {
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.wod-movements {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--white);
}

.wod-movements li {
  padding-left: 12px;
  border-left: 2px solid rgba(94, 200, 207, 0.58);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.35;
}

.wod-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wod-meta span {
  padding: 5px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--cyan-soft);
  font-size: 0.72rem;
  font-weight: 850;
}

.general-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px;
  margin-top: 70px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.general-info article {
  padding-right: 26px;
}

.info-number {
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 950;
  letter-spacing: 0.15em;
}

.general-info h2 {
  margin: 14px 0 8px;
  font-size: 1.1rem;
}

.general-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.mobile-nav {
  display: none;
}

footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 42px 20px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

footer img {
  width: 56px;
  height: 44px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}

footer p {
  margin: 0;
  font-size: 0.82rem;
}

[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .desktop-nav {
    display: none;
  }

  .header-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 82px;
  }

  .event-date {
    justify-self: center;
    max-width: 100%;
    padding: 0 8px;
  }

  .brand {
    justify-self: center;
    width: 96px;
  }

  .brand img {
    height: 68px;
  }

  .search-stage {
    grid-template-columns: 1fr;
    gap: 38px;
    min-height: auto;
    padding: 64px 0 120px;
  }

  .search-stage::before,
  .search-stage::after {
    display: none;
  }

  .search-copy h1 {
    font-size: clamp(3.9rem, 13vw, 6rem);
  }

  .search-panel {
    max-width: 640px;
  }

  .quick-stats {
    right: auto;
    bottom: 52px;
    left: 0;
  }

  .wod-timeline,
  .wod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .general-info {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .general-info article {
    max-width: 620px;
  }

  .mobile-nav {
    position: fixed;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom, 0px));
    left: 14px;
    z-index: 40;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(26, 29, 32, 0.94);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(18px);
  }

  .mobile-nav-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    min-height: 54px;
    border: 0;
    border-radius: 12px;
    color: var(--muted);
    background: transparent;
    font-size: 0.68rem;
    font-weight: 800;
  }

  .mobile-nav-button svg {
    width: 21px;
    height: 21px;
  }

  .mobile-nav-button.is-active {
    color: var(--black);
    background: var(--yellow);
  }

  footer {
    padding-bottom: 104px;
  }
}

@media (max-width: 620px) {
  .header-inner,
  .search-stage,
  .team-result,
  .empty-result,
  .content-view {
    width: min(100% - 28px, 1160px);
  }

  .header-inner {
    width: min(100% - 32px, 1160px);
    height: 78px;
  }

  .brand {
    width: 86px;
  }

  .brand img {
    height: 66px;
  }

  .event-date {
    gap: 6px;
    width: fit-content;
    padding-inline: 6px;
  }

  .event-date span {
    font-size: 1.25rem;
  }

  .event-date small {
    max-width: none;
    font-size: 0.61rem;
  }

  .search-stage {
    padding-top: 48px;
  }

  .search-copy h1 {
    font-size: clamp(3.35rem, 17vw, 5rem);
  }

  .intro {
    margin-top: 18px;
    font-size: 1rem;
  }

  .search-panel {
    padding: 18px;
    border-radius: 18px;
  }

  .search-control {
    min-height: 58px;
  }

  .suggestions {
    top: calc(100% - 10px);
    right: 18px;
    left: 18px;
  }

  .quick-stats {
    gap: 18px;
  }

  .quick-stats div {
    display: grid;
    gap: 0;
  }

  .result-heading {
    align-items: start;
    flex-direction: column;
  }

  .wod-timeline,
  .wod-grid {
    grid-template-columns: 1fr;
  }

  .schedule-card {
    padding: 20px;
  }

  .content-view {
    padding-top: 54px;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading > p:last-child {
    margin-top: 15px;
    font-size: 0.97rem;
  }

  .day-switch {
    gap: 5px;
    margin-bottom: 20px;
    padding: 5px;
  }

  .section-heading h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  #view-programa .program-intro {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    padding: 22px 16px 16px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 22px;
    background:
      linear-gradient(135deg, rgba(94, 200, 207, 0.08), transparent 48%),
      linear-gradient(155deg, rgba(41, 46, 50, 0.98), rgba(24, 27, 30, 0.98));
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  }

  #view-programa .program-intro::after {
    content: "";
    position: absolute;
    top: 0;
    right: 18px;
    width: 74px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: var(--yellow);
  }

  #view-programa .section-heading {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
  }

  #view-programa .section-heading h1 {
    width: 100%;
    max-width: none;
    font-size: clamp(3rem, 14.5vw, 4.6rem);
    text-wrap: balance;
  }

  #view-programa .section-heading > p:last-child {
    max-width: none;
  }

  #view-programa .day-switch {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    background: rgba(17, 19, 21, 0.72);
  }

  .day-button {
    flex-direction: column;
    gap: 0;
  }

  .program-summary {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 16px;
  }

  .program-number {
    width: 44px;
    height: 44px;
  }

  .heat-table-wrap {
    padding: 0 16px 18px;
  }

  .swipe-hint {
    display: block;
  }

  .heat-table {
    min-width: 640px;
  }
}

@media (max-width: 360px) {
  .header-inner {
    width: calc(100% - 24px);
  }

  .brand {
    width: 78px;
  }

  .event-date span {
    font-size: 1.12rem;
  }

  .event-date small {
    max-width: none;
    font-size: 0.56rem;
  }

  .program-summary {
    gap: 9px;
    padding: 14px;
  }

  .program-number {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
