/* Design tokens */
:root {
  --paper: #f3f4f9;
  --surface: #ffffff;
  --ink: #1b1938;
  --muted: #5d6080;
  --line: #dcdfeb;
  --violet: #4a39cc;
  --on-violet: #ffffff;
  --marquee: #ffd43b;
  --on-marquee: #1b1938;
  --danger: #c4253f;
  --success-bg: #e3f6ea;
  --success-ink: #14532d;

  --font-display: "Bricolage Grotesque", "Avenir Next", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius-s: 8px;
  --radius-m: 14px;
  --gutter: clamp(16px, 4vw, 40px);
  --measure: 68ch;
  color-scheme: light;
}

/* Dark palette: follows the system unless the visitor picked a theme (data-theme on <html>, kept in localStorage) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #12112a;
    --surface: #1b1a38;
    --ink: #ecebfa;
    --muted: #a4a5c4;
    --line: #2f2d55;
    --violet: #a99cff;
    --on-violet: #12112a;
    --success-bg: #173b26;
    --success-ink: #c6f0d4;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #12112a;
  --surface: #1b1a38;
  --ink: #ecebfa;
  --muted: #a4a5c4;
  --line: #2f2d55;
  --violet: #a99cff;
  --on-violet: #12112a;
  --success-bg: #173b26;
  --success-ink: #c6f0d4;
  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.55 var(--font-body);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1em; }

a { color: var(--violet); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }

img { max-width: 100%; height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--violet);
  outline-offset: 2px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.muted { color: var(--muted); }

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

/* Header */
.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  min-height: 64px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.wordmark-dot {
  width: 0.42em;
  height: 0.42em;
  border-radius: 50%;
  background: var(--marquee);
  box-shadow: inset 0 0 0 2px var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.1rem;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a, .nav .link-button {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.nav a:hover, .nav .link-button:hover { color: var(--violet); }

.nav form { margin: 0; }

.link-button {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  cursor: pointer;
  color: var(--violet);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font: 600 1rem/1 var(--font-body);
  padding: 0.8em 1.25em;
  border-radius: 999px;
  border: 2px solid var(--violet);
  background: var(--violet);
  color: var(--on-violet);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover { filter: brightness(1.08); }

.btn-small { padding: 0.55em 1em; font-size: 0.95rem; }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-quiet:hover { border-color: var(--ink); filter: none; }

.btn-danger { background: var(--danger); border-color: var(--danger); color: #fff; }

.nav .btn, .nav .btn:hover { color: var(--on-violet); }

/* Hero: the city is typed straight into the headline */
.hero {
  padding: clamp(40px, 9vw, 104px) 0 clamp(32px, 6vw, 64px);
}

.hero-title {
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin: 0 0 0.45em;
  max-width: 15ch;
}

.hero-title label { cursor: text; }

/* Beats the generic input[type="text"] field styles */
.hero-title input.hero-city {
  font: inherit;
  letter-spacing: inherit;
  color: var(--on-marquee);
  background: var(--marquee);
  border: 0;
  border-radius: 0.12em;
  padding: 0 0.14em;
  margin: 0.04em 0;
  min-height: 0;
  line-height: 1.05;
  min-width: 4ch;
  max-width: 100%;
  field-sizing: content;
  box-decoration-break: clone;
}

.hero-title input.hero-city::placeholder { color: color-mix(in srgb, var(--on-marquee) 45%, var(--marquee)); }

.hero-title input.hero-city:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 3px;
  box-shadow: none;
  border-color: transparent;
}

.hero-search {
  display: flex;
  gap: 10px;
  max-width: 640px;
  flex-wrap: wrap;
}

.hero-search input {
  flex: 1 1 260px;
}

.hero-cities {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.hero-cities-label { color: var(--muted); margin-right: 4px; }

/* Chips and filters */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.35em 0.85em;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}

a.chip:hover { border-color: var(--ink); }

.chip-count { color: var(--muted); font-variant-numeric: tabular-nums; }

.chip[aria-current="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip[aria-current="true"] .chip-count { color: inherit; opacity: 0.7; }

.filters {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 32px;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Page headers */
.page-head {
  padding: clamp(32px, 6vw, 64px) 0 24px;
}

.page-head h1 { margin-bottom: 0.25em; }

.page-head p { color: var(--muted); max-width: var(--measure); }

.page-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.section { padding: 0 0 56px; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 { margin: 0; }

/* Agenda: events grouped under large day numbers */
.agenda { display: flex; flex-direction: column; gap: 8px; }

.day {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 2px solid var(--ink);
}

.day-label {
  position: sticky;
  top: 16px;
  align-self: start;
  display: flex;
  flex-direction: column;
}

.day-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 4.25rem;
  line-height: 0.85;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
}

.day-meta { margin-top: 8px; line-height: 1.3; }
.day-meta strong { display: block; font-weight: 600; }
.day-meta span { color: var(--muted); }

.day-events {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.event-row {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) 112px;
  gap: 16px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.event-row:last-child { border-bottom: 0; }

/* Long words and clamped summaries must never widen the row past the screen */
.event-row .event-body { min-width: 0; overflow-wrap: anywhere; }

.event-time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
  white-space: nowrap;
}

.event-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 6px;
}

.event-title a {
  color: var(--ink);
  text-decoration: none;
}

/* The whole row is clickable through the title link */
.event-title a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.event-row:hover .event-title a { color: var(--violet); }

.event-summary {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 62ch;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.2em 0.65em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--violet) 12%, transparent);
  color: var(--ink);
}

.tag-free { background: var(--success-bg); color: var(--success-ink); }
.tag-draft { background: color-mix(in srgb, var(--danger) 15%, transparent); }

/* Covers, with a generated poster when there is no image */
.cover {
  aspect-ratio: 1;
  border-radius: var(--radius-s);
  overflow: hidden;
  background: hsl(var(--hue) 75% 86%);
  display: grid;
  place-items: center;
}

.cover img { width: 100%; height: 100%; object-fit: cover; }

.cover-letter {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: 1;
  color: hsl(var(--hue) 55% 28%);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .cover { background: hsl(var(--hue) 40% 26%); }
  :root:not([data-theme="light"]) .cover-letter { color: hsl(var(--hue) 80% 85%); }
}

:root[data-theme="dark"] .cover { background: hsl(var(--hue) 40% 26%); }
:root[data-theme="dark"] .cover-letter { color: hsl(var(--hue) 80% 85%); }

/* Featured */
.featured {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature .cover { aspect-ratio: 16 / 10; border-radius: var(--radius-m); }
.feature .cover-letter { font-size: 5rem; }

.feature-date { font-weight: 600; }

.feature .event-title { font-size: 1.45rem; }

/* Empty states */
.empty {
  border: 2px dashed var(--line);
  border-radius: var(--radius-m);
  padding: 40px var(--gutter);
  text-align: center;
}

.empty h2 { font-size: 1.5rem; }
.empty p { color: var(--muted); max-width: 46ch; margin: 0 auto 20px; }

/* Event page */
.event-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  grid-template-areas: "head ticket" "body ticket";
  column-gap: 48px;
  padding: clamp(28px, 5vw, 56px) 0 64px;
  align-items: start;
}

.event-head { grid-area: head; }
.event-page .ticket { grid-area: ticket; }
.event-page .event-body { grid-area: body; }

.event-byline { color: var(--muted); font-size: 1.1rem; margin: -4px 0 0; }

.ticket-badge {
  display: inline-block;
  margin-left: 6px;
  padding: 0.1em 0.55em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--marquee);
  font-size: 0.8rem;
  vertical-align: 0.15em;
}

.event-subscribe {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.event-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.event-page h1 {
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 20ch;
}

.event-hero-cover {
  margin: 28px 0 32px;
  border-radius: var(--radius-m);
  overflow: hidden;
}

.event-hero-cover img { width: 100%; max-height: 480px; object-fit: cover; }

.prose {
  font-size: 1.08rem;
  max-width: var(--measure);
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 0.1em 0.4em;
  border-radius: 6px;
  background: color-mix(in srgb, var(--ink) 7%, var(--surface));
  user-select: all;
}

.prose ol, .prose ul { padding-left: 1.3em; white-space: normal; }
.prose li + li { margin-top: 0.3em; }

.owner-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  padding: 12px 16px;
  margin-bottom: 24px;
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--marquee) 35%, var(--surface));
  color: var(--on-marquee);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .owner-bar { background: color-mix(in srgb, var(--marquee) 18%, var(--surface)); color: var(--ink); }
}

