/* QGuide V3 visual system and responsive application shell */
:root {
  --v3-bg: #fbf6ed;
  --v3-paper: #fffdf8;
  --v3-ink: #073858;
  --v3-text: #3e403c;
  --v3-muted: #77736b;
  --v3-line: #ddd1c0;
  --v3-line-strong: #c8b79f;
  --v3-accent: #d24d16;
  --v3-accent-dark: #b93d0e;
  --v3-accent-soft: #fff0e5;
  --v3-olive: #596b2d;
  --v3-olive-soft: #eef1e4;
  --v3-gold: #d09b3d;
  --v3-shadow: 0 14px 36px rgba(60, 45, 25, .09);
  --v3-shadow-sm: 0 6px 18px rgba(60, 45, 25, .075);
  --v3-radius: 20px;
  --v3-radius-sm: 14px;
  --v3-content: 1440px;
}

html { background: var(--v3-bg); }
body {
  background:
    radial-gradient(circle at 14% 2%, rgba(234, 209, 164, .18), transparent 24rem),
    radial-gradient(circle at 88% 8%, rgba(138, 151, 98, .10), transparent 28rem),
    linear-gradient(rgba(255,255,255,.36), rgba(255,255,255,.36)),
    var(--v3-bg);
  color: var(--v3-text);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .18;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(96,72,36,.12) 0 .7px, transparent .9px),
    radial-gradient(circle at 80% 70%, rgba(96,72,36,.1) 0 .6px, transparent .8px);
  background-size: 18px 18px, 23px 23px;
}
body.has-overlay { overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
.icon-flip { transform: rotate(180deg); }

.v3-site-header {
  min-height: 78px;
  background: rgba(255, 252, 246, .94);
  border-bottom: 1px solid rgba(196, 180, 155, .65);
  box-shadow: 0 3px 16px rgba(69, 50, 25, .025);
}
.v3-header-inner {
  width: min(calc(100% - 40px), var(--v3-content));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  align-items: center;
  gap: 22px;
}
.v3-header-standard { grid-template-columns: minmax(360px, auto) minmax(420px, 1fr) auto; }
.v3-header-start { display: flex; align-items: center; gap: 18px; min-width: 0; }
.v3-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--v3-ink);
  white-space: nowrap;
}
.brand-mark {
  width: 24px;
  height: 30px;
  position: relative;
  display: inline-block;
  border-radius: 60% 60% 60% 0;
  background: linear-gradient(145deg, #ef6b24, #bd390e);
  transform: rotate(-45deg);
  box-shadow: 0 4px 9px rgba(177, 54, 13, .18);
}
.brand-mark::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid white;
  border-radius: 50%;
  left: 7px;
  top: 7px;
}
.brand-text { display: inline-flex; align-items: baseline; gap: 9px; }
.brand-text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
  letter-spacing: .02em;
}
.brand-text em {
  font-family: var(--font-serif);
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: .12em;
}
.v3-destination-button {
  min-width: 220px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 5px 16px;
  border: 1px solid var(--v3-line-strong);
  border-radius: 999px;
  background: rgba(255,255,255,.52);
  cursor: pointer;
  transition: .18s ease;
}
.v3-destination-button:hover { border-color: var(--v3-accent); background: white; }
.v3-destination-copy { min-width: 0; text-align: left; display: grid; line-height: 1.2; }
.v3-destination-copy small { color: var(--v3-muted); font-size: 10px; letter-spacing: .06em; }
.v3-destination-copy strong { overflow: hidden; text-overflow: ellipsis; color: var(--v3-ink); font-family: var(--font-serif); font-size: 15px; letter-spacing: .06em; white-space: nowrap; }
.v3-destination-button > .icon { width: 17px; }

.v3-primary-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 44px);
  min-width: 0;
}
.v3-primary-nav a,
.v3-primary-nav button {
  position: relative;
  border: 0;
  padding: 28px 0 24px;
  color: #323633;
  background: transparent;
  font-family: var(--font-serif);
  font-size: 17px;
  letter-spacing: .08em;
  white-space: nowrap;
  cursor: pointer;
}
.v3-primary-nav a::after,
.v3-primary-nav button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 15px;
  height: 2px;
  border-radius: 10px;
  background: var(--v3-accent);
  transform: scaleX(0);
  transition: .18s ease;
}
.v3-primary-nav a:hover,
.v3-primary-nav a[aria-current="page"],
.v3-primary-nav button:hover { color: var(--v3-accent); }
.v3-primary-nav a:hover::after,
.v3-primary-nav a[aria-current="page"]::after,
.v3-primary-nav button:hover::after { transform: scaleX(1); }

.v3-header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.v3-header-icon,
.v3-back-button,
.v3-icon-quiet {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: .18s ease;
}
.v3-header-icon:hover,
.v3-back-button:hover,
.v3-icon-quiet:hover { background: var(--v3-accent-soft); color: var(--v3-accent); }
.v3-header-icon.is-active,
.v3-icon-quiet.is-active { color: var(--v3-accent); background: var(--v3-accent-soft); }
.v3-header-icon.has-dot { position: relative; }
.v3-header-icon.has-dot::after {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  top: 7px;
  right: 8px;
  border: 2px solid var(--v3-paper);
  border-radius: 50%;
  background: var(--v3-accent);
}
.v3-profile-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 11px 4px 5px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: rgba(255,255,255,.6);
  color: var(--v3-ink);
  cursor: pointer;
}
.v3-profile-button img { width: 31px; height: 31px; border-radius: 50%; object-fit: cover; }
.v3-profile-button span { font-family: var(--font-serif); letter-spacing: .05em; }

.v3-header-detail,
.v3-header-editor,
.v3-header-ai,
.v3-header-live { grid-template-columns: auto 1fr auto; }
.v3-brand-centered { justify-self: center; }
.v3-header-detail .v3-header-actions { justify-self: end; }
.v3-header-editor { position: relative; }
.v3-editor-exit,
.v3-save-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid var(--v3-line);
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  color: var(--v3-ink);
  cursor: pointer;
}
.v3-editor-exit { justify-self: start; }
.v3-save-button { justify-self: end; color: var(--v3-olive); border-color: rgba(89,107,45,.45); }
.v3-editor-title { display: none; }
.v3-header-ai { grid-template-columns: auto minmax(240px, auto) minmax(220px, 1fr) auto; }
.v3-brand-ai { justify-self: start; }
.v3-header-ai .v3-destination-button { justify-self: center; }
.v3-live-title { justify-self: center; display: flex; align-items: center; gap: 9px; color: var(--v3-ink); }
.v3-live-title small { color: var(--v3-muted); }

#main-content { min-height: calc(100vh - 78px); }
#main-content:focus { outline: none; }
.v3-page {
  width: min(calc(100% - 36px), var(--v3-content));
  margin: 0 auto;
  padding: 22px 0 40px;
  animation: v3-page-in .22s ease-out;
}
@keyframes v3-page-in { from { transform: translateY(4px); } to { transform: none; } }
.v3-page h1,
.v3-page h2,
.v3-page h3 { color: var(--v3-ink); font-family: var(--font-serif); }
.v3-page h1 { letter-spacing: .06em; }
.v3-page h2 { letter-spacing: .05em; }
.v3-page p { margin-top: 0; }
.v3-eyebrow { color: var(--v3-accent); font-size: 12px; font-weight: 700; letter-spacing: .12em; }

.v3-page-hero {
  min-height: 150px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px 140px;
  align-items: center;
  overflow: hidden;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(207,190,165,.58);
}
.v3-page-hero-copy { position: relative; z-index: 2; }
.v3-page-hero h1 { margin: 0; font-size: clamp(32px, 3vw, 46px); line-height: 1.22; }
.v3-page-hero p { margin: 8px 0 0; font-family: var(--font-serif); font-size: 18px; letter-spacing: .09em; }
.v3-page-hero-campus { width: 430px; max-height: 145px; object-fit: contain; opacity: .72; justify-self: end; }
.v3-page-hero-mascot { width: 124px; height: 116px; object-fit: contain; filter: drop-shadow(0 7px 10px rgba(67,45,17,.08)); }
.v3-page-hero.is-compact { min-height: 110px; }

.v3-section-head,
.v3-panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.v3-section-head h2,
.v3-panel-title-row h2 { margin: 0; font-size: 27px; }
.v3-section-head button,
.v3-panel-title-row > button:not(.button) {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 0;
  border: 0;
  background: transparent;
  color: var(--v3-accent);
  cursor: pointer;
}
.v3-section-head button .icon { width: 16px; }

.button {
  min-height: 42px;
  border-color: var(--v3-line-strong);
  border-radius: 12px;
  font-family: var(--font-serif);
  letter-spacing: .04em;
  box-shadow: none;
}
.button.button-primary {
  border-color: var(--v3-accent);
  background: linear-gradient(135deg, #dd571e, #c93d0d);
  color: white;
  box-shadow: 0 6px 16px rgba(194, 60, 11, .16);
}
.button.button-primary:hover { background: linear-gradient(135deg, #e5662a, #b93408); }
.button.button-ghost-danger { color: #9d2f22; border-color: rgba(157,47,34,.3); background: rgba(255,244,242,.7); }
.button .icon { width: 18px; }

.v3-meta-row { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--v3-muted); font-size: 13px; }
.v3-meta-row span { display: inline-flex; align-items: center; gap: 5px; }
.v3-meta-row .icon { width: 15px; color: var(--v3-olive); }

/* Explore */
.v3-explore-page { max-width: var(--v3-content); }
.v3-explore-hero {
  min-height: 410px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(460px, .92fr);
  align-items: center;
  gap: 48px;
  padding: 44px 46px;
  border: 1px solid var(--v3-line);
  border-radius: 28px;
  background: linear-gradient(120deg, rgba(255,253,248,.96), rgba(248,239,222,.78));
  box-shadow: var(--v3-shadow-sm);
}
.v3-explore-hero h1 { max-width: 860px; margin: 10px 0 14px; font-size: clamp(40px, 4vw, 64px); line-height: 1.18; }
.v3-explore-hero p { max-width: 820px; font-size: 18px; color: var(--v3-muted); }
.v3-explore-search {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--v3-line-strong);
  border-radius: 999px;
  background: white;
}
.v3-explore-search input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 16px; }
.v3-explore-search .button { border-radius: 999px; min-width: 140px; }
.v3-quick-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.v3-quick-tags button { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 1px solid var(--v3-line); border-radius: 999px; background: rgba(255,255,255,.54); cursor: pointer; }
.v3-explore-art { position: relative; min-height: 330px; display: grid; place-items: center; }
.v3-explore-art > img:first-child { width: 100%; opacity: .75; }
.v3-explore-art > img:nth-child(2) { width: 120px; position: absolute; right: 3%; bottom: 0; filter: drop-shadow(0 12px 16px rgba(61,43,20,.12)); }
.v3-platform-count { position: absolute; left: 6%; bottom: 3%; display: grid; padding: 18px 22px; border: 1px solid var(--v3-line); border-radius: 18px; background: rgba(255,253,248,.92); box-shadow: var(--v3-shadow-sm); }
.v3-platform-count strong { color: var(--v3-accent); font-family: var(--font-serif); font-size: 36px; line-height: 1; }
.v3-platform-count span { color: var(--v3-ink); font-weight: 700; }
.v3-platform-count small { color: var(--v3-muted); }
.v3-active-trip-banner { margin-top: 20px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--v3-line); border-radius: 20px; background: var(--v3-paper); box-shadow: var(--v3-shadow-sm); }
.v3-active-trip-banner > div { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 9px; }
.v3-active-trip-banner h2 { grid-column: 2; margin: 0; }
.v3-active-trip-banner p { grid-column: 2; margin: 0; color: var(--v3-muted); }
.v3-explore-section { margin-top: 34px; }
.v3-destination-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 16px; }
.v3-destination-card { display: grid; grid-template-columns: 155px 1fr; gap: 14px; padding: 12px; border: 1px solid var(--v3-line); border-radius: 18px; background: rgba(255,253,248,.82); box-shadow: var(--v3-shadow-sm); }
.v3-destination-media { padding: 0; border: 0; border-radius: 13px; overflow: hidden; cursor: pointer; }
.v3-destination-media img { width: 100%; height: 100%; min-height: 132px; object-fit: cover; }
.v3-destination-card h3 { margin: 2px 0 5px; font-size: 20px; }
.v3-destination-card p { margin: 0 0 8px; color: var(--v3-muted); font-size: 13px; line-height: 1.5; }
.v3-destination-card > .button { grid-column: 1 / -1; }
.v3-city-rail { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.v3-city-rail button { display: grid; grid-template-columns: 1fr auto; gap: 3px; padding: 17px 18px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); text-align: left; cursor: pointer; }
.v3-city-rail strong { color: var(--v3-ink); font-size: 18px; }
.v3-city-rail span { color: var(--v3-muted); }
.v3-city-rail .icon { grid-row: 1 / 3; grid-column: 2; align-self: center; color: var(--v3-accent); }
.v3-type-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 12px; }
.v3-type-grid button { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 3px 12px; padding: 18px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); text-align: left; cursor: pointer; }
.v3-type-grid button > span { grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive-soft); color: var(--v3-olive); }
.v3-type-grid strong { color: var(--v3-ink); font-size: 17px; }
.v3-type-grid small { color: var(--v3-muted); }
.v3-favorite-destinations { display: flex; gap: 12px; margin-top: 14px; overflow-x: auto; padding-bottom: 5px; }
.v3-favorite-destinations button { min-width: 280px; display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 12px; padding: 9px; border: 1px solid var(--v3-line); border-radius: 15px; background: var(--v3-paper); text-align: left; cursor: pointer; }
.v3-favorite-destinations img { width: 58px; height: 58px; object-fit: cover; border-radius: 11px; }
.v3-favorite-destinations span { display: grid; }

