@charset "UTF-8";

/* src/shared/ui/theme.css */
:root {
  --cream: #fffaf0;
  --ink: #243d43;
  --muted: #657371;
  --orange: #e85c35;
  --blue: #2176b5;
  --line: #e8e4d9;
  --bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 17px;
  line-height: 1.5;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button,
a {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #196ac8;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
}
svg {
  display: block;
}
.icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4,
.brand,
.button,
.eyebrow,
.flag-name {
  font-family: Outfit, sans-serif;
}
h1 {
  font-size: clamp(46px, 4.9vw, 72px);
  line-height: 1.045;
  letter-spacing: -2.8px;
  font-weight: 800;
}
h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.7px;
  font-weight: 700;
}
h3 {
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.4px;
}
.muted {
  color: var(--muted);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  background: white;
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.site-header {
  height: 102px;
  max-width: 1320px;
  padding: 0 48px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 800;
  font-size: 31px;
  letter-spacing: -1.5px;
  white-space: nowrap;
}
.brand-atlas {
  font-weight: 500;
}
.brand-dot {
  color: var(--orange);
}
.brand-mark {
  width: 40px;
  height: 45px;
  position: relative;
  font-size: 23px;
  color: var(--orange);
  transform: rotate(-16deg);
  padding-left: 27px;
  padding-top: 0;
}
.brand-mark > span {
  position: absolute;
  left: 0;
  top: 6px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  background: #217e70;
  color: #d9ecd0;
  font-size: 37px;
  line-height: 1;
  overflow: hidden;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 16px;
  border-radius: 13px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.nav-link.active {
  background: #eeeede;
  color: #326553;
}
.nav-link:hover {
  background: #f0eee4;
}
.nav-count {
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #e8e5dc;
  font-size: 13px;
}
.header-tools {
  display: flex;
  gap: 20px;
  align-items: center;
}
.sound-button {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  padding: 10px 0;
  font-size: 14px;
  color: #5d6967;
  white-space: nowrap;
  min-height: 44px;
}
.star-count {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
}
.star-count > span:first-child {
  font-size: 23px;
  color: #c38a0f;
}
main:focus,
#dialog-title:focus {
  outline: none;
}
main {
  max-width: 1224px;
  margin: auto;
  padding: 0 0 60px;
  min-height: 70vh;
}
.hero {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  align-items: center;
  gap: 35px;
  padding-top: 47px;
  padding-bottom: 36px;
}
.hero-copy {
  padding-bottom: 5px;
}
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2.1px;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
}
.hero .eyebrow {
  color: #4d7160;
  margin-bottom: 22px;
}
.eyebrow i {
  width: 7px;
  height: 7px;
  background: #82aa60;
  border-radius: 50%;
}
.hero h1 .orange {
  color: var(--orange);
}
.hero h1 .line {
  display: block;
}
.hero-desc {
  margin: 22px 0 25px;
  color: #65716e;
  font-size: 18px;
  line-height: 1.75;
  max-width: 370px;
}
.hero-desc strong {
  font-weight: 500;
  color: #465a55;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  border-radius: 13px;
  font-size: 18px;
  font-weight: 600;
  padding: 14px 24px;
  transition: transform 160ms var(--bounce), box-shadow 160ms;
  background: var(--ink);
  color: white;
  box-shadow: 0 4px 0 #14282e;
}
.button.primary {
  background: #c74a2b;
  box-shadow: 0 4px 0 #b74425;
  color: white;
}
.button:hover {
  transform: translateY(-2px);
}
.button:active {
  transform: translateY(2px);
  box-shadow: none;
}
.button.secondary {
  background: white;
  color: var(--ink);
  box-shadow: 0 3px 0 #d8dfd8;
  border: 1px solid #d8dfd8;
}
.hero-footnote {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #798077;
  font-size: 14px;
  margin-top: 16px;
}
.hero-footnote .icon {
  width: 14px;
  height: 14px;
}
.hero-footnote .dot {
  padding: 0 4px;
}
.world-stage {
  position: relative;
  border: 5px solid #fff;
  border-radius: 27px;
  background: #e9f3f6;
  box-shadow: 0 6px 0 #e2e6df;
  isolation: isolate;
  min-width: 0;
  height: 385px;
  transform: rotate(1deg);
  overflow: visible;
}
.world-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #d4e4e8;
  border-radius: 22px;
  pointer-events: none;
}
.stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: absolute;
  left: 22px;
  right: 20px;
  top: 17px;
  z-index: 1;
}
.stage-top span {
  font-size: 13px;
  letter-spacing: 1.4px;
  font-weight: 700;
  color: #607f89;
}
.compass-art {
  width: 36px;
  height: 36px;
  border: 1px solid #adc5cc;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #6c969e;
  font-size: 25px;
  transform: rotate(-20deg);
}
.hero-map {
  position: absolute;
  left: 0;
  right: 0;
  top: 44px;
  bottom: 38px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.world-map {
  width: 100%;
  height: auto;
  overflow: visible;
}
.world-map .land {
  fill: #c8dfcd;
  stroke: #e9f3f6;
  stroke-width: 0.75;
  stroke-linejoin: round;
}
.world-map .highlight {
  fill: #ef8c5c;
  stroke: #fff;
  stroke-width: 1.5;
}
.world-map .continent-active {
  fill: #7ea989;
}
.world-map .map-label {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  letter-spacing: 1.8px;
  fill: #5c7e7a;
  font-weight: 700;
  pointer-events: none;
}
.world-map .ocean-label {
  font-size: 9px;
  letter-spacing: 2px;
  fill: #91acb5;
}
.world-map .gridline {
  stroke: #b3ced8;
  stroke-width: 0.5;
  opacity: 0.42;
}
.world-map .pin {
  cursor: pointer;
  outline-offset: 4px;
}
.world-map .pin:hover .pin-card,
.world-map .pin:focus .pin-card {
  stroke: var(--orange);
  stroke-width: 3;
}
.world-map .pin-card {
  fill: white;
  stroke: #dae2dd;
  stroke-width: 1;
}
.map-lesson {
  position: absolute;
  bottom: 20px;
  right: 16px;
  width: 204px;
  background: white;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 5px 20px #37575c0a;
  transform: rotate(-3deg);
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
}
.map-lesson b {
  font-size: 15px;
}
.map-lesson .hand {
  font-size: 24px;
}
.world-caption {
  position: absolute;
  left: 155px;
  bottom: 10px;
  font-size: 9px;
  color: #728887;
}
.mascot {
  width: 145px;
  height: 146px;
  position: absolute;
  bottom: -8px;
  left: -30px;
  transform: rotate(-8deg);
  filter: drop-shadow(0 4px 0 #233e3911);
  pointer-events: none;
}
.mascot svg {
  width: 100%;
  height: 100%;
}
.mascot-speech {
  position: absolute;
  left: -5px;
  bottom: 121px;
  border-radius: 12px 12px 12px 2px;
  background: #fff;
  padding: 8px 12px;
  font-family: Outfit;
  font-weight: 600;
  font-size: 15px;
  transform: rotate(-6deg);
  box-shadow: 0 3px 0 #233e3908;
}
.little-star {
  position: absolute;
  color: #e2ac3c;
  font-size: 28px;
  left: 36px;
  top: -24px;
  transform: rotate(-8deg);
}
.postmark {
  position: absolute;
  right: -15px;
  top: -16px;
  width: 66px;
  height: 66px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 2px dashed #bc9754;
  background: #f9e8b9;
  border-radius: 50%;
  transform: rotate(17deg);
  color: #796539;
  font-size: 8px;
  line-height: 1.4;
  letter-spacing: 1px;
  font-weight: 700;
}
.postmark b {
  font-size: 22px;
  font-weight: 400;
}
.promise {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px;
  margin-top: 14px;
  color: #6d756d;
  font-size: 14px;
}
.promise > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.promise .icon {
  width: 18px;
  height: 18px;
  color: #7b9876;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin: 33px 0 19px;
}
.section-heading h2 {
  font-size: 27px;
}
.section-heading p {
  font-size: 15px;
  margin-top: 5px;
  color: var(--muted);
}
.section-heading .aside-note {
  font-size: 14px;
  color: #7d857b;
  display: flex;
  align-items: center;
  gap: 7px;
}
.discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.discovery-card {
  position: relative;
  border-radius: 19px;
  padding: 22px 25px 19px;
  text-align: left;
  border: 1px solid #e1d9b5;
  transition: transform 180ms var(--bounce), box-shadow 180ms;
  overflow: hidden;
}
.discovery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 0 #243d430c;
}
.discovery-card.yellow {
  background: #f9e9a9;
}
.discovery-card.lavender {
  background: #e9e2f6;
  border-color: #dad1eb;
}
.discovery-card.green {
  background: #dcebdc;
  border-color: #cbdcc8;
}
.card-kicker {
  font-family: Outfit;
  font-size: 13px;
  letter-spacing: 1.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #657063;
}
.mini-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.card-art {
  height: 93px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  margin: 3px 0 5px;
}
.art-flag {
  width: 88px;
  height: 60px;
  object-fit: contain;
  filter: drop-shadow(0 4px 0 #243d431a);
  transform: rotate(-9deg);
  background: white;
  border: 5px solid white;
  border-radius: 3px;
}
.art-flag.second {
  transform: rotate(8deg);
  margin-left: -3px;
}
.art-flag.third {
  transform: rotate(-4deg);
  width: 63px;
  height: 45px;
}
.shape-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #e57149;
  position: absolute;
  left: 22px;
  top: 23px;
  opacity: 0.6;
}
.shape-star {
  font-size: 39px;
  position: absolute;
  right: 24px;
  top: 8px;
  color: #d9aa39;
  transform: rotate(15deg);
}
.art-equal {
  font-family: Outfit;
  font-size: 26px;
  font-weight: 500;
  color: #768f71;
}
.discovery-card h3 {
  font-size: 24px;
}
.discovery-card .card-desc {
  font-size: 14px;
  color: #637061;
  margin-top: 5px;
}
.card-bottom {
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #54614f;
  letter-spacing: 0.2px;
}
.circle-arrow {
  width: 31px;
  height: 31px;
  border: 1px solid #243d4322;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.circle-arrow .icon {
  width: 16px;
  height: 16px;
}
.journey-heading {
  margin-top: 37px;
}
.text-button {
  background: none;
  font-size: 14px;
  font-weight: 700;
  color: #52766a;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 0;
  min-height: 44px;
}
.country-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 13px;
}
.country-tile {
  border: 1px solid #e5e3d7;
  border-radius: 13px;
  background: #fffdf7;
  padding: 17px 10px;
  text-align: center;
  transition: transform 160ms var(--bounce);
}
.country-tile:hover {
  transform: translateY(-3px);
  border-color: #94aa89;
}
.country-tile img {
  width: 58px;
  height: 39px;
  object-fit: contain;
  display: block;
  margin: 0 auto 12px;
  filter: drop-shadow(0 2px 1px #243d4312);
}
.flag-name {
  font-size: 17px;
  font-weight: 600;
}
.country-tile small {
  display: block;
  font-size: 13px;
  color: #829080;
  margin-top: 3px;
}
.passport-callout {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 29px;
  border: 1px dashed #c4cabc;
  border-radius: 14px;
  padding: 17px 23px;
  background: #f4f3e9;
}
.passport-callout .icon {
  width: 34px;
  height: 34px;
  color: #6a8567;
  transform: rotate(-8deg);
}
.passport-callout h3 {
  font-size: 17px;
}
.passport-callout p {
  font-size: 14px;
  color: var(--muted);
  margin-top: 2px;
}
.passport-callout a {
  margin-left: auto;
  white-space: nowrap;
}
footer {
  max-width: 1224px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 26px;
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  font-size: 14px;
  color: #7f857a;
}
.footer-brand {
  font-size: 21px;
  color: #5d6e5f;
  letter-spacing: -1px;
  gap: 0;
}
footer button {
  margin-left: auto;
  background: none;
  padding: 12px 0;
  color: #626e60;
  font-size: 14px;
}
.page-intro {
  padding-top: 43px;
  margin-bottom: 30px;
}
.page-intro .eyebrow {
  color: #77846b;
  margin-bottom: 11px;
}
.page-intro h1 {
  font-size: 49px;
  letter-spacing: -1.8px;
}
.page-intro p {
  color: var(--muted);
  margin-top: 11px;
  max-width: 580px;
}
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.game-card {
  padding: 27px;
  border-radius: 22px;
  border: 1px solid #dedbcf;
  background: #f9e9a9;
  display: flex;
  flex-direction: column;
}
.game-card:nth-child(3n+2) {
  background: #e9e2f6;
}
.game-card:nth-child(3n) {
  background: #dcebdc;
}
.game-illustration {
  height: 155px;
  display: grid;
  place-items: center;
  font-size: 75px;
}
.game-card p {
  color: #5c6a5e;
  font-size: 16px;
  margin: 12px 0 25px;
}
.game-card .button {
  margin-top: auto;
}
.reassurance {
  display: flex;
  gap: 15px;
  padding: 26px;
  background: #f0f1e6;
  border-radius: 16px;
  margin-top: 28px;
}
.reassurance h3 {
  font-size: 20px;
}
.reassurance p {
  font-size: 15px;
  color: #6d7868;
  margin-top: 5px;
}
.reassurance .icon {
  width: 32px;
  height: 32px;
  color: #688968;
}
.passport-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.stamp {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed #d4d8c9;
  border-radius: 18px;
  background: #f6f5ed;
  color: #788170;
  position: relative;
}
.stamp > span {
  font-size: 27px;
  color: #adb69e;
  margin-bottom: 10px;
}
.stamp.earned {
  background: #edf2db;
  border: 2px solid #9cae7e;
  color: #385744;
  transform: rotate(-2deg);
}
.stamp.earned:nth-child(2n) {
  transform: rotate(2deg);
}
.stamp img {
  width: 65px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 10px;
}
.stamp small {
  font-size: 13px;
  letter-spacing: 1px;
  margin-top: 4px;
}
.stamp b {
  overflow-wrap: anywhere;
  max-width: 100%;
  text-align: center;
  padding: 0 7px;
  line-height: 1.25;
}
.atlas-grid .flag-name {
  overflow-wrap: anywhere;
  display: block;
}
.passport-progress {
  height: 8px;
  background: #e9e9dd;
  border-radius: 8px;
  max-width: 320px;
  margin: 17px 0;
  overflow: hidden;
}
.passport-progress span {
  display: block;
  height: 100%;
  background: #7b9b5e;
  border-radius: 8px;
}
.atlas-layout {
  background: #e9f3f6;
  border: 1px solid #d8e8e9;
  border-radius: 22px;
  padding: 20px;
  position: relative;
}
.atlas-layout .world-map {
  max-height: 485px;
}
.atlas-hint {
  font-size: 14px;
  text-align: center;
  color: #57787d;
}
.atlas-search {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 25px;
}
.atlas-search label {
  font-family: Outfit;
  font-weight: 600;
  font-size: 18px;
}
.atlas-search input {
  flex: 1;
  max-width: 410px;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #cbd4c3;
  border-radius: 12px;
  background: #fffdf7;
  color: var(--ink);
  padding: 12px 15px;
}
.atlas-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  margin: 25px 0 20px;
}
.filter {
  padding: 9px 17px;
  min-height: 44px;
  background: #eeeede;
  border-radius: 999px;
  font-size: 15px;
  border: 1px solid transparent;
}
.filter.active {
  background: var(--ink);
  color: white;
}
.atlas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.atlas-grid .country-tile {
  padding: 20px 10px;
}
.atlas-grid .country-tile img {
  width: 78px;
  height: 52px;
}
dialog {
  padding: 0;
  border: 0;
  border-radius: 25px;
  width: min(990px, calc(100% - 32px));
  max-height: calc(100dvh - 40px);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 25px 100px #172c4340;
}
dialog::backdrop {
  background: #21353cc4;
  backdrop-filter: blur(6px);
}
dialog[open] {
  animation: arrive 280ms var(--bounce);
}
.dialog-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px 25px;
  border-bottom: 1px solid var(--line);
}
.dialog-header .eyebrow {
  font-size: 13px;
  color: #78806d;
}
.dialog-header h2 {
  font-size: 23px;
}
.close-button {
  margin-left: auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eeeee3;
  flex-shrink: 0;
}
.close-button:hover {
  background: #e1e5d8;
}
.steps {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  margin-right: 13px;
}
.step {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #dedfd2;
}
.step.active {
  background: #ed8259;
  width: 25px;
  border-radius: 9px;
}
.step.done {
  background: #779965;
}
.lesson-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 27px;
}
.flag-theater {
  position: relative;
  height: 216px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #f3e4cb;
  background-image: radial-gradient(#d0b58955 1px, transparent 1px);
  background-size: 15px 15px;
  overflow: hidden;
}
.flag-theater img {
  width: 76%;
  height: 72%;
  object-fit: contain;
  filter: drop-shadow(0 7px 4px #3c3a3018);
  z-index: 1;
}
.flag-theater::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  transform: rotate(25deg);
  background: #ffffff60;
  border-radius: 40px;
}
.look-title {
  font-family: Outfit;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin: 22px 0 13px;
}
.memory {
  font-size: 17px;
  color: #687568;
  line-height: 1.7;
}
.color-dots {
  display: flex;
  gap: 7px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.color-tag {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: #efeee4;
  font-size: 13px;
}
.color-tag i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #0002;
}
.lesson-map {
  background: #e9f3f6;
  border-radius: 18px;
  padding: 18px 14px;
  margin-bottom: 17px;
}
.lesson-map > p {
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
  color: #5d7e83;
  margin: 0 0 14px 5px;
}
.location-fact {
  padding: 0 8px;
}
.location-fact h3 {
  font-size: 23px;
  margin-bottom: 10px;
}
.location-fact p {
  color: #657568;
  font-size: 16px;
  line-height: 1.7;
}
.location-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e6edda;
  color: #536e4a;
  padding: 7px 10px;
  border-radius: 7px;
  font-size: 14px;
  margin-top: 14px;
}
.dialog-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 27px 25px;
}
.listen-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: none;
  min-height: 48px;
  padding: 10px;
  color: #586c5d;
  font-weight: 600;
  font-size: 15px;
}
.challenge {
  padding: 28px;
  text-align: center;
}
.challenge .eyebrow {
  justify-content: center;
  margin-bottom: 10px;
  color: #718164;
}
.challenge h3 {
  font-size: 33px;
  margin-bottom: 9px;
}
.challenge .prompt-sub {
  color: #687568;
  font-size: 16px;
}
.answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 26px auto 20px;
  max-width: 700px;
}
.answer {
  position: relative;
  background: white;
  border: 2px solid #e0e4d6;
  border-radius: 18px;
  padding: 20px;
  min-height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  transition: transform 170ms var(--bounce), border-color 170ms;
}
.answer:hover:not(:disabled) {
  transform: translateY(-3px);
  border-color: #91a67b;
}
.answer img {
  width: 80%;
  height: 123px;
  object-fit: contain;
  filter: drop-shadow(0 4px 2px #0001);
}
.answer .world-map {
  height: 120px;
}
.answer .answer-label {
  font-family: Outfit;
  font-size: 20px;
  font-weight: 600;
}
.answer.correct {
  background: #edf4dc;
  border-color: #799b5c;
  animation: pop 300ms var(--bounce);
}
.answer.retry {
  background: #ffefd9;
  border-color: #d7a566;
}
.answer:disabled:not(.correct) {
  opacity: 0.55;
}
.answer .result-badge {
  position: absolute;
  right: 12px;
  top: 9px;
  font-size: 23px;
  color: #63863d;
}
.feedback {
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
  color: #557347;
  padding: 8px 10px;
  border-radius: 10px;
}
.feedback.try {
  color: #846028;
}
.question-mark {
  font-family: Outfit;
  font-size: 60px;
  color: #688e66;
}
.celebration {
  text-align: center;
  padding: 40px 28px 20px;
  position: relative;
  overflow: hidden;
}
.celebration .big-star {
  font-size: 75px;
  line-height: 1.2;
  color: #dbaa35;
  display: block;
  animation: pop 400ms var(--bounce);
}
.celebration h3 {
  font-size: 40px;
  margin: 10px 0;
}
.celebration p {
  color: #6b7968;
  max-width: 450px;
  margin: 0 auto;
}
.new-stamp {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: 3px double #698b56;
  background: #e5efd6;
  color: #48683e;
  border-radius: 17px;
  width: 168px;
  margin: 24px auto;
  padding: 17px;
  transform: rotate(-6deg);
  font-family: Outfit;
  font-size: 20px;
  font-weight: 600;
}
.new-stamp img {
  width: 90px;
  height: 58px;
  object-fit: contain;
}
.new-stamp small {
  font-size: 9px;
  letter-spacing: 2px;
}
.celebration .sprinkle {
  position: absolute;
  top: 75px;
  width: 9px;
  height: 15px;
  border-radius: 3px;
  background: #eb9b55;
  transform: rotate(25deg);
}
.celebration .sprinkle:nth-child(2) {
  left: 24%;
  background: #97b69b;
  transform: rotate(-20deg);
}
.celebration .sprinkle:nth-child(3) {
  right: 24%;
  background: #aca1c7;
  top: 105px;
}
.celebration .sprinkle:nth-child(4) {
  right: 33%;
  background: #d9b954;
  top: 30px;
}
.grownup-body {
  padding: 27px;
  max-width: 760px;
  margin: auto;
}
.grownup-body h3 {
  font-size: 21px;
  margin: 20px 0 8px;
}
.grownup-body p,
.grownup-body li {
  font-size: 16px;
  color: #5d6d61;
  line-height: 1.8;
}
.grownup-body a {
  text-decoration: underline;
}
.grownup-body .button {
  margin: 20px 0 5px;
}
.inline-note {
  font-size: 14px !important;
}
.twins {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 25px;
}
.twins img {
  width: 38%;
  height: 160px;
  object-fit: contain;
}
.twins .art-equal {
  font-size: 38px;
}
.twins-info {
  padding: 0 30px 20px;
  text-align: center;
}
.twins-info h3 {
  font-size: 31px;
  margin-bottom: 12px;
}
.twins-info p {
  max-width: 550px;
  margin: auto;
  color: #657363;
}
.empty-note {
  padding: 15px;
  color: #74836e;
}
.page-enter {
  animation: arrive 270ms var(--bounce);
}
@keyframes arrive {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes pop {
  from {
    transform: scale(0.96);
  }
  to {
    transform: scale(1);
  }
}
@media (min-width: 1450px) {
  .site-header {
    max-width: 1400px;
  }
  main,
  footer {
    max-width: 1250px;
  }
  .hero {
    padding-top: 55px;
    padding-bottom: 44px;
    gap: 60px;
  }
  .world-stage {
    height: 410px;
  }
  .hero-desc {
    font-size: 17px;
  }
  .discovery-card {
    padding: 23px 27px;
  }
  .card-art {
    height: 104px;
  }
}
@media (max-width: 1300px) {
  main,
  footer {
    margin-left: 42px;
    margin-right: 42px;
  }
  .site-header {
    padding: 0 42px;
    gap: 18px;
  }
  .header-tools {
    gap: 12px;
  }
  .nav-link {
    padding: 11px 12px;
  }
  .brand {
    font-size: 28px;
  }
  .world-stage {
    height: 360px;
  }
  .hero {
    gap: 30px;
  }
  .hero h1 {
    font-size: 61px;
  }
  .world-caption {
    display: none;
  }
}
@media (max-width: 1050px) {
  .site-header {
    padding: 0 25px;
    gap: 10px;
  }
  .brand {
    font-size: 25px;
  }
  .brand-mark {
    transform: scale(0.8) rotate(-16deg);
    margin-right: -4px;
  }
  .nav-link {
    font-size: 14px;
    padding: 11px 10px;
    gap: 6px;
  }
  .header-tools {
    gap: 12px;
  }
  .sound-button #sound-label {
    display: none;
  }
  main,
  footer {
    margin-left: 30px;
    margin-right: 30px;
  }
  .hero {
    grid-template-columns: 1fr 1.08fr;
    gap: 25px;
  }
  .hero h1 {
    font-size: 53px;
    letter-spacing: -2.1px;
  }
  .hero-desc {
    font-size: 16px;
  }
  .world-stage {
    height: 330px;
  }
  .mascot {
    width: 116px;
    height: 118px;
    left: -18px;
  }
  .mascot-speech {
    font-size: 14px;
    bottom: 103px;
  }
  .map-lesson {
    width: 171px;
    font-size: 13px;
    bottom: 12px;
  }
  .map-lesson b {
    font-size: 14px;
  }
  .postmark {
    right: -8px;
  }
  .promise {
    gap: 28px;
  }
  .discovery-card {
    padding: 20px 18px;
  }
  .discovery-card h3 {
    font-size: 21px;
  }
  .shape-dot {
    left: 0;
  }
  .shape-star {
    right: 0;
  }
  .country-row {
    gap: 9px;
  }
  .country-tile {
    padding: 15px 5px;
  }
  .passport-grid,
  .atlas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 760px) {
  .site-header {
    height: auto;
    min-height: 126px;
    flex-wrap: wrap;
    padding: 13px 20px 0;
    gap: 5px;
  }
  .brand {
    font-size: 28px;
  }
  .site-header nav {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 2px;
    margin-top: 9px;
    padding-bottom: 11px;
  }
  .nav-link {
    font-size: 14px;
    padding: 10px 8px;
    gap: 5px;
    flex: 1;
    justify-content: center;
  }
  .nav-link .icon {
    width: 18px;
    height: 18px;
  }
  .header-tools {
    margin-left: auto;
  }
  .header-tools .sound-button #sound-label {
    display: inline;
    font-size: 13px;
  }
  .star-count {
    font-size: 15px;
  }
  .nav-count {
    display: none;
  }
  main,
  footer {
    margin-left: 21px;
    margin-right: 21px;
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 29px;
    gap: 34px;
    padding-bottom: 24px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero .eyebrow {
    justify-content: center;
    margin-bottom: 17px;
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(42px, 10.7vw, 58px);
    letter-spacing: -1.7px;
  }
  .hero-desc {
    margin: 18px auto 21px;
    font-size: 16px;
    max-width: 320px;
  }
  .hero-footnote {
    justify-content: center;
    font-size: 13px;
  }
  .hero .button {
    min-width: 240px;
  }
  .world-stage {
    height: 330px;
    margin: 0 8px 0 13px;
    max-width: 580px;
    width: calc(100% - 21px);
    justify-self: center;
  }
  .mascot {
    width: 126px;
    height: 128px;
    left: -23px;
  }
  .mascot-speech {
    bottom: 111px;
  }
  .promise {
    font-size: 13px;
    gap: 15px;
    padding: 15px 0;
    flex-wrap: wrap;
    margin-top: 5px;
  }
  .promise .icon {
    width: 15px;
    height: 15px;
  }
  .promise > span {
    gap: 6px;
  }
  .promise > span:last-child {
    display: none;
  }
  .section-heading {
    margin-top: 27px;
  }
  .section-heading h2 {
    font-size: 25px;
  }
  .section-heading p {
    font-size: 14px;
  }
  .section-heading .aside-note {
    display: none;
  }
  .discovery-grid {
    gap: 12px;
    grid-template-columns: 1fr;
  }
  .discovery-card {
    padding: 20px 21px;
    min-height: 169px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 112px;
    column-gap: 16px;
  }
  .card-kicker {
    grid-column: 1;
    align-self: start;
    font-size: 9px;
  }
  .card-art {
    grid-column: 2;
    grid-row: 1/5;
    height: 100%;
    margin: 0;
    gap: 0;
  }
  .card-art .art-flag {
    width: 54px;
    height: 42px;
    border-width: 4px;
    flex-shrink: 0;
  }
  .card-art .art-flag.third {
    display: none;
  }
  .card-art .shape-star {
    font-size: 25px;
    top: 3px;
  }
  .card-art .shape-dot {
    width: 25px;
    height: 25px;
    left: 0;
    top: 12px;
  }
  .card-art .art-equal {
    font-size: 19px;
    margin: 0 3px;
  }
  .discovery-card h3 {
    font-size: 22px;
    margin-top: 10px;
    grid-column: 1;
    min-width: 0;
  }
  .discovery-card .card-desc {
    font-size: 14px;
    max-width: 175px;
    grid-column: 1;
  }
  .card-bottom {
    margin-top: 16px;
    grid-column: 1;
    font-size: 9px;
  }
  .circle-arrow {
    display: none;
  }
  .country-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .country-tile {
    padding: 17px 8px;
  }
  .country-tile img {
    width: 65px;
    height: 43px;
  }
  .section-heading .text-button {
    font-size: 13px;
  }
  .passport-callout {
    padding: 18px 16px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .passport-callout h3 {
    font-size: 18px;
  }
  .passport-callout p {
    font-size: 14px;
  }
  .passport-callout a {
    margin-left: 48px;
    padding: 0;
    min-height: 30px;
  }
  .passport-callout .icon {
    width: 28px;
    height: 28px;
  }
  footer {
    flex-wrap: wrap;
    gap: 7px 15px;
    padding: 20px 0;
  }
  footer > span {
    font-size: 9px;
    order: 3;
    width: 100%;
  }
  footer button {
    font-size: 13px;
  }
  .footer-brand {
    font-size: 19px;
  }
  .page-intro {
    padding-top: 30px;
  }
  .page-intro h1 {
    font-size: 40px;
  }
  .page-intro p {
    font-size: 16px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr 110px;
    gap: 0 10px;
  }
  .game-illustration {
    grid-column: 2;
    grid-row: 1/4;
    height: 130px;
    font-size: 60px;
  }
  .game-card h3 {
    grid-column: 1;
    align-self: end;
  }
  .game-card p {
    grid-column: 1;
    font-size: 14px;
    margin: 9px 0 16px;
  }
  .game-card .button {
    grid-column: 1;
    font-size: 16px;
    min-height: 48px;
    padding: 10px 14px;
  }
  .passport-grid,
  .atlas-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .stamp {
    min-height: 135px;
    font-size: 15px;
  }
  .stamp img {
    width: 54px;
    height: 36px;
  }
  .stamp small {
    font-size: 8px;
  }
  .atlas-layout {
    padding: 15px 5px;
  }
  .atlas-hint {
    font-size: 13px;
  }
  .filter {
    padding: 7px 13px;
    font-size: 14px;
  }
  .atlas-grid .country-tile img {
    width: 65px;
    height: 43px;
  }
  .atlas-grid .flag-name {
    font-size: 15px;
  }
  dialog {
    width: calc(100% - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 19px;
  }
  .dialog-header {
    padding: 14px 17px;
    gap: 8px;
  }
  .dialog-header h2 {
    font-size: 19px;
  }
  .dialog-header .eyebrow {
    font-size: 8px;
    letter-spacing: 1px;
  }
  .close-button {
    width: 44px;
    height: 44px;
  }
  .steps {
    gap: 5px;
    margin-right: 2px;
  }
  .step {
    width: 7px;
    height: 7px;
  }
  .step.active {
    width: 17px;
  }
  .lesson-grid {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 20px;
  }
  .flag-theater {
    height: 180px;
  }
  .look-title {
    font-size: 29px;
    margin: 17px 0 10px;
  }
  .memory {
    font-size: 16px;
  }
  .lesson-map {
    padding: 14px;
    margin-bottom: 13px;
  }
  .lesson-map .world-map {
    max-height: 175px;
  }
  .lesson-map > p {
    margin-bottom: 3px;
    font-size: 13px;
  }
  .location-fact {
    padding: 0;
  }
  .location-fact h3 {
    font-size: 23px;
  }
  .location-fact p {
    font-size: 15px;
  }
  .dialog-actions {
    padding: 15px 18px 23px;
    gap: 10px;
    position: sticky;
    bottom: 0;
    background: var(--cream);
    border-top: 1px solid var(--line);
  }
  .dialog-actions .button {
    font-size: 16px;
    min-height: 50px;
    padding: 12px 18px;
  }
  .listen-button {
    font-size: 14px;
    padding: 5px;
    gap: 6px;
  }
  .challenge {
    padding: 23px 17px;
  }
  .challenge h3 {
    font-size: 29px;
  }
  .answer-grid {
    gap: 10px;
    margin: 23px 0 14px;
  }
  .answer {
    padding: 13px 8px;
    min-height: 156px;
  }
  .answer img {
    height: 100px;
    width: 95%;
  }
  .answer .world-map {
    height: 90px;
  }
  .answer .answer-label {
    font-size: 17px;
  }
  .feedback {
    font-size: 15px;
    min-height: 55px;
  }
  .challenge .prompt-sub {
    font-size: 14px;
  }
  .celebration {
    padding: 25px 20px 20px;
  }
  .celebration h3 {
    font-size: 34px;
  }
  .celebration p {
    font-size: 16px;
  }
  .twins {
    padding: 23px 17px;
    gap: 10px;
  }
  .twins img {
    height: 112px;
  }
  .twins-info {
    padding: 0 20px 20px;
  }
  .twins-info h3 {
    font-size: 26px;
  }
  .twins-info p {
    font-size: 16px;
  }
  .grownup-body {
    padding: 20px;
  }
  .grownup-body h3 {
    font-size: 20px;
  }
  .grownup-body p,
  .grownup-body li {
    font-size: 15px;
  }
}
@media (max-width: 370px) {
  .nav-link {
    padding: 10px 8px;
    font-size: 14px;
  }
  .hero h1 {
    font-size: 51px;
  }
  .header-tools {
    gap: 9px;
  }
  .header-tools .sound-button #sound-label {
    display: none;
  }
  .world-stage {
    height: 295px;
  }
  .discovery-card {
    grid-template-columns: 1fr 101px;
    padding: 18px 17px;
  }
  .discovery-card h3 {
    font-size: 21px;
  }
  .card-art .art-flag {
    width: 54px;
    height: 40px;
  }
  .dialog-actions .button {
    font-size: 14px;
    padding: 12px;
  }
  .listen-button {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* src/shared/ui/learning.css */
:root {
  --small: 14px;
  --body: 17px;
  --panel-radius: 20px;
}
button:disabled {
  opacity: 0.58;
  transform: none !important;
  box-shadow: none !important;
}
.choose-path {
  display: block;
  width: fit-content;
  margin: 19px 0 0;
  font-weight: 700;
  color: #406756;
  font-size: 15px;
  text-underline-offset: 4px;
}
.choose-path:hover {
  text-decoration: underline;
}
.explorer-controls {
  background: #f0f1e3;
  border: 1px solid #dce1ce;
  border-radius: var(--panel-radius);
  padding: 24px;
}
.controls-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 19px;
}
.controls-heading .eyebrow {
  font-size: 12px;
  letter-spacing: 1.5px;
}
.pool-count {
  background: white;
  border-radius: 20px;
  padding: 5px 13px;
  font-family: Outfit, sans-serif;
  font-weight: 600;
  white-space: nowrap;
}
.control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(205px, 1fr));
  gap: 16px;
}
.control-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.control-field > span {
  font-size: 15px;
  font-weight: 600;
}
.control-field select {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 10px 34px 10px 13px;
  background: #fffdf7;
  color: var(--ink);
  border: 1px solid #c5cfbc;
  border-radius: 10px;
  font-size: 16px;
  text-overflow: ellipsis;
}
.axis-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
}
.axis-chip {
  padding: 8px 15px;
  border-radius: 999px;
  background: #e3e7d6;
  font-weight: 600;
  min-height: 44px;
}
.axis-chip.active {
  color: white;
  background: #3e6556;
}
.journey-launch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 12px;
}
.journey-launch h2 {
  font-size: 28px;
}
.journey-launch p,
.selection-note {
  margin-top: 8px;
  max-width: 720px;
  color: #61715f;
  font-size: 16px;
  line-height: 1.65;
}
.journey-launch .button {
  flex-shrink: 0;
}
.reference-country {
  display: flex;
  align-items: center;
  gap: 22px;
  margin: 20px 0;
  padding: 20px 24px;
  border: 1px dashed #adbfa0;
  border-radius: 16px;
  background: #f1f3e6;
}
.reference-country > img {
  width: 105px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0;
}
.reference-country .eyebrow {
  font-size: 11px;
  letter-spacing: 1px;
  color: #5c7159;
  margin-bottom: 6px;
}
.reference-country h3 {
  font-size: 24px;
}
.reference-country p {
  font-size: 16px;
  margin-top: 6px;
  color: #526951;
}
.world-peek {
  margin: 22px 0;
  border: 1px solid #dbe3d7;
  border-radius: 14px;
}
.world-peek > summary {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 16px 20px;
  font-weight: 600;
  cursor: pointer;
}
.world-peek .atlas-layout {
  border: 0;
  border-radius: 0 0 14px 14px;
}
.atlas-grid {
  align-items: stretch;
}
.atlas-grid .country-tile {
  min-height: 155px;
}
.atlas-grid .flag-name {
  font-size: 19px;
}
.country-tile small {
  color: #5a715f;
  font-size: 14px;
  line-height: 1.4;
}
.atlas-scope {
  margin-top: 23px;
  font-size: 14px;
  color: #647260;
  line-height: 1.7;
}
.clock-tag {
  display: block;
  margin-top: 9px;
  font-size: 13px;
  color: #496d77;
  line-height: 1.6;
}
.empty-note {
  grid-column: 1/-1;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 120px;
  border: 1px dashed #b8c5aa;
  border-radius: 15px;
  padding: 24px;
  background: #f4f4e8;
  font-size: 17px;
}
.empty-note .icon {
  flex-shrink: 0;
  width: 29px;
  height: 29px;
}
.game-configuration {
  border: 1px solid #d8dfcd;
  border-radius: 17px;
  margin-bottom: 25px;
  background: #f7f6ec;
}
.game-configuration > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
}
.game-configuration > summary > span:first-child {
  display: flex;
  align-items: center;
  gap: 9px;
}
.config-summary {
  font-size: 14px;
  font-weight: 400;
  color: #576e59;
}
.game-configuration[open] {
  padding: 0 20px 10px;
}
.game-configuration[open] > summary {
  padding-left: 0;
  padding-right: 0;
}
.game-settings {
  border: 1px solid #dedfce;
  background: #fffdf6;
  border-radius: 17px;
  padding: 21px;
  margin: 25px 0;
}
.game-settings legend {
  font-family: Outfit, sans-serif;
  font-size: 22px;
  padding: 0 9px;
  font-weight: 600;
}
.checkbox-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 19px 0 7px;
  font-size: 16px;
  cursor: pointer;
}
.checkbox-control input {
  width: 21px;
  height: 21px;
  accent-color: #43785a;
}
.control-note {
  font-size: 14px;
  color: #68735e;
  margin-top: 9px;
}
.game-card {
  position: relative;
  padding: 25px;
}
.game-card .eyebrow {
  font-size: 11px;
  margin-bottom: 12px;
}
.game-illustration {
  height: 95px;
  font-size: 56px;
}
.game-card p {
  font-size: 17px;
  line-height: 1.6;
  margin: 12px 0 15px;
}
.game-availability {
  display: block;
  font-size: 14px;
  line-height: 1.55;
  color: #5a6854;
  margin-bottom: 21px;
}
.game-card .button {
  width: 100%;
}
.region-banner {
  padding: 19px 27px;
  background: #e7efe1;
  border-bottom: 1px solid #ccd9c4;
}
.region-banner-title {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #44634c;
  margin-bottom: 9px;
}
.region-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}
.region-pill {
  display: inline-flex;
  padding: 6px 15px;
  border-radius: 10px;
  font-family: Outfit, sans-serif;
  font-size: 25px;
  font-weight: 700;
  color: #255762;
  background: #d8e9ee;
}
.region-pill[data-region=Asia] {
  background: #f4df98;
  color: #715621;
}
.region-pill[data-region=Europe] {
  background: #dbe2f4;
  color: #3b5580;
}
.region-pill[data-region=Africa] {
  background: #f3d4b7;
  color: #7c472d;
}
.region-pill[data-region="South America"] {
  background: #cee5d2;
  color: #365e3f;
}
.region-pill[data-region="North America"] {
  background: #e4d8f2;
  color: #644e7b;
}
.region-banner p {
  margin-top: 11px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 820px;
}
.lesson-tabs {
  display: flex;
  gap: 6px;
  padding: 15px 27px 0;
  border-bottom: 1px solid var(--line);
}
.lesson-tabs button {
  background: none;
  border-radius: 9px 9px 0 0;
  padding: 13px 16px;
  font-family: Outfit, sans-serif;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}
