﻿:root {
  --ink: #183657;
  --ink-soft: #58708a;
  --line: #d7e7f2;
  --paper: #ffffff;
  --page: #f5fbff;
  --blue: #2f6fb3;
  --blue-soft: #dff2ff;
  --pink: #df5d91;
  --green: #78ad37;
  --yellow: #f4a300;
  --ok: #24a367;
  --bad: #e05252;
  --shadow: 0 14px 36px rgba(31, 58, 95, 0.14);
  --shadow-soft: 0 6px 18px rgba(31, 58, 95, 0.1);
  --font-base: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-main-title: "학교안심 둥근미소", "학교안심 둥근미소 TTF B", "학교안심 둥근미소 OTF B", "학교안심 둥근미소 Bold", "Hakgyoansim Dunggeunmiso TTF B", "Hakgyoansim Dunggeunmiso", "Pretendard", "Malgun Gothic", system-ui, sans-serif;
  --font-question-title: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-body: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
  --font-button: "Pretendard", "Malgun Gothic", "Apple SD Gothic Neo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font-base);
  font-weight: 500;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

img {
  max-width: 100%;
  display: block;
}

.app-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 24% 28%, rgba(255, 245, 180, 0.85), transparent 34%),
    radial-gradient(circle at 78% 24%, rgba(255, 212, 228, 0.9), transparent 38%),
    radial-gradient(circle at 52% 92%, rgba(202, 238, 204, 0.82), transparent 42%),
    linear-gradient(180deg, #f9fcff 0%, #eaf6ff 100%);
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.app-header-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 7px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  color: var(--blue);
  background: transparent;
  font-weight: 900;
  font-size: 0.98rem;
  word-break: keep-all;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffe179;
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08);
}

.progress-mini {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  white-space: nowrap;
}

.progress-mini-bar {
  width: 150px;
  height: 9px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6eef5;
}

.progress-mini-bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #56aee6, var(--blue));
  transition: width 0.25s ease;
}

.home-main {
  padding-bottom: 64px;
}

.home-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 20px 22px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero-copy {
  min-width: 0;
  display: grid;
  justify-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border: 2px solid #8dc8ed;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  font-size: 0.82rem;
}

.hero-title {
  margin: 12px 0 8px;
  font-size: clamp(2.55rem, 3.6vw, 3.65rem);
  line-height: 1.02;
  letter-spacing: 0;
  color: var(--blue);
  font-weight: 900;
  word-break: keep-all;
}

.hero-title strong {
  color: var(--yellow);
}

.hero-lead {
  margin: 0;
  color: var(--ink-soft);
  max-width: 620px;
  font-size: 0.95rem;
  line-height: 1.65;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.primary-button,
.ghost-button,
.check-button,
.nav-button {
  border-radius: 999px;
  font-weight: 900;
  word-break: keep-all;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.primary-button {
  padding: 13px 24px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 5px 0 #1f548c;
}

.primary-button.compact {
  padding: 12px 22px;
}

.primary-button:hover,
.check-button:hover,
.nav-button:not(:disabled):hover {
  transform: translateY(2px);
}

.ghost-button {
  padding: 13px 22px;
  color: var(--blue);
  background: #fff;
  border: 2px solid #8dc8ed;
}

.reset-home-button {
  color: #d56a00;
  border-color: #ffc56f;
  background: #fff8e8;
}

.reset-home-button:hover {
  transform: translateY(2px);
}

.home-section-title {
  max-width: 900px;
  margin: 14px auto 0;
  padding: 0 20px;
  text-align: center;
}

.home-section-title h2 {
  margin: 0 0 6px;
  font-size: 1.45rem;
}

.home-section-title p {
  margin: 0;
  color: var(--ink-soft);
}

.exhibition-grid {
  max-width: 900px;
  margin: 16px auto 42px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.ex-card {
  position: relative;
  overflow: hidden;
  display: block;
  min-height: 0;
  padding: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  text-align: left;
  color: inherit;
  border: 3px solid transparent;
}

.ex-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.ex-card.is-done {
  border-color: var(--ok);
}

.ex-card-image {
  position: static;
  width: 100%;
  height: 125%;
  object-fit: cover;
  object-position: center center;
}

.ex-cover {
  position: relative;
  display: block;
  aspect-ratio: 1042 / 683;
  overflow: hidden;
  background: #eaf6ff;
}

.ex-foot {
  display: grid;
  grid-template-columns: 1fr 44px;
  gap: 12px;
  align-items: center;
  padding: 17px 18px 18px;
}

.ex-progress {
  display: grid;
  gap: 7px;
  margin: 0;
}

.ex-progress-label {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
}

.ex-progress-title {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ex-complete-star {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff4bd;
  color: #f4a300;
  font-size: 0.92rem;
  line-height: 1;
  text-align: center;
  box-shadow: 0 2px 0 rgba(197, 126, 0, 0.24);
}

.ex-arrow {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f8fc;
  color: var(--blue);
  font-size: 0;
  font-weight: 900;
}

.ex-arrow::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 11px;
  height: 11px;
  margin: 0;
  border-top: 4px solid currentColor;
  border-right: 4px solid currentColor;
  border-radius: 2px;
  transform: translate(-50%, -50%) rotate(45deg);
}

.ex-arrow.complete {
  background: #fff4bd;
  color: #f4a300;
  box-shadow:
    inset 0 0 0 3px #fff,
    0 5px 12px rgba(244, 163, 0, 0.22);
}

.ex-arrow.complete::before {
  content: "★";
  inset: 0;
  display: grid;
  place-items: center;
  width: 103%;
  height: 105%;
  margin: 0;
  border: 0;
  font-size: 1.45rem;
  line-height: 1;
  text-align: center;
  transform: none;
}

.ex-card-shade {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.48));
}

.ex-card-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  width: 100%;
  padding: 20px;
  color: #fff;
}

.ex-chip {
  position: absolute;
  left: 12px;
  top: 10px;
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--blue);
  font-weight: 900;
  font-size: 1rem;
}

.ex-card.ex2 .ex-chip {
  color: var(--pink);
}

.ex-card.ex3 .ex-chip {
  color: var(--green);
}

.ex-progress-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf3f7;
}

.ex-progress-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--blue);
}

.ex-card.ex2 .ex-progress-track i {
  background: var(--pink);
}

.ex-card.ex3 .ex-progress-track i {
  background: var(--green);
}

.hint-strip {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 26px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: center;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hint-strip-icon {
  font-size: 2rem;
}

.hint-strip strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.hint-strip p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.mobile-line-break {
  display: none;
}

.activity-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 22px 20px 44px;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.crumbs button {
  padding: 0;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 700;
}

.activity-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.activity-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  color: var(--ink-soft);
}

.activity-label .chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-soft);
}

.activity-label .chip.ex2 {
  color: var(--pink);
}

.question-nav {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.q-dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--ink-soft);
  background: transparent;
  font-weight: 900;
}

.q-dot.active {
  color: #fff;
  background: var(--blue);
}

.q-dot.ex2.active {
  background: var(--pink);
}

.q-dot.ex3.active {
  background: var(--green);
}

.q-dot.done {
  color: #fff;
  background: var(--ok);
}

.q-card {
  position: relative;
  padding: 28px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.q-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding-right: 100px;
  margin-bottom: 20px;
}

.q-head > div:last-child,
.q-body > *,
.media-panel,
.answer-panel {
  min-width: 0;
}

.q-badge {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.q-badge.ex2 {
  background: var(--pink);
}

.q-badge.ex3 {
  background: var(--green);
}

.q-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.3;
  font-weight: 900;
  word-break: keep-all;
}

.q-intro {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.7;
  word-break: keep-all;
}

.hint-button {
  position: absolute;
  right: 24px;
  top: 24px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd75f, #f4a300);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 0 #c98300;
}

.rule-button {
  position: absolute;
  right: 33px;
  top: 24px;
  padding: 11px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #6fd4ee, #2f8fcb);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 0 #1f6b9b;
}

.q-body {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.media-panel {
  overflow: hidden;
  border-radius: 22px;
  background: #eef8ff;
  border: 2px solid #e1eef7;
}

.media-panel.dark {
  background: #2f2c2c;
}

.media-panel img {
  width: 100%;
  height: auto;
}

.layer-media {
  display: grid;
  place-items: start center;
  padding: 14px;
  background: #eef8ff;
}

.layer-media img {
  width: 74%;
  height: auto;
}

.layer-match-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  align-items: stretch;
}

.layer-answer-panel {
  height: 100%;
}

.layer-answer-panel .match-board {
  flex: 1;
  min-height: 0;
}

.layer-answer-panel .match-side,
.layer-answer-panel .match-middle {
  grid-template-rows: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.layer-answer-panel .match-item {
  min-height: 0;
  padding: 14px 16px;
  align-items: center;
}

.layer-answer-panel .check-row {
  justify-content: center;
  margin-top: 6px;
}

.layer-choice-card {
  width: min(1180px, calc(100vw - 40px));
  margin-left: 50%;
  transform: translateX(-50%);
}

.layer-zone-hero {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  min-height: 178px;
  margin: 6px 0 20px;
  border: 2px solid #dceaff;
  border-radius: 22px;
  background: #eaf6ff;
  box-shadow: 0 16px 32px rgba(27, 86, 159, 0.12);
}

.layer-zone {
  position: relative;
  min-width: 0;
  min-height: 178px;
  padding: 28px 18px 22px;
  border: 0;
  border-right: 2px dashed rgba(255, 255, 255, 0.8);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  isolation: isolate;
}

.layer-zone:last-child {
  border-right: 0;
}

.layer-zone::before,
.layer-zone::after {
  position: absolute;
  content: "";
  pointer-events: none;
  z-index: -1;
}

.layer-zone.sky {
  background:
    linear-gradient(180deg, rgba(44, 121, 212, 0.04), rgba(25, 110, 52, 0.16)),
    url("assets/layer-bg-tropo.svg") center / cover no-repeat;
}

.layer-zone.blue {
  background:
    linear-gradient(180deg, rgba(44, 121, 212, 0.03), rgba(23, 76, 128, 0.12)),
    url("assets/layer-bg-strato.svg") 32% center / cover no-repeat;
}

.layer-zone.night {
  background:
    linear-gradient(180deg, rgba(6, 20, 70, 0.06), rgba(4, 25, 76, 0.18)),
    url("assets/layer-bg-meso.svg") 20% center / cover no-repeat;
}

.layer-zone.aurora {
  background:
    linear-gradient(180deg, rgba(3, 12, 52, 0.04), rgba(4, 16, 58, 0.18)),
    url("assets/layer-bg-thermo.svg") center / cover no-repeat;
}

.layer-zone-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 42px;
  padding: 6px 18px 5px;
  border: 3px solid rgba(82, 126, 210, 0.36);
  border-radius: 999px;
  color: #2058ce;
  background: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.15rem, 2vw, 1.62rem);
  font-weight: 900;
  line-height: 1;
  box-shadow: 0 6px 14px rgba(13, 56, 118, 0.12);
}

.layer-zone-summary {
  display: block;
  max-width: 170px;
  margin: 15px auto 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.9rem, 1.12vw, 1.08rem);
  font-weight: 900;
  line-height: 1.34;
  text-shadow: 0 2px 6px rgba(6, 26, 75, 0.32);
  word-break: keep-all;
}

.layer-zone.active {
  outline: 5px solid #ff9f0a;
  outline-offset: -3px;
  box-shadow: none;
}

.layer-zone.active .layer-zone-name {
  border-color: #ff7a00;
  background: #fff4a8;
  color: #12427f;
  box-shadow: none;
}

.layer-zone.answered {
  outline: 0;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.34), inset 0 -46px 62px rgba(10, 56, 126, 0.22);
}

.layer-zone.active.answered {
  outline: 5px solid #ff9f0a;
  outline-offset: -3px;
  box-shadow: inset 0 -46px 62px rgba(10, 56, 126, 0.22);
}

.layer-zone.answered .layer-zone-name {
  border-color: rgba(82, 126, 210, 0.36);
  background: rgba(255, 255, 255, 0.95);
  color: #2058ce;
  box-shadow: 0 6px 14px rgba(13, 56, 118, 0.12);
}

.layer-zone.active.answered .layer-zone-name {
  border-color: #ff7a00;
  background: #fff4a8;
  color: #12427f;
  box-shadow: none;
}

.layer-zone-picked {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #1477e8, #0a54bf);
  font-size: 1.18rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(5, 48, 110, 0.28);
}

.layer-zone.correct .layer-zone-name {
  border-color: rgba(36, 163, 103, 0.65);
}

.layer-zone.correct .layer-zone-picked {
  background: linear-gradient(135deg, #35ad78, #188653);
  color: #fff;
  box-shadow: 0 9px 20px rgba(9, 96, 54, 0.38), 0 0 0 6px rgba(69, 219, 141, 0.4);
}

.layer-zone.wrong .layer-zone-name {
  border-color: rgba(223, 93, 145, 0.8);
}

.layer-zone.wrong .layer-zone-picked {
  background: linear-gradient(135deg, #df5d91, #c23c76);
  color: #fff;
  box-shadow: 0 9px 20px rgba(147, 24, 82, 0.38), 0 0 0 6px rgba(255, 132, 181, 0.42);
}

.layer-choice-board {
  display: grid;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
  gap: 24px;
  align-items: stretch;
}

.layer-column {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
  padding: 20px;
  border: 2px solid #dbeaff;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.layer-column h2 {
  margin: 0 0 4px;
  color: #266ad7;
  font-size: 1.12rem;
  font-weight: 900;
  text-align: center;
}

.layer-layer-button,
.layer-description-button {
  min-width: 0;
  border: 2px solid #d8e8fb;
  border-radius: 16px;
  background: #f8fbff;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 11px rgba(36, 112, 188, 0.08);
  transition: transform 0.14s ease, border-color 0.14s ease, background 0.14s ease, box-shadow 0.14s ease;
}

.layer-layer-button:hover,
.layer-description-button:hover {
  transform: translateY(-2px);
  border-color: #3b8cf0;
}

.layer-layer-button {
  display: grid;
  grid-template-columns: 34px 58px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  padding: 11px 14px;
  text-align: left;
}

.layer-number {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: #3076dd;
  font-size: 0.98rem;
  font-weight: 900;
}

.layer-thumb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  background: transparent;
  clip-path: circle(50% at 50% 50%);
  box-shadow: 0 6px 12px rgba(32, 101, 177, 0.14);
}

.layer-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: none;
}

.layer-layer-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.layer-layer-text strong {
  color: #145fc9;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1;
}

.layer-layer-text small {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.28;
  word-break: keep-all;
}

.layer-layer-button em {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  color: #fff;
  background: #35ad78;
  font-style: normal;
  font-weight: 900;
}

.layer-layer-button.active {
  border-color: #2f83ed;
  background: #eef7ff;
  box-shadow: 0 0 0 4px rgba(47, 131, 237, 0.12), var(--shadow-soft);
}

.layer-layer-button.answered:not(.active) {
  border-color: #35ad78;
  background: #f0fff6;
  box-shadow: inset 0 0 0 2px rgba(53, 173, 120, 0.14), 0 8px 18px rgba(53, 173, 120, 0.12);
}

.layer-layer-button.active.answered {
  border-color: #1e7be6;
  background: #e7f3ff;
  box-shadow: 0 0 0 5px rgba(47, 131, 237, 0.18), 0 12px 24px rgba(47, 131, 237, 0.16);
}

.layer-layer-button.correct {
  border-color: var(--ok);
  background: #edf9f2;
}

.layer-layer-button.wrong {
  border-color: #df5d91;
  background: #fff0f6;
}

.layer-active-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 3px;
}

.layer-active-title > span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: #fff;
  background: #2f76df;
  font-size: 1.1rem;
  font-weight: 900;
}

.layer-active-title strong {
  display: block;
  color: #155ec7;
  font-size: 1.42rem;
  font-weight: 900;
}

.layer-active-title small {
  display: block;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 800;
}

.layer-description-list {
  display: grid;
  gap: 12px;
}

.layer-description-button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 34px;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 12px 14px;
  text-align: left;
}

.layer-description-button > span:nth-child(2) {
  font-size: 1.04rem;
  font-weight: 900;
  line-height: 1.32;
  word-break: keep-all;
}

.layer-choice-letter {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #7da9f6, #9d6ee3);
  font-size: 1rem;
  font-weight: 900;
}

.layer-description-button b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  background: #2f76df;
  font-size: 1.05rem;
}

.layer-description-button.selected {
  position: relative;
  z-index: 1;
  border-color: #1677e8;
  outline: 4px solid rgba(47, 131, 237, 0.22);
  background: linear-gradient(180deg, #eaf5ff 0%, #dff0ff 100%);
  box-shadow: 0 12px 26px rgba(47, 131, 237, 0.22), inset 0 0 0 2px rgba(47, 131, 237, 0.16);
  transform: translateY(-2px);
}

.layer-description-button.selected .layer-choice-letter {
  background: linear-gradient(135deg, #1477e8, #0a54bf);
  box-shadow: 0 5px 12px rgba(20, 119, 232, 0.28);
}

.layer-description-button.selected b {
  background: #0a54bf;
  box-shadow: 0 5px 12px rgba(10, 84, 191, 0.24);
}

.layer-description-button.correct {
  border-color: var(--ok);
  background: #edf9f2;
}

.layer-description-button.wrong {
  border-color: #df5d91;
  background: #fff0f6;
}

.layer-description-button.selected.correct {
  outline-color: rgba(53, 173, 120, 0.32);
  box-shadow: 0 12px 26px rgba(53, 173, 120, 0.2), inset 0 0 0 2px rgba(53, 173, 120, 0.16);
}

.layer-description-button.selected.wrong {
  outline-color: rgba(223, 93, 145, 0.32);
  box-shadow: 0 12px 26px rgba(223, 93, 145, 0.2), inset 0 0 0 2px rgba(223, 93, 145, 0.14);
}

.layer-description-button.used:not(.selected) {
  opacity: 0.78;
}

.layer-mobile-tabs {
  display: none;
}

.layer-choice-card > .check-row {
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 820px) {
  .layer-choice-card {
    width: 100%;
    margin-left: 0;
    transform: none;
  }

  .layer-zone-hero {
    min-height: 132px;
    border-radius: 18px;
  }

  .layer-zone {
    min-height: 132px;
    padding: 18px 8px 14px;
  }

  .layer-zone-name {
    min-width: 76px;
    min-height: 34px;
    padding: 5px 10px 4px;
    border-width: 2px;
    font-size: 1rem;
  }

  .layer-zone-summary {
    max-width: 120px;
    margin-top: 10px;
    font-size: 0.74rem;
    line-height: 1.28;
  }

  .layer-zone-picked {
    right: 25px;
    bottom: -3px;
    width: 34px;
    height: 23px;
    border-width: 2px;
    font-size: 0.98rem;
  }

  .layer-zone.answered {
    outline: 0;
    box-shadow:
      inset 0 0 0 4px rgba(255, 255, 255, 0.36),
      inset 0 -38px 48px rgba(10, 56, 126, 0.22);
  }

  .layer-choice-board {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .layer-layer-column {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .layer-layer-column h2 {
    display: none;
  }

  .layer-layer-button {
    display: none;
  }

  .layer-layer-button.active {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 56px;
    min-height: 124px;
    padding: 18px;
    border-radius: 18px;
  }

  .layer-layer-button.active .layer-number {
    width: 38px;
    height: 38px;
    font-size: 1.06rem;
  }

  .layer-layer-button.active .layer-thumb {
    grid-column: 3;
    grid-row: 1 / span 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
  }

  .layer-layer-button.active .layer-layer-text {
    grid-column: 2;
  }

  .layer-layer-button.active .layer-layer-text strong {
    font-size: 1.58rem;
  }

  .layer-layer-button.active .layer-layer-text small {
    margin-top: 6px;
    font-size: 0.94rem;
  }

  .layer-layer-button.active em {
    grid-column: 1;
    justify-self: center;
  }

  .layer-description-column {
    padding: 16px;
    border-radius: 18px;
  }

  .layer-active-title {
    display: none;
  }

  .layer-description-list {
    gap: 10px;
  }

  .layer-description-button {
    min-height: 64px;
    grid-template-columns: 38px minmax(0, 1fr) 30px;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
  }

  .layer-description-button.selected {
    outline-width: 4px;
    box-shadow: 0 10px 22px rgba(47, 131, 237, 0.2), inset 0 0 0 2px rgba(47, 131, 237, 0.16);
  }

  .layer-description-button > span:nth-child(2) {
    font-size: 0.96rem;
  }

  .layer-choice-letter {
    width: 32px;
    height: 32px;
  }

  .layer-mobile-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .layer-mobile-tabs button {
    display: grid;
    gap: 4px;
    justify-items: center;
    min-width: 0;
    min-height: 58px;
    padding: 6px;
    border: 2px solid #dbeaff;
    border-radius: 12px;
    background: #f8fbff;
    color: #2058ce;
    font-family: inherit;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
  }

  .layer-mobile-tabs button.active {
    border-color: #2f83ed;
    background: #eef7ff;
  }

  .layer-mobile-tabs button.answered {
    border-color: #35ad78;
    background: #f0fff6;
    box-shadow: inset 0 0 0 2px rgba(53, 173, 120, 0.12);
  }

  .layer-mobile-tabs button.active.answered {
    border-color: #1e7be6;
    background: #e7f3ff;
    box-shadow: 0 0 0 3px rgba(47, 131, 237, 0.16), inset 0 0 0 2px rgba(47, 131, 237, 0.12);
  }

  .layer-mobile-tabs button.correct {
    border-color: var(--ok);
    background: #edf9f2;
  }

  .layer-mobile-tabs button.wrong {
    border-color: #df5d91;
    background: #fff0f6;
  }

  .layer-mobile-tabs .layer-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
  }
}

@media (max-width: 520px) {
  .layer-zone-hero {
    min-height: 116px;
    margin-bottom: 14px;
  }

  .layer-zone {
    min-height: 116px;
    padding: 14px 5px 10px;
  }

  .layer-zone-name {
    min-width: 62px;
    min-height: 30px;
    padding: 4px 7px 3px;
    font-size: 0.84rem;
  }

  .layer-zone-summary {
    max-width: 86px;
    font-size: 0.62rem;
    line-height: 1.22;
  }

  .layer-layer-button.active {
    grid-template-columns: 38px minmax(0, 1fr) 50px;
    min-height: 116px;
    padding: 16px 14px;
  }

  .layer-layer-button.active .layer-layer-text strong {
    font-size: 1.42rem;
  }

  .layer-layer-button.active .layer-layer-text small {
    font-size: 0.86rem;
  }

  .layer-description-column {
    padding: 14px;
  }

  .layer-description-button {
    min-height: 58px;
  }

  .layer-description-button > span:nth-child(2) {
    font-size: 0.88rem;
    line-height: 1.3;
  }

  .layer-mobile-tabs {
    gap: 6px;
  }

  .layer-mobile-tabs button {
    min-height: 54px;
    padding: 5px 4px;
    font-size: 0.66rem;
  }
}

.answer-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.answer-title {
  margin: 0;
  font-weight: 900;
  color: var(--ink);
  line-height: 1.5;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.option-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 62px;
  padding: 14px 16px;
  border: 2px solid var(--line);
  border-radius: 16px;
  background: #f8fcff;
  color: var(--ink);
  font-weight: 900;
  text-align: left;
}

.option-button:hover,
.option-button.selected {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 111, 179, 0.12);
}

.option-button.correct {
  border-color: var(--ok);
  background: #eaf8f1;
}

.option-button.wrong {
  border-color: var(--bad);
  background: #fff0f0;
}

.option-marker {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--blue);
  flex: 0 0 auto;
}

.check-row {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.check-button {
  min-width: 132px;
  padding: 13px 24px;
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 0 #1f548c;
}

.check-button.ex2 {
  background: var(--pink);
  box-shadow: 0 4px 0 #a93465;
}

.check-button.ex3 {
  background: var(--green);
  box-shadow: 0 4px 0 #4b7c20;
}

.check-button:disabled,
.nav-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.feedback {
  display: none;
  padding: 15px 18px;
  border-radius: 16px;
  line-height: 1.6;
  font-weight: 700;
}

.feedback.show {
  display: block;
}

.feedback.ok {
  color: #12623b;
  background: #e8f7ef;
  border: 2px solid #bde7cf;
}

.feedback.bad {
  color: #8f2525;
  background: #fff0f0;
  border: 2px solid #f0b7b7;
}

.match-board {
  position: relative;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 70px minmax(180px, 1.25fr);
  gap: 10px;
  align-items: stretch;
}

.match-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.match-side,
.match-middle {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: repeat(4, minmax(64px, 1fr));
  gap: 10px;
}

.match-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 15px;
  border: 2px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-align: left;
  font-weight: 900;
  line-height: 1.4;
  word-break: keep-all;
}

.match-item:hover,
.match-item.selected {
  border-color: var(--blue);
  background: #eaf6ff;
}

.match-item.correct {
  border-color: var(--ok);
  background: #eaf8f1;
}

.match-item.wrong {
  border-color: var(--bad);
  background: #fff0f0;
}

.match-dot {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--line);
}