:root[data-theme="dark"] .owner-bar { background: color-mix(in srgb, var(--marquee) 18%, var(--surface)); color: var(--ink); }

/* The details panel reads like a ticket stub */
.ticket {
  position: sticky;
  top: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.ticket-date {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: var(--marquee);
  color: var(--on-marquee);
}

.ticket-date .day-num { font-size: 3.6rem; }

.ticket-date strong { display: block; font-size: 1.1rem; }

.ticket-body {
  padding: 22px;
  border-top: 2px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ticket dl { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.ticket dt { color: var(--muted); font-size: 0.9rem; }
.ticket dd { margin: 2px 0 0; font-weight: 500; overflow-wrap: anywhere; }

.ticket-actions { display: flex; flex-direction: column; gap: 8px; }

/* Forms */
.form-page {
  max-width: 720px;
  padding: clamp(28px, 5vw, 56px) 0 64px;
}

.form-narrow { max-width: 440px; }

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

.field { display: flex; flex-direction: column; gap: 6px; grid-column: 1 / -1; }
.field-half { grid-column: span 1; }

.field label { font-weight: 600; }

.field-help { color: var(--muted); font-size: 0.9rem; margin: 0; }
.field-error { color: var(--danger); font-size: 0.92rem; font-weight: 500; margin: 0; }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="date"], input[type="time"], input[type="number"],
select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 10px;
  padding: 0.7em 0.85em;
  min-height: 48px;
}

textarea { resize: vertical; line-height: 1.5; }

input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--violet) 25%, transparent);
}

