:root {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-soft-strong: #ffffff;
  --bg-muted: #ffffff;
  --text: #141414;
  --muted: #5f636d;
  --muted-strong: #343946;
  --accent: #f36b1c;
  --accent-deep: #db5609;
  --accent-soft: rgba(20, 20, 20, 0.05);
  --line: rgba(20, 20, 20, 0.1);
  --line-strong: rgba(20, 20, 20, 0.16);
  --shadow: 0 24px 72px rgba(20, 20, 20, 0.06);
  --shadow-soft: 0 14px 34px rgba(20, 20, 20, 0.045);
  --radius-xl: 34px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --page-wide: min(1540px, calc(100vw - 56px));
  --page: min(1280px, calc(100vw - 112px));
  --font-body: "Inter", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #ffffff;
  overflow-x: clip;
}

body.body-modal-open {
  overflow: hidden;
}

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

img,
video {
  display: block;
  width: 100%;
  max-width: 100%;
}

button,
a {
  color: inherit;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

::selection {
  color: #ffffff;
  background: var(--accent);
}

.page-width {
  width: var(--page);
  margin: 0 auto;
}

.page-width-wide {
  width: var(--page-wide);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-shell {
  min-height: 100vh;
  overflow-x: clip;
}

.site-main {
  outline: none;
  overflow-x: clip;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(12px) saturate(1.05);
}

.nav-shell {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  min-width: 0;
  padding: 10px 14px 10px 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.54));
  box-shadow:
    0 18px 42px rgba(20, 20, 20, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(22px) saturate(1.12);
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14) 44%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
}

