@font-face {
  font-family: "Lushu Sans";
  src:
    local("Noto Sans SC"),
    local("NotoSansSC"),
    url("./assets/fonts/NotoSansSC-VF.ttf") format("truetype");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lushu Serif";
  src:
    local("Noto Serif SC"),
    local("NotoSerifSC"),
    url("./assets/fonts/NotoSerifSC-VF.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f4efe7;
  --bg-soft: #fbf7f1;
  --surface: rgba(255, 251, 247, 0.74);
  --surface-strong: rgba(255, 252, 248, 0.9);
  --surface-accent: rgba(245, 238, 226, 0.86);
  --ink: #1a2430;
  --ink-light: #566271;
  --line: rgba(134, 111, 86, 0.18);
  --line-strong: rgba(109, 92, 73, 0.26);
  --brand: #0f766e;
  --brand-strong: #0d5e58;
  --brand-deep: #114a56;
  --brand-soft: #dcefea;
  --sun: #c57b39;
  --sun-soft: #f7ead9;
  --warn: #b91c1c;
  --ok: #0f9f6e;
  --panel-shadow: 0 22px 44px rgba(54, 45, 34, 0.08);
  --panel-shadow-strong: 0 28px 56px rgba(44, 34, 25, 0.12);
  --radius: 22px;
  --radius-lg: 30px;
  --font-sans: "Lushu Sans", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: "Lushu Serif", "Lushu Sans", "Songti SC", "Noto Serif SC", serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background:
    radial-gradient(circle at 14% 12%, rgba(221, 241, 236, 0.92), transparent 28%),
    radial-gradient(circle at 88% 10%, rgba(245, 229, 205, 0.9), transparent 24%),
    radial-gradient(circle at 55% 78%, rgba(223, 234, 244, 0.88), transparent 30%),
    linear-gradient(180deg, #fbf7f1 0%, #f6f1e8 38%, #eff3f0 100%);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
textarea,
select {
  font-family: var(--font-sans);
}

::selection {
  background: rgba(15, 118, 110, 0.16);
  color: var(--ink);
}

html.route-pending[data-route="#/plan"] #landingPage,
html.route-pending[data-route="#/trips"] #landingPage,
html.route-pending[data-route="#/community"] #landingPage,
html.route-pending[data-route^="#/clarify/"] #landingPage,
html.route-pending[data-route="#/result"] #landingPage,
html.route-pending[data-route^="#/result/"] #landingPage {
  display: none;
}

.bg-orb {
  display: none;
}

.orb-1 {
  width: 340px;
  height: 340px;
  background: #06b6d4;
  top: -120px;
  right: -80px;
  animation: float 8s ease-in-out infinite;
}

.orb-2 {
  width: 280px;
  height: 280px;
  background: #f59e0b;
  bottom: -100px;
  left: -90px;
  animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-18px);
  }
}

.top-nav {
  max-width: 1120px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.top-nav-inner {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #d8ccb8;
  border-radius: 14px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  font-family: var(--font-display);
  font-weight: 800;
  color: #4f7d18;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-size: 14px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login {
  text-decoration: none;
  color: #1f2937;
  font-size: 14px;
}

.nav-cta {
  border: 0;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  color: #fff;
  background: linear-gradient(145deg, #6e9c2a, #5d8622);
  cursor: pointer;
}

h1 {
  margin: 10px 0 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
}

.layout {
  max-width: 1440px;
  margin: 18px auto 64px;
  padding: 80px 20px 0;
  display: grid;
  gap: 20px;
}

.landing-shell {
  display: block;
}

.home-canvas {
  display: none;
}

.landing-board {
  display: grid;
  gap: 64px;
}

.landing-module {
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 245, 255, 0.76));
  border: 1px solid rgba(223, 226, 247, 0.92);
  box-shadow: 0 14px 34px rgba(88, 105, 179, 0.08);
  backdrop-filter: blur(12px);
}

#sharedTopbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  width: 100%;
  margin-left: 0;
  border-radius: 0;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(223, 226, 247, 0.92);
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  min-height: 72px;
  width: calc(100vw - 24px);
  margin-left: calc(50% - 50vw + 12px);
  padding: 16px clamp(22px, 3.6vw, 44px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(245, 242, 255, 0.74));
  border-color: rgba(221, 225, 246, 0.92);
  box-shadow: 0 12px 32px rgba(88, 105, 179, 0.08);
}

.landing-brand-btn {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  cursor: pointer;
}

.landing-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: center / cover no-repeat url("./logo/旅游圈.svg");
  box-shadow: 0 8px 18px rgba(18, 85, 92, 0.12);
}

.landing-brand-text {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: #183565;
}

.landing-topnav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  margin-left: 22px;
  gap: 28px;
}

.landing-topnav a,
.landing-footer-links a,
.landing-login-link {
  text-decoration: none;
  color: #21365d;
}

.landing-topnav a {
  font-size: 17px;
  font-weight: 700;
  color: #354673;
  transition: color 150ms ease;
}

.landing-topnav a:hover {
  color: #5d66de;
}

.landing-topnav a.is-active {
  color: #2b59c3;
}

.landing-topnav a[aria-current="page"] {
  position: relative;
}

.landing-topnav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #5d66de, #71a2ff);
}

.landing-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mobile-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(205, 214, 242, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.84);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #445786;
  transition: transform 150ms ease, opacity 150ms ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.landing-top-cta,
.landing-primary-btn {
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 14px 26px rgba(74, 113, 236, 0.24);
  cursor: pointer;
}

.landing-top-cta {
  min-height: 48px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 800;
}

.landing-login-link {
  font-size: 16px;
  font-weight: 700;
  color: #445786;
}

.landing-hero {
  min-height: 568px;
  padding: 34px 34px 32px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #eef2ff, #e6ecff 50%, #e9f0ff);
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 247, 255, 0.92) 0%, rgba(243, 246, 255, 0.88) 26%, rgba(243, 246, 255, 0.36) 48%, rgba(243, 246, 255, 0.06) 68%);
  z-index: 1;
}

.landing-hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
}

.landing-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  max-width: 52%;
  position: relative;
  z-index: 2;
}

.landing-hero-eyebrow {
  margin: 0 0 10px;
  color: #7b79b3;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(48px, 4.6vw, 56px);
  line-height: 1.08;
  color: #1f2a44;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.landing-hero-title span {
  display: inline-block;
  background: linear-gradient(90deg, #1f6bff, #19c2b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-text {
  margin: 20px 0 0;
  max-width: 560px;
  color: #5b6e98;
  font-size: 19px;
  line-height: 1.82;
}

.landing-hero-actions {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero 表单 */
.landing-hero-form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 460px;
}
.lhf-row { display: flex; gap: 12px; }
.lhf-row-2col > .lhf-field { flex: 1; }
.lhf-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #5b6e98;
  margin-bottom: 4px;
}
.lhf-field input {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1.5px solid #d0d7e6;
  border-radius: 10px;
  font-size: 15px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(4px);
  box-sizing: border-box;
}
.lhf-field input:focus {
  border-color: #1f6bff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(31,107,255,0.12);
}
.lhf-submit {
  margin-top: 6px;
  width: 100%;
  justify-content: center;
}

.landing-hero-form-v2 {
  gap: 16px;
  max-width: 690px;
}

.landing-hero-form-v2 .lhf-field label,
.landing-hero-form-v2 .lhf-tag-title {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
  color: #18212d;
}

.landing-hero-form-v2 .lhf-field-prompt textarea {
  min-height: 126px;
  padding: 18px 20px;
  border: 1px solid rgba(172, 176, 186, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.6;
  color: #495260;
  resize: none;
}

.landing-hero-form-v2 .lhf-field-prompt textarea::placeholder {
  color: #9b9ca3;
}

.landing-hero-form-v2 .lhf-row {
  gap: 18px;
}

.landing-hero-form-v2 .lhf-field input {
  height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(179, 184, 193, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  font-size: 15px;
}

.landing-hero-form-v2 .lhf-tag-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.landing-hero-form-v2 .landing-hero-chip-row {
  gap: 12px;
}

.landing-hero-form-v2 .chip {
  border: 1px solid rgba(221, 223, 229, 0.95);
  background: #efeff1;
  color: #84878e;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  box-shadow: none;
}

.landing-hero-form-v2 .chip.active {
  border-color: rgba(108, 90, 224, 0.88);
  background: linear-gradient(135deg, #8d73ff, #6d58dd);
  color: #fff;
  box-shadow: 0 10px 24px rgba(109, 88, 221, 0.28);
}

.landing-hero-form-v2 .lhf-submit-v2 {
  margin-top: 2px;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #8267f2, #6d58dd);
  box-shadow: 0 12px 28px rgba(109, 88, 221, 0.26);
}

.landing-hero-form-v2 .lhf-submit-v2::after {
  content: none;
}

.lhf-submit-icon {
  font-size: 18px;
  line-height: 1;
}

.landing-primary-btn,
.landing-secondary-btn {
  min-height: 56px;
  padding: 0 28px;
  font-size: 17px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.landing-secondary-btn {
  border: 1px solid rgba(214, 219, 243, 0.96);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #455887;
  box-shadow: 0 10px 22px rgba(96, 104, 166, 0.08);
  cursor: pointer;
}

.landing-primary-btn::after,
.landing-secondary-btn::after {
  content: "→";
  font-size: 18px;
  line-height: 1;
}

.landing-hero-note {
  margin: 24px 0 0;
  color: #6877a1;
  font-size: 16px;
}

.landing-hero-scene {
  position: absolute;
  inset: 18px 0 4px 2%;
  border-radius: 40px;
  background:
    linear-gradient(180deg, rgba(241, 234, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(180deg, rgba(206, 222, 255, 0.12), rgba(255, 255, 255, 0.06)),
    url("https://images.unsplash.com/photo-1500375592092-40eb2168fd21?auto=format&fit=crop&w=1800&q=80");
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -120px 140px rgba(159, 205, 241, 0.18);
}

.landing-hero-scene::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background:
    radial-gradient(circle at 14% 42%, rgba(255, 255, 255, 0.82), transparent 14%),
    radial-gradient(circle at 64% 14%, rgba(255, 255, 255, 0.28), transparent 16%),
    linear-gradient(180deg, rgba(248, 246, 255, 0), rgba(239, 244, 255, 0.42) 28%, rgba(185, 219, 246, 0.82) 68%, rgba(151, 203, 240, 0.88));
}

.landing-hero-scene::after {
  content: "";
  position: absolute;
  right: -3%;
  bottom: 0;
  width: 42%;
  height: 58%;
  border-radius: 44px 44px 0 0;
  background:
    radial-gradient(circle at 30% 34%, rgba(238, 255, 231, 0.76), transparent 30%),
    radial-gradient(circle at 58% 18%, rgba(255, 223, 205, 0.38), transparent 26%),
    linear-gradient(180deg, rgba(124, 183, 143, 0.94), rgba(82, 150, 118, 0.98));
  filter: saturate(0.95);
}

.landing-scene-cloud {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow:
    22px 8px 0 0 rgba(255, 255, 255, 0.68),
    -18px 10px 0 0 rgba(255, 255, 255, 0.6),
    8px -10px 0 0 rgba(255, 255, 255, 0.72);
  filter: blur(4px);
  z-index: 1;
}

.landing-scene-cloud.cloud-a {
  top: 84px;
  left: 12%;
  width: 118px;
  height: 24px;
}

.landing-scene-cloud.cloud-b {
  top: 154px;
  right: 30%;
  width: 132px;
  height: 28px;
}

.landing-scene-plane {
  position: absolute;
  top: 74px;
  left: 47%;
  width: 76px;
  height: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(222, 232, 255, 0.88));
  clip-path: polygon(0 48%, 30% 40%, 52% 0, 60% 6%, 47% 40%, 100% 38%, 100% 62%, 47% 60%, 60% 94%, 52% 100%, 30% 60%, 0 52%);
  transform: rotate(11deg);
  filter: drop-shadow(0 8px 12px rgba(98, 117, 197, 0.16));
  z-index: 2;
}

.landing-scene-plane::after {
  content: "";
  position: absolute;
  right: 58px;
  top: 12px;
  width: 112px;
  height: 2px;
  border-top: 2px dashed rgba(255, 255, 255, 0.72);
  transform: rotate(6deg);
  transform-origin: right center;
}

.landing-scene-traveler {
  position: absolute;
  left: 53%;
  bottom: 26px;
  width: 82px;
  height: 146px;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, #f3a360 0 24%, #3f6ead 24% 62%, #203153 62% 100%);
  clip-path: polygon(40% 12%, 58% 12%, 66% 26%, 78% 42%, 72% 70%, 78% 100%, 60% 100%, 56% 74%, 46% 74%, 42% 100%, 24% 100%, 30% 70%, 24% 42%, 36% 26%);
  box-shadow: 18px 8px 0 -8px rgba(228, 133, 83, 0.9);
  z-index: 2;
}

.landing-scene-traveler::before {
  content: "";
  position: absolute;
  left: 26px;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f4b581;
}

.landing-scene-traveler::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 32px;
  width: 24px;
  height: 38px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f39b52, #d86f34);
}

.landing-phone-frame {
  position: absolute;
  top: 24px;
  right: 7%;
  width: 286px;
  height: 436px;
  border-radius: 40px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 241, 255, 0.9));
  border: 1px solid rgba(211, 218, 244, 0.96);
  box-shadow: 0 30px 52px rgba(96, 113, 192, 0.18);
  transform: rotate(7deg);
  z-index: 4;
}

.landing-phone-frame::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 50%;
  width: 72px;
  height: 8px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #d6dfef;
}

.landing-phone-map {
  position: absolute;
  inset: 34px 18px 18px;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(181, 229, 188, 0.76), rgba(235, 244, 209, 0.72) 40%, rgba(154, 210, 250, 0.8) 40%, rgba(154, 210, 250, 0.8) 64%, rgba(245, 229, 255, 0.82) 64%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(243, 245, 255, 0.9));
  overflow: hidden;
}

.landing-phone-map::before {
  content: "";
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.56) 18% 22%, transparent 22% 46%, rgba(255, 255, 255, 0.48) 46% 50%, transparent 50% 100%),
    linear-gradient(180deg, transparent 0 24%, rgba(255, 255, 255, 0.54) 24% 28%, transparent 28% 54%, rgba(255, 255, 255, 0.44) 54% 58%, transparent 58% 100%);
  opacity: 0.7;
}

.landing-phone-map::after {
  content: "";
  position: absolute;
  inset: auto 16px 14px 16px;
  height: 86px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(247, 244, 255, 0.72));
  box-shadow: 0 10px 20px rgba(96, 113, 192, 0.08);
}

.landing-route {
  position: absolute;
  inset: 108px 50px 118px 96px;
  border-right: 3px dashed #ff8c52;
  border-bottom: 3px dashed #3d7bff;
  border-radius: 0 0 36px 0;
  z-index: 2;
}

.landing-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 10px 18px rgba(27, 55, 104, 0.16);
}

.landing-pin::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.pin-a {
  top: 102px;
  right: 84px;
  background: #f28b42;
}

.pin-b {
  top: 184px;
  right: 150px;
  background: #56b76d;
}

.pin-c {
  top: 268px;
  right: 74px;
  background: #2a7cff;
}

.landing-phone-sheet {
  position: absolute;
  inset: 52px 24px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(10px);
  box-shadow: 0 12px 28px rgba(92, 108, 180, 0.14);
  padding: 18px 16px;
}

.landing-phone-sheet-head {
  width: 44%;
  height: 10px;
  border-radius: 999px;
  background: #d7ddf7;
}

.landing-phone-sheet-line {
  margin-top: 12px;
  height: 9px;
  border-radius: 999px;
  background: #dfe4f8;
}

.landing-phone-sheet-line.wide {
  margin-top: 18px;
  width: 82%;
}

.landing-phone-sheet-grid {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.landing-phone-sheet-grid span {
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(180deg, #eceffc, #dce4fb);
}

.landing-phone-sheet-cta {
  margin-top: 16px;
  min-height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.landing-floating-card {
  position: absolute;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(226, 230, 248, 0.94);
  box-shadow: 0 16px 30px rgba(91, 106, 180, 0.1);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.landing-floating-eyebrow {
  color: #837fb7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-floating-card.card-route {
  left: 5%;
  top: 122px;
  width: 244px;
  padding: 18px 18px 20px;
  z-index: 5;
}

.landing-floating-card.card-route strong {
  display: block;
  margin-top: 8px;
  color: #2c3f74;
  font-size: 28px;
}

.landing-floating-card.card-route p,
.landing-floating-card.card-route span {
  display: block;
  margin-top: 6px;
  color: #65789f;
  line-height: 1.6;
}

.landing-floating-card.card-mini {
  right: 18%;
  bottom: 36px;
  width: 244px;
  padding: 16px 18px;
  z-index: 5;
}

.landing-floating-card.card-mini p {
  margin: 8px 0 0;
  color: #61749b;
  line-height: 1.6;
}

.landing-section {
  padding: 28px 28px 24px;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(245, 244, 255, 0.72));
}

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

.landing-section-head h2 {
  margin: 0;
  color: #314378;
  font-size: 28px;
  line-height: 1.2;
}

.landing-section-head p {
  margin: 0;
  max-width: 720px;
  color: #6b78a0;
  font-size: 15px;
  line-height: 1.7;
}

.landing-card-grid {
  margin-top: 18px;
  display: grid;
  gap: 20px;
}

.landing-destination-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-destination-card {
  display: grid;
  grid-template-rows: 216px 1fr;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(223, 228, 247, 0.94);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 247, 255, 0.94));
  box-shadow: 0 14px 28px rgba(92, 108, 180, 0.08);
  cursor: default;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-destination-card:hover,
.landing-destination-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(94, 111, 184, 0.12);
  border-color: rgba(184, 193, 238, 0.98);
  outline: none;
}

.landing-destination-media {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: saturate(1.06) brightness(1.05);
}

.landing-destination-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.06) brightness(1.05);
}

.landing-destination-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(114, 116, 196, 0.14)),
    radial-gradient(circle at 78% 22%, rgba(255, 216, 196, 0.22), transparent 24%);
}

.landing-destination-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 18px 20px;
}

.landing-destination-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.landing-destination-head h3 {
  margin: 0;
  color: #2f4379;
  font-size: 28px;
  line-height: 1.08;
}

.landing-destination-meta {
  margin-top: 9px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  color: #6b78a0;
  font-size: 14px;
  font-weight: 700;
}

.landing-destination-meta span + span::before {
  content: "·";
  margin-right: 10px;
  color: #9fb1ca;
}

.landing-destination-action {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6a73e4;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.landing-destination-action::after {
  content: "";
}

.landing-destination-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.landing-destination-tag {
  min-height: 28px;
  padding: 0 11px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: linear-gradient(180deg, #f4f2ff, #edf3ff);
  color: #6a78a1;
  font-size: 12px;
  font-weight: 700;
}

.landing-destination-summary {
  display: grid;
  gap: 10px;
  color: #5c6e96;
  font-size: 14px;
  line-height: 1.6;
}

.landing-destination-summary p {
  margin: 0;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, #faf8ff, #f4f7ff);
  border: 1px solid rgba(227, 232, 247, 0.94);
}

.landing-feature-grid {
  margin-top: 18px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.landing-feature-card {
  border-radius: 22px;
  border: 1px solid rgba(224, 228, 247, 0.92);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(246, 244, 255, 0.82));
  padding: 24px 20px;
  box-shadow: 0 10px 24px rgba(91, 107, 179, 0.06);
}

.landing-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f2edff, #eef5ff);
  color: #7168cf;
  font-weight: 800;
}

.landing-feature-card h3 {
  margin: 14px 0 8px;
  color: #334678;
  font-size: 20px;
}

.landing-feature-card p {
  margin: 0;
  color: #69789a;
  line-height: 1.7;
}

.landing-footer {
  min-height: 96px;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(246, 243, 255, 0.8));
}

.landing-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.landing-panel {
  padding: 38px 28px 30px;
  text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.58));
  border-color: #d9cebe;
}

.landing-badge {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  color: #5d7e1d;
  border: 1px solid #d4dfbf;
  background: #f4fae8;
}

.landing-title {
  margin: 14px 0 12px;
  font-size: clamp(42px, 6vw, 70px);
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.landing-title span {
  color: #709728;
}

.landing-subtitle {
  margin: 0 auto;
  max-width: 760px;
  color: #5b6577;
  font-size: 17px;
}

.prompt-shell {
  max-width: 860px;
  margin: 26px auto 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid #dacfbf;
  border-radius: 24px;
  padding: 18px 18px 14px;
  box-shadow: 0 24px 42px rgba(32, 29, 23, 0.12);
}

.prompt-field {
  margin: 0;
}

.prompt-field textarea {
  min-height: 132px;
  border-radius: 16px;
  border-color: #e0d7c8;
  font-size: 18px;
  line-height: 1.5;
  background: rgba(255, 255, 255, 0.95);
}

.prompt-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.prompt-tip {
  font-size: 12px;
  color: #7b6a4f;
}

.prompt-buttons {
  display: flex;
  gap: 8px;
}

.prompt-generate {
  border-radius: 999px;
  padding-inline: 18px;
  background: linear-gradient(145deg, #709728, #5b7f22) !important;
}

.suggestion-wrap {
  margin-top: 12px;
  text-align: left;
}

.suggestion-wrap h3 {
  margin: 0 0 10px;
  font-size: 14px;
  color: #535d6d;
}

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

.example-tile {
  text-align: left;
  border: 1px solid #d9e4c9;
  background: #f8fbee;
  border-radius: 14px;
  padding: 12px 12px;
  color: #344257;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.example-tile strong {
  display: block;
  margin-bottom: 4px;
  color: #4f6f1a;
  font-size: 14px;
}

.example-tile span {
  font-size: 12px;
  line-height: 1.5;
  color: #5f6b7f;
}

.example-tile:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(44, 56, 24, 0.12);
}

.structured-box {
  margin-top: 14px;
  text-align: left;
  border: 1px dashed #d3c5b1;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 14px;
}

.structured-box h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.benefit-grid {
  margin-top: 14px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  text-align: left;
}

.benefit-item {
  border: 1px solid #e0d6c6;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  padding: 12px;
}

.benefit-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.benefit-item p {
  margin: 0;
  color: #5b6577;
  font-size: 13px;
  line-height: 1.5;
}

.panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.78));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--panel-shadow);
}

.panel.hidden {
  display: none;
}

.hidden {
  display: none !important;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(228, 234, 255, 0.48);
  backdrop-filter: blur(8px);
}

.loading-overlay-card {
  min-width: min(360px, 92vw);
  padding: 24px 24px 22px;
  border-radius: 24px;
  border: 1px solid rgba(214, 221, 247, 0.96);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 36px rgba(85, 97, 160, 0.16);
  display: grid;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.loading-overlay-card p {
  margin: 0;
  color: #41557f;
  font-size: 15px;
  font-weight: 700;
}

.loading-skeleton-lines {
  width: min(260px, 72vw);
  display: grid;
  gap: 10px;
}

.loading-skeleton-lines span {
  display: block;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(224, 230, 255, 0.9) 25%, rgba(241, 244, 255, 1) 50%, rgba(224, 230, 255, 0.9) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.loading-skeleton-lines span:nth-child(2) {
  width: 82%;
}

.loading-skeleton-lines span:nth-child(3) {
  width: 64%;
}

.loading-spinner {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 3px solid rgba(148, 163, 255, 0.24);
  border-top-color: #4f6ef7;
  animation: spin 0.8s linear infinite;
}

.toast-stack {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 2100;
  display: grid;
  gap: 10px;
  pointer-events: none;
}

.toast {
  min-width: min(360px, calc(100vw - 32px));
  max-width: 420px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(217, 223, 247, 0.94);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(85, 98, 160, 0.14);
  color: #334872;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast-error {
  border-color: rgba(245, 190, 190, 0.96);
  color: #9f1f2f;
}

.toast-success {
  border-color: rgba(180, 234, 205, 0.96);
  color: #156a4c;
}

.toast-info {
  border-color: rgba(203, 217, 255, 0.96);
  color: #35548e;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.panel h2 {
  margin: 0 0 6px;
  font-family: var(--font-display);
}

.form-home-panel {
  padding: 14px 14px 16px;
}

.input-topbar {
  display: none;
}

.home-top-nav {
  padding: 2px 2px 10px;
  margin-bottom: 4px;
  border-bottom: 1px solid #d8deea;
  align-items: flex-start;
  width: calc(100vw - 40px);
  margin-left: calc(50% - 50vw + 20px);
  margin-right: calc(50% - 50vw + 20px);
  padding-left: 20px;
  padding-right: 20px;
}

.home-top-nav .result-logo-btn {
  flex: 0 0 auto;
}

.home-top-nav .result-nav-links {
  margin-left: 16px;
  gap: 36px;
  align-self: center;
}

.home-top-nav .result-nav-search {
  margin-left: auto;
  align-self: center;
}

.home-hero {
  text-align: center;
  margin: 6px 0 14px;
}

.planner-prompt-shell {
  max-width: 980px;
  margin: 0 auto 12px;
  padding: 18px 18px 16px;
  border-radius: 28px;
  border: 1px solid rgba(214, 207, 200, 0.42);
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.46), rgba(248, 244, 238, 0.24));
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(95, 97, 130, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.planner-prompt-label {
  display: inline-block;
  margin-bottom: 10px;
  color: #394355;
  font-size: 14px;
  font-weight: 700;
}

.planner-prompt-shell textarea {
  min-height: 104px;
  border: 1px solid rgba(190, 202, 205, 0.56);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.42);
  color: #1d2533;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
  font-size: 16px;
  line-height: 1.7;
  resize: vertical;
}

.planner-prompt-shell textarea::placeholder {
  color: #7a8392;
}

.home-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.1vw, 36px);
  line-height: 1.25;
  color: #142033;
  font-weight: 800;
}

.home-hero-subtitle {
  margin: 8px 0 0;
  font-size: clamp(14px, 1.8vw, 18px);
  line-height: 1.45;
  color: #5b6577;
  font-weight: 500;
}