.field-invalid input, .field-invalid select, .field-invalid textarea { border-color: var(--danger); }

input[type="file"] { font: inherit; }

.form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.form-errors {
  padding: 12px 16px;
  border-radius: var(--radius-s);
  background: color-mix(in srgb, var(--danger) 12%, var(--surface));
  margin-bottom: 20px;
}

/* Messages */
.messages { padding-top: 20px; }

.message {
  padding: 12px 16px;
  border-radius: var(--radius-s);
  background: var(--success-bg);
  color: var(--success-ink);
  font-weight: 500;
}

.message-error { background: color-mix(in srgb, var(--danger) 15%, var(--surface)); color: var(--ink); }

/* City index */
.city-index {
  columns: 3 220px;
  column-gap: 32px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.city-index li {
  break-inside: avoid;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.city-index a { font-weight: 600; color: var(--ink); text-decoration: none; }
.city-index a:hover { color: var(--violet); }

/* Pagination */
.pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 40px;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

/* Theme switch in the footer */
.theme-switch {
  display: inline-flex;
  gap: 2px;
  margin-left: auto;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.theme-switch button {
  font: 500 0.85rem/1 var(--font-body);
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  cursor: pointer;
}

.theme-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.theme-switch button:hover:not([aria-pressed="true"]) { color: var(--ink); }

/* Small screens */
@media (max-width: 760px) {
  /* On phones the chips scroll sideways instead of wrapping into many lines; the cut-off chip hints at more */
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter);
  }

  .filter-row::-webkit-scrollbar { display: none; }

  .day {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .day-label {
    position: static;
    flex-direction: row;
    align-items: flex-end;
    gap: 12px;
  }

  .day-num { font-size: 3rem; }
  .day-meta { margin: 0 0 4px; }

  .event-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 4px 14px; }
  .event-time { grid-column: 1; padding: 0; }
  .event-row .event-body { grid-column: 1; }
  .event-row .cover { grid-column: 2; grid-row: 1 / span 2; }
  .event-row .cover-letter { font-size: 2rem; }

  /* Phones: title, then when and where, then the image and description */
  .event-page { grid-template-columns: 1fr; grid-template-areas: "head" "ticket" "body"; row-gap: 24px; }
  .ticket { position: static; }

  .form-grid { grid-template-columns: 1fr; }
  .field-half { grid-column: 1 / -1; }

  .nav { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-title { animation: rise 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  @keyframes rise {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: none; }
  }
}

/* Sign in with Google */
.btn-google {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
  gap: 0.6em;
}

.btn-google:hover { border-color: var(--ink); filter: none; }

.event-tags-large { margin-top: 24px; }
.event-tags-large .chip { font-size: 0.95rem; }

/* Calendar subscription menu */
.page-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.subscribe { position: relative; }

.subscribe > summary { list-style: none; }
.subscribe > summary::-webkit-details-marker { display: none; }
.subscribe[open] > summary { border-color: var(--ink); }

.subscribe-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10;
  width: min(340px, calc(100vw - 2 * var(--gutter)));
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 32px rgb(20 18 50 / 0.16);
}

.subscribe-menu p { margin: 0 0 4px; }
.subscribe-menu label { color: var(--muted); font-size: 0.9rem; margin-top: 6px; }
.subscribe-menu input { font-size: 0.85rem; min-height: 40px; }

/* In the event details panel the menu opens inline */
.ticket .subscribe > summary { width: 100%; }
.ticket .subscribe-menu { position: static; width: auto; margin-top: 10px; box-shadow: none; padding: 14px; }

@media (max-width: 760px) {
  .subscribe-menu { left: 0; right: auto; }
}

/* Cities page */
.country-group { margin-bottom: 36px; }
.country-group h2 { font-size: 1.35rem; margin-bottom: 8px; }

/* City autocomplete */
.combo {
  position: relative;
  display: inline-block;
  flex: 1 1 260px;
  min-width: 0;
}

.field .combo, .hero-search .combo { display: block; }

.combo-list {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 20;
  width: max(100%, 280px);
  max-height: 340px;
  overflow-y: auto;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 32px rgb(20 18 50 / 0.16);
  /* The hero input inherits huge headline type; the list should not */
  font: 400 1rem/1.35 var(--font-body);
  letter-spacing: normal;
  text-align: left;
}

.combo-list li {
  display: flex;
  flex-direction: column;
  padding: 9px 12px;
  border-radius: var(--radius-s);
  cursor: pointer;
}

.combo-list li strong { font-weight: 600; color: var(--ink); }
.combo-list li span { font-size: 0.88rem; color: var(--muted); }

.combo-list li[aria-selected="true"] {
  background: color-mix(in srgb, var(--violet) 12%, var(--surface));
}

/* Paste-an-announcement box on the new event page */
.fill-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  margin: 8px 0 32px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-m);
}

.fill-box label { font-weight: 600; }
.fill-box .form-actions { margin-top: 4px; }

/* AI poster offer on the event and edit pages */
.poster-offer {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
  padding: 16px 18px;
  margin-bottom: 24px;
  border: 2px dashed var(--line);
  border-radius: var(--radius-m);
}

.poster-offer p { margin: 2px 0 12px; max-width: 52ch; }
.poster-offer form { margin: 0; }
.poster-offer-text { flex: 1 1 260px; }

.poster-preview {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-s);
}

.event-subscribe .subscribe-menu { left: 0; right: auto; }
