/* /timetable: the live 2027 week, in the website's own type and colours. */
.tt-bar { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: center; margin-bottom: 1rem; }
.tt-seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1.5px solid var(--line); }
.tt-seg button { min-height: 44px; padding: .3rem 1rem; border-radius: 999px; border: 0; background: none; color: var(--ink-2); font: 600 .88rem/1.15 var(--body); cursor: pointer; display: grid; gap: 1px; text-align: left; align-content: center; }
.tt-seg button small { font-size: .68rem; font-weight: 500; opacity: .75; }
.tt-seg button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.tt-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .6rem; }
.tt-chips .age small { font-weight: 500; opacity: .7; margin-left: .35rem; }
.tt-chips .age i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; margin-right: .45rem; }
.tt-note { color: var(--ink-3); font-size: .85rem; margin: .25rem 0 1.25rem; }
.tt-wide { max-width: 1640px; }
.wg-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 22px; background: var(--card); padding: 1.1rem .75rem 1rem; }
.wg-week { display: flex; gap: 10px; }
.wg-week section { min-width: 0; padding: 0; }
.wg-week h3 { margin: 0 0 12px; font: 700 .72rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.wg-week h3.wg-first { padding-left: 44px; }
.wg-day { display: flex; min-width: 0; }
.wg-axis { position: relative; width: 44px; flex-shrink: 0; }
.wg-axis span { position: absolute; right: 8px; transform: translateY(-50%); font-size: .68rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.wg-lanes { position: relative; flex: 1; min-width: 0; }
.wg-line { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.wg-break { position: absolute; left: 0; right: 0; background: repeating-linear-gradient(135deg, var(--line) 0 6px, transparent 6px 12px); opacity: .6; }
.wg-block { position: absolute; overflow: hidden; border-radius: 9px; border: 1px solid var(--line); border-left: 4px solid var(--c); padding: 4px 5px 4px 6px; color: var(--ink); background: color-mix(in srgb, var(--c) 22%, var(--card)); }
.wg-block b { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: .74rem; line-height: 1.16; font-weight: 600; }
.wg-block span { display: block; margin-top: 2px; font-size: .68rem; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.wg-block small { display: block; font-size: .64rem; font-weight: 700; color: var(--gold); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-day { margin: 0 0 1.75rem; }
.tl-day h3 { font: italic 400 1.6rem/1.1 var(--display); margin: 0 0 .6rem; }
.tl-row { display: grid; grid-template-columns: 6.2rem 1fr; gap: .75rem; align-items: baseline; padding: .7rem 0 .7rem .75rem; border-top: 1px solid var(--line); border-left: 4px solid var(--c); }
.tl-row time { font: 600 .85rem/1.2 var(--body); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.tl-row b { font-weight: 600; }
.tl-row small { display: block; color: var(--gold); font-weight: 700; font-size: .75rem; margin-top: .15rem; }
.tt-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.tt-hero { padding-block: clamp(2rem,5vw,3.5rem) clamp(1.5rem,3vw,2.25rem); }
.tt-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.tt-hero .lede { margin-bottom: 1.25rem; }
.tt-picks, #ttViews { display: none; }
/* Phone: the view switch leads the page and the filters fold into one row of drop-downs,
   so the classes start on the first screen. */
@media (max-width: 700px) {
  #ttViews { display: block; margin-bottom: 1.1rem; }
  #ttViews .tt-seg { display: flex; border-radius: 16px; }
  #ttViews .tt-seg button { flex: 1; border-radius: 13px; }
  .tt-hero { padding-block: 1.25rem 1rem; }
  .tt-hero .eyebrow, .tt-hero .tt-cta { display: none; }
  .tt-hero h1 { font-size: 2.1rem; margin-bottom: .4rem; }
  .tt-hero .lede { font-size: .95rem; margin-bottom: 0; }
  .tt-bar, .tt-chips { display: none; }
  .tt-picks { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-bottom: .5rem; }
  .tt-pick { display: grid; gap: .25rem; min-width: 0; }
  .tt-pick span { font: 700 .66rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
  .tt-pick select { min-height: 44px; width: 100%; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 600 .92rem/1 var(--body); padding: 0 .6rem; }
  .tt-note { margin-bottom: .75rem; }
}