.match-item.selected .match-dot {
  background: var(--blue);
}

.match-middle {
  place-items: center;
}

.match-count {
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.92rem;
}

.water-layout {
  --water-drop-x: 13px;
  --water-drop-y: 14px;
  --water-drop-width: 142px;
  --water-drop-space: 96px;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
}

.water-media {
  position: relative;
  background: #aee0f2;
}

.water-media img {
  padding: 18px;
}

.water-helper-strip {
  position: relative;
  display: grid;
  grid-template-columns: var(--water-drop-space) 1fr;
  gap: 12px;
  align-items: center;
  margin-top: 2px;
  padding: 14px;
  border-radius: 18px;
  background: #f2fbff;
  border: 2px solid var(--line);
}

.water-drop {
  position: absolute;
  left: calc(var(--water-drop-space) / 2);
  top: 50%;
  z-index: 2;
  width: var(--water-drop-width);
  flex: 0 0 auto;
  transform: translate(calc(-50% + var(--water-drop-x)), calc(-50% + var(--water-drop-y)));
  pointer-events: none;
}

.speech-card {
  position: relative;
  z-index: 1;
  grid-column: 2;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  border: 2px solid #bae0f5;
  font-weight: 900;
  line-height: 1.5;
}

.speech-card::before {
  content: "";
  position: absolute;
  left: -10px;
  bottom: 18px;
  width: 18px;
  height: 18px;
  border-left: 2px solid #bae0f5;
  border-bottom: 2px solid #bae0f5;
  background: #fff;
  transform: rotate(45deg);
}

.word-tray {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  padding: 14px;
  border-radius: 18px;
  background: #f3f9ff;
  border: 2px solid var(--line);
}

.word-label {
  display: inline-flex;
  align-items: center;
  padding: 0 8px;
  color: var(--blue);
  font-weight: 900;
}

.word-chip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid #7fbce5;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  user-select: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.word-chip:not(.used):hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 4px rgba(47, 111, 179, 0.12);
}

.word-chip.selected {
  border-color: #f4a300;
  background: linear-gradient(180deg, #2f8fe8 0%, #196fca 100%);
  color: #fff;
  transform: translateY(-3px) scale(1.04);
  box-shadow:
    0 0 0 4px rgba(244, 163, 0, 0.3),
    0 8px 18px rgba(25, 111, 202, 0.28);
}

.word-chip.selected::after {
  width: 8px;
  height: 14px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  content: "";
  transform: translateY(-1px) rotate(45deg);
}

.word-chip.used {
  opacity: 0.32;
  cursor: default;
}

.water-slots {
  display: grid;
  gap: 10px;
}

.water-slot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(116px, auto);
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  border: 2px solid var(--line);
  background: #fff;
}

.water-slot.correct {
  border-color: var(--ok);
  background: #edf9f2;
}

.water-slot.wrong {
  border-color: var(--bad);
  background: #fff1f1;
}

.slot-question {
  color: var(--ink-soft);
  font-weight: 800;
  line-height: 1.45;
  word-break: keep-all;
}

.drop-zone {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 2px dashed #9bcfec;
  background: #fbfdff;
  color: var(--ink-soft);
  font-weight: 900;
  text-align: center;
}

.drop-zone.filled {
  border-style: solid;
  border-color: var(--yellow);
  color: var(--ink);
  background: #fff8dc;
}

.drop-zone.over {
  border-color: var(--blue);
  background: #eaf6ff;
}

.ox-quiz-card {
  background: #f3fbff;
}

.ox-board-wrap {
  --ox-card-x: -0.3%;
  --ox-card-y-offset: 24.5%;
  --ox-card-width: 31.2%;
  --ox-card-height: 30.7%;
  --ox-card-border-width: 10px;
  --ox-slot-x: 0px;
  --ox-slot-y: 0px;
  --ox-slot-width: 30.4%;
  --ox-slot-height: 5.7%;
  --ox-slot-padding-x: 5%;
  --ox-slot-padding-y: 0.45%;
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

.ox-board-image {
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.ox-board-slot {
  position: absolute;
  z-index: 2;
  width: var(--ox-slot-width);
  height: var(--ox-slot-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
  padding: var(--ox-slot-padding-y) var(--ox-slot-padding-x);
  border-radius: 14px;
  transform: translate(var(--ox-slot-x), var(--ox-slot-y));
  pointer-events: none;
}

.ox-board-slot.correct {
  box-shadow: none;
}

.ox-board-slot.wrong {
  box-shadow: none;
}

.ox-problem-mark {
  position: absolute;
  z-index: 1;
  left: calc(var(--ox-card-left) + var(--ox-card-x));
  top: calc(var(--ox-card-slot-top) - var(--ox-card-y-offset));
  width: var(--ox-card-width);
  height: var(--ox-card-height);
  border: 0;
  border-radius: 18px;
  pointer-events: none;
}

.ox-problem-mark.correct {
  background: rgba(36, 163, 103, 0.06);
  box-shadow: 0 0 0 var(--ox-card-border-width) #16a85f;
}

.ox-problem-mark.wrong {
  background: rgba(224, 82, 82, 0.08);
  box-shadow: 0 0 0 var(--ox-card-border-width) #e43d3d;
}

.weather-ox-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  border: 3px solid transparent;
}

.weather-ox-card.correct {
  border-color: var(--ok);
}

.weather-ox-card.wrong {
  border-color: var(--bad);
}

.weather-ox-card > img {
  width: 100%;
  height: auto;
}

.weather-ox-actions {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.weather-ox-pick {
  min-height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: transparent;
  border: 2px solid transparent;
  pointer-events: auto;
}

.weather-ox-pick img {
  width: min(34px, 52%);
  height: auto;
  object-fit: contain;
}

.weather-ox-pick.selected {
  background: #ffffff;
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(244, 163, 0, 0.18);
}

.ox-note {
  margin: 22px auto 0;
  text-align: center;
  color: var(--ink);
  line-height: 1.55;
}

.ox-check-row {
  justify-content: center;
  margin-top: 18px;
}

.earthquake-quiz-card {
  background: #fff6fa;
}

.earthquake-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.earthquake-situation {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
  min-height: 460px;
  border: 4px dashed #ee86aa;
  border-radius: 24px;
  background: #fff;
}

.earthquake-situation.correct {
  border-color: var(--ok);
  background: #f0fbf5;
}

.earthquake-situation.wrong {
  border-color: var(--bad);
  background: #fff0f0;
}

.earthquake-image {
  aspect-ratio: 1.32 / 1;
  overflow: hidden;
  background: #f8eef4;
}

.earthquake-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.earthquake-situation p {
  margin: 0;
  align-self: center;
  padding: 28px 18px 18px;
  color: #000;
  font-size: clamp(1.35rem, 2.4vw, 2.15rem);
  font-weight: 900;
  line-height: 1.28;
  text-align: center;
  word-break: keep-all;
}

.earthquake-actions {
  position: absolute;
  right: 1px;
  top: calc(50% - -25px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 154px;
  padding: 10px;
  border: 4px solid #ee86aa;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.earthquake-pick {
  min-height: 56px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8fbfd;
  color: var(--ink-soft);
  font-size: 2rem;
  font-weight: 900;
}

.earthquake-pick[data-ex2q1-value="O"] {
  color: #4bb8df;
}

.earthquake-pick[data-ex2q1-value="X"] {
  color: #e05252;
}

.earthquake-pick.selected {
  background: #fff5cf;
  box-shadow: 0 0 0 3px rgba(244, 163, 0, 0.24);
}

.earthquake-check-row {
  justify-content: center;
  margin-top: 24px;
}

.heat-island-card {
  overflow: hidden;
  background: #d9f3ff;
}

.heat-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
  padding: 12px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 2px solid rgba(77, 184, 198, 0.3);
}

.heat-toolbar-title,
.heat-color-count {
  color: var(--ink);
  font-weight: 900;
  white-space: nowrap;
}

.heat-reset-button {
  min-height: 38px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  border: 2px solid rgba(44, 95, 166, 0.2);
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.heat-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.color-swatch {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 3px solid #fff;
  background: var(--swatch);
  box-shadow: 0 0 0 2px rgba(44, 95, 166, 0.18), var(--shadow-soft);
}

.color-swatch.selected {
  box-shadow: 0 0 0 4px var(--yellow), var(--shadow-soft);
  transform: translateY(-2px);
}

.heat-scene {
  position: relative;
  min-height: 850px;
  overflow: hidden;
  border-radius: 26px;
  background: #cdeeff;
  border: 2px solid rgba(90, 190, 204, 0.24);
  isolation: isolate;
}

.heat-ground {
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  bottom: -100px;
  width: 100%;
  height: 60%;
  object-fit: cover;
  object-position: center bottom;
  pointer-events: none;
}

.heat-deco {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  user-select: none;
}

.heat-deco-red {
  left: 3%;
  top: 20%;
  width: 118px;
}

.heat-deco-blue {
  right: 14%;
  bottom: 34%;
  width: 120px;
  height: 158px;
  object-fit: contain;
  object-position: bottom;
}

.heat-tower {
  right: 4%;
  bottom: 7%;
  width: 158px;
}

.heat-stadium {
  left: -2%;
  bottom: 2%;
  width: 390px;
}

.heat-speech {
  position: absolute;
  z-index: 5;
  display: grid;
  place-items: center;
  text-align: center;
  pointer-events: auto;
}

.heat-speech.answer-wrong::after {
  content: none;
}

.heat-speech img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.heat-speech.answer-wrong img {
  filter:
    drop-shadow(0 0 0 #ee86aa)
    drop-shadow(0 0 8px rgba(238, 134, 170, 0.72));
}

.heat-speech span {
  position: absolute;
  z-index: 2;
  color: #000;
  font-size: clamp(1.3rem, 1.03vw, 1.08rem);
  font-weight: 900;
  line-height: 1.28;
  word-break: keep-all;
}

.heat-speech strong {
  color: #d7d7d7;
  font-size: 1.35em;
  letter-spacing: 0;
}

.heat-speech-left {
  left: 13%;
  top: 5%;
  width: 255px;
}

.heat-speech-left span {
  top: 28%;
  left: 14%;
  right: 17%;
}

.heat-speech-right {
  right: 11%;
  top: 3%;
  width: 225px;
}

.heat-speech-right span {
  top: 16%;
  left: 12%;
  right: 12%;
  line-height: 1.18;
}

.heat-speech-bottom {
  left: 1%;
  top: 43%;
  width: 315px;
}

.heat-speech-bottom span {
  top: 11%;
  left: 8%;
  right: 9%;
  font-size: clamp(1.3rem, 0.95vw, 0.98rem);
  line-height: 1.18;
}

.heat-term-input {
  width: 78px;
  min-height: 32px;
  margin: 4px 3px;
  padding: 3px 7px;
  border: 3px solid #cde4f5;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  font: inherit;
  font-size: 0.95em;
  line-height: 1;
  text-align: center;
  outline: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.heat-term-input.wide {
  width: 122px;
  border-color: #f6ba86;
}

.heat-term-input:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 4px rgba(244, 163, 0, 0.18);
}

.heat-balloon-stage {
  position: absolute;
  z-index: 4;
  left: 52%;
  top: 53%;
  width: min(500px, 42%);
  aspect-ratio: 1000 / 1301;
  transform: translate(-50%, -50%);
}

.heat-svg-object {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: manipulation;
}

.heat-svg-object svg {
  width: 100%;
  height: 100%;
  display: block;
}

.heat-svg-colorable:hover {
  opacity: 0.78;
}

.heat-svg-colorable {
  pointer-events: all;
}

.heat-check-row {
  justify-content: center;
  margin-top: 22px;
}

/* 2전시관 2번: 선택 문제 + 색칠판 레이아웃 */
.heat-island-card {
  width: min(1180px, calc(100vw - 40px));
  margin-left: 50%;
  padding: 28px 30px 30px;
  background:
    radial-gradient(circle at 82% 12%, rgba(190, 231, 255, 0.75), transparent 28%),
    linear-gradient(180deg, #f2fbff 0%, #eef9ff 100%);
  transform: translateX(-50%);
}

.heat-island-card .q-head {
  margin-bottom: 18px;
}

.heat-island-card .q-badge {
  background: linear-gradient(135deg, #f0629d, #df4c85);
  border-radius: 12px;
}

.heat-workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 16px 20px;
  align-items: start;
}

.heat-question-panel {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.heat-situation-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px 14px 16px;
  border: 2px solid #d7e5f4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(24, 73, 122, 0.08);
}

.heat-situation-card.blue {
  --heat-tone: #1b74e4;
  --heat-soft: #eaf4ff;
}

.heat-situation-card.green {
  --heat-tone: #2caf5c;
  --heat-soft: #edf9f0;
}

.heat-situation-card.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
}

.heat-situation-card.correct {
  border-color: #2fb16c;
  background: #f0fbf5;
}

.heat-situation-label {
  position: absolute;
  left: 14px;
  top: -1px;
  min-width: 64px;
  padding: 6px 10px 5px;
  border-radius: 0 0 10px 10px;
  background: var(--heat-tone);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  box-shadow: 0 4px 10px rgba(24, 73, 122, 0.12);
}

.heat-prompt-bubble {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 58px;
  margin: 12px 18px 0 30px;
  padding: 8px 14px 8px 8px;
  border: 2px solid #d7e5f4;
  border-radius: 12px;
  background: #fff;
  color: #111;
  box-shadow: 0 4px 12px rgba(31, 58, 95, 0.1);
}

.heat-prompt-bubble img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.heat-prompt-bubble strong {
  color: #111;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
  word-break: keep-all;
}

.heat-prompt-bubble strong em,
.heat-prompt-bubble strong b {
  color: var(--heat-tone);
}

.heat-question-line {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.heat-question-line span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--heat-tone);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 900;
}

.heat-question-line p {
  margin: 3px 0 0;
  color: #111;
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}

.heat-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.heat-situation-card.green .heat-choice-grid {
  grid-template-columns: 1fr;
}

.heat-choice {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 0.92rem;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 3px 8px rgba(31, 58, 95, 0.05);
}

.heat-choice span {
  width: 17px;
  height: 17px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  background: #fff;
}

.heat-choice.selected {
  border-color: var(--heat-tone);
  background: var(--heat-soft);
  color: #111;
}

.heat-choice.selected span {
  border-color: var(--heat-tone);
  background: radial-gradient(circle, var(--heat-tone) 0 42%, #fff 48% 100%);
}

.heat-choice.correct {
  border-color: #2fb16c;
  background: #f0fbf5;
}

.heat-choice.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
}

.heat-art-stack {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  gap: 14px;
  min-width: 0;
}

.heat-coloring-card,
.heat-toolbar {
  border: 2px solid #d7e5f4;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 20px rgba(24, 73, 122, 0.08);
}

.heat-coloring-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 2px solid #d7e5f4;
}

.heat-coloring-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  font-size: 1.02rem;
  font-weight: 900;
}

.heat-coloring-head strong::before {
  content: "🎨";
  font-size: 1.25rem;
}

.heat-reset-button.mini {
  min-height: 32px;
  padding: 6px 12px;
  border-color: #cfe0f6;
  color: #1b74e4;
  font-size: 0.82rem;
  box-shadow: none;
}

.heat-scene {
  position: relative;
  min-height: 0;
  aspect-ratio: 1.58 / 1;
  overflow: hidden;
  border: 0;
  border-radius: 0 0 12px 12px;
  background: #fff;
  isolation: isolate;
}

.heat-deco-red {
  left: 5%;
  top: 22%;
  width: 78px;
}

.heat-deco-blue {
  right: 17%;
  bottom: 31%;
  width: 82px;
  height: auto;
}

.heat-tower {
  right: 3%;
  bottom: 9%;
  width: 128px;
}

.heat-stadium {
  left: 1%;
  bottom: 7%;
  width: 230px;
}

.heat-balloon-stage {
  left: 51%;
  top: 48%;
  width: min(380px, 42%);
}

.heat-toolbar {
  justify-content: flex-start;
  margin: 0;
  padding: 14px 16px;
}

.heat-toolbar-title {
  width: 100%;
}

.heat-color-count {
  display: none;
}

.heat-palette {
  justify-content: flex-start;
}

.heat-answer-actions {
  grid-column: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 14px;
  align-items: stretch;
}

.heat-answer-actions .check-button,
.heat-answer-actions .heat-reset-button {
  width: 100%;
  min-height: 52px;
  justify-content: center;
}

.heat-reset-button.answer-reset {
  border-radius: 10px;
  color: #1b74e4;
  border-color: #cfe0f6;
  background: #fff;
}

.climate-game-card {
  width: min(1540px, calc(100vw - 40px));
  margin-left: 50%;
  background: #e6f7ff;
  transform: translateX(-50%);
}

.climate-game-card .q-head {
  padding-right: 210px;
}

.climate-game-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.climate-board-panel {
  min-width: 0;
}

.climate-board-scroll {
  overflow: auto;
  border: 3px solid rgba(47, 111, 179, 0.14);
  border-radius: 22px;
  background: #c9edf8;
  box-shadow: var(--shadow-soft);
  overscroll-behavior: contain;
  scrollbar-color: #55b7df #e8f7ff;
  scrollbar-width: thin;
}

.climate-board-canvas {
  position: relative;
  width: 100%;
  min-width: 1060px;
  overflow: hidden;
}

.climate-board-image {
  width: 136.1%;
  max-width: none;
  height: auto;
  user-select: none;
}

.climate-ladder-rider {
  position: absolute;
  z-index: 5;
  left: 93.5%;
  top: 73%;
  width: clamp(44px, 5.2vw, 72px);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 8px 12px rgba(24, 54, 87, 0.18));
  pointer-events: none;
}

.climate-player-token {
  position: absolute;
  z-index: 12;
  width: clamp(60px, 5.6vw, 86px);
  transform: translate(-50%, -64%);
  filter: drop-shadow(0 12px 18px rgba(24, 54, 87, 0.32));
  isolation: isolate;
  pointer-events: none;
}

.climate-player-token::before {
  position: absolute;
  left: 50%;
  top: 58%;
  z-index: 0;
  width: 138%;
  aspect-ratio: 1;
  border: 5px solid rgba(255, 196, 59, 0.96);
  border-radius: 50%;
  background: rgba(255, 245, 166, 0.28);
  box-shadow:
    0 0 0 7px rgba(255, 255, 255, 0.82),
    0 0 28px rgba(244, 163, 0, 0.78);
  content: "";
  transform: translate(-50%, -50%);
  animation: climate-token-pulse 1.25s ease-in-out infinite;
}

.climate-player-token::after {
  position: absolute;
  left: 50%;
  top: -30px;
  z-index: 3;
  padding: 5px 10px 4px;
  border: 2px solid #f4a300;
  border-radius: 999px;
  background: #fff;
  color: #183657;
  box-shadow: 0 6px 14px rgba(24, 54, 87, 0.18);
  content: "현재 위치";
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transform: translateX(-50%);
}

.climate-player-token img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: auto;
  animation: climate-token-bob 1.05s ease-in-out infinite;
  will-change: transform;
}

