:root {
  color-scheme: light;
  --ink: #352b3a;
  --paper: #fffaf0;
  --cream: #f7eedc;
  --orange: #b94223;
  --green: #295b48;
  --rule: #d7cbb7;
  font-family: "DM Sans","Microsoft YaHei","PingFang SC",system-ui,sans-serif;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box }
body { margin: 0; line-height: 1.55 }
header, main, footer { width: min(1120px,calc(100% - 48px)); margin-inline: auto }
header { min-height: 76px; padding-block: 15px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--rule) }
.brand { display: inline-flex; align-items: center; gap: .5em; font-size: clamp(18px,2vw,24px); font-weight: 800; letter-spacing: -.025em; color: var(--green); text-decoration: none }
.controls, .actions, #choices { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
label { font-size: .88rem; font-weight: 650 }
select, button, summary { font: inherit; cursor: pointer }
select, button { min-height: 44px; border: 1px solid var(--rule); color: var(--ink); border-radius: 12px; background: #fffdf6; padding: 9px 14px; font-weight: 650 }
button { transition: background .16s ease, transform .16s ease }
button:hover { background: #f5e7cc; transform: translateY(-1px) }
button:active { transform: translateY(1px) }
:focus-visible { outline: 3px solid #21649b; outline-offset: 3px }
button:disabled { opacity: .6; cursor: default; transform: none }
main { padding-block: clamp(22px,4vw,54px) }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(20px,5vw,76px); margin-bottom: 38px }
h1, h2, h3, p { margin-top: 0 }
h1, h2, h3 { line-height: 1.16; text-wrap: balance }
h1 { font: 750 clamp(36px,5vw,76px)/1.1 "Bricolage Grotesque","Microsoft YaHei",system-ui,sans-serif; letter-spacing: -.045em; margin-bottom: .25em; overflow-wrap: anywhere }
h2 { font-size: clamp(24px,3vw,38px); letter-spacing: -.025em }
.intro p { max-width: 48ch; color: #625365; font-size: 1.08rem }
.intro #series, #progress { font-size: .88rem; font-weight: 750; letter-spacing: .045em; color: var(--green); margin-bottom: .9rem }
.intro label + p { margin: 14px 0 0 }
.intro button:first-of-type, button.primary { background: var(--orange); color: white; border-color: var(--orange) }
.intro button:first-of-type:hover, button.primary:hover { background: #993a21 }
.cover { position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; min-height: clamp(220px,28vw,355px); border-radius: 7px 27px 27px 7px; background: radial-gradient(circle at 76% 22%,#fff6c8 0 8%,transparent 8.3%),linear-gradient(162deg,#a6d6cc 0 61%,#75ab88 61.4% 70%,#437963 70.4%); border: 2px solid #4c6553; box-shadow: inset 10px 0 #315e59, 3px 4px 0 #fcf1da, 5px 6px 0 #746c5f }
.cover::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle,#36584535 .75px,transparent 1px) 0 0/6px 6px; opacity: .42; pointer-events: none }
.books { position: relative; width: min(88%,420px); height: clamp(150px,18vw,220px); margin-top: 28px; display: flex; align-items: end; justify-content: space-evenly; border-bottom: 5px solid #335443; border-radius: 0 0 45% 4% / 0 0 4px 3px }
.bag { position: relative; z-index: 2; width: 24%; height: 57%; border-radius: 30% 30% 16% 17%; border: 3px solid #3d3941; background: var(--cloth); box-shadow: inset -7px -5px #493e4628, 3px 4px #254c453d }
.bag::before { content: ""; position: absolute; top: -16%; left: 30%; width: 38%; height: 19%; border: 3px solid #3d3941; border-bottom: 0; border-radius: 20px 20px 0 0 }
.bag::after { content: ""; position: absolute; bottom: 13%; left: 14%; width: 67%; height: 35%; border: 2px solid #3d3941; border-top: 5px double #3d3941; border-radius: 6px 6px 12px 12px; background: #fffcde32 }
.bag.red { --cloth: #ef795d; transform: rotate(-8deg) }
.bag.blue { --cloth: #689dc2; height: 68%; transform: rotate(3deg) }
.bag.yellow { --cloth: #efbd46; transform: rotate(7deg) }
.cat { position: absolute; right: 1%; bottom: 35%; z-index: 1; font-size: clamp(40px,6vw,76px); line-height: 1; transform: rotate(12deg) }
.activity { padding: clamp(18px,3vw,36px); border: 1px solid var(--rule); border-radius: 20px; background: #fffdf7; box-shadow: 0 3px 0 #e5d9c4 }
.activity h2 { margin-bottom: .45em }
.activity p { max-width: 66ch }
.activity #choices { align-items: stretch; margin-block: 16px }
#choices button { background: #f7efdf; min-width: 100px; padding: 12px 18px }
#choices button:hover { background: #e9e6c9; border-color: var(--green) }
[aria-live] { color: var(--green); font-weight: 650 }
footer { padding: 0 0 35px }
main > footer { width: 100%; margin-top: 28px }
details { border-top: 1px solid var(--rule); padding-block: 12px }
summary { color: var(--green); font-weight: 700; padding-block: 10px }
[hidden] { display: none !important }
@media (max-width: 720px) {
  header,main,footer { width: min(100% - 32px,560px) }
  header { flex-wrap: wrap; gap: 8px; padding-block: 10px }
  .hero { grid-template-columns: 1fr; gap: 16px; margin-bottom: 24px }
  .cover { min-height: 190px }
  .books { max-width: 310px; height: 145px }
  .controls { gap: 8px }
  select { max-width: 100% }
  #choices button { flex: 1 1 110px }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { transition: none !important; scroll-behavior: auto !important } }

.shelf { margin: 2rem 0; padding: clamp(1rem,3vw,2rem); border-radius: 1rem; background: #f7efdf }
.shelf h2 { color: #295b48 }
.shelf details { padding: .4rem .25rem }
.shelf summary { font-size: 1.15rem }
.shelf details p { max-width: 65ch; line-height: 1.85 }
#shelfCredit { margin: 1rem 0 0; font-size: .88rem }
#shelfCredit a { color: #295b48 }
#shelfJump {display:inline-block;color:#fff4d9;text-underline-offset:.25em;padding:.6em 0}
#bookshelf {scroll-margin-top:1rem}
#shelfBooks {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:1rem;align-items:start}
#shelfBooks article {min-width:0;background:#fffcf5;border:1px solid #e4d7c3;border-radius:14px;overflow:hidden}
#shelfBooks h3 {margin:.85rem 1rem .7rem;font-size:1.24rem;line-height:1.25;color:#254639}
.shelf-film-heading {display:flex;align-items:center;justify-content:space-between;gap:.3rem;min-height:3.75rem}
.shelf-film-heading button {flex:none;margin:.45rem .6rem .45rem 0;padding:.5rem .7rem;min-height:44px;background:#24563f;color:white;font-size:.92rem;border-radius:.65rem}
#shelfBooks video {display:block;width:100%;aspect-ratio:16/9;background:#263a3c;object-fit:contain}
#shelfBooks article > details {padding:.25rem 1rem .5rem}
#shelfBooks article:has(> details[open]) {grid-column:1/-1}
#shelfBooks article:has(> details[open]) video {max-width:740px;margin-inline:auto}
.film {display:grid;grid-template-columns:minmax(190px,.62fr) minmax(0,1.38fr);gap:clamp(20px,4vw,56px);align-items:center;margin-bottom:clamp(35px,5vw,68px);padding:clamp(16px,3vw,34px);border-radius:20px;background:#203847;color:#fff4d9}
.film-copy p:first-child{color:#ffd68b;font-weight:700}
.practice{margin-bottom:2rem;background:#f1f5e9}
.practice .actions{display:flex;gap:.6rem;flex-wrap:wrap}
.practice small{display:block;color:#475447}
.wing-nav{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0 0 26px}
.wing-nav a{display:flex;align-items:center;gap:16px;min-height:76px;padding:14px 20px;border:1px solid #d8cdbb;border-radius:15px;text-decoration:none;background:#fffaf0;color:#423547}
.wing-nav a[aria-current]{background:#352d45;border-color:#352d45;color:#fff4db;box-shadow:0 3px 0 #cba467}
.wing-nav a b,.wing-nav a small{display:block}
.wing-nav a b{font-size:1.22rem}.wing-nav a small{font-size:.87rem;margin-top:3px}
.wing-icon{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#f6ce8c;color:#3e3046;flex:none;font-size:1.4rem}
@media(max-width:600px){.wing-nav{gap:7px}.wing-nav a{gap:7px;padding:10px;align-items:flex-start}.wing-nav a b{font-size:1rem}.wing-nav a small{font-size:.77rem}.wing-icon{width:25px;height:25px;font-size:.95rem}}
#practiceFeedback:empty{display:none}
#practiceFeedback{margin-block:.75rem;font-weight:650}
.film-copy h2{font-size:clamp(30px,4vw,55px);margin-bottom:.35em}
#filmCredit{font-size:.85rem;color:#dbdfdc}
#screen video{display:block;width:100%;aspect-ratio:16/9;background:#162533;border-radius:12px}
@media(max-width:720px){.film{grid-template-columns:1fr;gap:8px}.film-copy p{margin-bottom:8px}}
