:root {
  --ink: #0b2935;
  --ink-soft: #46606a;
  --navy: #082f3d;
  --navy-deep: #052631;
  --teal: #008f95;
  --teal-dark: #00777c;
  --aqua: #65d7d2;
  --lime: #c9ed63;
  --coral: #ff785f;
  --sand: #f3f1e9;
  --paper: #fbfbf8;
  --line: #dce5e4;
  --white: #fff;
  --shadow: 0 24px 60px rgba(6, 45, 58, .12);
  --radius: 22px;
  --page: min(1180px, calc(100vw - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Sans JP", "Yu Gothic UI", "Yu Gothic", Meiryo, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

svg {
  display: block;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  transition: top .2s;
}

.skip-link:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 12px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(251, 251, 248, .92);
  border-bottom: 1px solid rgba(9, 47, 60, .09);
  backdrop-filter: blur(16px);
}

.brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 6px;
  overflow: hidden;
  background: var(--navy);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.brand-mark i {
  display: block;
  height: 20px;
  border-radius: 999px 999px 4px 4px;
  transform: skewY(-22deg);
}

.brand-mark i:nth-child(1) { height: 13px; background: var(--aqua); }
.brand-mark i:nth-child(2) { height: 22px; background: var(--lime); }
.brand-mark i:nth-child(3) { height: 17px; background: var(--coral); }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: Arial, sans-serif;
  font-size: 19px;
  letter-spacing: .07em;
}

.brand-copy small {
  margin-top: 5px;
  color: #6d7e83;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}

.desktop-nav a {
  position: relative;
  padding: 10px 0;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 2px;
  background: var(--teal);
  transition: right .2s;
}

.desktop-nav a:hover::after {
  right: 0;
}

.header-review-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 17px;
  color: var(--white);
  background: var(--navy);
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.header-review-button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(115deg, rgba(7, 42, 54, .3), rgba(7, 42, 54, 0) 55%),
    radial-gradient(circle at 70% 20%, rgba(68, 194, 193, .22), transparent 33%),
    var(--navy-deep);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(122, 219, 215, .12);
  border-radius: 50%;
}

.hero::before {
  width: 760px;
  height: 760px;
  right: -270px;
  top: -270px;
  box-shadow: 0 0 0 90px rgba(122, 219, 215, .025), 0 0 0 180px rgba(122, 219, 215, .02);
}

.hero::after {
  width: 420px;
  height: 420px;
  left: -270px;
  bottom: -310px;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .8;
}

.hero-orb-one {
  width: 10px;
  height: 10px;
  left: 8%;
  top: 25%;
  background: var(--lime);
  box-shadow: 90px 320px 0 rgba(201, 237, 99, .35), 440px -60px 0 rgba(101, 215, 210, .3);
}

.hero-orb-two {
  width: 5px;
  height: 5px;
  right: 12%;
  bottom: 20%;
  background: var(--coral);
  box-shadow: -190px 80px 0 rgba(255, 120, 95, .35);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: var(--page);
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 86px;
  margin: 0 auto;
  padding: 68px 0 100px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 13px;
  color: var(--teal);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--aqua);
}

.eyebrow span {
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  margin: 0;
  font-size: clamp(37px, 3.9vw, 56px);
  line-height: 1.31;
  letter-spacing: -.045em;
}

.hero h1 em {
  position: relative;
  z-index: 0;
  color: inherit;
  font-style: normal;
}

.hero h1 em::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2px;
  right: -4px;
  bottom: 4px;
  height: 10px;
  background: var(--teal);
  transform: skewX(-15deg) rotate(-1deg);
}

.hero-lead {
  max-width: 560px;
  margin: 24px 0 30px;
  color: #ccdade;
  font-size: 15px;
  line-height: 1.95;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.primary-button,
.search-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-height: 54px;
  padding: 0 24px;
  color: var(--navy);
  background: var(--lime);
  border: 0;
  border-radius: 9px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(201, 237, 99, .12);
  transition: transform .18s, box-shadow .18s, background .18s;
}

.primary-button:hover,
.search-button:hover {
  background: #d7f776;
  box-shadow: 0 16px 34px rgba(201, 237, 99, .19);
  transform: translateY(-2px);
}

.primary-button span {
  font-size: 20px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #d9e6e8;
  font-size: 13px;
  font-weight: 700;
}

.play-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  padding-left: 2px;
  color: var(--aqua);
  border: 1px solid rgba(101, 215, 210, .55);
  border-radius: 50%;
  font-size: 8px;
}

.hero-proof {
  display: flex;
  gap: 0;
  margin: 42px 0 0;
  padding: 0;
  list-style: none;
}

.hero-proof li {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
  border-left: 1px solid rgba(255,255,255,.16);
}

.hero-proof li:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-proof strong {
  color: var(--aqua);
  font-size: 13px;
}

.hero-proof span {
  margin-top: 2px;
  color: #9eb3ba;
  font-size: 10px;
}

.hero-card-wrap {
  position: relative;
  width: min(100%, 480px);
  margin-left: auto;
  transform: rotate(1.2deg);
}

.hero-card-wrap::before {
  content: "";
  position: absolute;
  inset: 24px -24px -24px 24px;
  background: rgba(78, 180, 180, .16);
  border: 1px solid rgba(101, 215, 210, .12);
  border-radius: 24px;
  transform: rotate(3deg);
}

.hero-card {
  position: relative;
  z-index: 1;
  padding: 24px;
  color: var(--ink);
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 35px 70px rgba(0, 13, 18, .35);
}