.form-home-panel .structured-box {
  margin-top: 0;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.form-home-panel .actions {
  margin-top: 10px;
}

.panel-desc {
  margin-top: 0;
  color: var(--ink-light);
}

.grid {
  display: grid;
  gap: 12px;
}

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

.three-col {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.label-title,
label {
  font-size: 14px;
  color: var(--ink-light);
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 12px;
  background: #ffffff;
  padding: 10px 12px;
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
textarea:focus,
button:focus {
  outline: 2px solid rgba(15, 118, 110, 0.25);
  outline-offset: 1px;
}

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

.chip {
  border: 1px solid #bddbd7;
  background: #effaf8;
  color: #0f625d;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.chip.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.chip:hover {
  transform: translateY(-1px);
}

.input-assist {
  border: 1px solid #f3cf96;
  background: #fff7e8;
  color: #9a5b00;
  border-radius: 12px;
  padding: 10px 12px;
  margin: 10px 0 12px;
  font-size: 13px;
}

.field-group.missing-field label {
  color: #b42318;
  font-weight: 700;
}

.field-group.missing-field input,
.field-group.missing-field textarea,
.field-group.missing-field select {
  border-color: #e98b8b;
  box-shadow: inset 0 0 0 1px rgba(185, 28, 28, 0.08);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.actions.compact {
  margin-top: 0;
}

.btn {
  background: #e8f6f4;
  color: #0a5d56;
  border: 1px solid #b7ddd8;
  border-radius: 10px;
  padding: 9px 13px;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}

.btn.primary {
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  color: #fff;
  border-color: transparent;
}

.btn.ghost {
  background: transparent;
}

.btn.warn {
  background: #ffe9e9;
  color: var(--warn);
  border-color: #f6c2c2;
}

.btn.small {
  padding: 7px 10px;
  font-size: 13px;
}

.btn.tiny {
  padding: 5px 8px;
  font-size: 12px;
}

.persona-box {
  display: grid;
  gap: 8px;
}

.persona-recognition {
  display: grid;
  gap: 6px;
  padding: 10px 12px;
  border: 1px solid #d9e4f2;
  border-radius: 12px;
  background: #f7fbff;
}

.persona-recognition-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.persona-recognition-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.persona-recognition-badge.is-llm {
  background: #e8f8ef;
  border-color: #b9e2c9;
  color: #166534;
}

.persona-recognition-badge.is-rule {
  background: #fff4e8;
  border-color: #f4cfaa;
  color: #b45309;
}

.persona-recognition-badge.is-unknown {
  background: #eff3f8;
  border-color: #cfd7e3;
  color: #516173;
}

.persona-recognition-note {
  color: var(--ink-light);
  font-size: 13px;
  line-height: 1.5;
}

.result-intent-recognition {
  margin-top: 10px;
}

.persona-pill {
  display: inline-block;
  background: #f0f5ff;
  color: #304770;
  border: 1px solid #c7d5ee;
  border-radius: 999px;
  font-size: 12px;
  padding: 6px 9px;
  margin-right: 6px;
}

.plan-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.plan-card {
  border: 1px solid #ced6e2;
  border-radius: 14px;
  padding: 12px;
  background: #fff;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
}

.plan-card.active {
  border-color: var(--brand);
  box-shadow: 0 8px 18px rgba(15, 118, 110, 0.14);
}

.plan-card h4 {
  margin: 0 0 8px;
}

.plan-card p {
  margin: 4px 0;
  color: var(--ink-light);
  font-size: 13px;
}

.subpanel {
  border: 1px solid #d9dde6;
  border-radius: 14px;
  padding: 12px;
  background: #ffffff;
}

.subpanel h3 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 16px;
}

.timeline-day {
  margin-bottom: 12px;
}

.timeline-day h4 {
  margin: 0 0 8px;
  font-size: 14px;
  color: #374151;
}

.timeline-item {
  border: 1px solid #d9dde6;
  background: #fcfdff;
  border-radius: 10px;
  padding: 10px;
  margin-bottom: 8px;
}

.spot-media {
  margin: -2px -2px 8px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8f1, #eef4da);
  border: 1px solid #d4dde6;
}

.spot-image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.timeline-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-weight: 700;
}

.timeline-item p {
  margin: 6px 0;
  font-size: 13px;
  color: #4b5563;
}

.route-details {
  margin: 4px 0 6px;
  font-size: 12px;
  color: #51607a;
  line-height: 1.5;
}

.route-warning {
  color: #b42318;
  font-weight: 600;
}

.tip {
  color: var(--sun);
}

.booking-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 6px 0;
}

.booking-links a {
  color: #065f46;
  text-decoration: none;
  font-size: 12px;
  border: 1px solid #a9d7ca;
  border-radius: 999px;
  padding: 4px 8px;
  background: #ecfdf5;
}

.node-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.replace-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.transport-row {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.transport-row .transport-select {
  flex: 1;
  min-width: 160px;
  padding: 6px 8px;
  font-size: 12px;
}

.replace-row .replace-select {
  flex: 1;
  min-width: 160px;
  padding: 6px 8px;
  font-size: 12px;
}

.budget-box {
  border: 1px solid #d5e5de;
  background: #f6fffb;
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 8px;
}

.budget-box.over {
  background: #fff2f2;
  border-color: #f3c1c1;
}

.budget-tips {
  font-size: 13px;
  color: #4b5563;
}

.vote-row {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 8px;
}

.comment-box {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.comment-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #4b5563;
}

.live-alert,
.support-output,
#memoryOutput,
#feedbackOutput,
#ledger {
  border: 1px dashed #c9d4e4;
  background: #f9fbff;
  border-radius: 10px;
  padding: 10px;
  min-height: 44px;
  color: #374151;
  margin-top: 8px;
}

@media (max-width: 900px) {
  .top-nav-inner {
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 2px;
  }

  .landing-panel {
    padding: 26px 16px 20px;
  }

  .landing-title {
    font-size: clamp(34px, 10vw, 46px);
  }

  .prompt-foot {
    flex-direction: column;
    align-items: stretch;
  }

  .prompt-buttons {
    justify-content: flex-end;
  }

  .suggestion-grid,
  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .two-col,
  .three-col,
  .plan-cards {
    grid-template-columns: 1fr;
  }

  .comment-box {
    flex-direction: column;
  }
}

/* Home redesign */
.home-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  overflow: hidden;
}

.canvas-blob {
  position: absolute;
  border-radius: 52% 48% 40% 60% / 44% 57% 43% 56%;
  filter: blur(0.5px);
  opacity: 0.88;
}

.blob-a {
  width: 520px;
  height: 340px;
  top: -60px;
  left: -110px;
  background: radial-gradient(circle at 40% 30%, rgba(156, 190, 166, 0.64), rgba(120, 160, 136, 0.38) 58%, rgba(112, 151, 92, 0.18));
  transform: rotate(-12deg);
}

.blob-b {
  width: 460px;
  height: 310px;
  top: 30px;
  right: -120px;
  background: radial-gradient(circle at 60% 35%, rgba(236, 196, 117, 0.58), rgba(212, 154, 92, 0.3) 62%, rgba(212, 154, 92, 0.08));
  transform: rotate(18deg);
}

.blob-c {
  width: 520px;
  height: 350px;
  bottom: -120px;
  left: -150px;
  background: radial-gradient(circle at 54% 45%, rgba(165, 199, 183, 0.45), rgba(129, 168, 151, 0.22) 64%, rgba(129, 168, 151, 0.1));
  transform: rotate(16deg);
}

.blob-d {
  width: 540px;
  height: 360px;
  bottom: -140px;
  right: -130px;
  background: radial-gradient(circle at 44% 40%, rgba(233, 163, 127, 0.56), rgba(212, 126, 89, 0.26) 62%, rgba(212, 126, 89, 0.08));
  transform: rotate(-8deg);
}

.canvas-dots {
  position: absolute;
  width: 150px;
  height: 150px;
  opacity: 0.66;
  background-image: radial-gradient(circle, rgba(209, 158, 75, 0.72) 2.4px, transparent 2.6px);
  background-size: 18px 18px;
}

.dots-a {
  top: 34px;
  left: 28px;
}

.dots-b {
  right: 26px;
  top: 40px;
}

.canvas-stroke {
  position: absolute;
  border: 3px solid rgba(32, 67, 86, 0.75);
  border-color: rgba(32, 67, 86, 0.7) transparent transparent transparent;
  border-radius: 50%;
}

.stroke-a {
  width: 420px;
  height: 210px;
  top: 58px;
  right: 12%;
  transform: rotate(-7deg);
}

.stroke-b {
  width: 460px;
  height: 250px;
  bottom: 26px;
  left: 8%;
  transform: rotate(11deg);
}

.form-home-panel {
  padding: 20px 18px 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.home-hero {
  text-align: center;
  margin: 2px 0 12px;
}

.home-hero-title {
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(26px, 3.2vw, 44px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: #12161f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.home-hero-subtitle {
  margin: 8px 0 0;
  font-size: clamp(14px, 1.8vw, 18px);
  color: #4f5668;
  font-weight: 500;
}

.hero-form-shell {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
  border: 0;
  padding: 0;
  background: transparent;
}

.hero-group {
  padding: 14px 16px 4px;
  border-radius: 30px;
  border: 1px solid rgba(214, 207, 200, 0.42);
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.42), rgba(248, 244, 238, 0.2));
  backdrop-filter: blur(8px);
  box-shadow: 0 10px 22px rgba(95, 97, 130, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.hero-group-main {
  border-radius: 28px;
}

.hero-group-tags {
  border-radius: 34px;
}

.hero-group-extra {
  border-radius: 30px;
}

.form-home-panel .field-group {
  margin-bottom: 10px;
}

.form-home-panel .label-title,
.form-home-panel label {
  color: #394355;
  font-size: 13px;
}

.form-home-panel input,
.form-home-panel textarea,
.form-home-panel select {
  border: 1px solid rgba(190, 202, 205, 0.54);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.38);
  color: #1d2533;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.46);
}

.form-home-panel input::placeholder,
.form-home-panel textarea::placeholder {
  color: #7a8392;
}

.form-home-panel .chip {
  border-color: rgba(138, 186, 176, 0.78);
  background: linear-gradient(180deg, rgba(231, 248, 243, 0.9), rgba(220, 240, 234, 0.78));
  color: #206c63;
  font-size: 13px;
  padding: 7px 12px;
}

.form-home-panel .chip.active {
  color: #fff;
  border-color: rgba(16, 119, 107, 0.95);
  background: linear-gradient(145deg, #148a7d, #0f7268);
  box-shadow: 0 6px 14px rgba(14, 105, 94, 0.3);
}

.form-home-panel .chip:hover {
  transform: translateY(-1px);
}

.form-home-panel .input-assist {
  max-width: 980px;
  margin: 8px auto 12px;
  border: 1px solid rgba(244, 176, 90, 0.52);
  background: rgba(255, 247, 231, 0.92);
}

.home-actions {
  justify-content: center;
  margin-top: 10px;
}

.home-actions .btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.home-actions .btn.primary {
  border: 1px solid rgba(27, 148, 146, 0.85);
  background: linear-gradient(145deg, #28a6a4, #177e8a);
  box-shadow: 0 10px 18px rgba(22, 109, 115, 0.32);
}

.home-actions .btn.ghost {
  border: 1px solid rgba(177, 187, 195, 0.95);
  background: rgba(255, 255, 255, 0.64);
  color: #445065;
}

@media (max-width: 980px) {
  .form-home-panel {
    padding: 12px 6px 12px;
  }

  .hero-group {
    border-radius: 22px;
    padding: 12px 12px 4px;
  }

  .stroke-a,
  .stroke-b {
    display: none;
  }

  .canvas-dots {
    opacity: 0.45;
  }
}

@media (max-width: 680px) {
  .home-hero-title {
    font-size: clamp(24px, 7.8vw, 34px);
  }

  .home-hero-subtitle {
    font-size: 14px;
  }

  .home-actions {
    justify-content: stretch;
  }

  .home-actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* Generated result page */
body.result-mode {
  background: linear-gradient(180deg, #f4f6fb, #eff2f8 50%, #edf1f7);
}

body.community-mode .layout {
  max-width: 1240px;
  margin-top: 8px;
}

body.result-mode .home-canvas,
body.result-mode .bg-orb {
  display: none;
}

body.result-mode .layout {
  max-width: none;
  margin-top: 8px;
  margin-left: max(20px, calc((100vw - 1660px) / 2));
  margin-right: 20px;
}

.result-page {
  --result-sidebar-reserved-width: 420px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding-right: var(--result-sidebar-reserved-width);
}

.result-page > .result-nav,
.result-page > .result-hero,
.result-page > .result-save-strip {
  grid-column: 1 / -1;
}

.result-page > .result-nav {
  display: none;
}

.result-page > .result-day-tabs,
.result-page > .result-day-head,
.result-page > .result-timeline,
.result-page > .result-supplement-panel {
  grid-column: 1;
  min-width: 0;
  width: 100%;
}

.result-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 10px 2px 2px;
}

.result-logo-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  text-align: left;
  color: #ed138f;
  padding: 0;
  gap: 12px;
}

.result-logo {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 0.9;
  letter-spacing: 0.03em;
  font-weight: 800;
}

.result-logo-sub {
  font-size: 16px;
  color: #ea1793;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-left: 4px;
}

.result-nav-links {
  display: flex;
  gap: 48px;
  margin-left: 24px;
}

.result-nav-links a {
  color: #132b4f;
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

.result-nav-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.result-nav-search input {
  width: 340px;
  border-radius: 999px;
  border: 2px solid #b9c6d8;
  background: #f7f9fc;
  padding: 12px 18px;
}

.result-login-link {
  color: #1e4e8f;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
}

.result-float-panel {
  background: #ffffff;
  border: 1px solid #d7dfeb;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 12px 24px rgba(10, 37, 72, 0.08);
}

.result-float-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.result-float-head h3 {
  margin: 0;
  font-size: 28px;
  color: #113761;
}

.result-float-head p {
  margin: 6px 0 0;
  color: #476083;
}

.home-hot-section {
  margin-top: 6px;
  padding: 28px 28px 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.64));
  border-color: rgba(210, 219, 231, 0.9);
}

.home-hot-section .result-float-head {
  display: grid;
  justify-content: center;
  text-align: center;
  margin-bottom: 18px;
}

.home-hot-section .result-float-head h3 {
  font-size: 30px;
}

.home-hot-section .result-float-head p {
  max-width: 620px;
}

.my-trips-page {
  display: grid;
  gap: 32px;
}

.my-trips-shell {
  padding: 30px 28px 34px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.7));
  border-radius: 24px;
  border: 1px solid rgba(223, 226, 247, 0.92);
  box-shadow: 0 14px 34px rgba(88, 105, 179, 0.08);
  backdrop-filter: blur(12px);
}

.my-trips-head {
  margin-bottom: 18px;
}