.nav-group {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-panel {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.brand,
.nav-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  border-radius: 999px;
}

.brand {
  padding: 0 12px 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  background: center / contain no-repeat url("/logo-mark.svg?v=20260418-ui47");
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 0;
  position: relative;
  z-index: 1;
}

.nav-actions {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.locale-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.locale-switch-button {
  min-height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.locale-switch-button:hover,
.locale-switch-button:focus-visible {
  background: rgba(20, 20, 20, 0.05);
  color: var(--text);
}

.locale-switch-button.is-active {
  background: #141414;
  color: #ffffff;
}

.nav-toggle {
  position: relative;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.nav-toggle-box {
  width: 20px;
  display: grid;
  justify-items: end;
  gap: 5px;
}

.nav-toggle-box span {
  display: block;
  transform-origin: center;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: width 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.nav-toggle-box span:first-child {
  width: 11px;
}

.nav-toggle-box span:last-child {
  width: 18px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child,
.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
  width: 18px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-box span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.nav-link,
.nav-cta {
  padding: 0 18px;
  font-size: 0.86rem;
  font-weight: 650;
  transition: background-color 160ms ease, transform 160ms ease, color 160ms ease;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  border-radius: 999px;
  color: var(--muted-strong);
}

.nav-link small {
  min-width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.06);
  color: var(--accent);
  font-size: 0.72rem;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--text);
  background: rgba(20, 20, 20, 0.045);
  transform: translateY(-1px);
}

.nav-link:focus-visible,
.nav-cta:focus-visible,
.locale-switch-button:focus-visible,
.button:focus-visible,
.text-button:focus-visible,
.ghost-button:focus-visible,
.decision-button:focus-visible,
.tag-button:focus-visible,
.input:focus-visible,
.planner-select:focus-visible,
.planner-note:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.nav-cta,
.button,
.decision-button,
.ghost-button,
.toast-button,
.tag-button,
.text-button {
  white-space: nowrap;
}

.nav-cta {
  justify-content: center;
  color: #ffffff;
  border: 1px solid rgba(243, 107, 28, 0.18);
  background: linear-gradient(135deg, #ff9551 0%, var(--accent) 52%, var(--accent-deep) 100%);
  box-shadow: 0 14px 26px rgba(243, 107, 28, 0.16);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  transform: translateY(-1px);
}

.section-kicker,
.row-kicker,
.hero-stage-label,
.filter-label {
  margin: 0;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-section,
.route-hero,
.city-hero {
  padding: clamp(46px, 7vw, 92px) 0 24px;
}

.route-loading-shell {
  padding: clamp(28px, 5vw, 56px) 0 16px;
  min-height: clamp(120px, 18vh, 200px);
}

.route-loading-shell .page-width {
  display: grid;
  justify-items: center;
}

.route-loading-bar {
  width: min(168px, 38vw);
  height: 4px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.08);
  overflow: hidden;
}

.route-loading-bar span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(243, 107, 28, 0.18), rgba(243, 107, 28, 0.9));
  animation: route-loading-slide 1.05s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

@keyframes route-loading-slide {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

.city-hero-city-minimal {
  padding-bottom: clamp(18px, 3vw, 32px);
}

.hero-section-home {
  padding-top: clamp(72px, 9vw, 122px);
}

.hero-home-shell {
  display: grid;
}

.hero-section-home .page-width,
.route-hero .page-width,
.city-hero .page-width {
  text-align: center;
}

.city-hero-city-minimal .page-width {
  text-align: left;
}

.hero-title,
.route-title {
  margin: 14px auto 0;
  max-width: 8.8ch;
  font-size: clamp(4.8rem, 9.8vw, 9.8rem);
  line-height: 0.8;
  letter-spacing: -0.105em;
}

.hero-title-home {
  max-width: none;
  display: grid;
  justify-items: center;
  gap: 0.04em;
  font-size: clamp(4.15rem, 8vw, 8.8rem);
}

.hero-title-line {
  display: block;
  white-space: nowrap;
}

.route-title {
  max-width: 10ch;
  font-size: clamp(3.1rem, 5.2vw, 5.8rem);
  line-height: 0.86;
  letter-spacing: -0.085em;
}

.route-title-city,
.route-title-detail {
  max-width: 9ch;
}

.route-title-detail {
  max-width: none;
  font-size: clamp(2.75rem, 4.3vw, 4.85rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.hero-copy,
.route-copy,
.city-intro,
.section-copy,
.footer-copy,
.note-line p,
.city-summary,
.compact-row p,
.flow-panel p,
.mood-line p,
.about-line p,
.hero-stage-note p,
.search-note,
.filter-help,
.experience-summary,
.planner-item p,
.empty-state p {
  color: var(--muted);
  line-height: 1.75;
}

.hero-copy,
.route-copy {
  max-width: 26rem;
  margin: 18px auto 0;
  font-size: clamp(0.98rem, 1vw, 1.04rem);
  line-height: 1.58;
}

.route-copy-large {
  max-width: 34rem;
}

.route-copy-city,
.route-copy-detail-full {
  max-width: 48rem;
  margin-left: 0;
  margin-right: 0;
}

.route-copy-detail-full {
  max-width: 44rem;
  font-size: 1rem;
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.button,
.decision-button,
.ghost-button,
.toast-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover,
.decision-button:hover,
.ghost-button:hover,
.toast-button:hover {
  transform: translateY(-1px);
}

.button-primary,
.decision-button.is-active,
.toast-button {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9551 0%, var(--accent) 52%, var(--accent-deep) 100%);
}

.button-secondary,
.decision-button,
.ghost-button,
.tag,
.meta-pill,
.input-shell,
.filter-panel,
.flow-panel,
.planner-bucket,
.planner-item,
.empty-state,
.hero-stage-note,
.note-line,
.about-line {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.88);
}

.button-secondary,
.decision-button,
.ghost-button,
.text-button,
.tag-button {
  color: var(--text);
}

.decision-button,
.ghost-button,
.tag-button {
  min-height: 44px;
  padding: 0 16px;
}

.decision-button.is-ghost {
  background: rgba(255, 255, 255, 0.88);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.text-button::after {
  content: ">";
  color: var(--accent);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: min(680px, 100%);
  margin: 36px auto 0;
}

.hero-stats-minimal {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(820px, 100%);
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--line-strong);
}

.hero-stats-minimal .stat-item {
  padding: 16px 16px 0;
  border-top: 0;
  position: relative;
}

.hero-stats-minimal .stat-item + .stat-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  bottom: 0;
  width: 1px;
  background: rgba(20, 20, 20, 0.08);
}

.stat-item {
  padding-top: 16px;
  border-top: 1px solid var(--line-strong);
  text-align: center;
}

.stat-item strong,
.flow-panel strong {
  display: block;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.stat-item span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-stage {
  position: relative;
  width: min(1380px, 100%);
  margin: 48px auto 0;
  aspect-ratio: 16 / 7.3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.1);
  box-shadow: var(--shadow);
}

.hero-video,
.hero-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video {
  opacity: 0;
  transition: opacity 220ms ease;
}

.hero-stage[data-state="video"] .hero-video {
  opacity: 1;
}

.hero-stage[data-state="video"] .hero-poster {
  opacity: 0.1;
}

.hero-stage-note {
  position: absolute;
  left: 28px;
  bottom: 28px;
  max-width: 28rem;
  padding: 18px 20px 16px;
  border-radius: 22px;
  backdrop-filter: blur(18px);
  text-align: left;
}

.hero-stage-note p {
  margin: 8px 0 0;
}

.section-band {
  position: relative;
  width: var(--page-wide);
  margin: 0 auto 18px;
  padding: clamp(64px, 7vw, 104px) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.section-band > .page-width {
  position: relative;
  z-index: 1;
}

.section-band::before {
  content: "";
  position: absolute;
  right: -10%;
  top: -18%;
  width: min(48vw, 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: none;
  pointer-events: none;
}

.band-warm {
  background: #ffffff;
}

.band-soft {
  background: #ffffff;
}

.band-white {
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.04);
}

.band-white::before {
  background: none;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr);
  gap: clamp(24px, 3.2vw, 48px);
  align-items: end;
  margin-bottom: 32px;
}

.section-head-home .section-copy {
  max-width: 24rem;
  margin-left: auto;
}

.section-head.is-centered {
  align-items: center;
}

.section-head.is-compact {
  grid-template-columns: 1fr;
  margin-bottom: 22px;
}

.section-title {
  margin: 10px 0 0;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.6vw, 4.9rem);
  line-height: 0.88;
  letter-spacing: -0.09em;
}

.section-band-home-cities {
  padding-top: clamp(58px, 7vw, 84px);
}

.section-band-home-emotion {
  padding-top: clamp(36px, 4vw, 52px);
  padding-bottom: clamp(36px, 4vw, 48px);
}

.section-head-home-emotion {
  margin-bottom: 20px;
}

.home-emotion-title {
  max-width: none;
}

.home-city-title,
.section-title-results {
  max-width: none;
  font-size: clamp(1.56rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.08em;
  white-space: nowrap;
}

.section-band-home-utility {
  padding-top: clamp(40px, 5vw, 60px);
  padding-bottom: clamp(40px, 5vw, 60px);
}

.home-mood-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(18px, 2.3vw, 28px);
  align-items: start;
}

.split-band,
.detail-grid,
.city-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: clamp(26px, 3vw, 52px);
}

.city-hero-grid {
  align-items: center;
  text-align: left;
}

.city-hero-grid-city {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: end;
}

.city-copy-block {
  display: grid;
  gap: 14px;
}

.city-copy-block-city {
  max-width: 54rem;
}

.city-copy-block-city-minimal {
  gap: 18px;
  max-width: none;
}

.city-hero-city-compact {
  padding-top: clamp(14px, 2.6vw, 28px);
  padding-bottom: clamp(2px, 1vw, 10px);
}

.city-hero-city-compact .page-width {
  text-align: center;
}

.city-hero-compact-shell {
  display: grid;
  justify-items: center;
  gap: 8px;
  max-width: min(760px, 100%);
  margin: 0 auto;
  text-align: center;
}

.route-title-city-compact {
  max-width: none;
  margin-top: 0;
  font-size: clamp(2.8rem, 5.2vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.09em;
}

.route-copy-city-compact {
  max-width: 32rem;
  margin-top: 0;
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  line-height: 1.42;
}

.route-hero-profile .emotion-profile-strip {
  margin: 26px auto 0;
  width: min(720px, 100%);
}

.route-hero-profile .emotion-profile-note {
  margin-top: 12px;
}

.city-intro-city {
  max-width: 36rem;
}

.city-copy-block .route-title,
.city-copy-block .route-copy {
  margin-left: 0;
  margin-right: 0;
}

.city-hero-grid-balanced {
  align-items: end;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
}

.city-hero-grid-balanced .route-title-city {
  max-width: none;
  margin-top: 6px;
  font-size: clamp(4rem, 7.1vw, 7.1rem);
  line-height: 0.88;
  letter-spacing: -0.095em;
}

.city-hero-grid-balanced .route-copy-city {
  max-width: 44rem;
  font-size: clamp(1.08rem, 1.2vw, 1.22rem);
  line-height: 1.52;
}

.city-hero-grid-balanced .city-intro-compact {
  max-width: 42rem;
}

.city-hero-panel {
  align-self: stretch;
  display: grid;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.city-hero-panel-grid {
  display: grid;
  gap: 14px;
}

.city-hero-panel-row {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.city-hero-panel-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.city-hero-panel-label {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.city-hero-panel-row strong {
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.city-hero-panel-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.city-hero-panel-links {
  padding-top: 4px;
}

.hero-art-frame {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.hero-art-frame img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-art-frame-city img {
  aspect-ratio: 0.96 / 1.08;
}

.hero-art-frame-detail img {
  aspect-ratio: 1.3 / 0.84;
}

.line-stack,
.experience-list,
.mood-stack {
  border-top: 1px solid var(--line-strong);
  min-width: 0;
}

.experience-list {
  display: grid;
  gap: 14px;
  border-top: 0;
}

.city-row,
.experience-row,
.compact-row,
.about-line,
.mood-line {
  display: grid;
  gap: 22px;
  min-width: 0;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.city-row {
  grid-template-columns: minmax(220px, 0.34fr) minmax(0, 1fr) auto;
  align-items: center;
  content-visibility: auto;
  contain-intrinsic-size: 280px;
}

.city-media,
.experience-media {
  overflow: hidden;
  min-width: 0;
  border-radius: 24px;
}

.city-media img,
.experience-media img {
  aspect-ratio: 1.16 / 0.78;
  object-fit: cover;
  transition: transform 200ms ease;
}

.city-media:hover img,
.experience-media:hover img {
  transform: scale(1.03);
}

.city-heading {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  min-width: 0;
}

.row-index {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.city-heading h3,
.compact-row h3,
.about-line h2,
.saved-group h2,
.planner-item h3,
.experience-title,
.mood-line strong {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.city-one-liner {
  margin: 12px 0 0;
  color: var(--muted-strong);
  max-width: 34rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
}

.city-summary,
.compact-row p,
.planner-item p,
.about-line p,
.note-line p,
.mood-line p {
  margin: 0;
}

.city-summary,
.experience-summary {
  max-width: 38rem;
  font-size: 0.92rem;
  line-height: 1.58;
}

.city-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.compact-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.mood-line {
  grid-template-columns: minmax(180px, 0.32fr) minmax(0, 1fr);
  align-items: start;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.emotion-city-grid {
  margin-top: 6px;
}

.city-name-card {
  min-height: 156px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  padding: 20px 22px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 20px;
  background: #ffffff;
  text-align: center;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.city-name-card small {
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: none;
}

.city-name-card span {
  max-width: 9ch;
  font-size: clamp(1.95rem, 2.8vw, 3.05rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.city-name-card em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.82rem;
  line-height: 1.4;
}

.city-name-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 107, 28, 0.28);
  box-shadow: var(--shadow-soft);
}

.home-mood-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.home-mood-item {
  display: grid;
  gap: 6px;
  align-content: start;
}

.home-mood-item strong {
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.home-mood-item span {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.55;
}

.utility-panel {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 2.2vw, 28px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
}

.utility-panel-inline {
  padding-top: clamp(22px, 2.2vw, 28px);
  border-top: 0;
}

.utility-panel-profile {
  gap: 20px;
}

.utility-panel-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.8vw, 3rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

.utility-panel-head {
  display: grid;
  gap: 8px;
}

.utility-note {
  margin: 0;
  color: var(--muted);
  max-width: 24rem;
}

.emotion-rail,
.emotion-profile-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.emotion-rail-directory {
  justify-content: center;
  margin-top: 24px;
}

.emotion-chip,
.mood-mini-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.emotion-chip-home,
.emotion-chip-filter {
  min-height: 44px;
  padding: 0 16px;
}

.emotion-chip-inline,
.emotion-chip-soft,
.emotion-chip-detail {
  min-height: 32px;
  padding: 0 11px;
  font-size: 0.76rem;
}

.emotion-chip-soft,
.mood-mini-chip {
  color: var(--muted-strong);
  background: rgba(20, 20, 20, 0.03);
}

.emotion-chip-detail {
  color: #ffffff;
  background: #141414;
  border-color: #141414;
}

.emotion-chip-home.is-active,
.emotion-chip-filter.is-active {
  color: #ffffff;
  border-color: var(--accent);
  background: var(--accent);
}

.emotion-chip-filter.is-dim,
.emotion-chip-home.is-dim {
  opacity: 0.4;
}

.emotion-chip[disabled] {
  cursor: default;
}

.emotion-chip[aria-disabled="true"] {
  pointer-events: none;
}

.emotion-profile-strip {
  display: grid;
  gap: 12px;
}

.emotion-profile-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
}

.emotion-profile-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.emotion-profile-row span,
.emotion-profile-row strong {
  font-size: 0.84rem;
  font-weight: 700;
}

.emotion-profile-track {
  height: 8px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.07);
  overflow: hidden;
}

.emotion-profile-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #141414 0%, var(--accent) 100%);
}

.utility-chip-row,
.utility-link-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.utility-link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.utility-chip,
.utility-link {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.utility-link {
  display: grid;
  justify-content: start;
  align-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 92px;
  padding: 18px 18px 16px;
  border-radius: 20px;
  background: #ffffff;
}

.utility-link span {
  color: var(--muted-strong);
  line-height: 1.5;
}

.utility-link strong {
  color: var(--accent);
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.utility-chip:hover,
.utility-chip:focus-visible,
.utility-link:hover,
.utility-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 107, 28, 0.22);
  box-shadow: var(--shadow-soft);
}

.flow-panel,
.empty-state,
.filter-panel,
.planner-bucket,
.planner-item,
.note-line,
.about-line {
  border-radius: 22px;
}

.flow-panel,
.empty-state {
  padding: 22px;
}

.empty-state {
  display: grid;
  gap: 16px;
  justify-items: start;
}

.city-results-shell {
  min-width: 0;
  overflow-x: clip;
}

.city-results-shell-full {
  width: 100%;
}

.section-head-results {
  grid-template-columns: minmax(0, 1fr) auto;
  margin-bottom: 24px;
}

.section-band-city-directory-tight {
  padding-top: clamp(28px, 3vw, 40px);
}

.section-band-city-directory,
.section-band-city-directory-tight {
  overflow: visible;
}

.filter-strip {
  display: grid;
  gap: 14px;
  min-width: 0;
  margin-bottom: 22px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.filter-strip-emotion {
  position: sticky;
  top: 90px;
  z-index: 12;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
}

.filter-strip-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.filter-strip-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.filter-strip-copy {
  display: grid;
  gap: 8px;
}

.filter-help {
  margin: 14px 0 0;
  max-width: 40rem;
}

.filter-help-inline {
  margin: 0;
  max-width: none;
  font-size: 0.88rem;
  line-height: 1.6;
}

.filter-strip-groups {
  display: grid;
  gap: 12px;
  min-width: 0;
}

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

.filter-group {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.filter-group-inline {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  min-width: 0;
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.filter-chip-row {
  gap: 8px;
  min-width: 0;
}

.filter-group-inline-emotion {
  grid-template-columns: 78px minmax(0, 1fr);
}

.emotion-filter-row {
  gap: 10px;
  min-width: 0;
}

.ghost-button-filter {
  min-height: 40px;
  padding: 0 14px;
  font-size: 0.88rem;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: #ffffff;
}

.filter-advanced-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 12px 0 16px;
  border-color: rgba(243, 107, 28, 0.26);
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.05);
}

.filter-advanced-toggle strong,
.filter-advanced-toggle em {
  min-width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 800;
}

.filter-advanced-toggle strong {
  color: #ffffff;
  background: var(--accent);
}

.filter-advanced-toggle em {
  color: var(--accent);
  background: rgba(243, 107, 28, 0.08);
}

.tag-row,
.inline-meta,
.decision-stack,
.detail-action-row,
.toast-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  min-width: 0;
}

.tag,
.meta-pill,
.tag-button {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.84rem;
}

.tag-button {
  min-height: 36px;
  padding: 0 13px;
  font-size: 0.8rem;
  font-weight: 700;
}

.tag-button.is-active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  color: var(--muted);
  font-size: 0.88rem;
}

.city-meta-line {
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

.experience-row {
  grid-template-columns: minmax(214px, 0.3fr) minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  padding: 30px 0 32px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 360px;
}

.experience-body {
  display: grid;
  gap: 10px;
  min-width: 0;
  align-content: start;
}

.experience-emotion-row,
.detail-emotion-row,
.planner-item-kickers {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.experience-city-kicker,
.planner-city-label {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.planner-date-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.03);
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
}

.planner-date-badge.is-empty {
  color: var(--muted);
}

.experience-title {
  margin: 0;
  font-size: clamp(1.18rem, 1.7vw, 1.74rem);
}

.experience-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px 16px;
  min-width: 0;
  padding-top: 12px;
  border-top: 1px solid var(--line-strong);
}

.experience-link-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: 0;
}

.experience-plan-row {
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 12px 16px;
  padding-top: 10px;
  border-top: 1px dashed rgba(20, 20, 20, 0.08);
}

.plan-schedule-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.plan-date-shell {
  display: grid;
  gap: 6px;
}

.plan-date-shell span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.plan-date-input {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #ffffff;
  color: var(--text);
  min-width: 0;
}

.plan-time-input {
  letter-spacing: 0.01em;
}

.plan-schedule-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 12px;
  min-width: 0;
  flex-wrap: wrap;
}

.plan-date-display {
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
  min-width: 0;
}

.plan-date-display.is-empty {
  color: var(--muted);
}

.ghost-button-share {
  border-color: rgba(243, 107, 28, 0.18);
  color: var(--accent);
  background: rgba(243, 107, 28, 0.05);
}

.experience-summary {
  margin: 0;
  max-width: 36rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.experience-ok-take,
.detail-ok-take {
  margin: 0;
  max-width: 40rem;
  color: var(--text);
  font-size: clamp(0.98rem, 1.15vw, 1.08rem);
  font-weight: 650;
  line-height: 1.58;
  letter-spacing: -0.02em;
}

.experience-media {
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
}

.detail-ok-take {
  max-width: 42rem;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line-strong);
}

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

.signature-chip {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: #ffffff;
  color: var(--muted-strong);
  font-size: 0.8rem;
  font-weight: 700;
}

.decision-stack,
.detail-action-row {
  justify-content: flex-start;
}

.detail-booking {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.detail-booking .button {
  width: 100%;
}

.small-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.city-intro-compact {
  max-width: 22rem;
}

.experience-hero-grid,
.detail-top-grid {
  display: grid;
  gap: clamp(24px, 3vw, 46px);
}

.experience-hero-grid {
  grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
  align-items: start;
}

.experience-copy-block {
  max-width: none;
  padding-right: min(1.4vw, 18px);
}

.experience-copy-block .route-title-detail {
  margin-top: 8px;
}

.detail-emotion-row {
  margin-top: 6px;
}

.detail-action-row-cta {
  padding-top: 4px;
}

.detail-inline-links {
  padding-top: 4px;
}

.experience-hero-media {
  margin-top: 0;
}

.experience-hero-media .hero-art-frame {
  width: 100%;
  border-radius: 20px;
  box-shadow: none;
}

.section-band-review-frame {
  padding-top: clamp(22px, 3vw, 34px);
}

.section-band-detail-minimal {
  width: var(--page-wide);
  margin: 0 auto;
  padding: clamp(26px, 4vw, 42px) 0 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.section-band-detail-minimal::before {
  display: none;
}

.detail-top-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  align-items: start;
  gap: clamp(28px, 4vw, 72px);
}

.detail-main-stack,
.detail-side-stack,
.saved-group,
.planner-city {
  display: grid;
  gap: 28px;
}

.detail-rail {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
  align-content: start;
}

.detail-rail-block,
.detail-line-section {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.detail-rail-head,
.detail-line-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.detail-rail-title,
.detail-line-title {
  margin: 8px 0 0;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.detail-rail-partner,
.detail-line-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
  text-align: right;
}

.detail-fact-list,
.location-flow {
  display: grid;
  gap: 14px;
}

.detail-fact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.detail-fact,
.location-block {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.detail-fact strong,
.location-label {
  display: block;
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-fact p,
.location-copy,
.location-value {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.detail-editorial-copy {
  margin: 0;
  color: #343942;
  line-height: 1.82;
  max-width: 52rem;
}

.location-value {
  color: var(--text);
  font-weight: 700;
  line-height: 1.4;
}

.location-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 12px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
}

.location-link:hover,
.location-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 107, 28, 0.26);
}

.review-frame-shell {
  width: 100%;
}

.section-band-review-frame,
.gyg-companion {
  content-visibility: auto;
  contain-intrinsic-size: 620px;
}

.review-frame-embed {
  display: block;
  width: 100%;
  min-height: 460px;
  height: 460px;
  border: 0;
  background: transparent;
}

.gyg-companion {
  margin-top: clamp(34px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid var(--line-strong);
}

.gyg-companion-head {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.gyg-companion-title {
  margin-top: 8px;
}

.gyg-companion-shell {
  width: 100%;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.gyg-companion-frame {
  display: block;
  width: 100%;
  min-height: 420px;
  height: 420px;
  border: 0;
  background: #ffffff;
}

.gyg-companion-loading {
  min-height: 420px;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--muted);
}

.gyg-companion-fallback {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}

.gyg-companion-fallback p {
  margin: 0;
  color: var(--muted);
}

.overlay-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
}

.overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.38);
  backdrop-filter: blur(8px);
}

.overlay-panel {
  position: relative;
  width: min(760px, 100%);
  max-width: 100%;
  max-height: min(82vh, 860px);
  overflow: auto;
  overflow-x: hidden;
  padding: 28px;
  border: 1px solid rgba(20, 20, 20, 0.12);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 32px 90px rgba(20, 20, 20, 0.18);
}

.city-filters-panel {
  display: grid;
  gap: 22px;
}

.city-filters-panel-head,
.city-filters-panel-actions {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.city-filters-panel-title {
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.city-filters-panel-groups {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.city-filters-group {
  display: grid;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  min-width: 0;
}

.city-filters-group-head {
  display: grid;
  gap: 8px;
}

.city-filters-group-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.filter-modal-close,
.filter-clear-button {
  background: rgba(20, 20, 20, 0.03);
}

.filter-done-button {
  min-width: 112px;
}

.note-line,
.about-line {
  padding: 24px;
}

.note-line strong,
.about-line strong {
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.saved-group-head,
.planner-item-head,
.planner-controls,
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.saved-group {
  margin-top: 28px;
}

.saved-section-shell {
  display: grid;
  gap: 22px;
}

.saved-section-shell + .saved-section-shell {
  margin-top: 42px;
}

.saved-section-head {
  display: grid;
  gap: 8px;
}

.saved-group-emotion {
  gap: 20px;
}

.saved-group-head-emotion {
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}

.saved-group-copy {
  margin: 10px 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.65;
}

.saved-group-date .saved-group-head,
.saved-group-head-date {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.section-band-playbook {
  padding-top: 10px;
}

.playbook-shell,
.planner-city-shell,
.planner-date-shell {
  display: grid;
  gap: 22px;
}

.playbook-shell {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  align-items: start;
}

.playbook-title {
  margin: 10px 0 0;
  max-width: 16ch;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.playbook-copy {
  max-width: 34rem;
}

.playbook-intro,
.planner-city-overview,
.planner-city-summaries,
.planner-date-overview {
  display: grid;
  gap: 14px;
}

.playbook-actions,
.planner-city-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.emotion-profile-strip-playbook,
.emotion-profile-strip-board {
  display: grid;
  gap: 10px;
}

.planner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.planner-grid-preview,
.planner-grid-board {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.planner-date-board + .planner-date-board {
  margin-top: 28px;
}

.planner-bucket {
  padding: 22px;
  display: grid;
  gap: 14px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.78);
}

.planner-bucket-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.planner-bucket-head span {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.05);
  color: var(--accent);
  font-weight: 700;
}

.planner-bucket-head h3 {
  margin: 4px 0 0;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.planner-bucket-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.planner-stack {
  display: grid;
  gap: 14px;
}

.planner-item {
  padding: 18px;
  background: #ffffff;
}

.planner-piece {
  position: relative;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
  box-shadow: 0 10px 24px rgba(20, 20, 20, 0.05);
  overflow: hidden;
}

.planner-piece::before,
.planner-piece::after {
  content: "";
  position: absolute;
  top: 28px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(20, 20, 20, 0.06);
}

.planner-piece::before {
  left: -10px;
}

.planner-piece::after {
  right: -10px;
}

.planner-piece-preview {
  padding: 16px;
}

.planner-piece-top,
.planner-piece-actions,
.planner-piece-traits,
.planner-piece-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.planner-piece-top {
  justify-content: space-between;
  gap: 10px;
}

.planner-piece-step {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.planner-piece-moods {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.planner-piece-title {
  margin: 0;
  font-size: clamp(1.12rem, 1.5vw, 1.42rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.planner-piece-copy {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.62;
}

.planner-piece-meta .meta-pill {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.74rem;
}

.planner-piece-traits span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  color: var(--muted-strong);
  background: rgba(20, 20, 20, 0.03);
  font-size: 0.74rem;
  font-weight: 650;
}

.planner-item-head-piece,
.planner-controls-piece {
  gap: 12px;
}

.planner-select-shell-piece,
.note-label-piece {
  gap: 6px;
}

.planner-select-shell-piece {
  flex: 1 1 150px;
  min-width: 0;
}

.planner-select-shell-piece span,
.note-label-piece span {
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.planner-order-piece {
  margin-left: auto;
}

.planner-order-piece .ghost-button-piece,
.planner-piece-actions .ghost-button-piece {
  min-height: 36px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 0.8rem;
}

.ghost-button-piece {
  background: rgba(20, 20, 20, 0.03);
}

.planner-note-piece {
  min-height: 92px;
  border-radius: 16px;
}

.planner-piece-actions {
  justify-content: space-between;
}

.planner-bucket-preview {
  background: rgba(255, 255, 255, 0.68);
}

.planner-bucket-board {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.72));
}

.planner-empty {
  min-height: 88px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed rgba(20, 20, 20, 0.12);
  border-radius: 18px;
  color: var(--muted);
  text-align: center;
  line-height: 1.55;
}

.planner-order {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.planner-select-shell,
.note-label {
  display: grid;
  gap: 8px;
  width: 100%;
}

.planner-select-shell span,
.note-label span {
  color: var(--muted-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.planner-select,
.planner-note,
.input {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: #ffffff;
  color: var(--text);
}

.planner-select,
.input {
  min-height: 52px;
  padding: 0 16px;
}

.planner-note {
  min-height: 116px;
  padding: 14px 16px;
  resize: vertical;
}

.directory-search {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.input-shell {
  display: flex;
  align-items: center;
  min-width: min(620px, 100%);
  padding: 4px;
  border-radius: 999px;
}

.input {
  border: 0;
  background: transparent;
}

.search-note {
  margin: 16px 0 0;
}

.footer-grid {
  padding: 64px 0 40px;
  border-top: 1px solid var(--line);
}

.footer-title {
  margin: 10px 0 0;
  max-width: 11ch;
  font-size: clamp(1.9rem, 3vw, 3.2rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.footer-small {
  font-size: 0.9rem;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
}

.toast-inner {
  min-width: min(420px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(243, 107, 28, 0.28);
  border-radius: 22px;
  background: rgba(20, 20, 20, 0.92);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(20, 20, 20, 0.25);
}

.toast-inner p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.toast-button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
}

.toast-button.is-muted {
  color: rgba(255, 255, 255, 0.84);
  background: rgba(255, 255, 255, 0.08);
}

.noscript-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.noscript-card {
  width: min(720px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-soft);
}

.noscript-card h1 {
  margin: 12px 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.noscript-card p {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.75;
}

@media (max-width: 1320px) {
  .section-head,
  .split-band,
  .detail-grid,
  .city-hero-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .home-utility-rail,
  .home-mood-dashboard,
  .experience-hero-grid,
  .detail-top-grid {
    grid-template-columns: 1fr;
  }

  .detail-rail {
    position: static;
  }

  .planner-grid {
    grid-template-columns: 1fr;
  }

  .playbook-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1080px) {
  .nav-shell {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    border-radius: 24px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-panel {
    grid-column: 1 / -1;
    display: none;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    padding-top: 14px;
    border-top: 1px solid rgba(20, 20, 20, 0.08);
  }

  .nav-panel.is-open {
    display: grid;
  }

  .site-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .nav-link,
  .nav-cta {
    width: 100%;
    justify-content: space-between;
    border-radius: 18px;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .locale-switch {
    width: 100%;
    justify-content: stretch;
  }

  .locale-switch-button {
    flex: 1 1 0;
    justify-content: center;
  }

  .nav-link {
    padding: 0 18px;
  }

  .flow-grid,
  .home-mood-strip {
    grid-template-columns: 1fr;
  }

  .hero-stats-minimal {
    width: min(460px, 100%);
  }

  .hero-stats-minimal .stat-item {
    padding: 14px 10px 0;
  }

  .utility-link-grid {
    grid-template-columns: 1fr;
  }

  .section-head-results {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .filter-strip-head,
  .filter-group-inline {
    grid-template-columns: 1fr;
  }

  .filter-strip-head {
    display: grid;
    align-items: start;
  }

  .filter-strip-emotion {
    top: 82px;
  }

  .city-name-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-discovery-layout {
    grid-template-columns: 1fr;
  }

  .city-discovery-layout {
    grid-template-columns: 1fr;
  }

  .discovery-deck-stack {
    min-height: 720px;
  }

  .city-row,
  .experience-row,
  .mood-line {
    grid-template-columns: 1fr;
  }

  .city-hero-city-compact {
    padding-top: 14px;
    padding-bottom: 4px;
  }

  .city-hero-compact-shell {
    gap: 7px;
  }

  .route-title-city-compact {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }

  .review-frame-embed {
    min-height: 560px;
    height: 560px;
  }

  .gyg-companion-frame,
  .gyg-companion-shell,
  .gyg-companion-loading {
    min-height: 520px;
    height: 520px;
  }

  .city-actions,
  .experience-actions,
  .decision-stack,
  .detail-action-row {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .experience-link-row,
  .utility-link-grid {
    justify-content: flex-start;
  }
}

@media (max-width: 780px) {
  :root {
    --page-wide: min(calc(100vw - 24px), 1540px);
    --page: min(calc(100vw - 34px), 1280px);
  }

  .site-header {
    padding-top: 8px;
  }

  .nav-shell {
    padding: 10px;
  }

  .home-quiz-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .discovery-choice-chips {
    gap: 8px;
  }

  .city-discovery-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .discovery-deck-stack {
    min-height: 640px;
  }

  .discovery-card.is-next {
    transform: translate(10px, 12px) scale(0.988);
  }

  .discovery-card-body {
    padding: 18px;
  }

  .discovery-card-actions {
    grid-template-columns: 1fr;
  }

  .discovery-card-links {
    align-items: flex-start;
    flex-direction: column;
  }

  .trip-fit-overlay {
    padding: 42px 16px 16px;
  }

  .trip-fit-overlay strong {
    font-size: 1rem;
    max-width: 15ch;
  }

  .trip-fit-overlay-discovery strong {
    font-size: clamp(1.18rem, 6vw, 1.84rem);
    max-width: 11ch;
  }

  .discovery-reason-badge {
    top: 14px;
    left: 14px;
    max-width: min(220px, calc(100% - 84px));
    padding: 10px 12px;
    border-radius: 14px;
  }

  .discovery-reason-badge strong {
    font-size: 0.92rem;
  }

  .brand {
    min-height: 48px;
    padding-right: 10px;
  }

  .hero-title,
  .route-title {
    font-size: clamp(3.45rem, 15vw, 5.4rem);
    line-height: 0.86;
  }

  .hero-title-home {
    font-size: clamp(2.5rem, 8.6vw, 4.7rem);
    line-height: 0.9;
    letter-spacing: -0.085em;
  }

  .home-city-title,
  .section-title-results {
    font-size: clamp(1.4rem, 6.1vw, 2rem);
  }

  .hero-stats-minimal {
    width: 100%;
    margin-top: 28px;
  }

  .hero-stats-minimal .stat-item {
    padding: 12px 6px 0;
  }

  .stat-item strong {
    font-size: clamp(1.2rem, 6vw, 1.5rem);
  }

  .stat-item span {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .hero-stage {
    aspect-ratio: 16 / 10.2;
    margin-top: 30px;
    border-radius: 22px;
  }

  .section-band {
    width: calc(100vw - 24px);
    border-radius: 22px;
    margin-bottom: 10px;
    padding: 44px 0;
  }

  .city-name-card {
    min-height: 112px;
    padding: 16px;
  }

  .city-name-grid {
    grid-template-columns: 1fr;
  }

  .home-mood-strip {
    grid-template-columns: 1fr;
  }

  .route-copy-city-compact {
    max-width: 22rem;
    font-size: 0.96rem;
  }

  .emotion-chip-home,
  .emotion-chip-filter {
    min-height: 42px;
    padding: 0 14px;
  }

  .filter-strip {
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .filter-strip-emotion {
    position: static;
    top: auto;
    z-index: auto;
    background: #ffffff;
    backdrop-filter: none;
    margin-bottom: 14px;
  }

  .filter-strip-head {
    gap: 10px;
  }

  .filter-strip-head-actions {
    width: 100%;
    justify-content: space-between;
  }

  .emotion-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

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

  .overlay-modal {
    padding: 16px;
  }

  .overlay-panel {
    width: 100%;
    max-height: min(88vh, 860px);
    padding: 22px;
    border-radius: 22px;
  }

  .city-filters-panel-head,
  .city-filters-panel-actions {
    flex-direction: column;
  }

  .filter-modal-close,
  .filter-clear-button,
  .filter-done-button {
    width: 100%;
  }

  .gyg-companion-fallback {
    flex-direction: column;
    align-items: flex-start;
  }

  .experience-actions,
  .detail-fact-grid {
    grid-template-columns: 1fr;
  }

  .experience-link-row {
    justify-content: flex-start;
  }

  .directory-search,
  .planner-controls,
  .saved-group-head,
  .planner-item-head,
  .footer-grid {
    flex-direction: column;
  }

  .emotion-profile-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .planner-piece-top,
  .planner-piece-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .input-shell {
    min-width: 100%;
  }

  .toast {
    right: 12px;
    left: 12px;
    bottom: 12px;
  }

  .toast-inner {
    min-width: auto;
  }

  .review-frame-embed {
    min-height: 620px;
    height: 620px;
  }

  .gyg-companion-frame,
  .gyg-companion-shell,
  .gyg-companion-loading {
    min-height: 560px;
    height: 560px;
  }

  .planner-grid-preview,
  .planner-grid-board {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .hero-title-home {
    font-size: clamp(2.2rem, 9.4vw, 3.4rem);
    letter-spacing: -0.07em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav-link,
  .nav-cta,
  .nav-toggle-box span,
  .city-name-card,
  .decision-button,
  .ghost-button,
  .toast-button,
  .city-media img,
  .experience-media img {
    transition: none;
  }
}

.hero-section,
.route-hero,
.city-hero,
.experience-detail-hero {
  padding: clamp(24px, 4vw, 48px) 0 12px;
}

.section-band {
  width: 100%;
  margin: 0;
  padding: clamp(28px, 4vw, 52px) 0;
  border-radius: 0;
}

.section-band::before {
  display: none;
}

.band-white,
.band-soft,
.band-warm {
  background: transparent;
  box-shadow: none;
}

.site-header {
  padding-top: 10px;
}

.nav-shell {
  padding: 8px 12px 8px 8px;
  box-shadow: 0 10px 26px rgba(20, 20, 20, 0.06);
}

.nav-link,
.nav-cta {
  min-height: 44px;
  font-size: 0.84rem;
}

.nav-cta {
  padding: 0 16px;
}

.hero-home-shell-airbnb {
  gap: 18px;
}

.hero-title-airbnb {
  font-size: clamp(3.2rem, 6.6vw, 6rem);
  letter-spacing: -0.085em;
}

.hero-copy-airbnb {
  max-width: 28rem;
  margin-top: 12px;
}

.hero-actions-airbnb {
  margin-top: 0;
}

.home-discovery-bar {
  display: grid;
  gap: 14px;
  margin-top: 10px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  text-align: left;
}

.home-discovery-copy {
  display: grid;
  gap: 4px;
}

.home-discovery-copy strong {
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.home-discovery-copy span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-status-pill {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
  transition: border-color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.home-status-pill strong {
  font-size: 1.22rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.home-status-pill span {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}

.home-status-pill:hover,
.home-status-pill:focus-visible,
.home-shortcut:hover,
.home-shortcut:focus-visible,
.city-browse-card:hover,
.city-browse-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(243, 107, 28, 0.24);
  box-shadow: var(--shadow-soft);
}

.section-head-airbnb {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
  margin-bottom: 14px;
}

.section-title-browse {
  max-width: none;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.section-copy-airbnb {
  margin: 0 0 18px;
  max-width: 34rem;
}

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

.city-browse-card {
  display: grid;
  gap: 12px;
}

.city-browse-media {
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: #ffffff;
}

.city-browse-media img {
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  transition: transform 200ms ease;
}

.city-browse-card:hover .city-browse-media img,
.city-browse-card:focus-visible .city-browse-media img {
  transform: scale(1.03);
}

.city-browse-copy {
  display: grid;
  gap: 6px;
}

.city-browse-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.city-browse-top small,
.city-browse-copy span {
  color: var(--muted);
}

.city-browse-emotion {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(243, 107, 28, 0.08);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
}

.city-browse-copy strong {
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.city-browse-copy span {
  font-size: 0.92rem;
  line-height: 1.52;
}

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

.home-dock-block {
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.home-dock-title {
  margin: 0;
  max-width: 18ch;
  font-size: clamp(1.45rem, 2.4vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.home-shortcut-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.home-shortcut {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #ffffff;
}

.home-shortcut span {
  color: var(--muted);
  font-size: 0.88rem;
}

.home-shortcut strong {
  font-size: 1.2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.emotion-profile-strip-home {
  display: grid;
  gap: 10px;
}

.section-band-home-discovery {
  padding-top: 6px;
}

.home-discovery-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.16fr);
  gap: 24px;
  align-items: start;
}

.home-quiz-panel,
.home-deck-panel {
  display: grid;
  gap: 18px;
}

.home-quiz-panel {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #ffffff;
}

.discovery-choice-row {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.discovery-choice-label {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.discovery-choice-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discovery-choice-chip {
  background: #ffffff;
}

.discovery-deck-shell {
  position: relative;
  display: grid;
  gap: 14px;
}

.discovery-swipe-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 12px 16px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.06);
  color: var(--muted-strong);
  text-align: center;
}

.discovery-swipe-notice strong {
  flex: 1 1 220px;
  font-size: 0.9rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.discovery-swipe-notice-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  background: rgba(20, 20, 20, 0.04);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.discovery-swipe-notice-icon.is-right {
  color: #ffffff;
  border-color: rgba(243, 107, 28, 0.88);
  background: var(--accent);
}

.discovery-swipe-notice-icon.is-left {
  color: var(--text);
}

.discovery-deck-stack {
  position: relative;
  min-height: 780px;
}

.discovery-card {
  --swipe-progress: 0;
  --swipe-progress-left: 0;
  --swipe-progress-right: 0;
  --swipe-tilt: 0deg;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 32px;
  background: #ffffff;
  overflow: hidden;
  box-shadow: 0 20px 56px rgba(20, 20, 20, 0.08);
}

.discovery-card.is-top {
  position: relative;
  z-index: 2;
  touch-action: pan-y;
  cursor: grab;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.discovery-card.is-next {
  transform: translate(18px, 20px) scale(0.982);
  opacity: 0.54;
  pointer-events: none;
  z-index: 1;
}

.discovery-card-media,
.experience-media {
  position: relative;
  display: block;
  overflow: hidden;
}

.discovery-card-media {
  background: #111111;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.discovery-card-media img,
.experience-media img {
  display: block;
  width: 100%;
  height: auto;
}

.discovery-card-media img,
.discovery-reason-badge,
.discovery-swipe-badge {
  pointer-events: none;
  -webkit-user-drag: none;
}

.trip-fit-overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  display: grid;
  align-content: end;
  gap: 6px;
  padding: 54px 18px 18px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.76) 78%);
  color: #ffffff;
  pointer-events: none;
}

.trip-fit-overlay strong {
  display: block;
  max-width: 18ch;
  font-size: clamp(1.02rem, 1.15vw, 1.28rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.trip-fit-overlay-discovery {
  padding: 72px 22px 22px;
}

.trip-fit-overlay-discovery strong {
  max-width: 12ch;
  font-size: clamp(1.4rem, 2.6vw, 2.65rem);
  line-height: 0.94;
  letter-spacing: -0.065em;
}

.discovery-reason-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  display: grid;
  gap: 6px;
  max-width: min(240px, calc(100% - 104px));
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(20, 20, 20, 0.58);
  backdrop-filter: blur(14px) saturate(1.02);
  box-shadow: 0 12px 24px rgba(20, 20, 20, 0.18);
  color: #ffffff;
}

.discovery-reason-badge span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

.discovery-reason-badge strong {
  font-size: clamp(0.98rem, 1.2vw, 1.18rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.discovery-swipe-badge {
  position: absolute;
  top: 50%;
  left: calc(50% - 4px);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(126px, 21vw, 176px);
  min-height: clamp(60px, 9vw, 82px);
  padding: 0 clamp(24px, 2.8vw, 34px);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(20, 20, 20, 0.58);
  backdrop-filter: blur(16px);
  color: #ffffff;
  font-size: clamp(1.08rem, 2vw, 1.52rem);
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  max-width: min(calc(100% - 36px), 240px);
  white-space: nowrap;
  transform: translate(-50%, -50%) scale(0.72) rotate(0deg);
  transform-origin: center;
  text-align: center;
  box-shadow: 0 22px 46px rgba(20, 20, 20, 0.22);
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.discovery-swipe-badge-pass {
  transform:
    translate(-50%, -50%)
    scale(calc(0.72 + (0.56 * var(--swipe-progress-left))));
}

.discovery-swipe-badge-ok {
  background: rgba(243, 107, 28, 0.9);
  border-color: rgba(243, 107, 28, 0.94);
  box-shadow: 0 24px 52px rgba(243, 107, 28, 0.28);
  transform:
    translate(-50%, -50%)
    scale(calc(0.72 + (0.56 * var(--swipe-progress-right))));
}

.discovery-card.is-swipe-pass .discovery-swipe-badge-pass,
.discovery-card.is-swipe-ok .discovery-swipe-badge-ok {
  opacity: 1;
}

.discovery-card-body {
  display: grid;
  gap: 14px;
  padding: 22px;
}

.discovery-card-top,
.discovery-card-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.discovery-card-progress {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.discovery-card-title {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.discovery-card-summary,
.discovery-card-hint {
  margin: 0;
  color: var(--muted-strong);
}

.discovery-card-summary {
  line-height: 1.68;
}

.discovery-card-reasons {
  display: grid;
  gap: 10px;
}

.discovery-card-reasons > span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.discovery-reason-row i {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.03);
  color: var(--muted-strong);
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 650;
}

.discovery-reason-detail {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.discovery-card-meta {
  gap: 8px;
}

.discovery-card-rhythm {
  padding-top: 10px;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.discovery-card-rhythm .rhythm-meter-head {
  font-size: 0.72rem;
}

.discovery-card-rhythm .rhythm-meter-track {
  height: 8px;
}

.discovery-card-rhythm .rhythm-meter-track i {
  width: 14px;
  height: 14px;
}

.discovery-card-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.discovery-action-pass {
  border-color: rgba(20, 20, 20, 0.1);
}

.discovery-action-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
}

.discovery-action-arrow {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  border: 1px solid rgba(20, 20, 20, 0.1);
  background: rgba(20, 20, 20, 0.05);
}

.discovery-action-arrow.is-right {
  color: #ffffff;
  border-color: rgba(243, 107, 28, 0.88);
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(243, 107, 28, 0.18);
}

.discovery-action-arrow.is-left {
  color: var(--text);
}

.discovery-card-hint {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 780px) {
  .discovery-swipe-badge {
    min-width: 124px;
    min-height: 58px;
    max-width: min(calc(100% - 28px), 220px);
    padding: 0 18px;
    font-size: 1.04rem;
    letter-spacing: 0.1em;
  }
}

.discovery-empty {
  min-height: 420px;
}

.route-hero-directory-airbnb {
  padding-bottom: 4px;
}

.directory-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.route-title-directory {
  max-width: none;
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.route-copy-directory {
  margin: 10px 0 0;
  max-width: 30rem;
}

.directory-search-airbnb {
  margin-top: 0;
  justify-content: flex-end;
  align-items: center;
}

.search-note-airbnb {
  margin: 14px 0 0;
}

.city-hero-city-airbnb {
  padding-bottom: 0;
}

.city-header-airbnb {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.city-header-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.city-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
}

.route-title-city-airbnb {
  max-width: none;
  margin: 0;
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: 0.92;
  letter-spacing: -0.075em;
}

.city-header-copy {
  margin: 0;
  max-width: 34rem;
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.5;
}

.city-header-aside {
  display: grid;
  gap: 8px;
  min-width: 180px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #ffffff;
  text-align: left;
}

.city-header-aside span {
  color: var(--muted);
  font-size: 0.84rem;
}

.city-header-aside strong {
  font-size: 1rem;
  line-height: 1.2;
}

.section-band-city-airbnb {
  padding-top: 18px;
}

.city-view-switch {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 0 0 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
}

.city-view-copy {
  display: grid;
  gap: 4px;
}

.city-view-copy strong {
  font-size: 1rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.city-view-copy span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.city-view-controls {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: #ffffff;
}

.city-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted-strong);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.city-view-button.is-active {
  background: #141414;
  color: #ffffff;
}

.city-discovery-section {
  padding-bottom: 22px;
}

.city-discovery-layout {
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.city-discovery-layout-solo {
  display: block;
}

.city-discovery-panel {
  min-width: 0;
}

.city-discovery-panel-solo {
  width: min(100%, 760px);
  margin: 0 auto;
}

.filter-strip-airbnb {
  gap: 12px;
  padding: 12px 0 16px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.96);
}

.filter-strip-airbnb .filter-strip-head {
  align-items: center;
}

.filter-summary {
  font-size: 1.08rem;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.experience-list {
  gap: 18px;
}

.experience-row {
  padding: 16px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 24px;
  background: #ffffff;
  border-bottom: 1px solid rgba(20, 20, 20, 0.08);
  border-top: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 8px 24px rgba(20, 20, 20, 0.03);
}

.experience-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.experience-detail-link {
  color: var(--muted);
}

.experience-actions {
  padding-top: 0;
  border-top: 0;
}

.experience-summary {
  max-width: none;
  -webkit-line-clamp: 3;
}

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

.experience-list-grid .experience-row {
  grid-template-columns: 1fr;
  padding: 0;
  gap: 0;
  overflow: hidden;
}

.experience-list-grid .experience-media {
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 24px 24px 0 0;
  overflow: hidden;
}

.experience-list-grid .experience-media img {
  aspect-ratio: 1.18 / 0.82;
  border-radius: inherit;
}

.experience-list-grid .experience-body {
  padding: 14px 14px 16px;
}

.experience-list-grid .experience-actions {
  grid-template-columns: 1fr;
  gap: 10px;
}

.experience-list-grid .experience-plan-row {
  grid-template-columns: 1fr;
}

.experience-list-grid .experience-link-row {
  justify-content: flex-start;
}

.experience-list-grid .experience-title {
  font-size: clamp(1.02rem, 1vw, 1.24rem);
  line-height: 1.08;
}

.experience-list-grid .inline-meta {
  gap: 8px;
}

.experience-list-grid .meta-pill,
.experience-list-grid .signature-chip {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.76rem;
}

.experience-list-grid .experience-summary {
  -webkit-line-clamp: 2;
  font-size: 0.88rem;
  line-height: 1.52;
}

.experience-list-grid .decision-button,
.experience-list-grid .ghost-button {
  min-height: 40px;
  padding: 0 12px;
  font-size: 0.84rem;
}

.experience-detail-hero {
  padding-top: 18px;
}

.experience-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  gap: 24px;
  align-items: start;
}

.experience-spotlight-panel {
  display: grid;
  gap: 14px;
  padding-top: 4px;
}

.route-title-detail-airbnb {
  max-width: none;
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.065em;
}

.experience-spotlight-summary,
.experience-spotlight-take {
  margin: 0;
  max-width: 40rem;
}

.experience-spotlight-summary {
  color: var(--muted);
  line-height: 1.65;
}

.experience-spotlight-take {
  color: var(--text);
  font-weight: 650;
  line-height: 1.58;
}

.experience-spotlight-actions {
  display: grid;
  gap: 12px;
}

.experience-spotlight-book {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.experience-spotlight-book .button {
  min-width: 220px;
}

.section-band-experience-airbnb {
  padding-top: 22px;
}

.detail-columns-airbnb {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 32px;
}

.detail-main-stack-airbnb,
.detail-side-stack-airbnb {
  gap: 22px;
}

.detail-line-section {
  padding-top: 16px;
}

.detail-main-stack-airbnb .detail-line-section:first-child,
.detail-side-stack-airbnb .detail-line-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-line-head {
  margin-bottom: 10px;
}

.detail-line-title {
  margin: 0;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.detail-editorial-copy {
  max-width: none;
  line-height: 1.72;
}

.detail-side-link {
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.learn-rest-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.learn-rest-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
}

.learn-rest-pill em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.learn-rest-pill strong {
  font-size: 0.84rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.rhythm-summary {
  display: grid;
  gap: 10px;
}

.rhythm-summary-head {
  display: grid;
  gap: 6px;
}

.rhythm-summary-copy {
  margin: 0;
  max-width: 44rem;
  color: var(--muted-strong);
  font-size: 0.94rem;
  line-height: 1.5;
}

.rhythm-meter {
  display: grid;
  gap: 8px;
}

.rhythm-meter-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  color: var(--muted);
  font-size: 0.76rem;
}

.rhythm-meter-head strong {
  justify-self: center;
  color: var(--text);
  font-size: 0.82rem;
  letter-spacing: -0.02em;
}

.rhythm-meter-track {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.12) 0%,
    rgba(20, 20, 20, 0.04) 48%,
    rgba(243, 107, 28, 0.14) 100%
  );
  overflow: hidden;
}

.rhythm-meter-track i {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 8px 20px rgba(243, 107, 28, 0.22);
  transform: translate(-50%, -50%);
}

.rhythm-meter-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.rhythm-summary-compact .rhythm-summary-copy {
  font-size: 0.86rem;
}

.rhythm-summary-home {
  margin-bottom: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.rhythm-summary-city {
  padding-top: 2px;
}

.rhythm-summary-detail {
  padding: 4px 0 2px;
}

.rhythm-summary-profile {
  margin-top: 18px;
  max-width: 34rem;
}

.rhythm-summary-card {
  padding-top: 6px;
  border-top: 1px solid rgba(20, 20, 20, 0.06);
}

.rhythm-summary-card .learn-rest-pill {
  min-height: 30px;
  padding: 0 10px;
}

.rhythm-summary-card .learn-rest-pill em {
  font-size: 0.68rem;
}

.rhythm-summary-card .learn-rest-pill strong {
  font-size: 0.78rem;
}

.rhythm-summary-card .rhythm-meter-head {
  font-size: 0.7rem;
}

.rhythm-summary-card .rhythm-meter-track {
  height: 8px;
}

.rhythm-summary-card .rhythm-meter-track i {
  width: 14px;
  height: 14px;
}

.planner-item .rhythm-summary-planner {
  margin-top: 12px;
}

.rhythm-assistant {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 45;
  display: grid;
  justify-items: end;
  gap: 10px;
  pointer-events: none;
}

.rhythm-assistant > * {
  pointer-events: auto;
}

.rhythm-assistant-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 20, 20, 0.1);
}

.rhythm-assistant-toggle {
  display: grid;
  gap: 8px;
  min-width: 196px;
  max-width: 220px;
  padding: 12px 14px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px) saturate(1.04);
  box-shadow: 0 12px 30px rgba(20, 20, 20, 0.08);
  text-align: left;
}

.rhythm-assistant-toggle-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.rhythm-assistant-toggle-text {
  display: grid;
  gap: 3px;
}

.rhythm-assistant-toggle-copy strong {
  font-size: 0.88rem;
  letter-spacing: -0.02em;
}

.rhythm-assistant-toggle-copy em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.74rem;
}

.rhythm-assistant-toggle-action {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.rhythm-assistant-toggle-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.12),
    rgba(243, 107, 28, 0.14)
  );
  overflow: hidden;
}

.rhythm-assistant-toggle-track i {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 6px 16px rgba(243, 107, 28, 0.24);
  transform: translate(-50%, -50%);
}

.rhythm-assistant-toggle-note {
  display: none;
}

.rhythm-assistant-panel {
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(22px) saturate(1.04);
  box-shadow: 0 20px 52px rgba(20, 20, 20, 0.12);
}

.rhythm-assistant.is-open .rhythm-assistant-toggle {
  display: none;
}

.rhythm-assistant-sheet-handle {
  width: 44px;
  height: 5px;
  margin: -2px auto 2px;
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.12);
}

.rhythm-assistant-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.rhythm-assistant-title {
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}

.rhythm-assistant-copy {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.rhythm-assistant-close {
  min-height: 36px;
  white-space: nowrap;
}

.rhythm-assistant-block {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.rhythm-assistant-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.rhythm-assistant-links {
  display: flex;
  gap: 16px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.footer-grid-minimal {
  align-items: center;
  padding: 28px 0 44px;
}

.footer-grid-minimal .footer-copy {
  margin: 0;
}

@media (max-width: 1120px) {
  .city-browse-grid,
  .experience-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-dock,
  .directory-head,
  .experience-spotlight,
  .detail-columns-airbnb {
    grid-template-columns: 1fr;
  }

  .rhythm-summary-profile {
    max-width: none;
  }

  .city-header-airbnb {
    align-items: start;
  }
}

@media (max-width: 780px) {
  .route-loading-shell {
    min-height: 104px;
    padding-top: 20px;
  }

  .hero-title-airbnb {
    font-size: clamp(2.5rem, 9vw, 4rem);
  }

  .home-status-strip,
  .home-shortcut-row,
  .city-browse-grid,
  .experience-list-grid {
    grid-template-columns: 1fr;
  }

  .home-discovery-layout.city-discovery-layout,
  .city-discovery-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .directory-head,
  .city-header-row,
  .city-header-airbnb,
  .footer-grid-minimal {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .city-view-switch {
    flex-direction: column;
    align-items: stretch;
  }

  .city-view-controls {
    width: 100%;
  }

  .city-view-button {
    flex: 1 1 0;
    justify-content: center;
  }

  .directory-search-airbnb {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .filter-strip-airbnb {
    position: static;
    top: auto;
    backdrop-filter: none;
    background: #ffffff;
  }

  .city-header-aside {
    width: 100%;
  }

  .experience-row {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
    overflow: hidden;
  }

  .experience-media {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .experience-body {
    padding: 16px;
  }

  .experience-card-head,
  .experience-actions {
    grid-template-columns: 1fr;
  }

  .experience-plan-row {
    grid-template-columns: 1fr;
  }

  .plan-schedule-fields {
    grid-template-columns: 1fr;
  }

  .plan-schedule-meta {
    align-items: flex-start;
  }

  .experience-card-head {
    display: grid;
    gap: 10px;
  }

  .experience-spotlight-book .button {
    width: 100%;
    min-width: 0;
  }

  .rhythm-assistant {
    right: 12px;
    bottom: 12px;
    left: auto;
    gap: 0;
    justify-items: end;
    max-width: calc(100vw - 24px);
  }

  .rhythm-assistant-backdrop {
    display: block;
    background: rgba(20, 20, 20, 0.14);
  }

  .rhythm-assistant-toggle {
    width: min(198px, calc(100vw - 24px));
    min-width: 0;
    gap: 6px;
    padding: 11px 13px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px) saturate(1.02);
    box-shadow: 0 10px 28px rgba(20, 20, 20, 0.1);
  }

  .rhythm-assistant-toggle-copy {
    gap: 10px;
  }

  .rhythm-assistant-toggle-copy strong {
    font-size: 0.88rem;
  }

  .rhythm-assistant-toggle-copy em {
    font-size: 0.74rem;
  }

  .rhythm-assistant-toggle-action {
    font-size: 0.72rem;
  }

  .rhythm-assistant.is-open .rhythm-assistant-toggle {
    display: none;
  }

  .rhythm-assistant-panel {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    min-width: 0;
    max-height: min(62vh, 540px);
    padding: 14px 16px calc(18px + env(safe-area-inset-bottom));
    border-radius: 24px 24px 0 0;
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 -16px 44px rgba(20, 20, 20, 0.12);
  }

  .rhythm-assistant-head {
    flex-direction: column;
    gap: 12px;
  }

  .rhythm-assistant-title {
    font-size: 1rem;
  }

  .rhythm-assistant-copy {
    font-size: 0.86rem;
  }

  .rhythm-assistant-close {
    align-self: flex-start;
  }

  .rhythm-assistant-block {
    padding-top: 12px;
  }

  .rhythm-summary-assistant .section-kicker {
    margin-bottom: 6px;
  }

  .rhythm-summary-assistant .rhythm-summary-copy {
    font-size: 0.82rem;
  }

  .rhythm-summary-assistant .learn-rest-pill {
    min-height: 30px;
    padding: 0 10px;
  }

  .rhythm-summary-assistant .learn-rest-pill em {
    font-size: 0.68rem;
  }

  .rhythm-summary-assistant .learn-rest-pill strong {
    font-size: 0.78rem;
  }

  .rhythm-assistant-links {
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
  }
}

/* Rhythm assistant v2: one compact floating pattern for desktop and mobile */
.rhythm-assistant {
  position: fixed;
  right: 16px;
  left: auto;
  bottom: 16px;
  z-index: 56;
  display: grid;
  justify-items: end;
  pointer-events: none;
}

.rhythm-assistant-pos-top {
  top: 16px;
  bottom: auto;
}

.rhythm-assistant-pos-bottom {
  top: auto;
  bottom: 16px;
}

.rhythm-assistant > * {
  pointer-events: auto;
}

.rhythm-assistant-bubble,
.rhythm-assistant-panel {
  will-change: transform, opacity;
  transition:
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    box-shadow 220ms ease,
    border-radius 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.rhythm-assistant-bubble {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px) saturate(1.04);
  box-shadow: 0 12px 26px rgba(20, 20, 20, 0.11);
}

.rhythm-assistant-bubble-core {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(243, 107, 28, 0.14);
}

.rhythm-assistant-bubble-mark {
  transform: scale(0.9);
}

.rhythm-assistant-panel {
  position: relative;
  inset: auto;
  left: auto;
  right: auto;
  top: auto;
  bottom: auto;
  width: min(236px, calc(100vw - 24px));
  display: grid;
  gap: 8px;
  padding: 10px;
  min-width: 0;
  max-height: none;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 20px;
  overflow: hidden;
  overscroll-behavior: auto;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.5));
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow:
    0 18px 42px rgba(20, 20, 20, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.rhythm-assistant-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.14) 44%, rgba(255, 255, 255, 0.06));
  pointer-events: none;
  z-index: 0;
}

.rhythm-assistant-panel > * {
  position: relative;
  z-index: 1;
}

.rhythm-assistant-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.rhythm-assistant-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.rhythm-assistant-position-switch {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: rgba(20, 20, 20, 0.035);
}

.rhythm-assistant-position-button {
  min-width: 30px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.rhythm-assistant-position-button.is-active {
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 4px 10px rgba(20, 20, 20, 0.08);
}

.rhythm-assistant-top-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rhythm-assistant-top-brand strong {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.rhythm-assistant-panel-mark {
  transform: scale(0.74);
}

.rhythm-assistant-minify {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1;
  box-shadow: none;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.rhythm-assistant-meter-shell {
  display: grid;
  gap: 6px;
}

.rhythm-assistant-meter-track {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(20, 20, 20, 0.12) 0%,
    rgba(20, 20, 20, 0.05) 48%,
    rgba(243, 107, 28, 0.16) 100%
  );
  overflow: hidden;
}

.rhythm-assistant-meter-track i {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 6px 14px rgba(243, 107, 28, 0.22);
  transform: translate(-50%, -50%);
}

.rhythm-assistant-meter-labels {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1;
}

.rhythm-assistant-meter-labels strong {
  justify-self: center;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.rhythm-assistant-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.rhythm-assistant-stat {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(20, 20, 20, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.84);
}

.rhythm-assistant-stat em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.64rem;
  line-height: 1;
}

.rhythm-assistant-stat strong {
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rhythm-assistant-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.rhythm-assistant-link {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid rgba(20, 20, 20, 0.1);
  border-radius: 11px;
  background: #ffffff;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.rhythm-assistant-link:hover,
.rhythm-assistant-link:focus-visible,
.rhythm-assistant-bubble:hover,
.rhythm-assistant-bubble:focus-visible {
  border-color: rgba(20, 20, 20, 0.16);
  box-shadow: 0 14px 30px rgba(20, 20, 20, 0.12);
}

.rhythm-assistant-position-button:hover,
.rhythm-assistant-position-button:focus-visible,
.rhythm-assistant-minify:hover,
.rhythm-assistant-minify:focus-visible {
  color: var(--text);
  background: rgba(20, 20, 20, 0.05);
}

.rhythm-assistant.is-open .rhythm-assistant-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rhythm-assistant.is-open .rhythm-assistant-bubble {
  opacity: 0;
  transform: translateY(10px) scale(0.72) rotate(-10deg);
  pointer-events: none;
}

.rhythm-assistant.is-collapsed .rhythm-assistant-panel {
  opacity: 0;
  transform: translateY(12px) scale(0.88);
  pointer-events: none;
}

.rhythm-assistant.is-collapsed .rhythm-assistant-bubble {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: rhythm-float 4.6s ease-in-out infinite;
}

@keyframes rhythm-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.02); }
}

@media (max-width: 780px) {
  .rhythm-assistant {
    right: 12px;
    left: auto;
  }

  .rhythm-assistant-pos-top {
    top: 12px;
  }

  .rhythm-assistant-pos-bottom {
    bottom: 12px;
  }

  .rhythm-assistant-panel {
    position: relative;
    inset: auto;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: min(228px, calc(100vw - 24px));
    max-height: none;
    overflow: visible;
  }

  .rhythm-assistant-position-button {
    min-width: 34px;
    height: 30px;
  }

  .rhythm-assistant-minify {
    width: 30px;
    height: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .route-loading-bar span {
    width: 100%;
    animation: none;
  }
}