@keyframes climate-token-pulse {
  0%,
  100% {
    opacity: 0.74;
    transform: translate(-50%, -50%) scale(0.88);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

@keyframes climate-token-bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .climate-player-token::before,
  .climate-player-token img {
    animation: none;
  }
}

.climate-control-panel {
  position: sticky;
  top: 74px;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 2px solid rgba(47, 111, 179, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-soft);
}

.climate-status {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 10px;
  align-items: center;
  padding: 14px 16px;
  border-radius: 18px;
  background: #f3fbff;
  border: 2px solid #d6edf9;
}

.climate-status span {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 900;
}

.climate-status strong {
  grid-column: 1 / -1;
  color: var(--pink);
  font-size: 1.8rem;
  line-height: 1;
}

.climate-status em {
  justify-self: end;
  color: var(--blue);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 900;
}

.climate-status.finished {
  background: #fff8d6;
  border-color: rgba(244, 163, 0, 0.35);
}

.climate-move-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.climate-move-button {
  min-height: 112px;
  display: grid;
  grid-template-rows: 48px auto auto;
  gap: 4px;
  place-items: center;
  padding: 10px 6px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  border: 2px solid rgba(47, 111, 179, 0.14);
  box-shadow: var(--shadow-soft);
}

.climate-move-button:hover {
  transform: translateY(-2px);
}

.climate-move-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.climate-move-button img {
  max-width: 56px;
  max-height: 52px;
  object-fit: contain;
}

.climate-move-button span,
.climate-move-button strong {
  line-height: 1;
  font-weight: 900;
}

.climate-move-button strong {
  color: var(--blue);
}

.climate-move-button.purple strong {
  color: #8b5db7;
}

.climate-move-button.green strong {
  color: #34a987;
}

.climate-control-actions {
  --climate-action-x: 0px;
  --climate-action-width: 100%;
  --climate-action-align: stretch;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  justify-items: var(--climate-action-align);
  transform: translateX(var(--climate-action-x));
}

.climate-control-actions.single {
  grid-template-columns: 1fr;
}

.climate-rps-status {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 12px;
  border-radius: 18px;
  background: #f4f9fd;
  border: 2px solid #d9eaf4;
  text-align: center;
}

.climate-rps-status > span {
  grid-column: 1 / -1;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 900;
}

.climate-rps-status div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.climate-rps-status span {
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 900;
}

.climate-rps-status strong {
  color: var(--ink);
  font-size: 1.16rem;
  line-height: 1;
}

.climate-rps-status em {
  color: var(--pink);
  font-style: normal;
  font-weight: 900;
}

.climate-rps-status p {
  grid-column: 1 / -1;
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 1.06rem;
  font-weight: 900;
}

.climate-rps-status.win {
  background: #edfbf4;
  border-color: rgba(36, 163, 103, 0.34);
}

.climate-rps-status.lose {
  background: #fff1f1;
  border-color: rgba(224, 82, 82, 0.28);
}

.climate-rps-status.draw {
  background: #fff8d6;
  border-color: rgba(244, 163, 0, 0.32);
}

.climate-ox-challenge {
  display: grid;
  gap: 12px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 3px solid var(--pink);
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.16);
}

.climate-ox-challenge > span {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff0f7;
  color: var(--pink);
  font-weight: 900;
}

.climate-ox-challenge p {
  margin: 0;
  color: #000;
  font-size: clamp(1.25rem, 1.65vw, 1.7rem);
  font-weight: 900;
  line-height: 1.34;
  text-align: center;
  word-break: keep-all;
}

.climate-ox-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.climate-ox-actions button {
  min-height: 54px;
  border-radius: 16px;
  background: #f7fbff;
  color: var(--blue);
  border: 3px solid #d5eaf6;
  font-size: 1.65rem;
  font-weight: 900;
}

.climate-ox-actions button:last-child {
  color: var(--bad);
}

.climate-ox-actions button:hover {
  background: #fff8d6;
  border-color: var(--yellow);
}

.climate-move-note {
  min-height: 54px;
  display: grid;
  place-items: center;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff6fb;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  word-break: keep-all;
}

.climate-log {
  margin: 0;
  padding: 10px 10px 10px 28px;
  border-radius: 16px;
  background: #f4f9fd;
  color: var(--ink-soft);
  font-size: 0.82rem;
  line-height: 1.35;
}

.climate-log li + li {
  margin-top: 4px;
}

.cloud-type-card {
  background: #f3fbff;
}

.cloud-type-card .q-head {
  margin-bottom: 16px;
}

.cloud-board {
  position: relative;
  width: min(1080px, 100%);
  aspect-ratio: 1652 / 872;
  margin: 0 auto 16px;
  overflow: hidden;
  border-radius: 18px;
  background: #d8edf8;
  border: 2px solid #d8edf8;
}

.cloud-board-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cloud-pill {
  position: absolute;
  z-index: 3;
  min-width: 132px;
  padding: 8px 20px;
  border-radius: 999px;
  background: #2d5fa6;
  color: #fff;
  text-align: center;
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  font-weight: 900;
  line-height: 1;
}

.cloud-pill-high {
  left: 0%;
  top: 1.2%;
}

.cloud-pill-mid {
  left: 0%;
  top: 30.4%;
}

.cloud-pill-low {
  left: 0%;
  top: 57.5%;
}

.cloud-pill-vertical {
  right: 0%;
  top: 1.2%;
}

.cloud-line {
  position: absolute;
  z-index: 2;
  border-color: #2b95dc;
  opacity: 0.9;
  pointer-events: none;
}

.cloud-line-mid {
  left: 0;
  right: 0;
  top: 33%;
  border-top: 2px dashed #2b95dc;
}

.cloud-line-low {
  left: 0;
  right: 0;
  top: 60.1%;
  border-top: 2px dashed #2b95dc;
}

.cloud-line-vertical {
  left: 63.25%;
  top: 0;
  bottom: 0;
  border-left: 2px dashed #2b95dc;
}

.cloud-label {
  position: absolute;
  z-index: 4;
  color: #000;
  text-align: center;
  font-size: clamp(0.9rem, 1.18vw, 1.14rem);
  line-height: 1.25;
  word-break: keep-all;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.92),
    1px 0 0 rgba(255, 255, 255, 0.72),
    -1px 0 0 rgba(255, 255, 255, 0.72);
}

.cloud-label strong {
  font-size: 1.34em;
  color: #000;
}

.cloud-label-cirrocumulus {
  left: 0.1%;
  top: 16%;
  width: 16%;
}

.cloud-label-cirrostratus {
  left: 25.5%;
  top: 16%;
  width: 17%;
}

.cloud-label-cirrus {
  left: 46.8%;
  top: 18.3%;
  width: 14%;
}

.cloud-label-altostratus {
  left: 49%;
  top: 48%;
  width: 14.5%;
}

.cloud-label-nimbostratus {
  left: 3.4%;
  top: 84.2%;
  width: 20%;
}

.cloud-label-stratus {
  left: 28.5%;
  top: 83.4%;
  width: 14%;
}

.cloud-label-stratocumulus {
  left: 46.4%;
  top: 83.2%;
  width: 15.5%;
}

.cloud-label-cumulus {
  left: 63%;
  top: 82.8%;
  width: 14%;
}

.cloud-photo {
  position: absolute;
  z-index: 4;
  width: 13.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(31, 58, 95, 0.18);
}

.cloud-photo-alt {
  left: 15%;
  top: 34.7%;
}

.cloud-photo-cumul {
  left: 79.1%;
  top: 34.2%;
}

.cloud-answer {
  position: absolute;
  z-index: 5;
  width: 17.2%;
  height: 10.6%;
  display: block;
  border-radius: 10px;
  border: 4px solid transparent;
  background: #fff;
  box-shadow: 0 5px 12px rgba(31, 58, 95, 0.12);
}

.cloud-answer input {
  width: 100%;
  height: 100%;
  padding: 2px 8px;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--blue);
  text-align: center;
  font-size: clamp(0.95rem, 1.45vw, 1.42rem);
  font-weight: 900;
}

.cloud-answer-alt {
  left: 27.5%;
  top: 38.2%;
}

.cloud-answer-cumul {
  left: 62.2%;
  top: 29.6%;
}

.cloud-answer.correct {
  border-color: var(--ok);
  background: #edf9f2;
}

.cloud-answer.wrong {
  border-color: var(--bad);
  background: #fff1f1;
}

.cloud-label-alt {
  left: 28.7%;
  top: 50.8%;
  width: 17%;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 400;
}

.cloud-label-cumulonimbus {
  left: 63.9%;
  top: 43.2%;
  width: 15.5%;
  font-size: clamp(0.82rem, 1.05vw, 1rem);
  font-weight: 400;
}

.cloud-check-row {
  justify-content: center;
  margin-top: 18px;
}

.cloud-mobile-panel {
  display: grid;
  gap: 18px;
  width: min(980px, 100%);
  margin: 0 auto;
}

.cloud-mobile-reference {
  overflow: hidden;
  border-radius: 18px;
  background: #f7fbff;
  border: 2px solid #d8eafb;
  box-shadow: var(--shadow-soft);
}

.cloud-mobile-reference summary {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: var(--blue);
  font-weight: 900;
  list-style: none;
  cursor: pointer;
}

.cloud-mobile-reference summary::-webkit-details-marker {
  display: none;
}

.cloud-mobile-reference summary::before {
  content: "☁";
  margin-right: 8px;
  color: #2f8fcb;
}

.cloud-mobile-reference summary::after {
  content: "⌄";
  margin-left: auto;
  color: var(--blue);
  font-size: 1.2rem;
}

.cloud-mobile-reference[open] summary::after {
  transform: rotate(180deg);
}

.cloud-mobile-reference img {
  width: 100%;
  height: auto;
  display: block;
}

.cloud-mobile-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.cloud-mobile-answer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
  border-radius: 20px;
  border: 2px solid #d8eafb;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.cloud-mobile-answer > * {
  min-width: 0;
}

.cloud-mobile-answer.correct {
  border-color: var(--ok);
  background: #edf9f2;
}

.cloud-mobile-answer.wrong {
  border-color: var(--bad);
  background: #fff1f1;
}

.cloud-mobile-answer-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.cloud-mobile-answer-head strong {
  color: var(--blue);
  font-size: 1.02rem;
  font-weight: 900;
  white-space: nowrap;
}

.cloud-mobile-answer-head span {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4edf8;
}

.cloud-mobile-answer-head i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #2f6fb3;
}

.cloud-mobile-question {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 6px 8px 2px;
}

.cloud-mobile-question img {
  width: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: var(--shadow-soft);
}

.cloud-mobile-question p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.7vw, 1.35rem);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.cloud-mobile-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cloud-mobile-options button {
  min-height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  border: 2px solid #d8e4f2;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-weight: 900;
  text-align: center;
  box-shadow: 0 2px 6px rgba(31, 58, 95, 0.08);
}

.cloud-mobile-options button span {
  justify-self: center;
}

.cloud-mobile-options button b {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 0.78rem;
  line-height: 1;
}

.cloud-mobile-options button.selected {
  color: #1d8c53;
  border-color: var(--ok);
  background: #f2fbf6;
}

.cloud-mobile-options button.wrong {
  color: var(--bad);
  border-color: var(--bad);
  background: #fff6f6;
}

.cloud-mobile-next {
  justify-self: center;
  min-width: 148px;
  min-height: 46px;
  display: none;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 0 #1f548c;
}

.forecast-life-card,
.forecast-map-card {
  background: #f5f9df;
}

.forecast-map-card {
  /* 3전시관 3번 왼쪽 문제 박스: 위치/크기/글자 조절 */
  --map-question-box-x: 0px;
  --map-question-box-y: 2px;
  --map-question-box-width: 100%;
  --map-question-box-height: 72px;
  --map-question-text-x: 0px;
  --map-question-text-y: -3px;
  --map-question-text-width: 72%;
  --map-question-text-left: 15%;
  --map-question-font-size: clamp(1.3rem, 1.18vw, 1.04rem);

  /* 3전시관 3번 오른쪽 문제 박스: 위치/크기/글자 조절 */
  --report-question-box-x: 0px;
  --report-question-box-y: -10px;
  --report-question-box-width: 100%;
  --report-question-box-height: 72px;
  --report-question-text-x: 0px;
  --report-question-text-y: 7px;
  --report-question-text-width: 68%;
  --report-question-text-left: 18%;
  --report-question-font-size: clamp(1.3rem, 1.18vw, 1.04rem);
}

.forecast-process-card {
  /* 3전시관 4번 보기 버튼 조절 */
  /* 박스만 바꾸려면 box-width/box-height만 수정 */
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
  --process-choice-slot-height: 28px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-button-x: 0px;
  --process-choice-button-y: 0px;
  --process-choice-font-size: 0.84rem;
  --process-choice-gap: 6px;
  background: #fbf1dc;
}

.heat-speech.answer-wrong .heat-term-input {
  border-color: #ee86aa;
  background: #fff0f6;
  color: #c93f72;
  box-shadow: 0 0 0 4px rgba(238, 134, 170, 0.16);
}

.supercomputer-card {
  /* 3전시관 2번 상단 Q2 박스 위치 조절 */
  --super-q-badge-x: 0px;
  --super-q-badge-y: -15px;
  padding: 0 0 24px;
  background: #f5f7dc;
}

.supercomputer-card .q-head {
  display: flex;
  align-items: center;
  min-height: 104px;
  margin: 0;
  padding: 28px 118px 24px 28px;
  background: #f5f7dc;
}

.supercomputer-card .q-badge {
  transform: translate(var(--super-q-badge-x), var(--super-q-badge-y));
}

.supercomputer-card .hint-button {
  z-index: 12;
  top: 24px;
  right: 24px;
}

.forecast-check-row {
  justify-content: center;
  margin-top: 20px;
}

.forecast-life-scene {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 448.72 / 347.85;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #91c96b;
  box-shadow: var(--shadow-soft);
}

.forecast-life-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.forecast-life-banner {
  --life-banner-text-x: -18px;
  --life-banner-text-y: 12px;
  --life-banner-text-left: 33%;
  --life-banner-text-right: 7%;
  --life-banner-font-size: clamp(1.42rem, 1.18vw, 1.06rem);
  position: absolute;
  z-index: 3;
  left: 50%;
  right: auto;
  top: 4.6%;
  width: min(72%, 700px);
  aspect-ratio: 270.89 / 45.61;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  min-height: 0;
  padding: 0;
}

.forecast-life-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.forecast-life-banner span {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 var(--life-banner-text-right) 0 var(--life-banner-text-left);
  color: #fff;
  font-size: var(--life-banner-font-size);
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  word-break: normal;
  overflow-wrap: anywhere;
  letter-spacing: 0;
  transform: translate(var(--life-banner-text-x), var(--life-banner-text-y));
}

.life-index-bubble {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 8px 14px rgba(31, 58, 95, 0.12));
}

.life-index-bubble img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
}

.life-index-bubble strong {
  position: absolute;
  z-index: 2;
  left: 8%;
  right: 8%;
  top: 29%;
  color: var(--blue);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 900;
  line-height: 1.14;
  text-align: center;
  word-break: keep-all;
}

.life-index-bubble strong.orange {
  color: #ef6b43;
}

.life-index-bubble strong.red {
  color: #ef6b43;
}

.life-choice-box {
  display: grid;
  justify-items: stretch;
  width: min(272px, 92%);
  gap: 6px;
}