/* Destination home */
.v3-home-search-block { max-width: 1160px; margin: 8px auto 0; }
.v3-home-search { width: 100%; height: 58px; display: flex; align-items: center; gap: 14px; padding: 0 20px; border: 1px solid var(--v3-line-strong); border-radius: 999px; background: rgba(255,255,255,.7); color: var(--v3-muted); font-size: 17px; text-align: left; cursor: pointer; }
.v3-home-search .icon { width: 25px; color: #1d2427; }
.v3-home-categories { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 16px; }
.v3-home-categories button { min-height: 76px; display: flex; align-items: center; justify-content: center; gap: 11px; border: 1px solid var(--v3-line); border-radius: 17px; background: rgba(255,253,248,.72); color: var(--v3-ink); font-family: var(--font-serif); font-size: 18px; cursor: pointer; }
.v3-home-categories .icon { width: 30px; color: var(--v3-olive); }
.v3-home-section { margin-top: 34px; }
.v3-featured-route-card { display: grid; grid-template-columns: 58% 1fr; min-height: 300px; margin-top: 14px; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 20px; background: var(--v3-paper); box-shadow: var(--v3-shadow); }
.v3-featured-route-media { padding: 0; border: 0; overflow: hidden; cursor: pointer; }
.v3-featured-route-media img { width: 100%; height: 100%; object-fit: cover; }
.v3-featured-route-copy { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 26px 30px; }
.v3-featured-route-copy small { color: var(--v3-accent); }
.v3-featured-route-copy h2 { margin: 7px 0 14px; font-size: 32px; }
.v3-featured-route-copy p { display: flex; align-items: center; gap: 7px; margin: 3px 0; }
.v3-featured-route-copy .button { min-width: 210px; margin-top: 18px; }
.v3-carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 13px; }
.v3-carousel-dots span { width: 8px; height: 8px; border-radius: 50%; background: #d9cebd; }
.v3-carousel-dots .is-active { background: var(--v3-accent); }
.v3-theme-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 14px; }
.v3-theme-card { position: relative; overflow: hidden; padding: 0 0 13px; border: 1px solid var(--v3-line); border-radius: 17px; background: var(--v3-paper); cursor: pointer; }
.v3-theme-card > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.v3-theme-card > span { width: 48px; height: 48px; display: grid; place-items: center; margin: -24px auto 5px; position: relative; border: 1px solid var(--v3-line); border-radius: 50%; background: var(--v3-paper); color: var(--v3-olive); }
.v3-theme-card strong { display: block; color: var(--v3-ink); font-family: var(--font-serif); font-size: 18px; }
.v3-theme-card.is-active { border-color: var(--v3-accent); box-shadow: 0 0 0 2px rgba(210,77,22,.08); }
.v3-nearby-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; margin-top: 14px; }

