@charset "UTF-8";
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
  src: url("/static/source-sans-3.woff2") format("woff2");
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #182334;
  --muted: #637084;
  --line: #e5eaf0;
  --accent: #c93258;
  --green: #356047;
  --sans: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --text-caption: 0.8125rem;
  --text-small: 0.875rem;
  --text-body: 1rem;
  --text-title: 1.25rem;
  --text-heading: 2rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--text-body)/1.5 var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
input,
select,
button {
  font: inherit;
  color: inherit;
}
button,
summary,
a {
  touch-action: manipulation;
}
button,
summary {
  cursor: pointer;
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
h1,
h2,
p,
figure {
  margin: 0;
}
.sr-only,
.skip {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip:focus {
  clip: auto;
  width: auto;
  height: auto;
  top: 0;
  left: 10px;
  background: var(--paper);
  padding: 10px;
  z-index: 10;
}
.container, .footer {
  width: min(1180px, 100% - 48px);
  margin: auto;
}
.weather,
.condition {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: var(--text-small);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.2px;
  white-space: nowrap;
  line-height: 1.5;
}
.weather .emoji,
.condition .emoji {
  font-size: var(--text-body);
}
.weather:hover {
  color: var(--ink);
  text-decoration: none;
}
.categories {
  display: flex;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--ink);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.categories::-webkit-scrollbar {
  display: none;
}
.categories a {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  font-family: var(--sans);
  font-size: var(--text-small);
  font-weight: 600;
  border-bottom: 3px solid transparent;
  padding-top: 3px;
}
.categories a[aria-current] {
  color: var(--category, var(--accent));
  border-bottom-color: var(--category, var(--accent));
  font-weight: 700;
}
.categories a[data-category]::before {
  content: "";
  flex: 0 0 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--category);
}
.categories small {
  color: var(--muted);
  font-size: var(--text-caption);
}
.active-filters {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: var(--text-caption);
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.active-filters > a {
  color: var(--accent);
}
.event {
  --category: #686b63;
  display: flex;
  align-items: stretch;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.event.event-finished {
  --category: var(--muted);
  filter: grayscale(1);
}
.event-finished :is(h2, a, time, .category, .price, .score, .description, .venue, .features, .event-time) {
  color: var(--muted);
}
.event-finished .event-image {
  opacity: 0.65;
}
.finished-label {
  display: inline-block;
  margin-bottom: 6px;
  padding: 2px 6px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 600;
}
.event-music,
.categories a[data-category="music"] {
  --category: #845d99;
}
.event-culture,
.categories a[data-category="culture"] {
  --category: #a04461;
}
.event-sport,
.categories a[data-category="sport"] {
  --category: #39698a;
}
.event-nightlife,
.categories a[data-category="nightlife"] {
  --category: #57549c;
}
.event-family,
.categories a[data-category="family"] {
  --category: #866819;
}
.event-food,
.categories a[data-category="food"] {
  --category: #a55135;
}
.event-education,
.categories a[data-category="education"] {
  --category: #287876;
}
.event-community,
.categories a[data-category="community"] {
  --category: #52733e;
}
.event-market,
.categories a[data-category="market"] {
  --category: #806448;
}
.event-other,
.categories a[data-category="other"] {
  --category: #686b63;
}
.event-time {
  flex: 0 0 68px;
  align-self: flex-start;
  font: 700 var(--text-title)/1.3 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  border-top: 3px solid var(--category);
  padding-top: 7px;
}
.event-time small {
  display: block;
  font: 400 var(--text-small)/1.5 var(--sans);
  letter-spacing: 0;
  color: var(--muted);
}
.event-weather {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  font: 600 var(--text-caption)/1.5 var(--sans);
  letter-spacing: 0;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.event-weather .emoji {
  font-size: var(--text-small);
}
.event-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: stretch;
  gap: 16px;
}
.event-copy {
  flex: 1;
  min-width: 0;
  position: relative;
  padding-right: 34px;
}
.event-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin-bottom: 6px;
  font-size: var(--text-small);
}
.emoji {
  font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
}
.event-top > span,
.features span,
.ticket {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.category {
  color: var(--category);
  font-family: var(--sans);
  font-weight: 700;
  font-size: var(--text-small);
  letter-spacing: 0;
}
.category .emoji {
  font-size: var(--text-small);
}
.price {
  font-weight: 600;
}
.price::before {
  content: "·";
  color: #989b91;
  margin-right: 9px;
}
.is-free {
  color: var(--green);
}
.score {
  color: var(--muted);
  font-size: var(--text-caption);
  font-variant-numeric: tabular-nums;
}
.status {
  background: var(--status-bg);
  color: var(--status-ink);
  padding: 1px 6px;
  font-weight: 700;
}
.save {
  position: absolute;
  top: -4px;
  right: -6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
}
.save svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.save:hover {
  color: var(--accent);
  text-decoration: none;
}
.save[aria-pressed="true"] {
  color: var(--accent);
}
.save[aria-pressed="true"] svg {
  fill: currentColor;
}
.saved {
  padding: 4px 0 8px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}
.saved > h2 {
  font-size: var(--text-caption);
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--accent);
  padding: 8px 0 2px;
}
.saved .event:last-child {
  border-bottom: 0;
}
.event h1,
.event h2 {
  font-size: var(--text-title);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.event h2 a:hover {
  color: var(--accent);
}
.venue {
  font-size: var(--text-small);
  margin-top: 6px;
  font-weight: 600;
}
.venue > span:first-child {
  color: var(--accent);
}
.address {
  color: var(--muted);
  font-weight: 400;
}
.description {
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.6;
  margin-top: 8px;
  color: var(--ink);
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.event-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 12px;
  font-size: var(--text-small);
  color: var(--muted);
}
.features {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}
.features span + span::before {
  content: "·";
  margin-right: 7px;
}
.event-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-left: auto;
  /* Cancel .event-copy's padding, less the save icon's own inset, so the
     link ends level with the drawn bookmark rather than its svg box. */
  margin-right: -29px;
}
.event-links a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  overflow-wrap: anywhere;
}
.ticket {
  color: var(--accent);
  font-weight: 600;
}
.event-image {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-self: stretch;
  min-height: 0;
  margin: 0;
  max-width: 260px;
}
.event-image a {
  display: flex;
  align-items: stretch;
  height: 100%;
  min-height: 0;
}
.event-image a:hover {
  text-decoration: none;
  opacity: 0.92;
}
.event-image img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  object-position: left center;
}
.event-image figcaption {
  font-size: var(--text-caption);
  color: var(--muted);
  line-height: 1.3;
  margin-top: 4px;
  overflow-wrap: anywhere;
}
.feed-end,
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px 0;
  font-size: var(--text-caption);
}
.feed-end > span {
  color: var(--muted);
}
.feed-end > a {
  font-weight: 600;
  color: var(--accent);
}
.footer {
  border-top: 2px solid var(--ink);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: 15px 0 24px;
}
.footer > span,
.weather-source {
  font-size: var(--text-caption);
  color: var(--muted);
}
.weather-source {
  overflow-wrap: anywhere;
}
.weather-source:hover {
  color: var(--accent);
}
.empty {
  padding: 50px 15px;
  text-align: center;
}
.empty > span {
  color: var(--accent);
  font-size: 40px;
}
.empty h2 {
  font: 600 1.5rem/1.25 var(--sans);
  margin: 8px 0;
}
.empty p {
  color: var(--muted);
  margin: 10px auto;
  max-width: 450px;
}
.empty a {
  display: inline-block;
  padding: 10px;
  color: var(--accent);
  font-weight: 600;
}
#update-status.error {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 600px);
  height: auto;
  clip: auto;
  white-space: normal;
  background: var(--ink);
  color: white;
  border-radius: 5px;
  padding: 12px 18px;
  z-index: 10;
}
main[aria-busy="true"] .event-list {
  opacity: 0.55;
}
@media (max-width: 950px) {
  .categories {
    gap: 14px;
  }
}
@media (max-width: 720px) {
  :root {
    --text-heading: 1.5rem;
    --text-title: 1.125rem;
  }
.container, .footer {
    width: calc(100% - 28px);
  }
  .weather {
    font-size: var(--text-caption);
  }
.categories {
    mask-image: linear-gradient(to right, #000 calc(100% - 26px), transparent);
  }
  .categories {
    gap: 14px;
  }
  .categories a {
    min-height: 44px;
    font-size: var(--text-small);
  }
  .event {
    gap: 12px;
    padding: 20px 0;
  }
  .event-time {
    flex-basis: 48px;
    font-size: var(--text-title);
    padding-top: 4px;
    border-top-width: 2px;
  }
  .event-weather {
    font-size: var(--text-caption);
    margin-top: 6px;
  }
  .event-body {
    flex-basis: calc(100% - 66px);
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  .event h1,
  .event h2 {
    font-size: var(--text-title);
    line-height: 1.3;
  }
  .event-copy {
    padding-right: 0;
  }
  .event-top {
    padding-right: 36px;
  }
  .save {
    top: -4px;
    right: -4px;
    width: 36px;
    height: 36px;
  }
  .event-top {
    gap: 6px;
    font-size: var(--text-small);
  }
  .category {
    font-size: var(--text-small);
  }
  .category .emoji {
    font-size: var(--text-small);
  }
  .price::before {
    margin-right: 6px;
  }
  .venue {
    font-size: var(--text-small);
  }
  .description {
    font-size: var(--text-body);
    line-height: 1.6;
  }
  .event-image {
    order: 1;
    max-width: 100%;
    width: 100%;
    max-height: 110px;
    align-self: start;
  }
  .event-image a {
    height: auto;
  }
  .event-image img {
    max-width: 100%;
    max-height: 110px;
    width: auto;
    height: auto;
  }
  .event-image figcaption {
    font-size: var(--text-caption);
  }
  .event-bottom {
    font-size: var(--text-small);
    gap: 6px 12px;
  }
  .event-links {
    margin-left: auto;
    gap: 12px;
    /* No padding to cancel here; the save icon sits 9px inside the column edge. */
    margin-right: 9px;
  }
  .event-links a {
    min-height: 28px;
  }
  .footer {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 14px;
  }
  .footer > span,
  .weather-source {
    font-size: var(--text-caption);
  }
  .feed-end {
    font-size: var(--text-caption);
  }
  .empty {
    padding: 30px 10px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .event-list {
    transition: opacity 0.12s ease;
  }
}
.condition:hover { color: var(--ink); text-decoration: none; }
.air-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #26845b; flex-shrink: 0; }
.air-fair { background: #83a33d; }
.air-moderate { background: #c29119; }
.air-poor { background: #d56b32; }
.air-very-poor { background: #c43c4b; }
.air-extreme { background: #813f83; }

/* Editorial tools use the same paper, ink and rust as the public feed. */
.admin-bar { max-width: 1080px; margin: 0 auto; padding: 10px 24px; border-block: 1px solid var(--line); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; color: var(--green); font-size: .875rem; }
.admin-bar > span:first-child { font-weight: 700; }
.admin-bar button { margin-left: auto; }
.admin-actions { display: flex; gap: 8px; margin: 5px 0 10px; }
.admin-actions button, .admin-bar button, .admin-form button { background: transparent; border: 1px solid var(--line); border-radius: 5px; padding: 6px 14px; }
.admin-actions button:hover, .admin-form button:hover { border-color: var(--ink); }
.admin-danger { color: var(--accent); }
.admin-login { max-width: 520px; margin: clamp(40px, 10vh, 120px) auto; padding: 0 24px; }
.admin-login h1 { font-size: clamp(2rem, 6vw, 2.8rem); line-height: 1.1; letter-spacing: -.04em; margin: 16px 0; }
.admin-eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 700; }
.admin-login > p:not(.admin-eyebrow), .admin-hint { color: var(--muted); }
.admin-form { margin-top: 28px; }
.admin-form label { display: block; font-weight: 600; margin: 15px 0 5px; }
.admin-form input, .admin-form textarea { width: 100%; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; }
.admin-form textarea { resize: vertical; }
.admin-form :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.admin-form .admin-primary { background: var(--green); color: white; border-color: var(--green); padding: 10px 20px; }
.admin-form .admin-delete-primary { background: var(--accent); border-color: var(--accent); }
.admin-form button:disabled { opacity: .55; cursor: wait; }
.admin-back { display: inline-block; margin-top: 30px; color: var(--muted); }
#admin-status:empty, #admin-form-status:empty { display: none; }
#admin-status, #admin-form-status { color: var(--accent); }
#admin-dialog { width: min(620px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #25272340; }
#admin-dialog::backdrop { background: #25272380; }
#admin-dialog .admin-form { margin: 0; }
#admin-dialog h2 { margin: 12px 0 20px; font-size: 1.7rem; letter-spacing: -.025em; }
.admin-dialog-heading, .admin-dialog-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-dialog-heading p { margin: 0; }
.admin-dialog-heading button { font-size: 1.4rem; border: 0; padding: 0 8px; }
.admin-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.admin-hint { font-size: .875rem; margin: 16px 0 0; }
.admin-times { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-times > div { min-width: 0; }
.admin-dialog-actions { margin-top: 24px; justify-content: flex-end; }
@media (max-width: 520px) { .admin-times { grid-template-columns: 1fr; gap: 0; } #admin-dialog { padding: 20px; } }

.event-date { margin-top: 6px; color: var(--muted); font-size: var(--text-small); }
.detail-image { margin: 24px 0; }
.detail-image img { display: block; width: auto; max-width: 100%; height: auto; margin: auto; }
.detail-image figcaption { font-size: var(--text-small); color: var(--muted); margin-top: 8px; }
.back-to-list { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--text-small); color: var(--muted); }
.event-correction { margin: 20px 0 0; }
.event-correction .suggestion-link { min-height: 44px; }
.container, .footer { width: min(960px, 100% - 48px); }
.categories { border: 0; gap: 8px; padding: 4px 0 16px; }
.categories a { background: var(--surface); border: 0; border-radius: 24px; padding: 8px 14px; min-height: 40px; }
.categories a[aria-current] { background: var(--selected); color: var(--selected-ink); }
.categories a[data-category]::before { display: none; }
.categories a:hover { text-decoration: none; background: var(--surface-hover); }
.categories a[aria-current]:hover { background: var(--selected-hover); }
.event-list { display: grid; gap: 8px; }
.event { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; padding: 12px; gap: 16px; }
.event:hover { border-color: var(--border-hover); }
.event-time { align-self: stretch; flex: 0 0 72px; border-top: 0; border-right: 1px solid var(--line); padding: 8px 12px 0 0; }
.event-body { display: block; padding-right: 186px; }
.event-copy { position: static; padding-right: 0; }
.event-thumbnail { position: absolute; top: 12px; right: 84px; width: 104px; height: 78px; border-radius: 8px; overflow: hidden; background: var(--surface); }
.event-thumbnail img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-thumbnail[hidden] { display: none; }
.event-thumbnail:hover { opacity: .85; }
.event .save { top: 4px; right: 2px; width: 44px; height: 44px; }
.event-top { padding: 0; gap: 6px 10px; font-size: var(--text-caption); }
.category { background: color-mix(in srgb, var(--category) 12%, var(--paper)); border-radius: 6px; padding: 3px 8px; font-size: var(--text-caption); }
.event-music { --category: #bd295b; }
.event-culture { --category: #2864bc; }
.event-family { --category: #187c50; }
.price::before { display: none; }
.event h2 { font-size: 1.125rem; }
.venue { color: var(--muted); margin-top: 5px; font-weight: 500; overflow-wrap: anywhere; }
.description { color: var(--muted); font-size: .9375rem; line-height: 1.5; margin-top: 6px; }
.event-list .description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.event-bottom { margin-top: 10px; gap: 6px 12px; font-size: var(--text-caption); }
.event-links { margin: 0; gap: 12px; }
.event-links a { min-height: 32px; }
.saved { border-bottom: 0; padding: 0 0 16px; }
.saved > h2 { padding: 8px 0; }
.saved .event:last-child { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); }
.detail-image img { max-height: 640px; object-fit: contain; }
/* Keep the information together, without a separate card footer. */
.event-list .event-top { margin-bottom: 3px; gap: 4px 8px; line-height: 1.25; }
.event-list .category { padding: 2px 7px; }
.event-list .price { background: color-mix(in srgb, #c9a227 16%, var(--paper)); border-radius: 6px; padding: 2px 7px; }
.event-list .price.is-free { background: color-mix(in srgb, var(--green) 14%, var(--paper)); }
.event-list .event-location { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; margin-top: 3px; }
.event-list .venue {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 4px;
  align-items: start;
  margin-top: 0;
  line-height: 1.3;
}
.event-list .venue-icon { grid-column: 1; grid-row: 1; margin-top: 2px; }
.event-list .venue-name { grid-column: 2; grid-row: 1; min-width: 0; }
.event-list .description { margin-top: 6px; -webkit-line-clamp: 1; }
.event-list .event-bottom { justify-content: flex-start; margin-top: 0; gap: 0; line-height: 1.3; width: 100%; }
.event-list .event-links { margin-left: 0; gap: 12px; }
.event-list .event-links a { min-height: 22px; }
.event-list .features { align-items: center; }
.event-list .features:empty { display: none; }
.event-list .features span + span::before { content: "|"; margin: 0 8px; color: var(--line); font-weight: 400; }
.event-list .features:not(:empty)::after { content: "|"; margin: 0 8px; color: var(--line); }
.event-list .event-time { font-size: 1.25rem; }
.event-list .event-time .score { display: flex; align-items: center; gap: 3px; margin-top: 5px; font-weight: 400; font-size: .75rem; line-height: 1.3; white-space: nowrap; }
.event-list .event { cursor: pointer; }
.event-list .event-more { margin: 0; padding: 0; height: 0; overflow: visible; border: 0; }
.venue-icon { vertical-align: -2px; flex-shrink: 0; }
.event-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 4px;
  right: 40px;
  z-index: 1;
  width: 36px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--muted);
  list-style: none;
  cursor: pointer;
}
.event-toggle:hover { color: var(--ink); }
.event-toggle::-webkit-details-marker,
.event-toggle::marker { display: none; content: ""; }
.event-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg);
}
.event-list .event:not(:has(.event-more[open])) .address,
.event-list .event:not(:has(.event-more[open])) .image-attribution { display: none; }
.event-list .event:not(:has(.event-more[open])) .event-links a:not(.ticket),
.event-list .event:not(:has(.event-more[open])) .event-links:not(:has(.ticket)) { display: none; }
.event-list .event:not(:has(.event-more[open])):not(:has(.ticket)) .features:not(:empty)::after { content: none; }
.event-list .event:not(:has(.event-more[open])) .venue-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.event-list .event:has(.event-more[open]) {
  background: color-mix(in srgb, var(--selected) 22%, var(--paper));
  border-color: color-mix(in srgb, var(--selected) 50%, var(--line));
}
.event-list .event:has(.event-more[open]) .event-toggle::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}
.event-list .event:has(.event-more[open]) .description {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
  margin-top: 10px;
}
.event-list .event:has(.event-more[open]) .venue { overflow-wrap: anywhere; }
.event-list .event:has(.event-more[open]) .address {
  display: block;
  grid-column: 2;
  margin-top: 2px;
}
.event-list .event:has(.event-more[open]) .event-copy { display: flex; flex-direction: column; align-items: stretch; }
.event-list .event:has(.event-more[open]) .event-location,
.event-list .event:has(.event-more[open]) .event-bottom { display: contents; }
.event-list .event:has(.event-more[open]) .event-links {
  order: 4;
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-top: 10px;
  gap: 12px;
}
.event-list .event:has(.event-more[open]) .image-attribution { order: 5; }
.event-list .event:has(.event-more[open]) .features:not(:empty)::after { content: none; }
@media (min-width: 721px) {
  .event-list .event { min-height: 118px; }
  .event-list .event-thumbnail { top: 50%; transform: translateY(-50%); }
  .event-list .event-time { display: flex; flex-direction: column; justify-content: center; padding-top: 0; }
  .event-list .event:has(.event-more[open]) .event-thumbnail { top: 12px; transform: none; }
}
@media (max-width: 720px) {
.container, .footer { width: calc(100% - 24px); }
  .categories { padding-right: 24px; }
  .event { padding: 12px; gap: 12px; min-height: 0; }
  .event-time { flex-basis: 60px; padding-right: 8px; font-size: 1.125rem; }
  .event-time small { font-size: .75rem; }
  .event-body { padding-right: 0; min-width: 0; }
  .event-top { padding-right: 78px; gap: 6px; }
  .event .save { top: 4px; right: 2px; }
  /* On phones the image sits below the time once the card is expanded. */
  .event-thumbnail { top: auto; bottom: 12px; left: 12px; right: auto; width: 50px; height: 60px; }
  .event h2 { font-size: 1.0625rem; }
  .event-list .event-bottom { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .event-list .event-location { gap: 4px; }
  .features { gap: 0; }
  .event-list .event:not(:has(.event-more[open])) .event-thumbnail,
  .event-list .event:not(:has(.event-more[open])) .description { display: none; }
  .event-list .event:not(:has(.event-more[open])) .venue { max-width: 100%; }
  .event-list .event:has(.event-more[open]):has(.event-thumbnail) .event-time { padding-bottom: 76px; }
}

/* Feed header: brand and tools on the first row; date nav joins weather below on desktop. */
.header {
  position: relative;
  width: min(960px, 100% - 48px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding-top: 18px;
  border-bottom: 1px solid var(--line);
}
.header-feed { grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; }
.header-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
.header-end .city-picker { flex-shrink: 0; }
.day-links { display: flex; align-items: center; gap: 2px; }
.header-feed .brand-lockup { grid-column: 1; grid-row: 1; }
.header-feed .header-end { grid-column: 2; grid-row: 1; }
.header-feed .conditions-bar { grid-column: 1 / -1; grid-row: 2; }
.brand-lockup { grid-column: 1; min-width: 0; }
.brand { display: inline-flex; font-size: 28px; font-weight: 800; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.brand span { color: #f26873; }
.brand:hover { text-decoration: none; }
.footer .brand { font-size: var(--text-title); }
.tagline { display: block; margin-top: 4px; color: var(--muted); font-size: var(--text-caption); }
.city-picker { grid-column: 2; position: relative; font-weight: 600; }
.city-picker summary, .filter-menu summary { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; list-style: none; border-radius: 10px; }
.city-picker summary { padding: 0 14px; background: var(--surface); }
.city-picker summary::-webkit-details-marker, .filter-menu summary::-webkit-details-marker { display: none; }
.city-picker summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid; border-bottom: 1.5px solid; transform: rotate(45deg); margin-top: -3px; }
.city-picker[open] summary::after { transform: rotate(225deg); margin-top: 3px; }
.city-picker nav, .filter-panel { position: absolute; top: calc(100% + 8px); z-index: 5; padding: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px #18233418; }
.city-picker nav { left: 50%; transform: translateX(-50%); min-width: 160px; max-height: min(420px, calc(100vh - 112px)); max-height: min(420px, calc(100dvh - 112px)); overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.city-picker nav a { display: block; padding: 10px; border-radius: 6px; }
.city-picker nav a:hover { background: var(--surface); text-decoration: none; }
.header-tools { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: 8px; min-width: 0; }
.search { display: flex; align-items: center; min-width: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.search-icon { display: flex; align-items: center; justify-content: center; width: 40px; height: 42px; flex-shrink: 0; }
.search input { width: 140px; min-width: 0; min-height: 42px; padding: 4px 8px 4px 0; border: 0; background: transparent; outline: none; }
.search:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.filter-menu { position: relative; }
.filter-menu summary { width: 44px; }
.filter-menu summary:hover, .filter-menu[open] summary { background: var(--surface); }
.filter-panel { right: 0; width: 268px; }
.filter-panel > strong, .filter-label { display: block; padding: 4px 10px; }
.filter-strip { display: grid; gap: 4px; }
.free { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: var(--text-small); color: var(--muted); }
.free input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.free:has(input:checked) { background: var(--surface); color: var(--ink); }
.filter-label { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); font-weight: 600; }
.sort { display: flex; gap: 4px; padding: 0 4px; font-size: var(--text-small); }
.sort a { display: flex; align-items: center; justify-content: center; flex: 1; min-height: 44px; border-radius: 7px; color: var(--muted); }
.sort a[aria-current] { background: var(--selected); color: var(--selected-ink); font-weight: 600; }
.sort-sep { display: none; }
.city-conditions { grid-column: 1 / -1; display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 8px 24px; padding: 12px 0; border-top: 1px solid var(--line); }
.city-conditions:empty { display: none; }
.condition-cluster { display: inline-flex; align-items: center; gap: inherit; }
.sun-times { display: inline-flex; gap: 16px; }
.sun-times:empty { display: none; }
.conditions-bar { display: contents; }
.feed-heading { display: flex; flex-direction: column; gap: 4px; padding: 24px 0 16px; }
.feed-heading h1 { font-size: var(--text-heading); letter-spacing: -.03em; line-height: 1.2; }
.city-name { font-weight: 700; }
.feed-meta { display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); }
.feed-meta b { font-weight: 500; }
.heading-date::after { content: " ·"; }
.day-navigation { display: flex; align-items: center; justify-content: center; gap: 2px; max-width: 100%; font-size: var(--text-small); }
.day-navigation a { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 8px; border-radius: 24px; font-weight: 600; white-space: nowrap; }
.day-navigation a[aria-current] { background: var(--selected); color: var(--selected-ink); }
.day-navigation .is-today::after { content: ""; position: absolute; bottom: 5px; width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.day-navigation .arrow { font-size: 24px; font-weight: 400; color: var(--muted); padding-inline: 6px; }
.day-navigation a:hover { color: var(--accent); text-decoration: none; }
.calendar { flex-shrink: 0; color: var(--muted); position: relative; display: flex; align-items: center; justify-content: center; width: 28px; height: 44px; }
.calendar input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.calendar:focus-within { outline: 2px solid var(--accent); border-radius: 6px; }
@media (max-width: 720px) {
  .header { width: calc(100% - 24px); padding-top: 12px; gap: 10px 4px; }
  .brand { font-size: 23px; }
  .tagline { display: none; }
  .city-picker { font-size: var(--text-small); }
  .city-picker summary { padding-inline: 10px; }
  .header-tools { gap: 0; }
  .search { border-color: transparent; }
  .search-icon { width: 36px; }
  .search input { width: 0; padding: 0; }
  .search:focus-within, .search:has(input:not(:placeholder-shown)) { position: absolute; right: 44px; left: 0; z-index: 6; border-color: var(--line); }
  .search:focus-within input, .search input:not(:placeholder-shown) { flex: 1; width: 100%; padding-right: 8px; }
  .city-conditions { gap: 6px 14px; padding: 10px 0; }
  .city-conditions .weather, .city-conditions .condition { font-size: var(--text-caption); }
  .sun-times { gap: 12px; }
  .feed-heading { padding: 18px 0 12px; }
  .feed-meta { font-size: var(--text-small); }
  .day-navigation { gap: 2px; }
  .day-navigation a { padding-inline: 8px; }
  .day-navigation .arrow { padding-inline: 6px; }
  .day-navigation .calendar { width: 28px; }
}
@media (max-width: 360px) {
  .day-navigation { gap: 0; }
  .day-navigation a { padding-inline: 6px; }
}

@media (min-width: 721px) and (max-width: 1000px) {
  .header-feed { column-gap: 8px; }
  .header-feed .search input { width: 110px; }
  .header-feed .tagline { display: none; }
  .header-feed .brand { font-size: 25px; }
}
@media (max-width: 900px) {
  .header-feed { grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; }
  .header-feed .header-end { display: contents; }
  .header-feed .header-tools { grid-column: 2; grid-row: 1; }
  .header-feed .day-navigation { grid-column: 1; grid-row: 2; min-width: 0; justify-content: flex-end; }
  .header-feed .day-links { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .header-feed .day-links a { flex-shrink: 0; }
  .header-feed .arrow { flex-shrink: 0; }
  .header-feed .city-picker { grid-column: 2; grid-row: 2; }
  .header-feed .city-picker nav { left: auto; right: 0; transform: none; }
  .header-feed .city-conditions { grid-column: 1 / -1; grid-row: 3; }
  .header-feed .search input { width: 0; padding: 0; }
  .header-feed .search:focus-within, .header-feed .search:has(input:not(:placeholder-shown)) { position: absolute; right: 44px; left: 0; top: 12px; z-index: 6; border-color: var(--line); }
  .header-feed .search:focus-within input, .header-feed .search input:not(:placeholder-shown) { flex: 1; width: 100%; padding-right: 8px; }
}

/* Display preferences apply to saved cards and event details too. */
html:not(.show-rating) .event-list .score,
html.hide-event-weather .event-weather { display: none; }

/* Timeline shares the list cards, with a compact chronological rail. */
.view-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.view-switch { display: inline-flex; padding: 3px; gap: 3px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.view-switch a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 9px; color: var(--muted); font-size: .875rem; font-weight: 600; text-decoration: none; }
.view-switch a[aria-current] { background: var(--paper); color: var(--selected-ink); box-shadow: 0 1px 4px #182a4014; }
.view-switch a:hover { color: var(--selected-ink); }
.view-switch a:focus-visible { outline: 2px solid var(--selected-ink); outline-offset: 2px; }
.view-hint { color: var(--muted); font-size: .8125rem; }
@media (min-width: 901px) {
  .container:has(> .view-toolbar) { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; }
  .container:has(> .view-toolbar) > * { grid-column: 1 / -1; min-width: 0; }
  .container > .feed-heading { grid-column: 1; grid-row: 1; }
  .container > .view-toolbar { grid-column: 2; grid-row: 1; align-self: start; flex-direction: column; align-items: flex-end; gap: 4px; margin: 24px 0 16px; }
}
.timeline-day { font-size: 1rem; margin: 4px 0 16px; }
#events[data-view="timeline"] #feed { position: relative; padding-left: 28px; }
#events[data-view="timeline"] #feed::before { content: ""; position: absolute; left: 7px; top: 12px; bottom: 24px; width: 2px; background: var(--line); }
.timeline-hour { position: relative; font-size: .875rem; color: var(--selected-ink); font-variant-numeric: tabular-nums; margin: 16px 0 2px; }
.timeline-hour:first-child { margin-top: 0; }
.timeline-hour::before { content: ""; position: absolute; width: 10px; height: 10px; border: 2px solid var(--selected-ink); border-radius: 50%; background: var(--paper); left: -26px; top: 4px; }
#events[data-view="timeline"] .event { border-left: 3px solid var(--category, var(--line)); }
#events[data-view="timeline"] #feed:has(.empty)::before { display: none; }
@media (max-width: 720px) {
  .view-toolbar { align-items: flex-start; flex-direction: column; gap: 6px; margin-bottom: 12px; }
  .view-switch { width: 100%; }
  .view-switch a { flex: 1; }
  #events[data-view="timeline"] #feed { padding-left: 18px; }
  #events[data-view="timeline"] #feed::before { left: 2px; }
  .timeline-hour::before { left: -21px; }
}

/* The same quiet palette, with legible surfaces in either theme. */
:root {
  --surface: #edf1f6;
  --surface-hover: #e3e9f1;
  --selected: #ffe0e8;
  --selected-hover: #ffd2de;
  --selected-ink: #a71e44;
  --border-hover: #cbd4e1;
  --status-bg: #f6dfd5;
  --status-ink: #9d3019;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141b25;
  --ink: #e5eaf2;
  --muted: #a3b0c2;
  --line: #303d4e;
  --accent: #ff8faa;
  --green: #9ad7ae;
  --surface: #222e3d;
  --surface-hover: #2e3c4f;
  --selected: #48283a;
  --selected-hover: #603047;
  --selected-ink: #ffacc1;
  --border-hover: #63758e;
  --status-bg: #4c3027;
  --status-ink: #ffb49b;
}
[data-theme="dark"] .event-music, [data-theme="dark"] .categories a[data-category="music"] { --category: #f36a99; }
[data-theme="dark"] .event-culture, [data-theme="dark"] .categories a[data-category="culture"] { --category: #74a7f2; }
[data-theme="dark"] .event-sport, [data-theme="dark"] .categories a[data-category="sport"] { --category: #71b0dc; }
[data-theme="dark"] .event-nightlife, [data-theme="dark"] .categories a[data-category="nightlife"] { --category: #9e9aeb; }
[data-theme="dark"] .event-family, [data-theme="dark"] .categories a[data-category="family"] { --category: #64cf9a; }
[data-theme="dark"] .event-food, [data-theme="dark"] .categories a[data-category="food"] { --category: #ed9477; }
[data-theme="dark"] .event-education, [data-theme="dark"] .categories a[data-category="education"] { --category: #65c7c4; }
[data-theme="dark"] .event-community, [data-theme="dark"] .categories a[data-category="community"] { --category: #9bc77d; }
[data-theme="dark"] .event-market, [data-theme="dark"] .categories a[data-category="market"] { --category: #c6a47e; }
[data-theme="dark"] .event-other, [data-theme="dark"] .categories a[data-category="other"] { --category: #b5bac3; }
[data-theme="dark"] .category { color: var(--category); background: color-mix(in srgb, var(--category) 22%, var(--paper)); }
.preferences { display: flex; align-items: center; gap: 2px; }
.preference-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 10px; background: transparent; flex-shrink: 0; }
.preference-toggle span { display: inline-block; }
.theme-toggle { font-size: 19px; }
.language-toggle { font-size: .8125rem; font-weight: 700; letter-spacing: .04em; }
.preference-toggle:hover { background: var(--surface); }
.preference-toggle:active { background: var(--selected); transform: scale(.92); }
@media (prefers-reduced-motion: no-preference) {
  body, .event, .category, .categories a, .city-picker summary, .view-switch, .preference-toggle { transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 160ms ease; }
}
@media (min-width: 901px) {
  .header-feed { border-bottom: 0; padding-bottom: 8px; column-gap: 12px; row-gap: 12px; }
  .header-feed .search input { width: 140px; }
  .header-feed .city-picker summary,
  body[data-page-kind="event"] .city-picker summary { background: var(--paper); border: 1px solid var(--line); }
  .header-feed .city-picker nav,
  body[data-page-kind="event"] .city-picker nav { left: auto; right: 0; transform: none; }
  .conditions-bar {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(0, 7fr) minmax(0, 4fr);
    align-items: center;
    min-width: 0;
    min-height: 52px;
    padding: 4px 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--paper);
  }
  .conditions-bar .day-navigation { grid-column: 1; justify-content: center; min-width: 0; max-width: 100%; }
  .conditions-bar .calendar { width: 36px; height: 36px; margin-left: 2px; border: 1px solid var(--line); border-radius: 10px; }
  .conditions-bar .city-conditions {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: subgrid;
    align-items: center;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    gap: 0;
    justify-content: stretch;
  }
  .conditions-bar .city-conditions:empty { display: none; }
  .conditions-bar .condition-cluster,
  .conditions-bar .sun-times {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    min-width: 0;
    min-height: 44px;
    padding: 0 12px;
    border-left: 1px solid var(--line);
  }
  .conditions-bar .sun-times { width: auto; }
  .conditions-bar:not(:has(.condition-cluster)) .sun-times { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .header-feed .search:focus-within, .header-feed .search:has(input:not(:placeholder-shown)) { right: 136px; }
}
body[data-page-kind="event"] .header {
  grid-template-columns: minmax(0, 1fr) auto;
  padding-bottom: 16px;
}
body[data-page-kind="event"] .header-end {
  grid-column: 2;
  grid-row: 1;
}
body[data-page-kind="event"] .city-picker nav {
  left: auto;
  right: 0;
  transform: none;
}

/* Quiet contributions, following the calendar's existing editorial typography. */
.suggestion-link { border: 0; background: none; color: var(--muted); font: inherit; font-size: var(--text-small); padding: 5px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.suggestion-link:hover { color: var(--ink); text-decoration-color: currentColor; }
.suggestion-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.suggestion-invite { padding: 18px 0; border-top: 1px solid var(--line); color: var(--muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
#suggestion-dialog { width: min(540px, calc(100% - 24px)); max-height: calc(100dvh - 32px); padding: 28px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 90px #18233430; }
#suggestion-dialog::backdrop { background: #18233470; }
.suggestion-top, .suggestion-actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.suggestion-top { font-size: var(--text-small); color: var(--muted); }
#suggestion-dialog h2 { margin: 12px 0 4px; font-size: 1.75rem; letter-spacing: -.025em; }
.suggestion-note { margin: 0 0 22px; color: var(--muted); font-size: var(--text-small); }
#suggestion-dialog label { display: block; margin: 14px 0; font-size: var(--text-small); font-weight: 600; }
#suggestion-dialog input:not([type=hidden]), #suggestion-dialog textarea { display: block; width: 100%; margin-top: 5px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 5px; background: var(--paper); color: var(--ink); font: inherit; font-weight: 400; }
#suggestion-dialog input:read-only { color: var(--muted); background: color-mix(in srgb, var(--line) 30%, var(--paper)); }
#suggestion-dialog textarea { resize: vertical; min-height: 110px; }
.suggestion-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
#suggestion-dialog button { font: inherit; cursor: pointer; border: 1px solid var(--line); border-radius: 5px; padding: 9px 14px; color: var(--ink); background: var(--paper); }
#suggestion-dialog .suggestion-top button { border: 0; padding: 0 5px; font-size: 1.5rem; }
#suggestion-dialog button[type=submit] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
#suggestion-dialog button:disabled { opacity: .55; cursor: default; }
#suggestion-status { font-size: var(--text-small); margin: 16px 0; }
.suggestion-review { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.suggestion-review pre { white-space: pre-wrap; font: inherit; }
@media (max-width: 520px) { #suggestion-dialog { padding: 20px; } .suggestion-fields { grid-template-columns: 1fr; gap: 0; } }

/* Homepage: illustrated city directory, inspired by the approved visual mockup. */
.home-page { background: color-mix(in srgb, var(--paper) 96%, #f2f6fb); }
.home-page .container, .home-page .footer { width: min(1320px, 100% - 64px); }
.home-header { width: min(1320px, 100% - 64px); grid-template-columns: 1fr auto 1fr; min-height: 94px; padding: 18px 0; border-bottom: 0; }
.home-header .brand-lockup { grid-column: 1; }
.home-header .header-tools { grid-column: 3; }
.home-nav { grid-column: 2; display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); font-size: var(--text-small); font-weight: 600; }
.home-nav a:hover { color: var(--accent); text-decoration: none; }
.home-main { padding-bottom: 42px; }
.home-hero { position: relative; min-height: 260px; display: flex; align-items: center; isolation: isolate; }
.home-heading { position: relative; z-index: 1; width: min(54%, 700px); padding: 42px 0 54px; }
.home-heading h1 { font-size: clamp(3.2rem, 5.3vw, 5.25rem); font-weight: 800; letter-spacing: -.055em; line-height: .98; }
.home-heading h1 span { color: #e23c67; white-space: nowrap; }
.home-heading p { max-width: 620px; margin-top: 20px; color: var(--muted); font-size: clamp(1.08rem, 1.7vw, 1.35rem); line-height: 1.4; }
.home-hero-art { position: absolute; z-index: 0; right: -28px; bottom: 0; width: min(72%, 950px); height: auto; pointer-events: none; }
.city-toolbar { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(280px, 2fr) minmax(190px, 1fr) auto 180px; gap: 12px; align-items: stretch; padding: 16px; margin-bottom: 16px; border: 1px solid var(--line); border-radius: 18px; background: color-mix(in srgb, var(--paper) 94%, transparent); box-shadow: 0 16px 44px #1823340d; }
.city-search, .city-sort, .locate-city, .city-search-submit { min-height: 64px; border: 1px solid var(--line); border-radius: 13px; background: var(--paper); }
.city-search, .city-sort { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; column-gap: 10px; padding: 9px 16px; overflow: hidden; }
.city-toolbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--accent); }
.city-search > span, .city-sort > span { grid-column: 2; display: flex; flex-direction: column; min-width: 0; pointer-events: none; }
.city-search strong { color: var(--muted); font-weight: 500; }
.city-search small, .city-sort > span { color: var(--muted); font-size: .72rem; line-height: 1.2; }
.city-search input { position: absolute; inset: 0 0 0 48px; width: calc(100% - 48px); padding: 22px 16px 4px; border: 0; outline: 0; background: transparent; font-weight: 600; }
.city-search:has(input:not(:placeholder-shown)) > span { opacity: 0; }
.city-search:has(input:not(:placeholder-shown)) input { padding-top: 4px; }
.city-search:focus-within, .city-sort:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.city-sort { grid-template-columns: 28px minmax(0, 1fr); }
.city-sort select { grid-column: 2; width: 100%; padding: 0 26px 0 0; border: 0; outline: 0; background: transparent; font-weight: 600; cursor: pointer; }
.locate-city, .city-search-submit { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; font-weight: 600; white-space: nowrap; }
.locate-city:hover { border-color: var(--accent); }
.city-search-submit { border-color: #df315d; background: linear-gradient(135deg, #ea416d, #d92e58); color: white; box-shadow: 0 8px 18px #d92e5824; }
.city-search-submit svg { color: white; }
.city-search-submit:hover { filter: brightness(1.04); }
#location-status { min-height: 24px; margin: 0 0 16px; color: var(--muted); font-size: var(--text-small); }
#location-status:empty { display: none; }
.cities-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin: 48px 0 20px; }
.cities-heading h2 { font-size: clamp(1.7rem, 2.6vw, 2.25rem); letter-spacing: -.035em; }
.cities-heading a { color: var(--accent); font-weight: 600; }
.home-city-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.home-city { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 13px 30px #1823340a; transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.home-city:hover { transform: translateY(-3px); border-color: var(--border-hover); box-shadow: 0 18px 42px #18233414; }
.home-city.is-popular { border-color: color-mix(in srgb, var(--accent) 65%, var(--line)); }
.city-photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(135deg, #7aa9d4, #d7e5f2); color: white; }
.city-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.city-photo-link { position: absolute; z-index: 1; inset: 0; }
.city-photo-link:focus-visible { outline: 3px solid white; outline-offset: -5px; border-radius: 14px; }
.city-photo-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 36%, #0d172633 55%, #0b1422ed 100%); }
.city-photo-fallback { display: grid; place-items: center; background: linear-gradient(145deg, #5f91bf, #ebad91); }
.city-photo-1 { background: linear-gradient(145deg, #6587bd, #e3bd8f); }
.city-photo-2 { background: linear-gradient(145deg, #5f9ba0, #e5a787); }
.city-photo-3 { background: linear-gradient(145deg, #8a79b1, #df9f93); }
.city-initial { font-size: 7rem; font-weight: 800; opacity: .25; }
.city-popular-badge { position: absolute; top: 14px; left: 14px; padding: 5px 10px; border: 1px solid #ffadc2; border-radius: 999px; background: #fff5f8e8; color: #cf2b55; font-size: .75rem; font-weight: 700; backdrop-filter: blur(6px); }
.city-photo-copy { position: absolute; z-index: 2; right: 18px; bottom: 5px; left: 18px; pointer-events: none; }
.city-row-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.city-row-heading h3 { margin: 0; font-size: 1.8rem; line-height: 1.1; letter-spacing: -.025em; text-shadow: 0 2px 12px #0009; transform: translateY(2px); }
.city-row-heading a, .city-row-count a, .city-row-conditions a { pointer-events: auto; }
.city-distance { font-size: var(--text-caption); font-weight: 700; }
.city-photo-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 1px; font-size: var(--text-small); }
.city-row-count { display: flex; flex-wrap: wrap; gap: 3px 6px; }
.city-row-count a { position: relative; }
.city-free { color: #d9f5c8; }
.city-row-conditions { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.city-air, .city-weather { display: inline-flex; align-items: center; gap: 5px; color: white; font-size: var(--text-caption); white-space: nowrap; }
.city-card-body { padding: 18px; }
.city-types { min-height: 70px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 12px 8px; color: var(--muted); font-size: var(--text-caption); }
.city-types a { position: relative; z-index: 1; display: flex; align-items: center; gap: 5px; min-width: 0; }
.city-types a:hover { color: var(--ink); text-decoration: none; }
.city-types a span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-types b { margin-left: auto; font-weight: 600; color: var(--ink); }
.city-types:empty { display: none; }
.city-card-cta { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; font-weight: 700; }
.city-types:empty + .city-card-cta { margin-top: 0; }
.is-popular .city-card-cta { border-color: transparent; background: linear-gradient(135deg, #ea416d, #d92e58); color: white; }
.city-card-cta:hover { border-color: var(--accent); text-decoration: none; }
.city-art-credits { margin-top: 22px; color: var(--muted); font-size: var(--text-caption); }
.city-art-credits summary { width: fit-content; }
.city-art-credits p { margin-top: 6px; }
.city-art-credits a { text-decoration: underline; }
.home-page [hidden] { display: none !important; }
@media (max-width: 1050px) {
  .home-page .container, .home-page .footer, .home-header { width: min(100% - 40px, 900px); }
  .home-nav { display: none; }
  .home-header { grid-template-columns: 1fr auto; }
  .home-header .header-tools { grid-column: 2; }
  .home-heading { width: 64%; }
  .city-toolbar { grid-template-columns: 1fr 1fr; }
  .city-search { grid-column: 1 / -1; }
  .home-city-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .home-page .container, .home-page .footer, .home-header { width: calc(100% - 24px); }
  .home-header { min-height: 72px; padding: 12px 0; }
  .home-hero { min-height: 315px; align-items: flex-start; overflow: hidden; }
  .home-heading { width: 100%; padding: 32px 0 0; }
  .home-heading h1 { font-size: clamp(2.65rem, 13vw, 4rem); }
  .home-heading p { max-width: 94%; margin-top: 14px; font-size: 1rem; }
  .home-hero-art { right: -150px; bottom: 0; width: 700px; max-width: none; opacity: .72; }
  .city-toolbar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; border-radius: 14px; }
  .city-search, .city-sort, .locate-city, .city-search-submit { min-height: 56px; border-radius: 10px; }
  .city-sort { grid-column: 1 / -1; }
  .locate-city, .city-search-submit { padding: 0 10px; font-size: var(--text-small); white-space: normal; }
  .cities-heading { margin-top: 34px; }
  .cities-heading a { font-size: var(--text-caption); }
  .home-city-list { grid-template-columns: 1fr; gap: 18px; }
  .city-row-heading h3 { font-size: 1.65rem; }
  .city-card-body { padding: 15px; }
  .city-types { min-height: 0; }
}

/* Image credits stay readable and keyboard-accessible on narrow cards. */
.image-attribution { margin-top: 6px; font-size: .75rem; color: var(--muted); }
.image-attribution summary { cursor: pointer; width: fit-content; max-width: 100%; overflow-wrap: anywhere; }
.image-attribution[open] { border-top: 1px solid var(--line); padding-top: 6px; }
.image-attribution p, .detail-image figcaption p { margin: 5px 0; }
.image-attribution a { text-decoration: underline; }
.image-attribution > div, .detail-image figcaption { overflow-wrap: anywhere; }

/* Event detail: share-ready page, same structure with and without a photo. */
.event-detail .event {
  display: grid;
  gap: 28px;
  padding: 8px 0 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
  align-items: start;
}
.event-detail .event:hover { border-color: transparent; }
.event-page-head { min-width: 0; }
.event-detail .event-top {
  gap: 8px;
  margin-bottom: 12px;
  padding: 0;
}
.event-detail .event-top > span {
  background: var(--surface);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: var(--text-caption);
  font-weight: 600;
  color: var(--ink);
}
.event-detail .category {
  background: color-mix(in srgb, var(--category) 14%, var(--paper));
  color: var(--category);
}
.event-detail .price { background: color-mix(in srgb, #c9a227 16%, var(--paper)); }
.event-detail .price.is-free { background: color-mix(in srgb, var(--green) 14%, var(--paper)); color: var(--green); }
.event-detail .price::before { display: none; }
.event-detail h1 {
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0;
  padding: 0;
}
.event-page-lead { display: grid; gap: 16px; min-width: 0; }
.event-page-stack { display: grid; gap: 14px; min-width: 0; }
.event-page-meta { display: grid; gap: 8px; min-width: 0; }
.event-detail .event-date,
.event-detail .venue {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  align-items: start;
  margin: 0;
  color: var(--ink);
  font-size: var(--text-small);
  font-weight: 600;
  line-height: 1.45;
}
.event-detail .event-date svg,
.event-detail .venue svg,
.event-fact > svg,
.map-link svg { flex-shrink: 0; color: var(--muted); }
.event-detail .venue { overflow-wrap: anywhere; }
.map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  min-height: 32px;
  color: var(--accent);
  font-size: var(--text-small);
  font-weight: 700;
}
.map-link:hover { text-decoration: none; color: var(--selected-ink); }
.event-copy-heading {
  display: none;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 16px 0 8px;
}
.event-detail .description {
  margin-top: 12px;
  color: var(--ink);
  font-size: 1.0625rem;
  line-height: 1.65;
}
.event-source-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: var(--text-small);
  font-weight: 600;
}
.event-source-line { color: var(--muted); }
.event-source-line a { min-height: 32px; display: inline-flex; align-items: center; }
.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.event-detail .save-action,
.event-actions .share,
.event-actions a {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: var(--text-small);
  font-weight: 700;
  text-decoration: none;
}
.event-detail .save-action {
  background: var(--accent);
  color: #fff;
  border: 0;
}
.event-detail .save-action svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}
.event-detail .save-action[aria-pressed="true"] svg { fill: currentColor; }
.event-detail .save-action:hover { text-decoration: none; filter: brightness(1.05); }
.event-actions .share,
.event-actions a {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}
.event-actions .share:hover,
.event-actions a:hover {
  border-color: var(--border-hover);
  text-decoration: none;
  background: var(--surface);
}
.event-actions .share.is-copied { border-color: var(--green); color: var(--green); }
.event-actions .ticket { color: var(--accent); }
.event-sidebar {
  min-width: 0;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
}
.event-sidebar h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.event-facts-list { margin: 0; }
.event-fact {
  display: grid;
  grid-template-columns: 22px 1fr;
  column-gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.event-fact:first-child { border-top: 0; }
.event-fact > svg { grid-column: 1; grid-row: 1 / span 2; margin-top: 2px; }
.event-fact dt {
  grid-column: 2;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 600;
}
.event-fact dd {
  grid-column: 2;
  margin: 2px 0 0;
  font-size: var(--text-small);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.event-fact-note { color: var(--muted); font-weight: 600; }
.event-weather-card {
  display: block;
  margin-top: 8px;
  padding: 14px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--ink);
  font: 400 var(--text-small)/1.45 var(--sans);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
  white-space: normal;
}
.event-weather-card h3 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: 700;
}
.event-weather-body { display: flex; align-items: center; gap: 14px; }
.event-weather-now {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  flex-shrink: 0;
  font-weight: 750;
  line-height: 1;
  color: var(--ink);
}
.event-weather-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  flex-shrink: 0;
}
.event-weather-icon .emoji { font-size: 1.75rem; line-height: 1; }
.event-weather-icon .air-dot { width: 1.35rem; height: 1.35rem; }
.event-weather-temp {
  font-size: 2rem;
  font-weight: 750;
  letter-spacing: -0.04em;
  line-height: 1;
  min-width: 3.25rem;
  color: var(--ink);
}
.event-weather-details { color: var(--ink); font-size: var(--text-small); font-weight: 600; }
.event-weather-details p { margin: 0; }
.event-weather-range { margin-top: 2px; color: var(--muted); font-size: var(--text-caption); font-weight: 600; white-space: nowrap; }
.event-detail .detail-image {
  margin: 0;
  min-width: 0;
}
.event-detail .detail-image a { display: block; }
.event-detail .detail-image a:hover { text-decoration: none; }
.event-detail .detail-image img {
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center top;
  border-radius: 16px;
  background: var(--surface);
}
.event-detail .detail-image figcaption {
  margin-top: 8px;
  font-size: var(--text-caption);
}
.event-detail .detail-image figcaption summary {
  cursor: pointer;
  width: fit-content;
  max-width: 100%;
}
.event-detail .detail-image figcaption details[open] summary { margin-bottom: 6px; }
.event-detail .detail-image[hidden] { display: none; }
@media (min-width: 901px) {
  .event-detail .event {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 280px);
    gap: 36px;
    padding-top: 12px;
  }
  .event-sidebar { position: sticky; top: 16px; }
  .event-page-lead {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "stack";
    gap: 18px 28px;
    align-items: start;
  }
  .event-page-stack { grid-area: stack; }
  .event-page-meta { display: none; }
  .event-detail .event:has(.detail-image:not([hidden])) .event-page-lead {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 42%);
    grid-template-areas: "stack image";
  }
  .event-detail .event:has(.detail-image:not([hidden])) .detail-image { grid-area: image; }
  .event-detail .event:not(:has(.detail-image:not([hidden]))) .event-copy-heading { display: block; }
}
@media (max-width: 900px) {
  .event-page-lead { display: flex; flex-direction: column; }
  .event-detail .detail-image { order: -1; }
  .event-facts-list,
  .event-sidebar h2 { display: none; }
  .event-sidebar:not(:has(.event-weather-card)) { display: none; }
  html.hide-event-weather .event-sidebar:not(:has(.event-air)) { display: none; }
  .event-sidebar { padding: 16px; }
}
@media (max-width: 720px) {
  .event-detail .event { padding: 0 0 24px; gap: 20px; }
  .event-detail h1 { font-size: 1.5rem; }
  .event-actions .save-action { flex: 1 1 100%; }
  .event-actions .share,
  .event-actions a { flex: 1 1 calc(50% - 10px); }
  .event-detail .detail-image img { max-height: 280px; }
}
:root[data-theme="dark"] .event-detail .save-action { color: #141b25; }
:root[data-theme="dark"] .event-detail .category { color: var(--category); }

/* City listing: landmark-led composition shared with the illustrated homepage. */
.city-page { background: color-mix(in srgb, var(--paper) 96%, #f2f6fb); }
.city-page .header-feed,
.city-page .city-hero,
.city-page .city-feed,
.city-page .footer { width: min(1320px, 100% - 64px); }
.city-page .header-feed { min-height: 94px; padding: 18px 0; border-bottom: 0; grid-template-columns: auto minmax(0, 1fr); }
.city-page .header-feed .brand-lockup { grid-column: 1; grid-row: 1; }
.city-page .header-feed .header-end { grid-column: 2; grid-row: 1; gap: 12px; }
.city-page .header-feed .header-tools { flex: 1; justify-content: flex-end; }
.city-page .header-feed .search { flex: 1; max-width: 520px; }
.city-page .header-feed .search input { width: 100%; }
.city-page .city-picker summary { min-width: 118px; border: 1px solid var(--line); background: var(--paper); }

.city-hero { position: relative; height: 380px; margin: 0 auto 18px; overflow: hidden; border-radius: 18px; background: #294c64; color: white; box-shadow: 0 18px 44px #18233414; isolation: isolate; }
.city-hero > img { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
.city-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #081522dc 0%, #0a17249c 42%, #0a172431 72%, #08152265 100%), linear-gradient(0deg, #0815228a 0%, transparent 48%); }
.city-hero-copy { position: absolute; top: 42px; left: 54px; width: min(650px, 58%); }
.city-hero-kicker { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 700; }
.city-hero-kicker svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.city-hero-picker { position: relative; z-index: 4; width: fit-content; font-weight: 700; }
.city-hero-picker summary { display: inline-flex; align-items: center; justify-content: flex-start; gap: 9px; min-height: 38px; padding: 0 12px; border: 1px solid #ffffff4d; border-radius: 999px; background: #0715254d; color: white; list-style: none; backdrop-filter: blur(7px); }
.city-page .city-hero-picker summary { min-width: 0; border-color: #ffffff4d; background: #0715254d; color: white; }
.city-hero-picker summary::after { width: 7px; height: 7px; }
.city-hero-picker summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.city-hero-picker nav { color: var(--ink); }
.city-hero-picker nav { top: calc(100% + 7px); left: 0; z-index: 10; max-height: min(260px, calc(100vh - 112px)); max-height: min(260px, calc(100dvh - 112px)); transform: none; }
.city-hero h1 { margin-top: 12px; font-size: clamp(3rem, 4.7vw, 4.55rem); font-weight: 800; letter-spacing: -.052em; line-height: .98; text-shadow: 0 4px 28px #06111d7d; }
.city-hero h1 span { display: block; }
.city-hero h1 em { color: #ff6289; font-style: normal; }
.city-hero-intro { margin-top: 12px; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 600; text-shadow: 0 2px 14px #06111dcc; }
html[lang="en"] .city-hero h1 { font-size: clamp(2.65rem, 4vw, 4rem); }
.city-hero-conditions { position: absolute; top: 24px; right: 28px; display: flex; flex-direction: column; gap: 12px; min-width: 235px; padding: 18px 20px; border: 1px solid #ffffff88; border-radius: 15px; background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink); box-shadow: 0 14px 38px #0715252e; backdrop-filter: blur(9px); }
.city-hero-conditions .condition-cluster { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.city-hero-conditions .weather,
.city-hero-conditions .condition { color: var(--ink); }
.city-hero-conditions .weather { font-size: 1.15rem; }
.city-hero-conditions .sun-times { padding-top: 10px; border-top: 1px solid var(--line); }
.city-hero-search { position: absolute; bottom: 28px; left: 54px; display: grid; grid-template-columns: minmax(0, 1fr) 150px; width: min(620px, calc(100% - 108px)); padding: 5px; border: 1px solid #ffffff85; border-radius: 999px; background: color-mix(in srgb, var(--paper) 96%, transparent); box-shadow: 0 12px 34px #07152538; }
.city-hero-search label { display: flex; align-items: center; gap: 12px; min-width: 0; padding-left: 17px; }
.city-hero-search svg { flex: 0 0 22px; width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; }
.city-hero-search input { width: 100%; min-width: 0; height: 48px; padding: 0; border: 0; outline: 0; background: transparent; }
.city-hero-search button { border: 0; border-radius: 999px; background: linear-gradient(135deg, #ef527a, #dd315c); color: white; font-weight: 700; box-shadow: 0 8px 18px #d92e5835; }

.city-page .city-feed { margin: auto; }
.city-page #filters { height: 0; overflow: hidden; }
.city-control-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 8px 0 14px; }
.city-control-row .day-navigation { flex: 0 1 auto; justify-content: flex-start; width: max-content; max-width: 100%; padding: 4px 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 24px #18233408; }
.city-control-row .day-links { display: flex; flex: 0 1 auto; }
.city-control-row .day-navigation a { min-width: 84px; }
.city-control-row .day-navigation .arrow { min-width: 34px; }
.city-control-row .calendar { width: 48px; border-left: 1px solid var(--line); }
.city-control-row .view-toolbar { flex: 0 0 auto; margin: 0; }
.city-control-row .view-switch { padding: 0; border: 0; gap: 10px; background: transparent; }
.city-control-row .view-switch a { min-width: 126px; border: 1px solid transparent; background: var(--surface); }
.city-control-row .view-switch a[aria-current] { border-color: color-mix(in srgb, var(--accent) 34%, var(--line)); background: color-mix(in srgb, var(--selected) 60%, var(--paper)); box-shadow: none; }
.city-page .categories { gap: 12px; padding: 0 0 18px; }
.city-page .categories a { min-height: 44px; padding: 9px 18px; box-shadow: inset 0 0 0 1px transparent; }
.city-page .categories a[aria-current] { box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 20%, transparent); }
.city-feed-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 0 0 16px; }
.city-page .feed-heading { padding: 0; }
.city-page .feed-heading h2 { font-size: 2rem; letter-spacing: -.035em; line-height: 1.15; }
.city-sort-copy { padding-bottom: 3px; color: var(--muted); font-size: var(--text-small); white-space: nowrap; }
.city-sort-copy strong { color: var(--ink); }
.city-page .active-filters { margin-bottom: 16px; }
.city-page .event-list { gap: 10px; }
.city-page .event { min-height: 112px; border-radius: 13px; padding: 13px 16px; box-shadow: 0 8px 24px #18233406; }
.city-page .event:hover { box-shadow: 0 10px 28px #1823340e; }
.city-page .event-time { flex-basis: 82px; }
.city-page .event-body { padding-right: 0; }
.city-page .event:has(.event-thumbnail) .event-body { padding-right: 250px; }
.city-page .event-thumbnail { right: 76px; width: 188px; height: 88px; border-radius: 9px; }
.city-page .event h2 { font-size: 1.18rem; }
.city-page .event .save { right: 8px; }
.city-page .event-toggle { right: 47px; }
.city-page .suggestion-invite { margin-top: 18px; }

@media (max-width: 1050px) {
  .city-page .header-feed,
  .city-page .city-hero,
  .city-page .city-feed,
  .city-page .footer { width: min(100% - 40px, 900px); }
  .city-page .header-feed .search { max-width: 360px; }
  .city-hero-copy { width: 58%; }
  .city-control-row { align-items: stretch; flex-direction: column; gap: 10px; }
  .city-control-row .day-navigation { align-self: flex-start; width: max-content; max-width: 100%; }
  .city-control-row .view-toolbar, .city-control-row .view-switch { width: 100%; }
  .city-control-row .view-switch a { flex: 1; }
}

@media (max-width: 680px) {
  .city-page .header-feed,
  .city-page .city-hero,
  .city-page .city-feed,
  .city-page .footer { width: calc(100% - 24px); }
  .city-page .header-feed { min-height: 72px; padding: 12px 0; grid-template-columns: 1fr auto; }
  .city-page .header-feed .header-end { display: block; grid-column: 2; grid-row: 1; }
  .city-page .header-feed .header-tools { display: flex; }
  .city-page .header-feed .city-picker { display: none; }
  .city-page .header-feed .search { flex: 0 0 auto; max-width: none; }
  .city-page .header-feed .search input { width: 0; }
  .city-hero { height: 410px; margin-bottom: 12px; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
  .city-hero > img, .city-hero-shade { height: 320px; border-radius: 17px; }
  .city-hero-shade { background: linear-gradient(90deg, #081522dc 0%, #0a172482 68%, #08152236 100%), linear-gradient(0deg, #0815227d 0%, transparent 48%); }
  .city-hero-copy { top: 24px; left: 22px; width: calc(100% - 44px); }
  .city-hero-kicker { font-size: .95rem; }
  .city-hero h1 { margin-top: 15px; font-size: clamp(2.35rem, 11vw, 3rem); line-height: 1.02; }
  html[lang="en"] .city-hero h1 { font-size: clamp(2rem, 9.2vw, 2.55rem); }
  .city-hero-intro { max-width: 95%; margin-top: 14px; font-size: 1rem; }
  html[lang="en"] .city-hero-intro { display: none; }
  .city-hero-conditions { top: 254px; right: 16px; left: 16px; flex-direction: row; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 11px 13px; border-radius: 999px; overflow-x: auto; scrollbar-width: none; }
  .city-hero-conditions::-webkit-scrollbar { display: none; }
  .city-hero-conditions .condition-cluster { flex-direction: row; gap: 10px; }
  .city-hero-conditions .weather, .city-hero-conditions .condition { font-size: .72rem; }
  .city-hero-conditions .weather { font-size: .82rem; }
  .city-hero-conditions .air-label { display: none; }
  .city-hero-conditions .sun-times { flex-shrink: 0; gap: 9px; padding: 0 0 0 10px; border-top: 0; border-left: 1px solid var(--line); }
  .city-hero-search { top: 332px; right: 0; bottom: auto; left: 0; grid-template-columns: minmax(0, 1fr) 104px; width: 100%; padding: 5px; border-color: var(--line); background: var(--paper); }
  .city-hero-search label { padding-left: 12px; }
  .city-hero-search input { height: 50px; font-size: var(--text-small); }
  .city-control-row { margin-top: 0; }
  .city-control-row .day-navigation { overflow: hidden; padding-inline: 2px; }
  .city-control-row .day-links { min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .city-control-row .day-navigation a { min-width: 62px; padding-inline: 6px; }
  .city-control-row .day-navigation .arrow { min-width: 28px; padding-inline: 4px; }
  .city-control-row .calendar { width: 45px; }
  .city-page .categories { gap: 8px; padding-bottom: 16px; mask-image: linear-gradient(to right, #000 calc(100% - 24px), transparent); }
  .city-page .categories a { min-height: 42px; padding: 8px 14px; }
  .city-feed-heading { align-items: flex-end; flex-wrap: wrap; gap: 6px 12px; padding-bottom: 14px; }
  .city-page .feed-heading { flex: 1 1 190px; }
  .city-page .feed-heading h2 { font-size: 1.65rem; }
  .city-sort-copy { margin-left: auto; font-size: .75rem; }
  .city-page .event { gap: 10px; padding: 12px; border-radius: 12px; }
  .city-page .event-time { flex-basis: 60px; }
  .city-page .event-body { padding-right: 0; }
  .city-page .event:has(.event-thumbnail) .event-body { padding-right: 114px; }
  .city-page .event-thumbnail { display: block !important; top: 12px; right: 48px; bottom: auto; left: auto; width: 100px; height: 82px; transform: none; }
  .city-page .event h2 { font-size: 1.04rem; }
  .city-page .event .save { right: 1px; }
  .city-page .event-toggle { right: 35px; }
  .city-page .event:has(.event-more[open]):has(.event-thumbnail) .event-time { padding-bottom: 0; }
  .city-page .event:has(.event-more[open]):has(.event-thumbnail) .event-body { min-height: 100px; }
}

/* Event detail: image-led hero, compact facts, and more events from the city. */
.event-detail-page { background: color-mix(in srgb, var(--paper) 96%, #f2f6fb); }
.event-detail-page .header,
.event-detail-page .event-detail,
.event-detail-page .footer { width: min(1180px, 100% - 48px); }
.event-detail-page .header { min-height: 82px; padding-block: 14px; }
.event-detail-page .back-to-list { margin: 4px 0 8px; color: var(--muted); font-weight: 600; }
.event-detail-page .event-detail > .event-page {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 16px;
  padding: 0 0 28px;
}
.event-page-main { min-width: 0; }
.event-visual { position: relative; min-height: 400px; overflow: hidden; border-radius: 18px; background: linear-gradient(145deg, color-mix(in srgb, var(--category) 48%, #233b58), color-mix(in srgb, var(--category) 18%, #f0b277)); isolation: isolate; }
.event-visual .detail-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; margin: 0; }
.event-visual .detail-image > a { width: 100%; height: 100%; }
.event-visual .detail-image img { width: 100%; height: 100%; max-height: none; object-fit: cover; object-position: center; border-radius: 0; }
.event-visual-art { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding-bottom: 4.5rem; font-size: 10rem; line-height: 1; filter: drop-shadow(0 8px 20px #07132152); transform: rotate(-6deg); pointer-events: none; user-select: none; }
.event-visual.has-event-image .event-visual-art { display: none; }
.event-visual-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #071321f2 0%, #081523b0 37%, transparent 72%), linear-gradient(90deg, #07132152, transparent 66%); }
.event-visual:not(.has-event-image) .event-visual-shade { background: linear-gradient(0deg, #071321c4 0%, #08152355 30%, transparent 62%); }
.event-page-head { position: absolute; right: 26px; bottom: 24px; left: 26px; z-index: 2; color: white; }
.event-detail .event-page-head .event-top { margin-bottom: 12px; }
.event-detail .event-page-head .event-top > span { border: 1px solid #ffffff45; background: #ffffffea; color: #142135; box-shadow: 0 4px 18px #07132124; }
.event-detail .event-page-head .category { color: var(--category); }
.event-detail .event-page-head h1 { max-width: 780px; color: white; font-size: clamp(2rem, 3.5vw, 3.25rem); line-height: 1.05; text-shadow: 0 3px 22px #071321b8; }
.event-visual .detail-image figcaption { position: absolute; top: 14px; right: 14px; z-index: 4; margin: 0; color: white; }
.event-visual .detail-image figcaption summary { padding: 5px 9px; border: 1px solid #ffffff55; border-radius: 999px; background: #0713217d; backdrop-filter: blur(7px); }
.event-visual .detail-image figcaption details[open] { width: min(360px, calc(100vw - 70px)); padding: 10px; border-radius: 12px; background: color-mix(in srgb, var(--paper) 94%, transparent); color: var(--ink); box-shadow: 0 12px 35px #07132140; }
.event-visual .detail-image figcaption details[open] summary { border: 0; background: transparent; color: var(--ink); backdrop-filter: none; }
.event-detail-page .event-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 14px; }
.event-detail-page .event-actions > * { width: 100%; min-height: 50px; }
.event-description-panel { margin-top: 14px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.event-description-panel .event-copy-heading { display: block; margin: 0 0 8px; font-size: 1.15rem; }
.event-description-panel .description { margin-top: 0; }
.event-detail-page .event-correction { margin-top: 10px; text-align: right; }
.event-detail-page .event-sidebar { position: sticky; top: 16px; border-radius: 16px; box-shadow: 0 10px 30px #18233408; }

.related-events { margin: 4px 0 34px; }
.related-events-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 12px; }
.related-events-heading h2 { font-size: 1.35rem; letter-spacing: -.025em; }
.related-events-heading > a { color: var(--accent); font-size: var(--text-small); font-weight: 700; }
.related-events-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.related-event { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); box-shadow: 0 8px 24px #18233408; }
.related-event-media { position: relative; display: block; height: 116px; overflow: hidden; background: linear-gradient(145deg, color-mix(in srgb, var(--category) 48%, #233b58), color-mix(in srgb, var(--category) 18%, #f0b277)); }
.related-event-media:hover { text-decoration: none; }
.related-event-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.related-event-art { position: absolute; inset: 0; display: grid; place-items: center; font-size: 4.2rem; line-height: 1; filter: drop-shadow(0 5px 12px #07132152); transform: rotate(-6deg); pointer-events: none; }
.related-event-date { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; padding: 5px 8px; border-radius: 9px; background: #fffffff0; color: var(--accent); font-size: .66rem; font-weight: 700; line-height: 1.1; text-transform: uppercase; box-shadow: 0 4px 14px #0713211f; }
.related-event-date b { color: var(--muted); font-size: .62rem; }
.related-event-category { position: absolute; bottom: 7px; left: 8px; padding: 3px 7px; border-radius: 999px; background: #fffffff0; color: var(--category); font-size: .68rem; font-weight: 700; }
.related-event-copy { padding: 11px 12px 13px; }
.related-event-copy h3 { margin: 0; font-size: .94rem; line-height: 1.2; }
.related-event-copy h3 a:hover { color: var(--accent); }
.related-event-venue,
.related-event-time { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--muted); font-size: .75rem; line-height: 1.25; }
.related-event-venue svg,
.related-event-time svg { flex: 0 0 14px; width: 14px; height: 14px; }
.related-event-time { color: var(--ink); font-weight: 650; }

@media (max-width: 900px) {
  .event-detail-page .event-detail > .event-page { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
  .event-detail-page .event-page-main { display: contents; }
  .event-visual { order: 1; min-height: 390px; }
  .event-description-panel { order: 2; margin-top: 0; }
  .event-detail-page .event-sidebar { position: static; order: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 14px; }
  .event-detail-page .event-sidebar h2 { display: none; }
  .event-detail-page .event-facts-list { display: block; grid-column: 1 / -1; width: 100%; min-width: 0; }
  .event-detail-page .event-actions { order: 4; margin-top: 0; }
  .event-detail-page .event-correction { order: 5; margin: 0; }
  .event-detail-page .event-weather-card { min-width: 0; margin-top: 0; }
  .related-events-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .event-detail-page .header,
  .event-detail-page .event-detail,
  .event-detail-page .footer { width: calc(100% - 24px); }
  .event-detail-page .header { min-height: 68px; padding-block: 10px; }
  .event-detail-page .header .city-picker { display: none; }
  .event-detail-page .back-to-list { min-height: 38px; margin: 0; }
  .event-detail-page .event-detail > .event-page { padding-bottom: 18px; }
  .event-visual { min-height: 360px; border-radius: 15px; }
  .event-page-head { right: 15px; bottom: 16px; left: 15px; }
  .event-detail .event-page-head h1 { font-size: clamp(1.65rem, 8vw, 2.15rem); line-height: 1.07; }
  .event-detail .event-page-head .event-top { gap: 5px; margin-bottom: 9px; }
  .event-detail .event-page-head .event-top > span { padding: 4px 8px; font-size: .7rem; }
  .event-visual-art { padding-bottom: 5.5rem; font-size: 7.25rem; }
  .event-visual .detail-image figcaption { top: 8px; right: 8px; }
  .event-detail-page .event-sidebar { grid-template-columns: 1fr 1fr; border-radius: 14px; }
  .event-detail-page .event-fact { padding: 9px 0; }
  .event-detail-page .event-weather-card { padding: 10px; }
  .event-detail-page .event-weather-body { min-width: 0; gap: 6px; }
  .event-detail-page .event-weather-now { min-width: 0; gap: 4px; }
  .event-detail-page .event-weather-icon { width: 1.35rem; height: 1.35rem; }
  .event-detail-page .event-weather-icon .emoji { font-size: 1.35rem; }
  .event-detail-page .event-weather-temp { min-width: 0; font-size: 1.65rem; }
  .event-detail-page .event-weather-details { min-width: 0; font-size: .72rem; overflow-wrap: anywhere; }
  .event-detail-page .event-weather-range { font-size: .65rem; white-space: normal; }
  .event-detail-page .event-actions { grid-template-columns: 1fr 1fr; gap: 8px; }
  .event-detail-page .event-actions .save-action { grid-column: 1 / -1; }
  .event-detail-page .event-actions > * { min-height: 46px; padding: 8px 10px; }
  .event-description-panel { padding: 16px; border: 0; background: transparent; }
  .event-description-panel .description { font-size: .96rem; line-height: 1.5; }
  .related-events { margin-bottom: 24px; }
  .related-events-heading h2 { font-size: 1.15rem; }
  .related-events-heading > a { font-size: .72rem; white-space: nowrap; }
  .related-events-grid { grid-template-columns: 1fr; gap: 8px; }
  .related-event { display: grid; grid-template-columns: 118px minmax(0, 1fr); }
  .related-event-media { height: 100%; min-height: 112px; }
  .related-event-art { font-size: 3.2rem; }
  .related-event-date { padding: 4px 6px; }
  .related-event-category { display: none; }
}

/* About: a warmer editorial expression of the city-guide interface. */
.about-page { background: color-mix(in srgb, var(--paper) 96%, #f2f6fb); }
.about-page .about-header,
.about-page .about-main,
.about-page .footer { width: min(1320px, 100% - 64px); }
.about-header { min-height: 94px; padding: 18px 0; border-bottom: 0; grid-template-columns: 1fr auto; }
.about-header .header-tools { grid-column: 2; }
.about-main { padding-bottom: 56px; }
.about-kicker,
.about-section-index {
  color: var(--accent);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.about-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, .94fr);
  align-items: center;
  min-height: 550px;
  padding: 58px 0 72px;
  overflow: hidden;
}
.about-hero-copy { position: relative; z-index: 2; max-width: 735px; }
.about-hero h1 {
  max-width: 760px;
  margin-top: 17px;
  font-size: clamp(3.4rem, 5.7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .94;
}
.about-hero h1 em { color: #e23c67; font-style: normal; }
.about-lead { max-width: 650px; margin-top: 26px; color: var(--muted); font-size: clamp(1.08rem, 1.55vw, 1.3rem); line-height: 1.5; }
.about-primary {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  margin-top: 31px;
  padding: 0 21px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ea416d, #d92e58);
  color: #fff;
  font-weight: 750;
  box-shadow: 0 10px 24px #d92e5829;
}
.about-primary:hover { text-decoration: none; filter: brightness(1.04); }
.about-primary span { font-size: 1.25rem; transition: transform 160ms ease; }
.about-primary:hover span { transform: translateX(3px); }
.about-scene {
  position: relative;
  justify-self: end;
  width: min(100%, 570px);
  aspect-ratio: 1 / .87;
  overflow: hidden;
  border-radius: 48% 52% 45% 55% / 55% 42% 58% 45%;
  background: color-mix(in srgb, #ffccd8 62%, var(--paper));
  isolation: isolate;
}
.about-scene::before,
.about-scene::after { content: ""; position: absolute; z-index: -1; border-radius: 999px; }
.about-scene::before { right: -70px; bottom: 18px; width: 255px; height: 255px; background: #6da3d2; opacity: .32; }
.about-scene::after { top: 20px; left: 22px; width: 86px; height: 86px; background: #f4b44e; opacity: .9; }
.about-orbit { position: absolute; border: 1px solid color-mix(in srgb, var(--ink) 25%, transparent); border-radius: 50%; }
.about-orbit-one { inset: 48px 33px 32px 43px; transform: rotate(-17deg); }
.about-orbit-two { inset: 83px 65px 61px 82px; transform: rotate(16deg); }
.about-day-card {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  grid-template-columns: 124px 1fr;
  width: min(430px, calc(100% - 68px));
  min-height: 270px;
  overflow: hidden;
  border: 1px solid #ffffffa3;
  border-radius: 20px;
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  box-shadow: 0 24px 58px #1823342b;
  transform: translate(-50%, -50%) rotate(-4deg);
  backdrop-filter: blur(10px);
}
.about-card-date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #17253a; color: white; }
.about-card-date span { color: #ff8eaa; font-size: .7rem; font-weight: 800; letter-spacing: .16em; }
.about-card-date strong { margin-block: 3px; font-size: 4.25rem; letter-spacing: -.07em; line-height: 1; }
.about-card-date small { font-weight: 700; letter-spacing: .12em; }
.about-card-events { display: flex; flex-direction: column; justify-content: center; gap: 0; padding: 25px; }
.about-card-events span { display: grid; grid-template-columns: 9px 50px 1fr; align-items: center; gap: 9px; min-height: 62px; border-bottom: 1px solid var(--line); font-size: .94rem; }
.about-card-events span:last-child { border-bottom: 0; }
.about-card-events b { font-variant-numeric: tabular-nums; }
.about-dot { width: 8px; height: 8px; border-radius: 50%; background: #e23c67; }
.about-dot-culture { background: #3676ca; }
.about-dot-community { background: #4f895e; }
.about-pin,
.about-spark { position: absolute; display: grid; place-items: center; border-radius: 50%; color: white; box-shadow: 0 10px 26px #18233420; }
.about-pin { right: 8%; bottom: 10%; width: 58px; height: 58px; background: #e23c67; font-size: 1.65rem; transform: rotate(9deg); }
.about-spark { top: 9%; right: 11%; width: 43px; height: 43px; background: #17253a; font-size: 1rem; }

.about-purpose {
  display: grid;
  grid-template-columns: 120px minmax(280px, .95fr) minmax(320px, 1.05fr);
  gap: clamp(26px, 5vw, 78px);
  align-items: start;
  padding: 76px 0;
  border-top: 1px solid var(--line);
}
.about-purpose h2,
.about-process h2,
.about-contribute h2 { font-size: clamp(2.2rem, 3.7vw, 3.9rem); letter-spacing: -.05em; line-height: 1; }
.about-purpose > p:last-child { max-width: 570px; padding-top: 7px; color: var(--muted); font-size: 1.1rem; line-height: 1.7; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.about-values article { position: relative; min-height: 290px; padding: 29px; overflow: hidden; border: 1px solid var(--line); border-radius: 17px; background: var(--paper); box-shadow: 0 13px 30px #1823340a; }
.about-values article:nth-child(2) { background: #17253a; color: white; }
.about-values article:nth-child(2) > p:last-child { color: #b8c3d2; }
.about-values article:nth-child(3) { background: color-mix(in srgb, #ffe0e8 67%, var(--paper)); }
.about-value-icon { position: absolute; top: 22px; right: 24px; color: var(--accent); font-size: 2rem; }
.about-values article:nth-child(2) .about-value-icon { color: #ff8eaa; }
.about-number { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .12em; }
.about-values h2 { margin-top: 91px; font-size: 1.55rem; letter-spacing: -.035em; }
.about-values article > p:last-child { max-width: 330px; margin-top: 11px; color: var(--muted); line-height: 1.55; }

.about-process { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(420px, 1.05fr); gap: clamp(48px, 8vw, 120px); padding: 110px 0; }
.about-process-heading h2 { margin-top: 18px; }
.about-process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.about-process li { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.about-process li > span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--selected); color: var(--selected-ink); font-size: .82rem; font-weight: 800; }
.about-process h3 { margin: 0 0 6px; font-size: 1.12rem; }
.about-process li p { color: var(--muted); line-height: 1.55; }
.about-contribute { display: grid; grid-template-columns: 1fr .75fr; gap: clamp(40px, 9vw, 145px); align-items: end; padding: clamp(44px, 6vw, 76px); border-radius: 24px; background: #17253a; color: white; }
.about-contribute .about-kicker { color: #ff8eaa; }
.about-contribute h2 { margin-top: 18px; }
.about-contribute > div:last-child p { color: #b8c3d2; font-size: 1.05rem; line-height: 1.65; }
.about-contribute a { display: inline-flex; align-items: center; gap: 16px; margin-top: 24px; color: #ff8eaa; font-weight: 750; }
.about-contribute a:hover { text-decoration: none; color: white; }
.about-operator { display: grid; grid-template-columns: minmax(280px, .8fr) 1.2fr; gap: 50px; padding: 76px 0 38px; }
.about-operator h2 { margin-top: 12px; font-size: 1.75rem; letter-spacing: -.035em; }
.about-operator address { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-top: 2px; color: var(--muted); font-style: normal; }
.about-operator address strong { color: var(--ink); }
.about-operator address a { margin-top: 10px; color: var(--accent); font-weight: 750; }

:root[data-theme="dark"] .about-scene { background: color-mix(in srgb, #713246 72%, var(--paper)); }
:root[data-theme="dark"] .about-values article:nth-child(3) { background: color-mix(in srgb, #7a2e48 42%, var(--paper)); }
:root[data-theme="dark"] .about-day-card { border-color: #ffffff24; }

@media (prefers-reduced-motion: no-preference) {
  .about-day-card { animation: about-arrive 650ms cubic-bezier(.2, .8, .2, 1) both; }
  .about-pin, .about-spark { animation: about-pop 500ms 260ms cubic-bezier(.2, .8, .2, 1.25) both; }
  @keyframes about-arrive { from { opacity: 0; transform: translate(-46%, -46%) rotate(1deg); } }
  @keyframes about-pop { from { opacity: 0; scale: .65; } }
}

@media (max-width: 980px) {
  .about-page .about-header,
  .about-page .about-main,
  .about-page .footer { width: min(100% - 40px, 900px); }
  .about-hero { grid-template-columns: minmax(0, 1fr) 390px; min-height: 510px; }
  .about-hero h1 { font-size: clamp(3rem, 6.4vw, 4.5rem); }
  .about-scene { margin-right: -75px; }
  .about-purpose { grid-template-columns: 90px 1fr; }
  .about-purpose > p:last-child { grid-column: 2; }
  .about-values article { min-height: 310px; padding: 23px; }
  .about-process { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 48px; }
}

@media (min-width: 721px) and (max-width: 820px) {
  .about-hero { grid-template-columns: minmax(0, 1fr) 340px; }
  .about-scene { width: 350px; margin-right: 0; }
}

@media (max-width: 720px) {
  .about-page .about-header,
  .about-page .about-main,
  .about-page .footer { width: calc(100% - 24px); }
  .about-header { min-height: 72px; padding: 12px 0; }
  .about-hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding: 42px 0 58px; overflow: visible; }
  .about-hero h1 { margin-top: 12px; font-size: clamp(2.75rem, 13vw, 4.1rem); line-height: .96; }
  .about-lead { margin-top: 20px; font-size: 1rem; }
  .about-primary { margin-top: 24px; }
  .about-scene { align-self: center; width: min(440px, 100%); margin: 38px 0 0; }
  .about-day-card { grid-template-columns: 96px 1fr; width: calc(100% - 42px); min-height: 220px; }
  .about-card-date strong { font-size: 3.45rem; }
  .about-card-events { padding: 16px; }
  .about-card-events span { grid-template-columns: 8px 45px 1fr; gap: 6px; min-height: 51px; font-size: .82rem; }
  .about-pin { width: 48px; height: 48px; font-size: 1.4rem; }
  .about-purpose { display: block; padding: 58px 0 46px; }
  .about-purpose h2 { margin-top: 18px; }
  .about-purpose > p:last-child { margin-top: 22px; padding: 0; font-size: 1rem; }
  .about-values { grid-template-columns: 1fr; gap: 10px; }
  .about-values article { min-height: 226px; padding: 24px; }
  .about-values h2 { margin-top: 56px; }
  .about-process { display: block; padding: 76px 0; }
  .about-process ol { margin-top: 36px; }
  .about-contribute { grid-template-columns: 1fr; gap: 28px; padding: 34px 25px; border-radius: 18px; }
  .about-contribute h2 { font-size: 2.35rem; }
  .about-operator { grid-template-columns: 1fr; gap: 26px; padding: 56px 0 26px; }
  .about-operator address span { overflow-wrap: anywhere; }
}
