:root {
  color-scheme: light;
  --paper: #f7f1df;
  --paper-deep: #eee4cb;
  --cream: #fffaf0;
  --white: #fffef9;
  --ink: #263b32;
  --ink-soft: #5e6f65;
  --forest: #315f4c;
  --forest-deep: #234a3a;
  --leaf: #70a780;
  --leaf-light: #b9d59e;
  --apricot: #efb06b;
  --coral: #de775e;
  --sun: #f0c95c;
  --sky: #8bc9d8;
  --sky-soft: #d8eef0;
  --rose: #e7aaa0;
  --left-hand: #e98c70;
  --right-hand: #4d98aa;
  --line: rgba(49, 95, 76, .18);
  --shadow-soft: 0 18px 50px rgba(67, 75, 54, .11);
  --shadow-card: 0 11px 0 rgba(49, 95, 76, .08), 0 18px 36px rgba(67, 75, 54, .12);
  --radius-xl: 42px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --content: 1240px;
  --font-round: "Arial Rounded MT Bold", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-body: "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 7%, rgba(255, 255, 255, .9) 0 8%, transparent 23%),
    radial-gradient(circle at 91% 18%, rgba(185, 213, 158, .24) 0 9%, transparent 25%),
    var(--paper);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .24;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  pointer-events: none;
  content: "";
}

button,
select {
  color: inherit;
  font: inherit;
}

button,
a,
select,
[tabindex] {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

button:not(:disabled),
select:not(:disabled) {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 4px solid #1c6d80;
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 11px 16px;
  border-radius: 12px;
  color: white;
  background: var(--forest-deep);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform .18s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100%, calc(var(--content) + 72px));
  min-height: 82px;
  margin: 0 auto;
  padding: 14px 36px;
  background: rgba(247, 241, 223, .88);
  border-bottom: 1px solid rgba(49, 95, 76, .12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 0;
  text-align: left;
  background: transparent;
}

.brand-mark {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 17px 17px 19px 18px;
  color: var(--forest-deep);
  background: var(--apricot);
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .28), 0 4px 0 rgba(49, 95, 76, .14);
  font-family: var(--font-round);
  font-size: 21px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.brand-mark::before {
  position: absolute;
  top: -9px;
  right: 2px;
  width: 19px;
  height: 13px;
  border: 2px solid var(--forest);
  border-radius: 100% 0 100% 0;
  background: var(--leaf);
  content: "";
  transform: rotate(-17deg);
}

.brand-mark span {
  transform: rotate(3deg);
}

.brand-copy {
  display: grid;
  line-height: 1.12;
}

.brand-copy strong {
  font-family: var(--font-round);
  font-size: 20px;
  letter-spacing: -.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .03em;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.icon-button,
.parent-button,
.listen-button,
.round-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 254, 249, .78);
  font-size: 14px;
  font-weight: 800;
  transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
}

.icon-button:hover,
.parent-button:hover,
.listen-button:hover,
.round-button:hover {
  background: var(--white);
  box-shadow: 0 7px 18px rgba(49, 95, 76, .1);
  transform: translateY(-2px);
}

.icon-button {
  padding: 0 13px;
}

.icon-button svg,
.parent-button svg,
.listen-button svg,
.round-button svg {
  width: 21px;
  height: 21px;
  overflow: visible;
  fill: var(--forest);
  stroke: var(--forest);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.icon-button[aria-pressed="false"] .sound-wave {
  display: none;
}

.icon-button[aria-pressed="false"]::after {
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: rotate(-42deg);
}

.icon-button[aria-pressed="false"] {
  position: relative;
}

.parent-button {
  padding: 0 17px;
  color: white;
  border-color: var(--forest);
  background: var(--forest);
}

.parent-button svg {
  fill: white;
  stroke: none;
}

.parent-button:hover {
  color: white;
  background: var(--forest-deep);
}

main {
  display: block;
  width: 100%;
}

.screen {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--forest);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}

.eyebrow-light {
  color: #d8e8cf;
}

.hero-shell {
  position: relative;
  min-height: 625px;
  margin-top: 8px;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 76, .18);
  border-radius: 48px 48px 34px 34px;
  background: #fbf5df;
  box-shadow: var(--shadow-soft);
  isolation: isolate;
}

.hero-shell::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 250, 233, .99) 0%, rgba(255, 250, 233, .95) 32%, rgba(255, 250, 233, .45) 49%, transparent 67%);
  content: "";
  pointer-events: none;
}

.hero-shell::after {
  position: absolute;
  right: 37%;
  bottom: -35px;
  z-index: 2;
  width: 82px;
  height: 82px;
  border-radius: 42% 58% 52% 48%;
  opacity: .85;
  background: var(--paper);
  content: "";
  transform: rotate(28deg);
}

.hero-copy {
  position: relative;
  z-index: 3;
  width: 53%;
  max-width: 610px;
  padding: 78px 0 64px 70px;
}

.hero-copy .eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
}

.hero-copy .eyebrow > span {
  display: inline-block;
  width: 12px;
  height: 16px;
  border-radius: 70% 0 70% 30%;
  background: var(--leaf);
  transform: rotate(35deg);
}

.hero-copy h1 {
  max-width: 590px;
  margin: 0;
  font-family: var(--font-round);
  font-size: clamp(48px, 5.1vw, 72px);
  line-height: 1.12;
  letter-spacing: -.065em;
}

.hero-copy h1 em {
  position: relative;
  color: var(--forest);
  font-style: normal;
  white-space: nowrap;
}

.hero-copy h1 em::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 10px;
  opacity: .65;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 12'%3E%3Cpath d='M3 8c29-6 58 3 88-1 27-4 57-3 86 0' fill='none' stroke='%23efb06b' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  content: "";
}

.hero-lead {
  max-width: 520px;
  margin: 28px 0 22px;
  color: #53655c;
  font-size: 18px;
  font-weight: 650;
  line-height: 1.75;
  word-break: keep-all;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 29px;
}

.trust-pills span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border: 1px solid rgba(49, 95, 76, .16);
  border-radius: 9px 12px 10px 13px;
  color: var(--forest-deep);
  background: rgba(255, 255, 255, .62);
  font-size: 12px;
  font-weight: 850;
}

.trust-pills i {
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--leaf);
  font-size: 11px;
  font-style: normal;
}

.hero-actions,
.finish-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 11px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 16px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}

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

.button:active {
  transform: translateY(1px);
}

.button-large {
  min-height: 58px;
  padding: 0 25px;
  border-radius: 19px;
  font-size: 16px;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.5;
}

.button-primary {
  color: white;
  background: var(--forest);
  box-shadow: 0 6px 0 #1f4737, 0 14px 24px rgba(35, 74, 58, .18);
}

.button-primary:hover {
  background: #38715a;
  box-shadow: 0 7px 0 #1f4737, 0 17px 28px rgba(35, 74, 58, .2);
}

.button-quiet {
  color: var(--forest-deep);
  border-color: rgba(49, 95, 76, .23);
  background: rgba(255, 254, 249, .68);
}

.button-outline {
  color: var(--forest-deep);
  border-color: var(--forest);
  background: transparent;
}

.button-ink {
  color: var(--paper);
  background: var(--ink);
  box-shadow: 0 5px 0 #142a21;
}

.button-paper {
  color: var(--forest-deep);
  background: var(--paper);
  box-shadow: 0 5px 0 rgba(15, 41, 31, .28);
}

.button-danger {
  min-height: 46px;
  color: #8b3227;
  border-color: #ca6c5e;
  background: #fff4f1;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 750;
}

.tiny-leaf {
  display: inline-block;
  width: 10px;
  height: 14px;
  border-radius: 80% 0 80% 20%;
  background: var(--leaf);
  transform: rotate(35deg);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("assets/hangul-forest-hero.jpg") 50% 50% / cover no-repeat;
}

.today-strip {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(260px, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: calc(100% - 64px);
  min-height: 114px;
  margin: -30px auto 0;
  padding: 20px 28px;
  border: 1px solid rgba(49, 95, 76, .19);
  border-radius: 22px 28px 24px 20px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.today-heading {
  display: flex;
  align-items: center;
  gap: 15px;
}

.seed-icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 57px;
  height: 57px;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 48% 52% 46% 54%;
  background: var(--apricot);
  transform: rotate(-6deg);
}

.seed-icon::after {
  position: absolute;
  top: -9px;
  right: -1px;
  width: 21px;
  height: 14px;
  border: 2px solid var(--forest);
  border-radius: 100% 0;
  background: var(--leaf-light);
  content: "";
  transform: rotate(-18deg);
}

.seed-icon::before {
  width: 18px;
  height: 11px;
  border: solid var(--forest-deep);
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 9px;
  content: "";
  transform: rotate(-45deg);
}

.today-heading small {
  display: block;
  margin-bottom: 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
}

.today-heading strong {
  display: block;
  font-family: var(--font-round);
  font-size: 17px;
  letter-spacing: -.03em;
}

.today-strip > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  word-break: keep-all;
}