.v3-place-card { min-width: 0; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 17px; background: var(--v3-paper); box-shadow: var(--v3-shadow-sm); }
.v3-card-media { width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.v3-card-media img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.v3-card-body { padding: 15px; }
.v3-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.v3-card-title-row h3 { margin: 0; font-size: 21px; }
.v3-card-title-row p { margin: 5px 0 10px; color: var(--v3-muted); font-size: 13px; }
.v3-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.v3-card-actions .button { flex: 1; }
.v3-place-card.is-compact .v3-card-body { padding: 12px; }
.v3-place-card.is-compact .v3-card-title-row h3 { font-size: 18px; }
.v3-place-card.is-compact .v3-card-title-row p { display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* Route */
.v3-route-overview { display: grid; grid-template-columns: minmax(0,1fr) minmax(420px,.88fr); gap: 18px; margin-top: 8px; }
.v3-condition-card,
.v3-route-map-card,
.v3-route-list-section,
.v3-weather-card,
.v3-my-panel,
.v3-editor-panel,
.v3-ai-draft-preview,
.v3-guide-author-card,
.v3-guide-summary,
.v3-route-stops-detail,
.v3-guide-info,
.v3-builder-preview-panel {
  border: 1px solid var(--v3-line);
  border-radius: var(--v3-radius);
  background: rgba(255,253,248,.84);
  box-shadow: var(--v3-shadow-sm);
}
.v3-condition-card { padding: 24px; }
.v3-condition-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin: 18px 0; }
.v3-condition-grid span { min-height: 48px; display: flex; align-items: center; gap: 9px; padding: 10px 13px; border: 1px solid var(--v3-line); border-radius: 12px; background: rgba(255,255,255,.5); }
.v3-condition-grid span:first-child { grid-column: 1 / -1; }
.v3-condition-grid .icon { color: var(--v3-olive); }
.v3-condition-grid strong { color: var(--v3-text); font-weight: 500; }
.v3-route-map-card { overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.v3-route-map-card > button:first-child { padding: 0; border: 0; min-height: 245px; background: none; cursor: pointer; }
.v3-route-map-card img { width: 100%; height: 100%; object-fit: cover; }
.v3-route-map-card > button:last-child { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-top: 1px solid var(--v3-line); background: var(--v3-paper); color: var(--v3-accent); font-family: var(--font-serif); font-size: 17px; cursor: pointer; }
.v3-route-list-section { margin-top: 22px; padding: 24px; }
.v3-route-list-section .v3-section-head small { color: var(--v3-muted); font-family: var(--font-sans); font-size: 12px; font-weight: 400; }
.v3-route-list { display: grid; gap: 8px; margin-top: 14px; }
.v3-route-row { position: relative; min-height: 86px; display: grid; grid-template-columns: 25px 46px 150px minmax(160px,1fr) auto; align-items: center; gap: 12px; padding: 9px 12px; border: 1px solid var(--v3-line); border-radius: 15px; background: var(--v3-paper); transition: .18s ease; }
.v3-route-row.is-dragging { opacity: .45; }
.v3-route-row.is-drag-over { transform: translateY(3px); border-color: var(--v3-accent); }
.v3-drag-handle { border: 0; background: transparent; color: #b9a98f; cursor: grab; font-size: 20px; }
.v3-route-number { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive); color: white; font-family: Georgia, serif; font-size: 20px; }
.v3-route-row > img { width: 150px; height: 68px; object-fit: cover; border-radius: 10px; }
.v3-route-row-copy h3 { margin: 0; font-size: 22px; }
.v3-route-row-copy p { margin: 2px 0 0; color: var(--v3-muted); }
.v3-route-row-actions { display: flex; align-items: center; gap: 5px; }
.v3-route-row-actions button { min-width: 36px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 0; border-radius: 10px; background: transparent; color: var(--v3-muted); cursor: pointer; }
.v3-route-row-actions button:hover { background: var(--v3-accent-soft); color: var(--v3-accent); }
.v3-route-mobile-more { display: none !important; }
.v3-route-row-actions span { font-size: 12px; }
.v3-route-summary { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 12px; border: 1px solid var(--v3-line); border-radius: 14px; overflow: hidden; }
.v3-route-summary span { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--v3-ink); }
.v3-route-summary span + span { border-left: 1px solid var(--v3-line); }
.v3-route-summary .icon { color: var(--v3-olive); }
.v3-weather-card { margin-top: 14px; padding: 18px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.v3-weather-card > div { display: flex; align-items: center; gap: 12px; }
.v3-weather-card > div:first-child > span { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: #e7eff3; color: var(--v3-ink); }
.v3-weather-card p { display: grid; margin: 0; }
.v3-weather-card small { color: var(--v3-muted); }
.v3-route-sticky-actions { position: static; z-index: 20; max-width: 780px; display: grid; grid-template-columns: 1fr 190px; gap: 12px; margin: 18px auto 0; padding: 11px; border: 1px solid rgba(197,178,152,.78); border-radius: 22px; background: rgba(255,253,248,.92); box-shadow: 0 14px 32px rgba(66,46,23,.15); backdrop-filter: blur(14px); }
.v3-route-sticky-actions .button { min-height: 56px; font-size: 19px; }

/* Guides */
.v3-filter-pills { display: flex; gap: 10px; overflow-x: auto; padding: 7px 0 4px; scrollbar-width: none; }
.v3-filter-pills::-webkit-scrollbar { display: none; }
.v3-filter-pills button { min-width: 82px; height: 42px; padding: 0 18px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-paper); cursor: pointer; white-space: nowrap; }
.v3-filter-pills button.is-active { color: white; border-color: var(--v3-accent); background: var(--v3-accent); }
.v3-filter-pills-small button { min-width: auto; height: 36px; }
.v3-featured-guide-section { margin-top: 12px; }
.v3-guide-card { min-width: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 18px; background: var(--v3-paper); box-shadow: var(--v3-shadow-sm); }
.v3-guide-card.is-featured { grid-template-columns: minmax(420px, 1.05fr) minmax(440px,.95fr); grid-template-rows: none; }
.v3-guide-cover { padding: 0; border: 0; overflow: hidden; background: none; cursor: pointer; }
.v3-guide-cover img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.v3-guide-card-body { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; }
.v3-guide-card-body h3 { margin: 8px 0; font-size: 24px; }
.v3-guide-card.is-featured h3 { font-size: 34px; }
.v3-guide-card-body h3 button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.v3-guide-card-body > p { color: var(--v3-muted); }
.v3-guide-author { display: flex; align-items: center; gap: 8px; color: var(--v3-ink); }
.v3-guide-author img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.v3-guide-disclosure { display: inline-flex; align-items: center; width: fit-content; margin-top: 9px; padding: 4px 8px; border: 1px solid rgba(89,107,45,.42); border-radius: 999px; background: var(--v3-olive-soft); color: var(--v3-olive); font-size: 12px; font-weight: 700; line-height: 1.35; letter-spacing: .04em; }
.v3-guide-card .v3-card-actions { width: 100%; margin-top: auto; }
.v3-guide-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-top: 14px; }
.v3-info-note,
.v3-source-note { margin-top: 12px; display: flex; align-items: center; gap: 7px; padding: 10px 13px; border: 1px solid var(--v3-line); border-radius: 12px; background: rgba(248,243,232,.7); color: var(--v3-muted); font-size: 13px; }

/* My */
.v3-my-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; margin-top: 10px; }
.v3-my-stats > span { min-height: 100px; display: grid; grid-template-columns: 54px 1fr; grid-template-rows: auto auto; align-items: center; gap: 0 14px; padding: 16px 18px; border: 1px solid var(--v3-line); border-radius: 17px; background: rgba(255,253,248,.82); box-shadow: var(--v3-shadow-sm); }
.v3-my-stats b { grid-row: 1 / 3; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive-soft); color: var(--v3-olive); }
.v3-my-stats span:nth-child(2) b { background: var(--v3-accent-soft); color: var(--v3-accent); }
.v3-my-stats small { align-self: end; color: var(--v3-muted); }
.v3-my-stats strong { align-self: start; color: var(--v3-ink); font-family: Georgia, serif; font-size: 32px; line-height: 1; }
.v3-my-tabs { display: flex; gap: 8px; margin: 20px 0 12px; padding: 6px; overflow-x: auto; border: 1px solid var(--v3-line); border-radius: 999px; background: rgba(255,253,248,.72); }
.v3-my-tabs a { flex: 1; min-width: 110px; padding: 10px 14px; border-radius: 999px; text-align: center; white-space: nowrap; }
.v3-my-tabs a[aria-selected="true"] { color: white; background: var(--v3-accent); }
.v3-my-panel { padding: 24px; }
.v3-panel-title-row > div h2 { margin: 0; }
.v3-panel-title-row > div p { margin: 4px 0 0; color: var(--v3-muted); }
.v3-footprint-progress { display: grid; grid-template-columns: repeat(4,1fr); margin: 24px 0; }
.v3-footprint-progress > div { position: relative; display: grid; justify-items: center; gap: 7px; text-align: center; }
.v3-footprint-progress > div::before { content: ""; position: absolute; left: -50%; right: 50%; top: 18px; height: 2px; background: var(--v3-line); }
.v3-footprint-progress > div:first-child::before { display: none; }
.v3-footprint-progress span { position: relative; z-index: 1; width: 38px; height: 38px; display: grid; place-items: center; border: 3px solid var(--v3-line); border-radius: 50%; background: var(--v3-paper); color: var(--v3-muted); }
.v3-footprint-progress .is-complete span { border-color: var(--v3-olive); background: var(--v3-olive); color: white; }
.v3-footprint-progress .is-complete::before { background: var(--v3-olive); }
.v3-footprint-progress .is-current span { border-color: var(--v3-accent); color: var(--v3-accent); }
.v3-footprint-progress strong { color: var(--v3-text); font-size: 14px; }
.v3-footprint-timeline { display: grid; }
.v3-footprint-timeline article { min-height: 78px; display: grid; grid-template-columns: 70px 46px minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid var(--v3-line); }
.v3-footprint-timeline time { color: var(--v3-ink); font-family: Georgia, serif; }
.v3-timeline-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive); color: white; }
.v3-footprint-timeline article:nth-child(2) .v3-timeline-icon { background: var(--v3-accent); }
.v3-footprint-timeline h3 { margin: 0; font-size: 20px; }
.v3-footprint-timeline p { margin: 2px 0 0; color: var(--v3-muted); }
.v3-footprint-timeline article > div:last-child { display: flex; gap: 7px; }
.v3-orange-cta { min-height: 130px; display: grid; grid-template-columns: 130px minmax(0,1fr) auto; align-items: center; gap: 18px; margin-top: 16px; padding: 16px 28px; border-radius: 18px; color: white; background: linear-gradient(110deg, var(--ql-action-top, #2a6a70), var(--ql-action, #174e5b) 100%); box-shadow: var(--v3-shadow); }
.v3-orange-cta img { width: 118px; height: 100px; object-fit: contain; }
.v3-orange-cta h2 { margin: 0; color: white; font-size: 27px; }
.v3-orange-cta p { margin: 4px 0 0; }
.v3-orange-cta button { min-height: 54px; padding: 0 26px; border: 0; border-radius: 999px; background: white; color: var(--v3-accent); font-family: var(--font-serif); font-size: 18px; cursor: pointer; }
.v3-trip-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 13px; margin-top: 13px; }
.v3-trip-card { display: grid; grid-template-columns: 140px 1fr auto; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--v3-line); border-radius: 15px; background: var(--v3-paper); }
.v3-trip-card img { width: 140px; height: 92px; object-fit: cover; border-radius: 10px; }
.v3-trip-card h3 { margin: 0 0 7px; }
.v3-trip-card p { display: flex; align-items: center; gap: 5px; margin: 2px 0; color: var(--v3-muted); }
.v3-trip-list { display: grid; gap: 10px; margin-top: 16px; }
.v3-trip-list article { display: grid; grid-template-columns: 120px 1fr auto auto; align-items: center; gap: 14px; padding: 11px; border: 1px solid var(--v3-line); border-radius: 15px; background: var(--v3-paper); }
.v3-trip-list img { width: 120px; height: 82px; object-fit: cover; border-radius: 10px; }
.v3-trip-list h3 { margin: 0; }
.v3-trip-list p { margin: 3px 0; color: var(--v3-muted); }
.v3-my-guide-grid,
.v3-guide-image-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 16px; }
.v3-my-guide-grid article,
.v3-guide-image-grid article { min-height: 220px; display: grid; grid-template-columns: 180px 1fr; grid-template-rows: 1fr auto; gap: 12px; padding: 11px; border: 1px solid var(--v3-line); border-radius: 17px; background: var(--v3-paper); }
.v3-my-guide-grid article > img,
.v3-guide-image-grid article > button:first-child img { width: 180px; height: 100%; min-height: 150px; object-fit: cover; border-radius: 12px; }
.v3-guide-image-grid article > button:first-child { grid-row: 1 / 3; padding: 0; border: 0; background: none; cursor: pointer; }
.v3-my-guide-grid article > img { grid-row: 1 / 3; }
.v3-my-guide-grid h3,
.v3-guide-image-grid h3 { margin: 5px 0; font-size: 22px; }
.v3-my-guide-grid p,
.v3-guide-image-grid p { display: flex; align-items: center; gap: 5px; margin: 6px 0; color: var(--v3-muted); }
.v3-my-guide-grid article > div:last-child,
.v3-guide-image-grid article > div:last-child { display: flex; justify-content: space-between; align-items: center; }
.v3-guide-image-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 15px; }
.v3-guide-image-stats span { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 68px; border: 1px solid var(--v3-line); border-radius: 14px; background: var(--v3-paper); }
.v3-guide-image-stats strong { color: var(--v3-ink); font-size: 28px; }
.v3-inline-search { height: 48px; display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 0 14px; border: 1px solid var(--v3-line); border-radius: 999px; background: white; }
.v3-inline-search input { flex: 1; border: 0; outline: 0; background: transparent; }
.v3-how-it-works { margin-top: 20px; padding: 20px; border: 1px solid var(--v3-line); border-radius: 17px; background: rgba(248,243,232,.7); }
.v3-how-it-works h3 { margin: 0 0 14px; }
.v3-how-it-works > div { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 12px; align-items: center; }
.v3-how-it-works span { display: grid; grid-template-columns: auto 42px 1fr; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; }
.v3-how-it-works b { grid-row: 1 / 3; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive); color: white; }
.v3-how-it-works .icon { grid-row: 1 / 3; color: var(--v3-olive); }
.v3-how-it-works small { color: var(--v3-muted); }

