:root {
  color-scheme: light;
  --purple: #9b5de5;
  --pink: #f15bb5;
  --yellow: #fee440;
  --blue: #00bbf9;
  --mint: #00f5d4;
  --rose: #efb9d3;
  --paper: #fcf9ff;
  --surface: #ffffff;
  --ink: #28153f;
  --accent: #7137b3;
  --muted: #62536f;
  --rule: #d9c5ef;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
/* Keep the offscreen lemon walk from widening the viewport. */
html { overflow-x: hidden; }
body {
  margin: 0;
  overflow-x: hidden;
  background-image: url('/images/pink-pattern.jpg');
  background-size: 60%;
  background-repeat: repeat;
}
::selection { background: var(--yellow); color: var(--ink); }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }

.page {
  width: min(1120px, calc(100% - 96px));
  min-height: 100svh;
  margin: auto;
  display: flex;
  flex-direction: column;
}

.masthead {
  position: relative;
  isolation: isolate;
  z-index: 1;
  padding: 18px 0;
  background: cornsilk;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 720px) minmax(0, 1fr);
  align-items: center;
  gap: 0;
}

.masthead::before { content: ''; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: cornsilk; }
.wordmark { grid-column: 2; grid-row: 1; display: inline-flex; align-items: center; min-width: 0; line-height: 0; text-decoration: none; }
.wordmark img { display: block; width: 100%; height: auto; }
.masthead > .map-external { grid-column: 1; grid-row: 1; justify-self: start; white-space: normal; }

