@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('/assets/fonts/work-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: dark;
  --ink: #eef1f6;
  --blue: #156ce0;
  --blue-deep: #125fc6;
  --blue-text: #7ab8ff;
  --brand-soft: rgb(21 108 224 / 0.35);
  --on-blue: #ffffff;
  --paper: #0a0f1e;
  --mist: #161d29;
  --line: rgb(255 255 255 / 0.12);
  --muted: #a3adbe;
  --faint: #4a5568;
  --hover: #22304a;
  --shadow: rgb(0 0 0 / 0.55);
  --badge-bg: #ffffff;
  --badge-line: rgb(255 255 255 / 0.4);
  --badge-ink: #0b3f8f;
  --radius-card: 14px;
  --radius-control: 999px;
}

:root[data-theme='light'] {
  color-scheme: light;
  --ink: #0a0f1e;
  --blue: #156ce0;
  --blue-deep: #125fc6;
  --blue-text: #156ce0;
  --brand-soft: rgb(21 108 224 / 0.35);
  --on-blue: #ffffff;
  --paper: #f2f5fa;
  --mist: #e4e9f2;
  --line: rgb(10 15 30 / 0.1);
  --muted: #4a5361;
  --faint: #b5bfcd;
  --hover: #dce7f6;
  --shadow: rgb(10 15 30 / 0.16);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: 'Work Sans', system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

a { color: inherit; }

:focus-visible { outline: 3px solid var(--blue-text); outline-offset: 2px; }

:root { --edge-m: 14px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
@media (max-width: 640px) { .wrap { width: calc(100% - 2 * var(--edge-m)); } }

.top {
  border-bottom: 1px solid var(--line);
}

.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.brand .logo { height: 28px; width: auto; display: block; color: #ffffff; }

.org-link {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: var(--radius-control);
  background: var(--blue);
  white-space: nowrap;
  transition: background-color 0.2s;
}

.top nav .org-link { font-size: 0.833rem; font-weight: 600; color: #ffffff; }

.top nav .org-link:hover { color: #ffffff; background: var(--blue-deep); }

.prefs {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 3px;
  border: 1px solid var(--top-line);
  border-radius: var(--radius-control);
  background: var(--top-scrim);
}

.prefs-sep { width: 1px; height: 18px; background: var(--top-line); }

.top nav a {
  font-size: 0.833rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--muted);
}

.top nav a:hover { color: var(--ink); }

.top nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang { position: relative; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 10px 0 9px;
  border: 0;
  border-radius: var(--radius-control);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-toggle:hover,
.lang-toggle[aria-expanded='true'] { background: rgb(255 255 255 / 0.08); }

.lang-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.lang-toggle .chevron { width: 14px; height: 14px; transition: transform 0.15s; }

.lang-toggle[aria-expanded='true'] .chevron { transform: rotate(180deg); }

.lang-menu,
.zone-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  min-width: 160px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 40px var(--shadow);
}

:is(.lang-menu, .zone-menu)[hidden] { display: none; }

:is(.top, .intro) :is(.lang-menu, .zone-menu) a {
  display: flex;
  text-decoration: none;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 0.833rem;
  font-weight: 500;
  color: var(--ink);
}

:is(.top, .intro) :is(.lang-menu, .zone-menu) a:hover { background: var(--mist); color: var(--ink); }

:is(.top, .intro) :is(.lang-menu, .zone-menu) a[aria-current='true'] { color: var(--blue-text); }

.flag {
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 1px var(--line);
}

.flag-pt { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%225 5 26 26%22 preserveAspectRatio=%22xMidYMid slice%22%3E%3Cpath fill=%22%23060%22 d=%22M36 27c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V9c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v18z%22/%3E%3Cpath fill=%22%23D52B1E%22 d=%22M32 5H15v26h17c2.209 0 4-1.791 4-4V9c0-2.209-1.791-4-4-4z%22/%3E%3Cpath fill=%22%23FFCC4D%22 d=%22M15 10c-4.419 0-8 3.581-8 8 0 4.418 3.581 8 8 8 4.418 0 8-3.582 8-8 0-4.419-3.582-8-8-8zm-6.113 4.594l1.602 1.602-2.46 1.23c.083-1.022.383-1.981.858-2.832zm-.858 3.979l4.4 2.207-2.706 1.804.014.021c-.96-1.097-1.583-2.492-1.708-4.032zM14 24.92c-.937-.134-1.813-.453-2.592-.92H14v.92zM14 23h-3.099L14 20.934V23zm0-3.268l-.607.405L9.118 18l2.116-1.058L14 19.707v.025zm0-1.439l-3.543-3.543 3.543.59v2.953zm0-3.992l-4.432-.713c1.084-1.333 2.65-2.253 4.432-2.508v3.221zm7.113.293c.475.851.775 1.81.858 2.833l-2.46-1.23 1.602-1.603zM16 11.08c1.782.256 3.348 1.175 4.432 2.508L16 14.301V11.08zm0 4.26l3.543-.591L16 18.293V15.34zm0 4.367l2.765-2.765L20.882 18l-4.274 2.137-.608-.405v-.025zm0 5.213V24h2.592c-.779.467-1.655.786-2.592.92zM16 23v-2.066L19.099 23H16zm4.264-.395l.014-.021-2.706-1.804 4.4-2.207c-.126 1.54-.749 2.935-1.708 4.032z%22/%3E%3Cpath fill=%22%23D52B1E%22 d=%22M11 13v7c0 2.209 1.791 4 4 4s4-1.791 4-4v-7h-8z%22/%3E%3Cpath fill=%22%23FFF%22 d=%22M12 14v6c0 1.656 1.343 3 3 3s3-1.344 3-3v-6h-6z%22/%3E%3Cpath fill=%22%23829ACD%22 d=%22M13 17h4v2h-4z%22/%3E%3Cpath fill=%22%23829ACD%22 d=%22M14 16h2v4h-2z%22/%3E%3Cpath fill=%22%23039%22 d=%22M12 17h1v2h-1zm2 0h2v2h-2zm3 0h1v2h-1zm-3 3h2v2h-2zm0-6h2v2h-2z%22/%3E%3C/svg%3E"); }

.flag-en { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%225 5 26 26%22 preserveAspectRatio=%22xMidYMid slice%22%3E%3Cpath fill=%22%2300247D%22 d=%22M0 9.059V13h5.628zM4.664 31H13v-5.837zM23 25.164V31h8.335zM0 23v3.941L5.63 23zM31.337 5H23v5.837zM36 26.942V23h-5.631zM36 13V9.059L30.371 13zM13 5H4.664L13 10.837z%22/%3E%3Cpath fill=%22%23CF1B2B%22 d=%22M25.14 23l9.712 6.801c.471-.479.808-1.082.99-1.749L28.627 23H25.14zM13 23h-2.141l-9.711 6.8c.521.53 1.189.909 1.938 1.085L13 23.943V23zm10-10h2.141l9.711-6.8c-.521-.53-1.188-.909-1.937-1.085L23 12.057V13zm-12.141 0L1.148 6.2C.677 6.68.34 7.282.157 7.949L7.372 13h3.487z%22/%3E%3Cpath fill=%22%23EEE%22 d=%22M36 21H21v10h2v-5.836L31.335 31H32c1.117 0 2.126-.461 2.852-1.199L25.14 23h3.487l7.215 5.052c.093-.337.158-.686.158-1.052v-.058L30.369 23H36v-2zM0 21v2h5.63L0 26.941V27c0 1.091.439 2.078 1.148 2.8l9.711-6.8H13v.943l-9.914 6.941c.294.07.598.116.914.116h.664L13 25.163V31h2V21H0zM36 9c0-1.091-.439-2.078-1.148-2.8L25.141 13H23v-.943l9.915-6.942C32.62 5.046 32.316 5 32 5h-.663L23 10.837V5h-2v10h15v-2h-5.629L36 9.059V9zM13 5v5.837L4.664 5H4c-1.118 0-2.126.461-2.852 1.2l9.711 6.8H7.372L.157 7.949C.065 8.286 0 8.634 0 9v.059L5.628 13H0v2h15V5h-2z%22/%3E%3Cpath fill=%22%23CF1B2B%22 d=%22M21 15V5h-6v10H0v6h15v10h6V21h15v-6z%22/%3E%3C/svg%3E"); }

.flag-es { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%225 5 26 26%22 preserveAspectRatio=%22xMidYMid slice%22%3E%3Cpath fill=%22%23C60A1D%22 d=%22M36 27c0 2.209-1.791 4-4 4H4c-2.209 0-4-1.791-4-4V9c0-2.209 1.791-4 4-4h28c2.209 0 4 1.791 4 4v18z%22/%3E%3Cpath fill=%22%23FFC400%22 d=%22M0 12h36v12H0z%22/%3E%3Cpath fill=%22%23EA596E%22 d=%22M9 17v3c0 1.657 1.343 3 3 3s3-1.343 3-3v-3H9z%22/%3E%3Cpath fill=%22%23F4A2B2%22 d=%22M12 16h3v3h-3z%22/%3E%3Cpath fill=%22%23DD2E44%22 d=%22M9 16h3v3H9z%22/%3E%3Cellipse fill=%22%23EA596E%22 cx=%2212%22 cy=%2214.5%22 rx=%223%22 ry=%221.5%22/%3E%3Cellipse fill=%22%23FFAC33%22 cx=%2212%22 cy=%2213.75%22 rx=%223%22 ry=%22.75%22/%3E%3Cpath fill=%22%2399AAB5%22 d=%22M7 16h1v7H7zm9 0h1v7h-1z%22/%3E%3Cpath fill=%22%2366757F%22 d=%22M6 22h3v1H6zm9 0h3v1h-3zm-8-7h1v1H7zm9 0h1v1h-1z%22/%3E%3C/svg%3E"); }

.theme-toggle {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.theme-toggle:hover { background: rgb(255 255 255 / 0.08); }

.theme-toggle svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.theme-toggle .sun { display: none; }

:root[data-theme='light'] .theme-toggle .sun { display: block; }

:root[data-theme='light'] .theme-toggle .moon { display: none; }

.intro h1 {
  margin: 0;
  font-size: 2.986rem;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.028em;
  max-width: 16ch;
  text-wrap: balance;
}

.intro p {
  margin: 20px 0 0;
  max-width: 46ch;
  font-size: 1rem;
  line-height: 1.55;
  letter-spacing: -0.003em;
  color: var(--muted);
  text-wrap: pretty;
}

.search {
  margin-top: 32px;
  display: flex;
  max-width: 560px;
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  overflow: hidden;
  background: var(--paper);
}

.search:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgb(21 108 224 / 0.15); }

.search { align-items: center; }

.search svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-left: 20px;
  fill: var(--muted);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 14px 22px 14px 12px;
  font: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
}

.search input:focus { outline: none; }

.days-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
}

.days-wrap[hidden] { display: none; }

.days {
  display: flex;
  gap: 4px;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgb(255 255 255 / 0.03);
}

.days::-webkit-scrollbar { display: none; }

.day {
  flex: none;
  width: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 10px 0;
  border: 0;
  border-radius: 18px;
  background: transparent;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s ease;
}

.day .wd {
  font-size: 0.694rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: var(--muted);
}

.day .num {
  font-weight: 600;
  font-size: 1.44rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.day .count {
  width: 5px;
  height: 5px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--blue-text);
}

.day.empty .num { color: var(--faint); }

.day.empty .count { visibility: hidden; }

.day:hover { background: var(--mist); }

.day[aria-pressed='true'],
.day.calendar[aria-expanded='true'] { background: var(--blue); color: var(--on-blue); }

.day[aria-pressed='true']:hover,
.day.calendar[aria-expanded='true']:hover { background: var(--blue-deep); }

.day[aria-pressed='true'] .wd,
.day.calendar[aria-expanded='true'] .wd { color: #d5e3f7; }

.day[aria-pressed='true'] .num { color: var(--on-blue); }

.day[aria-pressed='true'] .count { background: var(--on-blue); }

.day.all { width: auto; padding-inline: 16px; }

.day.all .num { font-size: 1rem; line-height: 1.584rem; }

.day.all .count {
  width: auto;
  height: auto;
  margin-top: 1px;
  border-radius: 0;
  background: none;
  font-size: 0.694rem;
  white-space: nowrap;
  color: var(--blue-text);
}

.day.all[aria-pressed='true'] .count { background: none; color: #d5e3f7; }

.day.calendar {
  position: sticky;
  right: 0;
  width: 64px;
  margin-left: 4px;
  background: var(--card-bg);
  box-shadow: -10px 0 12px -4px var(--card-bg);
}

.day.calendar:hover { background: var(--mist); }

.day.calendar[aria-pressed='true'] { background: var(--blue); color: var(--on-blue); }

.day.calendar[aria-pressed='true']:hover { background: var(--blue-deep); }

.day.calendar .icon {
  width: 22px;
  height: 1.584rem;
  fill: currentColor;
}

.cal {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: 340px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 40px var(--shadow);
}

.cal[hidden] { display: none; }

.cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.cal-title {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.cal-nav {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
}

.cal-nav:hover:not(:disabled) { border-color: var(--ink); }

.cal-nav:disabled { opacity: 0.3; cursor: default; }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-wd {
  text-align: center;
  font-size: 0.694rem;
  font-weight: 600;
  color: var(--muted);
  padding: 4px 0;
}

.cal-day {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: inherit;
  color: var(--faint);
  cursor: default;
}

.cal-day b {
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1;
}

.cal-day.has {
  color: var(--ink);
  background: var(--mist);
  cursor: pointer;
}

.cal-day.has:hover { background: var(--hover); }

.cal-day small {
  min-width: 18px;
  padding: 2px 5px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  font-size: 0.694rem;
  font-weight: 600;
  line-height: 1.1;
}

.cal-day.today { box-shadow: inset 0 0 0 2px var(--line); }

.cal-day[aria-pressed='true'],
.cal-day.has[aria-pressed='true'] { background: var(--blue); color: var(--on-blue); }

.cal-day.has[aria-pressed='true']:hover { background: var(--blue-deep); }

.cal-day[aria-pressed='true'] small { background: var(--on-blue); color: var(--blue); }

.cal-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  font-size: 0.833rem;
  color: var(--muted);
}

.cal-foot button {
  border: 0;
  background: none;
  padding: 4px 0;
  font: inherit;
  font-weight: 600;
  color: var(--blue-text);
  cursor: pointer;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 8px;
  align-items: center;
  padding: 16px 0 0;
}

.hero { text-align: center; }

.hero :is(h1, p, .search) { margin-inline: auto; }

.hero .search { margin-top: 32px; max-width: 600px; }

.hero .search input { text-align: left; }

.hero .filters { justify-content: center; padding-top: 20px; }

.types { display: contents; }

.chip {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius-control);
  padding: 9px 16px;
  font: inherit;
  font-size: 0.833rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.chip:hover { border-color: var(--brand-soft); }

.chip { display: inline-flex; align-items: center; gap: 8px; }

.chip svg {
  width: 16px;
  height: 16px;
  flex: none;
  fill: currentColor;
}

.when-chip { margin-right: 8px; }

.when-chip .chevron { width: 14px; height: 14px; transition: transform 0.2s ease; }

.when-chip[aria-expanded='true'] .chevron { transform: rotate(180deg); }

.when-chip[aria-expanded='true'] { border-color: var(--brand-soft); }

.when-chip.active { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

.chip-count { margin-left: -2px; opacity: 0.6; }

.chip[aria-pressed='true'] { background: var(--blue); border-color: var(--blue); color: var(--on-blue); }

.chip[aria-pressed='true']:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

.result-line {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.month {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 72px 0 20px;
  padding: 14px 0 12px;
  background: var(--paper);
}

.month h2 {
  margin: 0;
  font-weight: 600;
  font-size: 1.44rem;
  line-height: 1;
}

.month-count {
  font-size: 0.833rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

#list > .month:first-child { margin-top: 28px; }

.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 40px 20px;
}

@media (max-width: 1000px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.poster {
  position: relative;
  box-shadow: 0 14px 32px -18px var(--poster-shadow);
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--mist);
}

.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.card:hover .poster > img:not(.wash) { transform: scale(1.035); }

.poster.typeset {
  background: var(--blue);
  color: var(--on-blue);
  display: flex;
  align-items: flex-end;
  padding: 16px 18px;
}

.poster.typeset span {
  font-weight: 600;
  font-size: 1.728rem;
  line-height: 0.95;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.poster.match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8%;
  padding: 18px;
}

.poster.match { isolation: isolate; background: linear-gradient(160deg, #1a74ea, #0b3f8f); }

.poster .wash {
  position: absolute;
  inset: 0 50% 0 0;
  z-index: -3;
  width: 50%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.4);
  filter: blur(32px) saturate(1.5);
  opacity: 0.9;
}

.poster .wash.away { inset: 0 0 0 50%; }

.poster.match:is(.football, .sports)::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('/assets/images/tipo/estadio.webp') center / cover;
  filter: grayscale(1);
  mix-blend-mode: luminosity;
  opacity: 0.14;
}

.poster.match.sports::before { background-image: url('/assets/images/tipo/pavilhao.webp'); }

.poster.match::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgb(10 15 30 / 0.5), rgb(10 15 30 / 0.75));
}

.crest {
  position: relative;
  flex: 0 0 38%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.poster .crest img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.5));
}

.poster.match::after { transition: opacity 0.4s ease; }

.card:hover .poster.match::after { opacity: 0.45; }

.crest span {
  width: 78%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--badge-bg);
  border: 2px solid var(--badge-line);
  color: var(--badge-ink);
  font-weight: 600;
  font-size: 1.728rem;
}

.card h3 {
  margin: 14px 0 6px;
  font-size: 1rem;
  line-height: 1.25;
  font-weight: 600;
}

.meta { margin: 0; font-size: 0.833rem; line-height: 1.45; color: var(--muted); }

.meta .date { color: var(--blue-text); font-weight: 600; }

.meta .tz { display: block; font-size: 0.694rem; font-weight: 500; color: var(--muted); }

.state {
  padding: 72px 0;
  max-width: 52ch;
  margin-inline: auto;
  text-align: center;
}

.state-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--muted);
}

.state-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.lang-toggle .chevron,
.when-chip .chevron {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.state h2 {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 1.44rem;
  line-height: 1.05;
}

.state p { margin: 0 0 18px; color: var(--muted); }

.btn {
  border: 0;
  background: var(--blue);
  color: var(--on-blue);
  border-radius: var(--radius-control);
  padding: 12px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover { background: var(--blue-deep); }

.skeleton .poster { animation: pulse 1.4s ease-in-out infinite; }

.skeleton .bar { height: 14px; margin-top: 12px; border-radius: 4px; background: var(--mist); }

.skeleton .w45 { width: 45%; }
.skeleton .w50 { width: 50%; }
.skeleton .w55 { width: 55%; }
.skeleton .w70 { width: 70%; }
.skeleton .w80 { width: 80%; }
.skeleton .w85 { width: 85%; }

@keyframes pulse { 50% { opacity: 0.55; } }

.about {
  margin-top: 96px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.about h2 {
  margin: 0 0 24px;
  font-weight: 600;
  font-size: 2.074rem;
  line-height: 1.1;
}

.about ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px 32px;
  counter-reset: step;
}

.about li { counter-increment: step; }

.about li::before {
  content: counter(step);
  display: block;
  font-weight: 600;
  font-size: 2.074rem;
  line-height: 1.1;
  color: var(--blue-text);
}

.about h3 { margin: 10px 0 4px; font-size: 1.2rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.015em; }

.about li p { margin: 0; color: var(--muted); }

.about-org { margin: 28px 0 0; color: var(--muted); }

.about-org a { color: var(--blue-text); font-weight: 600; }

@media (max-width: 520px) {
  .top .wrap { gap: 10px; }
  .top nav { gap: 6px; }
  .brand { gap: 10px; }
  .brand { flex: none; }
  .brand .logo { height: 20px; }
  .org-link { height: 36px; padding: 0 14px; }
  #lang-current,
  .lang-toggle .chevron { display: none; }
  .org-link { padding: 0 12px; }
  .prefs { height: 36px; }
  .lang-toggle { height: 30px; padding: 0 8px 0 6px; gap: 6px; }
  .theme-toggle { width: 30px; height: 30px; }
}

@media (max-width: 374px) {
  .org-link { display: none; }
}

@media (max-width: 640px) {
  .cal { left: 0; width: auto; }
  .intro h1 { font-size: 2.074rem; letter-spacing: -0.022em; }
  .hero .filters {
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline: calc(-1 * var(--edge-m));
    padding-inline: var(--edge-m);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .hero .filters::-webkit-scrollbar { display: none; }
  .chip { flex: none; white-space: nowrap; }
  .month { margin-top: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .skeleton .poster { animation: none; }
}

.month h2,
.about h2,
.cal-title,
.state h2,
.card h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

.accent {
  font-style: normal;
  background-image: linear-gradient(135deg, #9fd0ff, #2f86f0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

:root[data-theme='light'] .accent { background-image: linear-gradient(135deg, #5aabff, #156ce0); }

.month h2 { line-height: 1.1; }

.state h2 { line-height: 1.25; }

.card h3 { line-height: 1.3; font-weight: 600; letter-spacing: -0.015em; }

@media (max-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
  .card h3 { margin-top: 10px; }
}

:root { --card-bg: #121a2b; --poster-shadow: rgb(0 0 0 / 0.7); }

:root[data-theme='light'] { --card-bg: #0a0f1e; --poster-shadow: rgb(10 15 30 / 0.28); }

html, body { overflow-x: clip; }

.top,
.intro,
.about {
  color-scheme: dark;
  --ink: #eef1f6;
  --blue-text: #7ab8ff;
  --paper: #0a0f1e;
  --mist: #161d29;
  --line: rgb(255 255 255 / 0.12);
  --muted: #a3adbe;
  --faint: #4a5568;
  --hover: #22304a;
  --shadow: rgb(0 0 0 / 0.55);
}

.intro,
.about {
  position: relative;
  margin-inline: calc(50% - 50vw + 12px);
  padding: clamp(48px, 6vw, 72px) calc(50vw - 50% - 12px);
  border-radius: 28px;
  background: var(--card-bg);
  color: var(--ink);
}

:root { --top-h: 68px; }

.top { position: relative; z-index: 11; height: var(--top-h); border-bottom: 0; background: transparent; color: var(--ink); }

.top {
  --top-scrim: rgb(10 15 30 / 0.32);
  --top-line: rgb(255 255 255 / 0.16);
}

.top .logo { filter: drop-shadow(0 1px 6px rgb(10 15 30 / 0.25)); }

.top .wrap { height: 100%; min-height: 0; }

.intro {
  z-index: 10;
  margin-top: calc(-1 * var(--top-h));
  margin-inline: calc(50% - 50vw);
  padding-inline: calc(50vw - 50%);
  --hero-pad: clamp(40px, 6vw, 80px);
  padding-top: calc(var(--top-h) + var(--hero-pad));
  padding-bottom: var(--hero-pad);
  background: var(--card-bg);
  border-radius: 0 0 32px 32px;
}

.glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}

.glow span {
  position: absolute;
  width: min(90vw, 1100px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--c), transparent);
  animation: drift 14s ease-in-out infinite;
  will-change: transform;
}

.glow span:nth-child(1) { --c: rgb(21 108 224 / 0.55); top: -55%; left: -25%; }

.glow span:nth-child(2) { --c: rgb(122 184 255 / 0.28); top: -35%; right: -30%; animation-duration: 18s; animation-delay: -6s; }

.glow span:nth-child(3) { --c: rgb(70 90 230 / 0.4); bottom: -75%; left: 20%; animation-duration: 22s; animation-delay: -13s; }

@keyframes drift {
  0% { transform: translate(0, 0) scale(1); opacity: 1; }
  25% { transform: translate(18%, 10%) scale(1.12); opacity: 0.55; }
  50% { transform: translate(6%, 24%) scale(0.9); opacity: 0.25; }
  75% { transform: translate(-14%, 12%) scale(1.08); opacity: 0.7; }
  100% { transform: translate(0, 0) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .glow span { animation: none; }
}

.about {
  margin: 96px max(-240px, calc(50% - 50vw + 24px)) 0;
  padding: clamp(48px, 6vw, 80px) calc(-1 * max(-240px, calc(50% - 50vw + 24px)));
  border-top: 0;
}

:root[data-theme='light'] :is(.intro, .about) .accent { background-image: linear-gradient(135deg, #9fd0ff, #2f86f0); }

@media (max-width: 768px) {
  .intro,
  .about {
    margin-inline: calc(50% - 50vw + 10px);
    padding: 40px calc(50vw - 50% - 10px);
    border-radius: 22px;
  }

  .intro {
    margin-inline: calc(50% - 50vw);
    padding: calc(var(--top-h) + 48px) calc(50vw - 50%) 48px;
    border-radius: 0 0 24px 24px;
  }

  .about { margin: 64px calc(50% - 50vw + 10px) 0; padding: 40px calc(50vw - 50% - 10px); }
}

.cookie-prefs {
  border: 0;
  padding: 0;
  background: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cookie-prefs:hover { color: var(--ink); }

.cookie-banner {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 760px;
  margin-inline: auto;
  padding: 14px 14px 14px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 24px 60px var(--shadow);
  animation: cookie-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes cookie-in { from { opacity: 0; transform: translateY(16px); } }

.cookie-banner[hidden] { display: none; }

.cookie-banner p { flex: 1; margin: 0; font-size: 0.833rem; line-height: 1.55; color: var(--muted); }

.cookie-banner a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 3px; white-space: nowrap; }

.cookie-banner a:hover { text-decoration-color: currentColor; }

.cookie-actions { display: flex; flex: none; gap: 6px; }

.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 20px;
  background: var(--mist);
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-btn:hover { background: var(--hover); }

.cookie-btn.primary { background: var(--blue); color: #fff; }

.cookie-btn.primary:hover { background: var(--blue-deep); }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px; inset: auto 10px 10px; }
  .cookie-btn { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { animation: none; }
}

@media (min-width: 861px) {
  .top .wrap { display: grid; grid-template-columns: 1fr minmax(0, 520px) 1fr; gap: 24px; }
  .top nav { grid-column: 3; justify-self: end; }
}

.finder { min-width: 0; }

:is(.top, .intro) .search {
  align-items: center;
  max-width: none;
  height: 40px;
  margin: 0;
  padding: 0 4px 0 14px;
  overflow: visible;
  --bar-ink: #ffffff;
  --bar-muted: rgb(255 255 255 / 0.78);
  --bar-sep: rgb(255 255 255 / 0.2);
  --bar-hover: rgb(255 255 255 / 0.12);
  border: 1px solid rgb(255 255 255 / 0.26);
  background: var(--top-scrim);
  color: var(--bar-ink);
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

:is(.top, .intro) .search:hover { border-color: rgb(255 255 255 / 0.42); }

:is(.top, .intro) .search:focus-within {
  --bar-ink: #0a0f1e;
  --bar-muted: #4a5361;
  --bar-sep: #e1e6ef;
  --bar-hover: #eef1f6;
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: none;
}

:is(.top, .intro) .search svg { margin: 0; }

:is(.top, .intro) .search .i {
  flex: none;
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

:is(.top, .intro) .search > .i { color: var(--bar-muted); }

:is(.top, .intro) .search input {
  height: 100%;
  padding: 0 8px 0 10px;
  font-size: 0.833rem;
  color: var(--bar-ink);
}

:is(.top, .intro) .search input::placeholder { color: var(--bar-muted); opacity: 1; }

:is(.top, .intro) .search input::-webkit-search-cancel-button { display: none; }

.search-clear,
.zone-toggle {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.search-clear {
  width: 28px;
  height: 28px;
  margin-right: 2px;
  border-radius: 50%;
  color: var(--bar-muted);
}

.search-clear[hidden] { display: none; }

.search-clear:hover { background: var(--bar-hover); color: var(--bar-ink); }

.search-clear .i { width: 15px; height: 15px; }

.zone { position: relative; flex: none; display: flex; align-items: center; }

.zone::before { content: ''; width: 1px; height: 20px; margin-right: 2px; background: var(--bar-sep); }

.zone-toggle {
  gap: 7px;
  height: 32px;
  padding: 0 10px;
  border-radius: var(--radius-control);
  color: var(--bar-muted);
  font-size: 0.833rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.zone-toggle:hover,
.zone-toggle[aria-expanded='true'] { background: var(--bar-hover); color: var(--bar-ink); }

.zone-toggle.active { color: var(--blue-text); }

:is(.top, .intro) .search:focus-within .zone-toggle.active { color: var(--blue); }

.zone-toggle .chevron { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.15s; }

.zone-toggle[aria-expanded='true'] .chevron { transform: rotate(180deg); }

:is(.top, .intro) .search { position: relative; }

.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  max-height: min(70vh, 520px);
  overflow-y: auto;
  padding: 6px;
  border-radius: 18px;
  background: #ffffff;
  color: #0a0f1e;
  box-shadow: 0 24px 48px -16px rgb(10 15 30 / 0.45);
}

.suggest[hidden] { display: none; }

.sg-group { padding: 10px 10px 4px; font-size: 0.694rem; font-weight: 600; color: #4a5361; }

.sg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 12px;
  color: inherit;
  text-decoration: none;
}

.sg-item:hover,
.sg-item[aria-selected='true'] { background: #eef1f6; }

.sg-media {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 9px;
  object-fit: cover;
  background: #e4e9f2;
}

.sg-type { display: grid; place-items: center; color: #4a5361; }

.sg-type svg { width: 18px; height: 18px; fill: currentColor; }

.sg-org { display: grid; place-items: center; border-radius: 50%; background: #e6efff; color: #125fc6; font-size: 0.833rem; font-weight: 600; }

.sg-text { display: grid; min-width: 0; }

.sg-title,
.sg-meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

.sg-title { font-size: 0.833rem; font-weight: 600; }

.sg-meta { font-size: 0.694rem; color: #4a5361; }

.sg-all {
  display: block;
  margin-top: 4px;
  padding: 12px 10px 8px;
  border-top: 1px solid #e4e9f2;
  font-size: 0.833rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}

.sg-all:hover,
.sg-all[aria-selected='true'] { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 3px; }

.sg-none { margin: 0; padding: 14px 10px; font-size: 0.833rem; color: #4a5361; }

.zone-menu { top: calc(100% + 12px); left: auto; right: -5px; min-width: 240px; }

:is(.top, .intro) .zone-menu a { justify-content: space-between; }

.zone-menu .n { font-size: 0.694rem; font-weight: 600; color: var(--muted); }

.zone-menu a.empty { color: var(--muted); }

.m-actions,
.m-panel,
.finder-close { display: none; }

@media (max-width: 860px) {
  .top .wrap { position: relative; }

  .top nav { display: none; }

  .m-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; transition: opacity 0.18s ease; }

  .m-search,
  .m-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 40px;
    border: 1px solid var(--top-line);
    border-radius: var(--radius-control);
    background: var(--top-scrim);
    color: var(--ink);
    font: inherit;
    font-size: 0.833rem;
    font-weight: 500;
    cursor: pointer;
  }

  .m-search { max-width: 52vw; padding: 0 16px 0 12px; color: rgb(255 255 255 / 0.85); }

  .m-search span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  .m-menu { width: 40px; }

  :is(.m-actions, .m-panel) .i { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

  .m-menu .i-close,
  .m-menu[aria-expanded='true'] .i-open { display: none; }

  .m-menu[aria-expanded='true'] .i-close { display: block; }

  .m-menu[aria-expanded='true'] { border-color: #ffffff; background: #ffffff; color: #0a0f1e; }

  .top.menu-open .m-panel {
    position: absolute;
    top: calc(100% - 4px);
    right: 0;
    z-index: 30;
    display: grid;
    gap: 4px;
    width: min(320px, calc(100vw - 24px));
    padding: 8px;
    border-radius: 20px;
    background: #ffffff;
    color: #0a0f1e;
    box-shadow: 0 24px 48px -18px rgb(5 8 16 / 0.55);
    transform-origin: top right;
    animation: panel-in 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  @keyframes panel-in { from { opacity: 0; transform: translateY(-6px) scale(0.97); } }

  .m-promote {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 12px 12px 14px;
    border-radius: 14px;
    background: #eef4ff;
    color: #0a0f1e;
    text-decoration: none;
  }

  .m-promote:hover { background: #e2ecff; }

  .m-promote span { display: grid; gap: 2px; }

  .m-promote strong { font-size: 0.833rem; font-weight: 600; }

  .m-promote small { font-size: 0.694rem; color: #4a5361; }

  .m-promote .i { color: var(--blue); }

  .m-setting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 6px 8px 14px;
    font-size: 0.833rem;
    font-weight: 500;
    color: #4a5361;
  }

  .seg {
    display: flex;
    gap: 2px;
    padding: 3px;
    border-radius: var(--radius-control);
    background: #eef1f6;
  }

  .seg :is(a, button) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 44px;
    height: 32px;
    padding: 0 12px;
    border: 0;
    border-radius: var(--radius-control);
    background: none;
    color: #4a5361;
    font: inherit;
    font-size: 0.694rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
  }

  .seg .i { width: 15px; height: 15px; }

  .seg :is(a, button):hover { color: #0a0f1e; }

  .seg :is(a, button):is([aria-current='true'], [aria-pressed='true']) { background: #ffffff; color: #0a0f1e; box-shadow: 0 1px 3px rgb(10 15 30 / 0.14); }

  .top .finder { display: none; }

  .top.search-open .finder {
    position: absolute;
    inset: 0;
    z-index: 61;
    display: flex;
    align-items: center;
    gap: 12px;
    --ease: cubic-bezier(0.32, 0.72, 0, 1);
    animation: finder-open 0.42s var(--ease);
  }

  .top.search-open .search { animation: bar-open 0.42s var(--ease); }

  .top.search-open .finder-close { animation: close-in 0.42s var(--ease); }

  .top.search-closing .finder { animation: finder-shut 0.3s var(--ease) both; }

  .top.search-closing .search { animation: bar-shut 0.3s var(--ease) both; }

  .top.search-closing .finder-close { animation: close-out 0.2s ease both; }

  @keyframes finder-open {
    from { clip-path: inset(14px var(--from-right, 0px) 14px var(--from-left, 0px) round 999px); }
    to { clip-path: inset(0 0 0 0 round 0); }
  }

  @keyframes bar-open {
    from { border-color: var(--top-line); background: var(--top-scrim); color: #ffffff; }
  }

  @keyframes close-in { from { opacity: 0; transform: translateX(12px); } }

  @keyframes finder-shut {
    from { clip-path: inset(0 0 0 0 round 0); }
    to { clip-path: inset(14px var(--from-right, 0px) 14px var(--from-left, 0px) round 999px); }
  }

  @keyframes bar-shut {
    to { border-color: var(--top-line); background: var(--top-scrim); color: #ffffff; }
  }

  @keyframes close-out { to { opacity: 0; transform: translateX(12px); } }

  .top:is(.search-open, .search-closing) :is(.brand, .m-actions) { opacity: 0; transform: scale(0.96); pointer-events: none; }

  .brand,
  .m-actions { transition: opacity 0.3s cubic-bezier(0.32, 0.72, 0, 1), transform 0.3s cubic-bezier(0.32, 0.72, 0, 1); }

  .top.search-open::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgb(5 8 16 / 0.62);
    animation: dim-in 0.42s ease;
  }

  .top.search-closing::before { animation: dim-out 0.3s ease both; }

  @keyframes dim-out { to { opacity: 0; } }

  @keyframes dim-in { from { opacity: 0; } }

  .top.search-open .search { flex: 1 1 0; min-width: 0; }

  .top.search-open .suggest { max-height: calc(100dvh - var(--top-h) - 24px); }

  .suggest:not([hidden]) { animation: drop-in 0.32s cubic-bezier(0.32, 0.72, 0, 1); transform-origin: top center; }

  @keyframes drop-in { from { opacity: 0; transform: translateY(-6px) scale(0.985); } }

  .finder-close {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 2px;
    border: 0;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 0.833rem;
    font-weight: 600;
    cursor: pointer;
  }

  :is(.top, .intro) .search input { font-size: 1rem; }

  .zone-toggle { padding: 0 8px; }

  .zone-toggle:not(.active) #zone-current {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .zone-toggle:not(.active) .chevron { display: none; }

  html:has(.top.search-open) { overflow: hidden; }
}

@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .top:is(.search-open, .search-closing) :is(.finder, .search, .finder-close),
  .top:is(.search-open, .search-closing)::before,
  .top.menu-open .m-panel,
  .suggest:not([hidden]) { animation: none; }

  .brand,
  .m-actions { transition: none; }
}

footer {
  margin-top: 0;
  padding: 64px 0 calc(32px + env(safe-area-inset-bottom));
  font-size: 0.833rem;
  color: var(--muted);
}

footer .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px 64px;
}

footer a { text-decoration: none; transition: color 0.2s ease; }

footer a:hover { color: var(--ink); }

.f-brand .f-logo { display: block; height: 22px; width: auto; color: var(--ink); }

.f-brand p { max-width: 32ch; margin: 14px 0 0; line-height: 1.55; }

.f-groups { display: flex; gap: 64px; }

.f-group { display: grid; align-content: start; gap: 10px; }

.f-group h2 { margin: 0 0 4px; font-size: 0.833rem; font-weight: 600; color: var(--ink); }

.f-base {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.694rem;
}

.f-base nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

.f-base .cookie-prefs { font-size: inherit; }

.f-by { margin-left: auto; }

@media (max-width: 640px) {
  footer { padding-top: 48px; }
  footer .wrap { grid-template-columns: 1fr; gap: 32px; }
  .f-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .f-base { gap: 14px; }
  .f-base nav { order: -1; width: 100%; gap: 10px 20px; }
  .f-by { margin-left: 0; }
}

:is(.lang-menu, .zone-menu, .cal, .suggest, .m-panel, .cookie-banner) {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #0a0f1e;
  --mist: #eef1f6;
  --hover: #e4ebf5;
  --line: rgb(10 15 30 / 0.1);
  --muted: #4a5361;
  --faint: #b5bfcd;
  --blue-text: #156ce0;
  --shadow: rgb(5 8 16 / 0.3);
  color: var(--ink);
}

.section-more {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.section-more:hover { border-color: var(--brand-soft); }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus-visible { transform: none; }

.card { transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1); }
.poster img { transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
.card:hover .poster > img:not(.wash) { transform: none; }
.chip, .section-more, .cookie-btn, .btn {
  transition: transform 0.15s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-2px); }
  .card:hover .poster > img:not(.wash) { transform: scale(1.03); transition-duration: 0.6s; }
  :is(.chip, .section-more, .cookie-btn, .btn):hover { transform: translateY(-1px); }
}
:is(.chip, .section-more, .cookie-btn, .btn):active { transform: translateY(1px) scale(0.985); transition-duration: 0.09s; }

.poster.typeset { container-type: inline-size; }
.poster.typeset span { overflow-wrap: normal; hyphens: auto; }
@container (max-width: 220px) {
  .poster.typeset span { font-size: 1.2rem; }
}

.cookie-btn:not(.primary) { background: transparent; box-shadow: inset 0 0 0 1px var(--faint); }
.cookie-btn:not(.primary):hover { background: var(--hover); }
main:focus { outline: none; }
body:has(#cookie-banner:not([hidden])) footer { padding-bottom: 120px; }

@media (max-width: 640px) {
  .chip, .section-more, .cookie-btn, .m-search, .m-menu { min-height: 44px; }
  .m-menu { min-width: 44px; }
  .brand a, .f-group a, .f-base nav a, .cookie-prefs { display: inline-flex; align-items: center; min-height: 44px; }
  body:has(#cookie-banner:not([hidden])) footer { padding-bottom: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .poster img, .chip, .section-more, .cookie-btn, .btn { transition: none; }
  .card:hover, :is(.chip, .section-more, .cookie-btn, .btn):is(:hover, :active) { transform: none; }
}

.section-tools { display: flex; align-items: center; gap: 12px; }
.rail-navs {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
}
.rail-navs[hidden] { display: none; }
.rail-nav {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}
.rail-nav { display: grid; place-items: center; padding: 0; }
.rail-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rail-nav:hover:not(:disabled) { background: var(--mist); }
.rail-nav:active:not(:disabled) { transform: scale(0.94); }
.rail-nav:disabled { opacity: 0.3; cursor: default; }
.rail-count { min-width: 44px; font-size: 0.694rem; font-weight: 500; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .rail-count { display: none; }
  .rail-nav { width: 40px; height: 40px; }
  .section-tools { gap: 2px; }
  .section-more { padding-inline: 6px; }
}

.rail {
  --gap: 20px;
  display: flex;
  gap: var(--gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: -4px 0 -32px;
  padding: 4px 0 32px;
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -3px; }
.rail > article {
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4);
  min-width: 0;
  scroll-snap-align: start;
}
@media (max-width: 1000px) {
  .rail > article { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
}
@media (max-width: 640px) {
  .rail { --gap: 12px; margin-inline: calc(-1 * var(--edge-m)); padding-inline: var(--edge-m); scroll-padding-inline: var(--edge-m); }
  .rail > article { flex-basis: calc((100vw - 2 * var(--edge-m)) * 0.6); }
}

.hero-rail { margin-top: clamp(40px, 5vw, 64px); text-align: left; }
.hero-rail[hidden] { display: none; }
.hero-rail .month { position: static; margin: 0 0 20px; padding: 0; background: none; }
.hero-rail p { max-width: none; margin: 0; font-size: 0.833rem; line-height: 1.45; letter-spacing: 0; }

.intro .finder { width: 100%; max-width: 600px; margin: 32px auto 0; --top-scrim: rgb(10 15 30 / 0.32); }
.intro .search { height: 52px; padding-left: 18px; }
.intro .search input { font-size: 1rem; }
.intro .finder-close { display: none; }
.intro .suggest { text-align: left; }

.poster { box-shadow: none; border-radius: 10px; }
.card h3 {
  margin: 12px 0 4px;
  font-size: 1rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card .meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.meta .date { color: var(--muted); font-weight: 500; }
.meta .date.soon { color: var(--blue-text); font-weight: 600; }
.meta .tz { white-space: normal; }

.poster.typeset {
  position: relative;
  isolation: isolate;
  padding: 14px 16px;
  background: #0a0f1e;
  color: #ffffff;
}
.poster.typeset::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--photo) center / cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@media (hover: hover) and (pointer: fine) {
  .card:hover .poster.typeset::before { transform: scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .poster.typeset::before { transition: none; }
  .card:hover .poster.typeset::before { transform: none; }
}
.poster.typeset::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(10 15 30 / 0) 40%, rgb(10 15 30 / 0.78));
}
.poster.typeset span { font-size: 1.44rem; line-height: 1.05; }

.section-head {
  position: static;
  align-items: center;
  margin: 64px 0 18px;
  padding: 0;
  background: none;
}
#list > .section-head:first-child { margin-top: 48px; }
.section-tools { gap: 4px; }
.section-more {
  padding: 8px 10px;
  border: 0;
  background: none;
  color: var(--muted);
  font-weight: 600;
}
.section-more:hover { border: 0; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.hero-rail .month h2 { font-size: 1.2rem; }
.hero-rail .card h3 { color: #ffffff; }

.intro .search {
  --bar-ink: #0a0f1e;
  --bar-muted: #4a5361;
  --bar-sep: #e1e6ef;
  --bar-hover: #eef1f6;
  border-color: #ffffff;
  background: #ffffff;
  box-shadow: 0 12px 32px -14px rgb(0 0 0 / 0.6);
}
.intro .search:hover { border-color: #ffffff; }
.intro .search:focus-within { box-shadow: 0 0 0 4px rgb(47 134 240 / 0.45), 0 12px 32px -14px rgb(0 0 0 / 0.6); }
.intro .search .zone-toggle.active { color: var(--blue); }

.intro .chip {
  border-color: rgb(255 255 255 / 0.1);
  background: rgb(255 255 255 / 0.06);
  color: rgb(255 255 255 / 0.9);
}
.intro .chip:hover { border-color: rgb(255 255 255 / 0.22); background: rgb(255 255 255 / 0.1); }
.intro .chip[aria-pressed='true'],
.intro .when-chip.active,
.intro .chip[aria-pressed='true']:hover { border-color: #ffffff; background: #ffffff; color: #0a0f1e; }
.intro .when-chip[aria-expanded='true'] { border-color: rgb(255 255 255 / 0.4); }
.intro .chip-count { opacity: 0.55; }

.top nav .org-link {
  border: 1px solid var(--top-line);
  background: var(--top-scrim);
  transition: background-color 0.2s, border-color 0.2s;
}
.top nav .org-link:hover { border-color: rgb(255 255 255 / 0.3); background: rgb(255 255 255 / 0.12); }

.intro .finder { position: relative; z-index: 30; }
.intro .finder .search { position: relative; z-index: 2; }
.intro .filters {
  color-scheme: light;
  --ink: #0a0f1e;
  --muted: #4a5361;
  --line: #e1e6ef;
  --paper: #ffffff;
  --mist: #eef1f6;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
  display: block;
  margin: 0;
  max-height: min(74vh, 640px);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 60px 0 10px;
  border-radius: 26px;
  background: #ffffff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.14), 0 32px 64px -24px rgb(0 0 0 / 0.7);
  scrollbar-width: thin;
}
.intro.finding .search { box-shadow: none; }
.intro.finding .search:focus-within { box-shadow: none; }
.intro:not(.finding) .filters,
.intro .finder:has(.suggest:not([hidden])) .filters { display: none; }
.intro.finding .filters { animation: card-open 0.34s cubic-bezier(0.32, 0.72, 0, 1); transform-origin: top center; }
@keyframes card-open { from { opacity: 0; clip-path: inset(0 0 calc(100% - 60px) 0 round 26px); } }
@media (prefers-reduced-motion: reduce) {
  .intro.finding .filters { animation: none; }
}

.f-row { padding: 16px 20px 0; }
.f-row:first-child { border-top: 1px solid var(--mist); }
.f-row[hidden] { display: none; }
.f-label { display: block; margin-bottom: 10px; font-size: 0.833rem; font-weight: 600; color: var(--ink); }
.f-chips {
  display: flex;
  gap: 6px;
  margin: 0 -20px;
  padding: 0 20px 2px;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-padding-inline: 20px;
}
.f-chips::-webkit-scrollbar { display: none; }
.quick-days { display: contents; }
.intro .filters .chip {
  flex: none;
  gap: 7px;
  padding: 7px 13px;
  border-color: var(--line);
  background: #ffffff;
  color: var(--ink);
  white-space: nowrap;
}
.intro .filters .chip:hover { border-color: #c9d2e0; background: #f5f7fa; }
.intro .filters .chip[aria-pressed='true'],
.intro .filters .when-chip.active { border-color: #0a0f1e; background: #0a0f1e; color: #ffffff; }
.intro .filters .chip-count { opacity: 0.5; }
.intro .filters .chip.empty { opacity: 0.45; }
.intro .filters .when-chip { margin: 0; }
.panel-events { display: grid; margin: 0 -10px; padding-bottom: 6px; }
.panel-events .sg-item:hover { background: var(--mist); }

@media (max-width: 640px) {
  .intro .filters { max-height: 70vh; padding-top: 58px; border-radius: 24px; }
  .f-row { padding: 14px 16px 0; }
  .f-chips { margin: 0 -16px; padding: 0 16px 2px; }
}

.frame { position: relative; }
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.694rem;
  font-weight: 600;
  line-height: 1.4;
}
.badge.soldout { background: #0a0f1e; color: #ffffff; box-shadow: 0 0 0 1px rgb(255 255 255 / 0.16); }
.badge.low { background: #ffcf5c; color: #2b2000; }
.card.soldout .poster { opacity: 0.55; }
.card .price { margin: 4px 0 0; font-size: 0.833rem; font-weight: 600; color: var(--ink); }

.rail.compact { --gap: 12px; }
.rail.compact > article { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
.rail.compact .card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  grid-template-rows: 1fr auto auto auto auto 1fr;
  align-content: center;
  column-gap: 14px;
  height: 100%;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgb(255 255 255 / 0.08);
  border-radius: 16px;
  background: rgb(255 255 255 / 0.05);
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.rail.compact .card:hover { border-color: rgb(255 255 255 / 0.16); background: rgb(255 255 255 / 0.09); }
.rail.compact .frame { grid-column: 1; grid-row: 1 / 7; align-self: center; }
.rail.compact .poster { border-radius: 10px; }
.rail.compact .poster.typeset span,
.rail.compact .badge { display: none; }
.rail.compact .poster.match { gap: 4%; padding: 8px; }
.rail.compact .meta { grid-column: 2; grid-row: 2; }
.rail.compact .meta .date { color: var(--blue-text); font-weight: 600; }
.rail.compact h3 { grid-column: 2; grid-row: 3; margin: 2px 0 0; font-size: 0.833rem; line-height: 1.35; }
.rail.compact .place { grid-column: 2; grid-row: 4; }
.rail.compact .price { grid-column: 2; grid-row: 5; margin-top: 2px; font-size: 0.694rem; }
@media (max-width: 1000px) { .rail.compact > article { flex-basis: calc((100% - var(--gap)) / 2); } }
@media (max-width: 640px) {
  .rail.compact > article { flex-basis: calc((100vw - 2 * var(--edge-m)) * 0.84); }
  .rail.compact .card { grid-template-columns: 72px minmax(0, 1fr); }
}

.hero-rail { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / 0.1); }
.hero-rail .month { margin-bottom: 14px; }
.intro:has(.hero-rail:not([hidden])) { padding-bottom: 32px; }
@media (max-width: 640px) {
  .hero-rail { margin-top: 28px; padding-top: 20px; }
  .intro:has(.hero-rail:not([hidden])) { padding-bottom: 24px; }
}

.f-foot {
  position: sticky;
  bottom: -10px;
  z-index: 1;
  margin-top: 12px;
  padding: 12px 20px 10px;
  border-top: 1px solid var(--mist);
  background: #ffffff;
}
.f-show {
  width: 100%;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #ffffff;
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
}
.f-show:hover:not(:disabled) { background: var(--blue-deep); }
.f-show:active:not(:disabled) { transform: scale(0.985); }
.f-show:disabled { background: var(--mist); color: var(--muted); cursor: default; }
.intro .filters { padding-bottom: 10px; }

.intro .suggest {
  top: 0;
  z-index: -1;
  max-height: min(74vh, 640px);
  padding: 60px 8px 8px;
  border-radius: 26px;
  box-shadow: 0 0 0 6px rgb(255 255 255 / 0.14), 0 32px 64px -24px rgb(0 0 0 / 0.7);
}
.intro .suggest::before {
  content: '';
  position: absolute;
  top: 52px;
  left: 0;
  right: 0;
  border-top: 1px solid #eef1f6;
}
.intro .search:has(.suggest:not([hidden])) { box-shadow: none; }
@media (max-width: 640px) {
  .intro .suggest { max-height: 70vh; padding-top: 58px; border-radius: 24px; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro .suggest:not([hidden]) { animation: card-open 0.28s cubic-bezier(0.32, 0.72, 0, 1); }
}

.bar-segs { display: flex; flex: none; align-items: center; gap: 4px; margin-right: 6px; }
.bar-segs[hidden] { display: none; }
.bar-seg {
  display: inline-flex;
  align-items: center;
  height: 32px;
  border-radius: 999px;
  background: #eef1f6;
  color: #0a0f1e;
}
.bar-seg-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 180px;
  height: 100%;
  padding: 0 4px 0 11px;
  border: 0;
  border-radius: 999px 0 0 999px;
  background: none;
  color: inherit;
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  cursor: pointer;
}
.bar-seg-open svg { flex: none; width: 15px; height: 15px; fill: currentColor; }
.bar-seg-label { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bar-seg-x {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-right: 3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: #4a5361;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}
.bar-seg-x:hover { background: #dde3ec; color: #0a0f1e; }
.bar-seg-open:hover { color: var(--blue); }
.bar-seg-more { display: none; font-size: 0.694rem; font-weight: 600; color: #4a5361; }
@media (max-width: 640px) {
  .bar-segs { margin-right: 2px; }
  .bar-seg:not(:first-child) { display: none; }
  .bar-seg-more { display: inline; }
  .bar-seg-open { max-width: 124px; padding-left: 11px; }
  .bar-seg-open svg { display: none; }
}

.hero-feature[hidden] { display: none; }
.hero-feature { width: 100%; max-width: 480px; margin: 40px auto 0; text-align: left; }
@media (min-width: 1000px) {
  .hero:has(.hero-feature:not([hidden])) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 460px;
    align-items: center;
    gap: 48px;
    text-align: left;
  }
  .hero:has(.hero-feature:not([hidden])) :is(h1, .hero-text p) { margin-inline: 0; }
  .hero:has(.hero-feature:not([hidden])) .intro .finder,
  .intro .hero:has(.hero-feature:not([hidden])) .finder { margin: 32px 0 0; }
  .hero:has(.hero-feature:not([hidden])) .hero-feature { max-width: none; margin: 0; }
}
.fcard { display: block; color: inherit; text-decoration: none; }
.fcard .poster { border-radius: 20px; box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.65); }
.fbody { padding-top: 14px; }
.hero-feature p { max-width: none; margin: 0; font-size: 0.833rem; line-height: 1.45; letter-spacing: 0; }
.hero-feature .meta { color: rgb(255 255 255 / 0.78); }
.hero-feature .meta .date { color: #ffffff; font-weight: 600; }
.fcard h3 {
  margin: 4px 0 0;
  font-size: 1.44rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-feature .fprice { margin-top: 6px; font-weight: 600; color: #ffffff; }
@media (hover: hover) and (pointer: fine) {
  .fcard:hover .poster > img:not(.wash) { transform: scale(1.03); }
  .fcard:hover .poster.typeset::before { transform: scale(1.03); }
}

@media (max-width: 860px) {
  .intro:not(.finding) .finder { display: none; }
  .intro.finding { z-index: 120; }
  html:has(.intro.finding) { overflow: hidden; }
  .intro.finding .finder {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto minmax(0, 1fr);
    column-gap: 12px;
    width: auto;
    max-width: none;
    height: 100dvh;
    margin: 0;
    padding: 10px 16px 0;
    background: #ffffff;
    color: #0a0f1e;
    animation: sheet-in 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  @keyframes sheet-in { from { opacity: 0; transform: translateY(12px); } }
  .intro.finding .finder .search {
    grid-column: 1;
    grid-row: 1;
    height: 48px;
    border-color: #eef1f6;
    background: #eef1f6;
    box-shadow: none;
  }
  .intro.finding .finder .search:focus-within { border-color: var(--blue); background: #ffffff; box-shadow: 0 0 0 3px rgb(21 108 224 / 0.15); }
  .intro.finding .finder-close {
    grid-column: 2;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    height: 48px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--blue);
    font: inherit;
    font-size: 0.833rem;
    font-weight: 600;
    cursor: pointer;
  }
  .intro.finding .filters {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    max-height: none;
    margin: 10px -16px 0;
    padding: 0 0 env(safe-area-inset-bottom);
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }
  .intro.finding .f-row:first-child { border-top: 1px solid var(--mist); }
  .intro.finding .f-foot { bottom: 0; }
  .intro.finding .suggest {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    max-height: none;
    padding: 6px 8px env(safe-area-inset-bottom);
    border-top: 1px solid #eef1f6;
    border-radius: 0;
    box-shadow: none;
    animation: none;
  }
  .intro.finding .suggest::before { display: none; }
}
@media (max-width: 860px) and (prefers-reduced-motion: reduce) {
  .intro.finding .finder { animation: none; }
}

.market .top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1), background-color 0.25s ease, box-shadow 0.25s ease;
}
.market .intro { margin-top: 0; }
.market .top.scrolled { background: rgb(10 15 30 / 0.94); box-shadow: 0 1px 0 rgb(255 255 255 / 0.06); }
@supports (backdrop-filter: blur(1px)) {
  .market .top.scrolled { background: rgb(10 15 30 / 0.8); backdrop-filter: blur(14px) saturate(1.2); }
}
.market .top.tucked { transform: translateY(-100%); }

.top-search { display: none; }
@media (min-width: 861px) {
  .market .top-search {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: rgb(255 255 255 / 0.12);
    color: rgb(255 255 255 / 0.75);
    font: inherit;
    font-size: 0.833rem;
    text-align: left;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
  }
  .market .top.show-search .top-search { opacity: 1; transform: none; pointer-events: auto; }
  .market .top-search:hover { background: rgb(255 255 255 / 0.18); color: #ffffff; }
  .top-search .i { flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
}

@media (max-width: 860px) {
  .market .m-search,
  .market .m-menu {
    position: relative;
    width: 44px;
    max-width: none;
    height: 44px;
    padding: 0;
    border-radius: 50%;
  }
  .market .m-search span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
  .market .m-search.active::after {
    content: '';
    position: absolute;
    top: 7px;
    right: 7px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: 0 0 0 2px #0a0f1e;
  }
  .market .m-search:active, .market .m-menu:active { transform: scale(0.94); }
}
@media (prefers-reduced-motion: reduce) {
  .market .top, .market .top-search { transition: none; }
}
@media (max-width: 860px) { .intro .bar-segs { display: none; } }

.hero-art {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  border-radius: inherit;
  pointer-events: none;
}
.intro:not(.has-art) .hero-art { display: none; }
.hero-art span {
  position: absolute;
  inset: -12%;
  background: var(--art) center / cover;
  filter: blur(64px) saturate(1.5) brightness(0.6);
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 1.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.hero-art span.on { opacity: 1; transform: none; }
.hero-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(10 15 30 / 0.45) 0%, rgb(10 15 30 / 0.35) 45%, rgb(10 15 30 / 0.8) 100%);
}
.intro.has-art .glow { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-art span { transition: none; transform: none; }
}
@media (max-width: 640px) { .hero-rail { display: none; } }

.hero-feature { container-type: inline-size; }
.feature-rail {
  position: relative;
  display: flex;
  gap: 8px;
  margin: -6px 0 -30px;
  padding: 6px 13cqw 30px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.feature-rail::-webkit-scrollbar { display: none; }
.feature-rail:focus-visible { outline-offset: -3px; }
.feature-rail > article {
  flex: 0 0 74cqw;
  min-width: 0;
  scroll-snap-align: center;
  opacity: 0.8;
  transform: scale(0.95);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.feature-rail > article.is-current { opacity: 1; transform: none; }
.f-controls { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.f-dots { display: flex; align-items: center; gap: 0; }
.f-dot {
  display: grid;
  place-items: center;
  width: auto;
  min-width: 13px;
  height: 24px;
  padding: 0 3px;
  border: 0;
  background: none;
  cursor: pointer;
}
.f-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.35);
  transition: width 0.3s ease, background-color 0.3s ease;
}
.f-dot:hover::before { background: rgb(255 255 255 / 0.6); }
.f-dot[aria-current='true']::before { width: 20px; background: #ffffff; }
.f-arrow { border: 1px solid rgb(255 255 255 / 0.16); background: rgb(10 15 30 / 0.25); color: #ffffff; }
.f-arrow:hover:not(:disabled) { background: rgb(255 255 255 / 0.12); }
@media (hover: none), (max-width: 640px) { .f-arrow { display: none; } }
@media (max-width: 640px) {
  .hero-feature { width: auto; max-width: none; margin-inline: calc(-1 * var(--edge-m)); }
  .feature-rail { padding-inline: 11cqw; }
  .feature-rail > article { flex-basis: 78cqw; }
}
@media (prefers-reduced-motion: reduce) {
  .feature-rail > article, .f-dot::before { transition: none; }
}

.f-controls { position: relative; z-index: 1; }
.card .meta.place { margin-top: 1px; }
.fcard h3 { margin-bottom: 2px; }
.hero-feature .meta.place { color: rgb(255 255 255 / 0.72); }

.market .intro:not(.is-filtered) .hero:has(.hero-feature:not([hidden])) .hero-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media (max-width: 640px) {
  .market .intro { padding-top: calc(var(--top-h) + 8px); }
  .hero-feature { margin-top: 0; }
}
.section-head h2 { flex: 1 1 auto; min-width: 0; }
.section-tools { flex: none; }

.section-tools { gap: 8px; }
.section-head .section-more {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  min-height: 0;
  aspect-ratio: 1;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.section-head .section-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.section-head .section-more:hover { border-color: var(--ink); background: var(--mist); text-decoration: none; }
.section-head .section-more:hover svg { transform: translate(1px, -1px); }
.section-head .section-more:active { transform: scale(0.94); }

@media (max-width: 640px) {
  .rail-nav { width: 38px; height: 38px; }
  .section-head .section-more { width: 44px; height: 44px; }
  .section-tools { gap: 6px; }
  .section-head { margin: 40px 0 14px; }
  #list > .section-head:first-child { margin-top: 32px; }
  .section-head h2 { font-size: 1.44rem; line-height: 1.15; }
  .card h3 { margin-top: 10px; }
  .market .intro { padding-bottom: 20px; border-radius: 0 0 28px 28px; }
  .f-controls { margin-top: 12px; }
  .about { margin-top: 56px; padding-block: 36px; border-radius: 24px; }
  .about h2 { font-size: 1.728rem; }
  .about ol { gap: 24px; margin-top: 24px; }
  .about h3 { font-size: 1rem; }
  .about li::before { font-size: 1.728rem; }
  .about-org { margin-top: 28px; }
  footer { padding-top: 48px; }
}
@media (max-width: 640px) {
  .rail-navs { padding: 1px; }
  .rail-nav { width: 32px; height: 32px; }
  .rail-nav svg, .section-head .section-more svg { width: 15px; height: 15px; }
  .section-head .section-more { width: 36px; height: 36px; min-height: 0; }
  .section-tools { gap: 6px; }
}
@media (max-width: 640px) {
  .about { margin-inline: calc(50% - 50vw); padding-inline: calc(50vw - 50%); }
  .intro.finding .finder { padding-inline: var(--edge-m); }
  .intro.finding .filters { margin-inline: calc(-1 * var(--edge-m)); }
  .f-row { padding-inline: var(--edge-m); }
  .f-chips { margin-inline: calc(-1 * var(--edge-m)); padding-inline: var(--edge-m); scroll-padding-inline: var(--edge-m); }
  .f-foot { padding-inline: var(--edge-m); }
}
@media (max-width: 640px) {
  .market .intro { padding-top: calc(var(--top-h) + 20px); padding-bottom: 28px; }
  .f-controls { margin-top: 18px; }
}

:root { --r-block: 48px; --r-card: 20px; --r-inner: 12px; --radius-card: var(--r-card); }
@media (max-width: 640px) { :root { --r-block: 36px; } }

.intro, .market .intro { border-radius: 0 0 var(--r-block) var(--r-block); }
.about { border-radius: var(--r-block); }

.poster,
.fcard .poster,
.rail.compact .card,
.cal,
.days,
.suggest,
.cookie-banner,
.top.menu-open .m-panel { border-radius: var(--r-card); }

.rail.compact .poster,
.day,
.cal-day,
.sg-item,
.sg-media,
.m-promote,
:is(.top, .intro) :is(.lang-menu, .zone-menu) a { border-radius: var(--r-inner); }
.lang-menu, .zone-menu { border-radius: var(--r-card); }

@media (min-width: 641px) {
  .section-head .section-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: auto;
    aspect-ratio: auto;
    padding: 0 12px 0 15px;
    border-radius: 999px;
  }
  .section-head .more-label { font-size: 0.833rem; font-weight: 600; white-space: nowrap; }
  .section-head .section-more svg { width: 15px; height: 15px; }
}
@media (max-width: 640px) { .section-head .more-label { display: none; } }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

details.f-group > summary { list-style: none; }
details.f-group > summary::-webkit-details-marker { display: none; }
.f-chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
details.f-group .f-chev { display: none; }
@media (min-width: 641px) {
  details.f-group > summary { pointer-events: none; }
  details.f-group { display: grid; align-content: start; gap: 10px; }
}

.f-lang { position: relative; display: inline-flex; align-items: center; gap: 4px; color: var(--muted); }
.f-lang select {
  appearance: none;
  padding: 0 18px 0 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.f-lang .f-chev { position: absolute; right: 0; width: 13px; height: 13px; pointer-events: none; }
.f-lang:hover { color: var(--ink); }

@media (max-width: 640px) {
  .market footer { padding: 48px 0 calc(28px + env(safe-area-inset-bottom)); }
  .market footer .wrap { display: block; }
  .market .f-brand .f-logo { height: 24px; }
  .market .f-brand p { margin-top: 12px; }
  .market .f-groups { display: block; margin-top: 36px; }
  .market details.f-group { display: block; }
  .market details.f-group > summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    color: var(--ink);
    cursor: pointer;
  }
  .market details.f-group > summary h2 { margin: 0; font-size: 1rem; }
  .market details.f-group .f-chev { display: block; width: 20px; height: 20px; transition: transform 0.25s ease; }
  .market details.f-group[open] .f-chev { transform: rotate(180deg); }
  .market details.f-group > a { display: block; padding: 6px 0 10px; font-size: 1rem; }
  .market details.f-group[open] > a:last-child { padding-bottom: 16px; }
  .market .f-base {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 0.833rem;
  }
  .market .f-base nav { order: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .market .f-base nav > * { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); }
  .market .f-base .cookie-prefs { padding: 0; font-size: 0.833rem; }
  .market .f-base > span:first-child { order: 2; margin-top: 28px; color: var(--ink); }
  .market .f-by { order: 3; margin: 6px 0 0; }
}
@media (max-width: 640px) and (prefers-reduced-motion: reduce) {
  .market details.f-group .f-chev { transition: none; }
}
@media (min-width: 641px) {
  details.f-group { display: block; }
  details.f-group > summary h2 { margin: 0 0 14px; }
  details.f-group > a { display: block; margin-top: 10px; }
  details.f-group > summary + a { margin-top: 0; }
}
@container (max-width: 190px) { .poster.typeset span { font-size: 1rem; } }

.market .hero-rail { display: none; }
.market .intro:not(.finding) .finder { display: none; }
@media (min-width: 641px) {
  .market .hero:has(.hero-feature:not([hidden])) { display: block; }
  .market .hero-feature { width: 100%; max-width: none; margin: 0; }
  .market .intro:has(.hero-feature:not([hidden])) { padding-top: calc(var(--top-h) + 28px); padding-bottom: 40px; }
  .market .feature-rail { gap: 20px; padding-inline: 34cqw; }
  .market .feature-rail > article { flex-basis: 32cqw; }
  .market .fcard h3 { font-size: 1.2rem; }
}
@media (min-width: 641px) and (max-width: 999px) {
  .market .feature-rail { padding-inline: 27cqw; }
  .market .feature-rail > article { flex-basis: 46cqw; }
}
@media (min-width: 861px) {
  .market .top-search { width: min(100%, 420px); justify-self: center; }
  .market .top-search.active { color: #ffffff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.3); }
  .market .top-search span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .market .intro.finding { z-index: 120; }
  .market .intro.finding .hero-tools::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgb(5 8 16 / 0.6);
    animation: dim-in 0.25s ease;
  }
  .market .intro.finding .finder {
    position: fixed;
    top: 10px;
    left: 50%;
    z-index: 100;
    display: block;
    width: min(680px, 100% - 48px);
    max-width: none;
    margin: 0;
    transform: translateX(-50%);
    animation: finder-drop 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  }
  @keyframes finder-drop { from { opacity: 0; transform: translate(-50%, -8px); } }
  .market .intro.finding .filters { max-height: calc(100dvh - 40px); }
  .market .top:has(~ main .intro.finding) .top-search { visibility: hidden; }
}
@media (prefers-reduced-motion: reduce) {
  .market .intro.finding .finder, .market .intro.finding .hero-tools::before { animation: none; }
}
.f-chips { padding-top: 3px; margin-top: -3px; }

.rail, .feature-rail { position: relative; }
@media (hover: hover) and (pointer: fine) {
  :is(.rail, .feature-rail, .f-chips) { cursor: grab; }
  :is(.rail, .feature-rail, .f-chips).is-dragging { cursor: grabbing; user-select: none; }
  :is(.rail, .feature-rail, .f-chips).is-dragging * { cursor: grabbing; pointer-events: none; }
}

.market .top.scrolled {
  color-scheme: light;
  --ink: #0a0f1e;
  --muted: #4a5361;
  --line: rgb(10 15 30 / 0.12);
  --top-scrim: #ffffff;
  --top-line: rgb(10 15 30 / 0.14);
  background: rgb(255 255 255 / 0.96);
  box-shadow: 0 1px 0 rgb(10 15 30 / 0.08), 0 8px 24px -16px rgb(10 15 30 / 0.35);
  color: var(--ink);
}
.market .top.scrolled, .market .top.scrolled:is(*) { background: #ffffff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.market .top .logo { transition: color 0.25s ease, filter 0.25s ease; }
.market .top.scrolled .logo { color: #0a0f1e; filter: none; }
.market .top.scrolled nav .org-link { border-color: var(--top-line); background: #ffffff; color: #0a0f1e; }
.market .top.scrolled nav .org-link:hover { border-color: #0a0f1e; background: #ffffff; }
.market .top.scrolled :is(.lang-toggle, .theme-toggle):hover { background: #eef1f6; }
.market .top.scrolled .top-search { background: #eef1f6; color: #4a5361; }
.market .top.scrolled .top-search:hover { background: #e3e9f2; color: #0a0f1e; }
.market .top.scrolled .top-search.active { color: #0a0f1e; box-shadow: inset 0 0 0 1px rgb(10 15 30 / 0.16); }
.market .top.scrolled :is(.m-search, .m-menu) { border-color: var(--top-line); background: #ffffff; color: #0a0f1e; }
.market .top.scrolled .m-search.active::after { box-shadow: 0 0 0 2px #ffffff; }
.market .top.scrolled .m-menu[aria-expanded='true'] { border-color: #0a0f1e; background: #0a0f1e; color: #ffffff; }

.market .intro.is-filtered .hero { display: block; text-align: left; }
.market .intro.is-filtered .hero-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; white-space: normal; }
.market .intro.is-filtered :is(h1, .hero-text p) { margin-inline: 0; max-width: 22ch; }
.market .intro.is-filtered h1 { font-size: 2.488rem; line-height: 1.08; }
.market .intro.is-filtered .hero-text p { max-width: 52ch; margin-top: 12px; }
.back-link { display: none; }
.market .intro.is-filtered .back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  margin: 0 0 20px -4px;
  padding: 0 14px 0 10px;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: rgb(10 15 30 / 0.25);
  color: #ffffff;
  font: inherit;
  font-size: 0.833rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.back-link svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s ease; }
.market .intro.is-filtered .back-link:hover { border-color: rgb(255 255 255 / 0.32); background: rgb(255 255 255 / 0.1); }
.back-link:hover svg { transform: translateX(-2px); }
.back-link:active { transform: scale(0.97); }
.market .intro.is-filtered .hero-feature { margin-top: 32px; }
.market .intro.is-filtered { padding-top: calc(var(--top-h) + 40px); padding-bottom: 64px; }

.market #list > .month:not(.section-head) {
  position: static;
  align-items: baseline;
  margin: 56px 0 18px;
  padding: 0;
  background: none;
}
.market #list > .month:not(.section-head):first-child { margin-top: 40px; }
.market #list > .month:not(.section-head) h2 { font-size: 1.44rem; line-height: 1.15; }
.market #list .grid { gap: 32px 20px; }

@media (max-width: 640px) {
  .market .intro.is-filtered { padding-top: calc(var(--top-h) + 20px); padding-bottom: 44px; }
  .market .intro.is-filtered h1 { font-size: 2.074rem; }
  .market .intro.is-filtered .hero-text p { font-size: 1rem; }
  .market .intro.is-filtered .back-link { margin-bottom: 16px; }
  .market .intro.is-filtered .hero-feature { margin-top: 24px; }
  .market #list > .month:not(.section-head) { margin: 40px 0 14px; }
  .market #list > .month:not(.section-head):first-child { margin-top: 32px; }
  .market #list .grid { gap: 24px 12px; }
}
.intro .filters { scroll-padding-top: 64px; }
@media (max-width: 860px) { .intro.finding .filters { scroll-padding-top: 0; } }

.f-row:has(> .cal-inline) { position: relative; }
.cal.cal-inline {
  position: absolute;
  z-index: 5;
  width: 272px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: #ffffff;
  box-shadow: 0 18px 40px -12px rgb(10 15 30 / 0.35);
  animation: cal-in 0.2s cubic-bezier(0.32, 0.72, 0, 1);
  transform-origin: top left;
}
@keyframes cal-in { from { opacity: 0; transform: translateY(-4px) scale(0.98); } }
.cal-inline .cal-head { margin-bottom: 6px; }
.cal-inline .cal-title { font-size: 0.833rem; }
.cal-inline .cal-nav { width: 28px; height: 28px; font-size: 1rem; }
.cal-inline .cal-grid { gap: 2px; }
.cal-inline .cal-wd { font-size: 0.694rem; }
.cal-inline .cal-day { aspect-ratio: 1; height: auto; border-radius: 8px; }
.cal-inline .cal-day b { font-size: 0.833rem; }
.cal-inline .cal-day small { display: none; }
.cal-inline .cal-day.has::after {
  content: '';
  position: absolute;
  bottom: 4px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}
.cal-inline .cal-day[aria-pressed='true']::after { background: #ffffff; }
.cal-inline .cal-foot { margin-top: 8px; font-size: 0.694rem; }
.intro .filters .when-chip[aria-expanded='true'] { border-color: #0a0f1e; }
.intro .filters .when-chip[aria-expanded='true'] .chevron { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { .cal.cal-inline { animation: none; } }

.sg-match {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0 4px;
  background: linear-gradient(160deg, #1a74ea, #0b3f8f);
}
.sg-match img { width: 16px; height: 16px; object-fit: contain; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.4)); }
.panel-events .sg-media { width: 44px; height: 44px; }
.panel-events .sg-match img { width: 18px; height: 18px; }
.intro .filters .chip.empty[aria-pressed='true'] { opacity: 1; }