.my-trips-list {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.my-trip-card {
  border-radius: 22px;
  border: 1px solid rgba(198, 211, 228, 0.95);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 24px rgba(14, 38, 72, 0.08);
  padding: 18px 18px 16px;
  display: grid;
  gap: 14px;
}

.my-trip-card-rich {
  display: flex;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.my-trip-card-image {
  width: 220px;
  min-height: 180px;
  flex-shrink: 0;
  overflow: hidden;
}

.my-trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.my-trip-card-image-placeholder {
  background: linear-gradient(135deg, #5b8fb9 0%, #3d6a8e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.my-trip-card-image-placeholder span {
  font-size: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.my-trip-card-body {
  flex: 1;
  padding: 18px 22px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.my-trip-card-overview {
  margin: 0;
  color: #60718d;
  font-size: 13.5px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.my-trip-card-meta span + span::before {
  content: " · ";
  color: #a0b0c4;
}

@media (max-width: 700px) {
  .my-trip-card-rich {
    flex-direction: column;
  }
  .my-trip-card-image {
    width: 100%;
    min-height: 140px;
    max-height: 180px;
  }
}

.my-trip-card-skeleton {
  pointer-events: none;
}

.my-trip-skeleton-line,
.my-trip-skeleton-chip {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230, 236, 249, 0.9) 25%, rgba(243, 246, 255, 0.96) 50%, rgba(230, 236, 249, 0.9) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.my-trip-skeleton-line.title {
  width: 74%;
  height: 32px;
}

.my-trip-skeleton-line.subtitle {
  width: 30%;
  height: 18px;
}

.my-trip-skeleton-line.meta {
  width: 44%;
  height: 20px;
}

.my-trip-skeleton-chip {
  width: 92px;
  height: 34px;
}

.my-trip-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.my-trip-card-head h3 {
  margin: 0;
  color: #143761;
  font-size: 24px;
}

.my-trip-card-head p,
.my-trip-card-meta,
.my-trips-empty p {
  margin: 0;
  color: #60718d;
}

.my-trip-card-actions {
  display: flex;
  justify-content: flex-start;
}

.my-trip-badge {
  border-radius: 999px;
  background: rgba(32, 145, 104, 0.12);
  color: #15724d;
  border: 1px solid rgba(32, 145, 104, 0.18);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.my-trips-empty {
  border-radius: 22px;
  border: 1px dashed rgba(160, 178, 205, 0.9);
  background: rgba(255, 255, 255, 0.64);
  padding: 24px;
  display: grid;
  gap: 12px;
  justify-items: start;
  margin-bottom: 12px;
}

.clarify-page {
  display: grid;
  place-items: start center;
  min-height: calc(100vh - 90px);
  padding: 34px 18px 52px;
}

.clarify-shell {
  width: min(1080px, 100%);
  padding: 34px;
  border: 1px solid rgba(214, 224, 235, 0.95);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 42px rgba(29, 54, 88, 0.08);
  display: grid;
  gap: 22px;
}

.clarify-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.clarify-kicker,
.clarify-muted,
.clarify-known h3,
.clarify-assumptions,
.clarify-error {
  margin: 0;
}

.clarify-kicker {
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

.clarify-head h2 {
  margin: 4px 0 0;
  color: #172033;
  font-size: 30px;
  line-height: 1.18;
}

.clarify-known {
  display: grid;
  gap: 10px;
}

.clarify-known h3 {
  color: #4a5f78;
  font-size: 15px;
}

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

.clarify-chip {
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.07);
  color: #0d5e58;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 700;
}

.clarify-question-list {
  display: grid;
  gap: 18px;
}

.clarify-dialogue {
  display: grid;
  gap: 16px;
}

.clarify-message {
  max-width: 780px;
  border-radius: 8px;
  padding: 14px 16px;
  line-height: 1.7;
  font-size: 16px;
}

.clarify-message-agent {
  background: rgba(15, 118, 110, 0.08);
  color: #173d3a;
  border: 1px solid rgba(15, 118, 110, 0.18);
}

.clarify-option-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.clarify-option-card {
  display: grid;
  gap: 8px;
  text-align: left;
  border: 1px solid rgba(190, 204, 221, 0.92);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  color: #172033;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.clarify-option-card:hover,
.clarify-option-card.is-selected {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

.clarify-option-card:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.clarify-reply-label {
  color: #1a2430;
  font-weight: 800;
  font-size: 16px;
}

.clarify-reply-input {
  width: 100%;
  min-height: 92px;
  resize: vertical;
  border: 1px solid rgba(145, 163, 184, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 13px 14px;
  font-size: 16px;
  line-height: 1.6;
}

.clarify-reply-input:disabled {
  cursor: wait;
  color: #64748b;
  background: rgba(241, 245, 249, 0.92);
}

.clarify-progress {
  margin: -4px 0 0;
  color: #0f766e;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.clarify-progress[hidden] {
  display: none;
}

.clarify-submit-status {
  color: #0f766e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}

.clarify-submit-status[hidden] {
  display: none;
}

.clarify-question {
  display: grid;
  gap: 10px;
}

.clarify-question label {
  color: #1a2430;
  font-weight: 800;
  font-size: 18px;
}

.clarify-question-intro {
  margin: 0;
  color: #5c6b80;
  line-height: 1.65;
}

.clarify-question input {
  width: 100%;
  border: 1px solid rgba(145, 163, 184, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  padding: 13px 14px;
  font-size: 16px;
}

.clarify-suggestion-section {
  display: grid;
  gap: 12px;
  margin-top: 4px;
}

.clarify-suggestion-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.clarify-suggestion-head strong {
  color: #172033;
  font-size: 16px;
}

.clarify-suggestion-head span {
  color: #66758a;
  font-size: 13px;
}

.clarify-destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.clarify-destination-card {
  display: grid;
  gap: 8px;
  text-align: left;
  border: 1px solid rgba(190, 204, 221, 0.92);
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  color: #172033;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.clarify-destination-card:hover,
.clarify-destination-card.is-selected {
  border-color: rgba(15, 118, 110, 0.55);
  box-shadow: 0 12px 28px rgba(15, 118, 110, 0.12);
  transform: translateY(-1px);
}

.clarify-card-title {
  font-size: 20px;
  font-weight: 900;
}

.clarify-card-subtitle {
  color: #0f766e;
  font-size: 14px;
  font-weight: 800;
}

.clarify-card-desc {
  color: #4e5f75;
  line-height: 1.62;
  font-size: 14px;
}

.clarify-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.clarify-card-tags i {
  font-style: normal;
  border-radius: 999px;
  background: rgba(21, 96, 130, 0.08);
  color: #24475d;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 700;
}

.clarify-date-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.clarify-assumptions {
  padding-left: 18px;
  color: #60718d;
  line-height: 1.7;
}

.clarify-assumptions:empty {
  display: none;
}

.clarify-error {
  min-height: 20px;
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 640px) {
  .clarify-shell {
    padding: 22px 18px;
  }
  .clarify-head,
  .clarify-date-grid {
    grid-template-columns: 1fr;
    display: grid;
  }
  .clarify-destination-grid {
    grid-template-columns: 1fr;
  }
  .clarify-option-list {
    grid-template-columns: 1fr;
  }
  .clarify-suggestion-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

.community-page {
  display: grid;
  gap: 18px;
  padding: 14px 18px 22px;
}

.community-page-nav {
  padding-top: 0;
}

.community-page-intro {
  margin-bottom: 0;
}

.hot-country-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.hot-country-btn {
  border: 1px solid #8db0de;
  border-radius: 999px;
  background: #f4f8ff;
  color: #15539a;
  font-size: 14px;
  font-weight: 700;
  padding: 6px 14px;
  cursor: pointer;
}

.hot-country-btn.active {
  background: #14539b;
  color: #fff;
  border-color: #14539b;
}

.hot-spot-grid {
  display: grid;
  gap: 20px;
}

.hot-spot-card {
  border: 1px solid #d7e1ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(16, 36, 63, 0.06);
}

.hot-spot-card h4 {
  margin: 0;
  color: #173b30;
  font-size: 22px;
}

.hot-spot-card p {
  margin: 10px 0 0;
  color: #55687c;
  font-size: 14px;
  line-height: 1.7;
}

.hot-spot-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.hot-spot-card-button {
  width: 100%;
  min-height: 154px;
  padding: 18px 16px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.hot-spot-card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(16, 36, 63, 0.1);
}

.hot-spot-card-button.active {
  border-color: #3d7fcc;
  box-shadow: 0 18px 32px rgba(28, 83, 148, 0.14);
}

.hot-destination-detail {
  margin-top: 8px;
}

.hot-detail-panel {
  border: 1px solid #d6e0ec;
  border-radius: 22px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(246, 250, 255, 0.92));
  box-shadow: 0 14px 26px rgba(18, 40, 71, 0.07);
}

.hot-detail-head {
  margin-bottom: 18px;
}

.hot-detail-eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #edf4de;
  color: #73942a;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.hot-detail-head h4 {
  margin: 12px 0 0;
  color: #163c67;
  font-size: 30px;
}

.hot-detail-head p {
  margin: 10px 0 0;
  color: #53697f;
  line-height: 1.7;
}

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

.hot-detail-card {
  border: 1px solid #d9e3ef;
  border-radius: 18px;
  padding: 18px 18px 14px;
  background: #fff;
}

.hot-detail-card h5 {
  margin: 0 0 12px;
  color: #1d416b;
  font-size: 18px;
}

.hot-detail-card ul {
  margin: 0;
  padding-left: 18px;
  color: #4d647c;
  line-height: 1.8;
}

.hot-detail-card li + li {
  margin-top: 4px;
}

.hot-spot-card-button,
.hot-detail-card,
.hot-detail-panel {
  font-family: inherit;
}

.hot-spot-card-button {
  cursor: pointer;
}

.community-auth-hint {
  border-radius: 10px;
  background: #eef6ff;
  color: #164174;
  font-size: 14px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.community-create {
  border: 1px solid #d7dfeb;
  border-radius: 14px;
  padding: 12px;
  background: #f9fbff;
}

.community-form-row {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 170px 170px;
  margin-bottom: 8px;
}

.community-form-row input,
.community-create textarea {
  border: 1px solid #c8d5e7;
  border-radius: 10px;
  padding: 9px 11px;
  font-size: 14px;
}

.community-form-row:last-of-type {
  grid-template-columns: 1fr 120px;
}

.community-checkbox {
  border: 1px solid #c8d5e7;
  border-radius: 10px;
  background: #fff;
  color: #113b69;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.community-feed {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.community-item {
  border: 1px solid #d5deea;
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
}

.community-item-skeleton {
  pointer-events: none;
}

.community-skeleton-line,
.community-skeleton-chip {
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(230, 236, 249, 0.9) 25%, rgba(243, 246, 255, 0.96) 50%, rgba(230, 236, 249, 0.9) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

.community-skeleton-line.title {
  width: 58%;
  height: 24px;
  margin-bottom: 10px;
}

.community-skeleton-line.meta {
  width: 38%;
  height: 14px;
  margin-bottom: 10px;
}

.community-skeleton-line.content {
  width: 100%;
  height: 16px;
  margin-bottom: 8px;
}

.community-skeleton-line.content.short {
  width: 72%;
}

.community-skeleton-actions {
  margin-top: 12px;
  display: flex;
  gap: 8px;
}

.community-skeleton-chip {
  width: 72px;
  height: 28px;
}

.community-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.community-item-title {
  margin: 0;
  font-size: 19px;
  color: #0d355f;
}

.community-item-meta {
  color: #4e6484;
  font-size: 13px;
}

.community-item-content {
  margin: 4px 0;
  color: #283d5d;
  line-height: 1.6;
}

.community-item-actions {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(9, 25, 44, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.auth-dialog {
  width: min(420px, 94vw);
  border-radius: 18px;
  border: 1px solid #d8dfeb;
  background: #fff;
  box-shadow: 0 18px 40px rgba(6, 26, 52, 0.26);
  padding: 14px;
}

.auth-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.auth-head h3 {
  margin: 0;
  font-size: 24px;
  color: #113a67;
}

.auth-tabs {
  display: flex;
  gap: 8px;
  margin: 10px 0 8px;
}

.auth-tab {
  border: 1px solid #9cb9df;
  border-radius: 999px;
  padding: 6px 12px;
  background: #f7f9ff;
  color: #21518f;
  font-weight: 700;
  cursor: pointer;
}

.auth-tab.active {
  background: #15539a;
  color: #fff;
  border-color: #15539a;
}

.auth-form {
  display: grid;
  gap: 9px;
}

.auth-form label {
  display: grid;
  gap: 4px;
  color: #2a4568;
  font-size: 14px;
}

.auth-inline-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.auth-inline-field label {
  margin: 0;
}

.auth-form input {
  border: 1px solid #c8d6e9;
  border-radius: 10px;
  padding: 10px;
}

.auth-forgot-link {
  font-size: 13px;
  color: #5b7ee5;
  text-align: right;
  cursor: pointer;
  text-decoration: none;
}

.auth-forgot-link:hover {
  text-decoration: underline;
}

.auth-tabs-disabled .auth-tab {
  opacity: 0.7;
}

.auth-provider-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  color: #6b819b;
  font-size: 12px;
}

.auth-provider-divider::before,
.auth-provider-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(165, 185, 214, 0), rgba(165, 185, 214, 0.9), rgba(165, 185, 214, 0));
}

.auth-provider-actions {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 12px;
}

.auth-provider-btn {
  border: 1px solid #c6d7ec;
  border-radius: 12px;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.96), rgba(240, 246, 255, 0.96));
  color: #204e87;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.auth-provider-btn:hover:not([disabled]) {
  transform: translateY(-1px);
  border-color: #8eb0de;
  box-shadow: 0 12px 24px rgba(14, 42, 76, 0.08);
}

.auth-provider-btn[disabled] {
  cursor: not-allowed;
  opacity: 0.62;
}

.auth-provider-hint {
  margin-top: 10px;
  color: #60758e;
  font-size: 13px;
  line-height: 1.6;
}

.auth-message {
  margin-top: 9px;
  color: #1b4f8f;
  font-size: 14px;
}

.result-hero {
  border-radius: 24px;
  min-height: 470px;
  background-position: center;
  background-size: cover;
  padding: 48px 42px 40px;
  box-shadow: 0 18px 32px rgba(8, 27, 53, 0.22);
}

.result-hero.result-hero-skeleton {
  background:
    linear-gradient(180deg, rgba(219, 226, 236, 0.92), rgba(238, 242, 248, 0.98)),
    linear-gradient(90deg, rgba(226, 232, 240, 0.88) 25%, rgba(243, 246, 250, 0.98) 50%, rgba(226, 232, 240, 0.88) 75%);
  background-size: cover, 200% 100%;
  animation: shimmer 1.5s infinite;
}

.skeleton-cancel-btn {
  display: block;
  margin: 18px auto 0;
  padding: 10px 32px;
  border-radius: 10px;
  border: 1px solid #c8d6e9;
  background: rgba(255, 255, 255, 0.85);
  color: #445786;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.skeleton-cancel-btn:hover {
  background: #fff;
  color: #d63031;
  border-color: #d63031;
}

.result-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
}

.result-hero h2 {
  margin: 0;
  font-size: clamp(42px, 5.2vw, 82px);
  line-height: 1.1;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.34);
}

.result-hero p {
  margin: 16px 0 0;
  font-size: clamp(18px, 1.8vw, 30px);
  line-height: 1.6;
}

.result-meta-pills {
  margin-top: 26px;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
}

.result-meta-pills span {
  min-width: 180px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 20px;
  background: rgba(255, 255, 255, 0.18);
  border-right: 1px solid rgba(255, 255, 255, 0.44);
}

.result-meta-pills span:last-child {
  border-right: 0;
}

.result-info-grid {
  margin-top: 0;
  display: grid;
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: 1fr;
  gap: 12px;
  align-self: start;
  position: fixed;
  top: 124px;
  right: 36px;
  width: 376px;
  z-index: 20;
  transform: translate3d(0, calc(var(--result-sidebar-shift, 0px) * -1), 0);
  will-change: transform;
}

.result-shell {
  margin-top: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: start;
}

.result-main-column {
  min-width: 0;
  display: grid;
  gap: 18px;
}

.result-side-column {
  min-width: 0;
}

.result-side-column .result-info-grid {
  margin-top: 0;
  grid-template-columns: 1fr;
  position: fixed;
  top: 124px;
}

.result-info-card {
  background: #ffffff;
  border: 1px solid #d8dfeb;
  border-radius: 18px;
  padding: 14px 16px;
  box-shadow: 0 10px 22px rgba(18, 42, 74, 0.08);
}

.result-info-card h4 {
  margin: 0 0 10px;
  color: #0b4d92;
  font-size: 24px;
  font-family: var(--font-display);
}

.result-info-card p {
  margin: 0;
  color: #102846;
  font-weight: 700;
  font-size: 19px;
}

.result-info-card small {
  display: block;
  margin-top: 6px;
  color: #4f6079;
  font-size: 15px;
  line-height: 1.5;
}

.result-copy-source-row {
  margin-top: 8px;
}

.result-copy-source-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
  border: 1px solid transparent;
}

.result-copy-source-badge.is-llm {
  color: #0b4d92;
  background: #eef6ff;
  border-color: #bfd6f3;
}

.result-copy-source-badge.is-fallback {
  color: #7a4b12;
  background: #fff5e8;
  border-color: #f0d1a7;
}

/* Enrichment loading placeholder (shimmer) */
.result-reason-placeholder {
  display: grid;
  gap: 8px;
  padding: 4px 0;
}

.result-reason-placeholder span {
  display: block;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(224, 230, 255, 0.9) 25%, rgba(241, 244, 255, 1) 50%, rgba(224, 230, 255, 0.9) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s ease-in-out infinite;
}

.result-reason-placeholder span:nth-child(1) { width: 95%; }
.result-reason-placeholder span:nth-child(2) { width: 80%; }
.result-reason-placeholder span:nth-child(3) { width: 60%; }

/* Fade transition for enrichment content swap */
.result-item-reason,
.result-copy-source-row {
  transition: opacity 0.35s ease-out;
}

.result-content-fading {
  opacity: 0;
}

.result-info-card-budget {
  background: linear-gradient(180deg, #fffdf8 0%, #f7fbff 100%);
}

.result-budget-mini-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.result-budget-mini-item {
  display: grid;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid #d6e1ef;
  background: #f5f9ff;
}

.result-budget-mini-item span {
  color: #5a6e8a;
  font-size: 12px;
  font-weight: 700;
}

.result-budget-mini-item strong {
  color: #123b71;
  font-size: 18px;
  line-height: 1.2;
}

.result-budget-mini-breakdown {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 4px;
}

.result-budget-mini-breakdown li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #4f6079;
  font-size: 13px;
}

.result-budget-mini-breakdown strong {
  color: #123b71;
}

.result-food-chip-row {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.result-food-chip {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.4;
  color: #184a84;
  border: 1px solid #bfd2eb;
  background: #f2f7ff;
}

.result-lodging-list {
  margin-top: 8px;
  display: grid;
  gap: 6px;
}

.result-lodging-option {
  border: 1px solid #d5deeb;
  border-radius: 12px;
  background: #f8fbff;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 5px;
}

.result-lodging-option-hidden {
  display: none;
}

.result-lodging-cover {
  width: 54px;
  height: 54px;
  border-radius: 9px;
  object-fit: cover;
  background: #eaf0f9;
}

.result-lodging-main {
  min-width: 0;
}

.result-lodging-name {
  color: #163e70;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.result-lodging-source {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  background: #f7e9f0;
  color: #c2186a;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.result-item-ticket-source {
  margin: 6px 0 0;
  color: #8b4a13;
  font-size: 13px;
  line-height: 1.35;
}

.result-item-ticket-source span {
  display: inline-flex;
  margin-right: 7px;
  padding: 2px 7px;
  border-radius: 999px;
  background: #f7e9f0;
  color: #c2186a;
  font-size: 12px;
  font-weight: 700;
}

.result-lodging-meta {
  margin-top: 2px;
  color: #496289;
  font-size: 12px;
}

.result-lodging-address {
  margin-top: 2px;
  color: #5f7391;
  font-size: 11px;
  line-height: 1.35;
}

.result-lodging-actions {
  display: grid;
  gap: 5px;
  justify-items: end;
}

.result-lodging-map-link,
.result-lodging-book-link {
  font-size: 12px;
  font-weight: 700;
  color: #1b4f90;
  text-decoration: none;
  border: 1px solid #b8cae3;
  border-radius: 999px;
  padding: 5px 8px;
  background: #fff;
}

.result-lodging-book-link {
  border-color: #e08ab7;
  color: #c2186a;
}

.result-lodging-empty {
  color: #5f7391;
  font-size: 13px;
}

.result-lodging-toggle {
  margin-top: 10px;
  border: 1px solid #b8cae3;
  border-radius: 999px;
  background: #ffffff;
  color: #1b4f90;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.result-supplement-panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  border: 1px solid rgba(122, 111, 96, 0.15);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(250, 247, 241, 0.98));
  box-shadow: 0 14px 26px rgba(25, 38, 60, 0.08);
}

.result-supplement-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.result-section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #1a4e90;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-supplement-head h3 {
  margin: 6px 0 0;
  font-size: clamp(28px, 2.8vw, 42px);
  color: #10284a;
}

.result-supplement-head-meta {
  color: #5b6d86;
  font-size: 14px;
  text-align: right;
}

.result-supplement-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 12px;
}

.result-supplement-card {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #d9e2ee;
  padding: 14px;
  box-shadow: 0 8px 18px rgba(20, 40, 74, 0.05);
  min-height: 100%;
}

.result-supplement-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.result-supplement-card h4 {
  margin: 0;
  font-size: 20px;
  color: #10284a;
}

.result-supplement-card-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef5ff;
  color: #184a84;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.result-budget-summary-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}

.result-budget-summary-amount {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 800;
  line-height: 1.1;
}

.result-budget-summary-amount.positive {
  color: #13774f;
}

.result-budget-summary-amount.negative {
  color: #c0392b;
}

.result-budget-summary-caption {
  color: #5b6d86;
  font-size: 13px;
}

.result-supplement-subtitle {
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #1a4e90;
  letter-spacing: 0.02em;
}

.result-budget-breakdown {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.result-budget-breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4c5f79;
  font-size: 13px;
}

.result-budget-breakdown strong {
  color: #10284a;
}

.result-supplement-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7fafc;
  color: #3f5169;
  font-size: 13px;
  line-height: 1.5;
}

.result-theme-item {
  border-radius: 14px;
  border: 1px solid #d8e2ef;
  background: #f5f9ff;
  padding: 12px;
  display: grid;
  gap: 6px;
}

.result-theme-item.active {
  border-color: rgba(18, 83, 156, 0.35);
  background: linear-gradient(180deg, rgba(240, 247, 255, 0.98), rgba(255, 255, 255, 0.96));
  box-shadow: 0 8px 16px rgba(18, 83, 156, 0.08);
}

.result-theme-item h5 {
  margin: 0;
  font-size: 18px;
  color: #10284a;
}

.result-theme-item p {
  margin: 0;
  font-size: 13px;
  color: #53657d;
  line-height: 1.55;
}

.result-theme-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  width: fit-content;
  border-radius: 999px;
  background: #e8f1ff;
  color: #184a84;
  font-size: 12px;
  font-weight: 700;
}

.result-checklist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.result-checklist-item {
  position: relative;
  padding-left: 18px;
  color: #3f5169;
  font-size: 13px;
  line-height: 1.5;
}

.result-checklist-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #1a4e90, #f0158b);
}

.result-tip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.result-tip-list li {
  border-radius: 12px;
  background: #f7fbff;
  border: 1px solid #d7e1ef;
  padding: 10px 12px;
  display: grid;
  gap: 4px;
}

.result-tip-list strong {
  color: #113561;
  font-size: 13px;
}

.result-tip-list span {
  color: #4c5f79;
  font-size: 13px;
  line-height: 1.45;
}

.result-tip-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.result-tip-chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid #cbd9ea;
  background: #f4f8ff;
  color: #184a84;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 700;
}

.result-voice-guide-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.result-voice-guide-list li {
  color: #4c5f79;
  font-size: 13px;
  line-height: 1.45;
}

.result-supplement-empty {
  color: #4c5f79;
  font-size: 13px;
}

.result-debug-card {
  grid-column: 1 / -1;
}

.result-debug-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.result-debug-block {
  border-radius: 14px;
  border: 1px solid #dce5f1;
  background: #f8fbff;
  padding: 12px;
}

.result-debug-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}

.result-debug-block h5 {
  margin: 0;
  font-size: 15px;
  color: #113561;
}

.result-debug-count {
  color: #5f738d;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.result-debug-kv-list,
.result-debug-pool-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.result-debug-kv-list li,
.result-debug-pool-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(17, 53, 97, 0.08);
}

.result-debug-kv-list li:last-child,
.result-debug-pool-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.result-debug-kv-list span,
.result-debug-pool-list strong {
  color: #113561;
  font-size: 13px;
}

.result-debug-kv-list strong,
.result-debug-pool-list span,
.result-debug-pool-list em {
  color: #53657d;
  font-size: 12px;
  line-height: 1.45;
}

.result-debug-kv-list strong {
  text-align: right;
  max-width: 58%;
}

.result-debug-pool-list li > div {
  display: grid;
  gap: 3px;
}

.result-debug-pool-list em {
  font-style: normal;
  white-space: nowrap;
}

.result-debug-empty-row {
  align-items: center;
}

.result-info-select {
  margin-top: 10px;
  border-radius: 10px;
  font-size: 13px;
  padding: 8px 10px;
}

.result-tool-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.result-tool {
  border: 3px solid #1e5eaa;
  border-radius: 999px;
  background: #fff;
  color: #15539a;
  padding: 12px 12px;
  font-weight: 700;
  font-size: 20px;
}

.result-tool.active {
  background: #12539c;
  color: #fff;
}

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

.result-day-tab {
  border: 0;
  background: #e7ecf5;
  color: #375071;
  padding: 12px 10px;
  font-weight: 800;
  font-size: 20px;
  clip-path: polygon(0 0, 92% 0, 100% 50%, 92% 100%, 0 100%, 8% 50%);
  cursor: pointer;
}

.result-day-tab.active {
  background: #082f5f;
  color: #fff;
}

.result-day-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.result-day-head .result-day-title-wrap {
  display: none;
}

.result-day-head {
  justify-content: flex-end;
}

.result-day-head.actions-only {
  justify-content: flex-end;
}

.result-day-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.result-day-badge {
  background: linear-gradient(145deg, #5646d9, #f0158b);
  color: #fff;
  font-weight: 800;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 18px;
}

.result-day-title-wrap h3 {
  margin: 0;
  font-size: 36px;
  color: #102b4f;
}

.result-day-title-wrap p {
  margin: 0;
  color: #5a6e8a;
  font-size: 18px;
  line-height: 1.4;
}

.result-day-actions {
  display: flex;
  gap: 8px;
}

.result-page .result-day-actions,
.result-page .result-day-actions[hidden],
.result-page .result-save-strip[hidden] {
  display: none !important;
}

.result-page .result-day-head,
.result-page .result-day-head.actions-only {
  justify-content: flex-start;
}

.result-icon-btn {
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #8fa9c9;
  color: #194f94;
}

.result-timeline {
  display: grid;
  gap: 14px;
  width: 100%;
  min-width: 0;
}

.result-day-section {
  display: grid;
  gap: 12px;
  scroll-margin-top: 72px;
  width: 100%;
  min-width: 0;
  justify-items: stretch;
}

.result-day-inline-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.result-day-inline-head h3 {
  margin: 0;
  font-size: 34px;
  color: #102b4f;
  line-height: 1.2;
}

.result-day-inline-head p {
  margin: 0;
  color: #5a6e8a;
  font-size: 18px;
}

.result-day-inline-head .result-day-weather {
  color: #5a6e8a;
  font-size: 14px;
}

.result-empty {
  border: 1px dashed #c7d2e4;
  background: #f9fbff;
  color: #4c5f79;
  border-radius: 14px;
  padding: 18px;
}

.result-item {
  position: relative;
  display: grid;
  grid-template-columns: 358px minmax(0, 1fr) 82px;
  align-items: start;
  column-gap: 14px;
  background: #fbf9f2;
  border-radius: 20px;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 385px;
  padding: 16px 18px 17px 18px;
  justify-self: stretch;
}

.result-item-image-wrap {
  width: 358px;
  height: 352px;
  border-radius: 20px;
  overflow: hidden;
  background: #e8e1d2;
}

.result-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-item-content {
  width: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.result-item-kicker,
.result-item-headline {
  color: #f28a2b;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0;
  margin: 0;
}

.result-item-title {
  margin: 0 0 6px;
  color: #111;
  font-size: 55px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

.result-item-facts,
.result-item-headline-secondary {
  margin: 6px 0 0;
  color: #f28a2b;
  font-size: 15px;
  line-height: 1.6;
}

.result-item-desc,
.result-item-reason,
.result-item-meta {
  margin: 0;
  color: #2c2c2c;
  line-height: 1.5;
  font-size: 15px;
}

.result-item-desc,
.result-item-reason {
  margin-top: 10px;
}

.result-item-reason {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  overflow: hidden;
}

.result-item-desc strong,
.result-item-reason strong,
.result-item-meta strong {
  font-weight: 700;
}

.result-item-meta {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.35;
}

.result-item .transport-row,
.result-item .replace-row {
  margin-top: 9px;
}

.result-item .replace-row {
  align-items: center;
  gap: 5px;
}

.result-item .transport-select,
.result-item .replace-select {
  height: 19px;
  min-height: 19px;
  border-radius: 5px;
  border: 0;
  background-color: #fffefe;
  padding: 0 24px 0 6px;
  font-size: 12px;
  color: #2c2c2c;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #2c2c2c 50%),
    linear-gradient(135deg, #2c2c2c 50%, transparent 50%);
  background-position:
    calc(100% - 11px) 7px,
    calc(100% - 7px) 7px;
  background-size: 4px 4px, 4px 4px;
  background-repeat: no-repeat;
  box-shadow: none;
}

.result-item .transport-select {
  width: 100%;
}

.result-item .replace-select {
  width: calc(100% - 44px);
}

.result-item-side {
  width: 82px;
  margin-left: 0;
  padding: 11px 0 0 16px;
  border-left: 1px solid #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: stretch;
  justify-content: flex-start;
  gap: 14px;
}

.result-nav-btn {
  background: #dd0b7c !important;
  border-color: transparent !important;
  color: #fff !important;
}

.result-day-budget-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: #eff7f1;
  border: 1px solid #cfe3d3;
  color: #1f5a33;
  font-size: 13px;
  font-weight: 700;
}

.result-book-btn {
  background: #dd0b7c !important;
  color: #fff !important;
  border-color: transparent !important;
  border-radius: 999px !important;
  text-align: center;
  font-weight: 700;
  text-decoration: none;
}

.result-nav-btn,
.result-book-btn {
  width: 82px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

.result-item-side .btn.tiny {
  width: 82px;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: transparent;
  border: 0.5px solid #000;
  color: #111;
  font-size: 14px;
}

.result-item-inline-action {
  width: 39px;
  min-height: 19px;
  height: 19px;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
  padding: 0 !important;
  font-size: 12px;
  font-weight: 400;
  border-radius: 5px !important;
}

.result-item .tip {
  grid-column: 1 / -1;
  margin-top: 8px;
  color: #8b5d2e;
  font-size: 12px;
  line-height: 1.4;
}

.result-daily-food {
  width: 100%;
  min-width: 0;
  background: #fbf9f2;
  border-radius: 18px;
  padding: 20px 18px 18px;
  overflow: hidden;
}

.result-daily-food-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 1.2fr);
  gap: 22px;
  align-items: end;
  margin-bottom: 16px;
}

.result-daily-food-head span {
  display: inline-flex;
  color: #dd0b7c;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 5px;
}

.result-daily-food-head h4 {
  margin: 0;
  color: #102b4f;
  font-size: 28px;
  line-height: 1.15;
  font-weight: 700;
}

.result-daily-food-head p {
  margin: 0;
  color: #5f6f7c;
  font-size: 14px;
  line-height: 1.55;
}

.result-daily-food-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(300px, 340px);
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
}

.result-daily-food-track::-webkit-scrollbar {
  display: none;
}

.result-daily-food-viewport {
  position: relative;
  min-width: 0;
}

.result-daily-food-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 34px;
  height: 54px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: rgba(16, 43, 79, 0.72);
  font-size: 34px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 43, 79, 0.13);
}

.result-daily-food-arrow:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #102b4f;
}

.result-daily-food-arrow.is-prev {
  left: 6px;
}

.result-daily-food-arrow.is-next {
  right: 6px;
}

.result-daily-food-card {
  scroll-snap-align: start;
  min-height: 272px;
  display: grid;
  grid-template-rows: 128px 1fr;
  gap: 0;
  padding: 0;
  border-radius: 14px;
  border: 1px solid #ead8bd;
  background: #fffdf8;
  color: #1d2d3c;
  text-decoration: none !important;
  overflow: hidden;
}

.result-daily-food-card:hover,
.result-daily-food-card:focus {
  text-decoration: none !important;
}

.result-daily-food-card img {
  width: 100%;
  height: 128px;
  object-fit: cover;
  background: #ead8bd;
}

.result-daily-food-card > div {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 7px;
  padding: 13px 14px 14px;
}

.result-daily-food-card strong {
  color: #102b4f;
  font-size: 21px;
  line-height: 1.2;
}

.result-daily-food-card small {
  color: #b16c24;
  font-size: 13px;
}