.forecast-life-scene > .life-choice-box {
  position: absolute;
  z-index: 7;
  width: 30%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.forecast-life-scene > .life-choice-box.uv {
  left: 11%;
  top: 46.4%;
}

.forecast-life-scene > .life-choice-box.ice {
  right: 12.8%;
  top: 46.4%;
}

.forecast-life-scene > .life-choice-box.sleep {
  left: 10%;
  top: 89.2%;
}

.forecast-life-scene > .life-choice-box.pollen {
  right: 12.8%;
  top: 89.2%;
}

.life-index-actions {
  width: 100%;
  z-index: 6;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.life-index-actions button {
  min-width: 0;
  min-height: clamp(42px, 5vw, 58px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 14px;
  border: 4px solid #fff;
  color: #fff;
  opacity: 1;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.life-index-actions button:first-child {
  background: #2fb7df;
  box-shadow: 0 4px 0 #1788ad;
}

.life-index-actions button:last-child {
  background: #f06438;
  box-shadow: 0 4px 0 #bd4525;
}

.life-index-actions button img {
  display: block;
  width: clamp(30px, 4vw, 46px);
  max-width: 46px;
  height: clamp(30px, 4vw, 46px);
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.life-index-actions button.selected {
  transform: translateY(-2px);
  outline: 4px solid #1d8fff;
  outline-offset: 2px;
}

.life-index-actions button.selected:first-child {
  box-shadow: 0 5px 0 #1788ad, 0 0 12px rgba(67, 180, 213, 0.72);
}

.life-index-actions button.selected:last-child {
  box-shadow: 0 5px 0 #bd4525, 0 0 12px rgba(232, 86, 60, 0.62);
}

.life-choice-label {
  margin: 0 0 5px;
  color: #28517a;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0;
  z-index: 8;
  white-space: nowrap;
}

.life-index-bubble .life-choice-label {
  margin: 0;
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
  font-size: 0.9rem;
  color: #234b72;
  white-space: nowrap;
}

.life-index-actions .life-choice-label {
  position: static;
  margin-bottom: 0;
  grid-column: auto;
}

.life-index-bubble.correct {
  filter: drop-shadow(0 0 0 transparent) drop-shadow(0 0 12px rgba(36, 163, 103, 0.5));
}

.life-index-bubble.wrong {
  filter: drop-shadow(0 0 0 transparent) drop-shadow(0 0 16px rgba(238, 134, 170, 0.9));
}

.life-index-bubble.uv {
  left: 10.8%;
  top: 20%;
  width: 30%;
}

.life-index-bubble.ice {
  right: 13.7%;
  top: 19.4%;
  width: 30%;
}

.life-index-bubble.sleep {
  left: 10%;
  bottom: auto;
  top: 58.4%;
  width: 30%;
}

.life-index-bubble.pollen {
  right: 12.7%;
  bottom: auto;
  top: 57.4%;
  width: 30%;
}

.life-index-bubble.sleep strong {
  left: 8%;
  right: 8%;
}

.life-index-bubble.pollen strong {
  left: 8%;
  right: 8%;
}

.forecast-life-mobile-list {
  display: none;
}

.life-mobile-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.life-mobile-card.correct {
  box-shadow: 0 0 0 4px rgba(36, 163, 103, 0.18), var(--shadow-soft);
}

.life-mobile-card.wrong {
  background: #fff0f6;
  box-shadow: 0 0 0 4px rgba(238, 134, 170, 0.26), var(--shadow-soft);
}

.life-mobile-thumb {
  min-height: 104px;
  border-radius: 14px;
  background-image: url("assets/forecast-life-scene-new.svg");
  background-repeat: no-repeat;
  background-size: 520px auto;
  box-shadow: inset 0 0 0 3px #fff;
}

.life-mobile-thumb.uv {
  background-position: 13% 37%;
}

.life-mobile-thumb.ice {
  background-position: 103% 38%;
}

.life-mobile-thumb.sleep {
  background-position: 6% 99%;
}

.life-mobile-thumb.pollen {
  background-position: 93% 82%;
}

.life-mobile-content {
  display: grid;
  gap: 9px;
  justify-items: center;
  min-width: 0;
  text-align: center;
}

.life-mobile-speech {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  filter: none;
}

.life-mobile-speech strong {
  display: block;
  color: var(--blue);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  word-break: keep-all;
}

.life-mobile-speech strong.orange,
.life-mobile-speech strong.red {
  color: #ef6b43;
}

.life-mobile-speech span {
  display: none;
}

.life-index-actions.mobile-inline {
  position: static;
  width: min(272px, 100%);
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.super-reference-stage {
  position: relative;
  width: min(860px, 100%);
  margin: 0 auto;
  border-radius: 0;
  overflow: hidden;
  background: #eef3b8;
  box-shadow: none;
}

.super-reference-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.super-reference-choice {
  position: absolute;
  z-index: 5;
  left: 57.3%;
  width: 32.3%;
  height: 8.62%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.super-reference-choice.row-1 {
  top: 24%;
}

.super-reference-choice.row-2 {
  top: 34.18%;
}

.super-reference-choice.row-3 {
  top: 44.4%;
}

.super-reference-choice.row-4 {
  top: 54.62%;
}

.super-reference-choice button {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 14px;
  background: transparent;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.14s ease, transform 0.14s ease, filter 0.14s ease;
}

.super-reference-choice button:hover,
.super-reference-choice button:focus-visible {
  outline: 3px solid rgba(47, 111, 179, 0.24);
  outline-offset: -3px;
}

.super-reference-choice button.selected {
  opacity: 1;
  background: transparent;
  transform: none;
  box-shadow: none;
}

.super-reference-choice button[data-ex3q2-value="O"].selected {
  filter: drop-shadow(0 0 12px rgba(67, 180, 213, 0.9));
}

.super-reference-choice button[data-ex3q2-value="X"].selected {
  filter: drop-shadow(0 0 12px rgba(232, 86, 60, 0.82));
}

.super-reference-choice button img {
  width: min(76%, 92px);
  height: auto;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.14s ease, transform 0.14s ease;
}

.super-reference-choice button.selected img {
  opacity: 1;
  transform: scale(1.06);
}

.super-reference-choice.correct {
  box-shadow: none;
}

.super-reference-choice.wrong {
  box-shadow: none;
}

.super-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 18px;
  align-items: stretch;
}

.super-main {
  position: relative;
  overflow: visible;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.super-sheet {
  width: min(980px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border-radius: 18px;
  background: #00643b;
  box-shadow: 0 14px 28px rgba(21, 59, 37, 0.18);
}

.super-sheet-board {
  position: relative;
  padding: 28px 36px 30px;
  background: linear-gradient(180deg, #00643b, #00552f);
}

.super-sheet-board h2 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(1.65rem, 3.1vw, 2.22rem);
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
  word-break: keep-all;
}

.super-sheet-list {
  display: grid;
  gap: 14px;
}

.super-sheet-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 220px;
  align-items: center;
  gap: 16px;
  min-height: 84px;
  padding: 12px 18px;
  border: 3px solid #575757;
  border-radius: 11px;
  background: #fff;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.28);
}

.super-sheet-row.correct {
  border-color: var(--ok);
}

.super-sheet-row.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
  box-shadow: 6px 7px 0 rgba(199, 81, 120, 0.24);
}

.super-sheet-number {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: #179848;
  font-size: 1.25rem;
  font-weight: 900;
}

.super-sheet-row p {
  margin: 0;
  color: #111;
  font-size: clamp(1.08rem, 1.55vw, 1.34rem);
  font-weight: 900;
  line-height: 1.34;
  word-break: keep-all;
}

.super-sheet-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 64px;
  border-left: 2px solid #8c8c8c;
}

.super-sheet-choices button {
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: #cfcfcf;
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: color 0.14s ease, transform 0.14s ease, filter 0.14s ease;
}

.super-sheet-choices button.selected {
  transform: scale(1.08);
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.85));
}

.super-sheet-choices button[data-ex3q2-value="O"].selected {
  color: #2eb7df;
}

.super-sheet-choices button[data-ex3q2-value="X"].selected {
  color: #f2643c;
}

.super-sheet-circuit {
  height: 44px;
  margin: 16px 20px 0;
  background-image: url("assets/forecast-super-circuit.png");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.75;
}

.super-sheet-tip {
  position: relative;
  margin: 0 auto;
  padding: 20px 0 18px;
  width: min(72%, 640px);
}

.super-tip-board-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 10px 18px rgba(21, 59, 37, 0.16));
}

.super-tip-badge {
  position: absolute;
  left: -6px;
  top: -18px;
  width: 94px;
  z-index: 2;
}

.super-tip-info {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 12px 18px;
  padding: 24px 22px;
  border: 5px solid #b6d2a3;
  border-radius: 14px;
  background: #fff;
}

.super-tip-term {
  display: grid;
  place-items: center;
  min-height: 66px;
  border-radius: 8px;
  background: #f5fae8;
  color: #1c9a4d;
  font-size: 1.25rem;
  font-weight: 900;
}

.super-tip-info p {
  margin: 0;
  color: #111;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.55;
  word-break: keep-all;
}

.super-title-asset {
  display: none;
}

.super-question-title {
  margin: 0 auto 16px;
  width: fit-content;
  max-width: 100%;
  padding: 10px 18px;
  border-radius: 14px;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  line-height: 1.24;
  letter-spacing: 0;
  background: linear-gradient(135deg, #2f8fcb, #2e5d2e);
  box-shadow: 0 4px 0 rgba(18, 53, 17, 0.35);
  text-align: center;
}

.supercomputer-card .q-intro {
  font-size: clamp(0.88rem, 1.2vw, 1.02rem);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  padding-right: 6px;
}

.super-q-intro {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(0.94rem, 1.25vw, 1.05rem);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.super-quiz-list {
  display: grid;
  gap: 16px;
}

.super-quiz-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  align-items: start;
  gap: 18px;
  min-height: 0;
  padding: 14px 18px;
  border: 4px solid #5f5f5f;
  border-radius: 14px;
  background: #fff;
  box-shadow: 6px 7px 0 rgba(0, 0, 0, 0.2);
}

.super-quiz-row.correct {
  border-color: var(--ok);
}

.super-quiz-row.wrong {
  border-color: var(--bad);
}

.super-quiz-row p {
  margin: 0;
  color: #333;
  font-size: clamp(0.92rem, 1.25vw, 1.05rem);
  font-weight: 900;
  line-height: 1.38;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.super-ox-buttons {
  display: grid;
  grid-template-columns: 1fr 3px 1fr;
  align-items: center;
  gap: 14px;
  min-height: 78px;
}

.super-ox-buttons .ox-sep {
  height: 78px;
  background: #888;
  border-radius: 999px;
}

.super-ox-buttons button {
  display: grid;
  place-items: center;
  border-radius: 18px;
  min-height: 74px;
  background: #f8fbfd;
  border: 2px solid rgba(27, 74, 136, 0.28);
  cursor: pointer;
  opacity: 1;
  transition: transform 0.16s ease, opacity 0.16s ease, filter 0.16s ease;
  box-shadow: 0 4px 0 rgba(26, 44, 74, 0.14);
}

.super-ox-buttons button.selected {
  opacity: 1;
  transform: scale(1.08);
}

.super-ox-buttons button[data-ex3q2-value="O"].selected {
  filter: drop-shadow(0 0 14px rgba(67, 180, 213, 0.95)) brightness(1.16);
}

.super-ox-buttons button[data-ex3q2-value="X"].selected {
  filter: drop-shadow(0 0 14px rgba(232, 86, 60, 0.9)) brightness(1.16);
}

.super-ox-buttons img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.super-circuit {
  width: 92%;
  margin: 28px auto 0;
  opacity: 0.86;
}

.super-tip-panel {
  display: grid;
  gap: 14px;
  align-content: center;
  padding: 18px;
  border-radius: 22px;
  background: #ecf6e7;
  border: 3px solid #a9c99c;
}

.super-tip-panel > img {
  width: 122px;
  margin: 0 auto -4px;
}

.super-tip-panel div {
  padding: 18px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.super-tip-panel h2 {
  margin: 0 0 8px;
  color: #239b4a;
  font-size: 1.35rem;
}

.super-tip-panel p {
  margin: 0;
  color: #333;
  line-height: 1.55;
  word-break: keep-all;
}

.forecast-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.forecast-map-work,
.forecast-report-work {
  display: grid;
  gap: 14px;
  align-content: start;
}

.forecast-section-banner {
  --forecast-banner-x: 0px;
  --forecast-banner-y: 0px;
  --forecast-banner-width: 100%;
  --forecast-banner-height: 72px;
  --forecast-banner-text-x: 0px;
  --forecast-banner-text-y: 0px;
  --forecast-banner-text-width: 72%;
  --forecast-banner-text-left: 15%;
  --forecast-banner-font-size: clamp(0.82rem, 1.18vw, 1.04rem);
  position: relative;
  justify-self: center;
  width: var(--forecast-banner-width);
  min-height: var(--forecast-banner-height);
  height: var(--forecast-banner-height);
  display: grid;
  place-items: center;
  transform: translate(var(--forecast-banner-x), var(--forecast-banner-y));
}

.forecast-section-banner.map {
  --forecast-banner-x: var(--map-question-box-x);
  --forecast-banner-y: var(--map-question-box-y);
  --forecast-banner-width: var(--map-question-box-width);
  --forecast-banner-height: var(--map-question-box-height);
  --forecast-banner-text-x: var(--map-question-text-x);
  --forecast-banner-text-y: var(--map-question-text-y);
  --forecast-banner-text-width: var(--map-question-text-width);
  --forecast-banner-text-left: var(--map-question-text-left);
  --forecast-banner-font-size: var(--map-question-font-size);
}

.forecast-section-banner.report {
  --forecast-banner-x: var(--report-question-box-x);
  --forecast-banner-y: var(--report-question-box-y);
  --forecast-banner-width: var(--report-question-box-width);
  --forecast-banner-height: var(--report-question-box-height);
  --forecast-banner-text-x: var(--report-question-text-x);
  --forecast-banner-text-y: var(--report-question-text-y);
  --forecast-banner-text-width: var(--report-question-text-width);
  --forecast-banner-text-left: var(--report-question-text-left);
  --forecast-banner-font-size: var(--report-question-font-size);
}

.forecast-section-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.forecast-section-banner span {
  position: relative;
  z-index: 2;
  width: var(--forecast-banner-text-width);
  margin-left: var(--forecast-banner-text-left);
  color: #fff;
  font-size: var(--forecast-banner-font-size);
  font-weight: 900;
  line-height: 1.18;
  text-align: center;
  transform: translate(var(--forecast-banner-text-x), var(--forecast-banner-text-y));
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.weather-map-stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 297.64 / 213.55;
  border-radius: 18px;
  background: #f7efd9;
  border: 2px solid #e1e7cd;
  line-height: 0;
}

.weather-map-image {
  display: block;
  width: 100%;
  height: auto;
}

.weather-drawing-snapshot,
.weather-drawing-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.weather-drawing-snapshot {
  z-index: 2;
  object-fit: fill;
  pointer-events: none;
}

.weather-drawing-canvas {
  z-index: 3;
  cursor: crosshair;
  touch-action: none;
}

.drawn-isobar {
  position: absolute;
  right: 2%;
  top: 19%;
  width: 41%;
  height: 69%;
  border: 7px solid #edae71;
  border-left-color: transparent;
  border-radius: 50%;
  opacity: 0;
  transform: rotate(-8deg);
  transition: opacity 0.16s ease;
}

.pressure-mark {
  position: absolute;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
  opacity: 0;
  box-shadow: var(--shadow-soft);
  transition: opacity 0.16s ease;
}

.pressure-mark.high {
  right: 20%;
  top: 31%;
  background: #e05252;
}

.pressure-mark.low {
  left: 17%;
  top: 48%;
  background: #2f6fb3;
}

.drawn-isobar.show,
.pressure-mark.show {
  opacity: 1;
}

.map-toggle-row {
  display: grid;
  grid-template-columns: minmax(0, 220px);
  justify-content: center;
  gap: 10px;
}

.map-toggle-row button,
.report-choice-group button {
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  border: 2px solid #d7e7f2;
  font-weight: 900;
}

.map-toggle-row button.selected,
.report-choice-group button.selected {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
  box-shadow: 0 0 0 4px rgba(120, 173, 55, 0.16);
}

.forecast-report-box {
  display: grid;
  gap: 14px;
  padding: 28px;
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.forecast-report-box p {
  margin: 0;
  padding: 8px 10px;
  border: 2px solid transparent;
  border-radius: 14px;
  color: #333;
  font-size: clamp(1.05rem, 1.65vw, 1.35rem);
  font-weight: 900;
  line-height: 1.6;
  word-break: keep-all;
}

.forecast-report-box p.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
  box-shadow: 0 0 0 4px rgba(238, 134, 170, 0.14);
}

.forecast-report-box p.correct {
  border-color: rgba(36, 163, 103, 0.32);
  background: #f2fbf6;
}

.report-choice-group {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
  vertical-align: middle;
}

.forecast-process-board {
  width: min(620px, 100%);
  margin: 0 auto;
  padding: 10px 12px 18px;
  overflow: hidden;
  border-radius: 22px;
  background: #fff8ed;
  box-shadow: var(--shadow-soft);
}

.process-stage-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  align-items: start;
  padding: 28px 30px 18px;
}

.process-stage {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 10px;
  border: 2px solid transparent;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.42);
}

.process-stage-2,
.process-stage-4 {
  margin-top: 92px;
}

.process-stage-5 {
  grid-column: 1;
}

.process-stage-visual {
  --process-image-width: 78%;
  --process-box-x: 0px;
  --process-box-y: -89px;
  --process-box-width: 104%;
  --process-box-top: -98px;
  --process-text-x: 0px;
  --process-text-y: 12px;
  --process-text-left: 8%;
  --process-text-right: 8%;
  --process-text-bottom: 7%;
  --process-text-font-size: clamp(1.02rem, 1.45vw, 1.35rem);
  --process-cells-left: 36%;
  --process-cells-right: 7%;
  --process-cells-top: 8%;
  --process-cells-bottom: 8%;
  --process-cells-gap: 2.8%;
  --process-two-cells-left: 44%;
  --process-two-cells-right: 24%;
  --process-two-cells-gap: 7%;
  position: relative;
  display: grid;
  justify-items: center;
}

.process-stage-image {
  display: block;
  width: var(--process-image-width);
  height: auto;
  user-select: none;
}

.process-stage-1 {
  --process-image-width: 78%;
}

.process-stage-2 {
  --process-image-width: 78%;
}

.process-stage-3 {
  --process-image-width: 78%;
}

.process-stage-4 {
  --process-image-width: 78%;
}

.process-stage-5 {
  --process-image-width: 78%;
}

.process-stage-picker {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 2px solid #e6edf7;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 14px rgba(31, 58, 95, 0.08);
}

.process-stage-picker strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
}

.process-stage-picker > div {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
}

.process-stage-picker button {
  min-height: 38px;
  padding: 8px 7px;
  border: 2px solid #d8e4f2;
  border-radius: 999px;
  background: #fff;
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
  box-shadow: 0 2px 6px rgba(31, 58, 95, 0.08);
}

.process-stage-picker button.selected {
  border-color: var(--blue);
  background: var(--blue);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(47, 111, 179, 0.16);
}

.process-stage.correct {
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(36, 163, 103, 0.12);
}

.process-stage.wrong {
  border-color: var(--bad);
  box-shadow: 0 0 0 4px rgba(224, 82, 82, 0.12);
}

.process-card-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.process-choice-card {
  --process-step-color: #f47618;
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-media-column: 168px;
  --process-card-gap: 18px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 0px;
  display: grid;
  grid-template-columns: var(--process-card-media-column) minmax(0, 1fr);
  gap: var(--process-card-gap);
  align-items: center;
  width: var(--process-card-width);
  min-height: var(--process-card-min-height);
  justify-self: center;
  padding: 12px 16px 12px 12px;
  border: 2px solid #f7e3c7;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(93, 63, 32, 0.08);
  transform: translate(var(--process-card-x), var(--process-card-y));
}

.process-choice-card.process-stage-1 {
  /* 1단계 카드/이미지/보기 위치와 크기 */
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 30px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
}

.process-choice-card.process-stage-2 {
  /* 2단계 카드/이미지/보기 위치와 크기 */
  --process-step-color: #78ad37;
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 30px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
  margin-top: 0;
}

.process-choice-card.process-stage-3 {
  /* 3단계 카드/이미지/보기 위치와 크기 */
  --process-step-color: #2f8fcb;
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 30px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
}

.process-choice-card.process-stage-4 {
  /* 4단계 카드/이미지/보기 위치와 크기 */
  --process-step-color: #9b6bd3;
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 30px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
  margin-top: 0;
}

.process-choice-card.process-stage-5 {
  /* 5단계 카드/이미지/보기 위치와 크기 */
  --process-step-color: #f4a300;
  --process-card-x: 0px;
  --process-card-y: 0px;
  --process-card-width: 100%;
  --process-card-min-height: 132px;
  --process-card-image-width: 146px;
  --process-card-image-height: 124px;
  --process-card-image-x: 0px;
  --process-card-image-y: 30px;
  --process-choice-group-x: 0px;
  --process-choice-group-y: 0px;
  --process-choice-box-width: 100%;
  --process-choice-box-height: 34px;
}

.process-choice-card.correct {
  border-color: var(--ok);
  box-shadow: 0 0 0 4px rgba(36, 163, 103, 0.12);
}

.process-choice-card.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
  box-shadow: 0 0 0 4px rgba(238, 134, 170, 0.18);
}

.process-card-media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 108px;
}

.process-card-media .process-stage-image {
  width: var(--process-card-image-width);
  max-width: 100%;
  height: var(--process-card-image-height);
  object-fit: contain;
  transform: translate(var(--process-card-image-x), var(--process-card-image-y));
}

.process-step-badge {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 10px;
  background: var(--process-step-color);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.process-card-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.process-card-copy h2 {
  margin: 0;
  color: var(--process-step-color);
  font-size: clamp(1.2rem, 2.6vw, 1.65rem);
  font-weight: 900;
  line-height: 1.1;
  word-break: keep-all;
}

.process-card-copy p {
  margin: 0;
  color: #111;
  font-size: clamp(0.82rem, 1.3vw, 0.98rem);
  font-weight: 900;
  line-height: 1.42;
  word-break: keep-all;
}

.process-card-copy .process-stage-picker,
.process-choice-card > .process-stage-picker {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: translate(var(--process-choice-group-x), var(--process-choice-group-y));
}

.process-choice-card > .process-stage-picker {
  grid-column: 2;
}

.process-card-copy .process-stage-picker,
.process-choice-card > .process-stage-picker {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-auto-rows: var(--process-choice-slot-height);
  align-items: center;
  overflow: visible;
  gap: var(--process-choice-gap);
}

.process-card-copy .process-stage-picker button,
.process-choice-card > .process-stage-picker button {
  box-sizing: border-box;
  width: var(--process-choice-box-width);
  height: var(--process-choice-box-height);
  min-height: 0;
  display: grid;
  place-items: center;
  justify-self: center;
  align-self: center;
  padding: 0;
  transform: translate(var(--process-choice-button-x), var(--process-choice-button-y));
  border-width: 1px;
  border-color: #e5e7eb;
  color: #777;
  font-size: var(--process-choice-font-size);
  box-shadow: none;
}

.process-card-copy .process-stage-picker button.selected,
.process-choice-card > .process-stage-picker button.selected {
  border-color: var(--process-step-color);
  background: var(--process-step-color);
  color: #fff;
  box-shadow: 0 3px 8px rgba(31, 58, 95, 0.12);
}

.process-answer-entry {
  position: relative;
  width: var(--process-box-width);
  max-width: 552px;
  margin-top: var(--process-box-top);
  display: block;
  cursor: text;
  transform: translate(var(--process-box-x), var(--process-box-y));
}

.process-step-bar {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
}

.process-letter-cells {
  position: absolute;
  left: var(--process-cells-left);
  right: var(--process-cells-right);
  top: var(--process-cells-top);
  bottom: var(--process-cells-bottom);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--process-cells-gap);
  align-items: center;
  pointer-events: none;
}

.process-answer-entry.count-2 .process-letter-cells {
  left: var(--process-two-cells-left);
  right: var(--process-two-cells-right);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--process-two-cells-gap);
}

.process-letter-cells span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111;
  font-size: clamp(1.3rem, 2.2vw, 2.05rem);
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.process-answer-entry input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0.02;
  cursor: text;
}

.process-answer-entry:focus-within {
  filter: drop-shadow(0 0 12px rgba(244, 163, 0, 0.46));
}

.process-stage.correct .process-answer-entry {
  filter: drop-shadow(0 0 12px rgba(36, 163, 103, 0.48));
}

.process-stage.wrong .process-answer-entry {
  filter: drop-shadow(0 0 12px rgba(224, 82, 82, 0.48));
}

.process-stage-description {
  position: absolute;
  left: var(--process-text-left);
  right: var(--process-text-right);
  bottom: var(--process-text-bottom);
  transform: translate(var(--process-text-x), var(--process-text-y));
  margin: 0;
  padding: 0;
  color: #111;
  font-size: var(--process-text-font-size);
  font-weight: 900;
  line-height: 1.5;
  text-align: center;
  word-break: keep-all;
  pointer-events: none;
}

.observation-card {
  /* 3전시관 5번 회색 목표 이미지 위치/크기 조절 */
  /* x: 좌우 위치, y: 위아래 위치, w: 이미지 크기 */
  --ob-satellite-x: 79%;
  --ob-satellite-y: 15%;
  --ob-satellite-w: 22%;
  --ob-balloon-x: 40%;
  --ob-balloon-y: 25%;
  --ob-balloon-w: 7.8%;
  --ob-tower-x: 32.5%;
  --ob-tower-y: 72%;
  --ob-tower-w: 10.5%;
  --ob-radar-x: 15.5%;
  --ob-radar-y: 51%;
  --ob-radar-w: 7.5%;
  --ob-ship-x: 84%;
  --ob-ship-y: 84%;
  --ob-ship-w: 27%;
  background: #f7fcff;
}

.observation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 18px;
  align-items: stretch;
}

.observation-scene {
  position: relative;
  width: min(100%, 820px);
  margin: 0 auto;
  aspect-ratio: 595.28 / 542.73;
  min-height: 0;
  overflow: hidden;
  border: 4px solid #fff;
  border-radius: 24px;
  background: #dff5ff;
  box-shadow: var(--shadow-soft);
}

.observation-scene::before,
.observation-scene::after {
  position: absolute;
  left: 0;
  right: 0;
  content: "";
  pointer-events: none;
}

.observation-base-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  user-select: none;
}

.observation-scene::before {
  display: none;
  bottom: 18%;
  height: 170px;
  background:
    radial-gradient(ellipse at 8% 84%, rgba(255, 255, 255, 0.9) 0 23%, transparent 24%),
    radial-gradient(ellipse at 28% 92%, rgba(255, 255, 255, 0.85) 0 20%, transparent 21%),
    radial-gradient(ellipse at 74% 90%, rgba(255, 255, 255, 0.9) 0 22%, transparent 23%),
    radial-gradient(ellipse at 94% 84%, rgba(255, 255, 255, 0.82) 0 24%, transparent 25%);
  z-index: 0;
}

