:root {
  --ink: #243b53;
  --muted: #657b8d;
  --sky: #edf7fd;
  --paper: #fff;
  --coral: #df624b;
  --green: #537a53;
  --line: #dce6eb;
  --font: "Hiragino Sans GB", "PingFang SC", "Microsoft YaHei", sans-serif;
  --round: 24px;
  color-scheme: light;
  font-family: var(--font);
  color: var(--ink);
  background: var(--sky);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  color: inherit;
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
svg {
  display: block;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 3px solid #436fa5;
  outline-offset: 5px;
}
main:focus,
h1:focus,
h2:focus {
  outline: none;
}
button {
  border: 0;
}
img {
  max-width: 100%;
}
.wrap {
  width: min(1140px, calc(100% - 80px));
  margin-inline: auto;
}
.icon {
  width: 21px;
  height: 21px;
  flex: none;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 15px 23px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  transition:
    transform 0.15s,
    background 0.15s;
}
.button:hover {
  transform: translateY(-2px);
}
.primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 4px 0 #172b3d;
}
.primary:hover {
  background: #34516e;
}
.light {
  background: #fff;
  color: var(--ink);
  border: 1px solid #dce5df;
}
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: none;
  padding: 10px 0;
  font-size: 14px;
  color: #526c7f;
}
.text-button:hover {
  text-decoration: underline;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 12px;
  background: white;
  padding: 12px;
  z-index: 20;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 21px;
  font-weight: 850;
  letter-spacing: 1px;
}
.brand img {
  width: 43px;
  height: 43px;
}
.brand small {
  display: block;
  font-size: 10px;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
}
.site-header nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: 35px;
  font-size: 15px;
  font-weight: 650;
}
.site-header nav a {
  padding-block: 10px;
  position: relative;
}
.site-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 35%;
  width: 30%;
  height: 4px;
  background: var(--coral);
  border-radius: 6px;
}
.parent-link {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--muted);
}
.parent-link .icon {
  width: 15px;
}
.hero {
  min-height: 475px;
  display: grid;
  grid-template-columns: 1.06fr 1fr;
  align-items: center;
  gap: 30px;
  padding-block: 30px 70px;
}
.hello {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 650;
  color: #54836b;
  letter-spacing: 1px;
}
.hello .icon {
  width: 18px;
}
.hero h1 {
  font-size: clamp(32px, 3.5vw, 45px);
  font-weight: 850;
  line-height: 1.5;
  letter-spacing: 1px;
  margin: 16px 0;
}
.hero-copy > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.95;
  margin: 0 0 24px;
}
.hero-button {
  background: var(--coral);
  box-shadow: 0 4px 0 #b84a3b;
  padding-inline: 22px;
}
.hero-button:hover {
  background: #d05843;
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 17px;
  font-size: 12px;
  color: var(--muted);
}
.tiny-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7fa893;
}
.hero-scene {
  height: 390px;
  position: relative;
  isolation: isolate;
}
.scene-orbit {
  position: absolute;
  width: 345px;
  height: 345px;
  background: #d8ebf5;
  border-radius: 50%;
  top: 20px;
  left: 70px;
  z-index: -1;
}
.scene-board {
  position: absolute;
  top: 50px;
  left: 55px;
  width: 252px;
  height: 266px;
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
  background: #fff;
  border: 1px solid #b7d2e3;
  border-radius: 24px;
  transform: rotate(-8deg);
  box-shadow: 8px 12px 0 #b6d2e180;
}
.scene-board > span {
  background: #e9f4fb;
  border: 1px solid #c4deed;
  border-radius: 11px;
  display: grid;
  place-items: center;
  font-size: 27px;
  font-weight: 750;
  color: #456b87;
}
.scene-board .scene-correct {
  position: relative;
  background: #ffd773;
  border-color: #edbd4c;
  color: #755c30;
}
.scene-correct > span {
  position: absolute;
  right: -9px;
  top: -9px;
  background: #6d946b;
  border: 3px solid #fff;
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
}
.scene-acorn {
  position: absolute;
  width: 166px;
  right: 2px;
  bottom: 32px;
  transform: rotate(9deg);
}
.acorn {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.scene-label {
  position: absolute;
  right: 0;
  top: 4px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 18px 18px 18px 2px;
  transform: rotate(5deg);
  font-size: 14px;
  letter-spacing: 1px;
  font-weight: 700;
}
.scene-sticker {
  position: absolute;
  bottom: 11px;
  left: 37px;
  transform: rotate(3deg);
  background: #e1edb5;
  border: 1px solid #d0dd9e;
  padding: 9px 18px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #657348;
  border-radius: 4px;
}
.scene-star {
  position: absolute;
  color: #e6ad49;
  font-size: 44px;
  line-height: 1;
}
.star-one {
  top: 0;
  left: 10px;
  transform: rotate(12deg);
}
.star-two {
  font-size: 34px;
  right: 5px;
  top: 150px;
  color: #8b85b9;
}
.scene-pencil {
  position: absolute;
  bottom: 63px;
  left: 6px;
  background: #e6ae5d;
  border-left: 8px solid #f6d187;
  border-right: 8px solid #cb8f3e;
  width: 24px;
  height: 113px;
  transform: rotate(20deg);
  border-radius: 5px 5px 0 0;
}
.scene-pencil::after {
  content: "";
  position: absolute;
  bottom: -24px;
  left: -8px;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-top: 26px solid #f2d3ad;
}
.play-section {
  padding-block: 3px 42px;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.section-heading h2 {
  font-size: 26px;
  letter-spacing: 0.6px;
  margin: 0;
  font-weight: 800;
}
.section-heading p {
  font-size: 14px;
  color: var(--muted);
  margin: 10px 0 0;
}
.surprise {
  font-size: 13px;
  gap: 8px;
}
.surprise .icon {
  width: 17px;
}
.filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin: 27px 0 25px;
}
.filter {
  background: #fff8;
  border: 1px solid #dbe8ef;
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  min-height: 42px;
}
.filter.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.filter:hover:not(.active) {
  background: #fff;
}
.game-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.game-card {
  background: #fff;
  border-radius: 24px;
  padding: 10px;
  border: 1px solid #dce7ed;
  overflow: hidden;
  transition:
    transform 0.18s,
    border-color 0.18s;
}
.game-card:hover {
  transform: translateY(-5px);
  border-color: #aac6d4;
}
.card-visual {
  height: 170px;
  border-radius: 17px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blue .card-visual,
.ready-art.blue,
.record-icon.blue {
  background: #e0eff9;
}
.purple .card-visual,
.ready-art.purple,
.record-icon.purple {
  background: #eee7f4;
}
.pink .card-visual,
.ready-art.pink,
.record-icon.pink {
  background: #fae9e6;
}
.lavender .card-visual,
.ready-art.lavender,
.record-icon.lavender {
  background: #e9e8f7;
}
.green .card-visual,
.ready-art.green,
.record-icon.green {
  background: #e8efd9;
}
.orange .card-visual,
.ready-art.orange,
.record-icon.orange {
  background: #fbecd7;
}
.game-art {
  width: 205px;
  height: 170px;
  overflow: visible;
}
.card-play {
  position: absolute;
  bottom: 13px;
  right: 13px;
  width: 30px;
  height: 30px;
  background: #fff9;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.card-play .icon {
  width: 15px;
  height: 15px;
}
.card-copy {
  padding: 20px 15px 17px;
}
.card-category {
  font-size: 11px;
  letter-spacing: 0.7px;
  color: #63798a;
}
.card-copy h3 {
  font-size: 20px;
  margin: 7px 0 8px;
  font-weight: 750;
  letter-spacing: 0.5px;
}
.card-copy p {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}
.daily-strip {
  background: #e2edcc;
  border: 1px solid #d6e1bc;
  border-radius: 22px;
  display: flex;
  gap: 25px;
  align-items: center;
  padding: 20px 32px;
  margin-top: 8px;
  margin-bottom: 54px;
}
.daily-acorn {
  width: 68px;
  height: 80px;
  flex: none;
}
.daily-strip h2 {
  font-size: 20px;
  margin: 0 0 10px;
  font-weight: 750;
}
.daily-strip p {
  font-size: 13px;
  color: #687c5c;
  margin: 0;
}
.daily-strip .button {
  margin-left: auto;
  font-size: 13px;
  min-height: 46px;
  padding: 11px 17px;
  white-space: nowrap;
}
.site-footer {
  border-top: 1px solid #d7e5ed;
  padding-block: 27px 32px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  color: #738797;
  line-height: 1.8;
}
.footer-brand {
  color: #4e6b7d;
  font-weight: 650;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--muted);
  padding: 8px 0;
}
.back-link .icon {
  width: 18px;
}
.game-page {
  max-width: 940px;
  padding-top: 20px;
  padding-bottom: 48px;
}
.game-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  margin: 27px 0 24px;
}
.game-type {
  font-size: 12px;
  letter-spacing: 1px;
  color: #687e8a;
}
.game-heading h1,
.records-page h1 {
  font-size: 32px;
  letter-spacing: 1px;
  margin: 10px 0 12px;
  font-weight: 800;
}
.game-heading p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.9;
  margin: 0;
  max-width: 610px;
}
.game-settings {
  flex: none;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.game-settings label {
  font-size: 12px;
  color: var(--muted);
}
select {
  background: #fff;
  border: 1px solid #c9dae4;
  border-radius: 10px;
  color: var(--ink);
  padding: 11px 32px 11px 12px;
  min-height: 44px;
  font-size: 14px;
  max-width: 100%;
}
select:disabled {
  opacity: 0.6;
}
.game-panel {
  background: #fff;
  border: 1px solid #d4e2eb;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 7px 0 #deebf280;
}
.game-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  background: #f6fafc;
  padding: 17px 25px;
  font-size: 13px;
  border-bottom: 1px solid #e6edf2;
}
.toolbar-left {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #6b7f8c;
}
.toolbar-dot {
  width: 7px;
  height: 7px;
  background: #84a77e;
  border-radius: 50%;
  flex: none;
}
.game-metrics {
  display: flex;
  gap: 24px;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
.game-metrics > span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.game-metrics .icon {
  width: 17px;
  height: 17px;
  color: #7a93a2;
}
.game-stage {
  padding: 30px 30px 22px;
  min-height: 410px;
}
.ready-view {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  min-height: 350px;
  padding-bottom: 20px;
}
.ready-art {
  width: 225px;
  height: 225px;
  display: grid;
  place-items: center;
  border-radius: 45px;
  transform: rotate(-5deg);
  flex: none;
}
.ready-art .game-art {
  width: 205px;
  height: 170px;
  transform: rotate(5deg);
}
.ready-copy h2 {
  font-size: 25px;
  line-height: 1.6;
  margin: 0 0 10px;
}
.ready-copy p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 300px;
  margin-bottom: 24px;
}
.start-button {
  font-size: 14px;
}
.poem-learn {
  text-align: center;
  min-width: 240px;
  background: #f3edf7;
  border: 1px solid #e6dbef;
  border-radius: 20px;
  padding: 24px 28px;
}
.poem-kicker {
  font-size: 11px;
  color: #8d78a2;
  letter-spacing: 2px;
}
.poem-learn h2 {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 27px;
  font-weight: 600;
  margin: 10px 0;
}
.poem-author {
  font-size: 12px;
  color: #8c8097;
  margin: 8px 0 15px;
}
.poem-lines {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 21px;
  line-height: 1.8;
  letter-spacing: 3px;
}
.poem-lines p {
  margin: 2px 0;
}
.board-content {
  max-width: 560px;
  margin-inline: auto;
}
.target-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 25px;
  min-height: 44px;
}
.target-line strong {
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  background: #fff0c9;
  border: 1px solid #f3d98d;
  border-radius: 12px;
  font-size: 26px;
  color: #80632d;
  font-weight: 750;
  padding-inline: 10px;
}
.play-grid {
  display: grid;
  gap: 10px;
  width: min(100%, 420px);
  margin-inline: auto;
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.cell {
  aspect-ratio: 1;
  border: 1.5px solid #bed6e5;
  background: #f0f7fc;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 8px;
  font-size: clamp(23px, 3vw, 35px);
  font-weight: 700;
  line-height: 1;
  color: #355871;
  min-width: 0;
  transition:
    background 0.12s,
    transform 0.12s;
}
.cell:hover:not(:disabled) {
  background: #deedf8;
  border-color: #7da6c3;
}
.cell:active:not(:disabled) {
  transform: scale(0.96);
}
.cell.selected {
  background: #eaf3e3;
  border-color: #d3e0cb;
  color: #62825b;
}
.cell.selected .shape-art {
  opacity: 0.45;
}
.cell-check {
  position: absolute;
  right: 5px;
  bottom: 4px;
  font-size: 13px;
  color: #6b925e;
}
.grid-5 .cell {
  font-size: 27px;
}
.poem-grid {
  width: min(100%, 500px);
  gap: 9px;
}
.poem-grid .cell {
  background: #f5f0f9;
  border-color: #d4c6e0;
  font-family: "Songti SC", "SimSun", serif;
  font-size: 30px;
  font-weight: 650;
}
.poem-grid .cell.selected {
  background: #edf3e6;
  color: #6a855d;
  border-color: #d8e3cc;
}
.poem-guide {
  border-bottom: 1px solid #e9e2ef;
  padding-bottom: 22px;
  margin: 0 auto 22px;
  text-align: center;
}
.poem-guide-title {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 13px;
}
.poem-guide-title > span {
  margin-left: 12px;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
}
.poem-guide-lines {
  font-family: "Songti SC", "SimSun", serif;
  font-size: 21px;
  line-height: 1.7;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 15px;
  max-width: 430px;
  margin-inline: auto;
}
.poem-char {
  display: inline-block;
  min-width: 27px;
  padding: 2px;
  border-radius: 5px;
}
.poem-char.current {
  background: #ffedb8;
  color: #7d5d22;
  box-shadow: 0 2px 0 #e8c76a;
}
.poem-char.found {
  color: #6a925c;
}
.shape-art {
  width: 65%;
  height: 65%;
  max-width: 70px;
  max-height: 70px;
}
.shape-circle {
  fill: #4c9bc3;
  color: #4c9bc3;
}
.shape-triangle,
.shape-star {
  fill: #d99c2e;
  color: #d99c2e;
}
.shape-heart {
  fill: #de7487;
  color: #de7487;
}
.shape-square {
  fill: #7c76ba;
  color: #7c76ba;
}
.shape-moon {
  fill: #8c7dc3;
  color: #8c7dc3;
}
.shape-diamond {
  fill: #4b9a84;
  color: #4b9a84;
}
.shape-flower {
  fill: #dd7898;
  color: #dd7898;
}
.shape-arch {
  fill: #69a892;
  color: #69a892;
}
.shape-target {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 22px;
  font-size: 14px;
  color: var(--muted);
}
.shape-target > div {
  width: 70px;
  height: 70px;
  background: #fff3d3;
  border-radius: 16px;
  display: grid;
  place-items: center;
}
.board-hint {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
  text-align: center;
  margin: 0 0 22px;
}
.memory-grid {
  max-width: 435px;
}
.memory-cell {
  background: #9188bf;
  border: 1.5px solid #7f74af;
  color: #fff;
}
.memory-cell:hover:not(:disabled) {
  background: #8378b4;
  border-color: #7565a2;
}
.card-back-mark {
  font-size: 35px;
  color: #dad5ef;
}
.memory-cell.revealed {
  background: #f8f5fc;
  border-color: #d3c9e7;
}
.memory-cell.matched {
  background: #eff5e9;
  border-color: #d4e3c6;
}
.memory-cell.matched::after {
  content: "✓";
  position: absolute;
  bottom: 5px;
  right: 7px;
  font-size: 13px;
  color: #6c8c5c;
}
.sudoku-grid {
  gap: 0;
  border: 3px solid #66835b;
  border-radius: 10px;
  overflow: hidden;
  max-width: 355px;
}
.sudoku-cell {
  border: 0;
  border-right: 1px solid #c5d4bd;
  border-bottom: 1px solid #c5d4bd;
  border-radius: 0;
  background: #fff;
  font-size: 32px;
  color: #577c47;
  font-weight: 550;
}
.sudoku-cell:nth-child(4n) {
  border-right: 0;
}
.sudoku-cell:nth-child(4n + 2) {
  border-right: 3px solid #66835b;
}
.sudoku-cell:nth-child(n + 5):nth-child(-n + 8) {
  border-bottom: 3px solid #66835b;
}
.sudoku-cell:nth-child(n + 13) {
  border-bottom: 0;
}
.sudoku-cell.given {
  background: #f0f4ea;
  color: #3e5438;
  font-weight: 750;
}
.sudoku-cell.chosen {
  background: #fff0bd;
  box-shadow: inset 0 0 0 3px #dcaf45;
}
.sudoku-cell:focus-visible {
  outline-offset: -5px;
  z-index: 1;
}
.sudoku-keypad {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  max-width: 355px;
  margin: 23px auto 0;
}
.sudoku-keypad button {
  border-radius: 10px;
  min-height: 56px;
  background: #e7eedf;
  font-size: 25px;
  font-weight: 650;
  border: 1px solid #b8c9ab;
}
.sudoku-keypad button:disabled {
  opacity: 0.4;
}
.sudoku-keypad button:hover:not(:disabled) {
  background: #d4e3c6;
}
.feedback {
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
  min-height: 24px;
  margin: 20px 0 0;
  color: #6d7d8c;
}
.feedback.gentle {
  color: #a56837;
}
.feedback.success {
  color: #5e8356;
}
.game-bottom {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0 20px 23px;
}
.game-bottom .text-button {
  font-size: 12px;
}
.game-bottom .icon {
  width: 16px;
  height: 16px;
}
.game-footnote {
  font-size: 12px;
  color: #7c8f9d;
  text-align: center;
  line-height: 1.8;
  margin: 23px 0 0;
}
.pause-view {
  text-align: center;
  padding: 30px 5px 60px;
}
.pause-symbol {
  font-size: 75px;
  color: #9dc9de;
}
.pause-view h2 {
  font-size: 25px;
}
.pause-view p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 30px;
}
.result {
  text-align: center;
  padding-bottom: 22px;
}
.result-acorn {
  width: 115px;
  height: 125px;
  position: relative;
  margin: 0 auto 14px;
}
.result-acorn > span {
  position: absolute;
  right: -20px;
  top: 18px;
  border-radius: 30px;
  background: #e5edce;
  color: #678048;
  padding: 6px 11px;
  font-size: 17px;
  font-weight: 750;
}
.result h2 {
  font-size: 28px;
  margin: 13px 0;
}
.result > p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}
.result-stats {
  display: flex;
  justify-content: center;
  gap: 65px;
  margin: 28px auto 32px;
}
.result-stats > div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.result-stats span {
  font-size: 12px;
  color: var(--muted);
}
.result-stats strong {
  font-size: 29px;
  font-variant-numeric: tabular-nums;
}
.result-stats small {
  font-size: 13px;
  font-weight: 400;
}
.result-actions {
  display: flex;
  justify-content: center;
  gap: 13px;
}
.result-records {
  display: inline-block;
  color: #6a8191;
  font-size: 13px;
  margin-top: 25px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.equation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: 40px;
  font-weight: 700;
  margin: 30px 0;
  color: #8a6041;
  font-variant-numeric: tabular-nums;
}
.equation .operator {
  font-size: 30px;
  color: #b39171;
}
.equation input {
  min-width: 0;
  width: 105px;
  border: 2px solid #e6bd79;
  border-radius: 12px;
  background: #fff8e8;
  color: #8a6041;
  font-size: 39px;
  text-align: center;
  height: 77px;
  padding: 4px;
}
.equation input::placeholder {
  color: #ccbda3;
}
.number-keypad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 330px;
  margin-inline: auto;
}
.number-keypad button {
  border: 1px solid #e4d7c5;
  background: #fbf5ec;
  border-radius: 12px;
  min-height: 58px;
  font-size: 23px;
  font-weight: 600;
}
.number-keypad button:hover {
  background: #f3e6d2;
}
.number-keypad .key-delete {
  font-size: 25px;
  color: #8a7966;
}
.number-keypad .key-confirm {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: #496d53;
  border-color: #496d53;
  color: #fff;
  font-size: 17px;
}
.number-keypad .key-confirm .icon {
  width: 17px;
  height: 17px;
}
.records-page {
  max-width: 940px;
  padding-block: 40px 55px;
  min-height: 70vh;
}
.records-page .section-heading p {
  line-height: 1.8;
}
.record-summary {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 20px;
  background: #e3edce;
  border: 1px solid #d4e0b9;
  border-radius: 23px;
  padding: 22px 35px;
  margin: 30px 0 35px;
}
.summary-acorn {
  width: 67px;
  height: 80px;
  flex: none;
}
.record-summary > div:not(.summary-acorn) {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.record-summary strong {
  font-size: 31px;
  font-weight: 750;
  color: #54704a;
}
.record-summary span {
  font-size: 12px;
  color: #6f805f;
}
.records-select {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}
.records-select label {
  font-size: 18px;
  font-weight: 650;
}
.records-select select {
  width: 150px;
}
.record-list {
  border: 1px solid #d9e4ec;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
}
.record-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 17px 23px;
  border-bottom: 1px solid #e9eff3;
}
.record-row:last-child {
  border-bottom: 0;
}
.record-icon {
  width: 58px;
  height: 58px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.record-icon .game-art {
  width: 56px;
  height: 50px;
}
.record-title {
  flex: 1;
  min-width: 0;
}
.record-title h2 {
  font-size: 15px;
  margin: 0 0 6px;
}
.record-title p {
  font-size: 12px;
  margin: 0;
  color: var(--muted);
}
.record-time {
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  min-width: 95px;
}
.record-time .icon {
  display: inline-block;
  vertical-align: -3px;
  width: 16px;
  height: 16px;
  color: #7d92a0;
  margin-right: 3px;
}
.record-time small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  margin-top: 7px;
}
.record-row time {
  font-size: 12px;
  color: var(--muted);
  min-width: 125px;
  text-align: right;
}
.records-note {
  font-size: 12px;
  line-height: 1.8;
  color: #7d909d;
  margin: 18px 0;
}
.empty-records {
  padding: 45px 25px 55px;
  background: #fff;
  border: 1px dashed #cbdde8;
  border-radius: 22px;
  text-align: center;
}
.empty-records > .icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 18px;
  color: #9bb38a;
}
.empty-records h2 {
  font-size: 21px;
  line-height: 1.7;
}
.empty-records p {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 28px;
}
.storage-notice {
  font-size: 13px;
  line-height: 1.8;
  color: #9e6f3e !important;
  background: #fff4db;
  padding: 12px 16px;
  border-radius: 10px;
}
.parents-page {
  max-width: 800px;
  padding-top: 20px;
  padding-bottom: 60px;
}
.parent-intro {
  text-align: center;
  padding: 25px 0 32px;
}
.parent-intro > div {
  width: 95px;
  height: 110px;
  margin-inline: auto;
}
.parent-intro h1 {
  font-size: 30px;
  margin: 20px 0 12px;
}
.parent-intro > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.parent-content {
  background: #fff;
  border: 1px solid #dce7ed;
  border-radius: 25px;
  padding: 12px 38px 30px;
  margin-bottom: 28px;
}
.parent-content section {
  padding: 22px 0 0;
}
.parent-content h2 {
  font-size: 19px;
  margin: 0 0 12px;
}
.parent-content p {
  font-size: 14px;
  line-height: 2;
  color: #637788;
  margin: 9px 0;
  max-width: 70ch;
}
.parents-page > .button {
  display: flex;
  width: max-content;
  margin-inline: auto;
}
dialog {
  border: 1px solid #d2e0e9;
  border-radius: 22px;
  padding: 30px;
  max-width: min(480px, calc(100% - 36px));
  color: var(--ink);
  box-shadow: 0 15px 80px #243b5330;
}
dialog::backdrop {
  background: #243b5370;
}
dialog h2 {
  font-size: 22px;
  margin-top: 0;
}
dialog p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}
.dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 25px;
}
@media (min-width: 1450px) {
  .hero h1 {
    font-size: 47px;
  }
  .hero {
    gap: 60px;
  }
}
@media (max-width: 1000px) {
  .wrap {
    width: calc(100% - 48px);
  }
  .hero h1 {
    font-size: 37px;
  }
  .hero {
    gap: 0;
    min-height: 450px;
  }
  .hero-scene {
    transform: scale(0.88);
    transform-origin: right center;
  }
  .scene-orbit {
    left: 20px;
  }
  .scene-board {
    left: 10px;
  }
  .scene-pencil {
    left: -17px;
  }
  .scene-sticker {
    left: 7px;
  }
  .scene-acorn {
    right: -10px;
    width: 145px;
  }
  .scene-label {
    right: -15px;
  }
  .star-one {
    left: -5px;
  }
  .game-cards {
    gap: 18px;
  }
  .card-copy {
    padding-inline: 11px;
  }
  .daily-strip {
    gap: 20px;
    padding-inline: 25px;
  }
  .daily-strip h2 {
    font-size: 18px;
  }
  .site-footer {
    font-size: 11px;
  }
  .game-page {
    max-width: 900px;
  }
}
@media (max-width: 760px) {
  .site-header {
    height: 90px;
    gap: 14px;
  }
  .brand {
    font-size: 18px;
  }
  .brand img {
    width: 38px;
    height: 38px;
  }
  .site-header nav {
    gap: 20px;
    margin: 0;
    font-size: 13px;
  }
  .parent-link {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    padding-block: 22px 38px;
    min-height: 370px;
  }
  .hero h1 {
    font-size: 29px;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.9;
  }
  .hello {
    font-size: 12px;
  }
  .hero-scene {
    height: 330px;
    transform: scale(0.72);
    width: 330px;
    justify-self: end;
    margin-left: -60px;
  }
  .scene-label {
    font-size: 13px;
    right: -20px;
    top: -5px;
  }
  .scene-board {
    width: 234px;
    height: 246px;
  }
  .scene-orbit {
    width: 290px;
    height: 290px;
    left: 5px;
  }
  .scene-acorn {
    width: 135px;
    right: -20px;
    bottom: 15px;
  }
  .scene-sticker {
    bottom: -10px;
  }
  .scene-pencil {
    bottom: 20px;
  }
  .star-two {
    right: -20px;
  }
  .hero-button {
    font-size: 13px;
    gap: 8px;
    padding: 12px 15px;
    min-height: 48px;
  }
  .hero-note {
    font-size: 10px;
  }
  .section-heading h2 {
    font-size: 23px;
  }
  .section-heading p {
    font-size: 12px;
  }
  .surprise {
    font-size: 12px;
  }
  .game-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .card-visual {
    height: 155px;
  }
  .game-art {
    height: 150px;
    width: 185px;
  }
  .card-copy h3 {
    font-size: 19px;
  }
  .card-copy p {
    font-size: 12px;
  }
  .card-category {
    font-size: 10px;
  }
  .filters {
    gap: 7px;
    margin: 22px 0;
  }
  .filter {
    font-size: 12px;
    padding: 9px 15px;
    min-height: 40px;
  }
  .daily-strip {
    padding: 20px;
    gap: 13px;
    flex-wrap: wrap;
  }
  .daily-acorn {
    width: 52px;
    height: 65px;
  }
  .daily-strip h2 {
    font-size: 17px;
  }
  .daily-strip p {
    font-size: 12px;
    line-height: 1.7;
  }
  .daily-strip .button {
    margin-left: 65px;
    min-height: 42px;
  }
  .site-footer {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .site-footer > span {
    display: none;
  }
  .game-heading {
    gap: 20px;
  }
  .game-heading h1 {
    font-size: 28px;
  }
  .game-heading p {
    font-size: 13px;
  }
  .game-settings {
    width: 145px;
  }
  .game-settings select {
    font-size: 12px;
    padding-left: 10px;
  }
  .game-stage {
    padding: 25px 23px 20px;
  }
  .ready-view {
    gap: 25px;
  }
  .ready-art {
    width: 170px;
    height: 190px;
    border-radius: 35px;
  }
  .ready-art .game-art {
    width: 165px;
    height: 155px;
  }
  .ready-copy h2 {
    font-size: 22px;
  }
  .ready-copy p {
    font-size: 13px;
  }
  .ready-copy .button {
    font-size: 12px;
    padding: 13px 17px;
  }
  .poem-learn {
    min-width: 210px;
    padding-inline: 16px;
  }
  .poem-lines {
    font-size: 19px;
  }
  .result-actions .button {
    font-size: 13px;
  }
  .record-row {
    padding: 16px;
    gap: 12px;
  }
  .record-row time {
    min-width: 110px;
    font-size: 11px;
  }
  .records-page h1 {
    font-size: 28px;
  }
  .records-page .section-heading {
    align-items: flex-end;
  }
  .records-page .section-heading .text-button {
    font-size: 11px;
    white-space: nowrap;
  }
  .record-summary {
    padding: 20px;
    gap: 12px;
  }
  .record-summary strong {
    font-size: 26px;
  }
  .summary-acorn {
    width: 55px;
    height: 65px;
  }
  .record-summary span {
    font-size: 11px;
  }
}
@media (max-width: 520px) {
  .wrap {
    width: calc(100% - 36px);
  }
  .site-header {
    height: 82px;
    gap: 8px;
  }
  .brand {
    font-size: 17px;
    letter-spacing: 0.5px;
    gap: 7px;
  }
  .brand small {
    font-size: 9px;
  }
  .brand img {
    width: 35px;
    height: 35px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 26px 0 35px;
  }
  .hero-copy {
    position: relative;
    z-index: 1;
  }
  .hello {
    font-size: 12px;
  }
  .hero h1 {
    font-size: 35px;
    line-height: 1.5;
    letter-spacing: 0.5px;
    margin: 14px 0;
  }
  .hero-copy > p {
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 22px;
  }
  .hero-button {
    font-size: 14px;
    padding: 13px 20px;
    min-height: 51px;
  }
  .hero-note {
    font-size: 11px;
  }
  .hero-scene {
    align-self: center;
    width: 330px;
    height: 275px;
    transform: scale(0.84);
    transform-origin: center center;
    justify-self: auto;
    margin: 2px 0 -12px;
  }
  .scene-board {
    width: 210px;
    height: 220px;
    top: 24px;
    left: 35px;
    padding: 13px;
    gap: 7px;
  }
  .scene-board > span {
    font-size: 23px;
  }
  .scene-orbit {
    width: 270px;
    height: 270px;
    top: 0;
    left: 30px;
  }
  .scene-acorn {
    right: -4px;
    bottom: -5px;
    width: 128px;
  }
  .scene-label {
    font-size: 12px;
    right: 0;
    top: -8px;
    padding: 10px 13px;
  }
  .scene-sticker {
    bottom: -15px;
    left: 20px;
    font-size: 11px;
  }
  .scene-pencil {
    left: 5px;
    bottom: 20px;
    height: 95px;
  }
  .star-one {
    left: 1px;
    top: -10px;
    font-size: 37px;
  }
  .star-two {
    right: -2px;
    top: 103px;
    font-size: 29px;
  }
  .section-heading {
    gap: 10px;
  }
  .section-heading h2 {
    font-size: 21px;
  }
  .section-heading p {
    font-size: 12px;
    line-height: 1.6;
    margin-top: 8px;
  }
  .surprise {
    font-size: 11px;
    white-space: nowrap;
    gap: 4px;
  }
  .surprise .icon {
    width: 14px;
  }
  .filters {
    gap: 6px;
    margin: 21px 0 19px;
  }
  .filter {
    font-size: 11px;
    padding: 9px 12px;
    min-height: 39px;
  }
  .game-cards {
    gap: 13px;
  }
  .game-card {
    padding: 7px;
    border-radius: 20px;
  }
  .card-visual {
    height: 125px;
    border-radius: 14px;
  }
  .card-visual .game-art {
    width: 155px;
    height: 125px;
  }
  .card-play {
    width: 25px;
    height: 25px;
    bottom: 8px;
    right: 8px;
  }
  .card-play .icon {
    width: 12px;
    height: 12px;
  }
  .card-copy {
    padding: 14px 7px 13px;
  }
  .card-copy h3 {
    font-size: 17px;
    margin: 6px 0 8px;
  }
  .card-copy p {
    font-size: 11px;
    line-height: 1.7;
  }
  .card-category {
    font-size: 10px;
    letter-spacing: 0;
  }
  .daily-strip {
    padding: 18px 15px;
    margin-bottom: 35px;
    gap: 10px;
  }
  .daily-acorn {
    width: 43px;
    height: 57px;
  }
  .daily-strip h2 {
    font-size: 15px;
    margin-bottom: 7px;
  }
  .daily-strip p {
    font-size: 11px;
  }
  .daily-strip .button {
    margin-left: 53px;
    font-size: 12px;
    padding: 10px 14px;
  }
  .site-footer {
    font-size: 10px;
    padding-block: 22px;
  }
  .game-page {
    padding-top: 8px;
    padding-bottom: 30px;
  }
  .game-heading {
    flex-direction: column;
    align-items: stretch;
    gap: 17px;
    margin-top: 21px;
  }
  .game-heading h1 {
    font-size: 29px;
    margin-top: 8px;
  }
  .game-heading p {
    font-size: 13px;
    line-height: 1.9;
  }
  .game-settings {
    width: 100%;
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  .game-settings label {
    font-size: 12px;
    white-space: nowrap;
  }
  .game-settings select {
    font-size: 13px;
    min-width: 155px;
  }
  .game-panel {
    border-radius: 21px;
  }
  .game-toolbar {
    padding: 15px;
    font-size: 11px;
    gap: 8px;
  }
  .game-metrics {
    font-size: 12px;
    gap: 13px;
  }
  .game-metrics .icon {
    width: 14px;
    height: 14px;
  }
  .game-stage {
    padding: 23px 16px 14px;
    min-height: 350px;
  }
  .ready-view {
    flex-direction: column;
    gap: 24px;
    text-align: center;
    min-height: 380px;
    padding: 5px 0 25px;
  }
  .ready-art {
    width: 160px;
    height: 160px;
    border-radius: 33px;
  }
  .ready-art .game-art {
    width: 160px;
    height: 140px;
  }
  .ready-copy h2 {
    font-size: 23px;
  }
  .ready-copy p {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .ready-copy .button {
    font-size: 14px;
    padding: 14px 20px;
  }
  .poem-learn {
    width: 230px;
    padding: 20px;
  }
  .poem-lines {
    font-size: 21px;
  }
  .poem-guide-lines {
    font-size: 18px;
    column-gap: 6px;
    row-gap: 5px;
  }
  .poem-char {
    min-width: 22px;
  }
  .poem-guide-title {
    font-size: 15px;
  }
  .target-line {
    font-size: 13px;
    margin-bottom: 20px;
  }
  .target-line strong {
    min-width: 43px;
    height: 43px;
    font-size: 24px;
  }
  .play-grid {
    gap: 8px;
  }
  .cell {
    border-radius: 11px;
    font-size: 32px;
    padding: 7px;
  }
  .grid-5 {
    gap: 6px;
  }
  .grid-5 .cell {
    font-size: 24px;
    border-radius: 9px;
    padding: 5px;
  }
  .poem-grid .cell {
    font-size: 27px;
  }
  .shape-target {
    font-size: 13px;
    gap: 16px;
  }
  .shape-target > div {
    width: 60px;
    height: 60px;
  }
  .memory-cell .card-back-mark {
    font-size: 28px;
  }
  .feedback {
    font-size: 12px;
    margin-top: 18px;
    min-height: 43px;
  }
  .board-hint {
    font-size: 12px;
    margin-bottom: 20px;
  }
  .sudoku-grid {
    gap: 0;
    max-width: 290px;
  }
  .sudoku-cell {
    border-radius: 0;
    font-size: 29px;
  }
  .sudoku-keypad {
    max-width: 290px;
    gap: 10px;
    margin-top: 20px;
  }
  .sudoku-keypad button {
    min-height: 51px;
  }
  .game-bottom {
    gap: 35px;
    padding-bottom: 19px;
  }
  .game-footnote {
    font-size: 11px;
  }
  .result {
    padding: 5px 0 15px;
  }
  .result h2 {
    font-size: 26px;
  }
  .result > p {
    font-size: 12px;
  }
  .result-stats {
    gap: 55px;
    margin-block: 24px;
  }
  .result-stats strong {
    font-size: 26px;
  }
  .result-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 13px;
    max-width: 260px;
    margin-inline: auto;
  }
  .result-actions .button {
    font-size: 13px;
  }
  .result-records {
    font-size: 12px;
  }
  .equation {
    font-size: 32px;
    gap: 11px;
    margin: 25px 0;
  }
  .equation .operator {
    font-size: 26px;
  }
  .equation input {
    font-size: 31px;
    width: 80px;
    height: 65px;
  }
  .number-keypad {
    max-width: 280px;
    gap: 9px;
  }
  .number-keypad button {
    min-height: 54px;
    font-size: 23px;
  }
  .number-keypad .key-confirm {
    font-size: 16px;
  }
  .pause-view h2 {
    font-size: 22px;
  }
  .pause-view p {
    font-size: 12px;
  }
  .records-page {
    padding-top: 24px;
  }
  .records-page h1 {
    font-size: 27px;
  }
  .records-page .section-heading {
    align-items: stretch;
    flex-direction: column;
    gap: 5px;
  }
  .records-page .section-heading .text-button {
    align-self: flex-end;
    padding: 6px 0;
  }
  .record-summary {
    gap: 11px;
    padding: 18px 14px;
    margin-top: 23px;
  }
  .summary-acorn {
    display: none;
  }
  .record-summary strong {
    font-size: 27px;
  }
  .record-summary span {
    font-size: 11px;
  }
  .record-row {
    padding: 15px 13px;
    gap: 10px;
    flex-wrap: wrap;
  }
  .record-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }
  .record-icon .game-art {
    width: 43px;
    height: 40px;
  }
  .record-title h2 {
    font-size: 14px;
  }
  .record-title p {
    font-size: 11px;
  }
  .record-time {
    font-size: 15px;
    min-width: 85px;
  }
  .record-time small {
    font-size: 10px;
  }
  .record-row time {
    min-width: 100%;
    padding-left: 55px;
    margin-top: -1px;
    text-align: left;
    font-size: 10px;
  }
  .records-select label {
    font-size: 17px;
  }
  .records-note {
    font-size: 11px;
  }
  .empty-records {
    padding: 35px 15px 40px;
  }
  .empty-records h2 {
    font-size: 18px;
  }
  .empty-records p {
    font-size: 12px;
  }
  .parent-intro h1 {
    font-size: 26px;
    line-height: 1.6;
  }
  .parent-intro > p {
    font-size: 12px;
  }
  .parent-content {
    padding: 7px 22px 26px;
    border-radius: 21px;
  }
  .parent-content h2 {
    font-size: 18px;
  }
  .parent-content p {
    font-size: 13px;
    line-height: 2;
  }
  .dialog-actions .button {
    font-size: 13px;
    padding: 12px 17px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
}
