:root{font-family:Noto Sans SC,Microsoft YaHei,sans-serif;color:#302e2a;background:#faf8f3;font-synthesis:none;font-weight:400;--orange: #f57842;--orange-dark: #c95120;--muted: #79766d;--sage: #e6eadb;--line: #e7e2d8}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.45}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #cc6536;outline-offset:5px}button{border:0}a{color:var(--orange-dark);text-underline-offset:4px}p,h1,h2,h3{margin:0}button svg,a svg{flex-shrink:0}.site-header{background:#faf8f3}.header-inner{width:calc(100% - 96px);max-width:1344px;height:88px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:32px}.brand{display:flex;align-items:center;gap:12px;background:none;font-size:28px;font-weight:900;white-space:nowrap;letter-spacing:1px}.brand svg{color:var(--orange)}nav{display:flex;align-self:stretch;gap:56px}nav button{position:relative;background:none;font-size:19px;font-weight:700;padding:0 8px;white-space:nowrap}nav button.active{color:var(--orange-dark)}nav button.active:after{position:absolute;content:"";height:5px;border-radius:5px;background:var(--orange);left:0;right:0;bottom:0}.parent-button{display:flex;align-items:center;gap:8px;border:1.5px solid var(--orange);color:var(--orange-dark);background:none;border-radius:24px;padding:9px 20px;font-weight:700;font-size:16px;white-space:nowrap}.page-shell{width:calc(100% - 96px);max-width:1344px;margin:0 auto;min-height:70vh}.welcome{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:31px 24px 25px}.welcome h1,.section-intro h1{font-size:34px;letter-spacing:1px;line-height:1.45;font-weight:800}.welcome p,.section-intro>p{font-size:18px;color:var(--muted);margin-top:7px}.age-filter{display:flex;border:1px solid var(--line);border-radius:30px;padding:3px;flex-shrink:0}.age-filter button{border-radius:25px;padding:10px 22px;font-size:17px;font-weight:600;background:none;white-space:nowrap}.age-filter button.selected{color:#fff;background:var(--orange)}.hero{height:310px;border-radius:30px;background:#dce8d5 url(/assets/hero.png) center/cover no-repeat;display:flex;align-items:center;overflow:hidden}.hero-copy{padding:32px 52px;position:relative}.hero h2{font-size:44px;font-weight:900;letter-spacing:1px;line-height:1.4}.hero p{font-size:20px;margin:12px 0 25px;line-height:1.7}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:28px;padding:11px 25px;font-size:17px;font-weight:700;text-decoration:none;min-height:45px;transition:transform .16s,background .16s}.primary{background:var(--orange);color:#fff}.primary:hover{background:#e96832;transform:translateY(-2px)}.secondary{background:#ecebdf;color:#4d5140}.secondary:hover{background:#e0e4d3}.hero .primary{font-size:21px;padding:12px 29px}.category-filter{display:flex;gap:18px;padding:22px 8px 16px;overflow-x:auto;scrollbar-width:none}.category-filter button{background:var(--sage);font-size:17px;font-weight:700;padding:8px 31px;border-radius:28px;white-space:nowrap}.category-filter button.selected{background:var(--orange);color:#fff}.section-heading{display:flex;justify-content:space-between;align-items:center;margin:0 4px 16px}.section-heading h2{font-size:28px;font-weight:800}.section-heading>span{font-size:13px;color:var(--muted)}.media-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.media-card{min-width:0}.cover-wrap{position:relative}.cover-button{display:block;width:100%;padding:0;background:none;overflow:hidden;border-radius:19px}.artwork{background-image:url(/assets/tiles.png);background-size:200% 200%;background-repeat:no-repeat;aspect-ratio:1.6}.tile-0{background-position:0 0}.tile-1{background-position:100% 0}.tile-2{background-position:0 100%}.tile-3{background-position:100% 100%}.cover-button .artwork{transition:transform .4s}.cover-button:hover .artwork{transform:scale(1.045)}.cover-play{position:absolute;width:47px;height:47px;border-radius:50%;background:#ffffffed;display:flex;align-items:center;justify-content:center;left:calc(50% - 24px);top:calc(50% - 24px);color:var(--orange-dark);opacity:0;transition:opacity .2s}.cover-button:hover .cover-play,.cover-button:focus-visible .cover-play{opacity:1}.favorite-button{position:absolute;right:10px;top:10px;display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;color:#69685b;background:#fffc;box-shadow:0 1px 8px #302e2a0a}.favorite-button.is-favorite{color:#d95841;background:#fff}.card-title{display:block;background:none;text-align:left;font-size:21px;font-weight:800;margin:8px 5px 5px;padding:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-card>p{font-size:14px;color:var(--muted);margin:0 5px;line-height:1.7}.media-card>p span{padding:0 7px}.play-banner{background:#fce5d4;margin-top:29px;border-radius:27px;min-height:150px;display:flex;align-items:center;overflow:hidden;position:relative}.play-banner>div:first-child{padding:24px 34px;position:relative;z-index:1}.play-banner h2{font-size:29px;font-weight:800;margin-bottom:14px}.play-banner .primary{font-size:19px;padding:8px 26px}.banner-art{position:absolute;width:50%;height:100%;right:0;top:0;background:url(/assets/tiles.png) 100% 0/200% 200%;-webkit-mask-image:linear-gradient(to right,transparent,#000 22%);mask-image:linear-gradient(to right,transparent,#000 22%)}.site-footer{width:calc(100% - 96px);max-width:1344px;border-top:1px solid var(--line);margin:34px auto 0;padding:24px 5px 28px;display:flex;align-items:center;gap:26px;color:#8b887d;font-size:13px}.site-footer>span{display:flex;align-items:center;gap:7px}.site-footer button{background:none;color:#757465;font-size:13px;margin-left:auto;padding:5px}.site-footer small{font-size:12px}.icon-button{background:#efede7;border-radius:50%;height:37px;width:37px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.modal{border:1px solid #e8e2d8;border-radius:25px;padding:25px;width:min(560px,calc(100% - 32px));max-height:90dvh;color:#302e2a;background:#faf8f3;box-shadow:0 24px 120px #171b2040}.modal::backdrop{background:#252b2a82;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.modal-wide{width:min(940px,calc(100% - 32px))}.modal-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.modal-heading h2{font-size:23px;min-width:0;overflow-wrap:anywhere}.video-player{width:100%;max-height:58vh;background:#151c1b;border-radius:16px;display:block;aspect-ratio:16/9}.player-details{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:18px}.player-details>p{font-size:17px;font-weight:600}.player-details .secondary{font-size:14px;min-height:36px;padding:8px 15px;flex-shrink:0}.source-note{font-size:12px;line-height:1.9;color:#77786f;margin-top:15px;padding-top:14px;border-top:1px solid var(--line)}.source-note a{display:inline-flex;align-items:center;gap:4px}.error-message{padding:12px;background:#fae0d7;border-radius:8px;font-size:14px;margin-top:10px}.rest-state{text-align:center;background:#e6eddf;border-radius:16px;padding:70px 30px}.rest-state h3{font-size:27px;margin-bottom:18px}.rest-state p{line-height:1.8}.external-preview{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.external-preview .artwork{border-radius:17px}.external-preview h3{font-size:23px;line-height:1.6}.external-preview p{color:var(--muted);font-size:14px;line-height:1.9;margin:12px 0 20px}.story-stage{display:grid;grid-template-columns:1fr 1fr;align-items:center;border-radius:18px;overflow:hidden;min-height:310px;transition:background-color 1s}.story-picture{width:100%;border-radius:18px;transform:scale(.88)}.story-playing .story-picture{animation:story-float 5s ease-in-out infinite}.story-copy{padding:25px 30px 25px 8px;animation:appear .5s}.story-page{font-size:13px;color:#575d51;margin-bottom:12px}.story-copy h3{font-size:27px;line-height:1.5}.story-copy>p:not(.story-page){font-size:17px;line-height:1.9;margin:16px 0}.story-copy .primary{font-size:14px;padding:9px 15px}.story-controls{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:16px}.story-controls button{font-size:14px;padding:9px 16px}.game-page{padding-top:30px}.section-intro{padding:0 20px 28px}.game-layout{display:grid;grid-template-columns:1fr 1.15fr;background:#edf1e6;border-radius:29px;overflow:hidden;min-height:490px}.game-illustration{height:100%;aspect-ratio:auto;background-size:200% 200%;min-height:390px}.game-content{padding:35px;display:flex;align-items:center;flex-direction:column;justify-content:center;text-align:center}.game-counter{font-size:13px;color:var(--muted);margin-bottom:16px}.target-color{width:65px;height:65px;border-radius:20px;box-shadow:inset 0 2px 4px #fff3,0 4px 10px #34342414;margin-bottom:16px}.game-content h2{font-size:26px;line-height:1.5}.game-feedback{font-size:14px;line-height:1.8;margin:12px 0 22px;min-height:50px;color:#6d7564}.game-choices{display:flex;gap:17px;justify-content:center}.game-choices button{background:#fafbf6;border:2px solid transparent;border-radius:20px;min-width:96px;min-height:105px;padding:13px;display:flex;align-items:center;flex-direction:column;gap:12px;font-size:15px;font-weight:600;transition:transform .15s,border-color .15s}.game-choices button:hover{transform:translateY(-4px);border-color:#c8d6ba}.game-dots{display:flex;gap:14px;margin-top:25px}.game-dots span{width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-size:12px;border-radius:50%;background:#dbe3d0;color:#687660}.game-dots .current{background:var(--orange);color:#fff}.game-dots .complete{background:#738c62;color:#fff}.game-success svg{color:var(--orange)}.game-success p{margin:20px 0;color:#6d7564;line-height:1.8}.game-success .primary{margin-top:12px}.quiet-note{font-size:12px;line-height:1.9;color:#818275}.game-page>.quiet-note{text-align:center;margin-top:22px}.empty-state{padding:50px 24px;text-align:center;min-height:230px;background:#f0f0e7;border-radius:22px}.empty-state>svg{color:#98a58a;margin-bottom:16px}.empty-state h3{font-size:22px}.empty-state p{font-size:14px;color:var(--muted);margin:15px 0 20px}.empty-state button{font-size:14px}.parent-gate{text-align:center;padding:15px 20px}.parent-gate>svg{color:#869672}.parent-gate h3{font-size:23px;margin-top:15px}.parent-gate p{font-size:15px;margin:14px 0;color:var(--muted)}.parent-gate input{display:block;width:100%;border:1px solid #d8d7c8;border-radius:12px;padding:12px 15px;background:#fff;margin:22px 0 15px;font-size:18px}.parent-gate .primary{width:100%;font-size:16px}.parent-gate small{color:#8a8b7e;font-size:11px}.parent-content{font-size:14px;line-height:1.9}.parent-content h3{font-size:18px;margin:15px 0 8px}.parent-content>p{color:#76766c}.parent-summary{display:flex;gap:24px;background:#edf0e3;border-radius:16px;padding:20px;margin:10px 0 24px}.parent-summary>div{flex:1}.parent-summary strong{font-size:26px;color:#64764d}.parent-summary strong small{font-size:14px;font-weight:500}.parent-summary p{font-size:12px;color:#778268}.setting-label{display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:600;margin:14px 0}.setting-label select{border:1px solid #d7d7c9;background:#fff;border-radius:8px;padding:7px 10px;font-size:14px}.parent-content hr{border:0;border-top:1px solid var(--line);margin:22px 0}.upload-control{font-size:14px;cursor:pointer;margin:16px 0 8px}.upload-control input{position:absolute;width:1px;height:1px;opacity:0}.upload-control:focus-within{outline:3px solid var(--orange)}@keyframes story-float{0%,to{transform:scale(.88) translateY(0)}50%{transform:scale(.92) translateY(-6px)}}@keyframes appear{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}@media(min-width:1500px){.hero{height:335px}.welcome{padding-top:36px;padding-bottom:30px}}@media(max-width:1150px){.header-inner,.page-shell,.site-footer{width:calc(100% - 56px)}nav{gap:25px}.brand{font-size:24px}.welcome{padding-left:5px;padding-right:5px}.welcome h1{font-size:28px}.age-filter button{padding:8px 15px;font-size:15px}.hero h2{font-size:37px}.hero-copy{padding:30px 35px}.hero{height:290px}.hero p{font-size:17px}.card-title{font-size:18px}.category-filter button{padding:8px 25px}.play-banner h2{font-size:25px}.game-content{padding:25px}.game-choices{gap:10px}.game-choices button{min-width:78px}}@media(max-width:760px){.header-inner,.page-shell,.site-footer{width:calc(100% - 36px)}.header-inner{height:auto;min-height:116px;flex-wrap:wrap;gap:0;padding-top:17px}.brand{font-size:23px;gap:9px}.brand svg{width:31px;height:31px}.parent-button{padding:7px 11px;font-size:13px;gap:5px;margin-left:auto}.parent-button svg{width:15px;height:15px}nav{width:100%;order:3;justify-content:space-around;gap:8px;height:48px;margin-top:11px}nav button{font-size:16px;padding:0 12px}nav button.active:after{height:4px;left:9px;right:9px}.welcome{display:block;padding:24px 2px 17px}.welcome h1{font-size:26px;letter-spacing:0}.welcome p{font-size:14px;margin-top:6px}.age-filter{margin-top:18px;width:100%;justify-content:space-between}.age-filter button{padding:8px 15px;font-size:14px;flex:1}.hero{height:365px;background-position:66% bottom;background-size:auto 225px;background-repeat:no-repeat;align-items:flex-start;border-radius:23px;background-color:#dce8d5}.hero-copy{padding:25px 24px;width:100%}.hero h2{font-size:31px}.hero p{font-size:14px;margin:8px 0 15px}.hero .primary{font-size:16px;padding:9px 20px;min-height:40px}.category-filter{gap:10px;padding:18px 18px 17px 0;margin-right:-18px}.category-filter button{font-size:14px;padding:8px 21px}.section-heading{margin-bottom:13px}.section-heading h2{font-size:23px}.section-heading>span{font-size:11px}.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 13px}.cover-button{border-radius:15px}.favorite-button{width:29px;height:29px;top:7px;right:7px}.favorite-button svg{width:16px}.card-title{font-size:17px;margin:9px 2px 3px}.media-card>p{font-size:11px;margin:0 2px}.media-card>p span{padding:0 3px}.play-banner{min-height:195px;margin-top:25px;border-radius:22px;align-items:flex-start}.play-banner>div:first-child{padding:23px 22px}.play-banner h2{font-size:21px;max-width:210px;line-height:1.65;margin-bottom:14px}.play-banner .primary{font-size:15px;padding:8px 19px;min-height:38px}.banner-art{width:57%;top:50px;height:150px;background-size:200% 200%}.site-footer{flex-wrap:wrap;gap:14px;margin-top:25px;padding:20px 0;font-size:11px}.site-footer button{font-size:11px;padding:0}.site-footer small{width:100%;font-size:10px}.modal{padding:20px 17px;border-radius:20px;max-height:92dvh}.modal-heading{margin-bottom:15px}.modal-heading h2{font-size:20px}.player-details>p{font-size:14px}.source-note{font-size:11px}.story-stage{grid-template-columns:1fr;min-height:390px}.story-picture{max-height:215px}.story-copy{padding:8px 23px 25px}.story-copy h3{font-size:23px}.story-copy>p:not(.story-page){font-size:15px;margin-top:10px}.story-page{margin-bottom:7px}.story-controls{gap:6px}.story-controls button{font-size:12px;padding:8px 11px;gap:4px}.story-controls svg{width:14px}.external-preview{grid-template-columns:1fr}.external-preview .artwork{max-height:240px}.external-preview h3{font-size:21px}.game-page{padding-top:24px}.section-intro{padding:0 2px 23px}.section-intro h1{font-size:26px}.section-intro>p{font-size:14px;line-height:1.8}.game-layout{grid-template-columns:1fr;border-radius:23px}.game-illustration{min-height:0;height:190px;background-size:200% 200%}.game-content{padding:27px 16px}.game-content h2{font-size:23px}.game-feedback{font-size:13px;min-height:44px}.game-choices{gap:15px}.game-choices button{min-width:84px;min-height:100px;font-size:14px}.game-choices svg{width:40px;height:40px}.game-success h2{font-size:23px}.parent-summary{padding:15px;gap:12px}.parent-summary strong{font-size:23px}.setting-label{font-size:14px}.rest-state{padding:50px 20px}.rest-state h3{font-size:23px}.rest-state p{font-size:14px}.empty-state{padding:38px 15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
