/* Illustrated meadow edition: warm paper, botanical ink, hand-drawn details. */
:root{--muted:#6b7464;--accent:#3f7153;--border:#dadfc9;color:#344a3c;background:#f7f5e9;font-family:-apple-system,BlinkMacSystemFont,"Hiragino Maru Gothic ProN","PingFang TC",sans-serif}
body{background:#f7f5e9;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23888' opacity='.055' filter='url(%23n)' d='M0 0h180v180H0z'/%3E%3C/svg%3E");background-attachment:scroll}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline-color:#52816c}.glass{background:#fffdf4;border:1px solid #daddcb;box-shadow:0 5px 0 #d9dfca60;backdrop-filter:none;-webkit-backdrop-filter:none}
.topbar{background:transparent;border:0;box-shadow:none;border-radius:0;max-width:1180px;margin:8px auto 0;padding:8px 18px}.brand{color:#36533f;letter-spacing:3px;font-size:24px}.brand img{width:54px;height:65px;object-fit:contain}.brand small{color:#77906c}.pill{background:#e9edda;color:#607752;border:1px solid #d9dfc7;font-size:11px;letter-spacing:1px}.quiet{color:#58745c}.quiet:hover{background:#e8eddf;border-radius:10px}main{max-width:1180px;padding:0 18px}.story-cover{padding:0;height:400px;isolation:isolate;border-radius:10px 28px 12px 30px;overflow:hidden;margin:10px 0 40px;border:1px solid #b7d1bf;box-shadow:0 7px 0 #d7dfbf55}.cover-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 56%;z-index:-1}.cover-copy{padding:45px 42px;max-width:650px}.cover-copy .eyebrow{color:#496e57;font-size:10px;letter-spacing:2px}.cover-copy h1{font-family:"Hiragino Mincho ProN","Songti TC","Noto Serif TC",serif;font-weight:800;font-size:43px;line-height:1.45;letter-spacing:4px;color:#304e3e;margin:17px 0 13px;text-shadow:0 1px #fff8}.cover-copy h1 br{display:block}.cover-copy p{font-size:14px;line-height:1.8;color:#50664f;letter-spacing:1px}.cover-link{display:inline-flex;gap:27px;align-items:center;background:#fdfbf0e8;padding:11px 17px;border:1px solid #839e72;border-radius:5px 15px 7px 12px;text-decoration:none;color:#476543;font-size:13px;margin-top:21px;box-shadow:2px 3px 0 #375f3e20}.cover-caption{position:absolute;right:22px;bottom:16px;color:#fffbed;text-shadow:0 1px 4px #406b36;font-family:Georgia,serif;font-style:italic;font-size:12px}.prep-heading{scroll-margin-top:20px;display:flex;align-items:end;justify-content:space-between;margin:0 4px 20px}.prep-heading .eyebrow{font-size:9px;color:#7b8c66;letter-spacing:2px}.prep-heading h2{font-size:21px;font-weight:650;letter-spacing:1px;margin-top:8px}.hand-note{color:#7c885f;font-size:12px;transform:rotate(-3deg)}.workspace{gap:26px}.editor,.review{border-radius:9px 20px 10px 18px;padding:26px;position:relative}.editor:before,.review:before{content:'';position:absolute;width:70px;height:18px;background:#dce5c89c;top:-9px;left:calc(50% - 35px);transform:rotate(-4deg);border-left:1px dashed #b3c493;border-right:1px dashed #b3c493;pointer-events:none}.review:before{background:#e8d8b99c;transform:rotate(3deg)}h2{color:#3c5541}.step{color:#fffdf2;background:#819367;border-radius:45% 53% 47% 51%;font-family:Georgia,serif;font-style:italic}.title-input{background:#f4f3e6;border:1px solid #e5e4d4;border-radius:7px}.title-input::placeholder,textarea::placeholder{color:#929784}textarea{background-color:#fffef7;background-image:repeating-linear-gradient(transparent,transparent 30px,#e8ebdb 30px,#e8ebdb 31px);background-size:100% 31px;background-position:0 17px;border-color:#dadfca;border-radius:5px 11px 5px 9px;line-height:31px;letter-spacing:2px}.input-foot,legend{color:#7b846e}.segmented{background:#e8ecdc;border-radius:8px}.segmented span{border-radius:6px;color:#71805c}.segmented input:checked+span{color:#3e634a;background:#fffdf4;box-shadow:1px 2px 3px #536c3920}.segmented input:focus-visible+span{outline-color:#52816c}.primary{background:#477553;border-radius:7px 13px 7px 11px;box-shadow:0 3px 0 #294f3a;border:1px solid #345f43;color:#fffdf1}.primary:hover{background:#365f43}.secondary{background:#f0eddb;border-color:#d7d5be;color:#6f7050;border-radius:8px 12px 7px 11px}.reading-row{border-color:#e5e6d6}.reading-row .index{color:#97a183}.reading-row .word{font-weight:550;letter-spacing:2px}.reading-row input{background:#f0f2e5;border-color:transparent;border-radius:6px;color:#4d654b}.check{color:#69735b}.check input{accent-color:#4c7652}.status{color:#48734e}.error{color:#a14736}.game-teasers{gap:18px;margin:28px 0 38px}.game-teasers article{background:#eaf0df;border:1px solid #d6dfc5;border-radius:7px 19px 8px 17px;padding:18px}.game-teasers article:nth-child(2){background:#f1e9d9;border-color:#e3d9c2}.game-teasers article:nth-child(3){background:#e5eef0;border-color:#cedfe0}.mini-icon{background:#d7e2c3;color:#607843;border:1px solid #bccda3;border-radius:10px 14px 8px 13px;font-family:serif}.mini-icon.peach{background:#e9dac1;color:#a18155}.mini-icon.blue{background:#d2e3e6;color:#59818a}.game-teasers h3{letter-spacing:1px;font-weight:650}.game-teasers p{color:#7b826b}.student-heading{position:relative;padding:35px 130px 25px;max-width:850px;margin:auto}.student-heading .eyebrow{color:#7b9569}.student-heading h1{font-family:"Songti TC",serif;color:#36563d;letter-spacing:3px}.student-bunny{position:absolute;right:25px;bottom:7px;height:132px;width:105px;object-fit:contain;transform:rotate(5deg)}.game-nav{background:#e6edda;border:1px solid #cbd8b9;box-shadow:0 3px 0 #d5dec6;border-radius:12px 21px 13px 19px}.game-nav button{border-radius:9px 15px 9px 14px;color:#6a7e5a}.game-nav button[aria-pressed=true]{background:#fffdf1;color:#3c6647;box-shadow:0 2px 3px #4b693019}.game-shell{border-radius:10px 24px 12px 23px;border-color:#ced8bc;background:#fffdf2;box-shadow:0 6px 0 #d9e1c9;position:relative}.game-shell:after{content:'';display:block;height:18px;position:absolute;left:15px;right:15px;bottom:-20px;background:repeating-linear-gradient(115deg,transparent 0px,transparent 9px,#b6cd891c 10px,#b6cd891c 12px);pointer-events:none}.scorebar{color:#758565}.progress{background:#e7ecd8}.progress div{background:#8eae66}.card{background:#e7edd6;background-image:repeating-linear-gradient(45deg,#e2eacb 0,#e2eacb 1px,transparent 1px,transparent 7px);border:1px solid #bdcba5;border-radius:8px 17px 9px 15px;box-shadow:0 3px 0 #ced9b9;color:#3f563b}.card img{width:49px;height:73px;object-fit:contain;opacity:.95}.card .number{color:#6f8659;letter-spacing:1px}.card.open{background:#fffdf3;border-color:#99b378;box-shadow:0 3px 0 #c6d5af}.card.matched{background:#dceacc;border-color:#abc58f;color:#466d3a;box-shadow:0 2px 0 #c4d9af}.answer{background:#fffef9;border-color:#d6ddc4;border-radius:7px 14px 8px 13px;box-shadow:0 3px 0 #e1e7d2}.answer.correct{background:#e1eecf;border-color:#94b66d}.answer.wrong{background:#f5e3d9;border-color:#d4a082}.tile,.slot{border-color:#cbd6b8;background:#fffdf1;border-radius:6px 12px 7px 11px;color:#3a573e}.slot{background:#edf0df}.slot.filled{background:#fffdf5}.finish img{height:150px;width:105px;object-fit:contain}.finish h2{font-family:"Songti TC",serif}.prompt{color:#3c543e}.small{color:#727c65}#share-url{background:#f6f5e9;border-color:#d8ddc8}#open-student{color:#487650}footer{max-width:1140px;color:#899377;margin-top:12px;border-top:1px dashed #cbd3b8;padding-top:22px}
@media(min-width:1400px){.story-cover{height:430px}.cover-copy{padding-top:55px}}
@media(max-width:800px){.topbar{margin:6px 12px}.story-cover{height:375px}.cover-copy{padding:36px 25px}.cover-copy h1{font-size:36px}.cover-art{object-position:55% 52%}.cover-copy p{font-size:13px}.hand-note{display:none}.workspace{gap:18px}.editor,.review{padding:21px}.game-teasers article{padding:12px;gap:9px}.game-teasers h3{font-size:12px}.game-teasers p{font-size:10px}.student-bunny{height:110px;width:78px;right:15px}}
@media(max-width:600px){main{padding:0 16px}.topbar{padding:6px 3px;margin:5px 16px 0}.brand{font-size:21px}.brand img{height:54px;width:43px}.brand small{font-size:7px}.story-cover{height:465px;margin:8px -3px 28px;border-radius:8px 22px 9px 21px}.cover-art{object-fit:cover;object-position:66% bottom;width:100%;height:100%;opacity:1}.cover-copy{position:relative;padding:24px 22px}.cover-copy:before{content:'';position:absolute;inset:0;bottom:-20px;background:linear-gradient(#fffbeded 0%,#fffbedc9 65%,#fffbed00 100%);z-index:-1}.cover-copy .eyebrow{font-size:8px;letter-spacing:1px}.cover-copy h1{font-size:30px;line-height:1.45;letter-spacing:2px;margin:14px 0 9px}.cover-copy p{font-size:12px;line-height:1.7}.cover-link{margin-top:14px;padding:9px 13px;font-size:11px}.cover-caption{font-size:9px;right:12px;bottom:12px}.prep-heading{margin-bottom:20px}.prep-heading h2{font-size:18px}.prep-heading .eyebrow{font-size:8px}.workspace{gap:26px}.editor,.review{padding:21px;border-radius:8px 20px 10px 18px}.game-teasers{grid-template-columns:1fr;gap:10px;margin:22px 0 30px}.game-teasers article{padding:14px 18px;gap:15px}.game-teasers h3{font-size:14px}.game-teasers p{font-size:12px}.student-heading{padding:30px 68px 22px 3px;text-align:left;min-height:145px}.student-heading .eyebrow{font-size:9px}.student-heading h1{font-size:26px;line-height:1.35;overflow-wrap:anywhere}.student-heading p{font-size:11px}.student-bunny{right:0;bottom:18px;height:104px;width:65px}.game-nav{border-radius:9px 18px 10px 17px}.game-shell{border-radius:8px 20px 9px 18px}.card{border-radius:6px 13px 7px 12px}.card img{width:40px;height:63px}.card.reading{font-size:17px}.brand small{letter-spacing:2px}.title-input,.reading-row input{font-size:16px}}
@media(min-width:601px){.cover-copy p{width:max-content;background:#fffbedc9;padding:5px 10px;margin-left:-10px;border-radius:5px 11px 6px 9px}}

.brand img{width:54px;height:65px}.card img{width:58px;height:75px}.student-bunny{width:100px}.finish img{width:120px}
@media(max-width:600px){.brand img{width:44px;height:54px}.card img{width:48px;height:65px}.student-bunny{width:70px}}
/* All three locales share the same layout and keep Chinese lesson text intact. */
.language-control{display:flex;align-items:center;gap:5px;padding:2px 9px;background:#fffdf3;border:1px solid #c9d5b9;border-radius:11px;color:#4b684e;flex-shrink:0}
.language-control select{font:inherit;font-size:13px;color:inherit;border:0;background:transparent;min-height:40px;max-width:130px;cursor:pointer;outline-offset:2px}
.cover-copy h1,.cover-copy p{white-space:pre-line}.cover-copy h1{max-width:580px}.cover-link{min-height:44px}.brand>span{display:flex;flex-direction:column}.brand>span>small{order:2}.brand>span>[data-i18n=brand]{order:1}
html[lang=en] .cover-copy h1{font-family:Georgia,serif;font-size:43px;letter-spacing:.1px;line-height:1.2}html[lang=en] .cover-copy{max-width:620px}html[lang=en] .brand{letter-spacing:.5px;font-size:22px}html[lang=ja] .brand{font-size:19px;letter-spacing:1px}html[lang=ja] .cover-copy h1{font-size:36px;letter-spacing:1px}html[lang=en] .cover-copy p{max-width:440px}html[lang=en] .prep-heading h2{font-size:22px}.section-head h2{line-height:1.6}.review .section-head .pill{flex-shrink:0}.publish-actions{flex-wrap:wrap}.publish-actions button{line-height:1.5}.game-nav button{white-space:normal;line-height:1.4}.check{line-height:1.7}.reading-row input{font-size:16px}
@media(max-width:800px){.topbar{flex-wrap:wrap;gap:6px 12px}.topbar .brand{margin-right:auto}.topbar #view-label{font-size:10px}.section-head{align-items:flex-start;flex-wrap:wrap}.section-head h2{font-size:16px}html[lang=en] .cover-copy h1{font-size:37px}html[lang=ja] .cover-copy h1{font-size:32px}}
@media(max-width:600px){.language-control{padding:0 6px;gap:2px;margin-left:auto}.language-control select{font-size:12px;min-height:40px;max-width:105px}.topbar .pill{margin-left:auto}.topbar #edit-back{max-width:55%;text-align:right}.topbar .brand{gap:5px}.brand>span>[data-i18n=brand]{font-size:19px}html[lang=ja] .brand>span>[data-i18n=brand]{font-size:17px}.cover-copy h1,html[lang=en] .cover-copy h1{font-size:30px}html[lang=ja] .cover-copy h1{font-size:27px}.cover-copy p{max-width:100%;width:auto;font-size:12px}.game-nav button{font-size:12px}.review .section-head .pill{font-size:10px}.prep-heading h2,html[lang=en] .prep-heading h2{font-size:18px}.game-heading{align-items:flex-start}.game-heading .quiet{max-width:110px;flex-shrink:0}.student-heading h1{word-break:normal}footer{line-height:1.8}}