.observation-scene::after {
  display: none;
  bottom: 0;
  height: 18%;
  background: linear-gradient(135deg, #21b7d5 0 52%, #39c9de 52% 100%);
  z-index: 0;
}

.observation-space-bg {
  position: absolute;
  z-index: 1;
  top: 3%;
  right: 3%;
  width: min(34%, 315px);
  pointer-events: none;
}

.observation-title-badge {
  position: absolute;
  z-index: 6;
  top: 3%;
  left: 3%;
  width: min(44%, 390px);
  color: #111;
}

.observation-title-badge img {
  width: min(168px, 46%);
}

.observation-title-badge strong {
  position: absolute;
  left: 22px;
  top: 56px;
  color: #f47618;
  font-size: clamp(1.08rem, 2vw, 1.55rem);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.observation-title-badge span {
  display: block;
  margin-top: 8px;
  padding-left: 4px;
  color: #111;
  font-size: clamp(0.85rem, 1.15vw, 1rem);
  font-weight: 900;
  line-height: 1.45;
  word-break: keep-all;
}

.observation-question-pill {
  position: absolute;
  z-index: 7;
  top: 18%;
  left: 50%;
  width: min(56%, 540px);
  padding: 14px 20px;
  border-radius: 999px;
  background: #f47618;
  color: #fff;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 900;
  line-height: 1.3;
  text-align: center;
  transform: translateX(-50%);
  box-shadow: 0 7px 0 rgba(176, 91, 16, 0.22);
}

.observation-buoy {
  position: absolute;
  z-index: 2;
  left: 36%;
  bottom: 13%;
  width: 8%;
  min-width: 46px;
  pointer-events: none;
}

.observation-target {
  position: absolute;
  z-index: 5;
  display: block;
  left: var(--ob-x);
  top: var(--ob-y);
  width: var(--ob-w);
  padding: 0;
  border: 0;
  background: transparent;
  transform: translate(-50%, -50%);
  touch-action: manipulation;
  cursor: pointer;
  line-height: 0;
}

.observation-target img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  user-select: none;
}

.observation-drop-ring {
  position: absolute;
  inset: -8%;
  border: 3px dashed rgba(36, 163, 103, 0.76);
  border-radius: 22px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.observation-target:hover .observation-drop-ring,
.observation-target.over .observation-drop-ring {
  opacity: 1;
  transform: scale(1);
}

.observation-target.filled .observation-drop-ring {
  border-style: solid;
  opacity: 0.75;
}

.observation-target.correct .observation-drop-ring {
  border-color: #24a367;
  opacity: 1;
}

.observation-target.wrong .observation-drop-ring {
  border-color: #ee86aa;
  opacity: 1;
}

.observation-target.filled .observation-ghost {
  display: none;
}

.observation-ghost {
  opacity: 0.72;
  filter: drop-shadow(0 8px 10px rgba(31, 58, 95, 0.1));
}

.observation-placed {
  filter: drop-shadow(0 12px 14px rgba(31, 58, 95, 0.18));
}

.observation-zone-label {
  position: absolute;
  left: -24px;
  top: -30px;
  width: 78px;
  max-width: none;
  filter: drop-shadow(0 3px 0 rgba(255, 255, 255, 0.9));
}

.observation-target[data-ex3q5-target="ship"] .observation-zone-label {
  left: 6%;
  top: -24px;
}

.observation-sticker-panel {
  min-width: 0;
  padding: 18px;
  border: 2px solid #d8edf8;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.observation-sticker-panel h2 {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 1.35rem;
}

.observation-sticker-panel p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.45;
  word-break: keep-all;
}

.observation-sticker-grid {
  display: grid;
  gap: 10px;
}

.observation-sticker {
  display: grid;
  grid-template-columns: 82px 1fr;
  grid-template-areas: "image label";
  align-items: center;
  gap: 2px 12px;
  min-height: 92px;
  padding: 10px;
  border: 2px solid #d8edf8;
  border-radius: 16px;
  background: #f9fdff;
  color: var(--ink);
  text-align: left;
}

.observation-sticker img {
  grid-area: image;
  width: 82px;
  height: 76px;
  object-fit: contain;
}

.observation-sticker span {
  grid-area: label;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
}

.observation-sticker.selected {
  border-color: #f4a300;
  box-shadow: 0 0 0 4px rgba(244, 163, 0, 0.16);
}

.observation-sticker.used {
  opacity: 0.42;
  filter: grayscale(1);
}

.observation-sticker:disabled {
  cursor: default;
}

.observation-check-row {
  justify-content: center;
}

.activity-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.footer-left,
.footer-right {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-button {
  padding: 12px 18px;
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-soft);
}

.nav-button.next {
  background: var(--ok);
  color: #fff;
  box-shadow: 0 4px 0 #1b7649;
}

.ready-card {
  padding: 36px;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow);
  text-align: center;
}

.ready-card img {
  width: min(360px, 100%);
  margin: 0 auto 20px;
  border-radius: 18px;
}

.ready-card h1 {
  margin: 0 0 10px;
  font-size: 2rem;
}

.ready-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.modal-backdrop,
.result-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 22px;
  background: rgba(13, 24, 38, 0.56);
}

.modal-backdrop.show,
.result-overlay.show {
  display: grid;
}

.modal,
.result-pop {
  width: min(520px, 100%);
  border-radius: 26px;
  background: #fff;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.24);
  animation: pop 0.2s ease;
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal {
  padding: 26px;
}

.modal h2 {
  margin: 0 0 14px;
  color: var(--yellow);
}

.modal p {
  margin: 0 0 10px;
  line-height: 1.65;
}

.modal .hint-line {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  margin: 0 0 12px;
  color: var(--ink);
  font-weight: 700;
  word-break: keep-all;
}

.modal .hint-line span {
  color: var(--blue);
  line-height: 1.65;
}

.modal .hint-line em {
  min-width: 0;
  font-style: normal;
  line-height: 1.65;
}

.modal img {
  max-height: 260px;
  object-fit: contain;
  margin: 14px auto 0;
  border-radius: 14px;
}

.modal.image-only {
  width: min(860px, calc(100vw - 32px));
  max-height: calc(100vh - 36px);
  padding: 24px;
  overflow: auto;
}

.modal.image-only img {
  width: 100%;
  max-height: min(82vh, 760px);
  margin: 4px auto 0;
  object-fit: contain;
}

.hint-page-modal {
  width: min(640px, 100%);
}

.hint-page-count {
  margin: -4px 0 14px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  font-weight: 900;
}

.hint-page-list {
  display: grid;
  gap: 12px;
}

.hint-page-card {
  --hint-page-answer-x: -8px;
  --hint-page-answer-y: 16px;
  --hint-page-answer-size: 38px;
  --hint-page-answer-font-size: 1.2rem;
  padding: 14px 16px;
  border: 2px solid #d8eafb;
  border-radius: 16px;
  background: #f8fcff;
}

.hint-page-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 1.06rem;
  line-height: 1.35;
  word-break: keep-all;
}

.hint-page-card h3 span {
  min-width: var(--hint-page-answer-size);
  height: var(--hint-page-answer-size);
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: var(--hint-page-answer-font-size);
  flex: 0 0 auto;
  transform: translate(var(--hint-page-answer-x), var(--hint-page-answer-y));
}

.hint-page-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  word-break: keep-all;
}

.hint-page-nav {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
}

.hint-page-nav button {
  min-width: 96px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.hint-page-nav button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.game-rule-modal {
  border: 5px solid #bfe8f5;
}

.game-rule-modal h2 {
  margin-bottom: 18px;
  color: #2d5fa6;
  font-size: 1.8rem;
  text-align: center;
}

.rule-list {
  margin: 0;
  padding-left: 0;
  list-style: none;
  counter-reset: rule;
}

.rule-list li {
  position: relative;
  margin: 13px 0;
  padding-left: 34px;
  color: #111;
  line-height: 1.55;
  word-break: keep-all;
}

.rule-list li::before {
  position: absolute;
  left: 0;
  top: 0.08em;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #2d5fa6;
  color: #fff;
  content: counter(rule);
  counter-increment: rule;
  font-size: 0.92rem;
  font-weight: 900;
}

.rule-list strong {
  color: #111;
}

.rule-list b {
  color: #34a987;
}

.rule-list .winner {
  color: #df5d91;
}

.rule-rps {
  display: grid;
  gap: 8px;
}

.rule-rps span {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.rule-rps img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  margin: 0;
}

.modal-close {
  float: right;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef4f8;
  color: var(--ink-soft);
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1;
}

.result-pop {
  padding: 34px 28px;
  text-align: center;
}

.result-pop strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ok);
  font-size: 2rem;
  font-weight: 900;
}

.result-pop span {
  color: var(--ink-soft);
  line-height: 1.5;
  white-space: pre-line;
}

