:root{font-family:Inter,SF Pro Display,PingFang SC,Microsoft YaHei,system-ui,sans-serif;color:#172036;background:#f4f5f7;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#app{min-height:100%;margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid rgba(64,92,255,.25);outline-offset:2px}.primary-button,.secondary-button,.text-button{border:0;cursor:pointer}.primary-button,.secondary-button{display:inline-flex;min-height:48px;align-items:center;justify-content:center;gap:10px;padding:0 20px;border-radius:14px;font-weight:700;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}.primary-button{color:#fff;background:#3154f5;box-shadow:0 10px 24px #3154f538}.primary-button:hover{background:#2446e1;transform:translateY(-1px)}.primary-button:disabled{cursor:not-allowed;background:#aeb9df;box-shadow:none;transform:none}.secondary-button{color:#253044;background:#edf0f7}.secondary-button:hover{background:#e2e6f0}.text-button{padding:6px 2px;color:#3154f5;background:transparent;font-weight:700;white-space:nowrap}.dev-shell{display:grid;min-height:100vh;grid-template-columns:minmax(320px,.9fr) minmax(500px,1.1fr);background:radial-gradient(circle at 15% 12%,rgba(87,116,255,.22),transparent 30%),#10182c}.dev-hero{display:flex;flex-direction:column;justify-content:center;max-width:660px;padding:clamp(48px,8vw,112px);color:#fff}.eyebrow{margin-bottom:24px;color:#99abff;font-size:12px;font-weight:800;letter-spacing:.18em}.dev-hero h1{margin:0;font-size:clamp(42px,5.5vw,76px);line-height:1.04;letter-spacing:-.045em}.dev-hero p{max-width:520px;margin:32px 0 0;color:#b8c1d8;font-size:17px;line-height:1.8}.dev-panel{align-self:center;width:min(680px,calc(100% - 48px));margin:48px auto;padding:clamp(28px,5vw,52px);border:1px solid rgba(255,255,255,.65);border-radius:28px;background:#fffffff7;box-shadow:0 28px 80px #00000047}.panel-heading,.panel-heading>div{display:flex;align-items:center;gap:14px}.panel-heading{justify-content:space-between;margin-bottom:34px}.panel-heading h2{margin:0;font-size:24px;letter-spacing:-.02em}.step-number{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;color:#3154f5;background:#e8edff;font-size:12px;font-weight:800}.local-badge{padding:8px 12px;border-radius:999px;color:#42604f;background:#e8f5ec;font-size:12px;font-weight:700}.dev-form{display:grid;gap:24px}.dev-form label{display:grid;gap:9px;color:#253044;font-size:14px;font-weight:700}.dev-form small{color:#7a8497;font-size:12px;font-weight:500}.dev-form input{width:100%;height:50px;border:1px solid #d9deea;border-radius:13px;padding:0 15px;color:#172036;background:#fafbfc;transition:border-color .16s ease,box-shadow .16s ease}.dev-form input:focus{border-color:#7188f6;box-shadow:0 0 0 4px #3154f514}.input-action-row{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.create-button{width:100%;margin-top:8px}.button-spinner,.large-spinner{display:inline-block;border-style:solid;border-radius:50%;animation:spin .7s linear infinite}.button-spinner{width:16px;height:16px;border-width:2px;border-color:#fff6;border-top-color:#fff}.large-spinner{width:42px;height:42px;border-width:3px;border-color:#dce2f7;border-top-color:#3154f5}@keyframes spin{to{transform:rotate(360deg)}}.form-message{margin:22px 0 0;padding:14px 16px;border-radius:12px;font-size:14px}.error-message{color:#a93434;background:#fff0f0}.result-card{display:flex;gap:16px;margin-top:26px;padding:20px;border:1px solid #cde9d5;border-radius:18px;background:#f2fbf4}.success-mark{display:grid;flex:0 0 auto;width:34px;height:34px;place-items:center;border-radius:50%;color:#fff;background:#2f9c55;font-weight:900}.result-content{min-width:0;flex:1}.result-content strong{display:block;margin:6px 0 12px}.result-content code{display:block;overflow:hidden;color:#536078;font-family:SFMono-Regular,Consolas,monospace;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.result-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.result-actions .primary-button,.result-actions .secondary-button{min-height:42px;padding-inline:16px;font-size:13px}.share-shell{display:flex;min-height:100vh;min-height:100dvh;flex-direction:column;align-items:center;justify-content:center;gap:22px;padding:clamp(20px,4vw,48px);color:#1d1d1f;background:#f5f5f7}.image-stage{display:grid;width:min(1120px,calc(100vw - 48px));height:min(76vh,760px);min-height:min(540px,64vh);place-items:center;overflow:hidden;border:1px solid rgba(0,0,0,.06);border-radius:28px;background:#fff;box-shadow:0 24px 70px #00000014,0 2px 8px #0000000a}.image-stage.is-ready{width:fit-content;height:fit-content;min-height:0}.image-frame{display:grid;width:fit-content;height:fit-content;min-width:0;min-height:0;place-items:center;margin:0}.image-frame img{display:block;width:auto;height:auto;max-width:calc(100vw - 48px);max-height:calc(100dvh - 126px);border-radius:26px;object-fit:contain}.image-placeholder{display:grid;width:100%;height:100%;place-items:center;align-content:center;gap:18px;color:#86868b;background:linear-gradient(110deg,#f1f1f3 8%,#fafafa 18%,#f1f1f3 33%);background-size:200% 100%;font-size:15px;font-weight:500;letter-spacing:-.01em;text-align:center;animation:placeholder-shimmer 1.8s linear infinite}.apple-spinner{width:34px;height:34px;border:3px solid rgba(0,0,0,.1);border-top-color:#1d1d1f;border-radius:50%;animation:spin .75s linear infinite}.image-error{color:#86868b;font-size:26px;font-weight:600;animation:none}@keyframes placeholder-shimmer{to{background-position-x:-200%}}.apple-download-button{display:inline-flex;min-width:176px;min-height:52px;align-items:center;justify-content:center;gap:9px;border:0;border-radius:999px;padding:0 26px;color:#fff;background:#1d1d1f;box-shadow:0 10px 30px #00000029,inset 0 1px #ffffff24;font-size:16px;font-weight:600;letter-spacing:-.01em;cursor:pointer;transition:transform .18s ease,background .18s ease,box-shadow .18s ease}.apple-download-button:hover:not(:disabled){background:#000;box-shadow:0 14px 34px #0003,inset 0 1px #ffffff29;transform:translateY(-1px)}.apple-download-button:active:not(:disabled){transform:scale(.98)}.apple-download-button:disabled{color:#ffffffa6;background:#8e8e93;box-shadow:none;cursor:default}.download-icon{font-size:20px;line-height:1}.not-found-shell{display:grid;min-height:100vh;place-items:center;padding:24px;color:#fff;background:#10182c}@media(max-width:900px){.dev-shell{grid-template-columns:1fr}.dev-hero{padding:56px 24px 24px}.dev-hero h1{font-size:clamp(38px,11vw,58px)}.dev-panel{width:calc(100% - 32px);margin:24px auto 48px}}@media(max-width:600px){.dev-panel{padding:24px 18px;border-radius:22px}.panel-heading{align-items:flex-start}.local-badge{margin-top:4px}.share-shell{gap:16px;padding:12px}.image-stage{width:100%;height:calc(100dvh - 96px);min-height:0;border-radius:22px}.image-frame{width:fit-content;height:fit-content}.image-frame img{max-width:calc(100vw - 24px);max-height:calc(100dvh - 86px);border-radius:20px}.apple-download-button{width:min(100%,320px);min-height:50px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
