/* Cupkollen: presentation only. Loaded after the existing theme sheets.
   Semantic theme colours, approved images and all interaction hooks are retained. */
:root {
  --ck-radius-lg: 24px;
  --ck-radius-md: 16px;
  --ck-shadow: 0 12px 32px rgb(9 35 26 / 6%);
  --ck-dock-space: 0px;
  --ck-compare-space: 0px;
}

/* Shared identity and navigation; no organizer or admin form rules. */
.header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner { min-height: 84px; height: auto; gap: 24px; }
.header .brand { min-height: 44px; font-size: 28px; gap: 11px; letter-spacing: -1.2px; }
.header .brand img { width: 40px; height: 40px; flex: none; }
.header .main-nav { gap: 26px; }
.header .nav-link {
  min-height: 44px;
  padding: 12px 2px;
  font-size: 14px;
  font-weight: 700;
}
.header .organizer-button {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 12px;
}
.header .theme-control > summary { border-radius: 12px; }
.header :is(a, button, summary):focus-visible,
.mobile-nav a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

/* Supporting sharing/comparison dialogs keep the same readable controls. */
dialog .dialog-close { width: 44px; height: 44px; }
.text-dialog p,
.compare-dialog .dialog-intro { font-size: 16px; line-height: 1.7; }
.compare-dialog .compare-table { font-size: 14px; min-width: 580px; }
.compare-dialog .compare-table :is(th, td) { font-size: 14px; line-height: 1.6; }
.compare-dialog .compare-table tbody th { font-size: 12px; }

/* Home: photo and filters form one composition, with controls in normal flow.
   Long copy and a paused/error state can grow without covering the search. */