.text-button {
  min-height: 44px;
  padding: 0;
  color: var(--forest);
  background: transparent;
  font-weight: 900;
  white-space: nowrap;
}

.text-button span {
  display: inline-block;
  margin-left: 5px;
  transition: transform .16s ease;
}

.text-button:hover span {
  transform: translateX(4px);
}

.mascot-section {
  display: grid;
  grid-template-columns: minmax(300px, .78fr) minmax(0, 1.22fr);
  max-width: 1080px;
  align-items: center;
  gap: 46px;
  margin: 76px auto 0;
  padding: 28px 38px 28px 28px;
  border: 1px solid rgba(49, 95, 76, .19);
  border-radius: 35px 47px 37px 45px;
  background:
    radial-gradient(circle at 96% 8%, rgba(139, 201, 216, .26), transparent 30%),
    var(--white);
  box-shadow: var(--shadow-soft);
}

.mascot-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  isolation: isolate;
  border-radius: 48% 52% 44% 56% / 55% 46% 54% 45%;
  background:
    radial-gradient(circle at 73% 27%, rgba(255, 255, 255, .92) 0 9%, transparent 10%),
    linear-gradient(145deg, #f8edc8 0 46%, #dcefd2 46% 100%);
  box-shadow: inset 0 0 0 1px rgba(49, 95, 76, .12), 0 10px 24px rgba(67, 75, 54, .1);
  transform: rotate(-1.2deg);
}

.mascot-stage::before {
  position: absolute;
  right: 9%;
  bottom: 12%;
  left: 7%;
  z-index: -1;
  height: 15%;
  border-radius: 50%;
  background: rgba(49, 95, 76, .13);
  content: "";
  filter: blur(6px);
}

.mascot-stage img {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 7px 5px rgba(54, 75, 56, .16));
}

.mascot-stage-kongi {
  bottom: -1%;
  left: -3%;
  width: 73%;
  height: 93%;
  transform: rotate(1.5deg);
}

.mascot-stage-porongi {
  top: 1%;
  right: -2%;
  width: 48%;
  height: 62%;
  transform: rotate(6deg);
  animation: porongi-float 3.8s ease-in-out infinite;
}

.mascot-stage-sun {
  position: absolute;
  top: 10%;
  right: 14%;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(240, 201, 92, .64);
  box-shadow: 0 0 0 10px rgba(240, 201, 92, .16);
}

.mascot-stage-leaf {
  position: absolute;
  width: 24px;
  height: 11px;
  border: 2px solid rgba(49, 95, 76, .55);
  border-radius: 100% 0 100% 0;
  background: #b9d59e;
}

.mascot-stage-leaf.leaf-one { top: 19%; left: 8%; transform: rotate(-24deg); }
.mascot-stage-leaf.leaf-two { right: 10%; bottom: 25%; transform: rotate(18deg) scale(.75); }

.mascot-stage-tag {
  position: absolute;
  right: 13px;
  bottom: 13px;
  padding: 7px 11px;
  border: 1px solid rgba(49, 95, 76, .22);
  border-radius: 999px;
  color: var(--forest-deep);
  background: rgba(255, 254, 249, .9);
  font-size: 10px;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

@keyframes porongi-float {
  50% { transform: translateY(-7px) rotate(2deg); }
}

.mascot-copy h2 {
  margin: 0;
  font-family: var(--font-round);
  font-size: clamp(31px, 3.4vw, 43px);
  line-height: 1.2;
  letter-spacing: -.055em;
}

.mascot-copy > p:not(.eyebrow) {
  margin: 15px 0 21px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.75;
  word-break: keep-all;
}

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

.mascot-roles article {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 11px 12px;
  border: 1px solid rgba(49, 95, 76, .16);
  border-radius: 17px 21px 18px 15px;
  background: rgba(247, 241, 223, .68);
}

.mascot-name {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1.5px solid var(--forest);
  border-radius: 43% 57% 47% 53%;
  color: var(--forest-deep);
  font-family: var(--font-round);
  font-size: 11px;
  font-weight: 900;
}

.kongi-name { background: #f4d39d; }
.porongi-name { background: #bfe3ea; transform: rotate(2deg); }

.mascot-roles article div {
  display: grid;
  gap: 2px;
}

.mascot-roles strong {
  font-family: var(--font-round);
  font-size: 13px;
}

.mascot-roles small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.45;
  word-break: keep-all;
}

.journey-section {
  padding: 116px 22px 105px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.section-heading h2,
.parent-promise h2 {
  margin: 0;
  font-family: var(--font-round);
  font-size: clamp(38px, 4.5vw, 58px);
  line-height: 1.16;
  letter-spacing: -.055em;
}

.section-heading > p {
  max-width: 420px;
  margin: 0 0 4px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
  line-height: 1.8;
  word-break: keep-all;
}

.journey-progress {
  display: grid;
  grid-template-columns: 220px 1fr;
  align-items: center;
  gap: 25px;
  margin: 48px 0 62px;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.journey-progress-copy {
  display: grid;
}

.journey-progress-copy strong {
  font-family: var(--font-round);
  font-size: 18px;
}

.journey-progress-copy span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

.progress-track,
.game-progress-track {
  position: relative;
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 76, .14);
  border-radius: 999px;
  background: #e7dfc9;
}

.progress-track span,
.game-progress-track span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--leaf);
  transition: width .5s cubic-bezier(.25, .8, .25, 1);
}

.stage-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 88px;
  max-width: 1030px;
  margin: 0 auto;
}

.stage-map::before {
  position: absolute;
  top: 48px;
  bottom: 48px;
  left: 50%;
  z-index: 0;
  width: 4px;
  border-radius: 999px;
  background: repeating-linear-gradient(to bottom, var(--leaf) 0 13px, transparent 13px 25px);
  content: "";
  transform: translateX(-50%);
}

.stage-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  min-height: 164px;
  align-items: center;
  gap: 18px;
  padding: 23px 126px 23px 26px;
  border: 1.5px solid rgba(49, 95, 76, .21);
  border-radius: 30px 22px 32px 24px;
  text-align: left;
  background: var(--white);
  box-shadow: 0 7px 0 rgba(49, 95, 76, .08), 0 13px 28px rgba(67, 75, 54, .08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.stage-art {
  position: absolute;
  right: 17px;
  bottom: 16px;
  display: block;
  width: 94px;
  height: 94px;
  isolation: isolate;
  transform: rotate(2deg);
  transition: transform .22s ease;
}

.stage-art::after {
  position: absolute;
  right: 12px;
  bottom: 4px;
  left: 12px;
  z-index: -1;
  height: 11px;
  border-radius: 50%;
  background: rgba(49, 95, 76, .13);
  content: "";
  filter: blur(4px);
}

.stage-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 3px rgba(49, 95, 76, .16));
}

.stage-card:hover .stage-art {
  transform: translateY(-3px) rotate(-1deg) scale(1.03);
}

.stage-card:nth-child(even) {
  margin-top: 76px;
  border-radius: 22px 32px 24px 30px;
}

.stage-card:nth-child(odd):not(:first-child) {
  margin-top: -18px;
}

.stage-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 44px);
  margin: -18px auto 0;
}

.stage-card:hover {
  border-color: var(--forest);
  box-shadow: 0 9px 0 rgba(49, 95, 76, .12), 0 19px 34px rgba(67, 75, 54, .13);
  transform: translateY(-5px) rotate(-.25deg);
}

.stage-card.is-recommended {
  border: 2.5px solid var(--forest);
}

.stage-card.is-complete {
  background: #f6faef;
}

.stage-orb {
  position: relative;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 44% 56% 50% 50%;
  color: var(--forest-deep);
  background: var(--stage-color, var(--apricot));
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .28), 0 5px 0 rgba(49, 95, 76, .13);
  font-family: var(--font-round);
  font-size: 28px;
  font-weight: 900;
  transform: rotate(-3deg);
}

.stage-orb::after {
  position: absolute;
  top: -10px;
  right: 4px;
  width: 23px;
  height: 15px;
  border: 2px solid var(--forest);
  border-radius: 100% 0;
  background: var(--leaf-light);
  content: "";
  transform: rotate(-18deg);
}