.lesson-tabs button[aria-selected=true] {
  background: #eeeee1;
  border-bottom-color: #618864;
}
.memory-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #788263;
  margin: 16px 0 6px;
}
.memory,
.location-fact p {
  font-size: 18px;
  line-height: 1.7;
}
.lesson-map .world-map .continent-active,
.answer .world-map .continent-active {
  fill: #90b994;
  stroke: none;
  opacity: 0.8;
}
.world-map .highlight {
  fill: #ea7445;
  stroke: white;
  stroke-width: 1.3;
}
.world-map .map-label {
  font-size: 17px;
  letter-spacing: 1px;
}
.lesson-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}
.story-panel {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 27px;
  padding: 28px;
  align-items: start;
}
.story-flag {
  background: #f4e3c7;
  min-height: 220px;
  padding: 25px;
  border-radius: 17px;
  display: grid;
  place-items: center;
}
.story-flag img {
  width: 100%;
  max-height: 190px;
  object-fit: contain;
}
.story-panel .eyebrow {
  font-size: 11px;
  color: #7d7759;
  margin-bottom: 14px;
}
.story-panel h3 {
  font-size: 29px;
  margin-bottom: 16px;
}
.story-summary {
  font-size: 19px;
  line-height: 1.8;
}
.story-note {
  font-size: 14px;
  line-height: 1.7;
  color: #627365;
  margin-top: 17px;
}
.source-details,
.fact-panel details {
  margin-top: 20px;
  border-top: 1px solid #d7ddcd;
  padding-top: 15px;
}
.source-details summary,
.fact-panel summary {
  cursor: pointer;
  font-weight: 600;
  min-height: 40px;
}
.source-details p {
  font-size: 16px;
  line-height: 1.8;
  margin-top: 12px;
}
.source-link {
  display: block;
  color: #436d78;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 18px;
  font-size: 14px;
  overflow-wrap: anywhere;
}
.source-date {
  font-size: 13px !important;
  color: #657260;
  margin-top: 7px;
  line-height: 1.6;
}
.people-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 19px;
  padding: 25px;
}
.fact-panel {
  border: 1px solid #dce0d0;
  border-radius: 17px;
  background: #f5f4e8;
  padding: 22px;
  min-width: 0;
}
.fact-panel:nth-child(2) {
  background: #e9f1e7;
}
.fact-panel:nth-child(3) {
  background: #e9f1f5;
}
.fact-panel .eyebrow {
  font-size: 10px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.fact-panel h3 {
  font-size: 25px;
}
.fact-panel p {
  font-size: 16px;
  color: #586b5b;
  line-height: 1.75;
  margin-top: 15px;
  overflow-wrap: anywhere;
}
.fact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 16px;
}
.fact-chips button {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid #cad4bf;
  border-radius: 9px;
  padding: 10px;
  min-height: 45px;
  background: #fffef8;
  font-weight: 500;
}
.fact-chips img {
  width: 28px;
  height: 19px;
  object-fit: contain;
}
.fact-chips .icon {
  width: 17px;
  height: 17px;
}
.clock-list {
  display: grid;
  gap: 13px;
  margin-top: 16px;
}
.clock-list > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 11px;
  background: #ffffff99;
  border-radius: 10px;
  padding: 12px;
}
.clock-list b {
  font-family: Outfit, sans-serif;
  font-size: 25px;
}
.clock-list span {
  font-size: 14px;
  overflow-wrap: anywhere;
}
.clock-list small {
  width: 100%;
  font-size: 14px;
  color: #526e76;
}
.profile-sources {
  padding: 0 27px 25px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
}
.profile-sources a {
  color: #477184;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.profile-sources p {
  color: #687663;
  margin-top: 8px;
}
.dialog-actions {
  background: var(--cream);
  position: sticky;
  bottom: 0;
  z-index: 2;
  border-top: 1px solid var(--line);
}
.listen-button {
  flex-shrink: 0;
  max-width: 45%;
  font-size: 15px;
  text-align: left;
}
.challenge .prompt-sub {
  font-size: 18px;
  line-height: 1.6;
  max-width: 690px;
  margin: 0 auto;
}
.round-progress {
  height: 8px;
  border-radius: 8px;
  background: #e7e8d9;
  max-width: 550px;
  margin: 0 auto 24px;
  overflow: hidden;
}
.round-progress span {
  display: block;
  height: 100%;
  background: #7c9d65;
  border-radius: inherit;
}
.question-country {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 9px 17px;
  background: #eeeede;
  border-radius: 12px;
  margin-bottom: 20px;
  font-family: Outfit, sans-serif;
  font-size: 22px;
  font-weight: 600;
}
.question-country img {
  width: 47px;
  height: 32px;
  object-fit: contain;
}
.choices-3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 820px;
}
.answer {
  min-width: 0;
}
.feedback {
  font-size: 18px;
  line-height: 1.6;
}
.challenge .region-banner {
  margin-top: 15px;
  text-align: left;
  border-radius: 14px;
  border: 1px solid #ccd9c4;
}
.memory-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 670px;
  margin: 25px auto;
}
.postcard {
  min-height: 150px;
  background: #d9e7d2;
  border: 2px dashed #91aa80;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px;
}
.postcard > span {
  font-size: 42px;
  color: #678c5b;
}
.postcard small {
  font-family: Outfit, sans-serif;
  font-size: 16px;
}
.postcard.revealed {
  background: #fffdf7;
  border-style: solid;
}
.postcard.matched {
  background: #e5f1d4;
  border-color: #74944e;
  opacity: 1;
}
.postcard img {
  width: 80%;
  height: 65px;
  object-fit: contain;
}
.postcard b {
  font-family: Outfit, sans-serif;
  font-size: 18px;
}
.discovered-flags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin: 27px 0 15px;
}
.discovered-flags > div {
  width: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.discovered-flags img {
  width: 70px;
  height: 47px;
  object-fit: contain;
}
@media (max-width: 1050px) {
  .games-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-launch {
    align-items: flex-start;
  }
  .atlas-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .listen-button {
    font-size: 14px;
  }
}
@media (max-width: 760px) {
  .reference-country {
    padding: 18px;
    gap: 14px;
  }
  .reference-country > img {
    width: 80px;
    height: 55px;
  }
  .reference-country > div {
    min-width: 0;
  }
  .reference-country h3 {
    overflow-wrap: anywhere;
  }
  .choose-path {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
  }
  .hero-desc {
    font-size: 17px;
  }
  .controls-heading .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
  }
  .explorer-controls {
    padding: 18px;
  }
  .control-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .control-field select {
    font-size: 17px;
  }
  .axis-chip {
    padding: 8px 12px;
    font-size: 14px;
  }
  .journey-launch {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
  }
  .journey-launch h2 {
    font-size: 27px;
  }
  .journey-launch p {
    font-size: 16px;
  }
  .atlas-search {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .atlas-search input {
    width: 100%;
    max-width: none;
    font-size: 17px;
  }
  .atlas-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .atlas-grid .flag-name {
    font-size: 19px;
  }
  .atlas-grid .country-tile img {
    width: 80px;
    height: 54px;
  }
  .atlas-scope {
    font-size: 14px;
  }
  .game-settings {
    padding: 17px;
  }
  .games-grid {
    grid-template-columns: 1fr;
  }
  .game-card {
    display: flex;
    flex-direction: column;
    padding: 23px;
  }
  .game-illustration {
    position: absolute;
    top: 15px;
    right: 19px;
    height: 70px;
    font-size: 43px;
  }
  .game-card h3 {
    max-width: 75%;
    align-self: auto;
    font-size: 26px;
  }
  .game-card p {
    font-size: 17px;
  }
  .game-card .button {
    font-size: 17px;
  }
  .game-availability {
    font-size: 14px;
  }
  .region-banner {
    padding: 16px 19px;
  }
  .region-banner-title {
    font-size: 10px;
    letter-spacing: 0.7px;
  }
  .region-pill {
    font-size: 23px;
    padding: 5px 12px;
  }
  .region-banner p {
    font-size: 16px;
  }
  .lesson-tabs {
    padding: 9px 12px 0;
    gap: 2px;
  }
  .lesson-tabs button {
    flex: 1;
    font-size: 15px;
    padding: 12px 8px;
  }
  .lesson-grid {
    padding: 20px;
  }
  .memory,
  .location-fact p {
    font-size: 17px;
  }
  .memory-label {
    font-size: 10px;
    letter-spacing: 0.5px;
  }
  .color-tag {
    font-size: 13px;
    padding: 5px 8px;
  }
  .lesson-actions {
    gap: 8px;
  }
  .dialog-actions {
    padding: 14px 16px 19px;
  }
  .dialog-actions .button {
    font-size: 15px;
    padding: 11px 14px;
  }
  .listen-button {
    font-size: 13px;
    max-width: 38%;
    flex-shrink: 1;
  }
  .listen-button .icon {
    width: 19px;
  }
  .lesson-actions .secondary {
    box-shadow: none;
    padding: 6px 10px;
    min-height: 36px;
  }
  .story-panel {
    grid-template-columns: 1fr;
    gap: 21px;
    padding: 20px;
  }
  .story-flag {
    min-height: 140px;
  }
  .story-flag img {
    max-height: 115px;
  }
  .story-summary {
    font-size: 18px;
  }
  .story-panel h3 {
    font-size: 27px;
  }
  .people-panel {
    grid-template-columns: 1fr;
    padding: 19px;
    gap: 15px;
  }
  .fact-panel {
    padding: 19px;
  }
  .profile-sources {
    padding: 0 20px 20px;
  }
  .choices-3 {
    grid-template-columns: 1fr;
  }
  .choices-3 .answer {
    min-height: 135px;
  }
  .choices-3 .answer img {
    height: 95px;
  }
  .challenge .prompt-sub,
  .feedback {
    font-size: 17px;
  }
  .answer .answer-label {
    font-size: 21px;
  }
  .memory-board {
    gap: 9px;
  }
  .postcard {
    min-height: 112px;
    padding: 9px 6px;
    gap: 8px;
  }
  .postcard img {
    height: 46px;
    width: 95%;
  }
  .postcard b {
    font-size: 14px;
    line-height: 1.3;
  }
  .postcard small {
    font-size: 13px;
  }
  .discovered-flags > div {
    width: 85px;
    font-size: 13px;
  }
}

/* src/shared/ui/index.css */