.v3-status { display: inline-flex; align-items: center; width: fit-content; padding: 4px 9px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.v3-status-success { color: var(--v3-olive); background: var(--v3-olive-soft); }
.v3-status-warning { color: #b36c0d; background: #fff3df; }
.v3-status-neutral { color: var(--v3-muted); background: #f1ede5; }
.v3-status-accent { color: var(--v3-accent); background: var(--v3-accent-soft); }
.v3-empty { display: grid; justify-items: center; gap: 7px; padding: 42px 18px; border: 1px dashed var(--v3-line-strong); border-radius: 17px; text-align: center; color: var(--v3-muted); }
.v3-empty strong { color: var(--v3-ink); font-size: 20px; }

/* Editor and co-create */
.v3-editor-page { max-width: 1280px; }
.v3-editor-intro { position: relative; min-height: 140px; display: grid; grid-template-columns: 150px 1fr 360px; align-items: center; gap: 18px; overflow: hidden; }
.v3-editor-intro > img:first-child { width: 130px; height: 120px; object-fit: contain; }
.v3-editor-intro > img:last-child { width: 380px; opacity: .72; }
.v3-editor-intro h1 { margin: 0; font-size: 44px; }
.v3-editor-intro p { font-family: var(--font-serif); font-size: 18px; }
.v3-stepper { display: grid; grid-template-columns: repeat(4,1fr); margin: 4px 0 18px; padding: 11px 16px; border: 1px solid var(--v3-line); border-radius: 999px; background: rgba(255,253,248,.82); list-style: none; }
.v3-stepper[data-count="5"] { grid-template-columns: repeat(5,1fr); }
.v3-stepper li { position: relative; }
.v3-stepper li::after { content: ""; position: absolute; left: 60%; right: -40%; top: 18px; border-top: 1px dashed #bcae98; }
.v3-stepper li:last-child::after { display: none; }
.v3-stepper button { width: 100%; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: transparent; cursor: pointer; }
.v3-stepper button:disabled { color: inherit; cursor: default; }
.v3-stepper span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--v3-line-strong); border-radius: 50%; background: var(--v3-paper); color: var(--v3-text); }
.v3-stepper .is-current span { border-color: var(--v3-accent); background: var(--v3-accent); color: white; }
.v3-stepper .is-current strong { color: var(--v3-accent); }
.v3-stepper .is-complete span { border-color: var(--v3-olive); background: var(--v3-olive); color: white; }
.v3-editor-panel { padding: 24px; }
.v3-cocreate-route-summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding: 16px 20px; border: 1px solid var(--v3-line); border-radius: 17px; background: var(--v3-paper); }
.v3-cocreate-route-summary > div { display: flex; align-items: center; gap: 12px; }
.v3-cocreate-route-summary > div > span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive-soft); color: var(--v3-olive); }
.v3-cocreate-route-summary p { display: grid; margin: 0; }
.v3-cocreate-route-summary small { color: var(--v3-muted); }
.v3-cocreate-route-summary button { border: 0; background: transparent; color: var(--v3-accent); cursor: pointer; }
.v3-step-number { width: 38px; height: 38px; display: inline-grid; place-items: center; margin-right: 8px; border-radius: 50%; background: var(--v3-accent); color: white; }
.v3-photo-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 18px 0 14px; }
.v3-photo-grid figure { position: relative; margin: 0; }
.v3-photo-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.v3-photo-grid figure button { position: absolute; top: -7px; right: -7px; width: 26px; height: 26px; display: grid; place-items: center; border: 2px solid white; border-radius: 50%; background: var(--v3-olive); color: white; cursor: pointer; }
.v3-add-photo { display: grid; place-items: center; align-content: center; gap: 6px; min-height: 130px; border: 1px dashed var(--v3-muted); border-radius: 12px; background: rgba(255,255,255,.38); color: var(--v3-olive); cursor: pointer; }
.v3-input-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--v3-line); }
.v3-input-tabs button { min-height: 46px; position: relative; border: 0; background: transparent; cursor: pointer; }
.v3-input-tabs .is-active { color: var(--v3-accent); }
.v3-input-tabs .is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--v3-accent); }
.v3-audio-recorder { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 16px; padding: 18px; border: 1px solid var(--v3-line); border-top: 0; border-radius: 0 0 15px 15px; background: rgba(255,255,255,.42); }
.v3-audio-recorder > button { width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--v3-accent); color: white; cursor: pointer; }
.v3-audio-recorder > button.is-recording { animation: pulse-record 1s infinite; }
@keyframes pulse-record { 50% { box-shadow: 0 0 0 10px rgba(210,77,22,.13); } }
.v3-waveform { height: 30px; display: flex; align-items: center; gap: 4px; }
.v3-waveform i { width: 3px; height: 12px; border-radius: 3px; background: var(--v3-ink); }
.v3-waveform i:nth-child(3n) { height: 24px; }
.v3-waveform i:nth-child(4n) { height: 18px; }
.v3-audio-recorder p { margin: 2px 0 0; color: var(--v3-muted); }
.v3-note-prompts { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin: 13px 0; }
.v3-note-prompts button { min-height: 38px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-paper); cursor: pointer; }
.v3-note-field,
.v3-draft-editor label,
.v3-builder-edit-layout label { display: grid; gap: 7px; margin-top: 13px; color: var(--v3-ink); font-weight: 700; }
.v3-note-field textarea,
.v3-draft-editor textarea,
.v3-builder-edit-layout textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--v3-line); border-radius: 12px; background: white; resize: vertical; }
.v3-ai-draft-preview { margin-top: 14px; padding: 22px; }
.v3-ai-draft-preview h3 { margin: 12px 0; font-size: 25px; }
.v3-ai-draft-preview dl { display: grid; gap: 8px; margin: 0; }
.v3-ai-draft-preview dl > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--v3-line); }
.v3-ai-draft-preview dt { display: flex; align-items: center; gap: 7px; color: var(--v3-olive); font-weight: 700; }
.v3-ai-draft-preview dd { margin: 0; }
.v3-editor-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.v3-editor-actions .button { min-width: 190px; min-height: 50px; }
.v3-trip-choice-list,
.v3-content-choice-list { display: grid; gap: 11px; margin-top: 16px; }
.v3-trip-choice-list label,
.v3-content-choice-list label { display: grid; grid-template-columns: auto 130px 1fr; align-items: center; gap: 14px; padding: 10px; border: 1px solid var(--v3-line); border-radius: 15px; background: var(--v3-paper); cursor: pointer; }
.v3-trip-choice-list label.is-selected,
.v3-content-choice-list label.is-selected { border-color: var(--v3-accent); box-shadow: 0 0 0 2px rgba(210,77,22,.08); }
.v3-trip-choice-list img,
.v3-content-choice-list img { width: 130px; height: 82px; object-fit: cover; border-radius: 10px; }
.v3-trip-choice-list span,
.v3-content-choice-list span { display: grid; gap: 5px; }
.v3-trip-choice-list strong,
.v3-content-choice-list strong { color: var(--v3-ink); font-family: var(--font-serif); font-size: 20px; }
.v3-location-search { display: flex; gap: 10px; margin-top: 13px; }
.v3-location-search input { flex: 1; padding: 12px 14px; border: 1px solid var(--v3-line); border-radius: 12px; background: white; }
.v3-location-results { display: grid; gap: 10px; margin-top: 14px; }
.v3-location-result { display: grid; gap: 4px; padding: 12px 16px; border: 1px solid var(--v3-line); border-radius: 12px; background: var(--v3-paper); text-align: left; cursor: pointer; }
.v3-location-result:hover { border-color: var(--v3-accent); }
.v3-location-result strong { color: var(--v3-ink); font-family: var(--font-serif); font-size: 17px; }
.v3-location-result small { color: var(--v3-muted); }
.v3-location-confirmed { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--v3-accent); border-radius: 14px; background: var(--v3-paper); }
.v3-location-confirmed svg { color: var(--v3-accent); }
.v3-location-confirmed strong { color: var(--v3-ink); font-family: var(--font-serif); font-size: 18px; }
.v3-location-confirmed small { color: var(--v3-muted); }
.v3-draft-stops { display: grid; gap: 8px; margin-top: 15px; }
.v3-draft-stops article { display: grid; grid-template-columns: 38px 100px 1fr auto; align-items: center; gap: 12px; padding: 8px; border: 1px solid var(--v3-line); border-radius: 13px; background: var(--v3-paper); }
.v3-draft-stops article > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive); color: white; }
.v3-draft-stops img { width: 100px; height: 70px; object-fit: cover; border-radius: 9px; }
.v3-draft-stops h3 { margin: 0; }
.v3-draft-stops p { margin: 3px 0 0; color: var(--v3-muted); }
.v3-draft-stops button { border: 0; background: transparent; color: var(--v3-accent); cursor: pointer; }
.v3-publish-card { display: grid; grid-template-columns: 38% 1fr; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); }
.v3-publish-card > img { width: 100%; height: 100%; min-height: 240px; object-fit: cover; }
.v3-publish-card > div { padding: 24px; }
.v3-publish-card h2 { margin: 8px 0; font-size: 32px; }
.v3-visibility { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 16px; padding: 0; border: 0; }
.v3-visibility legend { margin-bottom: 8px; color: var(--v3-ink); font-weight: 700; }
.v3-visibility label { display: grid; grid-template-columns: auto 1fr; gap: 10px; padding: 15px; border: 1px solid var(--v3-line); border-radius: 14px; background: var(--v3-paper); cursor: pointer; }
.v3-visibility span { display: grid; }
.v3-visibility small { color: var(--v3-muted); }
.v3-publish-success { min-height: 440px; display: grid; place-items: center; align-content: center; gap: 12px; padding: 50px 20px; border: 1px solid var(--v3-line); border-radius: 22px; background: var(--v3-paper); text-align: center; box-shadow: var(--v3-shadow); }
.v3-publish-success > span { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-olive); color: white; }
.v3-publish-success > span .icon { width: 46px; height: 46px; }
.v3-publish-success h2 { margin: 0; font-size: 38px; }
.v3-publish-success > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Guide detail */
.v3-guide-detail-page { max-width: 1160px; }
.v3-guide-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 0; border: 1px solid var(--v3-line); border-radius: 18px 18px 0 0; overflow: hidden; background: var(--v3-paper); }
.v3-guide-tabs a { min-height: 50px; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--font-serif); font-size: 17px; }
.v3-guide-tabs a.is-active { color: white; background: var(--v3-accent); }
.v3-guide-tabs span { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.v3-guide-detail-hero { position: relative; height: 430px; overflow: hidden; border-radius: 0 0 18px 18px; }
.v3-guide-detail-hero > img { width: 100%; height: 100%; object-fit: cover; }
.v3-guide-detail-hero::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(11,24,24,.84)); }
.v3-guide-detail-overlay { position: absolute; z-index: 2; left: 30px; right: 30px; bottom: 26px; color: white; }
.v3-guide-detail-overlay span { display: inline-flex; align-items: center; gap: 6px; }
.v3-guide-detail-overlay h1 { margin: 7px 0; color: white; font-size: 48px; }
.v3-guide-detail-overlay p { margin: 0; font-size: 18px; }
.v3-guide-author-card { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 16px; margin: -4px 16px 0; padding: 18px; position: relative; z-index: 3; }
.v3-guide-author-card > div { display: flex; align-items: center; gap: 10px; }
.v3-guide-author-card img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.v3-guide-author-card span { display: grid; }
.v3-guide-author-card small { color: var(--v3-muted); }
.v3-guide-author-card .v3-guide-disclosure { margin-top: 0; }
.v3-guide-simulation-notice { display: grid; gap: 5px; margin: 14px 16px 0; padding: 13px 16px; border: 1px solid rgba(89,107,45,.42); border-radius: 14px; background: var(--v3-olive-soft); color: #44531f; }
.v3-guide-simulation-notice strong { color: var(--v3-ink); font-family: var(--font-serif); font-size: 16px; letter-spacing: .03em; }
.v3-guide-simulation-notice span { font-size: 13px; line-height: 1.65; }
.v3-guide-facts { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 16px 0; }
.v3-guide-facts > span { min-height: 54px; display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--v3-line); border-radius: 13px; background: var(--v3-paper); }
.v3-guide-facts .icon { color: var(--v3-olive); }
.v3-guide-summary { padding: 22px; }
.v3-guide-summary h2 { margin: 0 0 10px; }
.v3-guide-summary h2 small,
.v3-guide-info h2 small { padding: 4px 8px; border: 1px solid var(--v3-line); border-radius: 999px; color: var(--v3-muted); font-family: var(--font-sans); font-size: 11px; font-weight: 400; }
.v3-route-stops-detail { margin-top: 14px; padding: 22px; }
.v3-route-stops-detail > h2 { margin-top: 0; }
.v3-route-stops-detail article { display: grid; grid-template-columns: 42px 190px minmax(0,1fr) auto; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid var(--v3-line); }
.v3-route-stops-detail article > span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--v3-accent); color: white; font-family: Georgia, serif; }
.v3-route-stops-detail img { width: 190px; height: 92px; object-fit: cover; border-radius: 11px; }
.v3-route-stops-detail h3 { margin: 0; font-size: 23px; }
.v3-route-stops-detail p { margin: 4px 0 0; color: var(--v3-muted); }
.v3-guide-info { margin-top: 14px; padding: 22px; }
.v3-guide-info > div { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.v3-guide-info > div span { min-height: 88px; display: grid; place-items: center; align-content: center; gap: 4px; border: 1px solid var(--v3-line); border-radius: 13px; background: white; text-align: center; }
.v3-guide-info .icon { color: var(--v3-olive); }
.v3-guide-info p { display: flex; align-items: center; gap: 6px; margin: 12px 0 0; color: var(--v3-muted); }
.v3-guide-image-cta { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: center; margin-top: 14px; padding: 12px; border: 1px solid var(--v3-accent); border-radius: 17px; background: var(--v3-paper); }
.v3-guide-image-cta img { width: 220px; height: 150px; object-fit: cover; object-position: top; border-radius: 11px; }
.v3-guide-image-cta h2 { margin: 0; }
.v3-guide-image-view { display: grid; grid-template-columns: minmax(380px, 600px) auto; justify-content: center; align-items: start; gap: 24px; padding: 24px; border: 1px solid var(--v3-line); border-top: 0; border-radius: 0 0 18px 18px; background: var(--v3-paper); }
.v3-guide-image-view > img { width: 100%; max-height: 1120px; object-fit: contain; border-radius: 15px; box-shadow: var(--v3-shadow); }
.v3-guide-image-view > div { display: grid; gap: 10px; position: sticky; top: 110px; }

/* Guide image builder */
.v3-builder-page { max-width: 1360px; }
.v3-builder-layout { display: grid; grid-template-columns: minmax(540px,.95fr) minmax(430px,1.05fr); gap: 18px; align-items: start; }
.v3-builder-controls { display: grid; gap: 12px; }
.v3-builder-controls .v3-editor-panel h2 { margin: 0 0 13px; font-size: 22px; }
.v3-builder-content-summary > div:last-child { display: grid; grid-template-columns: 130px 1fr; gap: 13px; }
.v3-builder-content-summary img { width: 130px; height: 105px; object-fit: cover; border-radius: 11px; }
.v3-builder-content-summary h3 { margin: 0 0 5px; }
.v3-presentation-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 9px; }
.v3-presentation-grid button { min-height: 130px; display: grid; place-items: center; align-content: center; gap: 5px; padding: 12px; border: 1px solid var(--v3-line); border-radius: 14px; background: var(--v3-paper); text-align: center; cursor: pointer; }
.v3-presentation-grid button.is-active { border-color: var(--v3-accent); box-shadow: 0 0 0 2px rgba(210,77,22,.08); }
.v3-presentation-grid .icon { width: 38px; height: 38px; color: var(--v3-olive); }
.v3-presentation-grid small { color: var(--v3-muted); }
.v3-template-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.v3-template-grid button { position: relative; display: grid; gap: 6px; padding: 7px; border: 1px solid transparent; border-radius: 13px; background: transparent; cursor: pointer; }
.v3-template-grid button.is-active { border-color: var(--v3-accent); color: var(--v3-accent); }
.v3-template-thumb { display: block; aspect-ratio: 3/4; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 9px; background: #eee; }
.v3-template-thumb img { width: 100%; height: 100%; object-fit: cover; }
.v3-template-thumb-collage img { object-position: 50% 30%; filter: saturate(.82) contrast(1.04); }
.v3-template-thumb-minimal img { filter: grayscale(.35) brightness(1.1); transform: scale(.84); }
.v3-size-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.v3-size-grid button { min-height: 70px; display: grid; place-items: center; align-content: center; border: 1px solid var(--v3-line); border-radius: 12px; background: var(--v3-paper); cursor: pointer; }
.v3-size-grid button.is-active { border-color: var(--v3-accent); color: var(--v3-accent); }
.v3-size-grid small { color: var(--v3-muted); }
.v3-toggle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.v3-toggle-list label { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 10px; cursor: pointer; }
.v3-toggle-list input { position: absolute; opacity: 0; pointer-events: none; }
.v3-toggle-list i { width: 36px; height: 21px; position: relative; border-radius: 999px; background: #aaa69e; transition: .18s ease; }
.v3-toggle-list i::after { content: ""; width: 17px; height: 17px; position: absolute; left: 2px; top: 2px; border-radius: 50%; background: white; transition: .18s ease; }
.v3-toggle-list input:checked + i { background: var(--v3-olive); }
.v3-toggle-list input:checked + i::after { transform: translateX(15px); }
.v3-builder-preview-panel { position: sticky; top: 96px; padding: 20px; }
.v3-builder-preview-panel > h2 { margin: 0 0 12px; }
.v3-builder-preview-panel > div:last-child { display: flex; gap: 9px; margin-top: 12px; }
.v3-builder-preview { max-width: 520px; margin: 0 auto; position: relative; overflow: hidden; border: 10px solid white; border-radius: 20px; background: #efe4ca; box-shadow: 0 12px 34px rgba(60,45,25,.18); }
.v3-builder-preview img { width: 100%; height: 100%; object-fit: cover; }
.v3-builder-preview.size-9x16 { aspect-ratio: 9/16; }
.v3-builder-preview.size-1x1 { aspect-ratio: 1/1; }
.v3-builder-preview.size-16x9 { aspect-ratio: 16/9; max-width: 700px; }
.v3-builder-preview.size-A4 { aspect-ratio: 210/297; }
.v3-builder-preview.template-collage img { object-position: 50% 25%; filter: saturate(.95) contrast(1.04); }
.v3-builder-preview.template-minimal img { filter: grayscale(.28) brightness(1.09); transform: scale(.92); }
.v3-builder-preview-overlay { display: none; position: absolute; inset: 0; padding: 7%; background: linear-gradient(rgba(255,250,240,.85), transparent 34%, transparent 70%, rgba(255,250,240,.87)); }
.v3-builder-preview.template-minimal .v3-builder-preview-overlay { display: block; }
.v3-builder-preview-overlay h2 { margin: 0; font-size: clamp(20px, 3vw, 38px); }
.v3-builder-primary-action { display: grid; justify-items: center; gap: 8px; margin-top: 18px; }
.v3-builder-primary-action .button { min-width: 520px; min-height: 58px; font-size: 21px; }
.v3-builder-primary-action > button:last-child { border: 0; background: transparent; color: var(--v3-accent); cursor: pointer; text-decoration: underline; }
.v3-builder-edit-layout { display: grid; grid-template-columns: minmax(560px,.95fr) minmax(430px,1.05fr); gap: 18px; align-items: start; }
.v3-builder-bottom-actions { max-width: 900px; margin-inline: auto; }
.v3-output-layout { display: grid; grid-template-columns: minmax(420px,620px) minmax(330px,440px); justify-content: center; align-items: center; gap: 36px; padding: 28px; border: 1px solid var(--v3-line); border-radius: 22px; background: var(--v3-paper); box-shadow: var(--v3-shadow); }
.v3-output-poster .v3-builder-preview { max-width: 560px; }
.v3-output-actions { display: grid; gap: 10px; }
.v3-output-actions h1 { margin: 0; font-size: 36px; }
.v3-output-success { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 999px; color: var(--v3-olive); background: var(--v3-olive-soft); }
.v3-guide-image-detail-page { max-width: 1040px; }
.v3-guide-image-detail-head { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; margin-bottom: 15px; }
.v3-guide-image-detail-head h1 { margin: 7px 0 3px; }
.v3-guide-image-detail-body { display: grid; grid-template-columns: minmax(420px,620px) 220px; justify-content: center; align-items: start; gap: 20px; }
.v3-guide-image-detail-body > img { width: 100%; max-height: 1100px; object-fit: contain; border-radius: 18px; box-shadow: var(--v3-shadow); }
.v3-guide-image-detail-body > div { position: sticky; top: 100px; display: grid; gap: 8px; }

/* AI guide */
.v3-ai-page { max-width: 1100px; padding-bottom: 120px; }
.v3-ai-trip-bar { display: grid; grid-template-columns: 1fr 1fr auto; align-items: center; gap: 20px; padding: 13px 18px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); }
.v3-ai-trip-bar > div { display: flex; align-items: center; gap: 10px; }
.v3-ai-trip-bar span { display: grid; }
.v3-ai-trip-bar small { color: var(--v3-muted); }
.v3-ai-trip-bar i { width: 180px; height: 5px; display: block; overflow: hidden; border-radius: 999px; background: var(--v3-line); }
.v3-ai-trip-bar i b { height: 100%; display: block; border-radius: inherit; background: var(--v3-olive); }
.v3-ai-welcome { min-height: 170px; display: grid; grid-template-columns: 150px 1fr 280px; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 20px; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 17px; background: linear-gradient(120deg, rgba(255,253,248,.96), rgba(246,237,219,.7)); }
.v3-ai-welcome > img:first-child { width: 132px; }
.v3-ai-welcome > img:last-child { width: 290px; opacity: .7; }
.v3-ai-welcome h1 { margin: 0; font-size: 26px; line-height: 1.45; }
.v3-ai-welcome p { display: flex; align-items: center; gap: 6px; margin: 10px 0 0; color: var(--v3-muted); }
.v3-chat-thread { display: grid; gap: 16px; margin-top: 18px; }
.v3-chat-message { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 9px; align-items: end; }
.v3-chat-message.is-user { grid-template-columns: minmax(0,1fr) 44px; }
.v3-chat-message.is-user article { grid-column: 1; grid-row: 1; justify-self: end; max-width: 72%; background: #f5ead6; }
.v3-chat-message.is-user .v3-chat-user { grid-column: 2; }
.v3-chat-message > img { width: 44px; height: 44px; object-fit: contain; }
.v3-chat-user { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--v3-line); border-radius: 50%; background: var(--v3-paper); }
.v3-chat-message article { max-width: 82%; padding: 13px 16px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); box-shadow: var(--v3-shadow-sm); }
.v3-chat-message article p { margin: 0; font-size: 16px; }
.v3-chat-message article > small { display: block; margin-top: 7px; color: var(--v3-muted); font-size: 11px; }
.v3-chat-route-suggestion { display: grid; grid-template-columns: 1fr 190px; gap: 10px; margin-top: 13px; padding-top: 12px; border-top: 1px solid var(--v3-line); }
.v3-chat-route-suggestion h3 { grid-column: 1 / -1; margin: 0; }
.v3-chat-route-suggestion img { width: 100%; height: 120px; object-fit: cover; border-radius: 10px; }
.v3-chat-route-suggestion > div { display: grid; gap: 7px; }
.v3-chat-route-suggestion > div span { display: flex; align-items: center; gap: 6px; }
.v3-ai-nearby { margin-top: 16px; padding: 18px; border: 1px solid var(--v3-line); border-radius: 17px; background: var(--v3-paper); }
.v3-ai-nearby > div:last-child { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 10px; }
.v3-ai-nearby > div:last-child button { display: grid; grid-template-columns: 100px 1fr; grid-template-rows: auto auto; align-items: center; gap: 2px 10px; padding: 7px; border: 1px solid var(--v3-line); border-radius: 12px; background: white; text-align: left; cursor: pointer; }
.v3-ai-nearby img { grid-row: 1 / 3; width: 100px; height: 72px; object-fit: cover; border-radius: 9px; }
.v3-ai-nearby strong { color: var(--v3-ink); }
.v3-ai-nearby small { color: var(--v3-muted); }
.v3-ai-quick-prompts { display: flex; gap: 8px; overflow-x: auto; margin-top: 14px; }
.v3-ai-quick-prompts button { min-height: 38px; padding: 0 14px; border: 1px solid var(--v3-line); border-radius: 999px; background: var(--v3-paper); white-space: nowrap; cursor: pointer; }
.v3-chat-composer { position: sticky; bottom: 18px; z-index: 20; display: grid; grid-template-columns: 1fr auto auto auto auto; align-items: center; gap: 7px; margin-top: 15px; padding: 9px 10px 9px 18px; border: 1px solid var(--v3-line-strong); border-radius: 999px; background: rgba(255,253,248,.95); box-shadow: 0 12px 30px rgba(55,40,20,.14); backdrop-filter: blur(14px); }
.v3-chat-composer input { min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15px; }
.v3-chat-composer button { width: 42px; height: 42px; display: grid; place-items: center; border: 0; border-radius: 50%; background: transparent; cursor: pointer; }
.v3-chat-composer .v3-send-button { background: var(--v3-accent); color: white; }

/* Live trip */
.v3-live-page { max-width: 900px; padding-bottom: 80px; }
.v3-live-progress { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 18px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); }
.v3-live-progress > div { display: grid; }
.v3-live-progress small { color: var(--v3-muted); }
.v3-live-progress > span { color: var(--v3-accent); font-size: 22px; }
.v3-live-progress i { grid-column: 1 / -1; height: 7px; overflow: hidden; border-radius: 999px; background: var(--v3-line); }
.v3-live-progress i b { height: 100%; display: block; background: linear-gradient(90deg, var(--v3-olive), var(--v3-accent)); }
.v3-live-current-card { position: relative; display: grid; grid-template-columns: 48% 1fr; overflow: hidden; margin-top: 14px; border: 1px solid var(--v3-line); border-radius: 20px; background: var(--v3-paper); box-shadow: var(--v3-shadow); }
.v3-live-label { position: absolute; z-index: 2; left: 15px; top: 15px; padding: 7px 11px; border-radius: 999px; background: var(--v3-accent); color: white; }
.v3-live-current-card > img { width: 100%; height: 330px; object-fit: cover; }
.v3-live-current-card > div { align-self: center; padding: 26px; }
.v3-live-current-card h1 { margin: 0 0 12px; font-size: 40px; }
.v3-live-map { position: relative; margin-top: 14px; overflow: hidden; border: 1px solid var(--v3-line); border-radius: 17px; }
.v3-live-map img { width: 100%; height: 290px; object-fit: cover; }
.v3-live-map .button { position: absolute; right: 14px; bottom: 14px; }
.v3-live-primary-actions { display: grid; grid-template-columns: 1fr 180px; gap: 10px; margin-top: 13px; }
.v3-live-primary-actions .button { min-height: 56px; font-size: 18px; }
.v3-live-next { display: grid; grid-template-columns: auto 100px 1fr auto; align-items: center; gap: 12px; margin-top: 13px; padding: 12px; border: 1px solid var(--v3-line); border-radius: 16px; background: var(--v3-paper); }
.v3-live-next > span { color: var(--v3-accent); font-weight: 700; }
.v3-live-next img { width: 100px; height: 72px; object-fit: cover; border-radius: 9px; }
.v3-live-next h2 { margin: 0; }
.v3-live-next p { margin: 2px 0 0; color: var(--v3-muted); }
.v3-live-next > button { border: 0; background: transparent; color: var(--v3-accent); cursor: pointer; }
.v3-live-next.is-complete { grid-template-columns: 1fr auto; }
.v3-live-quick-actions { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-top: 13px; }
.v3-live-quick-actions button { min-height: 76px; display: grid; place-items: center; align-content: center; gap: 5px; border: 1px solid var(--v3-line); border-radius: 14px; background: var(--v3-paper); cursor: pointer; }
.v3-live-quick-actions .icon { color: var(--v3-olive); }
.v3-live-ai-button { width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 13px; border: 0; border-radius: 999px; background: var(--v3-accent); color: white; font-size: 18px; cursor: pointer; }