.result-daily-food-card p {
  margin: 0;
  color: #596773;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.result-daily-food-card span {
  justify-self: start;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dd0b7c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 960px) {
  .result-item {
    width: 100%;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
    row-gap: 14px;
  }

  .result-item-image-wrap,
  .result-item-content,
  .result-item .transport-select,
  .result-item .replace-select {
    width: 100%;
  }

  .result-item-image-wrap {
    height: auto;
  }

  .result-item-side {
    grid-column: 1 / -1;
    width: auto;
    margin-left: 0;
    padding: 14px 2px 2px;
    border-left: 0;
    border-top: 1px solid rgba(179, 169, 152, 0.88);
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .result-daily-food-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .result-daily-food-track {
    grid-auto-columns: minmax(270px, 84vw);
  }

  .result-daily-food-arrow {
    width: 30px;
    height: 48px;
    font-size: 30px;
  }
}

.result-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.result-bottom-card {
  background: #ffffff;
  border: 1px solid #d6deeb;
  border-radius: 16px;
  padding: 14px;
}

.result-bottom-card h4 {
  margin: 0 0 10px;
  color: #1f3b62;
  font-size: 20px;
}

.result-status-text {
  margin-top: 10px;
  color: #17487f;
  font-size: 15px;
}

.result-save-strip {
  margin-top: 6px;
}

.result-save-media {
  min-height: 300px;
  border-radius: 22px;
  border: 1px solid #c7d8ef;
  background-image:
    linear-gradient(110deg, rgba(8, 74, 146, 0.72), rgba(8, 74, 146, 0.1)),
    url("https://images.unsplash.com/photo-1534447677768-be436bb09401?auto=format&fit=crop&w=2200&q=80");
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 28px rgba(8, 35, 67, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
}

.result-save-card {
  width: min(780px, 100%);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #d2dfef;
  border-radius: 24px;
  padding: 28px 30px;
}

.result-save-card h4 {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 46px);
  line-height: 1.2;
  color: #0f345f;
}

.result-save-card p {
  margin: 10px 0 16px;
  color: #425d83;
  font-size: 18px;
}

.result-save-card .btn.primary {
  border-radius: 999px;
  padding: 10px 18px;
}
.result-save-card .btn.primary + .btn.primary {
  margin-left: 12px;
}

@media (max-width: 1200px) {
  .landing-hero {
    min-height: auto;
  }

  .landing-topbar {
    width: auto;
    margin-left: 0;
  }

  .landing-hero-copy {
    max-width: min(640px, 100%);
  }

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

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

  body.result-mode .layout {
    max-width: 1160px;
  }

  .result-nav-links {
    gap: 20px;
  }

  .result-nav-links a {
    font-size: 19px;
  }

  .result-logo {
    font-size: 50px;
  }

  .result-hero {
    min-height: 360px;
  }

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

  .result-side-column .result-info-grid {
    position: static;
  }

  .result-info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  .result-tool-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-day-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-item {
    width: min(946px, 100%);
  }

  .result-item-side {
    margin-left: 30px;
  }

  .hot-spot-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .community-form-row {
    grid-template-columns: 1fr;
  }

  .community-form-row:last-of-type {
    grid-template-columns: 1fr;
  }

  .result-save-media {
    min-height: 260px;
  }
}

@media (max-width: 800px) {
  .result-shell {
    grid-template-columns: 1fr;
  }

  .landing-topbar {
    flex-wrap: wrap;
    width: auto;
    margin-left: 0;
  }

  .landing-topnav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .landing-top-actions {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }

  .landing-hero {
    padding: 24px 20px;
  }

  .landing-hero-copy {
    max-width: 100%;
  }

  .landing-hero-form { max-width: 100%; }
  .lhf-row-2col { flex-direction: column; }

  .landing-hero-title {
    font-size: clamp(34px, 10vw, 56px);
  }

  .landing-hero-text {
    font-size: 17px;
  }

  .landing-hero-title-line,
  .landing-hero-text-line {
    white-space: normal;
  }

  .landing-primary-btn,
  .landing-secondary-btn {
    min-height: 52px;
    font-size: 22px;
  }

  .landing-destination-grid,
  .landing-feature-grid {
    grid-template-columns: 1fr;
  }

  .landing-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .result-nav {
    flex-wrap: wrap;
  }

  .result-nav-links {
    order: 3;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .result-nav-search {
    width: 100%;
  }

  .result-nav-search input {
    flex: 1;
    width: auto;
  }

  .home-top-nav .result-nav-search {
    width: 100%;
  }

  .home-top-nav {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .input-topbar {
    width: auto;
    margin-left: 0;
  }

  .result-logo-sub {
    font-size: 14px;
  }

  .result-meta-pills {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .result-meta-pills span {
    min-width: 220px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.36);
  }

  .result-meta-pills span:last-child {
    border-bottom: 0;
  }

  .result-info-grid,
  .result-tool-row,
  .result-day-tabs,
  .result-bottom-grid {
    grid-template-columns: 1fr;
  }

  .result-day-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hot-section {
    padding: 22px 18px 24px;
  }

  .hot-spot-row,
  .hot-detail-grid {
    grid-template-columns: 1fr;
  }

  .result-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 14px;
  }

  .result-day-inline-head {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .result-day-inline-head h3 {
    font-size: 30px;
  }

  .result-day-inline-head .result-day-weather {
    width: 100%;
  }

  .result-day-budget-pill {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .result-item-image {
    min-height: 220px;
  }

  .hot-spot-grid {
    grid-template-columns: 1fr;
  }

  .result-save-media {
    min-height: 230px;
    padding: 14px;
  }

  .result-save-card {
    padding: 16px 16px;
  }

  .result-save-card p {
    font-size: 15px;
  }
}

@media (max-width: 680px) {
  .mobile-menu-toggle {
    display: inline-flex;
  }

  .landing-topbar {
    gap: 14px;
  }

  .landing-topnav {
    display: none;
    order: 4;
    width: 100%;
    margin-left: 0;
    padding-top: 6px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .landing-topnav.open {
    display: flex;
  }

  .landing-top-actions {
    width: auto;
    margin-left: auto;
  }

  .toast-stack {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .toast {
    min-width: 0;
    max-width: none;
  }

  .auth-inline-field {
    grid-template-columns: 1fr;
  }
}

/* Visual unification overrides */
.landing-module {
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.88), rgba(252, 249, 243, 0.78)),
    linear-gradient(120deg, rgba(214, 233, 229, 0.18), rgba(246, 233, 216, 0.18));
  border: 1px solid var(--line);
  box-shadow: var(--panel-shadow);
  backdrop-filter: blur(16px);
}

.landing-topbar,
.result-nav {
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.92), rgba(251, 247, 240, 0.78)),
    linear-gradient(135deg, rgba(215, 234, 228, 0.12), rgba(247, 233, 213, 0.14));
  box-shadow: 0 18px 36px rgba(66, 53, 39, 0.08);
  backdrop-filter: blur(14px);
}

.landing-topbar {
  padding-top: 12px;
  padding-bottom: 12px;
}

.result-nav {
  padding: 14px 22px;
}

.landing-brand-mark {
  background: center / cover no-repeat url("./logo/旅游圈.svg");
  box-shadow: 0 8px 18px rgba(18, 85, 92, 0.12);
}

.landing-brand-text,
.result-logo {
  font-family: var(--font-display);
  color: #21394a;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.landing-brand-text {
  font-size: 25px;
}

.result-logo-btn {
  color: #203845;
  gap: 3px;
  position: relative;
  padding-left: 48px;
  min-height: 40px;
}

.result-logo-btn::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: center / cover no-repeat url("./logo/旅游圈.svg");
  box-shadow: 0 8px 18px rgba(18, 85, 92, 0.12);
}

.result-logo {
  font-size: 28px;
  line-height: 1;
}

.result-logo-sub {
  font-size: 12px;
  color: #6b7b82;
  letter-spacing: 0.08em;
  margin-left: 1px;
  text-transform: uppercase;
}

.landing-topnav a,
.landing-footer-links a,
.landing-login-link,
.result-nav-links a,
.result-login-link {
  color: #4b5f69;
}

.landing-topnav a,
.result-nav-links a {
  font-size: 16px;
}

.landing-topnav a:hover,
.result-nav-links a:hover {
  color: var(--brand);
}

.landing-topnav a.is-active {
  color: var(--brand-deep);
}

.landing-topnav a[aria-current="page"]::after {
  background: linear-gradient(90deg, var(--brand), #74a69c);
}

.landing-top-actions input,
.result-nav-search input {
  border-radius: 999px;
  border: 1px solid rgba(122, 111, 96, 0.16);
  background: rgba(255, 255, 255, 0.72);
  padding: 11px 18px;
  color: var(--ink);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

.landing-top-actions input {
  width: min(320px, 42vw);
}

.landing-top-actions input::placeholder,
.result-nav-search input::placeholder {
  color: #7a858b;
}

.mobile-menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 252, 247, 0.84);
}

.mobile-menu-toggle span {
  background: #47606a;
}

.landing-top-cta,
.landing-primary-btn,
.btn.primary,
.home-actions .btn.primary,
.result-tool.active,
.result-book-btn {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.landing-secondary-btn,
.btn,
.btn.ghost,
.result-icon-btn,
.result-day-tab,
.result-tool,
.result-item-side .btn.tiny {
  background: rgba(255, 252, 248, 0.88);
  color: #53656d;
  border: 1px solid rgba(122, 111, 96, 0.16);
  border-radius: 999px;
}

.landing-primary-btn,
.landing-secondary-btn,
.btn,
.result-day-tab,
.result-tool {
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.landing-primary-btn:hover,
.landing-secondary-btn:hover,
.btn:hover,
.result-day-tab:hover,
.result-tool:hover {
  transform: translateY(-1px);
}

.landing-hero-form-v2 .lhf-submit-v2 {
  background: linear-gradient(90deg, #8267f2, #6d58dd);
  box-shadow: 0 12px 28px rgba(109, 88, 221, 0.26);
}

.landing-hero-form-v2 .lhf-submit-v2::after {
  content: none;
}

.landing-hero {
  padding: 42px 40px 38px;
  background: linear-gradient(180deg, #edf3ef, #f3eee5 56%, #eff3ef);
}

.landing-hero::before {
  background:
    linear-gradient(90deg, rgba(249, 246, 240, 0.94) 0%, rgba(248, 244, 237, 0.88) 28%, rgba(247, 244, 238, 0.42) 50%, rgba(247, 244, 238, 0.08) 72%),
    radial-gradient(circle at 16% 18%, rgba(217, 236, 230, 0.26), transparent 28%);
}

.landing-hero-eyebrow {
  color: var(--brand);
  font-size: 12px;
  letter-spacing: 0.14em;
}

.landing-hero-title,
.home-hero-title,
.landing-section-head h2,
.landing-destination-head h3,
.landing-feature-card h3,
.result-float-head h3,
.result-hero h2,
.result-info-card h4,
.result-day-title-wrap h3,
.result-day-inline-head h3,
.result-item-title,
.result-bottom-card h4,
.result-save-card h4 {
  font-family: var(--font-display);
  color: #233645;
  font-weight: 700;
}

.landing-hero-title {
  font-size: clamp(30px, 3vw, 52px);
  line-height: 1.14;
  color: #1c2a36;
  letter-spacing: -0.025em;
}

.landing-hero-title .landing-hero-title-line {
  display: block;
  white-space: nowrap;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
}

.landing-hero-title span {
  background: linear-gradient(90deg, var(--brand-deep), var(--sun));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.landing-hero-title .landing-hero-title-line {
  display: block;
  white-space: nowrap;
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  color: inherit;
}

.landing-hero-text,
.landing-section-head p,
.landing-destination-summary,
.landing-feature-card p,
.home-hero-subtitle,
.result-float-head p,
.result-info-card small,
.result-day-title-wrap p,
.result-day-inline-head p,
.result-day-inline-head .result-day-weather,
.result-item-desc,
.result-item-meta,
.result-save-card p,
.result-status-text {
  color: #66747b;
}

.landing-hero-text {
  max-width: none;
  font-size: 16px;
  line-height: 1.7;
}

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

@media (max-width: 800px) {
  .landing-hero-title {
    font-size: clamp(24px, 7.2vw, 30px);
    letter-spacing: -0.04em;
  }

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

.landing-section {
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(250, 246, 239, 0.74));
}

.landing-destination-card,
.landing-feature-card,
.result-float-panel,
.result-info-card,
.result-item,
.result-bottom-card,
.result-save-card {
  border: 1px solid rgba(125, 110, 93, 0.12);
  background: linear-gradient(180deg, rgba(255, 252, 248, 0.96), rgba(251, 247, 240, 0.92));
  box-shadow: 0 16px 30px rgba(67, 54, 40, 0.08);
}

.landing-destination-card:hover,
.landing-destination-card:focus-visible {
  box-shadow: 0 24px 40px rgba(67, 54, 40, 0.12);
  border-color: rgba(15, 118, 110, 0.24);
}

.landing-destination-media::after {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 74, 86, 0.16)),
    radial-gradient(circle at 78% 22%, rgba(238, 201, 150, 0.24), transparent 24%);
}

.landing-destination-tag,
.result-food-chip {
  background: linear-gradient(180deg, var(--sun-soft), rgba(255, 249, 241, 0.96));
  color: #8d663e;
  border: 1px solid rgba(197, 123, 57, 0.18);
}

.landing-destination-summary p,
.result-empty {
  background: linear-gradient(180deg, rgba(252, 248, 243, 0.96), rgba(245, 241, 233, 0.92));
  border: 1px solid rgba(136, 118, 96, 0.12);
}

.planner-prompt-shell,
.hero-group {
  border: 1px solid rgba(122, 111, 96, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 252, 247, 0.72), rgba(248, 244, 238, 0.46)),
    linear-gradient(135deg, rgba(214, 233, 229, 0.1), rgba(247, 233, 213, 0.1));
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 30px rgba(66, 53, 39, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.planner-prompt-shell {
  margin: 0 auto 16px;
  padding: 20px 20px 18px;
  border-radius: 30px;
}

.planner-prompt-label,
.form-home-panel .label-title,
.form-home-panel label {
  color: #45545d;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.planner-prompt-shell textarea,
.form-home-panel input,
.form-home-panel textarea,
.form-home-panel select {
  border: 1px solid rgba(122, 111, 96, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.56);
}

.form-home-panel .chip {
  border-color: rgba(15, 118, 110, 0.18);
  background: linear-gradient(180deg, rgba(247, 238, 222, 0.9), rgba(252, 248, 241, 0.92));
  color: #7b5a35;
}

.form-home-panel .chip.active {
  color: #fff;
  border-color: rgba(15, 118, 110, 0.95);
  background: linear-gradient(145deg, var(--brand), var(--brand-strong));
  box-shadow: 0 10px 18px rgba(14, 105, 94, 0.22);
}

.form-home-panel .input-assist {
  border: 1px solid rgba(197, 123, 57, 0.28);
  background: rgba(255, 247, 231, 0.96);
}

body.result-mode {
  background:
    radial-gradient(circle at 12% 14%, rgba(221, 241, 236, 0.94), transparent 30%),
    radial-gradient(circle at 88% 10%, rgba(245, 229, 205, 0.9), transparent 24%),
    linear-gradient(180deg, #faf6ef, #f2ede4 44%, #eef2ef 100%);
}

body.result-mode .layout {
  max-width: none;
  margin-top: 18px;
  margin-left: max(20px, calc((100vw - 1660px) / 2));
  margin-right: 20px;
}

.result-page {
  gap: 20px;
}

.result-nav-links {
  gap: 28px;
}

.result-nav-search input {
  width: 340px;
}

.result-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  padding: 56px 48px 44px;
  border: 1px solid rgba(122, 111, 96, 0.18);
  box-shadow: var(--panel-shadow-strong);
}

.result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(16, 38, 50, 0.14)),
    radial-gradient(circle at 20% 18%, rgba(255, 244, 220, 0.18), transparent 24%);
  z-index: 0;
}

.result-hero-inner {
  position: relative;
  z-index: 1;
}

.result-hero h2 {
  font-size: clamp(40px, 5vw, 76px);
  line-height: 1.18;
  color: #fff;
  text-shadow: 0 4px 18px rgba(13, 26, 42, 0.2);
}

.result-hero p {
  font-size: clamp(17px, 1.7vw, 24px);
  line-height: 1.75;
  color: rgba(255, 250, 244, 0.98);
  text-shadow: 0 2px 12px rgba(13, 26, 42, 0.16);
}

.result-meta-pills {
  border: 1px solid rgba(255, 250, 242, 0.5);
  backdrop-filter: blur(10px);
  background: rgba(255, 251, 246, 0.12);
}

.result-meta-pills span {
  font-size: 18px;
  background: rgba(255, 250, 242, 0.14);
  border-right: 1px solid rgba(255, 250, 242, 0.24);
}

.result-info-grid {
  margin-top: 0;
}

.result-tool,
.result-day-tab,
.result-icon-btn {
  color: var(--brand-deep);
}

.result-day-tab.active {
  color: #fff;
  border-color: transparent;
}

.result-day-badge {
  background: linear-gradient(145deg, var(--brand), var(--sun));
  font-size: 16px;
  letter-spacing: 0.04em;
}

.result-item {
  border-radius: 20px;
  padding: 16px 34px 17px 18px;
}

.result-item-content {
  padding: 0;
}

.result-item-kicker,
.result-item-headline {
  color: #f28a2b;
  font-size: 15px;
  letter-spacing: 0;
}

.result-item-title {
  font-size: 55px;
  line-height: 1;
}

.result-item-facts,
.result-item-headline-secondary {
  color: #f28a2b;
  line-height: 1.55;
}

.result-item .transport-select,
.result-item .replace-select {
  border: 0;
}

.result-item-side {
  border-left: 0;
}

.result-item .result-item-side {
  border-left: 1px solid #000;
}

.result-nav-btn,
.result-book-btn {
  text-decoration: none;
  box-shadow: none !important;
  color: #fff !important;
  border-color: transparent !important;
}

.result-save-media {
  border-radius: 28px;
  border: 1px solid rgba(122, 111, 96, 0.16);
  background-image:
    linear-gradient(110deg, rgba(18, 64, 74, 0.72), rgba(18, 64, 74, 0.18)),
    url("./hero-bg.jpg");
  box-shadow: 0 18px 34px rgba(44, 34, 25, 0.16);
}

@media (max-width: 1200px) {
  body.result-mode .layout {
    max-width: 1100px;
  }

  .result-nav-links a {
    font-size: 15px;
  }

  .result-logo {
    font-size: 24px;
  }

  .result-hero {
    padding: 42px 34px 34px;
  }

  .result-item-side {
    border-top: 1px solid rgba(122, 111, 96, 0.12);
  }

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

  .result-budget-summary-card {
    grid-column: 1 / -1;
  }

  .result-supplement-head {
    flex-direction: column;
  }

  .result-supplement-head-meta {
    text-align: left;
  }
}

@media (max-width: 800px) {
  .landing-top-actions input {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .landing-primary-btn,
  .landing-secondary-btn {
    font-size: 17px;
  }

  .result-logo-sub {
    font-size: 11px;
  }

  .result-meta-pills span {
    border-bottom: 1px solid rgba(255, 250, 242, 0.24);
  }

  .result-budget-mini-grid,
  .result-supplement-grid {
    grid-template-columns: 1fr;
  }

  .result-supplement-panel {
    padding: 14px;
  }

  .result-debug-kv-list li,
  .result-debug-pool-list li {
    flex-direction: column;
  }

  .result-debug-kv-list strong {
    max-width: 100%;
    text-align: left;
  }

  .result-day-section {
    padding-left: 16px;
    margin-left: 4px;
  }

  .result-item {
    width: 100%;
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 14px;
    row-gap: 14px;
  }

  .result-item-side {
    grid-column: 1 / -1;
    flex-direction: row;
    margin-left: 0;
    width: auto;
    border-left: 0;
    border-top: 1px solid rgba(179, 169, 152, 0.88);
    padding: 14px 2px 2px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .result-item-image-wrap,
  .result-item-content,
  .result-item .transport-select,
  .result-item .replace-select {
    width: 100%;
  }

  .result-item-image-wrap {
    height: auto;
  }
}

@media (max-width: 1180px) {
  .result-page {
    --result-sidebar-reserved-width: 0px;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-right: 0;
  }

  .result-page > .result-nav,
  .result-page > .result-hero,
  .result-page > .result-day-tabs,
  .result-page > .result-day-head,
  .result-page > .result-timeline,
  .result-page > .result-supplement-panel,
  .result-page > .result-info-grid,
  .result-page > .result-save-strip {
    grid-column: auto;
    grid-row: auto;
  }

  .result-page > .result-info-grid {
    position: static;
    right: auto;
    width: auto;
    max-height: none;
    overflow-y: visible;
    margin-top: 0;
    padding-right: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 800px) {
  .result-page > .result-info-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Hot Destinations v2 (dark overlay cards) ===== */
.landing-section-head-rich {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.landing-section-head-rich h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 4px 0 0;
}
.landing-section-pill {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #fff0f0;
  color: #ef4444;
  margin-bottom: 8px;
}
.landing-section-pill-violet {
  background: #f5f0ff;
  color: #8b5cf6;
}
.landing-section-sub {
  font-size: 0.95rem;
  color: #666;
  margin-top: 6px;
}
.landing-carousel-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  margin-top: 8px;
}
.landing-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #ddd;
  background: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.landing-carousel-btn:hover,
.landing-carousel-btn-active {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
}
.landing-hot-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.hot-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.hot-card-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hot-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}
.hot-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 3px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}
.hot-card-rating {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  font-size: 0.78rem;
  font-weight: 600;
  color: #fbbf24;
  z-index: 2;
}
.hot-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  z-index: 2;
  transition: transform 0.3s;
}
.hot-card-info h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
}
.hot-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
}
.hot-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 18px;
  z-index: 3;
  opacity: 0;
  transition: opacity 0.3s;
}
.hot-card:hover .hot-card-overlay {
  opacity: 1;
}
.hot-card:hover .hot-card-info {
  transform: translateY(8px);
}
.hot-card-desc {
  color: rgba(255,255,255,0.9);
  font-size: 0.88rem;
  margin: 0 0 14px;
  line-height: 1.5;
}
.hot-card-btn {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-radius: 10px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.hot-card-btn:hover {
  background: rgba(255,255,255,0.3);
}

/* ===== AI Pick Section ===== */
.landing-ai-pick {
  padding-top: 48px;
}
.landing-section-head-center {
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}
.landing-section-head-center h2 {
  font-size: 1.75rem;
  font-weight: 800;
  color: #1a1a2e;
  margin: 6px 0 0;
}
.landing-section-head-center .landing-section-sub {
  max-width: 540px;
  margin: 8px auto 0;
}
.landing-ai-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.landing-ai-tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.landing-ai-tab:hover {
  border-color: #c4b5fd;
  color: #8b5cf6;
}
.landing-ai-tab-active {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  border-color: transparent;
  color: #fff;
}
.landing-ai-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}
.ai-pick-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}
.ai-pick-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.1);
}
.ai-pick-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.ai-pick-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ai-pick-card-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 3px 10px;
  border-radius: 6px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(3px);
  color: rgba(255,255,255,0.9);
  font-size: 0.75rem;
  font-weight: 500;
}
.ai-pick-card-heart {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  cursor: pointer;
}
.ai-pick-card-body {
  padding: 18px;
}
.ai-pick-card-ribbon {
  font-size: 0.78rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 6px;
}
.ai-pick-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
}
.ai-pick-card-body p {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.55;
  margin: 0 0 12px;
}
.ai-pick-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.ai-pick-card-chips span {
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
  font-size: 0.75rem;
  color: #555;
  background: #fafafa;
}
.ai-pick-card-btn {
  width: 100%;
  padding: 11px 0;
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s;
}
.ai-pick-card-btn:hover {
  opacity: 0.88;
}

/* ===== AI CTA Banner ===== */
.landing-ai-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  border-radius: 16px;
  background: #f8f5ff;
  border: 1px solid #ede9fe;
}
.landing-ai-cta-text strong {
  font-size: 1rem;
  color: #1a1a2e;
}
.landing-ai-cta-text span {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-top: 2px;
}
.landing-ai-cta-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: none;
  border-radius: 12px;
  background: #1a1a2e;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.landing-ai-cta-btn:hover {
  background: #333;
}

/* ===== Rich Footer ===== */
.landing-footer-rich {
  background: #111827;
  color: #d1d5db;
  padding: 0;
  margin-top: 48px;
  border-radius: 0;
}
.landing-footer-subscribe {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px var(--landing-gutter, 32px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.landing-footer-subscribe h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}
.landing-footer-subscribe p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin: 0;
}
.landing-footer-subscribe-form {
  display: flex;
  gap: 0;
}
.landing-footer-subscribe-form input {
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 12px 0 0 12px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.9rem;
  width: 280px;
  outline: none;
}
.landing-footer-subscribe-form input::placeholder {
  color: #6b7280;
}
.landing-footer-subscribe-form button {
  padding: 12px 24px;
  border: none;
  border-radius: 0 12px 12px 0;
  background: #8b5cf6;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
}
.landing-footer-subscribe-form button:hover {
  background: #7c3aed;
}
.landing-footer-cols {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 48px var(--landing-gutter, 32px);
}
.landing-footer-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.landing-footer-brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}
.landing-footer-brand-accent {
  color: #8b5cf6;
}
.landing-footer-brand-desc {
  font-size: 0.85rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 16px;
  max-width: 280px;
}
.landing-footer-social {
  display: flex;
  gap: 10px;
}
.landing-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.2s;
}
.landing-footer-social a:hover {
  background: rgba(255,255,255,0.18);
}
.landing-footer-col h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 16px;
}
.landing-footer-col a {
  display: block;
  font-size: 0.85rem;
  color: #9ca3af;
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.landing-footer-col a:hover {
  color: #fff;
}
.landing-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px var(--landing-gutter, 32px);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: #6b7280;
}
.landing-footer-bottom-links {
  display: flex;
  gap: 24px;
}
.landing-footer-bottom-links a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}
.landing-footer-bottom-links a:hover {
  color: #d1d5db;
}

