:root {
  --bg: #f4f0dc;
  --ink: #24413c;
  --muted: #66766f;
  --card: rgba(255, 255, 255, 0.86);
  --green: #39a96b;
  --green-dark: #1f7a4b;
  --blue: #4aa7d8;
  --yellow: #ffd66b;
  --orange: #f78c45;
  --pink: #fa7f9a;
  --shadow: 0 22px 70px rgba(37, 67, 59, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", system-ui, sans-serif;
  background:
    linear-gradient(160deg, rgba(207, 235, 231, 0.96) 0 34%, transparent 34%),
    linear-gradient(24deg, #fff4cf 0%, #e9f7df 46%, #d9ecff 100%);
}

button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

.game-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.hero-card,
.mission-card,
.complete-card {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 34px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.hero-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: calc(100vh - 64px);
}

.map-hero {
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(18px, 3vw, 36px);
  padding: clamp(20px, 4vw, 44px);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 72px);
}

.hero-card > img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.map-stage {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.map-stage h1 {
  max-width: 10ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
}

.brazil-map {
  position: relative;
  min-height: 560px;
  margin-top: 18px;
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 34px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.75), transparent 11rem),
    linear-gradient(160deg, #bfe9f1 0%, #e8f6dd 48%, #ffe4bc 100%);
  box-shadow: inset 0 -22px 60px rgba(36, 65, 60, 0.1);
}

.map-hint {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(36, 65, 60, 0.12);
}

.brazil-map svg {
  position: absolute;
  inset: 4% 5%;
  width: 90%;
  height: 92%;
  filter: drop-shadow(0 18px 28px rgba(36, 65, 60, 0.18));
}

.brazil-map-shape {
  fill: rgba(255, 255, 255, 0.72);
}

.brazil-map-outline {
  fill: none;
  pointer-events: none;
  stroke: rgba(36, 65, 60, 0.32);
  stroke-linejoin: round;
  stroke-width: 7;
}

.biome-region {
  cursor: pointer;
  fill: var(--region-color, var(--green));
  fill-rule: evenodd;
  opacity: 0.88;
  stroke: rgba(255, 255, 255, 0.82);
  stroke-linejoin: round;
  stroke-width: 4;
  transition:
    filter 160ms ease,
    opacity 160ms ease,
    stroke-width 160ms ease;
}

.biome-region:hover,
.biome-region:focus,
.biome-region.is-selected {
  filter: brightness(1.08) saturate(1.15);
  opacity: 1;
  outline: none;
  stroke: #fff7ca;
  stroke-width: 7;
}

.biome-region.is-selected {
  filter: drop-shadow(0 8px 12px rgba(36, 65, 60, 0.28)) brightness(1.1);
}

.biome-label {
  pointer-events: none;
  fill: #fff;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 15px;
  font-weight: 900;
  paint-order: stroke;
  stroke: rgba(36, 65, 60, 0.55);
  stroke-linejoin: round;
  stroke-width: 5px;
  text-anchor: middle;
}

.biome-info-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 36px);
  border: 5px solid var(--selected-biome-color, rgba(255, 255, 255, 0.8));
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 0 0 999px rgba(255, 255, 255, 0.22);
}

.biome-info-card h2 {
  margin-bottom: 16px;
}

.biome-info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  border: 5px solid #fff;
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 14px 0 rgba(36, 65, 60, 0.08);
}

.biome-info-card .primary-button {
  margin-top: 10px;
}

.biome-info-facts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.biome-story {
  color: var(--ink);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
  font-weight: 900;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  line-height: 0.98;
}

h1 {
  max-width: 9ch;
  margin-bottom: 22px;
  font-size: clamp(3.4rem, 8vw, 7rem);
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3vw, 2.3rem);
}

p {
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.35;
}

.primary-button,
.secondary-button,
.voice-button {
  width: fit-content;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 0 rgba(31, 122, 75, 0.22);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.primary-button {
  padding: 18px 28px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  font-size: 1.25rem;
}

.secondary-button,
.voice-button {
  padding: 14px 20px;
  background: #789084;
}

.primary-button:hover,
.secondary-button:hover,
.voice-button:hover,
.choice-card:hover,
.adaptation-option:hover,
.habitat-card:hover {
  transform: translateY(-3px);
}

.primary-button:active,
.secondary-button:active,
.voice-button:active,
.choice-card:active,
.adaptation-option:active,
.habitat-card:active {
  transform: translateY(2px);
  box-shadow: none;
}

.mission-card {
  padding: clamp(20px, 4vw, 44px);
}

.mission-header,
.mission-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.environment-panel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin: 28px 0;
}

