:root {
  color-scheme: light;
  --night: #201a20;
  --night-soft: #3e333b;
  --ink: #2a2227;
  --muted: #6d5e66;
  --paper: #f5f0e2;
  --paper-deep: #e8dfcf;
  --card: #fffaf0;
  --line: #cdbfac;
  --rust: #d92968;
  --rust-dark: #a51f52;
  --gold: #f06a36;
  --blue: #167b80;
  --green: #276b58;
  --focus: #0d7478;
  --shadow: 0 18px 50px rgb(32 26 32 / 11%);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--paper);
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 2%, rgb(248 106 67 / 9%), transparent 22rem),
    radial-gradient(circle at 96% 12%, rgb(116 65 182 / 6%), transparent 25rem),
    linear-gradient(180deg, #fbf7ed 0, var(--paper) 32rem);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--rust-dark);
}

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 0.2rem solid var(--focus);
  outline-offset: 0.2rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 0.9rem;
  color: white;
  background: var(--night);
  border-radius: 0.35rem;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding: 0.75rem 0 0.9rem;
  border-bottom: 0;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.24rem;
  background: linear-gradient(
    90deg,
    #ff2d78 0 25%,
    #2dccc9 25% 50%,
    #ff6b2b 50% 75%,
    #9d4edd 75% 100%
  );
  border-radius: 999px;
  content: "";
}

.wordmark {
  display: block;
  width: clamp(7rem, 21vw, 9.5rem);
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
}

.wordmark__logo {
  display: block;
  width: 100%;
  height: auto;
}