.stage-card.is-complete .stage-orb::before {
  position: absolute;
  right: -8px;
  bottom: -5px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid var(--forest);
  border-radius: 50%;
  color: white;
  background: var(--forest);
  content: "✓";
  font-size: 15px;
  transform: rotate(3deg);
}

.stage-copy {
  min-width: 0;
}

.stage-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.stage-meta small {
  color: var(--forest);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .07em;
}

.stage-status {
  padding: 3px 7px;
  border-radius: 7px;
  color: var(--ink-soft);
  background: var(--paper);
  font-size: 10px;
  font-weight: 850;
}

.stage-card.is-recommended .stage-status {
  color: white;
  background: var(--forest);
}

.stage-card.is-complete .stage-status {
  color: var(--forest-deep);
  background: #d7e8ca;
}

.stage-copy h3 {
  margin: 0 0 5px;
  font-family: var(--font-round);
  font-size: 20px;
  letter-spacing: -.035em;
}

.stage-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 630;
  line-height: 1.55;
  word-break: keep-all;
}

.stage-keys {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 11px;
}

.stage-keys span {
  min-width: 25px;
  padding: 2px 6px;
  border: 1px solid rgba(49, 95, 76, .15);
  border-radius: 7px;
  text-align: center;
  background: rgba(247, 241, 223, .75);
  font-family: var(--font-round);
  font-size: 11px;
}

.free-play-card {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  align-items: center;
  gap: 32px;
  margin-top: 76px;
  overflow: hidden;
  padding: 34px 38px;
  border: 1px solid rgba(49, 95, 76, .21);
  border-radius: 30px 42px 32px 38px;
  background: #dcecef;
}

.free-play-card::after {
  position: absolute;
  right: -40px;
  bottom: -60px;
  width: 190px;
  height: 190px;
  border: 26px solid rgba(77, 152, 170, .11);
  border-radius: 50%;
  content: "";
}

.free-play-art {
  position: relative;
  height: 130px;
  isolation: isolate;
  border-radius: 48% 52% 42% 58%;
  background: rgba(255, 254, 249, .56);
}

.free-play-art img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 5px 4px rgba(49, 95, 76, .16));
}

.free-play-kongi {
  bottom: -5%;
  left: -7%;
  width: 78%;
  height: 108%;
}

.free-play-porongi {
  top: -10%;
  right: -5%;
  width: 50%;
  height: 67%;
  transform: rotate(7deg);
}

.free-play-badge {
  position: absolute;
  right: 8px;
  bottom: 7px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--forest-deep);
  background: rgba(255, 254, 249, .9);
  font-size: 9px;
  font-weight: 900;
}

.paper-note {
  position: absolute;
  display: grid;
  width: 74px;
  height: 84px;
  place-items: center;
  border: 1.5px solid var(--forest);
  border-radius: 13px 18px 11px 16px;
  color: var(--forest-deep);
  background: var(--white);
  box-shadow: 0 6px 0 rgba(49, 95, 76, .12);
  font-family: var(--font-round);
  font-size: 28px;
  font-weight: 900;
}

.paper-note:nth-child(1) { left: 4px; top: 27px; transform: rotate(-10deg); }
.paper-note:nth-child(2) { left: 55px; top: 5px; z-index: 2; background: #fff3cf; transform: rotate(2deg); }
.paper-note:nth-child(3) { left: 108px; top: 32px; transform: rotate(11deg); }

.free-play-copy h3 {
  margin: 0 0 6px;
  font-family: var(--font-round);
  font-size: 25px;
  letter-spacing: -.04em;
}

.free-play-copy p:last-child {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 640;
  line-height: 1.7;
  word-break: keep-all;
}

.free-play-card .button {
  position: relative;
  z-index: 2;
}

.parent-promise {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 74px;
  margin-bottom: 56px;
  padding: 72px;
  border-radius: 52px 38px 50px 34px;
  color: white;
  background: var(--forest-deep);
  box-shadow: var(--shadow-soft);
}

.promise-intro > p:not(.eyebrow) {
  max-width: 470px;
  margin: 23px 0 29px;
  color: #d4e1da;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.8;
  word-break: keep-all;
}

.promise-list {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.promise-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 17px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
}

.promise-number {
  grid-row: 1 / span 2;
  color: var(--apricot);
  font-family: var(--font-round);
  font-size: 14px;
}

.promise-list h3 {
  margin: 0 0 4px;
  font-family: var(--font-round);
  font-size: 18px;
}

.promise-list p {
  margin: 0;
  color: #c9d8d0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  word-break: keep-all;
}

.site-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding: 28px 10px 42px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.site-footer strong {
  color: var(--ink);
  font-family: var(--font-round);
}

.site-footer p {
  max-width: 620px;
  margin: 5px 0 0;
  font-size: 12px;
}

/* Game */
.game-screen {
  width: min(calc(100% - 48px), 1540px);
  padding: 24px 0 54px;
}

.free-screen {
  padding: 36px 0 90px;
}

.game-topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.round-button {
  width: 50px;
  height: 50px;
  padding: 0;
  border-radius: 18px;
}

.round-button svg {
  fill: none;
  stroke-width: 2.2;
}

.game-heading small {
  display: block;
  margin-bottom: 2px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.game-heading h1 {
  margin: 0;
  font-family: var(--font-round);
  font-size: 26px;
  letter-spacing: -.04em;
}

.listen-button {
  padding: 0 17px;
}

.listen-button svg {
  fill: var(--forest);
}

.game-progress-row {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: center;
  gap: 14px;
  margin: 14px 0 18px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 800;
}

.game-progress-track {
  height: 11px;
}

.no-timer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.no-timer i {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1.8px solid var(--leaf);
  border-radius: 50%;
}

.no-timer i::before,
.no-timer i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.8px;
  height: 5px;
  border-radius: 2px;
  background: var(--leaf);
  content: "";
  transform-origin: 50% 100%;
}

.no-timer i::before { transform: translate(-50%, -100%) rotate(0); }
.no-timer i::after { transform: translate(-50%, -100%) rotate(120deg); }

.game-layout {
  display: grid;
  grid-template-areas:
    "play keyboard"
    "session keyboard";
  grid-template-columns: minmax(340px, .78fr) minmax(580px, 1.22fr);
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  gap: 14px 18px;
}

.play-card {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(150px, 1fr) auto auto;
  grid-area: play;
  min-height: 380px;
  overflow: hidden;
  padding: 24px 27px 22px;
  border: 1.5px solid rgba(49, 95, 76, .2);
  border-radius: 38px 30px 40px 32px;
  background:
    radial-gradient(circle at 90% 10%, rgba(185, 213, 158, .25), transparent 29%),
    var(--white);
  box-shadow: var(--shadow-card);
}

.play-card::before {
  position: absolute;
  right: -45px;
  bottom: -74px;
  width: 230px;
  height: 170px;
  border-radius: 48% 52% 0 0;
  background: rgba(185, 213, 158, .18);
  content: "";
  transform: rotate(-10deg);
}

.play-card.is-correct {
  animation: card-breathe .46s ease;
}

.play-card.needs-help {
  animation: card-nudge .3s ease;
}

@keyframes card-breathe {
  45% { border-color: var(--leaf); box-shadow: 0 11px 0 rgba(112, 167, 128, .15), 0 18px 38px rgba(67, 75, 54, .14); transform: translateY(-3px); }
}

@keyframes card-nudge {
  35% { transform: translateX(-4px); }
  70% { transform: translateX(4px); }
}

.guide-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.guide-mascots {
  position: relative;
  flex: 0 0 auto;
  width: 112px;
  height: 76px;
  isolation: isolate;
}

.guide-mascots::after {
  position: absolute;
  right: 9px;
  bottom: 3px;
  left: 8px;
  z-index: -1;
  height: 10px;
  border-radius: 50%;
  background: rgba(49, 95, 76, .12);
  content: "";
  filter: blur(4px);
}

.guide-mascot {
  position: absolute;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 2px rgba(49, 95, 76, .14));
  transition: transform .22s ease, filter .22s ease;
}

.guide-kongi {
  bottom: -2px;
  left: -4px;
  width: 78px;
  height: 78px;
}

.guide-porongi {
  top: -2px;
  right: -4px;
  width: 59px;
  height: 59px;
  transform: rotate(5deg);
}

.guide-mascots.is-thinking .guide-kongi {
  filter: saturate(.88) brightness(1.03);
  transform: translateX(3px) rotate(-2deg);
}

.guide-mascots.is-thinking .guide-porongi {
  transform: translate(-4px, 5px) rotate(-4deg);
}

