@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;600;700;800;900&display=swap');
:root{--bg:#f7f8f5;--paper:#fff;--ink:#172822;--muted:#738078;--line:#e4e9e3;--green:#087d73;--lime:#e4f292;--dark:#123d36;--radius:18px;font-family:'Noto Sans SC',sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button,a{touch-action:manipulation}a{color:inherit;text-decoration:none}button{border:0}button:focus-visible,a:focus-visible{outline:3px solid #a7cc54;outline-offset:4px}input:focus,textarea:focus,select:focus{outline:none;border-color:var(--green);box-shadow:0 0 0 3px #087d7312}input,textarea,select{border:1px solid var(--line);border-radius:10px;background:#fcfdfb;color:var(--ink);padding:12px 14px;width:100%;transition:border-color .2s,box-shadow .2s}textarea{resize:vertical;min-height:148px;line-height:1.8}input::placeholder,textarea::placeholder{color:#9ba49e}button{transition:background .2s,transform .2s,box-shadow .2s}button:active{transform:translateY(1px)}.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle;stroke-width:1.7}.brand{display:flex;align-items:center;gap:12px}.brand-mark{display:grid;place-items:center;width:46px;height:46px;background:white;border:1px solid #dbe5dc;border-radius:50%;overflow:hidden}.brand-mark img{width:100%;height:100%;object-fit:contain}.brand-mark svg{width:27px;height:27px;color:var(--green)}.brand strong{display:block;font-size:19px;letter-spacing:1.5px}.brand small{display:block;font-size:10px;color:var(--muted);letter-spacing:1.8px;margin-top:3px}.sidebar{width:234px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);padding:28px 22px;background:#fff;display:flex;flex-direction:column;z-index:20}.school{font-size:11px;color:var(--muted);padding:18px 0 28px;letter-spacing:.8px;border-bottom:1px solid var(--line)}.nav-label{font-size:10px;color:#8c9690;letter-spacing:2px;margin:28px 14px 12px}.nav{display:flex;flex-direction:column;gap:7px}.nav button{height:47px;display:flex;align-items:center;gap:13px;padding:0 14px;border-radius:10px;background:transparent;color:#7b8780;text-align:left}.nav button:hover{background:#f5f7f2;color:var(--green)}.nav button.active{color:var(--green);background:#eaf4ed;font-weight:600}.nav button.active:after{content:'';height:6px;width:6px;border-radius:50%;background:var(--green);margin-left:auto}.sidebar-bottom{margin-top:auto}.member-card{padding:17px 14px;border-radius:14px;background:#f6f8f1;font-size:12px;line-height:1.7}.member-card strong{font-size:13px}.member-card p{color:#7d887e;margin:6px 0 15px;font-size:11px}.member-card button{width:100%}.side-footer{display:flex;align-items:center;gap:8px;font-size:10px;color:#8c9891;margin-top:22px}.dot{width:6px;height:6px;background:var(--green);border-radius:50%;display:inline-block}.layout{margin-left:234px;min-height:100vh}.topbar{height:83px;border-bottom:1px solid var(--line);padding:0 40px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#ffffffb3}.breadcrumb{display:flex;align-items:center;gap:11px;color:var(--muted);font-size:12px}.breadcrumb b{font-weight:500;color:var(--ink)}.top-actions{display:flex;align-items:center;gap:18px}.top-hint{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:7px}.avatar{background:#e9eee6;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:600}.user-btn{background:transparent;display:flex;align-items:center;gap:9px;font-size:12px}.main{max-width:1520px;margin:auto;padding:40px 40px 25px}.eyebrow{display:flex;align-items:center;gap:8px;color:var(--green);font-size:10px;font-weight:600;letter-spacing:2.3px}.intro{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:29px}.intro h1{font-size:clamp(30px,3.1vw,49px);line-height:1.32;letter-spacing:-1.8px;font-weight:800;margin:14px 0 12px}.intro h1 span{color:var(--green)}.intro p{font-size:12px;color:var(--muted);line-height:1.8;margin:0}.intro-aside{display:flex;gap:12px;align-items:center;color:var(--muted);font-size:11px;line-height:1.7;padding-bottom:5px}.intro-aside .icon{width:28px;height:28px;stroke-width:1.2;color:var(--green)}.workspace{display:grid;grid-template-columns:minmax(350px,1.08fr) minmax(330px,1fr);gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius)}.creator{padding:26px}.panel-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:25px}.panel-heading h2{font-size:17px;margin:0;display:flex;align-items:center;gap:9px;letter-spacing:-.3px}.badge{font-size:9px;letter-spacing:1px;background:#f3f5ef;color:#8a958a;padding:5px 8px;border-radius:5px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:23px}.tabs button{padding:0 0 12px;background:none;font-size:12px;color:#8b958d;position:relative}.tabs button.active{color:var(--green);font-weight:600}.tabs button.active:after{position:absolute;content:'';height:2px;bottom:-1px;left:0;right:0;background:var(--green)}.field{margin:0 0 22px}.field label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:500;margin-bottom:10px}.field label small{font-size:10px;color:var(--muted);font-weight:400}.prompt-wrap{position:relative}.prompt-wrap textarea{padding-bottom:36px}.prompt-count{position:absolute;bottom:12px;right:13px;color:#98a198;font-size:10px}.prompt-ideas{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 0}.chip{padding:6px 10px;background:#f5f7f1;border:1px solid #eef0e8;border-radius:6px;color:#85907f;font-size:10px;display:flex;align-items:center;gap:5px}.chip:hover{color:var(--green);border-color:#b6cdc0}.choice-row{display:flex;gap:8px}.choice{border:1px solid var(--line);background:white;border-radius:8px;padding:11px 10px;color:#7e8a80;font-size:11px;flex:1;display:flex;align-items:center;justify-content:center;gap:8px}.choice:hover{border-color:#a8c6b8}.choice.selected{color:var(--green);border-color:#8bbca5;background:#f2f8f0}.ratio{width:15px;height:15px;border:1px solid currentColor;display:inline-block;border-radius:2px}.ratio.portrait{width:11px;height:16px}.ratio.wide{width:19px;height:11px}.styles{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.style-button{background:none;padding:0;border-radius:9px;text-align:center;color:#8c968d;font-size:10px;border:1px solid var(--line);overflow:hidden;position:relative}.style-thumb{height:59px;display:block;overflow:hidden;position:relative;background:#e4e7de;margin:3px;border-radius:6px}.style-button span:last-child{display:block;padding:7px 0 8px}.style-button.selected{border-color:var(--green);color:var(--green)}.style-button.selected:after{content:'✓';display:grid;place-items:center;width:15px;height:15px;border-radius:50%;background:var(--green);color:white;position:absolute;top:7px;right:7px;font-size:9px}.thumb-photo{background:radial-gradient(ellipse at 48% 100%,#dbe1ca 0 22%,transparent 23%),linear-gradient(146deg,#b5caba 10%,#657c60 50%,#d3d6b2 51%,#d3d6b2 53%,#869765 54%)}.thumb-3d{background:#d1ebc9}.thumb-3d:before{content:'';width:42px;height:42px;display:block;border-radius:50% 40% 50% 30%;background:linear-gradient(145deg,#f5fff0,#8bad6e);box-shadow:7px 6px 8px #7b9d6070;transform:rotate(40deg);margin:8px auto}.thumb-art{background:repeating-linear-gradient(110deg,#f0bf79 0 14px,#c86440 15px 25px,#597e68 26px 35px)}.thumb-ink{background:linear-gradient(160deg,#e4e2d3,#faf9f1)}.thumb-ink:before{content:'';display:block;width:45px;height:45px;border-radius:50%;background:radial-gradient(ellipse at 20% 40%,#a0afa3 0 18%,transparent 19%),linear-gradient(140deg,transparent 32%,#adb7a9 33%,#536559 51%,transparent 52%);margin:8px auto}.two-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.two-fields .field{margin-bottom:16px}select{font-size:11px;padding:10px 12px}.generate{width:100%;background:var(--green);color:white;border-radius:10px;height:50px;font-size:13px;font-weight:500;display:flex;align-items:center;justify-content:center;gap:9px;box-shadow:0 4px 10px #087d7312}.generate:hover:not(:disabled){background:#076b63;box-shadow:0 7px 18px #087d732b}.generate .icon{width:18px}.generate small{color:#d4e8da;font-size:10px;font-weight:400;margin-left:6px;padding-left:15px;border-left:1px solid #ffffff40}.creator-note{text-align:center;font-size:10px;color:#909a90;margin:13px 0 0;line-height:1.7}.status-note{font-size:11px;color:#8a7651;background:#f8f5eb;border:1px solid #f1ebd9;padding:10px 12px;border-radius:8px;margin:14px 0 0;line-height:1.7}.showcase{position:relative;border-radius:18px;overflow:hidden;background:#08392e;min-height:574px;color:#fff}.showcase img{width:100%;height:574px;object-fit:cover;object-position:center;display:block;transition:transform .8s}.showcase:hover img{transform:scale(1.025)}.showcase:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#062c263a,transparent 40%,#032c22aa)}.art-top{position:absolute;z-index:1;left:24px;right:24px;top:23px;display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:2px;color:#dbe3d9}.art-tag{border:1px solid #ffffff4d;border-radius:20px;padding:6px 10px;letter-spacing:1px}.art-bottom{position:absolute;z-index:1;left:27px;right:27px;bottom:26px}.art-bottom h2{font-family:Arial,sans-serif;font-size:clamp(37px,4.4vw,65px);line-height:.95;letter-spacing:-3px;font-weight:800;margin:0 0 18px}.art-bottom h2 span{color:#e6f29c}.art-caption{display:flex;justify-content:space-between;align-items:center;font-size:9px;letter-spacing:1px;border-top:1px solid #ffffff40;padding-top:14px}.art-caption .icon{width:20px;height:20px}.result-panel{padding:24px;min-height:574px}.result-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.result-top h2{margin:0;font-size:15px}.result-top span{color:var(--green);font-size:10px}.result-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.image-card{border:1px solid var(--line);border-radius:12px;overflow:hidden}.image-card img{width:100%;max-height:380px;object-fit:contain;display:block;background:#edf0e9}.image-meta{padding:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px}.image-meta small{color:var(--muted);font-size:9px}.image-meta a{color:var(--green);font-weight:600}.image-card .delete-image{background:transparent;font-size:10px;color:var(--muted)}.loading-art{min-height:465px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.orb{width:78px;height:78px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center;margin-bottom:24px;position:relative}.orb:before{content:'';position:absolute;inset:-8px;border:1px solid transparent;border-top-color:var(--green);border-right-color:var(--green);border-radius:50%;animation:spin 2s linear infinite}.orb .icon{width:30px;height:30px;color:var(--green)}.loading-art h3{font-size:16px}.loading-art p{color:var(--muted);font-size:11px;line-height:1.8}.info-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:24px}.info-item{display:flex;gap:13px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:13px;background:#fff}.info-icon{width:35px;height:35px;border-radius:9px;display:grid;place-items:center;background:#f1f5eb;color:var(--green)}.info-item strong{font-size:11px;font-weight:500;display:block;margin-bottom:4px}.info-item small{font-size:9px;color:var(--muted)}.footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:20px;margin-top:29px;font-size:9px;color:#9aa298;letter-spacing:.5px}.footer span:last-child{font-family:Arial;letter-spacing:1px}.button{min-height:42px;border-radius:9px;padding:10px 16px;background:var(--green);color:white;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.button:hover{background:#086a62}.button.secondary{background:#eef3e9;color:var(--green)}.button.secondary:hover{background:#e0ead6}.button.ghost{background:transparent;border:1px solid var(--line);color:var(--muted)}.button.danger{background:#faeae5;color:#a1452d}.form-error{font-size:12px;color:#b3442c;line-height:1.7;min-height:20px;margin:10px 0}.link-btn{background:none;color:var(--green);padding:4px 0;font-size:12px}.auth-layout{max-width:930px;display:grid;grid-template-columns:1fr 1fr;margin:35px auto;gap:0;background:white;border:1px solid var(--line);border-radius:20px;overflow:hidden}.auth-art{background:#123d36;min-height:590px;position:relative}.auth-art img{width:100%;height:100%;object-fit:cover;position:absolute}.auth-art .art-bottom h2{font-size:46px}.auth-form{padding:38px 34px}.auth-form h1{font-size:27px;margin:14px 0 8px}.auth-form>p{font-size:12px;color:var(--muted);margin:0 0 30px}.auth-form .field{margin-bottom:17px}.auth-form .button{width:100%;margin-top:4px}.auth-switch{font-size:11px;color:var(--muted);text-align:center;margin-top:20px}.page-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px;gap:15px}.page-heading h1{font-size:31px;margin:12px 0 8px;letter-spacing:-1px}.page-heading p{font-size:12px;color:var(--muted);margin:0;line-height:1.8}.stat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:24px}.stat{padding:22px}.stat label{font-size:11px;color:var(--muted);display:block}.stat strong{font-size:35px;letter-spacing:-1px;font-weight:600;display:block;margin:10px 0 3px}.stat small{font-size:10px;color:var(--muted)}.admin-nav{display:flex;gap:10px;margin:24px 0;flex-wrap:wrap}.table-panel{overflow:hidden}.table-heading{padding:20px;display:flex;justify-content:space-between;align-items:center}.table-heading h2{font-size:15px;margin:0}.table-heading input{max-width:220px;font-size:11px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px;white-space:nowrap}th{font-weight:500;color:var(--muted);background:#f8faf5;padding:13px 20px}td{padding:16px 20px;border-top:1px solid var(--line)}td strong{font-size:12px}td small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.pill{display:inline-block;border-radius:20px;padding:4px 8px;font-size:10px;color:var(--green);background:#eef6e9}.pill.off{background:#f5ece8;color:#9a705b}.empty{padding:70px 24px;text-align:center;color:var(--muted)}.empty .icon{width:35px;height:35px;color:#a6b5a5;margin-bottom:12px}.empty h3{font-size:15px;color:var(--ink);font-weight:500}.empty p{font-size:12px;line-height:1.8}.settings-grid{display:grid;grid-template-columns:1.5fr 1fr;gap:24px}.settings-form{padding:28px}.settings-form h2{font-size:16px;margin:0 0 24px}.help{padding:25px;background:#f0f4e9;border:1px solid #e1e8d7;border-radius:18px;height:fit-content}.help h3{font-size:14px;margin-top:0}.help p,.help li{font-size:11px;color:#788474;line-height:1.9}.help ul{padding-left:17px}.account-panel{max-width:650px;padding:30px}.account-info{display:flex;gap:18px;align-items:center;margin-bottom:25px}.account-info .avatar{width:55px;height:55px;font-size:19px}.account-info h2{font-size:19px;margin:0 0 7px}.account-info p{color:var(--muted);font-size:12px;margin:0}.divider{height:1px;background:var(--line);margin:25px 0}.mobile-head{display:none}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,15px);background:var(--dark);color:white;box-shadow:0 10px 35px #00231f25;border-radius:10px;padding:12px 20px;z-index:100;font-size:12px;max-width:90vw;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:18px;padding:29px;max-width:440px;width:calc(100vw - 36px);color:var(--ink)}dialog::backdrop{background:#102b2470;backdrop-filter:blur(4px)}dialog h2{font-size:20px;margin:0 0 10px}dialog p{font-size:12px;line-height:1.8;color:var(--muted)}.modal-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.error-banner{padding:16px;border:1px solid #efd9cb;background:#fdf3ec;border-radius:12px;line-height:1.8;color:#ac563a;margin-bottom:20px;font-size:12px}.notice{padding:17px 20px;background:#eff6eb;border:1px solid #dfebd5;border-radius:12px;line-height:1.8;color:#687c61;font-size:11px;margin-bottom:20px}.code-value{font-family:monospace;font-size:13px;color:var(--green);letter-spacing:1px}.animate-in{animation:enter .5s both}@keyframes enter{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.main{padding-top:50px}.showcase,.showcase img,.result-panel{min-height:630px;height:630px}.creator{padding:30px}textarea{min-height:179px}.style-thumb{height:70px}.field{margin-bottom:25px}}
@media(max-width:1190px){.sidebar{width:205px;padding:25px 16px}.layout{margin-left:205px}.main{padding:28px}.topbar{padding:0 28px}.workspace{grid-template-columns:1.05fr 1fr;gap:18px}.creator{padding:21px}.intro-aside{display:none}.info-item{padding:15px 12px;gap:9px}.info-item small{font-size:8px}.showcase,.showcase img{height:576px}.top-hint{display:none}.choice{padding:10px 5px}.art-bottom h2{font-size:49px}}
@media(max-width:960px){.sidebar{width:78px;align-items:center;padding:22px 10px}.brand{gap:0}.brand>div:last-child,.school,.nav-label,.nav button span,.sidebar-bottom,.nav button.active:after{display:none}.nav{margin-top:35px;width:100%}.nav button{justify-content:center;padding:0}.layout{margin-left:78px}.workspace{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.styles{gap:5px}.style-thumb{height:49px}.creator{padding:18px}.intro h1{font-size:35px}.two-fields{gap:10px}.info-strip{gap:10px}.info-item{flex-direction:column;align-items:start}.art-bottom{left:20px;right:20px}.art-bottom h2{font-size:43px}.settings-grid{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:720px){.sidebar{display:none}.layout{margin-left:0}.topbar{height:73px;padding:0 20px}.breadcrumb{display:none}.mobile-head{display:flex}.mobile-head .brand-mark{width:34px;height:34px}.mobile-head .brand{gap:9px}.mobile-head .brand strong{font-size:16px}.mobile-head .brand small{font-size:8px;letter-spacing:1px}.top-actions{gap:10px}.top-actions>.button{font-size:11px;padding:8px 12px;min-height:36px}.user-btn span:not(.avatar){display:none}.main{padding:26px 20px 25px;padding-bottom:96px}.intro{margin-bottom:24px}.intro h1{font-size:36px;letter-spacing:-1.5px}.intro p{font-size:11px;max-width:290px}.eyebrow{font-size:9px}.workspace{grid-template-columns:1fr;gap:20px}.creator{padding:23px 20px}.field{margin-bottom:22px}.style-thumb{height:62px}.showcase,.showcase img{height:470px;min-height:470px}.art-bottom h2{font-size:55px}.art-top{left:22px;right:22px}.info-strip{grid-template-columns:1fr;gap:10px}.info-item{flex-direction:row;align-items:center;gap:14px;padding:15px 18px}.info-item small{font-size:10px}.footer{line-height:1.8;gap:15px;align-items:start}.footer span:last-child{max-width:90px;text-align:right}.mobile-nav{display:flex;position:fixed;bottom:0;left:0;right:0;z-index:40;background:#ffffffed;backdrop-filter:blur(15px);border-top:1px solid var(--line);padding:9px 14px calc(9px + env(safe-area-inset-bottom));justify-content:space-around}.mobile-nav button{background:none;display:flex;align-items:center;flex-direction:column;gap:5px;color:var(--muted);font-size:9px;padding:3px 12px}.mobile-nav button.active{color:var(--green)}.mobile-nav .icon{width:21px;height:21px}.auth-layout{display:block;margin:5px auto}.auth-art{display:none}.auth-form{padding:30px 24px}.auth-form h1{font-size:26px}.page-heading h1{font-size:27px}.stat-grid{gap:10px}.stat{padding:18px}.stat strong{font-size:29px}.page-heading{align-items:start}.page-heading>.button{white-space:nowrap;margin-top:28px;padding:10px 12px}.table-heading{padding:18px;gap:10px;align-items:center}.table-heading input{max-width:165px}th,td{padding:13px 17px}.settings-form{padding:22px}.result-panel{min-height:470px;padding:20px}.result-grid{grid-template-columns:1fr}.image-card img{max-height:440px}.account-panel{padding:24px}}
@media(min-width:721px){.mobile-nav{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.workspace{align-items:stretch}.showcase{height:auto}.showcase img{position:absolute;inset:0;height:100%;min-height:0}.mobile-head .brand>div:last-child{display:block}
@media(max-width:720px){.showcase{height:470px;min-height:470px}.art-bottom h2{font-size:44px;letter-spacing:-2px}.showcase img{height:100%}}