.hero-section { padding-top: 28px; padding-bottom: 48px; }
.hero,
.hero[data-hero-slideshow] { min-height: 0; border-radius: var(--ck-radius-lg); }
.hero .hero-shade {
  background: linear-gradient(90deg, #123e32 4%, rgb(18 62 50 / 96%) 30%, rgb(18 62 50 / 66%) 58%, rgb(8 31 22 / 16%) 100%);
}
.hero .hero-copy,
.hero[data-hero-slideshow] .hero-copy {
  max-width: 690px;
  padding: 40px 44px 24px;
}
.hero .eyebrow { font-size: 12px; letter-spacing: .1em; line-height: 1.6; }
.hero .little-ball { flex: none; }
.hero .hero-copy h1,
.hero[data-hero-slideshow] .hero-copy h1 {
  margin: 17px 0 18px;
  font-size: clamp(40px, 4.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
}
.hero .hero-copy h1 span { white-space: normal; }
.hero .hero-copy p,
.hero[data-hero-slideshow] .hero-copy p {
  min-height: 0;
  max-width: 38ch;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0;
}
.hero .photo-label { font-size: 12px; max-width: 32%; }
.hero .photo-label #hero-caption { font-size: inherit; }
.hero-controls {
  position: relative;
  inset: auto;
  margin: 0 44px;
  padding-bottom: 56px;
}
.hero-controls-summary { align-items: flex-start; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.hero-controls-summary > span { padding: 4px 8px; border-radius: 6px; }
.hero-sport-tabs { gap: 8px; padding-block: 5px 10px; }
.hero-sport-button { min-height: 48px; font-size: 14px; padding: 11px 15px 13px; border-radius: 12px; }
.hero-rotation-controls { flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.hero-rotation-controls [data-hero-toggle] { min-height: 44px; font-size: 14px; padding: 10px 13px; }
#hero-rotation-status { font-size: 14px; }
.hero-image-error {
  position: static;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
}
.search-panel {
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr) minmax(0, 1.1fr) 156px;
  gap: 0;
  margin: -28px 28px 0;
  min-height: 112px;
  padding: 18px 18px 18px 5px;
  border-radius: 18px;
  box-shadow: 0 12px 36px rgb(9 35 26 / 10%);
}
.search-panel .search-field { padding: 0 20px; }
.search-panel .search-field label { font-size: 12px; line-height: 1.5; letter-spacing: .06em; margin-bottom: 4px; }
.search-panel .field-control { min-height: 44px; gap: 9px; }
.search-panel .field-control :is(input, select) {
  min-height: 44px;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0;
}
.search-panel .field-control svg { width: 19px; height: 19px; flex: none; }
.search-panel .search-button {
  grid-column: auto;
  min-height: 52px;
  margin: 0 0 0 12px;
  padding: 12px 16px;
  gap: 14px;
  font-size: 16px;
  line-height: 1.5;
  border-radius: 12px;
}
.hero-section :is(input, select, button):focus-visible,
.discovery :is(a, button, select):focus-visible,
.cup-card :is(a, button):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.hero :is(.hero-sport-button, [data-hero-toggle]):focus-visible {
  outline-color: white;
  outline-offset: -5px;
  box-shadow: inset 0 0 0 6px #123e32;
}

/* Search/listing hierarchy: meaningful type sizes and space between decisions. */
.sport-selector { margin-top: 24px; margin-bottom: 0; }
.sport-selector-heading { margin-bottom: 12px; }
.sport-selector-heading h2 { font-size: 16px; }
.sport-selector-heading > span { font-size: 14px; }
.sport-selector .sport-tabs { gap: 8px; }
.sport-selector .sport-tab { min-height: 44px; padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.sport-mobile :is(select, button) { min-height: 44px; font-size: 16px; }
.discovery { font-size: 16px; }
.discovery .sport-row { align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 28px; padding-bottom: 18px; }
.discovery .sport-summary { font-size: 16px; line-height: 1.5; }
.discovery .curation-note { font-size: 14px; max-width: none; line-height: 1.6; }
.discovery .section-kicker { font-size: 12px; letter-spacing: .09em; line-height: 1.6; }
.discovery .results-heading { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 16px 28px; margin-bottom: 22px; }
.discovery .results-heading h2 { font-size: clamp(28px, 2.7vw, 38px); line-height: 1.2; letter-spacing: -.045em; overflow-wrap: anywhere; }
.discovery .result-total { font-size: 14px; line-height: 1.6; padding: 4px 10px; border-radius: 8px; vertical-align: middle; }
.discovery .results-tools { max-width: none; margin: 0; padding: 0; gap: 10px; }
.discovery .region-control { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--control-line); border-radius: 12px; background: var(--surface); }
.discovery .region-control svg { display: block; width: 17px; height: 17px; flex: none; }
.discovery .results-tools select { min-height: 44px; max-width: 240px; font-size: 16px; padding: 8px 0; }
.discovery .quick-row { align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.discovery .quick-filters { gap: 8px; flex-wrap: wrap; }
.discovery .quick-chip { min-height: 44px; padding: 10px 14px; font-size: 14px; border-radius: 10px; }
.discovery .reset-button { min-height: 44px; font-size: 14px; padding: 8px; }
.discovery .watch-search-row { gap: 16px; padding: 20px 22px; border-radius: var(--ck-radius-md); margin-bottom: 28px; }
.discovery .watch-search-row strong { font-size: 16px; line-height: 1.5; }
.discovery .watch-search-row span { font-size: 14px; line-height: 1.65; }
.discovery .watch-search-button { min-height: 44px; padding: 10px 14px; font-size: 14px; line-height: 1.5; }
.discovery .filter-context,
.discovery .results-footnote { font-size: 14px; line-height: 1.75; }
.discovery .results-footnote { align-items: flex-start; gap: 10px; margin-top: 26px; }
.discovery .results-footnote svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.discovery .empty-state p { font-size: 16px; }
.cup-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }

/* One card pattern for server-rendered, filtered and related cup results. */
.cup-card {
  --card-gutter: 24px;
  min-height: 0;
  padding: 24px var(--card-gutter) 0;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgb(9 35 26 / 3%);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.cup-card:hover { border-color: var(--control-line); box-shadow: var(--ck-shadow); transform: none; }
.cup-card .card-media { height: 188px; margin-top: -24px; margin-bottom: 22px; padding: 18px var(--card-gutter); }
.cup-card .cup-logo-wrap { width: 66px; height: 66px; border-radius: 14px; padding: 7px; box-shadow: 0 3px 12px rgb(9 35 26 / 10%); }
.cup-card .card-media .save-button { width: 44px; height: 44px; border-radius: 12px; }
.cup-card .card-media .registration-status { font-size: 14px; line-height: 1.5; padding: 5px 9px; border-radius: 7px; }
.cup-card .card-media .card-registration { bottom: 15px; }
.cup-card .media-inspiration-label { font-size: 12px; line-height: 1.5; }
.cup-card .card-location { font-size: 12px; line-height: 1.6; letter-spacing: .055em; margin-bottom: 7px; overflow-wrap: anywhere; }
.cup-card h3 { min-height: 0; font-size: 24px; line-height: 1.25; letter-spacing: -.035em; margin: 0 0 15px; overflow-wrap: anywhere; }
.cup-card .cup-title-button { display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; }
.cup-card .card-date { align-items: flex-start; font-size: 16px; line-height: 1.5; margin-bottom: 10px; }
.cup-card .card-date svg { width: 18px; height: 18px; flex: none; margin-top: 3px; }
.cup-card .card-meta { align-items: flex-start; flex-wrap: wrap; gap: 5px 8px; font-size: 14px; line-height: 1.65; margin-bottom: 16px; }
.cup-card .card-place { display: inline-flex; align-items: flex-start; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.cup-card .card-meta svg { width: 16px; height: 16px; flex: none; margin-top: 3px; }
.cup-card .card-ages { min-width: 0; overflow-wrap: anywhere; }
.cup-card .card-fees { font-size: 14px; line-height: 1.65; margin-bottom: 12px; }
.cup-card .card-pills { gap: 6px; margin-bottom: 14px; }
.cup-card .card-pill { font-size: 14px; line-height: 1.5; padding: 4px 8px; border-radius: 6px; overflow-wrap: anywhere; }
.cup-card .card-watch { min-height: 44px; font-size: 14px; line-height: 1.5; margin-bottom: 8px; }
.cup-card .card-bottom { min-height: 64px; align-items: stretch; gap: 12px; }
.cup-card .card-link { min-height: 44px; font-size: 16px; padding-block: 10px; gap: 12px; }
.cup-card .compare-toggle { min-height: 44px; font-size: 14px; line-height: 1.5; padding-left: 6px; }
.cup-card .compare-check { width: 17px; height: 17px; flex: none; }

/* Cup detail: a readable identity, quiet fact panels and a clear action column. */
.cup-page-hero { margin-top: 22px; margin-bottom: 26px; padding: 36px; border-radius: var(--ck-radius-lg); }
.cup-page-hero.has-cover { min-height: 360px; }
.cup-page-hero.has-cover::after { background: linear-gradient(0deg, rgb(8 30 23 / 97%), rgb(8 30 23 / 48%) 65%, rgb(8 30 23 / 14%)); }
.cup-page-hero .cup-hero-identity { gap: 26px; align-items: flex-end; }
.cup-page-hero.has-cover .cup-hero-identity { padding-top: 66px; }
.cup-page-hero .cup-hero-identity > div { min-width: 0; }
.cup-page-hero h1 { margin: 9px 0 18px; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.cup-page-hero h1 span { font-size: .56em; white-space: normal; }
.cup-page-hero .section-kicker { font-size: 12px; line-height: 1.6; letter-spacing: .08em; }
.cup-page-hero .cup-hero-meta { gap: 10px 24px; font-size: 16px; line-height: 1.6; }
.cup-page-hero > .registration-status { font-size: 14px; line-height: 1.5; padding: 7px 11px; border-radius: 8px; overflow-wrap: anywhere; }
.cup-page-layout { grid-template-columns: minmax(0, 1fr) 350px; gap: 28px; }
.cup-page-main { gap: 24px; }
.cup-page-layout :is(.content-panel, .action-panel, .side-guide) { border-radius: 18px; }
.cup-page-layout .content-panel { padding: 30px; }
.cup-page-layout .content-panel h2 { font-size: 28px; line-height: 1.3; letter-spacing: -.035em; overflow-wrap: anywhere; }
.cup-page-layout :is(.content-panel, .action-panel, .side-guide) p { font-size: 16px; line-height: 1.8; }
.cup-page-layout :is(.section-kicker, .full-facts dt, .registration-facts dt) { font-size: 12px; line-height: 1.6; }
.cup-page-layout .full-facts { border-radius: 12px; margin-block: 24px 16px; }
.cup-page-layout .full-facts > div { padding: 17px 18px; }
.cup-page-layout .full-facts dd { font-size: 16px; line-height: 1.65; }
.cup-page-layout :is(.small-note, .content-panel .small-note, .action-panel p.small-note, .action-hint) { font-size: 14px; line-height: 1.75; }
.cup-page-layout :is(.source-link, .fact-source, .text-link, .side-guide > a) { min-height: 44px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.cup-page-layout :is(.cup-highlights li, .year-chips > span, .cup-playing-periods li) { font-size: 14px; line-height: 1.7; }
.cup-page-layout .action-panel { padding: 26px; box-shadow: var(--ck-shadow); }
.cup-page-layout .action-panel h2 { font-size: 28px; letter-spacing: -.035em; }
.cup-page-layout .action-panel .button { min-height: 48px; padding: 12px 14px; font-size: 16px; line-height: 1.5; border-radius: 11px; white-space: normal; }
.cup-page-layout .cup-sidebar { top: 24px; gap: 24px; }
.cup-page-layout .cup-share-inline > summary { min-height: 48px; font-size: 16px; line-height: 1.5; }
.cup-page-layout .cup-share-inline :is(label, p) { font-size: 14px; line-height: 1.7; }
.cup-page-layout .cup-share-url { font-size: 16px; min-height: 48px; }
.cup-page-layout .side-guide { padding: 24px; }
.cup-page-layout .side-guide h3 { font-size: 23px; line-height: 1.35; }
.cup-page-layout :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.image-credit { font-size: 14px; line-height: 1.65; margin-top: -12px; margin-bottom: 22px; overflow-wrap: anywhere; }
.image-credit a { min-height: 44px; }
.related-cups > :is(h2, p) { overflow-wrap: anywhere; }
.related-cups .related-intro { font-size: 16px; line-height: 1.8; }

/* Home closing content shares the same reading rhythm. */
.tip-section { padding: 30px; gap: 24px; border-radius: 20px; }
.tip-section .section-kicker { font-size: 12px; line-height: 1.6; }
.tip-section h2 { font-size: 28px; line-height: 1.25; letter-spacing: -.035em; }
.tip-section p { font-size: 16px; line-height: 1.75; }
.tip-section .button { min-height: 48px; font-size: 16px; line-height: 1.5; border-radius: 11px; }
.footer-main > div > p { font-size: 14px; line-height: 1.8; }
.footer-links :is(a, button) { min-height: 44px; font-size: 14px; }
.footer-bottom { font-size: 12px; line-height: 1.7; }

/* The existing dock, comparison and toast use one declared clearance model.
   Reserves are bounded CSS allowances, not measured element heights. */
.compare-bar { min-height: 68px; padding: 10px 14px; border-radius: 16px; }
.compare-bar > span { font-size: 14px; line-height: 1.5; }
.compare-bar .button { min-height: 44px; font-size: 14px; line-height: 1.5; }
.compare-bar .compare-clear { min-height: 44px; min-width: 44px; font-size: 14px; line-height: 1.5; }
.toast { max-width: min(56ch, calc(100% - 32px)); font-size: 14px; line-height: 1.65; padding: 14px 18px; overflow-wrap: anywhere; }
.comparing .toast { bottom: 112px; }

@media (max-width: 1100px) {
  .header-inner { gap: 16px; }
  .header .main-nav { gap: 18px; }
  .header .organizer-button { padding-inline: 12px; }
  .search-panel { margin-inline: 20px; padding-right: 14px; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1.1fr) 140px; }
  .search-panel .search-field { padding-inline: 13px; }
  .search-panel .search-button { margin-left: 8px; padding-inline: 12px; }
  .cup-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .cup-page-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 22px; }
  .cup-page-layout .content-panel { padding: 26px; }
  .cup-page-layout .action-panel { padding: 22px; }
}

@media (max-width: 850px) {
  .header .main-nav { gap: 14px; }
  .header .nav-link { font-size: 14px; }
  .header .brand { font-size: 25px; }
  .header .organizer-button { font-size: 14px; }
  .hero-section { padding-top: 24px; }
  .hero .hero-copy,
  .hero[data-hero-slideshow] .hero-copy { padding: 32px 30px 24px; max-width: 600px; }
  .hero-controls { margin-inline: 30px; }
  .search-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 20px; margin-inline: 16px; }
  .search-panel .search-field { padding: 0; border-right: 0; }
  .search-panel .search-button { grid-column: auto; align-self: end; margin: 0; }
  .cup-page-layout { grid-template-columns: minmax(0, 1fr); }
  .cup-page-layout .cup-sidebar { position: static; }
  .cup-page-hero.has-cover { min-height: 330px; }
  .cup-page-hero { padding: 30px; }
  .discovery .watch-search-row { flex-wrap: wrap; }
}

@media (min-width: 601px) and (max-width: 1000px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 44px;
    gap: 8px 18px;
    padding-block: 14px 8px;
  }
  .header .brand { grid-column: 1; grid-row: 1; }
  .header .organizer-button { grid-column: 2; grid-row: 1; }
  .header .theme-control { grid-column: 3; grid-row: 1; }
  .header .main-nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; margin: 0; gap: 28px; }
}

@media (max-width: 600px) {
  :root { --ck-dock-space: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body { padding-bottom: calc(var(--ck-dock-space) + var(--ck-compare-space)); }
  body.comparing { --ck-compare-space: 88px; padding-bottom: calc(var(--ck-dock-space) + var(--ck-compare-space)); }
  .header-inner { min-height: 76px; gap: 10px; }
  .header .brand { flex: none; font-size: 24px; gap: 8px; }
  .header .brand img { width: 35px; height: 35px; }
  .header .organizer-button {
    /* The existing mobile theme rule uses !important for these two properties. */
    font-size: 14px !important;
    padding-inline: 10px !important;
    flex: 0 1 104px;
    min-width: 0;
    min-height: 44px;
    line-height: 1.4;
    white-space: normal;
    max-width: 104px;
  }
  .header .organizer-button span { margin-left: 4px; }
  .sport-selector { margin-top: 18px; }
  .sport-selector-heading { align-items: flex-start; flex-wrap: wrap; gap: 4px 12px; }
  .hero-section { padding-top: 18px; padding-bottom: 34px; }
  .hero,
  .hero[data-hero-slideshow] { border-radius: 18px; }
  .hero .hero-shade { background: linear-gradient(90deg, rgb(18 62 50 / 96%), rgb(18 62 50 / 76%) 62%, rgb(18 62 50 / 48%)), linear-gradient(0deg, rgb(8 30 23 / 80%), transparent 70%); }
  .hero .hero-copy,
  .hero[data-hero-slideshow] .hero-copy { padding: 20px 22px 14px; max-width: none; }
  .hero .eyebrow { font-size: 11px; letter-spacing: .06em; gap: 7px; }
  .hero .hero-copy h1,
  .hero[data-hero-slideshow] .hero-copy h1 { font-size: clamp(32px, 8.7vw, 45px); margin: 12px 0; letter-spacing: -.045em; }
  .hero .hero-copy p,
  .hero[data-hero-slideshow] .hero-copy p { font-size: 16px; line-height: 1.6; }
  .hero-controls { margin-inline: 22px; padding-bottom: 14px; }
  .hero-controls-summary { gap: 5px 8px; font-size: 14px; margin-bottom: 6px; }
  .hero-controls-summary > span { padding: 3px 6px; }
  .hero-sport-button { font-size: 14px; min-height: 46px; padding-inline: 12px; }
  .hero-rotation-controls { gap: 5px 9px; flex-wrap: nowrap; }
  .hero-rotation-controls [data-hero-toggle] { flex: none; }
  #hero-rotation-status { flex: 1 1 0; min-width: 0; line-height: 1.4; }
  .hero-rotation-controls [data-hero-toggle],
  #hero-rotation-status { font-size: 14px; }
  .search-panel { margin: 12px 0 0; padding: 16px; gap: 12px; border-radius: 16px; min-height: 0; }
  .search-panel .search-text-field { grid-column: 1 / -1; }
  .search-panel .search-field label { font-size: 12px; letter-spacing: .04em; }
  .search-panel .search-button { grid-column: 1 / -1; min-height: 48px; width: 100%; }
  .discovery .sport-row { gap: 8px; padding-bottom: 16px; margin-bottom: 23px; }
  .discovery .curation-note { font-size: 14px; }
  .discovery .results-heading { display: flex; align-items: flex-start; gap: 14px; }
  .discovery .results-heading > div:first-child { flex-basis: 100%; }
  .discovery .results-heading h2 { font-size: 30px; }
  .discovery .results-tools { flex-direction: row; align-items: center; flex: 1; }
  .discovery .region-control { max-width: 100%; }
  .discovery .results-tools select { max-width: 100%; min-width: 0; }
  .discovery .quick-row { margin-bottom: 20px; }
  .discovery .quick-chip { font-size: 14px; padding-inline: 12px; }
  .discovery .watch-search-row { padding: 18px; gap: 14px; }
  .discovery .watch-search-button { width: 100%; justify-content: center; }
  .cup-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .cup-card { --card-gutter: 22px; border-radius: 18px; }
  .cup-card .card-media { height: 180px; }
  .cup-card h3 { font-size: 25px; }
  .cup-card .card-bottom { gap: 10px; }
  .cup-page-hero { padding: 24px; margin-top: 14px; margin-bottom: 22px; border-radius: 18px; }
  .cup-page-hero.has-cover { min-height: 320px; }
  .cup-page-hero .cup-hero-identity { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .cup-page-hero.has-cover .cup-hero-identity { padding-top: 55px; }
  .cup-page-hero .cup-logo-wrap { width: 68px; height: 68px; padding: 6px; margin-bottom: 0; border-radius: 13px; }
  .cup-page-hero h1 { font-size: 34px; line-height: 1.15; margin-block: 8px 14px; }
  .cup-page-hero .cup-hero-meta { font-size: 16px; gap: 7px 18px; }
  .cup-page-hero.has-cover > .registration-status { top: 15px; right: 16px; max-width: calc(100% - 32px); }
  .cup-page-layout { gap: 22px; }
  .cup-page-main { gap: 20px; }
  .cup-page-layout .content-panel { padding: 22px; }
  .cup-page-layout .content-panel h2 { font-size: 26px; }
  .cup-page-layout .full-facts { grid-template-columns: minmax(0, 1fr); }
  .cup-page-layout .full-facts > div:nth-child(odd) { border-right: 0; }
  .cup-page-layout .full-facts > div:nth-last-child(-n + 2) { border-bottom: 1px solid var(--line); }
  .cup-page-layout .full-facts > div:last-child { border-bottom: 0; }
  .cup-page-layout .full-facts > div { padding: 16px; }
  .cup-page-layout .action-panel { padding: 22px; }
  .image-credit { font-size: 14px; text-align: left; margin-top: -10px; margin-bottom: 20px; }
  .tip-section { padding: 22px; gap: 16px; }
  .tip-section .tip-copy { flex-basis: calc(100% - 65px); }
  .tip-section .button { margin: 0; width: 100%; min-height: 48px; font-size: 16px; }
  .tip-section h2 { font-size: 26px; }
  .footer-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .footer-links { align-items: flex-start; }
  .footer-bottom { flex-wrap: wrap; gap: 8px; padding-block: 14px; }
  .footer-bottom > span:last-child { font-size: 12px; }
  .mobile-nav { min-height: var(--ck-dock-space); box-sizing: border-box; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mobile-nav-link { min-height: 48px; gap: 5px; font-size: 12px; line-height: 1.5; border-radius: 11px; }
  .mobile-nav-link .save-count { font-size: 11px; min-width: 18px; height: 18px; line-height: 18px; }
  .compare-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    bottom: calc(var(--ck-dock-space) + 10px);
    width: min(560px, calc(100% - 24px));
    max-width: calc(100% - 24px);
    min-height: 68px;
    box-sizing: border-box;
    padding: 10px 12px;
  }
  .compare-bar .compare-avatars { display: none; }
  .compare-bar > span { min-width: 0; font-size: 14px; white-space: normal; overflow-wrap: anywhere; }
  .compare-bar .button { min-height: 44px; font-size: 14px; padding: 10px 12px; }
  .compare-bar .compare-clear { min-height: 44px; min-width: 44px; font-size: 14px; padding: 8px 4px; }
  .toast,
  .comparing .toast { bottom: calc(var(--ck-dock-space) + var(--ck-compare-space) + 14px); font-size: 14px; }
  html { scroll-padding-bottom: calc(var(--ck-dock-space) + 24px); }
  body.comparing :is(.discovery, .cup-page-layout) :focus-visible { scroll-margin-bottom: calc(var(--ck-dock-space) + var(--ck-compare-space) + 24px); }
}

/* Keep the primary search reachable on narrow phones. The same tip action is
   still available in the home callout and footer. */
@media (max-width: 374px) {
  .header .organizer-button { display: none; }
  .header .theme-control { margin-left: auto; }
  .hero-controls { margin-inline: 16px; }
  .hero-controls-summary { gap: 4px; }
  .hero-controls-summary > span { padding-inline: 4px; }
}

/* Short landscape views keep the navigation/comparison in the document flow. */
@media (max-width: 600px) and (max-height: 500px) {
  :root { --ck-dock-space: 0px; }
  body,
  body.comparing { padding-bottom: 0; }
  .mobile-nav { position: static; margin-top: 20px; min-height: 64px; }
  .compare-bar { position: static; left: auto; bottom: auto; transform: none; margin: 16px auto; }
  .toast,
  .comparing .toast { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .cup-card,
  .cup-card .card-cover-image { transition: none; }
  .cup-card:hover .card-cover-image { transform: none; }
  .hero-sport-tabs { scroll-behavior: auto; }
}

@media print {
  .header,
  .mobile-nav,
  .compare-bar,
  .toast,
  .hero-controls,
  .hero-photo,
  .hero-shade,
  .cup-cover-image { display: none; }
  body,
  body.comparing { padding-bottom: 0; }
  .hero,
  .cup-page-hero,
  .cup-page-hero.has-cover { min-height: 0; background: white; color: #172b24; box-shadow: none; }
  .hero .hero-copy,
  .hero[data-hero-slideshow] .hero-copy,
  .cup-page-hero.has-cover .cup-hero-identity { padding-top: 20px; padding-bottom: 20px; }
  .hero .hero-copy p,
  .hero .eyebrow,
  .cup-page-hero .section-kicker,
  .cup-page-hero .cup-hero-meta,
  .cup-page-hero .cup-hero-meta svg { color: #172b24; }
  .cup-page-hero.has-cover::after { display: none; }
  .cup-page-hero h1 { text-shadow: none; }
  .cup-page-layout { display: block; }
  .cup-page-layout .cup-sidebar { position: static; margin-top: 24px; }
  .cup-card,
  .cup-page-layout :is(.content-panel, .action-panel, .side-guide) { box-shadow: none; break-inside: avoid; }
  .search-panel { margin: 16px 0; box-shadow: none; }
}

/* V236. One scale for the public discovery, editorial and cup experience. */
:root {
  --paper: #f5f7f5;
  --ink: #173b30;
  --text-secondary: #52675e;
  --text-muted: #607168;
  --text-link: #24543f;
  --line: #dbe3dd;
  --control-line: #a6b9ad;
  --accent: #daf48b;
  --accent-hover: #cee77d;
  --surface-soft: #eef3ed;
  --surface-subtle: #f7f9f6;
  --ck-radius-lg: 28px;
  --ck-radius-md: 18px;
  --ck-shadow: 0 18px 48px rgb(11 48 35 / 7%);
}
:root[data-theme=dark] {
  --paper: #0c1b16; --surface: #142a21; --surface-soft: #1c3529;
  --surface-subtle: #10241c; --ink: #edf4e8; --text-secondary: #c4d3b8;
  --text-muted: #b4c6a9; --text-link: #c4e39c; --line: #3c5645;
  --control-line: #77916e;
}
body { font-size: 16px; line-height: 1.65; }
.container { width: min(1280px, calc(100% - 80px)); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-size: clamp(28px, 3vw, 42px); line-height: 1.16; letter-spacing: -.045em; }
.section-kicker { font-size: 11px; font-weight: 800; line-height: 1.5; letter-spacing: .12em; }
.button { min-height: 48px; padding: 12px 20px; border-radius: 12px; font-size: 14px; font-weight: 800; line-height: 1.5; }
.button svg { width: 18px; height: 18px; }
.text-link { font-size: 14px; line-height: 1.5; min-height: 44px; align-items: center; }
.header { background: var(--paper); border-bottom: 0; }
.header-inner { min-height: 88px; gap: 28px; }
.header .brand { font-size: 29px; letter-spacing: -.06em; gap: 10px; }
.header .brand img { width: 36px; height: 36px; }
.header .main-nav { gap: 28px; margin-left: auto; }
.header .nav-link { font-size: 13px; padding: 12px 0; }
.header .nav-link.active:after { width: 100%; bottom: 4px; height: 2px; }
.header .organizer-button { background: var(--surface); border: 1px solid var(--line); font-size: 12px; padding-inline: 15px; }
.header .theme-control > summary { border-color: var(--line); background: transparent; border-radius: 50%; }
.header .save-count { border-radius: 50%; font-size: 10px; }

/* The photo is the lead visual. Search and sport choices stay in normal flow. */
.hero-section { padding-top: 14px; padding-bottom: 56px; }
.hero, .hero[data-hero-slideshow] { min-height: 550px; border-radius: 28px; background: #10392e; }
.hero .hero-photo, .hero .hero-photo-outgoing { width: 76%; height: 100%; opacity: 1; object-position: center 52%; }
.hero .hero-shade { background: linear-gradient(90deg, #10392e 2%, rgb(16 57 46 / 97%) 25%, rgb(16 57 46 / 56%) 52%, rgb(8 29 22 / 3%) 80%), linear-gradient(0deg, rgb(4 22 16 / 55%), transparent 45%); }
.hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding: 60px 52px 22px; max-width: 800px; }
.hero .eyebrow { font-size: 10px; line-height: 1.7; letter-spacing: .14em; color: #e5f7c7; }
.hero .little-ball { font-size: 23px; }
.hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: clamp(48px, 5.4vw, 78px); line-height: 1.04; letter-spacing: -.065em; margin: 24px 0 22px; overflow-wrap: normal; }
.hero .hero-copy h1 span { color: #daf48b; }
.hero .hero-copy p, .hero[data-hero-slideshow] .hero-copy p { font-size: 16px; line-height: 1.8; max-width: 38ch; color: #e7eee6; }
.hero .hero-explore { display: none; }
.hero .photo-label, .hero-controls-summary, .hero-rotation-controls { display: none; }
.hero-controls { position: relative; margin: 14px 52px 0; padding-bottom: 76px; z-index: 2; }
.hero-sport-tabs { flex-wrap: wrap; overflow: visible; padding: 0; gap: 7px; }
.hero-sport-button { min-height: 46px; padding: 10px 13px; border-radius: 11px; border: 1px solid rgb(236 247 230 / 35%); background: rgb(15 52 40 / 55%); backdrop-filter: blur(14px); color: white; gap: 8px; font-size: 12px; line-height: 1.6; }
.hero-sport-button svg { width: 17px; height: 17px; }
.hero-sport-button[aria-pressed=true] { background: #daf48b; color: #173b30; border-color: #daf48b; }
.hero-sport-progress { display: none; }
.hero-image-toggle { position: absolute; inset: 0 0 0 auto; width: 40%; z-index: 1; display: block; padding: 0; background: transparent; color: transparent; cursor: pointer; border-radius: 0 28px 28px 0; font-size: 0; }
.hero-image-toggle:after { content: 'Ⅱ'; position: absolute; top: 22px; right: 22px; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 50%); border-radius: 50%; color: white; background: rgb(7 35 26 / 30%); opacity: 0; font-size: 15px; transition: opacity .2s; }
.hero-image-toggle[aria-pressed=true]:after { content: '▷'; }
.hero-image-toggle:hover:after, .hero-image-toggle:focus-visible:after { opacity: 1; }
.hero-image-toggle:focus-visible { outline: 3px solid #daf48b; outline-offset: -6px; }
.hero-image-toggle:disabled { cursor: default; }
.hero-image-toggle:disabled:after { display: none; }
.search-panel { margin: -45px 32px 0; min-height: 112px; padding: 17px 17px 17px 6px; border: 1px solid var(--line); border-radius: 19px; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr) minmax(0,1.1fr) 160px; box-shadow: 0 20px 48px rgb(12 44 31 / 10%); background: var(--surface); z-index: 4; }
.search-panel .search-field { padding: 0 21px; border-color: var(--line); }
.search-panel .search-field label { font-size: 10px; letter-spacing: .08em; color: var(--text-secondary); font-weight: 800; margin-bottom: 5px; }
.search-panel .field-control { gap: 10px; }
.search-panel .field-control :is(input,select) { font-size: 14px; min-height: 44px; }
.search-panel .search-button { min-height: 58px; margin-left: 10px; font-size: 14px; border-radius: 12px; background: var(--accent); }
.search-panel .search-button:hover { background: var(--accent-hover); }

/* Useful controls grouped around a quiet, image-led result grid. */
.discovery { padding-top: 8px; }
.sport-row { display: none; }
.results-heading { align-items: flex-end; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.results-heading h2 { font-size: 36px; letter-spacing: -.05em; line-height: 1.2; margin-top: 9px; }
.result-total { font-size: 12px; min-width: 30px; height: 26px; border-radius: 8px; margin-left: 12px; padding: 3px 8px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; background: var(--surface-soft); color: var(--text-secondary); letter-spacing: 0; }
.region-control { min-height: 46px; border: 1px solid var(--line); border-radius: 12px; padding-inline: 12px; background: var(--surface); gap: 7px; }
.region-control select { min-height: 44px; font-size: 13px; background-color: transparent; max-width: 180px; }
.quick-row { margin-block: 0 18px; }
.quick-chip { min-height: 38px; padding: 7px 14px; border-radius: 100px; font-size: 12px; border-color: var(--line); }
.quick-chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.quick-chip .green-dot { width: 6px; height: 6px; }
.cup-period-tools { margin-top: 0; padding: 0; border: 0; border-radius: 0; background: transparent; }
.cup-period-fields { align-items: flex-end; gap: 14px; }
.cup-period-fields label { gap: 5px; font-size: 10px; letter-spacing: .05em; font-weight: 800; }
.cup-period-fields select { min-height: 44px; padding: 9px 32px 9px 12px; border: 1px solid var(--line); border-radius: 10px; background-color: var(--surface); font-size: 13px; }
.cup-period-status { font-size: 12px; margin: 0 0 10px auto; color: var(--text-secondary); }
.cup-period-note { display: none; }
.cup-view-tools { gap: 10px; margin: 18px 0 26px; }
.cup-view-switch { background: var(--surface-soft); border: 0; padding: 4px; border-radius: 11px; }
.cup-view-switch button { min-height: 38px; padding: 8px 14px; border-radius: 8px; font-size: 12px; }
.cup-view-switch button[aria-pressed=true] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 5px rgb(15 42 27 / 10%); }
.calendar-saved-filter { min-height: 42px; border-color: var(--line); border-radius: 10px; font-size: 12px; padding: 8px 12px; }
.watch-search-row { display: none; }
.filter-context { margin: 12px 0 20px; font-size: 13px; }
.cup-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.cup-card { min-width: 0; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); padding: 0; overflow: hidden; box-shadow: 0 3px 10px rgb(15 42 27 / 2%); transition: border-color .2s, box-shadow .2s; }
.cup-card:hover { transform: none; border-color: var(--control-line); box-shadow: var(--ck-shadow); }
.cup-card .card-media { position: relative; margin: 0; aspect-ratio: 1.78; height: auto; border-radius: 0; overflow: visible; background: var(--surface-soft); }
.cup-card .card-cover { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: 19px 19px 0 0; }
.cup-card .card-cover-image { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.6,.2,1); }
.cup-card:hover .card-cover-image { transform: scale(1.035); }
.cup-card .media-official-art { object-fit: contain; background: #f1f4ee; }
.cup-card .card-top { position: absolute; inset: 14px 14px -25px; margin: 0; padding: 0; align-items: flex-start; pointer-events: none; }
.cup-card .cup-logo-wrap { position: absolute; left: 6px; bottom: 0; width: 62px; height: 62px; padding: 6px; border-radius: 13px; border: 1px solid #e2e8e2; box-shadow: 0 4px 12px rgb(10 35 23 / 9%); margin: 0; }
.cup-card .cup-logo { width: 100%; height: 100%; object-fit: contain; }
.cup-card .card-top-right { margin-left: auto; pointer-events: auto; }
.cup-card .save-button { width: 38px; height: 38px; border: 1px solid rgb(255 255 255 / 65%); border-radius: 50%; background: rgb(255 255 255 / 92%); color: #214837; box-shadow: 0 2px 8px #0001; }
.cup-card .save-button svg { width: 18px; height: 18px; }
.cup-card .save-button[aria-pressed=true] { background: #daf48b; border-color: #daf48b; }
.cup-card .card-registration { position: absolute; top: 14px; left: 14px; bottom: auto; max-width: calc(100% - 72px); }
.cup-card .registration-status { font-size: 10px; line-height: 1.5; padding: 5px 9px; border-radius: 7px; color: #214837; background: #f4f9e8ed; border: 1px solid #fff8; backdrop-filter: blur(10px); }
.cup-card .registration-status.soon { background: #fff5deed; color: #67460a; }
.cup-card .card-location { margin: 43px 22px 7px; padding: 0; font-size: 10px; font-weight: 800; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; color: var(--text-link); }
.card-location > span { color: var(--text-secondary); font-weight: 600; }
.cup-card h3 { font-size: 21px; line-height: 1.25; letter-spacing: -.035em; margin: 0 22px 0; min-height: 53px; padding: 0; }
.cup-card h3 a { display: block; }
.cup-card .card-date { font-size: 13px; line-height: 1.6; font-weight: 700; gap: 8px; margin: 14px 22px 9px; }
.cup-card .card-date svg { width: 16px; height: 16px; }
.cup-card .card-year { margin-left: 0; font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.cup-card .card-meta { margin: 0 22px; padding: 0; min-height: 42px; font-size: 12px; line-height: 1.65; display: flex; flex-wrap: wrap; align-content: flex-start; align-items: flex-start; gap: 2px 7px; color: var(--text-secondary); }
.cup-card .card-meta svg { width: 15px; height: 15px; }
.cup-card .card-ages { min-width: 0; }
.cup-card .card-fees { margin: 12px 22px 0; font-size: 12px; line-height: 1.6; padding: 0; color: var(--ink); }
.cup-card .card-pills { margin: 12px 22px 20px; min-height: 0; gap: 6px; padding: 0; }
.cup-card .card-pill { border: 0; border-radius: 6px; padding: 4px 7px; font-size: 10px; line-height: 1.5; color: var(--text-secondary); background: var(--surface-soft); }
.cup-card .card-bottom { margin: auto 22px 0; padding: 14px 0 18px; border-top: 1px solid var(--line); display: flex; gap: 12px; align-items: center; }
.cup-card .card-link { font-size: 12px; font-weight: 800; min-height: 36px; }
.cup-card .card-link svg { width: 16px; height: 16px; }
.cup-card .compare-toggle { min-height: 36px; font-size: 11px; padding: 0; }
.cup-card .compare-check { width: 17px; height: 17px; border-radius: 5px; }
.cup-card .compare-check svg { width: 12px; height: 12px; }
.cup-pagination { padding: 32px 0 0; text-align: center; }
.pagination-summary { font-size: 12px; color: var(--text-secondary); margin-bottom: 14px; }
.pagination { display: flex; justify-content: center; gap: 6px; align-items: center; flex-wrap: wrap; }
.pagination a { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 10px; font-size: 13px; font-weight: 700; }
.pagination a:hover { border-color: var(--control-line); }
.pagination a[aria-current] { background: var(--ink); color: var(--paper); }
.pagination .pagination-direction { border: 1px solid var(--line); background: var(--surface); margin-inline: 8px; }
.pagination-gap { font-size: 12px; width: 18px; }
.pagination-jump { margin: 8px auto 0; max-width: 440px; }
.pagination-jump > summary { width: fit-content; min-height: 44px; margin-inline: auto; padding: 12px; cursor: pointer; color: var(--ink); font-size: 13px; font-weight: 800; }
.pagination-jump-links { padding: 6px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }

/* The visual stays briefly while the explanation progresses naturally. */
.experience-section { margin-top: 112px; padding: 84px 0 40px; background: var(--surface-soft); overflow: clip; }
.experience-intro h2 { font-size: clamp(34px,3.8vw,54px); margin: 16px 0 40px; max-width: 900px; letter-spacing: -.055em; }
.experience-intro h2 span { color: var(--text-secondary); }
.experience-layout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 76px; align-items: start; }
.experience-visual { position: sticky; top: 60px; height: min(610px,calc(100svh - 100px)); min-height: 450px; isolation: isolate; }
.experience-backdrop { position: absolute; width: 87%; height: 72%; left: 0; top: 11%; object-fit: cover; border-radius: 40% 40% 28px 28px; opacity: .2; filter: saturate(.7); }
.experience-orbit { position: absolute; top: 4%; left: 1%; width: 90%; aspect-ratio: 1; border: 1px solid var(--control-line); border-radius: 50%; opacity: .35; }
.device-desktop { position: absolute; left: 0; top: 22%; width: 86%; aspect-ratio: 1.44; background: #fff; border: 7px solid #203d32; border-radius: 17px; box-shadow: 0 32px 52px rgb(13 42 27 / 18%); transform: perspective(1000px) rotateY(6deg) rotateZ(-3deg); transition: transform .8s, opacity .8s; color: #173b30; overflow: hidden; }
.device-toolbar { height: 23px; display: flex; align-items: center; gap: 4px; padding: 0 9px; background: #eff3ee; font-size: 7px; color: #688272; }
.device-toolbar > span { width: 4px; height: 4px; border-radius: 50%; background: #b7c8bc; }
.device-toolbar b { margin-left: 29%; font-weight: 500; }
.device-screen { padding: 12px 15px; background: #fff; overflow: hidden; }
.device-brand { font-size: 14px; font-weight: 800; letter-spacing: -.06em; }
.device-brand span { color: #759c40; }
.device-heading { font-size: 16px; line-height: 1.2; font-weight: 800; letter-spacing: -.045em; margin: 10px 0 14px; }
.device-cups { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.device-cup { border: 1px solid #dce5dc; border-radius: 7px; background: #fff; overflow: hidden; }
.device-cup > img { display: block; width: 100%; aspect-ratio: 1.8; object-fit: cover; }
.device-cup > div { position: relative; padding: 17px 8px 8px; }
.device-cup b { display: block; font-size: 9px; line-height: 1.3; }
.device-cup span:not(.cup-logo-wrap) { display: block; font-size: 7px; line-height: 1.4; margin-top: 6px; }
.device-cup small { display: block; font-size: 7px; color: #607168; line-height: 1.5; margin-top: 3px; }
.device-cup .cup-logo-wrap { position: absolute; top: -16px; left: 8px; width: 27px; height: 27px; padding: 3px; border: 1px solid #e3e9df; border-radius: 6px; background: white; }
.device-cup .cup-logo { width: 100%; height: 100%; object-fit: contain; }
.device-plan { display: flex; gap: 8px; padding-top: 12px; font-size: 8px; opacity: 0; transition: opacity .6s; }
.device-plan span { border: 1px solid #dce5dc; border-radius: 6px; padding: 5px 12px; background: #f4f7f1; }
.device-phone { position: absolute; width: 31%; min-width: 130px; aspect-ratio: .49; top: 32%; right: 0; border: 6px solid #15372b; border-radius: 26px; box-shadow: 0 25px 44px rgb(11 33 22 / 23%); background: #fff; transform: rotate(6deg); overflow: hidden; transition: transform .8s; color: #173b30; }
.phone-speaker { width: 38%; height: 8px; border-radius: 0 0 8px 8px; position: absolute; top: 0; left: 31%; background: #15372b; z-index: 2; }
.device-phone .device-screen { padding: 20px 9px 12px; }
.device-phone .device-brand { font-size: 12px; }
.device-phone .device-heading { font-size: 18px; margin: 13px 0; }
.device-phone .device-cup > img { aspect-ratio: 1.3; }
.device-phone .device-cup b { font-size: 11px; }
.device-phone .device-cup span:not(.cup-logo-wrap), .device-phone .device-cup small { font-size: 8px; }
.phone-nav { display: flex; justify-content: space-around; align-items: center; gap: 12px; margin: 18px -9px 0; padding: 9px 12px; border-top: 1px solid #e0e7df; font-size: 8px; color: #657b6b; }
.phone-nav span { color: #2a6443; font-size: 15px; }
.experience-step { min-height: 410px; padding: 68px 0 72px; opacity: .65; transition: opacity .4s; }
.experience-step.is-active { opacity: 1; }
.experience-step .step-number { display: block; font-size: 10px; font-weight: 800; letter-spacing: .12em; color: var(--text-link); padding-bottom: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.experience-step h3 { font-size: clamp(26px,2.8vw,40px); line-height: 1.17; letter-spacing: -.05em; margin: 0 0 20px; }
.experience-step p { max-width: 35ch; font-size: 15px; line-height: 1.8; color: var(--text-secondary); margin-bottom: 20px; }
.experience-step .text-link { gap: 18px; font-size: 13px; }
.experience-section[data-step="1"] .can-animate .device-desktop { transform: perspective(1000px) rotateY(-4deg) rotateZ(0deg) translateY(-10px); }
.experience-section[data-step="1"] .can-animate .device-phone { transform: rotate(-3deg) translateY(-25px); }
.experience-section[data-step="2"] .can-animate .device-desktop { transform: perspective(1000px) rotateY(0deg) rotateZ(-2deg) translateY(-16px); }
.experience-section[data-step="2"] .can-animate .device-phone { transform: rotate(3deg) translateY(-32px); }
.experience-section[data-step="2"] .device-plan { opacity: 1; }
.explore-section { margin-block: 88px; }
.explore-section h2 { margin: 13px 0 28px; }
.collection-links { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.collection-links > a { position: relative; display: flex; align-items: flex-end; min-height: 195px; border: 0; border-radius: 18px; padding: 24px; overflow: hidden; isolation: isolate; color: #fff; background-color: #123e32; background-size: cover; background-position: center; transition: transform .25s; }
.collection-links > a:before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg,rgb(6 26 18 / 85%),rgb(6 26 18 / 10%) 80%); z-index: -1; }
.collection-links > a:nth-child(1) { background-image: url('/assets/cupkollen-football-640.webp'); }
.collection-links > a:nth-child(2) { background-image: url('/assets/cupkollen-floorball-640.webp'); }
.collection-links > a:nth-child(3) { background-image: url('/assets/cupkollen-handball-640.webp'); }
.collection-links > a:nth-child(4) { background-image: url('/assets/cupkollen-hockey-640.webp'); }
.collection-links > a:nth-child(5) { background-image: url('/assets/cupkollen-basketball-640.webp'); }
.collection-links > a:nth-child(6) { background-image: url('/assets/cupkollen-futsal-640.webp'); }
.collection-links > a > span { min-width: 0; font-size: 20px; letter-spacing: -.035em; font-weight: 800; overflow-wrap: anywhere; }
.collection-links > a svg { flex: none; margin-left: auto; }
.collection-links > .sport-tile { --tile-tint: var(--accent); --tile-ink: #244631; display: grid; grid-template-columns: minmax(0,1fr) auto; grid-template-rows: auto 1fr; align-items: start; gap: 8px; }
.sport-tile[data-sport="floorball"] { --tile-tint: var(--sport-floorball-bg); --tile-ink: var(--sport-floorball-line); }
.sport-tile[data-sport="handball"] { --tile-tint: var(--sport-handball-bg); --tile-ink: var(--sport-handball-line); }
.sport-tile[data-sport="hockey"] { --tile-tint: var(--sport-hockey-bg); --tile-ink: var(--sport-hockey-line); }
.sport-tile[data-sport="basketball"] { --tile-tint: var(--sport-basketball-bg); --tile-ink: var(--sport-basketball-line); }
.sport-tile[data-sport="futsal"] { --tile-tint: var(--sport-futsal-bg); --tile-ink: var(--sport-futsal-line); }
.collection-links > .sport-tile::before { background: linear-gradient(0deg,#061a12ed,#061a1280 28%,#061a1210 66%); }
.sport-tile .sport-tile-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--tile-tint); color: var(--tile-ink); }
.collection-links .sport-tile-icon svg { width: 21px; height: 21px; margin: 0; color: inherit; }
.collection-links > .sport-tile > svg { width: 23px; height: 23px; padding: 4px; border-radius: 7px; background: #061a12c9; color: #fff; }
.collection-links .sport-tile-name { grid-column: 1/-1; align-self: end; line-height: 1.22; }
.collection-links > a:hover { transform: translateY(-3px); }
.editorial-home .editorial-section-heading { gap: 28px; }
.club-banner { position: relative; isolation: isolate; overflow: hidden; border-radius: 24px; min-height: 360px; margin-block: 80px; background: #123e32; color: white; }
.club-banner > img { position: absolute; inset: 0 0 0 auto; width: 63%; height: 100%; object-fit: cover; z-index: -2; }
.club-banner:before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,#123e32 15%,rgb(18 62 50 / 90%) 40%,rgb(18 62 50 / 10%) 100%); }
.club-banner > div { padding: 48px; max-width: 580px; }
.club-banner .section-kicker { color: #def2b6; }
.club-banner h2 { color: white; font-size: 38px; margin-block: 16px; }
.club-banner p { font-size: 14px; max-width: 37ch; color: #e2eddf; margin-bottom: 24px; }
.footer { margin-top: 96px; background: #10382c; color: #e4ecdf; border-radius: 0; }
.footer-main { padding-block: 64px 46px; display: grid; grid-template-columns: 1fr 1.15fr .7fr; gap: 56px; }
.footer .brand { color: white; font-size: 28px; }
.footer .brand-dot { color: #daf48b; }
.footer .footer-main p { font-size: 13px; color: #c8d9c8; line-height: 1.8; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 24px; align-content: start; }
.footer-links :is(a,button) { font-size: 12px; min-height: 36px; line-height: 1.5; text-align: left; color: #e4ecdf; }
.footer-tag { font-size: 9px; color: #d9efad; letter-spacing: .1em; }
.footer-bottom { border-color: #ffffff26; padding-block: 24px; font-size: 10px; color: #c8d9c8; }

/* Cup pages and editorial pages share the typography, spacing and surfaces. */
.breadcrumbs { font-size: 11px; margin-top: 18px; }
.cup-page-hero { margin-top: 24px; margin-bottom: 36px; padding: 44px; }
.cup-page-hero.has-cover { min-height: 410px; }
.cup-page-hero.has-cover::after { background: linear-gradient(0deg,rgb(6 29 20 / 94%),rgb(6 29 20 / 22%) 85%); }
.cup-page-hero .cup-hero-identity { align-items: flex-end; gap: 24px; }
.cup-page-hero .cup-logo-wrap { width: 90px; height: 90px; border-radius: 18px; padding: 10px; }
.cup-page-hero h1 { font-size: clamp(34px,4vw,58px); max-width: 920px; }
.cup-page-hero .section-kicker { color: #e1f2c8; font-size: 11px; }
.cup-page-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 32px; }
.content-panel { padding: 32px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); margin-bottom: 24px; }
.content-panel h2 { font-size: 26px; line-height: 1.22; letter-spacing: -.04em; margin: 10px 0 18px; }
.content-panel > p { font-size: 15px; line-height: 1.85; }
.full-facts { gap: 0 24px; }
.full-facts > div { padding-block: 16px; border-color: var(--line); }
.full-facts dt { font-size: 10px; font-weight: 800; letter-spacing: .05em; }
.full-facts dd { font-size: 14px; line-height: 1.7; margin-top: 5px; }
.content-panel .small-note, .action-panel .small-note { font-size: 12px; color: var(--text-secondary); line-height: 1.7; }
.action-panel { padding: 26px; border-radius: 18px; }
.action-panel h2 { font-size: 29px; }
.action-panel p { font-size: 13px; line-height: 1.8; }
.action-panel .button { min-height: 46px; font-size: 12px; border-radius: 10px; }
.cup-sidebar { top: 24px; }
.page-intro { padding-block: 52px 36px; }
.page-intro h1 { font-size: clamp(38px,4vw,60px); line-height: 1.1; letter-spacing: -.055em; }
.page-lead { font-size: 17px; line-height: 1.8; max-width: 62ch; }
.article-header h1 { font-size: clamp(36px,4vw,58px); line-height: 1.13; letter-spacing: -.05em; }
.listing-section { margin-block: 40px 60px; }

@media(min-width:1450px) { .hero, .hero[data-hero-slideshow] { min-height: 580px; } .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding-top: 70px; } .hero-controls { margin-top: 22px; } }
@media(max-width:1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 20px; }
  .header .main-nav { gap: 19px; }
  .header .brand { font-size: 26px; }
  .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding: 48px 36px 20px; }
  .hero-controls { margin-inline: 36px; padding-bottom: 76px; }
  .hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: 61px; }
  .search-panel { margin-inline: 24px; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr) minmax(0,1.1fr) 134px; }
  .search-panel .search-field { padding-inline: 14px; }
  .search-panel .search-button { padding: 10px 12px; gap: 8px; }
  .cup-grid { gap: 20px; }
  .cup-card h3 { font-size: 19px; }
  .experience-layout { gap: 46px; }
  .experience-visual { min-height: 410px; }
  .experience-step { min-height: 380px; }
  .device-phone { width: 34%; }
  .cup-page-layout { grid-template-columns: minmax(0,1fr) 300px; gap: 24px; }
  .footer-main { gap: 32px; }
}
@media(max-width:900px) {
  .header .main-nav { display: none; }
  .header .organizer-button { margin-left: auto; }
  .cup-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero .hero-photo { width: 100%; object-position: 65% 50%; }
  .hero .hero-shade { background: linear-gradient(90deg,rgb(9 40 29 / 93%),rgb(9 40 29 / 62%) 52%,rgb(9 40 29 / 12%)),linear-gradient(0deg,rgb(6 28 18 / 74%),transparent 60%); }
  .hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: 58px; }
  .hero, .hero[data-hero-slideshow] { min-height: 570px; }
  .search-panel { grid-template-columns: 1.3fr 1fr; gap: 12px 0; padding: 18px; }
  .search-panel .search-field { padding: 0 16px; }
  .search-panel .search-field:nth-child(2) { border-right: 0; }
  .search-panel .search-button { grid-column: 2; margin: 0 0 0 16px; min-height: 52px; }
  .hero-controls { padding-bottom: 82px; }
  .hero-image-toggle { width: 32%; }
  .experience-layout { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .experience-visual { min-height: 350px; height: 440px; }
  .experience-step h3 { font-size: 29px; }
  .experience-step p { font-size: 14px; }
  .device-phone { min-width: 110px; border-width: 4px; border-radius: 20px; top: 39%; }
  .device-desktop { border-width: 5px; top: 28%; }
  .device-cup b { font-size: 8px; }
  .device-phone .device-heading { font-size: 15px; }
  .collection-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cup-page-layout { grid-template-columns: minmax(0,1fr); }
  .cup-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1/-1; }
}
@media(max-width:600px) {
  .container { width: calc(100% - 36px); }
  .header-inner { min-height: 76px; gap: 12px; }
  .header .brand { font-size: 24px; gap: 8px; }
  .header .brand img { width: 29px; height: 29px; }
  .header .organizer-button { font-size: 10px !important; padding: 8px 10px !important; min-height: 38px; border-radius: 9px; }
  .header .organizer-button span { display: none; }
  .header .theme-control, .header .theme-control > summary { width: 36px; flex-basis: 36px; min-height: 38px; }
  .header .theme-control > summary svg { width: 18px; height: 18px; }
  .hero-section { width: 100%; padding: 0 0 40px; }
  .hero, .hero[data-hero-slideshow] { min-height: 600px; border-radius: 0; }
  .hero .hero-photo, .hero .hero-photo-outgoing { width: 100%; object-position: 66% center; }
  .hero .hero-shade { background: linear-gradient(90deg,rgb(11 45 33 / 82%),rgb(11 45 33 / 10%)),linear-gradient(0deg,#10392e 0%,rgb(16 57 46 / 95%) 26%,rgb(16 57 46 / 8%) 82%); }
  .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding: 48px 24px 12px; max-width: 100%; }
  .hero .eyebrow { font-size: 9px; gap: 7px; }
  .hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: clamp(42px,10.7vw,62px); line-height: 1.07; letter-spacing: -.065em; margin: 21px 0 18px; }
  .hero .hero-copy p, .hero[data-hero-slideshow] .hero-copy p { font-size: 14px; line-height: 1.8; }
  .hero-controls { margin: 16px 24px 0; padding-bottom: 128px; }
  .hero-sport-tabs { gap: 7px; display: flex; flex-wrap: wrap; }
  .hero-sport-button { font-size: 11px; min-height: 40px; padding: 8px 10px; border-radius: 9px; gap: 6px; }
  .hero-sport-button svg { width: 15px; height: 15px; }
  .hero-image-toggle { width: 30%; height: 255px; border-radius: 0; }
  .hero-image-toggle:after { top: 16px; right: 16px; }
  .search-panel { position: relative; width: calc(100% - 36px); margin: -93px auto 0; min-height: 0; padding: 12px; gap: 0; border-radius: 16px; grid-template-columns: 1fr 1fr; box-shadow: 0 12px 32px rgb(12 44 31 / 10%); }
  .search-panel .search-text-field { grid-column: 1/-1; border-bottom: 1px solid var(--line); border-right: 0; padding: 6px 8px 12px; margin-bottom: 12px; }
  .search-panel .search-field { padding-inline: 8px; min-width: 0; }
  .search-panel .search-field label { font-size: 9px; letter-spacing: .03em; white-space: normal; }
  .search-panel .search-field:nth-child(2) { border-right: 1px solid var(--line); }
  .search-panel .search-field:nth-child(3) { border-right: 0; }
  .search-panel .field-control { gap: 6px; min-height: 40px; }
  .search-panel .field-control svg { width: 16px; height: 16px; }
  .search-panel .field-control :is(input,select) { font-size: 14px; min-height: 40px; width: 100%; padding-right: 20px; }
  .search-panel .search-button { grid-column: 1/-1; margin: 14px 0 0; min-height: 48px; justify-content: space-between; padding-inline: 17px; border-radius: 10px; }
  .discovery { padding-top: 0; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 16px; padding-bottom: 16px; margin-bottom: 14px; }
  .results-heading h2 { font-size: 28px; line-height: 1.2; margin-top: 7px; }
  .results-heading .section-kicker { font-size: 9px; }
  .result-total { font-size: 10px; min-width: 27px; height: 23px; margin-left: 8px; }
  .results-tools, .region-control { width: 100%; }
  .region-control { min-height: 42px; border-radius: 10px; }
  .region-control select { width: 100%; max-width: none; min-height: 42px; }
  .quick-row { gap: 8px; margin-bottom: 18px; }
  .quick-chip { font-size: 11px; padding: 7px 11px; }
  .cup-period-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .cup-period-fields label { font-size: 9px; }
  .cup-period-fields label:nth-child(3) { grid-column: 1/-1; }
  .cup-period-fields select { font-size: 13px; width: 100%; min-width: 0; }
  .cup-period-status { display: none; }
  .cup-view-tools { margin-block: 16px 22px; gap: 8px; }
  .cup-view-switch button { font-size: 11px; min-height: 38px; padding: 8px 10px; }
  .calendar-saved-filter { font-size: 11px; min-height: 44px; padding: 8px 10px; }
  .cup-grid { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .cup-card { border-radius: 18px; }
  .cup-card .card-media { aspect-ratio: 1.75; }
  .cup-card .card-cover { border-radius: 17px 17px 0 0; }
  .cup-card .save-button { width: 42px; height: 42px; }
  .cup-card .card-location { margin: 44px 22px 8px; font-size: 10px; }
  .cup-card h3 { font-size: 23px; min-height: 0; }
  .cup-card .card-date { font-size: 14px; margin-top: 16px; }
  .cup-card .card-meta { font-size: 13px; min-height: 24px; }
  .cup-card .card-fees { font-size: 13px; }
  .cup-card .card-pills { margin-bottom: 20px; }
  .cup-card .card-pill { font-size: 11px; }
  .cup-card .card-bottom { padding-block: 12px 16px; }
  .cup-card .card-link, .cup-card .compare-toggle { font-size: 12px; min-height: 44px; }
  .pagination { gap: 2px; }
  .pagination a { min-width: 40px; height: 44px; }
  .pagination .pagination-direction { margin-inline: 2px; }
  .experience-section { margin-top: 64px; padding-top: 48px; padding-bottom: 32px; }
  .experience-intro .section-kicker { font-size: 9px; }
  .experience-intro h2 { font-size: 31px; margin-block: 14px 24px; }
  .experience-layout { display: block; }
  .experience-visual { top: 8px; height: 330px; min-height: 0; z-index: 2; background: var(--surface-soft); border-radius: 16px; }
  .experience-backdrop { top: 6%; left: 0; width: 85%; height: 80%; }
  .experience-orbit { width: 72%; top: 3%; }
  .device-desktop { top: 22%; left: 3%; width: 78%; border-width: 5px; border-radius: 12px; }
  .device-screen { padding: 9px 10px; }
  .device-brand { font-size: 11px; }
  .device-heading { font-size: 14px; margin-block: 7px 10px; }
  .device-toolbar { height: 18px; font-size: 6px; }
  .device-cup b { font-size: 7px; }
  .device-cup span:not(.cup-logo-wrap), .device-cup small { font-size: 6px; }
  .device-cups { gap: 7px; }
  .device-phone { top: 25%; right: 1%; width: 30%; min-width: 104px; border-width: 4px; border-radius: 20px; }
  .device-phone .device-screen { padding: 17px 7px 8px; }
  .device-phone .device-heading { font-size: 14px; margin-block: 10px; }
  .device-phone .device-cup b { font-size: 9px; }
  .device-phone .device-cup span:not(.cup-logo-wrap), .device-phone .device-cup small { font-size: 7px; }
  .trophy-orb { top: -7%; right: 0; width: 35%; height: 47%; }
  .experience-step { min-height: 300px; padding: 40px 10px; }
  .experience-step h3 { font-size: 30px; }
  .experience-step p { font-size: 14px; max-width: 37ch; }
  .experience-step .step-number { font-size: 9px; padding-block: 14px; }
  .explore-section { margin-block: 56px; }
  .collection-links { gap: 12px; }
  .collection-links > a { min-height: 144px; border-radius: 13px; padding: 16px; }
  .collection-links > a > span { font-size: 16px; }
  .collection-links > a svg { width: 16px; height: 16px; }
  .collection-links > .sport-tile { padding: clamp(10px,3vw,15px); }
  .collection-links > .sport-tile > .sport-tile-name { font-size: clamp(13px,4vw,17px); }
  .sport-tile .sport-tile-icon { width: 32px; height: 32px; border-radius: 8px; }
  .collection-links .sport-tile-icon svg { width: 19px; height: 19px; }
  .club-banner { margin-block: 56px; border-radius: 18px; min-height: 370px; }
  .club-banner > img { width: 100%; opacity: .6; }
  .club-banner:before { background: linear-gradient(0deg,#123e32 2%,rgb(18 62 50 / 65%) 80%); }
  .club-banner > div { padding: 32px 24px; }
  .club-banner h2 { font-size: 32px; }
  .club-banner p { font-size: 14px; }
  .footer { margin-top: 56px; }
  .footer-main { grid-template-columns: 1fr; gap: 28px; padding-block: 42px 30px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 6px 20px; }
  .footer-note { grid-column: auto; }
  .footer-bottom { display: block; padding-block: 20px calc(92px + env(safe-area-inset-bottom)); font-size: 10px; }
  .footer-bottom > span { display: block; margin-bottom: 8px; }
  .mobile-nav { background: var(--surface-glass); backdrop-filter: blur(20px); border-top: 1px solid var(--line); box-shadow: 0 -6px 24px #00000005; padding-bottom: env(safe-area-inset-bottom); }
  .mobile-nav-link { min-height: 62px; font-size: 9px; gap: 4px; }
  .mobile-nav-link svg { width: 19px; height: 19px; }
  .cup-page-hero { width: calc(100% - 24px); margin-block: 18px 26px; padding: 24px; border-radius: 20px; }
  .cup-page-hero.has-cover { min-height: 380px; }
  .cup-page-hero h1 { font-size: 34px; margin-block: 10px 14px; }
  .cup-page-hero .cup-hero-identity { gap: 18px; }
  .cup-page-hero .cup-logo-wrap { width: 70px; height: 70px; border-radius: 14px; padding: 7px; }
  .cup-page-hero .cup-hero-meta { font-size: 13px; gap: 8px 15px; }
  .content-panel { padding: 24px; margin-bottom: 18px; border-radius: 16px; }
  .content-panel h2 { font-size: 25px; }
  .content-panel > p { font-size: 14px; }
  .full-facts { grid-template-columns: 1fr; }
  .full-facts dd { font-size: 14px; }
  .cup-sidebar { display: block; }
  .action-panel { padding: 24px; }
  .action-panel .button { font-size: 13px; min-height: 48px; }
  .page-intro { padding-block: 32px 24px; }
  .page-intro h1 { font-size: 38px; }
  .page-lead { font-size: 15px; }
  .article-header h1 { font-size: 36px; }
}
@media(max-width:360px) {
  .header .brand { font-size: 21px; gap: 6px; }
  .header .organizer-button { font-size: 9px !important; padding-inline: 7px !important; }
  .header-inner { gap: 8px; }
  .hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: 40px; }
  .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding-inline: 20px; }
  .hero-controls { margin-inline: 20px; }
  .hero-sport-button { padding-inline: 8px; font-size: 10px; }
  .results-heading h2 { font-size: 25px; }
  .cup-view-tools { flex-wrap: wrap; }
  .device-phone { min-width: 94px; }
}
@media(max-width:600px) and (max-height:700px) { .experience-visual { position: relative; top: 0; } }
@media(prefers-reduced-motion:reduce) {
  *, *:before, *:after { scroll-behavior: auto !important; }
  .experience-visual { position: relative; top: 0; }
  .experience-step { opacity: 1; }
  .experience-section *, .hero-image-toggle:after, .cup-card, .collection-links > a { transition: none !important; }
  .cup-card:hover .card-cover-image { transform: none; }
}
@media print {
  :root { --paper: #fff; --ink: #172b24; --line: #ddd; }
  .hero-section, .experience-section, .club-banner, .cup-pagination, .collection-links, .cup-view-tools, .cup-period-tools { display: none !important; }
  .container { width: 100%; }
  .cup-card { break-inside: avoid; box-shadow: none; }
  .cup-page-hero, .cup-page-hero.has-cover { min-height: 0; background: white; color: #172b24; }
  .cup-page-hero .cup-hero-identity { padding-top: 0; }
}

/* Keep the complete search usable on shorter laptop screens. */
.search-panel { background: var(--surface-glass); backdrop-filter: blur(22px); }
@media(min-width:901px) and (max-height:800px) {
  .hero, .hero[data-hero-slideshow] { min-height: 490px; }
  .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding-top: 32px; padding-bottom: 8px; }
  .hero .hero-copy h1, .hero[data-hero-slideshow] .hero-copy h1 { font-size: 60px; margin-block: 16px; }
  .hero .hero-copy p, .hero[data-hero-slideshow] .hero-copy p { font-size: 14px; }
  .hero-controls { margin-top: 8px; padding-bottom: 66px; }
}

.hero[data-hero-slideshow] .hero-image-toggle { border: 0; box-shadow: none; background: transparent; }

.footer { padding-top: 0; }
@media(max-width:600px) {
  .hero, .hero[data-hero-slideshow] { min-height: 540px; }
  .hero-controls { padding-bottom: 110px; }
  .results-heading .results-tools { max-width: none; width: 100%; }
  .discovery .region-control { grid-column: 1 / -1; min-width: 0; }
  .region-control select { border: 0; border-radius: 0; background-color: transparent; }
  .region-control svg { display: block; }
}

.cup-quick-actions { display: none; }
.cup-page-main > .content-panel { margin-bottom: 0; }
@media(max-width:900px) {
  .cup-page-layout .cup-sidebar { grid-row: auto; }
  .cup-quick-actions { display: flex; gap: 10px; margin-top: -10px; margin-bottom: 24px; }
  .cup-quick-actions > .button { flex: 1; min-width: 0; font-size: 13px; padding-inline: 14px; gap: 8px; }
}
@media print { .cup-quick-actions { display: none !important; } }

/* V237. Refined glass surfaces; the active sport remains the only selection. */
.hero-sport-tabs { gap: 8px; }
.hero .hero-sport-button {
  border: 1px solid rgb(255 255 255 / 24%);
  border-radius: 999px;
  min-height: 48px;
  padding: 10px 16px;
  background: linear-gradient(130deg,rgb(255 255 255 / 8%),rgb(255 255 255 / 1%)),rgb(6 32 23 / 52%);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 4px 12px rgb(1 18 10 / 7%);
  text-shadow: 0 1px 4px rgb(0 0 0 / 12%);
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.hero .hero-sport-button[data-slide-active=true] { box-shadow: inset 0 1px 0 rgb(255 255 255 / 12%), 0 4px 12px rgb(1 18 10 / 7%); }
.hero .hero-sport-button[aria-pressed=true] {
  background: rgb(218 244 139 / 94%);
  border-color: rgb(244 255 214 / 75%);
  color: #153c2a;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 70%), 0 5px 18px rgb(3 20 12 / 16%);
}
.hero .hero-sport-button svg { transition: transform .2s; }
.hero .hero-sport-button:active { transform: translateY(0) scale(.97); }
.hero .hero-sport-button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.header .brand-emblem { position: relative; width: 44px; height: 44px; flex: 0 0 44px; display: block; overflow: hidden; border-radius: 12px; background: #10382c; box-shadow: inset 0 1px 0 #ffffff20, 0 3px 9px #0a30251c; }
.header .brand-emblem :is(img,video) { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.header .brand-emblem video { opacity: 0; transition: opacity .25s; }
.header .brand-emblem.brand-playing video { opacity: 1; }
.footer .footer-emblem { border-radius: 10px; }
.theme-menu .brand-motion-control { margin-top: 8px; border-top: 1px solid var(--line); border-radius: 0; padding-top: 13px; }
.search-button svg, .button svg { transition: transform .2s; }
.cup-card { transition: transform .25s, box-shadow .25s, border-color .25s; }
@media(hover:hover) and (pointer:fine) {
  .hero .hero-sport-button:hover { transform: translateY(-2px); border-color: rgb(255 255 255 / 65%); background: linear-gradient(130deg,rgb(255 255 255 / 14%),rgb(255 255 255 / 4%)),rgb(5 28 20 / 62%); box-shadow: inset 0 1px 0 rgb(255 255 255 / 30%), 0 9px 22px rgb(1 18 10 / 18%); }
  .hero .hero-sport-button[aria-pressed=true]:hover { background: #e4f9ae; }
  .hero .hero-sport-button:hover svg { transform: scale(1.08); }
  .cup-card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgb(12 44 31 / 10%); }
  .cup-card .save-button:hover { background: #e8f8bf; }
  .search-button:hover svg, .button:hover svg { transform: translateX(3px); }
  .card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
  .footer-links a:hover { color: #daf48b; }
}
@media(max-width:600px) {
  .header .brand-emblem { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .hero .hero-sport-button { min-height: 44px; padding: 9px 12px; font-size: 11px; }
  .hero-controls { padding-bottom: 100px; }
  .hero .hero-copy, .hero[data-hero-slideshow] .hero-copy { padding-top: 44px; }
}
@media(max-width:360px) { .header .brand-emblem { width: 34px; height: 34px; flex-basis: 34px; } }
@media(prefers-reduced-motion:reduce) {
  .hero .hero-sport-button, .hero .hero-sport-button svg, .cup-card, .button svg, .search-button svg { transition: none; transform: none !important; }
  .brand-emblem video { display: none !important; }
}

/* Saved choices and shared lists continue the same discovery flow. */
.collection-intro .page-lead { max-width: 680px; }
.collection-storage, .collection-loading { font-size: 13px; line-height: 1.7; color: var(--text-secondary); }
.collection-storage { margin: 12px 0 0; }
.shortlist-share-panel { padding: 24px 28px; margin-bottom: 36px; gap: 24px; background: var(--surface-soft); border-color: var(--line); }
.shortlist-share-panel h2 { font-size: 24px; letter-spacing: -.04em; margin: 8px 0; }
.shortlist-share-panel p { font-size: 13px; line-height: 1.7; max-width: 490px; }
.shortlist-next-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.shortlist-next-actions .button { font-size: 13px; padding-inline: 16px; min-height: 46px; gap: 8px; }
.saved-listing .listing-heading { align-items: center; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.saved-listing .listing-heading h2 { font-size: 26px; }
.saved-listing .cup-period-tools { margin-bottom: 0; }
.saved-listing .collection-export { margin-left: auto; }
.saved-empty { display: grid; grid-template-columns: 1.2fr 1fr; text-align: left; padding: 0; overflow: hidden; border: 1px solid var(--line); background: var(--surface); border-radius: 20px; }
.saved-empty-copy { padding: clamp(28px,4vw,52px); min-width: 0; align-self: center; }
.saved-empty .empty-icon { width: 48px; height: 48px; color: var(--text-link); background: var(--surface-soft); }
.saved-empty .empty-icon svg { width: 23px; height: 23px; }
.saved-empty h3 { font-size: clamp(24px,2.6vw,34px); line-height: 1.2; letter-spacing: -.045em; margin: 20px 0 14px; }
.saved-empty p { font-size: 14px; line-height: 1.8; max-width: 410px; margin: 0 0 24px; }
.saved-empty .button { gap: 12px; font-size: 13px; white-space: normal; text-align: center; }
.saved-empty-photo { min-height: 300px; background: var(--surface-soft); }
.saved-empty-photo img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 60% center; }
.saved-empty--filtered { grid-template-columns: minmax(0,1fr); }
.saved-empty--filtered .saved-empty-photo { display: none; }
.saved-empty--filtered .saved-empty-copy { padding: 30px; }
.saved-empty--filtered h3 { font-size: 26px; }
.saved-empty--filtered .empty-icon { display: none; }
[data-collection-reset] { margin: 0 8px 0 0; min-height: 44px; }
.shortlist-status:empty { display: none; }
.shortlist-status { max-width: 720px; font-size: 13px; }
#shortlist-recovery { margin-top: 16px; }
.compare-dialog { width: 1040px; }
.compare-dialog .dialog-intro { margin-bottom: 16px; }
.compare-dialog .compare-hint { font-size: 12px; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.7; }
.compare-dialog .compare-scroll { max-height: min(62dvh,620px); overflow: auto; isolation: isolate; scrollbar-gutter: stable; }
.compare-dialog .compare-scroll:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.compare-dialog .compare-table { border-collapse: separate; border-spacing: 0; min-width: 620px; }
.compare-dialog .compare-table--3 { min-width: 860px; }
.compare-dialog .compare-table :is(th,td) { padding: 18px; }
.compare-dialog .compare-table :is(thead th:first-child,tbody th) { width: 144px; min-width: 144px; font-size: 12px; overflow-wrap: normal; position: sticky; left: 0; z-index: 1; border-right: 1px solid var(--control-line); }
.compare-dialog .compare-table thead th { position: sticky; top: 0; z-index: 2; font-size: 15px; line-height: 1.5; background: var(--surface-soft); }
.compare-dialog .compare-table thead th:first-child { z-index: 3; }
.compare-dialog .compare-table tbody td { background: var(--surface); }
.compare-dialog .compare-table tbody th { background: var(--surface-subtle); }
.compare-dialog .compare-table .text-link { font-size: 13px; min-height: 44px; align-items: center; line-height: 1.6; scroll-margin: 5px; }
.compare-dialog .compare-table .cup-logo-wrap { width: 48px; height: 48px; margin-bottom: 12px; }
.compare-dialog .cup-date-overlap { margin-top: 24px; }
@media(min-width:1000px) { .compare-dialog .compare-table--2 { min-width: 100%; } }
@media(max-width:1000px) {
  .shortlist-share-panel { align-items: flex-start; flex-direction: column; gap: 18px; }
  .shortlist-share-panel p { max-width: none; }
}
@media(max-width:600px) {
  .collection-intro { padding-bottom: 28px; }
  .collection-intro .page-lead { font-size: 15px; line-height: 1.8; }
  .collection-storage { font-size: 12px; }
  .shortlist-share-panel { padding: 22px; border-radius: 16px; margin-bottom: 28px; }
  .shortlist-share-panel h2 { font-size: 23px; }
  .shortlist-next-actions { width: 100%; display: grid; grid-template-columns: 1fr; }
  .shortlist-next-actions .button { width: 100%; }
  .saved-listing .listing-heading h2 { font-size: 24px; }
  .saved-listing .collection-export { font-size: 11px; padding-inline: 10px; }
  .saved-listing .cup-view-tools { gap: 6px; }
  .saved-empty { grid-template-columns: minmax(0,1fr); }
  .saved-empty-copy { padding: 28px 24px; }
  .saved-empty-photo { min-height: 0; height: 155px; grid-row: 1; }
  .saved-empty h3 { font-size: 27px; }
  .saved-empty .empty-icon { display: none; }
  .saved-empty .button { width: 100%; }
  .compare-dialog { padding: 48px 16px 22px; max-width: calc(100vw - 20px); max-height: calc(100dvh - 24px); border-radius: 18px; }
  .compare-dialog h2 { font-size: 27px; }
  .compare-dialog .dialog-intro { font-size: 14px; line-height: 1.8; }
  .compare-dialog .compare-scroll { max-height: 58dvh; }
  .compare-dialog .compare-table { --compare-cup-width: clamp(112px,calc(100vw - 208px),224px); width: calc(112px + var(--compare-cup-width)*2); min-width: calc(112px + var(--compare-cup-width)*2); }
  .compare-dialog .compare-table--3 { width: calc(112px + var(--compare-cup-width)*3); min-width: calc(112px + var(--compare-cup-width)*3); }
  .compare-dialog .compare-table :is(th,td) { padding: 14px; font-size: 13px; }
  .compare-dialog .compare-table :is(thead th:first-child,tbody th) { width: 112px; min-width: 112px; font-size: 11px; padding-inline: 10px; }
  .compare-dialog .compare-table thead th { font-size: 14px; }
}
/* Keep focused table links clear of sticky headers when the viewport is short
   or the row labels would cover much of the available horizontal space. */
@media(max-height:420px) {
  .compare-dialog .compare-table thead th { top: auto; }
}
@media(max-width:420px) {
  .compare-dialog .compare-table :is(thead th:first-child,tbody th) { left: auto; }
}
@media print { .shortlist-share-panel, .collection-export, [data-collection-reset] { display: none !important; } }

/* Match the height of cards in each row while keeping content-sized rows. */
.cup-grid{align-items:stretch;gap:20px}
.cup-card{min-height:0}
.cup-card .card-media{height:164px;aspect-ratio:auto}
.cup-card .card-top{inset:12px 12px -18px}
.cup-card .cup-logo-wrap{width:50px;height:50px;border-radius:11px;padding:5px}
.cup-card .card-location{margin:29px 18px 4px}
.cup-card h3{min-height:0;margin:0 18px;font-size:20px;line-height:1.25}
.cup-card .cup-title-button{min-height:28px}
.cup-card .card-date{margin:8px 18px 6px;line-height:1.5;font-size:12px}
.cup-card .card-meta{min-height:0;margin:0 18px;line-height:1.5;gap:5px;font-size:12px}
.cup-card .card-fees{margin:7px 18px 0;font-size:12px}
.cup-card .card-pills{margin:8px 18px 9px;min-height:0;gap:5px}
.cup-card .card-pill{padding:3px 6px;font-size:10px}
.cup-card .card-bottom{margin:auto 18px 0;padding:3px 0 5px;min-height:46px}
.cup-card .card-link,.cup-card .compare-toggle{min-height:40px;padding-block:6px}
@media(max-width:700px){.cup-card .card-media{height:156px}.cup-card h3{font-size:21px}.cup-card .card-date{font-size:13px}.cup-card .card-link,.cup-card .compare-toggle{min-height:44px}.cup-card .card-bottom{padding-block:2px 4px}}


/* Local forecasts reuse the verified cup place; horizontal tables are unnecessary. */
.cup-weather{min-width:0;overflow-wrap:anywhere}
.cup-weather [data-weather-load]{min-height:44px;white-space:normal;text-align:left}
.cup-weather-days{list-style:none;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr));gap:.75rem}
.cup-weather-days li{border:1px solid var(--line,#cad4cb);border-radius:14px;padding:1rem;min-width:0}
.cup-weather-days li p{margin:.35rem 0 0}
.cup-weather [data-weather-status]:empty{display:none}
.cup-weather [data-weather-load]:focus-visible,.cup-weather a:focus-visible{outline:3px solid currentColor;outline-offset:4px}

/* An explicit account entry remains visible in the top row on every screen. */
.header .header-account {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  min-height: 44px; padding: 8px 12px; border: 1px solid var(--control-line);
  border-radius: 10px; background: var(--surface); color: var(--text-link);
  font-size: 14px; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.header .header-account:hover { background: var(--surface-soft); border-color: var(--text-link); }
.header :is(.header-account,.header-account-menu)[hidden] { display: none; }
.header-account-menu { position: relative; }
.header-account-menu > summary { cursor: pointer; list-style: none; gap: 5px; }
.header-account-menu > summary::-webkit-details-marker { display: none; }
.header-account-menu > summary svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; }
.header-account-menu[open] > summary svg { transform: rotate(180deg); }
.header-account-panel {
  position: absolute; z-index: 10; inset-block-start: calc(100% + 6px); inset-inline-end: 0;
  width: min(14rem, calc(100vw - 78px)); padding: 6px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--surface); box-shadow: 0 12px 28px #0002;
}
.header-account-settings { border-block-start: 1px solid var(--line); margin-block-start: 4px; padding-block-start: 4px; }
.header-account-panel :is(a,button) {
  display: flex; align-items: center; width: 100%; min-height: 44px; padding: 6px 12px;
  border: 0; border-radius: 6px; background: transparent; color: var(--text-link);
  text-align: start; font: inherit; font-weight: 650;
}
.header-account-panel button { cursor: pointer; }
.header-account-panel :is(a,button):hover { background: var(--surface-soft); }
@media(min-width:601px) and (max-width:1100px) {
  .header .header-inner.container { display: flex; flex-wrap: wrap; height: auto; gap: 10px 14px; padding-block: 10px; }
  .header .main-nav { display: flex; order: 5; flex-basis: 100%; justify-content: center; margin: 0; }
  .header .brand { margin-right: auto; }
}
@media(max-width:600px) {
  .header .header-inner.container { display: grid; grid-template-columns: minmax(0,1fr) auto 44px; gap: 8px; height: auto; min-height: 76px; padding-block: 10px; }
  .header .header-inner > .brand { grid-column: 1; grid-row: 1; }
  .header .header-inner > :is(.header-account,.header-account-menu) { grid-column: 2; grid-row: 1; }
  .header .header-account { padding-inline: 10px; }
  .header .header-inner > .theme-control { grid-column: 3; grid-row: 1; width: 44px; margin: 0; }
  .header .theme-control > summary { width: 44px; min-height: 44px; }
  .header .header-inner > .main-nav, .header .header-inner > .organizer-button { display: none; }
}
@media(max-width:374px) {
  .header .header-account { width:5rem; padding:4px 6px; line-height:1.2; white-space:normal; text-align:center; }
}