.hero-card-head,
.hero-card-foot,
.hero-date-row,
.fit-panel,
.voice-preview {
  display: flex;
  align-items: center;
}

.hero-card-head {
  justify-content: space-between;
  margin-bottom: 20px;
}

.recommend-pill {
  padding: 5px 10px;
  color: #116265;
  background: #e1f8f5;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
}

.icon-button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #84969c;
  background: transparent;
  border: 1px solid #dce5e4;
  border-radius: 50%;
}

.icon-button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}

.icon-button.is-favorite {
  color: var(--coral);
  background: #fff1ee;
  border-color: #ffd0c7;
}

.icon-button.is-favorite svg {
  fill: currentColor;
}

.hero-date-row {
  align-items: flex-start;
  gap: 16px;
}

.date-tile {
  width: 58px;
  flex: 0 0 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 7px 5px 6px;
  color: var(--white);
  background: var(--teal);
  border-radius: 9px;
  line-height: 1;
}

.date-tile small { font-size: 9px; font-weight: 700; }
.date-tile strong { margin: 4px 0 3px; font-family: Arial, sans-serif; font-size: 25px; }
.date-tile span { font-family: Arial, sans-serif; font-size: 8px; letter-spacing: .12em; }
.event-place { margin: 0 0 3px; color: #70848b; font-size: 10px; font-weight: 700; }
.hero-card h2 { margin: 0; font-size: 20px; line-height: 1.45; }
.event-format { margin: 6px 0 0; color: #71848b; font-family: Arial, sans-serif; font-size: 9px; }
.event-format b { margin: 0 4px; color: var(--teal); letter-spacing: 2px; }

.fit-panel {
  gap: 13px;
  margin-top: 20px;
  padding: 13px 15px;
  background: #eef8f6;
  border-radius: 11px;
}

.fit-score {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-content: center;
  grid-template-columns: auto auto;
  align-items: baseline;
  color: var(--teal-dark);
  background: conic-gradient(var(--teal) 98%, #d8e7e5 0);
  border-radius: 50%;
  box-shadow: inset 0 0 0 5px #eef8f6;
}

.fit-score strong { font-family: Arial, sans-serif; font-size: 18px; line-height: 1; }
.fit-score span { font-size: 8px; }
.fit-panel small { color: var(--teal-dark); font-size: 9px; font-weight: 900; }
.fit-panel p { margin: 1px 0 0; font-size: 11px; font-weight: 700; line-height: 1.5; }

.voice-preview {
  gap: 11px;
  margin-top: 17px;
}

.avatar {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
}

.avatar-a { background: #d26d58; }
.avatar-b { background: #417c93; }
.stars { color: #efa436; font-family: Arial, sans-serif; font-size: 10px; letter-spacing: .05em; }
.stars span { margin-left: 5px; color: var(--ink); font-weight: 800; }
.voice-preview p { margin: 3px 0 0; color: #536b74; font-size: 9px; line-height: 1.55; }

.hero-card-foot {
  gap: 8px;
  margin-top: 19px;
  padding-top: 15px;
  border-top: 1px solid #e5ebea;
}

.avatar-stack {
  display: flex;
  padding-left: 7px;
}

.avatar-stack span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  margin-left: -7px;
  color: var(--white);
  background: #77909a;
  border: 2px solid var(--white);
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 7px;
  font-weight: 800;
}

.avatar-stack span:nth-child(2) { background: #d37b62; }
.avatar-stack span:nth-child(3) { background: #508b76; }
.hero-card-foot > span { color: #70848b; font-size: 8px; }
.hero-card-foot button,
.hero-card-foot a { margin-left: auto; padding: 0; color: var(--teal-dark); background: transparent; border: 0; font-size: 9px; font-weight: 900; text-decoration: none; }

.float-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: var(--ink);
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 11px;
  box-shadow: 0 18px 30px rgba(0,0,0,.18);
  transform: rotate(-1.2deg);
}

.float-note > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
  font-weight: 900;
}

.float-note small,
.float-note strong { display: block; line-height: 1.4; }
.float-note small { color: #85969b; font-family: Arial, sans-serif; font-size: 7px; letter-spacing: .12em; }
.float-note strong { font-size: 9px; }
.note-swim { left: -48px; top: 152px; }
.note-review { right: -36px; bottom: 75px; }
.note-review > span { color: var(--navy); background: var(--lime); }

.search-dock {
  position: relative;
  z-index: 5;
  width: var(--page);
  margin: -54px auto 0;
  padding: 28px 30px 24px;
  background: var(--white);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.prototype-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -10px 0 18px;
  padding: 9px 12px;
  color: #5c6870;
  background: #f8f3df;
  border: 1px solid #eee4b6;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.5;
}

.prototype-note span {
  padding: 3px 7px;
  color: #725d10;
  background: #ede09f;
  border-radius: 4px;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
}

.prototype-note p { margin: 0; }

.source-note a {
  flex: 0 0 auto;
  margin-left: auto;
  color: #705d18;
  font-size: 9px;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.search-heading,
.section-bar,
.voices-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.search-heading h2,
.section-bar h2,
.voices-heading h2 {
  margin: 0;
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.4;
  letter-spacing: -.035em;
}

.clear-button {
  padding: 6px 0;
  color: #75858a;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #a9b5b7;
  font-size: 11px;
}

.finder-form {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr) auto;
  gap: 10px;
  margin-top: 20px;
}

.advanced-filter-fields {
  display: contents;
}

.advanced-filter-toggle {
  display: none;
}

.field {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.field > span,
.quick-filters legend {
  color: #64777d;
  font-size: 10px;
  font-weight: 800;
}

.field select,
.field input {
  width: 100%;
  min-height: 48px;
  padding: 0 35px 0 14px;
  background-color: #f6f8f6;
  border: 1px solid #dde6e4;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #60757b 50%), linear-gradient(135deg, #60757b 50%, transparent 50%);
  background-position: calc(100% - 16px) 21px, calc(100% - 11px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
}

.keyword-field > div { position: relative; }
.keyword-field svg { position: absolute; left: 13px; top: 15px; width: 18px; fill: none; stroke: #73868c; stroke-width: 1.6; }
.keyword-field input { padding-left: 40px; }
.search-button { align-self: end; min-height: 48px; padding: 0 20px; border-radius: 8px; font-size: 12px; }
.search-button svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.quick-filters {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 17px 0 0;
  padding: 15px 0 0;
  border: 0;
  border-top: 1px solid #e7edeb;
}

@media (max-width: 620px) {
  .advanced-filter-toggle {
    grid-column: 1 / -1;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0 14px;
    color: #526970;
    background: #f6f8f6;
    border: 1px solid #dde6e4;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
  }

  .advanced-filter-toggle strong { font-size: 12px; }
  .advanced-filter-toggle span { margin-left: auto; color: #75858a; font-size: 10px; font-weight: 700; }
  .advanced-filter-toggle::after { content: "＋"; color: #087f91; font-size: 16px; }
  .advanced-filter-toggle[aria-expanded="true"]::after { content: "−"; }

  .advanced-filter-fields {
    grid-column: 1 / -1;
    display: none;
  }

  .advanced-filter-fields.is-open {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding-top: 12px;
  }

  .advanced-filter-fields .quick-filters {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}

.quick-filters legend {
  float: left;
  margin: 4px 12px 0 0;
}

.quick-filters label {
  cursor: pointer;
}

.quick-filters input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.quick-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 12px;
  color: #526970;
  background: #f3f6f5;
  border: 1px solid #dde5e3;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  transition: .18s;
}

.quick-filters input:checked + span {
  color: #005f64;
  background: #dff5f2;
  border-color: #73c9c5;
  box-shadow: inset 0 0 0 1px #73c9c5;
}

.quick-filters input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }

.events-section {
  width: var(--page);
  margin: 0 auto;
  padding: 86px 0 110px;
}

.section-bar { align-items: center; }
.section-bar h2 span { color: var(--teal); }
.result-controls { display: flex; align-items: center; gap: 18px; }
.sort-control { display: flex; align-items: center; gap: 8px; color: #78898e; font-size: 10px; font-weight: 700; }
.sort-control select { padding: 8px 28px 8px 10px; background: var(--white); border: 1px solid var(--line); border-radius: 7px; font-size: 11px; font-weight: 800; }

.view-switch {
  display: flex;
  padding: 3px;
  background: #e9efee;
  border-radius: 9px;
}

.view-switch button {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  color: #718287;
  background: transparent;
  border: 0;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 800;
}

.view-switch button.active { color: var(--ink); background: var(--white); box-shadow: 0 2px 7px rgba(5,46,58,.09); }
.view-switch svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  min-height: 28px;
  margin-top: 20px;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  color: #31656a;
  background: #e5f4f2;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 700;
}

.filter-chip button { padding: 0; color: inherit; background: none; border: 0; font-size: 12px; line-height: 1; }

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 15px;
}

.event-list-loading {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  color: #6b7d82;
  background: var(--white);
  border: 1px solid #e0e8e6;
  border-radius: 16px;
  text-align: center;
}

.event-list-loading span {
  width: 34px;
  height: 34px;
  border: 3px solid #dce8e5;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: event-loading-spin .8s linear infinite;
}

.event-list-loading p { margin: 0; font-size: 13px; font-weight: 800; }
@keyframes event-loading-spin { to { transform: rotate(360deg); } }

.event-card {
  min-width: 0;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e0e8e6;
  border-radius: 16px;
  box-shadow: 0 7px 25px rgba(7, 46, 58, .055);
  transition: transform .22s, box-shadow .22s, border-color .22s;
}

.event-card:hover {
  border-color: #b8d3d0;
  box-shadow: 0 18px 36px rgba(7, 46, 58, .11);
  transform: translateY(-4px);
}

.event-visual {
  position: relative;
  height: 135px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 15px;
  color: var(--white);
  background: linear-gradient(135deg, var(--visual-a), var(--visual-b));
}

.event-visual::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -75px;
  top: -120px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(255,255,255,.045), 0 0 0 60px rgba(255,255,255,.035);
}

.event-visual::after {
  content: "";
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -41px;
  height: 80px;
  background: rgba(255,255,255,.11);
  border-radius: 50% 50% 0 0;
  transform: rotate(-4deg);
}

.event-number {
  position: absolute;
  right: 13px;
  bottom: -14px;
  color: rgba(255,255,255,.12);
  font-family: Arial, sans-serif;
  font-size: 88px;
  font-weight: 900;
  line-height: 1;
}

.event-visual-label {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: Arial, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.event-visual-label span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 50%;
  font-size: 15px;
}

.event-card-badges {
  position: absolute;
  z-index: 3;
  left: 13px;
  top: 12px;
  display: flex;
  gap: 6px;
}

.event-badge { padding: 4px 8px; color: var(--navy); background: var(--lime); border-radius: 4px; font-size: 8px; font-weight: 900; }
.event-badge.secondary { color: var(--white); background: rgba(7,42,54,.72); backdrop-filter: blur(4px); }
.card-favorite { position: absolute; z-index: 4; top: 10px; right: 10px; color: var(--white); background: rgba(7,42,54,.26); border-color: rgba(255,255,255,.4); backdrop-filter: blur(5px); }
.card-favorite.is-favorite { color: #ff9c89; background: rgba(68,25,25,.4); border-color: #ffb4a6; }

.event-card-body { padding: 18px 18px 17px; }
.card-date { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; color: var(--teal-dark); font-family: Arial, sans-serif; font-size: 10px; font-weight: 800; letter-spacing: .06em; }
.card-date::before { content: ""; width: 19px; height: 2px; background: var(--teal); }
.event-card h3 { min-height: 75px; margin: 0; font-size: 17px; line-height: 1.48; letter-spacing: -.02em; }
.event-title-link { color: inherit; text-decoration: none; }
.event-title-link:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.card-location { margin: 5px 0 0; color: #708187; font-size: 10px; }

.distance-row {
  display: flex;
  gap: 4px;
  margin-top: 13px;
  padding: 9px 0;
  border-top: 1px solid #e7edeb;
  border-bottom: 1px solid #e7edeb;
}

.distance-row span { flex: 1; color: #708187; font-family: Arial, sans-serif; font-size: 8px; text-align: center; }
.distance-row b { display: block; margin-top: 1px; color: var(--ink); font-size: 10px; }
.distance-row span + span { border-left: 1px solid #e3eae8; }

.format-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 54px;
  align-content: flex-start;
  margin-top: 13px;
  padding: 10px 0 8px;
  border-top: 1px solid #e7edeb;
  border-bottom: 1px solid #e7edeb;
}

.format-row span {
  padding: 3px 7px;
  color: #41666c;
  background: #edf5f3;
  border-radius: 4px;
  font-size: 8px;
  font-weight: 800;
}

.card-score-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.mini-fit {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  color: var(--teal-dark);
  background: conic-gradient(var(--teal) var(--fit), #e1eae8 0);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px var(--white);
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.review-score-bubble {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #6f8388;
  background: #edf2f1;
  border: 1px solid #d5e0de;
  border-radius: 50%;
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 900;
}

.review-score-bubble.has-score {
  color: var(--white);
  background: var(--teal);
  border-color: var(--teal);
  font-size: 13px;
}

.score-copy { min-width: 0; flex: 1; }
.score-copy small { display: block; color: #74868c; font-size: 8px; font-weight: 800; }
.score-copy strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.card-rating { text-align: right; }
.card-rating .stars { font-size: 9px; }
.card-rating small { display: block; color: #809095; font-size: 8px; }

.gotcha {
  margin-top: 13px;
  padding: 9px 10px;
  color: #705142;
  background: #fff4ee;
  border-left: 3px solid var(--coral);
  border-radius: 2px 7px 7px 2px;
  font-size: 9px;
  line-height: 1.55;
}

.gotcha strong { display: block; margin-bottom: 1px; color: #ad513f; font-size: 8px; }

.gotcha.is-empty {
  color: #66787d;
  background: #f4f6f4;
  border-left-color: #b9c5c3;
}

.gotcha.is-empty strong { color: #73868a; }

.event-badge.is-open,
.entry-status.is-open { color: #174918; background: var(--lime); }
.event-badge.is-closed,
.entry-status.is-closed { color: #5f6c70; background: rgba(235, 240, 239, .92); }
.event-badge.is-check,
.entry-status.is-check { color: #6f5310; background: #ffeab2; }

.entry-status {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 8px;
  font-weight: 900;
}

.hero-loading {
  min-height: 330px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #72858a;
  text-align: center;
}

.hero-loading span {
  width: 35px;
  height: 35px;
  border: 3px solid #d9e8e6;
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: tri-spin .8s linear infinite;
}

.hero-loading p { margin: 0; font-size: 10px; font-weight: 800; }
.hero-loading button,
.load-error button,
.empty-review button { padding: 9px 14px; color: var(--white); background: var(--teal); border: 0; border-radius: 7px; font-size: 10px; font-weight: 800; }
.official-panel { background: #eef8f6; }
.official-check { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; color: var(--navy); background: var(--lime); border-radius: 50%; font-size: 18px; font-weight: 900; }

@keyframes tri-spin { to { transform: rotate(360deg); } }

.event-card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 15px;
}

.detail-button,
.calendar-button {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 7px;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.detail-button { color: var(--white); background: var(--navy); }
.detail-button:hover { background: #0d4658; }
.calendar-button { width: 40px; display: grid; place-items: center; color: var(--teal-dark); background: #e6f4f2; }
.calendar-button svg { width: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.empty-state {
  margin-top: 30px;
  padding: 70px 20px;
  text-align: center;
  background: var(--white);
  border: 1px dashed #b8c9c7;
  border-radius: 16px;
}

.empty-state > span { color: var(--teal); font-size: 42px; }
.empty-state h3 { margin: 5px 0 0; }
.empty-state p { margin: 5px 0 18px; color: var(--ink-soft); font-size: 12px; }
.empty-state button { padding: 9px 15px; color: var(--white); background: var(--navy); border: 0; border-radius: 7px; font-size: 11px; font-weight: 800; }

.calendar-panel {
  margin-top: 24px;
  padding: 23px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(7,46,58,.06);
}

.calendar-toolbar { display: flex; align-items: center; justify-content: center; gap: 24px; }
.calendar-toolbar h3 { min-width: 150px; margin: 0; font-size: 21px; text-align: center; }
.calendar-toolbar button { width: 35px; height: 35px; color: var(--teal-dark); background: #edf6f4; border: 0; border-radius: 50%; }
.calendar-weekdays,
.calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.calendar-weekdays { margin-top: 20px; color: #75868b; font-size: 9px; font-weight: 800; text-align: center; }
.calendar-weekdays span { padding: 7px; }
.calendar-weekdays span:first-child { color: #d45f4c; }
.calendar-weekdays span:last-child { color: #397994; }

.calendar-day {
  position: relative;
  min-width: 0;
  min-height: 94px;
  padding: 8px;
  background: #fff;
  border-top: 1px solid #e5ecea;
  border-left: 1px solid #e5ecea;
}

.calendar-day:nth-child(7n) { border-right: 1px solid #e5ecea; }
.calendar-day:nth-last-child(-n + 7) { border-bottom: 1px solid #e5ecea; }
.calendar-day.is-other-month { color: #b5c0c2; background: #fafbf9; }
.calendar-day-number { font-family: Arial, sans-serif; font-size: 10px; font-weight: 700; }
.calendar-event { width: 100%; display: block; margin-top: 5px; padding: 5px 6px; overflow: hidden; color: #064f53; background: #dff3f0; border: 0; border-left: 3px solid var(--teal); border-radius: 4px; font-size: 8px; font-weight: 800; text-align: left; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.calendar-event:hover { background: #c6ece7; }
.calendar-more-day { width: 100%; margin-top: 5px; padding: 4px 5px; color: #66787d; background: transparent; border: 1px dashed #c9d5d2; border-radius: 4px; font-size: 8px; font-weight: 800; }
.calendar-agenda-more { min-height: 44px; display: block; margin: 14px auto 0; padding: 0 20px; color: var(--teal-dark); background: var(--white); border: 1px solid #b8cbc7; border-radius: 999px; font-size: 12px; font-weight: 800; }
.calendar-help { margin: 14px 0 0; color: #76878c; font-size: 10px; text-align: center; }

.guide-section {
  display: grid;
  grid-template-columns: .72fr 1.6fr;
  gap: 70px;
  padding: 104px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--navy);
}

.section-kicker.light { color: var(--aqua); }
.guide-intro h2 { margin: 0; font-size: clamp(30px, 4vw, 46px); line-height: 1.45; letter-spacing: -.04em; }
.guide-intro > p:not(.section-kicker) { margin: 22px 0; color: #b6c9ce; font-size: 13px; }
.guide-intro a { display: inline-flex; gap: 20px; padding-bottom: 4px; color: var(--lime); border-bottom: 1px solid rgba(201,237,99,.5); font-size: 12px; font-weight: 800; }
.guide-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.guide-cards article { position: relative; overflow: hidden; padding: 26px 20px 24px; color: var(--ink); background: var(--white); border-radius: 14px; }
.guide-cards article:nth-child(2) { transform: translateY(20px); }
.guide-number { position: absolute; right: 12px; top: -11px; color: #eef3f1; font-family: Arial, sans-serif; font-size: 74px; font-weight: 900; line-height: 1; }
.guide-icon { position: relative; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; color: var(--white); background: var(--teal); border-radius: 12px; font-size: 21px; font-weight: 900; }
.bike-icon { background: #d36e59; }
.run-icon { background: #638247; }
.guide-label { margin: 18px 0 4px; color: var(--teal); font-family: Arial, sans-serif; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.guide-cards h3 { margin: 0; font-size: 15px; line-height: 1.5; }
.guide-cards h3 + p { min-height: 80px; margin: 12px 0; color: #65787e; font-size: 10px; }
.guide-cards ul { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.guide-cards li { padding: 3px 7px; color: #46656a; background: #eef4f2; border-radius: 4px; font-size: 8px; font-weight: 700; }

.voices-section {
  width: var(--page);
  margin: 0 auto;
  padding: 110px 0;
}

.voices-heading > p { max-width: 470px; margin: 0 0 4px; color: #60747b; font-size: 13px; }
.voice-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 38px; }
.featured-voice { position: relative; padding: 34px; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: 17px; }
.quote-mark { position: absolute; right: 27px; top: -27px; color: #e1f1ef; font-family: Georgia, serif; font-size: 145px; line-height: 1; }
.voice-meta { position: relative; display: flex; align-items: center; gap: 11px; }
.voice-meta strong,
.voice-meta small { display: block; }
.voice-meta strong { font-size: 11px; }
.voice-meta small { color: #77888d; font-size: 9px; }
.verified { margin-left: auto; padding: 4px 8px; color: #277063; background: #e4f2ec; border-radius: 999px; font-size: 8px; font-weight: 800; }
.stars.large { margin-top: 24px; font-size: 15px; letter-spacing: .09em; }
.featured-voice h3 { margin: 11px 0 15px; font-size: 20px; line-height: 1.65; letter-spacing: -.02em; }
.featured-voice > p { margin: 0; color: #526970; font-size: 12px; line-height: 2; }
.lesson { margin-top: 20px; padding: 13px 15px; background: #fff4ee; border-radius: 8px; }
.lesson span { display: block; color: #b05643; font-size: 8px; font-weight: 900; }
.lesson strong { display: block; margin-top: 3px; font-size: 10px; }
.featured-voice footer { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 20px; color: #74858a; font-size: 9px; }
.featured-voice footer button { padding: 5px 10px; color: var(--teal-dark); background: #ebf6f4; border: 1px solid #c9e3df; border-radius: 999px; font-size: 9px; font-weight: 800; }
.helpful-button { padding: 5px 10px; color: var(--teal-dark); background: #ebf6f4; border: 1px solid #c9e3df; border-radius: 999px; font-size: 10px; }
.helpful-button.is-clicked { color: var(--white); background: var(--teal); }
.voice-side { display: grid; grid-template-rows: auto 1fr; gap: 15px; }
.rating-summary { display: grid; grid-template-columns: .65fr 1.35fr; gap: 25px; align-items: center; padding: 25px; background: #edf6f4; border-radius: 16px; }
.rating-summary > div:first-child { text-align: center; }
.rating-summary strong { display: block; font-family: Arial, sans-serif; font-size: 42px; line-height: 1; }
.rating-summary > div > span { display: block; margin: 6px 0 3px; color: #efa436; font-family: Arial, sans-serif; font-size: 11px; letter-spacing: .1em; }
.rating-summary small { color: #73858a; font-size: 8px; }
.rating-summary dl { margin: 0; }
.rating-summary dl > div { display: grid; grid-template-columns: 1fr 1.2fr auto; align-items: center; gap: 8px; margin: 7px 0; }
.rating-summary dt { color: #587077; font-size: 8px; }
.rating-summary dd { height: 5px; margin: 0; overflow: hidden; background: #d2e2df; border-radius: 999px; }
.rating-summary dd i { display: block; width: var(--score); height: 100%; background: var(--teal); border-radius: inherit; }
.rating-summary dl span { font-family: Arial, sans-serif; font-size: 8px; font-weight: 800; }

.summary-numbers > div {
  display: flex !important;
  justify-content: space-between;
  gap: 15px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(8, 47, 61, .1);
}

.summary-numbers > div:last-child { border-bottom: 0; }
.summary-numbers dd { height: auto; overflow: visible; color: var(--ink); background: transparent; font-family: Arial, sans-serif; font-size: 12px; font-weight: 900; }

.empty-review {
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 35px;
  text-align: center;
}

.empty-review > span { height: 72px; color: #dcefeb; font-family: Georgia, serif; font-size: 100px; line-height: 1; }
.empty-review h3 { margin: 0; font-size: 20px; }
.empty-review p { max-width: 390px; margin: 10px 0 20px; color: var(--ink-soft); font-size: 11px; }
.review-cta { display: flex; gap: 18px; padding: 27px; color: var(--white); background: var(--teal); border-radius: 16px; }
.review-cta > span { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; color: var(--navy); background: var(--lime); border-radius: 50%; font-size: 20px; }
.review-cta h3 { margin: 0; font-size: 20px; line-height: 1.5; }
.review-cta p { margin: 9px 0 17px; color: #d9f1ef; font-size: 10px; }
.review-cta button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 13px; color: var(--navy); background: var(--white); border: 0; border-radius: 7px; font-size: 10px; font-weight: 900; }

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 65px max(24px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: linear-gradient(120deg, var(--teal-dark), var(--teal));
}

.final-cta h2 { margin: 0; font-size: clamp(30px, 4vw, 45px); line-height: 1.4; }
.final-cta p:not(.section-kicker) { margin: 10px 0 0; color: #d5efed; font-size: 12px; }
.final-cta > a { display: flex; align-items: center; justify-content: space-between; min-width: 240px; padding: 17px 20px; color: var(--navy); background: var(--lime); border-radius: 9px; font-size: 12px; font-weight: 900; }
.final-cta > a span { font-size: 20px; }

.site-footer {
  padding: 48px max(24px, calc((100vw - 1180px) / 2)) 32px;
  color: #afc1c6;
  background: #061e27;
}

.footer-brand .brand-copy strong { color: var(--white); }
.footer-brand .brand-copy small { color: #89a2a9; }
.site-footer > p { margin: 18px 0; font-size: 10px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 24px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.09); border-bottom: 1px solid rgba(255,255,255,.09); font-size: 10px; font-weight: 700; }
.site-footer nav button { padding: 0; color: inherit; background: transparent; border: 0; font: inherit; text-align: left; cursor: pointer; }
.site-footer > small { display: flex; justify-content: space-between; margin-top: 20px; color: #70888f; font-size: 8px; }

.mobile-nav { display: none; }

dialog {
  width: min(690px, calc(100vw - 28px));
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: 18px;
  box-shadow: 0 35px 100px rgba(1, 23, 30, .35);
}

dialog::backdrop { background: rgba(2, 30, 39, .72); backdrop-filter: blur(5px); }
.dialog-close { position: sticky; z-index: 5; float: right; top: 12px; right: 12px; width: 36px; height: 36px; display: grid; place-items: center; margin: 12px 12px -48px 0; padding: 0; color: var(--ink); background: rgba(255,255,255,.93); border: 1px solid #dce5e3; border-radius: 50%; font-size: 21px; line-height: 1; }
.event-dialog-hero { padding: 28px; color: var(--white); background: linear-gradient(135deg, var(--visual-a), var(--visual-b)); }
.event-dialog-hero .event-badge { display: inline-block; margin-bottom: 13px; }
.event-dialog-hero p { margin: 0 0 4px; font-size: 11px; }
.event-dialog-hero h2 { max-width: 85%; margin: 0; font-size: 28px; line-height: 1.45; }
.event-dialog-body { padding: 26px 28px 30px; }
.dialog-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.dialog-stats div { padding: 10px; text-align: center; background: #f0f6f4; border-radius: 7px; }
.dialog-stats span { display: block; color: #74868b; font-size: 8px; }
.dialog-stats strong { display: block; margin-top: 2px; font-size: 11px; }
.dialog-fit { display: flex; align-items: center; gap: 13px; margin: 20px 0; padding: 15px; background: #e9f6f3; border-radius: 10px; }
.dialog-fit .mini-fit { width: 48px; height: 48px; flex-basis: 48px; box-shadow: inset 0 0 0 5px #e9f6f3; }
.dialog-fit p { margin: 2px 0 0; color: #4e686f; font-size: 10px; }
.dialog-section { margin-top: 21px; }
.dialog-section h3 { margin: 0 0 9px; font-size: 13px; }
.dialog-features { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.dialog-features li { padding: 5px 9px; color: #376b6c; background: #ecf5f3; border-radius: 5px; font-size: 9px; font-weight: 700; }
.dialog-review { padding: 13px; background: #f8f8f4; border-radius: 9px; }
.dialog-review-head { display: flex; justify-content: space-between; gap: 10px; }
.dialog-review strong { font-size: 10px; }
.dialog-review p { margin: 7px 0 0; color: #536b72; font-size: 10px; }
.dialog-review-list { display: grid; gap: 10px; }
.user-review { padding: 15px; background: #f8f8f4; border: 1px solid #e5eae6; border-radius: 9px; }
.user-review + .user-review { margin-top: 0; }
.user-review .dialog-review-head small { display: block; margin-top: 2px; color: #7b8b8f; font-size: 8px; }
.user-review h4 { margin: 10px 0 5px; font-size: 12px; }
.user-review > p { margin: 0; color: #536b72; font-size: 10px; white-space: pre-wrap; }
.user-review .lesson { margin-top: 12px; }
.empty-dialog-review { text-align: center; }
.empty-dialog-review button { margin-top: 10px; padding: 8px 12px; color: var(--white); background: var(--teal); border: 0; border-radius: 6px; font-size: 9px; font-weight: 800; }
.source-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.source-actions.single { grid-template-columns: 1fr; }
.source-actions a { min-height: 40px; display: flex; align-items: center; justify-content: center; color: #35666b; background: #eff5f3; border: 1px solid #d6e3e1; border-radius: 8px; font-size: 9px; font-weight: 800; }
.dialog-review-button { width: 100%; min-height: 44px; margin-top: 8px; color: var(--white); background: var(--teal); border: 0; border-radius: 8px; font-size: 10px; font-weight: 900; }
.calendar-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
.calendar-actions a,
.calendar-actions button { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; border-radius: 8px; font-size: 10px; font-weight: 900; }
.google-calendar { color: var(--white); background: var(--navy); }
.ics-calendar { color: var(--teal-dark); background: #e5f3f1; border: 0; }

.review-dialog { padding: 31px; }
.dialog-heading { padding-right: 35px; }
.dialog-heading h2 { margin: 0; font-size: 28px; }
.dialog-heading > p:last-child { margin: 6px 0 0; color: var(--ink-soft); font-size: 11px; }
.review-dialog form { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 23px; }
.review-dialog form > label,
.rating-input { display: flex; flex-direction: column; gap: 5px; color: #526970; font-size: 10px; font-weight: 800; }
.review-dialog input,
.review-dialog select,
.review-dialog textarea { width: 100%; padding: 11px 12px; background: #f7f8f6; border: 1px solid #d9e3e1; border-radius: 7px; font-size: 11px; font-weight: 500; }
.review-dialog textarea { min-height: 100px; resize: vertical; line-height: 1.7; }
.wide-field,
.important-field,
.consent,
.submit-review,
.form-note { grid-column: 1 / -1; }
.important-field { padding: 12px; color: #8c493c !important; background: #fff4ee; border-radius: 9px; }
.important-field span { margin-left: 5px; font-size: 8px; font-weight: 600; }
.important-field textarea { background: var(--white); border-color: #f2c9bd; }
.rating-input { margin: 0; padding: 0; border: 0; }
.rating-input div { display: flex; flex-direction: row-reverse; justify-content: flex-end; min-height: 43px; align-items: center; }
.rating-input input { position: absolute; width: 1px; opacity: 0; }
.rating-input label { cursor: pointer; color: #d3dddb; font-family: Arial, sans-serif; font-size: 28px; line-height: 1; }
.rating-input label:hover,
.rating-input label:hover ~ label,
.rating-input input:checked ~ label { color: #efa436; }
.rating-input input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 1px; }
.consent { flex-direction: row !important; align-items: flex-start; font-weight: 500 !important; line-height: 1.5; }
.consent input { width: auto; margin-top: 3px; }
.submit-review { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 20px; color: var(--white); background: var(--teal); border: 0; border-radius: 8px; font-size: 11px; font-weight: 900; }
.form-note { margin: -7px 0 0; color: #849398; font-size: 8px; text-align: center; }
.review-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submit-review:disabled { cursor: wait; opacity: .65; }

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  padding: 12px 16px;
  color: var(--white);
  background: var(--navy);
  border-radius: 9px;
  box-shadow: 0 15px 35px rgba(4,35,44,.28);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: .25s;
}

.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast > span { width: 23px; height: 23px; display: grid; place-items: center; color: var(--navy); background: var(--lime); border-radius: 50%; font-size: 11px; font-weight: 900; }
.toast p { margin: 0; font-size: 10px; font-weight: 700; }
.toast.is-error > span { color: var(--white); background: var(--coral); }
.load-error { grid-column: 1 / -1; padding: 60px 20px; text-align: center; background: var(--white); border: 1px dashed #b7c8c6; border-radius: 14px; }
.load-error h3 { margin: 0; }
.load-error p { margin: 7px 0 17px; color: var(--ink-soft); font-size: 11px; }

[hidden] { display: none !important; }

@media (max-width: 1020px) {
  :root { --page: min(930px, calc(100vw - 36px)); }
  .desktop-nav { gap: 18px; }
  .hero-inner { gap: 35px; }
  .hero-card-wrap { transform: scale(.92) rotate(1.2deg); transform-origin: right center; }
  .finder-form { grid-template-columns: 1.4fr repeat(2, 1fr); }
  .finder-form .field:nth-child(4) { grid-column: 1 / 2; }
  .search-button { grid-column: 2 / 4; }
  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-section { grid-template-columns: 1fr; gap: 38px; }
  .guide-intro { max-width: 610px; }
}

@media (max-width: 760px) {
  :root { --page: calc(100vw - 28px); }
  html { scroll-padding-top: 68px; }
  body { padding-bottom: 64px; }
  .site-header { min-height: 62px; padding: 9px 14px; }
  .brand-mark { width: 35px; height: 35px; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small { font-size: 7px; }
  .desktop-nav,
  .header-review-button { display: none; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 45px; padding: 55px 0 115px; }
  .hero h1 { font-size: 38px; }
  .hero-lead { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 17px; }
  .primary-button { width: 100%; }
  .hero-proof { margin-top: 32px; }
  .hero-proof li { padding: 0 11px; }
  .hero-proof strong { font-size: 11px; }
  .hero-proof span { font-size: 8px; }
  .hero-card-wrap { width: calc(100% - 12px); margin: 0 auto; transform: rotate(1deg); }
  .hero-card { padding: 18px; }
  .note-swim { left: -8px; top: -35px; }
  .note-review { right: -7px; bottom: -31px; }
  .float-note { padding: 8px 10px; }
  .search-dock { margin-top: -48px; padding: 21px 16px 18px; }
  .prototype-note { align-items: flex-start; }
  .prototype-note p strong { display: block; }
  .source-note { flex-wrap: wrap; }
  .source-note a { width: 100%; margin-left: 0; }
  .search-heading { align-items: center; }
  .finder-form { grid-template-columns: 1fr 1fr; }
  .keyword-field { grid-column: 1 / -1; }
  .finder-form .field:nth-child(4) { grid-column: auto; }
  .search-button { grid-column: 1 / -1; }
  .quick-filters { align-items: flex-start; }
  .quick-filters legend { width: 100%; margin-bottom: 6px; }
  .events-section { padding: 65px 0 80px; }
  .section-bar { align-items: flex-start; flex-direction: column; gap: 16px; }
  .result-controls { width: 100%; justify-content: space-between; }
  .sort-control { flex-direction: column; align-items: flex-start; gap: 2px; }
  .event-grid { grid-template-columns: 1fr; }
  .event-visual { height: 150px; }
  .calendar-panel { padding: 12px 6px; overflow: hidden; }
  .calendar-day { min-height: 50px; padding: 3px; }
  .calendar-day-number { font-size: 9px; }
  .calendar-event { width: 14px; height: 14px; margin: 3px 1px 0 0; padding: 0; display: inline-grid; place-items: center; border: 0; background: transparent; font-size: 0; }
  .calendar-event::after { content: "●"; color: var(--teal); font-size: 8px; line-height: 1; }
  .calendar-event.is-community::after { color: #e87535; }
  .guide-section { padding-top: 78px; padding-bottom: 90px; }
  .guide-cards { grid-template-columns: 1fr; }
  .guide-cards article:nth-child(2) { transform: none; }
  .guide-cards h3 + p { min-height: auto; }
  .voices-section { padding: 80px 0; }
  .voices-heading { align-items: flex-start; flex-direction: column; }
  .voice-layout { grid-template-columns: 1fr; }
  .featured-voice { padding: 24px 19px; }
  .featured-voice h3 { font-size: 17px; }
  .rating-summary { grid-template-columns: 1fr; }
  .final-cta { align-items: flex-start; flex-direction: column; padding-top: 55px; padding-bottom: 55px; }
  .final-cta > a { width: 100%; }
  .site-footer { padding-bottom: 36px; }
  .site-footer nav { display: grid; grid-template-columns: 1fr 1fr; }
  .site-footer > small { flex-direction: column; gap: 5px; }
  .mobile-nav { position: fixed; z-index: 45; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); min-height: 61px; padding-bottom: env(safe-area-inset-bottom); background: rgba(255,255,255,.96); border-top: 1px solid #d8e3e1; box-shadow: 0 -8px 25px rgba(6,44,55,.08); backdrop-filter: blur(12px); }
  .mobile-nav a,
  .mobile-nav button { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 1px; padding: 6px 2px; color: #62767c; background: transparent; border: 0; font-size: 8px; font-weight: 800; }
  .mobile-nav span { color: var(--teal); font-size: 18px; line-height: 1; }
  .dialog-stats { grid-template-columns: 1fr 1fr; }
  .event-dialog-hero h2 { font-size: 23px; }
  .event-dialog-body { padding: 21px 18px 24px; }
  .calendar-actions { grid-template-columns: 1fr; }
  .source-actions { grid-template-columns: 1fr; }
  .review-dialog { padding: 25px 17px; }
  .review-dialog form { grid-template-columns: 1fr; }
  .review-dialog form > label,
  .rating-input,
  .consent,
  .submit-review,
  .form-note { grid-column: 1; }
  .toast { bottom: 75px; width: calc(100vw - 28px); min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
