@font-face{font-family:Pretendard;src:url(../fonts/pretendard-v1.3.9.woff2) format("woff2");font-weight:45 920;font-display:swap}:root{font-family:Pretendard,Malgun Gothic,system-ui,sans-serif;color:#16213e;background:#f7f8fc;font-synthesis:none;--ink: #16213e;--muted: #515b73;--purple: #5c47cf;--feature: #6c5ce7;--purple-dark: #4732b2;--mint: #51d5c4;--line: #e3e4ef;--paper: #fff;--radius: 24px;--shadow: 0 12px 34px #2924590b;font-size:16px}*{box-sizing:border-box}body{margin:0;min-width:0;font-size:1.125rem;line-height:1.55}button,input,textarea,select{font:inherit}button,a,input,textarea{border-radius:10px}button{color:inherit;cursor:pointer}a{color:inherit}button:disabled{cursor:default;color:#657086;background:#f4f4f9;border-color:#edf0f5}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #5944cc;outline-offset:3px}button:focus:not(:focus-visible),h1:focus:not(:focus-visible){outline:none}a,button{-webkit-tap-highlight-color:transparent}button svg,span>svg{flex:none;vertical-align:middle}button span{min-width:0}h1,h2,h3,p{margin:0}h1,h2,h3{line-height:1.16;word-break:keep-all;letter-spacing:-.036em}img{display:block;max-width:100%}.avatar:not([src]):not([data-art-error]){visibility:hidden}.muted{color:var(--muted)}.sr-only,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link:focus{position:fixed;z-index:12;left:1rem;top:1rem;padding:.65rem 1rem;background:#fff}.landing,.editor-page,.header-inner{width:min(100% - 84px,1296px);margin-inline:auto}.site-header{height:74px;background:#fff;border-bottom:1px solid #eaeaf4}.header-inner{height:100%;display:flex;align-items:center;justify-content:space-between;gap:12px}.brand{display:flex;align-items:center;gap:11px;padding:0;border:0;background:none;min-height:52px;font-weight:900;font-size:1.11rem;letter-spacing:.035em;white-space:nowrap}.brand-icon{width:41px;height:41px;border-radius:13px;display:grid;place-items:center;background:var(--feature);color:#fff;box-shadow:0 5px 12px #6c5ce739}.brand-icon svg,.art-spark svg{fill:currentColor;stroke:none}.brand-secondary{color:var(--purple)}.header-actions{display:flex;gap:9px;align-items:center}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;vertical-align:middle;border:1px solid transparent;min-height:52px;padding:9px 17px;border-radius:13px;text-decoration:none;font-weight:750;line-height:1.24;white-space:normal;word-break:keep-all;text-align:center;transition:background .17s,border-color .17s,box-shadow .17s,transform .17s}.button:not(:disabled):active,.mode-card:active,.tile:active{transform:translateY(1px)}.primary{background:var(--purple);color:#fff;border-color:var(--purple);box-shadow:0 6px 15px #5c47cf30;font-size:1.15rem}.primary:not(:disabled):hover{background:var(--purple-dark);border-color:var(--purple-dark)}.secondary{background:#fff;border-color:#dcdaf0;color:var(--purple-dark)}.secondary:not(:disabled):hover,.ghost:not(:disabled):hover{background:#f1edff;border-color:#e4dcfe}.ghost{background:transparent;color:#403663}.small{font-size:1rem;padding-inline:12px}.header-tool{font-size:1rem;color:#453e60;background:transparent}.header-tool:hover{background:#f4f0ff}.settings-tool,.sound-tool{border:1px solid #eae7f6}.text-button{background:transparent;border:0;color:var(--purple-dark);font-weight:760;padding:8px 12px;min-height:52px}.landing{padding:25px 0 18px}.hero{min-height:500px;position:relative;isolation:isolate;overflow:hidden;display:grid;grid-template-columns:1fr 1.12fr;align-items:center;border:1px solid #31294f;border-radius:32px;background:radial-gradient(ellipse at 83% 35%,#9473bf50,transparent 53%),radial-gradient(ellipse at 70% 88%,#337b7544,transparent 53%),linear-gradient(128deg,#151428 14%,#25213e 65%,#3d315a)}.hero-copy{padding:44px 0 44px clamp(33px,5vw,78px);position:relative;z-index:2}.eyebrow{font-size:.93rem;font-weight:820;letter-spacing:.045em;color:#543cab;display:flex;align-items:center;gap:8px;margin-bottom:12px}.eyebrow>span{width:8px;height:8px;background:#765fee;border-radius:50%;box-shadow:0 0 0 4px #d9cdfb;display:inline-block;margin-left:4px;flex:none}.hero .eyebrow{color:#e3d5ff}.hero .eyebrow>span{background:#f5b1a5;box-shadow:0 0 0 4px #e6a5a83b}.hero h1{font-weight:925;font-size:clamp(4.2rem,7.65vw,7.5rem);line-height:.84;letter-spacing:-.068em;margin:22px 0;color:#fff9f2}.hero h1>span{display:block}.hero h1>span:nth-child(2){color:#d4b9ff}.title-dot{color:#ed8184}.hero h2{color:#fff7f2;font-size:clamp(1.44rem,2.45vw,2.36rem);font-weight:850}.slogan{color:#ede4f7;font-size:clamp(1.04rem,1.46vw,1.28rem);word-break:keep-all;margin-top:10px;font-weight:550}.hero-link{margin-top:26px;padding-inline:20px;background:#6f51d4;border-color:#9774f661}.hero-art{position:relative;height:100%;min-height:480px;isolation:isolate}.hero-orbit{position:absolute;top:8%;left:15%;width:72%;height:82%;border-radius:50%;border:1px solid #b999f341;background:radial-gradient(ellipse,#c5abf024 14%,#be93ff1d 56%,transparent 74%);transform:rotate(-11deg)}.hero-orbit:before,.hero-orbit:after{content:"";position:absolute;inset:8% -11%;border:1px solid #d8c3fe32;border-radius:50%;transform:rotate(28deg)}.hero-orbit:after{inset:17% -16%;transform:rotate(-12deg)}.hero-grid{position:absolute;inset:0;background-image:radial-gradient(#e0caff66 1px,transparent 1px);background-size:19px 19px;-webkit-mask-image:radial-gradient(ellipse at center,#000,transparent 70%);mask-image:radial-gradient(ellipse at center,#000,transparent 70%)}.hero-card{position:absolute;top:8.5%;width:42%;height:79%;border:1px solid #fff6;border-radius:28px;box-shadow:0 20px 50px #100b3275,inset 0 0 0 4px #ffffff18;display:grid;grid-template-rows:minmax(0,1fr);place-items:center}.hero-card:before{content:"";width:78%;height:69%;border:1px solid #fff5;border-radius:52% 52% 24% 24%;background:radial-gradient(ellipse at 50% 31%,#fff9,#ffffff16 74%);position:absolute;top:12%}.hero-card-m{left:10%;background:linear-gradient(160deg,#a6cfc7,#4c827e 78%,#436a76);transform:rotate(-8deg) translateY(4%)}.hero-card-f{left:47%;background:linear-gradient(155deg,#e6c7d9,#b48cac 72%,#8f688d);transform:rotate(8deg)}.hero-card img{position:relative;z-index:1;width:100%;height:96%;min-height:0;object-fit:contain;transform:rotate(6deg);filter:drop-shadow(0 11px 14px #1b163549)}.hero-card-f img{transform:rotate(-6deg) scale(1.02) translateY(0)}.hero-card:after{content:"";position:absolute;bottom:7%;left:15%;width:70%;height:13%;background:radial-gradient(ellipse,#33244951,transparent 70%);border-radius:50%}.art-spark,.art-dot{position:absolute;z-index:3;color:#e2caff}.art-spark-a{left:0;top:30%}.art-spark-b{right:3%;top:12%;color:#ffcbdc}.art-spark-c{right:5%;bottom:21%;color:#dcccfd}.art-dot{left:9%;bottom:14%;width:9px;height:9px;border-radius:50%;background:#fd9c9d}.modes{padding-top:25px;scroll-margin-top:14px}.section-heading{display:flex;align-items:baseline;gap:13px;margin:0 0 14px}.section-heading h2{font-size:1.6rem;font-weight:860}.section-heading>span{color:var(--muted);font-size:1rem}.mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:17px}.mode-card{width:100%;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:17px;background:#fff;border:1px solid #e2e5f2;border-radius:22px;text-align:left;padding:18px 22px;min-height:115px;box-shadow:var(--shadow);transition:border-color .18s,background .18s,box-shadow .18s,transform .18s}.mode-card:hover{border-color:#9986ee;box-shadow:0 12px 32px #40278415}.mode-sticker:hover{background:#f7fffc;border-color:#69bfb1}.mode-prompt:hover{background:#fcf9ff}.mode-icon{width:62px;height:62px;border-radius:18px;background:#e2f7f0;color:#17695f;display:grid;place-items:center}.mode-prompt .mode-icon{background:#eee7ff;color:#6449c3}.mode-copy{display:flex;flex-direction:column;gap:1px;word-break:keep-all}.mode-level{font-size:.85rem;font-weight:850;color:#17695f}.mode-prompt .mode-level{color:#6449c3}.mode-copy strong{font-size:1.35rem;line-height:1.22;font-weight:860;letter-spacing:-.04em}.mode-copy>span:last-child{font-size:.98rem;color:var(--muted)}.mode-open{border-radius:50%;display:grid;place-items:center;width:40px;height:40px;background:#f2fbf8;color:#227368}.mode-prompt .mode-open{background:#f8f3ff;color:#6449c3}.landing-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--muted);font-size:.94rem;padding-top:9px}.landing-footer>span{display:flex;align-items:center;gap:8px}.editor-page{padding:27px 0 30px}.screen-head{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:20px}.screen-head h1{font-size:clamp(1.65rem,3.5vw,2.75rem);font-weight:880}.screen-head .eyebrow{margin-bottom:7px}.screen-controls{display:flex;flex-wrap:wrap;gap:9px}.panel,.preview-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.sticker-layout{display:grid;grid-template-columns:minmax(0,1.38fr) minmax(0,1fr);gap:19px;align-items:start}.picker{overflow:hidden;min-height:495px}.category-nav{display:grid;grid-template-columns:repeat(7,1fr);gap:5px;background:#faf9fd;border-bottom:1px solid var(--line);padding:10px}.category{color:#4f4669;background:transparent;border-radius:12px;padding:7px 2px;gap:5px;flex-direction:column;font-size:.88rem}.category[aria-pressed=true]{color:var(--purple-dark);background:#ebe4ff;border-color:#dcd0fb}.category:hover{background:#efeafa}.picker-content{padding:22px}.picker-content>h2{font-size:1.46rem;margin-bottom:5px}.picker-content>.muted{margin-bottom:14px;word-break:keep-all;font-size:1.02rem}.tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.tile{position:relative;background:#fff;border:2px solid #e8e6f0;border-radius:15px;min-width:0;padding:6px;display:flex;flex-direction:column;align-items:stretch;gap:4px;transition:border-color .17s,background .17s,transform .17s}.tile:hover{background:#fcf9ff;border-color:#ab96ee}.tile[aria-pressed=true]{background:#f2edff;border-color:#7257e2}.tile-art{min-height:85px;height:clamp(83px,10vw,146px);display:grid;place-items:center;border-radius:10px;overflow:hidden;background:linear-gradient(155deg,#f8f4ff,#ede7fb)}.tile-art .avatar{width:100%;height:100%;min-height:0;object-fit:contain;padding:5px}.tile-label{min-height:43px;display:grid;place-items:center;text-align:center;word-break:keep-all;line-height:1.2;color:#252043;font-weight:720;font-size:.96rem}.tile-check{position:absolute;top:8px;right:8px;width:24px;height:24px;display:grid;place-items:center;background:var(--purple);color:#fff;border-radius:50%;box-shadow:0 2px 4px #4b32ae36}.empty-accessory{display:grid;place-items:center;border:2px solid #aea1c5;color:#736486;border-radius:50%;width:49px;height:49px}.background-tile{width:100%;height:100%;display:grid;place-items:end center;border:1px solid #ddd7f1;border-radius:10px}.background-tile span{width:74%;height:25%;border-radius:50%;background:radial-gradient(ellipse,#7e719c40,transparent 70%);margin-bottom:13%}.color-picker{margin:16px 0 0;padding:0;border:0}.color-picker legend{font-weight:760;margin-bottom:8px}.color-picker>div{display:flex;gap:8px;flex-wrap:wrap}.color-choice{background:#fff;border:1px solid #ded9e8;padding:8px 11px;min-height:52px;font-weight:700;font-size:1rem;display:flex;align-items:center;gap:6px}.color-choice i{width:21px;height:21px;border-radius:50%}.color-choice[aria-pressed=true]{border:2px solid #7257e2;background:#f2edff;padding-inline:10px}.current-accessories{font-size:1rem;margin-top:12px;color:var(--purple-dark)}.editor-actions{display:flex;justify-content:space-between;gap:12px;margin-top:16px;padding:10px 13px}.history-actions,.finish-actions,.preview-actions{display:flex;gap:6px;flex-wrap:wrap}.preview-card{padding:11px;position:sticky;top:12px}.preview-top{display:flex;align-items:center;justify-content:space-between;padding:2px 6px 10px;gap:7px}.preview-top h2{display:flex;align-items:center;gap:7px;font-size:1.15rem}.preview-top h2 svg{color:#6d53cf}.live{display:inline-flex;align-items:center;gap:6px;background:#e4f7f0;color:#246353;border-radius:20px;padding:3px 9px;white-space:nowrap;font-weight:760;font-size:.85rem}.live i{width:7px;height:7px;border-radius:50%;background:#27826a}.preview-art{height:clamp(350px,49vh,525px);border-radius:17px;display:grid;place-items:center;position:relative;overflow:hidden}.preview-art:before{content:"";position:absolute;width:80%;height:86%;border:1px solid #ffffffba;border-radius:50% 50% 35% 35%;box-shadow:0 0 62px #fff6;pointer-events:none}.preview-motion{position:relative;width:100%;height:100%;min-width:0;min-height:0;isolation:isolate;transform-origin:50% 96%}.preview-motion>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center;pointer-events:none}.preview-motion>img:not([src]){visibility:hidden}.preview-motion .preview-eyes{opacity:0}.preview-motion .preview-previous{z-index:1}.preview-motion[data-moving]{animation:avatar-breath 4.8s ease-in-out infinite}.preview-motion[data-moving]:not([data-expression-transition]) .preview-eyes[src]{animation:avatar-blink 9.6s linear infinite}.preview-actions{justify-content:center;margin-top:4px}.preview-spark{position:absolute;top:15%;right:22%;color:#7d63cf;opacity:0;pointer-events:none}.changed .preview-spark{animation:twinkle .55s ease-out}.preview-spark svg{fill:#fff8;filter:drop-shadow(0 0 5px #fff)}.lesson-track{margin:0 0 14px;padding:10px;list-style:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:7px;border-radius:19px;border:1px solid var(--line);background:#fff}.lesson-track li{display:flex;align-items:center;justify-content:center;gap:8px;padding:7px;color:#56536a;font-size:1rem;font-weight:730;border-radius:12px;line-height:1.15;text-align:center;word-break:keep-all}.lesson-track li>span:first-child{display:grid;place-items:center;flex:none;width:28px;height:28px;border-radius:50%;background:#efedf6;color:#5b5275}.lesson-track [aria-current]{background:#eee8ff;color:#4b34ad}.lesson-track [aria-current]>span:first-child{background:var(--purple);color:#fff}.lesson-track .done{color:#17695d}.lesson-track .done>span:first-child{background:#ddf5e9;color:#14695b}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,340px);gap:18px;align-items:start}.chat-layout.hide-preview{grid-template-columns:1fr}.chat-layout .preview-card{grid-column:2;grid-row:1}.chat-panel{grid-column:1;grid-row:1;display:flex;flex-direction:column;min-height:550px;overflow:hidden}.chat-head{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:12px 18px}.chat-head h2{font-size:1.19rem}.chat-head p{color:#5e507d;font-size:.94rem;font-weight:730}.chat-mark,.chat-dot{display:grid;place-items:center;flex:none;width:43px;height:43px;background:#eee7ff;color:#5b42c5;border-radius:13px}.chat-dot{width:34px;height:34px;border-radius:11px}.chat-line.success .chat-dot{background:#e4f7ef;color:#1d6858}.chat-scroll{flex:1;min-height:240px;max-height:44vh;overflow:auto;padding:17px 18px;overscroll-behavior:contain}.chat-messages{display:flex;flex-direction:column;gap:12px}.chat-line{display:flex;gap:9px;align-items:flex-start}.chat-line.user{justify-content:flex-end}.bubble{max-width:min(91%,640px);background:#f5f1fd;color:#282143;border-radius:4px 17px 17px;padding:10px 14px;overflow-wrap:anywhere;white-space:pre-wrap;line-height:1.5}.user .bubble{background:#5c47cf;color:#fff;border-radius:17px 4px 17px 17px}.success .bubble{background:#eaf8f1;color:#214d43;font-weight:710}.message-avatar{width:min(140px,100%);height:150px;border-radius:12px;overflow:hidden;margin-top:8px;background:#f3edff}.message-avatar img{width:100%;height:100%;object-fit:contain}.chat-next{margin:12px 0 0 43px;display:flex;flex-wrap:wrap;gap:8px}.chat-input{border-top:1px solid var(--line);padding:12px 16px;display:grid;gap:8px}.example-label{font-size:.98rem;color:#554377;font-weight:820}.example-list{display:flex;flex-wrap:wrap;gap:5px}.example{background:#f2edff;color:#4d37aa;padding:7px 10px;font-size:.96rem;border:1px solid #e0d8fa;min-height:52px;text-align:left}.example:hover{background:#e6dcff}.chat-input textarea{padding:9px 12px;border:1px solid #cfc7e5;resize:vertical;min-height:65px;width:100%;color:var(--ink);background:#fff}.composer-actions{display:flex;justify-content:flex-end;gap:7px}.compact-preview .preview-art{height:clamp(330px,56vh,515px)}.result-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px;align-items:start}.result-image{padding:12px;display:grid;place-items:center;min-height:390px;background:linear-gradient(135deg,#f4edff,#fff)}.result-image img{height:min(66vh,640px);width:auto;object-fit:contain;border-radius:13px;box-shadow:0 4px 18px #30216e13}.result-loading{text-align:center;color:#5d4385;padding:24px}.result-controls{padding:26px}.result-mark{width:53px;height:53px;border-radius:15px;background:#eee7ff;color:var(--purple);display:grid;place-items:center;margin-bottom:9px}.result-controls h2{font-size:1.75rem}.result-controls>.muted{margin:7px 0 15px}.resolutions{display:grid;gap:6px;border:0;margin:0;padding:0;font-size:1.05rem}.resolutions legend{font-weight:820;margin-bottom:6px}.resolutions label{display:flex;align-items:center;gap:10px;min-height:52px;padding:8px 11px;border:1px solid #dfdaf0;border-radius:11px;font-weight:710;cursor:pointer}.resolutions label:has(:checked){background:#f1ebff;border-color:#8b72e6}.resolutions input,.settings-list input{accent-color:var(--purple);width:21px;height:21px}.resolutions label span{margin-left:auto;color:#524969;font-weight:600}.file-details{display:grid;gap:3px;margin:13px 0;font-size:1rem;color:#504564;overflow-wrap:anywhere}.file-details strong{color:#2d2446}.result-actions,.result-bottom{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px}.result-actions .primary{flex:1}.result-bottom{border-top:1px solid var(--line);padding-top:8px;margin-top:13px}.save-tip{color:#504564;font-size:.96rem;margin-top:8px;word-break:keep-all}dialog{border:0;padding:0;width:min(540px,100% - 26px);max-height:min(90dvh,760px);border-radius:23px;color:var(--ink);box-shadow:0 30px 100px #23164766;background:#fff;overflow:auto}dialog::backdrop{background:#21174791;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.large-dialog{width:min(780px,100% - 26px)}.dialog-content{padding:21px 25px 24px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.dialog-head h2{font-size:1.48rem;font-weight:850}.compact-button{font-size:.95rem;padding-inline:8px;min-width:64px}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:16px}.confirm-copy{word-break:keep-all}.form-stack{display:grid;gap:12px}.form-stack>label{display:grid;gap:5px;font-weight:780}.form-stack input{border:1px solid #cfc7e3;background:#fcfbff;color:var(--ink);padding:8px 11px;min-height:54px;min-width:0;width:100%;font-size:1.21rem}.form-hint{font-size:.96rem;color:var(--muted);font-weight:550}.inline-error{color:#a32d4d;font-weight:700;font-size:1rem}.inline-error:empty{display:none}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:7px}.guide-grid>div{border:1px solid var(--line);border-radius:15px;padding:12px;background:#faf8ff}.guide-grid h3{font-size:1.16rem;margin:7px 0 5px}.guide-grid p,.settings-list label span span{font-size:1rem;color:var(--muted);word-break:keep-all}.guide-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:15px;background:#eee6ff;color:var(--purple)}.settings-list{display:grid;gap:8px}.settings-list label{display:flex;align-items:center;justify-content:space-between;gap:10px;border-radius:14px;background:#f8f5ff;padding:10px 12px;min-height:52px;cursor:pointer}.settings-list label span{display:block}.settings-list label input{flex:none}.dialog-avatar{margin:12px auto 0;width:min(280px,85%);height:min(42vh,370px);display:grid;place-items:center;border-radius:17px;overflow:hidden;background:#eee7fb}.dialog-avatar img{height:100%;width:100%;min-height:0;object-fit:contain}.favorite-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-top:12px}.favorite-grid article{min-width:0;border:1px solid var(--line);border-radius:13px;overflow:hidden}.favorite-grid img{width:100%;height:145px;object-fit:contain;background:#f1ebff}.favorite-grid article>div{padding:6px;display:grid;gap:5px}.progress-dialog{width:min(590px,100% - 26px);border:0}.progress-card{padding:20px 25px;text-align:center;border:0}.progress-visual{width:100px;height:100px;position:relative;margin:0 auto 9px;display:grid;place-items:center;color:#fff}.progress-visual span{display:grid;place-items:center;width:72px;height:72px;border-radius:24px;background:linear-gradient(145deg,#a391fb,#6246d9);box-shadow:0 10px 19px #6350bd43;animation:softPulse 2.3s infinite}.progress-visual i{position:absolute;inset:2px;border-radius:50%;border:1px solid #c7b7f9;animation:softPulse 2.3s infinite}.progress-visual i:nth-child(2){inset:9px;animation-delay:.22s}.progress-card h1{font-size:1.6rem}.progress-stage{color:#514474;margin:5px 0 11px}.progress-meta{display:flex;justify-content:space-between;color:#5e469e;font-weight:790;font-size:1rem}.progress-card progress{width:100%;height:16px;accent-color:var(--purple);margin-bottom:8px}.terminal{overflow:hidden;text-align:left;background:#1a1933;border-radius:13px;margin:4px 0 10px;color:#e0e3ff;font-size:.84rem}.terminal>div{background:#282243;padding:7px 10px;display:flex;gap:5px;align-items:center}.terminal i{width:7px;height:7px;border-radius:50%;background:#fd919c}.terminal i:nth-child(2){background:#efc482}.terminal i:nth-child(3){background:#72cebd}.terminal span{margin-left:7px}.terminal pre{height:101px;padding:5px 10px;margin:0;overflow:auto;color:#a3edce;font:.84rem/1.35 Consolas,monospace;white-space:pre-wrap}.finish-checklist{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:5px 0 10px;padding:0;list-style:none;text-align:left;font-size:1rem}.finish-checklist li{background:#f4f0fb;border-radius:8px;padding:5px 9px;color:var(--muted)}.finish-checklist li svg{opacity:0}.finish-checklist .done{background:#e4f7ef;color:#246450}.finish-checklist .done svg{opacity:1}.toast{position:fixed;z-index:10;bottom:calc(14px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,10px);width:max-content;max-width:calc(100% - 20px);padding:10px 16px;text-align:center;border-radius:13px;color:#fff;background:#2a224b;box-shadow:0 5px 18px #1b143d40;font-size:1rem;opacity:0;pointer-events:none;transition:opacity .17s,transform .17s}.toast.visible{opacity:1;transform:translate(-50%)}.effects{position:fixed;z-index:11;inset:0;pointer-events:none;overflow:hidden}.confetti{position:absolute;left:50%;top:38%}.confetti i{position:absolute;width:10px;height:13px;border-radius:4px;background:var(--color);opacity:0;animation:burst 1.24s var(--delay) both}@keyframes burst{0%{opacity:1;transform:scale(.3)}45%{opacity:1;transform:translate(var(--x),var(--y)) rotate(var(--r))}to{opacity:0;transform:translate(var(--x),calc(var(--y) + 160px)) rotate(calc(var(--r) + 77deg))}}@keyframes avatar-breath{0%,to{transform:scale(1)}47%{transform:scale(1.007)}}@keyframes avatar-blink{0%,30.8%,33.4%,77.4%,80%,to{opacity:0}31.6%,32%,78.2%,78.6%{opacity:1}}@keyframes twinkle{0%,to{opacity:0;transform:scale(.4)}43%{opacity:1;transform:scale(1)}}@keyframes softPulse{0%,to{transform:scale(.96)}50%{transform:scale(1.06)}}.reduced *,.reduced *:before,.reduced *:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.reduced .changed .preview-spark{opacity:.78;animation:none!important}.reduced .preview-motion,.reduced .preview-motion .preview-eyes{animation:none!important}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}.changed .preview-spark{opacity:.78;animation:none!important}.preview-motion,.preview-motion .preview-eyes{animation:none!important}}@media(max-width:1100px){.landing,.editor-page,.header-inner{width:calc(100% - 48px)}.hero,.hero-art{min-height:440px}.chat-layout{grid-template-columns:minmax(0,1fr) minmax(0,270px)}.picker-content{padding:15px}.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:800px){.site-header{height:64px}.landing,.editor-page,.header-inner{width:calc(100% - 30px)}.landing{padding-top:16px}.hero{min-height:360px;border-radius:24px}.hero-art{min-height:365px}.hero-copy{padding:26px 0 26px 26px}.hero h1{font-size:clamp(3.1rem,8.6vw,5.1rem);margin:17px 0}.hero-card{border-radius:21px}.hero-card-m{left:8%;width:44%}.hero-card-f{left:46%;width:46%}.section-heading{align-items:flex-start;flex-direction:column;gap:3px}.mode-card{padding:11px 13px;gap:10px}.mode-icon{width:48px;height:48px;border-radius:14px}.mode-icon svg{width:25px;height:25px}.mode-open{display:none}.screen-head{align-items:flex-start}.header-actions{gap:4px}.header-tool{padding-inline:9px}.editor-actions{flex-wrap:wrap}.chat-layout{grid-template-columns:minmax(0,1fr) minmax(0,225px);gap:10px}.compact-preview .preview-art{height:365px}.lesson-track li{flex-direction:column;font-size:.89rem}.result-controls{padding:16px}}@media(max-width:640px){body{padding-bottom:env(safe-area-inset-bottom)}.site-header{height:61px}.landing,.editor-page,.header-inner{width:calc(100% - 24px)}.header-inner{gap:4px}.brand{gap:6px;font-size:.97rem;letter-spacing:.014em}.brand-icon{width:34px;height:34px;border-radius:10px}.brand-icon svg{width:20px}.header-tool{min-width:52px;padding:7px 4px;flex-direction:column;gap:3px;font-size:.74rem;white-space:nowrap}.header-tool svg{width:18px;height:18px}.header-actions .guide-tool,.header-actions .favorites-tool{display:none}.hero{grid-template-columns:1fr;min-height:0}.hero-copy{text-align:center;padding:19px 14px 0}.hero .eyebrow{justify-content:center;font-size:.82rem}.hero h1{display:flex;justify-content:center;gap:.15em;font-size:clamp(2.24rem,9vw,3.5rem);line-height:.99;margin:8px 0 11px;letter-spacing:-.073em}.hero h2{font-size:clamp(1.35rem,5.5vw,1.94rem)}.slogan{font-size:1rem;margin-top:5px}.hero-link{display:none}.hero-art{height:clamp(220px,70vw,310px);min-height:0}.hero-card{top:9%;height:76%;width:39%;border-radius:18px}.hero-card-m{left:13%}.hero-card-f{left:48%}.art-spark-a{left:5%;top:31%}.art-spark-a svg{width:30px}.art-spark-b{right:5%;top:13%}.art-spark-b svg{width:23px}.art-spark-c{right:6%;bottom:22%}.modes{padding-top:15px}.section-heading{gap:2px;margin-bottom:8px}.section-heading h2{font-size:1.38rem}.section-heading>span{font-size:.93rem}.mode-grid{grid-template-columns:1fr;gap:8px}.mode-card{min-height:84px;border-radius:16px;padding:9px 13px;grid-template-columns:auto 1fr auto}.mode-open{display:grid;width:32px;height:32px}.mode-open svg{width:18px;height:18px}.mode-copy strong{font-size:1.19rem}.mode-copy>span:last-child{font-size:.92rem}.landing-footer{font-size:.85rem;line-height:1.22}.landing-footer .text-button{font-size:.9rem;padding-inline:4px;white-space:nowrap}.editor-page{padding-top:15px}.screen-head{flex-wrap:wrap;margin-bottom:11px;gap:7px}.screen-head h1{font-size:1.62rem}.screen-head .eyebrow{font-size:.81rem}.screen-head .button{font-size:.96rem;padding-inline:9px}.screen-controls{gap:5px}.sticker-layout,.chat-layout,.result-layout{display:flex;flex-direction:column;gap:10px}.sticker-layout>*,.chat-layout>*,.result-layout>*{width:100%}.sticker-layout .preview-card,.chat-layout .preview-card{order:-1;position:relative;top:auto}.preview-card{padding:7px;border-radius:17px}.preview-top{padding-bottom:5px}.preview-art,.compact-preview .preview-art{height:clamp(175px,32svh,285px);border-radius:13px}.preview-art:before{width:68%;height:84%}.preview-actions{margin-top:0}.preview-actions .button{min-height:52px;font-size:.94rem}.picker{min-height:0;overflow:visible;border-radius:17px}.category-nav{grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:5px;border-radius:17px 17px 0 0}.category{font-size:.85rem;min-height:52px}.picker-content{padding:11px}.picker-content h2{font-size:1.25rem}.picker-content>.muted{font-size:1rem;margin-bottom:9px}.tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.tile{padding:4px}.tile-art{height:clamp(70px,24vw,112px);min-height:0}.tile-label{font-size:.89rem;min-height:35px}.tile-check{top:5px;right:5px}.editor-actions{padding:7px;margin-top:8px;gap:6px}.history-actions,.finish-actions{width:100%;gap:4px}.finish-actions>*{flex:1}.editor-actions .button{padding-inline:7px;font-size:.89rem}.editor-actions .button svg{width:16px}.lesson-track{gap:3px;padding:4px;margin-bottom:7px}.lesson-track li{font-size:.75rem;gap:5px;padding:4px 1px}.lesson-track li>span:first-child{width:23px;height:23px}.chat-panel{min-height:0;border-radius:17px}.chat-head{padding:8px 10px}.chat-scroll{min-height:150px;max-height:42svh;padding:10px}.bubble{font-size:1.06rem;padding:8px 10px}.chat-input{padding:8px;gap:5px}.chat-next{margin-left:0}.example{font-size:.96rem}.composer-actions .button{font-size:1.04rem}.result-image{min-height:240px;padding:8px}.result-image img{height:auto;width:auto;max-height:56svh}.result-controls{border-radius:17px}.dialog-content{padding:13px}.dialog-head h2{font-size:1.3rem}.dialog-actions .button{font-size:1rem}.guide-grid{grid-template-columns:1fr;gap:6px}.guide-grid>div{display:grid;grid-template-columns:auto 1fr;gap:2px 8px;align-items:start;padding:8px}.guide-icon{width:41px;height:41px;grid-row:1/3}.guide-icon svg{width:26px;height:26px}.guide-grid h3{margin:0}.favorite-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.progress-card{padding:12px}.progress-visual{transform:scale(.83);margin-block:-6px}.finish-checklist{font-size:.9rem}}@media(max-width:380px){.landing,.editor-page,.header-inner{width:calc(100% - 18px)}.hero-copy{padding-inline:8px}.landing-footer>span{align-items:flex-start}.result-actions{align-items:stretch;flex-direction:column}.tile-label{font-size:.85rem}}@media(max-width:640px)and (min-height:560px){html:has(.sticker-layout){scroll-padding-top:calc(clamp(148px,26svh,218px) + 96px)}.sticker-layout .preview-card{position:sticky;top:0;z-index:4}.sticker-layout .preview-art{height:clamp(148px,26svh,218px)}}
