:root{--ink:#203e31;--green:#285540;--cream:#f8f6ec;--muted:#6a7c6e;--line:#dfe5d7;--gold:#f4d685;--paper:#fffef8;--shadow:0 8px 24px #203e3109}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--cream);color:var(--ink);font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button[hidden],[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #dcae43;outline-offset:4px}svg{width:21px;height:21px;flex-shrink:0}h1,h2,h3,p{margin-top:0}button{min-height:44px;border:0;color:var(--ink)}.app-shell{max-width:1360px;margin:auto;padding:0 40px}.app-header{display:flex;justify-content:space-between;align-items:center;gap:24px;height:108px;border-bottom:1px solid var(--line)}.app-brand{display:flex;gap:12px;align-items:center;min-height:48px}.app-mark{display:grid;place-items:center;width:49px;height:49px;border-radius:17px;background:var(--green);color:var(--paper)}.app-mark svg{width:30px;height:30px}.app-brand strong{display:block;font-size:18px;letter-spacing:.4px}.app-brand small{display:block;font-size:11px;color:var(--muted);letter-spacing:2px;margin-top:5px}.app-nav{display:flex;gap:8px}.app-nav a{display:flex;gap:8px;align-items:center;padding:12px 18px;border-radius:100px;font-size:15px;color:var(--muted);min-height:46px}.app-nav a:hover{background:#eef0e6}.app-nav a.active{background:var(--green);color:var(--paper)}.app-view{min-height:55vh}.eyebrow{display:block;color:var(--muted);font-size:12px;letter-spacing:1.5px;margin-bottom:14px}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;border-radius:100px;min-height:48px;padding:13px 24px;font-size:15px;font-weight:600;line-height:1.5}.primary{background:var(--green);color:var(--paper)}.primary:hover{background:#1e4331}.secondary{background:#e9eddf;color:var(--ink)}.secondary:hover{background:#dfe6d4}.text-link{display:inline-flex;align-items:center;gap:8px;color:var(--green);font-size:14px;min-height:46px;font-weight:550}.welcome{display:grid;grid-template-columns:.91fr 1.09fr;min-height:410px;border-radius:28px;overflow:hidden;margin:32px 0 28px;background:#edf0dd;border:1px solid #e4e8d9}.welcome-copy{padding:45px 40px;align-self:center}.welcome h1{font-family:"Songti SC","STSong",serif;font-size:clamp(34px,3.7vw,49px);font-weight:650;line-height:1.3;letter-spacing:1px;margin:0 0 20px}.welcome p{color:#58705d;font-size:16px;line-height:1.9;margin-bottom:25px}.welcome-buttons{display:flex;align-items:center;gap:17px;flex-wrap:wrap}.resume-caption{font-size:12px;color:var(--muted);margin-top:14px}.welcome-picture{position:relative;min-width:0;min-height:400px}.welcome-picture>img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}.welcome-picture:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#edf0dd 0,transparent 20%,transparent 80%,#2746310a)}.picture-caption{position:absolute;bottom:24px;right:25px;z-index:1;background:#fffef8e8;backdrop-filter:blur(5px);border-radius:14px;padding:12px 18px;box-shadow:var(--shadow)}.picture-caption span{display:block;color:var(--muted);font-size:11px;letter-spacing:1px}.picture-caption strong{display:block;font-size:16px;margin-top:3px}.quick-section{margin-bottom:43px}.section-label{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px;font-size:15px;font-weight:600}.section-label small{font-size:12px;font-weight:400;color:var(--muted)}.quick-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.quick-card{display:flex;align-items:center;gap:12px;min-height:98px;border:1px solid var(--line);background:var(--paper);padding:18px;border-radius:18px;transition:background .18s,transform .18s}.quick-card:hover{background:#f0f3e4;transform:translateY(-2px)}.quick-card>svg{width:16px;margin-left:auto;color:#98a28d}.quick-icon{display:grid;place-items:center;background:#edf0df;width:43px;height:43px;flex-shrink:0;border-radius:15px}.quick-card:nth-child(2) .quick-icon{background:#f8edcc}.quick-card:nth-child(3) .quick-icon{background:#e5edf0}.quick-card:nth-child(4) .quick-icon{background:#f3e4de}.quick-card strong{display:block;font-size:16px;white-space:nowrap}.quick-card small{display:block;font-size:11px;color:var(--muted);margin-top:6px;line-height:1.6}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:0 0 23px}.section-heading .eyebrow{margin-bottom:8px}.section-heading h2{font-size:25px;font-weight:650;margin:0}.poem-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:26px 22px;margin-bottom:30px}.poem-card{display:block;overflow:hidden;background:var(--paper);border:1px solid var(--line);border-radius:20px;transition:transform .18s,box-shadow .18s;min-width:0}.poem-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.poem-card-art{position:relative;aspect-ratio:16/10;overflow:hidden;background:#e4e8d8}.poem-card-art img{width:100%;height:100%;object-fit:cover}.card-number{position:absolute;left:12px;top:12px;min-width:32px;text-align:center;background:#fffef8e8;padding:5px 8px;border-radius:9px;font-size:12px;font-weight:650;font-variant-numeric:tabular-nums}.song-badge{position:absolute;right:10px;bottom:10px;color:var(--paper);background:#285540d9;backdrop-filter:blur(5px);font-size:11px;border-radius:100px;padding:5px 10px}.poem-card-copy{padding:18px 18px 15px}.poem-card-copy>small{font-size:11px;letter-spacing:.3px;color:var(--muted)}.poem-card-copy h3{font-size:20px;line-height:1.5;min-height:30px;margin:7px 0 5px;font-weight:650;overflow-wrap:anywhere}.card-selection{font-size:11px;line-height:1.7;color:var(--muted);min-height:19px;margin-bottom:18px}.card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #edf0e5;padding-top:12px;font-size:10px;letter-spacing:.3px;color:var(--muted)}.card-bottom svg{width:17px;height:17px;color:var(--green)}.works-invitation{display:flex;gap:24px;align-items:center;border-radius:22px;background:#ede9d8;padding:30px 35px;margin:42px 0}.invitation-symbol{font-family:serif;font-size:45px;display:grid;place-items:center;width:78px;height:78px;border-radius:24px;background:#fffdf299;color:#849671;flex-shrink:0}.works-invitation small{font-size:11px;letter-spacing:1.4px;color:var(--muted)}.works-invitation h2{margin:8px 0;font-size:25px;font-weight:600}.works-invitation p{font-size:13px;color:var(--muted);margin:0;line-height:1.8}.works-invitation>.secondary{margin-left:auto;background:var(--paper);flex-shrink:0}.app-footer{border-top:1px solid var(--line);padding:25px 0 35px;color:var(--muted);font-size:12px;line-height:1.8;display:flex;justify-content:space-between;gap:20px}.app-footer summary{cursor:pointer;min-height:44px;padding:10px 0}.app-footer details{max-width:600px}.app-footer details[open]{width:min(100%,600px)}.app-footer>p{padding-top:10px;margin:0}.production-list{list-style:none;padding:0;margin:15px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px 20px;font-size:12px}.production-list li{display:flex;justify-content:space-between;gap:12px;padding-bottom:7px;border-bottom:1px solid var(--line)}.production-list small{font-size:10px;white-space:nowrap}.book-heading{display:flex;justify-content:space-between;align-items:center;gap:24px;margin:38px 0 24px}.book-heading h1,.works-heading h1{font-size:38px;line-height:1.3;letter-spacing:.5px;margin:0 0 12px;font-weight:600}.book-heading p,.works-heading p{color:var(--muted);font-size:14px;margin:0;line-height:1.8}.search-box{background:var(--paper);border:1px solid var(--line);border-radius:100px;display:flex;align-items:center;gap:10px;padding:0 17px;color:var(--muted);width:min(320px,38%);min-height:49px}.search-box svg{width:18px}.search-box input{background:transparent;color:var(--ink);border:0;outline:0;min-width:0;width:100%;font-size:14px;padding:14px 0}.search-box input::placeholder{color:#889580}.book-controls{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:26px}.book-filters{display:flex;gap:7px;flex-wrap:wrap}.book-filters button{border-radius:100px;background:transparent;font-size:13px;color:var(--muted);padding:11px 17px}.book-filters button.active{color:var(--green);background:#e4ead8;font-weight:600}.book-controls>span{font-size:12px;color:var(--muted)}.search-empty{grid-column:1/-1;text-align:center;padding:55px 20px 100px;color:var(--muted)}.search-empty h2{font-size:25px;color:var(--ink);margin-bottom:12px}.planned-landscape{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;min-height:170px;background:radial-gradient(ellipse at 75% 26%,#fffbd0 0 11%,transparent 11.4%),linear-gradient(155deg,transparent 45%,#b2c6a5 45.4% 62%,transparent 62.4%),linear-gradient(20deg,#cfdbc0 0 42%,transparent 42.4%),#e5ebd9;color:#607451}.planned-landscape>span{font-family:"Songti SC",serif;font-size:55px;opacity:.5;font-weight:600}.planned-landscape>small{font-size:10px;margin-top:9px;letter-spacing:1.2px}.planned-5,.planned-6{filter:hue-rotate(-25deg)}.planned-7,.planned-8{filter:hue-rotate(20deg)}.planned-page{max-width:780px;margin:25px auto 70px;text-align:center}.planned-page>.text-link{display:flex;justify-content:start;margin-bottom:30px}.planned-page h1{font-size:36px}.planned-page .planned-landscape{height:210px;max-width:440px;margin:20px auto 32px;border-radius:22px}.planned-page h2{font-size:24px}.planned-page p{font-size:15px;color:var(--muted);line-height:1.9}.planned-page>.primary{margin-top:10px}.classroom-top{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:23px 0 18px}.classroom-title{display:flex;gap:9px;align-items:center;flex-wrap:wrap;justify-content:center}.classroom-title h1{font-size:20px;margin:0;line-height:1.6}.classroom-title>span,.classroom-title>small{font-size:11px;color:var(--muted)}.classroom-paging{display:flex;align-items:center;gap:8px}.classroom-paging a{display:flex;align-items:center;gap:5px;min-height:44px;background:#e9eddf;padding:10px 15px;border-radius:100px;font-size:12px;white-space:nowrap}.classroom-paging svg{width:15px}.classroom-strip{display:flex;justify-content:space-between;align-items:center;gap:15px;color:var(--muted);font-size:11px;padding:10px 18px;background:#eef0e5;border-radius:12px}.classroom-strip>span:first-child{color:var(--green);font-weight:650;font-size:13px;white-space:nowrap}.frame-host{margin:8px -24px 20px}.frame-host iframe{border:0;width:100%;min-height:520px;background:transparent;display:block}.course-loading{text-align:center;color:var(--muted);font-size:14px;padding:30px 15px}.course-loading a{color:var(--green);text-decoration:underline}.works-heading{margin:38px 0 18px;display:flex;justify-content:space-between;align-items:center;gap:24px}.works-filter{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px}.works-filter select{min-height:46px;border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:10px;color:var(--ink);max-width:200px}.local-note{font-size:12px;color:var(--muted);line-height:1.8}.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:26px 0 45px}.keepsake{border:1px solid var(--line);background:var(--paper);overflow:hidden;border-radius:21px;min-width:0}.keepsake-art{position:relative;aspect-ratio:16/10;background:#dfe7d2}.keepsake-art img{width:100%;height:100%;object-fit:cover}.work-badge{position:absolute;bottom:12px;left:12px;color:var(--ink);background:#fffdf0e6;border-radius:100px;padding:6px 13px;font-size:11px}.cover-letter{display:grid;place-items:center;height:100%;font-size:50px;opacity:.4}.keepsake-body{padding:20px}.keepsake-body>small{color:var(--muted);font-size:11px}.keepsake h2{font-size:23px;margin:9px 0}.work-date{font-size:11px;line-height:1.8;color:var(--muted);margin-bottom:16px}.keepsake audio{width:100%;height:42px}.work-links{display:flex;gap:13px;flex-wrap:wrap;margin-top:10px;font-size:12px;color:var(--green)}.work-links a{min-height:44px;display:flex;align-items:center}.work-delete{display:block;background:transparent;padding:10px 0;font-size:11px;color:var(--muted)}.delete-confirm{border-top:1px solid var(--line);padding:13px 0 0}.delete-confirm p{font-size:12px;line-height:1.8}.delete-confirm button{min-height:44px;font-size:12px;padding:10px 18px;margin-right:5px}.empty-works{grid-column:1/-1;text-align:center;padding:35px 15px 70px}.empty-sun{display:grid;place-items:center;margin:0 auto 20px;background:#ede9d8;width:95px;height:95px;border-radius:30px;font-family:serif;font-size:48px;color:#8b9c72}.empty-works h2{font-size:26px}.empty-works p{color:var(--muted);font-size:14px;margin-bottom:25px;line-height:1.8}.storage-error{grid-column:1/-1;padding:30px;color:var(--muted);line-height:1.9}.app-noscript{padding:40px;line-height:2}
@media(max-width:1150px){.app-shell{padding:0 30px}.welcome-copy{padding:32px}.quick-grid{gap:10px}.quick-card{padding:15px;gap:9px}.quick-card>svg{display:none}.quick-card small{font-size:10px}.poem-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.poem-grid.compact{grid-template-columns:repeat(4,minmax(0,1fr))}.poem-grid.compact .poem-card-copy{padding:14px}.poem-grid.compact .poem-card-copy h3{font-size:18px}.works-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.app-shell{padding:0 25px}.app-header{height:94px}.app-brand strong{font-size:16px}.app-nav a{font-size:13px;padding:11px 15px}.welcome{grid-template-columns:1fr 1fr;min-height:370px}.welcome-picture{min-height:370px}.welcome-copy{padding:30px 25px}.welcome h1{font-size:36px}.welcome p{font-size:14px}.welcome-buttons{gap:9px}.welcome-buttons .primary{font-size:13px;padding:12px 20px}.welcome-buttons .text-link{font-size:12px}.quick-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-card{padding:17px;min-height:88px;gap:14px}.quick-card>svg{display:block}.quick-card small{font-size:11px}.poem-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr))}.poem-grid.compact .poem-card-copy h3{font-size:21px}.classroom-top{flex-wrap:wrap}.classroom-title{order:-1;width:100%;justify-content:start}.classroom-strip{line-height:1.7}.classroom-strip>span:last-child{font-size:10px}.book-heading h1,.works-heading h1{font-size:34px}}
@media(max-width:660px){.app-shell{padding:0 18px}.app-header{height:auto;min-height:90px;flex-wrap:wrap;padding:19px 0 13px;gap:15px}.app-brand strong{font-size:17px}.app-brand small{font-size:10px}.app-mark{width:42px;height:42px;border-radius:14px}.app-nav{width:100%;justify-content:space-between;gap:5px}.app-nav a{flex:1;justify-content:center;font-size:13px;padding:10px 8px;gap:7px}.app-nav a svg{width:17px;height:17px}.welcome{display:flex;flex-direction:column-reverse;margin-top:20px}.welcome-picture{min-height:235px;max-height:235px}.welcome-picture:after{background:linear-gradient(0deg,#edf0dd,transparent 28%)}.picture-caption{right:15px;bottom:23px;padding:9px 14px}.welcome-copy{padding:14px 25px 27px}.welcome .eyebrow{font-size:10px;letter-spacing:1px;margin-bottom:10px}.welcome h1{font-size:34px;margin-bottom:14px}.welcome h1 br{display:none}.welcome p{font-size:13px;margin-bottom:19px}.welcome p br{display:none}.welcome-buttons{gap:15px}.welcome-buttons .primary{font-size:14px}.quick-section{margin-bottom:31px}.section-label{align-items:start;flex-direction:column;gap:6px}.quick-grid{gap:10px}.quick-card{padding:14px 11px;gap:9px;min-height:89px}.quick-icon{width:33px;height:33px;border-radius:11px}.quick-icon svg{width:19px;height:19px}.quick-card strong{font-size:14px}.quick-card small{font-size:10px;line-height:1.7}.quick-card>svg{display:none}.section-heading h2{font-size:23px}.section-heading .text-link{font-size:12px;white-space:nowrap}.section-heading .eyebrow{font-size:10px}.poem-grid,.poem-grid.compact{grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 12px}.poem-card{border-radius:16px}.poem-card-copy,.poem-grid.compact .poem-card-copy{padding:13px 12px}.poem-card-copy h3,.poem-grid.compact .poem-card-copy h3{font-size:18px}.poem-card-copy>small{font-size:10px}.card-selection{font-size:10px;margin-bottom:12px}.card-bottom{font-size:9px;gap:3px;letter-spacing:0}.card-bottom svg{width:13px}.card-number{top:9px;left:9px;font-size:11px;min-width:28px}.song-badge{font-size:9px;padding:4px 7px;right:8px;bottom:8px}.works-invitation{flex-wrap:wrap;padding:25px;gap:17px;margin:31px 0}.invitation-symbol{width:55px;height:55px;border-radius:18px;font-size:36px}.works-invitation h2{font-size:22px}.works-invitation p{font-size:12px}.works-invitation>.secondary{margin-left:72px;font-size:13px;padding:10px 20px}.app-footer{flex-direction:column;gap:2px;padding-bottom:25px}.app-footer>p{order:1;padding-top:5px;font-size:11px}.production-list{grid-template-columns:1fr}.book-heading{flex-direction:column;align-items:stretch;margin-top:27px;gap:20px}.book-heading h1,.works-heading h1{font-size:33px}.search-box{width:100%;max-width:none}.book-controls{flex-direction:column;align-items:start;gap:12px;margin-bottom:20px}.book-filters{gap:3px}.book-filters button{font-size:12px;padding:10px 13px}.planned-landscape{min-height:128px}.planned-landscape>span{font-size:40px}.planned-page h1{font-size:29px}.planned-page h2{font-size:21px}.planned-page p{font-size:13px}.classroom-paging a{font-size:11px;padding:10px 13px}.classroom-top{padding:18px 0 12px;gap:8px}.classroom-title h1{font-size:20px}.classroom-strip{padding:9px 12px;align-items:start}.classroom-strip>span:last-child{text-align:right}.frame-host{margin:10px -10px 20px}.works-heading{flex-direction:column;align-items:start;margin-top:27px;gap:20px}.works-filter{width:100%;justify-content:space-between}.works-filter select{max-width:70%}.works-grid{grid-template-columns:1fr;gap:20px}.local-note{font-size:11px}.in-classroom .app-brand small{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}.poem-card:hover,.quick-card:hover{transform:none}}

/* Complete songs available before their remaining classroom media. */
.song-only-art{display:block;width:100%;max-height:58vh;object-fit:contain;border-radius:18px;margin:20px auto}.song-only-lines{font-family:serif;font-size:21px;line-height:1.8}.song-only-page audio{display:block;width:100%;margin:18px 0}.song-only-page select{padding:8px 14px;border:1px solid var(--line);border-radius:10px;background:var(--paper)}

.review-invitation{display:flex;align-items:center;gap:22px;padding:24px 28px;border:1px solid #d8e3ca;border-radius:23px;background:#edf2e1;margin:0 0 35px}
.review-symbol{display:grid;place-items:center;width:58px;height:58px;border-radius:19px;background:#dce8ce;color:#285540;flex-shrink:0}.review-symbol svg{width:31px;height:31px}
.review-invitation h2{font-size:23px;line-height:1.5;margin:6px 0}.review-invitation small,.review-invitation p{color:#6a7c6e;font-size:13px;line-height:1.8}.review-invitation p{margin:0}.review-invitation>.secondary{margin-left:auto;white-space:nowrap}
@media(max-width:660px){.review-invitation{flex-wrap:wrap;padding:22px;gap:14px}.review-invitation h2{font-size:21px}.review-invitation>.secondary{margin-left:72px;font-size:14px}.review-symbol{width:54px;height:54px}.review-invitation>div{min-width:0;flex:1}}

/* New-poem path follows the approved paper and pine design. */
:root{--ink:#1f2a24;--green:#2f5d46;--cream:#f5efe2;--muted:#5b6158;--line:#e3d8bf;--gold:#c9a34e;--paper:#fffbf2}
body{font-family:"Noto Sans SC","PingFang SC","Microsoft YaHei",system-ui,sans-serif}
.new-poem-welcome{background:var(--paper);grid-template-columns:1fr 1.2fr;min-height:400px}
.new-poem-welcome .welcome-copy{padding:40px}
.new-poem-welcome h1{font-size:clamp(34px,3.6vw,48px);margin-bottom:12px}
.new-poem-welcome .new-poem-author{font-size:18px;color:var(--muted);margin:0 0 22px}
.new-poem-welcome .welcome-picture{aspect-ratio:4/3;min-height:0;background:var(--cream);align-self:center}
.new-poem-welcome .welcome-picture>img{position:static;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.new-poem-welcome .welcome-picture:after{display:none}
.new-poem-welcome .welcome-buttons .primary{font-size:19px;min-height:56px;padding:14px 27px}
.home-entrances{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;margin:0 0 42px}
.home-entrance{display:flex;align-items:center;gap:18px;padding:26px;border-radius:22px;border:1px solid var(--line);background:var(--paper);min-height:116px}
.home-entrance:hover{background:#efe9d9}
.home-entrance-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;background:#dce8df;color:var(--green);flex-shrink:0}
.home-entrance-icon svg{width:26px;height:26px}
.home-entrance strong{display:block;font-size:22px}
.home-entrance small{display:block;margin-top:7px;font-size:14px;color:var(--muted)}
.home-entrance>svg{margin-left:auto;color:var(--green)}
.in-classroom .app-header,.in-classroom .app-footer{display:none}
.classroom-top{display:flex;align-items:center;justify-content:flex-start;gap:20px;min-height:104px;padding:20px 0}
.classroom-back{display:grid;place-items:center;width:52px;height:52px;border:1px solid var(--line);border-radius:50%;flex-shrink:0;background:var(--paper)}
.classroom-back:hover{background:#efe9d9}
.classroom-back svg{width:24px;height:24px}
.classroom-title{display:block;min-width:0;flex:1;text-align:left}
.classroom-title h1{font:700 36px/1.35 "Songti SC","STSong",serif;letter-spacing:1px;margin:0 0 5px}
.classroom-title>small{display:block;font-size:18px;line-height:1.6}
.classroom-tools{display:flex;align-items:center;gap:12px;flex-shrink:0}
.classroom-tools .primary{min-height:52px;font-size:18px;padding:12px 24px}
.classroom-tools button:disabled{opacity:.6;cursor:wait}
.classroom-next{display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:14px;min-height:48px;padding:11px 16px;border-radius:100px;background:#ebe5d5}
.frame-host{margin:0 -24px 20px}
.frame-host iframe{min-height:420px}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.new-poem-welcome .welcome-copy{padding:28px}.classroom-top{flex-wrap:nowrap;gap:16px}.classroom-title{order:initial;width:auto}.classroom-title h1{font-size:30px}.classroom-title>small{font-size:16px}.classroom-tools{gap:8px}.classroom-tools .primary{font-size:16px;padding:12px 20px}.home-entrance{padding:22px;gap:14px}}
@media(max-width:660px){.new-poem-welcome{display:flex;flex-direction:column-reverse}.new-poem-welcome .welcome-picture{width:100%;min-height:0;max-height:none}.new-poem-welcome .welcome-copy{padding:26px}.new-poem-welcome h1{font-size:34px}.new-poem-welcome .new-poem-author{font-size:16px;margin-bottom:16px}.new-poem-welcome .welcome-buttons .primary{font-size:17px}.home-entrances{gap:12px}.home-entrance{padding:18px 14px;display:block;min-height:150px}.home-entrance-icon{width:44px;height:44px;margin-bottom:12px;border-radius:14px}.home-entrance strong{font-size:20px}.home-entrance small{font-size:12px;line-height:1.6}.home-entrance>svg{display:none}.classroom-top{gap:12px;padding:16px 0;flex-wrap:wrap;min-height:0}.classroom-back{width:46px;height:46px}.classroom-title{flex:1;min-width:calc(100% - 60px)}.classroom-title h1{font-size:28px;letter-spacing:0}.classroom-title>small{font-size:15px}.classroom-tools{margin-left:58px;width:calc(100% - 58px);justify-content:space-between}.classroom-tools .primary{min-height:48px;font-size:16px;padding:10px 21px}.classroom-next{font-size:13px}.frame-host{margin:0 -10px 16px}}

/* Today's pictures, one new poem, and two small destinations. */
.on-home .app-header{height:88px;border-bottom:0}.on-home .app-nav{display:none}.app-profile{display:none}.on-home .app-profile{display:flex;align-items:center;gap:20px}.today-recalled{display:flex;align-items:center;gap:8px;font-size:16px;color:var(--muted)}.today-recalled svg{color:var(--gold);width:24px;height:24px}.today-parent{display:grid;place-items:center;min-width:64px;min-height:64px;border:2px solid #cfc4aa;border-radius:50%;color:#5b6158}.today-parent svg{width:24px;height:24px}
.today-home{padding:18px 0 32px}.today-title{font:700 40px/1.35 "Noto Serif SC","Songti SC","STSong",serif;margin:0 0 26px;letter-spacing:0}.today-title>span{color:#b8402c}.today-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:24px;align-items:stretch}.today-review{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:32px;min-height:480px;border-radius:28px;overflow:hidden;padding:34px;background:#2f5d46;color:#f5efe2}.today-review-copy{position:relative;z-index:2;max-width:300px}.today-tag{display:inline-flex;align-items:center;background:#c9a34e;color:#1f2a24;border-radius:999px;font-size:14px;font-weight:700;padding:7px 15px;line-height:1.4}.today-review h2{font:900 56px/1.2 "Noto Serif SC","Songti SC","STSong",serif;margin:18px 0}.today-review p{font-size:18px;line-height:1.7;color:#edf1e9;margin:0}.today-review-start{position:relative;z-index:2;display:flex;align-items:center;gap:18px;flex-wrap:wrap}.today-review-start>span{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:#f5efe2;color:#2f5d46;border-radius:999px;min-height:84px;font-size:24px;font-weight:700;padding:17px 30px}.today-review-start>span>svg{width:26px;height:26px}.today-review-start>small{font-size:16px;color:#d9e4d8}
.today-stack{position:absolute;right:26px;top:48px;width:310px;height:275px;pointer-events:none}.today-stack>img,.today-stack-placeholder{position:absolute;width:210px;aspect-ratio:4/3;object-fit:contain;border:6px solid #f5efe2;border-radius:16px;background:#eae2cf;box-shadow:0 14px 28px #0004;display:grid;place-items:center;color:#94a78e}.today-stack svg{width:52px;height:52px;opacity:.5}.today-stack .stack-1{left:0;top:28px;transform:rotate(-9deg)}.today-stack .stack-2{left:82px;top:0;transform:rotate(7deg)}.today-stack .stack-3{left:34px;top:106px;transform:rotate(-2deg)}
.today-right{display:flex;flex-direction:column;gap:18px;min-width:0}.today-new{display:block;border:2px solid #e3d8bf;border-radius:28px;overflow:hidden;background:#fffbf2;color:#1f2a24;flex:1;min-width:0}.today-new-art{position:relative;height:220px;display:flex;align-items:center;justify-content:center;background:#ede7d8}.today-new-art>img{display:block;max-width:100%;height:100%;width:auto;aspect-ratio:4/3;object-fit:contain}.today-new-art>.today-tag{position:absolute;top:16px;left:16px;background:#b8402c;color:#fff8ec}.today-new-copy{padding:20px 24px}.today-new-copy>div:first-child{display:flex;align-items:baseline;flex-wrap:wrap;gap:10px}.today-new-copy h2{font:900 30px/1.4 "Noto Serif SC","Songti SC","STSong",serif;margin:0;overflow-wrap:anywhere}.today-new-copy small{font-size:15px;color:#5b6158}.today-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:15px}.today-progress>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;min-height:64px;background:#efe7d4;color:#6e6a5c;border-radius:14px;font-size:15px;font-weight:700;line-height:1.4}.today-progress b{font-size:20px;line-height:1.1;font-weight:600}.today-progress>span.is-done{background:#dce8df;color:#1e3d2e}.today-progress>span.is-current{background:#2f5d46;color:#f5efe2}
.today-small-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.today-small-links>a{display:flex;align-items:center;gap:12px;border:2px solid #e3d8bf;border-radius:20px;padding:16px;background:#fffbf2;min-height:90px;min-width:0}.today-small-links>a>svg{width:28px;height:28px;flex:none;color:#2f5d46}.today-small-links>a:first-child>svg{color:#b8402c}.today-small-links strong{display:block;font-size:19px;line-height:1.5}.today-small-links small{display:block;font-size:12px;color:#5b6158;margin-top:4px;line-height:1.6}.today-small-links>a:hover,.today-new:hover{background:#f7f2e6}
.on-home .app-footer{padding:12px 0 20px;border:0}.on-home .app-footer details{display:none}.in-review .app-header,.in-review .app-footer,.in-parent .app-header,.in-parent .app-footer{display:none}.in-review{background:#1f2a24}.in-review:has(.picture-recall-finished),.in-review:has(.picture-recall-empty){background:#f5efe2}.in-parent{background:#fbf8f1}.poem-card.is-joined{border-color:#7fb38f}.poem-card.is-joined .card-number{background:#2f5d46;color:#f5efe2}.poem-card-art{aspect-ratio:4/3}.poem-card-art img{object-fit:contain}
@media(max-width:1100px){.today-review{padding:30px;min-height:480px}.today-stack{width:250px;right:20px;top:85px;opacity:.92}.today-stack>img,.today-stack-placeholder{width:170px}.today-stack .stack-2{left:65px}.today-stack .stack-3{top:88px;left:28px}.today-review h2{font-size:52px}.today-new-copy{padding:18px 20px}.today-new-copy h2{font-size:28px}.today-small-links>a{padding:16px 12px;gap:9px}.today-small-links strong{font-size:18px}.today-small-links small{font-size:11px}.today-small-links>a>svg{width:24px;height:24px}.today-new-art{height:205px}}
@media(max-width:850px){.on-home .app-header{height:94px}.today-layout{grid-template-columns:1fr;gap:22px}.today-review{min-height:390px;padding:30px}.today-review-copy{max-width:320px}.today-stack{right:35px;top:38px;width:310px;opacity:1}.today-stack>img,.today-stack-placeholder{width:210px}.today-stack .stack-2{left:82px}.today-stack .stack-3{top:106px;left:34px}.today-review h2 br{display:none}.today-review h2{font-size:48px}.today-right{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.75fr);gap:18px}.today-small-links{display:flex;flex-direction:column;justify-content:space-between;gap:18px}.today-small-links>a{flex:1;font-size:20px;padding:22px}.today-small-links strong{font-size:22px}.today-small-links small{font-size:14px}.today-new-art{height:220px}.today-title{font-size:36px}.today-recalled{font-size:14px}.on-home .app-profile{gap:12px}}
@media(max-width:620px){.on-home .app-header{min-height:88px;height:auto;flex-wrap:nowrap;padding:16px 0;gap:12px}.on-home .app-brand small{display:none}.on-home .app-brand strong{font-size:16px}.on-home .app-brand{gap:9px;min-width:0}.on-home .app-mark{width:40px;height:40px}.today-recalled{display:none}.on-home .app-profile{flex:none}.today-home{padding-top:10px}.today-title{font-size:30px;margin-bottom:20px;line-height:1.5}.today-layout{gap:18px}.today-review{min-height:360px;padding:26px}.today-review h2{font-size:42px;max-width:180px;margin:17px 0}.today-review h2 br{display:block}.today-review p{font-size:16px}.today-stack{right:16px;top:78px;width:185px;height:175px;opacity:.85}.today-stack>img,.today-stack-placeholder{width:134px;border-width:4px;border-radius:12px}.today-stack .stack-1{top:16px;left:0}.today-stack .stack-2{left:42px;top:0}.today-stack .stack-3{left:20px;top:67px}.today-review-start{gap:12px}.today-review-start>span{min-height:76px;font-size:22px;padding:16px 26px}.today-review-start>small{font-size:14px}.today-right{display:flex;flex-direction:column;gap:18px}.today-new-art{height:auto;aspect-ratio:4/3}.today-new-art>img{width:100%;height:100%;object-fit:contain}.today-new-copy{padding:20px}.today-new-copy h2{font-size:28px}.today-small-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.today-small-links>a{display:block;padding:18px 14px;min-height:150px}.today-small-links>a>svg{margin-bottom:10px;width:28px;height:28px}.today-small-links strong{font-size:20px}.today-small-links small{font-size:12px}.today-progress{gap:8px}.today-parent{min-width:64px;min-height:64px}.today-tag{font-size:13px}}
.app-brand,.app-nav a{min-height:64px}.book-filters button,.search-box{min-height:64px}
/* The home logo follows the approved cinnabar seal. */
.on-home .app-mark{background:#b8402c;color:#f5efe2;font-family:"Noto Serif SC","Songti SC","STSong",serif;font-size:28px;font-weight:900;border-radius:12px}

/* The embedded lesson shares one header and the tablet's available height. */
.on-picture-recall{background:#1f2a24;color:#f5efe2}
.on-picture-recall .classroom-back{background:#2c3a32;border-color:#4e6357;color:#f5efe2}
.on-picture-recall .classroom-tools{display:none}
.on-picture-recall .classroom-next{background:#2c3a32;color:#d9d1bc}
.on-picture-recall .classroom-title>small{color:#c9c2ae}
.on-picture-recall .classroom-title h1{font-size:28px}
.on-picture-recall .frame-host{margin-bottom:0}
.on-poem-overview .classroom-back,.on-picture-recall .classroom-back{width:64px;height:64px}
.on-poem-overview .classroom-tools .primary,.on-picture-recall .classroom-tools .primary,.on-poem-overview .classroom-next,.on-picture-recall .classroom-next{min-height:64px}
@media(min-width:1024px) and (orientation:landscape){
  .on-poem-overview .classroom-top,.on-picture-recall .classroom-top{min-height:96px;padding:16px 0}
  .on-poem-overview .classroom-title,.on-picture-recall .classroom-title{display:flex;align-items:baseline;justify-content:flex-start;gap:16px}
  .on-poem-overview .classroom-title h1,.on-picture-recall .classroom-title h1{margin:0}
  .on-poem-overview .classroom-title>small,.on-picture-recall .classroom-title>small{white-space:nowrap}
  .on-poem-overview .frame-host,.on-picture-recall .frame-host{margin-bottom:0}
  .on-poem-overview #lesson-frame,.on-picture-recall #lesson-frame{height:var(--poem-app-available-height,calc(100svh - 112px))!important;min-height:0}
}
@media(max-width:660px){
  .on-poem-overview .classroom-title,.on-picture-recall .classroom-title{min-width:calc(100% - 76px)}
  .on-poem-overview .classroom-tools,.on-picture-recall .classroom-tools{margin-left:76px;width:calc(100% - 76px)}
}
@media(orientation:portrait){.on-picture-recall #lesson-frame{height:var(--poem-app-available-height,calc(100svh - 120px))!important;min-height:0}.on-picture-recall .classroom-top{padding:12px 0;min-height:88px}.on-picture-recall .classroom-title h1{margin:0}.on-picture-recall .frame-host{margin-bottom:0}}
/* B5: portrait tablet home has three vertical sections and short destination cards. */
@media(min-width:621px) and (orientation:portrait){
 .on-home .today-home{padding:14px 0 22px}.on-home .today-title{font-size:34px;margin-bottom:18px}
 .on-home .today-layout{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(260px,1fr) minmax(240px,1fr) 104px;gap:18px;min-height:calc(100svh - 312px)}
 .on-home .today-right{display:contents}
 .on-home .today-review{min-height:260px;padding:28px;gap:18px}.on-home .today-review h2{font-size:42px;margin:12px 0}.on-home .today-review h2 br{display:none}.on-home .today-review-start>span{min-height:64px;font-size:22px;padding:12px 24px}
 .on-home .today-new{display:grid;grid-template-columns:1fr 1fr;min-height:240px;align-items:center;flex:none}.on-home .today-new-art{width:100%;height:auto;aspect-ratio:4/3;align-self:center}.on-home .today-new-art>img{width:100%;height:100%;object-fit:contain}.on-home .today-new-copy{height:100%;display:flex;flex-direction:column;justify-content:center;gap:28px;padding:24px}.on-home .today-new-copy h2{font-size:30px}.on-home .today-progress{margin:0}
 .on-home .today-small-links{display:grid;grid-template-columns:1fr 1fr;gap:16px}.on-home .today-small-links>a{min-height:104px;max-height:104px;flex:none;padding:18px 22px;gap:16px}.on-home .today-small-links strong{font-size:22px}.on-home .today-small-links small{font-size:13px}.on-home .today-small-links>a>svg{width:30px;height:30px}
}
@media(max-width:620px){.on-home .today-small-links>a{min-height:112px;padding:16px}.on-home .today-small-links>a>svg{margin-bottom:6px}}

/* Only a playing story owns the entire visible viewport. */
html.on-story-player,body.on-story-player{overflow:hidden;overscroll-behavior:none;background:#10201b}
.on-story-player .app-header,.on-story-player .app-footer,.on-story-player .classroom-top,.on-story-player .course-loading{display:none}
.on-story-player .frame-host{position:fixed;inset:0;z-index:80;width:100%;height:var(--poem-app-available-height,100dvh);margin:0;overflow:hidden;background:#10201b}
.on-story-player #lesson-frame{display:block;width:100%;height:100%!important;min-height:0;border:0}
