:root{--paper:#faf9f4;--ink:#334C40;--muted:#889087;--green:#507C64;--mint:#e9f0e5;--line:#e7e9df;--coral:#E99177;--shadow:0 8px 28px #3f553709;--radius:24px;font-family:"PingFang SC","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}
body{margin:0}
button,input{font:inherit}
button{border:0;cursor:pointer;color:inherit;background:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;text-align:center}
button:disabled{cursor:default;opacity:.35}
button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #92B2CF;outline-offset:4px}
button:hover:not(:disabled){filter:brightness(.98)}
svg{width:22px;height:22px;vertical-align:middle;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.app-icon{width:24px;height:24px;display:block;object-fit:contain;flex:0 0 auto}
.modal-symbol .app-icon{width:38px;height:38px}.footer .app-icon,.work-actions .app-icon{width:18px;height:18px}
a{color:var(--green)}
h1,h2,h3,p{margin:0}
button.primary{background:var(--coral);color:white;min-height:54px;padding:0 28px;border-radius:17px;font-weight:600;display:inline-flex;gap:12px;align-items:center;justify-content:center;box-shadow:0 5px 0 #D37B6233}
button.secondary{background:var(--mint);color:var(--green);min-height:50px;padding:0 22px;border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:10px}
button.quiet{min-height:48px;padding:0 18px;border:1px solid var(--line);border-radius:15px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff9}
button.link{min-height:48px;display:inline-flex;align-items:center;gap:7px;font-size:14px;color:var(--green)}
button.danger{background:#FAE8E2;color:#B36B5B;min-height:48px;padding:0 20px;border-radius:14px}
.icon-button{min-width:48px;min-height:48px;display:inline-flex;justify-content:center;align-items:center;border-radius:15px;border:1px solid var(--line);background:#fff}
.shell{max-width:1200px;margin:auto;padding:0 36px}
.topbar{height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;gap:12px;padding:0}
.brand img{width:45px;height:45px}
.brand-name{text-align:left;font-weight:700;font-size:23px;letter-spacing:2px}
.brand-name small{display:block;font-size:10px;font-weight:500;letter-spacing:2.6px;color:#99A18F;margin-top:4px}
.navigation{display:flex;gap:12px;align-items:center}
.navigation button{font-size:14px}
.nav-active{background:var(--mint)!important;color:var(--green)}
.hero{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:24px;padding:30px 0 38px}
.hero-copy{padding-left:13px}
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12px;letter-spacing:1px;background:#EEF0E5;border:1px solid #E2E7D9;padding:7px 13px;border-radius:20px;color:#829273}
.eyebrow i{width:6px;height:6px;background:#9CB581;border-radius:50%}
.hero h1{font-size:53px;line-height:1.45;letter-spacing:3px;margin:20px 0 16px;font-weight:750}
.hero h1 span{color:var(--green);position:relative;z-index:0;white-space:nowrap}
.hero h1 span:after{content:"";position:absolute;height:10px;background:#E7D9AB;bottom:5px;left:0;right:6px;border-radius:50%;z-index:-1;transform:rotate(-2deg)}
.hero-description{color:#8A9288;font-size:15px;line-height:1.9;letter-spacing:.6px}
.hero-actions{display:flex;gap:16px;align-items:center;margin-top:26px}
.hero-note{font-size:11px;letter-spacing:1px;color:#9BA18F;display:flex;gap:13px;align-items:center;margin-top:21px}
.hero-note svg{height:14px;width:14px;margin-right:3px}
.hero-art{position:relative;transform:rotate(1deg)}
.hero-art canvas{display:block;width:100%;height:auto;border-radius:47% 43% 38% 35%}
.art-label{position:absolute;bottom:17px;left:30%;background:#fffdf4;padding:10px 19px;box-shadow:var(--shadow);font-size:12px;color:#8F9986;letter-spacing:2px;transform:rotate(-3deg);border-radius:6px}
.spark{position:absolute;right:9px;top:12px;color:#C5CDA7;font-size:32px}
.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:14px 0 20px}
.section-heading h2{font-size:22px;letter-spacing:1px;font-weight:650;display:flex;align-items:center;gap:10px}
.section-heading h2 svg{color:#9EAF88}
.section-heading p{color:var(--muted);font-size:12px;margin-top:8px;letter-spacing:.6px}
.theme-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}
.theme-card{display:block;position:relative;padding:10px 10px 15px;background:#fff;border:1px solid #e7e9df;border-radius:20px;text-align:left;transition:transform .18s,box-shadow .18s}
.theme-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.theme-picture{border-radius:14px;overflow:hidden;position:relative}
.theme-picture canvas{width:100%;height:auto;display:block;mix-blend-mode:multiply}
.theme-card h3{font-size:15px;font-weight:600;margin:15px 4px 5px}
.theme-card p{font-size:10px;color:#959A8F;margin:0 4px;white-space:nowrap}
.theme-card .tag{position:absolute;top:18px;left:17px;font-size:9px;border-radius:6px;padding:3px 6px;background:#fffc;color:#7F8C76}
.recent-section{margin-top:35px}
.recent-empty{border:1.5px dashed #DDE2D4;border-radius:21px;background:#F6F6EE;display:flex;align-items:center;justify-content:center;gap:20px;padding:24px;color:#9DA793}
.empty-mini-icon{transform:rotate(-8deg);border:1px solid #D5DDCD;border-radius:8px;width:44px;height:48px;display:flex;align-items:center;justify-content:center;background:#FDFDF8}
.recent-empty p{font-size:13px;line-height:1.8;letter-spacing:.6px}
.recent-empty span{display:block;font-size:11px;color:#A5AC9B}
.footer{display:flex;justify-content:center;align-items:center;gap:9px;padding:30px 0 24px;font-size:11px;letter-spacing:1px;color:#A5AD9C}
.footer svg{width:15px;height:15px}
.page-title{margin:26px 0 32px;display:flex;justify-content:space-between;align-items:center}
.page-title h1{font-size:32px;letter-spacing:1px}
.page-title p{color:var(--muted);margin-top:12px;font-size:14px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.work-card{background:white;border:1px solid var(--line);border-radius:23px;padding:12px}
.work-preview{display:block;padding:0;width:100%;border-radius:15px;overflow:hidden;background:#fffdf8}
.work-preview canvas{display:block;width:100%}
.work-info{padding:16px 8px 9px;display:flex;align-items:center;justify-content:space-between;gap:10px}
.work-info h3{font-size:16px}
.work-info p{font-size:11px;color:var(--muted);margin-top:6px}
.work-info .icon-button{border:0;min-width:44px;min-height:44px}
.work-actions{border-top:1px solid var(--line);display:flex;justify-content:space-between;padding:5px 5px 0}
.work-actions button{font-size:12px;min-height:44px;color:var(--green);display:flex;align-items:center;gap:6px}
.work-actions svg{width:16px;height:16px}
.gallery-empty{text-align:center;padding:30px 0 60px}
.gallery-empty canvas{width:280px;max-width:80vw;border-radius:45%;margin-bottom:22px}
.gallery-empty h2{font-size:23px}
.gallery-empty p{color:var(--muted);font-size:14px;margin:13px 0 26px}
.colors{display:flex;gap:5px;align-items:center;justify-content:center}
.swatch{width:44px;height:46px;display:flex;align-items:center;justify-content:center;border-radius:50%}
.swatch:before{content:"";width:29px;height:29px;background:var(--color);border-radius:50%;border:1px solid #00000008;box-shadow:inset 0 -2px 1px #00000008}
.swatch.selected{outline:2px solid var(--color);outline-offset:-3px}
.swatch.selected:after{content:"";position:absolute;width:7px;height:7px;border:2px solid #fff;border-top:0;border-left:0;transform:translateY(-2px) rotate(45deg)}
.widths{display:flex;align-items:center;gap:3px;border-left:1px solid var(--line);padding-left:17px}
.width-button{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center}
.width-button.selected{background:#EDF2E9}
.width-dot{display:block;background:#7D9574;border-radius:50%}
.settings{max-width:740px;margin:0 auto;padding-bottom:30px}
.settings-card{border:1px solid var(--line);border-radius:24px;background:#fff;padding:27px;margin-bottom:18px}
.settings-card h2{font-size:17px;display:flex;gap:10px;align-items:center;margin-bottom:12px}
.settings-card p{font-size:13px;line-height:1.9;color:var(--muted)}
.settings-card .options{display:flex;gap:12px;margin-top:20px}
.option{flex:1;border:1px solid var(--line);padding:17px 13px;border-radius:15px;text-align:left;min-height:55px}
.option.selected{border:1.5px solid #8EAD80;background:#F0F4EA}
.option strong{display:block;font-size:15px;font-weight:600}
.option small{display:block;font-size:11px;color:#929A88;line-height:1.8;margin-top:5px}
.settings-row{display:flex;justify-content:space-between;align-items:center;gap:20px}
.switch{background:#DCE1D7;width:54px;height:32px;border-radius:20px;position:relative;flex-shrink:0}
.switch:before{content:"";position:absolute;top:4px;left:4px;width:24px;height:24px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0001;transition:transform .2s}
.switch.on{background:#7E9E70}
.switch.on:before{transform:translateX(22px)}
.privacy-note{padding:17px 20px;border-radius:15px;background:#F4F6EE;font-size:13px;line-height:1.9;color:#7D8C75;margin-top:17px}
.settings-links{display:flex;gap:20px;align-items:center;margin-top:14px;flex-wrap:wrap}
.overlay{position:fixed;z-index:20;inset:0;background:#344B4266;backdrop-filter:blur(5px);display:flex;justify-content:center;align-items:center;padding:20px}
.modal{position:relative;background:#FFFEF9;border-radius:29px;box-shadow:0 25px 80px #283F3924;padding:36px;max-width:460px;width:100%;max-height:90dvh;overflow:auto;text-align:center}
.modal .close{position:absolute;top:12px;right:12px;border:0;background:transparent;min-width:44px;min-height:44px}
.modal-symbol{width:68px;height:68px;border-radius:24px;background:#EDF2E7;color:#8EA27F;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.modal-symbol svg{width:32px;height:32px}
.modal h2{font-size:24px;margin-bottom:12px;letter-spacing:1px}
.modal p{color:#8B9585;font-size:13px;line-height:1.9}
.modal .modal-actions{display:flex;flex-direction:column;gap:11px;margin-top:24px}
.modal-actions button{width:100%}
.challenge{font-size:30px;letter-spacing:7px;margin:24px 0 14px}
.modal input{width:100%;border:1px solid #D9E1D0;border-radius:15px;background:#fff;padding:14px 16px;font-size:19px;color:var(--ink);text-align:center;min-height:54px}
.field-error{min-height:25px;margin-top:9px;color:#BB7C65;font-size:12px}
.policy{text-align:left;line-height:1.9}
.policy h3{font-size:15px;margin:18px 0 8px}
.theme-picker{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:22px}
.theme-picker button{padding:13px;border:1px solid var(--line);border-radius:15px;min-height:60px;font-size:13px}
.theme-picker button span{font-size:25px;display:block;margin-bottom:6px}
#toast{position:fixed;z-index:100;bottom:35px;left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;max-width:90vw;background:#405A49ee;color:#fff;border-radius:15px;font-size:13px;padding:13px 24px;box-shadow:var(--shadow);transition:opacity .2s,transform .2s}
#toast.visible{opacity:1;transform:translate(-50%,0)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.rest-art{font-size:56px;line-height:1.8}
.small-caption{font-size:11px!important;margin-top:12px}
.warning{padding:13px 17px;background:#FFF1DB;border-radius:14px;color:#9B784E;font-size:12px;line-height:1.8;margin-bottom:17px}
.compact-work-grid{grid-template-columns:repeat(3,1fr)}

.membership-card{background:linear-gradient(145deg,#F0F6E9,#FFFDF6);border-color:#D4E2CA}.membership-badge{display:inline-flex;padding:7px 14px;border-radius:18px;background:#DCECD6;color:#4F7854;font-size:13px;font-weight:650;margin:2px 0 12px}.membership-action{width:100%;margin-top:17px}.unlock-price{color:#D06F54;font-size:50px;font-weight:750;line-height:1.1;margin:4px 0 18px}.unlock-price small{font-size:22px;margin-right:4px}.unlock-benefits{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-radius:17px;background:#F2F5EA;text-align:left;color:#65775F;font-size:13px}.unlock-benefits span:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:#86AA7A;margin-right:9px;vertical-align:1px}.redeem-box{margin-top:18px;padding-top:16px;border-top:1px solid #E1E6DA;display:grid;gap:10px}.redeem-box label{font-size:13px;color:#788974}.redeem-box .secondary{width:100%}.unlock-links{display:flex;justify-content:center;gap:12px;margin-top:8px}.unlock-links .link{padding:0 8px}.rest-art img{display:block;width:100%;max-height:175px;object-fit:contain}

@media(min-width:1500px){.shell{max-width:1300px}
.hero{padding-top:45px;padding-bottom:50px}
.hero h1{font-size:62px}
.theme-card h3{font-size:17px}
.theme-card p{font-size:12px}
}

@media(max-width:1000px){.shell{padding:0 25px}
.hero h1{font-size:42px}
.hero-copy{padding-left:0}
.hero-description{font-size:13px}
.theme-grid{grid-template-columns:repeat(3,1fr);gap:15px}
.theme-card{padding-bottom:15px}
.theme-picture{aspect-ratio:1.75}
.theme-picture canvas{height:100%;width:100%;object-fit:cover}
.theme-card h3{font-size:16px}
.theme-card p{font-size:12px}
.colors{gap:0}
.swatch{width:38px}
.widths{padding-left:7px}
}

@media(max-width:700px){.shell{padding:0 20px}
.topbar{height:84px;gap:10px}
.brand{gap:8px}
.brand img{width:37px;height:37px}
.brand-name{font-size:20px;letter-spacing:1px}
.brand-name small{font-size:8px;letter-spacing:1.5px}
.navigation{gap:5px}
.navigation .nav-label{display:none}
.navigation button{padding:0 11px;min-height:44px;border-radius:13px}
.hero{grid-template-columns:1fr;padding-top:17px;gap:5px;padding-bottom:22px}
.hero-copy{padding:0 5px}
.eyebrow{font-size:10px}
.hero h1{font-size:41px;line-height:1.4;margin:16px 0 11px}
.hero-description{font-size:13px;line-height:1.85}
.hero-actions{margin-top:20px;gap:13px}
.hero-actions .primary{min-height:52px;padding:0 23px}
.hero-note{margin-top:18px;font-size:10px}
.hero-art{width:88%;max-width:460px;justify-self:center;margin-top:7px}
.art-label{font-size:10px;padding:7px 14px;bottom:7px}
.section-heading{margin-bottom:16px}
.section-heading h2{font-size:20px;letter-spacing:0}
.section-heading p{font-size:11px}
.theme-grid{grid-template-columns:repeat(2,1fr);gap:12px}
.theme-picture{aspect-ratio:1.34}
.theme-card{padding:9px 9px 14px;border-radius:18px}
.theme-card h3{font-size:15px;margin-top:12px}
.theme-card p{font-size:10px}
.theme-card .tag{font-size:8px;top:15px;left:14px}
.recent-section{margin-top:25px}
.recent-empty{padding:21px 14px;gap:14px}
.recent-empty p{font-size:12px}
.footer{font-size:10px;padding:26px 0}
.gallery-grid{grid-template-columns:repeat(2,1fr);gap:12px}
.work-card{padding:8px;border-radius:17px}
.work-info{padding:12px 3px 7px}
.work-info h3{font-size:13px}
.work-info p{font-size:10px}
.work-actions button{font-size:11px}
.work-actions svg{width:14px}
.page-title{margin:22px 0}
.page-title h1{font-size:27px}
.page-title p{font-size:12px}
.page-title .primary{min-height:46px;font-size:13px;padding:0 15px}
.colors{width:100%;display:grid;grid-template-columns:repeat(6,1fr);justify-items:center;gap:0 2px}
.swatch{width:45px;height:44px}
.swatch:before{width:30px;height:30px}
.widths{border-left:0;border-top:1px solid var(--line);padding-left:0;padding-top:3px;width:100%;justify-content:center;gap:15px}
.width-button{height:40px;width:48px}
.settings-card{padding:22px 19px}
.settings-card .options{gap:8px}
.option{padding:14px 10px}
.option strong{font-size:13px}
.option small{font-size:10px}
.settings-card h2{font-size:16px}
.modal{padding:30px 24px;border-radius:25px}
.modal h2{font-size:22px}
.modal p{font-size:12px}
.modal-symbol{margin-bottom:17px}
.compact-work-grid{grid-template-columns:repeat(2,1fr)}
.compact-work-grid .work-card:nth-child(3){display:none}
}

@media(max-width:370px){.shell{padding:0 15px}
.hero h1{font-size:36px}
.navigation button{padding:0 9px}
.brand-name{font-size:18px}
}

@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}
}

@media(max-width:700px){.swatch{width:48px;height:48px}
.width-button{min-height:48px}
}

@media(max-width:340px){.colors{gap:0}
.gallery-grid{grid-template-columns:1fr}
}

/* v1.1: child-first surface. Secondary choices live in a single toolbox. */
button{min-width:48px;min-height:48px}
button img{pointer-events:none}
.child-home{max-width:1120px}
.child-home .topbar{height:90px}
.brand-name small{letter-spacing:2px;font-size:10px}
.welcome{position:relative;display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#EDF2E7;border-radius:36px;padding:22px 36px;overflow:hidden;margin:6px 0 28px}
.welcome-kicker{font-size:15px;color:#7E967B;letter-spacing:3px}
.welcome h1{font-size:34px;line-height:1.5;margin:10px 0 20px;letter-spacing:2px}
.welcome-art canvas{width:100%;height:auto;display:block}
.start-big.primary{font-size:21px;min-height:80px;padding:0 25px;border-radius:23px;gap:16px}
.start-big img{width:65px;height:65px;transform:rotate(-10deg)}
.welcome-note{color:#85987A;font-size:13px;margin:16px 0 0 15px}
.fresh-start{display:flex!important;margin-top:8px}
.child-home .theme-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.theme-picture img{width:100%;height:100%;aspect-ratio:4/3;object-fit:contain;display:block;mix-blend-mode:multiply}
.child-home .theme-card{padding:10px;border-radius:25px}
.child-home .theme-picture{aspect-ratio:4/3;border-radius:18px}
.child-home .theme-card h3{font-size:17px;text-align:center;margin:12px 0 6px}
.child-home .section-heading h2{font-size:21px}
.child-home .recent-section{margin-top:28px}
.child-home .recent-empty{width:100%;display:flex;align-items:center;justify-content:center;padding:16px;gap:22px;min-height:98px}
.recent-empty img{width:65px;height:65px}
.child-home .recent-empty p{font-size:15px}
.child-home .footer{padding:22px 0 28px}
.paper-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:23px}
.paper-picker .theme-card{padding:7px 7px 12px;border-radius:17px}
.paper-picker h3{font-size:13px;text-align:center;margin:8px 0 0}
.paper-picker .theme-picture{aspect-ratio:4/3}
.modal:has(.paper-picker){max-width:620px}
.modal h2{padding:8px 18px 0}
.child-controls{max-width:780px;width:100%;margin:0 auto}
.swatch.selected{outline-width:3px}
.family-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin-top:9px}
.family-tabs button{display:flex;align-items:center;justify-content:center;gap:8px;color:#7C9173;border-radius:14px;font-size:13px;min-height:48px}
.family-tabs img{width:28px;height:28px}
.family-tabs button.selected{background:#E7EEDC;color:#4C6C41}
.box-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:25px 0 18px}
.box-actions button{background:#EDF2E8;min-height:60px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:15px;font-size:14px}
.extra-tools{border-top:1px solid var(--line);padding-top:7px}
.extra-tools h3{font-size:13px;color:#86967B;margin:18px 0 10px;font-weight:500}
.brush-options{display:flex;gap:8px}
.brush-options button{flex:1;border:1px solid var(--line);border-radius:13px;display:flex;gap:8px;align-items:center;justify-content:center;font-size:13px}
.brush-options button.selected,.width-button.selected{background:#E8F0E1}
.extra-tools .colors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0;justify-items:center}
.extra-tools .swatch{position:relative;width:48px;height:48px}
.extra-tools .widths{border:0;justify-content:center;gap:18px;padding:0}
.extra-tools .width-button{min-width:54px;min-height:48px}

@media(min-width:701px) and (min-height:800px){}

@media(max-width:700px){.child-home.shell{padding:0 18px}
.child-home .topbar{height:79px}
.child-home .brand-name{font-size:20px}
.child-home .brand-name small{font-size:8px;letter-spacing:1px}
.child-home .navigation{gap:5px}
.child-home .navigation button{min-height:48px;padding:0;width:48px}
.welcome{padding:21px 20px 15px;border-radius:27px;display:block;min-height:219px;margin:0 0 23px}
.welcome-copy{position:relative;z-index:1}
.welcome-kicker{font-size:12px;letter-spacing:2px}
.welcome h1{font-size:25px;margin:8px 0 16px;letter-spacing:1px}
.welcome-art{position:absolute;right:-22px;bottom:-4px;width:180px;opacity:.8;transform:rotate(8deg);pointer-events:none}
.start-big.primary{min-height:65px;font-size:19px;padding:0 17px;gap:6px;border-radius:20px;box-shadow:0 4px 0 #D37B6233}
.start-big img{width:48px;height:48px}
.start-big svg{width:19px;margin-left:5px}
.welcome-note{font-size:11px;margin:14px 0 0 9px}
.fresh-start{font-size:12px!important;margin-top:5px;min-height:48px}
.child-home .section-heading{margin:0 0 11px;gap:5px}
.child-home .section-heading h2{font-size:18px}
.child-home .section-heading .link{font-size:12px}
.child-home .theme-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.child-home .theme-card{padding:8px;border-radius:21px}
.child-home .theme-picture{aspect-ratio:1.65;border-radius:15px}
.child-home .theme-card h3{font-size:15px;margin:9px 0 5px}
.child-home .recent-section{margin-top:21px}
.child-home .recent-empty{min-height:84px;padding:11px;gap:12px}
.recent-empty img{width:52px;height:52px}
.child-home .recent-empty p{font-size:12px}
.family-tabs{gap:2px;margin-top:8px}
.family-tabs button{font-size:11px;gap:3px;padding:0}
.family-tabs img{width:23px;height:23px}
.modal{padding:28px 18px}
.modal h2{font-size:21px}
.paper-picker{gap:10px}
.box-actions button{font-size:13px;min-height:56px}
.extra-tools .swatch{width:48px}
.modal:has(.extra-tools){padding-left:10px;padding-right:10px}
}

@media(max-width:340px){.child-home.shell{padding:0 12px}
.child-home .brand-name{font-size:17px}
.child-home .brand-name small{font-size:7px}
.child-home .brand img{width:32px;height:32px}
.child-home .navigation{gap:3px}
.child-home .brand{gap:6px}
.welcome{padding:20px 16px}
.welcome h1{font-size:23px}
.welcome-art{width:135px;right:-18px;bottom:0}
.modal{padding-left:10px;padding-right:10px}
.overlay{padding:12px}
}


.swatch[data-id="#FFFFFF"].selected{outline-color:#A9B59F}
.swatch[data-id="#FFFFFF"].selected:after{border-color:#607055}


body[data-page="studio"]{overflow:hidden}
.more-stickers svg{width:22px;height:22px}
.sticker-library .family-tabs{margin:20px 0 14px}
.sticker-library .family-tabs button{font-size:12px;gap:4px}
.sticker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sticker-grid button{padding:12px 3px;background:#F5F6ED;border:2px solid transparent;border-radius:20px;display:flex;flex-direction:column;align-items:center;font-size:12px;gap:4px}
.sticker-grid button.selected{border-color:#A9BE94;background:#EFF4E7}
.sticker-grid img{width:70px;height:70px}
.rest-art{line-height:1;margin:0 auto 15px}
.rest-art img{width:100%;max-width:290px;height:auto;display:block;margin:auto}
.swatch.selected:after{background:url('/miniprogram/assets/icon-check-white.png') center/contain no-repeat;border:0;transform:none;width:19px;height:19px}
.swatch[data-id="#FFFFFF"].selected:after{background-image:url('/miniprogram/assets/icon-check.png')}

@media(max-height:430px) and (min-width:500px){}


.paper-shelf{min-width:0}
.scroll-hint{font-size:12px;color:#8A9E80;margin-left:auto;white-space:nowrap}
.paper-next{width:48px;height:48px;flex-shrink:0}
.paper-carousel{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scroll-padding:2px;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;touch-action:pan-x pan-y;padding:3px 2px 15px;scrollbar-width:thin;scrollbar-color:#C2D1B3 transparent}
.child-home .paper-carousel .theme-card{flex:0 0 194px;scroll-snap-align:start}
.child-home .paper-carousel .theme-picture{aspect-ratio:4/3}
.child-home .paper-carousel h3{font-size:15px}
.child-home .paper-carousel .theme-picture img{pointer-events:none;-webkit-user-drag:none}
.child-home .section-heading{gap:9px}

.all-colors h3{font-size:13px;color:#86967B;margin:18px 0 10px}
.all-colors .colors{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));justify-items:center}
.all-colors .swatch{position:relative;width:48px;height:48px}
.modal:has(.all-colors){padding-left:10px;padding-right:10px}
.modal:has(.sticker-library){height:min(760px,calc(100dvh - 32px));max-height:calc(100dvh - 32px);padding:20px 14px 8px;display:flex;overflow:hidden;max-width:540px}
.sticker-library{width:100%;display:flex;flex-direction:column;min-height:0;text-align:center}
.sticker-library h2{margin-top:6px;padding-right:35px}
.library-hint{font-size:12px!important;margin:6px 0!important;color:#8A9C80}
.sticker-library .family-tabs{flex-shrink:0;margin:8px 0 12px;gap:2px}
.sticker-library .family-tabs button{gap:3px;padding:0}
.sticker-library .family-tabs img{width:23px;height:23px}
.sticker-scroll{flex:1;min-height:0;position:relative;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#D5DFC9 transparent;padding:0 4px 20px}
.sticker-section{text-align:left;padding-top:8px}
.sticker-section h3{font-size:13px;letter-spacing:2px;color:#849779;font-weight:500;padding:7px 5px;margin:0 0 8px}
.sticker-grid{gap:9px;margin-bottom:20px}
.sticker-grid button{min-width:48px;padding:10px 2px;border-radius:18px;contain:layout paint}
.sticker-grid img{width:64px;height:64px}
.modal .close{z-index:2;min-width:48px;min-height:48px}

@media(max-width:700px){.child-home .paper-carousel .theme-card{flex-basis:154px}
.child-home .paper-carousel h3{font-size:14px}
.child-home .section-heading h2{font-size:17px}
.scroll-hint{font-size:11px}
.paper-next{display:none}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}
}


/* A clear new drawing entry, separate from the saved draft. */
.welcome-copy .welcome-note{margin:12px 0 18px;line-height:1.7;color:#81957E;font-size:13px}
.continue-card{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#EEF2E7;border:1px solid #E0E7D7;border-radius:22px;padding:10px 18px;margin:14px 0 26px}
.continue-title,.continue-card h2{font-size:15px;font-weight:600;color:#526F50;margin:0}
.continue-card .draft-caption{display:block;font-size:12px;color:#87967D;margin:7px 0 0;max-width:240px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.resume-art{display:flex;align-items:center;justify-content:center;flex:0 0 64px;width:64px;height:64px;border:0;border-radius:18px;padding:0;background:#DFEADB}
.resume-art img{width:56px;height:56px}

/* v2.3 design system: restrained type, regular spacing and centered labels. */
:root{--space-control:12px;--type-title:28px;--type-heading:20px;--type-body:15px;--type-caption:13px}
button{font-size:var(--type-body);line-height:1.35;text-align:center}.primary,.secondary,.quiet,.danger,.link{gap:var(--space-control);align-items:center;justify-content:center;text-align:center}
h1,.page-title h1{font-size:var(--type-title);line-height:1.25;letter-spacing:0}h2,.settings-card h2{font-size:var(--type-heading);line-height:1.35;letter-spacing:0}p,.settings-card p,.modal p{font-size:var(--type-body);line-height:1.65}.small-caption,.footer,.brand-name small{font-size:var(--type-caption);line-height:1.5}
.options{gap:10px}.option{padding:0 14px;min-height:52px;display:flex;align-items:center;justify-content:center}.option strong{font-size:15px;font-weight:600}
.unlock-price{display:flex;align-items:center;justify-content:center;gap:12px;margin:10px 0 18px;color:#425F4D;font-size:16px;font-weight:600;line-height:1.35}.unlock-price span{color:#607466}.unlock-price strong{font-size:26px;font-weight:700;color:#C96852}.unlock-price small{font-size:inherit;margin:0}.unlock-benefits{font-size:14px;line-height:1.6}.redeem-box label{font-size:14px}.unlock-links .link{font-size:13px;min-height:44px;padding:0 10px}
.child-home .start-big .app-icon{width:48px;height:48px;margin:0}.resume-art .app-icon{width:34px;height:34px}.paper-picker-link .app-icon,.section-heading>.link .app-icon{width:28px;height:28px}.child-home .recent-empty .app-icon{width:42px;height:42px}