.guide-mascots.is-celebrating .guide-mascot {
  animation: mascot-pop .55s ease;
}

.guide-mascots.is-celebrating .guide-porongi {
  animation-delay: .08s;
}

@keyframes mascot-pop {
  50% { transform: scale(1.12) rotate(2deg); }
}

.guide-bubble {
  position: relative;
  max-width: 510px;
  padding: 11px 17px;
  border: 1px solid rgba(49, 95, 76, .16);
  border-radius: 8px 18px 18px 18px;
  background: var(--paper);
}

.guide-bubble::before {
  position: absolute;
  top: 14px;
  left: -8px;
  width: 14px;
  height: 14px;
  border: solid rgba(49, 95, 76, .16);
  border-width: 0 0 1px 1px;
  background: var(--paper);
  content: "";
  transform: rotate(45deg);
}

.guide-bubble strong {
  display: block;
  margin-bottom: 1px;
  color: var(--forest);
  font-size: 11px;
  font-weight: 900;
}

.guide-bubble p {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
}

.target-area {
  display: grid;
  min-height: 175px;
  place-items: center;
  align-content: center;
  padding: 14px 10px 11px;
  text-align: center;
}

.target-prompt {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .04em;
}

.target-word {
  max-width: 100%;
  min-height: 91px;
  font-family: var(--font-round);
  font-size: clamp(59px, 8vw, 91px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.06em;
  white-space: pre-wrap;
  word-break: keep-all;
}

.target-word.is-long {
  font-size: clamp(40px, 6vw, 67px);
}

.target-word.is-very-long {
  font-size: clamp(26px, 3.1vw, 37px);
  line-height: 1.42;
  letter-spacing: -.045em;
}

.target-word .word-space {
  white-space: pre-wrap;
}

.target-word .word-done {
  color: var(--leaf);
}

.target-word .word-current {
  position: relative;
  color: var(--forest-deep);
}

.target-word .word-current::after {
  position: absolute;
  right: 1px;
  bottom: -6px;
  left: 1px;
  height: 5px;
  border-radius: 999px;
  background: var(--apricot);
  content: "";
}

.target-word .word-upcoming {
  color: #9aa69e;
}

.syllable-builder {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.jamo-chip {
  display: grid;
  min-width: 38px;
  height: 38px;
  place-items: center;
  border: 1.5px solid rgba(49, 95, 76, .17);
  border-radius: 11px 9px 12px 10px;
  color: #87938c;
  background: #f0ecdf;
  font-family: var(--font-round);
  font-size: 17px;
  font-weight: 900;
}

.jamo-chip.is-done {
  color: white;
  border-color: var(--leaf);
  background: var(--leaf);
}

.jamo-chip.is-current {
  color: var(--forest-deep);
  border: 2.5px solid var(--forest);
  background: #fff2c9;
  box-shadow: 0 4px 0 rgba(49, 95, 76, .12);
  transform: translateY(-2px);
}

.builder-plus {
  color: var(--ink-soft);
  font-weight: 900;
}

.key-clue {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  max-width: 600px;
  margin: 0 auto;
  padding: 11px 13px;
  border: 1px solid rgba(49, 95, 76, .18);
  border-radius: 17px 14px 19px 14px;
  background: #f9f5e9;
}

.clue-hand {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: white;
  background: var(--left-hand);
  font-family: var(--font-round);
  font-size: 12px;
  font-weight: 900;
}

.clue-hand.is-right {
  background: var(--right-hand);
}

.key-clue p {
  display: grid;
  margin: 0;
}

.key-clue strong {
  font-size: 13px;
}

.key-clue p span {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.key-clue kbd {
  display: grid;
  min-width: 43px;
  height: 43px;
  place-items: center;
  padding: 0 8px;
  border: 1.5px solid var(--forest);
  border-bottom-width: 4px;
  border-radius: 10px;
  color: var(--forest-deep);
  background: white;
  font-family: var(--font-round);
  font-size: 13px;
}

.feedback-line {
  position: relative;
  z-index: 2;
  min-height: 26px;
  margin-top: 13px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 800;
}

.feedback-line.is-success {
  color: var(--forest);
}

.feedback-line.is-help {
  color: #9a4a39;
}

.session-card {
  position: relative;
  display: grid;
  min-height: 104px;
  grid-area: session;
  grid-template-columns: 42px minmax(150px, .9fr) minmax(160px, 1.1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 15px;
  overflow: hidden;
  padding: 16px 19px;
  border: 1.5px solid rgba(49, 95, 76, .2);
  border-radius: 27px 37px 26px 35px;
  background: #dcebec;
}

.session-card::after {
  position: absolute;
  right: -45px;
  bottom: -34px;
  width: 150px;
  height: 110px;
  border-radius: 100% 0 0;
  background: rgba(77, 152, 170, .14);
  content: "";
}

.session-leaf {
  position: relative;
  display: block;
  width: 32px;
  height: 40px;
  grid-row: 1 / span 2;
  margin: 0;
  border: 2px solid var(--forest);
  border-radius: 90% 0 90% 20%;
  background: var(--leaf-light);
  transform: rotate(24deg);
}

.session-leaf::after {
  position: absolute;
  top: 6px;
  left: 14px;
  width: 2px;
  height: 27px;
  background: var(--forest);
  content: "";
  transform: rotate(22deg);
}

.session-card > p {
  grid-column: 2;
  margin: 0 0 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
}

.session-card > strong {
  grid-column: 2;
  font-family: var(--font-round);
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -.04em;
  word-break: keep-all;
}

.session-card ul {
  display: flex;
  grid-column: 3;
  grid-row: 1 / span 2;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-card li {
  display: grid;
  min-width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(49, 95, 76, .22);
  border-radius: 10px;
  background: rgba(255, 255, 255, .58);
  font-family: var(--font-round);
  font-weight: 900;
}

.session-card small {
  display: none;
}

.keyboard-section {
  display: flex;
  min-width: 0;
  grid-area: keyboard;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin: 0;
  padding: 21px 18px 20px;
  border: 1.5px solid rgba(49, 95, 76, .2);
  border-radius: 30px 36px 28px 34px;
  background: rgba(255, 254, 249, .76);
  box-shadow: 0 12px 34px rgba(67, 75, 54, .08);
}

.keyboard-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 10px;
}

.keyboard-heading .eyebrow {
  margin-bottom: 2px;
  font-size: 10px;
}

.keyboard-heading h2 {
  margin: 0;
  font-family: var(--font-round);
  font-size: 20px;
  letter-spacing: -.04em;
}

.hand-legend {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.finger-colors {
  display: inline-flex;
  gap: 3px;
}

.finger-colors i {
  width: 9px;
  height: 9px;
  border: 1px solid rgba(38, 59, 50, .14);
  border-radius: 50%;
}

.finger-colors i:nth-child(1) { background: #f3cccc; }
.finger-colors i:nth-child(2) { background: #f5dfb6; }
.finger-colors i:nth-child(3) { background: #f4efad; }
.finger-colors i:nth-child(4) { background: #bfe6cf; }
.finger-colors i:nth-child(5) { background: #c4e1ef; }

.hand-guide {
  position: relative;
  width: min(100%, 650px);
  height: clamp(112px, 16dvh, 166px);
  flex: 0 0 auto;
  margin: -2px auto 1px;
  overflow: hidden;
  border: 1px solid rgba(49, 95, 76, .15);
  border-radius: 22px 28px 21px 25px;
  background:
    radial-gradient(circle at 50% 100%, rgba(240, 201, 92, .2), transparent 38%),
    rgba(247, 241, 223, .54);
}

.hand-guide::before {
  position: absolute;
  top: 8px;
  left: 50%;
  color: rgba(49, 95, 76, .58);
  content: "어떤 손가락일까?";
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .08em;
  transform: translateX(-50%);
}

.hand-guide-art {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hand-palm,
.guide-finger rect {
  stroke: rgba(49, 95, 76, .5);
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.hand-palm {
  fill: #f4dfbd;
  opacity: .62;
}

.guide-finger {
  opacity: .42;
  transform-box: fill-box;
  transform-origin: center bottom;
  transition: opacity .18s ease, filter .18s ease, transform .18s ease;
}

.guide-finger text {
  fill: rgba(38, 59, 50, .67);
  font-family: var(--font-round);
  font-size: 12px;
  font-weight: 900;
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

.finger-pinky rect { fill: #f3cccc; }
.finger-ring rect { fill: #f5dfb6; }
.finger-middle rect { fill: #f4efad; }
[data-hand-finger="left-index"] rect { fill: #bfe6cf; }
[data-hand-finger="right-index"] rect { fill: #c4e1ef; }
.finger-thumb rect { fill: #f4dfbd; }

.guide-finger.is-tap,
.guide-finger.is-hold {
  opacity: 1;
  filter: drop-shadow(0 4px 3px rgba(35, 74, 58, .2));
}

.guide-finger.is-tap rect {
  stroke: var(--forest-deep);
  stroke-width: 3.4;
}

.guide-finger.is-tap text {
  fill: var(--forest-deep);
  font-size: 14px;
}

.guide-finger.is-hold rect {
  stroke: var(--coral);
  stroke-width: 3.4;
  stroke-dasharray: 5 3;
}

.guide-finger.is-hold text {
  fill: #a14637;
  font-size: 15px;
}

.hand-guide.is-strong .guide-finger.is-tap:not(.finger-thumb) {
  animation: finger-tap .72s ease-in-out 2;
}

.hand-guide.is-shift .guide-finger.is-hold {
  animation: finger-hold 1.25s ease-in-out infinite;
}

.hand-guide.is-space .finger-thumb {
  animation: thumb-tap .8s ease-in-out 2;
}

@keyframes finger-tap {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(7px) scale(1.06); }
}

@keyframes finger-hold {
  50% { filter: drop-shadow(0 0 7px rgba(222, 119, 94, .65)); }
}

@keyframes thumb-tap {
  50% { filter: drop-shadow(0 5px 4px rgba(35, 74, 58, .25)); opacity: .72; }
}

.hand-side-label {
  fill: var(--ink-soft);
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 900;
  text-anchor: middle;
}

.hand-guide-caption {
  position: absolute;
  top: 37px;
  left: 50%;
  display: grid;
  width: 228px;
  gap: 1px;
  padding: 7px 10px 8px;
  border: 1px solid rgba(49, 95, 76, .2);
  border-radius: 15px 18px 14px 17px;
  text-align: center;
  background: rgba(255, 254, 249, .92);
  box-shadow: 0 4px 0 rgba(49, 95, 76, .08);
  transform: translateX(-50%);
  backdrop-filter: blur(7px);
}

.hand-guide-badge {
  color: var(--forest);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .04em;
}

.hand-guide-caption strong {
  color: var(--forest-deep);
  font-family: var(--font-round);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.hand-guide-caption small {
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 750;
  line-height: 1.35;
}

.keyboard-scroll {
  width: 100%;
  overflow-x: auto;
  padding: 6px 4px 10px;
  border-radius: 18px;
  scrollbar-color: var(--leaf) rgba(49, 95, 76, .08);
  scrollbar-width: thin;
  scroll-behavior: smooth;
}

.keyboard-scroll::-webkit-scrollbar {
  height: 8px;
}

.keyboard-scroll::-webkit-scrollbar-track {
  border-radius: 99px;
  background: rgba(49, 95, 76, .08);
}

.keyboard-scroll::-webkit-scrollbar-thumb {
  border-radius: 99px;
  background: var(--leaf);
}

.keyboard-board {
  display: flex;
  width: 600px;
  min-width: 600px;
  flex-direction: column;
  gap: 6px;
  margin: 0 auto;
}

.keyboard-row {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.keyboard-row.row-middle { padding-left: 25px; }
.keyboard-row.row-bottom { padding-left: 2px; }

.key-button {
  position: relative;
  display: grid;
  width: 52px;
  min-width: 52px;
  height: 50px;
  place-items: center;
  padding: 0;
  border: 1.5px solid rgba(38, 59, 50, .34);
  border-bottom-width: 5px;
  border-radius: 13px 13px 11px 11px;
  color: var(--ink);
  background: #f9f4e5;
  box-shadow: 0 3px 7px rgba(38, 59, 50, .08);
  font-family: var(--font-round);
  font-size: 19px;
  font-weight: 900;
  transition: transform .1s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.key-button .key-en {
  position: absolute;
  right: 6px;
  bottom: 3px;
  color: rgba(38, 59, 50, .48);
  font-family: var(--font-body);
  font-size: 8px;
  font-weight: 800;
}

.key-button .key-shift-char {
  position: absolute;
  top: 4px;
  left: 6px;
  color: rgba(38, 59, 50, .55);
  font-size: 10px;
}

.key-button[data-finger="pinky"] { background: #f3cccc; }
.key-button[data-finger="ring"] { background: #f5dfb6; }
.key-button[data-finger="middle"] { background: #f4efad; }
.key-button[data-finger="index-left"] { background: #bfe6cf; }
.key-button[data-finger="index-right"] { background: #c4e1ef; }
.key-button[data-finger="thumb"] { background: #f4dfbd; }

.key-button:hover {
  border-color: var(--forest);
  box-shadow: 0 4px 0 rgba(49, 95, 76, .15);
  transform: translateY(-2px);
}

.key-button:active,
.key-button.is-pressed {
  border-bottom-width: 2px;
  background: var(--sun);
  transform: translateY(3px);
}

.key-button.is-target {
  z-index: 2;
  color: white;
  border-color: var(--forest-deep);
  background: var(--forest);
  box-shadow: 0 0 0 6px rgba(240, 201, 92, .55), 0 7px 0 rgba(35, 74, 58, .2);
  animation: key-glow 1.65s ease-in-out infinite;
}

.key-button.is-target .key-en,
.key-button.is-target .key-shift-char {
  color: rgba(255, 255, 255, .76);
}

.key-button.is-guide {
  border-color: var(--apricot);
  background: #fff1c8;
}

.key-button.is-wrong {
  border-color: #b85d4a;
  background: #f6d6ce;
}

.key-button.shift-key {
  width: 84px;
  min-width: 84px;
  font-size: 12px;
}

.key-button.shift-key.is-on {
  color: white;
  background: var(--forest);
}

.key-button.space-key {
  width: 305px;
  min-width: 305px;
  height: 44px;
  color: var(--ink-soft);
  background: #ede6d3;
  font-family: var(--font-body);
  font-size: 11px;
}

@keyframes key-glow {
  0%, 100% { box-shadow: 0 0 0 5px rgba(240, 201, 92, .43), 0 7px 0 rgba(35, 74, 58, .2); transform: translateY(0); }
  50% { box-shadow: 0 0 0 9px rgba(240, 201, 92, .22), 0 9px 0 rgba(35, 74, 58, .15); transform: translateY(-3px); }
}

.keyboard-tip {
  margin: 4px 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

/* Finish */
.finish-screen {
  max-width: 850px;
  padding: 65px 0 100px;
  text-align: center;
}

.finish-illustration {
  position: relative;
  width: 250px;
  height: 178px;
  margin: 0 auto 18px;
  isolation: isolate;
  border-radius: 48% 52% 45% 55%;
  background: radial-gradient(circle at 50% 65%, rgba(240, 201, 92, .28), transparent 63%);
}

.finish-illustration::before {
  position: absolute;
  right: 22px;
  bottom: 24px;
  left: 18px;
  z-index: -1;
  height: 19px;
  border-radius: 50%;
  background: rgba(49, 95, 76, .14);
  content: "";
  filter: blur(6px);
}

.finish-illustration img {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 7px 5px rgba(49, 95, 76, .18));
}

.finish-kongi {
  bottom: 12px;
  left: 9px;
  width: 168px;
  height: 168px;
}

.finish-porongi {
  top: -2px;
  right: 2px;
  width: 108px;
  height: 108px;
  transform: rotate(7deg);
}

.finish-spark {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--apricot);
  clip-path: polygon(50% 0, 61% 36%, 100% 50%, 61% 64%, 50% 100%, 39% 64%, 0 50%, 39% 36%);
}

.finish-spark.spark-one { top: 25px; left: 10px; }
.finish-spark.spark-two { top: 5px; left: 105px; background: var(--sun); transform: scale(.72); }

.finish-illustration > span:last-child {
  position: absolute;
  right: 12px;
  bottom: 5px;
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--forest-deep);
  background: rgba(255, 254, 249, .9);
  font-size: 9px;
  font-weight: 900;
}

.finish-screen > h1 {
  margin: 7px 0 12px;
  font-family: var(--font-round);
  font-size: clamp(38px, 5vw, 57px);
  line-height: 1.18;
  letter-spacing: -.055em;
}

.finish-lead {
  max-width: 570px;
  margin: 0 auto 33px;
  color: var(--ink-soft);
  font-size: 16px;
  font-weight: 650;
}

.learning-receipt {
  position: relative;
  max-width: 690px;
  margin: 0 auto 29px;
  padding: 30px 36px;
  border: 1.5px solid rgba(49, 95, 76, .22);
  border-radius: 29px 23px 31px 25px;
  text-align: left;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.learning-receipt::before,
.learning-receipt::after {
  position: absolute;
  top: 26px;
  bottom: 26px;
  width: 8px;
  opacity: .5;
  background: radial-gradient(circle, var(--paper-deep) 4px, transparent 4.5px) center / 8px 18px repeat-y;
  content: "";
}

.learning-receipt::before { left: -4px; }
.learning-receipt::after { right: -4px; }

.receipt-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 18px;
  border-bottom: 1px dashed rgba(49, 95, 76, .25);
}

.receipt-head small {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 800;
}

.receipt-head h2 {
  margin: 2px 0 0;
  font-family: var(--font-round);
  font-size: 24px;
}

.receipt-head > strong {
  color: var(--forest);
  font-family: var(--font-round);
  font-size: 17px;
}

.learning-receipt dl {
  margin: 14px 0;
}

.learning-receipt dl > div {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 14px;
  padding: 9px 0;
}

.learning-receipt dt {
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 750;
}

.learning-receipt dd {
  margin: 0;
  font-size: 13px;
  font-weight: 850;
}

.offline-tip {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 17px;
  padding: 13px 15px;
  border-radius: 15px;
  background: #edf3df;
}

.offline-tip > span {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--forest);
  font-size: 11px;
  font-weight: 900;
}

.offline-tip p {
  display: grid;
  margin: 0;
}

.offline-tip strong {
  color: var(--forest);
  font-size: 11px;
}

.offline-tip p span {
  font-size: 12px;
  font-weight: 700;
}

.finish-actions {
  justify-content: center;
}

.finish-rest {
  margin: 19px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
}

/* Free play */
.free-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 30px 0 13px;
  padding: 13px 18px;
  border-radius: 14px;
  color: var(--forest-deep);
  background: #dfeccc;
  font-size: 12px;
  font-weight: 750;
}

.free-note p {
  margin: 0;
  font-weight: 850;
}

.free-note span {
  color: var(--ink-soft);
}

.free-paper {
  display: flex;
  min-height: 320px;
  align-items: center;
  justify-content: center;
  overflow-wrap: anywhere;
  padding: 45px;
  border: 1.5px solid rgba(49, 95, 76, .22);
  border-radius: 36px 27px 39px 30px;
  background:
    linear-gradient(rgba(112, 167, 128, .12) 1px, transparent 1px) 0 70px / 100% 62px repeat-y,
    var(--white);
  box-shadow: var(--shadow-card);
  font-family: var(--font-round);
  font-size: clamp(35px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.7;
  text-align: center;
  white-space: pre-wrap;
}

.free-placeholder {
  color: #9ba69f;
  font-size: clamp(24px, 4vw, 42px);
}

.text-caret {
  display: inline-block;
  width: 4px;
  height: 1.1em;
  margin-left: 5px;
  border-radius: 2px;
  background: var(--forest);
  animation: caret-blink 1s step-end infinite;
}

@keyframes caret-blink { 50% { opacity: 0; } }

.free-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 15px;
}

.free-controls p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.compact-keyboard {
  margin-top: 22px;
}

/* Parent dialog */
.parent-dialog {
  width: min(calc(100% - 28px), 900px);
  max-height: min(900px, calc(100dvh - 28px));
  padding: 0;
  overflow: hidden;
  border: 1.5px solid rgba(49, 95, 76, .28);
  border-radius: 34px 27px 36px 29px;
  color: var(--ink);
  background: var(--paper);
  box-shadow: 0 35px 90px rgba(20, 42, 33, .3);
}

.parent-dialog::backdrop {
  background: rgba(25, 44, 36, .58);
  backdrop-filter: blur(5px);
}

.dialog-shell {
  max-height: min(900px, calc(100dvh - 28px));
  overflow-y: auto;
}

.dialog-header {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 25px;
  padding: 30px 34px 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 223, .95);
  backdrop-filter: blur(14px);
}

.dialog-header h2 {
  margin: 0;
  font-family: var(--font-round);
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -.05em;
}

.dialog-close {
  flex: 0 0 auto;
}

.parent-tabs {
  position: sticky;
  top: 136px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(247, 241, 223, .95);
  backdrop-filter: blur(14px);
}

.parent-tabs button {
  position: relative;
  min-height: 54px;
  color: var(--ink-soft);
  background: transparent;
  font-size: 13px;
  font-weight: 850;
}

.parent-tabs button[aria-selected="true"] {
  color: var(--forest-deep);
}

.parent-tabs button[aria-selected="true"]::after {
  position: absolute;
  right: 18px;
  bottom: -1px;
  left: 18px;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: var(--forest);
  content: "";
}

.parent-panels {
  padding: 32px 34px 38px;
}

.parent-panel h3 {
  margin: 28px 0 14px;
  font-family: var(--font-round);
  font-size: 21px;
  letter-spacing: -.03em;
}

.parent-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.parent-summary span {
  padding: 7px 11px;
  border: 1px solid rgba(49, 95, 76, .18);
  border-radius: 10px;
  color: var(--forest-deep);
  background: rgba(255, 254, 249, .72);
  font-size: 11px;
  font-weight: 850;
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.principle-grid article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 17px;
  border: 1px solid rgba(49, 95, 76, .17);
  border-radius: 17px 14px 19px 15px;
  background: rgba(255, 254, 249, .72);
}

.principle-grid article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  color: white;
  background: var(--forest);
  font-family: var(--font-round);
  font-size: 12px;
}

.principle-grid h4 {
  margin: 0 0 3px;
  font-size: 13px;
}

.principle-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
}

.evidence-note {
  margin-top: 22px;
  padding: 20px;
  border-left: 4px solid var(--leaf);
  border-radius: 0 16px 16px 0;
  background: #e6eed8;
}

.evidence-note h4 {
  margin: 0 0 5px;
  font-size: 13px;
}

.evidence-note p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
  line-height: 1.65;
}

.evidence-note > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 12px;
}

.evidence-note a {
  color: var(--forest-deep);
  font-size: 11px;
  font-weight: 850;
}

.evidence-note a span {
  color: var(--ink-soft);
  font-size: 9px;
}

.record-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
}

.record-hero > div {
  display: grid;
  min-height: 102px;
  align-content: center;
  padding: 16px;
  border: 1px solid rgba(49, 95, 76, .18);
  border-radius: 17px 14px 19px 15px;
  background: var(--white);
}

.record-hero small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
}

.record-hero strong {
  margin-top: 5px;
  color: var(--forest-deep);
  font-family: var(--font-round);
  font-size: 23px;
}

.last-session-card {
  padding: 23px;
  border-radius: 21px 17px 23px 19px;
  background: #dcebec;
}

.last-session-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.last-session-head small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 800;
}

.last-session-card .last-session-head h3 {
  margin: 2px 0 0;
  font-size: 18px;
}

.last-session-head time {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 750;
}

.last-session-card dl {
  margin: 14px 0 0;
}

.last-session-card dl > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 13px;
  padding: 7px 0;
  border-top: 1px solid rgba(49, 95, 76, .12);
}

.last-session-card dt,
.last-session-card dd {
  font-size: 11px;
  font-weight: 700;
}

.last-session-card dt { color: var(--ink-soft); }
.last-session-card dd { margin: 0; }

.practiced-keys > div {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.practiced-key {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(49, 95, 76, .2);
  border-radius: 11px;
  background: var(--white);
  font-family: var(--font-round);
  font-weight: 900;
}

.practiced-key.is-growing {
  background: #e4eed6;
}

.empty-keys,
.record-disclaimer {
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 650;
}

.record-disclaimer {
  margin: 24px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.privacy-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 17px;
  padding: 22px;
  border-radius: 20px 16px 22px 18px;
  color: white;
  background: var(--forest-deep);
}

.privacy-lock {
  position: relative;
  display: block;
  width: 42px;
  height: 36px;
  margin-top: 10px;
  border-radius: 9px;
  background: var(--apricot);
}

.privacy-lock::before {
  position: absolute;
  top: -15px;
  left: 10px;
  width: 18px;
  height: 22px;
  border: 3px solid var(--apricot);
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  content: "";
}

.privacy-banner h3 {
  margin: 0 0 5px;
  font-size: 18px;
}

.privacy-banner p {
  margin: 0;
  color: #d1ded7;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.65;
}

.setting-list {
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

.setting-row {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.setting-row > span {
  display: grid;
}

.setting-row strong {
  font-size: 13px;
}

.setting-row small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

.setting-row select {
  min-width: 96px;
  min-height: 44px;
  padding: 0 12px;
  border: 1.5px solid rgba(49, 95, 76, .3);
  border-radius: 12px;
  background: var(--white);
  font-weight: 850;
}

.switch {
  position: relative;
  width: 51px;
  height: 30px;
  margin: 0;
  appearance: none;
  border: 1.5px solid rgba(49, 95, 76, .3);
  border-radius: 99px;
  background: #d9d7ca;
  transition: background .16s ease;
}

.switch::after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 2px 6px rgba(38, 59, 50, .2);
  content: "";
  transition: transform .16s ease;
}

.switch:checked {
  background: var(--forest);
}

.switch:checked::after {
  transform: translateX(21px);
}

.danger-zone {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin-top: 27px;
  padding: 20px;
  border: 1px solid rgba(190, 91, 74, .25);
  border-radius: 18px;
  background: #fff8f5;
}

.danger-zone h3 {
  margin: 0 0 3px;
  color: #8b3227;
  font-size: 15px;
}

.danger-zone p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 650;
}

/* Toast and celebration */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 120;
  max-width: min(420px, calc(100% - 32px));
  padding: 12px 17px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 14px;
  color: white;
  background: var(--forest-deep);
  box-shadow: 0 12px 32px rgba(20, 42, 33, .25);
  font-size: 12px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: opacity .2s ease, transform .2s ease;
}

.toast.is-showing {
  opacity: 1;
  transform: translate(-50%, 0);
}

.celebration-layer {
  position: fixed;
  inset: 0;
  z-index: 110;
  overflow: hidden;
  pointer-events: none;
}

.confetti-leaf {
  position: absolute;
  top: -30px;
  width: 14px;
  height: 22px;
  border-radius: 80% 0 80% 20%;
  background: var(--confetti-color, var(--leaf));
  animation: leaf-fall 1.8s ease-in forwards;
}

@keyframes leaf-fall {
  to { opacity: .2; transform: translate(var(--drift, 20px), 110vh) rotate(620deg); }
}

/* High contrast */
body[data-contrast="true"] {
  --paper: #fff9e8;
  --paper-deep: #e1d5b7;
  --cream: #fffdf6;
  --white: #ffffff;
  --ink: #10261d;
  --ink-soft: #344b40;
  --forest: #174c36;
  --forest-deep: #0b3423;
  --leaf: #3d7e51;
  --line: rgba(16, 38, 29, .35);
}

body[data-contrast="true"] .stage-card,
body[data-contrast="true"] .play-card,
body[data-contrast="true"] .keyboard-section,
body[data-contrast="true"] .learning-receipt {
  border-width: 2px;
}

/* Responsive */
@media (min-width: 1180px) {
  body[data-screen="game"] .site-header {
    width: min(100%, 1612px);
  }

  .game-layout {
    height: min(780px, calc(100dvh - 270px));
    min-height: 540px;
    grid-template-columns: minmax(440px, .82fr) minmax(650px, 1.18fr);
  }

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

@media (min-width: 1500px) {
  .keyboard-board {
    width: 680px;
    min-width: 680px;
    gap: 7px;
  }

  .keyboard-row {
    gap: 7px;
  }

  .key-button {
    width: 59px;
    min-width: 59px;
    height: 56px;
    font-size: 21px;
  }

  .key-button.shift-key {
    width: 94px;
    min-width: 94px;
  }

  .key-button.space-key {
    width: 340px;
    min-width: 340px;
    height: 46px;
  }
}

@media (max-width: 1040px) {
  .hero-shell {
    min-height: 570px;
  }

  .hero-copy {
    width: 58%;
    padding: 62px 0 55px 48px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 6vw, 62px);
  }

  .today-strip {
    grid-template-columns: 1fr auto;
  }

  .today-strip > p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-left: 72px;
  }

  .mascot-section {
    grid-template-columns: minmax(260px, .75fr) minmax(0, 1.25fr);
    gap: 28px;
    padding-right: 28px;
  }

  .mascot-roles {
    grid-template-columns: 1fr;
  }

  .parent-promise {
    gap: 45px;
    padding: 55px;
  }

  .game-layout {
    grid-template-columns: minmax(270px, .72fr) minmax(540px, 1.28fr);
  }

  .session-card {
    grid-template-columns: 32px minmax(95px, .9fr) minmax(0, 1.1fr);
    column-gap: 10px;
    padding-inline: 14px;
  }

  .session-card ul {
    min-width: 0;
  }

  .session-card li {
    min-width: 28px;
    height: 28px;
    padding-inline: 4px;
    font-size: 11px;
  }

  .keyboard-board {
    width: 540px;
    min-width: 540px;
    gap: 5px;
  }

  .keyboard-row {
    gap: 5px;
  }

  .key-button {
    width: 47px;
    min-width: 47px;
    height: 47px;
  }

  .key-button.shift-key {
    width: 77px;
    min-width: 77px;
  }

  .key-button.space-key {
    width: 275px;
    min-width: 275px;
    height: 44px;
  }
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 22px;
  }

  .brand-copy small,
  .icon-button span {
    display: none;
  }

  .hero-shell {
    min-height: 830px;
    background: var(--white);
  }

  .hero-shell::before {
    background: linear-gradient(180deg, rgba(255, 250, 233, 1) 0, rgba(255, 250, 233, .98) 46%, rgba(255, 250, 233, .22) 61%, transparent 73%);
  }

  .hero-copy {
    width: 100%;
    max-width: 660px;
    padding: 52px 44px 0;
  }

  .hero-visual {
    background-position: 58% 100%;
    background-size: auto 68%;
    background-repeat: no-repeat;
  }

  .hero-shell::after {
    display: none;
  }

  .today-strip {
    width: calc(100% - 34px);
  }

  .mascot-section {
    grid-template-columns: minmax(240px, .8fr) minmax(0, 1.2fr);
    margin-inline: 16px;
    padding: 24px;
  }

  .mascot-copy h2 {
    font-size: clamp(28px, 4.6vw, 38px);
  }

  .journey-section {
    padding-inline: 10px;
  }

  .section-heading {
    display: grid;
    gap: 19px;
  }

  .stage-map {
    gap: 21px 52px;
  }

  .stage-card {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 218px;
  }

  .stage-art {
    width: 82px;
    height: 82px;
  }

  .stage-orb {
    width: 62px;
    height: 62px;
    font-size: 23px;
  }

  .free-play-card {
    grid-template-columns: 150px 1fr;
  }

  .free-play-card .button {
    grid-column: 2;
    justify-self: start;
  }

  .free-play-art {
    grid-row: 1 / span 2;
  }

  .paper-note { width: 60px; height: 70px; }
  .paper-note:nth-child(2) { left: 43px; }
  .paper-note:nth-child(3) { left: 85px; }

  .parent-promise {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .game-layout {
    grid-template-areas:
      "play"
      "keyboard"
      "session";
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .session-card {
    display: grid;
    min-height: auto;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 18px;
    padding: 22px 25px;
  }

  .session-leaf {
    grid-row: 1 / span 4;
  }

  .session-card ul {
    grid-column: 2;
    grid-row: auto;
    margin: 10px 0;
  }

  .session-card small {
    display: block;
    grid-column: 2;
  }
}

@media (min-width: 901px) and (max-height: 820px) {
  body[data-screen="game"] .site-header {
    min-height: 64px;
    padding-block: 8px;
  }

  body[data-screen="game"] .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 17px;
  }

  body[data-screen="game"] .brand-copy small {
    display: none;
  }

  .game-screen {
    padding: 12px 0;
  }

  .game-topbar {
    gap: 12px;
  }

  .round-button,
  .listen-button {
    min-height: 42px;
    height: 42px;
  }

  .round-button {
    width: 42px;
  }

  .game-heading h1 {
    font-size: 22px;
  }

  .game-progress-row {
    margin: 7px 0 11px;
  }

  .game-layout {
    height: clamp(520px, calc(100dvh - 178px), 590px);
    grid-template-rows: minmax(390px, 1fr) 90px;
  }

  .play-card {
    min-height: 0;
    padding: 12px 20px 10px;
  }

  .guide-mascots {
    width: 90px;
    height: 58px;
  }

  .guide-kongi { width: 60px; height: 60px; }
  .guide-porongi { width: 45px; height: 45px; }

  .guide-bubble {
    padding: 7px 12px;
  }

  .guide-bubble p {
    font-size: 11px;
  }

  .target-area {
    min-height: 123px;
    padding: 7px 8px 4px;
  }

  .target-word {
    min-height: 66px;
    font-size: clamp(52px, 6.2vw, 72px);
  }

  .target-word.is-long {
    font-size: clamp(34px, 4.5vw, 48px);
  }

  .target-word.is-very-long {
    font-size: clamp(24px, 2.65vw, 31px);
    line-height: 1.38;
  }

  .syllable-builder {
    min-height: 32px;
    margin-top: 4px;
  }

  .jamo-chip {
    min-width: 31px;
    height: 31px;
    font-size: 15px;
  }

  .key-clue {
    padding: 7px 10px;
  }

  .clue-hand {
    width: 36px;
    height: 36px;
  }

  .key-clue kbd {
    min-width: 38px;
    height: 36px;
  }

  .feedback-line {
    min-height: 20px;
    margin-top: 5px;
    font-size: 11px;
  }

  .session-card {
    min-height: 90px;
    padding-block: 11px;
  }

  .keyboard-section {
    padding: 10px 14px 11px;
  }

  .keyboard-heading {
    margin-bottom: 1px;
  }

  .hand-guide {
    height: 96px;
    margin-top: -3px;
  }

  .hand-guide::before {
    top: 4px;
  }

  .hand-guide-caption {
    top: 25px;
    padding-block: 5px 6px;
  }

  .keyboard-scroll {
    padding-block: 2px 5px;
  }

  .keyboard-tip {
    margin-top: 0;
  }
}

@media (max-width: 620px) {
  .screen {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header {
    min-height: 70px;
    padding: 9px 13px;
  }

  .brand-mark {
    width: 43px;
    height: 43px;
    font-size: 18px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .parent-button {
    width: 46px;
    padding: 0;
    font-size: 0;
  }

  .parent-button svg {
    width: 22px;
  }

  .icon-button {
    width: 46px;
    padding: 0;
  }

  .hero-shell {
    min-height: 750px;
    margin-top: 3px;
    border-radius: 29px 29px 24px 24px;
  }

  .hero-copy {
    padding: 37px 25px 0;
  }

  .hero-copy h1 {
    font-size: clamp(40px, 12vw, 55px);
    line-height: 1.14;
  }

  .hero-lead {
    margin-top: 23px;
    font-size: 15px;
    line-height: 1.7;
  }

  .trust-pills span {
    font-size: 10px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-note {
    display: none;
  }

  .hero-visual {
    background-position: 61% 100%;
    background-size: auto 56%;
  }

  .today-strip {
    display: grid;
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    gap: 13px;
    margin-top: -24px;
    padding: 19px;
  }

  .mascot-section {
    grid-template-columns: 1fr;
    gap: 23px;
    margin: 54px 0 0;
    padding: 20px;
    border-radius: 29px 35px 27px 33px;
  }

  .mascot-stage {
    width: min(100%, 390px);
    justify-self: center;
  }

  .mascot-copy h2 {
    font-size: clamp(29px, 8.8vw, 39px);
  }

  .mascot-roles {
    grid-template-columns: 1fr;
  }

  .today-strip > p {
    grid-column: auto;
    grid-row: auto;
    margin-left: 0;
  }

  .text-button {
    justify-self: start;
  }

  .journey-section {
    padding: 87px 0 76px;
  }

  .section-heading h2,
  .parent-promise h2 {
    font-size: clamp(34px, 10vw, 47px);
  }

  .section-heading > p {
    font-size: 14px;
  }

  .journey-progress {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 35px 0 43px;
    padding-inline: 8px;
  }

  .stage-map {
    grid-template-columns: 1fr;
    gap: 17px;
    padding-left: 22px;
  }

  .stage-map::before {
    top: 30px;
    bottom: 30px;
    left: 5px;
    transform: none;
  }

  .stage-card,
  .stage-card:nth-child(even),
  .stage-card:nth-child(odd):not(:first-child),
  .stage-card:last-child:nth-child(odd) {
    grid-template-columns: auto 1fr;
    width: 100%;
    min-height: 158px;
    margin: 0;
    padding: 20px 92px 20px 20px;
  }

  .stage-art {
    right: 12px;
    bottom: 14px;
    width: 68px;
    height: 68px;
  }

  .stage-orb {
    width: 58px;
    height: 58px;
  }

  .stage-copy h3 {
    font-size: 18px;
  }

  .stage-keys {
    display: none;
  }

  .free-play-card {
    grid-template-columns: 1fr;
    gap: 17px;
    margin-top: 50px;
    padding: 27px 23px;
  }

  .free-play-art {
    height: 100px;
  }

  .free-play-card .button {
    grid-column: auto;
    width: 100%;
  }

  .parent-promise {
    gap: 38px;
    margin-inline: -2px;
    padding: 39px 25px;
    border-radius: 35px 25px 37px 28px;
  }

  .game-screen,
  .free-screen {
    padding-top: 22px;
  }

  .game-topbar {
    gap: 11px;
  }

  .game-heading h1 {
    font-size: 20px;
  }

  .listen-button {
    width: 48px;
    padding: 0;
    font-size: 0;
  }

  .game-progress-row {
    grid-template-columns: 45px 1fr;
  }

  .no-timer {
    display: none;
  }

  .play-card {
    min-height: 455px;
    padding: 23px 17px 26px;
    border-radius: 28px 23px 30px 25px;
  }

  .guide-mascots {
    width: 90px;
    height: 58px;
  }

  .guide-kongi { width: 60px; height: 60px; }
  .guide-porongi { width: 45px; height: 45px; }

  .guide-bubble {
    padding: 9px 13px;
  }

  .guide-bubble p {
    font-size: 11px;
  }

  .target-area {
    min-height: 224px;
  }

  .target-word {
    font-size: clamp(51px, 17vw, 72px);
  }

  .target-word.is-long {
    font-size: clamp(33px, 10.4vw, 47px);
  }

  .target-word.is-very-long {
    font-size: clamp(24px, 7vw, 32px);
    line-height: 1.42;
  }

  .key-clue {
    grid-template-columns: auto 1fr;
  }

  .key-clue kbd {
    display: none;
  }

  .session-card {
    grid-template-columns: 55px 1fr;
  }

  .session-leaf {
    width: 38px;
    height: 47px;
  }

  .keyboard-section {
    margin-top: 0;
    padding: 20px 12px 22px;
  }

  .keyboard-heading {
    padding-inline: 4px;
  }

  .hand-legend {
    display: none;
  }

  .hand-guide {
    height: 112px;
  }

  .hand-guide-caption {
    top: 34px;
    width: 154px;
    padding: 5px 6px 6px;
  }

  .hand-guide-badge {
    display: none;
  }

  .hand-guide-caption strong {
    font-size: 10px;
  }

  .hand-guide-caption small {
    font-size: 8px;
  }

  .keyboard-board {
    margin: 0;
  }

  .finish-screen {
    padding-top: 40px;
  }

  .finish-screen > h1 {
    font-size: clamp(35px, 10vw, 45px);
  }

  .learning-receipt {
    padding: 26px 22px;
  }

  .learning-receipt dl > div {
    grid-template-columns: 110px 1fr;
  }

  .finish-actions {
    display: grid;
  }

  .finish-actions .button {
    width: 100%;
  }

  .free-note {
    display: grid;
  }

  .free-paper {
    min-height: 270px;
    padding: 30px 20px;
  }

  .free-controls {
    display: grid;
  }

  .parent-dialog {
    width: calc(100% - 14px);
    max-height: calc(100dvh - 14px);
    border-radius: 23px;
  }

  .dialog-shell {
    max-height: calc(100dvh - 14px);
  }

  .dialog-header {
    padding: 23px 20px 18px;
  }

  .dialog-header h2 {
    font-size: 24px;
  }

  .parent-tabs {
    top: 114px;
    padding: 0 10px;
  }

  .parent-panels {
    padding: 25px 19px 30px;
  }

  .principle-grid {
    grid-template-columns: 1fr;
  }

  .record-hero {
    grid-template-columns: 1fr;
  }

  .record-hero > div {
    min-height: 74px;
  }

  .last-session-card dl > div {
    grid-template-columns: 105px 1fr;
  }

  .setting-row {
    min-height: 88px;
  }

  .danger-zone {
    display: grid;
  }
}

@media (max-width: 380px) {
  .brand-copy {
    display: none;
  }

  .hero-copy {
    padding-inline: 20px;
  }

  .stage-card,
  .stage-card:nth-child(even),
  .stage-card:nth-child(odd):not(:first-child),
  .stage-card:last-child:nth-child(odd) {
    grid-template-columns: 1fr;
  }

  .stage-orb {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body[data-reduce-motion="true"] *,
body[data-reduce-motion="true"] *::before,
body[data-reduce-motion="true"] *::after {
  scroll-behavior: auto !important;
  animation-duration: .01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .01ms !important;
}