.environment-art {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 28px;
  background: #d7eadf;
  box-shadow: inset 0 -18px 40px rgba(0, 0, 0, 0.08);
}

.environment-art img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.animal-card {
  overflow: hidden;
  border: 5px solid #fff;
  border-radius: 28px;
  background: #fffef8;
  box-shadow: 0 16px 0 rgba(36, 65, 60, 0.1);
}

.animal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.animal-card-copy {
  padding: 18px;
}

.environment-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.narration {
  color: var(--ink);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 900;
}

.clues,
.choice-grid,
.adaptation-options {
  display: grid;
  gap: 14px;
}

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

.clue {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
}

.guide-chip {
  padding: 13px 15px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 900;
}

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

.exploration-grid {
  align-items: stretch;
}

.habitat-card {
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 28px;
  background: #fffef8;
  box-shadow: 0 12px 0 rgba(36, 65, 60, 0.1);
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.habitat-card.is-explored {
  border-color: rgba(57, 169, 107, 0.45);
}

.habitat-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: #d7eadf;
  color: var(--ink);
}

.habitat-image-button[aria-pressed="true"] {
  outline: 6px solid var(--yellow);
  outline-offset: -6px;
}

.habitat-image-button img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.habitat-card:hover .habitat-image-button img {
  transform: scale(1.035);
}

.scan-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 18px rgba(36, 65, 60, 0.18);
  font-size: 0.95rem;
  font-weight: 900;
}

.habitat-copy {
  padding: 18px;
}

.habitat-copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
}

.habitat-clues {
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}

.clue-hidden {
  color: #8b938e;
  background: #eef0e6;
}

.choose-home-button {
  width: 100%;
  justify-content: center;
  padding: 13px 16px;
  font-size: 1rem;
}

.choice-card,
.adaptation-option {
  padding: 18px;
  border: 4px solid #fff;
  border-radius: 28px;
  background: #fffef8;
  box-shadow: 0 12px 0 rgba(36, 65, 60, 0.1);
  color: var(--ink);
  text-align: left;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease;
}

.choice-card[aria-pressed="true"],
.adaptation-option[aria-pressed="true"] {
  border-color: var(--yellow);
  background: #fff7d8;
}

.choice-image {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 12px;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: inset 0 -20px 40px rgba(0, 0, 0, 0.08);
}

.choice-name {
  display: block;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  font-weight: 900;
}

.choice-needs {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
}

.feedback,
.adaptation-card,
.complete-card {
  margin-top: 24px;
  padding: 24px;
  border-radius: 28px;
  background: #fff;
}

.feedback {
  display: flex;
  align-items: center;
  gap: 18px;
}

.feedback-badge {
  display: grid;
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow);
  font-size: 2.4rem;
}

.feedback.good {
  background: #eaf8ee;
}

.feedback.ok {
  background: #fff4ce;
}

.feedback.low {
  background: #ffe9e1;
}

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

.adaptation-option {
  min-height: 110px;
  font-size: 1.15rem;
  font-weight: 900;
}

.mission-actions {
  margin-top: 24px;
}

.mission-actions button {
  display: none;
}

.mission-actions button.is-visible {
  display: inline-flex;
}

.complete-card {
  max-width: 760px;
  margin: 10vh auto 0;
  padding: clamp(28px, 5vw, 56px);
}

.hub-screen,
.world-game {
  min-height: calc(100vh - 64px);
}

.hub-header,
.world-header {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: center;
  margin-bottom: 24px;
}

.hub-header {
  min-height: min(64vh, 680px);
  margin-bottom: clamp(20px, 4vw, 42px);
}

.world-header {
  position: absolute;
  z-index: 8;
  top: 18px;
  left: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 0;
  color: #fff;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.38);
  pointer-events: none;
}

.world-header > * {
  pointer-events: auto;
}

.hub-header h1,
.world-header h1 {
  max-width: 12ch;
}

.hub-header h1 {
  max-width: 9ch;
  color: #0f4c89;
  font-size: clamp(4rem, 9vw, 8.2rem);
  line-height: 0.86;
  text-shadow:
    0 5px 0 #ffffff,
    0 13px 24px rgba(15, 76, 137, 0.18);
}

.world-header h1 {
  max-width: 18ch;
  margin-bottom: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.2vw, 2.55rem);
}

.hub-header p,
.world-header p {
  max-width: 38rem;
  margin-bottom: 18px;
  font-weight: 900;
}

.hub-copy > p:not(.eyebrow) {
  color: #31554d;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.35;
}

