:root{color:#3c3030;font-synthesis:none;background:#fffaf0;font-family:ui-rounded,SF Pro Rounded,PingFang SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #6857c9}.app-shell{background:radial-gradient(circle at 5% 7%,#fff4d9 0,#0000 28%),#fffaf0;flex-direction:column;min-height:100dvh;display:flex}.site-header{background:#fffdf7;border-bottom:1px solid #f0e8da;justify-content:space-between;align-items:center;height:82px;padding:0 max(30px,50vw - 640px);display:flex}.logo{color:#4d3944;letter-spacing:-.04em;background:0 0;border:0;align-items:center;gap:9px;font-size:23px;font-weight:900;display:flex}.logo-mark{color:#ef7584;background:#ffe09a;border-radius:15px;place-items:center;width:42px;height:42px;font-size:28px;display:inline-grid}.site-header nav{gap:12px;display:flex}.site-header nav button{color:#65585a;background:0 0;border:0;border-radius:14px;padding:13px 18px;font-weight:700}.site-header nav button:hover{background:#fff1d3}.site-header nav .parent-link{background:#f8efe7}main{flex:1;width:min(1280px,100% - 60px);margin:0 auto}footer{color:#9b8d85;justify-content:space-between;padding:24px max(30px,50vw - 640px);font-size:13px;display:flex}.hero{background:linear-gradient(115deg,#fbe1ab 0%,#ffeac3 47%,#fee6d9 100%);border-radius:34px;grid-template-columns:1.05fr .95fr;min-height:485px;margin:34px 0 70px;display:grid;position:relative;overflow:hidden;box-shadow:0 14px 30px #c6986720}.hero>div:first-child{z-index:1;padding:70px 5% 55px 9%}.eyebrow{color:#dc8d6c;letter-spacing:.2em;font-size:12px;font-weight:900}.hero h1{letter-spacing:-.05em;color:#50394b;margin:22px 0;font-size:clamp(42px,4.6vw,68px);line-height:1.24}.hero h1 span{color:#f28191;margin-left:10px}.hero p{color:#826d65;max-width:420px;font-size:18px;line-height:1.65}.hero-button{color:#fff;background:#eb7f83;border:0;border-radius:18px;margin-top:24px;padding:18px 29px;font-size:19px;font-weight:900;box-shadow:0 8px #d96870}.hero-button span{margin-left:22px}.hero-art{place-items:center;display:grid;position:relative}.hero-art:before{content:"";background:#fff6df9c;border-radius:50%;width:440px;height:440px;position:absolute}.hero-art img{object-fit:contain;filter:drop-shadow(0 14px 15px #765c3a32);width:min(340px,70%);height:400px;position:relative;transform:rotate(5deg)}.hero-sticker{color:#e17884;text-align:center;background:#fff;border-radius:50%;place-items:center;width:108px;height:108px;font-weight:900;line-height:1.35;display:grid;position:absolute;top:16%;right:8%;transform:rotate(10deg);box-shadow:0 10px 20px #a9876c26}.section{margin:0 0 70px}.section-heading{justify-content:space-between;align-items:end;gap:10px;margin-bottom:22px;display:flex}.section h2,.page-heading h1{letter-spacing:-.04em;margin:5px 0;font-size:34px}.subtle{color:#9f9185;font-size:14px}.books{grid-template-columns:1fr 1fr;gap:24px;display:grid}.book-card{text-align:left;color:#594850;border:0;border-radius:26px;align-items:center;gap:24px;min-height:300px;padding:24px;display:flex;box-shadow:0 7px 18px #bba78a1c}.book-card.pony{background:#f9e5e8}.book-card.ting{background:#e7e6fc}.book-card.paw{background:#e1edf8}.book-card.paw small,.book-card.paw strong{color:#45749c}.book-card img{object-fit:contain;background:#fff7;border-radius:15px;width:43%;height:250px}.book-card small{color:#bc8194;letter-spacing:.1em;font-weight:900}.book-card h3{margin:12px 0;font-size:30px}.book-card p{color:#8a7c7d}.book-card strong{color:#d77584;margin-top:20px;font-size:17px;display:inline-block}.ting-art{color:#fff;background:linear-gradient(145deg,#d5d1fc,#f8e3ef);border-radius:19px;place-items:center;width:43%;height:250px;font-size:110px;display:grid;position:relative}.ting-art span{color:#ed96b2;font-size:50px;position:absolute;top:20px;right:22px}.home-note{color:#806e64;background:#fff4de;border-radius:20px;align-items:center;gap:18px;margin-bottom:55px;padding:15px 28px;display:flex}.home-note span{color:#edb961;font-size:29px}.page-heading{padding:36px 0 30px}.back-link{color:#95847e;background:0 0;border:0;padding:12px 0;font-weight:700}.page-heading p{color:#8e7e74}.page-grid,.gallery-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:20px;display:grid}.page-card{text-align:left;color:#4d3e3f;background:#fff;border:1px solid #efe7dc;border-radius:20px;padding:0;overflow:hidden;box-shadow:0 7px 18px #a78e7620}.page-card:hover,.book-card:hover{transform:translateY(-3px);box-shadow:0 13px 24px #a78e7630}.thumb-wrap{background:#fff4df;place-items:center;height:250px;display:grid;position:relative}.thumb-wrap img{object-fit:contain;width:96%;height:96%}.thumb-wrap span{color:#d37e7b;background:#fff;border-radius:99px;padding:7px 10px;font-size:12px;font-weight:900;position:absolute;top:14px;left:14px}.page-card>div:last-child{padding:15px 18px}.page-card h3{margin:0 0 7px}.page-card p{color:#9b8b82;margin:0;font-size:14px}.catalog-note{color:#9c8c82;margin-top:22px}.editor-heading{align-items:center;gap:25px;padding:18px 0;display:flex}.editor-heading div{flex:1}.editor-heading small{color:#aa9585}.editor-heading h1{margin:3px 0;font-size:27px}.offline-tag,.pill{color:#a77646;background:#fff4d5;border-radius:99px;padding:9px 13px;font-size:12px;font-weight:900;display:inline-block}.settings-actions button,.settings-card>button,.import-preview button,.retry-save{color:#6b5d59;background:#fff;border:1px solid #e4d9c9;border-radius:13px;padding:10px 15px;font-weight:800}.completion-banner{background:#e9f6e7;border-radius:20px;align-items:center;gap:18px;margin:0 0 25px;padding:18px 25px;display:flex}.completion-banner>span{color:#e6b66c;font-size:35px}.completion-banner div{flex:1}.completion-banner p{color:#769078;margin:4px 0}.completion-banner button,.empty-state button,.parent-challenge button,.dialog button{color:#fff;background:#e88088;border:0;border-radius:13px;padding:13px 19px;font-weight:900}.retry-save{margin-bottom:15px}.emergency-button{color:#a9475b;background:#fce4e7;border:1px solid #eaa8b0;border-radius:10px;padding:12px;font-weight:900}.gallery-grid{margin:20px 0 60px}.empty-state{text-align:center;padding:80px 20px}.empty-state>span{font-size:65px}.empty-state p{color:#96877d}.parent-challenge{text-align:center;background:#fff;border-radius:24px;max-width:430px;margin:20px auto 70px;padding:35px;box-shadow:0 10px 25px #a98c7229}.challenge-icon{font-size:45px}.parent-challenge input{border:1px solid #ddcebe;border-radius:12px;width:100%;margin:15px 0;padding:13px}.parent-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 70px;display:grid}.settings-card{background:#fff;border:1px solid #eee3d5;border-radius:22px;padding:25px}.settings-card h2{margin:0 0 12px}.settings-card p{color:#8d7c73;line-height:1.65}.settings-card progress{width:100%;height:16px;margin:10px 0 18px}.settings-actions{gap:8px;display:flex}.segmented{background:#f6eee4;border-radius:13px;gap:6px;padding:5px;display:flex}.segmented button{color:#8a756c;background:0 0;border:0;border-radius:10px;flex:1;padding:10px;font-weight:800}.segmented button.active{color:#d37981;background:#fff;box-shadow:0 2px 6px #977e7130}.import-preview{background:#fff7e8;border-radius:12px;margin-top:15px;padding:14px}.import-preview button{margin-right:8px}.toast{color:#fff;z-index:10;background:#453d42;border-radius:12px;max-width:min(90vw,400px);padding:14px 18px;position:fixed;bottom:25px;right:20px}.modal-backdrop{z-index:20;background:#332d3988;place-items:center;padding:20px;display:grid;position:fixed;inset:0}.dialog{text-align:center;background:#fff9ee;border-radius:23px;width:min(410px,100%);padding:30px;box-shadow:0 15px 50px #281f3155}.dialog p{color:#7b696b;font-size:18px}.rest-icon{font-size:52px}.sample-modal{background:#fff;border-radius:20px;flex-direction:column;max-width:min(80vw,550px);max-height:90dvh;padding:15px;display:flex}.sample-modal button{background:#f8e9e8;border:0;border-radius:10px;align-self:flex-end;padding:10px 15px}.sample-modal img{object-fit:contain;cursor:crosshair;min-height:0;max-height:calc(90dvh - 75px)}.fatal{text-align:center;color:#755e5d;place-content:center;min-height:100dvh;display:grid}.fatal button{padding:10px 20px}.loading-icon{color:#e88088;font-size:60px}.canvas-error{background:#fff;border-radius:14px;padding:25px}@media (width<=900px){main{width:calc(100% - 34px)}.site-header{padding:0 17px}.hero{min-height:420px}.hero>div:first-child{padding:56px 0 40px 7%}.hero-art img{height:310px}.books{gap:14px}.book-card{gap:12px;min-height:240px;padding:14px}.book-card img,.ting-art{height:195px}.book-card h3{font-size:24px}}@media (width<=600px){.site-header{height:68px}.logo{font-size:17px}.logo-mark{width:33px;height:33px;font-size:22px}.site-header nav{gap:0}.site-header nav button{padding:10px 7px;font-size:12px}.hero{grid-template-columns:1fr;min-height:0;margin:16px 0 45px}.hero>div:first-child{padding:35px 27px 20px}.hero h1{margin:12px 0;font-size:40px}.hero p{font-size:14px}.hero-button{margin-top:12px;font-size:16px}.hero-art{height:250px}.hero-art:before{width:280px;height:280px}.hero-art img{height:240px}.hero-sticker{width:73px;height:73px;font-size:11px;top:2%;right:13%}.section h2,.page-heading h1{font-size:26px}.books{grid-template-columns:1fr}.book-card{min-height:220px}.book-card img,.ting-art{height:190px}.editor-heading{flex-wrap:wrap;gap:10px}.editor-heading h1{font-size:23px}.offline-tag{margin-left:auto}.parent-grid{grid-template-columns:1fr}.page-grid,.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.thumb-wrap{height:190px}.section{margin-bottom:40px}.completion-banner{flex-wrap:wrap}.completion-banner button{width:100%}footer{gap:8px;padding:20px 17px;font-size:11px}}.page-card .thumb-wrap{justify-content:center;align-items:center;height:250px;min-height:0;display:flex;overflow:hidden}.page-card .thumb-wrap img{object-fit:contain;width:100%;max-width:100%;height:100%;max-height:100%;display:block}.page-card>div:last-child{background:#fff;position:relative}@media (width<=600px){.page-card .thumb-wrap{height:190px}}.missing-preview{color:#9a887f;text-align:center;padding:20px;font-weight:800}@media (width>=1100px){.books{grid-template-columns:repeat(3,minmax(0,1fr))}.book-card{text-align:center;flex-direction:column;gap:8px}.book-card img{width:100%;height:240px}.book-card h3{margin:10px 0}.book-card strong{margin-top:8px}}.app-shell.is-editing{height:100dvh;min-height:0;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);overflow:hidden}.is-editing .site-header{flex:none;height:56px;padding:0 20px}.is-editing .logo{font-size:19px}.is-editing .logo-mark{border-radius:11px;width:34px;height:34px;font-size:24px}.is-editing main{flex-direction:column;width:100%;max-width:1600px;min-height:0;padding:0 16px 12px;display:flex}.is-editing footer{display:none}.is-editing .editor-heading{flex-wrap:nowrap;flex:none;gap:16px;padding:8px 0}.is-editing .editor-heading h1{font-size:22px}.is-editing .editor-heading small{font-size:11px}.is-editing .editor-heading .back-link{min-height:44px;font-size:13px}.is-editing .offline-tag{padding:8px 10px;font-size:11px}.editor-layout{flex:1;grid-template-columns:minmax(0,1fr) 300px;gap:12px;min-height:0;display:grid}.editor-main{flex-direction:column;min-width:0;min-height:0;display:flex}.editor-topline{flex:none;justify-content:space-between;align-items:center;min-height:32px;padding:0 2px 6px;font-size:12px;display:flex}.editor-topline .pill{padding:5px 10px;font-size:11px}.save-state{color:#5caa8b;font-weight:800}.save-error{color:#cf4f62;font-weight:900}.canvas-viewport{touch-action:none;-webkit-user-select:none;user-select:none;cursor:crosshair;background:repeating-linear-gradient(45deg,#f1e9db 0 12px,#f7f0e5 12px 24px);border-radius:20px;flex:1;justify-content:center;align-items:center;width:100%;min-height:0;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #e8d7c4}.canvas-viewport.is-moving{cursor:grab}.canvas-viewport.is-moving:active{cursor:grabbing}.sheet{transform-origin:50%;pointer-events:none;background:#fff;flex:none;position:relative;box-shadow:0 8px 24px #554c462f}.paper-white,.canvas-layer{width:100%;height:100%;position:absolute;inset:0}.canvas-layer{object-fit:fill;pointer-events:none}.ink-layer{-webkit-user-select:none;user-select:none}.canvas-actions{flex:none;align-items:center;gap:6px;padding-top:8px;display:flex}.canvas-actions button,.size-row button,.clip-toggle{color:#6b5d59;white-space:nowrap;background:#fff;border:1px solid #e4d9c9;border-radius:11px;min-height:44px;padding:8px 10px;font-size:13px;font-weight:800}.canvas-actions button:hover,.utility-row button:hover{background:#fff1d7}.canvas-actions button.selected,.clip-toggle.selected{color:#b84d69;background:#fff0f1;border-color:#e68291}.zoom-controls{background:#fff;border:1px solid #e4d9c9;border-radius:12px;align-items:center;gap:2px;display:flex}.zoom-controls button{background:0 0;border:0;min-width:44px;padding:4px;font-size:21px}.zoom-controls output{text-align:center;font-variant-numeric:tabular-nums;min-width:48px;font-size:12px;font-weight:800}.gesture-tip{color:#95847e;margin-left:4px;font-size:11px}.canvas-actions .help-button{min-width:44px;margin-left:auto}.mobile-sample{display:none}.hint{color:#9d7045;pointer-events:none;background:#fff4d6f5;border-radius:12px;width:fit-content;max-width:calc(100% - 20px);margin:0 auto;padding:9px 13px;font-size:12px;position:absolute;bottom:10px;left:10px;right:10px}.editor-sidebar{overscroll-behavior:contain;flex-direction:column;gap:10px;min-height:0;display:flex;overflow-y:auto}.editor-tools{background:#fff;border:1px solid #f0e8da;border-radius:18px;flex-direction:column;flex:none;gap:8px;padding:10px;display:flex;box-shadow:0 8px 24px #b6947218}.tool-row{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.tool-row button{color:#705e5f;background:#fffaf3;border:1px solid #eee4d8;border-radius:11px;min-width:0;min-height:60px;padding:5px 2px;font-weight:800}.tool-row button b{margin-bottom:2px;font-size:22px;display:block}.tool-row button span{font-size:12px}.tool-row button.selected,.size-row button.selected{color:#b84d69;background:#fff0f1;border-color:#e68291;box-shadow:inset 0 0 0 1px #e68291}.brush-settings{grid-template-columns:minmax(0,1fr) auto;gap:8px;display:grid}.size-row{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;display:grid}.size-row button{padding:6px 2px}.clip-toggle{padding:6px;font-size:11px}.palette-summary{justify-content:space-between;align-items:center;font-size:13px;font-weight:900;display:flex}.current-color{color:#9b8b82;align-items:center;gap:6px;font-size:11px;font-weight:400;display:flex}.color-dot{border:1px solid #ccc;border-radius:50%;width:20px;height:20px;display:inline-block}.palette{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.palette button{color:#756b69;background:0 0;border:2px solid #0000;border-radius:10px;min-width:0;min-height:52px;padding:3px 0;font-size:10px}.palette button.selected{background:#f7f1ff;border-color:#9f78bb}.palette button span{border:1px solid #ddd;border-radius:50%;width:27px;height:27px;margin:0 auto 3px;display:block;box-shadow:0 1px 5px #5544332a}.utility-row{border-top:1px solid #f0e8da;padding-top:8px}.utility-row button{min-height:44px;font-size:12px}.utility-row .finish-button{color:#fff;background:#e88088;border-color:#e88088}.sample-panel{background:#fff;border:1px solid #efe7da;border-radius:18px;flex-direction:column;flex:1;min-height:140px;padding:10px;display:flex;overflow:hidden}.sample-panel h2{flex:none;justify-content:space-between;align-items:center;gap:6px;margin:0 0 5px;font-size:15px;display:flex}.sample-panel h2 button{color:#94786b;background:#fff4e5;border:0;border-radius:8px;min-height:36px;padding:8px;font-size:11px}.sample-panel img{object-fit:contain;cursor:crosshair;flex:1;width:100%;height:0;min-height:0;display:block}.sample-panel p{color:#8d7d72;flex:none;margin:6px 0 0;font-size:11px;line-height:1.5}.is-editing .completion-banner{border-radius:14px;flex-wrap:nowrap;flex:none;gap:10px;margin:8px 0 0;padding:8px 14px;font-size:12px}.is-editing .completion-banner>span{font-size:24px}.is-editing .completion-banner button{white-space:nowrap;width:auto;padding:10px 12px}.is-editing .retry-save{flex:none;align-self:flex-start;margin:6px 0 0}@media (width<=1100px){.editor-layout{grid-template-columns:minmax(0,1fr) 280px}.gesture-tip{display:none}}@media (width<=800px){.editor-layout{grid-template-columns:minmax(0,1fr) 264px;gap:10px}.is-editing main{padding:0 10px 10px}.editor-tools{padding:8px}.canvas-actions{gap:4px}.canvas-actions button{padding-inline:6px;font-size:12px}.zoom-controls button{min-width:40px;font-size:20px}.zoom-controls output{min-width:44px}}@media (width<=600px) and (orientation:portrait){.is-editing .site-header{height:48px;padding:0 10px}.is-editing .logo{gap:5px;font-size:16px}.is-editing .logo-mark{width:28px;height:28px;font-size:21px}.is-editing .editor-heading{gap:10px;padding:5px 0}.is-editing .editor-heading h1{font-size:18px}.is-editing .editor-heading small{font-size:10px}.is-editing .offline-tag{display:none}.editor-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:7px}.editor-topline{min-height:25px;padding-bottom:4px}.canvas-viewport{border-radius:14px}.canvas-actions{gap:3px;padding-top:5px}.canvas-actions button{padding-inline:4px;font-size:11px}.zoom-controls button{min-width:34px;font-size:18px}.zoom-controls output{min-width:36px}.canvas-actions .help-button{min-width:32px}.mobile-sample{display:inline-block}.editor-sidebar{overflow:visible}.sample-panel{display:none}.editor-tools{border-radius:14px;grid-template-columns:minmax(0,1fr) 132px;gap:6px;padding:7px;display:grid}.tool-row{gap:3px}.tool-row button{min-height:52px}.tool-row button b{font-size:18px}.tool-row button span{font-size:11px}.brush-settings{flex-direction:column;grid-area:1/2/3;gap:3px;display:flex}.brush-settings button{min-height:40px}.palette-summary{grid-column:1;min-height:22px;font-size:11px}.current-color{font-size:10px}.color-dot{width:17px;height:17px}.palette{grid-column:1/-1;gap:3px}.palette button{min-height:45px}.palette button span{width:23px;height:23px;margin-bottom:2px}.utility-row{grid-column:1/-1;padding-top:5px}.utility-row button{min-height:40px;font-size:12px}.emergency-button{grid-column:1/-1}.is-editing .completion-banner p{display:none}}@media (height<=600px) and (orientation:landscape){.is-editing .site-header{height:44px}.is-editing .editor-heading{padding:3px 0}.is-editing .editor-heading h1{font-size:17px}.is-editing .editor-heading small{display:none}.is-editing .offline-tag{padding:5px 8px}.editor-layout{grid-template-columns:minmax(0,1fr) 260px}.editor-topline{min-height:24px;padding-bottom:4px}.sample-panel{flex:none;height:160px}.mobile-sample{display:inline-block}}@media (width<=600px) and (height<=700px) and (orientation:portrait){.is-editing .site-header{height:44px}.is-editing .editor-heading small{display:none}.editor-sidebar{max-height:min(36dvh,220px);overflow-y:auto}}@media (width>=900px) and (height>=550px) and (height<=600px){.sample-panel{flex:1;height:auto;min-height:100px}}