/* ===== New Sections Responsive ===== */
@media (max-width: 900px) {
  .landing-hot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-ai-grid {
    grid-template-columns: 1fr;
  }
  .landing-footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .landing-footer-subscribe {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .landing-ai-cta {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}
@media (max-width: 600px) {
  .landing-hot-grid {
    grid-template-columns: 1fr;
  }
  .landing-footer-cols {
    grid-template-columns: 1fr;
  }
  .landing-footer-subscribe-form input {
    width: 200px;
  }
  .landing-section-head-rich {
    flex-direction: column;
    gap: 12px;
  }
}

/* ===== Universal itinerary result page ===== */
body.result-mode {
  background:
    linear-gradient(90deg, rgba(121, 98, 58, 0.05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(121, 98, 58, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 18% 12%, rgba(238, 198, 132, 0.22), transparent 30%),
    radial-gradient(circle at 86% 8%, rgba(55, 121, 143, 0.14), transparent 28%),
    linear-gradient(180deg, #f7efe1 0%, #efe0c6 48%, #e7d1ac 100%);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
}

body.result-mode .layout {
  width: min(1480px, calc(100vw - 40px));
  max-width: 1480px;
  margin: 12px auto 32px;
}

.result-page {
  --result-paper: #fff4dc;
  --result-paper-deep: #ead3a8;
  --result-ink: #2f2012;
  --result-muted: #735f43;
  --result-blue: #1769d8;
  --result-red: #a93425;
  --result-green: #2f8a67;
  --result-gold: #c98426;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 370px);
  grid-template-areas:
    "nav nav"
    "hero hero"
    "tabs side"
    "head side"
    "main side"
    "save save";
  gap: 18px 22px;
  padding: 0;
}

.result-page > .result-nav {
  grid-area: nav;
  display: flex;
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 54px;
  padding: 8px 14px;
  border: 1px solid rgba(108, 87, 54, 0.18);
  border-radius: 0 0 14px 14px;
  background: rgba(255, 251, 242, 0.92);
  box-shadow: 0 10px 24px rgba(77, 50, 20, 0.08);
  backdrop-filter: blur(12px);
}

.result-logo {
  font-family: inherit;
  font-size: 22px;
  line-height: 1;
  color: #1265d8;
}

.result-logo-sub {
  font-size: 11px;
  color: #6c5b44;
  letter-spacing: 0;
}

.result-nav-links {
  gap: 24px;
  margin-left: 30px;
}

.result-nav-links a,
.result-login-link {
  color: #2f2a24;
  font-size: 15px;
}

.result-nav-search input {
  width: 220px;
  border: 1px solid rgba(108, 87, 54, 0.22);
  background: rgba(255, 255, 255, 0.76);
  padding: 9px 12px;
}

.result-hero {
  grid-area: hero;
  position: relative;
  min-height: 320px;
  padding: clamp(34px, 5vw, 62px) clamp(26px, 5vw, 70px);
  border: 1px solid rgba(109, 73, 35, 0.22);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 48px rgba(70, 43, 19, 0.22);
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(112, 81, 43, 0.26);
  border-radius: 8px;
  box-shadow: inset 0 0 30px rgba(98, 61, 26, 0.14);
}

.result-hero::before {
  background:
    linear-gradient(90deg, rgba(255, 244, 220, 0.82) 0%, rgba(255, 244, 220, 0.74) 44%, rgba(255, 244, 220, 0.2) 100%),
    radial-gradient(circle at 78% 28%, rgba(255, 245, 218, 0.34), transparent 24%),
    linear-gradient(180deg, rgba(44, 30, 18, 0.08), rgba(44, 30, 18, 0.18));
  z-index: 0;
}

.result-hero-inner {
  max-width: 900px;
  margin: 0;
  text-align: left;
  color: var(--result-ink);
}

.result-hero h2 {
  max-width: 900px;
  color: #22160c;
  font-family: var(--font-display);
  font-size: clamp(42px, 5.4vw, 76px);
  line-height: 1.1;
  letter-spacing: 0;
  text-shadow: 0 2px 0 rgba(255, 246, 222, 0.7);
}

.result-hero h2::first-letter {
  color: var(--result-blue);
}

.result-hero p {
  max-width: 760px;
  margin-top: 14px;
  color: #4b3823;
  font-size: clamp(15px, 1.35vw, 19px);
  line-height: 1.75;
  text-shadow: none;
}

.result-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.result-meta-pills span {
  min-width: 0;
  padding: 7px 12px;
  border: 1px solid rgba(100, 72, 38, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 231, 0.78);
  color: #5b442b;
  font-size: 14px;
}

.result-hero.result-hero-skeleton {
  min-height: 410px;
  background:
    radial-gradient(circle at 82% 20%, rgba(37, 99, 235, 0.14), transparent 26%),
    linear-gradient(90deg, rgba(255, 246, 224, 0.96) 0%, rgba(255, 239, 200, 0.84) 48%, rgba(232, 240, 231, 0.74) 100%);
  box-shadow: 0 24px 48px rgba(70, 43, 19, 0.16);
}

.result-hero.result-hero-skeleton::before {
  background:
    linear-gradient(rgba(139, 101, 55, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 101, 55, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 74% 36%, rgba(255, 255, 255, 0.54), transparent 30%);
  background-size: 55px 55px, 55px 55px, cover;
}

.result-hero.result-hero-skeleton .result-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  max-width: 1240px;
}

.result-hero.result-hero-skeleton h2,
.result-hero.result-hero-skeleton p,
.result-hero.result-hero-skeleton .skeleton-cancel-btn {
  grid-column: 1;
}

.result-hero.result-hero-skeleton h2 {
  max-width: 560px;
}

.result-hero.result-hero-skeleton p {
  max-width: 460px;
}

.result-hero.result-hero-skeleton .result-meta-pills {
  display: none;
}

.ai-planning-stage {
  grid-column: 2;
  grid-row: 1 / span 4;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.ai-planning-map {
  position: relative;
  min-height: 230px;
  border: 1px solid rgba(103, 75, 42, 0.18);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(32, 98, 165, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 98, 165, 0.06) 1px, transparent 1px),
    radial-gradient(circle at 24% 30%, rgba(74, 160, 120, 0.18), transparent 26%),
    radial-gradient(circle at 82% 74%, rgba(233, 151, 68, 0.2), transparent 22%),
    rgba(255, 252, 244, 0.72);
  background-size: 34px 34px, 34px 34px, cover, cover, cover;
  box-shadow: inset 0 0 34px rgba(88, 61, 31, 0.08);
}

.ai-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ai-route-shadow,
.ai-route-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ai-route-shadow {
  stroke: rgba(95, 62, 26, 0.18);
  stroke-width: 10;
}

.ai-route-path {
  stroke: #1e6bd7;
  stroke-width: 5;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: aiRouteDraw 4.8s ease-in-out infinite;
}

.ai-route-cursor-svg {
  fill: #ec5b3f;
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 6px 10px rgba(120, 47, 26, 0.28));
}

.ai-route-cursor {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #ec5b3f;
  box-shadow: 0 6px 16px rgba(120, 47, 26, 0.28);
  offset-path: path("M58 214 C132 96 232 234 306 124 S472 42 578 166");
  offset-rotate: 0deg;
  animation: aiCursorTravel 4.8s ease-in-out infinite;
}

.ai-map-pin {
  position: absolute;
  width: 14px;
  height: 14px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #1e6bd7;
  box-shadow: 0 8px 18px rgba(45, 59, 88, 0.18);
  animation: aiPinPulse 2.6s ease-in-out infinite;
}

.ai-map-pin span {
  position: absolute;
  left: 50%;
  top: 18px;
  transform: translateX(-50%);
  min-width: 44px;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #4b3823;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  box-shadow: 0 6px 14px rgba(83, 63, 36, 0.1);
}

.ai-map-pin-start { left: 8.2%; top: 74%; background: #4aa078; animation-delay: 0s; }
.ai-map-pin-sight { left: 47%; top: 39%; background: #1e6bd7; animation-delay: 0.55s; }
.ai-map-pin-food { left: 66%; top: 18%; background: #ec5b3f; animation-delay: 1.1s; }
.ai-map-pin-stay { left: 89%; top: 57%; background: #c58a23; animation-delay: 1.65s; }

.ai-planning-workbench {
  display: grid;
  gap: 12px;
}

.ai-planning-chip {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(30, 107, 215, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #22496f;
  font-size: 13px;
  font-weight: 800;
}

.ai-planning-pulse {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #1e6bd7;
  box-shadow: 0 0 0 0 rgba(30, 107, 215, 0.38);
  animation: aiPulse 1.3s ease-out infinite;
}

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

.ai-mini-card {
  min-height: 88px;
  padding: 12px;
  border: 1px solid rgba(109, 73, 35, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 24px rgba(75, 54, 29, 0.08);
  transform: translateY(8px);
  opacity: 0;
  animation: aiCardSort 4.8s ease-in-out infinite;
}

.ai-mini-card:nth-child(2) { animation-delay: 0.35s; }
.ai-mini-card:nth-child(3) { animation-delay: 0.7s; }

.ai-mini-card-type {
  display: inline-block;
  margin-bottom: 8px;
  color: #1e6bd7;
  font-size: 12px;
  font-weight: 900;
}

.ai-mini-card strong {
  display: block;
  color: #2f2419;
  font-size: 13px;
  line-height: 1.45;
}

.ai-mini-card i {
  display: block;
  width: 70%;
  height: 7px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(30, 107, 215, 0.22), rgba(74, 160, 120, 0.2));
}

.ai-task-list {
  display: grid;
  gap: 7px;
}

.ai-task-list span {
  position: relative;
  min-height: 28px;
  padding: 7px 10px 7px 30px;
  border: 1px solid rgba(109, 73, 35, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.62);
  color: #4b3823;
  font-size: 13px;
  font-weight: 700;
  overflow: hidden;
}

.ai-task-list span::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #4aa078;
  transform: translateY(-50%);
}

.ai-task-list span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(30, 107, 215, 0.12), transparent);
  transform: translateX(-100%);
  animation: aiTaskSweep 4.8s ease-in-out infinite;
}

.ai-task-list span:nth-child(2)::after { animation-delay: 0.7s; }
.ai-task-list span:nth-child(3)::after { animation-delay: 1.4s; }
.ai-task-list span:nth-child(4)::after { animation-delay: 2.1s; }

@keyframes aiRouteDraw {
  0% { stroke-dashoffset: 900; }
  58%, 82% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -900; }
}

@keyframes aiCursorTravel {
  0% { offset-distance: 0%; opacity: 0; }
  8%, 82% { opacity: 1; }
  70% { offset-distance: 100%; opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

@keyframes aiPinPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 8px 18px rgba(45, 59, 88, 0.18); }
  45% { transform: scale(1.18); box-shadow: 0 8px 22px rgba(30, 107, 215, 0.24); }
}

@keyframes aiPulse {
  100% { box-shadow: 0 0 0 10px rgba(30, 107, 215, 0); }
}

@keyframes aiCardSort {
  0% { opacity: 0; transform: translateY(12px) scale(0.97); }
  18%, 78% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-6px) scale(0.98); }
}

@keyframes aiTaskSweep {
  0%, 12% { transform: translateX(-100%); }
  48%, 70% { transform: translateX(100%); }
  100% { transform: translateX(100%); }
}

.result-info-grid {
  grid-area: side;
  position: sticky;
  top: 74px;
  right: auto;
  width: auto;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-self: start;
  transform: none !important;
  will-change: auto;
}

.result-day-tabs {
  grid-area: tabs;
  display: flex;
  gap: 0;
  align-items: stretch;
  overflow-x: auto;
  padding: 0 2px;
}

.result-day-tab {
  min-width: 128px;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 12px 18px;
  border: 1px solid rgba(109, 78, 42, 0.22);
  border-right: 0;
  border-radius: 0;
  clip-path: none;
  background: rgba(255, 243, 218, 0.88);
  color: #4f3b24;
  box-shadow: inset 0 -8px 18px rgba(143, 97, 45, 0.08);
}

.result-day-tab:first-child {
  border-radius: 10px 0 0 10px;
}

.result-day-tab:last-child {
  border-right: 1px solid rgba(109, 78, 42, 0.22);
  border-radius: 0 10px 10px 0;
}

.result-day-tab strong {
  font-size: 18px;
  line-height: 1.1;
}

.result-day-tab span {
  color: #7d6547;
  font-size: 12px;
  font-weight: 700;
}

.result-day-tab.active {
  position: relative;
  z-index: 1;
  border-color: #8f3429;
  background: linear-gradient(180deg, #a93a2c, #7f2119);
  color: #fff9ea;
}

.result-day-tab.active span {
  color: #ffe3bd;
}

.result-page .result-day-head {
  grid-area: head;
  display: none;
}

.result-timeline {
  grid-area: main;
  display: grid;
  gap: 16px;
}

.result-info-card,
.result-item,
.result-daily-food,
.result-empty {
  position: relative;
  border: 1px solid rgba(110, 75, 34, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 248, 230, 0.96), rgba(247, 229, 193, 0.96)),
    radial-gradient(circle at 20% 18%, rgba(126, 79, 34, 0.08), transparent 26%);
  box-shadow: 0 12px 24px rgba(78, 48, 17, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.result-info-card {
  padding: 18px;
}

.result-info-card h4 {
  margin: 0 0 14px;
  color: #4b2d16;
  font-size: 22px;
  font-family: var(--font-display);
}

.result-info-card p {
  color: #2f2012;
  font-size: 16px;
}

.result-info-card small {
  color: #7a6446;
  font-size: 12px;
}

.result-budget-donut-row {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.result-budget-donut {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(86, 57, 27, 0.08);
}

.result-budget-donut > div {
  width: 72px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: #fff4dc;
  text-align: center;
}

.result-budget-donut strong {
  color: #2f2012;
  font-size: 17px;
  line-height: 1;
}

.result-budget-donut span {
  color: #7a6446;
  font-size: 11px;
}

.result-budget-legend {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-budget-legend li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #5b442b;
  font-size: 13px;
}

.result-budget-legend span,
.result-budget-legend strong {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.result-budget-legend i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.result-budget-legend small {
  margin-left: 6px;
  color: #8a7457;
  font-size: 11px;
}

.result-lodging-list {
  gap: 10px;
}

.result-lodging-option {
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 12px;
  padding: 8px;
  border-color: rgba(110, 75, 34, 0.18);
  background: rgba(255, 250, 238, 0.82);
}

.result-lodging-cover {
  width: 88px;
  height: 88px;
  border-radius: 6px;
}

.result-lodging-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
}

.result-route-map {
  position: relative;
  height: 230px;
  overflow: hidden;
  border: 1px solid rgba(110, 75, 34, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(30deg, rgba(50, 126, 150, 0.12), transparent 34%),
    linear-gradient(130deg, transparent 0 52%, rgba(196, 145, 70, 0.18) 52% 54%, transparent 54%),
    radial-gradient(circle at 78% 24%, rgba(64, 132, 94, 0.18), transparent 18%),
    #f8ebcf;
}

.result-route-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.result-route-map path {
  fill: none;
  stroke: #a83b2e;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
}

.result-route-map-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  justify-items: center;
  gap: 5px;
  max-width: 92px;
}

.result-route-map-node span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 2px solid #fff3d8;
  border-radius: 50%;
  background: var(--result-blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 5px 10px rgba(77, 48, 20, 0.24);
}

.result-route-map-node:nth-of-type(3n) span {
  background: var(--result-green);
}

.result-route-map-node:nth-of-type(3n + 1) span {
  background: var(--result-gold);
}

.result-route-map-node strong {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 246, 224, 0.86);
  color: #4b2d16;
  font-size: 12px;
  line-height: 1.25;
  text-align: center;
  box-shadow: 0 4px 10px rgba(68, 45, 20, 0.12);
}

.result-route-map-empty {
  color: #7a6446;
  font-size: 13px;
}

.result-day-section {
  gap: 14px;
  padding: 0;
  margin: 0;
}

.result-day-inline-head {
  flex-wrap: wrap;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid rgba(110, 75, 34, 0.18);
  border-radius: 8px;
  background: rgba(255, 243, 218, 0.86);
}

.result-day-inline-head h3 {
  color: #352314;
  font-size: clamp(22px, 2.2vw, 32px);
}

.result-day-inline-head p,
.result-day-inline-head .result-day-weather {
  color: #715b3d;
  font-size: 13px;
}

.result-day-badge,
.result-item-sequence {
  border: 2px solid #f8dfac;
  background: linear-gradient(180deg, #a93a2c, #7c2118);
  color: #fff8e9;
  box-shadow: 0 5px 12px rgba(96, 43, 22, 0.25);
}

.result-item {
  grid-template-columns: minmax(0, 1fr) 290px;
  min-height: 0;
  padding: 18px 18px 18px 72px;
  gap: 18px;
  overflow: visible;
}

.result-item-sequence {
  position: absolute;
  left: 18px;
  top: 20px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 24px;
  font-weight: 900;
}

.result-item-image-wrap {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 290px;
  height: 176px;
  border-radius: 8px;
  border: 1px solid rgba(110, 75, 34, 0.2);
  background: #e9d3a6;
}

.result-item-time-pill {
  position: absolute;
  right: 8px;
  top: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(112, 75, 33, 0.84);
  color: #fff4dc;
  font-size: 13px;
  font-weight: 800;
}

.result-item-content {
  grid-column: 1;
  min-height: 176px;
}

.result-item-title {
  margin: 0 0 8px;
  color: #2b1a0e;
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 800;
  line-height: 1.08;
}

.result-item-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 8px;
}

.result-item-tags span,
.result-item-ticket-source span {
  padding: 4px 9px;
  border-radius: 999px;
  background: #f5d38d;
  color: #704315;
  font-size: 12px;
  font-weight: 800;
}

.result-item-tags span:nth-child(2) {
  background: #d9ead8;
  color: #2f6f4d;
}

.result-item-tags span:nth-child(3) {
  background: #ded6ef;
  color: #634995;
}

.result-item-headline,
.result-item-kicker,
.result-item-facts,
.result-item-headline-secondary {
  color: #8b4d1d;
  font-size: 14px;
  font-weight: 700;
}

.result-item-reason,
.result-item-desc,
.result-item-meta {
  color: #4a3824;
  font-size: 14px;
  line-height: 1.62;
}

.result-item-reason {
  -webkit-line-clamp: 4;
}

.result-copy-source-row {
  margin-top: 6px;
}

.result-item-side {
  grid-column: 1 / -1;
  width: auto;
  margin: 2px 0 0;
  padding: 12px 0 0;
  border-left: 0 !important;
  border-top: 1px dashed rgba(109, 78, 42, 0.28);
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-start;
}

.result-nav-btn,
.result-book-btn,
.result-item-side .btn.tiny,
.result-item-inline-action,
.result-lodging-map-link,
.result-lodging-book-link,
.result-lodging-toggle {
  width: auto;
  min-height: 30px;
  padding: 7px 12px;
  border: 1px solid rgba(93, 62, 28, 0.24) !important;
  border-radius: 999px !important;
  background: rgba(255, 250, 238, 0.86) !important;
  color: #5b3d1f !important;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.result-nav-btn,
.result-book-btn {
  background: var(--result-blue) !important;
  color: #fff !important;
  border-color: transparent !important;
}

.result-item .transport-row,
.result-item .replace-row {
  display: none;
}

.result-save-strip {
  grid-area: save;
}

@media (max-width: 1180px) {
  body.result-mode .layout {
    width: min(1040px, calc(100vw - 28px));
  }

  .result-page {
    grid-template-columns: 1fr;
    grid-template-areas:
      "nav"
      "hero"
      "tabs"
      "head"
      "main"
      "side"
      "save";
  }

  .result-info-grid {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .result-budget-donut-row {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

@media (max-width: 860px) {
  body.result-mode .layout {
    width: min(100% - 20px, 720px);
    margin-top: 8px;
  }

  .result-page {
    gap: 14px;
  }

  .result-page > .result-nav {
    position: static;
    flex-wrap: wrap;
  }

  .result-nav-links,
  .result-nav-search {
    width: 100%;
    margin-left: 0;
  }

  .result-nav-search input {
    width: 100%;
  }

  .result-hero {
    min-height: 260px;
    padding: 30px 22px;
  }

  .result-hero.result-hero-skeleton {
    min-height: 0;
  }

  .result-hero.result-hero-skeleton .result-hero-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .result-hero.result-hero-skeleton h2,
  .result-hero.result-hero-skeleton p,
  .result-hero.result-hero-skeleton .skeleton-cancel-btn,
  .ai-planning-stage {
    grid-column: 1;
  }

  .ai-planning-stage {
    grid-row: auto;
  }

  .result-info-grid {
    grid-template-columns: 1fr;
  }

  .result-item {
    grid-template-columns: 1fr;
    padding: 68px 14px 14px;
  }

  .result-item-image-wrap,
  .result-item-content {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
  }

  .result-item-image-wrap {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .result-item-sequence {
    left: 14px;
    top: 14px;
  }

  .result-day-inline-head {
    display: grid;
  }
}

@media (max-width: 560px) {
  .result-hero h2 {
    font-size: 36px;
  }

  .result-meta-pills {
    display: grid;
    grid-template-columns: 1fr;
  }

  .ai-planning-map {
    min-height: 190px;
  }

  .ai-planning-cards {
    grid-template-columns: 1fr;
  }

  .ai-mini-card {
    min-height: 72px;
  }

  .result-day-tab {
    min-width: 112px;
    padding: 10px 12px;
  }

  .result-lodging-option {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .result-lodging-cover {
    width: 72px;
    height: 72px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-route-path,
  .ai-route-cursor-svg,
  .ai-route-cursor,
  .ai-map-pin,
  .ai-planning-pulse,
  .ai-mini-card,
  .ai-task-list span::after {
    animation: none !important;
  }

  .ai-route-path {
    stroke-dashoffset: 0;
  }

  .ai-route-cursor,
  .ai-route-cursor-svg {
    display: none;
  }

  .ai-mini-card {
    opacity: 1;
    transform: none;
  }
}

/* Refined AI planning loading state */
.result-page.result-page-loading {
  grid-template-areas:
    "hero hero"
    "tabs tabs"
    "head head"
    "main side"
    "save save";
}

.result-hero.result-hero-skeleton {
  min-height: min(620px, calc(100vh - 150px));
  padding: clamp(44px, 6vw, 78px) clamp(34px, 6vw, 86px);
  border-color: rgba(108, 82, 46, 0.14);
  background:
    radial-gradient(circle at 82% 18%, rgba(49, 117, 211, 0.12), transparent 24%),
    radial-gradient(circle at 66% 76%, rgba(76, 154, 117, 0.12), transparent 24%),
    linear-gradient(115deg, rgba(255, 246, 224, 0.98) 0%, rgba(249, 234, 198, 0.92) 46%, rgba(242, 238, 222, 0.86) 100%);
  box-shadow: 0 28px 60px rgba(86, 55, 22, 0.14);
}

.result-hero.result-hero-skeleton::after {
  inset: 16px;
  border-color: rgba(112, 81, 43, 0.16);
  box-shadow: inset 0 0 42px rgba(117, 81, 35, 0.08);
}

.result-hero.result-hero-skeleton .result-hero-inner {
  display: grid;
  grid-template-columns: minmax(330px, 0.82fr) minmax(560px, 1.18fr);
  column-gap: clamp(34px, 5vw, 76px);
  row-gap: 18px;
  align-items: center;
  max-width: 1420px;
  min-height: 430px;
}

.result-hero.result-hero-skeleton h2 {
  max-width: 620px;
  font-size: clamp(58px, 7vw, 106px);
  line-height: 1.03;
  letter-spacing: 0;
}

.result-hero.result-hero-skeleton p {
  max-width: 470px;
  margin-top: 24px;
  color: #3c2c1a;
  font-size: clamp(18px, 1.5vw, 24px);
}

.result-hero.result-hero-skeleton .skeleton-cancel-btn {
  width: 156px;
  margin: 86px 0 0 22%;
  border-radius: 999px;
  border-color: rgba(112, 81, 43, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: #3f4f61;
  box-shadow: 0 12px 28px rgba(96, 71, 38, 0.1);
}

.ai-planning-stage {
  align-self: center;
}

.ai-planning-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(95, 71, 43, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.64), rgba(255, 250, 239, 0.46));
  box-shadow: 0 24px 50px rgba(77, 52, 24, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(10px);
}

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

.ai-board-head div {
  display: grid;
  gap: 3px;
}

.ai-board-kicker {
  color: #1e6bd7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ai-board-head strong {
  color: #2c2115;
  font-size: 17px;
  line-height: 1.25;
}

.ai-planning-board .ai-planning-pulse {
  flex: 0 0 auto;
}

.ai-planning-map {
  min-height: 286px;
  border-radius: 14px;
  border-color: rgba(76, 92, 103, 0.14);
  background:
    linear-gradient(rgba(54, 100, 135, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 100, 135, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 24% 30%, rgba(70, 160, 120, 0.14), transparent 28%),
    radial-gradient(circle at 74% 38%, rgba(30, 107, 215, 0.12), transparent 24%),
    linear-gradient(135deg, rgba(255, 252, 244, 0.98), rgba(246, 239, 224, 0.92));
  background-size: 42px 42px, 42px 42px, cover, cover, cover;
}

.ai-route-shadow {
  stroke: rgba(115, 92, 62, 0.18);
  stroke-width: 13;
}

.ai-route-path {
  stroke: #2274d8;
  stroke-width: 6;
  stroke-dasharray: 980;
  stroke-dashoffset: 980;
  animation: aiRouteDraw 5.6s cubic-bezier(.4, 0, .2, 1) infinite;
}

.ai-route-cursor-svg {
  fill: #f05a43;
  stroke: #fff;
  stroke-width: 4;
}

.ai-map-pin {
  width: 12px;
  height: 12px;
  border-width: 4px;
  box-shadow: 0 10px 24px rgba(43, 62, 82, 0.18);
}

.ai-map-pin span {
  top: 20px;
  padding: 5px 9px;
  border-radius: 10px;
  color: #3a2b1a;
  font-size: 13px;
}

.ai-map-pin-start { left: 10%; top: 72%; }
.ai-map-pin-sight { left: 41%; top: 58%; }
.ai-map-pin-food { left: 68%; top: 28%; }
.ai-map-pin-stay { left: 90%; top: 42%; }

.ai-planning-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.ai-mini-card {
  position: relative;
  min-height: 82px;
  padding: 13px 14px 12px;
  border-radius: 14px;
  border-color: rgba(90, 74, 54, 0.12);
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 24px rgba(68, 47, 23, 0.08);
  opacity: 1;
  transform: none;
  animation: aiCardBreathe 5.6s ease-in-out infinite;
}

.ai-mini-card::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 15px;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #4aa078;
}

.ai-mini-card:nth-child(2)::before { background: #f05a43; }
.ai-mini-card:nth-child(3)::before { background: #2274d8; }

.ai-mini-card-type {
  display: block;
  margin: 0 0 7px 16px;
  color: #6c7b8c;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.ai-mini-card strong {
  color: #2d2115;
  font-size: 14px;
}

.ai-mini-card i {
  width: 84%;
  height: 6px;
  margin-top: 11px;
  background: linear-gradient(90deg, rgba(34, 116, 216, 0.16), rgba(74, 160, 120, 0.16));
}

.ai-task-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.ai-task-list span {
  min-height: 34px;
  padding: 9px 12px 9px 32px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  color: #3d3020;
  font-size: 13px;
}

@keyframes aiCardBreathe {
  0%, 100% { transform: translateY(0); box-shadow: 0 12px 24px rgba(68, 47, 23, 0.08); }
  50% { transform: translateY(-3px); box-shadow: 0 16px 28px rgba(68, 47, 23, 0.11); }
}

@keyframes aiRouteDraw {
  0% { stroke-dashoffset: 980; }
  62%, 84% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -980; }
}

@media (max-width: 1180px) {
  .result-page.result-page-loading {
    grid-template-areas:
      "hero"
      "tabs"
      "head"
      "main"
      "side"
      "save";
  }

  .result-hero.result-hero-skeleton .result-hero-inner {
    grid-template-columns: 1fr;
    max-width: 860px;
  }

  .ai-planning-stage {
    grid-column: 1;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .result-hero.result-hero-skeleton {
    min-height: 0;
    padding: 34px 20px;
  }

  .result-hero.result-hero-skeleton h2 {
    font-size: clamp(42px, 16vw, 62px);
  }

  .result-hero.result-hero-skeleton .skeleton-cancel-btn {
    margin: 28px 0 0;
  }

  .ai-planning-board {
    padding: 14px;
  }

  .ai-planning-map {
    min-height: 220px;
  }

  .ai-planning-cards,
  .ai-task-list {
    grid-template-columns: 1fr;
  }
}

/* Travel journal loading concept */
.result-hero.result-hero-skeleton {
  min-height: min(650px, calc(100vh - 138px));
  padding: clamp(42px, 5.4vw, 74px) clamp(34px, 5.6vw, 84px);
  background:
    radial-gradient(circle at 20% 28%, rgba(255, 238, 198, 0.72), transparent 30%),
    radial-gradient(circle at 76% 22%, rgba(92, 156, 126, 0.16), transparent 26%),
    radial-gradient(circle at 88% 74%, rgba(41, 111, 202, 0.12), transparent 24%),
    linear-gradient(120deg, #f7e7c7 0%, #f3dfb8 48%, #ead7b1 100%);
}

.result-hero.result-hero-skeleton::before {
  background:
    linear-gradient(rgba(124, 92, 50, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124, 92, 50, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.22), transparent 58%);
  background-size: 54px 54px, 54px 54px, cover;
}

.result-hero.result-hero-skeleton .result-hero-inner {
  max-width: 1440px;
  min-height: 450px;
  grid-template-columns: minmax(320px, 0.78fr) minmax(600px, 1.22fr);
  align-items: center;
}

.result-hero.result-hero-skeleton h2 {
  font-size: clamp(58px, 7.2vw, 112px);
  line-height: 1.02;
  text-shadow: 0 2px 0 rgba(255, 244, 217, 0.72);
}

.result-hero.result-hero-skeleton p {
  max-width: 520px;
  color: #3d2c1b;
  font-size: clamp(18px, 1.4vw, 23px);
}

.result-hero.result-hero-skeleton .skeleton-cancel-btn {
  margin: 70px 0 0 19%;
  border: 1px solid rgba(98, 70, 36, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 34px rgba(87, 58, 25, 0.1);
}

.ai-planning-stage {
  min-width: 0;
  align-self: center;
  perspective: 1400px;
}

.ai-travel-journal {
  position: relative;
  width: min(840px, 100%);
  margin-left: auto;
  isolation: isolate;
}

.journal-cover-shadow {
  position: absolute;
  inset: 26px 18px -18px;
  z-index: -1;
  border-radius: 28px;
  background: rgba(92, 64, 30, 0.16);
  filter: blur(20px);
  transform: rotate(-1deg);
}

.journal-page {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: 24px;
  border: 1px solid rgba(104, 77, 44, 0.18);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(115, 83, 45, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(115, 83, 45, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 16% 24%, rgba(82, 157, 128, 0.16), transparent 24%),
    radial-gradient(circle at 80% 20%, rgba(44, 111, 202, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 252, 243, 0.96), rgba(255, 244, 222, 0.94));
  background-size: 38px 38px, 38px 38px, cover, cover, cover;
  box-shadow:
    0 32px 70px rgba(86, 58, 28, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  transform-origin: left center;
  animation: journalOpen 900ms cubic-bezier(.2, .8, .2, 1) both;
}

.journal-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 48%, rgba(112, 83, 47, 0.08) 49%, rgba(255, 255, 255, 0.18) 50%, transparent 52%),
    radial-gradient(circle at 72% 78%, rgba(183, 89, 52, 0.08), transparent 26%);
}

.journal-page-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.journal-page-head span {
  color: #236ed4;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.journal-page-head strong {
  display: block;
  margin-top: 5px;
  color: #2d1f12;
  font-size: 23px;
  line-height: 1.2;
}

.journal-canvas {
  position: relative;
  height: 340px;
  border: 1px solid rgba(102, 75, 41, 0.13);
  border-radius: 22px;
  background:
    radial-gradient(circle at 18% 78%, rgba(74, 160, 120, 0.18), transparent 21%),
    radial-gradient(circle at 78% 22%, rgba(31, 107, 215, 0.1), transparent 24%),
    rgba(255, 251, 241, 0.6);
  box-shadow: inset 0 0 32px rgba(92, 64, 30, 0.07);
}

.journal-fold {
  position: absolute;
  width: 160px;
  height: 1px;
  background: rgba(120, 91, 58, 0.12);
  transform: rotate(-28deg);
}

.fold-one { left: 44px; top: 74px; }
.fold-two { right: 58px; bottom: 86px; transform: rotate(21deg); }

.journal-route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.journal-route-shadow,
.journal-route-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.journal-route-shadow {
  stroke: rgba(89, 65, 36, 0.14);
  stroke-width: 12;
}

.journal-route-line {
  stroke: #236ed4;
  stroke-width: 4;
  stroke-dasharray: 12 12;
  stroke-dashoffset: 620;
  animation: journalRouteDraw 6.4s ease-in-out infinite;
}

.journal-route-dot {
  fill: #ef6045;
  stroke: #fff;
  stroke-width: 4;
  filter: drop-shadow(0 7px 12px rgba(142, 62, 32, 0.24));
}

.journal-sticker {
  position: absolute;
  z-index: 4;
  width: 150px;
  min-height: 118px;
  padding: 12px;
  border: 1px solid rgba(98, 72, 39, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 28px rgba(70, 48, 22, 0.12);
  transform-origin: 50% 20%;
  opacity: 0;
  animation: stickerDrop 6.4s cubic-bezier(.25, .85, .25, 1) infinite;
}

.journal-sticker::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -12px;
  width: 54px;
  height: 20px;
  border-radius: 4px;
  background: rgba(255, 244, 205, 0.74);
  box-shadow: 0 2px 5px rgba(90, 64, 32, 0.12);
  transform: translateX(-50%) rotate(-3deg);
}

.journal-sticker i {
  display: block;
  height: 54px;
  margin-bottom: 10px;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(35, 110, 212, 0.12), rgba(74, 160, 120, 0.22)),
    linear-gradient(160deg, transparent 48%, rgba(74, 160, 120, 0.36) 49% 64%, transparent 65%);
}

.journal-sticker strong,
.journal-sticker small {
  display: block;
}

.journal-sticker strong {
  color: #2d1f12;
  font-size: 15px;
}

.journal-sticker small {
  margin-top: 5px;
  color: #74604a;
  font-size: 12px;
  font-weight: 700;
}

.sticker-sight {
  left: 56px;
  top: 92px;
  --sticker-angle: -5deg;
  transform: translateY(18px) rotate(-5deg);
  animation-delay: 0.2s;
}

.sticker-food {
  left: 312px;
  top: 180px;
  --sticker-angle: 3deg;
  transform: translateY(18px) rotate(3deg);
  animation-delay: 1.05s;
}

.sticker-food i {
  background:
    radial-gradient(circle at 50% 58%, rgba(239, 96, 69, 0.32) 0 28%, transparent 29%),
    linear-gradient(135deg, rgba(239, 96, 69, 0.12), rgba(246, 196, 95, 0.25));
}

.sticker-hotel {
  right: 62px;
  top: 58px;
  --sticker-angle: -2deg;
  transform: translateY(18px) rotate(-2deg);
  animation-delay: 1.85s;
}

.sticker-hotel i {
  background:
    linear-gradient(135deg, rgba(35, 110, 212, 0.15), rgba(121, 98, 176, 0.18)),
    linear-gradient(150deg, transparent 45%, rgba(35, 110, 212, 0.28) 46% 58%, transparent 59%);
}

.journal-pin {
  position: absolute;
  z-index: 5;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #42301e;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 9px 18px rgba(73, 49, 21, 0.12);
  opacity: 0;
  animation: pinPop 6.4s ease-in-out infinite;
}

.journal-pin::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -9px;
  width: 10px;
  height: 10px;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #4aa078;
  transform: translateX(-50%);
}

.pin-start { left: 76px; bottom: 44px; animation-delay: 0.8s; }
.pin-mid { left: 350px; top: 106px; animation-delay: 2.2s; }
.pin-end { right: 88px; top: 38px; animation-delay: 3.1s; }
.pin-mid::before { background: #236ed4; }
.pin-end::before { background: #ef6045; }

.journal-stamp {
  position: absolute;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 3px solid rgba(169, 58, 44, 0.72);
  border-radius: 999px;
  color: rgba(139, 42, 32, 0.8);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-align: center;
  transform: scale(1.4) rotate(-14deg);
  opacity: 0;
  animation: stampPress 6.4s ease-in-out infinite;
}

.stamp-one {
  right: 196px;
  bottom: 38px;
  animation-delay: 3.15s;
}

.stamp-two {
  right: 54px;
  bottom: 88px;
  border-color: rgba(35, 110, 212, 0.58);
  color: rgba(24, 90, 175, 0.76);
  transform: scale(1.4) rotate(9deg);
  animation-delay: 4.0s;
}

.journal-progress {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.journal-progress span {
  position: relative;
  min-height: 46px;
  padding: 13px 12px 10px 30px;
  border: 1px solid rgba(102, 75, 41, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.66);
  color: #3d3020;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}

.journal-progress span::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #4aa078;
}

.journal-progress span::after {
  content: "";
  position: absolute;
  inset: auto 12px 8px 30px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(35, 110, 212, 0.24), rgba(74, 160, 120, 0.22));
  transform-origin: left center;
  transform: scaleX(0);
  animation: progressWrite 6.4s ease-in-out infinite;
}

.journal-progress span:nth-child(2)::after { animation-delay: 0.45s; }
.journal-progress span:nth-child(3)::after { animation-delay: 0.9s; }
.journal-progress span:nth-child(4)::after { animation-delay: 1.35s; }

.journal-copy-loop {
  position: relative;
  height: 24px;
  margin-top: 14px;
  color: #6a5339;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
}

.journal-copy-loop span {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(12px);
  animation: copyLoop 7.2s ease-in-out infinite;
}

.journal-copy-loop span:nth-child(2) { animation-delay: 2.4s; }
.journal-copy-loop span:nth-child(3) { animation-delay: 4.8s; }

@keyframes journalOpen {
  0% { opacity: 0; transform: rotateY(-9deg) translateY(16px); }
  100% { opacity: 1; transform: rotateY(0deg) translateY(0); }
}

@keyframes stickerDrop {
  0%, 8% { opacity: 0; transform: translateY(22px) rotate(var(--sticker-angle, -3deg)) scale(0.96); }
  18%, 82% { opacity: 1; transform: translateY(0) rotate(var(--sticker-angle, -3deg)) scale(1); }
  100% { opacity: 0; transform: translateY(-8px) rotate(var(--sticker-angle, -3deg)) scale(0.98); }
}

@keyframes journalRouteDraw {
  0%, 18% { stroke-dashoffset: 620; }
  58%, 82% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -620; }
}

@keyframes pinPop {
  0%, 16% { opacity: 0; transform: translateY(8px) scale(0.9); }
  24%, 84% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(-4px) scale(0.98); }
}

@keyframes stampPress {
  0%, 48% { opacity: 0; transform: scale(1.35) rotate(-12deg); filter: blur(1px); }
  55% { opacity: 1; transform: scale(0.94) rotate(-12deg); filter: blur(0); }
  62%, 86% { opacity: 0.82; transform: scale(1) rotate(-12deg); }
  100% { opacity: 0; transform: scale(1.05) rotate(-12deg); }
}

@keyframes progressWrite {
  0%, 20% { transform: scaleX(0); opacity: 0.4; }
  48%, 84% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(1); opacity: 0; }
}

@keyframes copyLoop {
  0%, 12% { opacity: 0; transform: translateY(12px); }
  18%, 42% { opacity: 1; transform: translateY(0); }
  52%, 100% { opacity: 0; transform: translateY(-10px); }
}

@media (max-width: 1180px) {
  .result-hero.result-hero-skeleton .result-hero-inner {
    grid-template-columns: 1fr;
    max-width: 900px;
  }

  .ai-travel-journal {
    margin-left: 0;
  }
}

@media (max-width: 760px) {
  .journal-page {
    min-height: 0;
    padding: 16px;
  }

  .journal-canvas {
    height: 390px;
  }

  .journal-sticker {
    width: 132px;
  }

  .sticker-sight { left: 28px; top: 78px; }
  .sticker-food { left: 150px; top: 210px; }
  .sticker-hotel { right: 26px; top: 48px; }

  .journal-progress {
    grid-template-columns: 1fr;
  }

  .journal-stamp {
    width: 82px;
    height: 82px;
    font-size: 13px;
  }
}

/* Result detail layout matched to the supplied reference */
body.result-mode .layout {
  margin: 0 auto 64px;
  padding: 90px 24px 0;
}

.result-page:not(.result-page-loading) {
  width: min(100%, 1800px);
  max-width: 1800px;
  padding: 28px 0 64px;
  gap: 22px;
}

.result-page:not(.result-page-loading) .result-hero {
  width: min(100%, 1800px);
  margin: 0 auto 0;
  border-radius: 34px;
}

.result-page:not(.result-page-loading) .result-info-grid,
.result-page:not(.result-page-loading) .result-day-head {
  display: none !important;
}

.result-page:not(.result-page-loading) .result-day-tabs {
  width: min(100%, 1800px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.result-page:not(.result-page-loading) .result-day-tabs button {
  position: relative;
  min-height: 50px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  background: rgba(255, 255, 255, 0.92);
  color: #10364a;
  font-size: 16px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(24, 48, 40, 0.06);
}

.result-page:not(.result-page-loading) .result-day-tabs button.active,
.result-page:not(.result-page-loading) .result-day-tabs button[aria-selected="true"] {
  background: #0a376f;
  color: #fff;
  box-shadow: none;
}

.result-page:not(.result-page-loading) .result-timeline {
  width: min(100%, 1800px);
  margin: 0 auto;
  display: block;
}

.result-page:not(.result-page-loading) .result-detail-panel {
  display: grid;
  gap: 26px;
  padding: 0 28px 52px;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(30, 32, 36, 0.12);
  overflow: hidden;
}

.result-page:not(.result-page-loading) .result-detail-panel::before {
  display: none;
}

.result-detail-head {
  display: grid;
  grid-template-columns: auto 62px minmax(190px, 1fr) 62px minmax(190px, 1fr);
  gap: 22px;
  align-items: center;
  min-height: 108px;
  padding: 18px 0 20px;
  border-bottom: 1px solid #e7e2dd;
}

.result-detail-title {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 310px;
}

.result-detail-title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 102px;
  height: 38px;
  border-radius: 999px;
  background: #ececec;
  color: #111;
  font-size: 16px;
  font-weight: 500;
}

.result-detail-title h3 {
  margin: 0;
  color: #101010;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
}

.result-detail-weather-icon,
.result-detail-alert-icon {
  color: #252538;
}

.result-detail-weather-icon svg,
.result-detail-alert-icon svg {
  display: block;
  width: 54px;
  height: 54px;
}

.result-detail-weather,
.result-detail-alert {
  display: grid;
  gap: 5px;
  color: #151515;
}

.result-detail-weather strong,
.result-detail-alert strong {
  font-size: 15px;
  font-weight: 600;
}

.result-detail-weather span,
.result-detail-alert span,
.result-detail-weather small {
  color: #151515;
  font-size: 14px;
  line-height: 1.4;
}

.result-detail-map {
  height: 265px;
  border-radius: 14px;
  background: #f4f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.result-detail-map strong {
  color: #060606;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: 0;
}

.result-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 282px;
  gap: 10px;
  align-items: start;
}

.result-detail-main {
  display: grid;
  gap: 0;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-trip-card {
  position: relative;
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  gap: 16px;
  min-height: 210px;
  padding: 0;
  border: 1px solid #eee7df;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  overflow: hidden;
}

.result-page:not(.result-page-loading) .result-trip-card::after {
  display: none;
}

.result-trip-image-wrap {
  width: 208px;
  min-height: 210px;
  overflow: hidden;
  background: #ece6df;
}

.result-trip-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.result-trip-content {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 8px;
  min-width: 0;
  padding: 13px 14px 12px 0;
}

.result-trip-title-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.result-trip-title-row h4 {
  margin: 0;
  color: #111;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.1;
}

.result-trip-price {
  flex: 0 0 auto;
  color: #c82f18;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
}

.result-trip-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: #111;
  font-size: 15px;
  line-height: 1.3;
}

.result-trip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.result-trip-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f2ebff;
  color: #8b69cd;
  font-size: 12px;
  font-weight: 700;
}

.result-trip-tags span:nth-child(2) {
  background: #e8fff5;
  color: #078463;
}

.result-trip-tags span:nth-child(3) {
  background: #ffecef;
  color: #f05b78;
}

.result-trip-tags span:nth-child(4) {
  background: #fff2de;
  color: #d17a18;
}

.result-trip-content p {
  margin: 0;
  color: #141414;
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.result-trip-actions {
  display: flex;
  gap: 6px;
}

.result-trip-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.result-trip-nav {
  background: #0d8a76;
  color: #fff;
}

.result-trip-link {
  border: 1px solid #d7e5fb;
  background: #f7fbff;
  color: #2874c9;
}

.result-trip-mini-actions {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 6px;
}

.result-trip-mini-actions .btn.tiny {
  width: 20px;
  height: 20px;
  min-height: 20px;
  padding: 0;
  border: 1px solid #edf0f3;
  border-radius: 6px;
  background: #fff;
  color: #a6afb8;
  font-size: 12px;
  line-height: 1;
  box-shadow: none;
}

.result-trip-connector {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding-left: 6px;
}

.result-trip-connector-icon {
  position: relative;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border: 2px solid #111;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: 0;
  line-height: 1;
}

.result-trip-connector-icon::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.result-trip-transport-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.result-trip-transport-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  padding: 0 10px;
  border: 1px solid #eee3d4;
  border-radius: 999px;
  background: #fffdf9;
  color: #53626d;
  font-size: 12px;
  font-weight: 800;
}

.result-trip-transport-chip.is-active {
  border-color: rgba(13, 138, 118, 0.2);
  background: rgba(13, 138, 118, 0.08);
  color: #0d8a76;
}

.result-trip-transport-chip strong {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
}

.result-trip-transport-chip small {
  color: #90928c;
  font-size: 12px;
  font-weight: 700;
}

.result-detail-food {
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.result-detail-food .result-daily-food-head {
  display: block;
  margin-bottom: 10px;
}

.result-detail-food .result-daily-food-head h4 {
  margin: 0;
  color: #2c2730;
  font-size: 16px;
  font-weight: 800;
}

.result-detail-food .result-daily-food-head span {
  display: inline-flex;
  margin-right: 8px;
}

.result-detail-food .result-daily-food-head p {
  margin: 2px 0 0;
  color: #9b9693;
  font-size: 11px;
}

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

.result-detail-food-card {
  display: grid;
  grid-template-rows: 100px 1fr;
  min-height: 300px;
  overflow: hidden;
  border: 1px solid #eee7df;
  border-radius: 10px;
  background: #fff;
  color: #222;
  text-decoration: none;
}

.result-detail-food-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
}

.result-detail-food-card > div {
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 6px;
  padding: 12px 10px;
}

.result-detail-meal {
  justify-self: start;
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff1dd;
  color: #e18c40;
  font-size: 11px;
  font-weight: 800;
}

.result-detail-food-card strong {
  color: #2a2a2a;
  font-size: 15px;
  line-height: 1.25;
}

.result-detail-food-card small {
  color: #7b858f;
  font-size: 11px;
}

.result-detail-food-card p {
  margin: 0;
  color: #616b75;
  font-size: 11px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

.result-detail-food-card footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}

.result-detail-food-card b {
  color: #ef6d38;
  font-size: 12px;
}

.result-detail-food-card em {
  color: #d47b2b;
  font-size: 12px;
  font-style: normal;
}

.result-detail-aside {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.result-aside-card {
  border: 1px solid #eee7df;
  border-radius: 12px;
  background: #fff;
  padding: 14px 12px;
}

.result-aside-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.result-aside-title > span {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: #fff4e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.result-aside-title small {
  display: block;
  color: #9ea2af;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.result-aside-title h4 {
  margin: 0;
  color: #2a2c36;
  font-size: 14px;
  font-weight: 800;
}

.result-budget-total {
  text-align: center;
  color: #273142;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.1;
}

.result-budget-total span {
  margin-left: 3px;
  color: #9aa1ab;
  font-family: inherit;
  font-size: 14px;
}

.result-budget-aside p {
  margin: 5px 0 12px;
  text-align: center;
  color: #a5a8b1;
  font-size: 10px;
}

.result-budget-aside ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.result-budget-aside li {
  display: grid;
  gap: 3px;
}

.result-budget-aside li div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #5c6470;
  font-size: 11px;
  font-weight: 800;
}

.result-budget-aside li strong {
  color: #28323e;
}

.result-budget-aside li i {
  display: block;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color) 0 var(--bar), #f0f1f2 var(--bar) 100%);
}

.result-aside-list {
  display: grid;
  gap: 7px;
}

.result-aside-list > div {
  display: grid;
  grid-template-columns: 27px 1fr;
  column-gap: 8px;
  row-gap: 2px;
  min-height: 42px;
  padding: 8px;
  border-radius: 9px;
  background: #fbfaf9;
}

.result-aside-list span {
  grid-row: 1 / span 2;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background: #f2efff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

.result-aside-list strong {
  color: #46505d;
  font-size: 11px;
  line-height: 1.25;
}

.result-aside-list small {
  color: #969ca5;
  font-size: 10px;
  line-height: 1.25;
}

.result-stay-list {
  display: grid;
  gap: 8px;
}

.result-stay-list article {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  padding: 7px;
  border: 1px solid #f0e8dd;
  border-radius: 9px;
  background: #fffdf9;
}

.result-stay-list img {
  width: 58px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  background: #eee6dc;
}

.result-stay-list div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.result-stay-list strong {
  color: #354052;
  font-size: 11px;
  line-height: 1.25;
}

.result-stay-list small {
  color: #9aa1ad;
  font-size: 10px;
  line-height: 1.25;
}

.result-stay-list footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.result-stay-list b {
  color: #ee6337;
  font-size: 12px;
}

.result-stay-list b span {
  color: #9aa1ad;
  font-weight: 600;
}

.result-stay-list em {
  color: #d47b2b;
  font-size: 11px;
  font-style: normal;
}

@media (max-width: 1120px) {
  .result-detail-head {
    grid-template-columns: auto 50px 1fr;
  }

  .result-detail-alert-icon,
  .result-detail-alert {
    display: none;
  }

  .result-detail-body {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .result-detail-aside {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }
}

@media (max-width: 760px) {
  body.result-mode .layout {
    padding: 80px 12px 0;
  }

  .result-page:not(.result-page-loading) .result-day-tabs {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .result-page:not(.result-page-loading) .result-detail-panel {
    padding: 0 14px 28px;
  }

  .result-detail-head {
    grid-template-columns: 1fr;
    gap: 12px;
    min-height: 0;
    padding: 18px 0;
  }

  .result-detail-title {
    min-width: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .result-detail-map {
    height: 180px;
  }

  .result-detail-map strong {
    font-size: 24px;
  }

  .result-page:not(.result-page-loading) .result-trip-card {
    grid-template-columns: 1fr;
  }

  .result-trip-image-wrap {
    width: 100%;
    min-height: 190px;
  }

  .result-trip-content {
    padding: 14px;
  }

  .result-detail-food-grid,
  .result-detail-aside {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .journal-page,
  .journal-sticker,
  .journal-route-line,
  .journal-pin,
  .journal-stamp,
  .journal-progress span::after {
    animation: none !important;
  }

  .journal-sticker,
  .journal-pin,
  .journal-stamp {
    opacity: 1;
  }

  .journal-route-line {
    stroke-dashoffset: 0;
  }
}

/* Full-width journal loading layout */
.result-hero.result-hero-skeleton .result-hero-inner {
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  max-width: 1280px;
  min-height: min(690px, calc(100vh - 160px));
}

.result-hero.result-hero-skeleton h2,
.result-hero.result-hero-skeleton p {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.result-hero.result-hero-skeleton .skeleton-cancel-btn {
  grid-column: 1;
  width: auto;
  min-width: 168px;
  margin: 18px auto 0;
  padding: 12px 34px;
}

.ai-planning-stage {
  grid-column: 1;
  grid-row: auto;
  width: min(1120px, 100%);
}

.ai-travel-journal {
  width: 100%;
  margin: 0 auto;
}

.journal-page {
  min-height: min(620px, calc(100vh - 245px));
  padding: clamp(22px, 3vw, 34px);
}

.journal-canvas {
  height: clamp(360px, 48vh, 470px);
}

.journal-page-head strong {
  font-size: clamp(24px, 2.1vw, 32px);
}

.journal-sticker {
  width: clamp(150px, 15vw, 188px);
  min-height: 132px;
}

.journal-sticker i {
  height: 66px;
}

.journal-progress {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .result-hero.result-hero-skeleton .result-hero-inner {
    min-height: 0;
  }

  .journal-page {
    min-height: 0;
  }

  .journal-canvas {
    height: 430px;
  }

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

@media (max-width: 620px) {
  .result-hero.result-hero-skeleton {
    padding: 24px 14px;
  }

  .journal-page-head {
    display: grid;
  }

  .journal-canvas {
    height: 460px;
  }

  .journal-progress {
    grid-template-columns: 1fr;
  }

  .result-hero.result-hero-skeleton .skeleton-cancel-btn {
    margin-top: 14px;
  }
}

/* Travel folder loading concept */
body.result-loading-mode {
  overflow: auto;
}

.result-page.result-page-loading .result-hero.result-hero-skeleton {
  min-height: calc(100vh - 112px);
  padding: clamp(14px, 2vw, 24px) clamp(24px, 4vw, 58px) 18px;
  overflow: hidden;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  animation: none;
}

.result-page.result-page-loading .result-hero.result-hero-skeleton::before,
.result-page.result-page-loading .result-hero.result-hero-skeleton::after {
  display: none;
}

.result-page.result-page-loading .result-hero.result-hero-skeleton .result-hero-inner {
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100vh - 152px);
  grid-template-columns: 1fr;
  align-content: start;
  gap: 12px;
}

.result-page.result-page-loading .ai-planning-stage {
  width: min(1320px, 100%);
}

.result-page.result-page-loading .result-hero.result-hero-skeleton .skeleton-cancel-btn {
  position: relative;
  z-index: 10;
  margin: 18px auto 0;
  box-shadow: 0 16px 34px rgba(70, 48, 23, 0.13);
  transform: none;
}

.ai-travel-folder {
  width: 100%;
}

.folder-page {
  position: relative;
  min-height: min(680px, calc(100vh - 205px));
  padding: clamp(22px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(101, 73, 39, 0.16);
  border-radius: 28px;
  background:
    linear-gradient(rgba(116, 91, 56, 0.046) 1px, transparent 1px),
    linear-gradient(90deg, rgba(116, 91, 56, 0.046) 1px, transparent 1px),
    radial-gradient(circle at 12% 84%, rgba(91, 176, 136, 0.18), transparent 31%),
    radial-gradient(circle at 78% 22%, rgba(75, 139, 205, 0.16), transparent 29%),
    linear-gradient(118deg, rgba(255, 252, 243, 0.96), rgba(246, 237, 217, 0.88));
  background-size: 42px 42px, 42px 42px, auto, auto, auto;
  box-shadow: 0 24px 54px rgba(90, 62, 30, 0.17);
}

.folder-page::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 49.3%, rgba(126, 91, 52, 0.13) 50%, transparent 50.8%),
    radial-gradient(circle at 50% 50%, transparent 0 58%, rgba(111, 77, 38, 0.08) 100%);
  opacity: 0.7;
}

.folder-page-head {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-bottom: 16px;
}

.folder-page-head span {
  position: absolute;
  left: 0;
  color: #1f6fd6;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 3px;
}

.folder-page-head strong {
  width: 100%;
  color: #2b2118;
  font-size: clamp(26px, 2.6vw, 42px);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
}

.folder-board {
  position: relative;
  z-index: 2;
  height: clamp(360px, 49vh, 500px);
  overflow: hidden;
  border: 1px solid rgba(103, 77, 43, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(rgba(82, 101, 113, 0.052) 1px, transparent 1px),
    linear-gradient(90deg, rgba(82, 101, 113, 0.052) 1px, transparent 1px),
    rgba(255, 253, 247, 0.44);
  background-size: 52px 52px;
}

.folder-glow {
  position: absolute;
  width: 36%;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(4px);
  opacity: 0.56;
}

.folder-glow-left {
  left: 3%;
  bottom: 3%;
  background: radial-gradient(circle, rgba(81, 179, 132, 0.22), transparent 68%);
}

.folder-glow-right {
  right: 5%;
  top: 4%;
  background: radial-gradient(circle, rgba(72, 137, 212, 0.2), transparent 68%);
}

.travel-folder {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 6;
  width: min(620px, 54%);
  height: 58%;
  transform: translateX(-50%);
}

.travel-folder-back,
.travel-folder-front {
  position: absolute;
  left: 0;
  width: 100%;
  border: 1px solid rgba(142, 107, 57, 0.13);
}

.travel-folder-back {
  top: 30px;
  bottom: 28px;
  border-radius: 24px 24px 20px 20px;
  background: linear-gradient(180deg, #f9e8bd, #efd092);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62), 0 18px 36px rgba(99, 68, 28, 0.14);
}

.travel-folder-tab {
  position: absolute;
  top: -31px;
  left: 0;
  width: clamp(160px, 22vw, 240px);
  height: 58px;
  padding: 15px 22px 0;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(180deg, #fff1c9, #f1d69d);
  color: rgba(92, 66, 28, 0.66);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2px;
}

.folder-label {
  position: absolute;
  right: 32px;
  top: 32px;
  display: grid;
  gap: 4px;
  max-width: 45%;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(255, 248, 228, 0.78);
  color: #513713;
}

.folder-label small {
  color: rgba(81, 55, 19, 0.64);
  font-weight: 800;
}

.folder-label strong {
  overflow: hidden;
  font-size: clamp(22px, 2.6vw, 34px);
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.travel-folder-front {
  bottom: 0;
  z-index: 8;
  height: 62%;
  padding: clamp(22px, 3vw, 36px);
  border-radius: 18px 18px 28px 28px;
  background:
    linear-gradient(180deg, rgba(255, 241, 204, 0.96), rgba(238, 203, 137, 0.95)),
    linear-gradient(110deg, rgba(255, 255, 255, 0.34), transparent 40%);
  box-shadow: 0 -8px 18px rgba(99, 68, 28, 0.08), 0 22px 38px rgba(90, 60, 24, 0.14);
}

.travel-folder-front strong {
  display: block;
  color: #463018;
  font-size: clamp(28px, 3.6vw, 52px);
  font-weight: 900;
  line-height: 1.02;
}

.travel-folder-front small {
  display: block;
  margin-top: 9px;
  color: rgba(64, 43, 18, 0.7);
  font-weight: 800;
}

.folder-pocket-lines {
  position: absolute;
  right: 34px;
  bottom: 28px;
  display: grid;
  gap: 9px;
  width: min(220px, 34%);
}

.folder-pocket-lines span {
  height: 8px;
  border-radius: 999px;
  background: rgba(112, 76, 28, 0.14);
}

.folder-pocket-lines span:nth-child(2) {
  width: 82%;
}

.folder-pocket-lines span:nth-child(3) {
  width: 64%;
}

.folder-float-card {
  position: absolute;
  z-index: 7;
  display: grid;
  grid-template-rows: 86px auto auto auto;
  gap: 5px;
  width: clamp(150px, 16vw, 210px);
  min-height: 184px;
  padding: 10px;
  border: 1px solid rgba(82, 59, 31, 0.11);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 34px rgba(76, 55, 28, 0.16);
  animation: folderCardFlow 8s cubic-bezier(0.2, 0.8, 0.2, 1) infinite both;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

.folder-float-card img {
  width: 100%;
  height: 86px;
  object-fit: cover;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(211, 226, 234, 0.8), rgba(239, 220, 175, 0.8));
}

.folder-float-card span {
  width: max-content;
  max-width: 100%;
  padding: 4px 8px;
  border-radius: 999px;
  background: #e9f3ff;
  color: #1f6fd6;
  font-size: 12px;
  font-weight: 900;
}

.folder-float-card strong {
  overflow: hidden;
  color: #24190f;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.folder-float-card small {
  color: rgba(45, 34, 24, 0.66);
  font-weight: 800;
}

.folder-float-card-1 {
  left: 7%;
  top: 12%;
  --delay: -0.2s;
  --from-x: -130px;
  --from-y: -16px;
  --open-rotate: -7deg;
  --sink-x: 390px;
  --sink-y: 210px;
}

.folder-float-card-2 {
  right: 8%;
  top: 10%;
  --delay: 1.1s;
  --from-x: 120px;
  --from-y: -42px;
  --open-rotate: 6deg;
  --sink-x: -360px;
  --sink-y: 220px;
}

.folder-float-card-3 {
  left: 16%;
  bottom: 18%;
  --delay: 2.2s;
  --from-x: -80px;
  --from-y: 120px;
  --open-rotate: 5deg;
  --sink-x: 285px;
  --sink-y: 84px;
}

.folder-float-card-4 {
  right: 17%;
  bottom: 17%;
  --delay: 3.3s;
  --from-x: 92px;
  --from-y: 110px;
  --open-rotate: -5deg;
  --sink-x: -285px;
  --sink-y: 92px;
}

.folder-float-card-5 {
  left: 43%;
  top: 2%;
  --delay: 4.4s;
  --from-x: 0;
  --from-y: -120px;
  --open-rotate: 3deg;
  --sink-x: 0;
  --sink-y: 250px;
}

@keyframes folderCardFlow {
  0% {
    opacity: 0;
    transform: translate(var(--from-x), var(--from-y)) rotate(calc(var(--open-rotate) * 1.5)) scale(0.88);
  }
  14% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--open-rotate)) scale(1);
  }
  46% {
    opacity: 1;
    transform: translate(0, 0) rotate(var(--open-rotate)) scale(1);
  }
  72% {
    opacity: 0.96;
    transform: translate(var(--sink-x), var(--sink-y)) rotate(0deg) scale(0.84);
  }
  86% {
    opacity: 0;
    transform: translate(var(--sink-x), calc(var(--sink-y) + 34px)) rotate(0deg) scale(0.72);
  }
  100% {
    opacity: 0;
    transform: translate(var(--from-x), var(--from-y)) rotate(var(--open-rotate)) scale(0.86);
  }
}

.folder-progress {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.folder-progress span {
  position: relative;
  overflow: hidden;
  padding: 13px 16px 13px 36px;
  border: 1px solid rgba(91, 64, 32, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
  color: #2f241a;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(83, 58, 28, 0.08);
}

.folder-progress span::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4dae8a;
  transform: translateY(-50%);
}

.folder-progress span::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 16px;
  bottom: 8px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(31, 111, 214, 0.24), rgba(77, 174, 138, 0.24), transparent);
  animation: journalProgressSweep 2.7s ease-in-out infinite;
}

@media (max-width: 900px) {
  body.result-loading-mode {
    overflow: auto;
  }

  .result-page.result-page-loading .result-hero.result-hero-skeleton {
    min-height: 0;
    padding: 14px;
  }

  .result-page.result-page-loading .result-hero.result-hero-skeleton .result-hero-inner {
    min-height: 0;
  }

  .folder-page {
    min-height: 0;
    padding: 18px;
  }

  .folder-page-head {
    display: grid;
  }

  .folder-board {
    height: 520px;
  }

  .travel-folder {
    width: min(640px, 78%);
  }

  .folder-float-card {
    width: 168px;
  }

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

@media (max-width: 620px) {
  .result-page.result-page-loading .result-hero.result-hero-skeleton {
    padding: 8px 10px 10px;
  }

  .result-page.result-page-loading .result-hero.result-hero-skeleton .skeleton-cancel-btn {
    margin-top: 14px;
    padding: 10px 28px;
  }

  .folder-page {
    min-height: calc(100vh - 166px);
    padding: 14px;
    border-radius: 22px;
  }

  .folder-page-head {
    gap: 8px;
    padding-bottom: 10px;
  }

  .folder-page-head span {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .folder-page-head strong {
    font-size: 20px;
  }

  .folder-board {
    height: min(360px, calc(100vh - 360px));
    min-height: 310px;
    border-radius: 18px;
  }

  .folder-float-card {
    width: 128px;
    grid-template-rows: 58px auto auto auto;
    min-height: 136px;
    padding: 8px;
    border-radius: 14px;
  }

  .folder-float-card img {
    height: 58px;
    border-radius: 10px;
  }

  .folder-float-card strong {
    font-size: 15px;
  }

  .folder-progress {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
  }

  .folder-progress span {
    padding: 10px 10px 10px 28px;
    border-radius: 12px;
    font-size: 12px;
  }

  .folder-progress span::before {
    left: 12px;
    width: 8px;
    height: 8px;
  }

  .folder-progress span::after {
    left: 28px;
    right: 10px;
    bottom: 6px;
  }

  .travel-folder {
    bottom: 18px;
    width: 88%;
    height: 54%;
  }

  .travel-folder-front {
    padding: 18px;
  }

  .travel-folder-front strong {
    font-size: 28px;
  }

  .journal-copy-loop {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .folder-float-card {
    opacity: 1;
    animation: none;
    transform: rotate(var(--open-rotate));
  }
}

/* Travel journal result page refresh */
body.result-mode {
  background:
    linear-gradient(rgba(255, 255, 255, 0.48) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.44) 1px, transparent 1px),
    radial-gradient(circle at 8% 18%, rgba(61, 174, 166, 0.16), transparent 26%),
    radial-gradient(circle at 92% 10%, rgba(255, 177, 104, 0.18), transparent 24%),
    linear-gradient(135deg, #f8efe0 0%, #f6fbf7 43%, #eef7fb 100%);
  background-size: 28px 28px, 28px 28px, auto, auto, auto;
}

body.result-mode .layout,
body.result-mode .result-shell,
body.result-mode .result-main {
  background: transparent;
}

.result-page:not(.result-page-loading) {
  --travel-ink: #17324d;
  --travel-muted: #607489;
  --travel-teal: #2fa88f;
  --travel-blue: #2474d6;
  --travel-coral: #ee7058;
  --travel-paper: rgba(255, 255, 255, 0.88);
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "hero"
    "info"
    "tabs"
    "head"
    "main"
    "save";
  width: min(100%, 1540px);
  max-width: 1540px;
  margin: 0 auto;
  gap: 22px;
  padding: 28px 0 64px;
}

.result-page:not(.result-page-loading) > .result-nav {
  display: none;
}

.result-page:not(.result-page-loading) .result-hero {
  grid-area: hero;
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(380px, 40vw, 560px);
  padding: clamp(34px, 5vw, 72px);
  overflow: hidden;
  border: 0;
  border-radius: 34px;
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 70px rgba(44, 56, 68, 0.22);
}

.result-page:not(.result-page-loading) .result-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(9, 25, 39, 0.72) 0%, rgba(9, 25, 39, 0.38) 48%, rgba(9, 25, 39, 0.1) 100%),
    linear-gradient(0deg, rgba(9, 25, 39, 0.54) 0%, rgba(9, 25, 39, 0.04) 62%);
}

.result-page:not(.result-page-loading) .result-hero::after {
  content: "TRAVEL JOURNAL";
  position: absolute;
  inset: auto;
  top: 28px;
  right: auto;
  bottom: auto;
  left: clamp(30px, 4vw, 58px);
  z-index: 1;
  width: auto;
  height: auto;
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.44);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.6px;
  box-shadow: none;
  pointer-events: none;
  transform: none;
  backdrop-filter: blur(10px);
}

.result-page:not(.result-page-loading) .result-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0;
  text-align: left;
  color: #fff;
}

.result-page:not(.result-page-loading) .result-hero h2 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(42px, 6vw, 86px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
}

.result-page:not(.result-page-loading) .result-hero h2::first-letter {
  color: inherit;
}

.result-page:not(.result-page-loading) .result-hero p {
  max-width: 720px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(16px, 1.45vw, 21px);
  line-height: 1.75;
}

.result-page:not(.result-page-loading) .result-meta-pills {
  justify-content: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.result-page:not(.result-page-loading) .result-meta-pills span {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.result-page:not(.result-page-loading) .result-info-grid {
  grid-area: info;
  position: static;
  top: auto;
  right: auto;
  z-index: auto;
  width: auto;
  display: grid;
  grid-template-columns: minmax(280px, 1.12fr) minmax(280px, 1fr) minmax(320px, 1.28fr);
  gap: 16px;
  align-items: stretch;
  transform: none !important;
}

.result-page:not(.result-page-loading) .result-info-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(42, 82, 105, 0.12);
  border-radius: 24px;
  background: var(--travel-paper);
  box-shadow: 0 16px 40px rgba(47, 66, 84, 0.1);
  backdrop-filter: blur(14px);
}

.result-page:not(.result-page-loading) .result-info-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--travel-teal), var(--travel-blue), var(--travel-coral));
  opacity: 0.86;
}

.result-page:not(.result-page-loading) .result-info-card h3,
.result-page:not(.result-page-loading) .result-info-card h4 {
  color: var(--travel-ink);
  font-family: inherit;
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-day-tabs {
  grid-area: tabs;
  display: flex;
  gap: 10px;
  padding: 7px;
  border: 1px solid rgba(36, 116, 214, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 12px 28px rgba(54, 76, 96, 0.08);
  overflow-x: auto;
}

.result-page:not(.result-page-loading) .result-day-tabs button {
  flex: 0 0 auto;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #4f657a;
  font-weight: 900;
}

.result-page:not(.result-page-loading) .result-day-tabs button.active,
.result-page:not(.result-page-loading) .result-day-tabs button[aria-selected="true"] {
  background: #17324d;
  color: #fff;
  box-shadow: 0 10px 22px rgba(23, 50, 77, 0.2);
}

.result-page:not(.result-page-loading) .result-timeline {
  grid-area: main;
  display: grid;
  gap: 24px;
}

.result-page:not(.result-page-loading) .result-save-strip {
  grid-area: save;
}

.result-page:not(.result-page-loading) .result-day-section {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 0 0 0 32px;
  margin: 0;
}

.result-page:not(.result-page-loading) .result-day-section::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 22px;
  bottom: 24px;
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--travel-teal), var(--travel-blue), var(--travel-coral));
  opacity: 0.48;
}

.result-page:not(.result-page-loading) .result-day-inline-head {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(42, 82, 105, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 12px 30px rgba(50, 72, 92, 0.08);
  backdrop-filter: blur(14px);
}

.result-page:not(.result-page-loading) .result-day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  padding: 9px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff7f63, #c44732);
  color: #fff;
  font-weight: 950;
  box-shadow: 0 10px 20px rgba(197, 71, 50, 0.2);
}

.result-page:not(.result-page-loading) .result-day-inline-head h3 {
  margin: 0;
  color: var(--travel-ink);
  font-family: inherit;
  font-size: clamp(22px, 2.4vw, 34px);
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-day-inline-head p,
.result-page:not(.result-page-loading) .result-day-inline-head small {
  margin: 0;
  color: var(--travel-muted);
}

.result-page:not(.result-page-loading) .result-day-budget-pill {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 168, 143, 0.1);
  color: #247d6c;
  font-weight: 800;
}

.result-page:not(.result-page-loading) .result-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 330px) minmax(0, 1fr);
  gap: 20px;
  min-height: 270px;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 82, 105, 0.12);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 250, 0.9)),
    var(--travel-paper);
  box-shadow: 0 18px 42px rgba(38, 61, 82, 0.1);
}

.result-page:not(.result-page-loading) .result-item::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 18px;
  width: 86px;
  height: 32px;
  border: 2px solid rgba(36, 116, 214, 0.14);
  border-radius: 999px;
  transform: rotate(-8deg);
}

.result-page:not(.result-page-loading) .result-item-sequence {
  left: 28px;
  top: 28px;
  z-index: 4;
  width: 42px;
  height: 42px;
  border: 4px solid #fff;
  background: linear-gradient(135deg, var(--travel-teal), var(--travel-blue));
  color: #fff;
  box-shadow: 0 10px 20px rgba(22, 100, 140, 0.22);
}

.result-page:not(.result-page-loading) .result-item-image-wrap {
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 100%;
  height: 100%;
  min-height: 238px;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 32px rgba(27, 47, 64, 0.16);
}

.result-page:not(.result-page-loading) .result-item-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.02);
}

.result-page:not(.result-page-loading) .result-item-time-pill {
  left: 12px;
  right: auto;
  bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.88);
  color: var(--travel-ink);
  box-shadow: 0 10px 22px rgba(24, 44, 62, 0.16);
  backdrop-filter: blur(10px);
}

.result-page:not(.result-page-loading) .result-item-content {
  grid-column: 2;
  min-width: 0;
  padding: 8px 8px 4px 0;
}

.result-page:not(.result-page-loading) .result-item-title {
  margin: 0 0 10px;
  color: var(--travel-ink);
  font-family: inherit;
  font-size: clamp(27px, 2.7vw, 40px);
  font-weight: 950;
  line-height: 1.12;
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-item-kicker,
.result-page:not(.result-page-loading) .result-item-headline,
.result-page:not(.result-page-loading) .result-item-facts,
.result-page:not(.result-page-loading) .result-item-headline-secondary {
  color: #4a6980;
  font-size: 15px;
  font-weight: 850;
}

.result-page:not(.result-page-loading) .result-item-tags {
  gap: 8px;
  margin: 10px 0 12px;
}

.result-page:not(.result-page-loading) .result-item-practical {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0 10px;
}

.result-page:not(.result-page-loading) .result-item-practical span {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 28px;
  padding: 4px 9px;
  border: 0;
  border-radius: 999px;
  background: rgba(36, 116, 214, 0.08);
  color: #35566d;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  box-shadow: none;
  overflow-wrap: anywhere;
}

.result-page:not(.result-page-loading) .result-item-practical strong {
  display: inline;
  margin: 0 5px 0 0;
  color: var(--travel-teal);
  font-size: 12px;
  font-weight: 950;
}

.result-page:not(.result-page-loading) .result-item-tags span,
.result-page:not(.result-page-loading) .result-item-ticket-source span {
  border: 0;
  border-radius: 999px;
  background: rgba(36, 116, 214, 0.1);
  color: #1d67bd;
  font-weight: 900;
}

.result-page:not(.result-page-loading) .result-item-tags span:nth-child(2) {
  background: rgba(47, 168, 143, 0.12);
  color: #247d6c;
}

.result-page:not(.result-page-loading) .result-item-tags span:nth-child(3) {
  background: rgba(238, 112, 88, 0.12);
  color: #bd4d39;
}

.result-page:not(.result-page-loading) .result-item-reason,
.result-page:not(.result-page-loading) .result-item-desc {
  margin-top: 12px;
  padding: 13px 15px;
  border-left: 4px solid var(--travel-teal);
  border-radius: 16px;
  background: rgba(238, 249, 245, 0.86);
  color: #385268;
  line-height: 1.72;
}

.result-page:not(.result-page-loading) .result-item-meta {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(238, 247, 251, 0.92);
  color: #365b73;
  font-weight: 850;
}

.result-page:not(.result-page-loading) .result-item-side {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 8px 4px 0;
  border: 0;
}

.result-page:not(.result-page-loading) .result-item-side .btn,
.result-page:not(.result-page-loading) .result-item-side .btn.tiny,
.result-page:not(.result-page-loading) .result-item-inline-action,
.result-page:not(.result-page-loading) .result-lodging-map-link,
.result-page:not(.result-page-loading) .result-lodging-book-link,
.result-page:not(.result-page-loading) .result-lodging-toggle {
  min-height: 38px;
  border: 1px solid rgba(23, 50, 77, 0.1);
  border-radius: 999px;
  background: #fff;
  color: var(--travel-ink);
  font-weight: 900;
  box-shadow: 0 9px 18px rgba(37, 58, 78, 0.08);
}

.result-page:not(.result-page-loading) .result-item-side .result-nav-btn,
.result-page:not(.result-page-loading) .result-lodging-book-link {
  border: 0;
  background: linear-gradient(135deg, var(--travel-blue), #1f9ed9);
  color: #fff;
}

.result-page:not(.result-page-loading) .result-item-side .result-book-btn,
.result-page:not(.result-page-loading) .result-lodging-map-link {
  border: 0;
  background: linear-gradient(135deg, var(--travel-coral), #f39a5b);
  color: #fff;
}

.result-page:not(.result-page-loading) .result-daily-food {
  border: 1px solid rgba(238, 112, 88, 0.14);
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(255, 247, 241, 0.96), rgba(240, 250, 249, 0.9));
  box-shadow: 0 18px 42px rgba(70, 55, 42, 0.1);
}

.result-page:not(.result-page-loading) .result-daily-food-head h4 {
  color: var(--travel-ink);
  font-family: inherit;
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-daily-food-card {
  grid-template-rows: 176px minmax(0, 1fr);
  min-height: 360px;
  border: 1px solid rgba(42, 82, 105, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 26px rgba(39, 61, 82, 0.1);
}

.result-page:not(.result-page-loading) .result-daily-food-card img {
  height: 176px;
  filter: saturate(1.06);
}

.result-page:not(.result-page-loading) .result-daily-food-card > div {
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  padding: 15px 16px 16px;
}

.result-page:not(.result-page-loading) .result-daily-food-card strong {
  display: block;
  color: var(--travel-ink);
  font-size: 22px;
  line-height: 1.18;
}

.result-page:not(.result-page-loading) .result-daily-food-card p {
  -webkit-line-clamp: 3;
}

.result-page:not(.result-page-loading) .result-route-map-card .route-map-canvas,
.result-page:not(.result-page-loading) .result-route-map-card .route-map-preview {
  border-radius: 20px;
  background:
    linear-gradient(rgba(36, 116, 214, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 168, 143, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbff, #f7fff9);
  background-size: 22px 22px, 22px 22px, auto;
}

.result-page:not(.result-page-loading) .result-lodging-list {
  gap: 12px;
}

.result-page:not(.result-page-loading) .result-lodging-option {
  border: 1px solid rgba(42, 82, 105, 0.1);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 24px rgba(40, 60, 78, 0.08);
}

.result-page:not(.result-page-loading) .result-lodging-cover {
  border-radius: 16px;
}

.result-page:not(.result-page-loading) .result-lodging-name {
  color: var(--travel-ink);
  font-weight: 950;
}

@media (max-width: 1180px) {
  .result-page:not(.result-page-loading) {
    width: min(100% - 28px, 980px);
  }

  .result-page:not(.result-page-loading) .result-info-grid {
    grid-template-columns: 1fr;
  }

  .result-page:not(.result-page-loading) .result-item {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .result-page:not(.result-page-loading) {
    width: min(100% - 20px, 720px);
    padding-top: 16px;
  }

  .result-page:not(.result-page-loading) .result-hero {
    min-height: 420px;
    padding: 30px 22px;
    border-radius: 26px;
  }

  .result-page:not(.result-page-loading) .result-hero h2 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .result-page:not(.result-page-loading) .result-day-section {
    padding-left: 0;
  }

  .result-page:not(.result-page-loading) .result-day-section::before {
    display: none;
  }

  .result-page:not(.result-page-loading) .result-day-inline-head {
    grid-template-columns: 1fr;
  }

  .result-page:not(.result-page-loading) .result-item {
    grid-template-columns: 1fr;
    min-height: 0;
    border-radius: 24px;
  }

  .result-page:not(.result-page-loading) .result-item-image-wrap,
  .result-page:not(.result-page-loading) .result-item-content,
  .result-page:not(.result-page-loading) .result-item-side {
    grid-column: 1;
  }

  .result-page:not(.result-page-loading) .result-item-image-wrap {
    grid-row: auto;
    min-height: 220px;
  }

  .result-page:not(.result-page-loading) .result-item-content {
    padding: 2px 2px 0;
  }

  .result-page:not(.result-page-loading) .result-item-side {
    padding: 0 2px 4px;
  }

  .result-page:not(.result-page-loading) .result-item-practical {
    grid-template-columns: 1fr;
  }

  .result-page:not(.result-page-loading) .result-daily-food-card img {
    height: 140px;
  }

  .result-page:not(.result-page-loading) .result-daily-food-card {
    grid-template-rows: 140px minmax(0, 1fr);
    min-height: 320px;
  }
}

/* Final result reference overrides: keep these after the older travel-journal theme. */
.result-page:not(.result-page-loading) .result-info-grid,
.result-page:not(.result-page-loading) .result-day-head {
  display: none !important;
}

.result-page:not(.result-page-loading) .result-day-tabs {
  width: min(100%, 1800px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.result-page:not(.result-page-loading) .result-day-tabs button {
  flex: initial;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 0;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%, 18px 50%);
  background: rgba(255, 255, 255, 0.94);
  color: #10364a;
  box-shadow: inset 0 0 0 1px rgba(24, 48, 40, 0.06);
}

.result-page:not(.result-page-loading) .result-day-tabs button.active,
.result-page:not(.result-page-loading) .result-day-tabs button[aria-selected="true"] {
  background: #0a376f;
  color: #fff;
  box-shadow: none;
}

.result-page:not(.result-page-loading) .result-timeline {
  width: min(100%, 1800px);
  margin: 0 auto;
  display: block;
}

.result-page:not(.result-page-loading) .result-detail-panel {
  display: grid;
  gap: 26px;
  padding: 0 28px 52px;
  margin: 0;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 22px 54px rgba(30, 32, 36, 0.12);
  overflow: hidden;
}

.result-page:not(.result-page-loading) .result-detail-panel::before {
  display: none;
}

.result-page:not(.result-page-loading) .result-detail-panel + .result-detail-panel {
  margin-top: 38px;
}

.result-page:not(.result-page-loading) .result-detail-body {
  grid-template-columns: minmax(0, 1fr) clamp(340px, 21vw, 390px);
  gap: 14px;
}

.result-page:not(.result-page-loading) .result-detail-aside {
  width: 100%;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food {
  margin-top: 14px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.result-page:not(.result-page-loading) .result-detail-food-card {
  grid-template-rows: 100px 1fr;
  min-height: 300px;
  border-radius: 10px;
  box-shadow: none;
}

.result-page:not(.result-page-loading) .result-detail-food-card img {
  height: 100px;
}

@media (max-width: 760px) {
  .result-page:not(.result-page-loading) .result-day-tabs {
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    overflow-x: auto;
    scrollbar-width: none;
  }

  .result-page:not(.result-page-loading) .result-detail-panel {
    padding: 0 14px 28px;
  }
}

.result-page:not(.result-page-loading) .result-route-map-visual {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(250px, 1fr) auto;
  align-items: stretch;
  justify-content: stretch;
  gap: 14px;
  height: auto;
  min-height: 360px;
  padding: 18px;
  border: 1px solid rgba(15, 58, 77, 0.08);
  border-radius: 14px;
  background:
    linear-gradient(rgba(31, 119, 104, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 119, 104, 0.045) 1px, transparent 1px),
    linear-gradient(135deg, #f7fbf8 0%, #eef5f2 45%, #f7f2ec 100%);
  background-size: 28px 28px, 28px 28px, auto;
  overflow: hidden;
}

.result-page:not(.result-page-loading) .result-map-head {
  display: none;
}

.result-page:not(.result-page-loading) .result-map-head > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-map-head span {
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(10, 55, 111, 0.1);
  color: #0a376f;
  font-size: 12px;
  font-weight: 800;
}

.result-page:not(.result-page-loading) .result-map-head strong {
  color: #081b2c;
  font-size: 26px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-map-head small {
  color: #526777;
  font-size: 13px;
  line-height: 1.45;
}

.result-page:not(.result-page-loading) .result-map-head a {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #0a766f;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(10, 118, 111, 0.18);
}

.result-page:not(.result-page-loading) .result-map-canvas {
  position: relative;
  min-height: 250px;
  border-radius: 12px;
  background:
    linear-gradient(30deg, transparent 47%, rgba(255, 255, 255, 0.72) 48%, rgba(255, 255, 255, 0.72) 52%, transparent 53%),
    linear-gradient(150deg, transparent 46%, rgba(255, 255, 255, 0.62) 47%, rgba(255, 255, 255, 0.62) 52%, transparent 53%),
    radial-gradient(circle at 24% 24%, rgba(42, 168, 123, 0.14), transparent 32%),
    radial-gradient(circle at 76% 72%, rgba(17, 121, 179, 0.12), transparent 34%),
    #eef3ee;
  background-size: 220px 220px, 260px 260px, auto, auto, auto;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10, 55, 111, 0.06);
}

.result-page:not(.result-page-loading) .result-map-route-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 3px 8px rgba(10, 118, 111, 0.24));
  pointer-events: none;
}

.result-page:not(.result-page-loading) .result-map-water,
.result-page:not(.result-page-loading) .result-map-road {
  position: absolute;
  pointer-events: none;
}

.result-page:not(.result-page-loading) .result-map-water {
  height: 56px;
  border-radius: 999px;
  background: rgba(108, 184, 206, 0.18);
  filter: blur(0.2px);
}

.result-page:not(.result-page-loading) .result-map-water-a {
  right: -30px;
  bottom: 34px;
  width: 34%;
  transform: rotate(-13deg);
}

.result-page:not(.result-page-loading) .result-map-water-b {
  left: -42px;
  top: 44px;
  width: 30%;
  transform: rotate(16deg);
}

.result-page:not(.result-page-loading) .result-map-road {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 1px rgba(204, 187, 158, 0.28);
}

.result-page:not(.result-page-loading) .result-map-road-a {
  left: 7%;
  right: 9%;
  top: 38%;
  transform: rotate(-7deg);
}

.result-page:not(.result-page-loading) .result-map-road-b {
  left: 16%;
  right: 12%;
  top: 68%;
  transform: rotate(12deg);
}

.result-page:not(.result-page-loading) .result-map-marker {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 2;
  display: grid;
  grid-template-columns: 28px minmax(0, max-content);
  align-items: center;
  gap: 7px;
  max-width: min(240px, 34%);
  color: #10273a;
  text-decoration: none;
  transform: translate(-14px, -14px);
}

.result-page:not(.result-page-loading) .result-map-marker span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #0a376f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(10, 55, 111, 0.26);
}

.result-page:not(.result-page-loading) .result-map-marker strong {
  min-width: 0;
  max-width: 180px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #10273a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(46, 66, 84, 0.11);
}

.result-page:not(.result-page-loading) .result-map-empty {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  color: #27384a;
  text-align: center;
}

.result-page:not(.result-page-loading) .result-map-empty strong {
  color: #081b2c;
  font-size: 26px;
  font-weight: 850;
  letter-spacing: 0;
}

.result-page:not(.result-page-loading) .result-map-empty span {
  color: #526777;
  font-size: 14px;
}

.result-page:not(.result-page-loading) .result-map-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #526777;
  font-size: 12px;
}

.result-page:not(.result-page-loading) .result-map-footer > span {
  display: none;
}

.result-page:not(.result-page-loading) .result-map-footer ol {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-page:not(.result-page-loading) .result-map-footer li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  max-width: 190px;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #30465a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-page:not(.result-page-loading) .result-map-footer li span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(10, 55, 111, 0.12);
  color: #0a376f;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 760px) {
  .result-page:not(.result-page-loading) .result-route-map-visual {
    min-height: 420px;
    padding: 14px;
  }

  .result-page:not(.result-page-loading) .result-map-head,
  .result-page:not(.result-page-loading) .result-map-footer {
    display: grid;
    justify-items: start;
  }

  .result-page:not(.result-page-loading) .result-map-head strong {
    font-size: 22px;
  }

  .result-page:not(.result-page-loading) .result-map-canvas {
    min-height: 280px;
  }

  .result-page:not(.result-page-loading) .result-map-marker {
    grid-template-columns: 26px;
    max-width: 120px;
  }

  .result-page:not(.result-page-loading) .result-map-marker span {
    width: 26px;
    height: 26px;
  }

  .result-page:not(.result-page-loading) .result-map-marker strong {
    max-width: 110px;
    transform: translateX(-12px);
  }

  .result-page:not(.result-page-loading) .result-map-footer ol {
    justify-content: flex-start;
  }
}

/* Real AMap route canvas: overrides the earlier schematic map treatment. */
.result-page:not(.result-page-loading) .result-route-map-visual {
  grid-template-rows: minmax(330px, 1fr) auto;
  min-height: 455px;
  padding: 18px;
  border: 1px solid rgba(10, 55, 111, 0.1);
  background:
    linear-gradient(rgba(10, 118, 111, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 118, 111, 0.045) 1px, transparent 1px),
    #f7faf8;
  background-size: 30px 30px, 30px 30px, auto;
}

.result-page:not(.result-page-loading) .result-route-map-visual .result-map-head {
  display: none !important;
}

.result-page:not(.result-page-loading) .result-map-canvas.result-amap-canvas {
  position: relative;
  min-height: 330px;
  border: 1px solid rgba(10, 55, 111, 0.1);
  border-radius: 14px;
  background: #eef3f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72), 0 12px 28px rgba(31, 55, 72, 0.08);
}

.result-page:not(.result-page-loading) .result-map-schematic {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  border-radius: 14px;
  background:
    linear-gradient(30deg, rgba(50, 126, 150, 0.12), transparent 34%),
    linear-gradient(130deg, transparent 0 52%, rgba(196, 145, 70, 0.18) 52% 54%, transparent 54%),
    radial-gradient(circle at 78% 24%, rgba(64, 132, 94, 0.18), transparent 18%),
    #f8ebcf;
  transition: opacity 0.2s ease;
}

.result-page:not(.result-page-loading) .result-route-map-visual.is-amap-ready .result-map-schematic {
  opacity: 0;
  pointer-events: none;
}

.result-page:not(.result-page-loading) .result-map-schematic svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.result-page:not(.result-page-loading) .result-map-schematic path {
  fill: none;
  stroke: #a83b2e;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 5 4;
}

.result-page:not(.result-page-loading) .result-route-map-visual.is-amap-ready .result-map-loading {
  opacity: 0;
  pointer-events: none;
}

.result-page:not(.result-page-loading) .result-map-loading {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 5;
  max-width: calc(100% - 32px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #35566d;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(31, 55, 72, 0.12);
  transition: opacity 0.2s ease;
}

.result-page:not(.result-page-loading) .result-map-loading[data-state="error"],
.result-page:not(.result-page-loading) .result-map-loading[data-state="empty"] {
  opacity: 1;
  color: #8a3b2f;
}

.result-page:not(.result-page-loading) .result-amap-marker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transform: translateY(-2px);
  color: #10273a;
  filter: drop-shadow(0 10px 18px rgba(24, 46, 65, 0.22));
}

.result-page:not(.result-page-loading) .result-amap-marker span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #44c9d8;
  color: #fff;
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 2px 0 rgba(14, 122, 136, 0.9);
}

.result-page:not(.result-page-loading) .result-amap-marker strong {
  max-width: 210px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #10273a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-page:not(.result-page-loading) .result-amap-canvas .amap-logo,
.result-page:not(.result-page-loading) .result-amap-canvas .amap-copyright {
  opacity: 0.72;
}

.result-page:not(.result-page-loading) .result-amap-canvas .amap-controlbar {
  filter: drop-shadow(0 10px 18px rgba(31, 55, 72, 0.14));
}

@media (max-width: 760px) {
  .result-page:not(.result-page-loading) .result-route-map-visual {
    grid-template-rows: auto minmax(390px, 1fr) auto;
    min-height: 540px;
  }

  .result-page:not(.result-page-loading) .result-map-canvas.result-amap-canvas {
    min-height: 390px;
  }

  .result-page:not(.result-page-loading) .result-amap-marker strong {
    max-width: 132px;
    font-size: 12px;
  }
}

/* Compact daily food carousel. */
.result-page:not(.result-page-loading) .result-detail-food-compact {
  position: relative;
  margin-top: 16px;
  padding: 0;
  overflow: visible;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head {
  margin-bottom: 10px;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head > div > span,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head > div > h4 {
  display: none;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-title-row {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-title-row h4 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-title-row span {
  display: inline-flex;
  align-items: center;
  color: #b9b2c7;
  font-size: 15px;
  line-height: 1;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head p {
  max-width: calc(100% - 44px);
  margin-left: 22px;
  color: #8d9299;
  font-size: 13px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  padding-right: 16px;
}

.result-page:not(.result-page-loading) .result-detail-food-viewport {
  position: relative;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 2px 2px 8px;
}

.result-page:not(.result-page-loading) .result-detail-food-track::-webkit-scrollbar {
  display: none;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card {
  flex: 0 0 clamp(198px, 20vw, 238px);
  display: grid;
  grid-template-rows: 104px minmax(0, 1fr);
  min-height: 282px;
  border: 1px solid rgba(224, 213, 198, 0.9);
  border-radius: 11px;
  scroll-snap-align: start;
  box-shadow: 0 10px 24px rgba(45, 64, 74, 0.06);
  background: #fff;
  overflow: hidden;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card img {
  height: 104px;
  border-radius: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  align-content: start;
  gap: 10px;
  padding: 10px 11px 11px;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-name-row,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card p,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card footer {
  grid-column: 1 / -1;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-name-meta {
  display: grid;
  flex: 1 1 auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-tag-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card strong,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card p {
  overflow: hidden;
  text-overflow: ellipsis;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card strong {
  white-space: nowrap;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card strong {
  min-width: 0;
  max-width: 96px;
  font-size: 14px;
  line-height: 1.25;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip {
  display: inline-flex;
  align-items: center;
  max-width: 78px;
  min-height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip.tone-0 {
  background: rgba(255, 143, 42, 0.08);
  color: #d56a0b;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip.tone-1 {
  background: rgba(14, 138, 118, 0.08);
  color: #0b7f70;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip.tone-2 {
  background: rgba(232, 72, 102, 0.08);
  color: #d73a61;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip.tone-3 {
  background: rgba(126, 87, 194, 0.08);
  color: #7752b6;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: calc(12px * 1.5 * 3);
  font-size: 12px;
  line-height: 1.5;
  word-break: break-word;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card footer {
  min-width: 0;
  margin-top: -2px;
}

.result-page:not(.result-page-loading) .result-food-search-btn {
  display: none;
}

.result-page:not(.result-page-loading) .result-food-search-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  align-self: flex-start;
  margin-left: auto;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #0d8a76;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-arrow {
  top: 50%;
  z-index: 5;
  width: 36px;
  height: 66px;
  border: 1px solid rgba(10, 55, 111, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(10, 55, 111, 0.28);
  font-size: 38px;
  box-shadow: 0 10px 22px rgba(20, 44, 65, 0.06);
  transform: translateY(-50%);
  backdrop-filter: none;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-arrow:hover {
  background: rgba(255, 255, 255, 0.22);
  color: rgba(10, 55, 111, 0.58);
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-arrow.is-prev {
  left: -22px;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-arrow.is-next {
  right: -22px;
}

@media (max-width: 760px) {
  .result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card {
    flex-basis: min(76vw, 260px);
  }
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 138, 118, 0.16);
  box-shadow: 0 18px 38px rgba(35, 53, 67, 0.13);
}

.result-page:not(.result-page-loading) .result-food-search-inline {
  min-height: 22px;
  padding: 0 8px;
  border: 1px solid rgba(13, 138, 118, 0.18);
  background: rgba(13, 138, 118, 0.12);
  color: #087765;
  font-size: 10px;
  box-shadow: none;
}

.result-page:not(.result-page-loading) .result-food-search-inline:hover {
  background: rgba(13, 138, 118, 0.18);
  color: #066456;
}

.result-page:not(.result-page-loading) .result-aside-source-note,
.result-page:not(.result-page-loading) .result-stay-source {
  display: block;
  margin-top: 4px;
  color: #8a97a4;
  font-size: 11px;
  line-height: 1.35;
}

.result-page:not(.result-page-loading) .result-aside-empty {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 12px;
  border-radius: 10px;
  background: rgba(246, 248, 250, 0.86);
  color: #7d8994;
  font-size: 13px;
}

/* Restore result page to the original edge-to-edge desktop width. */
body.result-mode .layout {
  width: auto;
  max-width: none;
  margin-left: 20px;
  margin-right: 20px;
}

.result-page:not(.result-page-loading) {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.result-page:not(.result-page-loading) .result-hero,
.result-page:not(.result-page-loading) .result-day-tabs,
.result-page:not(.result-page-loading) .result-timeline {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.result-page:not(.result-page-loading) .result-route-map-visual {
  grid-template-rows: minmax(420px, 1fr);
  gap: 0;
  padding: 0;
}

.result-page:not(.result-page-loading) .result-map-canvas.result-amap-canvas {
  min-height: 420px;
  height: 100%;
  border: 0;
  border-radius: 14px;
}

.result-page:not(.result-page-loading) .result-map-footer {
  display: none !important;
}

.result-page:not(.result-page-loading) .result-detail-body {
  grid-template-columns: minmax(0, 1fr) clamp(420px, 24vw, 480px);
  gap: 16px;
}

.result-page:not(.result-page-loading) .result-detail-main {
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-detail-aside {
  width: 100%;
  min-width: 0;
}

.result-page:not(.result-page-loading) .result-trip-card,
.result-page:not(.result-page-loading) .result-detail-food-card,
.result-page:not(.result-page-loading) .result-daily-food-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.result-page:not(.result-page-loading) .result-trip-card:hover,
.result-page:not(.result-page-loading) .result-detail-food-card:hover,
.result-page:not(.result-page-loading) .result-daily-food-card:hover {
  transform: translateY(-3px);
  border-color: rgba(13, 138, 118, 0.16);
  box-shadow: 0 18px 42px rgba(35, 53, 67, 0.13);
}

.result-trip-connector {
  min-height: 48px;
  padding-left: 26px;
}

.result-trip-connector-icon {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(165, 175, 184, 0.65);
  background: #fff;
  color: #8f99a5;
  box-shadow: 0 6px 16px rgba(37, 50, 62, 0.08);
}

.result-trip-connector-icon::before {
  width: 7px;
  height: 7px;
  margin-top: -5px;
  border-right-width: 1.5px;
  border-bottom-width: 1.5px;
}

.result-trip-connector-icon::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 1.5px;
  height: 14px;
  border-radius: 999px;
  background: currentColor;
}

.result-detail-head {
  min-height: 132px;
}

.result-detail-title span {
  min-width: 112px;
  height: 44px;
  font-size: 18px;
}

.result-detail-title h3 {
  font-size: 34px;
  line-height: 1.18;
}

.result-detail-weather strong,
.result-detail-alert strong {
  font-size: 18px;
}

.result-detail-weather span,
.result-detail-alert span,
.result-detail-weather small {
  font-size: 16px;
  line-height: 1.55;
}

.result-page:not(.result-page-loading) .result-trip-card {
  min-height: 250px;
  align-items: stretch;
}

.result-trip-image-wrap {
  min-height: 250px;
}

.result-trip-content {
  gap: 11px;
  padding: 18px 18px 16px 0;
}

.result-trip-title-row h4 {
  font-size: 34px;
  line-height: 1.16;
}

.result-trip-price {
  font-size: 18px;
}

.result-trip-meta {
  font-size: 17px;
  line-height: 1.45;
}

.result-trip-tags span {
  min-height: 26px;
  padding: 4px 12px;
  font-size: 14px;
}

.result-trip-content p {
  font-size: 17px;
  line-height: 1.62;
  -webkit-line-clamp: unset;
}

.result-trip-actions a {
  min-height: 30px;
  padding: 0 13px;
  font-size: 14px;
}

.result-trip-transport-chip {
  min-height: 30px;
  padding: 0 12px;
  font-size: 14px;
}

.result-trip-transport-chip strong,
.result-trip-transport-chip small {
  font-size: 14px;
}

.result-page:not(.result-page-loading) .result-daily-food-head h4,
.result-detail-food .result-daily-food-head h4,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-title-row h4 {
  font-size: 24px;
  line-height: 1.25;
}

.result-page:not(.result-page-loading) .result-daily-food-head p,
.result-detail-food .result-daily-food-head p,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head p {
  font-size: 16px;
  line-height: 1.65;
}

.result-page:not(.result-page-loading) .result-detail-food-card,
.result-page:not(.result-page-loading) .result-daily-food-card,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card {
  min-height: 340px;
}

.result-page:not(.result-page-loading) .result-detail-food-card strong,
.result-page:not(.result-page-loading) .result-daily-food-card strong,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card strong {
  max-width: none;
  font-size: 17px;
  line-height: 1.35;
  white-space: normal;
}

.result-page:not(.result-page-loading) .result-detail-food-card small,
.result-page:not(.result-page-loading) .result-daily-food-card small {
  font-size: 14px;
  line-height: 1.35;
}

.result-page:not(.result-page-loading) .result-detail-food-card p,
.result-page:not(.result-page-loading) .result-daily-food-card p,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card p {
  max-height: none;
  font-size: 15px;
  line-height: 1.6;
  -webkit-line-clamp: unset;
}

.result-aside-card {
  padding: 18px 16px;
}

.result-aside-title {
  gap: 12px;
  margin-bottom: 14px;
}

.result-aside-title > span {
  width: 30px;
  height: 30px;
  font-size: 16px;
}

.result-aside-title small,
.result-aside-source-note,
.result-stay-source {
  font-size: 12px;
  line-height: 1.45;
}

.result-aside-title h4 {
  font-size: 18px;
}

.result-budget-total {
  font-size: 44px;
}

.result-budget-total span {
  font-size: 18px;
}

.result-budget-aside p {
  font-size: 13px;
  line-height: 1.55;
}

.result-budget-aside li div {
  font-size: 14px;
}

.result-budget-aside li i {
  height: 6px;
}

.result-aside-list {
  gap: 10px;
}

.result-aside-list > div {
  grid-template-columns: 34px 1fr;
  min-height: 58px;
  padding: 11px;
}

.result-aside-list span {
  width: 30px;
  height: 30px;
  font-size: 15px;
}

.result-aside-list strong {
  font-size: 15px;
  line-height: 1.35;
}

.result-aside-list small {
  font-size: 13px;
  line-height: 1.35;
}

.result-stay-list article {
  grid-template-columns: 72px 1fr;
  gap: 10px;
  padding: 10px;
}

.result-stay-list img {
  width: 72px;
  height: 66px;
}

.result-stay-list strong {
  font-size: 15px;
  line-height: 1.35;
}

.result-stay-list small {
  font-size: 13px;
  line-height: 1.35;
}

.result-stay-list b {
  font-size: 15px;
}

.result-stay-list em {
  font-size: 13px;
}

#sharedTopbar .brand,
#sharedTopbar .nav-links a,
#sharedTopbar .nav-login {
  font-size: 18px;
  line-height: 1.35;
}

#sharedTopbar .brand {
  font-size: 28px;
}

.result-detail-title span {
  font-size: 20px;
}

.result-detail-title h3 {
  font-size: 40px;
}

.result-detail-weather strong,
.result-detail-alert strong {
  font-size: 20px;
}

.result-detail-weather span,
.result-detail-alert span,
.result-detail-weather small {
  font-size: 18px;
}

.result-trip-title-row h4 {
  font-size: 40px;
}

.result-trip-price {
  font-size: 20px;
}

.result-trip-meta {
  font-size: 19px;
}

.result-trip-tags span {
  font-size: 16px;
}

.result-trip-content p {
  font-size: 19px;
  line-height: 1.65;
}

.result-trip-actions a,
.result-trip-transport-chip,
.result-trip-transport-chip strong,
.result-trip-transport-chip small {
  font-size: 16px;
}

.result-page:not(.result-page-loading) .result-daily-food-head h4,
.result-detail-food .result-daily-food-head h4,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-title-row h4 {
  font-size: 28px;
}

.result-page:not(.result-page-loading) .result-daily-food-head p,
.result-detail-food .result-daily-food-head p,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-daily-food-head p {
  font-size: 18px;
}

.result-page:not(.result-page-loading) .result-detail-food-card strong,
.result-page:not(.result-page-loading) .result-daily-food-card strong,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card strong {
  font-size: 20px;
}

.result-page:not(.result-page-loading) .result-detail-food-card small,
.result-page:not(.result-page-loading) .result-daily-food-card small {
  font-size: 16px;
}

.result-page:not(.result-page-loading) .result-detail-food-card p,
.result-page:not(.result-page-loading) .result-daily-food-card p,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  max-height: calc(17px * 1.65 * 3);
  overflow: hidden;
  font-size: 17px;
  line-height: 1.65;
}

.result-aside-title small,
.result-aside-source-note,
.result-stay-source {
  font-size: 14px;
}

.result-aside-title h4 {
  font-size: 22px;
}

.result-budget-total {
  font-size: 52px;
}

.result-budget-total span {
  font-size: 20px;
}

.result-budget-aside p {
  font-size: 15px;
}

.result-budget-aside li div {
  font-size: 16px;
}

.result-aside-list strong,
.result-stay-list strong {
  font-size: 17px;
}

.result-aside-list small,
.result-stay-list small {
  font-size: 15px;
}

.result-stay-list b {
  font-size: 17px;
}

.result-stay-list em {
  font-size: 15px;
}

#sharedTopbar .brand {
  font-size: 32px !important;
  line-height: 1.25;
}

#sharedTopbar .nav-links a,
#sharedTopbar .nav-login {
  font-size: 22px !important;
  line-height: 1.35;
}

.result-page:not(.result-page-loading) .result-trip-card {
  grid-template-columns: 260px minmax(0, 1fr);
}

.result-page:not(.result-page-loading) .result-trip-image-wrap {
  width: 260px;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card {
  flex-basis: clamp(270px, 18vw, 310px);
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-chip {
  max-width: 96px;
  min-height: 24px;
  padding: 0 9px;
  font-size: 13px;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-food-search-inline {
  min-height: 34px;
  padding: 0 13px;
  font-size: 14px;
  line-height: 1;
}

.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card footer b,
.result-page:not(.result-page-loading) .result-detail-food-compact .result-detail-food-card footer em {
  font-size: 16px;
  line-height: 1.25;
}

#sharedTopbar.landing-topbar .landing-brand-text {
  font-size: 34px !important;
  line-height: 1.2 !important;
}

#sharedTopbar.landing-topbar .landing-topnav a,
#sharedTopbar.landing-topbar .landing-login-link {
  font-size: 26px !important;
  line-height: 1.3 !important;
}

/* Search-friendly feature entry points on the public landing page. */
.seo-entry-section {
  padding-top: clamp(52px, 7vw, 88px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

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

.seo-entry-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  padding: 30px;
  color: #21332f;
  text-decoration: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(239, 248, 244, 0.92));
  border: 1px solid rgba(46, 112, 92, 0.15);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(35, 80, 67, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.seo-entry-card:hover,
.seo-entry-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(34, 139, 104, 0.38);
  box-shadow: 0 24px 54px rgba(35, 80, 67, 0.14);
}

.seo-entry-kicker {
  align-self: flex-start;
  padding: 6px 12px;
  color: #17694f;
  font-size: 14px;
  font-weight: 700;
  background: #e0f4ec;
  border-radius: 999px;
}

.seo-entry-card strong {
  margin-top: 20px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.3;
}

.seo-entry-card p {
  margin: 15px 0 24px;
  color: #5b6965;
  font-size: 17px;
  line-height: 1.75;
}

.seo-entry-link {
  margin-top: auto;
  color: #167a5b;
  font-weight: 700;
}

@media (max-width: 900px) {
  .seo-entry-grid {
    grid-template-columns: 1fr;
  }

  .seo-entry-card {
    min-height: 0;
  }
}