.hub-brand-art {
  justify-self: center;
  width: min(100%, 510px);
  aspect-ratio: 1;
  border: 5px solid rgba(255, 255, 255, 0.92);
  border-radius: 36px;
  background: #fffaf0;
  object-fit: contain;
  box-shadow:
    0 24px 60px rgba(15, 76, 137, 0.14),
    0 10px 0 rgba(255, 255, 255, 0.55);
}

.world-header p {
  margin-bottom: 0;
  color: #75de91;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
}

.game-picker {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 18px;
}

.game-tile {
  display: grid;
  grid-template-columns: minmax(180px, 0.75fr) minmax(0, 1fr);
  min-height: 330px;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.game-tile h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.6vw, 3.8rem);
}

.world-tile {
  grid-column: 1 / -1;
  background:
    linear-gradient(110deg, rgba(13, 47, 75, 0.92), rgba(34, 93, 110, 0.86)),
    #17384f;
  color: #fff;
}

.world-tile p,
.world-tile .eyebrow {
  color: rgba(255, 255, 255, 0.86);
}

.tile-visual {
  position: relative;
  display: grid;
  min-height: 100%;
  place-items: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
    rgba(74, 167, 216, 0.22);
}

.tile-planet {
  font-size: clamp(6rem, 15vw, 12rem);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.22));
}

.tile-sun {
  position: absolute;
  top: 26px;
  right: 28px;
  color: #ffd66b;
  font-size: 3.4rem;
  text-shadow: 0 0 24px rgba(255, 214, 107, 0.72);
}

.tile-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(22px, 4vw, 42px);
}

.biome-preview {
  align-content: center;
  gap: 12px;
  padding: 24px;
  background:
    linear-gradient(150deg, #277f51, #d8a13c 48%, #65a7d8);
}

.biome-preview span {
  display: block;
  width: min(100%, 190px);
  padding: 12px 15px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 900;
  transform: rotate(-4deg);
}

.biome-preview span:nth-child(2) {
  justify-self: end;
  transform: rotate(5deg);
}

.coming-soon {
  color: rgba(36, 65, 60, 0.7);
}

.dotted-path {
  background:
    repeating-linear-gradient(135deg, #fff 0 16px, #dff0f2 16px 30px),
    #eaf5f3;
}

.back-button,
.icon-button {
  display: inline-grid;
  place-items: center;
  width: fit-content;
  min-height: 44px;
  padding: 10px 16px;
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-weight: 900;
  box-shadow: 0 8px 0 rgba(36, 65, 60, 0.1);
}

.icon-button.is-active {
  background: #fff5c5;
  border-color: var(--yellow);
}

.vr-button {
  min-width: 54px;
  background: #dff7ff;
}

.vr-button.is-active {
  background: #fff5c5;
  border-color: var(--yellow);
}

.vr-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.map-hero .back-button {
  position: absolute;
  z-index: 3;
  top: 18px;
  left: 18px;
}

.map-hero {
  position: relative;
}

.header-actions,
.music-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.world-game {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 64px);
  margin-left: calc(50% - 50vw);
}

.world-layout {
  position: relative;
  min-height: calc(100vh - 64px);
}

.globe-panel,
.country-panel {
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.84);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.globe-panel {
  position: relative;
  min-height: calc(100vh - 64px);
  background:
    linear-gradient(180deg, rgba(16, 39, 66, 0.96), rgba(41, 95, 112, 0.92)),
    #17384f;
}

.globe-toolbar {
  position: absolute;
  z-index: 7;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(9, 32, 56, 0.72);
  color: #fff;
  font-weight: 900;
}

.globe-toolbar-actions {
  display: flex;
  gap: 8px;
}

.globe-controls {
  position: absolute;
  z-index: 7;
  left: 22px;
  top: 50%;
  width: 220px;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(3, minmax(42px, 1fr));
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(9, 32, 56, 0.56);
}

.globe-control-button {
  min-height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.74);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.12);
}

.globe-control-button.reset {
  background: #fff5c5;
}

.globe-stage {
  position: relative;
  min-height: calc(100vh - 64px);
}

.globe-stage canvas {
  display: block;
  width: 100%;
  height: calc(100vh - 64px);
}

.country-browser {
  position: absolute;
  z-index: 9;
  left: 22px;
  bottom: 96px;
  width: min(520px, calc(100% - 44px));
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.84);
  border-radius: 28px;
  background: rgba(13, 48, 66, 0.94);
  box-shadow: var(--shadow);
}

.country-browser-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 0;
}

.country-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 270px;
  overflow: auto;
  padding: 16px;
}