/* Modal, sheet, menus */
.modal-backdrop,
.sheet-backdrop { background: rgba(23,28,25,.42); backdrop-filter: blur(4px); opacity: 0; transition: opacity .16s ease; }
.modal-backdrop.is-open,
.sheet-backdrop.is-open { opacity: 1; }
.v3-modal { width: min(92vw, 660px); max-height: min(88vh, 860px); overflow: auto; padding: 28px; border: 1px solid rgba(210,193,168,.85); border-radius: 22px; background: var(--v3-paper); }
.modal-backdrop[data-size="large"] .v3-modal { width: min(94vw, 980px); }
.v3-modal h2 { color: var(--v3-ink); font-family: var(--font-serif); font-size: 28px; }
.v3-side-sheet { width: min(92vw, 590px); padding: 30px 24px 24px; background: var(--v3-paper); }
.v3-sheet-head h2 { margin: 5px 0; color: var(--v3-ink); font-family: var(--font-serif); font-size: 31px; }
.v3-sheet-head p { color: var(--v3-muted); }
.v3-sheet-search { min-height: 52px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; margin-top: 15px; padding: 5px 6px 5px 14px; border: 1px solid var(--v3-line-strong); border-radius: 999px; background: white; }
.v3-sheet-search input { min-width: 0; border: 0; outline: 0; background: transparent; }
.v3-filter-row { display: flex; gap: 7px; overflow-x: auto; padding: 13px 0 5px; }
.v3-filter-row button { min-height: 34px; padding: 0 12px; border: 1px solid var(--v3-line); border-radius: 999px; background: transparent; white-space: nowrap; cursor: pointer; }
.v3-filter-row button.is-active { color: white; border-color: var(--v3-accent); background: var(--v3-accent); }
.v3-destination-sheet-list { display: grid; gap: 10px; margin-top: 12px; }
.v3-destination-sheet-card { display: grid; grid-template-columns: 100px 1fr auto; grid-template-rows: 1fr auto; gap: 8px 12px; padding: 10px; border: 1px solid var(--v3-line); border-radius: 16px; background: white; }
.v3-destination-sheet-card > img { grid-row: 1 / 3; width: 100px; height: 100%; min-height: 120px; object-fit: cover; border-radius: 11px; }
.v3-destination-sheet-card h3 { margin: 3px 0; color: var(--v3-ink); font-family: var(--font-serif); }
.v3-destination-sheet-card p { margin: 0; color: var(--v3-muted); font-size: 12px; }
.v3-destination-sheet-card .v3-icon-quiet { align-self: start; }
.v3-destination-sheet-card .button { grid-column: 2 / 4; }
.v3-segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 12px; padding: 4px; border: 1px solid var(--v3-line); border-radius: 999px; background: #f5f0e7; }
.v3-segmented button { min-height: 36px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; }
.v3-segmented button.is-active { background: white; color: var(--v3-accent); box-shadow: var(--v3-shadow-sm); }
.v3-search-suggestions { margin-top: 18px; }
.v3-search-suggestions h3 { color: var(--v3-ink); font-family: var(--font-serif); }
.v3-search-suggestions button { margin: 0 7px 7px 0; padding: 8px 12px; border: 1px solid var(--v3-line); border-radius: 999px; background: white; cursor: pointer; }
.v3-search-results { display: grid; gap: 18px; margin-top: 16px; }
.v3-search-results section h3 { margin: 0 0 7px; color: var(--v3-ink); font-family: var(--font-serif); }
.v3-search-result { width: 100%; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 10px; padding: 7px; border: 0; border-top: 1px solid var(--v3-line); background: transparent; text-align: left; cursor: pointer; }
.v3-search-result img { width: 60px; height: 48px; object-fit: cover; border-radius: 8px; }
.v3-search-result span { display: grid; }
.v3-search-result strong { color: var(--v3-ink); }
.v3-search-result small { color: var(--v3-muted); }
.v3-search-real-data-cta { margin-top: 4px; }
.v3-search-real-data-cta button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid rgba(89,107,45,.35); border-radius: 14px; background: var(--v3-olive-soft); color: var(--v3-olive); text-align: left; cursor: pointer; }
.v3-search-real-data-cta button span { flex: 1; color: var(--v3-ink); font-size: 13px; line-height: 1.5; }
.v3-map-modal { width: 100%; max-height: 65vh; object-fit: contain; border-radius: 14px; }
.v3-modal-hero { width: 100%; max-height: 330px; object-fit: cover; border-radius: 14px; }
.v3-place-detail-modal > p { color: var(--v3-muted); font-size: 16px; }
.v3-place-detail-info { margin-top: 14px; padding: 14px; border: 1px solid var(--v3-line); border-radius: 13px; background: #faf6ed; }
.v3-place-detail-info h3 { display: flex; align-items: center; gap: 6px; margin: 0 0 8px; color: var(--v3-ink); }
.v3-place-detail-info h3 svg { width: 16px; height: 16px; }
.v3-place-detail-info p { margin: 4px 0; }
.v3-store-detail-modal .v3-eyebrow { display: inline-flex; align-items: center; gap: 5px; }
.v3-store-detail-modal .v3-eyebrow svg { width: 13px; height: 13px; }
.v3-share-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.v3-share-options button,
.v3-menu-list button { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--v3-line); border-radius: 12px; background: white; cursor: pointer; }
.v3-menu-list { display: grid; gap: 8px; }
.v3-form-stack { display: grid; gap: 12px; }
.v3-form-stack label,
.v3-form-stack > label { display: grid; gap: 6px; color: var(--v3-ink); font-weight: 700; }
.v3-form-stack select,
.v3-form-stack input,
.v3-form-stack textarea { min-height: 44px; width: 100%; padding: 9px 11px; border: 1px solid var(--v3-line); border-radius: 10px; background: white; }
.dialog-icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; }
.dialog-icon-warning { color: var(--v3-accent); background: var(--v3-accent-soft); }
.v3-profile-modal { display: grid; justify-items: center; text-align: center; }
.v3-profile-modal > img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.v3-profile-modal h2 { margin: 10px 0 4px; }
.v3-profile-modal > div { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; width: 100%; margin-top: 6px; }
.v3-profile-modal > div button { white-space: nowrap; }
.v3-notification-list { display: grid; gap: 8px; }
.v3-notification-list article { display: grid; grid-template-columns: 10px 1fr; gap: 10px; padding: 12px 0; border-top: 1px solid var(--v3-line); }
.v3-notification-list article > span { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--v3-accent); }
.v3-notification-list p { margin: 3px 0 0; color: var(--v3-muted); }