.site-header__status {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header__status p {
  max-width: 12rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

main {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
}

.public-intro {
  padding: clamp(2.6rem, 7vw, 5rem) 0 clamp(2rem, 5vw, 3.4rem);
}

.eyebrow {
  margin: 0 0 0.55rem;
  color: var(--rust-dark);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.public-intro h1,
.action-heading h1 {
  max-width: 16ch;
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(2.5rem, 12vw, 5.8rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.search-promise {
  max-width: 36rem;
  margin: 1rem 0 0;
  color: var(--night-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
}

.event-search {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  box-shadow: var(--shadow);
}

.search-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.search-field > span {
  color: var(--night);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.search-field input,
.search-field select {
  width: 100%;
  min-height: 3.05rem;
  padding: 0.65rem 0.7rem;
  color: var(--night);
  background: white;
  border: 1px solid #83909a;
  border-radius: 0.5rem;
}

.search-button {
  min-height: 3.05rem;
  align-self: end;
  padding: 0.65rem 1.05rem;
  color: white;
  background: var(--rust);
  border: 1px solid var(--rust);
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 800;
}

.search-button:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.discovery-scope {
  max-width: 58rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.discovery-scope strong {
  color: var(--night);
}

.results-intro {
  max-width: 48rem;
  padding: 0 0 clamp(1.5rem, 4vw, 2.3rem);
}

.results-intro h2 {
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
}

.clear-search {
  font-size: 0.85rem;
  font-weight: 750;
}

.intro-count {
  margin: 1.2rem 0 0.35rem;
  color: var(--night-soft);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 4vw, 1.45rem);
}

.checked-line {
  max-width: 43rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.date-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 2.5rem;
  margin: 0 0 1.2rem;
  font-size: 0.88rem;
  font-weight: 750;
}

.date-navigation > :last-child {
  justify-self: end;
  text-align: right;
}

.event-grid {
  display: grid;
  gap: 1rem;
}

.event-card {
  --activity: var(--blue);
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgb(22 37 54 / 6%);
}

.event-card::before {
  display: block;
  width: 100%;
  height: 0.35rem;
  background: var(--activity);
  content: "";
}

.event-card--survey_game {
  --activity: #a34d69;
}

.event-card--music_trivia,
.event-card--music_bingo,
.event-card--bingo {
  --activity: #a66b13;
}

.event-card--social_game,
.event-card--puzzle_games,
.event-card--robot_games,
.event-card--mixed_games,
.event-card--learning_games,
.event-card--board_games,
.event-card--mahjong,
.event-card--video_games,
.event-card--tabletop_roleplaying {
  --activity: #36715e;
}

.event-card--jeopardy_style,
.event-card--jeopardy_style_trivia {
  --activity: #3855a0;
}

.event-card--themed_trivia {
  --activity: #684695;
}

.event-card--team_trivia,
.event-card--pop_culture_trivia {
  --activity: #36715e;
}

.event-card--karaoke {
  --activity: #e45c76;
}

.event-card--live_music,
.event-card--classical_music,
.event-card--local_band,
.event-card--music_jam,
.event-card--drum_circle,
.event-card--choral_music,
.event-card--chamber_orchestra,
.event-card--symphony_orchestra,
.event-card--chamber_music {
  --activity: #d38a17;
}

.event-card--singer_songwriter {
  --activity: #c95b35;
}

.event-card--family_concert {
  --activity: #dc5b3e;
}

.event-card--percussion_playground {
  --activity: #d76a16;
}

.event-card--open_mic {
  --activity: #b43a86;
}

.event-card--cultural_showcase {
  --activity: #a9472f;
}

.event-card--film_concert {
  --activity: #9b4f78;
}

.event-card--music_talk {
  --activity: #6252a1;
}

.event-card--music_learning {
  --activity: #087c85;
}

.event-card--darts {
  --activity: #6f9f25;
}

.event-card--pool {
  --activity: #16879b;
}

.event-card--food_drink,
.event-card--food_tasting,
.event-card--food_skills {
  --activity: #d16728;
}

.event-card--sports_fitness,
.event-card--roller_skating,
.event-card--college_volleyball,
.event-card--college_soccer,
.event-card--softball_tournament,
.event-card--fan_watch_party {
  --activity: #22865b;
}

.event-card--comedy,
.event-card--stand_up_comedy,
.event-card--sketch_comedy,
.event-card--improv_comedy {
  --activity: #be4c9d;
}

.event-card--talks_ideas,
.event-card--public_lecture,
.event-card--lecture_series,
.event-card--public_debate,
.event-card--author_talk {
  --activity: #9b5a19;
}

.event-card--high_school_play,
.event-card--high_school_musical,
.event-card--college_play,
.event-card--college_musical,
.event-card--puppet_theater {
  --activity: #7056bb;
}

.event-card--arts {
  --activity: #7056bb;
}

.event-card--arts_night {
  --activity: #554fc1;
}

.event-card--dance_performance {
  --activity: #315fbd;
}

.event-card--outdoor_movie {
  --activity: #37769b;
}

.event-card--film_screening {
  --activity: #376b91;
}

.event-card--community {
  --activity: #3478b9;
}

.event-card--block_party {
  --activity: #008b83;
}

.event-card--family {
  --activity: #d85555;
}

.event-card--other {
  --activity: #65717c;
}

.event-card--status-cancelled {
  --activity: #9f3428;
  border-color: #d8aaa4;
  background: #fff9f7;
}

.event-status {
  width: fit-content;
  margin: 0 0 0.75rem;
  padding: 0.32rem 0.58rem;
  color: #7e2119;
  background: #fbe1dc;
  border: 1px solid #e6aaa1;
  border-radius: 0.45rem;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  line-height: 1.25;
  text-transform: uppercase;
}

.event-card__lead,
.event-card__facts,
.evidence {
  padding-right: 1.15rem;
  padding-left: 1.15rem;
}

.event-card__lead {
  padding-top: 1.2rem;
}

.event-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.event-time {
  margin: 0.22rem 0 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 8vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.event-time span {
  display: inline-block;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  vertical-align: middle;
}

.event-time--unknown {
  max-width: 17rem;
  color: var(--rust-dark);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.event-kind {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  margin: 1rem 0 0.45rem;
  padding: 0.28rem 0.58rem;
  color: var(--activity);
  background: #f3f0e9;
  background: color-mix(in srgb, var(--activity) 10%, white);
  border: 1px solid var(--line);
  border: 1px solid color-mix(in srgb, var(--activity) 28%, white);
  border-radius: 999px;
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-transform: uppercase;
}

.event-card h3 {
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 6vw, 1.75rem);
  letter-spacing: -0.035em;
  line-height: 1.12;
}

.event-name {
  margin: 0.4rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.event-card__facts {
  display: grid;
  gap: 0.75rem;
  padding-top: 1.15rem;
  padding-bottom: 1rem;
}

.event-card__facts p {
  margin: 0;
}

.location,
.organizer {
  color: #3e4a54;
  font-size: 0.88rem;
}

.fact-label,
.organizer span {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.organizer--unsettled,
.organizer--unknown {
  padding: 0.65rem 0.72rem;
  background: #f7f1e8;
  border-left: 0.2rem solid #9b7250;
  border-radius: 0.2rem 0.5rem 0.5rem 0.2rem;
}

.organizer--unsettled p + p,
.organizer--unknown p + p {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.event-note {
  padding-top: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--paper-deep);
  font-size: 0.82rem;
}

.evidence {
  margin-top: auto;
  padding-top: 0.8rem;
  padding-bottom: 0.9rem;
  background: #f4eee3;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.77rem;
}

.evidence summary {
  width: fit-content;
  color: #47535e;
  cursor: pointer;
  font-weight: 750;
}

.evidence summary:hover {
  color: var(--night);
}

.evidence ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0.7rem 0 0;
  padding: 0;
  list-style: none;
}

.evidence--limited p {
  margin: 0;
}

.empty-state {
  position: relative;
  overflow: hidden;
  max-width: 45rem;
  padding: clamp(1.5rem, 6vw, 3rem);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
}

.empty-state::after {
  position: absolute;
  right: -2rem;
  bottom: -4.5rem;
  width: 11rem;
  height: 11rem;
  background: rgb(220 166 58 / 14%);
  border: 1px solid rgb(220 166 58 / 22%);
  border-radius: 50%;
  content: "";
}

.empty-state__date {
  margin: 0 0 0.45rem;
  color: var(--rust-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.empty-state h2 {
  max-width: 18ch;
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 7vw, 2.35rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.empty-state p:not(.empty-state__date) {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  margin: 0.85rem 0 0;
  color: var(--muted);
}

.site-footer {
  width: min(100% - 2rem, 68rem);
  margin: clamp(2.8rem, 9vw, 6rem) auto 0;
  padding: 1.4rem 0 2.5rem;
  color: var(--muted);
  border-top: 1px solid rgb(30 43 56 / 18%);
  font-family: var(--serif);
  font-size: 0.9rem;
}

.site-footer p {
  max-width: 38rem;
  margin: 0;
}

/* Research visitor contact */

.source-access-page {
  background:
    radial-gradient(circle at 9% 3%, rgb(248 106 67 / 8%), transparent 24rem),
    radial-gradient(circle at 95% 72%, rgb(116 65 182 / 6%), transparent 28rem),
    linear-gradient(160deg, #fbf7ed 0%, #f5f0e2 72%, #eee5d7 100%);
}

.source-access-main {
  width: min(100% - 2rem, 68rem);
  margin: 0 auto;
  padding-top: clamp(2.2rem, 8vw, 5.4rem);
}

.source-access-heading {
  max-width: 48rem;
}

.source-access-heading h1 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  color: var(--night);
  font-family: "Arial Rounded MT Bold", "Arial Black", "Franklin Gothic Heavy", var(--sans);
  font-size: clamp(2.35rem, 9vw, 5.1rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.source-access-heading > p:last-child {
  max-width: 40rem;
  margin: 1.35rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.6;
}

.source-access-grid {
  display: grid;
  gap: 0.8rem;
  margin-top: clamp(2rem, 7vw, 4rem);
}

.source-access-grid article {
  position: relative;
  min-height: 13rem;
  overflow: hidden;
  padding: 1.35rem;
  background: rgb(255 250 240 / 91%);
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  box-shadow: 0 0.7rem 1.8rem rgb(32 26 32 / 6%);
}

.source-access-grid h2 {
  position: relative;
  max-width: 12ch;
  margin: 0;
  color: var(--night);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.source-access-grid article > p:last-child {
  position: relative;
  max-width: 31rem;
  margin: 0.7rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.source-access-number {
  position: absolute;
  right: 0.7rem;
  bottom: -1.1rem;
  margin: 0;
  color: rgb(116 65 182 / 10%);
  font-family: "Arial Rounded MT Bold", "Arial Black", var(--sans);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
}

.source-access-contact {
  margin-top: clamp(1rem, 5vw, 2.5rem);
  padding: clamp(1.4rem, 5vw, 2.4rem);
  color: white;
  background: var(--night);
  border-radius: 1.25rem;
  box-shadow: 0 1.2rem 3rem rgb(31 23 69 / 18%);
}

.source-access-contact .eyebrow {
  color: #ff9871;
}

.source-access-contact h2 {
  max-width: 18ch;
  margin: 0.45rem 0 0;
  font-family: "Arial Rounded MT Bold", "Arial Black", var(--sans);
  font-size: clamp(1.8rem, 7vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.source-access-contact > p:not(.eyebrow) {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: rgb(255 255 255 / 76%);
  line-height: 1.6;
}

.source-access-contact > a {
  display: inline-flex;
  margin-top: 1.35rem;
  padding: 0.85rem 1rem;
  color: var(--night);
  background: #f86a43;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
}

.source-access-contact > a:focus-visible,
.source-access-contact > a:hover {
  background: #ff9871;
  outline: 3px solid rgb(248 106 67 / 30%);
  outline-offset: 3px;
}

.site-footer--source-access a {
  color: inherit;
  font-weight: 750;
}

@media (min-width: 42rem) {
  .source-access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Venue update pages */

.venue-action-page {
  background:
    radial-gradient(circle at 50% 0, rgb(220 166 58 / 17%), transparent 28rem),
    var(--paper);
}

.action-main {
  max-width: 44rem;
  padding-top: clamp(2.1rem, 8vw, 4.75rem);
}

.action-heading {
  margin-bottom: 1.4rem;
}

.action-heading h1 {
  max-width: 13ch;
  font-size: clamp(2.3rem, 11vw, 4.4rem);
}

.action-heading > p:last-child:not(.eyebrow) {
  max-width: 35rem;
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.05rem;
}

.action-heading--complete {
  padding: 1.2rem 0 0.5rem;
}

.action-heading--complete h1 {
  max-width: 18ch;
  font-size: clamp(2rem, 9vw, 3.6rem);
}

.completion-mark {
  display: grid;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 0 0.8rem !important;
  place-items: center;
  color: white !important;
  background: var(--green);
  border-radius: 50%;
  font-family: var(--sans) !important;
  font-size: 1.35rem !important;
  font-weight: 800;
}

.action-subject {
  position: relative;
  display: grid;
  padding: 1.2rem 1.15rem 1.15rem 1.35rem;
  overflow: hidden;
  background: var(--night);
  border-radius: 0.85rem;
  box-shadow: 0 15px 40px rgb(22 37 54 / 16%);
  color: white;
}

.action-subject::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0.35rem;
  background: var(--gold);
  content: "";
}

.action-subject p,
.action-subject h2 {
  margin: 0;
}

.action-subject__date {
  color: #f1d99e;
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.action-subject__time {
  margin-top: 0.15rem !important;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.action-subject__event {
  margin-top: 0.8rem !important;
  color: #ccd7df;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.action-subject h2 {
  margin-top: 0.1rem;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 6vw, 1.65rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.read-only-notice {
  display: grid;
  gap: 0.16rem;
  margin: 0.9rem 0 1.4rem;
  padding: 0.85rem 0.95rem;
  color: #414d57;
  background: #fff8e7;
  border: 1px solid #dfcb91;
  border-radius: 0.65rem;
  font-size: 0.82rem;
}

.read-only-notice strong {
  color: var(--night);
}

.form-error {
  margin: 0 0 1rem;
  padding: 0.8rem 0.9rem;
  color: #722519;
  background: #fff0ec;
  border: 1px solid #d99b8d;
  border-radius: 0.55rem;
  font-weight: 700;
}

.action-form,
.commit-form,
.sentence-preview,
.sentence-comparison,
.undo-offer,
.action-unavailable {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0.85rem;
  box-shadow: 0 10px 30px rgb(22 37 54 / 6%);
}

.action-form,
.commit-form,
.sentence-preview,
.undo-offer,
.action-unavailable {
  padding: clamp(1.05rem, 5vw, 1.65rem);
}

.action-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.action-form legend,
.sentence-preview h2,
.sentence-comparison h2,
.undo-offer h2,
.action-unavailable h2 {
  margin: 0 0 0.85rem;
  color: var(--night);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.action-choices {
  display: grid;
  gap: 0.6rem;
}

.action-choice {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.85rem;
  background: #fcf9f3;
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  cursor: pointer;
  transition: border-color 120ms ease, background-color 120ms ease, transform 120ms ease;
}

.action-choice:hover {
  border-color: #8d9ba5;
}

.action-choice.is-selected,
.action-choice:has(input:checked) {
  background: #edf5f5;
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
  transform: translateY(-1px);
}

.action-choice input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.15rem 0 0;
  accent-color: var(--blue);
}

.action-choice span {
  min-width: 0;
}

.action-choice strong,
.action-choice small {
  display: block;
}

.action-choice strong {
  color: var(--night);
  line-height: 1.35;
}

.action-choice small {
  margin-top: 0.17rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
}

.selection-status {
  min-height: 1.2rem;
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.conditional-field {
  display: grid;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.9rem;
  color: var(--night);
  background: #edf5f5;
  border: 1px solid var(--blue);
  border-radius: 0.6rem;
}

.conditional-field[hidden] {
  display: none;
}

.conditional-field label {
  font-weight: 800;
}

.conditional-field input {
  min-height: 2.8rem;
  padding: 0.55rem 0.65rem;
  color: var(--night);
  background: white;
  border: 1px solid #83909a;
  border-radius: 0.45rem;
  font: inherit;
}

.conditional-field small {
  color: var(--muted);
  line-height: 1.4;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 0.55rem;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.primary-button {
  width: 100%;
  margin-top: 0.45rem;
  color: white;
  background: var(--rust);
  border: 1px solid var(--rust);
  box-shadow: 0 8px 18px rgb(126 46 32 / 16%);
}

.primary-button:hover:not(:disabled) {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}

.primary-button:disabled {
  color: #72777b;
  background: #ddd9d1;
  border-color: #d2cdc4;
  box-shadow: none;
  cursor: not-allowed;
}

.secondary-button {
  color: var(--night);
  background: transparent;
  border: 1px solid #83909a;
}

.secondary-button:hover {
  background: #f1ede5;
  border-color: var(--night);
}

.sentence-preview {
  margin: 1rem 0;
}

.sentence-preview blockquote {
  margin: 0;
  padding: 1rem 0 1rem 1rem;
  color: var(--night);
  border-left: 0.3rem solid var(--gold);
  font-family: var(--serif);
  font-size: clamp(1.17rem, 5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.4;
}

.sentence-preview blockquote p {
  margin: 0;
}

.supporting-sentence {
  margin: 0.9rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.sentence-preview--complete {
  border-color: #aac4b5;
}

.commit-form {
  margin-top: 1rem;
}

.commit-check {
  display: grid;
  grid-template-columns: 1.3rem 1fr;
  gap: 0.7rem;
  align-items: flex-start;
  color: var(--night);
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 700;
}

.commit-check input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.1rem 0 0;
  accent-color: var(--rust);
}

.primary-button--commit {
  margin-top: 1rem;
}

.back-link {
  display: inline-block;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.undo-offer,
.action-unavailable {
  margin-top: 1rem;
}

.undo-offer p,
.action-unavailable p {
  margin: -0.35rem 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.sentence-comparison {
  display: grid;
  gap: 0;
  margin: 1rem 0;
  overflow: hidden;
}

.sentence-comparison > div {
  padding: 1rem;
}

.sentence-comparison > div + div {
  border-top: 1px solid var(--line);
}

.sentence-comparison h2 {
  margin-bottom: 0.45rem;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sentence-comparison p {
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 700;
}

.sentence-comparison__restored {
  background: #eef6f1;
}

.site-footer--action {
  max-width: 44rem;
  margin-top: 3rem;
}

@media (min-width: 42rem) {
  .site-header,
  main,
  .site-footer {
    width: min(100% - 3.5rem, 68rem);
  }

  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }

  .event-search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .search-button {
    grid-column: 1 / -1;
  }

  .event-card__lead,
  .event-card__facts,
  .evidence {
    padding-right: 1.35rem;
    padding-left: 1.35rem;
  }

  .action-main,
  .site-footer--action {
    max-width: 44rem;
  }

  .action-subject {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 1.5rem;
  }

  .action-subject__date,
  .action-subject__event,
  .action-subject h2 {
    grid-column: 1;
  }

  .action-subject__time {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    text-align: right;
  }

  .sentence-comparison {
    grid-template-columns: 1fr 1fr;
  }

  .sentence-comparison > div + div {
    border-top: 0;
    border-left: 1px solid var(--line);
  }
}

@media (min-width: 64rem) {
  .event-search {
    grid-template-columns: 1.15fr 1.8fr 1fr auto;
  }

  .search-button {
    grid-column: auto;
  }

  .event-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Public explorer: dense controls and data, with the correction screens left untouched. */
.public-page {
  --app-navy: #1b1719;
  --app-purple: #7441b6;
  --app-cyan: #167b80;
  --app-lime: #f86a43;
  --app-coral: #f84776;
  --app-magenta: #f84776;
  --app-ink: #2a2227;
  --app-muted: #6d5e66;
  --app-line: #c8b9a4;
  --app-cream: #fffaf0;
  --app-walnut: #4b302a;
  --app-burgundy: #512735;
  --app-brass: #a8783f;
  --app-display: "Arial Rounded MT Bold", "Arial Black", "Franklin Gothic Heavy", sans-serif;
  color: var(--app-ink);
  background:
    radial-gradient(circle at 92% -6rem, rgb(248 71 118 / 17%), transparent 23rem),
    radial-gradient(circle at 4% 25rem, rgb(45 204 201 / 9%), transparent 27rem),
    repeating-linear-gradient(90deg, transparent 0 4rem, rgb(255 255 255 / 1.5%) 4rem 4.04rem),
    linear-gradient(180deg, #171216 0, #21171c 34rem, #151115 100%);
  background-size: auto, auto, auto, auto;
  font-family: "Century Gothic", Futura, Avenir, var(--sans);
  line-height: 1.4;
}

.public-page .site-header,
.public-page main,
.public-page .site-footer {
  width: min(100% - 1.5rem, 80rem);
}

.public-page .site-header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.52rem;
  align-items: center;
  padding: 0.38rem 0 0.58rem;
}

.public-page .wordmark {
  width: clamp(6.8rem, 20vw, 9.25rem);
  filter: drop-shadow(0 0.25rem 0.32rem rgb(0 0 0 / 34%));
}

.public-page .site-header__status p {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  max-width: none;
  padding: 0.46rem 0.62rem;
  color: #f8f1e4;
  background: linear-gradient(180deg, #292226, var(--app-navy));
  border: 1px solid #655044;
  border-radius: 0.45rem;
  font-size: 0.7rem;
  letter-spacing: 0.07em;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 8%), 0 0.16rem 0 rgb(75 48 42 / 32%);
}

.account-link {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.72rem;
  color: var(--app-navy, var(--night));
  background: #fffaf0;
  border: 1px solid #8e7f8a;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.account-link:hover,
.account-link.is-signed-in {
  color: #fff;
  background: var(--app-purple, var(--rust));
  border-color: var(--app-purple, var(--rust));
}

.public-page .live-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  background: #2dccc9;
  border: 0.12rem solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  box-shadow: 0 0 0 0.17rem rgb(45 204 201 / 18%);
}

.public-page .public-intro {
  position: relative;
  margin: 0.22rem 0 0.5rem;
  padding: 1rem;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 92% 5%, rgb(106 43 58 / 34%) 0 5.2rem, transparent 5.3rem),
    repeating-linear-gradient(90deg, transparent 0 4.25rem, rgb(255 255 255 / 1.6%) 4.25rem 4.32rem),
    linear-gradient(135deg, #141113, var(--app-navy) 58%, #332126 118%);
  border: 1px solid #715646;
  border-radius: 1.05rem;
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 5%),
    0 0.28rem 0 var(--app-walnut),
    0 1rem 2.6rem rgb(32 26 32 / 23%);
}

.public-page .public-intro::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.32rem;
  background: linear-gradient(
    90deg,
    #ff2d78 0 25%,
    #2dccc9 25% 50%,
    #ff6b2b 50% 75%,
    #9d4edd 75% 100%
  );
  content: "";
}

.public-page .explorer-heading,
.public-page .event-search,
.public-page .category-rail,
.public-page .coverage-strip {
  position: relative;
  z-index: 1;
}

.public-page .public-intro .eyebrow {
  margin-bottom: 0.25rem;
  color: #ff9871;
  font-size: 0.68rem;
}

.public-page .public-intro h1 {
  max-width: none;
  color: white;
  font-family: var(--app-display);
  font-size: clamp(1.95rem, 8vw, 3.35rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.06em;
  line-height: 0.95;
  text-shadow: none;
}

.public-page .search-promise {
  max-width: 34rem;
  margin-top: 0.3rem;
  color: rgb(255 250 240 / 75%);
  font-family: var(--sans);
  font-size: 0.88rem;
}

.public-page .event-search {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  margin-top: 0.8rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.public-page .event-search .search-field:not(.search-field--date) {
  grid-column: 1 / -1;
}

.public-page .search-field > span {
  color: rgb(255 255 255 / 72%);
  font-size: 0.66rem;
}

.public-page .search-field input {
  min-width: 0;
  min-height: 2.8rem;
  padding: 0.65rem 0.8rem;
  background: #fffaf0;
  border: 2px solid #cdbfac;
  border-radius: 0.5rem;
  box-shadow: 0 0.35rem 1rem rgb(0 0 0 / 12%);
}

.public-page .search-field input:focus {
  border-color: #2dccc9;
  outline: none;
}

.public-page .search-button {
  min-height: 2.8rem;
  padding: 0.65rem 1.15rem;
  color: var(--app-navy);
  background: #f86a43;
  border-color: #ff9871;
  border-radius: 0.45rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 35%), 0.18rem 0.18rem 0 var(--app-burgundy);
  font-weight: 900;
}

.public-page .search-button:hover {
  color: var(--app-navy);
  background: #ff936f;
  border-color: #ffb096;
}

.public-page .category-rail {
  display: flex;
  gap: 0.45rem;
  margin: 0.7rem -0.15rem 0;
  padding: 0.15rem;
  overflow-x: auto;
  scrollbar-color: rgb(255 255 255 / 35%) transparent;
}

.public-page .category-chip {
  flex: 0 0 auto;
  padding: 0.46rem 0.72rem;
  color: rgb(255 255 255 / 88%);
  background: rgb(255 255 255 / 9%);
  border: 1px solid rgb(255 255 255 / 19%);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
}

.public-page .category-chip:hover {
  color: white;
  background: rgb(255 255 255 / 17%);
}

.public-page .category-chip.is-selected {
  color: var(--app-navy);
  background: #f84776;
  border-color: #ff8eab;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 36%);
}

.public-page .subcategory-rail {
  display: flex;
  gap: 0.4rem;
  margin-top: 0.45rem;
  padding: 0 0.25rem 0.12rem;
  overflow-x: auto;
  scrollbar-color: rgb(255 255 255 / 28%) transparent;
}

.public-page .subcategory-chip {
  flex: 0 0 auto;
  padding: 0.36rem 0.62rem;
  color: rgb(255 255 255 / 74%);
  border-bottom: 2px solid rgb(255 255 255 / 24%);
  font-size: 0.7rem;
  font-weight: 760;
  text-decoration: none;
}

.public-page .subcategory-chip:hover,
.public-page .subcategory-chip.is-selected {
  color: white;
  border-bottom-color: #2dccc9;
}

.public-page .coverage-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  margin-top: 0.65rem;
  padding-top: 0.6rem;
  color: rgb(255 255 255 / 69%);
  border-top: 1px solid rgb(255 255 255 / 15%);
  font-size: 0.7rem;
}

.public-page .coverage-strip p {
  margin: 0;
}

.public-page .coverage-strip p:first-child {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.public-page .coverage-strip strong {
  color: white;
}

.public-page .coverage-strip p:first-child > span:last-child {
  padding-left: 0.4rem;
  border-left: 1px solid rgb(255 255 255 / 24%);
}

.public-page .date-browser {
  position: relative;
  margin: 0 0 1rem;
  padding: 0.7rem;
  background: var(--app-cream);
  border: 1px solid var(--app-line);
  border-radius: 0.65rem;
  box-shadow: 0 0.35rem 1.2rem rgb(75 48 42 / 7%);
}

.public-page .date-browser__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.public-page .date-browser__heading h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: -0.01em;
}

.public-page .date-browser__heading > span {
  color: var(--app-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.public-page .date-rail {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding: 0.08rem 0.08rem 0.25rem;
}

.public-page .date-chip {
  position: relative;
  display: grid;
  min-width: 4.7rem;
  padding: 0.45rem 0.58rem;
  color: var(--app-muted);
  background: #f7f8fb;
  border: 1px solid #e7e9f0;
  border-radius: 0.8rem;
  line-height: 1.1;
  text-decoration: none;
}

.public-page .date-chip:hover {
  color: var(--app-navy);
  background: #eef0ff;
  border-color: #c9c8f4;
}

.public-page .date-chip > span {
  font-size: 0.63rem;
  font-weight: 820;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.public-page .date-chip > strong {
  margin-top: 0.24rem;
  color: var(--app-ink);
  font-size: 0.79rem;
}

.public-page .date-chip > small {
  position: absolute;
  top: 0.35rem;
  right: 0.38rem;
  min-width: 1.15rem;
  padding: 0.16rem 0.28rem;
  color: var(--app-navy);
  background: var(--app-lime);
  border-radius: 999px;
  font-size: 0.57rem;
  font-weight: 900;
  text-align: center;
}

.public-page .date-chip.is-selected {
  color: rgb(255 255 255 / 72%);
  background: var(--app-navy);
  border-color: var(--app-navy);
}

.public-page .date-chip.is-selected > strong {
  color: white;
}

.public-page .date-navigation {
  min-height: 0;
  margin: 0.4rem 0 0;
  padding-top: 0.4rem;
  border-top: 1px solid var(--app-line);
  font-size: 0.68rem;
}

.public-page .date-navigation a {
  color: var(--app-purple);
  text-decoration: none;
}

.public-page .results-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 0.45rem 1rem;
  max-width: none;
  padding: 0.25rem 0 0.65rem;
}

.public-page .results-intro .eyebrow {
  margin-bottom: 0.18rem;
  color: var(--app-purple);
  font-size: 0.63rem;
}

.public-page .results-intro h2 {
  font-family: var(--sans);
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  font-weight: 880;
  letter-spacing: -0.04em;
}

.public-page .result-count {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 0.32rem;
  color: var(--app-muted);
}

.public-page .result-count strong {
  color: var(--app-navy);
  font-size: 1.65rem;
  font-weight: 930;
  letter-spacing: -0.07em;
  line-height: 1;
}

.public-page .result-count span,
.public-page .result-count small {
  font-size: 0.72rem;
  font-weight: 730;
}

.public-page .checked-line,
.public-page .result-alert,
.public-page .results-intro > p {
  margin: 0;
  font-size: 0.7rem;
}

.public-page .checked-line {
  color: #347153;
  font-weight: 730;
}

.public-page .result-alert {
  color: #8c3025;
  text-align: right;
}

.public-page .event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.65rem;
}

.public-page .event-card {
  --activity: var(--app-cyan);
  --swipe-settle: 0;
  display: grid;
  grid-template-columns: 7.4rem minmax(0, 1fr);
  overflow: hidden;
  touch-action: pan-y;
  background: white;
  border: 1px solid var(--app-line);
  border-radius: 0.45rem;
  box-shadow: 0 0.22rem 0.85rem rgb(75 48 42 / 6%);
  transform: translateX(var(--swipe-drag, var(--swipe-settle)));
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.public-page .event-card:hover {
  border-color: color-mix(in srgb, var(--activity) 43%, #d8dce7);
  box-shadow: 0 0.55rem 1.4rem rgb(75 48 42 / 11%);
  transform: translateX(var(--swipe-drag, var(--swipe-settle))) translateY(-1px);
}

.public-page .event-card.is-swiping {
  transition: none;
}

.public-page .event-card.is-action-hide {
  --swipe-settle: -0.85rem;
  border-right: 0.24rem solid #e04464;
  box-shadow: 0.38rem 0.28rem 0 rgb(224 68 100 / 26%);
}

.public-page .event-card.is-action-keep {
  --swipe-settle: 0.85rem;
  border-left: 0.24rem solid #1ba9a7;
  box-shadow: -0.38rem 0.28rem 0 rgb(27 169 167 / 26%);
}

.public-page .event-card--karaoke,
.public-page .event-card--comedy,
.public-page .event-card--stand_up_comedy,
.public-page .event-card--sketch_comedy,
.public-page .event-card--improv_comedy {
  --activity: #c53387;
}

.public-page .event-card--live_music,
.public-page .event-card--classical_music,
.public-page .event-card--local_band,
.public-page .event-card--music_jam,
.public-page .event-card--drum_circle,
.public-page .event-card--choral_music,
.public-page .event-card--chamber_orchestra,
.public-page .event-card--symphony_orchestra,
.public-page .event-card--chamber_music {
  --activity: #b86f08;
}

.public-page .event-card--singer_songwriter {
  --activity: #bf4e2d;
}

.public-page .event-card--family_concert {
  --activity: #cf4f35;
}

.public-page .event-card--percussion_playground {
  --activity: #b85a0d;
}

.public-page .event-card--open_mic {
  --activity: #a82c7a;
}

.public-page .event-card--cultural_showcase {
  --activity: #963c27;
}

.public-page .event-card--film_concert {
  --activity: #8d3d6b;
}

.public-page .event-card--music_talk {
  --activity: #55458f;
}

.public-page .event-card--music_learning {
  --activity: #08737b;
}

.public-page .event-card--tabletop_roleplaying {
  --activity: #2f7665;
}

.public-page .event-card--mixed_games {
  --activity: #39755f;
}

.public-page .event-card--learning_games {
  --activity: #087c85;
}

.public-page .event-card--puzzle_games,
.public-page .event-card--robot_games {
  --activity: #356f62;
}

.public-page .event-card--board_games {
  --activity: #37755c;
}

.public-page .event-card--mahjong {
  --activity: #b3482f;
}

.public-page .event-card--talks_ideas,
.public-page .event-card--public_lecture,
.public-page .event-card--lecture_series,
.public-page .event-card--public_debate,
.public-page .event-card--author_talk {
  --activity: #884f16;
}

.public-page .event-card--fan_watch_party,
.public-page .event-card--sports_fitness,
.public-page .event-card--roller_skating,
.public-page .event-card--college_volleyball,
.public-page .event-card--college_soccer,
.public-page .event-card--softball_tournament {
  --activity: #27704f;
}

.public-page .event-card--high_school_play,
.public-page .event-card--high_school_musical,
.public-page .event-card--college_play,
.public-page .event-card--college_musical,
.public-page .event-card--puppet_theater,
.public-page .event-card--arts {
  --activity: #6444a4;
}

.public-page .event-card--dance_performance {
  --activity: #315fbd;
}

.public-page .event-card--arts_night {
  --activity: #4d49b8;
}

.public-page .event-card--outdoor_movie {
  --activity: #37769b;
}

.public-page .event-card--film_screening {
  --activity: #376b91;
}

.public-page .event-card--block_party {
  --activity: #007e78;
}

.public-page .event-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.28rem;
  height: auto;
}

.public-page .event-pattern {
  grid-row: 1;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.42rem 0.7rem 0.42rem 0.85rem;
  color: var(--app-navy);
  background: #f3e8b9;
  border-bottom: 1px solid color-mix(in srgb, var(--activity) 24%, #d9ca94);
}

.public-page .event-pattern__glyph {
  display: grid;
  min-width: 1.7rem;
  height: 1.7rem;
  padding: 0 0.28rem;
  place-items: center;
  color: white;
  background: var(--app-navy);
  border-radius: 0.15rem;
  font-family: var(--app-display);
  font-size: 0.58rem;
  font-weight: 900;
}

.public-page .event-pattern p,
.public-page .event-pattern strong,
.public-page .event-pattern span,
.public-page .event-pattern small {
  display: block;
  margin: 0;
}

.public-page .event-pattern strong {
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  line-height: 1.15;
  text-transform: uppercase;
}

.public-page .event-pattern p > span {
  margin-top: 0.08rem;
  color: #604f12;
  font-size: 0.66rem;
  font-weight: 850;
}

.public-page .event-pattern small {
  margin-top: 0.08rem;
  color: rgb(19 12 46 / 68%);
  font-size: 0.61rem;
  line-height: 1.25;
}

.public-page .event-pattern--weekly_regular {
  background: repeating-linear-gradient(135deg, #f6dda1 0 0.7rem, #f9e8bd 0.7rem 1.4rem);
}

.public-page .event-pattern--one_night {
  color: white;
  background: linear-gradient(100deg, var(--app-navy), #6d1c66);
}

.public-page .event-pattern--one_night small,
.public-page .event-pattern--one_night p > span {
  color: rgb(255 255 255 / 73%);
}

.public-page .event-pattern--one_night .event-pattern__glyph {
  color: var(--app-navy);
  background: var(--app-coral);
}

.public-page .event-pattern--limited_run {
  background: #f0e7fb;
  border-bottom-style: dashed;
}

.public-page .event-pattern--series_date {
  background: #e2f2f1;
}

.public-page .event-pattern--residency {
  color: white;
  background: repeating-linear-gradient(120deg, #7a246d 0 1.2rem, #8e2d7e 1.2rem 2.4rem);
}

.public-page .event-pattern--residency small,
.public-page .event-pattern--residency p > span {
  color: rgb(255 255 255 / 76%);
}

.public-page .event-pattern--rotating_lineup {
  background: linear-gradient(90deg, #d6f0ed, #f1f4c9);
}

.public-page .event-pattern--seasonal_home {
  color: #fff9d8;
  background:
    linear-gradient(90deg, rgb(244 201 79 / 13%) 1px, transparent 1px),
    #173e36;
  background-size: 1.2rem 100%, auto;
}

.public-page .event-pattern--seasonal_home small,
.public-page .event-pattern--seasonal_home p > span {
  color: rgb(255 255 255 / 78%);
}

.public-page .event-pattern--seasonal_home .event-pattern__glyph {
  color: #173e36;
  background: var(--app-lime);
}

.public-page .event-card__time,
.public-page .event-card__body {
  grid-row: 2;
}

.public-page .event-card--pattern-unknown .event-card__time,
.public-page .event-card--pattern-unknown .event-card__body {
  grid-row: 1;
}

.public-page .event-card__time {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 0.65rem 0.75rem 0.85rem;
  background: color-mix(in srgb, var(--activity) 8%, #f8f9fc);
  border-right: 1px solid color-mix(in srgb, var(--activity) 17%, #e4e6ee);
}

.public-page .event-card--family_concert .event-card__time {
  background: repeating-linear-gradient(135deg, #fff7e2 0 0.75rem, #ffefd9 0.75rem 1.5rem);
}

.public-page .event-card--percussion_playground .event-card__time {
  background:
    radial-gradient(circle, rgb(184 90 13 / 16%) 0 0.18rem, transparent 0.2rem) 0 0 / 1.2rem 1.2rem,
    linear-gradient(145deg, #fff3da, #edf8e9);
}

.public-page .event-card--open_mic .event-card__time {
  background-color: #fff6fb;
  background-image: radial-gradient(rgb(168 44 122 / 15%) 1px, transparent 1px);
  background-size: 0.55rem 0.55rem;
}

.public-page .event-card--cultural_showcase .event-card__time {
  background: repeating-linear-gradient(
    115deg,
    #fff7e5 0 0.55rem,
    #ffe8d6 0.55rem 1.1rem,
    #eef6e8 1.1rem 1.65rem
  );
}

.public-page .event-card--film_concert .event-card__time {
  background:
    linear-gradient(135deg, transparent 0 48%, rgb(141 61 107 / 10%) 48% 52%, transparent 52%),
    linear-gradient(145deg, #f4efff, #fff0df);
}

.public-page .event-card--music_talk .event-card__time {
  background:
    radial-gradient(circle, rgb(85 69 143 / 15%) 0 0.14rem, transparent 0.16rem) 0 0 / 0.9rem 0.9rem,
    #f5f2ff;
}

.public-page .event-card--music_learning .event-card__time {
  background:
    repeating-linear-gradient(0deg, #f0fbfa 0 0.72rem, #d8f0ee 0.72rem 0.78rem),
    #f0fbfa;
}

.public-page .event-card--arts_night .event-card__time {
  background: linear-gradient(145deg, #f1edff, #e7f8f6);
}

.public-page .event-card--block_party .event-card__time {
  background:
    linear-gradient(45deg, rgb(0 126 120 / 8%) 25%, transparent 25% 75%, rgb(0 126 120 / 8%) 75%),
    #f1fbf9;
  background-size: 1rem 1rem;
}

.public-page .event-glyph {
  display: grid;
  width: 1.45rem;
  height: 1.45rem;
  margin-bottom: 0.4rem;
  place-items: center;
  color: white;
  background: var(--activity);
  border-radius: 0.45rem;
  font-size: 0.68rem;
  font-weight: 950;
}

.public-page .event-time {
  margin: 0;
  color: var(--app-ink);
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.public-page .event-time span {
  display: block;
  margin-top: 0.2rem;
  color: var(--app-muted);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}

.public-page .event-time--unknown {
  color: #9a3529;
  font-size: 0.78rem;
}

.public-page .event-date {
  margin-top: 0.42rem;
  color: var(--app-muted);
  font-size: 0.56rem;
  font-weight: 720;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

.public-page .event-card__body {
  min-width: 0;
  padding: 0.75rem 0.8rem;
}

.public-page .event-kind {
  margin: 0 0 0.28rem;
  padding: 0.22rem 0.48rem;
  color: var(--activity);
  background: color-mix(in srgb, var(--activity) 9%, white);
  border-color: color-mix(in srgb, var(--activity) 24%, white);
  font-size: 0.6rem;
}

.public-page .event-availability {
  display: flex;
  width: fit-content;
  flex-wrap: wrap;
  gap: 0.22rem;
  align-items: center;
  margin: 0 0 0.42rem;
  padding: 0.28rem 0.5rem;
  color: #6b3300;
  background: #fff1b8;
  border: 1px solid #dda92c;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 760;
  line-height: 1.15;
}

.public-page .event-card h3 {
  font-family: "Arial Narrow", "Century Gothic", var(--sans);
  font-size: 1.08rem;
  font-weight: 880;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.public-page .event-card.is-map-selected {
  border-color: var(--app-coral);
  box-shadow: 0 0 0 0.2rem rgb(237 79 166 / 25%), 0 0.8rem 2rem rgb(19 12 46 / 20%);
}

.public-page .event-map-panel {
  margin: 0 0 1rem;
  padding: 0.72rem;
  color: white;
  background:
    linear-gradient(135deg, rgb(168 120 63 / 13%), transparent 35%),
    #121012;
  border: 1px solid var(--app-brass);
  border-radius: 0.55rem;
  box-shadow: 0.22rem 0.22rem 0 var(--app-walnut), 0 1rem 2.2rem rgb(27 23 25 / 20%);
}

.public-page .event-map-panel__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.2rem 0.25rem 0.65rem;
}

.public-page .event-map-panel__heading .eyebrow {
  margin: 0 0 0.1rem;
  color: var(--app-coral);
  font-size: 0.62rem;
}

.public-page .event-map-panel__heading h2 {
  margin: 0;
  color: #fff8dc;
  font-family: var(--app-display);
  font-size: clamp(1.05rem, 4vw, 1.55rem);
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.public-page .event-map-panel__heading > p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.66rem;
  white-space: nowrap;
}

.public-page .event-map-panel__heading > p strong {
  color: var(--app-lime);
  font-size: 1rem;
}

.public-page .event-map {
  z-index: 1;
  width: 100%;
  height: clamp(24rem, 58vh, 42rem);
  overflow: hidden;
  background: #26203a;
  border: 1px solid rgb(168 120 63 / 78%);
  border-radius: 0.25rem;
}

.public-page .event-map .leaflet-tile-pane {
  filter: saturate(0.62) sepia(0.12) contrast(1.04);
}

.public-page .event-map--unavailable {
  display: grid;
  place-items: center;
}

.public-page .event-map--empty {
  display: grid;
  place-items: center;
}

.public-page .event-map--empty::after {
  color: rgb(255 255 255 / 78%);
  content: "No visible map matches";
  font-size: 0.8rem;
  font-weight: 800;
}

.public-page .event-map--unavailable::after {
  content: "Map unavailable";
  color: rgb(255 255 255 / 72%);
  font-size: 0.8rem;
  font-weight: 800;
}

.public-page .event-map-status {
  margin: 0;
  padding: 0.45rem 0.2rem 0.05rem;
  color: rgb(255 255 255 / 62%);
  font-size: 0.62rem;
}

.suumer-map-pin-wrap {
  background: transparent;
  border: 0;
}

.suumer-map-pin {
  position: relative;
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  color: #140d2e;
  background: var(--app-lime);
  border: 0.16rem solid #140d2e;
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 0 0 0.12rem #fff7d6, 0 0.25rem 0.55rem rgb(0 0 0 / 35%);
  font-family: var(--app-display);
  font-size: 0.72rem;
  transform: rotate(-45deg);
}

.suumer-map-pin b {
  transform: rotate(45deg);
}

.suumer-map-pin__picture {
  display: grid;
  width: 1.18rem;
  height: 1.18rem;
  place-items: center;
  transform: rotate(45deg);
}

.suumer-map-pin__icon {
  width: 1.12rem;
  height: 1.12rem;
}

.suumer-map-pin__count {
  position: absolute;
  top: -0.42rem;
  right: -0.42rem;
  display: grid;
  width: 1.08rem;
  height: 1.08rem;
  place-items: center;
  color: white;
  background: #140d2e;
  border: 0.1rem solid #fff7d6;
  border-radius: 50%;
  font-size: 0.55rem;
  line-height: 1;
  transform: rotate(45deg);
}

.suumer-map-pin--mixed {
  color: #140d2e;
  background: linear-gradient(135deg, var(--app-coral) 0 48%, var(--app-cyan) 52% 100%);
}

.suumer-map-pin--karaoke,
.suumer-map-pin--live_music,
.suumer-map-pin--local_band,
.suumer-map-pin--choral_music,
.suumer-map-pin--chamber_orchestra,
.suumer-map-pin--symphony_orchestra,
.suumer-map-pin--chamber_music,
.suumer-map-pin--comedy,
.suumer-map-pin--stand_up_comedy,
.suumer-map-pin--sketch_comedy,
.suumer-map-pin--improv_comedy {
  color: white;
  background: var(--app-coral);
}

.suumer-map-pin--high_school_play,
.suumer-map-pin--high_school_musical,
.suumer-map-pin--college_play,
.suumer-map-pin--college_musical {
  color: white;
  background: var(--app-purple);
}

.suumer-map-pin--fan_watch_party {
  color: var(--app-navy);
  background: #62df83;
}

.suumer-map-pin--food_drink,
.suumer-map-pin--community,
.suumer-map-pin--arts {
  color: white;
  background: var(--app-cyan);
}

.suumer-map-popup {
  display: grid;
  gap: 0.7rem;
  min-width: 12rem;
  color: #211731;
  font-family: "Century Gothic", Futura, sans-serif;
}

.suumer-map-popup__event {
  display: grid;
  gap: 0.16rem;
}

.suumer-map-popup__event + .suumer-map-popup__event {
  padding-top: 0.65rem;
  border-top: 1px solid #ddd2b0;
}

.suumer-map-popup__kind {
  color: #7a246d;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
}

.suumer-map-popup__admission {
  display: inline-block;
  margin-left: 0.38rem;
  padding: 0.08rem 0.3rem;
  color: #174c35;
  background: #dff7df;
  border-radius: 999px;
}

.suumer-map-popup__event > span:not(.suumer-map-popup__kind) {
  color: #6e6274;
  font-size: 0.72rem;
}

.suumer-map-popup button {
  justify-self: start;
  margin-top: 0.25rem;
  padding: 0.35rem 0.55rem;
  color: #fff;
  background: #130c2e;
  border: 0;
  border-radius: 0.2rem;
  font-size: 0.68rem;
  font-weight: 850;
}

.public-page .result-lane {
  margin-top: 1.4rem;
}

.public-page .result-lane--social {
  margin-top: 0;
}

.public-page .result-lane__heading {
  display: flex;
  align-items: end;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid var(--app-line);
}

.public-page .result-lane__heading .eyebrow {
  margin: 0 auto 0 0;
  color: var(--app-coral);
  font-size: 0.58rem;
}

.public-page .result-lane__heading h2 {
  order: -1;
  margin: 0;
  font-family: var(--app-display);
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1;
  text-transform: uppercase;
}

.public-page .result-lane__heading > span {
  display: grid;
  min-width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  color: var(--app-navy);
  background: var(--app-lime);
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 900;
}

.public-page .event-name {
  margin-top: 0.18rem;
  color: var(--app-muted);
  font-size: 0.78rem;
}

.public-page .location {
  margin: 0.48rem 0 0;
  color: #4c5164;
  font-size: 0.73rem;
}

.public-page .location a {
  display: inline-block;
  margin-left: 0.32rem;
  padding: 0.16rem 0.42rem;
  color: var(--app-purple);
  background: #f0efff;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 800;
  text-decoration: none;
}

.public-page .organizer {
  margin: 0.42rem 0 0;
  color: var(--app-muted);
  font-size: 0.7rem;
}

.public-page .organizer span {
  display: inline;
  margin-right: 0.2rem;
  font-size: inherit;
  letter-spacing: 0;
  text-transform: none;
}

.public-page details.organizer {
  padding: 0;
  background: transparent;
  border: 0;
}

.public-page details.organizer summary,
.public-page .event-note summary {
  width: fit-content;
  color: #8a5630;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 760;
}

.public-page details.organizer p,
.public-page .event-note p {
  margin: 0.3rem 0 0;
  color: var(--app-muted);
  font-size: 0.68rem;
}

.public-page .event-note {
  margin-top: 0.45rem;
  padding-top: 0;
  border-top: 0;
}

.public-page .event-status {
  margin-bottom: 0.38rem;
  padding: 0.24rem 0.45rem;
  font-size: 0.58rem;
}

.public-page .event-card__actions {
  grid-row: 3;
  grid-column: 1 / -1;
  min-width: 0;
  padding: 0.48rem 0.8rem;
  background: #fafbfc;
  border-top: 1px solid var(--app-line);
}

.public-page .rating-invite {
  margin-bottom: 0.45rem;
}

.public-page .rating-invite a {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.34rem 0.62rem;
  color: #fff;
  background: var(--app-purple);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  text-decoration: none;
}

.public-page .rating-panel {
  display: grid;
  gap: 0.28rem;
  margin-bottom: 0.48rem;
  padding-bottom: 0.48rem;
  border-bottom: 1px solid var(--app-line);
}

.public-page .rating-panel form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.12rem;
}

.public-page .rating-summary,
.public-page .rating-label {
  margin: 0;
  color: var(--app-muted);
  font-size: 0.62rem;
  line-height: 1.25;
}

.public-page .rating-summary strong {
  color: var(--app-navy);
  font-size: 0.78rem;
}

.public-page .rating-label {
  width: 100%;
  font-weight: 800;
}

.public-page .rating-stars {
  display: inline-flex;
}

.public-page .rating-star,
.public-page .rating-clear {
  min-width: 1.55rem;
  min-height: 1.8rem;
  padding: 0.08rem;
  color: #8d8290;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.public-page .rating-star {
  font-size: 1.25rem;
  line-height: 1;
}

.public-page .rating-star:hover,
.public-page .rating-star.is-selected {
  color: var(--app-coral);
}

.public-page .rating-clear {
  margin-left: 0.35rem;
  color: var(--app-purple);
  font-size: 0.58rem;
  font-weight: 800;
  text-decoration: underline;
}

.public-page .event-card--pattern-unknown .event-card__actions {
  grid-row: 2;
}

.public-page .evidence {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 0.68rem;
}

.public-page .evidence summary {
  display: flex;
  width: 100%;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--app-purple);
  font-weight: 790;
}

.public-page .evidence summary > span {
  margin-left: auto;
  color: var(--app-muted);
  font-size: 0.62rem;
  font-weight: 650;
}

.public-page .evidence ul {
  gap: 0.35rem 0.75rem;
  margin-top: 0.5rem;
}

.public-page .empty-state {
  max-width: none;
  padding: clamp(1.2rem, 5vw, 2rem);
  background: linear-gradient(135deg, #fffaf0, #f4ebdc);
  border: 1px dashed #9a887b;
  box-shadow: none;
}

.public-page .empty-state::after {
  background: rgb(248 106 67 / 7%);
  border-color: rgb(248 106 67 / 13%);
}

.public-page .empty-state h2 {
  font-family: var(--sans);
  font-size: clamp(1.35rem, 6vw, 2rem);
}

.public-page .empty-state > p:not(.empty-state__date) {
  max-width: 40rem;
  font-size: 0.82rem;
}

.public-page .site-footer {
  margin-top: 2rem;
  color: var(--app-muted);
  border-color: var(--app-line);
  font-family: "Century Gothic", Futura, Avenir, var(--sans);
  font-size: 0.72rem;
}

.account-page {
  background:
    radial-gradient(circle at 90% 8%, rgb(248 71 118 / 9%), transparent 24rem),
    radial-gradient(circle at 4% 75%, rgb(54 185 193 / 8%), transparent 28rem),
    linear-gradient(180deg, #fbf7ed, #f1eadc);
}

.account-page .site-header,
.account-page main {
  width: min(100% - 1.5rem, 44rem);
}

.account-main {
  padding: clamp(2rem, 8vw, 5rem) 0;
}

.account-card {
  position: relative;
  padding: clamp(1.3rem, 5vw, 2.5rem);
  overflow: hidden;
  background: #fffaf0;
  border: 1px solid #cdbfac;
  border-radius: 0.75rem;
  box-shadow: var(--shadow);
}

.account-card::before {
  display: block;
  height: 0.28rem;
  margin: calc(clamp(1.3rem, 5vw, 2.5rem) * -1) calc(clamp(1.3rem, 5vw, 2.5rem) * -1) 1.5rem;
  background: linear-gradient(90deg, #f84776 0 25%, #36b9c1 25% 50%, #f86a43 50% 75%, #7441b6 75%);
  content: "";
}

.account-card h1 {
  margin: 0;
  color: var(--night);
  font-family: var(--serif);
  font-size: clamp(2rem, 8vw, 3.4rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.account-card > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 1rem 0 0;
}

.account-form {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.account-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 850;
}

.account-form input {
  min-height: 3rem;
  padding: 0.65rem 0.75rem;
  color: var(--night);
  background: #fff;
  border: 1px solid #897a84;
  border-radius: 0.45rem;
}

.account-privacy,
.account-back {
  color: var(--muted);
  font-size: 0.8rem;
}

.account-email {
  font-size: 1.05rem;
  font-weight: 800;
}

.account-error {
  padding: 0.7rem 0.8rem;
  color: #792042;
  background: #fff0f5;
  border-left: 0.25rem solid #f84776;
}

.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.4rem;
}

.account-actions .primary-button,
.account-actions .secondary-button {
  width: auto;
  margin: 0;
  text-decoration: none;
}

.account-back {
  margin: 1rem 0 0;
}

@media (max-width: 36rem) {
  .public-page .event-search {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-page .event-search .search-field:not(.search-field--date),
  .public-page .search-field--date,
  .public-page .search-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (min-width: 42rem) {
  .public-page .site-header,
  .public-page main,
  .public-page .site-footer {
    width: min(100% - 2.5rem, 80rem);
  }

  .public-page .public-intro {
    padding: 1.6rem;
  }

  .public-page .event-search {
    grid-template-columns: minmax(0, 2fr) minmax(10rem, 0.8fr) auto;
    align-items: end;
  }

  .public-page .event-search .search-field:not(.search-field--date) {
    grid-column: auto;
  }

  .public-page .search-button {
    grid-column: auto;
  }

  .public-page .date-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: visible;
  }

  .public-page .date-chip {
    min-width: 0;
  }

  .public-page .event-card {
    grid-template-columns: 8.6rem minmax(0, 1fr) minmax(11rem, 14rem);
  }

  .public-page .event-card__time {
    padding-left: 1rem;
  }

  .public-page .event-card__body {
    padding: 0.85rem 1rem;
  }

  .public-page .event-card__actions {
    grid-row: 2;
    grid-column: 3;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 0.75rem 0.9rem;
    border-top: 0;
    border-left: 1px solid var(--app-line);
  }

  .public-page .event-card--pattern-unknown .event-card__actions {
    grid-row: 1;
  }
}

@media (min-width: 64rem) {
  .public-page .public-intro {
    display: grid;
    grid-template-columns: minmax(15rem, 0.58fr) minmax(0, 1.42fr);
    gap: 0.75rem 1.5rem;
    align-items: end;
  }

  .public-page .event-search {
    margin-top: 0;
  }

  .public-page .category-rail,
  .public-page .subcategory-rail,
  .public-page .coverage-strip {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: white;
  }

  .site-header,
  .site-footer,
  .date-navigation,
  .date-browser,
  .category-rail,
  .subcategory-rail,
  .coverage-strip,
  .event-search,
  .event-map-panel,
  .action-form,
  .commit-form,
  .undo-offer,
  .back-link,
  .skip-link,
  script {
    display: none !important;
  }

  .event-grid {
    display: block;
  }

  .event-card {
    break-inside: avoid;
    margin-bottom: 1rem;
    box-shadow: none;
  }
}

/* Suumer scan view: compact, activity-led, and deliberately free of ad-shaped gaps. */
.visually-hidden,
.public-page .event-time > span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.public-page .site-header__status:empty {
  display: none;
}

.public-page [hidden] {
  display: none !important;
}

.public-page .preference-empty {
  padding: 1rem;
  color: #2b2228;
  background: #fff2bd;
  border: 2px dashed #a86408;
  border-radius: 0.55rem;
}

.public-page .preference-empty h2,
.public-page .preference-empty p {
  margin: 0;
}

.public-page .preference-empty h2 {
  font-family: var(--app-display);
  font-size: 1rem;
}

.public-page .preference-empty p {
  margin-top: 0.2rem;
  font-size: 0.72rem;
}

.public-page .site-header__status {
  min-width: 2.25rem;
  justify-self: start;
  transform: translateY(-0.22rem);
}

.profile-button {
  position: relative;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.38rem;
  place-items: center;
  color: #fff7df;
  cursor: pointer;
  background: #35272f;
  border: 1px solid #2dccc9;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 14%), 0 0.18rem 0 #151014;
}

.profile-button:hover {
  color: #20171c;
  background: #66ddd5;
}

.profile-button__icon {
  width: 100%;
  height: 100%;
}

.profile-button__signal {
  position: absolute;
  top: -0.08rem;
  right: -0.08rem;
  width: 0.55rem;
  height: 0.55rem;
  background: #f84776;
  border: 2px solid #20171c;
  border-radius: 50%;
}

.profile-dialog {
  width: min(92vw, 27rem);
  max-height: min(88vh, 42rem);
  padding: 0;
  color: #21191e;
  background: transparent;
  border: 0;
  overflow: visible;
}

.profile-dialog::backdrop {
  background: rgb(17 12 15 / 72%);
  backdrop-filter: blur(0.16rem);
}

.profile-dialog__card {
  padding: 1rem;
  background: #fff9e9;
  border: 2px solid #2dccc9;
  border-radius: 0.72rem;
  box-shadow: 0.35rem 0.4rem 0 #6c316f, 0 1.2rem 3rem rgb(0 0 0 / 42%);
}

.profile-dialog__heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.68rem;
  border-bottom: 0.22rem solid;
  border-image: linear-gradient(90deg, #f84776 0 25%, #2dccc9 25% 50%, #f86a43 50% 75%, #7441b6 75%) 1;
}

.profile-dialog__heading p,
.profile-dialog__heading h2,
.profile-dialog__promise,
.profile-preference-status {
  margin: 0;
}

.profile-dialog__heading p {
  color: #7441b6;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-dialog__heading h2 {
  margin-top: 0.1rem;
  font-family: var(--app-display);
  font-size: 1.25rem;
  line-height: 1.05;
}

.profile-dialog__heading button {
  display: grid;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  padding: 0;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: #2b2228;
  border: 0;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
}

.profile-dialog__promise {
  padding: 0.7rem 0 0.5rem;
  color: #65565d;
  font-size: 0.75rem;
}

.profile-field,
.profile-check {
  display: grid;
  margin-top: 0.65rem;
}

.profile-field > span,
.profile-check strong {
  font-size: 0.78rem;
  font-weight: 900;
}

.profile-field input {
  min-height: 2.65rem;
  margin-top: 0.25rem;
  padding: 0.55rem 0.68rem;
  color: #21191e;
  background: #fff;
  border: 2px solid #b9a99d;
  border-radius: 0.42rem;
  font-size: 0.9rem;
}

.profile-field small,
.profile-check small {
  margin-top: 0.18rem;
  color: #75666d;
  font-size: 0.66rem;
  line-height: 1.3;
}

.profile-check {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: start;
  padding: 0.65rem;
  background: #f2eaff;
  border: 1px solid #c6b6e5;
  border-radius: 0.5rem;
}

.profile-check input {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0.08rem 0 0;
  accent-color: #7441b6;
}

.profile-check span {
  display: grid;
}

.profile-preference-status {
  min-height: 1.2rem;
  padding-top: 0.35rem;
  color: #9a2757;
  font-size: 0.7rem;
  font-weight: 800;
}

.profile-dialog__actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem;
}

.profile-save,
.profile-reset,
.profile-account-link {
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  border-radius: 0.42rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-save {
  color: #20171c;
  background: #2dccc9;
  border: 1px solid #168b8c;
}

.profile-reset {
  color: #4f4148;
  background: #fff;
  border: 1px solid #bbaea5;
}

.profile-account-link {
  display: grid;
  margin-top: 0.5rem;
  place-items: center;
  color: #fff;
  background: #7441b6;
  text-decoration: none;
}

.public-page .public-intro {
  display: block;
  margin-bottom: 0.48rem;
  padding: 0.48rem;
  border-radius: 0.68rem;
  box-shadow: 0 0.2rem 0 var(--app-walnut), 0 0.55rem 1.35rem rgb(32 26 32 / 15%);
}

.public-page .find-your-thing {
  --reel-font-size: clamp(0.72rem, 3.2vw, 0.92rem);
  --reel-width: 6.1em;
  position: relative;
  display: grid;
  width: fit-content;
  max-width: 100%;
  grid-template-columns: auto repeat(2, var(--reel-width));
  gap: 0.28rem;
  align-items: center;
  overflow: hidden;
  padding: 0.25rem 0 0.34rem;
  color: #fff8e9;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: var(--reel-font-size);
  font-family: var(--app-display);
}

.public-page .find-your-thing::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 0.14rem;
  background: linear-gradient(90deg, #f84776 0 25%, #2dccc9 25% 50%, #f86a43 50% 75%, #7441b6 75%);
  content: "";
}

.public-page .find-your-thing__fixed {
  padding: 0 0.08rem;
  font-size: clamp(1.12rem, 5.5vw, 1.55rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
}

.public-page .find-your-thing__reel {
  --reel-row: 1.9rem;
  position: relative;
  display: block;
  min-width: 0;
  height: var(--reel-row);
  overflow: hidden;
  color: #21191e;
  background: #fff7df;
  border: 1px solid #8f786b;
  border-radius: 0.24rem;
  box-shadow: inset 0 0.2rem 0.32rem rgb(32 26 32 / 13%);
}

.public-page .find-your-thing__reel::before,
.public-page .find-your-thing__reel::after {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  height: 0.3rem;
  pointer-events: none;
  content: "";
}

.public-page .find-your-thing__reel::before {
  top: 0;
  background: linear-gradient(#bcad9b, transparent);
}

.public-page .find-your-thing__reel::after {
  bottom: 0;
  background: linear-gradient(transparent, #bcad9b);
}

.public-page .find-your-thing__track {
  display: block;
  transform: translateY(calc(-5 * var(--reel-row)));
  will-change: transform;
}

.public-page .find-your-thing__item {
  display: flex;
  height: var(--reel-row);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 0.28rem;
  font-size: inherit;
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.public-page .find-your-thing__reel--events {
  border-color: #d44b77;
}

.public-page .find-your-thing__reel--events .find-your-thing__track {
  animation: suumer-event-reel 3.45s cubic-bezier(0.22, 0.74, 0.2, 1) both;
}

.public-page .find-your-thing__reel--belonging {
  border-color: #269da1;
}

.public-page .find-your-thing__reel--belonging .find-your-thing__track {
  animation: suumer-belonging-reel 4.65s cubic-bezier(0.2, 0.68, 0.18, 1) both;
}

@keyframes suumer-event-reel {
  0%, 9% { transform: translateY(0); }
  17%, 25% { transform: translateY(calc(-1 * var(--reel-row))); }
  33%, 41% { transform: translateY(calc(-2 * var(--reel-row))); }
  49%, 57% { transform: translateY(calc(-3 * var(--reel-row))); }
  65%, 73% { transform: translateY(calc(-4 * var(--reel-row))); }
  86%, 100% { transform: translateY(calc(-5 * var(--reel-row))); }
}

@keyframes suumer-belonging-reel {
  0%, 12% { transform: translateY(0); }
  20%, 30% { transform: translateY(calc(-1 * var(--reel-row))); }
  38%, 48% { transform: translateY(calc(-2 * var(--reel-row))); }
  56%, 66% { transform: translateY(calc(-3 * var(--reel-row))); }
  74%, 82% { transform: translateY(calc(-4 * var(--reel-row))); }
  94%, 100% { transform: translateY(calc(-5 * var(--reel-row))); }
}

.public-page .event-search {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1fr) auto;
  gap: 0.38rem;
  align-items: end;
  margin-top: 0;
}

.public-page .event-search .search-field:not(.search-field--date) {
  grid-column: 1 / -1;
}

.public-page .event-search .search-field--date {
  grid-column: 1;
}

.public-page .search-view-actions {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, auto);
  gap: 0.3rem;
}

.public-page .search-field input,
.public-page .search-view-button {
  min-height: 2.35rem;
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
}

.public-page .search-view-button {
  display: inline-grid;
  min-width: 3.75rem;
  grid-template-columns: auto auto;
  gap: 0.28rem;
  align-items: center;
  justify-content: center;
  padding-right: 0.52rem;
  padding-left: 0.48rem;
  color: #fff7e5;
  cursor: pointer;
  background: #30262c;
  border: 1px solid #7a6860;
  border-radius: 0.42rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 13%);
  font-size: 0.67rem;
  font-weight: 900;
}

.public-page .search-view-button__icon {
  width: 1rem;
  height: 1rem;
}

.public-page .search-view-button:hover,
.public-page .search-view-button.is-selected {
  color: #21191e;
  background: #f86a43;
  border-color: #ffb08e;
}

.public-page .category-rail {
  gap: 0.34rem;
  margin-top: 0.4rem;
}

.public-page .category-chip {
  --chip: #292226;
  --chip-ink: #fffaf0;
  --chip-mark: #f84776;
  --chip-pattern: none;
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  gap: 0.38rem;
  padding: 0.22rem 0.58rem 0.22rem 0.25rem;
  color: var(--chip-ink);
  background-color: var(--chip);
  background-image: var(--chip-pattern);
  border: 1px solid color-mix(in srgb, var(--chip-mark) 58%, #fff);
  border-radius: 0.48rem;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 16%);
  font-size: 0.7rem;
  font-weight: 880;
}

.public-page .category-chip__icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 1.35rem;
  padding: 0.17rem;
  color: var(--chip);
  background: var(--chip-mark);
  border-radius: 0.28rem;
  box-shadow: 0.08rem 0.08rem 0 rgb(0 0 0 / 25%);
  stroke-width: 2;
}

.public-page .category-chip:hover {
  color: var(--chip-ink);
  background-color: color-mix(in srgb, var(--chip) 82%, white);
}

.public-page .category-chip.is-selected {
  color: var(--chip);
  background-color: var(--chip-mark);
  border-color: #fff8dc;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 52%), 0 0 0 2px var(--chip);
}

.public-page .category-chip.is-selected .category-chip__icon {
  color: var(--chip-mark);
  background: var(--chip);
}

.public-page .category-chip--all {
  --chip: #262126;
  --chip-mark: #f84776;
  --chip-pattern: linear-gradient(90deg, transparent 0 72%, rgb(54 185 193 / 25%) 72% 79%, rgb(248 106 67 / 26%) 79% 86%, rgb(116 65 182 / 26%) 86%);
}

.public-page .category-chip--trivia {
  --chip: #372510;
  --chip-mark: #f1bd38;
  --chip-pattern: repeating-linear-gradient(135deg, transparent 0 0.44rem, rgb(241 189 56 / 12%) 0.44rem 0.5rem);
}

.public-page .category-chip--karaoke {
  --chip: #572044;
  --chip-mark: #ff64ac;
  --chip-pattern: radial-gradient(circle at 80% 0, rgb(255 255 255 / 19%), transparent 1.8rem);
  border-radius: 999px 0.48rem 0.48rem 999px;
}

.public-page .category-chip--live_music {
  --chip: #563011;
  --chip-mark: #ff8b42;
  --chip-pattern: repeating-linear-gradient(0deg, transparent 0 0.32rem, rgb(255 139 66 / 16%) 0.32rem 0.36rem);
}

.public-page .category-chip--darts {
  --chip: #123b3c;
  --chip-mark: #48d6d1;
  --chip-pattern: radial-gradient(circle at 84% 50%, transparent 0 0.45rem, rgb(72 214 209 / 19%) 0.48rem 0.56rem, transparent 0.59rem);
  border-radius: 999px;
}

.public-page .category-chip--pool {
  --chip: #163728;
  --chip-mark: #f5efe1;
  --chip-pattern: radial-gradient(circle, rgb(255 255 255 / 9%) 0 0.08rem, transparent 0.1rem) 0 0 / 0.62rem 0.62rem;
  border-radius: 999px;
}

.public-page .category-chip--games {
  --chip: #332457;
  --chip-mark: #a58cff;
  --chip-pattern: linear-gradient(45deg, rgb(165 140 255 / 12%) 25%, transparent 25% 75%, rgb(165 140 255 / 12%) 75%) 0 0 / 0.7rem 0.7rem;
}

.public-page .category-chip--food_drink {
  --chip: #592a20;
  --chip-mark: #ff7857;
  --chip-pattern: repeating-linear-gradient(90deg, transparent 0 0.72rem, rgb(255 120 87 / 14%) 0.72rem 0.78rem);
  border-radius: 0.2rem 0.75rem 0.2rem 0.75rem;
}

.public-page .category-chip--sports_fitness {
  --chip: #17384d;
  --chip-mark: #5dc5f2;
  --chip-pattern: repeating-linear-gradient(120deg, transparent 0 0.55rem, rgb(93 197 242 / 15%) 0.55rem 0.62rem);
  transform: skewX(-2deg);
}

.public-page .category-chip--theater {
  --chip: #4b1830;
  --chip-mark: #e8b648;
  --chip-pattern: linear-gradient(90deg, rgb(0 0 0 / 17%), transparent 24% 76%, rgb(0 0 0 / 17%));
  border-radius: 0.18rem;
}

.public-page .category-chip--comedy {
  --chip: #5b4320;
  --chip-mark: #ffd85b;
  --chip-pattern: radial-gradient(circle, rgb(255 216 91 / 16%) 0 0.11rem, transparent 0.13rem) 0 0 / 0.62rem 0.62rem;
  border-radius: 1rem 1rem 0.35rem 0.35rem;
}

.public-page .category-chip--talks_ideas {
  --chip: #3e3028;
  --chip-mark: #edcda3;
  --chip-pattern: repeating-linear-gradient(0deg, transparent 0 0.34rem, rgb(237 205 163 / 14%) 0.34rem 0.37rem);
  border-radius: 0.18rem;
}

.public-page .category-chip--arts {
  --chip: #3c235c;
  --chip-mark: #dd79f2;
  --chip-pattern: linear-gradient(125deg, transparent 0 62%, rgb(45 204 201 / 21%) 62% 77%, rgb(248 71 118 / 22%) 77%);
  border-radius: 0.75rem 0.2rem 0.75rem 0.2rem;
}

.public-page .category-chip--community {
  --chip: #123e46;
  --chip-mark: #53d5cb;
  --chip-pattern: linear-gradient(90deg, rgb(83 213 203 / 11%) 1px, transparent 1px) 0 0 / 0.58rem 100%;
}

.public-page .category-chip--family {
  --chip: #55243c;
  --chip-mark: #ff83a9;
  --chip-pattern: radial-gradient(circle at 82% 20%, rgb(255 131 169 / 20%) 0 0.42rem, transparent 0.45rem);
  border-radius: 999px;
}

.public-page .subcategory-rail {
  margin-top: 0.34rem;
}

.public-page .subcategory-chip {
  padding: 0.24rem 0.45rem;
  font-size: 0.64rem;
}

.public-page .date-browser {
  margin-bottom: 0.48rem;
  padding: 0.38rem;
}

.public-page .results-intro {
  gap: 0.28rem 0.65rem;
  padding: 0.18rem 0 0.36rem;
  color: #fff7e5;
}

.public-page .results-intro h2,
.public-page .result-count strong {
  color: #fff7e5;
}

.public-page .result-count span,
.public-page .result-count small {
  color: rgb(255 247 229 / 70%);
}

.public-page .checked-line {
  color: #7cd7c9;
}

.public-page .result-lane__heading {
  border-bottom-color: rgb(255 247 229 / 28%);
}

.public-page .result-lane__heading h2,
.public-page .site-footer {
  color: #fff7e5;
}

.public-page .result-time-group__clock {
  width: 1.05em;
  height: 1.05em;
  margin-right: 0.32rem;
  vertical-align: -0.12em;
}

.public-page .pattern-legend {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.26rem 0.52rem;
  padding-top: 0.22rem;
  border-top: 1px solid rgb(109 94 102 / 18%);
}

.public-page .pattern-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 0.24rem;
  color: var(--app-muted);
  font-size: 0.58rem;
  font-weight: 760;
}

.public-page .pattern-legend__item b {
  display: grid;
  min-width: 1.12rem;
  height: 1.12rem;
  padding: 0 0.18rem;
  place-items: center;
  color: #fff;
  background: #403740;
  border-radius: 0.18rem;
  font-size: 0.42rem;
  line-height: 1;
}

.public-page .pattern-legend__item.event-pattern--weekly_regular b {
  background: repeating-linear-gradient(90deg, #ae7010 0 0.18rem, #f5d27b 0.18rem 0.27rem);
  border-radius: 0.18rem;
}
.public-page .pattern-legend__item.event-pattern--one_night b { color: #4b1738; background: #ff74ae; transform: rotate(45deg); }
.public-page .pattern-legend__item.event-pattern--one_night b::first-letter { transform: rotate(-45deg); }
.public-page .pattern-legend__item.event-pattern--limited_run b { color: #3b215f; background: #e5cff9; border: 1px dashed #7441b6; }
.public-page .pattern-legend__item.event-pattern--series_date b { color: #17494c; background: #9ee3de; }
.public-page .pattern-legend__item.event-pattern--residency b { background: #81276d; border-radius: 50% 50% 0 0; }
.public-page .pattern-legend__item.event-pattern--rotating_lineup b { color: #16444b; background: #91ddd6; border-radius: 999px; }
.public-page .pattern-legend__item.event-pattern--seasonal_home b { color: #173e36; background: #ffd15a; }

.public-page .event-grid {
  gap: 0.48rem;
}

.public-page .event-card {
  --activity: #167b80;
  --activity-soft: #e7f5f3;
  --activity-pattern: none;
  position: relative;
  grid-template-columns: 4.65rem minmax(0, 1fr);
  align-content: start;
  min-height: 5.35rem;
  overflow: hidden;
  background: #fffdf7;
  border-color: color-mix(in srgb, var(--activity) 26%, #c8b9a4);
  border-radius: 0.38rem;
  box-shadow: 0 0.14rem 0.46rem rgb(75 48 42 / 7%);
}

.public-page .event-card::before {
  inset: 0 auto 0 0;
  width: 0.22rem;
  height: auto;
  background: var(--activity);
}

.public-page .event-card::after {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 0.22rem;
  height: 100%;
  pointer-events: none;
  content: "";
}

.public-page .event-card--pattern-weekly_regular::after {
  background: repeating-linear-gradient(180deg, var(--activity) 0 0.34rem, transparent 0.34rem 0.5rem);
}

.public-page .event-card--pattern-one_night::after {
  width: 0;
  height: 0;
  border-top: 1.05rem solid #f84776;
  border-left: 1.05rem solid transparent;
}

.public-page .event-card--pattern-limited_run {
  border-top-style: dashed;
}

.public-page .event-card--pattern-series_date {
  box-shadow: inset 0 -0.16rem 0 color-mix(in srgb, var(--activity) 52%, white), 0 0.14rem 0.46rem rgb(75 48 42 / 7%);
}

.public-page .event-card--pattern-residency {
  border-bottom: 0.22rem solid var(--activity);
}

.public-page .event-card--pattern-rotating_lineup::after {
  background: repeating-linear-gradient(135deg, var(--activity) 0 0.22rem, transparent 0.22rem 0.38rem);
}

.public-page .event-card--pattern-seasonal_home::after {
  width: 0.28rem;
  background: linear-gradient(180deg, #f1bd38 0 33%, var(--activity) 33% 66%, #2dccc9 66%);
}

.public-page .event-card:hover {
  transform: none;
}

.public-page .event-card__time,
.public-page .event-card__body,
.public-page .event-card--pattern-unknown .event-card__time,
.public-page .event-card--pattern-unknown .event-card__body {
  grid-row: 1;
}

.public-page .event-card__time {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 0.42rem 0.25rem 0.38rem 0.42rem;
  text-align: center;
  background-color: var(--activity-soft);
  background-image: var(--activity-pattern);
  border-right: 1px solid color-mix(in srgb, var(--activity) 35%, #ddd0bd);
}

.public-page .event-glyph {
  width: 2rem;
  height: 2rem;
  margin: 0 0 0.28rem;
  padding: 0.3rem;
  color: #fff;
  background: var(--activity);
  border: 2px solid rgb(255 255 255 / 76%);
  border-radius: 0.42rem;
  box-shadow: 0.1rem 0.1rem 0 color-mix(in srgb, var(--activity) 62%, #241e21);
  font-size: 0.54rem;
  letter-spacing: -0.02em;
}

.public-page .event-glyph__icon {
  width: 100%;
  height: 100%;
  stroke-width: 2;
}

.public-page .event-time {
  font-size: 0.72rem;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.public-page .event-time--unknown {
  font-size: 0.61rem;
}

.public-page .event-pattern {
  display: inline-grid;
  min-height: 0;
  margin-top: 0.3rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.public-page .event-pattern__glyph {
  display: grid;
  min-width: 1.25rem;
  height: 1.08rem;
  padding: 0 0.18rem;
  place-items: center;
  color: #fff;
  background: #403740;
  border: 1px solid rgb(255 255 255 / 75%);
  border-radius: 0.18rem;
  box-shadow: none;
  font-size: 0.4rem;
}

.public-page .event-pattern--weekly_regular .event-pattern__glyph { background: #ae7010; border-radius: 50%; }
.public-page .event-pattern--one_night .event-pattern__glyph { color: #4b1738; background: #ff74ae; }
.public-page .event-pattern--limited_run .event-pattern__glyph { color: #3b215f; background: #e5cff9; border: 1px dashed #7441b6; }
.public-page .event-pattern--series_date .event-pattern__glyph { color: #17494c; background: #9ee3de; }
.public-page .event-pattern--residency .event-pattern__glyph { background: #81276d; border-radius: 50% 50% 0 0; }
.public-page .event-pattern--rotating_lineup .event-pattern__glyph { color: #16444b; background: #91ddd6; border-radius: 999px; }
.public-page .event-pattern--seasonal_home .event-pattern__glyph { color: #173e36; background: #ffd15a; }

.public-page .event-card__body {
  min-width: 0;
  padding: 0.42rem 0.58rem 0.36rem;
}

.public-page .event-card__labels {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 0.2rem;
  align-items: center;
  margin-bottom: 0.16rem;
}

.public-page .event-kind,
.public-page .event-status,
.public-page .event-availability {
  width: fit-content;
  margin: 0;
  padding: 0.13rem 0.34rem;
  border-radius: 999px;
  font-size: 0.51rem;
  font-weight: 850;
  line-height: 1.05;
}

.public-page .event-kind {
  color: var(--activity);
  background: color-mix(in srgb, var(--activity) 9%, #fff);
  border: 1px solid color-mix(in srgb, var(--activity) 26%, #fff);
}

.public-page .event-availability {
  gap: 0.16rem;
}

.public-page .event-card h3 {
  margin: 0;
  font-size: 0.91rem;
  letter-spacing: -0.03em;
  line-height: 1.06;
}

.public-page .event-name {
  margin: 0.08rem 0 0;
  color: #574a51;
  font-size: 0.67rem;
  font-weight: 720;
  line-height: 1.16;
}

.public-page .event-card__place {
  margin: 0.13rem 0 0;
  color: #786a70;
  font-size: 0.6rem;
  line-height: 1.1;
}

.public-page .event-card__place a {
  display: inline-grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  color: #fff;
  background: var(--activity);
  border-radius: 50%;
  font-size: 0.62rem;
  font-weight: 900;
  text-decoration: none;
}

.public-page .event-card__details {
  margin-top: 0.2rem;
  padding: 0;
  background: transparent;
  border: 0;
}

.public-page .event-card__details > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.26rem;
  color: var(--activity);
  cursor: pointer;
  list-style: none;
  font-size: 0.56rem;
  font-weight: 850;
}

.public-page .event-card__details > summary::-webkit-details-marker {
  display: none;
}

.public-page .event-card__details > summary span {
  display: grid;
  width: 0.9rem;
  height: 0.9rem;
  place-items: center;
  color: #fff;
  background: var(--activity);
  border-radius: 50%;
  line-height: 1;
  transition: transform 120ms ease;
}

.public-page .event-card__details[open] > summary span {
  transform: rotate(45deg);
}

.public-page .event-card__details-body {
  display: grid;
  gap: 0.38rem;
  margin: 0.34rem -0.58rem -0.36rem;
  padding: 0.52rem 0.58rem 0.58rem;
  color: var(--app-muted);
  background: color-mix(in srgb, var(--activity) 5%, #faf5ea);
  border-top: 1px solid color-mix(in srgb, var(--activity) 18%, #ddd0bd);
  font-size: 0.64rem;
}

.public-page .event-card__details-body p,
.public-page .event-card__details-body ul {
  margin: 0;
}

.public-page .event-card__details-body .event-date,
.public-page .event-card__details-body .location,
.public-page .event-card__details-body .organizer,
.public-page .event-card__details-body .event-note,
.public-page .event-pattern-detail {
  color: var(--app-muted);
  font-size: 0.62rem;
  line-height: 1.3;
}

.public-page .event-card__details-body strong {
  color: var(--app-ink);
}

.public-page .event-card__details-body .event-date {
  display: block;
  margin: 0;
}

.public-page .event-card__details-body .organizer,
.public-page .event-card__details-body .event-note {
  padding: 0;
  background: transparent;
  border: 0;
}

.public-page .event-card__details-body .organizer p,
.public-page .event-card__details-body .event-note p {
  margin: 0.12rem 0 0;
}

.public-page .event-card__actions,
.public-page .event-card--pattern-unknown .event-card__actions {
  display: block;
  grid-row: auto;
  grid-column: auto;
  padding: 0;
  background: transparent;
  border: 0;
}

.public-page .evidence p {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  color: var(--app-purple);
  font-weight: 790;
}

.public-page .evidence p > span {
  margin-left: auto;
  color: var(--app-muted);
  font-size: 0.58rem;
  font-weight: 650;
}

/* Family color is learned quickly; the exact glyph and texture distinguish its subtypes. */
.public-page .event-card--trivia,
.public-page .event-card--general_trivia,
.public-page .event-card--pub_trivia,
.public-page .event-card--team_trivia,
.public-page .event-card--music_trivia,
.public-page .event-card--pop_culture_trivia,
.public-page .event-card--survey_game,
.public-page .event-card--jeopardy_style,
.public-page .event-card--jeopardy_style_trivia,
.public-page .event-card--themed_trivia {
  --activity: #9a6200;
  --activity-soft: #fff1bc;
  --activity-pattern: repeating-linear-gradient(135deg, transparent 0 0.48rem, rgb(154 98 0 / 10%) 0.48rem 0.54rem);
}

.public-page .event-card--karaoke {
  --activity: #b92878;
  --activity-soft: #fff0f8;
  --activity-pattern: radial-gradient(circle at 50% 0, rgb(185 40 120 / 20%), transparent 2.7rem);
}

.public-page .event-card--live_music,
.public-page .event-card--classical_music,
.public-page .event-card--local_band,
.public-page .event-card--singer_songwriter,
.public-page .event-card--music_jam,
.public-page .event-card--drum_circle,
.public-page .event-card--percussion_playground,
.public-page .event-card--family_concert,
.public-page .event-card--choral_music,
.public-page .event-card--chamber_orchestra,
.public-page .event-card--symphony_orchestra,
.public-page .event-card--chamber_music,
.public-page .event-card--open_mic,
.public-page .event-card--film_concert,
.public-page .event-card--music_talk,
.public-page .event-card--music_learning {
  --activity: #b45c16;
  --activity-soft: #fff1df;
  --activity-pattern: repeating-linear-gradient(0deg, transparent 0 0.37rem, rgb(180 92 22 / 12%) 0.37rem 0.41rem);
}

.public-page .event-card--darts {
  --activity: #087a78;
  --activity-soft: #e5f8f5;
  --activity-pattern: radial-gradient(circle, transparent 0 0.55rem, rgb(8 122 120 / 14%) 0.58rem 0.64rem, transparent 0.67rem);
}

.public-page .event-card--darts .event-glyph { border-radius: 50%; }

.public-page .event-card--pool {
  --activity: #174834;
  --activity-soft: #e5f1e9;
  --activity-pattern: radial-gradient(circle, rgb(23 72 52 / 9%) 0 0.08rem, transparent 0.1rem) 0 0 / 0.58rem 0.58rem;
}

.public-page .event-card--pool .event-glyph { color: #181518; background: #fff; border-color: #181518; border-radius: 50%; }

.public-page .event-card--hybrid_game_night,
.public-page .event-card--social_game,
.public-page .event-card--puzzle_games,
.public-page .event-card--robot_games,
.public-page .event-card--mixed_games,
.public-page .event-card--learning_games,
.public-page .event-card--building_play,
.public-page .event-card--board_games,
.public-page .event-card--video_games,
.public-page .event-card--video_game_tournament,
.public-page .event-card--accessible_games,
.public-page .event-card--tabletop_roleplaying {
  --activity: #5b3b9a;
  --activity-soft: #f0eafb;
  --activity-pattern: linear-gradient(45deg, rgb(91 59 154 / 9%) 25%, transparent 25% 75%, rgb(91 59 154 / 9%) 75%) 0 0 / 0.72rem 0.72rem;
}

.public-page .event-card--mahjong {
  --activity: #a83c2c;
  --activity-soft: #fff5df;
  --activity-pattern: linear-gradient(90deg, rgb(168 60 44 / 11%) 1px, transparent 1px), linear-gradient(rgb(168 60 44 / 11%) 1px, transparent 1px);
  background-size: auto, auto;
}

.public-page .event-card--mahjong .event-card__time { background-size: 0.82rem 0.82rem; }
.public-page .event-card--mahjong .event-glyph { color: #a83c2c; background: #fffaf0; border-color: #a83c2c; border-radius: 0.16rem; }

.public-page .event-card--chess {
  --activity: #242024;
  --activity-soft: #f2ece2;
  --activity-pattern: linear-gradient(45deg, rgb(36 32 36 / 9%) 25%, transparent 25% 75%, rgb(36 32 36 / 9%) 75%) 0 0 / 0.8rem 0.8rem;
}

.public-page .event-card--card_games {
  --activity: #8b2741;
  --activity-soft: #fff0f2;
  --activity-pattern: linear-gradient(45deg, transparent 46%, rgb(139 39 65 / 11%) 47% 53%, transparent 54%) 0 0 / 0.8rem 0.8rem;
}

.public-page .event-card--bingo,
.public-page .event-card--music_bingo,
.public-page .event-card--loteria {
  --activity: #225ab0;
  --activity-soft: #edf3ff;
  --activity-pattern: radial-gradient(circle, rgb(34 90 176 / 13%) 0 0.12rem, transparent 0.14rem) 0 0 / 0.7rem 0.7rem;
}

.public-page .event-card--food_drink,
.public-page .event-card--food_tasting,
.public-page .event-card--food_skills {
  --activity: #b7442e;
  --activity-soft: #fff0e9;
  --activity-pattern: repeating-linear-gradient(90deg, transparent 0 0.68rem, rgb(183 68 46 / 11%) 0.68rem 0.74rem);
}

.public-page .event-card--sports_fitness,
.public-page .event-card--road_race,
.public-page .event-card--roller_skating,
.public-page .event-card--college_football,
.public-page .event-card--college_volleyball,
.public-page .event-card--college_soccer,
.public-page .event-card--basketball_tournament,
.public-page .event-card--softball_tournament,
.public-page .event-card--fan_bar,
.public-page .event-card--fan_watch_party {
  --activity: #17638c;
  --activity-soft: #e8f4fa;
  --activity-pattern: repeating-linear-gradient(120deg, transparent 0 0.52rem, rgb(23 99 140 / 11%) 0.52rem 0.58rem);
}

.public-page .event-card--comedy,
.public-page .event-card--stand_up_comedy,
.public-page .event-card--sketch_comedy,
.public-page .event-card--improv_comedy {
  --activity: #a86408;
  --activity-soft: #fff2bd;
  --activity-pattern: radial-gradient(circle, rgb(168 100 8 / 13%) 0 0.1rem, transparent 0.12rem) 0 0 / 0.62rem 0.62rem;
}

.public-page .event-card--talks_ideas,
.public-page .event-card--public_lecture,
.public-page .event-card--lecture_series,
.public-page .event-card--public_debate,
.public-page .event-card--author_talk {
  --activity: #77512d;
  --activity-soft: #f7efe2;
  --activity-pattern: repeating-linear-gradient(0deg, transparent 0 0.34rem, rgb(119 81 45 / 12%) 0.34rem 0.37rem);
}

.public-page .event-card--high_school_play,
.public-page .event-card--high_school_musical,
.public-page .event-card--college_play,
.public-page .event-card--college_musical,
.public-page .event-card--puppet_theater {
  --activity: #742d66;
  --activity-soft: #f9eaf6;
  --activity-pattern: linear-gradient(90deg, rgb(116 45 102 / 14%), transparent 25% 75%, rgb(116 45 102 / 14%));
}

.public-page .event-card--arts,
.public-page .event-card--arts_night,
.public-page .event-card--dance_performance,
.public-page .event-card--film_screening,
.public-page .event-card--outdoor_movie,
.public-page .event-card--cultural_showcase {
  --activity: #6040aa;
  --activity-soft: #f2edff;
  --activity-pattern: linear-gradient(135deg, transparent 0 58%, rgb(45 204 201 / 11%) 58% 73%, rgb(248 71 118 / 11%) 73%);
}

.public-page .event-card--community,
.public-page .event-card--block_party,
.public-page .event-card--airshow {
  --activity: #067273;
  --activity-soft: #e8f7f4;
  --activity-pattern: linear-gradient(90deg, rgb(6 114 115 / 10%) 1px, transparent 1px) 0 0 / 0.68rem 100%;
}

.public-page .event-card--family {
  --activity: #b33466;
  --activity-soft: #fff0f5;
  --activity-pattern: radial-gradient(circle at 50% 50%, rgb(179 52 102 / 12%) 0 0.22rem, transparent 0.25rem) 0 0 / 0.82rem 0.82rem;
}

.public-page .event-map-panel {
  margin-bottom: 0.62rem;
  padding: 0;
  overflow: hidden;
  border-radius: 0.5rem;
}

.public-page .event-map-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.52rem;
  align-items: center;
  min-height: 2.85rem;
  padding: 0.44rem 0.65rem;
  color: #fff8dc;
  cursor: pointer;
  list-style: none;
}

.public-page .event-map-toggle::-webkit-details-marker {
  display: none;
}

.public-page .event-map-toggle__mark {
  display: grid;
  width: 1.72rem;
  height: 1.72rem;
  place-items: center;
  color: #191417;
  background: #2dccc9;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 900;
}

.public-page .event-map-toggle strong {
  font-family: var(--app-display);
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.public-page .event-map-toggle > span:last-child {
  min-width: 1.7rem;
  padding: 0.16rem 0.35rem;
  color: #191417;
  background: #ff8a60;
  border-radius: 999px;
  font-size: 0.61rem;
  font-weight: 900;
  text-align: center;
}

.public-page .event-map-panel[open] .event-map-toggle {
  border-bottom: 1px solid rgb(255 255 255 / 18%);
}

.public-page .event-map-panel__body {
  padding: 0.4rem;
}

.public-page .event-map {
  height: clamp(11rem, 27vh, 17rem);
}

@media (min-width: 42rem) {
  .public-page .public-intro {
    padding: 0.58rem;
  }

  .public-page .event-search {
    grid-template-columns: minmax(0, 2fr) minmax(9rem, 0.8fr) auto;
  }

  .public-page .event-search .search-field:not(.search-field--date),
  .public-page .event-search .search-field--date,
  .public-page .event-search .search-view-actions {
    grid-column: auto;
  }

  .public-page .event-card,
  .public-page .event-card--pattern-unknown {
    grid-template-columns: 5rem minmax(0, 1fr);
  }

  .public-page .event-card__time {
    padding: 0.46rem 0.3rem 0.4rem 0.45rem;
  }

  .public-page .event-card__body {
    padding: 0.46rem 0.62rem 0.4rem;
  }

  .public-page .event-card__actions,
  .public-page .event-card--pattern-unknown .event-card__actions {
    display: block;
    grid-row: auto;
    grid-column: auto;
    padding: 0;
    border: 0;
  }
}

@media (min-width: 58rem) {
  .public-page .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }

  .public-page .public-intro {
    display: block;
  }

  .public-page .category-rail,
  .public-page .subcategory-rail {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .public-page .find-your-thing__track {
    animation: none !important;
    transform: translateY(calc(-5 * var(--reel-row)));
  }
}

@media (max-width: 36rem) {
  .public-page .event-search {
    grid-template-columns: minmax(8.8rem, 1fr) auto;
  }

  .public-page .event-search .search-field:not(.search-field--date) {
    grid-column: 1 / -1;
  }

  .public-page .event-search .search-field--date {
    grid-column: 1;
  }

  .public-page .event-search .search-view-actions {
    grid-column: 2;
  }

  .public-page .date-browser__heading,
  .public-page .pattern-legend {
    display: none;
  }

  .public-page .date-rail {
    gap: 0.3rem;
    padding-bottom: 0.14rem;
  }

  .public-page .date-chip {
    min-width: 4.15rem;
    padding: 0.3rem 0.42rem;
    border-radius: 0.56rem;
  }

  .public-page .date-chip > strong {
    margin-top: 0.12rem;
  }

  .public-page .date-navigation {
    margin-top: 0.22rem;
    padding-top: 0.22rem;
  }
}

@media (max-width: 23rem) {
  .public-page .site-header {
    gap: 0.3rem;
  }

  .public-page .wordmark {
    width: 4.4rem;
  }

  .public-page .site-header__status,
  .public-page .profile-button {
    min-width: 2rem;
    width: 2rem;
    height: 2rem;
  }

  .public-page .find-your-thing {
    gap: 0.18rem;
  }

  .public-page .find-your-thing__fixed {
    font-size: 1rem;
  }
}

/* Suumer interaction pass: compact search, multi-pick filters, useful cards, and full profile. */
.public-page .header-feature {
  width: fit-content;
  min-width: 0;
  margin-left: 0.12rem;
  transform: translate(0.08rem, -0.1rem);
}

.public-page .find-your-thing__promise {
  width: max-content;
  margin: 0.55rem 0 0 auto;
  color: rgb(255 247 229 / 70%);
  font-size: 0.54rem;
  font-weight: 760;
  letter-spacing: 0.035em;
  line-height: 1;
  text-align: right;
  transform: translateX(2.75rem);
}

.public-page .find-your-thing__reel--events .find-your-thing__track,
.public-page .find-your-thing__reel--belonging .find-your-thing__track {
  animation: none;
}

html.suumer-reels-animate .public-page .find-your-thing__reel--events .find-your-thing__track {
  animation: suumer-event-reel 3.45s cubic-bezier(0.22, 0.74, 0.2, 1) both;
}

html.suumer-reels-animate .public-page .find-your-thing__reel--belonging .find-your-thing__track {
  animation: suumer-belonging-reel 4.65s cubic-bezier(0.2, 0.68, 0.18, 1) both;
}

.public-page .event-search {
  grid-template-columns: minmax(16rem, 1.2fr) minmax(20rem, 0.8fr);
  gap: 0.42rem;
}

.public-page .search-place-row,
.public-page .search-options-row {
  display: grid;
  min-width: 0;
  gap: 0.38rem;
  align-items: end;
}

.public-page .search-place-row {
  grid-template-columns: minmax(9rem, 1fr) auto;
}

.public-page .search-options-row {
  grid-template-columns: minmax(8.4rem, 9.25rem) auto auto;
}

.public-page .event-search .search-place-row > .search-field {
  grid-row: 1;
  grid-column: 1;
}

.public-page .event-search .search-place-row > .search-go {
  grid-row: 1;
  grid-column: 2;
  width: auto;
}

.public-page .event-search .search-options-row > .search-field--date {
  grid-row: 1;
  grid-column: 1;
}

.public-page .event-search .search-options-row > .search-time-filter {
  grid-row: 1;
  grid-column: 2;
}

.public-page .event-search .search-options-row > .search-view-actions {
  grid-row: 1;
  grid-column: 3;
}

.public-page .search-time-filter {
  position: relative;
}

.public-page .search-time-filter > summary,
.public-page .search-go {
  display: grid;
  min-height: 2.35rem;
  padding: 0.48rem 0.65rem;
  place-items: center;
  color: #fff7e5;
  cursor: pointer;
  background: #30262c;
  border: 1px solid #7a6860;
  border-radius: 0.42rem;
  font-size: 0.7rem;
  font-weight: 900;
  list-style: none;
}

.public-page .search-time-filter > summary::-webkit-details-marker {
  display: none;
}

.public-page .search-time-filter.has-value > summary,
.public-page .search-time-filter[open] > summary {
  color: #21191e;
  background: #2dccc9;
  border-color: #7cf2e9;
}

.public-page .public-intro:has(.search-time-filter[open]) {
  overflow: visible;
}

.public-page .event-search:has(.search-time-filter[open]) {
  z-index: 30;
}

.public-page .search-time-filter__fields {
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.35rem);
  left: 50%;
  display: grid;
  width: min(17rem, 88vw);
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
  padding: 0.62rem;
  color: #21191e;
  background: #fff9e9;
  border: 2px solid #2dccc9;
  border-radius: 0.55rem;
  box-shadow: 0.25rem 0.3rem 0 #6c316f, 0 0.8rem 2rem rgb(0 0 0 / 35%);
  transform: translateX(-50%);
}

.public-page .search-time-filter__fields label {
  display: grid;
  gap: 0.2rem;
  font-size: 0.62rem;
  font-weight: 850;
}

.public-page .search-time-filter__fields input {
  min-width: 0;
  min-height: 2.2rem;
  padding: 0.35rem;
  border: 1px solid #a9988d;
  border-radius: 0.35rem;
}

.public-page .search-view-actions {
  align-self: end;
}

.public-page .search-view-button {
  position: relative;
}

.public-page .search-view-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.public-page .search-view-button:has(input:focus-visible) {
  outline: 0.2rem solid #2dccc9;
  outline-offset: 0.15rem;
}

.public-page .search-go {
  min-width: 3rem;
  align-self: end;
  color: #21191e;
  background: #f1bd38;
  border-color: #ffe083;
  box-shadow: 0 0.16rem 0 #8b5b08;
}

.public-page .search-go:hover {
  background: #ffd15a;
}

.public-page .category-chip.is-selected {
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 58%),
    0 0 0 2px var(--chip),
    0 0 0.58rem 0.12rem color-mix(in srgb, var(--chip-mark) 82%, transparent);
}

.public-page .subcategory-chip {
  min-height: 1.9rem;
  padding: 0.3rem 0.56rem;
  font-size: 0.72rem;
}

.public-page .date-chip--arrow {
  min-width: 2.75rem;
  place-items: center;
  color: #fff7e5;
  background: #3b2d36;
  border-color: #7a6860;
  font-size: 1.15rem;
}

.public-page .date-chip--arrow > span {
  font-size: inherit;
  line-height: 1;
}

.public-page .event-card {
  grid-template-columns: 4.2rem minmax(0, 1fr);
  min-height: 5rem;
}

.public-page .event-card__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.18rem 0.45rem;
  padding: 0.4rem 0.55rem 0.35rem;
}

.public-page .event-card__labels,
.public-page .event-card__headline,
.public-page .event-card__action-panel {
  grid-column: 1 / -1;
}

.public-page .event-card__headline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.35rem;
  align-items: start;
}

.public-page .event-card h3 {
  font-size: 1.04rem;
  line-height: 1.02;
}

.public-page .event-venue {
  margin: 0.16rem 0 0;
  color: #4e4148;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.15;
}

.public-page .event-venue > span:last-of-type {
  color: #786a70;
  font-size: 0.64rem;
  font-weight: 650;
}

.public-page .event-venue a {
  color: var(--activity);
  font-weight: 950;
  text-decoration: none;
}

.public-page .event-card__headline .event-kind {
  max-width: 7.8rem;
  text-align: center;
}

.public-page .event-card__identity {
  display: grid;
  gap: 0.28rem;
  justify-items: end;
}

.public-page .event-access {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: end;
}

.public-page .event-access__price,
.public-page .event-access__menu {
  display: inline-flex;
  min-height: 1.55rem;
  align-items: center;
  padding: 0.18rem 0.45rem;
  border: 1px solid color-mix(in srgb, var(--activity) 32%, white);
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
}

.public-page .event-access__price--free {
  color: #174c35;
  background: #dff7df;
  border-color: #79bd8d;
}

.public-page .event-access__price--paid,
.public-page .event-access__menu {
  color: var(--activity);
  background: color-mix(in srgb, var(--activity) 8%, white);
}

/* A location's time zone is still available to assistive technology, but repeating it on every
   card wastes the same visual space. The chosen place controls the visible local-time context. */
.public-page .event-time span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.public-page .event-card__details {
  grid-column: 1;
  margin-top: 0.1rem;
}

.public-page .event-card__details > summary {
  min-height: 2rem;
  padding: 0.25rem 0.52rem;
  color: #fff;
  background: var(--activity);
  border-radius: 0.36rem;
  font-size: 0.7rem;
}

.public-page .event-card__details > summary span {
  color: var(--activity);
  background: #fff;
}

.public-page .event-card__details-body {
  grid-column: 1 / -1;
  margin-right: -0.55rem;
  margin-bottom: -0.35rem;
  margin-left: -0.55rem;
}

.public-page .event-card__quick-actions {
  display: flex;
  grid-column: 2;
  gap: 0.26rem;
  align-items: end;
}

.public-page .event-card__quick-actions button,
.public-page .event-card__action-panel button {
  min-height: 2rem;
  padding: 0.3rem 0.5rem;
  color: #4c3e45;
  cursor: pointer;
  background: #fff;
  border: 1px solid #b8aaa2;
  border-radius: 0.35rem;
  font-size: 0.66rem;
  font-weight: 850;
}

.public-page .event-card__action-panel {
  padding-top: 0.22rem;
  border-top: 1px solid color-mix(in srgb, var(--activity) 22%, #ddd0bd);
}

.public-page .event-card__action-panel > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.public-page .event-card__action-panel button.is-selected {
  color: #fff;
  background: var(--activity);
  border-color: var(--activity);
}

.suumer-toast {
  position: fixed;
  z-index: 1000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  max-width: 32rem;
  min-height: 3rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: auto;
  padding: 0.7rem 0.85rem;
  color: #fff;
  background: #241b21;
  border: 2px solid #2dccc9;
  border-radius: 0.55rem;
  box-shadow: 0 0.7rem 2rem rgb(0 0 0 / 42%);
  font-size: 0.75rem;
  font-weight: 780;
}

.suumer-toast button {
  min-height: 2rem;
  padding: 0.3rem 0.65rem;
  color: #21191e;
  background: #f1bd38;
  border: 0;
  border-radius: 0.35rem;
  font-weight: 900;
}

.profile-page {
  --profile-ink: #241c22;
  min-height: 100vh;
  color: #fff7e5;
  background:
    radial-gradient(circle at 90% 0, rgb(248 71 118 / 18%), transparent 24rem),
    radial-gradient(circle at 5% 35rem, rgb(45 204 201 / 12%), transparent 28rem),
    linear-gradient(180deg, #171216, #21171c 35rem, #151115);
}

.profile-page .site-header,
.profile-page .profile-main {
  width: min(100% - 1.5rem, 72rem);
}

.profile-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  padding-top: 0.38rem;
  padding-bottom: 0.65rem;
}

.profile-header .wordmark {
  width: clamp(6.8rem, 20vw, 9rem);
  justify-self: center;
}

.profile-header__back {
  width: fit-content;
  min-height: 2.1rem;
  padding: 0.38rem 0.58rem;
  color: #fff7e5;
  background: #35272f;
  border: 1px solid #78636f;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 850;
  line-height: 1.2;
  text-decoration: none;
}

.profile-header__account {
  display: grid;
  justify-items: end;
  justify-self: end;
  color: #fff7e5;
  font-size: 0.68rem;
  line-height: 1.15;
  text-align: right;
}

.profile-header__account strong {
  font-size: 0.78rem;
}

.profile-header__account a,
.profile-header__account button,
.profile-header__account span {
  padding: 0;
  color: #67ded9;
  cursor: pointer;
  background: transparent;
  border: 0;
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.profile-header__logout {
  margin: 0;
}

.profile-main {
  padding: 0.48rem 0 3rem;
}

.profile-title,
.profile-section h2,
.profile-section p,
.profile-account-card h2,
.profile-account-card p {
  margin: 0;
}

.profile-title {
  margin: 0.15rem 0 0.55rem;
  font-family: "Century Gothic", Futura, Avenir, var(--sans);
  font-size: clamp(2.05rem, 7vw, 3.6rem);
  line-height: 1;
}

.profile-account-card,
.profile-section {
  margin-top: 0.65rem;
  padding: clamp(0.75rem, 2.5vw, 1rem);
  color: var(--profile-ink);
  background: #fff9e9;
  border: 1px solid #bfae9d;
  border-radius: 0.65rem;
  box-shadow: 0.18rem 0.22rem 0 #7441b6;
}

.profile-account-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.52fr);
  gap: 0.8rem;
  border-color: #2dccc9;
  box-shadow: 0.22rem 0.26rem 0 #2dccc9;
}

.profile-account-state {
  display: grid;
  margin-top: 0.35rem !important;
  color: #675960;
  font-size: 0.73rem;
}

.profile-account-actions {
  display: grid;
  gap: 0.35rem;
}

.profile-account-actions a,
.profile-account-actions > span,
.profile-account-actions button,
.profile-advanced-options button {
  display: grid;
  min-height: 2.35rem;
  padding: 0.45rem 0.65rem;
  place-items: center;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 880;
  text-decoration: none;
}

.profile-account-actions a { color: #fff; background: #7441b6; }
.profile-account-actions > span { color: #675960; background: #eee5d5; }
.profile-account-actions button,
.profile-advanced-options button:disabled { color: #8a7b82; background: #ede6da; border: 1px solid #cfc1b5; }
.profile-account-actions small { color: #75666d; font-size: 0.62rem; line-height: 1.25; }

.profile-settings {
  display: contents;
}

.profile-preference-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.profile-subsection {
  min-width: 0;
  padding: 0.65rem;
  background: #f2eadf;
  border: 1px solid #c9baae;
  border-radius: 0.5rem;
}

.profile-subsection:first-child {
  grid-column: 1;
}

.profile-subsection:nth-child(2) {
  grid-column: 2;
  grid-row: 1 / 3;
}

.profile-subsection:nth-child(3) {
  grid-column: 1;
}

.profile-subsection h3 {
  margin: 0;
  font-size: 0.92rem;
}

.profile-subsection > p {
  margin-top: 0.18rem;
  color: #6d5e66;
  font-size: 0.68rem;
  line-height: 1.32;
}

.profile-autosave-status {
  min-height: 1rem;
  margin-top: 0.5rem !important;
  color: #605159;
  font-size: 0.66rem;
  font-weight: 760;
  text-align: right;
}

.profile-section__heading > p:last-child {
  margin-top: 0.22rem;
  color: #6d5e66;
  font-size: 0.72rem;
  line-height: 1.35;
}

.profile-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
  margin-top: 0.6rem;
}

.profile-page .profile-field,
.profile-page .profile-check {
  margin-top: 0;
}

.profile-page .profile-field input,
.profile-page .profile-field select {
  width: 100%;
  min-height: 2.55rem;
  margin-top: 0.24rem;
  padding: 0.5rem 0.62rem;
  color: #21191e;
  background: #fff;
  border: 2px solid #b9a99d;
  border-radius: 0.42rem;
}

.profile-field--wide {
  grid-column: 1 / -1;
}

.profile-choice-group {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  padding: 0.55rem;
  border: 1px solid #c7b8ad;
  border-radius: 0.45rem;
}

.profile-choice-group legend {
  padding: 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-choice-group label { font-size: 0.74rem; font-weight: 750; }

.profile-interest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(7.5rem, 1fr));
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.profile-interest {
  position: relative;
  display: flex;
  min-height: 2.45rem;
  align-items: center;
  gap: 0.38rem;
  padding: 0.38rem 0.5rem;
  color: #fff;
  background: #32262d;
  border: 1px solid #7b6872;
  border-radius: 0.42rem;
  font-size: 0.7rem;
  font-weight: 850;
}

.profile-interest input { accent-color: #2dccc9; }
.profile-interest__icon { width: 1.2rem; height: 1.2rem; color: #f1bd38; }

.profile-hidden-manager {
  display: block;
  grid-column: 1 / -1;
  padding: 0.62rem;
  background: #f1eadf;
  border: 1px solid #c9baae;
  border-radius: 0.45rem;
  font-size: 0.72rem;
}

.profile-hidden-manager__heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.12rem 0.5rem;
  align-items: center;
}

.profile-hidden-manager__heading span { grid-column: 1; color: #71636a; }
.profile-hidden-manager__heading button { grid-row: 1 / 3; grid-column: 2; min-height: 2.2rem; }

.profile-hidden-list {
  display: grid;
  gap: 0.34rem;
  margin-top: 0.5rem;
}

.profile-hidden-list:empty { display: none; }

.profile-hidden-list__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.45rem;
  align-items: center;
  padding: 0.38rem 0.45rem;
  background: #fff;
  border: 1px solid #d7c9be;
  border-radius: 0.38rem;
}

.profile-hidden-list__item > span { color: #30252b; font-weight: 760; }
.profile-hidden-list__item > button { min-height: 2rem; }
.profile-hidden-list__item > button:not([hidden]):last-child { color: #fff; background: #7440a6; }

.profile-save-bar {
  position: sticky;
  z-index: 15;
  bottom: 0.45rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.65rem;
  padding: 0.5rem;
  background: rgb(31 23 29 / 94%);
  border: 1px solid #6f5b67;
  border-radius: 0.55rem;
  box-shadow: 0 0.5rem 1.4rem rgb(0 0 0 / 32%);
  backdrop-filter: blur(0.3rem);
}

.profile-save-bar .profile-preference-status {
  min-width: 5rem;
  flex: 1;
  color: #fff7e5;
}

.profile-search-now {
  min-height: 2.5rem;
  padding: 0.55rem 0.75rem;
  color: #21191e;
  background: #f1bd38;
  border: 1px solid #ffe083;
  border-radius: 0.42rem;
  font-size: 0.76rem;
  font-weight: 900;
}

.profile-tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.profile-tool-grid article {
  padding: 0.65rem;
  background: #f4ecdf;
  border: 1px solid #cbbcb0;
  border-radius: 0.45rem;
}

.profile-tool-grid h3 { margin: 0; font-size: 0.84rem; }
.profile-tool-grid p { margin-top: 0.18rem; color: #6d5e66; font-size: 0.68rem; line-height: 1.3; }
.profile-tool-grid button { min-height: 2rem; margin-top: 0.45rem; color: #877981; background: #e9e1d5; border: 1px solid #cbbdb1; border-radius: 0.35rem; font-size: 0.65rem; font-weight: 850; }
.profile-wiring-note { margin-top: 0.55rem !important; color: #7441b6; font-size: 0.66rem; font-weight: 760; }

.profile-section--calendar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
}

.profile-calendar-export {
  min-height: 2.45rem;
  padding: 0.5rem 0.75rem;
  color: #21191e;
  cursor: pointer;
  background: #2dccc9;
  border: 1px solid #168b8c;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 900;
}

.profile-calendar-export:disabled {
  color: #8a7b82;
  cursor: default;
  background: #ede6da;
  border-color: #cfc1b5;
}

.profile-going-list {
  display: grid;
  grid-column: 1 / -1;
  gap: 0.35rem;
}

.profile-going-list:empty { display: none; }

.profile-going-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.48rem 0.55rem;
  background: #f2eadf;
  border: 1px solid #cabbb0;
  border-radius: 0.42rem;
}

.profile-going-item > div {
  display: grid;
  gap: 0.1rem;
  min-width: 0;
}

.profile-going-item strong { font-size: 0.75rem; }
.profile-going-item span { color: #6d5e66; font-size: 0.65rem; line-height: 1.3; }
.profile-going-item button {
  min-height: 2.1rem;
  padding: 0.4rem 0.55rem;
  color: #fff;
  cursor: pointer;
  background: #7441b6;
  border: 1px solid #4b247c;
  border-radius: 0.38rem;
  font-size: 0.66rem;
  font-weight: 850;
}
.profile-going-item button.is-complete { color: #174c35; cursor: default; background: #dff7df; border-color: #79bd8d; }

.profile-section--nights {
  border-color: #2dccc9;
  box-shadow: 0.18rem 0.22rem 0 #2dccc9;
}

.night-out-heading-actions {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.6rem;
}

.night-out-heading-actions strong { color: #6d5e66; font-size: 0.7rem; }
.night-out-heading-actions button,
.night-out-form__actions button,
.night-out-card__actions button,
.night-out-photo-button {
  display: grid;
  min-height: 2.25rem;
  padding: 0.45rem 0.65rem;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: #7441b6;
  border: 1px solid #4b247c;
  border-radius: 0.4rem;
  font-size: 0.68rem;
  font-weight: 880;
}

.night-out-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  margin-top: 0.65rem;
  padding: 0.65rem;
  background: #f2eadf;
  border: 1px solid #c8b9ad;
  border-radius: 0.5rem;
}

.night-out-form[hidden] { display: none; }
.night-out-form label { display: grid; align-content: start; color: #392d34; font-size: 0.68rem; font-weight: 850; }
.night-out-form input,
.night-out-form select,
.night-out-form textarea {
  width: 100%;
  min-height: 2.35rem;
  margin-top: 0.22rem;
  padding: 0.45rem 0.52rem;
  color: #21191e;
  background: #fff;
  border: 1px solid #a99a90;
  border-radius: 0.38rem;
  font: inherit;
  font-weight: 600;
}
.night-out-form textarea { resize: vertical; line-height: 1.35; }
.night-out-form__wide { grid-column: 1 / -1; }
.night-out-form__actions { display: flex; grid-column: 1 / -1; gap: 0.45rem; justify-content: end; }
.night-out-form__actions button:first-child { color: #4b3d45; background: #fff; border-color: #a99a90; }

.night-out-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: 0.55rem;
  margin-top: 0.65rem;
}

.night-out-empty {
  grid-column: 1 / -1;
  padding: 0.65rem;
  color: #6d5e66;
  background: #f2eadf;
  border-radius: 0.45rem;
  font-size: 0.72rem;
}

.night-out-card {
  display: grid;
  align-content: start;
  gap: 0.42rem;
  min-width: 0;
  padding: 0.68rem;
  background: #fff;
  border: 1px solid #c7b8ad;
  border-top: 0.28rem solid #f84776;
  border-radius: 0.5rem;
  box-shadow: 0.12rem 0.14rem 0 #f1bd38;
}

.night-out-card__heading h3,
.night-out-card__heading p { margin: 0; }
.night-out-card__heading h3 { margin-top: 0.08rem; font-size: 0.96rem; line-height: 1.12; }
.night-out-card__heading p { margin-top: 0.14rem; color: #6d5e66; font-size: 0.67rem; }
.night-out-card__date { color: #7441b6; font-size: 0.62rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em; }
.night-out-card__rating { display: block; margin-top: 0.22rem; color: #b27300; font-size: 0.78rem; letter-spacing: 0.04em; }

.night-out-fact {
  padding: 0.4rem 0.46rem;
  background: #f4ecdf;
  border-radius: 0.36rem;
}
.night-out-fact strong { color: #7441b6; font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.04em; }
.night-out-fact p { margin-top: 0.12rem; color: #30252b; font-size: 0.7rem; line-height: 1.35; white-space: pre-wrap; overflow-wrap: anywhere; }
.night-out-fact--private { border-left: 0.25rem solid #2dccc9; }
.night-out-fact--public { border-left: 0.25rem solid #f84776; }

.night-out-song-chips { display: flex; flex-wrap: wrap; gap: 0.28rem; margin-top: 0.25rem; }
.night-out-song-chips span { padding: 0.22rem 0.4rem; color: #fff; background: #7441b6; border-radius: 999px; font-size: 0.64rem; font-weight: 800; }

.night-out-pictures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.35rem; }
.night-out-picture { position: relative; margin: 0; overflow: hidden; background: #21191e; border-radius: 0.38rem; aspect-ratio: 4 / 3; }
.night-out-picture img { width: 100%; height: 100%; object-fit: cover; }
.night-out-picture button { position: absolute; right: 0.25rem; bottom: 0.25rem; min-height: 1.7rem; padding: 0.25rem 0.38rem; color: #21191e; background: rgb(255 249 233 / 90%); border: 0; border-radius: 0.3rem; font-size: 0.56rem; font-weight: 850; }

.night-out-card__actions { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.12rem; }
.night-out-card__actions button,
.night-out-photo-button { min-height: 2rem; padding: 0.35rem 0.5rem; }
.night-out-photo-button { color: #21191e; background: #2dccc9; border-color: #168b8c; }
.night-out-photo-button input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.night-out-card__actions .night-out-remove { margin-left: auto; color: #792b3b; background: #ffe1e7; border-color: #d98a9d; }

.night-songbook {
  margin-top: 0.7rem;
  padding: 0.65rem;
  background: #272027;
  border-radius: 0.5rem;
}
.night-songbook h3 { margin: 0; color: #fff7e5; font-size: 0.86rem; }
.night-songbook > div { display: grid; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); gap: 0.35rem; margin-top: 0.45rem; }
.night-song { display: grid; gap: 0.08rem; padding: 0.42rem; color: #21191e; background: #fff9e9; border-left: 0.24rem solid #f84776; border-radius: 0.35rem; }
.night-song strong { font-size: 0.7rem; }
.night-song span { color: #6d5e66; font-size: 0.6rem; }
.night-out-status { min-height: 1rem; margin-top: 0.45rem !important; color: #7441b6; font-size: 0.66rem; font-weight: 800; text-align: right; }

.profile-advanced-options { margin-top: 0.65rem; }
.profile-advanced-options > summary { width: fit-content; padding: 0.45rem 0.65rem; color: #fff; cursor: pointer; background: #7441b6; border-radius: 0.38rem; font-size: 0.72rem; font-weight: 850; }
.profile-advanced-options > div { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; margin-top: 0.45rem; padding: 0.55rem; background: #f2eaff; border-radius: 0.4rem; }
.profile-advanced-options p { color: #675960; font-size: 0.68rem; }
.profile-advanced-options button:not(:disabled) { color: #21191e; cursor: pointer; background: #2dccc9; border: 1px solid #168b8c; }

.profile-alert-builder { display: grid; grid-template-columns: minmax(10rem, 1fr) auto auto; gap: 0.4rem; margin-top: 0.6rem; }
.profile-alert-builder input,
.profile-alert-builder select,
.profile-alert-builder button { min-height: 2.4rem; padding: 0.45rem 0.55rem; border: 1px solid #c8b9ad; border-radius: 0.4rem; }

.profile-visibility-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.55rem 0 0;
}

.profile-visibility-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.65rem;
  padding: 0.42rem 0.5rem;
  background: #f2eadf;
  border-radius: 0.38rem;
  font-size: 0.7rem;
}

.profile-visibility-list dt {
  font-weight: 800;
}

.profile-visibility-list dd {
  margin: 0;
  color: #7441b6;
  font-weight: 850;
  text-align: right;
}

.profile-section--teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  border-color: #f84776;
  box-shadow: 0.18rem 0.22rem 0 #f84776;
}

.profile-teams-link {
  display: grid;
  min-height: 2.45rem;
  padding: 0.5rem 0.8rem;
  place-items: center;
  color: #fff;
  background: #7441b6;
  border: 1px solid #4b247c;
  border-radius: 0.42rem;
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
}

.teams-main {
  --team-purple: #7441b6;
  --team-pink: #f84776;
  --team-blue: #2dccc9;
  --team-gold: #f1bd38;
  padding-top: 0.25rem;
}

.teams-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: end;
}

.teams-intro .profile-title {
  margin-bottom: 0.18rem;
}

.teams-intro p {
  max-width: 47rem;
  margin: 0;
  color: #cfc1c8;
  font-size: 0.76rem;
  line-height: 1.35;
}

.team-toolbar {
  display: flex;
  gap: 0.42rem;
  align-items: end;
}

.team-toolbar label,
.team-create-panel label,
.team-panel label,
.team-trophy-tools label {
  display: grid;
  gap: 0.18rem;
  color: #66575f;
  font-size: 0.65rem;
  font-weight: 850;
}

.team-toolbar label {
  color: #f6eadf;
}

.team-toolbar select,
.team-toolbar button,
.team-create-panel input,
.team-create-panel select,
.team-create-panel button,
.team-panel input,
.team-panel select,
.team-panel textarea,
.team-panel button {
  min-height: 2.45rem;
  padding: 0.45rem 0.6rem;
  color: #241c22;
  background: #fff;
  border: 1px solid #bcaea5;
  border-radius: 0.42rem;
  font: inherit;
}

.team-toolbar button,
.team-create-panel button,
.team-panel form > button,
.team-panel-heading > a {
  color: #fff;
  cursor: pointer;
  background: var(--team-purple);
  border-color: #4b247c;
  font-size: 0.7rem;
  font-weight: 900;
  text-decoration: none;
}

.team-create-panel {
  display: grid;
  grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: end;
  margin-top: 0.75rem;
  padding: 0.85rem;
  color: #241c22;
  background: #fff9e9;
  border: 1px solid #2dccc9;
  border-radius: 0.65rem;
  box-shadow: 0.18rem 0.22rem 0 #2dccc9;
}

.team-create-panel[hidden],
.team-workspace[hidden],
.team-panel[hidden] {
  display: none;
}

.team-create-panel h2,
.team-create-panel p {
  margin: 0;
}

.team-create-panel p {
  margin-top: 0.2rem;
  color: #6d5e66;
  font-size: 0.7rem;
}

.team-create-panel form {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(8rem, 0.75fr) auto;
  gap: 0.48rem;
  align-items: end;
}

.team-workspace {
  margin-top: 0.75rem;
}

.team-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  min-height: 5.3rem;
  padding: 0.72rem;
  color: #fff;
  background:
    linear-gradient(105deg, rgb(248 71 118 / 92%), rgb(116 65 182 / 94%)),
    #7441b6;
  border: 1px solid #f5c34b;
  border-radius: 0.65rem 0.65rem 0 0;
}

.team-logo-control {
  position: relative;
  display: grid;
  gap: 0.16rem;
  justify-items: center;
  color: #fff !important;
  cursor: pointer;
  font-size: 0.55rem !important;
}

.team-logo-control input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.team-logo {
  display: grid;
  width: 3.75rem;
  height: 3.75rem;
  place-items: center;
  overflow: hidden;
  color: #241c22;
  background: #fff9e9;
  border: 0.18rem solid #f1bd38;
  border-radius: 50%;
  font-family: "Century Gothic", Futura, sans-serif;
  font-size: 1.15rem;
  font-weight: 950;
}

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

.team-logo__fallback {
  width: 2rem;
  height: 2rem;
}

.team-hero__identity p,
.team-hero__identity h2 {
  margin: 0;
}

.team-hero__identity > p:first-child {
  color: #fff3b8;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-hero__identity h2 {
  margin-top: 0.08rem;
  font-family: "Century Gothic", Futura, sans-serif;
  font-size: clamp(1.35rem, 4vw, 2.1rem);
  line-height: 1;
}

.team-hero__identity > p:last-child {
  margin-top: 0.2rem;
  color: #f7eaf2;
  font-size: 0.65rem;
}

.team-hero > button {
  min-height: 2.1rem;
  padding: 0.35rem 0.58rem;
  color: #241c22;
  cursor: pointer;
  background: #f1bd38;
  border: 1px solid #765900;
  border-radius: 0.38rem;
  font-size: 0.65rem;
  font-weight: 900;
}

.team-tabs {
  display: flex;
  gap: 0.18rem;
  overflow-x: auto;
  padding: 0.38rem;
  background: #34252e;
  scrollbar-width: thin;
}

.team-tabs button {
  min-height: 2.2rem;
  flex: 0 0 auto;
  padding: 0.38rem 0.62rem;
  color: #eadde4;
  cursor: pointer;
  background: transparent;
  border: 1px solid #725b68;
  border-radius: 0.36rem;
  font-size: 0.68rem;
  font-weight: 850;
}

.team-tabs button[aria-selected="true"] {
  color: #241c22;
  background: #2dccc9;
  border-color: #70efeb;
}

.team-panel {
  padding: clamp(0.72rem, 2vw, 1rem);
  color: #241c22;
  background: #fff9e9;
  border: 1px solid #bfae9d;
  border-top: 0;
  border-radius: 0 0 0.65rem 0.65rem;
  box-shadow: 0.18rem 0.22rem 0 #7441b6;
}

.team-panel-heading {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
}

.team-panel-heading h3,
.team-panel-heading p,
.team-dashboard-card p,
.team-plan p,
.team-post p,
.team-rating p,
.team-trophy p,
.team-photos p {
  margin: 0;
}

.team-panel-heading h3 {
  font-size: 1.08rem;
}

.team-panel-heading p {
  margin-top: 0.15rem;
  color: #6d5e66;
  font-size: 0.68rem;
}

.team-panel-heading > a {
  display: grid;
  min-height: 2.2rem;
  padding: 0.4rem 0.62rem;
  place-items: center;
  border-radius: 0.38rem;
}

.team-dashboard {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.team-dashboard-card {
  min-width: 0;
  padding: 0.68rem;
  background: #f1e9df;
  border: 1px solid #c9baae;
  border-radius: 0.48rem;
}

.team-dashboard-card--next {
  border-color: #2dccc9;
  box-shadow: inset 0.22rem 0 0 #2dccc9;
}

.team-dashboard-card--latest {
  border-color: #f84776;
  box-shadow: inset 0.22rem 0 0 #f84776;
}

.team-card-label {
  display: block;
  margin-bottom: 0.35rem;
  color: #7441b6;
  font-size: 0.6rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.team-dashboard-card strong {
  display: block;
  font-size: 0.86rem;
}

.team-dashboard-card p {
  margin-top: 0.18rem;
  color: #6d5e66;
  font-size: 0.68rem;
  line-height: 1.3;
}

.team-dashboard-card > button {
  min-height: 2rem;
  margin-top: 0.48rem;
  padding: 0.35rem 0.55rem;
  color: #fff;
  cursor: pointer;
  background: #7441b6;
  border: 0;
  border-radius: 0.35rem;
  font-size: 0.65rem;
  font-weight: 900;
}

.team-attendance {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}

.team-attendance span {
  display: grid;
  gap: 0.05rem;
  padding: 0.42rem 0.25rem;
  text-align: center;
  background: #fff;
  border-radius: 0.36rem;
  font-size: 0.62rem;
  font-weight: 800;
}

.team-attendance b {
  color: #7441b6;
  font-size: 1.15rem;
}

.team-stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.3rem;
  margin: 0;
}

.team-stat-grid div {
  display: grid;
  gap: 0.08rem;
  text-align: center;
}

.team-stat-grid dt {
  color: #73646b;
  font-size: 0.58rem;
}

.team-stat-grid dd {
  margin: 0;
  color: #7441b6;
  font-size: 1.08rem;
  font-weight: 950;
}

.team-board-composer,
.team-plan-form,
.team-member-form,
.team-rating-form,
.team-trophy-tools form {
  display: grid;
  gap: 0.48rem;
  margin-top: 0.7rem;
  padding: 0.65rem;
  background: #f1e9df;
  border: 1px solid #c9baae;
  border-radius: 0.48rem;
}

.team-board-composer {
  grid-template-columns: minmax(0, 1.5fr) minmax(10rem, 0.8fr) auto;
  align-items: end;
}

.team-board-composer textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.team-plan-form {
  grid-template-columns: minmax(10rem, 1.2fr) minmax(9rem, 1fr) auto auto minmax(7rem, 0.6fr) minmax(9rem, 0.8fr) auto;
  align-items: end;
}

.team-member-form,
.team-rating-form {
  grid-template-columns: minmax(10rem, 1fr) auto auto;
  align-items: end;
}

.team-rating-form {
  grid-template-columns: minmax(10rem, 1fr) auto auto minmax(10rem, 1fr) auto;
}

.team-feed,
.team-plan-list,
.team-member-list,
.team-rating-list,
.team-trophy-room,
.team-record-list {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.62rem;
}

.team-post,
.team-plan,
.team-member,
.team-rating,
.team-record {
  padding: 0.6rem;
  background: #fff;
  border: 1px solid #d5c8bd;
  border-radius: 0.45rem;
}

.team-post--system {
  background: #f1ecff;
  border-left: 0.22rem solid #7441b6;
}

.team-post__meta {
  color: #846f79;
  font-size: 0.58rem;
  font-weight: 800;
}

.team-post__text {
  margin-top: 0.18rem !important;
  font-size: 0.75rem;
  line-height: 1.35;
}

.team-poll-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.team-poll-choices button,
.team-plan__response button {
  min-height: 2rem;
  padding: 0.32rem 0.55rem;
  cursor: pointer;
  background: #f4ede5;
  border: 1px solid #bcaea5;
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 850;
}

.team-poll-choices button.is-selected {
  color: #fff;
  background: #7441b6;
  border-color: #7441b6;
}

.team-plan__heading,
.team-plan__response,
.team-member,
.team-rating,
.team-record {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  justify-content: space-between;
}

.team-plan__heading h4,
.team-trophy h4 {
  margin: 0;
  font-size: 0.86rem;
}

.team-plan__heading p {
  margin-top: 0.12rem;
  color: #6d5e66;
  font-size: 0.66rem;
}

.team-plan__access {
  display: flex;
  flex: 0 0 auto;
  gap: 0.28rem;
}

.team-plan__access span,
.team-plan__access a {
  padding: 0.24rem 0.42rem;
  border: 1px solid #bcaea5;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 900;
  text-decoration: none;
}

.team-plan__access .is-free { color: #174c35; background: #dff7df; border-color: #79bd8d; }
.team-plan__access .is-paid,
.team-plan__access a { color: #7441b6; background: #f1ecff; border-color: #aa8bce; }

.team-plan__response {
  justify-content: flex-start;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid #e0d5cc;
}

.team-plan__response > span {
  margin-right: 0.15rem;
  color: #71636a;
  font-size: 0.62rem;
  font-weight: 850;
}

.team-plan__response button.is-yes { color: #174c35; background: #dff7df; border-color: #79bd8d; }
.team-plan__response button.is-maybe { color: #6b4a00; background: #fff0b7; border-color: #dab43d; }
.team-plan__response button.is-no { color: #792b3b; background: #ffe1e7; border-color: #d98a9d; }
.team-plan__response .team-plan__remove { margin-left: auto; color: #7d6872; background: transparent; border-color: transparent; border-radius: 0.3rem; }

.team-member > div,
.team-rating > div {
  display: grid;
  gap: 0.08rem;
}

.team-member span,
.team-rating span {
  color: #786970;
  font-size: 0.62rem;
}

.team-rating p {
  flex: 1;
  color: #6d5e66;
  font-size: 0.68rem;
}

.team-rating__stars {
  color: #c38c00;
  letter-spacing: 0.04em;
}

.team-permissions-table {
  display: grid;
  margin-top: 0.65rem;
  overflow: hidden;
  border: 1px solid #c9baae;
  border-radius: 0.45rem;
}

.team-permissions-table > div {
  display: grid;
  grid-template-columns: minmax(5rem, 0.28fr) minmax(0, 1fr);
  gap: 0.55rem;
  padding: 0.45rem 0.55rem;
  font-size: 0.67rem;
}

.team-permissions-table > div:first-child {
  color: #fff;
  background: #34252e;
}

.team-permissions-table > div:nth-child(n + 3) {
  border-top: 1px solid #dfd4cb;
}

.team-local-note,
.team-empty {
  margin: 0.6rem 0 0;
  color: #6d5e66;
  font-size: 0.66rem;
  line-height: 1.35;
}

.team-trophy-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.team-trophy-tools h4,
.team-photos h4 {
  margin: 0;
}

.team-trophy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.08rem 0.5rem;
  align-items: center;
  padding: 0.62rem;
  background: linear-gradient(135deg, #fff4bf, #fffaf0);
  border: 1px solid #d9b947;
  border-radius: 0.46rem;
}

.team-trophy__mark {
  display: grid;
  grid-row: 1 / 3;
  width: 2.2rem;
  height: 2.2rem;
  place-items: center;
  color: #fff;
  background: #c58d00;
  border-radius: 50%;
  font-size: 1.1rem;
}

.team-trophy p {
  color: #705e33;
  font-size: 0.65rem;
}

.team-record span { font-size: 0.68rem; }
.team-record strong { color: #7441b6; font-size: 0.78rem; }

.team-photos {
  display: grid;
  grid-template-columns: minmax(9rem, 0.35fr) auto minmax(0, 1fr);
  gap: 0.55rem;
  align-items: center;
  margin-top: 0.7rem;
  padding-top: 0.65rem;
  border-top: 1px solid #d7c9be;
}

.team-photos > label {
  position: relative;
  display: grid;
  min-height: 2.2rem;
  padding: 0.4rem 0.6rem;
  place-items: center;
  color: #fff;
  cursor: pointer;
  background: #7441b6;
  border-radius: 0.38rem;
}

.team-photos > label input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.team-photos > div:last-child {
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
}

.team-photo {
  position: relative;
  width: 5.2rem;
  height: 4rem;
  flex: 0 0 auto;
  margin: 0;
  overflow: hidden;
  border-radius: 0.38rem;
}

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

.team-photo button {
  position: absolute;
  right: 0.18rem;
  bottom: 0.18rem;
  min-height: 1.45rem;
  padding: 0.18rem 0.3rem;
  color: #fff;
  background: rgb(36 28 34 / 82%);
  border: 0;
  border-radius: 0.25rem;
  font-size: 0.52rem;
}

.team-page-status {
  min-height: 1.1rem;
  margin: 0.65rem 0 0;
  color: #67ded9;
  font-size: 0.66rem;
  font-weight: 800;
  text-align: right;
}

@media (prefers-reduced-motion: reduce) {
  html.suumer-reels-animate .public-page .find-your-thing__track {
    animation: none !important;
  }
}

@media (max-width: 46rem) {
  .public-page .event-search {
    grid-template-columns: minmax(0, 1fr);
  }
  .public-page .search-place-row { grid-template-columns: minmax(0, 1fr) auto; }
  .public-page .search-options-row { grid-template-columns: minmax(7.5rem, 1fr) auto auto; }
  .public-page .date-chip--arrow { min-width: 2.45rem; }
  .profile-account-card,
  .profile-field-grid { grid-template-columns: 1fr; }
  .profile-preference-groups { grid-template-columns: 1fr; }
  .profile-subsection:first-child,
  .profile-subsection:nth-child(2),
  .profile-subsection:nth-child(3) { grid-column: 1; grid-row: auto; }
  .profile-field--wide { grid-column: 1; }
  .profile-save-bar { flex-wrap: wrap; }
  .profile-save-bar .profile-preference-status { flex-basis: 100%; }
  .profile-alert-builder { grid-template-columns: 1fr; }
  .teams-intro { grid-template-columns: 1fr; align-items: stretch; }
  .team-toolbar { justify-content: space-between; }
  .team-toolbar label { min-width: 0; flex: 1; }
  .team-toolbar select { width: 100%; }
  .team-create-panel { grid-template-columns: 1fr; }
  .team-create-panel form,
  .team-board-composer,
  .team-plan-form,
  .team-member-form,
  .team-rating-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-create-panel form > button,
  .team-board-composer > button,
  .team-plan-form > button,
  .team-member-form > button,
  .team-rating-form > button { grid-column: 1 / -1; }
  .team-dashboard { grid-template-columns: 1fr; }
  .team-trophy-tools { grid-template-columns: 1fr; }
  .team-photos { grid-template-columns: 1fr auto; }
  .team-photos > div:last-child { grid-column: 1 / -1; }
}

@media (max-width: 30rem) {
  .public-page .event-card { grid-template-columns: 3.75rem minmax(0, 1fr); }
  .public-page .event-card__headline { grid-template-columns: 1fr; }
  .public-page .event-card__headline .event-card__identity { grid-row: 1; justify-items: start; }
  .public-page .event-card__headline .event-kind { width: fit-content; max-width: none; }
  .public-page .event-card__headline > div:first-child { grid-row: 2; }
  .public-page .event-card__quick-actions button { min-width: 2.7rem; padding-right: 0.35rem; padding-left: 0.35rem; }
  .profile-header { grid-template-columns: minmax(5.5rem, 1fr) auto minmax(5.5rem, 1fr); gap: 0.25rem; }
  .profile-header .wordmark { width: clamp(5.6rem, 25vw, 7rem); }
  .profile-header__back { max-width: 6.5rem; padding: 0.32rem 0.4rem; }
  .profile-header__account strong { font-size: 0.7rem; }
  .profile-section--calendar { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-section--teams { grid-template-columns: minmax(0, 1fr) auto; }
  .profile-calendar-export { max-width: 6.4rem; }
  .profile-going-item { grid-template-columns: 1fr; }
  .profile-going-item button { width: 100%; }
  .night-out-form { grid-template-columns: 1fr; }
  .night-out-form__wide,
  .night-out-form__actions { grid-column: 1; }
  .night-out-list { grid-template-columns: 1fr; }
  .night-out-heading-actions { align-items: stretch; flex-direction: column; }
  .profile-visibility-list > div { grid-template-columns: 1fr; gap: 0.08rem; }
  .profile-visibility-list dd { text-align: left; }
  .team-hero { grid-template-columns: auto minmax(0, 1fr); }
  .team-hero > button { grid-column: 2; justify-self: start; }
  .team-create-panel form,
  .team-board-composer,
  .team-plan-form,
  .team-member-form,
  .team-rating-form { grid-template-columns: 1fr; }
  .team-plan__heading { align-items: start; }
  .team-plan__response { flex-wrap: wrap; }
  .team-plan__response .team-plan__remove { width: 100%; margin-left: 0; }
  .team-rating { align-items: start; flex-wrap: wrap; }
}

.app-intro {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1.1rem;
  padding: 1.5rem;
  box-sizing: border-box;
  overflow: hidden;
  color: #fff7e5;
  background:
    radial-gradient(circle at 50% 42%, rgb(248 71 118 / 18%), transparent 18rem),
    #171216;
  opacity: 1;
  transition: opacity 320ms ease;
}

html.suumer-intro-active,
html.suumer-intro-active body {
  overflow: hidden;
}

.app-intro[hidden] {
  display: none;
}

.app-intro.is-leaving {
  opacity: 0;
  pointer-events: none;
}

.app-intro img {
  display: block;
  width: min(31rem, calc(100vw - 3rem));
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0.65rem 0.8rem rgb(0 0 0 / 38%));
}

.app-intro p {
  width: 100%;
  margin: 0;
  font-family: "Century Gothic", Futura, Avenir, var(--sans);
  font-size: clamp(2rem, 10vw, 4.8rem);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .app-intro { transition: none; }
}
