:root{--paper:#f5f3ed;--white:#fffefa;--ink:#2c302d;--muted:#7c8076;--line:#e3e2d9;--soft:#eeeee6;--orange:#c36b44;--orange-dark:#9c4c2a;--peach:#f1d0b7;--green:#3d6b51;--red:#b44536;--shadow:0 12px 38px #32352a07;color:var(--ink);background:var(--paper);font-family:Inter,-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none;font-size:13px;line-height:1.6;color-scheme:light}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;color:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button{transition:background .18s,transform .18s,border-color .18s}button:active:not(:disabled){transform:scale(.98)}a{color:var(--orange-dark);text-decoration:none}a:hover{text-decoration:underline}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #c36b4466;outline-offset:3px}h1,h2,h3,p{margin:0}h1{font-size:31px;line-height:1.35;letter-spacing:-1.1px;font-weight:600}h2{font-size:17px;font-weight:600;letter-spacing:-.35px}h3{font-size:14px;font-weight:600}small{font-size:11px}svg{display:block}.icon{width:19px;height:19px;flex:none}.muted{color:var(--muted)}.mono,code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;font-size:11px}.number{font-variant-numeric:tabular-nums}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:18px}.wrap{flex-wrap:wrap}.grow{flex:1;min-width:0}.stack{display:grid;gap:18px}.mt{margin-top:22px}.small-gap{gap:8px}.hidden{display:none!important}.right{text-align:right}.eyebrow{font-size:10px;letter-spacing:2.2px;color:var(--orange);font-weight:600;margin-bottom:9px}.shell{display:grid;grid-template-columns:110px minmax(0,1fr);padding:20px 24px 20px 20px;gap:26px;min-height:100vh;max-width:1800px;margin:auto}.rail{position:sticky;top:20px;height:calc(100vh - 40px);min-height:620px;border-radius:38px;background:var(--ink);color:#eeeee4;display:flex;flex-direction:column;align-items:center;padding:27px 12px 20px;gap:34px;overflow:auto}.brand{color:inherit;display:flex;align-items:center;gap:11px}.brand-name{font-size:21px;letter-spacing:2px;font-weight:650}.brand-name small{display:block;font-size:8px;letter-spacing:2px;color:#a0a79c;font-weight:400}.brand-orbit{height:37px;width:46px;position:relative;display:grid;place-items:center;color:var(--peach)}.brand-orbit:before{content:"";height:20px;width:42px;border:1.5px solid currentColor;border-radius:50%;transform:rotate(-30deg);position:absolute}.brand-orbit:after{content:"";height:14px;width:14px;border-radius:50%;background:currentColor}.rail>.brand{display:flex;flex-direction:column;gap:11px}.rail .brand-name{font-size:13px;letter-spacing:2.4px}.rail .brand-name small{display:none}.rail nav{display:grid;width:100%;gap:9px}.nav-button{border:0;background:none;color:#a6aea2;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border-radius:24px;padding:13px 3px;font-size:10px;width:100%}.nav-button .nav-icon{height:36px;width:40px;display:grid;place-items:center;border-radius:18px}.nav-button:hover{background:#ffffff08;color:#f0f1e8}.nav-button.active{background:#ffffff09;color:var(--peach)}.nav-button.active .nav-icon{background:#f1d0b718;box-shadow:inset 0 0 0 1px #f1d0b72b}.rail-foot{margin-top:auto;text-align:center}.rail-signal{height:7px;width:7px;background:#a6bb9f;border-radius:50%;display:block;margin:0 auto 9px}.rail-foot small{font-size:8px;color:#a0a79c;letter-spacing:1px}.avatar-button{width:38px;height:38px;border-radius:50%;background:#595e50;border:1px solid #747b66;color:#f1d0b7;font-size:13px;margin-top:16px;display:grid;place-items:center}.main{min-width:0}.topbar{height:65px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--line);margin-bottom:31px}.breadcrumb{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb b{color:var(--ink);font-weight:500}.top-actions{display:flex;align-items:center;gap:12px}.env-tag{font-size:9px;display:inline-flex;align-items:center;gap:6px;letter-spacing:.5px;border:1px solid #d8d8ca;border-radius:20px;padding:5px 10px;color:#777b6c;white-space:nowrap}.env-tag:before{content:"";height:5px;width:5px;background:var(--orange);border-radius:50%}.balance-button{display:flex;gap:9px;align-items:center;border:1px solid var(--line);background:var(--white);border-radius:24px;padding:9px 15px;font-size:11px}.balance-button .icon{width:15px;height:15px;color:var(--muted)}.balance-button em{border-left:1px solid var(--line);padding-left:11px;color:var(--orange);font-style:normal;font-size:10px}.content{max-width:1450px;margin:auto;min-height:calc(100vh - 174px);animation:appear .3s ease}.page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:22px;margin-bottom:24px}.page-head p{color:var(--muted);font-size:11px;margin-top:9px}.project-picker{display:flex;align-items:center;gap:8px;min-width:190px}.project-picker select{border-radius:25px;background:var(--white);max-width:220px;padding:10px 34px 10px 14px}.btn{border:1px solid var(--line);border-radius:22px;background:var(--white);display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 16px;font-size:11px;font-weight:500;white-space:nowrap}.btn .icon{height:15px;width:15px}.btn:hover{border-color:#b7bbae;background:var(--soft)}.btn.primary{background:var(--ink);border-color:var(--ink);color:#fffdf5}.btn.primary:hover{background:#454b41;border-color:#454b41}.btn.accent{background:var(--orange);border-color:var(--orange);color:#fffaf3}.btn.accent:hover{background:var(--orange-dark)}.btn.ghost{background:transparent;border-color:transparent;color:var(--muted)}.btn.danger{color:var(--red);border-color:#e4c5ba}.btn.small{font-size:10px;min-height:29px;padding:5px 11px}.btn.block{width:100%}.icon-btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:transparent;display:grid;place-items:center;color:var(--muted);padding:6px}.icon-btn .icon{width:15px;height:15px}.stage{background:var(--white);padding:14px;border:1px solid var(--line);border-radius:33px;box-shadow:var(--shadow);margin-bottom:19px}.stage-head{display:flex;align-items:center;justify-content:space-between;padding:1px 8px 13px;color:var(--muted);font-size:10px;gap:15px}.stage-head strong{color:var(--ink);font-weight:500}.stage-art{height:clamp(240px,24vw,370px);min-height:240px;border-radius:23px;position:relative;overflow:hidden;background:#d7d6c4;isolation:isolate}.stage-art:before{content:"";position:absolute;inset:0;background:linear-gradient(155deg,#adbbae 0%,#d6c8aa 40%,#f0c296 70%,#dba484 100%)}.stage-sun{position:absolute;right:24%;top:12%;height:190px;width:190px;border-radius:50%;background:linear-gradient(145deg,#fae2b0,#f1b17e);box-shadow:0 0 70px #ffd1a944;animation:sun-float 9s ease-in-out infinite alternate}.stage-ring{height:340px;width:660px;position:absolute;right:6%;top:3%;border:1px solid #fff6dc66;border-radius:50%;transform:rotate(-18deg);z-index:1}.stage-ring:before{content:"";height:9px;width:9px;border-radius:50%;background:#fcebc9;position:absolute;top:6%;left:26%;box-shadow:0 0 18px #fff4c8}.terrain{position:absolute;width:125%;height:70%;left:-12%;bottom:-40%;border-radius:48% 52% 0 0;transform:rotate(-8deg);background:#7d8a72;box-shadow:0 -1px #ffffff22}.terrain.t2{bottom:-47%;left:-30%;width:150%;background:#515f50;transform:rotate(12deg)}.terrain.t3{bottom:-64%;left:3%;height:85%;background:#303e37;transform:rotate(-5deg)}.scene-caption{position:absolute;left:34px;top:38%;color:#fffbed;z-index:2;text-shadow:0 1px 20px #4a4b2a18}.scene-caption small{font-size:8px;letter-spacing:4px;color:#f8f3dd}.scene-caption strong{display:block;font-size:35px;font-weight:450;letter-spacing:1px;margin:9px 0}.scene-caption span{font-size:9px;letter-spacing:2px;color:#faf0d9}.scene-label{position:absolute;top:17px;left:20px;z-index:2;font-size:8px;letter-spacing:1px;padding:6px 10px;border-radius:15px;background:#fffbed2a;border:1px solid #fffbed44;color:#fffdf1;backdrop-filter:blur(8px)}.scene-bottom{position:absolute;left:23px;right:23px;bottom:17px;display:flex;align-items:center;justify-content:space-between;font-size:8px;color:#e1e4d6;z-index:2;letter-spacing:1px}.scene-bottom .orbit-line{display:flex;align-items:center;gap:9px}.scene-bottom .orbit-line:before{content:"";width:28px;height:1px;background:#e1e4d6}.stage-meta{display:flex;align-items:center;justify-content:space-between;gap:15px;color:var(--muted);font-size:9px;padding:13px 8px 1px}.stage video{width:100%;height:clamp(240px,24vw,370px);object-fit:contain;background:#202720;border-radius:23px}.console{background:var(--white);border:1px solid var(--line);border-radius:30px;padding:23px 26px;box-shadow:var(--shadow)}.console-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px;gap:15px}.console-title{display:flex;align-items:center;gap:11px}.console-symbol{height:37px;width:37px;background:var(--soft);border:1px solid #dedfd4;border-radius:50%;display:grid;place-items:center;color:var(--orange)}.console-title h2{font-size:14px}.console-title small{display:block;color:var(--muted);font-size:8px;letter-spacing:1.3px;margin-top:3px}.console-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(225px,.8fr) minmax(180px,.6fr);gap:24px}.console-settings,.console-launch{border-left:1px solid var(--line);padding-left:24px}.console textarea{min-height:105px;border-radius:16px;resize:vertical;font-size:11px;line-height:1.9}.console .field{margin-bottom:10px}.console .field small{font-size:9px}.model-tag{display:flex;justify-content:space-between;align-items:center;padding:9px 12px;border-radius:16px;background:var(--soft);font-size:10px;margin-bottom:12px;gap:8px}.model-tag small{font-size:8px;color:var(--muted)}.console-launch{display:flex;flex-direction:column;justify-content:center}.price-label{font-size:10px;color:var(--muted)}.price-value{font-size:33px;letter-spacing:-1.3px;font-weight:550;line-height:1.4}.price-value small{font-size:10px;color:var(--muted);letter-spacing:0;font-weight:400}.generate{min-height:45px;margin-top:12px}.footer-note{font-size:8px;color:var(--muted);margin-top:9px;line-height:1.8}.field{display:grid;gap:7px;margin-bottom:17px;min-width:0}.field label{font-size:11px;font-weight:500}.field small{font-size:10px;color:var(--muted);line-height:1.7}.field input,.field select,.field textarea,.input,select{width:100%;min-width:0;background:var(--white);border:1px solid var(--line);border-radius:12px;padding:10px 12px;transition:border-color .18s}.field input:focus,.field select:focus,.field textarea:focus,.input:focus,select:focus{outline:none;border-color:var(--orange);box-shadow:0 0 0 3px #c36b4410}.field textarea{min-height:100px;resize:vertical;line-height:1.8}.field input::placeholder,.field textarea::placeholder{color:#a3a69b}.field input[readonly]{background:var(--soft);color:var(--muted)}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.check{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.7;margin-bottom:15px}.check input{accent-color:var(--orange);width:15px;height:15px}.ideas{margin-top:24px}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:15px}.section-head h2{font-size:13px}.section-head span{font-size:9px;color:var(--muted)}.idea-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.idea{display:flex;align-items:center;gap:13px;text-align:left;background:transparent;border:1px solid var(--line);border-radius:22px;padding:16px 18px;min-width:0}.idea:hover{background:var(--white);border-color:#c2c6b8}.idea-symbol{display:grid;place-items:center;height:37px;width:37px;border-radius:50%;background:#e3e8dd;color:#6f7b61;flex:none}.idea:nth-child(2) .idea-symbol{background:#f0dfca;color:#a38460}.idea:nth-child(3) .idea-symbol{background:#e3dfd2;color:#8c8067}.idea strong{font-size:11px;font-weight:500}.idea small{display:block;font-size:9px;color:var(--muted);margin-top:3px}.idea>.icon{margin-left:auto;color:var(--muted);width:15px}.notice{font-size:11px;line-height:1.8;padding:12px 15px;border:1px solid #dddace;background:#efede3;color:#736e55;border-radius:16px;overflow-wrap:anywhere}.notice.local{margin-bottom:20px;font-size:10px;color:#8b674d;border-color:#e7d8c6;background:#f3ebe0;display:flex;align-items:flex-start;gap:9px}.notice.local>.icon{height:15px;width:15px;margin-top:2px}.notice.error{background:#faeee8;border-color:#ebc9be;color:var(--red)}.notice.success{background:#edf3e8;border-color:#cedbc6;color:var(--green)}.notice strong{font-weight:600}.badge{display:inline-flex;align-items:center;gap:5px;border-radius:20px;padding:4px 9px;font-size:9px;background:#eceee6;color:#7c8170;white-space:nowrap}.badge:before{content:"";height:4px;width:4px;background:currentColor;border-radius:50%}.badge.green{color:var(--green);background:#e8efe3}.badge.orange{color:#a66830;background:#f2e7d4}.badge.red{color:var(--red);background:#f6e6df}.badge.dark{color:var(--ink);background:#e2e6da}.card{background:var(--white);border:1px solid var(--line);border-radius:26px;padding:24px;box-shadow:var(--shadow);min-width:0}.card-header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.card-header h2{font-size:14px}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:22px}.stats.four{grid-template-columns:repeat(4,minmax(0,1fr))}.stat{background:var(--white);border:1px solid var(--line);border-radius:24px;padding:22px;min-width:0}.stat-label{display:flex;justify-content:space-between;gap:10px;align-items:center;font-size:10px;color:var(--muted)}.stat-label .icon{height:17px;width:17px;color:#9da58d}.stat-value{font-size:31px;font-weight:550;letter-spacing:-1px;margin:10px 0 4px;line-height:1.3}.stat small{font-size:9px;color:var(--muted)}.stat.dark{background:var(--ink);border-color:var(--ink);color:#f4efdf}.stat.dark .stat-label,.stat.dark small{color:#abb4a5}.stat.dark .stat-label .icon{color:var(--peach)}.two-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.table-scroll{overflow:auto;width:100%;border-radius:14px}.table{border-collapse:collapse;width:100%;text-align:left;font-size:11px}.table th{font-size:9px;letter-spacing:.3px;color:var(--muted);font-weight:500;padding:11px 13px;background:var(--soft);white-space:nowrap}.table td{padding:15px 13px;border-bottom:1px solid var(--line);vertical-align:middle;line-height:1.7}.table tr:last-child td{border-bottom:0}.table td small{font-size:9px;display:block;color:var(--muted);margin-top:2px}.table td .row{gap:5px}.empty{padding:43px 20px;text-align:center;color:var(--muted);font-size:11px}.empty>.icon{height:29px;width:29px;margin:0 auto 13px;color:#a9af9c}.empty h3{font-size:13px;color:var(--ink);font-weight:500;margin-bottom:6px}.empty p{font-size:10px;max-width:360px;margin:0 auto 17px}.task-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.task-card{border:1px solid var(--line);background:var(--white);border-radius:24px;overflow:hidden;min-width:0}.task-thumb{display:flex;justify-content:center;align-items:center;aspect-ratio:16/8.5;background:linear-gradient(145deg,#e2dfca,#c1c8b2);position:relative}.task-thumb>.icon{height:34px;width:34px;color:#788369}.task-thumb>.badge{position:absolute;top:12px;left:12px}.task-thumb video{width:100%;height:100%;object-fit:contain;position:absolute;inset:0;background:#27332b}.task-card-body{padding:17px}.task-card-body>p{font-size:11px;height:38px;line-height:1.8;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin-bottom:15px}.task-card-meta{display:flex;justify-content:space-between;gap:10px;font-size:9px;color:var(--muted);margin-bottom:13px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.project-card{display:flex;flex-direction:column;text-align:left;border-radius:24px;padding:24px;border:1px solid var(--line);background:var(--white);min-height:170px}.project-card:hover{border-color:#aeb79e;background:#fdfdf7}.project-card .icon{height:27px;width:27px;color:var(--orange);margin-bottom:18px}.project-card strong{font-weight:550;font-size:14px;overflow-wrap:anywhere}.project-card small{color:var(--muted);font-size:9px;margin-top:5px}.filterbar{display:flex;align-items:flex-end;gap:12px;margin-bottom:22px;flex-wrap:wrap}.filterbar .field{margin:0;flex:1;min-width:130px;max-width:260px}.filterbar .field label{font-size:9px;color:var(--muted)}.filterbar .field input,.filterbar .field select{border-radius:18px;background:var(--white);font-size:11px}.recharge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.recharge-option{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:19px 12px;text-align:center}.recharge-option:hover{border-color:var(--orange);background:#f6ecdf}.recharge-option strong{font-size:25px;font-weight:500;letter-spacing:-.5px}.recharge-option small{display:block;font-size:9px;color:var(--muted);margin-top:5px}.wallet-top{display:grid;grid-template-columns:1.1fr 1fr;gap:20px;margin-bottom:22px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 24px;margin:20px 0}.detail-grid dt{font-size:9px;color:var(--muted);margin-bottom:4px}.detail-grid dd{margin:0;font-size:11px;overflow-wrap:anywhere}.detail-grid .full{grid-column:1/-1}.detail-grid dd.prompt{white-space:pre-wrap;padding:13px;border-radius:14px;background:var(--soft);line-height:1.8}.detail-video{width:100%;max-height:360px;background:#27332b;border-radius:18px}.divider{border:0;border-top:1px solid var(--line);margin:23px 0}.record-list{display:grid;gap:10px}.record{padding:12px 14px;border:1px solid var(--line);border-radius:15px;font-size:10px;overflow-wrap:anywhere}.record .between{margin-bottom:4px}.record small{color:var(--muted);font-size:9px}.record pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0 0;font-size:10px}.footer{margin-top:30px;padding:21px 2px 0;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;font-size:8px;color:#929687;letter-spacing:.5px}.footer span:first-child{color:#747c69}.admin-shell{grid-template-columns:215px minmax(0,1fr);gap:27px}.admin-rail{border-radius:32px;align-items:stretch;padding:28px 18px 20px;gap:35px}.admin-rail>.brand{flex-direction:row;gap:7px;padding-left:4px}.admin-rail .brand-name{font-size:20px;letter-spacing:1.5px}.admin-rail .brand-name small{display:block;font-size:7px;letter-spacing:1.6px;margin-top:2px}.admin-rail .nav-button{flex-direction:row;justify-content:flex-start;gap:11px;padding:8px 12px;font-size:11px;border-radius:19px}.admin-rail .nav-icon{height:29px;width:28px}.admin-rail .nav-icon .icon{height:17px;width:17px}.admin-rail .nav-button.active .nav-icon{background:none;box-shadow:none}.admin-rail .rail-foot{border-top:1px solid #ffffff15;padding-top:18px;display:flex;align-items:center;gap:9px;text-align:left}.admin-rail .avatar-button{margin:0;flex:none;height:31px;width:31px;font-size:11px}.admin-rail .rail-foot strong{font-size:10px;display:block;font-weight:500}.admin-rail .rail-foot small{font-size:8px;letter-spacing:0}.admin-login{display:grid;grid-template-columns:minmax(0,1fr) 430px;min-height:100vh;padding:27px;gap:28px;max-width:1500px;margin:auto}.login-art{border-radius:40px;background:var(--ink);position:relative;overflow:hidden;padding:37px;color:#f1eddf;display:flex;flex-direction:column;justify-content:space-between;min-height:620px}.login-orbit{position:absolute;width:510px;height:510px;border:1px solid #f1d0b74a;border-radius:50%;right:-80px;top:15%;transform:rotate(-28deg)}.login-orbit:before{content:"";position:absolute;inset:75px;border:1px solid #f1d0b72a;border-radius:50%}.login-orbit:after{content:"";position:absolute;width:185px;height:185px;border-radius:50%;background:linear-gradient(135deg,#c38057,#a85232);top:20%;left:20%;box-shadow:0 0 80px #c3805722}.login-art h1{font-size:44px;font-weight:450;max-width:430px;position:relative;z-index:1;line-height:1.55;letter-spacing:0}.login-art p{font-size:11px;color:#aab39f;position:relative;margin-top:20px;max-width:370px;line-height:2}.login-art-foot{font-size:9px;color:#858e7b;display:flex;justify-content:space-between;gap:12px}.login-form-wrap{display:flex;justify-content:center;flex-direction:column;padding:25px}.login-form-wrap .eyebrow{font-size:9px}.login-form-wrap h2{font-size:28px;font-weight:500;margin-bottom:12px}.login-form-wrap>p{color:var(--muted);font-size:11px;margin-bottom:28px}.login-form-wrap form{margin:24px 0 16px}.login-form-wrap .field input{background:var(--white);border-radius:15px;padding:13px}.boot{height:100vh;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:18px;color:var(--muted);font-size:12px}.spinner{height:25px;width:25px;border:2px solid var(--line);border-top-color:var(--orange);border-radius:50%;animation:spin .7s linear infinite;display:inline-block}.loading{padding:85px 20px;display:flex;align-items:center;justify-content:center;gap:13px;font-size:11px;color:var(--muted)}.loading .spinner{height:18px;width:18px}.fatal{max-width:500px;margin:12vh auto;padding:30px}.fatal h1{font-size:23px;margin:20px 0 10px}.fatal p{font-size:12px;margin-bottom:20px}dialog{padding:0;border:1px solid var(--line);border-radius:29px;background:var(--white);color:var(--ink);box-shadow:0 30px 100px #1d251e30;width:min(540px,calc(100vw - 36px));max-height:calc(100dvh - 42px);overflow:auto}dialog.wide{width:min(830px,calc(100vw - 36px))}dialog::backdrop{background:#202a2470;backdrop-filter:blur(5px)}.modal-inner{padding:27px}.modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:23px}.modal-head h2{font-size:21px;font-weight:550}.modal-head p{font-size:10px;color:var(--muted);margin-top:7px}.modal-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:24px}.modal-error:empty{display:none}.modal-error{margin-bottom:17px}.auth-tabs{display:flex;gap:4px;margin-bottom:21px;background:var(--soft);border-radius:18px;padding:4px}.auth-tabs button{flex:1;padding:8px 6px;border:0;border-radius:15px;background:transparent;font-size:10px;color:var(--muted)}.auth-tabs button.active{background:var(--white);color:var(--ink);box-shadow:0 2px 5px #30372908}.auth-links{display:flex;justify-content:space-between;margin-top:15px}.auth-links button{border:0;background:none;color:var(--muted);font-size:10px;padding:2px}.code-row{display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:10px;align-items:end}.code-row .field{margin-bottom:0}.test-code{margin-top:10px;font-size:10px;line-height:1.8;color:#956343;background:#f7eadb;border:1px dashed #ddc7ab;padding:10px 13px;border-radius:13px}.secret-box{white-space:pre-wrap;word-break:break-all;padding:17px;background:var(--ink);color:var(--peach);border-radius:15px;font-size:12px;user-select:all;margin-top:15px}.quote-price{text-align:center;background:var(--soft);padding:24px;border-radius:21px;margin-bottom:19px}.quote-price small{font-size:10px;color:var(--muted)}.quote-price strong{display:block;font-size:44px;font-weight:500;letter-spacing:-1px;margin:3px 0 5px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%) translateY(20px);opacity:0;pointer-events:none;z-index:20;background:var(--ink);color:#f5f0df;border:1px solid #656e5d;padding:12px 20px;border-radius:24px;font-size:11px;box-shadow:0 5px 30px #303b2920;transition:opacity .2s,transform .2s;max-width:calc(100vw - 30px);text-align:center}#toast.show{opacity:1;transform:translateX(-50%) translateY(0)}.help-code{background:var(--ink);color:#d5ddc8;padding:17px;border-radius:17px;white-space:pre-wrap;overflow:auto;line-height:1.9;font-size:10px;margin:15px 0}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes appear{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes sun-float{to{transform:translateY(-9px)}}
@media(min-width:1600px){.shell{padding-top:26px;gap:35px}.rail{top:26px;height:calc(100vh - 52px)}.topbar{height:70px;margin-bottom:35px}.stage-art,.stage video{height:370px}.console textarea{min-height:119px}.scene-caption strong{font-size:43px}.stage-sun{width:230px;height:230px}}
@media(max-width:1150px){.shell{padding:16px 18px 16px 14px;gap:17px;grid-template-columns:90px minmax(0,1fr)}.rail{top:16px;height:calc(100vh - 32px);padding:24px 8px 18px;border-radius:32px}.rail .brand-name{font-size:11px}.console{padding:21px}.console-grid{grid-template-columns:minmax(0,1.3fr) minmax(200px,.85fr);gap:20px}.console-launch{grid-column:1/-1;border-left:0;border-top:1px solid var(--line);padding:17px 0 0;display:grid;grid-template-columns:1fr 210px;gap:0 20px;align-items:center}.console-launch .generate{margin:0}.console-launch .footer-note{grid-column:1/-1}.console-launch .price-value{font-size:28px}.task-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-shell{grid-template-columns:185px minmax(0,1fr)}.admin-rail{padding:26px 13px 18px}.admin-rail .brand-name{font-size:17px}.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-top{grid-template-columns:1fr}.login-art h1{font-size:36px}.admin-login{grid-template-columns:minmax(0,1fr) 400px}}
@media(max-width:850px){h1{font-size:28px}.topbar{margin-bottom:25px}.env-tag{display:none}.console-grid{gap:16px}.console-settings{padding-left:16px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.idea{padding:14px;gap:9px}.idea-symbol{height:30px;width:30px}.idea strong{font-size:10px}.idea small{display:none}.scene-caption strong{font-size:29px}.stats{gap:10px}.stat{padding:18px}.stat-value{font-size:26px}.two-grid{grid-template-columns:1fr}.admin-shell{grid-template-columns:165px minmax(0,1fr);gap:17px}.admin-rail .brand-orbit{width:35px}.admin-rail .brand-name{font-size:15px}.admin-rail .nav-button{font-size:10px;padding:8px}.admin-login{grid-template-columns:minmax(0,1fr) 370px;padding:18px;gap:14px}.login-art{padding:28px;min-height:560px}.login-art h1{font-size:28px}.login-form-wrap{padding:18px}.login-art-foot{font-size:8px;flex-direction:column}.login-orbit{right:-280px}.project-picker{min-width:145px}.project-picker select{max-width:170px}}
@media(max-width:680px){:root{font-size:12px}.shell,.admin-shell{display:block;padding:12px}.rail,.admin-rail{position:relative;top:auto;height:auto;min-height:0;border-radius:25px;padding:16px;display:flex;flex-direction:row;align-items:center;gap:12px;overflow:visible}.rail>.brand,.admin-rail>.brand{flex-direction:row;gap:8px}.rail .brand-name,.admin-rail .brand-name{font-size:16px;letter-spacing:1.7px}.rail .brand-orbit,.admin-rail .brand-orbit{width:33px;height:28px}.brand-orbit:before{width:32px;height:15px}.brand-orbit:after{width:11px;height:11px}.rail .brand-name small{display:block;font-size:6px;letter-spacing:1.3px;margin-top:2px}.rail nav,.admin-rail nav{display:flex;position:absolute;top:calc(100% + 12px);left:0;right:0;gap:5px;overflow-x:auto;padding:0 0 9px;scrollbar-width:thin}.nav-button,.admin-rail .nav-button{width:auto;flex:none;flex-direction:row;justify-content:flex-start;border:1px solid var(--line);background:var(--white);color:var(--muted);font-size:10px;padding:7px 13px;border-radius:20px;gap:6px}.nav-button .nav-icon,.admin-rail .nav-icon{height:17px;width:17px}.nav-button .icon,.admin-rail .nav-icon .icon{height:14px;width:14px}.nav-button.active,.admin-rail .nav-button.active{background:var(--ink);color:var(--peach);border-color:var(--ink)}.nav-button.active .nav-icon{background:none;box-shadow:none}.rail-foot,.admin-rail .rail-foot{margin:0 0 0 auto;border:0;padding:0;display:block}.rail-foot>.rail-signal,.rail-foot>small,.admin-rail .rail-foot>div{display:none}.avatar-button,.admin-rail .avatar-button{height:29px;width:29px;font-size:11px;margin:0}.topbar{margin-top:58px;height:55px;margin-bottom:22px;gap:8px}.breadcrumb{font-size:9px;gap:8px}.breadcrumb>.icon{width:13px;height:13px}.breadcrumb>span{display:none}.top-actions{gap:4px}.balance-button{font-size:10px;padding:8px 10px;gap:6px}.balance-button em{font-size:9px;margin-left:0;padding-left:7px}.balance-button .icon{height:13px;width:13px}.top-actions>.btn{font-size:9px;min-height:31px;padding:6px 11px}.top-actions>.icon-btn{width:28px;height:28px}.page-head{gap:10px;margin-bottom:19px;align-items:flex-start}.page-head h1{font-size:25px;letter-spacing:-.7px}.page-head p{font-size:10px;max-width:260px;margin-top:7px;line-height:1.8}.eyebrow{font-size:8px;letter-spacing:1.6px;margin-bottom:7px}.project-picker{gap:5px;min-width:0;margin-top:21px}.project-picker select{max-width:125px;padding:8px 8px;font-size:9px}.project-picker .icon-btn{width:27px;height:27px}.stage{padding:10px;border-radius:25px;margin-bottom:14px}.stage-head{font-size:8px;padding:0 3px 10px}.stage-head>span:last-child{font-size:7px}.stage-art{height:235px;min-height:0;border-radius:18px}.stage-sun{height:130px;width:130px;right:15%;top:13%}.stage-ring{height:220px;width:400px;right:-12%;top:4%}.scene-caption{left:23px;top:39%}.scene-caption strong{font-size:27px;margin:8px 0}.scene-caption small{font-size:6px;letter-spacing:2px}.scene-caption span{font-size:7px;letter-spacing:1.1px}.scene-label{font-size:6px;left:13px;top:12px;padding:5px 8px}.scene-bottom{left:15px;right:15px;bottom:14px;font-size:6px}.stage-meta{font-size:8px;padding:10px 4px 0;align-items:flex-start}.stage-meta>span:last-child{font-size:7px;max-width:160px;text-align:right}.stage video{height:235px;border-radius:18px}.console{border-radius:25px;padding:19px}.console-head{margin-bottom:18px}.console-title h2{font-size:13px}.console-title small{font-size:7px}.console-symbol{width:32px;height:32px}.console-head .badge{font-size:8px;padding:4px 7px}.console-grid{display:block}.console textarea{min-height:127px}.console-settings{border-left:0;border-top:1px solid var(--line);padding:17px 0 0;margin-top:16px}.console-settings .field{margin-bottom:12px}.console-launch{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:0 12px;margin-top:7px;padding-top:15px}.console-launch .price-value{font-size:29px}.console-launch .price-label{font-size:9px}.console-launch .generate{font-size:10px;padding:9px 12px;min-height:45px}.console .field small{font-size:8px}.ideas{margin-top:22px}.idea-grid{gap:7px}.idea{flex-direction:column;gap:8px;padding:13px 7px;text-align:center;border-radius:20px}.idea strong{font-size:9px}.idea>.icon{display:none}.idea-symbol{height:29px;width:29px}.idea-symbol>.icon{width:17px}.section-head h2{font-size:12px}.section-head span{font-size:8px}.notice.local{font-size:9px;padding:11px 13px;margin-bottom:17px}.notice{font-size:10px;border-radius:14px}.card{padding:19px;border-radius:23px}.stats{gap:8px;margin-bottom:18px}.stat{padding:17px 12px;border-radius:22px}.stat-label{font-size:8px;gap:4px}.stat-label .icon{height:13px;width:13px}.stat-value{font-size:25px;margin:10px 0 5px}.stat small{font-size:8px}.stats.four{grid-template-columns:repeat(2,minmax(0,1fr))}.wallet-top{gap:15px}.recharge-grid{gap:8px}.recharge-option{padding:16px 10px;border-radius:18px}.recharge-option strong{font-size:23px}.recharge-option small{font-size:8px}.filterbar{gap:9px;margin-bottom:19px}.filterbar .field{min-width:120px;max-width:none}.filterbar .field input,.filterbar .field select{font-size:10px;padding:9px 11px}.task-grid{grid-template-columns:1fr;gap:14px}.task-card{display:grid;grid-template-columns:115px minmax(0,1fr);border-radius:21px}.task-thumb{aspect-ratio:auto;min-height:135px}.task-thumb>.badge{top:10px;left:8px;font-size:7px;padding:4px 7px}.task-thumb>.icon{height:25px;width:25px}.task-card-body{padding:15px 13px}.task-card-body>p{margin-bottom:10px;font-size:10px}.task-card-meta{font-size:8px;margin-bottom:10px}.task-card-body>.row{gap:5px}.task-card .btn.small{font-size:9px;min-height:27px;padding:4px 9px}.project-grid{gap:10px}.project-card{padding:19px;min-height:150px;border-radius:22px}.project-card strong{font-size:12px}.project-card .icon{height:23px;width:23px}.project-card small{font-size:8px}.two-grid{gap:16px}.table th{font-size:8px;padding:10px}.table td{font-size:10px;padding:13px 10px}.table td small{font-size:8px}.table .btn.small{font-size:9px}.table code{font-size:10px}.form-grid.three{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid{gap:0 12px}.field label{font-size:10px}.field input,.field select,.field textarea{font-size:11px;padding:10px 11px}.field small{font-size:9px}.footer{font-size:7px;margin-top:23px;padding-top:17px;gap:8px}.footer span:last-child{font-size:6px}.admin-login{display:block;padding:12px}.login-art{min-height:255px;height:255px;border-radius:28px;padding:23px}.login-art .brand-name{font-size:17px}.login-art h1{font-size:24px;line-height:1.5;max-width:240px}.login-art p{font-size:9px;max-width:240px;line-height:1.8;margin-top:9px}.login-art-foot{display:none}.login-orbit{right:-85px;top:-10%;height:300px;width:300px}.login-orbit:before{inset:40px}.login-orbit:after{width:100px;height:100px;left:28%;top:25%}.login-form-wrap{max-width:430px;margin:auto;padding:29px 17px}.login-form-wrap h2{font-size:24px}.login-form-wrap>p{font-size:10px;margin-bottom:18px}.login-form-wrap .eyebrow{font-size:8px}.login-form-wrap form{margin-top:19px}.modal-inner{padding:23px}.modal-head{margin-bottom:20px}.modal-head h2{font-size:19px}.modal-head p{font-size:9px}.modal-foot .btn{font-size:10px}.detail-grid{gap:13px 16px}.detail-grid dt{font-size:8px}.detail-grid dd{font-size:10px}.record{font-size:9px}.record small{font-size:8px}.record pre{font-size:9px}.detail-video{max-height:260px}.quote-price strong{font-size:39px}.code-row{grid-template-columns:minmax(0,1fr) 100px}.fatal{margin:8vh 13px;padding:22px}.fatal h1{font-size:22px}.fatal p{font-size:11px}}
@media(max-width:370px){.page-head h1{font-size:22px}.page-head p{font-size:9px}.project-picker select{max-width:103px;font-size:8px}.console{padding:17px}.console-launch{grid-template-columns:1fr 139px}.console-launch .generate{font-size:9px}.breadcrumb b{font-size:8px}.scene-caption strong{font-size:25px}.stat{padding:15px 10px}.stat-value{font-size:22px}.task-card{grid-template-columns:90px minmax(0,1fr)}.task-card-body{padding:13px 11px}.form-grid.three{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Compact user pages share one header, grid and control rhythm. */
.page-head-actions{display:flex;align-items:center;justify-content:flex-end;gap:9px;flex-wrap:wrap;min-width:0}
.usage-reminder{position:relative;flex:none;font-size:11px;color:var(--muted)}
.usage-reminder>summary{display:flex;align-items:center;gap:6px;list-style:none;cursor:pointer;border:1px solid var(--line);border-radius:20px;padding:7px 12px;background:var(--white);min-height:36px;white-space:nowrap}
.usage-reminder>summary::-webkit-details-marker{display:none}.usage-reminder>summary .icon{width:14px;height:14px}.usage-reminder[open]>summary{border-color:#c9b99e;color:var(--orange-dark)}
.usage-reminder-body{position:absolute;z-index:8;right:0;top:calc(100% + 9px);width:360px;max-width:calc(100vw - 36px);padding:16px;background:var(--white);border:1px solid var(--line);border-radius:18px;box-shadow:0 14px 38px #32352a16;line-height:1.8;font-size:11px;overflow-wrap:anywhere}
.usage-reminder-body p+p{margin-top:9px}.manual-payment-code{display:block;width:220px;max-width:100%;height:auto;border-radius:12px;background:#fff;margin:12px 0}
.user-shell .topbar{margin-bottom:22px}.user-shell .page-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:16px;margin-bottom:18px}.user-shell .page-head-copy{min-width:0}.user-shell .page-head h1{font-size:27px;letter-spacing:-.7px}.user-shell .page-head p{margin-top:6px;font-size:11px}.user-shell .eyebrow{font-size:9px;margin-bottom:6px;letter-spacing:1.7px}
.user-shell .card{padding:20px;border-radius:24px}.user-shell .card-header{gap:12px;margin-bottom:16px;flex-wrap:wrap;align-items:center}.user-shell .card-header>div{min-width:0}.user-shell .card-header h2{font-size:14px}.user-shell .two-grid,.user-shell .project-grid,.user-shell .task-grid{gap:16px}.user-shell .mt{margin-top:16px}.user-shell .btn{min-height:36px;padding:8px 13px}.user-shell .btn.small{min-height:30px;padding:5px 10px}.user-shell .project-picker{margin:0;min-width:0}.user-shell .project-card{min-height:144px;padding:20px}.user-shell .project-card .icon{margin-bottom:14px}.user-shell .filterbar{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));align-items:end;gap:12px;margin-bottom:16px}.user-shell .filterbar .field{max-width:none;min-width:0}.user-shell .filterbar>.btn{min-height:39px;justify-self:start}.user-shell .field{gap:6px;margin-bottom:14px}.user-shell .field input,.user-shell .field select{padding:9px 11px;min-height:39px}.user-shell .form-grid{column-gap:16px}
.user-shell .wallet-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.user-shell .wallet-stats .stat{padding:16px 20px;border-radius:22px}.user-shell .wallet-stats .stat-value{font-size:27px;margin:6px 0 2px}.manual-amount-controls{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:16px;align-items:end}.manual-amount-controls>.field{margin:0}.manual-amount-controls .recharge-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.manual-amount-controls .recharge-option{padding:11px 9px;border-radius:16px;min-height:49px}.manual-amount-controls .recharge-option strong{font-size:19px}.manual-amount-note{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:16px 0 12px;font-size:11px}.manual-amount-note strong{font-size:13px;font-weight:550}.manual-amount-note span{color:var(--muted)}
.manual-code-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.manual-code-card{min-width:0;display:flex;flex-direction:column;align-items:center;text-align:center;border:1px solid var(--line);border-radius:20px;padding:16px;background:var(--paper)}.manual-code-card header strong{display:block;font-size:12px;font-weight:550}.manual-code-card header small{display:block;font-size:10px;color:var(--muted);margin-top:2px}.manual-code-card .manual-payment-code{width:176px;height:176px;object-fit:contain;padding:8px;border-radius:12px;margin:13px auto 10px;max-width:100%;background:#fff}.manual-code-card p{font-size:10px;color:var(--muted);overflow-wrap:anywhere}.manual-code-empty{display:grid;place-items:center;width:176px;max-width:100%;height:176px;margin:13px auto 10px;border:1px dashed var(--line);border-radius:12px;font-size:11px;color:var(--muted)}.manual-contact{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:11px}.manual-contact>div{min-width:0}.manual-contact small{display:block;font-size:10px;color:var(--muted);overflow-wrap:anywhere;margin-top:4px}.manual-contact p strong{font-weight:550}
@media(max-width:900px){.manual-amount-controls{grid-template-columns:1fr}.manual-code-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.manual-amount-controls>.field{max-width:260px}}
@media(max-width:680px){.user-shell .topbar{margin-bottom:18px}.user-shell .page-head{grid-template-columns:1fr;align-items:start;gap:12px;margin-bottom:16px}.user-shell .page-head h1{font-size:24px}.user-shell .page-head p{max-width:none}.page-head-actions{justify-content:space-between;gap:8px}.user-shell .project-picker{flex:1}.user-shell .project-picker select{max-width:100%;font-size:11px;padding:8px 10px}.usage-reminder-body{right:0;width:330px}.user-shell .card{padding:16px;border-radius:21px}.user-shell .two-grid,.user-shell .project-grid,.user-shell .task-grid{gap:12px}.user-shell .card-header{margin-bottom:13px}.user-shell .filterbar{gap:10px}.user-shell .filterbar>.btn{justify-self:stretch}.user-shell .wallet-stats .stat{padding:14px}.user-shell .wallet-stats .stat-value{font-size:24px}.user-shell .project-card{padding:17px;min-height:136px}.manual-code-card{padding:14px}.manual-amount-note{gap:5px 12px}.manual-contact{gap:12px}.manual-contact .btn{width:100%}}
@media(max-width:560px){.manual-code-grid{grid-template-columns:1fr}.manual-code-card .manual-payment-code,.manual-code-empty{width:190px;height:190px}.manual-amount-controls .recharge-grid{gap:7px}.manual-amount-controls .recharge-option{padding:10px 5px}.manual-amount-controls .recharge-option strong{font-size:17px}.manual-amount-controls>.field{max-width:none}}
.usage-reminder-body{max-height:min(70vh,520px);overflow:auto}
@media(max-width:680px){.page-head-actions>.usage-reminder:only-child{margin-left:auto}}

/* Page-specific controls and a sidebar that never compresses its last item. */
.user-shell .rail{min-height:0;gap:20px;padding:22px 12px 16px;overflow:auto}.user-shell .rail>.brand{flex-shrink:0}.user-shell .rail nav{display:grid;grid-auto-rows:62px;gap:6px;flex:0 0 auto}.user-shell .rail .nav-button{height:62px;min-height:62px;justify-content:center;align-items:center;padding:6px 2px;margin:0;gap:5px;flex-shrink:0}.user-shell .rail .nav-icon{height:28px;width:34px;flex:none}.user-shell .rail-foot{margin-top:auto;flex-shrink:0;min-height:25px;max-width:100%;padding-top:6px}.user-shell .rail-foot small{display:block;max-width:75px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:0;font-size:9px}.user-shell .rail-signal{margin-bottom:5px}.page-head-actions:empty{display:none}.page-note{font-size:11px;color:var(--muted);line-height:1.8;margin:0 0 14px}.project-picker{flex-direction:column;gap:4px}.project-picker>label{font-size:10px;color:var(--muted)}.project-picker select{text-align:center;text-align-last:center}.modal-head>div{min-width:0}.modal-head p,.modal-head h2{overflow-wrap:anywhere}.modal-foot{flex-wrap:wrap}.modal-inner .form-grid{align-items:start}.modal-inner .check{align-items:flex-start}.modal-inner .check input{flex:none;margin-top:3px}
#toast{top:calc(94px + env(safe-area-inset-top,0px));right:max(22px,env(safe-area-inset-right,0px));bottom:auto;left:auto;transform:translateY(-8px);max-width:min(360px,calc(100vw - 36px));width:max-content;display:flex;align-items:flex-start;gap:13px;padding:12px 13px 12px 16px;border-radius:17px;text-align:left;line-height:1.7;visibility:hidden;pointer-events:none}#toast.show{transform:none;visibility:visible;pointer-events:none}#toast>span{min-width:0;overflow-wrap:anywhere}#toast>button{flex:none;border:0;background:transparent;color:inherit;font-size:18px;line-height:1;width:24px;height:24px;padding:2px;border-radius:50%;pointer-events:auto}#toast>button:hover{background:#ffffff1a}
@media(max-height:740px) and (min-width:681px){.user-shell .rail{gap:12px;padding-top:16px}.user-shell .rail nav{grid-auto-rows:55px;gap:4px}.user-shell .rail .nav-button{height:55px;min-height:55px}.user-shell .rail .brand-name{font-size:11px}}
@media(max-width:680px){.user-shell .rail{overflow:visible;gap:12px;padding:15px 16px}.user-shell .rail nav{display:grid;grid-auto-flow:column;grid-template-rows:38px;grid-auto-columns:102px;grid-auto-rows:38px;gap:6px;overflow-x:auto;align-items:center;padding-bottom:8px}.user-shell .rail .nav-button{height:38px;min-height:38px;width:102px;justify-content:center;flex-direction:row;gap:6px;padding:7px 9px}.user-shell .rail .nav-icon{height:17px;width:17px}.user-shell .rail-foot{margin:0 0 0 auto;padding:0;min-height:0}.user-shell .rail-foot small{display:block;max-width:80px;color:#c4cbbc}.user-shell .rail-signal{display:none}.modal-foot>.btn{flex:1}.modal-inner{padding:20px}#toast{top:calc(142px + env(safe-area-inset-top,0px));right:max(14px,env(safe-area-inset-right,0px));max-width:calc(100vw - 28px);font-size:11px}}
.user-shell .account-grid>.card{display:flex;flex-direction:column}.user-shell .account-grid form{display:flex;flex-direction:column;flex:1;align-items:stretch}.user-shell .account-grid form>.btn[type=submit]{margin-top:auto;align-self:flex-start}.user-shell .account-grid .card-header{flex:none}

/* Image/video history share the existing project navigation. */
.history-product-tabs{display:flex;align-items:center;gap:8px;margin:0 0 18px;flex-wrap:wrap}.history-product-tabs[hidden]{display:none}.history-product-tabs .btn{font-size:12px;padding:9px 18px;min-height:38px}.admin-image-result{display:block;width:auto;max-width:100%;max-height:420px;object-fit:contain;margin:0 auto 22px;border-radius:18px;background:var(--canvas,#f6f4ed)}

/* Shared creation controls. Project cards and project actions retain their layout. */
.user-shell{--studio-control-height:38px;--studio-control-radius:12px;--studio-panel-radius:24px;--studio-panel-padding:20px;--studio-gap:12px}
.user-shell .account-grid .field input,.user-shell .manual-wallet .field input{height:var(--studio-control-height);min-height:var(--studio-control-height);border-radius:var(--studio-control-radius)}
.user-shell .account-grid form>.btn,.user-shell .manual-wallet .btn{min-height:var(--studio-control-height);border-radius:var(--studio-control-radius)}

.user-shell{--studio-select-arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%237c8076' stroke-width='1.5'/%3E%3C/svg%3E")}
@media(max-width:680px){.user-shell{--studio-panel-padding:16px;--studio-panel-radius:21px}}
