:root {
  color-scheme: light;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
  --ink: #214f49;
  --muted: #718580;
  --paper: #fffdf7;
  --line: #ddd4b8;
  --green: #4d9b76;
  --green-dark: #337455;
  --gold: #efbd55;
  --coral: #df7868;
  --blue: #4f96bd;
  --navy: #25536b;
  --shadow: 0 20px 46px rgba(51, 75, 67, .15);
}

* { box-sizing: border-box; }
html { min-width: 320px; min-height: 100%; background: #eef6e9; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 10%, rgba(239, 189, 85, .18) 0 135px, transparent 138px),
    radial-gradient(circle at 95% 15%, rgba(92, 164, 142, .16) 0 180px, transparent 183px),
    linear-gradient(145deg, #eef7e9, #fffaf0 55%, #eef2f7);
}
.page-pattern {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .18;
  background-image: radial-gradient(circle, rgba(52, 102, 85, .22) 1.2px, transparent 1.4px);
  background-size: 38px 38px;
  pointer-events: none;
}
button { color: inherit; font: inherit; }
button:not(:disabled) { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible { outline: 4px solid rgba(239, 189, 85, .85); outline-offset: 4px; }
h1, h2, h3, p { margin-top: 0; }

.app {
  width: min(1120px, calc(100% - 32px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 20px 0 54px;
}
.topbar, .brand, .topbar-actions, .hero-actions, .section-heading, .route-head, .route-foot,
.progress-row, .mission, .map-legend, .game-actions, .feedback-card, .result-actions, .atlas-heading {
  display: flex;
  align-items: center;
}
.topbar { min-height: 68px; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.brand { gap: 12px; padding: 0; text-align: left; background: transparent; border: 0; }
.brand-mark {
  display: grid;
  width: 57px;
  height: 57px;
  place-items: center;
  font-size: 31px;
  background: #fff2c9;
  border: 3px solid #dfcb96;
  border-radius: 19px;
  box-shadow: 0 8px 17px rgba(58, 79, 70, .13);
  rotate: -4deg;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 24px; font-weight: 900; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.topbar-actions { gap: 9px; }
.atlas-button, .sound-button, .back-button, .secondary-button {
  min-height: 49px;
  color: var(--ink);
  font-weight: 900;
  background: rgba(255, 253, 247, .95);
  border: 2px solid var(--line);
  border-radius: 17px;
}
.atlas-button, .sound-button { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 15px; font-size: 13px; }
.atlas-button b { color: var(--green-dark); }
.atlas-button.is-active { background: #e7f2e6; border-color: #8bb89a; }
.back-button { width: 49px; padding: 0; font-size: 22px; }
.secondary-button { padding: 0 18px; }
.atlas-button:hover, .sound-button:hover, .back-button:hover, .secondary-button:hover:not(:disabled) { border-color: #76a78c; }
.primary-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 22px;
  color: white;
  font-weight: 900;
  background: var(--green);
  border: 0;
  border-radius: 17px;
  box-shadow: 0 8px 0 var(--green-dark);
}
.primary-button:hover { background: #438f6a; }
.primary-button:active, .secondary-button:active { translate: 0 2px; }
.primary-button.compact { min-height: 45px; margin-left: auto; padding-inline: 18px; box-shadow: 0 5px 0 var(--green-dark); }
.eyebrow { margin: 0 0 8px; color: #39775e; font-family: Georgia, serif; font-size: 12px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }

.hero {
  display: grid;
  min-height: 510px;
  align-items: center;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  padding: clamp(36px, 5vw, 62px);
  overflow: hidden;
  background: rgba(255, 253, 247, .97);
  border: 3px solid var(--line);
  border-radius: 46px;
  box-shadow: var(--shadow);
}
.hero h1 { max-width: 640px; margin-bottom: 18px; font-size: clamp(48px, 5.7vw, 70px); font-weight: 900; letter-spacing: -.055em; line-height: .98; }
.hero-copy > p:not(.eyebrow) { max-width: 590px; margin-bottom: 26px; color: var(--muted); font-size: 18px; font-weight: 800; line-height: 1.5; }
.hero-actions { flex-wrap: wrap; gap: 12px; }
.hero-stats { display: flex; gap: 22px; margin: 32px 0 0; padding: 0; list-style: none; }
.hero-stats li { min-width: 75px; }
.hero-stats b, .hero-stats small { display: block; }
.hero-stats b { font-family: Georgia, serif; font-size: 28px; }
.hero-stats small { color: var(--muted); font-size: 11px; font-weight: 900; }
.hero-map-wrap { position: relative; }
.hero-map-wrap .world-map { rotate: 2deg; box-shadow: 0 20px 34px rgba(35, 84, 93, .21); }
.hero-map-wrap::before {
  position: absolute;
  inset: -15px;
  z-index: 0;
  content: "";
  background: #fff;
  border-radius: 36px;
  rotate: -2deg;
}
.paper-plane { position: absolute; top: -22px; right: 13%; z-index: 8; color: white; font-size: 43px; rotate: 15deg; filter: drop-shadow(0 5px 3px rgba(27, 73, 87, .25)); }
.hero-ticket {
  position: absolute;
  right: 20px;
  bottom: -19px;
  z-index: 8;
  padding: 11px 17px;
  color: #705629;
  text-align: center;
  background: #fff1bd;
  border: 3px solid #e0bd63;
  border-radius: 12px;
  rotate: -4deg;
  box-shadow: 0 7px 15px rgba(71, 75, 55, .16);
}
.hero-ticket b, .hero-ticket small { display: block; }
.hero-ticket b { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.hero-ticket small { margin-top: 2px; font-weight: 900; }
.how-note {
  display: grid;
  align-items: center;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 16px 20px;
  background: #fff3cf;
  border: 2px solid #e8ce82;
  border-radius: 23px;
}
.how-note > span { display: grid; width: 52px; height: 52px; place-items: center; font-size: 28px; background: white; border-radius: 16px; }
.how-note p { margin: 0; }
.how-note strong, .how-note small { display: block; }
.how-note small { margin-top: 4px; color: #756b50; font-weight: 800; line-height: 1.4; }

.routes-section { margin-top: 48px; }
.section-heading { justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.section-heading h2 { max-width: 700px; margin: 0; font-size: clamp(34px, 4vw, 48px); letter-spacing: -.035em; }
.section-heading > p { max-width: 300px; margin: 0; color: var(--muted); font-weight: 900; line-height: 1.45; text-align: right; }
.routes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.route-card {
  min-height: 340px;
  padding: 26px;
  text-align: left;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 30px;
  box-shadow: 0 10px 0 #d8d2bd;
  transition: translate .2s ease, border-color .2s ease;
}
.route-card:hover { translate: 0 -5px; }
.route-card.green:hover { border-color: #83b99c; }
.route-card.blue:hover { border-color: #78b3d1; }
.route-card.coral:hover { border-color: #df8e81; }
.route-head { justify-content: space-between; margin-bottom: 25px; }
.route-head em { color: var(--muted); font-size: 12px; font-style: normal; font-weight: 900; }
.route-icon { display: grid; width: 62px; height: 62px; place-items: center; font-size: 31px; background: #e7f3e8; border: 3px solid #b9d9c2; border-radius: 20px; }
.route-card.blue .route-icon { background: #e6f2f8; border-color: #bad9e8; }
.route-card.coral .route-icon { background: #fff0ed; border-color: #e8c0b8; }
.route-card > small { color: #478168; font-weight: 900; }
.route-card > strong { display: block; margin: 7px 0 10px; font-size: 26px; }
.route-card > p { min-height: 78px; margin: 0; color: var(--muted); font-size: 14px; font-weight: 800; line-height: 1.45; }
.route-foot { justify-content: space-between; margin-top: 22px; color: #c38b29; font-weight: 900; }
.route-foot b { color: var(--ink); font-size: 13px; }

.world-map {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 1000 / 560;
  overflow: hidden;
  background: #5eabc4;
  border: 6px solid white;
  border-radius: 34px;
}
.world-map svg { display: block; width: 100%; height: 100%; }
.map-water { fill: #5aa7c1; }
.map-grid { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 2; stroke-dasharray: 8 12; }
.land { fill: #97c98e; stroke: #e8f1d4; stroke-width: 8; stroke-linejoin: round; filter: drop-shadow(0 7px 0 rgba(32, 92, 76, .22)); }
.land.africa { fill: #e3bf68; }
.land.north-america { fill: #dd937e; }
.land.south-america { fill: #db8e9b; }
.land.australia { fill: #b7a2d8; }
.land.antarctica { fill: #e7f2f2; }
.island { fill: #b8d09a; stroke: #e8f1d4; stroke-width: 7; }
.compass circle { fill: rgba(255, 255, 255, .88); stroke: #2d6577; stroke-width: 5; }
.compass path { fill: #e27d68; stroke: white; stroke-width: 3; }
.compass text { fill: #204e60; font-size: 18px; font-weight: 900; text-anchor: middle; }
.demo-pin, .map-choice, .placed-label {
  position: absolute;
  z-index: 6;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
}
.demo-pin {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: #255245;
  font-weight: 900;
  background: #fff9dd;
  border: 4px solid white;
  border-radius: 50%;
  box-shadow: 0 5px 0 rgba(30, 72, 72, .28);
}
.demo-pin.one { --x: 53%; --y: 50%; }
.demo-pin.two { --x: 22%; --y: 30%; }
.demo-pin.three { --x: 68%; --y: 62%; }
.map-choice {
  display: grid;
  width: clamp(61px, 8vw, 88px);
  height: clamp(61px, 8vw, 88px);
  place-items: center;
  align-content: center;
  padding: 0;
  color: #255245;
  background: rgba(255, 252, 229, .94);
  border: 5px solid white;
  border-radius: 50%;
  box-shadow: 0 7px 0 rgba(28, 76, 79, .31), 0 0 0 7px rgba(255, 239, 166, .45);
  transition: translate .18s ease, box-shadow .18s ease;
}
.map-choice:hover:not(:disabled) { translate: -50% calc(-50% - 5px); box-shadow: 0 12px 0 rgba(28, 76, 79, .31), 0 0 0 9px rgba(255, 239, 166, .65); }
.map-choice span { font-family: Georgia, serif; font-size: clamp(22px, 3vw, 34px); font-weight: 900; line-height: .9; }
.map-choice small { margin-top: 4px; font-size: 10px; font-weight: 900; text-transform: uppercase; }
.map-choice.is-wrong { color: #8b433c; background: #fff0ec; border-color: #ffc6bd; animation: shake .28s ease; }
.map-choice.is-hint { color: #77570f; background: #fff4bc; border-color: white; animation: pulse 1s ease-in-out infinite; }
.map-choice.is-correct { opacity: 0; }
.placed-label {
  display: flex;
  min-width: 132px;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  color: #235146;
  background: #e8f4e8;
  border: 4px solid white;
  border-radius: 18px;
  box-shadow: 0 8px 0 rgba(34, 84, 72, .25);
  animation: place .28s ease-out;
}
.placed-label b { font-size: 25px; }
.placed-label small { font-size: 12px; font-weight: 900; white-space: nowrap; }
.placed-label.gold { background: #fff0bd; }
.placed-label.coral, .placed-label.rose { background: #ffe2dc; }
.placed-label.violet { background: #eee5fb; }
.placed-label.ice, .placed-label.pale-blue, .placed-label.sky { background: #e8f7fa; }
.placed-label.blue, .placed-label.deep-blue, .placed-label.aqua { background: #dbf1f7; }
@keyframes pulse { 50% { box-shadow: 0 7px 0 rgba(28, 76, 79, .31), 0 0 0 14px rgba(255, 239, 166, .8); } }
@keyframes shake { 25% { margin-left: -7px; } 75% { margin-left: 7px; } }
@keyframes place { from { scale: .65; opacity: .2; } }

.game-shell, .atlas-shell {
  padding: clamp(25px, 4vw, 42px);
  background: rgba(255, 253, 247, .97);
  border: 3px solid var(--line);
  border-radius: 38px;
  box-shadow: var(--shadow);
}
.progress-row { justify-content: space-between; gap: 18px; margin-bottom: 22px; }
.progress-row > div > strong, .progress-row > div > small { display: block; }
.progress-row > div > strong { font-size: 18px; }
.progress-row > div > small { max-width: 760px; margin-top: 5px; color: var(--muted); font-weight: 800; line-height: 1.45; }
.round-badge {
  display: grid;
  min-width: 82px;
  height: 82px;
  place-items: center;
  align-content: center;
  color: white;
  font-family: Georgia, serif;
  font-size: 29px;
  font-weight: 900;
  background: var(--navy);
  border: 6px solid #cfe5e7;
  border-radius: 50%;
}
.round-badge small { display: block; font-family: inherit; font-size: 10px; }
.mission { justify-content: center; gap: 24px; margin: 0 auto 20px; text-align: left; }
.mission > div:last-child { max-width: 610px; }
.mission h1 { margin-bottom: 6px; font-size: clamp(31px, 4vw, 46px); letter-spacing: -.035em; }
.mission > div:last-child > p { margin: 0; color: var(--muted); font-weight: 800; }
.travel-card {
  display: flex;
  min-width: 245px;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
  background: #e7f3e8;
  border: 3px solid #b6d7bc;
  border-radius: 23px;
  box-shadow: 0 7px 0 #c4d4bd;
  rotate: -2deg;
}
.travel-card > span { display: grid; width: 54px; height: 54px; place-items: center; font-size: 30px; background: white; border-radius: 16px; }
.travel-card p { margin: 0; }
.travel-card small, .travel-card strong { display: block; }
.travel-card small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.travel-card strong { margin-top: 3px; font-size: 19px; }
.travel-card.gold { background: #fff0bd; border-color: #e4c473; }
.travel-card.coral, .travel-card.rose { background: #ffe4de; border-color: #e2aaa0; }
.travel-card.violet { background: #eee5fb; border-color: #c9b6e6; }
.travel-card.ice, .travel-card.pale-blue, .travel-card.sky { background: #e8f7fa; border-color: #b6dbe2; }
.travel-card.blue, .travel-card.deep-blue, .travel-card.aqua { background: #dcf1f7; border-color: #9fcbd8; }
.game-shell > .world-map { box-shadow: 0 12px 0 #c8d8cf; }
.map-legend { justify-content: center; flex-wrap: wrap; gap: 22px; margin: 18px 0 0; color: var(--muted); font-size: 12px; font-weight: 900; }
.map-legend span { display: flex; align-items: center; gap: 7px; }
.map-legend i { display: inline-grid; width: 18px; height: 18px; place-items: center; font-size: 10px; font-style: normal; background: #97c98e; border: 2px solid white; border-radius: 6px; box-shadow: 0 0 0 1px #a9bcae; }
.map-legend .water-dot { background: #5aa7c1; }
.map-legend .marker-dot { color: #255245; background: #fff5c9; border-radius: 50%; }
.game-actions { justify-content: flex-end; margin-top: 17px; }
.feedback-card {
  gap: 14px;
  min-height: 84px;
  margin-top: 16px;
  padding: 15px 17px;
  background: #f3f6f2;
  border: 2px solid #d7ded5;
  border-radius: 22px;
}
.feedback-card[data-kind="error"] { background: #fff0ed; border-color: #e5a59c; }
.feedback-card[data-kind="hint"] { background: #fff6d6; border-color: #e7cc74; }
.feedback-card[data-kind="success"] { background: #e8f5ea; border-color: #9fc9aa; }
.feedback-card > span { display: grid; min-width: 50px; height: 50px; place-items: center; font-size: 26px; background: white; border-radius: 15px; }
.feedback-card p { flex: 1; margin: 0; }
.feedback-card strong, .feedback-card small { display: block; }
.feedback-card small { margin-top: 4px; color: var(--muted); font-weight: 800; line-height: 1.4; }

.result-card {
  max-width: 850px;
  margin: 55px auto 0;
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
  background: var(--paper);
  border: 3px solid var(--line);
  border-radius: 43px;
  box-shadow: var(--shadow);
}
.result-stamp { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 20px; padding: 12px; color: white; background: var(--navy); border-radius: 22px; }
.result-stamp span { font-size: 39px; }
.result-stamp b { font-size: 12px; letter-spacing: .16em; }
.result-card h1 { margin-bottom: 12px; font-size: clamp(40px, 6vw, 62px); line-height: 1.03; }
.result-card > p:not(.eyebrow) { color: var(--muted); font-size: 17px; font-weight: 800; line-height: 1.5; }
.stars { margin: 17px 0; font-size: 48px; letter-spacing: 7px; }
.stars span { color: #ddd8c8; }
.stars .earned { color: var(--gold); text-shadow: 0 4px 0 #cc9233; }
.result-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; }
.result-stats span { padding: 14px; background: #eef5eb; border: 2px solid #d6e2d2; border-radius: 18px; }
.result-stats b, .result-stats small { display: block; }
.result-stats b { font-size: 25px; }
.result-stats small { margin-top: 4px; color: var(--muted); font-weight: 800; }
.result-actions { justify-content: center; flex-wrap: wrap; gap: 13px; }

.atlas-heading { justify-content: space-between; gap: 25px; margin-bottom: 24px; }
.atlas-heading h1 { margin-bottom: 8px; font-size: clamp(38px, 5vw, 58px); }
.atlas-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-weight: 800; }
.atlas-heading > strong { display: grid; min-width: 100px; height: 84px; place-items: center; align-content: center; font-family: Georgia, serif; font-size: 30px; background: #e4f0e5; border: 2px solid #bcd6bf; border-radius: 20px; }
.atlas-heading > strong small { font-family: inherit; font-size: 11px; }
.atlas-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; }
.atlas-card { display: grid; min-height: 150px; align-items: center; grid-template-columns: 72px 1fr; gap: 15px; padding: 20px; background: #edf6ed; border: 2px solid #bed8c2; border-radius: 24px; }
.atlas-card.gold { background: #fff6d9; border-color: #e2ce8f; }
.atlas-card.coral, .atlas-card.rose { background: #fff0ed; border-color: #e6bcb4; }
.atlas-card.violet { background: #f2ebfb; border-color: #d2c2e7; }
.atlas-card.ice, .atlas-card.pale-blue, .atlas-card.sky, .atlas-card.blue, .atlas-card.deep-blue, .atlas-card.aqua { background: #eaf6f9; border-color: #b9dbe3; }
.atlas-card.is-locked { color: #8c928d; background: #efeee7; border-color: #d8d4c7; }
.atlas-icon { display: grid; width: 66px; height: 66px; place-items: center; font-size: 34px; background: white; border-radius: 20px; }
.atlas-card small, .atlas-card strong { display: block; }
.atlas-card small { color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.atlas-card strong { margin-top: 3px; font-size: 20px; }
.atlas-card p { margin: 7px 0 0; color: var(--muted); font-size: 13px; font-weight: 800; line-height: 1.4; }

.qa-report {
  max-width: 860px;
  margin: 35px auto;
  padding: clamp(25px, 4vw, 44px);
  background: white;
  border: 3px solid #b8d5bf;
  border-radius: 33px;
  box-shadow: var(--shadow);
}
.qa-report.has-failures { border-color: #e4a198; }
.qa-report h1 { margin-bottom: 8px; font-size: clamp(38px, 5vw, 58px); }
.qa-summary { color: var(--muted); font-weight: 900; }
.qa-report ul { display: grid; gap: 8px; margin: 24px 0; padding: 0; list-style: none; }
.qa-report li { display: grid; align-items: center; grid-template-columns: 30px 1fr auto; gap: 10px; padding: 11px 13px; background: #f2f8f1; border-radius: 13px; }
.qa-report li.fail { background: #fff0ed; }
.qa-report li > span { display: grid; width: 25px; height: 25px; place-items: center; color: white; font-weight: 900; background: var(--green); border-radius: 50%; }
.qa-report li.fail > span { background: var(--coral); }
.qa-report li small { color: var(--muted); }
.qa-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
  .hero-actions, .hero-stats { justify-content: center; }
  .hero-map-wrap { width: min(650px, 100%); margin-inline: auto; }
  .routes-grid { grid-template-columns: 1fr; }
  .route-card { min-height: 0; }
  .route-card > p { min-height: 0; }
  .mission { align-items: stretch; flex-direction: column; text-align: center; }
  .travel-card { width: min(330px, 100%); margin-inline: auto; text-align: left; }
}

@media (max-width: 700px) {
  .app { width: min(1120px, calc(100% - 20px)); padding-top: 10px; }
  .topbar { min-height: 58px; margin-bottom: 12px; }
  .brand-mark { width: 49px; height: 49px; font-size: 26px; }
  .brand strong { font-size: 18px; }
  .brand small { display: none; }
  .atlas-button, .sound-button { width: 49px; padding: 0; }
  .atlas-button > span:last-child, .sound-button > span:last-child { display: none; }
  .hero { padding: 28px 20px 39px; border-radius: 32px; }
  .hero h1 { font-size: clamp(40px, 12vw, 51px); }
  .hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .hero-stats { gap: 13px; }
  .hero-map-wrap::before { inset: -9px; border-radius: 27px; }
  .hero-map-wrap .world-map { border-width: 4px; border-radius: 24px; }
  .paper-plane { top: -17px; font-size: 32px; }
  .hero-ticket { right: 8px; bottom: -20px; }
  .how-note { grid-template-columns: 48px 1fr; padding: 13px; }
  .how-note > span { width: 45px; height: 45px; }
  .section-heading, .atlas-heading { align-items: flex-start; flex-direction: column; }
  .section-heading > p { text-align: left; }
  .routes-section { margin-top: 35px; }
  .route-card { padding: 21px; border-radius: 25px; }
  .game-shell, .atlas-shell { margin-inline: -5px; padding: 20px 13px; border-radius: 29px; }
  .progress-row { align-items: flex-start; }
  .round-badge { min-width: 67px; height: 67px; font-size: 23px; }
  .mission { gap: 15px; }
  .mission h1 { font-size: 31px; }
  .world-map { border-width: 4px; border-radius: 23px; }
  .map-choice { width: clamp(48px, 14vw, 64px); height: clamp(48px, 14vw, 64px); border-width: 3px; box-shadow: 0 5px 0 rgba(28, 76, 79, .31), 0 0 0 4px rgba(255, 239, 166, .45); }
  .map-choice span { font-size: 22px; }
  .map-choice small { display: none; }
  .placed-label { min-width: 0; padding: 6px 9px; border-width: 3px; border-radius: 13px; }
  .placed-label b { font-size: 19px; }
  .placed-label small { max-width: 72px; overflow: hidden; font-size: 9px; text-overflow: ellipsis; }
  .compass { display: none; }
  .map-legend { gap: 10px 16px; }
  .map-legend span:nth-child(2) { display: none; }
  .feedback-card { align-items: flex-start; flex-wrap: wrap; }
  .feedback-card .compact { width: 100%; margin-left: 0; }
  .result-card { margin-top: 25px; padding: 32px 20px; border-radius: 32px; }
  .result-stats { grid-template-columns: 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .atlas-grid { grid-template-columns: 1fr; }
  .qa-report li { grid-template-columns: 30px 1fr; }
  .qa-report li small { grid-column: 2; }
}

@media (max-width: 410px) {
  .hero-actions > * { width: 100%; }
  .hero h1 { font-size: 40px; }
  .hero-stats { justify-content: space-between; }
  .hero-stats li { min-width: 0; }
  .hero-ticket { padding: 8px 12px; }
  .route-card > strong { font-size: 23px; }
  .travel-card { min-width: 0; }
  .travel-card > span { width: 47px; height: 47px; font-size: 26px; }
  .travel-card strong { font-size: 17px; }
  .progress-row > div > small { font-size: 12px; }
  .mission h1 { font-size: 28px; }
  .map-choice { width: 45px; height: 45px; }
  .map-choice span { font-size: 20px; }
  .placed-label small { display: none; }
  .map-legend { font-size: 10px; }
  .atlas-card { grid-template-columns: 58px 1fr; padding: 16px; }
  .atlas-icon { width: 54px; height: 54px; font-size: 28px; }
}

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