@import"https://fonts.googleapis.com/css2?family=Gowun+Dodum&family=Nunito:wght@600;700;800;900&display=swap";:root{font-family:Nunito,Gowun Dodum,system-ui,sans-serif;color:#29263d;background:#f5f1eb;font-synthesis:none;text-rendering:optimizeLegibility;--ink: #29263d;--muted: #777287;--primary: #6857e5;--primary-dark: #5140c7;--cream: #fffaf3;--line: #e8e1d9;--shadow: 0 18px 55px rgba(55, 45, 92, .12)}*{box-sizing:border-box}html{min-width:320px;min-height:100%;height:100%;background:#f5f1eb}body{margin:0;min-width:320px;min-height:100vh;min-height:100svh;height:100%}button,textarea,input{font:inherit}button{color:inherit}button:focus-visible,textarea:focus-visible,input:focus-visible{outline:3px solid rgba(104,87,229,.26);outline-offset:2px}.site-shell{min-height:100vh;min-height:100svh;background:var(--cream)}.app-frame{display:flex;width:min(100%,520px);max-width:720px;height:100vh;height:100svh;min-height:100vh;margin:0 auto;padding:12px 12px calc(84px + env(safe-area-inset-bottom));flex-direction:column;overflow:hidden;background:var(--cream);border:1px solid rgba(80,63,110,.08);box-shadow:var(--shadow)}.app-header{position:relative;display:flex;flex:0 0 auto;align-items:center;gap:10px;min-height:70px;padding:12px 16px;border-bottom:1px solid rgba(64,54,85,.08);background:#fffaf3e6}.brand-mark,.icon-button{display:grid;width:40px;height:40px;place-items:center;flex:0 0 40px;border:0;border-radius:14px;background:var(--primary);color:#fff;font-size:19px;font-weight:900;box-shadow:0 8px 18px #6857e53d}.icon-button{cursor:pointer}.app-header__copy{position:absolute;left:50%;display:flex;width:min(46%,220px);flex-direction:column;align-items:center;min-width:0;transform:translate(-50%);line-height:1.15;text-align:center}.app-header__copy strong{overflow:hidden;font-family:Gowun Dodum,Nunito,system-ui,sans-serif;font-size:24px;font-weight:900;letter-spacing:-.04em;text-overflow:ellipsis;white-space:nowrap}.app-header__copy span{margin-top:4px;color:var(--muted);font-size:10px;font-weight:700;letter-spacing:.06em}.auth-area{display:flex;min-width:0;margin-left:auto;align-items:center;justify-content:flex-end;gap:6px}.google-login-button{display:flex;min-height:36px;padding:0 10px;align-items:center;gap:6px;border:1px solid #ded8d1;border-radius:11px;background:#fff;cursor:pointer;font-size:10px;font-weight:900;white-space:nowrap}.google-login-button span{color:#4285f4;font-size:15px}.google-login-button:disabled{cursor:not-allowed;opacity:.48}.profile-button{display:flex;min-width:0;padding:3px 7px 3px 3px;align-items:center;gap:6px;border:1px solid #e2dce8;border-radius:99px;background:#fff;cursor:pointer}.profile-button>img,.profile-button>span:first-child{display:grid;width:30px;height:30px;place-items:center;flex:0 0 30px;border-radius:50%;background:#ece8ff;color:var(--primary);object-fit:cover;font-size:11px;font-weight:900}.profile-button__copy{display:flex;min-width:0;max-width:78px;flex-direction:column;text-align:left}.profile-button__copy strong{overflow:hidden;font-size:9px;text-overflow:ellipsis;white-space:nowrap}.profile-button__copy small{margin-top:1px;color:var(--muted);font-size:8px}.header-text-button{padding:5px 3px;border:0;background:transparent;color:var(--muted);cursor:pointer;font-size:8px;font-weight:800}.header-ticket-pill{display:flex;min-height:36px;padding:5px 10px;flex-direction:column;align-items:center;justify-content:center;border:1px solid #e2dce8;border-radius:13px;background:#fff;line-height:1.1;white-space:nowrap}.header-ticket-pill span{color:var(--muted);font-size:8px;font-weight:900}.header-ticket-pill strong{color:var(--primary);font-size:11px;font-weight:900}.auth-error{padding:8px 16px;background:#ffe8ec;color:#a7364a;font-size:10px;font-weight:800;text-align:center}.coin-balance{display:flex;width:calc(100% - 32px);margin:12px auto 0;padding:10px 14px;align-items:center;justify-content:space-between;border:1px solid #e5ddf7;border-radius:15px;background:#f7f4ff;color:var(--primary)}.coin-balance span,.coin-shop__header span,.coin-product span{color:var(--muted);font-size:11px;font-weight:800}.coin-balance strong{font-size:17px;font-weight:900}.coin-shop{margin:0 24px 18px;padding:14px;border:1px solid rgba(104,87,229,.14);border-radius:18px;background:#fff;box-shadow:0 12px 28px #372d5c14}.coin-shop__header,.coin-product{display:flex;align-items:center;justify-content:space-between;gap:12px}.coin-shop__header strong,.coin-product strong{font-size:14px;font-weight:900}.coin-product{margin-top:12px}.coin-product>div{display:flex;flex-direction:column;gap:3px}.coin-product .secondary-button{width:auto;min-height:40px;padding:0 16px}.coin-product .secondary-button:disabled{cursor:wait;opacity:.6}.modal-backdrop{position:fixed;z-index:80;top:0;right:0;bottom:0;left:0;display:grid;padding:18px;place-items:center;background:#2620366b;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.generation-modal{position:relative;width:min(100%,440px);padding:24px;border:1px solid rgba(104,87,229,.16);border-radius:26px;background:var(--cream);box-shadow:0 24px 70px #1f193647}.modal-close-button{position:absolute;top:12px;right:12px;display:grid;width:32px;height:32px;place-items:center;border:0;border-radius:50%;background:#f1edf8;color:var(--muted);cursor:pointer;font-size:22px;line-height:1}.generation-modal__copy{padding-right:26px}.generation-modal__copy strong{font-size:22px;font-weight:900;letter-spacing:-.03em}.generation-modal__copy p{margin:10px 0 20px;color:var(--muted);font-size:13px;line-height:1.65}.generation-modal__actions{display:grid;gap:10px}.generation-modal .coin-shop{margin:16px 0 0}.app-content{display:flex;flex:1 1 auto;min-height:0;padding-top:1px;flex-direction:column;justify-content:flex-start;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.app-content>section{width:100%;margin-top:0;margin-bottom:0}.app-content>.start-screen{margin-top:auto;margin-bottom:auto}.ad-banner{display:flex;width:calc(100% - 32px);min-height:54px;margin:0 auto;padding:10px 16px;align-items:center;justify-content:center;gap:10px;border:1px dashed #cfc7bd;border-radius:15px;background:#ffffff8f;color:#9b948c}.ad-banner span{padding:3px 6px;border:1px solid #bcb4aa;border-radius:5px;font-size:9px;font-weight:900}.ad-banner p{margin:0;font-size:11px}.ad-banner--header{margin-top:12px}.ad-banner--middle{width:100%;margin-top:14px}.ad-banner--footer{margin-bottom:16px}.ad-banner--device-bottom{position:fixed;z-index:50;right:12px;bottom:max(8px,env(safe-area-inset-bottom));left:12px;width:min(calc(100% - 24px),520px);min-height:58px;margin:0 auto;border-radius:18px;background:#ffffffeb;box-shadow:0 12px 34px #372d5c29;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.bottom-nav{position:fixed;z-index:70;right:12px;bottom:max(8px,env(safe-area-inset-bottom));left:12px;display:grid;width:min(calc(100% - 24px),520px);min-height:66px;margin:0 auto;padding:8px;grid-template-columns:repeat(4,1fr);gap:6px;border:1px solid rgba(104,87,229,.13);border-radius:22px;background:#fffaf3f0;box-shadow:0 18px 42px #372d5c2e;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px)}.bottom-nav__item{display:flex;min-width:0;min-height:50px;padding:6px 4px;flex-direction:column;align-items:center;justify-content:center;gap:3px;border:0;border-radius:16px;background:transparent;color:#8a8292;cursor:pointer;transition:background .16s ease,color .16s ease,transform .16s ease}.bottom-nav__item span{font-size:17px;line-height:1}.bottom-nav__item strong{font-size:10px;font-weight:900;line-height:1}.bottom-nav__item.is-active{background:#ece9ff;color:var(--primary)}.bottom-nav__item:active{transform:translateY(1px)}.start-screen,.setup-screen,.drawing-screen,.result-screen,.gallery-screen,.shop-screen,.profile-screen{padding:26px 24px 30px}.start-screen{display:flex;min-height:auto;flex-direction:column;justify-content:center;text-align:center}.hero-art{position:relative;height:clamp(170px,50vw,260px);margin:0 -18px 14px;overflow:hidden;border-radius:24px}.hero-art img{display:block;width:100%;height:100%;object-fit:contain}.eyebrow{color:var(--primary);font-size:11px;font-weight:900;letter-spacing:.13em}.start-screen h1{margin:8px 0 12px;font-size:clamp(29px,7.4vw,40px);line-height:1.16;letter-spacing:-.045em}.start-screen h1 em{color:var(--primary);font-style:normal}.start-screen__copy>p{max-width:none;margin:0 auto 20px;overflow:hidden;color:var(--muted);font-size:clamp(11px,2.2vw,14px);line-height:1.5;text-overflow:ellipsis;white-space:nowrap}.primary-button,.secondary-button,.text-button{width:100%;min-height:54px;border:0;border-radius:17px;cursor:pointer;font-weight:900;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button{background:var(--primary);color:#fff;box-shadow:0 12px 26px #6857e542}.primary-button span{margin-left:7px}.primary-button:hover{transform:translateY(-1px);background:var(--primary-dark);box-shadow:0 15px 30px #6857e552}.primary-button:active{transform:translateY(1px)}.primary-button--large{min-height:58px;font-size:16px}.start-screen__note{margin:14px 0 0;color:#9a929f;font-size:11px}.section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:20px}.step-badge{display:grid;width:32px;height:32px;place-items:center;flex:0 0 32px;border-radius:11px;background:#ece9ff;color:var(--primary);font-size:13px;font-weight:900}.section-heading h1,.section-heading h2{margin:1px 0 5px;font-size:21px;line-height:1.25;letter-spacing:-.025em}.section-heading p{margin:0;color:var(--muted);font-size:12px}.style-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.style-card{position:relative;display:flex;min-width:0;padding:8px 8px 12px;flex-direction:column;align-items:flex-start;border:2px solid transparent;border-radius:17px;background:#fff;box-shadow:0 6px 20px #39305212;cursor:pointer;text-align:left;transition:transform .16s ease,border-color .16s ease}.style-card:hover{transform:translateY(-2px)}.style-card.is-selected{border-color:var(--primary)}.style-card__visual{display:grid;width:100%;height:72px;margin-bottom:10px;place-items:center;border-radius:14px;color:#fff;font-size:29px;text-shadow:0 3px 8px rgba(35,26,58,.18)}.style-card strong{padding:0 2px;font-size:11px;font-weight:900;line-height:1.35}.style-card small{margin-top:4px;padding:0 2px;color:var(--muted);font-size:8px;line-height:1.4}.style-card__check{position:absolute;top:12px;right:12px;display:none;width:20px;height:20px;place-items:center;border:2px solid #fff;border-radius:50%;background:var(--primary);color:#fff;font-size:11px}.style-card.is-selected .style-card__check{display:grid}.setup-screen__continue{margin-top:24px}.drawing-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.drawing-title h1{margin:5px 0 0;font-size:20px;letter-spacing:-.03em}.clear-button{padding:8px 10px;flex:0 0 auto;border:0;border-radius:10px;background:#f1edf0;color:#776f77;cursor:pointer;font-size:10px;font-weight:800}.canvas-shell{position:relative;width:100%;aspect-ratio:1 / 1;overflow:hidden;border:2px solid #e8e1dc;border-radius:22px;background:linear-gradient(#f4f1ed 1px,transparent 1px),linear-gradient(90deg,#f4f1ed 1px,transparent 1px),#fff;background-size:24px 24px;box-shadow:inset 0 0 0 5px #fff,0 10px 26px #352d4a14;overscroll-behavior:contain;touch-action:none}.drawing-canvas{position:relative;z-index:2;display:block;width:100%;height:100%;cursor:crosshair;touch-action:none;user-select:none;-webkit-touch-callout:none;-webkit-user-select:none}.canvas-hint{position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%,-50%);color:#d2ccd1;font-size:13px;pointer-events:none}.drawing-tools{display:flex;margin-top:14px;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px}.drawing-tool-actions{display:flex;flex:1 1 160px;align-items:center;justify-content:flex-end;gap:5px;min-width:0}.color-palette{display:flex;gap:7px}.color-palette button{width:27px;height:27px;padding:0;border:3px solid #fff;border-radius:50%;box-shadow:0 0 0 1px #dfd9d3;cursor:pointer}.color-palette button.is-selected{box-shadow:0 0 0 3px #a9a0ee}.tool-button{display:flex;min-height:34px;padding:5px 8px;align-items:center;gap:5px;border:1px solid var(--line);border-radius:11px;background:#fff;cursor:pointer;font-size:11px;font-weight:800;white-space:nowrap}.tool-button.is-selected{border-color:var(--primary);background:#ece9ff;color:var(--primary)}.brush-control{display:flex;margin:12px 0 18px;padding:10px 12px;align-items:center;gap:10px;border-radius:13px;background:#f4f0eb;color:var(--muted);font-size:11px;font-weight:800}.brush-control input{min-width:0;flex:1;accent-color:var(--primary)}.brush-preview{display:block;min-width:4px;min-height:4px;max-width:28px;max-height:28px;flex:0 0 auto;border-radius:50%;background:var(--ink)}.validation-message{margin:-6px 0 10px;color:#d94e62;font-size:11px;font-weight:800;text-align:center}.error-banner{margin:18px 24px -8px;padding:12px;border-radius:12px;background:#ffe8ec;color:#a7364a;font-size:11px;font-weight:800;text-align:center}.analysis-screen{display:flex;padding:70px 28px;flex-direction:column;align-items:center;justify-content:center;text-align:center}.analysis-magic-stage{position:relative;width:min(100%,360px);height:260px;margin:0 auto 28px;isolation:isolate}.analysis-magic-stage:before{position:absolute;z-index:-1;top:24px;right:18px;bottom:10px;left:18px;border-radius:46px;background:radial-gradient(circle at 35% 40%,rgba(255,217,116,.38),transparent 28%),radial-gradient(circle at 70% 48%,rgba(123,112,239,.22),transparent 34%),linear-gradient(135deg,#fffffff5,#f6f1ffb3);box-shadow:0 24px 60px #483a7a1f;content:""}.magic-card{position:absolute;z-index:2;display:grid;width:104px;height:132px;padding:10px 10px 8px;grid-template-rows:1fr auto;gap:6px;border:5px solid #fff;border-radius:22px;background:#fff;box-shadow:0 18px 34px #372d5c24}.magic-card--sketch{top:72px;left:6px;transform:rotate(-8deg);animation:sketch-card-pulse 2.4s ease-in-out infinite}.magic-card--art{top:42px;right:0;transform:rotate(7deg);animation:art-card-glow 2.4s ease-in-out infinite}.magic-card__paper{position:relative;overflow:hidden;border-radius:15px;background:linear-gradient(#f0ece8 1px,transparent 1px),linear-gradient(90deg,#f0ece8 1px,transparent 1px),#fffdf8;background-size:16px 16px}.magic-card small{color:var(--muted);font-size:10px;font-weight:900}.magic-doodle,.magic-art-shape{position:absolute;display:block}.magic-doodle--sun{top:15px;right:17px;width:18px;height:18px;border:3px solid #ffbd56;border-radius:50%;animation:doodle-wiggle 1.1s ease-in-out infinite}.magic-doodle--mountain{right:18px;bottom:18px;width:52px;height:42px;border-right:4px solid #29263d;border-bottom:4px solid #29263d;transform:skew(-18deg) rotate(-40deg);border-radius:8px;animation:doodle-wiggle 1.35s ease-in-out infinite reverse}.magic-doodle--line{left:12px;bottom:17px;width:50px;height:22px;border-bottom:4px solid #e86e91;border-radius:50%;transform:rotate(-12deg);animation:doodle-wiggle 1.2s ease-in-out infinite}.magic-art-shape--sky{top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#80c8ff,#8368ec 52%,#fbc5df)}.magic-art-shape--star{top:27px;left:31px;width:42px;height:42px;background:#ffe577;clip-path:polygon(50% 0%,62% 35%,100% 38%,70% 60%,80% 100%,50% 76%,20% 100%,30% 60%,0% 38%,38% 35%);filter:drop-shadow(0 0 12px rgba(255,225,84,.82));animation:art-star-pop 1.8s ease-in-out infinite}.magic-art-shape--spark{right:16px;bottom:16px;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:-28px -13px 0 1px #ffffffc2,-9px -38px #ffffffd1,-44px -47px 0 1px #ffffffb8;animation:sparkle-blink 1.2s ease-in-out infinite}.analysis-wizard{position:absolute;z-index:4;left:50%;bottom:10px;width:168px;max-width:50%;transform:translate(-50%);border-radius:28px;filter:drop-shadow(0 18px 24px rgba(52,40,86,.18));animation:wizard-float 2.4s ease-in-out infinite}.magic-flow{position:absolute;z-index:3;top:102px;left:74px;width:212px;height:56px;border-top:8px solid rgba(115,213,255,.58);border-radius:50%;transform:rotate(-7deg);filter:drop-shadow(0 0 14px rgba(116,117,245,.42));animation:magic-flow-glow 1.6s ease-in-out infinite}.magic-flow span{position:absolute;top:-13px;width:10px;height:10px;border-radius:50%;background:#fff5a6;box-shadow:0 0 14px #ffde5ae6;animation:magic-spark-travel 1.35s linear infinite}.magic-flow span:nth-child(2){animation-delay:.28s}.magic-flow span:nth-child(3){animation-delay:.58s}.magic-flow span:nth-child(4){animation-delay:.88s}.analysis-orbit{position:relative;width:180px;height:180px;margin-bottom:38px;border:2px dashed #c5bbff;border-radius:50%;animation:spin 9s linear infinite}.analysis-orbit__core{position:absolute;top:50%;left:50%;display:grid;width:100px;height:100px;place-items:center;transform:translate(-50%,-50%);border-radius:34px;background:linear-gradient(145deg,#8273ee,#5543c9);color:#fff;font-size:40px;box-shadow:0 20px 40px #5340c347;animation:reverse-spin 9s linear infinite,pulse 1.8s ease-in-out infinite}.analysis-orbit>span{position:absolute;width:16px;height:16px;border-radius:50%;background:#ffb86c;box-shadow:0 4px 10px #42326429}.analysis-orbit>span:nth-child(2){top:8px;left:30px}.analysis-orbit>span:nth-child(3){top:72px;right:-8px;background:#55c7b6}.analysis-orbit>span:nth-child(4){bottom:2px;left:44px;background:#ff7f9b}.analysis-screen h1{margin:10px 0 9px;font-size:25px;letter-spacing:-.035em}.analysis-screen p{min-height:20px;margin:0;color:var(--muted);font-size:13px}.analysis-screen small{margin-top:15px;color:#a29aa4;font-size:10px}.loading-bar{width:min(100%,300px);height:8px;margin-top:32px;overflow:hidden;border-radius:99px;background:#e9e4e8}.loading-bar span{display:block;width:45%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6857e5,#ec78a2);animation:loading 1.3s ease-in-out infinite}.result-heading{margin-bottom:20px;text-align:center}.success-badge{display:inline-block;padding:5px 10px;border-radius:99px;background:#dcf7ed;color:#218566;font-size:10px;font-weight:900}.result-heading h1{margin:10px 0 7px;font-size:23px;letter-spacing:-.035em}.result-heading p{margin:0;color:var(--muted);font-size:11px}.result-card{position:relative;overflow:hidden;border:7px solid #fff;border-radius:25px;background:#fff;box-shadow:0 18px 40px #2d224f2e}.result-card>img{display:block;width:100%;aspect-ratio:3 / 4;object-fit:cover;border-radius:18px}.before-after{display:grid;grid-template-columns:58px 20px 58px 1fr;margin:20px 0;padding:12px;align-items:center;gap:8px;border:1px solid var(--line);border-radius:17px;background:#fff}.before-after img{width:58px;height:58px;border-radius:11px;object-fit:cover;border:1px solid #eee7e2}.before-after>span{color:var(--primary);font-weight:900;text-align:center}.before-after p{display:-webkit-box;margin:0;overflow:hidden;color:var(--muted);font-size:10px;line-height:1.45;-webkit-box-orient:vertical;-webkit-line-clamp:3}.result-actions{display:grid;gap:9px}.save-notice{margin:14px 0 0;padding:10px 12px;border-radius:12px;background:#ecf8f3;color:#28735d;font-size:10px;font-weight:800;text-align:center}.gallery-heading h1{margin:6px 0 5px;font-size:25px}.screen-heading{margin-bottom:20px}.screen-heading h1{margin:6px 0;font-size:25px;letter-spacing:-.04em}.screen-heading p{margin:0;color:var(--muted);font-size:12px;line-height:1.55}.info-card,.profile-card,.shop-product-card{border:1px solid rgba(104,87,229,.12);border-radius:19px;background:#fff;box-shadow:0 10px 24px #39305212}.ticket-summary-card{display:flex;margin-bottom:12px;padding:18px;align-items:center;justify-content:space-between;background:linear-gradient(135deg,#fff7df,#f0edff)}.ticket-summary-card span{color:var(--muted);font-size:12px;font-weight:900}.ticket-summary-card strong{color:var(--primary);font-size:24px;font-weight:900}.shop-product-list{display:grid;gap:10px}.shop-product-card{display:flex;padding:14px;align-items:center;justify-content:space-between;gap:12px}.shop-product-card>div{display:flex;min-width:0;flex-direction:column;gap:4px}.shop-product-card strong{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:15px;font-weight:900}.shop-product-bonus{display:inline-flex;padding:2px 8px;align-items:center;border-radius:999px;background:#fff0f6;color:#ec5c93;font-size:11px;font-weight:900;line-height:1.45;white-space:nowrap}.shop-product-card span{color:var(--muted);font-size:11px;font-weight:800}.shop-product-card .secondary-button{width:auto;min-width:96px;min-height:40px;padding:0 14px}.shop-product-card .secondary-button:disabled{cursor:not-allowed;opacity:.58}.shop-restore-button{margin-top:12px}.profile-card{display:flex;margin-bottom:12px;padding:16px;align-items:center;gap:13px}.profile-card img,.profile-card__avatar{display:grid;width:58px;height:58px;place-items:center;flex:0 0 58px;border-radius:20px;background:#ece9ff;color:var(--primary);object-fit:cover;font-size:22px;font-weight:900}.profile-card strong{display:block;font-size:17px;font-weight:900}.profile-card span{display:block;margin-top:4px;overflow-wrap:anywhere;color:var(--muted);font-size:12px}.info-card{margin-top:12px;padding:16px}.info-card h2{margin:0 0 12px;font-size:15px;font-weight:900}.info-list{display:grid;margin:0;gap:10px}.info-list div,.support-list button{display:flex;align-items:center;justify-content:space-between;gap:12px}.info-list dt{color:var(--muted);font-size:12px;font-weight:800}.info-list dd{margin:0;color:var(--ink);font-size:13px;font-weight:900}.support-list{display:grid;gap:8px}.support-list button{min-height:42px;padding:0 12px;border:1px solid var(--line);border-radius:13px;background:#fffaf7;cursor:pointer;font-size:12px;font-weight:900}.support-list button span{color:var(--muted);font-size:10px}.gallery-heading p{margin:0;color:var(--muted);font-size:11px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);margin:20px 0;gap:10px}.stats-grid>div{display:flex;padding:16px;flex-direction:column;border-radius:17px;background:#f1efff;text-align:center}.stats-grid strong{color:var(--primary);font-size:25px;font-weight:900}.stats-grid span{margin-top:3px;color:var(--muted);font-size:13px;font-weight:800}.gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-card{overflow:hidden;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:0 7px 18px #39305212}.gallery-card>img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.gallery-card__body{display:grid;padding:10px;gap:4px}.gallery-card__body strong{overflow:hidden;font-size:14px;text-overflow:ellipsis;white-space:nowrap}.gallery-card__body time{color:var(--muted);font-size:11px}.gallery-card__body button{min-height:30px;margin-top:4px;border:0;border-radius:9px;background:#f0edff;color:var(--primary);cursor:pointer;font-size:13px;font-weight:900}.gallery-loading,.gallery-empty,.empty-state{color:var(--muted);text-align:center}.gallery-loading{margin:18px 0;font-size:11px}.gallery-empty,.empty-state{padding:70px 18px}.gallery-empty strong,.empty-state h1{color:var(--ink);font-size:17px}.gallery-empty p,.empty-state p{font-size:11px;line-height:1.6}.gallery-more{margin-top:16px}.gallery-error{margin:0 0 16px}.secondary-button{border:1px solid #dcd5ee;background:#f2efff;color:var(--primary)}.text-button{min-height:40px;background:transparent;color:var(--muted);font-size:11px}.page-enter{animation:page-enter .32s ease both}@keyframes page-enter{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes reverse-spin{0%{transform:translate(-50%,-50%) rotate(360deg)}to{transform:translate(-50%,-50%) rotate(0)}}@keyframes pulse{50%{box-shadow:0 20px 50px #5340c36b}}@keyframes loading{0%{transform:translate(-110%)}to{transform:translate(330%)}}@keyframes wizard-float{0%,to{transform:translate(-50%) translateY(0) rotate(-1deg)}50%{transform:translate(-50%) translateY(-10px) rotate(2deg)}}@keyframes sketch-card-pulse{0%,to{transform:rotate(-8deg) scale(1);opacity:.9}50%{transform:rotate(-5deg) scale(.96);opacity:.68}}@keyframes art-card-glow{0%,to{transform:rotate(7deg) scale(.98);box-shadow:0 18px 34px #372d5c24}50%{transform:rotate(4deg) scale(1.05);box-shadow:0 20px 42px #6857e547}}@keyframes doodle-wiggle{0%,to{translate:0 0}50%{translate:2px -2px}}@keyframes art-star-pop{0%,to{transform:scale(.88) rotate(0)}50%{transform:scale(1.12) rotate(10deg)}}@keyframes sparkle-blink{0%,to{opacity:.55;transform:scale(.88)}50%{opacity:1;transform:scale(1.12)}}@keyframes magic-flow-glow{0%,to{opacity:.72;transform:rotate(-7deg) scaleX(.96)}50%{opacity:1;transform:rotate(-7deg) scaleX(1.04)}}@keyframes magic-spark-travel{0%{left:0;opacity:0;transform:translateY(12px) scale(.7)}15%,80%{opacity:1}to{left:100%;opacity:0;transform:translateY(-10px) scale(1.15)}}@media(min-width:600px){.app-frame{width:100%}.drawing-screen{display:grid;grid-template-columns:minmax(0,1fr) 30px 92px;gap:10px;align-items:start}.drawing-screen .canvas-shell{grid-column:1;grid-row:1 / span 6}.drawing-tools{display:contents}.color-palette{display:grid;grid-column:2;grid-row:1 / span 5;grid-template-columns:24px;justify-content:center;align-self:start}.color-palette button{width:24px;height:24px}.drawing-tool-actions{grid-column:2 / 4;grid-row:2;flex-direction:column;align-items:stretch}.drawing-tool-actions .tool-button,.drawing-tool-actions .clear-button{width:100%;min-height:32px;padding:5px 7px;justify-content:center;font-size:10px}.drawing-screen .validation-message,.drawing-screen>.primary-button{grid-column:1 / -1}.drawing-screen .generation-cost-message{grid-column:2 / 4;grid-row:4;margin:0;line-height:1.45}.drawing-screen>.primary-button{grid-column:2 / 4;grid-row:3;min-height:38px;padding:7px 8px;border-radius:13px;font-size:11px}.brush-control{grid-column:3;grid-row:1;flex-direction:column;align-items:center;margin:0;padding:10px 8px;min-height:196px}.brush-control input{width:148px;transform:rotate(-90deg);transform-origin:center;margin:58px 0}.brush-preview{align-self:center}}@media(max-width:759px){.app-frame{width:100%;height:100vh;height:100svh;min-height:100vh;margin:0 auto;padding:0 0 calc(78px + env(safe-area-inset-bottom))}}@media(min-width:760px){.app-frame{padding:22px 22px calc(84px + env(safe-area-inset-bottom))}}@media(max-width:390px){.app-frame{height:100vh;height:100svh;min-height:100vh;padding:0 0 calc(76px + env(safe-area-inset-bottom));border-radius:0 0 25px 25px}.start-screen,.setup-screen,.drawing-screen,.result-screen,.gallery-screen,.shop-screen,.profile-screen{padding-right:17px;padding-left:17px}.app-header{gap:7px;padding-right:10px;padding-left:10px}.app-header__copy strong{font-size:21px}.app-header__copy span,.profile-button__copy{display:none}.profile-button{padding-right:3px}.header-text-button{display:none}.google-login-button{padding:0 8px;font-size:9px}.hero-art{height:clamp(150px,47vw,190px);margin-right:-18px;margin-left:-18px}.color-palette{gap:5px}.color-palette button{width:24px;height:24px}.drawing-tool-actions{flex-basis:100%;justify-content:flex-start}.drawing-tool-actions .tool-button,.drawing-tool-actions .clear-button{flex:1 1 0;justify-content:center;padding-inline:6px;font-size:10px}.tool-button span{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
