:root{color-scheme:dark;--nav: #0d0f12;--nav-soft: #171a1f;--nav-line: rgba(255,255,255,.08);--canvas: #090a0c;--paper: #121519;--paper-2: #171a1f;--ink: #ece9e1;--ink-2: #d2d0ca;--muted: #999da4;--line: #292c31;--line-strong: #373a40;--teal: #dec99b;--teal-deep: #cdb47d;--teal-soft: rgba(222,201,155,.1);--gold: #dec99b;--red: #d17f78;font-family:Inter,SF Pro Display,PingFang SC,Microsoft YaHei,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}html{scroll-behavior:smooth}body{margin:0;min-width:320px;color:var(--ink);background:var(--canvas);color-scheme:dark;font-size:14px}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(8,119,109,.28);outline-offset:2px}.app-shell{min-height:100vh;display:grid;grid-template-columns:238px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;min-height:570px;padding:24px 15px 18px;display:flex;flex-direction:column;color:#e8f0ef;background:var(--nav)}.brand{display:flex;align-items:center;gap:11px;padding:0 12px 29px}.brand-mark{width:30px;height:30px;border-radius:9px;background:#c8e6dc;display:grid;grid-template-columns:1fr 1fr;gap:3px;padding:6px;transform:rotate(-5deg)}.brand-mark i{display:block;border-radius:2px;background:#0f4c4b}.brand-mark i:nth-child(2){background:#148d7c}.brand-mark i:nth-child(3){background:#77bca8}.brand-name{font-size:17px;font-weight:730;letter-spacing:-.035em}.brand-name span{color:#a9cbc2;font-weight:450}.nav-caption{margin:0 0 8px;padding:0 13px;color:#85969d;font-size:11px;letter-spacing:.04em}.nav-group{margin-bottom:22px}.nav-link{display:flex;align-items:center;gap:12px;height:42px;margin:2px 0;padding:0 13px;border-radius:7px;color:#b7c5c8;font-size:13px;transition:background .18s ease,color .18s ease}.nav-link:hover{color:#fff;background:#ffffff0e}.nav-link.active{color:#eaf7f2;background:#203b42;box-shadow:inset 2px 0 #6ac8b1}.nav-link[hidden]{display:none}.nav-icon{width:18px;height:18px;display:grid;place-items:center;color:#a5c8c0;font-size:15px}.sidebar-bottom{margin-top:auto;padding:17px 9px 0;border-top:1px solid var(--nav-line)}.account-chip{display:flex;gap:10px;align-items:center;padding:9px 4px 4px}.avatar{width:31px;height:31px;border-radius:50%;display:grid;place-items:center;color:#103c3a;background:#bfded4;font-size:12px;font-weight:700}.account-name{color:#eff6f3;font-size:12px;font-weight:600}.account-role{margin-top:3px;color:#91a3a7;font-size:11px}.sidebar-note{padding:18px 4px 0;color:#819195;font-size:10px;line-height:1.65}.main{min-width:0}.topbar{min-height:68px;padding:0 clamp(19px,4vw,42px);display:flex;align-items:center;justify-content:space-between;gap:14px;border-bottom:1px solid rgba(37,61,68,.1);background:#fbfcfacc}.crumb{display:flex;align-items:center;gap:9px;color:var(--muted);font-size:12px}.crumb strong{color:var(--ink-2);font-weight:600}.crumb-sep{color:#9baaa9}.top-actions{display:flex;align-items:center;gap:10px}.top-user{color:var(--ink-2);font-size:12px}.button-primary{min-height:39px;padding:0 15px;border:0;border-radius:6px;color:#fff;background:var(--teal);font-size:12px;font-weight:650;cursor:pointer;box-shadow:0 3px 9px #08776d21;transition:background .15s ease,transform .15s ease}.button-primary:hover{background:var(--teal-deep);transform:translateY(-1px)}.button-secondary{min-height:38px;padding:0 14px;border:1px solid var(--line-strong);border-radius:6px;color:var(--ink-2);background:var(--paper);font-size:12px;cursor:pointer}.mobile-menu{display:none;border:0;background:transparent;color:var(--ink);cursor:pointer;font-size:22px}.content{width:min(1440px,100%);margin:0 auto;padding:27px clamp(19px,4vw,42px) 60px}.market-hero{min-height:247px;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(290px,.92fr);align-items:stretch;overflow:hidden;border:1px solid var(--line);border-radius:12px;background:var(--paper)}.hero-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:32px clamp(24px,3.5vw,38px)}.hero-kicker{display:flex;align-items:center;gap:8px;margin-bottom:15px;color:#55716d;font-size:11px}.hero-kicker:before{width:18px;height:1px;background:#4b9b88;content:""}.hero-copy h1{max-width:600px;margin:0;color:#19313a;font-size:clamp(30px,3.2vw,43px);font-weight:650;letter-spacing:-.055em;line-height:1.2}.hero-copy p{max-width:490px;margin:13px 0 20px;color:#697b7e;font-size:13px;line-height:1.8}.hero-actions{display:flex;align-items:center;gap:14px}.button-link{padding:8px 0;border:0;color:#49615f;background:none;font-size:12px;cursor:pointer}.button-link:hover{color:var(--teal)}.hero-art{position:relative;min-height:247px;overflow:hidden;isolation:isolate;background:#193c40}.hero-art:before,.hero-art:after{position:absolute;z-index:-1;border:1px solid rgba(202,232,218,.22);border-radius:50%;content:""}.hero-art:before{top:-105px;right:42px;width:320px;height:320px}.hero-art:after{top:-45px;right:102px;width:200px;height:200px}.art-grid{position:absolute;inset:0;opacity:.22;background-image:linear-gradient(rgba(231,248,239,.19) 1px,transparent 1px),linear-gradient(90deg,rgba(231,248,239,.19) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(90deg,transparent,black)}.art-sun{position:absolute;top:57px;right:62px;width:118px;height:118px;border-radius:50%;background:#d9b178;box-shadow:0 0 0 17px #d9b1781a,0 0 0 36px #d9b1780b}.art-orbit{position:absolute;top:83px;right:-7px;width:335px;height:115px;border:1px solid #b7ddd0;border-radius:50%;transform:rotate(-24deg)}.art-orbit:after{position:absolute;top:16px;right:22px;width:8px;height:8px;border-radius:50%;background:#e6f3e9;content:""}.art-sheet{position:absolute;top:68px;left:12%;width:166px;height:107px;padding:14px;transform:rotate(-8deg);background:#f3f5ec;box-shadow:7px 9px #05181c3d}.art-sheet-top{display:flex;justify-content:space-between;align-items:center;color:#27474a;font-size:9px;font-weight:700}.art-sheet-mark{position:relative;width:46px;height:46px;margin-top:12px;border-radius:50%;background:#3f9583}.art-sheet-mark:before{position:absolute;top:9px;right:-14px;width:29px;height:29px;border:1px solid #d7b279;border-radius:50%;content:""}.art-lines{position:absolute;top:80px;left:78px;width:58px}.art-lines i{display:block;height:3px;margin:6px 0;background:#d5dfd6;opacity:.9}.art-lines i:nth-child(2){width:74%}.art-lines i:nth-child(3){width:54%}.art-caption{position:absolute;bottom:19px;left:24px;color:#ecf7efbf;font-size:10px}.art-caption b{margin-right:8px;color:#eff7ef;font-weight:500}.catalog-controls{margin:28px 0 18px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--line-strong)}.categories{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.category{padding:8px 11px;border:0;border-radius:5px;color:#718184;background:transparent;font-size:12px;cursor:pointer}.category:hover{color:var(--teal)}.category.active{color:#125e56;background:#dfece8;font-weight:650}.search{min-width:218px;height:36px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid var(--line-strong);border-radius:6px;color:#768889;background:#fbfcfac2}.search input{min-width:0;width:100%;border:0;outline:none;color:var(--ink);background:transparent;font-size:11px}.search input::placeholder{color:#9aa8a7}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:18px;margin:0 0 13px}.section-heading h2{margin:0;color:#213a42;font-size:16px;font-weight:680}.section-heading p{margin:0;color:#879495;font-size:11px}.software-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.software-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:9px;background:var(--paper);transition:transform .18s ease,box-shadow .18s ease}.software-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px #14282e14}.software-cover{height:auto;width:100%;aspect-ratio:1.8;display:block;object-fit:contain;background:linear-gradient(135deg,#d4e7df,#f2ead9)}.software-cover.placeholder{display:grid;place-items:center;color:#22695e;font-size:32px}.software-card-body{padding:15px 16px 16px}.software-card-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:9px}.software-category{color:#55716d;font-size:10px}.software-points{color:var(--teal-deep);font-size:11px;font-weight:700;white-space:nowrap}.software-card h3{margin:0 0 7px;color:#1d343c;font-size:15px;font-weight:680;letter-spacing:-.015em}.software-summary{min-height:38px;margin:0 0 11px;color:#748386;font-size:11px;line-height:1.65}.software-feature{display:-webkit-box;min-height:34px;margin:0 0 12px;overflow:hidden;color:#879495;font-size:10px;line-height:1.65;-webkit-line-clamp:2;-webkit-box-orient:vertical}.software-card-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:11px;border-top:1px solid #e6ecea}.software-author{overflow:hidden;color:#839090;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.software-download{flex:0 0 auto;color:#126a5d;font-size:11px;font-weight:650}.software-download:hover{text-decoration:underline;text-underline-offset:3px}.software-purchase{flex:0 0 auto;min-height:34px;padding:0 11px;border:1px solid var(--line-strong);border-radius:6px;color:var(--muted);background:var(--paper-2);font-size:11px;font-weight:600}.software-purchase:disabled{cursor:not-allowed;opacity:.82}.software-purchase:not(:disabled){border-color:var(--gold);color:#111315;background:var(--gold);cursor:pointer}.software-purchase:not(:disabled):hover{background:var(--teal-deep)}.software-purchase-dialog{width:min(440px,calc(100vw - 28px));max-width:440px;max-height:min(90dvh,760px);padding:0;overflow:auto;border:1px solid var(--line-strong);border-radius:12px;color:var(--ink);background:var(--paper);box-shadow:0 22px 80px #0000008c}.software-purchase-dialog::backdrop{background:#000000b8;backdrop-filter:blur(3px)}.software-purchase-dialog-card{padding:22px}.software-purchase-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:14px}.software-purchase-dialog-heading .hero-kicker{margin:0 0 5px;color:var(--gold)}.software-purchase-dialog-heading h2{margin:0;color:var(--ink);font-size:20px}.software-purchase-summary{margin:17px 0;color:var(--ink-2);font-size:14px;line-height:1.7}.software-purchase-qr{width:min(100%,280px);aspect-ratio:1;margin:16px auto;padding:10px;border-radius:9px;background:#fff}.software-purchase-qr svg{display:block;width:100%;height:100%;shape-rendering:crispEdges}.software-purchase-status{min-height:24px;margin:14px 0;color:var(--gold);font-size:13px;line-height:1.6;text-align:center}.software-purchase-status.error{color:var(--red)}.software-purchase-download,.software-purchase-login{width:100%;display:block;margin-top:10px;text-align:center}.software-purchase-download[hidden],.software-purchase-login[hidden]{display:none}.software-purchase-footnote{margin:17px 0 0;color:var(--muted);font-size:11px;line-height:1.65;text-align:center}.catalog-state{grid-column:1/-1;padding:32px;border:1px dashed var(--line-strong);border-radius:8px;color:#748386;background:#fbfcfaad;text-align:center;font-size:12px}.page-footer{display:flex;justify-content:space-between;gap:12px;margin-top:38px;padding-top:18px;border-top:1px solid var(--line);color:#829090;font-size:10px}.admin-heading{margin:0 0 20px}.admin-heading .hero-kicker{margin-bottom:9px}.admin-heading h1{margin:0 0 8px;color:#19313a;font-size:clamp(27px,3vw,37px);letter-spacing:-.045em}.admin-heading p{max-width:670px;margin:0;color:#6c7d81;font-size:12px;line-height:1.75}.admin-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr);gap:17px;align-items:start}.admin-panel{padding:22px;border:1px solid var(--line);border-radius:9px;background:var(--paper)}.admin-panel h2{margin:0 0 6px;color:#203a42;font-size:15px}.admin-panel>p{color:#79888a;font-size:11px;line-height:1.65}.admin-form{display:grid;gap:13px}.admin-field{display:grid;gap:6px;min-width:0}.admin-field label{color:#40575c;font-size:11px;font-weight:650}.admin-field input,.admin-field select,.admin-field textarea{width:100%;min-width:0;min-height:39px;padding:9px 10px;border:1px solid var(--line-strong);border-radius:5px;color:var(--ink);background:#fff;font-size:12px}.admin-field textarea{min-height:78px;resize:vertical;line-height:1.6}.admin-field input[type=file]{padding:7px}.admin-cny-input{display:flex;align-items:center;min-height:39px;padding-left:10px;border:1px solid var(--line-strong);border-radius:5px;color:var(--gold);background:#0d0f12}.admin-cny-input span{font-size:13px;font-weight:700}.admin-cny-input input{flex:1;width:100%;min-width:0;min-height:37px;padding:8px;border:0;outline:0;color:var(--ink);background:transparent}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.admin-hint{color:#829091;font-size:10px;line-height:1.6}.image-preview{width:min(240px,100%);height:auto;aspect-ratio:16/9;object-fit:contain;border:1px solid var(--line);border-radius:5px;background:#f1f5f3}.admin-status{min-height:18px;color:var(--teal-deep);font-size:11px}.admin-status.error{color:var(--red)}.admin-recharge-panel{margin-top:17px}.admin-recharge-setup{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(130px,180px);align-items:center;gap:14px;padding:13px;border:1px solid var(--line);border-radius:7px;background:#ffffff7a}.admin-recharge-setup .admin-submit{align-self:end}.admin-recharge-qr-preview{width:100%;max-width:180px;aspect-ratio:1;justify-self:end;padding:6px;border:1px solid var(--line);border-radius:6px;background:#fff;object-fit:contain}.admin-recharge-orders-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:19px;padding-top:14px;border-top:1px solid var(--line)}.admin-recharge-orders-heading h3{margin:0;color:#203a42;font-size:13px}.admin-recharge-orders{display:grid;gap:9px;margin-top:10px}.admin-recharge-order{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(250px,1.3fr);align-items:center;gap:16px;padding:12px;border:1px solid var(--line);border-radius:7px;background:#ffffff73}.admin-recharge-order-meta{display:grid;gap:5px;min-width:0}.admin-recharge-order-meta strong{color:var(--ink);font-size:12px}.admin-recharge-order-meta small{color:#79888a;font-size:10px}.admin-recharge-confirm-form{display:grid;grid-template-columns:minmax(130px,1fr) auto;gap:7px;align-items:center}.admin-recharge-confirm-form input{width:100%;min-width:0;min-height:37px;padding:8px 9px;border:1px solid var(--line-strong);border-radius:5px;color:var(--ink);background:#fff;font-size:11px}.admin-recharge-confirm-form .button-primary{min-height:37px;padding:0 10px;font-size:10px}.admin-recharge-confirm-form .admin-hint{grid-column:1 / -1}.admin-hint.error{color:var(--red)}.admin-submit{justify-self:start;min-width:136px}.admin-items{display:grid;gap:9px;margin-top:14px}.admin-item{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:10px;padding:9px;border:1px solid #e2e9e7;border-radius:6px}.admin-item img{width:64px;height:42px;object-fit:contain;border-radius:4px;background:#e7efec}.admin-item strong{display:block;overflow:hidden;color:#344b54;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.admin-item small{color:#829091;font-size:10px}.admin-delete{padding:6px 8px;border:1px solid #e2c7c3;border-radius:5px;color:#9b4c43;background:#fff9f8;font-size:10px;cursor:pointer}.login-panel{width:min(460px,100%);margin:22px auto}.login-panel .admin-form{margin-top:17px}.access-denied{padding:18px;border:1px solid #e5d3c1;border-radius:7px;color:#765f49;background:#fbf5ec;font-size:12px;line-height:1.7}.admin-access{min-height:100vh;display:grid;place-items:center;padding:24px;background:var(--canvas)}.admin-access>section{width:min(100%,560px)}@media(max-width:1060px){.software-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-layout{grid-template-columns:1fr}}@media(max-width:760px){.app-shell{display:block}.sidebar{position:fixed;z-index:30;inset:0 auto 0 0;width:250px;min-height:0;height:100dvh;transform:translate(-100%);transition:transform .2s ease;box-shadow:12px 0 35px #0b1f2333}.sidebar.open{transform:translate(0)}.main{min-height:100vh}.mobile-menu{display:inline-grid;place-items:center;width:36px;height:36px}.topbar{min-height:59px;justify-content:flex-start}.top-actions{margin-left:auto}.top-user{display:none}.content{padding-top:18px}.market-hero{grid-template-columns:1fr}.hero-copy{min-height:223px}.hero-art{min-height:190px}.art-sun{top:30px;right:22%;width:100px;height:100px}.art-sheet{top:38px;left:10%}.catalog-controls{align-items:stretch;flex-direction:column}.categories{overflow-x:auto;flex-wrap:nowrap;padding-bottom:3px}.category{white-space:nowrap}.search{width:100%}.software-grid{grid-template-columns:1fr}.software-card-body{padding:14px}.admin-panel{padding:17px}.admin-recharge-setup{grid-template-columns:1fr auto}.admin-recharge-qr-preview{grid-column:1 / -1;justify-self:start}.admin-recharge-order{grid-template-columns:1fr;gap:10px}.page-footer{flex-direction:column}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}html.admin-auth-pending body{visibility:hidden}:root{color-scheme:dark;--admin-bg:#0b0c0e;--admin-panel:#121417;--admin-border:#30343a;--admin-text:#f2eee4;--admin-muted:#a3a5a8;--admin-gold:#e8d39e;--admin-red:#ff817d}*{box-sizing:border-box}body{min-width:320px;margin:0;background:var(--admin-bg);color:var(--admin-text);font-family:Inter,Microsoft YaHei,system-ui,sans-serif}.admin-auth-pending .admin-app,.admin-auth-pending .admin-access{visibility:hidden}.admin-app[hidden],.admin-access[hidden],[hidden]{display:none!important}.admin-topbar{position:sticky;z-index:5;top:0;min-height:68px;padding:10px clamp(18px,4vw,54px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--admin-border);background:#0b0c0ef2;backdrop-filter:blur(16px)}.admin-brand{display:flex;align-items:center;gap:12px;color:var(--admin-text);text-decoration:none}.admin-brand-mark{width:38px;height:38px;padding:8px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;border:1px solid #83714c;border-radius:12px;transform:rotate(-4deg)}.admin-brand-mark i{border-radius:2px;background:var(--admin-gold)}.admin-brand b{display:block;letter-spacing:.08em;font-size:14px}.admin-brand small{display:block;margin-top:3px;color:var(--admin-muted);font-size:10px}.admin-top-actions{display:flex;align-items:center;gap:9px}.admin-user{max-width:min(34vw,340px);overflow:hidden;color:var(--admin-muted);font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-top-link{min-height:37px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--admin-border);border-radius:9px;background:#17191c;color:var(--admin-text);font:inherit;font-size:11px;text-decoration:none;white-space:nowrap;cursor:pointer}.admin-top-link:hover{border-color:#766546;color:var(--admin-gold)}.admin-content{width:min(1500px,100%);margin:0 auto;padding:clamp(24px,4vw,54px) clamp(16px,4vw,54px) 46px}.admin-heading{margin:0 0 24px}.admin-heading .hero-kicker{margin-bottom:9px;color:var(--admin-gold);font-size:10px;letter-spacing:.2em}.admin-heading h1{margin:0 0 9px;color:var(--admin-text);font-size:clamp(30px,3.2vw,42px);letter-spacing:-.045em}.admin-heading p{max-width:760px;margin:0;color:var(--admin-muted);font-size:13px;line-height:1.7}.admin-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:18px;align-items:start}.admin-panel{padding:22px;border:1px solid var(--admin-border);border-radius:14px;background:linear-gradient(145deg,#141619,#101214)}.admin-panel h2{margin:0 0 7px;color:var(--admin-text);font-size:17px}.admin-panel>p,.admin-panel-heading p{margin:0;color:var(--admin-muted);font-size:12px;line-height:1.7}.admin-panel-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}.admin-form{display:grid;gap:15px;margin-top:19px}.admin-field{display:grid;gap:7px;min-width:0}.admin-field label{color:#ddd8cb;font-size:12px;font-weight:600}.admin-field input,.admin-field select,.admin-field textarea{width:100%;min-width:0;min-height:41px;padding:10px 11px;border:1px solid #3a3e44;border-radius:8px;color:var(--admin-text);background:#0d0f11;font:inherit;font-size:12px}.admin-field textarea{min-height:84px;resize:vertical;line-height:1.6}.admin-field input[type=file]{padding:8px}.admin-field input:focus,.admin-field select:focus,.admin-field textarea:focus{outline:2px solid #bba16d55;border-color:#bba16d}.admin-field input::placeholder,.admin-field textarea::placeholder{color:#777b80}.admin-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-hint{color:#8e9093;font-size:10px;line-height:1.6}.admin-cny-input{display:flex;align-items:center;min-height:41px;padding-left:11px;border:1px solid #3a3e44;border-radius:8px;color:var(--admin-gold);background:#0d0f11}.admin-cny-input input{flex:1;width:100%;min-width:0;min-height:39px;padding:8px;border:0;outline:0;color:var(--admin-text);background:transparent}.image-preview{width:min(280px,100%);aspect-ratio:16/9;object-fit:contain;border:1px solid var(--admin-border);border-radius:9px;background:#0d0f11}.button-primary{min-height:41px;padding:0 16px;border:1px solid #d8c18c;border-radius:9px;color:#17140d;background:linear-gradient(135deg,#f3dfb1,#c7ad77);font-size:12px;font-weight:700;cursor:pointer}.button-primary:hover{filter:brightness(1.06)}.button-primary:disabled,.button-secondary:disabled{opacity:.55;cursor:wait}.button-secondary{min-height:37px;padding:0 12px;border:1px solid var(--admin-border);border-radius:8px;color:var(--admin-text);background:#17191c;font-size:11px;cursor:pointer}.admin-submit{justify-self:start;min-width:150px}.admin-status{min-height:18px;margin:0;color:var(--admin-gold);font-size:11px}.admin-status.error,.admin-hint.error{color:var(--admin-red)}.admin-items{display:grid;gap:9px;margin-top:16px}.admin-item{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px;border:1px solid #30343a;border-radius:10px;background:#17191c}.admin-item img{width:72px;height:50px;object-fit:contain;border-radius:6px;background:#0d0f11}.admin-item strong{display:block;overflow:hidden;color:#eee9df;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.admin-item small{display:block;margin-top:5px;color:var(--admin-muted);font-size:10px}.admin-delete{padding:7px 9px;border:1px solid #70413e;border-radius:7px;color:#ffaaa4;background:#211515;font-size:10px;cursor:pointer}.admin-delete:disabled{opacity:.5;cursor:wait}.admin-access{min-height:100vh;display:grid;place-items:center;padding:20px}.access-denied{width:min(470px,100%);padding:30px;border:1px solid var(--admin-border);border-radius:16px;background:var(--admin-panel);text-align:center;color:var(--admin-muted);font-size:13px;line-height:1.7}.access-denied .button-secondary{display:inline-flex;align-items:center;justify-content:center;margin:14px 5px 0}.page-footer{display:flex;justify-content:space-between;gap:12px;margin-top:40px;padding-top:17px;border-top:1px solid var(--admin-border);color:#85878a;font-size:10px}.page-footer a{color:var(--admin-gold);text-decoration:none}@media(max-width:980px){.admin-layout{grid-template-columns:1fr}.admin-published-panel{order:2}}@media(max-width:640px){.admin-topbar{align-items:flex-start;flex-direction:column;gap:10px;padding:11px 14px}.admin-top-actions{width:100%;justify-content:flex-end;gap:6px}.admin-user{max-width:28vw;margin-right:auto;font-size:10px}.admin-top-link{min-height:34px;padding:0 9px;font-size:10px}.admin-content{padding:27px 13px 34px}.admin-heading{margin-bottom:18px}.admin-heading h1{font-size:31px}.admin-layout{gap:12px}.admin-panel{padding:15px;border-radius:12px}.admin-form-grid{grid-template-columns:1fr}.admin-item{grid-template-columns:56px minmax(0,1fr) auto;gap:8px;padding:8px}.admin-item img{width:56px;height:44px}.page-footer{margin-top:26px;font-size:9px}}@media(max-width:640px){html{scroll-padding-top:calc(96px + env(safe-area-inset-top))}body{min-height:100dvh;padding-bottom:env(safe-area-inset-bottom);overscroll-behavior-x:none}.admin-topbar{position:sticky;top:0;z-index:20;padding:calc(10px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));background:#0a0b0df5;backdrop-filter:blur(14px)}.admin-top-actions{flex-wrap:wrap}.admin-brand{min-height:44px;white-space:nowrap}.admin-top-link{min-height:44px;padding-inline:11px;font-size:12px}.admin-content{padding:20px 12px calc(30px + env(safe-area-inset-bottom))}.admin-panel{min-width:0;overflow-wrap:anywhere}.admin-form :is(input,select,textarea),.admin-form-grid :is(input,select,textarea){min-height:46px;font-size:16px}.admin-form button,.admin-item button,.admin-panel-heading .button-secondary{min-height:44px}.admin-item{grid-template-columns:56px minmax(0,1fr);align-items:start}.admin-item>:last-child{grid-column:1/-1;justify-self:end}}:root[data-theme=light]{color-scheme:light;--bg: #f3f5f7;--rail: #ffffff;--surface: #ffffff;--surface-raised: #f7f8fa;--surface-soft: #f2f4f7;--line: #dce1e7;--line-soft: rgba(30, 41, 59, .12);--ink: #202833;--muted: #647080;--muted-2: #8792a0;--teal: #167d79;--violet: #6658a4;--studio-bg: #f3f5f7;--studio-rail: #ffffff;--studio-surface: #ffffff;--studio-surface-raised: #f7f8fa;--studio-line: #dce1e7;--studio-ink: #202833;--studio-muted: #647080;--studio-gold: #8b6b2c;--panel: #ffffff;--panel-hi: #f7f8fa;--border: #dce1e7;--text: #202833;--gold: #8b6b2c}html[data-theme=light]{background:#f3f5f7!important}html[data-theme=light] body,html[data-theme=light] body.workspace-shell-active{color:#27313d!important;background:#f3f5f7!important}html[data-theme=light] :is(.app-shell,.main-column,.workspace-shell,.workspace-main,.content,.main,.admin-content,.dash-app,.ops-app,.dash-main,.ops-main){color:#27313d!important;background-color:transparent!important}html[data-theme=light] :is(.topbar,.workspace-topbar,.rail,.workspace-sidebar,#site-sidebar,.mobile-app-tabbar,.mobile-app-drawer,.dash-header,.dash-nav,.ops-header,.ops-sidebar,.admin-topbar){color:#26313d!important;border-color:#dce1e7!important;background:#fffffff5!important;box-shadow:0 4px 18px #18273a0b;backdrop-filter:blur(16px)}html[data-theme=light] :is(.balance,.top-account,.account-area,.avatar,.user-dot,.account-copy,.account-recharge-link){color:#364250!important;border-color:#dce1e7!important;background:#fff!important}html[data-theme=light] :is(.avatar,.user-dot){background:#f6f1e4!important}html[data-theme=light] .balance-mark{background:#48a878!important}html[data-theme=light] :is(.composer,.panel,.workspace-card,.card,.notice,.dashboard-card,.control-panel,.preview-panel,.works-section,.reference-card,.work-card,.feature-card,.value-strip,.intro,.login-card,.login-box,.creation-guide,.admin-panel,.software-card,.dash-panel,.dash-kpi,.dash-gauge-card,.dash-access-card,.ops-panel,.ops-access-card,.ops-route-card,.ops-user-card,.recharge-balance-card,.recharge-placeholder,.recharge-plan,.plan-card,.image-work,.generated-reference-panel,.generated-reference-card,.estimate-card,.empty-state,.asset-empty,.upload-zone,.registration-account,.registration-help,.thread-empty,.mini-form,.tool-row,.news-card,.relay-list a,.news-list a,.home-search,.login-gate>*,.guide-callout,.guide-warning,.guide-tool){color:#27313d!important;border-color:#dce1e7!important;background:#fff!important;box-shadow:0 8px 26px #1b2a3c0e}html[data-theme=light] :is(.membership-section,.membership-card,.membership-estimates,.recharge-card,.recharge-steps,.recharge-current-account,.recharge-payment-summary){color:#27313d!important;border-color:#dce1e7!important;background:#fff!important;box-shadow:0 8px 26px #1b2a3c0e}html[data-theme=light] .membership-heading h2,html[data-theme=light] .membership-card h3{color:#27313d!important}html[data-theme=light] :is(.membership-heading p:last-child,.membership-desc,.membership-price span,.membership-quota small,.membership-benefits li,.membership-note,.membership-estimates li,.membership-estimate-note,.recharge-balance-detail,.recharge-muted,.recharge-steps>div,.recharge-current-account>div>span,.recharge-current-account>small,.recharge-payment-summary>span:last-child,.recharge-notice p,.recharge-native-status){color:#687482!important}html[data-theme=light] :is(.membership-tag,.membership-heading>a,.membership-price small,.membership-quota strong,.membership-estimates strong,.membership-benefits li:before,.recharge-member-number,.recharge-current-account strong,.recharge-payment-summary>span:first-child,.recharge-secure-mark,.recharge-pending-badge,.recharge-steps>div span){color:#76591f!important}html[data-theme=light] .membership-price strong,html[data-theme=light] .recharge-payment-summary>strong,html[data-theme=light] .recharge-card-heading h2{color:#27313d!important}html[data-theme=light] :is(.membership-card.is-recommended,.recharge-plan[aria-checked=true]){border-color:#c5a95e!important}html[data-theme=light] .membership-action:not(:disabled){color:#211b11!important;border-color:#c4aa70!important;background:linear-gradient(135deg,#f3e4bd,#d8c28f)!important}html[data-theme=light] .membership-action:disabled{color:#8792a0!important;border-color:#d4dbe3!important;background:#edf0f3!important}html[data-theme=light] .recharge-notice{border-color:#b89a56!important;background:#fbf8ef!important}html[data-theme=light] .recharge-notice strong{color:#654d1e!important}html[data-theme=light] .home-create-card{border-color:#59616b!important;background-color:#20252c!important}html[data-theme=light] :is(.home-create-card .home-card-index,.home-create-card .home-card-copy strong,.home-create-card .home-card-description){color:#f4f1e9!important}html[data-theme=light] .home-create-card .home-card-action{color:#211b11!important;border-color:#c4aa70!important;background:linear-gradient(135deg,#f3e4bd,#d8c28f)!important}html[data-theme=light] :is(.composer,.hero,.home-hero,.account-intro,.recharge-hero,.intro,.control-panel,.preview-panel){background:#fff!important;box-shadow:0 10px 32px #1b2a3c0f}html[data-theme=light] :is(h1,h2,h3,h4,h5,h6,strong,b,label,legend,summary,.crumb,.crumb b,.brand,.brand-name,.workspace-page-title>strong,.admin-brand,.dash-brand,.ops-brand,.panel-head,.composer-title,.works-head h2,.balance,.balance strong,.account-copy strong,.nav-link,.rail-link,.workspace-nav-link,.dash-nav a,.ops-menu-link,.top-link,.admin-top-link,.button,.chip,.tab,.category,.feature-body strong,.tool-row strong,.news-list strong,.relay-list span,.reference-card strong,.work-card strong,.image-work strong,.registration-steps strong,.registration-key-value,.dash-kpi strong,.dash-runtime-grid b,.dash-task-stats b,.dash-route-item strong,.dash-table-wrap td,.ops-table-wrap td,.ops-user-email,.ops-user-id,.software-card h3,.recharge-balance-value,.recharge-plan h3,.dash-access-card h1,.ops-access-card h1){color:#27313d!important}html[data-theme=light] :is(p,small,.helper,.meta,.muted,.hint,.safe-note,.composer-foot,.retention,.retention-warning,.field-help,.subtle-copy,.hero p,.hero-subtitle,.workspace-page-title>span,.crumb,.account-copy small,.balance small,.nav-caption,.workspace-nav-caption,.rail-link,.top-link,.footer,.footer-inner,.works-head p,.work-meta,.reference-info small,.generated-reference-meta,.asset-foot,.upload-note,.dash-heading p,.dash-section-head p,.dash-panel-head p,.dash-updated,.dash-sample-label,.dash-status-strip>span,.dash-runtime-grid span,.dash-task-stats span,.dash-table-wrap th,.dash-table-wrap td,.ops-page-heading p,.ops-muted,.ops-table-wrap th,.ops-table-wrap td,.ops-sidebar-note,.admin-hint,.admin-user,.admin-field>span,.registration-steps,.dash-access-card p,.ops-access-card p){color:#687482!important}html[data-theme=light] :is(a,.text-button,.card-link,.dash-text-link,.workspace-footer a,.footer-inner a,.image-work-actions a,.admin-entry,.account-recharge-link){color:#76591f!important}html[data-theme=light] :is(input:not([type=checkbox]):not([type=radio]),select,textarea,.home-search input,.assistant-input,.mini-prompt,.setting-chip select,.assistant-output,.ops-search,.ops-search input,.ops-admin-form input,.ops-admin-form select){color:#25303b!important;border-color:#cbd3dc!important;background-color:#fff!important;box-shadow:none}html[data-theme=light] :is(input,select,textarea)::placeholder{color:#8994a1!important}html[data-theme=light] :is(input,select,textarea):focus{border-color:#967638!important;outline-color:#96763829!important}html[data-theme=light] select option{color:#25303b;background:#fff}html[data-theme=light] :is(button,.button,.secondary-button,.dash-button.subtle,.ops-button,.ops-button.subtle,.top-link,.admin-top-link,.account-icon-button,.account-text-button,.chip,.setting-chip,.tab,.category,.media-pagination button,.image-work-actions button,.works-toolbar-actions button,.assistant-action,.assistant-clear){color:#364250!important;border-color:#d4dbe3!important;background:#fff!important}html[data-theme=light] :is(.button.primary,.primary-button,.generate,.dash-button.primary,.ops-button.primary,.button-primary){color:#211b11!important;border-color:#c4aa70!important;background:linear-gradient(135deg,#f3e4bd,#d8c28f)!important}html[data-theme=light] :is(.chip.add-ref,.active,.selected,[aria-current=page]){color:#634c1f}html[data-theme=light] :is(.status.success,.success,.is-success,.dash-result-ok,.dash-route-state,.ops-state.is-active,.ops-status.success){color:#19734b!important}html[data-theme=light] :is(.status.error,.error,.is-error,.danger,.dash-result-bad,.dash-route-state.bad,.ops-status.error){color:#b4232e!important}html[data-theme=light] :is(.warning,.is-warning,.dash-result-pending,.ops-status.warning){color:#936516!important}html[data-theme=light] :is(.rail-link.active,.workspace-nav-link.active,.dash-nav a.active,.ops-menu-link.active,.nav-link.active){border-color:#d9c89d!important;color:#604a20!important;background:#f6f0e2!important}html[data-theme=light] :is(.rail-link:hover,.workspace-nav-link:hover,.dash-nav a:hover,.ops-menu-link:hover,.top-link:hover,.admin-top-link:hover){background:#f2f4f7!important}html[data-theme=light] :is(.eyebrow,.kicker,.hero-kicker,.hero-label,.ops-eyebrow,.dash-eyebrow,.dash-nav strong,.workspace-nav-caption){color:#76591f!important}html[data-theme=light] :is(.work-art,.work-art img,.image-grid .image-work>img,.image-reference-grid img,.reference-thumbnail img,.reference-card img,.generated-reference-card img,.image-preview,.media-preview,.qr-code,.payment-qr){background-color:#edf0f3!important}html[data-theme=light] .dash-gauge{background-image:conic-gradient(from -90deg,var(--gauge-color) 0 var(--pct),#e4e8ed var(--pct) 100%)!important}html[data-theme=light] .dash-gauge:before{background:#fff!important;border-color:#dce1e7!important}html[data-theme=light] :is(.dash-runtime-grid>div,.dash-task-stats>div,.dash-route-item,.dash-table-wrap tbody tr:hover,.ops-route-row,.ops-audit-row,.registration-key-value,.feature-list li,.tool-row,.mini-form){border-color:#e0e5eb!important;background:#f7f8fa!important}html[data-theme=light] :is(.dash-status-strip,.ops-callout,.ops-panel-heading,.ops-page-heading,.admin-callout,.route-policy-callout){border-color:#dce1e7!important;background:#f8f9fb!important}html[data-theme=light] :is(.dash-capacity-track,.progress-track,.composer-progress){background:#e5e9ee!important}html[data-theme=light] .dash-donut .donut-base{stroke:#e4e8ed!important}html[data-theme=light] .dash-status-strip[data-level=warn]{background:#fff8e9!important}html[data-theme=light] .dash-status-strip[data-level=bad]{background:#fff1f0!important}html[data-theme=light] :is(.chart-grid,.dash-table-wrap th,.dash-table-wrap td){stroke:#d9dfe6;border-color:#d9dfe6!important}html[data-theme=light] :is(.chart-axis-label,.chart-empty-label){fill:#687482!important}html[data-theme=light] .mobile-app-drawer-backdrop{background:#1c273547!important}.theme-switch{display:inline-flex;flex:0 0 auto;align-items:center;justify-content:center;gap:7px;min-width:86px;min-height:38px;padding:0 11px;border:1px solid #383a3e;border-radius:10px;color:#ddd2b7;background:#17191d;font:inherit;font-size:11px;cursor:pointer;transition:border-color .16s ease,background .16s ease,color .16s ease}.theme-switch:hover{border-color:#8d7950;color:#f0e1bb}.theme-switch svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}html[data-theme=light] .theme-switch{color:#5a4928;border-color:#d9c89d;background:#faf5e8}.creation-workspace-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(310px,.85fr);align-items:start;gap:18px}.creation-primary,.creation-side{min-width:0}.creation-side .references-panel{height:100%}.creation-side .image-reference-grid,.creation-side .generated-reference-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.ai-image-page .creation-workspace-grid{grid-template-columns:minmax(0,1.3fr) minmax(300px,.8fr)}body.ai-image-page .image-support-grid{display:block;margin-top:0}body.ai-image-page .image-reference-grid:not(.has-files) .upload-zone{max-width:none}body.ai-video-page .creation-workspace-grid{grid-template-columns:minmax(0,1.28fr) minmax(320px,.82fr)}@media(max-width:1040px){.creation-workspace-grid,body.ai-image-page .creation-workspace-grid,body.ai-video-page .creation-workspace-grid{grid-template-columns:minmax(0,1fr)}.creation-side .references-panel{height:auto}}@media(max-width:700px){.theme-switch{min-width:40px;min-height:40px;padding:0 10px}.theme-switch span{display:none}.creation-workspace-grid{gap:13px}}.media-pagination{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;margin:18px 0;padding:10px;color:#bcb8ae;font-size:13px}.media-pagination[hidden]{display:none}.media-pagination button{min-height:36px;min-width:78px;padding:7px 14px;border:1px solid #414039;border-radius:9px;color:#e7d8b4;background:#16181a;cursor:pointer;font:inherit}.media-pagination button:hover:not(:disabled){border-color:#d3bd8b}.media-pagination button:disabled{opacity:.4;cursor:default}.media-pagination button:focus-visible,.work-video-preview:focus-visible{outline:2px solid #d3bd8b;outline-offset:3px}img[data-gallery-source]{background:#191c20;transition:opacity .15s ease}img[data-gallery-state=waiting],img[data-gallery-state=loading]{opacity:.45}img[data-gallery-state=error]{cursor:pointer;background:#252026}.work-video-preview{display:block;position:relative;width:100%;padding:0;border:0;overflow:hidden;color:#fff;background:#101214;cursor:pointer}.work-video-preview img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}.work-video-preview span{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);padding:10px 16px;border:1px solid #d9c695;border-radius:30px;background:#101214d9;color:#f4e7c9;white-space:nowrap}@media(max-width:600px){.media-pagination{gap:8px;padding:8px 0;font-size:12px}.media-pagination button{min-width:68px;padding:6px 10px}}