@media (max-width: 960px) {
  .home-hero,
  .q-body,
  .water-layout {
    grid-template-columns: 1fr;
  }

  .water-layout {
    --water-drop-x: 0px;
    --water-drop-y: 17px;
    --water-drop-width: 145px;
    --water-drop-space: 78px;
  }

  .home-hero {
    max-width: 720px;
    gap: 26px;
  }

  .exhibition-grid {
    max-width: 720px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-shell {
    max-width: 760px;
  }

  .layer-match-layout {
    grid-template-columns: 1fr;
  }

  .layer-answer-panel {
    height: auto;
  }

  .layer-answer-panel .match-board {
    min-height: 520px;
  }

  .layer-media img {
    width: min(420px, 88%);
  }

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

  .ex-card {
    min-height: 0;
  }

  .climate-game-card {
    width: min(100%, calc(100vw - 28px));
    margin-left: 0;
    transform: none;
  }

  .climate-game-layout {
    grid-template-columns: 1fr;
  }

  .climate-control-panel {
    position: static;
  }

  .climate-board-canvas {
    min-width: 980px;
  }

  .super-layout,
  .forecast-map-layout,
  .observation-layout {
    grid-template-columns: 1fr;
  }

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

  .process-stage-grid {
    gap: 24px;
    padding: 28px 24px 18px;
  }

  .process-stage-2,
  .process-stage-4 {
    margin-top: 130px;
  }

  .super-main {
    min-height: 0;
  }

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

  .super-tip-panel > img {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  body {
    overflow-x: hidden;
  }

  .app-page {
    overflow-x: hidden;
  }

  .app-header-inner,
  .home-hero,
  .home-section-title,
  .exhibition-grid,
  .activity-shell {
    width: 100%;
    max-width: 100%;
    padding-left: 14px;
    padding-right: 14px;
  }

  .app-header-inner {
    justify-content: space-between;
    gap: 10px;
  }

  .progress-mini-bar {
    display: none;
  }

  .progress-mini {
    font-size: 0.8rem;
  }

  .home-hero {
    gap: 20px;
    padding-top: 24px;
  }

  .hero-copy,
  .home-section-title > *,
  .activity-title-row,
  .q-card,
  .hint-strip,
  .exhibition-grid {
    max-width: calc(100vw - 28px);
  }

  .hero-title {
    font-size: 2.15rem;
  }

  .hero-lead {
    font-size: 0.9rem;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .exhibition-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
  }

  .ex-foot {
    grid-template-columns: 1fr 38px;
    padding: 14px;
  }

  .ex-arrow {
    width: 38px;
    height: 38px;
  }

  .hint-strip {
    margin: 0 14px;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mobile-line-break {
    display: block;
  }

  .brand-button {
    font-size: 0.95rem;
  }

  .activity-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .activity-label {
    font-size: 0.92rem;
  }

  .question-nav {
    width: 100%;
    max-width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    justify-items: center;
    gap: 4px;
    overflow: visible;
  }

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

  .question-nav.ex3 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .q-dot {
    justify-self: center;
    width: 34px;
    height: 34px;
  }

  .q-card {
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    border-radius: 20px;
    width: 100%;
    max-width: 100%;
  }

  .observation-scene {
    width: min(84vw, 330px);
    margin: 0 auto;
    min-height: 0;
    border-width: 3px;
    border-radius: 20px;
  }

  .observation-title-badge {
    top: 3%;
    left: 4%;
    width: 68%;
  }

  .observation-title-badge img {
    width: 132px;
  }

  .observation-title-badge strong {
    left: 18px;
    top: 44px;
    font-size: 1.1rem;
  }

  .observation-title-badge span {
    max-width: 210px;
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .observation-question-pill {
    top: 20%;
    left: 14px;
    right: 14px;
    width: auto;
    padding: 12px 14px;
    font-size: 0.95rem;
    transform: none;
  }

  .observation-space-bg {
    top: 5%;
    right: -16%;
    width: 64%;
  }

  .observation-buoy {
    left: 34%;
    bottom: 12%;
    width: 12%;
  }

  .observation-target[data-ex3q5-target="satellite"] {
    width: 24%;
  }

  .observation-target[data-ex3q5-target="balloon"] {
    width: 9.5%;
  }

  .observation-target[data-ex3q5-target="tower"] {
    width: 12%;
  }

  .observation-target[data-ex3q5-target="radar"] {
    width: 10.5%;
  }

  .observation-target[data-ex3q5-target="ship"] {
    width: 34%;
  }

  .observation-zone-label {
    width: 62px;
    left: -18px;
    top: -24px;
  }

  .observation-sticker-panel {
    padding: 14px;
    border-radius: 18px;
  }

  .observation-sticker-grid {
    grid-template-columns: 1fr;
  }

  .observation-sticker {
    grid-template-columns: 76px 1fr;
    min-height: 84px;
  }

  .observation-sticker img {
    width: 74px;
    height: 66px;
  }

  .q-head {
    display: block;
    padding-right: 0;
  }

  .q-badge {
    margin-bottom: 10px;
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .q-title,
  .q-intro,
  .slot-question,
  .home-section-title p,
  .crumbs,
  .match-item {
    overflow-wrap: anywhere;
  }

  .q-intro,
  .slot-question,
  .home-section-title p,
  .crumbs,
  .match-item {
    word-break: normal;
  }

  .q-title {
    width: 100%;
    max-width: 100%;
    font-size: 1.2rem;
    line-height: 1.28;
    word-break: break-all;
  }

  .q-intro,
  .media-panel,
  .answer-panel {
    max-width: 100%;
  }

  .forecast-life-card .q-intro {
    font-size: 0.88rem;
    line-height: 1.45;
    word-break: break-all;
  }

  .hint-button {
    position: static;
    order: 99;
    align-self: flex-end;
    margin: 18px 0 0;
    padding: 10px 16px;
  }

  .hint-page-card {
    --hint-page-answer-x: -4px;
    --hint-page-answer-y: 0px;
    --hint-page-answer-size: 34px;
    --hint-page-answer-font-size: 1.06rem;
  }

  .rule-button {
    position: static;
    margin: 0 0 16px 8px;
    padding: 10px 16px;
  }

  .climate-game-card .q-head {
    padding-right: 0;
  }

  .options-grid {
    grid-template-columns: 1fr;
  }

  .option-button {
    min-height: 54px;
    padding: 12px 14px;
  }

  .layer-media {
    padding: 10px;
  }

  .layer-media img {
    width: min(310px, 96%);
  }

  .match-board {
    grid-template-columns: 1fr;
  }

  .match-lines,
  .match-middle {
    display: none;
  }

  .layer-answer-panel {
    margin-top: 12px;
  }

  .layer-answer-panel .match-board {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 8px;
  }

  .layer-answer-panel .match-lines {
    display: block;
  }

  .layer-answer-panel .match-middle {
    display: none;
  }

  .match-side,
  .layer-answer-panel .match-side {
    min-width: 0;
    grid-template-rows: none;
    gap: 8px;
  }

  .layer-answer-panel .match-board {
    min-height: 0;
    flex: none;
  }

  .layer-answer-panel .match-item,
  .match-item {
    min-height: 56px;
    padding: 10px 12px;
  }

  .layer-answer-panel .match-item {
    min-height: 64px;
    padding: 9px 10px;
    min-width: 0;
    font-size: 0.88rem;
  }

  .layer-answer-panel .match-item span:last-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .layer-answer-panel .match-side:first-of-type .match-item {
    justify-content: center;
    text-align: center;
  }

  .layer-answer-panel .match-side:last-of-type .match-item {
    font-size: 0.78rem;
    line-height: 1.32;
  }

  .layer-answer-panel .match-side:last-of-type .match-item span:last-child {
    word-break: break-all;
  }

  .check-row,
  .ox-check-row,
  .cloud-check-row {
    justify-content: center;
  }

  .check-button {
    width: min(230px, 100%);
  }

  .water-slot {
    grid-template-columns: 1fr;
  }

  .water-media img {
    padding: 10px;
  }

  .water-helper-strip {
    min-height: calc(var(--water-drop-space) + 22px);
    grid-template-columns: 1fr;
    text-align: center;
  }

  .water-drop {
    left: 50%;
    top: calc(var(--water-drop-space) / 2 + 10px);
    margin: 0;
  }

  .speech-card {
    grid-column: 1;
    margin-top: calc(var(--water-drop-space) + 8px);
  }

  .speech-card::before {
    display: none;
  }

  .word-tray {
    justify-content: center;
    padding: 12px;
  }

  .word-label {
    width: 100%;
    justify-content: center;
  }

  .ox-quiz-grid {
    grid-template-columns: 1fr;
  }

  .earthquake-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .earthquake-situation {
    min-height: 0;
    border-width: 3px;
    border-radius: 18px;
  }

  .earthquake-situation p {
    padding: 18px 14px 10px;
    font-size: 1.32rem;
  }

  .earthquake-quiz-card .q-intro {
    width: 100%;
    word-break: break-all;
  }

  .earthquake-image img {
    object-fit: contain;
  }

  .earthquake-actions {
    position: static;
    justify-self: center;
    width: 148px;
    margin: 0 auto 14px;
    border-width: 3px;
  }

  .earthquake-pick {
    min-height: 46px;
    font-size: 1.72rem;
  }

  .heat-toolbar {
    align-items: center;
    flex-direction: column;
    gap: 10px;
  }

  .heat-palette {
    width: 100%;
  }

  .color-swatch {
    width: 34px;
    height: 34px;
  }

  .heat-scene {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 14px 8px 180px;
  }

  .heat-ground {
    bottom: 0;
    height: 170px;
  }

  .heat-deco-red,
  .heat-deco-blue,
  .heat-tower,
  .heat-stadium {
    display: none;
  }

  .heat-speech,
  .heat-balloon-stage {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .heat-speech {
    width: min(340px, 96%);
  }

  .heat-speech-left {
    display: none;
  }

  .heat-speech-right {
    width: min(290px, 92%);
  }

  .heat-speech-bottom {
    width: min(390px, 100%);
  }

  .heat-speech span {
    font-size: 0.92rem;
    line-height: 1.2;
  }

  .heat-speech-right span {
    top: 15%;
    left: 12%;
    right: 12%;
  }

  .heat-speech-bottom span {
    top: 12%;
    font-size: 0.86rem;
    line-height: 1.18;
  }

  .heat-term-input {
    width: 70px;
    min-height: 30px;
    font-size: 0.88em;
  }

  .heat-term-input.wide {
    width: 112px;
  }

  .heat-balloon-stage {
    width: min(360px, 96%);
  }

  .climate-game-card {
    padding-left: 10px;
    padding-right: 10px;
  }

  .climate-game-layout {
    gap: 12px;
  }

  .climate-board-scroll {
    border-width: 2px;
    border-radius: 16px;
  }

  .climate-board-canvas {
    min-width: 900px;
  }

  .climate-player-token {
    width: 58px;
  }

  .climate-player-token::after {
    top: -27px;
    padding: 4px 8px 3px;
    font-size: 0.7rem;
  }

  .climate-control-panel {
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
  }

  .climate-status {
    grid-template-columns: 1fr auto;
    padding: 12px;
  }

  .climate-status strong {
    font-size: 1.45rem;
  }

  .climate-move-button {
    min-height: 96px;
    grid-template-rows: 40px auto auto;
    padding: 8px 4px;
    font-size: 0.88rem;
  }

  .climate-move-button img {
    max-width: 48px;
    max-height: 40px;
  }

  .climate-move-note {
    min-height: 46px;
    font-size: 0.86rem;
  }

  .climate-log {
    font-size: 0.76rem;
  }

  .ox-board-wrap {
    --ox-card-border-width: 5px;
    --ox-slot-x: 0px;
    --ox-slot-y: -3px;
    --ox-slot-width: 30.4%;
    --ox-slot-height: 5.7%;
    --ox-slot-padding-x: 3%;
    --ox-slot-padding-y: 0.45%;
    max-width: 100%;
  }

  .ox-board-slot {
    gap: 4px;
    border-radius: 10px;
  }

  .weather-ox-pick {
    min-height: 24px;
  }

  .weather-ox-pick img {
    width: min(24px, 62%);
  }

  .cloud-board {
    display: none;
  }

  .cloud-mobile-panel {
    display: grid;
    gap: 16px;
  }

  .cloud-mobile-reference {
    overflow: hidden;
    border-radius: 14px;
    background: #f7fbff;
    border: 2px solid #d8eafb;
    box-shadow: var(--shadow-soft);
  }

  .cloud-mobile-reference summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    color: var(--blue);
    font-weight: 900;
    list-style: none;
    cursor: pointer;
  }

  .cloud-mobile-reference summary::-webkit-details-marker {
    display: none;
  }

  .cloud-mobile-reference summary::before {
    content: "☁";
    margin-right: 8px;
    color: #2f8fcb;
  }

  .cloud-mobile-reference summary::after {
    content: "⌄";
    margin-left: auto;
    color: var(--blue);
    font-size: 1.1rem;
  }

  .cloud-mobile-reference[open] summary::after {
    transform: rotate(180deg);
  }

  .cloud-mobile-reference img {
    width: 100%;
    height: auto;
  }

  .cloud-mobile-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cloud-mobile-answer {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    border: 2px solid #d8eafb;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .cloud-mobile-answer > * {
    min-width: 0;
  }

  .cloud-mobile-answer.correct {
    border-color: var(--ok);
    background: #edf9f2;
  }

  .cloud-mobile-answer.wrong {
    border-color: var(--bad);
    background: #fff1f1;
  }

  .cloud-mobile-answer-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: center;
  }

  .cloud-mobile-answer-head strong {
    color: var(--blue);
    font-size: 0.96rem;
    font-weight: 900;
    white-space: nowrap;
  }

  .cloud-mobile-answer-head span {
    height: 6px;
    overflow: hidden;
    border-radius: 999px;
    background: #e4edf8;
  }

  .cloud-mobile-answer-head i {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #2f6fb3;
  }

  .cloud-mobile-question {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 4px 8px 2px;
  }

  .cloud-mobile-question img {
    width: 96px;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: var(--shadow-soft);
  }

  .cloud-mobile-question p {
    margin: 0;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.45;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .cloud-mobile-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .cloud-mobile-options button {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 2px solid #d8e4f2;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    font-weight: 900;
    text-align: center;
    box-shadow: 0 2px 6px rgba(31, 58, 95, 0.08);
  }

  .cloud-mobile-options button span {
    justify-self: center;
  }

  .cloud-mobile-options button b {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--ok);
    color: #fff;
    font-size: 0.75rem;
    line-height: 1;
  }

  .cloud-mobile-options button.selected {
    color: #1d8c53;
    border-color: var(--ok);
    background: #f2fbf6;
  }

  .cloud-mobile-options button.wrong {
    color: var(--bad);
    border-color: var(--bad);
    background: #fff6f6;
  }

  .cloud-mobile-next {
    justify-self: center;
    min-width: 138px;
    min-height: 44px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--blue);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 4px 0 #1f548c;
  }

  .forecast-life-scene {
    display: none;
  }

  .forecast-life-mobile-list {
    display: grid;
    gap: 12px;
    width: min(320px, calc(100vw - 58px));
    max-width: min(320px, calc(100vw - 58px));
    margin: 0 auto;
  }

  .life-mobile-card {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 10px;
    border-radius: 18px;
    overflow: hidden;
  }

  .life-mobile-thumb {
    min-height: 118px;
    background-size: 500px auto;
  }

  .life-mobile-speech {
    min-width: 0;
    min-height: 0;
    padding: 0;
  }

  .life-mobile-speech strong {
    font-size: 1.5rem;
    min-width: 0;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .life-mobile-speech span {
    display: none;
  }

  .forecast-life-banner span {
    width: min(94%, 760px);
    font-size: 0.86rem;
    line-height: 1.2;
    letter-spacing: 0;
  }

  .life-index-actions button {
    min-height: 44px;
    padding: 7px 5px;
    gap: 4px;
  }

  .life-index-actions button img {
    width: 21px;
    height: 21px;
  }

  .life-index-actions {
    gap: 4px;
  }

  .life-index-actions.mobile-inline {
    width: min(272px, 100%);
    max-width: 272px;
    min-width: 0;
    margin: 0 auto;
    gap: 6px;
  }

  .life-index-actions.mobile-inline button {
    min-width: 0;
  }

  .super-reference-stage {
    width: min(100%, calc(100vw - 28px));
    max-width: min(100%, calc(100vw - 28px));
    border-radius: 0;
  }

  .super-reference-choice button img {
    width: min(76%, 50px);
  }

  .super-main {
    padding: 0;
    border-radius: 0;
  }

  .super-sheet {
    width: min(100%, calc(100vw - 28px));
    border-radius: 16px;
  }

  .super-sheet-board {
    padding: 18px 10px 20px;
  }

  .super-sheet-board h2 {
    margin-bottom: 14px;
    font-size: 1.35rem;
  }

  .super-sheet-row {
    grid-template-columns: 30px minmax(0, 1fr) 98px;
    gap: 7px;
    min-height: 72px;
    padding: 9px 8px;
    border-width: 2px;
    border-radius: 10px;
    box-shadow: 4px 5px 0 rgba(0, 0, 0, 0.22);
  }

  .super-sheet-number {
    width: 26px;
    height: 26px;
    font-size: 0.95rem;
  }

  .super-sheet-row p {
    font-size: 0.86rem;
    line-height: 1.28;
  }

  .super-sheet-choices {
    min-height: 48px;
  }

  .super-sheet-choices button {
    font-size: 2.35rem;
  }

  .super-sheet-circuit {
    height: 30px;
    margin: 12px 14px 0;
  }

  .super-sheet-tip {
    width: min(92%, 340px);
    padding: 14px 0 10px;
  }

  .super-tip-badge {
    width: 72px;
    left: 8px;
    top: -10px;
  }

  .super-tip-info {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 18px 14px 14px;
    border-width: 4px;
  }

  .super-tip-term {
    min-height: 42px;
    font-size: 1rem;
  }

  .super-tip-info p {
    font-size: 0.8rem;
    line-height: 1.45;
    text-align: center;
  }

  .super-question-title {
    width: min(220px, 100%);
    padding: 8px 12px;
    font-size: 1rem;
    margin-bottom: 12px;
  }

  .supercomputer-card .q-head {
    display: block;
    min-height: 0;
    padding: 0 0 18px;
  }

  .supercomputer-card .q-badge {
    margin-bottom: 10px;
    transform: none;
  }

  .supercomputer-card .q-title {
    font-size: 1.2rem;
    line-height: 1.28;
    text-align: left;
    word-break: keep-all;
  }

  .supercomputer-card .q-intro {
    margin-top: 12px;
    padding-right: 0;
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .super-quiz-row {
    grid-template-columns: 1fr;
    gap: 10px;
    width: calc(100% - 28px);
    max-width: 100%;
    padding: 12px 10px;
    border-width: 3px;
    box-shadow: 3px 4px 0 rgba(0, 0, 0, 0.18);
  }

  .super-quiz-row p {
    font-size: 1rem;
    text-align: center;
    line-height: 1.28;
  }

  .super-ox-buttons {
    width: min(190px, 100%);
    max-width: 190px;
    margin: 0 auto;
  }

  .super-ox-buttons img {
    width: 48px;
    height: 48px;
  }

  .super-ox-buttons .ox-sep {
    height: 56px;
  }

  .super-tip-panel {
    grid-template-columns: 1fr;
  }

  .forecast-map-card {
    /* 3전시관 3번 모바일 전용 글자 크기 */
    --map-question-mobile-font-size: 1.2rem;
    --report-question-mobile-font-size: 1.2rem;
    --map-question-box-height: 64px;
    --map-question-font-size: var(--map-question-mobile-font-size);
    --report-question-box-height: 64px;
    --report-question-font-size: var(--report-question-mobile-font-size);
  }

  .forecast-section-banner {
    min-height: var(--forecast-banner-height);
  }

  .forecast-section-banner span {
    line-height: 1.16;
  }

  .map-toggle-row {
    grid-template-columns: 1fr;
  }

  .forecast-report-box {
    padding: 18px;
  }

  .forecast-report-box p {
    font-size: 0.98rem;
  }

  .report-choice-group {
    display: flex;
    margin-top: 6px;
  }

  .forecast-process-board {
    width: min(430px, 100%);
    border-radius: 16px;
    padding: 8px 8px 14px;
  }

  .forecast-process-card {
    /* 3전시관 4번 모바일 보기 버튼 조절 */
    --process-choice-box-width: 100%;
    --process-choice-box-height: 34px;
    --process-choice-slot-height: 34px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-button-x: 0px;
    --process-choice-button-y: 0px;
    --process-choice-font-size: 0.78rem;
    --process-choice-gap: 6px;
  }

  .process-stage-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px 12px 16px;
  }

  .process-card-list {
    gap: 10px;
  }

  .process-choice-card {
    --process-card-media-column: 126px;
    --process-card-gap: 12px;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    padding: 10px;
    border-radius: 16px;
  }

  .process-choice-card.process-stage-1 {
    /* 모바일 1단계 카드/이미지/보기 위치와 크기 */
    --process-card-x: 0px;
    --process-card-y: 0px;
    --process-card-width: 100%;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    --process-card-image-x: 0px;
    --process-card-image-y: 15px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-box-width: 100%;
    --process-choice-box-height: 30px;
  }

  .process-choice-card.process-stage-2 {
    /* 모바일 2단계 카드/이미지/보기 위치와 크기 */
    --process-card-x: 0px;
    --process-card-y: 0px;
    --process-card-width: 100%;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    --process-card-image-x: 0px;
    --process-card-image-y: 15px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-box-width: 100%;
    --process-choice-box-height: 30px;
  }

  .process-choice-card.process-stage-3 {
    /* 모바일 3단계 카드/이미지/보기 위치와 크기 */
    --process-card-x: 0px;
    --process-card-y: 0px;
    --process-card-width: 100%;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    --process-card-image-x: 0px;
    --process-card-image-y: 15px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-box-width: 100%;
    --process-choice-box-height: 30px;
  }

  .process-choice-card.process-stage-4 {
    /* 모바일 4단계 카드/이미지/보기 위치와 크기 */
    --process-card-x: 0px;
    --process-card-y: 0px;
    --process-card-width: 100%;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    --process-card-image-x: 0px;
    --process-card-image-y: 15px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-box-width: 100%;
    --process-choice-box-height: 30px;
  }

  .process-choice-card.process-stage-5 {
    /* 모바일 5단계 카드/이미지/보기 위치와 크기 */
    --process-card-x: 0px;
    --process-card-y: 0px;
    --process-card-width: 100%;
    --process-card-min-height: 120px;
    --process-card-image-width: 110px;
    --process-card-image-height: 100px;
    --process-card-image-x: 0px;
    --process-card-image-y: 15px;
    --process-choice-group-x: 0px;
    --process-choice-group-y: 0px;
    --process-choice-box-width: 100%;
    --process-choice-box-height: 30px;
  }

  .process-card-media {
    min-height: 106px;
  }

  .process-card-media .process-stage-image {
    width: var(--process-card-image-width);
    height: var(--process-card-image-height);
  }

  .process-step-badge {
    min-height: 24px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.76rem;
  }

  .process-card-copy {
    gap: 5px;
  }

  .process-card-copy h2 {
    font-size: 1.1rem;
  }

  .process-card-copy p {
    font-size: 0.74rem;
    line-height: 1.34;
  }

  .process-card-copy .process-stage-picker,
  .process-choice-card > .process-stage-picker {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .process-choice-card > .process-stage-picker {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 2px;
  }

  .process-card-copy .process-stage-picker button,
  .process-choice-card > .process-stage-picker button {
    width: var(--process-choice-box-width);
    height: var(--process-choice-box-height);
    font-size: var(--process-choice-font-size);
  }

  .process-stage-2,
  .process-stage-4,
  .process-stage-5 {
    grid-column: auto;
    margin-top: 0;
  }

  .process-answer-entry {
    width: 106%;
    margin-top: -70px;
  }

  .process-stage {
    padding: 8px;
  }

  .process-stage-visual,
  .process-stage-1,
  .process-stage-2,
  .process-stage-3,
  .process-stage-4,
  .process-stage-5 {
    --process-image-width: 70%;
  }

  .process-stage-picker {
    padding: 9px;
  }

  .process-choice-card > .process-stage-picker {
    padding: 0;
  }

  .process-stage-picker > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .process-stage-picker button {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 0.84rem;
  }

  .process-letter-cells span {
    font-size: 1.35rem;
  }

  .process-stage-description {
    --process-text-left: 8%;
    --process-text-right: 8%;
    --process-text-bottom: 6%;
    font-size: 1rem;
    line-height: 1.45;
  }

  .activity-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-left,
  .footer-right {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
  }

  .nav-button {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    font-size: 0.92rem;
  }
}

@media (max-width: 520px) {
  .app-header-inner,
  .home-hero,
  .home-section-title,
  .exhibition-grid,
  .activity-shell {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero-copy,
  .home-section-title > *,
  .activity-title-row,
  .q-card,
  .hint-strip,
  .exhibition-grid {
    max-width: calc(100vw - 20px);
  }

  .question-nav {
    width: 100%;
  }

  .q-dot {
    width: 32px;
    height: 32px;
  }

  .q-card {
    padding: 16px 12px;
  }

  .layer-answer-panel .match-board {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: 6px;
  }

  .layer-answer-panel .match-item {
    min-height: 60px;
    padding: 8px;
    font-size: 0.82rem;
  }

  .layer-answer-panel .match-side:last-of-type .match-item {
    font-size: 0.7rem;
    line-height: 1.28;
  }

  .earthquake-situation p {
    padding-bottom: 10px;
    font-size: 1.15rem;
  }

  .earthquake-actions {
    width: 328px;
    gap: 6px;
    padding: 6px;
  }

  .earthquake-pick {
    min-height: 42px;
    font-size: 3rem;
  }

  .supercomputer-card .q-head {
    padding: 0 0 16px;
  }

  .supercomputer-card .q-title {
    font-size: 1.2rem;
  }

  .supercomputer-card .q-intro {
    font-size: 1rem;
    line-height: 1.7;
  }

  .heat-scene {
    padding-bottom: 150px;
  }

  .heat-ground {
    height: 145px;
  }

  .heat-balloon-stage {
    width: min(330px, 98%);
  }

  .heat-speech span {
    font-size: 2rem;
  }

  .heat-speech-bottom span {
    font-size: 1.5rem;
  }

  .heat-term-input {
    width: 64px;
    min-height: 28px;
    border-width: 2px;
  }

  .heat-term-input.wide {
    width: 100px;
  }

  .climate-board-canvas {
    min-width: 820px;
  }

  .climate-player-token {
    width: 54px;
  }

  .climate-player-token::after {
    top: -25px;
    font-size: 0.66rem;
  }

  .climate-move-grid {
    gap: 6px;
  }

  .climate-move-button {
    min-height: 86px;
    border-radius: 14px;
    font-size: 0.78rem;
  }

  .climate-move-button img {
    max-width: 42px;
    max-height: 36px;
  }

  .climate-control-actions {
    --climate-action-x: 0px;
    --climate-action-width: 100%;
    --climate-action-align: stretch;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .climate-control-actions.single {
    grid-template-columns: 1fr;
  }

}

/* 2전시관 2번 최종 레이아웃 오버라이드 */
.heat-island-card {
  width: min(1180px, calc(100vw - 40px));
  margin-left: 50%;
  overflow: visible;
  background: linear-gradient(180deg, #f4fbff 0%, #eef9ff 100%);
  transform: translateX(-50%);
}

.heat-island-card .q-head {
  align-items: center;
  margin-bottom: 16px;
}

.heat-workspace {
  display: grid;
  grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.9fr);
  grid-template-areas:
    "questions art"
    "actions art";
  gap: 16px 18px;
  align-items: start;
}

.heat-question-panel {
  grid-area: questions;
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 2px solid #cfe1f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.heat-situation-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 0 20px;
  border-bottom: 1px dashed #cfddeb;
}

.heat-situation-card:first-child {
  padding-top: 4px;
}

.heat-situation-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.heat-situation-card.wrong,
.heat-situation-card.correct {
  margin: -8px;
  padding: 18px 8px 20px;
  border-radius: 14px;
}

.heat-situation-card.wrong {
  border: 2px solid #ee86aa;
  background: #fff0f6;
}

.heat-situation-card.correct {
  border: 2px solid #2aa86b;
  background: #f0fbf5;
}

.heat-situation-label {
  justify-self: start;
  min-width: 62px;
  padding: 6px 12px 5px;
  border-radius: 999px;
  color: #fff;
  background: #1976d2;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
}

.heat-situation-card.green .heat-situation-label {
  background: #2aa86b;
}

.heat-prompt-bubble {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 64px;
  padding: 8px 14px 8px 8px;
  border: 2px solid #d4e2f3;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 4px 10px rgba(31, 77, 126, 0.08);
}

.heat-prompt-bubble img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.heat-prompt-bubble strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.28;
  word-break: keep-all;
}

.heat-prompt-bubble strong em {
  color: #2aa86b;
  font-style: normal;
}

.heat-question-line {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
}

.heat-question-line span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: #1976d2;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
}

.heat-situation-card.green .heat-question-line span {
  background: #2aa86b;
}

.heat-question-line p {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}

.heat-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px 12px;
}

.heat-choice {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border: 2px solid #dbe5ef;
  border-radius: 8px;
  background: #fff;
  color: #111;
  font-size: 0.93rem;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 2px 7px rgba(31, 77, 126, 0.04);
}

.heat-choice span {
  width: 16px;
  height: 16px;
  border: 2px solid #cbd5e1;
  border-radius: 999px;
}

.heat-choice.selected {
  border-color: #2f80ed;
  background: #eff6ff;
}

.heat-choice.selected span {
  border-color: #2f80ed;
  background: radial-gradient(circle, #2f80ed 0 42%, #fff 45% 100%);
}

.heat-situation-card.green .heat-choice.selected,
.heat-choice.correct {
  border-color: #2aa86b;
  background: #effaf3;
}

.heat-situation-card.green .heat-choice.selected span {
  border-color: #2aa86b;
  background: radial-gradient(circle, #2aa86b 0 42%, #fff 45% 100%);
}

.heat-choice.wrong {
  border-color: #ee86aa;
  background: #fff0f6;
}

.heat-art-stack {
  grid-area: art;
  display: grid;
  gap: 14px;
}

.heat-coloring-card {
  overflow: hidden;
  border: 2px solid #cfe1f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.heat-coloring-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
  border-bottom: 2px solid #e5edf6;
}

.heat-coloring-head strong {
  color: var(--ink);
  font-weight: 900;
}

.heat-scene {
  position: relative;
  display: block;
  min-height: 480px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
  isolation: isolate;
}

.heat-deco {
  position: absolute;
  z-index: 2;
  display: block;
  pointer-events: none;
  user-select: none;
}

.heat-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.heat-deco-red {
  left: 5%;
  top: 22%;
  width: 72px;
}

.heat-deco-blue {
  right: 16%;
  top: 37%;
  width: 78px;
  height: auto;
}

.heat-tower {
  right: 4%;
  top: 9%;
  bottom: auto;
  width: 118px;
}

.heat-stadium {
  left: 2%;
  bottom: 8%;
  width: 250px;
}

.heat-balloon-stage {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 49%;
  width: min(330px, 46%);
  aspect-ratio: 1000 / 1301;
  transform: translate(-50%, -50%);
}

.heat-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 14px 18px;
  border: 2px solid #d8e6f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.heat-toolbar-title {
  width: 100%;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 900;
}

.heat-palette {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 11px;
  align-items: center;
  justify-content: flex-start;
}

.color-swatch {
  width: 38px;
  height: 38px;
}

.heat-reset-button.mini {
  min-height: 34px;
  padding: 6px 12px;
  font-size: 0.82rem;
}

.heat-answer-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 14px;
  align-self: start;
}

.heat-answer-actions .check-button,
.heat-answer-actions .heat-reset-button {
  width: 100%;
  min-height: 48px;
}

.heat-island-card .feedback {
  margin-top: 16px;
}

@media (max-width: 680px) {
  .heat-island-card {
    width: 100%;
    margin-left: 0;
    border-radius: 20px;
    transform: none;
  }

  .heat-island-card .q-head {
    margin-bottom: 12px;
  }

  .heat-workspace {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .heat-question-panel {
    order: 0;
    gap: 12px;
    padding: 10px;
    border-radius: 14px;
  }

  .heat-situation-card,
  .heat-situation-card.correct,
  .heat-situation-card.wrong {
    gap: 9px;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
  }

  .heat-situation-card:not(.correct):not(.wrong) {
    border: 1px solid #d5e6f7;
  }

  .heat-situation-label {
    min-width: 52px;
    padding: 5px 9px 4px;
    font-size: 0.72rem;
  }

  .heat-prompt-bubble {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 48px;
    padding: 6px 10px 6px 6px;
  }

  .heat-prompt-bubble img {
    width: 40px;
    height: 40px;
  }

  .heat-prompt-bubble strong {
    font-size: 0.86rem;
  }

  .heat-question-line {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 6px;
  }

  .heat-question-line span {
    width: 22px;
    height: 22px;
    font-size: 0.78rem;
  }

  .heat-question-line p {
    font-size: 0.8rem;
    line-height: 1.38;
  }

  .heat-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .heat-choice {
    display: flex;
    justify-content: center;
    min-height: 34px;
    padding: 6px 4px;
    font-size: 0.72rem;
    text-align: center;
  }

  .heat-choice span {
    display: none;
  }

  .heat-art-stack {
    order: 1;
    gap: 10px;
  }

  .heat-coloring-card {
    border-color: #f0bfd0;
  }

  .heat-coloring-head {
    min-height: 42px;
    padding: 8px 10px;
  }

  .heat-coloring-head strong {
    font-size: 0.82rem;
  }

  .heat-scene {
    display: block;
    min-height: 0;
    aspect-ratio: 1.32 / 0.82;
    padding: 0;
  }

  .heat-deco-red {
    left: 4%;
    top: 16%;
    width: 38px;
  }

  .heat-deco-blue {
    right: 21%;
    top: 46%;
    width: 42px;
  }

  .heat-tower {
    right: 5%;
    top: 12%;
    width: 58px;
  }

  .heat-stadium {
    left: 4%;
    bottom: 6%;
    width: 106px;
  }

  .heat-balloon-stage {
    left: 53%;
    top: 49%;
    width: 43%;
  }

  .heat-toolbar {
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
  }

  .heat-toolbar-title {
    font-size: 0.78rem;
  }

  .heat-palette {
    gap: 7px;
  }

  .color-swatch {
    width: 22px;
    height: 22px;
    border-width: 2px;
  }

  .heat-toolbar > .heat-reset-button {
    margin-left: auto;
  }

  .heat-answer-actions {
    order: 2;
    display: block;
  }

  .heat-answer-actions .answer-reset {
    display: none;
  }

  .heat-answer-actions .check-button {
    min-height: 48px;
    width: 100%;
    border-radius: 10px;
  }
}

@media (max-width: 520px) {
  .heat-choice {
    font-size: 0.68rem;
  }

  .heat-reset-button.mini {
    min-height: 30px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }
}

@media (max-width: 680px) {
  .heat-island-card {
    width: min(420px, calc(100vw - 16px));
    padding: 18px 10px 16px;
    border-radius: 18px;
  }

  .heat-workspace {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .heat-question-panel,
  .heat-art-stack,
  .heat-answer-actions {
    grid-column: auto;
    grid-row: auto;
  }

  .heat-question-panel {
    gap: 12px;
  }

  .heat-situation-card {
    gap: 10px;
    padding: 18px 10px 12px;
    border-radius: 12px;
  }

  .heat-situation-label {
    left: 10px;
    min-width: 56px;
    padding: 5px 8px 4px;
    font-size: 0.7rem;
  }

  .heat-prompt-bubble {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 50px;
    margin: 8px 10px 0 42px;
    padding: 6px 10px 6px 6px;
  }

  .heat-prompt-bubble img {
    width: 42px;
    height: 42px;
  }

  .heat-prompt-bubble strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .heat-question-line {
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 7px;
  }

  .heat-question-line span {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .heat-question-line p {
    font-size: 0.74rem;
    line-height: 1.32;
  }

  .heat-choice-grid,
  .heat-situation-card.green .heat-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .heat-choice {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 34px;
    padding: 7px 4px;
    font-size: 0.68rem;
    text-align: center;
  }

  .heat-choice span {
    display: none;
  }

  .heat-art-stack {
    gap: 10px;
  }

  .heat-coloring-head {
    min-height: 42px;
    padding: 8px 10px;
  }

  .heat-coloring-head strong {
    font-size: 0.78rem;
  }

  .heat-reset-button.mini {
    min-height: 28px;
    padding: 5px 9px;
    font-size: 0.68rem;
  }

  .heat-scene {
    display: block;
    aspect-ratio: 1.2 / 1;
    min-height: 0;
    padding: 0;
    background: #fff;
  }

  .heat-deco-red,
  .heat-deco-blue,
  .heat-tower,
  .heat-stadium {
    display: block;
  }

  .heat-deco-red {
    left: 4%;
    top: 22%;
    width: 45px;
  }

  .heat-deco-blue {
    right: 14%;
    bottom: 33%;
    width: 48px;
  }

  .heat-tower {
    right: 2%;
    bottom: 9%;
    width: 72px;
  }

  .heat-stadium {
    left: 1%;
    bottom: 7%;
    width: 108px;
  }

  .heat-balloon-stage {
    position: absolute;
    left: 52%;
    top: 50%;
    width: 44%;
    transform: translate(-50%, -50%);
  }

  .heat-toolbar {
    align-items: stretch;
    flex-direction: row;
    gap: 7px;
    padding: 10px;
    border-radius: 12px;
  }

  .heat-toolbar-title {
    font-size: 0.76rem;
  }

  .heat-palette {
    width: auto;
    gap: 6px;
  }

  .color-swatch {
    width: 23px;
    height: 23px;
    border-width: 2px;
  }

  .color-swatch.selected {
    box-shadow: 0 0 0 3px var(--yellow), var(--shadow-soft);
  }

  .heat-answer-actions {
    grid-template-columns: 1fr;
  }

  .heat-answer-actions .check-button,
  .heat-answer-actions .heat-reset-button {
    min-height: 48px;
  }
}

@media (max-width: 520px) {
  .heat-island-card .q-title {
    font-size: 1.32rem;
  }

  .heat-island-card .q-intro {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .heat-choice {
    font-size: 0.64rem;
  }
}

@media (max-width: 680px) {
  .heat-workspace {
    display: flex;
    flex-direction: column;
  }

  .heat-answer-actions {
    order: 2;
    display: block;
  }

  .heat-answer-actions .answer-reset {
    display: none;
  }

  .heat-answer-actions .check-button {
    width: 100%;
    border-radius: 10px;
  }

  .heat-toolbar > .heat-reset-button {
    margin-left: auto;
  }
}

/* 2전시관 2번 최종 위치 보정 */
.heat-deco-red {
  top: 22%;
  bottom: auto;
}

.heat-deco-blue {
  top: auto;
  bottom: 31%;
}

.heat-tower {
  top: auto;
  bottom: 9%;
}

.heat-stadium {
  top: auto;
  bottom: 7%;
}

@media (max-width: 680px) {
  .heat-workspace {
    display: flex;
    flex-direction: column;
  }

  .heat-question-panel {
    order: 0;
    padding: 10px;
    border: 2px solid #cfe1f4;
    border-radius: 14px;
    background: #fff;
  }

  .heat-art-stack {
    order: 1;
  }

  .heat-answer-actions {
    order: 2;
    display: block;
  }

  .heat-answer-actions .answer-reset {
    display: none;
  }

  .heat-answer-actions .check-button {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
  }

  .heat-deco-red {
    top: 22%;
    bottom: auto;
  }

  .heat-deco-blue {
    top: auto;
    bottom: 33%;
  }

  .heat-tower {
    top: auto;
    bottom: 9%;
  }

  .heat-stadium {
    top: auto;
    bottom: 7%;
  }
}

/* 2전시관 2번 카드형 선택 + 색칠판 최종 보정 */
.heat-island-card {
  width: min(1180px, calc(100vw - 40px));
  padding: 28px 30px 30px;
}

.heat-island-card .hint-button {
  right: 28px;
  top: 26px;
}

.heat-workspace {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  grid-template-areas:
    "questions art"
    "actions art";
  gap: 16px 20px;
  align-items: start;
}

.heat-question-panel {
  grid-area: questions;
  display: grid;
  gap: 18px;
  padding: 16px;
  border: 2px solid #cfe1f4;
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.heat-situation-card {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px dashed #cfddeb;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.heat-situation-card:first-child {
  padding-top: 0;
}

.heat-situation-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.heat-situation-card.wrong,
.heat-situation-card.correct {
  margin: -8px;
  padding: 12px 8px 18px;
  border-radius: 14px;
  box-shadow: none;
}

.heat-situation-card.wrong {
  border: 2px solid #ee86aa;
  background: #fff0f6;
}

.heat-situation-card.correct {
  border: 2px solid #2aa86b;
  background: #f0fbf5;
}

.heat-situation-label {
  position: static;
  left: auto;
  top: auto;
  justify-self: start;
  min-width: 62px;
  padding: 6px 12px 5px;
  border-radius: 999px;
  background: #1976d2;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  box-shadow: none;
}

.heat-situation-card.green .heat-situation-label {
  background: #2aa86b;
}

.heat-prompt-bubble {
  margin: 0;
}

.heat-art-stack {
  grid-area: art;
}

.heat-scene {
  min-height: 480px;
  aspect-ratio: auto;
}

.heat-balloon-stage {
  left: 50%;
  top: 49%;
  width: min(330px, 46%);
}

.heat-answer-actions {
  grid-area: actions;
}

@media (max-width: 680px) {
  .heat-island-card {
    width: min(430px, calc(100vw - 16px));
    padding: 16px 10px 14px;
    border-radius: 18px;
  }

  .heat-island-card .hint-button {
    position: static;
    order: 99;
    align-self: flex-end;
    margin: 18px 0 0;
    padding: 9px 13px;
    font-size: 0.82rem;
  }

  .heat-island-card .q-head {
    padding-right: 0;
  }

  .heat-workspace {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .heat-question-panel {
    order: 0;
    gap: 12px;
    padding: 10px;
  }

  .heat-situation-card,
  .heat-situation-card.correct,
  .heat-situation-card.wrong {
    gap: 10px;
    margin: 0;
    padding: 10px;
    border-radius: 12px;
  }

  .heat-situation-card {
    border: 2px solid #cfe1f4;
    background: #fff;
  }

  .heat-situation-card.green {
    border-color: #ccebd5;
  }

  .heat-situation-card.wrong {
    border-color: #ee86aa;
    background: #fff0f6;
  }

  .heat-situation-card.correct {
    border-color: #2aa86b;
    background: #f0fbf5;
  }

  .heat-situation-label {
    min-width: 52px;
    padding: 5px 9px 4px;
    font-size: 0.72rem;
  }

  .heat-prompt-bubble {
    grid-template-columns: 42px minmax(0, 1fr);
    min-height: 50px;
    padding: 6px 10px 6px 6px;
  }

  .heat-prompt-bubble img {
    width: 42px;
    height: 42px;
  }

  .heat-prompt-bubble strong {
    font-size: 0.82rem;
    line-height: 1.25;
  }

  .heat-question-line {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 7px;
  }

  .heat-question-line span {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .heat-question-line p {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .heat-choice-grid,
  .heat-situation-card.green .heat-choice-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .heat-choice {
    display: flex;
    justify-content: center;
    min-height: 34px;
    padding: 7px 4px;
    font-size: 0.68rem;
    text-align: center;
  }

  .heat-choice span {
    display: none;
  }

  .heat-art-stack {
    order: 1;
    width: 100%;
    gap: 10px;
  }

  .heat-coloring-card {
    border-color: #f0bfd0;
  }

  .heat-coloring-head {
    min-height: 42px;
    padding: 8px 10px;
  }

  .heat-coloring-head strong {
    font-size: 0.8rem;
  }

  .heat-scene {
    min-height: 0;
    aspect-ratio: 1.2 / 1;
  }

  .heat-deco-red {
    left: 4%;
    top: 22%;
    width: 45px;
  }

  .heat-deco-blue {
    right: 14%;
    top: auto;
    bottom: 33%;
    width: 48px;
  }

  .heat-tower {
    right: 2%;
    top: auto;
    bottom: 9%;
    width: 72px;
  }

  .heat-stadium {
    left: 1%;
    top: auto;
    bottom: 7%;
    width: 108px;
  }

  .heat-balloon-stage {
    left: 52%;
    top: 50%;
    width: 44%;
  }

  .heat-toolbar {
    gap: 7px;
    padding: 10px;
    border-radius: 12px;
  }

  .heat-toolbar-title {
    font-size: 0.76rem;
  }

  .heat-palette {
    gap: 6px;
  }

  .heat-answer-actions {
    order: 2;
    display: block;
    width: 100%;
  }

  .heat-answer-actions .answer-reset {
    display: none;
  }

  .heat-answer-actions .check-button {
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
  }
}

/* 2전시관 2번 색칠판 배경/에셋 최종 보정 */
.heat-scene-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.heat-deco-red {
  left: 8%;
  top: 24%;
  bottom: auto;
  width: 10%;
}

.heat-deco-blue {
  right: 18%;
  top: 39%;
  bottom: auto;
  width: 8%;
}

.heat-tower {
  right: 5%;
  top: 9%;
  bottom: auto;
  width: 14%;
}

.heat-stadium {
  left: 2%;
  top: auto;
  bottom: 8%;
  width: 31%;
}

.heat-balloon-stage {
  left: 50%;
  top: 48%;
  width: min(335px, 44%);
}

@media (max-width: 680px) {
  .heat-deco-red {
    left: 7%;
    top: 24%;
    bottom: auto;
    width: 11%;
  }

  .heat-deco-blue {
    right: 18%;
    top: 39%;
    bottom: auto;
    width: 9%;
  }

  .heat-tower {
    right: 5%;
    top: 10%;
    bottom: auto;
    width: 15%;
  }

  .heat-stadium {
    left: 2%;
    top: auto;
    bottom: 7%;
    width: 32%;
  }

  .heat-balloon-stage {
    left: 50%;
    top: 49%;
    width: 43%;
  }
}

/* 2전시관 2번 가독성/상단/배경 최종 보정 */
.heat-island-card .q-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 0 20px;
  padding-right: 100px;
}

.heat-island-card .q-badge {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 15px;
  font-size: 0.95rem;
}

.heat-island-card .q-title {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.3;
}

.heat-island-card .q-intro {
  margin-top: 8px;
  font-size: 1rem;
  line-height: 1.7;
}

.heat-prompt-bubble strong {
  font-size: 1.12rem;
  line-height: 1.32;
}

.heat-question-line p {
  font-size: 1.06rem;
  line-height: 1.4;
}

.heat-choice {
  min-height: 44px;
  font-size: 1.2rem;
}

.heat-scene-bg {
  object-fit: cover;
  object-position: center;
}

@media (max-width: 680px) {
  .heat-island-card .q-head {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    padding-right: 0;
  }

  .heat-island-card .q-badge {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    border-radius: 13px;
    font-size: 0.86rem;
  }

  .heat-island-card .q-title {
    font-size: 1.42rem;
    line-height: 1.24;
    word-break: keep-all;
  }

  .heat-island-card .q-intro {
    margin-top: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .heat-prompt-bubble strong {
    font-size: 0.96rem;
    line-height: 1.3;
  }

  .heat-question-line p {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .heat-choice-grid,
  .heat-situation-card.green .heat-choice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .heat-choice {
    min-height: 40px;
    padding: 8px 6px;
    font-size: 0.86rem;
  }

  .heat-scene {
    aspect-ratio: 605.58 / 515.08;
  }
}

@media (max-width: 520px) {
  .heat-island-card .q-title {
    font-size: 1.28rem;
  }

  .heat-island-card .q-intro {
    font-size: 0.82rem;
  }

  .heat-prompt-bubble strong {
    font-size: 0.9rem;
  }

  .heat-question-line p {
    font-size: 0.86rem;
  }

  .heat-choice {
    font-size: 0.82rem;
  }
}

@media (max-width: 680px) {
  .q-card > .hint-button,
  .heat-island-card > .hint-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    order: initial;
    align-self: auto;
    margin: 0;
  }
}

@media (max-width: 680px) {
  .q-card .hint-button,
  .heat-island-card .hint-button {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 30;
    order: initial;
    align-self: auto;
    margin: 0;
    padding: 9px 15px;
  }

  .q-card .q-head,
  .heat-island-card .q-head {
    padding-right: 86px;
  }
}

/* 2전시관 2번 텍스트 가독성 최종 보정 */
.heat-choice {
  font-weight: 800;
}

.heat-situation-card.blue .heat-prompt-bubble strong em {
  color: #1976d2;
  font-style: normal;
}

@media (max-width: 680px) {
  .heat-question-panel {
    align-self: center;
    justify-items: center;
    width: 100%;
  }

  .heat-situation-card {
    width: 100%;
  }
}

@media (max-width: 520px) {
  .heat-choice {
    font-size: 1.3rem;
  }

  .heat-question-line p {
    font-size: 0.9rem;
  }

  .heat-prompt-bubble strong {
    font-size: 1.31rem;
  }
}

@media (max-width: 680px) {
  .heat-deco-red,
  .heat-deco-blue,
  .heat-tower,
  .heat-stadium {
    display: none;
  }

  .heat-scene {
    aspect-ratio: 1 / 1;
  }

  .heat-balloon-stage {
    left: 50%;
    top: 50%;
    width: min(268px, 70%);
  }
}

/* 2전시관 3번: 주사위 보드게임 리뉴얼 */
.climate-game-card {
  background: linear-gradient(180deg, #eef9ff 0%, #f8fcff 100%);
}

.climate-game-layout {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.climate-board-canvas {
  min-width: 0;
  aspect-ratio: 1214.61 / 629.22;
}

.climate-board-image {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: contain;
}

.climate-map-toggle,
.climate-mobile-step {
  display: none;
}

.climate-dice-button {
  display: grid;
  gap: 8px;
  place-items: center;
  min-height: 88px;
  width: 100%;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(180deg, #1887e0 0%, #0d66c3 100%);
  color: #fff;
  box-shadow: 0 12px 22px rgba(18, 102, 195, 0.26);
  font-weight: 900;
}

.climate-dice-button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.climate-dice-button span {
  font-size: 1.35rem;
  line-height: 1;
}

.climate-dice-button strong {
  font-size: 0.95rem;
  line-height: 1;
}

.climate-dice-status {
  grid-template-columns: 1fr;
}

.climate-dice-status div {
  justify-items: center;
}

.climate-dice-status img {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.climate-sticker-challenge {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 3px solid #24a367;
  border-radius: 22px;
  background: #f1fff8;
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.14);
}

.climate-sticker-challenge > span {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e0f8ec;
  color: #178050;
  font-weight: 900;
}

.climate-sticker-challenge p {
  margin: 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.35;
  word-break: keep-all;
}

.climate-sticker-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.climate-sticker-actions button {
  display: grid;
  gap: 6px;
  place-items: center;
  min-height: 104px;
  padding: 8px;
  border: 2px solid #d5eaf6;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.climate-sticker-actions img {
  max-width: 72px;
  max-height: 54px;
  object-fit: contain;
}

.climate-sticker-actions strong {
  font-size: 0.86rem;
  line-height: 1.15;
}

@media (max-width: 680px) {
  .climate-game-card {
    width: min(420px, calc(100vw - 16px));
    padding: 14px;
  }

  .climate-game-layout {
    grid-template-columns: 1fr;
  }

  .climate-mobile-step {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
    padding: 14px;
    border: 2px solid #d7ecfb;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--shadow-soft);
  }

  .climate-mobile-step > div {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
  }

  .climate-mobile-step span {
    color: var(--ink-soft);
    font-size: 0.86rem;
    font-weight: 900;
  }

  .climate-mobile-step strong {
    grid-column: 1;
    color: var(--pink);
    font-size: 1.65rem;
    line-height: 1;
  }

  .climate-mobile-step em {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--blue);
    font-size: 0.92rem;
    font-style: normal;
    font-weight: 900;
  }

  .climate-mobile-step img {
    width: min(230px, 72%);
    max-height: 156px;
    object-fit: contain;
    justify-self: center;
  }

  .climate-mobile-step button,
  .climate-map-toggle {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    padding: 0 16px;
    border: 2px solid #cfe0f6;
    border-radius: 999px;
    background: #fff;
    color: var(--blue);
    font-weight: 900;
    box-shadow: var(--shadow-soft);
  }

  .climate-board-panel {
    display: none;
  }

  .climate-board-panel.open {
    display: grid;
    gap: 10px;
  }

  .climate-board-canvas {
    min-width: 820px;
  }

  .climate-board-scroll {
    max-height: 58vh;
  }

  .climate-control-panel {
    position: static;
    order: -1;
  }

  .climate-dice-button {
    min-height: 76px;
  }

  .climate-dice-button span {
    font-size: 1.18rem;
  }

  .climate-dice-status img {
    width: 62px;
    height: 62px;
  }

  .climate-sticker-actions {
    grid-template-columns: 1fr;
  }

  .climate-sticker-actions button {
    min-height: 82px;
    grid-template-columns: 74px 1fr;
    text-align: left;
  }
}

/* 2전시관 3번: 칸별 카드 보드 최종형 */
.climate-card-redesign {
  width: min(1240px, calc(100vw - 32px));
  background: linear-gradient(180deg, #effaff 0%, #fffdf6 100%);
}

.climate-game-layout-redesign {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.climate-path-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.climate-path-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border: 2px solid #d7eaf6;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.climate-path-toolbar strong {
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 900;
}

.climate-map-toggle {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 2px solid #cfe0f6;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  box-shadow: var(--shadow-soft);
  font-weight: 900;
}

.climate-path-scroll {
  overflow: auto;
  padding: 14px;
  border: 3px solid rgba(47, 111, 179, 0.12);
  border-radius: 24px;
  background: #dff4ff;
  box-shadow: var(--shadow-soft);
  scrollbar-color: #55b7df #e8f7ff;
  scrollbar-width: thin;
}

.climate-path-board {
  display: grid;
  grid-template-columns: repeat(6, minmax(110px, 1fr));
  gap: 12px;
  min-width: 760px;
}

.climate-board-cell {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 142px;
  padding: 10px;
  border: 3px solid #d7e8f4;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 16px rgba(24, 54, 87, 0.08);
  transition: transform 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.climate-board-cell.passed {
  background: #f1fff7;
  border-color: #9fe0bd;
}

.climate-board-cell.current {
  z-index: 3;
  border-color: #f4a300;
  box-shadow:
    0 0 0 6px rgba(255, 216, 112, 0.55),
    0 16px 28px rgba(244, 163, 0, 0.24);
  transform: translateY(-4px) scale(1.02);
}

.climate-board-cell.sticker-cell {
  border-color: #77cf9a;
}

.climate-board-cell.ox-cell {
  border-color: #ef8fb4;
}

.climate-cell-number {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 2;
  display: inline-grid;
  place-items: center;
  min-width: 34px;
  height: 28px;
  padding: 0 9px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 0.86rem;
  font-weight: 900;
  line-height: 1;
}

.climate-cell-badge {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 2;
  padding: 5px 8px 4px;
  border-radius: 999px;
  background: #fff6d8;
  color: #d56a00;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
}

.climate-board-cell.ox-cell .climate-cell-badge {
  background: #fff0f7;
  color: var(--pink);
}

.climate-board-cell.sticker-cell .climate-cell-badge {
  background: #e9fff2;
  color: #168456;
}

.climate-cell-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 112px;
  padding-top: 24px;
}

.climate-cell-art > img:not(.climate-cell-token):not(.climate-cell-sticker) {
  max-width: 100%;
  max-height: 96px;
  object-fit: contain;
}

.climate-cell-token {
  position: absolute;
  left: 50%;
  bottom: -10px;
  z-index: 4;
  width: 54px;
  filter: drop-shadow(0 8px 12px rgba(24, 54, 87, 0.32));
  transform: translateX(-50%);
  animation: climate-token-bob 1.05s ease-in-out infinite;
}

.climate-cell-sticker {
  position: absolute;
  right: -2px;
  bottom: -4px;
  z-index: 3;
  width: 42px;
  height: 42px;
  object-fit: contain;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 6px 12px rgba(24, 54, 87, 0.18);
}

.climate-control-redesign {
  position: sticky;
  top: 74px;
}

.climate-mobile-step-redesign {
  display: none;
}

.climate-mobile-step-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 170px;
  border-radius: 18px;
  background: #f2fbff;
}

.climate-mobile-step-art > img:not(.climate-mobile-token) {
  max-width: 76%;
  max-height: 150px;
  object-fit: contain;
}

.climate-mobile-token {
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 62px;
  filter: drop-shadow(0 8px 12px rgba(24, 54, 87, 0.28));
  transform: translateX(-50%);
}

@media (max-width: 680px) {
  .climate-card-redesign {
    width: min(430px, calc(100vw - 14px));
    padding: 14px;
  }

  .climate-game-layout-redesign {
    grid-template-columns: 1fr;
  }

  .climate-mobile-step-redesign {
    display: grid;
  }

  .climate-mobile-step-head {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 10px;
    align-items: center;
  }

  .climate-mobile-step-head span {
    color: var(--ink-soft);
    font-size: 0.9rem;
    font-weight: 900;
  }

  .climate-mobile-step-head strong {
    grid-column: 1;
    color: var(--pink);
    font-size: 1.75rem;
    line-height: 1;
  }

  .climate-mobile-step-head em {
    grid-row: 1 / span 2;
    grid-column: 2;
    color: var(--blue);
    font-size: 0.95rem;
    font-style: normal;
    font-weight: 900;
  }

  .climate-path-panel {
    display: none;
  }

  .climate-path-panel.open {
    display: grid;
  }

  .climate-path-toolbar {
    display: none;
  }

  .climate-path-scroll {
    max-height: 58vh;
    padding: 10px;
    border-radius: 18px;
  }

  .climate-path-board {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
    min-width: 0;
    gap: 8px;
  }

  .climate-board-cell {
    min-height: 118px;
    padding: 8px;
    border-radius: 16px;
  }

  .climate-cell-number {
    min-width: 30px;
    height: 24px;
    font-size: 0.76rem;
  }

  .climate-cell-badge {
    padding: 4px 6px 3px;
    font-size: 0.64rem;
  }

  .climate-cell-art {
    min-height: 92px;
  }

  .climate-cell-art > img:not(.climate-cell-token):not(.climate-cell-sticker) {
    max-height: 78px;
  }

  .climate-cell-token {
    width: 44px;
  }

  .climate-control-redesign {
    position: static;
    order: 0;
  }
}

/* 2전시관 3번: 이미지 칸 제거, 카드형 규칙 단순화 */
.climate-card-redesign .climate-path-toolbar {
  display: none;
}

.climate-card-redesign .climate-path-panel {
  gap: 0;
}

.climate-card-redesign .climate-path-scroll {
  background:
    radial-gradient(circle at 16% 16%, rgba(255, 255, 255, 0.95) 0 7%, transparent 8%),
    linear-gradient(180deg, #e7f8ff 0%, #f6fff4 100%);
}

.climate-card-redesign .climate-board-cell {
  min-height: 132px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.92));
}

.climate-card-redesign .climate-board-cell.sticker-cell {
  background: linear-gradient(180deg, #f0fff7 0%, #ffffff 100%);
}

.climate-card-redesign .climate-board-cell.ox-cell {
  background: linear-gradient(180deg, #fff3f8 0%, #ffffff 100%);
}

.climate-card-redesign .climate-cell-art {
  min-height: 104px;
  padding: 34px 6px 18px;
  text-align: center;
}

.climate-card-redesign .climate-cell-art strong {
  color: var(--ink);
  font-size: clamp(1.28rem, 1.42vw, 1.65rem);
  font-weight: 900;
  line-height: 1;
}

.climate-card-redesign .climate-cell-art small {
  display: block;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 0.88rem;
  font-weight: 900;
  line-height: 1.22;
  word-break: keep-all;
}

.climate-card-redesign .climate-board-cell.current .climate-cell-art strong {
  color: #d56a00;
}

.climate-mobile-step-redesign .climate-mobile-step-art {
  background:
    linear-gradient(180deg, #ffffff 0%, #f2fbff 100%);
  border: 3px solid #d8eaf7;
}

.climate-mobile-step-redesign .climate-mobile-step-art strong {
  color: var(--pink);
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1;
}

.climate-mobile-step-redesign .climate-mobile-step-art span {
  margin-top: 8px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 900;
}

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

.climate-sticker-actions button {
  min-height: 120px;
}

.climate-sticker-actions img {
  max-width: 88px;
  max-height: 64px;
}

@media (max-width: 680px) {
  .climate-card-redesign .climate-path-panel {
    display: none;
  }

  .climate-card-redesign .climate-path-panel.open {
    display: grid;
  }

  .climate-card-redesign .climate-path-board {
    grid-template-columns: repeat(3, minmax(92px, 1fr));
  }

  .climate-card-redesign .climate-cell-art {
    min-height: 88px;
    padding: 30px 4px 14px;
  }

  .climate-card-redesign .climate-cell-art strong {
    font-size: 1.18rem;
  }

  .climate-card-redesign .climate-cell-art small {
    font-size: 0.72rem;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art strong {
    font-size: 3.6rem;
  }

  .climate-sticker-actions {
    grid-template-columns: 1fr;
  }
}

/* 2전시관 3번: 한 칸 이동형 보드게임 */
.climate-card-v2 .climate-path-board {
  grid-template-columns: repeat(6, minmax(96px, 1fr));
  gap: 10px;
}

.climate-card-v2 .climate-board-cell {
  order: var(--climate-cell-order);
  min-height: 118px;
  padding: 10px;
  border-radius: 18px;
}

.climate-card-v2 .climate-cell-number {
  display: none;
}

.climate-card-v2 .climate-cell-badge {
  right: 9px;
  top: 9px;
  padding: 6px 9px 5px;
  font-size: 0.72rem;
}

.climate-card-v2 .climate-cell-art {
  min-height: 92px;
  padding: 26px 4px 12px;
}

.climate-card-v2 .climate-cell-art strong {
  font-size: clamp(1.75rem, 2vw, 2.2rem);
}

.climate-card-v2 .climate-cell-art small {
  color: #1e7cc4;
  font-size: 0.8rem;
}

.climate-card-v2 .quiz-cell {
  border-color: #9ed0f4;
}

.climate-card-v2 .ox-cell {
  border-color: #ef8fb4;
}

.climate-card-v2 .sticker-cell {
  border-color: #77cf9a;
}

.climate-card-v2 .resolved {
  background: #eefbf4;
  border-color: #24a367;
}

.climate-card-v2 .current.hopping .climate-cell-token,
.climate-mobile-step-art.hopping .climate-mobile-token {
  animation: climate-token-hop 0.52s cubic-bezier(0.22, 1.1, 0.36, 1);
}

@keyframes climate-token-hop {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  38% {
    transform: translateX(-50%) translateY(-24px) scale(1.08) rotate(-6deg);
  }
  70% {
    transform: translateX(-50%) translateY(-7px) scale(1.03) rotate(4deg);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.climate-step-button span {
  font-size: 1.28rem;
}

.climate-step-status {
  grid-template-columns: 1fr;
}

.climate-quiz-challenge {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 3px solid #6eb9ee;
  border-radius: 22px;
  background: #f3fbff;
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.14);
}

.climate-quiz-challenge > span {
  justify-self: start;
  padding: 6px 12px;
  border-radius: 999px;
  background: #e4f4ff;
  color: #1b74d1;
  font-weight: 900;
}

.climate-quiz-challenge p {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.34;
  word-break: keep-all;
}

.climate-quiz-hint {
  padding: 9px 11px;
  border-radius: 12px;
  background: #fff8db;
  color: #6e5210;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.35;
  word-break: keep-all;
}

.climate-quiz-actions {
  display: grid;
  gap: 8px;
}

.climate-quiz-actions button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 9px 11px;
  border: 2px solid #d5eaf6;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: var(--shadow-soft);
}

.climate-quiz-actions b {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: #2f7fd8;
  color: #fff;
  font-size: 0.94rem;
}

.climate-quiz-actions span {
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.28;
  word-break: keep-all;
}

.climate-sticker-drop {
  display: grid;
  place-items: center;
  min-height: 76px;
  padding: 12px;
  border: 3px dashed #95d9b1;
  border-radius: 18px;
  background: #fff;
  color: #168456;
  font-weight: 900;
  text-align: center;
}

.climate-sticker-drop.over {
  background: #e9fff2;
  border-color: #24a367;
  box-shadow: 0 0 0 5px rgba(36, 163, 103, 0.14);
}

@media (max-width: 680px) {
  .climate-card-v2 .climate-path-board {
    grid-template-columns: repeat(3, minmax(86px, 1fr));
    gap: 8px;
  }

  .climate-card-v2 .climate-board-cell {
    order: var(--climate-cell-mobile-order);
    min-height: 104px;
    border-radius: 15px;
  }

  .climate-card-v2 .climate-cell-art {
    min-height: 78px;
    padding: 24px 2px 10px;
  }

  .climate-card-v2 .climate-cell-art strong {
    font-size: 1.55rem;
  }

  .climate-card-v2 .climate-cell-art small {
    font-size: 0.7rem;
  }

  .climate-card-v2 .climate-cell-token {
    width: 34px;
    bottom: -7px;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art {
    min-height: 150px;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art strong {
    font-size: 3rem;
  }

  .climate-mobile-token {
    width: 44px;
    bottom: 2px;
  }

  .climate-quiz-challenge,
  .climate-sticker-challenge,
  .climate-ox-challenge {
    padding: 14px;
    border-radius: 18px;
  }

  .climate-quiz-challenge p,
  .climate-sticker-challenge p,
  .climate-ox-challenge p {
    font-size: 1rem;
  }

  .climate-quiz-actions button {
    min-height: 48px;
  }

  .climate-quiz-actions span {
    font-size: 0.86rem;
  }
}

/* 2전시관 3번 보드게임: 카드 배경/말 위치 최종 조정 */
.climate-card-v2 .quiz-cell {
  background: url("assets/climate-card-bg-quiz.svg") center / cover no-repeat, #fff;
}

.climate-card-v2 .ox-cell {
  background: url("assets/climate-card-bg-ox.svg") center / cover no-repeat, #fff;
}

.climate-card-v2 .sticker-cell {
  background: url("assets/climate-card-bg-sticker.svg") center / cover no-repeat, #fff;
}

.climate-card-v2 .climate-board-cell.current {
  box-shadow:
    0 0 0 4px rgba(255, 186, 36, 0.48),
    0 16px 28px rgba(29, 73, 128, 0.18);
}

.climate-card-v2 .climate-cell-token {
  right: auto;
  left: 20%;
  bottom: -8px;
  width: auto;
  max-width: 58px;
  max-height: 82px;
  margin: 0;
  transform: translateX(-50%);
  transform-origin: center bottom;
}

.climate-card-v2 .climate-cell-badge {
  right: 10px;
  top: 10px;
}

@media (max-width: 680px) {
  .climate-card-v2 .climate-control-redesign .climate-status {
    display: none;
  }

  .climate-card-v2 .climate-cell-token {
    bottom: 5px;
    max-width: 42px;
    max-height: 58px;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art {
    display: flex;
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 178px;
    padding: 18px 116px 18px 18px;
    overflow: hidden;
  }

  .climate-mobile-step-redesign .climate-mobile-cell-label {
    margin: 0;
    color: var(--pink);
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1;
    text-align: left;
  }

  .climate-mobile-step-redesign .climate-mobile-cell-desc {
    margin-top: 8px;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.2;
    text-align: left;
  }

  .climate-mobile-step-redesign .climate-mobile-type-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    margin: 0;
    padding: 7px 11px 6px;
    border-radius: 999px;
    background: #1f86de;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 6px 12px rgba(31, 134, 222, 0.24);
  }

  .climate-mobile-token {
    right: 107px;
    bottom: 12px;
    left: auto;
    width: auto;
    max-width: 94px;
    max-height: 125px;
    transform: none;
    transform-origin: center bottom;
  }

  .climate-mobile-step-art.hopping .climate-mobile-token {
    animation: climate-mobile-token-hop 0.52s cubic-bezier(0.22, 1.1, 0.36, 1);
  }
}

@keyframes climate-mobile-token-hop {
  0% {
    transform: translateY(0) scale(1);
  }
  38% {
    transform: translateY(-24px) scale(1.08) rotate(-6deg);
  }
  70% {
    transform: translateY(-7px) scale(1.03) rotate(4deg);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* 2전시관 3번: 카드 배경 가시성/모바일 현재 카드 보강 */
.climate-card-v2 .climate-move-grid {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
}

.climate-card-v2 .climate-step-button {
  width: 100%;
}

.climate-card-v2 .quiz-cell {
  background-image: url("assets/climate-card-bg-quiz.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.climate-card-v2 .ox-cell {
  background-image: url("assets/climate-card-bg-ox.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.climate-card-v2 .sticker-cell {
  background-image: url("assets/climate-card-bg-sticker.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

.climate-card-v2 .climate-board-cell {
  background-color: transparent;
  border-color: transparent;
}

.climate-card-v2 .climate-cell-art {
  position: relative;
  z-index: 1;
}

.climate-card-v2 .climate-sticker-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.climate-card-v2 .climate-sticker-actions button {
  min-height: 112px;
}

@media (max-width: 680px) {
  .climate-card-v2 .climate-move-grid {
    grid-template-columns: minmax(0, 270px);
    justify-content: center;
    justify-items: center;
  }

  .climate-card-v2 .climate-step-button {
    justify-self: center;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art.quiz-cell {
    background-image: url("assets/climate-card-bg-quiz.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-color: transparent;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art.ox-cell {
    background-image: url("assets/climate-card-bg-ox.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-color: transparent;
  }

  .climate-mobile-step-redesign .climate-mobile-step-art.sticker-cell {
    background-image: url("assets/climate-card-bg-sticker.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border-color: transparent;
  }

  .climate-card-v2 .climate-sticker-actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .climate-card-v2 .climate-sticker-actions button {
    min-height: 88px;
    padding: 8px 4px;
  }

  .climate-card-v2 .climate-sticker-actions img {
    max-width: 54px;
    max-height: 46px;
  }

  .climate-card-v2 .climate-sticker-actions strong {
    font-size: 0.72rem;
    line-height: 1.15;
  }
}

/* 보드게임 말 이동 기준: 카드 중앙에서 카드 중앙으로 */
.climate-card-v2 .climate-cell-token {
  right: auto;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
}

.climate-mobile-token {
  right: auto;
  left: 50%;
  transform: translateX(-50%);
}

.climate-card-v2 .current.hopping .climate-cell-token,
.climate-mobile-step-art.hopping .climate-mobile-token {
  animation: climate-token-hop-center 0.52s cubic-bezier(0.22, 1.1, 0.36, 1);
}

@keyframes climate-token-hop-center {
  0% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
  38% {
    transform: translateX(-50%) translateY(-24px) scale(1.08) rotate(-6deg);
  }
  70% {
    transform: translateX(-50%) translateY(-7px) scale(1.03) rotate(4deg);
  }
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

/* 3전시관 3번: 등압선/기압 스티커 */
.weather-drawing-canvas {
  cursor: crosshair;
}

.weather-map-stage.over {
  box-shadow:
    inset 0 0 0 4px rgba(47, 111, 179, 0.24),
    var(--shadow-soft);
}

.drawn-isobar {
  border-color: #111;
  border-left-color: transparent;
}

.weather-pressure-sticker {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  width: clamp(38px, 8vw, 58px);
  height: clamp(38px, 8vw, 58px);
  border: 4px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1;
  transform: translate(-50%, -50%);
  box-shadow: 0 10px 22px rgba(20, 42, 72, 0.28);
  pointer-events: none;
}

.weather-pressure-sticker.low {
  background: #e64343;
}

.weather-pressure-sticker.high {
  background: #2d7ee8;
}

.pressure-sticker-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 150px));
  justify-content: center;
  gap: 10px;
}

.pressure-sticker-choice {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 56px;
  padding: 8px 12px;
  border: 2px solid #d7e7f2;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-weight: 900;
  box-shadow: var(--shadow-soft);
}

.pressure-sticker-choice span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  line-height: 1;
}

.pressure-sticker-choice.low span {
  background: #e64343;
}

.pressure-sticker-choice.high span {
  background: #2d7ee8;
}

.pressure-sticker-choice.selected {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 111, 179, 0.16), var(--shadow-soft);
}

@media (max-width: 680px) {
  .climate-mobile-token {
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

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

  .pressure-sticker-choice {
    min-height: 52px;
    padding: 7px 9px;
  }
}

/* 보드게임 말 위치 보정: 안쪽 글자 영역이 아니라 카드 자체의 중앙 기준 */
.climate-card-v2 .climate-board-cell {
  position: relative;
}

.climate-card-v2 .climate-cell-art {
  position: static;
}

.climate-card-v2 .climate-cell-art strong,
.climate-card-v2 .climate-cell-art small {
  position: relative;
  z-index: 2;
}

.climate-card-v2 .climate-cell-token {
  position: absolute;
  z-index: 5;
  right: auto;
  left: 50%;
  bottom: 8px;
  width: auto;
  max-width: 58px;
  max-height: 82px;
  transform: translateX(-50%);
  transform-origin: center bottom;
}

@media (max-width: 680px) {
  .climate-card-v2 .climate-cell-token {
    left: 50%;
    bottom: 7px;
    max-width: 42px;
    max-height: 58px;
    transform: translateX(-50%);
  }
}

/* 보드게임 말은 카드 직속 레이어, 스티커 보기는 이미지만 표시 */
.climate-card-v2 {
  --climate-token-left: 50%;
  --climate-token-bottom: 8px;
  --climate-token-max-width: 58px;
  --climate-token-max-height: 82px;
  --climate-token-translate-x: -50%;
}

.climate-card-v2 .climate-board-cell > .climate-cell-token {
  position: absolute;
  z-index: 8;
  right: auto;
  left: var(--climate-token-left);
  bottom: var(--climate-token-bottom);
  display: block;
  width: auto;
  max-width: var(--climate-token-max-width);
  max-height: var(--climate-token-max-height);
  margin: 0;
  transform: translateX(var(--climate-token-translate-x));
  transform-origin: center bottom;
  animation: none;
  pointer-events: none;
}

.climate-card-v2 .climate-sticker-actions strong {
  display: none;
}

.climate-card-v2 .climate-sticker-actions button {
  place-items: center;
}

.climate-card-v2 .climate-sticker-actions img {
  max-width: 78px;
  max-height: 78px;
}

@media (max-width: 680px) {
  .activity-footer .footer-right {
    order: 1;
  }

  .activity-footer .footer-left {
    order: 2;
  }

  .climate-card-v2 {
    --climate-token-left: 50%;
    --climate-token-bottom: 7px;
    --climate-token-max-width: 42px;
    --climate-token-max-height: 58px;
    --climate-token-translate-x: -50%;
  }

  .climate-card-v2 .climate-board-cell > .climate-cell-token {
    left: var(--climate-token-left);
    bottom: var(--climate-token-bottom);
    max-width: var(--climate-token-max-width);
    max-height: var(--climate-token-max-height);
    transform: translateX(var(--climate-token-translate-x));
  }

  .climate-card-v2 .climate-sticker-actions img {
    max-width: 58px;
    max-height: 58px;
  }
}

.climate-card-v2 .climate-sticker-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 12px;
  border-radius: 14px;
  background: #fff8db;
  color: #6e5210;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  white-space: pre-line;
  word-break: keep-all;
}

/* Font system */
.hero-title {
  font-family: var(--font-main-title);
  font-weight: 700;
}

.q-title,
.answer-title,
.home-section-title h2,
.super-question-title,
.forecast-life-banner span,
.process-title-band,
.observation-title-badge strong {
  font-family: var(--font-question-title);
  font-weight: 800;
}

body,
p,
.q-intro,
.hero-lead,
.home-section-title p,
.hint-strip p,
.modal p,
.modal .hint-line,
.feedback,
.result-pop span,
.climate-quiz-hint,
.climate-move-note,
.climate-log,
.ex-card-progress,
.ex-progress-row {
  font-family: var(--font-body);
  font-weight: 500;
}

button,
button *,
input,
.primary-button,
.ghost-button,
.check-button,
.nav-button,
.hint-button,
.rule-button,
.option-button,
.layer-layer-button,
.layer-description-button,
.match-item,
.word-chip,
.weather-ox-pick,
.earthquake-pick,
.heat-choice,
.color-swatch,
.cloud-mobile-options button,
.life-index-actions button,
.super-reference-choice button,
.super-sheet-choices button,
.super-ox-buttons button,
.report-choice-group button,
.process-stage-picker button,
.process-choice-card button,
.observation-sticker,
.pressure-sticker-choice,
.climate-step-button,
.climate-quiz-actions button,
.climate-ox-actions button,
.climate-sticker-actions button {
  font-family: var(--font-button);
  font-weight: 700;
}
