:root{--ink:#1f2a44;--ink-soft:#4a5578;--ground:#f3f6ff;--surface:#fff;--line:#dce3f5;--track:#e1e7f7;--orange:#ff9f1c;--orange-soft:#ffe9c7;--yellow:#ffd23f;--green:#7bd389;--pink-soft:#ffdde8;--red:#ff5a5f;--soft:#eef2ff;--radius:28px;--font:"Baloo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;font-family:var(--font);color:var(--ink);background:var(--ground);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent}*{box-sizing:border-box}body{background:var(--ground);min-height:100dvh;margin:0}h1,h2,p{margin:0}button{font:inherit;color:inherit}a{color:inherit;text-decoration:none}:focus-visible{outline-offset:3px;outline:4px solid #3a6ff7}.shell{flex-direction:column;width:100%;max-width:560px;min-height:100dvh;margin:0 auto;display:flex}.shell__main{flex-direction:column;flex:1;gap:18px;padding:24px 20px 120px;display:flex}.tabbar{width:100%;max-width:560px;padding:10px 16px calc(14px + env(safe-area-inset-bottom));background:var(--surface);z-index:5;border-radius:32px 32px 0 0;justify-content:space-around;gap:8px;display:flex;position:fixed;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -4px #e4e9f7}.tab{width:104px;height:66px;color:var(--ink-soft);cursor:pointer;background:0 0;border:none;border-radius:22px;flex-direction:column;justify-content:center;align-items:center;font-size:15px;font-weight:700;display:flex}.tab--active{background:var(--orange-soft);color:var(--ink);font-weight:800}.tab:disabled{opacity:.5;cursor:default}.tabbar__brand{display:none}@media (width>=768px){.shell--tabs,.shell--tabs .tabbar{max-width:880px}.shell--tabs .shell__main{padding:32px 32px 130px}.shell--tabs .chips{margin:0 -32px;padding:2px 32px 6px}}@media (width>=1024px){.shell--tabs{grid-template-columns:232px minmax(0,1fr);grid-template-areas:"nav main";align-items:start;column-gap:32px;max-width:1320px;padding:24px 32px;display:grid}.shell--tabs .shell__main{grid-area:main;gap:24px;padding:12px 0 48px}.shell--tabs .tabbar{max-width:none;box-shadow:0 6px 0 var(--line);border-radius:32px;flex-direction:column;grid-area:nav;justify-content:flex-start;gap:6px;padding:18px 14px;position:sticky;top:24px;bottom:auto;left:auto;transform:none}.tabbar__brand{border-bottom:3px solid var(--soft);align-items:center;gap:10px;margin-bottom:6px;padding:4px 10px 18px;font-size:26px;font-weight:800;display:flex}.shell--tabs .tab{flex-direction:row;justify-content:flex-start;gap:12px;width:100%;height:58px;padding:0 16px;font-size:18px}.shell--tabs .chips{flex-wrap:wrap;margin:0;padding:0;overflow:visible}.hello__logo,.hello__avatar{width:64px;height:64px}.hello__small{font-size:18px}.hello__title{font-size:36px}.state .btn--big{width:auto;min-width:280px;padding:0 32px}}@media (hover:hover){.tab:not(:disabled):not(.tab--active):hover{background:var(--soft)}.chip:not(.chip--active):hover{border-color:var(--line)}.card:hover{transform:translateY(-3px)}.card:active{transform:translateY(3px)scale(.98)}.iconbtn:not(:disabled):hover,.tool:not(:disabled):not(.tool--fill):not(.tool--erase):hover{background:var(--soft)}.swatch:not(.swatch--on):hover{transform:scale(1.08)}}.hello{align-items:center;gap:12px;display:flex}.hello__avatar{background:var(--yellow);border:3px solid var(--ink);border-radius:50%;flex:none;place-items:center;width:56px;height:56px;display:grid}.hello__logo{flex:none;width:56px;height:56px}.hello__small{color:var(--ink-soft);font-size:16px;font-weight:600;line-height:1.1}.hello__title{font-size:28px;font-weight:800;line-height:1.1}.chips{scrollbar-width:none;gap:10px;margin:0 -20px;padding:2px 20px 6px;display:flex;overflow-x:auto}.chip{background:var(--surface);height:50px;box-shadow:0 3px 0 var(--line);cursor:pointer;border:3px solid #0000;border-radius:999px;flex:none;align-items:center;gap:6px;padding:0 18px;font-size:17px;font-weight:700;display:flex}.chip--active{background:var(--orange);border-color:var(--ink);box-shadow:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}@media (width>=520px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=768px){.grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}@media (width>=1024px){.grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:22px}.card{gap:8px;min-height:220px;padding:16px}.card__art:not(.card__art--full){width:148px;height:148px}.card__title{font-size:20px}}.card{border-radius:var(--radius);flex-direction:column;justify-content:center;align-items:center;gap:4px;height:100%;min-height:164px;padding:12px;transition:transform .12s;display:flex;position:relative;box-shadow:0 5px #1f2a4424}.card:active{transform:translateY(3px)scale(.98)}.card--white{background:var(--surface)}.card__art{width:104px;height:104px}.card__art--full{aspect-ratio:1;width:100%;height:auto}.card__title{font-size:18px;font-weight:800;line-height:1}.badge{background:var(--red);color:#fff;border-radius:999px;padding:2px 10px;font-size:13px;font-weight:800;position:absolute;top:10px;right:10px}.badge--done{background:var(--green);color:var(--ink)}.badge--stars{background:var(--surface);padding:2px 6px;display:flex}.artcard{position:relative}.artcard__delete{cursor:pointer;background:#ffffffeb;border:none;border-radius:50%;place-items:center;width:44px;height:44px;display:grid;position:absolute;top:8px;left:8px}.btn{border:3px solid var(--ink);height:56px;box-shadow:0 4px 0 var(--ink);cursor:pointer;border-radius:20px;justify-content:center;align-items:center;gap:6px;padding:0 16px;font-size:19px;font-weight:800;display:inline-flex}.btn:active:not(:disabled){box-shadow:0 1px 0 var(--ink);transform:translateY(3px)}.btn:disabled{opacity:.45;cursor:default}.btn--green{background:var(--green)}.btn--yellow{background:var(--yellow)}.btn--soft{background:var(--soft);box-shadow:none;border-color:#0000}.btn--plain{box-shadow:none;color:var(--ink-soft);background:0 0;border-color:#0000;font-size:17px}.btn--big{width:100%;height:60px}.iconbtn{background:var(--surface);width:56px;height:56px;box-shadow:0 4px 0 var(--line);cursor:pointer;border:none;border-radius:20px;flex:none;place-items:center;display:grid}.iconbtn:disabled,.tool:disabled{opacity:.45;cursor:default}.color{padding:18px 16px calc(20px + env(safe-area-inset-bottom));gap:14px}.color__top{align-items:center;gap:10px;display:flex}.color__title{text-align:center;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:24px;font-weight:800;overflow:hidden}.color__body,.color__tools{flex-direction:column;gap:14px;display:flex}.canvas{background:var(--surface);box-shadow:0 6px 0 var(--line);border-radius:32px;padding:12px}.canvas svg{touch-action:manipulation;-webkit-user-select:none;user-select:none;border-radius:22px;width:100%;height:auto;display:block}.region{transition:fill .25s}.region--tappable{cursor:var(--tool-cursor,pointer)}.progress{align-items:center;gap:10px;padding:0 6px;display:flex}.progress__track{background:var(--track);border-radius:999px;flex:1;height:14px;overflow:hidden}.progress__bar{background:var(--orange);border-radius:999px;height:100%;transition:width .3s}.progress__text{text-align:right;min-width:48px;font-size:16px;font-weight:800}.tools{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.tool{background:var(--surface);height:64px;box-shadow:0 4px 0 var(--line);cursor:pointer;border:3px solid #0000;border-radius:22px;justify-content:center;align-items:center;gap:6px;font-size:17px;font-weight:800;display:flex}.tool--fill{background:var(--orange-soft);border-color:var(--ink);box-shadow:none}.tool--erase{background:var(--pink-soft);border-color:var(--ink);box-shadow:none}.palette{background:var(--surface);border-radius:var(--radius);box-shadow:0 6px 0 var(--line);grid-template-columns:repeat(6,minmax(0,1fr));justify-items:center;gap:12px 6px;padding:14px 12px;display:grid}.swatch{border:3px solid var(--ink);cursor:pointer;border-radius:50%;width:48px;height:48px;padding:0;transition:transform .15s,box-shadow .15s;box-shadow:0 3px #1f2a4440}.swatch--on{box-shadow:0 0 0 4px #fff, 0 0 0 7px var(--ink);transform:scale(1.12)}.savestate{text-align:center;min-height:20px;color:var(--ink-soft);font-size:14px;font-weight:600}@media (width>=900px){.shell.color{max-width:1200px;padding:24px 32px}.color__body{flex-direction:row;justify-content:center;align-items:flex-start;gap:32px}.canvas{flex:1 1 0;max-width:min(760px,100dvh - 130px)}.color__tools{flex:0 0 380px}}.modal{z-index:10;background:#1f2a4499;place-items:center;padding:24px;animation:.2s fade;display:grid;position:fixed;inset:0}.modal__card{background:var(--surface);text-align:center;width:100%;max-width:380px;box-shadow:0 8px 0 var(--ink);border-radius:36px;flex-direction:column;align-items:center;gap:10px;max-height:100%;padding:30px 24px 20px;animation:.35s cubic-bezier(.2,1.4,.4,1) pop;display:flex;overflow-y:auto}.modal__stars{align-items:flex-end;gap:4px;display:flex}.modal__title{color:#e5383b;font-size:44px;font-weight:800;line-height:1}.modal__text{color:var(--ink-soft);font-size:19px;font-weight:600}.modal__actions{flex-direction:column;gap:10px;width:100%;margin-top:10px;display:flex}.suggest{width:100%;margin-top:6px}.suggest__title{margin:0 0 8px;font-size:17px;font-weight:800}.suggest__list{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.suggest__card{aspect-ratio:1;border-radius:20px;place-items:center;padding:8px;transition:transform .15s;display:grid;box-shadow:0 4px #1f2a4426}.suggest__card:active{transform:translateY(2px)scale(.97)}.suggest__art{width:100%;height:100%}.state{text-align:center;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:48px 20px;font-size:19px;font-weight:700;display:flex}.spinner{border:6px solid var(--track);border-top-color:var(--orange);border-radius:50%;width:48px;height:48px;animation:.8s linear infinite spin}.spinner--small{border-width:4px;width:28px;height:28px}.more{justify-content:center;min-height:1px;padding:20px 0 8px;display:flex}.more__status{align-items:center;gap:12px;font-weight:700;display:flex}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade{0%{opacity:0}}@keyframes pop{0%{opacity:0;transform:scale(.7)}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition:none!important;animation:none!important}}.legal-links{color:var(--ink-soft);flex-wrap:wrap;justify-content:center;gap:8px;margin-top:auto;padding-top:24px;font-size:15px;font-weight:600;display:flex}.legal-links a:hover{text-decoration:underline}.shell--legal{max-width:760px}.shell--legal .shell__main{padding:24px 20px 48px}.legal__back{background:var(--surface);min-height:48px;box-shadow:0 4px 0 var(--line);border-radius:999px;align-self:flex-start;align-items:center;gap:8px;padding:0 18px;font-size:17px;font-weight:700;display:inline-flex}.legal__updated{color:var(--ink-soft);font-size:15px;font-weight:600}.legal__body{flex-direction:column;gap:16px;font-size:17px;line-height:1.6;display:flex}.legal__body section{border-radius:var(--radius);background:var(--surface);flex-direction:column;gap:8px;padding:20px 22px;display:flex}.legal__body .legal__summary{background:var(--orange-soft)}.legal__body h2{font-size:22px;font-weight:800;line-height:1.2}.legal__body h3{margin:6px 0 0;font-size:18px;font-weight:700;line-height:1.3}.legal__body ul{flex-direction:column;gap:4px;margin:0;padding-left:22px;display:flex}.legal__body a{color:#2f5fd9;overflow-wrap:anywhere;text-decoration:underline}.legal__body code{background:var(--soft);border-radius:6px;padding:1px 6px;font-size:.9em}@media (width>=768px){.shell--legal .shell__main{padding:40px 32px 64px}.legal__body section{padding:24px 28px}}
