:root {
  --ink: #17243b;
  --muted: #617089;
  --accent: #4d79ff;
  --accent-dark: #294ba8;
  --accent-soft: #e8f0ff;
  --paper: #fbfdff;
  --line: rgba(23, 36, 59, 0.13);
  --green: #137a4c;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  overflow-x: hidden;
  margin: 0;
  color: var(--ink);
  background: #eef4fa;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.map-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  opacity: 0.72;
  pointer-events: none;
}

.map-backdrop svg {
  width: 100%;
  height: 100%;
}

.map-paper { fill: #f0f5fa; }
.map-greenery { fill: #e7f0f4; }
.map-blocks { fill: #dee8f3; stroke: #c9d6e4; stroke-width: 1.4; }
.map-water { fill: none; stroke: #c3deee; stroke-width: 8; }

.map-local-roads,
.map-secondary-roads,
.map-artery-casing,
.map-arteries {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.map-local-roads { stroke: rgba(255, 255, 255, 0.88); stroke-width: 2.2; }
.map-secondary-roads { stroke: #fbfdff; stroke-width: 4; }
.map-artery-casing { stroke: #b8cbe0; stroke-width: 11; }
.map-arteries { stroke: #f9fcff; stroke-width: 7; }
.map-interchanges { fill: #f9fcff; stroke: #b8cbe0; stroke-width: 3; }

.map-route-base,
.map-route-highlight {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.map-route-base {
  stroke: rgba(77, 121, 255, 0.2);
  stroke-width: 3;
  stroke-dasharray: 3 9;
}

.map-route-highlight {
  opacity: 0;
  stroke: var(--accent);
  stroke-width: 5;
  stroke-dasharray: 1800;
  stroke-dashoffset: 1800;
  filter: drop-shadow(0 2px 5px rgba(41, 75, 168, 0.25));
}

.map-route-marker,
.map-route-car {
  opacity: 0;
  vector-effect: non-scaling-stroke;
}

.map-route-marker--start { fill: var(--accent); stroke: white; stroke-width: 4; }
.map-route-marker--finish circle:first-child { fill: white; stroke: var(--accent); stroke-width: 4; }
.map-route-marker--finish circle:last-child { fill: var(--accent); }
.map-route-car { fill: var(--ink); stroke: white; stroke-width: 4; filter: drop-shadow(0 3px 6px rgba(23, 36, 59, 0.28)); }

body.route-is-active .map-route-highlight {
  opacity: 0.9;
  animation: draw-map-route 2.3s cubic-bezier(0.45, 0, 0.2, 1) forwards;
}

body.route-is-active .map-route-marker,
body.route-is-active .map-route-car {
  opacity: 1;
  transition: opacity 0.25s ease 0.12s;
}

body.route-is-active .map-route-marker--finish { transition-delay: 1.95s; }

@keyframes draw-map-route {
  to { stroke-dashoffset: 0; }
}

button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
.hidden { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid rgba(77, 121, 255, 0.34); outline-offset: 3px; }

.page-main { position: relative; z-index: 1; }

.app-shell {
  position: relative;
  width: min(640px, calc(100% - 32px));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  padding: 36px 0 56px;
}

.app-brand {
  width: min(760px, calc(100vw - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-self: center;
  gap: 20px;
  margin-bottom: 28px;
}

.brand-lockup {
  display: flex;
  align-items: center;
  animation: brand-arrival 1.05s cubic-bezier(0.16, 0.85, 0.25, 1) both;
  will-change: transform, opacity;
}

@keyframes brand-arrival {
  0% { opacity: 0; transform: translate3d(-110vw, -9px, 0); }
  68% { opacity: 1; transform: translate3d(14px, -9px, 0); }
  84% { transform: translate3d(-5px, -9px, 0); }
  100% { opacity: 1; transform: translate3d(0, -9px, 0); }
}

.language-switch {
  display: flex;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
}

.language-switch button {
  width: 38px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 850;
  cursor: pointer;
}

.language-switch button.active { color: white; background: var(--ink); }

.eyebrow {
  margin: 0;
  color: var(--accent-dark);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.app-brand h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.screen {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(251, 253, 255, 0.9);
  backdrop-filter: blur(1.5px);
  -webkit-backdrop-filter: blur(1.5px);
  box-shadow: 0 26px 70px rgba(32, 63, 111, 0.13);
}

.welcome-card { padding: 46px; text-align: center; }

.welcome-art {
  position: relative;
  width: 180px;
  height: 52px;
  margin: 0 auto 30px;
}

.road-line { position: absolute; top: 25px; left: 7px; right: 7px; border-top: 2px dashed rgba(41, 75, 168, 0.27); }
.road-dot { position: absolute; top: 19px; width: 13px; height: 13px; border: 3px solid white; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(41, 75, 168, 0.22); }
.road-dot--start { left: 0; }.road-dot--finish { right: 0; }
.road-car { position: absolute; top: 8px; left: 76px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: white; background: var(--ink); font-weight: 850; }

.welcome-card h2,
.workspace-heading h2 {
  margin: 12px 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.45rem, 8vw, 3.65rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.welcome-copy { max-width: 430px; margin: 0 auto; color: var(--muted); font-size: 0.97rem; line-height: 1.65; }

.spotify-connect {
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  border: 0;
  border-radius: 16px;
  color: white;
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 13px 30px rgba(23, 36, 59, 0.19);
}
.spotify-connect:hover { background: #22365a; transform: translateY(-1px); }
.spotify-dot { width: 11px; height: 11px; border-radius: 50%; background: #1ed760; box-shadow: 0 0 0 4px rgba(30, 215, 96, 0.12); }

.person-status { min-height: 18px; margin: 10px 0 0; color: var(--muted); font-size: 0.77rem; }
.person-status--ok { color: var(--green); font-weight: 750; }
.person-status--needed { color: var(--muted); }
.privacy-note { margin: 24px 0 0; color: #8390a4; font-size: 0.7rem; }
.privacy-policy-link { display: block; width: fit-content; margin: 8px auto 0; color: var(--accent-dark); font-size: 0.7rem; font-weight: 750; text-underline-offset: 3px; }
.guide-link { display: inline-block; margin-top: 13px; color: var(--accent-dark); font-size: 0.72rem; font-weight: 800; text-underline-offset: 3px; }

.setup-banner,
.info-box {
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  font-size: 0.82rem;
  line-height: 1.55;
}
.setup-banner { margin-top: 18px; text-align: left; }.setup-banner ul { margin: 7px 0 0; padding-left: 20px; }.setup-banner code { padding: 2px 4px; border-radius: 4px; background: var(--accent-soft); }
.logout-btn, .back-btn, .inline-link { border: 0; background: none; color: var(--muted); text-decoration: underline; cursor: pointer; }
.logout-btn { margin-top: 16px; font-size: 0.72rem; }.inline-link { padding: 0; font-size: inherit; }

.workspace { padding: 34px 40px 42px; }
.workspace-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.back-btn { padding: 0; font-size: 0.77rem; text-decoration: none; }
.connected-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border-radius: 999px; color: var(--green); background: #e7f6ee; font-size: 0.67rem; font-weight: 800; }
.connected-pill i { width: 7px; height: 7px; border-radius: 50%; background: #1db954; }
.workspace-heading { margin-bottom: 30px; }.workspace-heading h2 { margin-bottom: 8px; }.library-summary { margin: 0; color: var(--muted); font-size: 0.76rem; }
.library-line { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-button { padding: 0; border: 0; color: var(--accent-dark); background: none; font-size: 0.72rem; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.playlist-picker { margin-bottom: 8px; }
.playlist-picker-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.playlist-picker-heading h3 { margin: 7px 0 5px; font-family: Georgia, "Times New Roman", serif; font-size: 1.55rem; font-weight: 500; letter-spacing: -0.025em; }
.playlist-picker-heading p:last-child { margin: 0; color: var(--muted); font-size: 0.76rem; line-height: 1.5; }
.playlist-picker-heading .text-button { flex: none; margin-bottom: 3px; }
.playlist-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; max-height: 330px; overflow-y: auto; padding: 2px 3px 2px 2px; }
.playlist-option { position: relative; min-width: 0; display: grid; grid-template-columns: 44px minmax(0, 1fr) 22px; align-items: center; gap: 10px; padding: 9px; border: 1px solid var(--line); border-radius: 14px; background: white; cursor: pointer; transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease; }
.playlist-option:hover { transform: translateY(-1px); border-color: rgba(77, 121, 255, 0.45); }
.playlist-option:focus-within { outline: 3px solid rgba(77, 121, 255, 0.34); outline-offset: 2px; }
.playlist-option.selected { border-color: rgba(77, 121, 255, 0.65); background: var(--accent-soft); }
.playlist-option input { position: absolute; opacity: 0; pointer-events: none; }
.playlist-option-art { width: 44px; height: 44px; display: grid; place-items: center; overflow: hidden; border-radius: 9px; color: var(--accent-dark); background: #dfe9f8; font-family: Georgia, serif; font-size: 1.2rem; }
.playlist-option-art img { width: 100%; height: 100%; object-fit: cover; }
.playlist-option-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.playlist-option-copy strong { overflow: hidden; color: var(--ink); font-size: 0.75rem; text-overflow: ellipsis; white-space: nowrap; }
.playlist-option-copy small { color: var(--muted); font-size: 0.63rem; }
.playlist-option-check { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: transparent; background: white; font-size: 0.65rem; font-weight: 900; }
.playlist-option.selected .playlist-option-check { color: white; border-color: var(--accent-dark); background: var(--accent-dark); }
.playlist-selection-count { margin: 13px 0 10px; color: var(--muted); font-size: 0.72rem; }

.info-box { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }.info-box small { color: var(--muted); }.info-box--error { color: #a63049; border-color: #edc3cb; background: #fff3f5; }.info-box--warn { display: block; color: var(--muted); background: #fffaf4; }
.spinner { width: 16px; height: 16px; flex: none; border: 2px solid var(--accent-soft); border-top-color: var(--accent-dark); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.filter-group { margin-bottom: 28px; }.filter-label { display: block; margin-bottom: 11px; font-size: 0.78rem; font-weight: 800; }
.duration-row { display: flex; gap: 10px; align-items: stretch; }
.duration-input-wrap { display: flex; align-items: baseline; gap: 5px; min-width: 134px; padding: 11px 15px; border: 1px solid var(--line); border-radius: 14px; background: white; }
#duration-input { width: 72px; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 600; }.duration-input-wrap span { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.duration-presets { display: flex; flex: 1; gap: 7px; }.duration-presets button { flex: 1; min-width: 52px; border: 1px solid var(--line); border-radius: 14px; color: var(--muted); background: white; font-size: 0.78rem; font-weight: 750; cursor: pointer; }.duration-presets button.active { color: white; border-color: var(--ink); background: var(--ink); }

.chip-group { display: flex; flex-wrap: wrap; gap: 7px; }.chip { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: white; font-size: 0.72rem; font-weight: 750; cursor: pointer; }.chip.active { color: white; border-color: var(--accent-dark); background: var(--accent-dark); }
.match-count { margin: 4px 0 13px; color: var(--muted); font-size: 0.74rem; }.match-count--empty { color: #a63049; font-weight: 750; }
.generate-btn, .save-btn { width: 100%; min-height: 54px; border: 0; border-radius: 15px; color: white; font-weight: 850; cursor: pointer; }
.generate-btn { background: var(--ink); }.generate-btn span { margin-left: 8px; }.save-btn { background: #1db954; }.generate-btn:hover { background: #22365a; }.generate-btn:disabled, .save-btn:disabled { opacity: 0.45; cursor: not-allowed; }

.results { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.results-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 15px; }.results-heading h3 { margin: 5px 0 0; font-family: Georgia, serif; font-size: 2rem; font-weight: 500; letter-spacing: -0.035em; }.results-summary { margin: 0; color: var(--muted); font-size: 0.72rem; text-align: right; }
.results-list { max-height: 390px; overflow: auto; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.track-item { display: flex; flex-direction: column; gap: 4px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 0.84rem; }.track-name { color: var(--ink); font-weight: 800; text-decoration: none; }.track-row { display: flex; align-items: end; justify-content: space-between; gap: 12px; }.track-artist, .track-side { color: var(--muted); }.track-side { display: flex; flex: none; gap: 0.3em; }.track-year, .track-duration { white-space: nowrap; }
.save-row { margin-top: 18px; }.save-status { margin: 12px 0 0; font-size: 0.78rem; line-height: 1.5; }.save-status--ok { color: var(--green); }.save-status--error { color: #a63049; }

.visitor-guide {
  width: min(1100px, calc(100% - 32px));
  margin: 8px auto 72px;
  padding: clamp(34px, 6vw, 68px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(251, 253, 255, 0.95);
  box-shadow: 0 28px 80px rgba(32, 63, 111, 0.15);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.guide-intro { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 30px 68px; align-items: start; }
.guide-intro .eyebrow { grid-column: 1 / -1; margin-bottom: -12px; }
.guide-intro h2, .tour-heading h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.guide-story { display: flex; flex-direction: column; gap: 24px; padding-top: 5px; }
.guide-story > p, .tour-heading > p { margin: 0; color: var(--muted); line-height: 1.7; }
.journey-route { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 20px 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(135deg, rgba(232, 240, 255, 0.68), rgba(251, 253, 255, 0.94)); overflow: hidden; }
.journey-track { position: absolute; z-index: 0; top: 42px; left: 18%; right: 18%; height: 2px; background: repeating-linear-gradient(90deg, #c5d5ea 0 6px, transparent 6px 12px); }
.journey-track::after { content: ""; position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #1db954, var(--accent)); animation: travel-route 1.5s 0.2s cubic-bezier(0.45, 0, 0.2, 1) forwards; }
.journey-stop { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; text-align: center; }
.journey-node { display: grid; place-items: center; width: 44px; height: 44px; border: 4px solid #f8fbff; border-radius: 50%; color: white; background: var(--accent-dark); box-shadow: 0 0 0 1px rgba(41, 75, 168, 0.2), 0 7px 18px rgba(41, 75, 168, 0.18); font-family: Georgia, serif; font-size: 0.8rem; font-weight: 700; }
.journey-node--spotify { background: var(--ink); }
.journey-node--spotify i { width: 11px; height: 11px; border-radius: 50%; background: #1ed760; box-shadow: 0 0 0 4px rgba(30, 215, 96, 0.13); }
.journey-node--finish { color: var(--accent-dark); background: white; }
.journey-stop strong { max-width: 110px; color: var(--ink); font-size: 0.64rem; line-height: 1.3; }
@keyframes travel-route { to { transform: scaleX(1); } }

.tester-note { display: flex; gap: 18px; margin: 42px 0 28px; padding: 22px 24px; border: 1px solid rgba(77, 121, 255, 0.2); border-radius: 20px; background: linear-gradient(135deg, #f7faff, #eaf2ff); }
.tester-note__icon { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; color: white; background: var(--accent-dark); font-family: Georgia, serif; font-style: italic; font-weight: 700; }
.tester-note__label { margin: 0 0 5px; color: var(--accent-dark); font-size: 0.62rem; font-weight: 900; letter-spacing: 0.13em; }
.tester-note h3 { margin: 0 0 7px; font-family: Georgia, serif; font-size: 1.4rem; font-weight: 500; }
.tester-note p:last-child { max-width: 780px; margin: 0; color: var(--muted); font-size: 0.83rem; line-height: 1.6; }

.connection-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.connection-steps li { min-height: 210px; padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.step-number { display: block; margin-bottom: 28px; color: var(--accent); font-family: Georgia, serif; font-size: 1.1rem; font-style: italic; }
.connection-steps h3 { margin: 0 0 10px; font-size: 0.95rem; }
.connection-steps p { margin: 0; color: var(--muted); font-size: 0.8rem; line-height: 1.65; }

.product-tour { margin-top: 72px; padding-top: 64px; border-top: 1px solid var(--line); }
.tour-heading { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 24px 56px; align-items: end; margin-bottom: 34px; }
.tour-heading .eyebrow { margin-bottom: 11px; }
.tour-heading h2 { font-size: clamp(2.2rem, 4vw, 4rem); }
.tour-heading > p { font-size: 0.88rem; }
.product-shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.product-shot { overflow: hidden; margin: 0; border: 1px solid rgba(23, 36, 59, 0.14); border-radius: 24px; background: #eef4fa; box-shadow: 0 20px 42px rgba(32, 63, 111, 0.12); }
.shot-chrome { display: flex; align-items: center; gap: 5px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.75); }
.shot-chrome > i { width: 7px; height: 7px; border-radius: 50%; background: #c5d1df; }
.shot-chrome > span { margin: 0 auto; padding-right: 34px; color: #8390a4; font-size: 0.52rem; }
.shot-ui { min-height: 405px; padding: 28px; background: linear-gradient(rgba(251,253,255,.94), rgba(251,253,255,.94)), radial-gradient(circle at 90% 0, #dce9ff, transparent 40%); }
.shot-topline { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; color: var(--muted); font-size: 0.62rem; }
.shot-topline b { display: inline-flex; align-items: center; gap: 5px; padding: 6px 9px; border-radius: 999px; color: var(--green); background: #e7f6ee; }
.shot-topline b i { width: 6px; height: 6px; border-radius: 50%; background: #1db954; }
.shot-kicker { margin: 0 0 7px; color: var(--accent-dark); font-size: 0.52rem; font-weight: 900; letter-spacing: 0.13em; }
.shot-ui h3 { margin: 0; font-family: Georgia, serif; font-size: clamp(1.8rem, 3.3vw, 2.9rem); font-weight: 500; line-height: 1; letter-spacing: -0.045em; }
.shot-summary { margin: 8px 0 23px; color: var(--muted); font-size: 0.62rem; }
.shot-label { display: block; margin: 16px 0 8px; font-size: 0.62rem; font-weight: 800; }
.shot-duration { display: grid; grid-template-columns: 1.2fr repeat(3, 1fr); gap: 5px; }
.shot-duration > * { display: grid; place-items: center; min-height: 43px; border: 1px solid var(--line); border-radius: 10px; background: white; color: var(--muted); font-size: 0.67rem; }
.shot-duration strong { color: var(--ink); font-family: Georgia, serif; font-size: 1.4rem; }.shot-duration small { margin-left: 2px; font-family: Inter, sans-serif; font-size: 0.55rem; }.shot-duration .is-active { color: white; border-color: var(--ink); background: var(--ink); font-weight: 800; }
.shot-chips { display: flex; flex-wrap: wrap; gap: 5px; }.shot-chips span { padding: 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: white; color: var(--muted); font-size: 0.55rem; font-weight: 750; }.shot-chips .is-active { color: white; border-color: var(--accent-dark); background: var(--accent-dark); }
.shot-ui button { width: 100%; min-height: 42px; margin-top: 21px; border: 0; border-radius: 10px; color: white; background: var(--ink); font-size: 0.67rem; font-weight: 850; pointer-events: none; }
.shot-result-title { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin: 7px 0 18px; }.shot-result-title span { color: var(--muted); font-size: 0.52rem; text-align: right; }
.shot-ui--result ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }.shot-ui--result li { padding: 10px 0; border-bottom: 1px solid var(--line); }.shot-ui--result li strong { display: block; font-size: 0.68rem; }.shot-ui--result li > span { display: flex; justify-content: space-between; gap: 10px; margin-top: 3px; color: var(--muted); font-size: 0.58rem; }.shot-ui--result em { font-style: normal; white-space: nowrap; }
.shot-ui--result button { background: #1db954; }.shot-saved { margin: 10px 0 0; color: var(--green); font-size: 0.58rem; font-weight: 700; }
.product-shot figcaption { display: grid; gap: 5px; padding: 20px 22px 23px; border-top: 1px solid var(--line); background: white; }.product-shot figcaption strong { font-family: Georgia, serif; font-size: 1.1rem; font-weight: 500; }.product-shot figcaption span { color: var(--muted); font-size: 0.72rem; line-height: 1.55; }
.guide-privacy { display: flex; align-items: flex-start; gap: 9px; max-width: 760px; margin: 34px auto 0; color: var(--muted); font-size: 0.72rem; line-height: 1.65; text-align: center; }.guide-privacy > span:first-child { color: #1db954; }

.privacy-page { min-height: 100vh; background: radial-gradient(circle at 12% 8%, #dfeaff 0, transparent 34%), #eef4fa; }
.privacy-shell { width: min(920px, calc(100% - 32px)); margin: 0 auto; padding: 36px 0 72px; }
.privacy-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.privacy-home { color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: 1.4rem; text-decoration: none; }
.privacy-language { color: var(--muted); font-size: 0.68rem; font-weight: 850; letter-spacing: 0.12em; }
.privacy-card { padding: clamp(30px, 6vw, 64px); border: 1px solid var(--line); border-radius: 30px; background: rgba(251, 253, 255, 0.96); box-shadow: 0 28px 80px rgba(32, 63, 111, 0.14); }
.privacy-card h1 { margin: 8px 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 6vw, 4.7rem); font-weight: 500; line-height: 0.98; letter-spacing: -0.055em; }
.privacy-updated { margin: 0 0 34px; color: var(--muted); font-size: 0.78rem; }
.privacy-card section + section { margin-top: 28px; }
.privacy-card h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 500; }
.privacy-card p, .privacy-card li { color: var(--muted); font-size: 0.86rem; line-height: 1.75; }
.privacy-card p { margin: 0; }
.privacy-card ul { margin: 8px 0 0; padding-left: 20px; }
.privacy-card a { color: var(--accent-dark); text-underline-offset: 3px; }
.privacy-divider { height: 1px; margin: 58px 0; border: 0; background: var(--line); }

@media (max-width: 560px) {
  .app-shell { width: min(100% - 22px, 640px); justify-content: flex-start; padding-top: 22px; }
  .app-brand { width: 100%; margin: 0 0 20px; }
  .app-brand h1 { font-size: 2rem; }
  .welcome-card { padding: 36px 22px; }
  .workspace { padding: 28px 20px 34px; }
  .playlist-picker-heading { align-items: flex-start; flex-direction: column; gap: 10px; }
  .playlist-list { grid-template-columns: 1fr; max-height: 350px; }
  .duration-row { flex-direction: column; }
  .duration-input-wrap { width: 100%; }
  .duration-presets { height: 46px; }
  .results-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .results-summary { text-align: left; }
  .visitor-guide { width: min(100% - 22px, 1100px); padding: 32px 20px; border-radius: 26px; }
  .guide-intro, .tour-heading { grid-template-columns: 1fr; gap: 18px; }
  .guide-story { padding-top: 0; }
  .journey-route { margin-top: 5px; padding-inline: 8px; }
  .journey-stop strong { font-size: 0.58rem; }
  .connection-steps, .product-shots { grid-template-columns: 1fr; }
  .connection-steps li { min-height: 0; }
  .product-tour { margin-top: 50px; padding-top: 46px; }
  .shot-ui { min-height: 390px; padding: 23px 20px; }
  .privacy-shell { width: min(100% - 22px, 920px); padding-top: 22px; }
  .privacy-card { border-radius: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  body.route-is-active .map-route-highlight { stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}