.country-tools {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: center;
  padding: 14px 16px 0;
}

.country-search-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.country-search {
  width: 100%;
  min-height: 48px;
  border: 3px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-weight: 900;
}

.source-status {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.92rem;
  font-weight: 900;
}

.country-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 10px 12px;
  border: 3px solid rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  font-weight: 900;
  text-align: center;
}

.country-button[aria-pressed="true"] {
  border-color: var(--yellow);
  background: #fff5c5;
}

.country-panel {
  position: absolute;
  z-index: 9;
  top: 104px;
  right: 22px;
  width: min(470px, calc(100% - 44px));
  max-height: calc(100vh - 138px);
  overflow: auto;
  padding: clamp(18px, 3vw, 28px);
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.94);
}

.country-panel-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #eef6f5;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
}

.country-heading {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 3px dashed rgba(36, 65, 60, 0.18);
}

.country-flag {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border-radius: 24px;
  background: #fff;
  font-size: 3.4rem;
  box-shadow: 0 10px 0 rgba(36, 65, 60, 0.08);
}

.country-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.country-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.country-stats div,
.country-section {
  padding: 16px;
  border-radius: 22px;
  background: #fff;
}

.country-stats dt,
.country-section h3 {
  margin: 0 0 8px;
  color: var(--green-dark);
  font-weight: 900;
}

.country-stats dd {
  margin: 0;
  color: var(--ink);
  font-size: 1.3rem;
  font-weight: 900;
}

.country-section {
  margin-top: 12px;
}

.country-section h3 {
  font-size: 1.25rem;
  line-height: 1.1;
}

.country-section p {
  margin-bottom: 0;
  font-size: 1.06rem;
}

.export-list,
.landmark-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.export-chip,
.landmark-button {
  padding: 10px 12px;
  border-radius: 999px;
  background: #eef6f5;
  color: var(--ink);
  font-weight: 900;
}

.landmark-button {
  border: 3px solid transparent;
}

.landmark-button[aria-pressed="true"] {
  border-color: var(--yellow);
  background: #fff5c5;
}

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

.map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}

.map-link.street {
  background: #4976d1;
}

.map-link.is-disabled {
  background: #789084;
}

.music-row {
  justify-content: space-between;
}

.street-view-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top: 12px;
  border: 0;
  border-radius: 18px;
  background: #d9ecff;
}

.is-hidden {
  display: none;
}

@media (max-width: 860px) {
  .hero-card,
  .hub-header,
  .game-picker,
  .game-tile,
  .environment-panel,
  .choice-grid,
  .adaptation-options,
  .country-strip {
    grid-template-columns: 1fr;
  }

  .hero-card > img {
    min-height: 320px;
    order: -1;
  }

  .hub-header {
    min-height: auto;
    gap: 10px;
    margin-bottom: 20px;
    text-align: center;
  }

  .hub-copy {
    order: 2;
  }

  .hub-header h1 {
    max-width: none;
    font-size: clamp(3.4rem, 17vw, 5.2rem);
  }

  .hub-copy > p:not(.eyebrow) {
    margin: 0 auto 8px;
    font-size: 1.12rem;
  }

  .hub-brand-art {
    order: 1;
    width: min(100%, 360px);
  }

  .map-hero {
    min-height: auto;
  }

  .brazil-map {
    min-height: 470px;
  }

  .biome-info-facts {
    grid-template-columns: 1fr;
  }

  .mission-header,
  .mission-actions,
  .header-actions,
  .music-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hub-screen,
  .world-game,
  .globe-panel {
    min-height: auto;
  }

  .game-tile {
    min-height: 0;
  }

  .tile-visual {
    min-height: 220px;
  }

  .globe-stage,
  .globe-stage canvas {
    height: calc(100vh - 64px);
    min-height: calc(100vh - 64px);
  }

  .world-header {
    top: 12px;
    left: 12px;
    right: 12px;
    align-items: flex-start;
  }

  .world-header h1 {
    display: none;
  }

  .globe-controls {
    left: 12px;
    top: auto;
    bottom: 98px;
    width: min(240px, calc(100% - 24px));
    transform: none;
    grid-template-columns: repeat(7, minmax(34px, 1fr));
  }

  .globe-control-button {
    min-height: 38px;
    font-size: 1.05rem;
  }

  .globe-toolbar {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .country-browser {
    left: 12px;
    right: 12px;
    bottom: 156px;
    width: auto;
  }

  .country-panel {
    top: 92px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 112px);
  }

  .country-stats {
    grid-template-columns: 1fr;
  }
}
