: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 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}.editor-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:20px;display:grid}.editor-main{min-width:0}.editor-topline{justify-content:space-between;align-items:center;padding:0 2px 10px;display:flex}.save-state{color:#5caa8b;font-weight:800}.save-error{color:#cf4f62;font-weight:900}.canvas-viewport{background:repeating-linear-gradient(45deg,#f1e9db 0 12px,#f7f0e5 12px 24px);border-radius:24px;justify-content:center;align-items:center;width:100%;height:min(72dvh,680px);min-height:360px;display:flex;overflow:hidden;box-shadow:inset 0 0 0 1px #e8d7c4}.sheet{aspect-ratio:1122/1402;transform-origin:50%;background:#fff;max-width:calc(100% - 30px);height:calc(100% - 30px);position:relative;box-shadow:0 8px 24px #554c462f}.paper-white,.canvas-layer,.pointer-layer{width:100%;height:100%;position:absolute;inset:0}.canvas-layer{object-fit:fill;pointer-events:none}.pointer-layer{touch-action:none;cursor:crosshair}.ink-layer{-webkit-user-select:none;user-select:none}.canvas-actions{gap:8px;padding:11px 0;display:flex}.canvas-actions button,.size-row button,.utility-row button,.palette-toggle,.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}.canvas-actions button:hover,.utility-row button:hover{background:#fff1d7}.mobile-sample{display:none}.hint{color:#9d7045;background:#fff4d6;border-radius:12px;margin:0 0 10px;padding:10px 14px}.sample-panel{background:#fff;border:1px solid #efe7da;border-radius:22px;padding:18px;box-shadow:0 7px 20px #ae8f6b1b}.sample-panel h2{margin:0 0 14px;font-size:19px}.sample-panel small{float:right;color:#b19c91;font-size:12px}.sample-panel img{object-fit:contain;cursor:crosshair;width:100%;max-height:430px}.sample-panel p{color:#8d7d72;line-height:1.6}.editor-tools{background:#fff;border:1px solid #f0e8da;border-radius:20px;grid-column:1/-1;margin-bottom:26px;padding:16px;box-shadow:0 8px 24px #b6947218}.tool-row{flex-wrap:wrap;gap:8px;margin-bottom:9px;display:flex}.tool-row button{color:#705e5f;background:#fffaf3;border:1px solid #eee4d8;border-radius:13px;min-width:90px;min-height:64px;padding:8px;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:2px solid #e68291}.utility-row button{min-height:48px}.utility-row .finish-button{color:#fff;background:#e88088;border-color:#e88088;margin-left:auto}.size-row{gap:8px;margin:11px 0;display:flex}.palette-summary{align-items:center;gap:14px;margin-top:10px;font-weight:900;display:flex}.palette-toggle{align-items:center;gap:8px;display:flex}.color-dot{border:1px solid #ccc;border-radius:50%;width:22px;height:22px;display:inline-block}.palette{grid-template-columns:repeat(12,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.palette button{color:#756b69;background:0 0;border:2px solid #0000;border-radius:12px;min-height:54px;padding:4px;font-size:11px}.palette button.selected{background:#f7f1ff;border-color:#9f78bb}.palette button span{border:1px solid #ddd;border-radius:50%;width:30px;height:30px;margin:0 auto 3px;display:block;box-shadow:0 1px 5px #5544332a}.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}.editor-layout{grid-template-columns:minmax(0,1fr) 210px}.sample-panel{padding:11px}.palette{grid-template-columns:repeat(6,1fr)}}@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}.editor-layout{display:block}.sample-panel{display:none}.mobile-sample{display:inline-block}.canvas-viewport{height:min(55dvh,520px);min-height:300px}.canvas-actions button{padding:9px;font-size:12px}.editor-tools{z-index:5;border-radius:19px 19px 0 0;max-height:42dvh;margin:0 -17px;padding:10px;position:sticky;bottom:0;overflow-y:auto;box-shadow:0 -6px 20px #6f53442b}.tool-row{justify-content:space-between;gap:5px}.tool-row button{flex:1;min-width:0;min-height:56px;padding:5px 2px;font-size:11px}.tool-row button b{font-size:18px}.utility-row button{flex:1;min-height:42px;padding:5px;font-size:11px}.utility-row .finish-button{margin-left:0}.size-row{margin:5px 0}.size-row button{flex:1;padding:7px;font-size:11px}.palette-summary{margin-top:5px;font-size:12px}.palette-toggle{padding:5px 8px;font-size:12px}.palette{grid-template-columns:repeat(6,1fr);gap:4px;display:none}.palette.open{display:grid}.palette button{min-height:48px}.palette button span{width:25px;height:25px}.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}
