:root{font-family:system-ui,-apple-system,'Malgun Gothic',sans-serif;color:#173b4c;background:#e7eff1;font-size:18px;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;overscroll-behavior:none}body{height:100dvh}button,input,textarea{font:inherit}button{cursor:pointer;border:0;min-height:56px;font-weight:750;border-radius:18px;padding:12px 18px;touch-action:manipulation}button:disabled{opacity:.45;cursor:default}button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #1973be;outline-offset:3px}.phone{max-width:440px;width:100%;height:100dvh;margin:auto;background:#fff;position:relative;overflow:hidden;box-shadow:0 10px 80px #1b506c18;display:flex;flex-direction:column}h1,h2,p{margin-top:0}.topbar{display:flex;gap:8px;align-items:center;justify-content:space-between;padding:10px 14px;padding-top:max(10px,env(safe-area-inset-top));flex-shrink:0;min-height:78px;background:#fff;border-bottom:1px solid #e9f0f2;z-index:2}.topbar button{background:#edf5f7;color:#244d5c;padding:10px 13px}.topbar strong{font-size:19px}.topbar .step{font-size:17px;color:#08778b;white-space:nowrap}.home{display:flex;flex-direction:column;height:100%;background:linear-gradient(#f7fcfc 30%,#e7f7fb);position:relative}.home .topbar{background:transparent;border:0}.brand{font-size:14px!important;letter-spacing:.15em;color:#2d6b7d}.home-title{text-align:center;z-index:1;padding:12px 18px 0}.eyebrow{font-size:13px;font-weight:750;letter-spacing:.18em;color:#087f95;margin-bottom:10px}.home h1{font-size:64px;letter-spacing:-.08em;line-height:1.15;margin:0 0 16px;color:#113d51}.home .subtitle{font-size:22px;font-weight:650;line-height:1.6;margin:0;color:#315968}.art{position:relative;flex:1;min-height:140px;overflow:hidden}.art svg{width:100%;height:100%;min-height:190px;position:absolute;inset:0}.swim{animation:swim 5s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}.wave{animation:wave 7s ease-in-out infinite alternate}.home-actions{position:relative;padding:18px 24px max(24px,env(safe-area-inset-bottom));background:#fff;border-radius:30px 30px 0 0;margin-top:-14px;box-shadow:0 -10px 40px #124f6810}.big{width:100%;min-height:76px;font-size:22px;border-radius:22px;box-shadow:0 5px 0 #11354b0c;display:flex;align-items:center;justify-content:center;gap:10px}.primary{background:#087f95;color:#fff}.gold{background:#ffce52;color:#253943;margin-top:14px}.home-note{text-align:center;color:#577581;font-size:13px;margin:18px 0 0;letter-spacing:.025em}.name-body{flex:1;display:flex;flex-direction:column;justify-content:center;padding:26px;background:radial-gradient(ellipse at top,#e3f9fa,transparent 65%)}.name-body .icon{font-size:56px;margin-bottom:28px}.name-body h1{font-size:31px;line-height:1.45;letter-spacing:-.05em}.name-body label{display:block;font-size:18px;margin-bottom:10px}.name-body input{width:100%;height:68px;border:2px solid #aeced5;border-radius:18px;padding:12px 16px;font-size:21px;background:white;color:#173b4c}.name-body .big{margin-top:18px}.privacy{font-size:15px;color:#577581;line-height:1.7;margin:18px 0}.error{min-height:25px;color:#a53129;font-size:16px;margin:8px 0}.builder{height:100%;display:flex;flex-direction:column;background:#fff}.builder .topbar{padding-inline:10px;gap:4px}.builder-name{font-size:14px;color:#557380;padding:10px 18px;border-bottom:1px solid #edf2f4;flex-shrink:0;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat{overflow:auto;flex:1;min-height:0;padding:20px 16px;scroll-behavior:smooth;overscroll-behavior:contain}.chat-intro{font-size:14px;color:#71828a;text-align:center;margin:0 0 22px}.bubble{border-radius:20px;background:#f0f5f6;padding:17px 18px;font-size:18px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 25px 18px 0}.bubble.user{margin:0 0 18px 25px;background:#e8f4fd;color:#234c65;border-bottom-right-radius:6px}.bubble.ai{border-top-left-radius:6px}.author{font-size:12px;font-weight:800;letter-spacing:.06em;color:#14798a;margin-bottom:7px;display:block}.example{background:#f3fafb;border:1px dashed #91c9d1;width:100%;text-align:left;color:#245462;font-size:17px;line-height:1.65;padding:16px;border-radius:18px;margin-bottom:18px;font-weight:500;overflow-wrap:anywhere}.example small{display:block;font-weight:750;font-size:13px;color:#0b7789;margin-bottom:4px}.composer{padding:10px 14px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e2ecee;background:#fff;flex-shrink:0}.composer textarea{display:block;width:100%;resize:none;min-height:68px;max-height:110px;padding:12px;border:2px solid #b4cfd7;border-radius:17px;font-size:18px;line-height:1.45;color:#183d50;background:#fff}.composer-row{display:flex;gap:10px;margin-top:9px}.composer-row button:first-child{background:#edf5f7;color:#315968;flex:1}.composer-row button:last-child{background:#087f95;color:#fff;flex:1}.local-note{font-size:12px;text-align:center;color:#647b85;margin:7px 0 0}.code-panel{margin:0 0 20px;border:1px solid #294d65;background:#102a40;color:#d6e8f8;border-radius:20px;overflow:hidden}.code-head{padding:14px 16px;display:flex;justify-content:space-between;font-size:14px;gap:8px}.dots{color:#ffc75a;letter-spacing:3px}.code-lines{height:185px;overflow:auto;padding:4px 14px;margin:0;font:12px/1.85 Consolas,monospace;scroll-behavior:auto;white-space:pre;tab-size:2;counter-reset:line}.code-line{display:block;min-height:22px}.code-line::before{counter-increment:line;content:counter(line);display:inline-block;width:26px;color:#7893ab;user-select:none}.token-key{color:#d5a4ff}.token-string{color:#8ee7c1}.token-number{color:#ffcc7f}.code-foot{padding:14px 16px;background:#18374e;font-size:14px}.progress{height:5px;background:#335064;border-radius:10px;margin-top:12px;overflow:hidden}.progress span{display:block;width:0;height:100%;background:linear-gradient(90deg,#5d9fff,#5be1c8)}.done-chip{background:#fff5d7;padding:12px 16px;border-radius:15px;font-size:16px;color:#6a5018;margin-bottom:18px;line-height:1.65}.finish{background:#eaf8f7;padding:22px 18px;border-radius:24px;text-align:center;margin-bottom:8px}.finish .crown{font-size:46px}.finish h2{font-size:25px;line-height:1.5;margin:10px 0}.finish p{font-size:17px;line-height:1.7;color:#3c6271}.finish button{width:100%;font-size:20px;margin-top:12px}.subtle{background:transparent;color:#557581;font-size:16px;text-decoration:underline}.frame{height:100%;width:100%;border:0;background:#e9f7fb;display:block}.celebration{position:absolute;inset:80px 0 0;pointer-events:none;z-index:5;overflow:hidden}.celebration i{position:absolute;width:9px;height:15px;background:#ffcc4b;top:-20px;animation:confetti 1.5s ease-out forwards;border-radius:2px}@keyframes confetti{to{transform:translate(var(--dx),70vh) rotate(600deg);opacity:0}}@keyframes wave{to{transform:translateX(-15px)}}@keyframes swim{to{transform:translate(18px,-7px) rotate(3deg)}}@media(max-height:700px){.home-title{padding-top:0}.home h1{font-size:53px;margin-bottom:10px}.home .subtitle{font-size:20px}.home-actions{padding:16px 20px}.home-note{margin-top:13px}.big{min-height:68px}.name-body .icon{margin-bottom:14px}}@media(max-width:340px){.topbar strong{font-size:17px}.topbar .step{font-size:15px}.home h1{font-size:53px}.home .subtitle{font-size:20px}.home-actions{padding-inline:18px}.bubble{margin-right:10px;padding:14px}.bubble.user{margin-left:10px}.composer{padding-inline:10px}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;scroll-behavior:auto!important;transition:none!important}.celebration{display:none}}
.name-body{min-height:0;overflow:auto;justify-content:safe center}
