@font-face {
  font-family: Kuaile;
  src: url('/blindbox/fonts/zcool-kuaile-regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fffdf7;
  --ink: #193834;
  --body: #3c5550;
  --green: #17483e;
  --lime: #e6efbe;
  --blue: #e3eef6;
  --pink: #f7e2d8;
  --gold: #ffdf87;
  --radius: clamp(1.25rem, 3vw, 2rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
  font: 100%/1.65 "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, dl, dd, ul { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: .22em; }
[hidden] { display: none !important; }
[id] { scroll-margin-top: 6rem; }
#top { scroll-margin-top: 0; }
:focus-visible { outline: 3px solid #a25724; outline-offset: 4px; }
::selection { color: var(--ink); background: var(--gold); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; z-index: 5; inset: .6rem auto auto .75rem; padding: .45rem .75rem; background: var(--paper); transform: translateY(-200%); }
.skip:focus { transform: none; }
.wrap { width: min(100% - 3rem, 73rem); margin-inline: auto; }

.site-header { position: sticky; z-index: 3; top: 0; background: var(--paper); border-bottom: 1px solid #e9e7da; }
.header-inner, .footer-inner { display: flex; gap: 1rem; min-height: 4.6rem; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; gap: .56rem; align-items: center; font: 1.6rem/1 Kuaile, "Microsoft YaHei", sans-serif; text-decoration: none; white-space: nowrap; }
.header-inner nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2.5rem); }
.header-inner nav a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.actions { display: flex; flex-wrap: wrap; gap: .55rem 1.25rem; align-items: center; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 3.35rem; width: fit-content; padding: .52rem 1.35rem; border-radius: 100vw; background: var(--green); color: white; font-weight: 750; text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease), background .25s; }
.button:hover { background: #245e50; transform: translateY(-2px); }
.button:active { transform: translateY(1px); }
.button.compact { min-height: 44px; padding: .35rem 1rem; font-size: .92rem; }
.quiet-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.quiet-link:hover { text-decoration-thickness: 2px; }

h1, h2 { font-family: Kuaile, "Microsoft YaHei", "PingFang SC", sans-serif; font-weight: 400; text-wrap: balance; letter-spacing: -.03em; line-height: 1.1; }
h1 { font-size: clamp(3.25rem, 6.1vw, 5.6rem); }
h2 { font-size: clamp(2.4rem, 4.85vw, 4rem); }
h3 { font-size: clamp(1.28rem, 2.4vw, 1.93rem); line-height: 1.27; font-weight: 800; text-wrap: balance; }
.hero { display: grid; grid-template-columns: minmax(0, .91fr) minmax(0, 1.09fr); align-items: center; gap: clamp(1.65rem, 5vw, 4rem); padding-block: clamp(2.6rem, 6vw, 5.1rem) clamp(3.5rem, 8.5vw, 7rem); }
.hero-copy p { margin-block: 1.05rem 1.4rem; max-width: 24em; font-size: clamp(1rem, 1.7vw, 1.18rem); color: var(--body); }
.hero-art { position: relative; isolation: isolate; min-width: 0; aspect-ratio: 1.38; border-radius: 48% 45% 2.05rem 2.05rem / 62% 62% 2.05rem 2.05rem; background: #f6ebbc; }
.hero-art::before { content: ""; position: absolute; z-index: -1; inset: 63% -2% 0; border-radius: 50%; background: #f4dfa2; }
.hero-art img { position: absolute; width: var(--w); max-height: 100%; object-fit: contain; filter: drop-shadow(0 10px 11px #50401c29); }
.hero-teacher { --w: 48%; left: 9%; bottom: 4%; height: 93%; rotate: -4deg; animation: arrive .85s var(--ease) both; }
.hero-pet { --w: 43%; right: 5%; bottom: 3%; height: 73%; rotate: 5deg; animation: arrive 1s .06s var(--ease) both; }
.hero-book { --w: 45%; left: 11%; bottom: -4%; rotate: -11deg; animation: arrive .9s .14s var(--ease) both; }
.hero-token { --w: 18%; right: 4%; top: 5%; rotate: 12deg; animation: arrive .9s .2s var(--ease) both; }
@keyframes arrive { from { translate: 0 18px; scale: .96; } to { translate: 0; scale: 1; } }

.teachers > h2 { margin-bottom: 1.25rem; }
.teaching-pair { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1rem; }
.panel { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-width: 0; padding: clamp(1.2rem, 3.15vw, 2.5rem); border-radius: var(--radius); }
.panel p, .followup p, .world-copy p, dd { color: var(--body); }
.panel h3 + p, .followup h3 + p, .world-copy h2 + p { margin-top: .55rem; }
.plan { background: var(--blue); }
.award { background: var(--lime); }
.lesson-example, .points-demo { background: #fffef9; border-radius: 1rem; box-shadow: 0 .55rem 1.5rem #29433b16; }
.lesson-example { width: 100%; padding: .8rem 1rem .35rem; }
.lesson-example p { font-size: .9rem; font-weight: 750; color: var(--ink); }
.lesson-example dl { margin-top: .4rem; }
.lesson-example dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .1rem .7rem; align-items: center; padding-block: .65rem; border-top: 1px solid #e5e5d9; }
.lesson-example dt { font-size: .9rem; color: var(--body); }
.lesson-example dd { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .5rem; font-weight: 800; color: var(--ink); }
.lesson-example dd span { font-size: .8rem; font-weight: 600; color: #325c4e; }

.points-demo { width: 100%; padding: .75rem 1rem .65rem; }
.demo-top, .demo-student { display: flex; align-items: center; gap: .7rem; }
.demo-top { justify-content: space-between; min-height: 44px; font-size: .9rem; font-weight: 750; }
.reset { min-height: 44px; padding-inline: .45rem; color: var(--green); border: 0; background: transparent; text-decoration: underline; }
.demo-student { position: relative; padding-block: .2rem .6rem; }
.avatar { display: grid; place-items: center; width: 2.58rem; aspect-ratio: 1; border-radius: .78rem; background: var(--gold); font-weight: 800; }
.demo-student small { display: block; color: var(--body); font-size: .85rem; }
.balance { margin-inline-start: auto; color: var(--green); font-size: 1.6rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.balance small { display: inline; }
.point-pop { position: absolute; inset: -.1rem 0 auto auto; padding: .13rem .57rem; border-radius: 100vw; background: var(--gold); font-weight: 850; opacity: 0; pointer-events: none; }
.demo-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.demo-actions button { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 .35rem; min-height: 44px; border: 1px solid #c0ceaf; padding: .37rem .6rem; border-radius: .65rem; color: var(--green); background: #f2f6e9; font-size: .9rem; }
.demo-actions button:hover { background: #e5efcf; }
.points-demo .demo-status { min-height: 1.45em; margin-top: .4rem; font-size: .875rem; }

.followup { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); gap: 1.35rem clamp(1.6rem, 5vw, 4.6rem); margin-block: 1rem 0; padding: clamp(1.3rem, 4vw, 3rem); border-radius: var(--radius); background: #ece8f6; }
.followup h3 { max-width: 13em; }
.followup-tools div { display: grid; grid-template-columns: minmax(6em, .3fr) minmax(0, 1fr); gap: .15rem .85rem; padding: .68rem 0; border-top: 1px solid #d7cde7; }
.followup-tools div:first-child { padding-top: 0; border: 0; }
.followup-tools div:last-child { padding-bottom: 0; }
dt { font-weight: 750; }

.student-section { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); align-items: center; gap: clamp(1.3rem, 5.5vw, 4.3rem); margin-top: clamp(3.7rem, 8vw, 6.7rem); }
.world-art { position: relative; isolation: isolate; aspect-ratio: 1.47; min-width: 0; border-radius: var(--radius); }
.world-art img { position: absolute; object-fit: contain; filter: drop-shadow(0 12px 12px #51372527); }
.cards-art { background: var(--pink); }
.card-album { width: 75%; left: 15%; bottom: 8%; rotate: 5deg; }
.sticker-album { width: 41%; left: 5%; bottom: 1%; rotate: -11deg; }
.monster-section .world-art { grid-column: 2; grid-row: 1; }
.monster-section .world-copy { grid-column: 1; grid-row: 1; }
.monster-art { background: #e2eed3; }
.monster-home { width: 53%; height: 92%; left: 8%; bottom: 8%; }
.monster-store { width: 60%; right: 2%; bottom: 2%; rotate: 2deg; }
.world-copy p { max-width: 29em; }
.world-details { margin-top: .7rem; }
.world-details div { padding-block: .39rem; }
.world-details dd { margin-top: .08rem; }

.collection { margin-top: 1.2rem; }
.collection h3 { margin-bottom: .65rem; font-size: clamp(1.2rem, 2.2vw, 1.45rem); }
.card-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .6rem; list-style: none; padding: 0; }
.card-gallery a { display: grid; gap: .35rem; text-decoration: none; font-size: .9rem; font-weight: 750; transition: transform .35s var(--ease); }
.card-gallery a:hover { transform: translateY(-4px); text-decoration: underline; }
.card-gallery img { width: 100%; aspect-ratio: 1000/563; object-fit: cover; border: 1px solid #ddd9ca; border-radius: .68rem; }
.card-gallery span { padding-inline: .12rem; }

.decor-gallery { min-width: 0; margin: 0; padding: 0; border: 0; }
.theme-choices { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: .55rem; }
.theme-choices label { position: relative; cursor: pointer; }
.theme-choices input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.theme-choices span { display: flex; align-items: center; min-height: 44px; padding: .32rem .95rem; border: 1px solid #c4cbbb; border-radius: 100vw; font-weight: 650; }
.theme-choices input:checked + span { border-color: var(--green); background: var(--green); color: white; }
.theme-choices input:focus-visible + span { outline: 3px solid #a25724; outline-offset: 3px; }
.decor-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: .6rem; border-radius: var(--radius); background: #f0eddc; }
.decor-items li { display: grid; grid-template-rows: auto auto; align-content: end; justify-items: center; min-width: 0; }
.decor-items img { width: min(72%, 11rem); height: clamp(4.5rem, 13vw, 9.25rem); object-fit: contain; filter: drop-shadow(0 6px 6px #49362124); }
.decor-items span { padding: .2rem .1rem; font-size: .88rem; font-weight: 750; text-align: center; }
@supports selector(:has(*)) {
  .decor-items { display: none; }
  .decor-gallery:has([value="camp"]:checked) #decor-camp,
  .decor-gallery:has([value="stars"]:checked) #decor-stars,
  .decor-gallery:has([value="arcade"]:checked) #decor-arcade { display: grid; }
}

.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(3rem, 7vw, 5.5rem); }
.extras .panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .46fr); align-items: center; }
.daily { background: #f9ebc9; }
.challenge { background: var(--blue); }
.extras img { width: 100%; max-height: 8rem; object-fit: contain; }
.daily img { rotate: -8deg; }

.start { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem; margin-block: clamp(2.8rem, 6vw, 5rem); padding: clamp(1.3rem, 4.35vw, 3rem); border-radius: var(--radius); color: #fffdf3; background: var(--green); }
.start h2 { font-size: clamp(2.05rem, 4.8vw, 3.5rem); }
.start p { margin-top: .55rem; max-width: 31em; }
.start .actions { flex-shrink: 0; }
.start .button { color: var(--ink); background: var(--gold); }
.start .button:hover { background: #ffeba9; }
.start :focus-visible { outline-color: var(--gold); }
.site-footer { border-top: 1px solid #e9e7da; }
.footer-inner { min-height: 5.1rem; flex-wrap: wrap; padding-block: .55rem; }
.filing { font-size: .875rem; color: var(--body); }

@media (max-width: 54rem) {
  .hero { gap: 1.6rem; }
  .followup-tools div { grid-template-columns: 1fr; }
  .card-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .start { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 42rem) {
  .wrap { width: calc(100% - 2rem); }
  [id] { scroll-margin-top: 6.75rem; }
  .header-inner { display: grid; min-height: 0; grid-template-columns: 1fr auto; gap: 0; padding-top: .45rem; }
  .header-inner nav { grid-column: 1/-1; grid-row: 2; justify-content: space-between; gap: .35rem; }
  .header-inner nav a { font-size: .88rem; }
  .header-inner .brand { font-size: 1.38rem; }
  .header-inner .brand img { width: 32px; height: 32px; }
  .hero, .teaching-pair, .followup, .student-section, .extras { grid-template-columns: 1fr; }
  .hero { padding-top: 1.7rem; }
  .hero-art { width: min(100%, 33rem); margin-inline: auto; }
  .student-section .world-copy { grid-column: 1; grid-row: 1; }
  .student-section .world-art { grid-column: 1; grid-row: 2; }
  .world-art { aspect-ratio: 1.64; }
  .lesson-example dl div { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