/* Footer and mobile navigation */
.v3-site-footer { margin-top: 30px; }
.v3-site-footer .footer-inner { min-height: 78px; }
.v3-site-footer p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; }
.v3-mobile-bottom-nav { display: none; }
.v3-ai-fab {
  position: fixed;
  z-index: 80;
  right: 28px;
  bottom: 24px;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 4px solid white;
  border-radius: 50%;
  background: linear-gradient(145deg, #e15b1d, #b7370b);
  color: white;
  box-shadow: 0 12px 25px rgba(132,44,11,.28);
  cursor: pointer;
}
.v3-ai-fab img { width: 66px; height: 66px; object-fit: contain; }
.v3-ai-fab span { position: absolute; right: 0; bottom: -17px; min-width: 94px; padding: 5px 8px; border-radius: 8px; background: var(--v3-accent); color: white; font-family: var(--font-serif); font-size: 12px; white-space: nowrap; }
.v3-ai-fab[hidden] { display: none !important; }

.toast { background: rgba(20,49,65,.96); color: white; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 10px 24px rgba(20,30,32,.2); }
.toast-success { background: rgba(76,96,37,.96); }
.toast-warning { background: rgba(160,87,17,.96); }

@media (max-width: 1240px) {
  .v3-header-standard { grid-template-columns: minmax(300px,auto) 1fr auto; }
  .v3-destination-button { min-width: 190px; }
  .v3-primary-nav { gap: 18px; }
  .v3-primary-nav a { font-size: 15px; }
  .v3-profile-button span { display: none; }
  .v3-page-hero { grid-template-columns: minmax(0,1fr) 330px 110px; }
  .v3-page-hero-campus { width: 340px; }
  .v3-page-hero-mascot { width: 105px; }
  .v3-destination-grid { grid-template-columns: repeat(2,1fr); }
  .v3-nearby-grid { grid-template-columns: repeat(2,1fr); }
  .v3-guide-grid { grid-template-columns: repeat(2,1fr); }
  .v3-route-overview { grid-template-columns: 1fr 430px; }
  .v3-route-row { grid-template-columns: 20px 42px 120px minmax(140px,1fr) auto; }
  .v3-route-row > img { width: 120px; }
  .v3-builder-layout,
  .v3-builder-edit-layout { grid-template-columns: minmax(500px,.95fr) minmax(390px,1.05fr); }
}

@media (max-width: 980px) {
  .v3-site-header { min-height: 70px; }
  .v3-header-inner { width: min(calc(100% - 24px), var(--v3-content)); min-height: 70px; }
  .v3-header-standard { grid-template-columns: 1fr auto; }
  .v3-header-start { min-width: 0; }
  .v3-primary-nav { display: none; }
  .brand-text strong { font-size: 27px; }
  .brand-text em { font-size: 18px; }
  .brand-mark { width: 21px; height: 27px; }
  .v3-destination-button { min-width: 0; max-width: 320px; }
  .v3-header-standard .v3-header-actions .v3-header-icon:first-child { display: none; }
  .v3-explore-hero { grid-template-columns: 1fr; min-height: auto; }
  .v3-explore-art { min-height: 260px; }
  .v3-city-rail,
  .v3-type-grid { grid-template-columns: repeat(2,1fr); }
  .v3-page-hero { grid-template-columns: minmax(0,1fr) 260px 100px; }
  .v3-page-hero h1 { font-size: 34px; }
  .v3-home-section,
  .v3-route-overview,
  .v3-route-list-section,
  .v3-weather-card,
  .v3-my-stats,
  .v3-my-tabs,
  .v3-my-panel,
  .v3-orange-cta,
  .v3-guide-detail-page > section,
  .v3-guide-tabs { max-width: 860px; margin-left: auto; margin-right: auto; }
  .v3-route-overview { grid-template-columns: 1fr; }
  .v3-route-map-card > button:first-child { min-height: 320px; }
  .v3-featured-guide-section { max-width: 860px; margin-inline: auto; }
  .v3-guide-card.is-featured { grid-template-columns: 1fr; grid-template-rows: 280px auto; }
  .v3-my-stats { grid-template-columns: repeat(2,1fr); }
  .v3-trip-grid { grid-template-columns: 1fr 1fr; }
  .v3-guide-author-card { grid-template-columns: 1fr auto; }
  .v3-guide-author-card > div:last-child { grid-column: 1 / -1; }
  .v3-builder-layout,
  .v3-builder-edit-layout { grid-template-columns: 1fr; }
  .v3-builder-preview-panel { position: relative; top: auto; }
  .v3-builder-preview { max-width: 480px; }
  .v3-output-layout { grid-template-columns: minmax(360px,520px) 340px; }
  .v3-header-ai { grid-template-columns: auto 1fr auto; }
  .v3-header-ai .v3-destination-button { display: none; }
  .v3-ai-welcome { grid-template-columns: 120px 1fr; }
  .v3-ai-welcome > img:last-child { display: none; }
}

@media (max-width: 720px) {
  :root { --v3-radius: 17px; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  body.v3-bottom-nav-hidden { padding-bottom: 0; }
  .v3-site-header { position: sticky; top: 0; min-height: 66px; }
  .v3-header-inner { width: 100%; min-height: 66px; padding: 0 16px; gap: 10px; }
  .v3-header-standard { grid-template-columns: minmax(0,1fr) auto; }
  .v3-header-start { gap: 8px; min-width: 0; }
  .v3-brand { gap: 7px; }
  .brand-mark { width: 18px; height: 23px; }
  .brand-mark::before { width: 6px; height: 6px; left: 5px; top: 5px; }
  .brand-text strong { font-size: 23px; }
  .brand-text em { font-size: 16px; letter-spacing: .08em; }
  .v3-header-standard:not(.v3-header-explore) { min-height: 108px; align-items: start; padding-top: 10px; padding-bottom: 9px; }
  .v3-header-standard:not(.v3-header-explore) .v3-header-start { display: grid; grid-template-columns: minmax(0,1fr); align-content: start; gap: 7px; }
  .v3-header-standard:not(.v3-header-explore) .v3-destination-button { width: min(248px, calc(100vw - 100px)); min-height: 36px; display: flex; padding: 4px 10px; border-radius: 999px; }
  .v3-header-standard:not(.v3-header-explore) .v3-destination-copy small { display: none; }
  .v3-header-standard:not(.v3-header-explore) .v3-destination-copy strong { font-size: 13px; }
  .v3-header-actions { gap: 0; }
  .v3-header-actions .v3-header-icon { width: 38px; height: 38px; }
  .v3-profile-button { width: 38px; min-height: 38px; padding: 2px; border: 0; background: transparent; }
  .v3-profile-button img { width: 34px; height: 34px; }
  .v3-header-detail,
  .v3-header-editor,
  .v3-header-ai,
  .v3-header-live { grid-template-columns: 42px 1fr auto; }
  .v3-header-detail .v3-brand,
  .v3-header-editor .v3-brand { justify-self: center; }
  .v3-header-detail .brand-text em { display: inline; font-size: 14px; }
  .v3-header-editor .brand-text em { display: none; }
  .v3-editor-exit,
  .v3-save-button { width: 40px; height: 40px; justify-content: center; padding: 0; border: 0; background: transparent; }
  .v3-editor-exit span,
  .v3-save-button span { display: none; }
  .v3-editor-title { display: none; }
  .v3-header-ai { grid-template-columns: 36px auto minmax(0,1fr) 36px; gap: 6px; }
  .v3-header-ai .v3-brand { justify-self: start; }
  .v3-header-ai .brand-text strong { font-size: 20px; }
  .v3-header-ai .brand-text em { display: inline; font-size: 13px; }
  .v3-header-ai .v3-destination-button { min-width: 0; max-width: 122px; min-height: 36px; display: flex; padding: 4px 8px; }
  .v3-header-ai .v3-destination-copy small { display: none; }
  .v3-header-ai .v3-destination-copy strong { font-size: 12px; }
  .v3-live-title { display: grid; justify-items: center; gap: 0; }
  .v3-live-title .trip-pulse { display: none; }
  .v3-page { width: 100%; padding: 10px 16px 24px; }
  .v3-page-hero { min-height: 165px; grid-template-columns: minmax(0,1fr) 130px; gap: 4px; padding: 14px 4px 12px; }
  .v3-page-hero-copy { align-self: end; }
  .v3-page-hero h1 { font-size: 30px; letter-spacing: .04em; line-height: 1.28; }
  .v3-page-hero p { font-size: 15px; letter-spacing: .05em; }
  .v3-page-hero-campus { position: absolute; right: -22px; top: -8px; width: 250px; opacity: .48; }
  .v3-page-hero-mascot { z-index: 2; width: 104px; height: 100px; align-self: end; justify-self: end; }
  .v3-section-head h2,
  .v3-panel-title-row h2 { font-size: 23px; }
  .v3-section-head button { font-size: 13px; }
  .v3-explore-page { padding-top: 14px; }
  .v3-explore-hero { display: block; min-height: auto; padding: 26px 20px 22px; border-radius: 22px; }
  .v3-explore-hero h1 { font-size: 36px; }
  .v3-explore-hero p { font-size: 15px; }
  .v3-explore-search { grid-template-columns: auto 1fr; border-radius: 16px; }
  .v3-explore-search .button { grid-column: 1 / -1; width: 100%; }
  .v3-explore-art { min-height: 230px; margin-top: 10px; }
  .v3-platform-count { left: 0; bottom: 4px; padding: 12px 15px; }
  .v3-explore-art > img:nth-child(2) { width: 95px; }
  .v3-active-trip-banner { align-items: stretch; padding: 16px; }
  .v3-active-trip-banner > div { display: grid; grid-template-columns: auto 1fr; }
  .v3-active-trip-banner { flex-direction: column; }
  .v3-explore-section { margin-top: 26px; }
  .v3-destination-grid { grid-template-columns: 1fr; }
  .v3-destination-card { grid-template-columns: 112px 1fr; }
  .v3-destination-media img { min-height: 115px; }
  .v3-city-rail,
  .v3-type-grid { grid-template-columns: 1fr 1fr; }
  .v3-city-rail button,
  .v3-type-grid button { padding: 13px; }
  .v3-type-grid button > span { width: 38px; height: 38px; }
  .v3-home-search-block { margin-top: -2px; }
  .v3-home-search { height: 54px; font-size: 15px; }
  .v3-home-categories { gap: 8px; }
  .v3-home-categories button { min-height: 68px; display: grid; place-items: center; align-content: center; gap: 2px; font-size: 15px; }
  .v3-home-categories .icon { width: 25px; }
  .v3-home-section { margin-top: 28px; }
  .v3-featured-route-card { grid-template-columns: 1fr; min-height: 0; border-radius: 18px; }
  .v3-featured-route-media img { aspect-ratio: 16/9; }
  .v3-featured-route-copy { padding: 18px; }
  .v3-featured-route-copy h2 { font-size: 26px; }
  .v3-featured-route-copy .button { width: 100%; }
  .v3-theme-grid { gap: 7px; }
  .v3-theme-card > span { width: 42px; height: 42px; margin-top: -21px; }
  .v3-theme-card strong { font-size: 14px; }
  .v3-nearby-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .v3-place-card.is-compact .v3-card-title-row { display: grid; grid-template-columns: 1fr auto; }
  .v3-place-card.is-compact .v3-card-title-row h3 { font-size: 16px; }
  .v3-place-card.is-compact .v3-card-title-row p { font-size: 11px; }
  .v3-place-card.is-compact .v3-meta-row { display: none; }
  .v3-route-overview { gap: 10px; }
  .v3-condition-card { padding: 18px; }
  .v3-condition-grid { gap: 7px; }
  .v3-condition-grid span { min-height: 43px; padding: 7px 10px; font-size: 13px; }
  .v3-route-map-card > button:first-child { min-height: 230px; }
  .v3-route-list-section { padding: 16px 10px; }
  .v3-route-list-section .v3-section-head { padding: 0 6px; }
  .v3-route-row { grid-template-columns: 18px 40px 105px 1fr auto; gap: 7px; min-height: 84px; padding: 7px; }
  .v3-route-row > img { width: 105px; height: 68px; }
  .v3-route-number { width: 38px; height: 38px; font-size: 18px; }
  .v3-route-row-copy h3 { font-size: 17px; }
  .v3-route-row-copy p { font-size: 12px; }
  .v3-route-row-actions { display: grid; grid-template-columns: 28px 28px; gap: 2px; }
  .v3-route-row-actions button { min-width: 30px; min-height: 26px; padding: 0; }
  .v3-route-row-actions button:nth-child(1),
  .v3-route-row-actions button:nth-child(2),
  .v3-route-row-actions button:nth-child(4) { display: none; }
  .v3-route-row-actions .v3-route-mobile-more { display: inline-flex !important; }
  .v3-route-row-actions span { display: none; }
  .v3-route-summary { font-size: 12px; }
  .v3-route-summary span { min-height: 44px; gap: 3px; }
  .v3-weather-card { display: grid; padding: 14px; }
  .v3-weather-card > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .v3-route-sticky-actions { grid-template-columns: 1fr 110px; margin-top: 12px; padding: 8px; }
  .v3-route-sticky-actions .button { min-height: 52px; font-size: 15px; }
  .v3-filter-pills { margin-top: 4px; }
  .v3-guide-card.is-featured { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .v3-guide-card.is-featured .v3-guide-cover img { min-height: 0; aspect-ratio: 16/9; }
  .v3-guide-card.is-featured h3 { font-size: 27px; }
  .v3-guide-grid { display: flex; gap: 9px; overflow-x: auto; padding-bottom: 6px; }
  .v3-guide-grid .v3-guide-card { flex: 0 0 78%; }
  .v3-guide-card-body { padding: 14px; }
  .v3-guide-card-body h3 { font-size: 20px; }
  .v3-guide-card .v3-card-actions .button:nth-child(2) { display: none; }
  .v3-my-stats { grid-template-columns: repeat(2,1fr); gap: 8px; }
  .v3-my-stats > span { min-height: 82px; grid-template-columns: 42px 1fr; gap: 0 8px; padding: 11px; }
  .v3-my-stats b { width: 42px; height: 42px; }
  .v3-my-stats strong { font-size: 27px; }
  .v3-my-tabs { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 2px; margin-top: 12px; padding: 4px; overflow: visible; border-radius: 15px; }
  .v3-my-tabs a { min-width: 0; padding: 9px 3px; font-size: 11px; }
  .v3-my-panel { padding: 16px 12px; }
  .v3-panel-title-row { align-items: flex-start; }
  .v3-panel-title-row > span { display: none; }
  .v3-footprint-progress { overflow-x: auto; padding-bottom: 5px; }
  .v3-footprint-progress > div { min-width: 95px; }
  .v3-footprint-timeline article { grid-template-columns: 54px 38px 1fr; gap: 7px; padding: 9px 0; }
  .v3-footprint-timeline article > div:last-child { grid-column: 3; display: flex; flex-wrap: wrap; }
  .v3-footprint-timeline .button { min-height: 34px; padding: 4px 8px; font-size: 12px; }
  .v3-timeline-icon { width: 36px; height: 36px; }
  .v3-orange-cta { grid-template-columns: 85px 1fr; padding: 14px; }
  .v3-orange-cta img { width: 80px; height: 78px; }
  .v3-orange-cta h2 { font-size: 21px; }
  .v3-orange-cta button { grid-column: 1 / -1; width: 100%; }
  .v3-trip-grid { grid-template-columns: 1fr; }
  .v3-trip-card { grid-template-columns: 110px 1fr auto; }
  .v3-trip-card img { width: 110px; height: 76px; }
  .v3-trip-list article { grid-template-columns: 90px 1fr auto; }
  .v3-trip-list img { width: 90px; height: 70px; }
  .v3-trip-list article .button { grid-column: 2 / 4; width: 100%; }
  .v3-my-guide-grid,
  .v3-guide-image-grid { grid-template-columns: 1fr; }
  .v3-my-guide-grid article,
  .v3-guide-image-grid article { grid-template-columns: 130px 1fr; min-height: 170px; }
  .v3-my-guide-grid article > img,
  .v3-guide-image-grid article > button:first-child img { width: 130px; min-height: 128px; }
  .v3-my-guide-grid h3,
  .v3-guide-image-grid h3 { font-size: 19px; }
  .v3-guide-image-stats { gap: 7px; }
  .v3-guide-image-stats span { min-height: 58px; display: grid; justify-items: center; gap: 0; }
  .v3-how-it-works > div { grid-template-columns: 1fr; }
  .v3-how-it-works > div > i { display: none; }
  .v3-how-it-works span { grid-template-columns: 28px 38px 1fr; }
  .v3-editor-page { padding-top: 8px; }
  .v3-editor-intro { min-height: 125px; grid-template-columns: 92px 1fr; }
  .v3-editor-intro > img:first-child { width: 86px; height: 86px; }
  .v3-editor-intro > img:last-child { position: absolute; right: -40px; width: 250px; opacity: .28; }
  .v3-editor-intro h1 { font-size: 34px; }
  .v3-editor-intro p { font-size: 14px; }
  .v3-stepper { margin-bottom: 12px; padding: 8px 6px; border-radius: 16px; }
  .v3-stepper li::after { top: 15px; }
  .v3-stepper button { display: grid; justify-items: center; gap: 2px; }
  .v3-stepper span { width: 31px; height: 31px; }
  .v3-stepper strong { font-size: 11px; }
  .v3-editor-panel { padding: 15px; }
  .v3-cocreate-route-summary { padding: 12px; }
  .v3-cocreate-route-summary > div > span { width: 40px; height: 40px; }
  .v3-cocreate-route-summary strong { font-size: 12px; }
  .v3-cocreate-route-summary button { font-size: 12px; }
  .v3-photo-grid { grid-template-columns: repeat(2,1fr); }
  .v3-add-photo { min-height: 105px; }
  .v3-audio-recorder { grid-template-columns: 48px 1fr auto; padding: 13px 10px; gap: 9px; }
  .v3-audio-recorder > button { width: 46px; height: 46px; }
  .v3-note-prompts { display: flex; overflow-x: auto; }
  .v3-note-prompts button { flex: 0 0 auto; padding: 0 12px; white-space: nowrap; }
  .v3-ai-draft-preview { padding: 15px; }
  .v3-ai-draft-preview dl > div { grid-template-columns: 1fr; gap: 4px; }
  .v3-editor-actions { display: grid; grid-template-columns: 1fr 1.4fr; }
  .v3-editor-actions .button { min-width: 0; }
  .v3-trip-choice-list label,
  .v3-content-choice-list label { grid-template-columns: auto 90px 1fr; padding: 8px; }
  .v3-trip-choice-list img,
  .v3-content-choice-list img { width: 90px; height: 65px; }
  .v3-trip-choice-list strong,
  .v3-content-choice-list strong { font-size: 16px; }
  .v3-draft-stops article { grid-template-columns: 30px 72px 1fr auto; gap: 7px; }
  .v3-draft-stops img { width: 72px; height: 58px; }
  .v3-draft-stops h3 { font-size: 16px; }
  .v3-draft-stops p { font-size: 11px; }
  .v3-publish-card { grid-template-columns: 1fr; }
  .v3-publish-card > img { min-height: 190px; }
  .v3-publish-card h2 { font-size: 25px; }
  .v3-visibility { grid-template-columns: 1fr; }
  .v3-publish-success { min-height: 380px; }
  .v3-publish-success > div { display: grid; width: 100%; }
  .v3-guide-tabs { position: sticky; top: 66px; z-index: 25; border-radius: 12px; }
  .v3-guide-tabs a { min-height: 46px; font-size: 14px; }
  .v3-guide-detail-hero { height: 330px; border-radius: 14px; margin-top: 8px; }
  .v3-guide-detail-overlay { left: 18px; right: 18px; bottom: 18px; }
  .v3-guide-detail-overlay h1 { font-size: 34px; }
  .v3-guide-author-card { grid-template-columns: 1fr; margin: -2px 0 0; padding: 14px; }
  .v3-guide-author-card > div:nth-child(2) { justify-content: flex-start; }
  .v3-guide-author-card > div:last-child { display: grid; grid-template-columns: 1fr 1fr; }
  .v3-guide-simulation-notice { margin: 12px 0 0; padding: 12px 14px; }
  .v3-guide-facts { grid-template-columns: repeat(2,1fr); gap: 7px; }
  .v3-guide-facts > span { min-height: 47px; font-size: 13px; }
  .v3-guide-summary,
  .v3-route-stops-detail,
  .v3-guide-info { padding: 15px; }
  .v3-route-stops-detail article { grid-template-columns: 34px 92px 1fr; gap: 8px; }
  .v3-route-stops-detail article > span { width: 32px; height: 32px; }
  .v3-route-stops-detail img { width: 92px; height: 70px; }
  .v3-route-stops-detail h3 { font-size: 18px; }
  .v3-route-stops-detail p { font-size: 12px; }
  .v3-route-stops-detail .button { grid-column: 2 / 4; width: 100%; min-height: 36px; }
  .v3-guide-info > div { grid-template-columns: repeat(2,1fr); }
  .v3-guide-image-cta { grid-template-columns: 120px 1fr; gap: 10px; }
  .v3-guide-image-cta img { width: 120px; height: 120px; }
  .v3-guide-image-cta h2 { font-size: 18px; }
  .v3-guide-image-cta p { font-size: 12px; }
  .v3-guide-image-cta .button { grid-column: 1 / -1; width: 100%; }
  .v3-guide-image-view { grid-template-columns: 1fr; padding: 12px; }
  .v3-guide-image-view > div { position: static; grid-template-columns: 1fr 1fr; }
  .v3-builder-layout,
  .v3-builder-edit-layout { display: flex; flex-direction: column; }
  .v3-builder-controls { width: 100%; }
  .v3-builder-preview-panel { order: -1; width: 100%; padding: 13px; }
  .v3-builder-preview { max-width: 320px; border-width: 6px; border-radius: 13px; }
  .v3-presentation-grid { gap: 6px; }
  .v3-presentation-grid button { min-height: 105px; padding: 7px; }
  .v3-presentation-grid .icon { width: 29px; height: 29px; }
  .v3-presentation-grid small { font-size: 10px; }
  .v3-template-grid { gap: 5px; }
  .v3-size-grid { grid-template-columns: repeat(2,1fr); }
  .v3-toggle-list { grid-template-columns: 1fr; }
  .v3-builder-primary-action .button { min-width: 0; width: 100%; }
  .v3-builder-content-summary > div:last-child { grid-template-columns: 90px 1fr; }
  .v3-builder-content-summary img { width: 90px; height: 78px; }
  .v3-output-layout { grid-template-columns: 1fr; padding: 14px; }
  .v3-output-poster .v3-builder-preview { max-width: 330px; }
  .v3-output-actions h1 { font-size: 29px; }
  .v3-guide-image-detail-body { grid-template-columns: 1fr; }
  .v3-guide-image-detail-body > div { position: static; grid-template-columns: 1fr 1fr; }
  .v3-ai-page { padding-bottom: 94px; }
  .v3-ai-trip-bar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
  .v3-ai-trip-bar > button { grid-column: 1 / -1; }
  .v3-ai-trip-bar i { width: 100px; }
  .v3-ai-welcome { grid-template-columns: 92px 1fr; min-height: 130px; padding: 12px; }
  .v3-ai-welcome > img:first-child { width: 86px; }
  .v3-ai-welcome h1 { font-size: 18px; }
  .v3-chat-message { grid-template-columns: 38px minmax(0,1fr); }
  .v3-chat-message > img { width: 36px; height: 36px; }
  .v3-chat-message article { max-width: 92%; padding: 11px 12px; }
  .v3-chat-message.is-user article { max-width: 84%; }
  .v3-chat-route-suggestion { grid-template-columns: 1fr; }
  .v3-chat-route-suggestion img { height: 110px; }
  .v3-ai-nearby { padding: 12px; }
  .v3-ai-nearby > div:last-child { display: flex; overflow-x: auto; }
  .v3-ai-nearby > div:last-child button { flex: 0 0 72%; grid-template-columns: 90px 1fr; }
  .v3-ai-nearby img { width: 90px; }
  .v3-chat-composer { bottom: calc(78px + env(safe-area-inset-bottom)); grid-template-columns: 1fr auto auto; padding-left: 13px; }
  .v3-chat-composer button:nth-of-type(1),
  .v3-chat-composer button:nth-of-type(3) { display: none; }
  .v3-live-current-card { grid-template-columns: 1fr; }
  .v3-live-current-card > img { height: 230px; }
  .v3-live-current-card > div { padding: 18px; }
  .v3-live-current-card h1 { font-size: 31px; }
  .v3-live-map img { height: 220px; }
  .v3-live-primary-actions { grid-template-columns: 1fr 105px; }
  .v3-live-next { grid-template-columns: 80px 1fr auto; }
  .v3-live-next > span { grid-column: 1 / -1; }
  .v3-live-next img { width: 80px; height: 62px; }
  .v3-live-quick-actions { grid-template-columns: repeat(2,1fr); }
  .v3-modal { width: calc(100vw - 24px); max-height: 88vh; padding: 20px 16px; border-radius: 20px; }
  .modal-backdrop[data-size="large"] .v3-modal { width: calc(100vw - 16px); }
  .v3-side-sheet { width: 100%; max-width: none; height: min(88vh, 760px); top: auto; bottom: 0; border-radius: 22px 22px 0 0; }
  .v3-destination-sheet-card { grid-template-columns: 80px 1fr auto; }
  .v3-destination-sheet-card > img { width: 80px; min-height: 105px; }
  .v3-share-options { grid-template-columns: 1fr 1fr; }
  .modal-actions-stack-mobile { display: grid; grid-template-columns: 1fr; }
  .v3-site-footer { display: none; }
  .v3-mobile-bottom-nav {
    position: fixed;
    z-index: 70;
    left: 0;
    right: 0;
    bottom: 0;
    min-height: calc(70px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: repeat(5,1fr);
    padding: 6px 5px env(safe-area-inset-bottom);
    border-top: 1px solid rgba(194,177,151,.72);
    background: rgba(255,253,248,.96);
    box-shadow: 0 -8px 24px rgba(62,44,20,.07);
    backdrop-filter: blur(15px);
  }
  .v3-mobile-bottom-nav[hidden] { display: none !important; }
  .v3-mobile-bottom-nav a { min-width: 0; display: grid; place-items: center; align-content: center; gap: 1px; color: #676761; font-family: var(--font-serif); font-size: 12px; }
  .v3-mobile-bottom-nav .icon { width: 26px; height: 26px; }
  .v3-mobile-bottom-nav a[aria-current="page"] { color: var(--v3-accent); }
  /* bottom 需清掉 .v3-mobile-bottom-nav 高度（70px + safe-area）再加上 FAB 自己
     的 "問AI導遊" 標籤（span 用 bottom:-14px 往下延伸），82px 不夠、標籤會壓到
     底部導覽的文字（例如地點詳情頁的「我的」）；96px 讓標籤跟導覽列之間留出間距。 */
  .v3-ai-fab { right: 14px; bottom: calc(96px + env(safe-area-inset-bottom)); width: 66px; height: 66px; border-width: 3px; }
  .v3-ai-fab img { width: 53px; height: 53px; }
  .v3-ai-fab span { min-width: 80px; right: -5px; bottom: -14px; font-size: 10px; }
}

@media (max-width: 420px) {
  .v3-page { padding-left: 12px; padding-right: 12px; }
  .brand-text strong { font-size: 21px; }
  .brand-text em { font-size: 14px; }
  .v3-header-inner { padding-inline: 12px; }
  .v3-home-categories button { font-size: 13px; }
  .v3-route-row { grid-template-columns: 15px 36px 86px 1fr 58px; }
  .v3-route-row > img { width: 86px; height: 62px; }
  .v3-route-row-copy h3 { font-size: 15px; }
  .v3-route-summary span { font-size: 10px; }
  .v3-guide-image-cta { grid-template-columns: 95px 1fr; }
  .v3-guide-image-cta img { width: 95px; height: 105px; }
  .v3-stepper strong { font-size: 10px; }
  .v3-editor-actions { grid-template-columns: 1fr; }
  .v3-guide-author-card > div:last-child { grid-template-columns: 1fr; }
}

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