main { padding: 0 0 72px; flex: 1; }
.home-main { padding-bottom: 0; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: 30px; align-items: center; padding: 84px 0 110px; }
.hero-copy { min-width: 0; padding: clamp(20px, 2.5vw, 36px); background: cornsilk; border: 1px solid var(--rule); }
.hero-art { position: relative; width: 100%; max-width: 540px; justify-self: end; }
.schnitzel-cutout { display: block; width: 100%; height: auto; filter: drop-shadow(0 14px 12px rgb(40 21 63 / 16%)); }
.occasion { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; line-height: 1.5; color: var(--accent); }
.occasion > span { flex-shrink: 0; font-size: 30px; color: var(--pink); }
h1 { margin: 30px 0 26px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(64px, 7.7vw, 106px); font-weight: 400; line-height: 1.02; letter-spacing: -5px; }
h1 em { color: var(--purple); font-weight: 400; }
.intro { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 480px; }
.status { display: inline-flex; align-items: center; gap: 9px; font-size: 12px; margin: 28px 0 0; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 30px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.hunt-invitation { margin-top: 30px; }
.hunt-cta { display: inline-flex; justify-content: center; align-items: center; gap: 24px; padding: 16px 22px; border: 1px solid var(--ink); background: var(--mint); color: var(--ink); text-decoration: none; font-size: 14px; line-height: 1.4; }
.hunt-cta:hover { background: var(--yellow); }
.hunt-cta:disabled { opacity: .6; cursor: wait; }
.hunt-invitation .hunt-cta { font-size: 22px; font-weight: 600; padding: 18px 28px; background: var(--purple); border-color: var(--purple); color: #fff; }
.hunt-invitation .hunt-cta:hover { background: var(--accent); border-color: var(--accent); }
.riddle-main { width: min(680px, 100%); align-self: center; padding: 60px 0 80px; }
.riddle-card { background: var(--surface); border: 1px solid var(--rule); border-top: 4px solid var(--pink); padding: 38px; margin-top: 20px; }
.riddle-flower { display: inline-block; font-size: 34px; color: var(--pink); }
.riddle-card h1 { font-size: clamp(48px, 6.5vw, 72px); letter-spacing: -3px; margin-top: 24px; }
.riddle-intro { font-size: 16px; line-height: 1.8; color: var(--muted); max-width: 480px; }
#unlock-form, .answer-form { margin-top: 30px; }
.answer-fields { min-width: 0; margin: 0; padding: 0; border: 0; }
.answer-fields legend { margin-bottom: 14px; padding: 0; font-size: 15px; font-weight: 600; }
.answer-slots { display: grid; grid-template-columns: repeat(var(--answer-columns), minmax(0, 1fr)); gap: 10px 6px; width: 100%; max-width: calc(var(--answer-columns) * 40px + (var(--answer-columns) - 1) * 6px); }
.answer-cell { display: block; min-width: 0; width: 100%; height: 48px; padding: 4px 0; border: 0; border-bottom: 2px solid var(--rule); border-radius: 0; background: transparent; color: var(--ink); text-align: center; font: 600 24px/1.2 Arial, sans-serif; }
.answer-cell::placeholder { color: var(--muted); opacity: .7; }
.answer-cell:focus { border-color: var(--purple); background: cornsilk; outline: 2px solid var(--purple); outline-offset: 2px; }
.answer-cell[aria-invalid="true"] { border-color: #b32650; }
.answer-fields:disabled .answer-cell { opacity: .65; }
.answer-help { margin: 12px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.unlock-feedback { color: var(--accent); font-size: 13px; line-height: 1.6; min-height: 1.6em; }
.session-note { color: var(--muted); font-size: 11px; line-height: 1.7; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.station-progress { margin-bottom: 24px; padding: 20px 10px 16px; background: var(--paper); border: 1px solid var(--rule); }
.station-progress h2 { margin: 0 0 22px; text-align: center; color: var(--accent); font: italic 32px/1.2 Georgia, 'Times New Roman', serif; letter-spacing: -1px; }
.station-navigation { min-width: 0; }
.station-arrow { display: none; }
.station-total { display: none; }
.station-steps { position: relative; display: grid; grid-template-columns: repeat(var(--station-count, 8), minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.station-steps::before { content: ''; position: absolute; top: clamp(14px, 4vw, 20px); left: 6.25%; right: 6.25%; height: 1px; background: var(--rule); }
.station-step { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); }
.station-berry { display: grid; place-items: center; width: clamp(28px, 8vw, 40px); max-width: 100%; aspect-ratio: 1; border-radius: 50%; background: var(--paper); }
.station-berry img { display: block; width: 100%; height: auto; }
.station-number { font-size: 12px; line-height: 1.5; }
.station-link { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 100%; padding: 0; border: 0; border-radius: 4px; background: transparent; color: inherit; font: inherit; }
.station-link:enabled:hover .station-berry { background: var(--rose); }
.station-link:disabled { cursor: default; }
.station-step[data-accessible="false"] .station-berry { opacity: .45; filter: grayscale(.35); }
.riddle-text, .riddle-hints { font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.riddle-hints { margin-top: 28px; }
.riddle-hint { border-top: 1px solid var(--rule); padding: 14px 0; }
.riddle-hint:last-child { border-bottom: 1px solid var(--rule); }
.riddle-hint summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.riddle-hint summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.riddle-hint p { margin-bottom: 0; }
.station-step[aria-current="step"] { color: var(--accent); font-weight: 700; }
.station-step[aria-current="step"] .station-berry { outline: 2px solid var(--purple); outline-offset: 2px; }
.station-step[data-completed="true"] .station-number { color: var(--accent); }
.riddle-placeholder { margin: 32px 0; padding: 24px; background: #fff8c3; border-left: 3px solid var(--pink); }
.riddle-placeholder h2 { font-size: 29px; line-height: 1.2; }
.riddle-placeholder p:not(.eyebrow), .riddle-next-note { font-size: 14px; color: var(--muted); line-height: 1.8; }
#riddle-heading:focus { outline: none; }

.ticket { position: absolute; right: 103px; bottom: 40px; display: block; width: clamp(160px, 20vw, 235px); height: auto; transform: rotate(9deg); }
.lemon { appearance: none; padding: 0; border: 0; background: transparent; outline: none; box-shadow: none; -webkit-tap-highlight-color: transparent; }
.lemon:focus, .lemon:focus-visible { outline: none; box-shadow: none; }
.lemon:focus-visible .lemon-body { filter: brightness(1.08); }
.lemon-motion { position: relative; display: block; transform-origin: 50% 90%; }
.lemon-body { position: relative; z-index: 1; display: block; width: 100%; height: auto; pointer-events: none; }
.lemon-legs { position: absolute; z-index: 0; top: 88%; left: 28%; width: 44%; height: auto; overflow: visible; opacity: 0; transform: translateY(-15%) scaleY(0); transform-origin: 50% 0; pointer-events: none; }
.lemon-limb { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.lemon-leg > path:not(.lemon-limb) { stroke: var(--ink); stroke-width: 3; stroke-linejoin: round; }
.lemon-leg .lemon-laces { stroke: var(--paper); stroke-linecap: round; }
.lemon-leg { transform-box: view-box; }
.lemon-leg-back { transform-origin: 63.5% 6.7%; }
.lemon-leg-front { transform-origin: 35% 6.7%; }
.lemon[data-state="running"] .lemon-legs { opacity: 1; transform: none; }
.lemon[data-state="running"] { z-index: 5; }
.lemon[data-state="running"] .lemon-leg { animation: lemon-stride .36s ease-in-out infinite alternate; }
.lemon[data-state="running"] .lemon-leg-back { animation-direction: alternate-reverse; }
@keyframes lemon-stride {
  from { transform: rotate(-38deg); }
  to { transform: rotate(38deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lemon { cursor: default; }
  .lemon-legs { display: none; }
}


.map-section { border-top: 1px solid var(--rule); padding-top: 34px; }
.map-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.eyebrow { margin: 0 0 10px; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--accent); }
h2 { margin: 0; font: 400 clamp(30px, 4vw, 44px) Georgia, 'Times New Roman', serif; letter-spacing: -1px; }
.map-external { color: var(--accent); font-size: 12px; white-space: nowrap; text-underline-offset: 4px; }
.map-intro { font-size: 14px; line-height: 1.6; color: var(--muted); margin: 16px 0 24px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; border: 1px solid var(--rule); }
.map-frame { position: relative; min-width: 0; background: #f0e7fb; }
#map { width: 100%; height: 480px; }
.map-feedback { position: absolute; top: 16px; left: 16px; right: 54px; margin: 0; padding: 12px 16px; background: var(--paper); border: 1px solid var(--rule); font-size: 13px; line-height: 1.6; pointer-events: none; }
.map-feedback[hidden], [hidden] { display: none !important; }
.bookmarks { background: #f5edff; padding: 24px 20px; border-left: 1px solid var(--rule); min-width: 0; }
.bookmarks h3 { margin: 0 0 8px; font-size: 15px; }
#bookmark-count { margin-left: 5px; color: var(--accent); font-weight: 400; }
.bookmark-note { color: var(--muted); font-size: 11px; line-height: 1.6; }
.bookmarks-empty { margin: 28px 0 0; color: var(--muted); font: italic 18px/1.6 Georgia, 'Times New Roman', serif; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.map-button { padding: 10px 12px; border: 1px solid var(--accent); color: var(--accent); background: transparent; font-size: 12px; }
.map-button:disabled { opacity: .5; cursor: wait; }
.map-button:hover:enabled { background: #eee0fb; }
.map-button.primary { background: var(--mint); color: var(--ink); border-color: var(--ink); }
.map-button.primary:hover { background: var(--yellow); }
#bookmark-form { margin-top: 20px; }
#bookmark-form label { display: block; font-size: 12px; margin-bottom: 8px; }
#place-name { width: 100%; min-width: 0; padding: 10px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-size: 13px; }
.form-actions { display: flex; gap: 12px; align-items: center; }
.text-button { border: 0; padding: 8px 0; background: none; color: var(--muted); font-size: 11px; }
.bookmark-list { list-style: none; padding: 0; margin: 24px 0 0; max-height: 300px; overflow: auto; }
.bookmark-list li { display: flex; align-items: center; gap: 12px; border-top: 1px solid var(--rule); padding: 12px 0; }
.bookmark-location { border: 0; padding: 4px 0; flex: 1; min-width: 0; background: none; text-align: left; color: var(--accent); font-size: 13px; overflow-wrap: anywhere; }
.bookmark-delete { flex-shrink: 0; padding: 8px; border: 0; background: none; color: var(--muted); font-size: 18px; }
.maplibregl-popup-content { background: var(--paper); color: var(--ink); padding: 14px 24px 14px 14px; font: 13px Arial, sans-serif; }
.maplibregl-popup-anchor-bottom .maplibregl-popup-tip { border-top-color: var(--paper); }

@media (max-width: 800px) {
  .page { width: calc(100% - 48px); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 36px; padding: 68px 0 120px; }
  .hero-art { grid-row: 1; max-width: 440px; justify-self: center; }
  h1 { letter-spacing: -3px; }
  .ticket { width: 215px; }
  .map-layout { grid-template-columns: minmax(0, 1fr); }
  .bookmarks { border-left: 0; border-top: 1px solid var(--rule); }
  #map { height: 400px; }
}

@media (max-width: 420px) {
  .hero { padding-top: 48px; }
  .ticket { width: 160px; }
  .occasion { font-size: 16px; gap: 10px; }
  h1 { font-size: clamp(48px, 14vw, 64px); letter-spacing: -2px; }
  .intro { font-size: 14px; }
  .map-heading-row { align-items: flex-start; flex-direction: column; gap: 14px; }
  #map { height: 350px; }
  .riddle-main { padding-top: 40px; }
  .riddle-card { padding: 24px 20px; }
  .riddle-card h1 { font-size: 46px; letter-spacing: -2px; }
  .riddle-placeholder { padding: 20px; }
  .riddle-placeholder h2 { font-size: 25px; }
}

.header-actions { position: absolute; top: 100%; right: 0; transform: translateY(-50%); z-index: 1; display: flex; align-items: center; }
.menu-trigger { display: grid; place-items: center; width: 48px; height: 48px; padding: 4px; border: 0; border-radius: 50%; background: var(--paper); box-shadow: 0 2px 0 rgb(40 21 63 / 12%); }
.menu-trigger:hover { background: var(--yellow); }
.menu-trigger img { display: block; }
dialog { color: var(--ink); }
dialog::backdrop { background: rgb(40 21 63 / 35%); }
body:has(dialog[open]) { overflow: hidden; }
.menu-panel { position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; padding: 36px; background: var(--paper); border: 0; }
.menu-panel[open] { display: flex; flex-direction: column; }
.menu-panel::before { content: ''; position: absolute; inset: 14px; border: 4px double var(--purple); pointer-events: none; }
.dialog-close { position: absolute; top: var(--menu-close-top, 24px); right: var(--menu-close-right, 24px); color: var(--ink); font: 30px/1 Arial, sans-serif; }
.menu-panel h2 { margin: 96px 0 8px; color: var(--purple); font-style: italic; font-size: 36px; text-align: center; overflow-wrap: anywhere; }
.menu-panel nav { margin-top: 26px; }
.menu-panel nav a, .menu-panel nav button { display: block; width: 100%; padding: 24px 8px; border: 0; background: transparent; color: var(--ink); text-decoration: none; text-align: center; font: italic 400 clamp(40px, 8vw, 60px)/1.2 Georgia, 'Times New Roman', serif; }
.menu-panel nav a:hover, .menu-panel nav button:hover, .menu-panel nav [aria-current="page"] { color: var(--accent); }
.menu-panel nav [data-resume-hunt] { font-size: clamp(22px, 6.8vw, 32px); color: var(--purple); }
.menu-panel nav [data-resume-hunt]:hover { color: var(--accent); }
.reset-dialog { width: min(480px, calc(100% - 40px)); max-width: 480px; background: var(--paper); padding: 32px; border: 1px solid var(--rule); border-top: 4px solid var(--pink); }
.reset-dialog h2 { font-style: italic; }
.reset-dialog > p:not(.eyebrow) { line-height: 1.7; }
.reset-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
.gallery-main { padding: 60px 0 80px; }
.gallery-main > h1 { font-size: clamp(54px, 7vw, 90px); }
.gallery-gate { max-width: 640px; }
.gallery-gate h2 { font-style: italic; }
#gallery-login { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 24px; }
#gallery-login label, .upload-panel label { font-size: 14px; font-weight: 600; }
#gallery-password { width: 100%; padding: 14px; border: 1px solid var(--rule); background: var(--surface); color: var(--ink); font-size: 16px; }
#gallery-password[aria-invalid="true"] { border-color: var(--accent); }
.gallery-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding: 28px; border: 1px solid var(--rule); background: var(--paper); }
.gallery-toolbar h2 { font-size: 34px; line-height: 1.2; }
.gallery-toolbar h2 em { color: var(--accent); }
.gallery-note { font-size: 13px; color: var(--muted); line-height: 1.7; }
.upload-panel { padding: 28px; margin: 24px 0; border: 1px dashed var(--accent); background: var(--paper); }
.upload-panel input { display: block; width: 100%; margin: 20px 0; font-size: 14px; }
.gallery-empty { padding: 36px 24px; background: var(--paper); text-align: center; color: var(--accent); font: italic 25px/1.6 Georgia, 'Times New Roman', serif; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.photo-grid a { display: block; padding: 8px; background: var(--surface); border: 1px solid var(--rule); }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.celebration-main { display: grid; place-items: center; padding: 48px 0 64px; }
.celebration-card { width: min(780px, 100%); padding: 24px 32px 44px; border: 1px solid var(--rule); background: cornsilk; text-align: center; }
.celebration-portrait { position: relative; width: 210px; aspect-ratio: 540 / 724; margin: 0 auto 20px; }
.celebration-head { position: absolute; inset: 0; transform-origin: 50% 82%; animation: head-wobble 5.4s ease-in-out infinite; }
.martina-portrait { position: relative; display: block; width: 100%; height: 100%; }
.lemon-smile { position: absolute; left: 40%; top: 54.2%; width: 34%; transform: rotate(7deg); }
.lemon-smile img { display: block; width: 100%; height: auto; transform-origin: 50% 50%; animation: smile-wiggle 2.7s ease-in-out infinite; }
.eye-twinkle { position: absolute; width: 14%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.eye-twinkle-left { left: 44%; top: 39%; }
.eye-twinkle-right { left: 70%; top: 41%; }
.eye-twinkle svg { display: block; width: 100%; height: 100%; overflow: visible; fill: var(--yellow); stroke: var(--accent); stroke-width: 1.5; stroke-linejoin: round; opacity: 0; transform: scale(0); animation: eye-shine 5.4s ease-in-out infinite; }
.eye-twinkle-right svg { animation-delay: .14s; }
.eye-twinkle .eye-twinkle-glint { fill: none; stroke: white; stroke-width: 2.5; stroke-linecap: round; }
.celebration-spark { position: absolute; color: var(--purple); font: 44px/1 Georgia, serif; }
.spark-one { top: 24%; left: -24%; color: var(--pink); transform: rotate(-12deg); }
.spark-two { top: 10%; right: -24%; color: var(--purple); font-size: 34px; }
.spark-three { bottom: 12%; right: -24%; color: var(--accent); }
.celebration-card h1 { margin: 18px 0 20px; font-size: clamp(40px, 5.6vw, 66px); line-height: 1.08; letter-spacing: -2.5px; }
.celebration-copy { margin: 0 0 28px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.celebration-cta { background: var(--purple); border-color: var(--purple); color: white; font-size: 17px; }
.celebration-cta:hover { background: var(--accent); border-color: var(--accent); }
@keyframes smile-wiggle {
  0%, 52%, 100% { transform: rotate(0deg) translateY(0); }
  12% { transform: rotate(-10deg) translateY(-1px); }
  25% { transform: rotate(9deg) translateY(-2px); }
  36% { transform: rotate(-6deg) translateY(-1px); }
  44% { transform: rotate(3deg) translateY(0); }
  72% { transform: rotate(5deg) translateY(-1px); }
  84% { transform: rotate(-4deg) translateY(0); }
}
@keyframes head-wobble {
  0%, 44%, 100% { transform: rotate(0deg) translateY(0); }
  10% { transform: rotate(-2.5deg) translateY(-1px); }
  22% { transform: rotate(2deg) translateY(-2px); }
  32% { transform: rotate(-1deg) translateY(0); }
  68% { transform: rotate(1.5deg) translateY(-1px); }
  82% { transform: rotate(-1deg) translateY(0); }
}
@keyframes eye-shine {
  0%, 7%, 29%, 100% { opacity: 0; transform: scale(0) rotate(-24deg); }
  11% { opacity: 1; transform: scale(1.25) rotate(14deg); }
  15% { opacity: 1; transform: scale(.88) rotate(-9deg); }
  19% { opacity: 1; transform: scale(1.12) rotate(8deg); }
  23% { opacity: 1; transform: scale(1) rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .celebration-head, .lemon-smile img, .eye-twinkle svg { animation: none; }
  .eye-twinkle { display: none; }
}
.destination-main { width: min(900px, 100%); align-self: center; padding: 56px 0 64px; }
.destination-card { border: 1px solid var(--rule); background: cornsilk; }
.destination-heading { position: relative; padding: 32px; }
.destination-heading h1 { margin: 12px 0 14px; font-size: clamp(40px, 6vw, 64px); letter-spacing: -2px; }
.destination-heading address { color: var(--muted); font-size: 16px; font-style: normal; line-height: 1.7; white-space: pre-line; }
.destination-heading .map-external { display: inline-block; margin-top: 20px; }
.destination-map-frame { border-top: 1px solid var(--rule); }
.destination-map-note { margin: 0; padding: 14px 24px; color: var(--muted); font-size: 12px; line-height: 1.6; }
@media (max-width: 600px) {
  .celebration-main, .destination-main { padding: 36px 0 40px; }
  .celebration-card { padding: 24px 18px 32px; }
  .celebration-portrait { width: 168px; margin-bottom: 18px; }
  .celebration-card h1 { font-size: clamp(32px, 8.5vw, 44px); letter-spacing: -1.5px; }
  .celebration-copy { font-size: 14px; }
  .celebration-card .eyebrow { font-size: 9px; line-height: 1.8; }
  .destination-heading { padding: 26px 22px; }
}

@media (max-width: 1000px) {
  .masthead > .map-external { display: none; }
}

@media (max-width: 600px) {
  .answer-cell { font-size: 22px; }
  .menu-panel .dialog-close { top: 24px; right: 24px; }
  .station-navigation { display: grid; grid-template-columns: 48px minmax(0, 1fr) 48px; align-items: center; gap: 12px; padding: 8px 6px; }
  .station-arrow { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--purple); border-radius: 50%; background: var(--purple); color: #fff; font-size: 26px; line-height: 1; }
  .station-arrow:enabled:hover { background: var(--accent); }
  .station-arrow:disabled { border-color: var(--rule); background: transparent; color: var(--muted); opacity: .45; cursor: not-allowed; }
  .station-steps { display: block; }
  .station-steps::before { display: none; }
  .station-step { display: none; }
  .station-step[aria-current="step"] { display: flex; }
  .station-berry { width: 88px; }
  .station-number { font-size: 14px; }
  .station-total { display: inline; font-weight: 400; color: var(--muted); }
  .gallery-main { padding-top: 40px; }
  .gallery-toolbar, .upload-panel { padding: 20px; }
}
