/* Shared storefront and studio finish. The original layouts and controls remain in use. */
:root{color-scheme:dark;--ink:#faf5ff;--muted:#b8a9c9;--line:#ffffff24;--paper:#100a1c;--violet:#c19bff;--lime:#dcff85;--mint:#dcff85;--blue:#d6b9f7}
body{background:#100a1c;color:#faf5ff}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #dcff85;outline-offset:4px}[hidden]{display:none!important}::selection{background:#e4b1ff;color:#21152f}
.candy-buy{background:radial-gradient(ellipse at 82% 10%,#77347340,transparent 40%),#100a1c}.candy-buy .buy-nav{background:#100a1c;border-color:#ffffff1c}.candy-buy .buy-logo{color:#f6d9ff}.candy-buy .buy-logo b{color:#caace4}.candy-buy .buy-nav nav a{color:#ddcaec;font-size:14px}.candy-buy .buy-hero{padding-top:45px}.candy-buy .buy-copy h1{font-size:clamp(3rem,5.3vw,5.4rem);line-height:1.07;white-space:normal}.candy-buy .buy-copy h1 em{font-style:normal;color:#ffb8df}.candy-buy .buy-lead{font-size:16px;color:#c9b8d7}.candy-buy .buy-model{color:#dfb8ff;font-size:12px}.candy-buy .buy-caveat{color:#b7a4c7;font-size:14px}.candy-buy .buy-anchor{color:#effbdc;border-color:#d7b9ec;background:#ffffff06;font-size:14px}.candy-buy .buy-anchor:first-of-type{color:#26351b;background:linear-gradient(135deg,#eeffc1,#d5f879)}.candy-buy .buy-video{border:1px solid #dba9ff45;background:#21132d;box-shadow:0 20px 70px #aa40cb20;transform:rotate(1deg)}.candy-buy .buy-video-caption{color:#ead6f5}.candy-buy .buy-video-caption span{color:#c1adce;font-size:12px}.candy-buy .section-intro p,.candy-buy .card-section p{color:#c5b4d4;font-size:16px}.candy-buy .payment-section{border-color:#ffffff29;background:linear-gradient(130deg,#22152e,#180f22);border-radius:25px;padding:32px}.candy-buy .payment-method{background:#251830;color:#f4eafb;border:1px solid #ffffff35;min-height:170px}.candy-buy .payment-method.is-selected{background:linear-gradient(125deg,#5c3977,#352148);border-color:#d6a7ff;box-shadow:0 0 0 3px #cba0ff19}.candy-buy .payment-method strong{font-size:24px}.candy-buy .payment-method small{font-size:14px;color:#d1bedf}.candy-buy .method-kicker,.candy-buy .method-action{color:#ebcbff;font-size:14px}.candy-buy .card-section{background:#1e1329;border:1px solid #b582de45;margin-top:25px}.candy-buy .card-pack{background:linear-gradient(135deg,#362043,#281b35);border-color:#ba84d548;color:#fff0fc;min-height:155px}.candy-buy .card-pack:hover:not(:disabled){border-color:#f3b4e8;box-shadow:0 10px 25px #cc8fe51c}.candy-buy .card-pack strong{color:#dcff85;font-size:2rem}.candy-buy .card-pack span{font-size:16px}.candy-buy .card-pack small{color:#c8afd7;font-size:14px}.candy-buy .card-note,.candy-buy .payment-detail,.candy-buy .minimum-message,.candy-buy .milestone-note{color:#c2afcf;font-size:14px}.candy-buy .minimum-message.warn{color:#ffd6a3}.candy-buy .card-status,.candy-buy .buy-status,.candy-buy .account-status{background:#372449;color:#eddbfa;border-color:#ffffff25}.candy-buy .payment-help{background:#36213e;border-color:#875190;color:#f2dbf1}.candy-buy .payment-help p{color:#c6b2d3}.candy-buy .coin-options label{background:#24182f;border-color:#ffffff29;color:#f6ecff}.candy-buy .coin-options label:has(input:checked){background:#4e3268;border-color:#d6b0f7}.candy-buy .coin-options small{color:#c2accc}.candy-buy .coin-picker{background:#22172e;border-color:#ffffff28}.candy-buy .coin-picker input,.candy-buy .coin-picker select{background:#150d20;color:#f4e8ff;border-color:#ffffff38;font-size:16px}.candy-buy .pack{background:#251930;border-color:#ffffff2e;color:#f4e4ff}.candy-buy .pack strong{color:#eeceff}.candy-buy .pack small{color:#c5b3d0;font-size:14px}.candy-buy .pack em{background:#dfb8ff;color:#2c163d}.candy-buy .pack-featured{background:#402743;border-color:#eeafda}.candy-buy .milestones{background:transparent}.candy-buy .milestone-grid article{background:#251832;border-color:#ffffff26;color:#f3e1ff}.candy-buy .milestone-grid small{color:#c9b5d7;font-size:14px}.candy-buy .milestone-grid span{color:#c9b5d7;font-size:14px}.candy-buy .milestone-grid .milestone-deal{background:#472a48}.candy-buy .milestone-grid .milestone-best{background:linear-gradient(145deg,#edffc0,#d1f67e);color:#29351d}.candy-buy .milestone-best small,.candy-buy .milestone-best span{color:#405330}.candy-buy .assurance{background:#201429;border-color:#ffffff25}.candy-buy .assurance p{color:#c3aed0;font-size:16px}.candy-buy footer{background:#160d21;border-color:#ffffff20;color:#bea9cc;font-size:14px}
.generation-help{display:flex;align-items:center;gap:22px;width:min(1180px,calc(100% - 40px));margin:35px auto;padding:23px 27px;border:1px solid #efaed259;border-radius:22px;background:linear-gradient(120deg,#452637,#2a1c3b);color:#f8e3f5}.generation-help>span{color:#ffb7df;font-size:38px;line-height:1}.generation-help b{font:600 20px 'Space Grotesk',sans-serif}.generation-help p{margin:7px 0 0;color:#d6bbd9;font-size:14px;line-height:1.7}.generation-help button{border:0;border-bottom:1px solid #dfb8d8;padding:7px 0;background:none;color:#ffd0eb;font-size:14px;font-weight:600;white-space:nowrap}.generation-help>div{flex:1}
.studio-body{background:radial-gradient(ellipse at 8% 10%,#6332672e,transparent 50%),#100a1c;color:#f8eeff}.studio-body .studio-nav{background:#140d20;border-color:#ffffff20}.studio-body .brand-light{color:#c5a4df}.studio-body .brand-mark{background:#b994ff}.studio-body .brand-mark i{border-color:#2c1740}.studio-body .brand-mark i:last-child{background:#2c1740}.studio-body .studio-nav-right{font-size:14px;letter-spacing:0}.studio-body .studio-nav-right #user-email{color:#c4afd3;font-size:14px}.studio-body .kicker{color:#d5b2f6;font-size:12px}.studio-body .auth-copy h1 em,.studio-body .studio-welcome h1 em{color:#ffb9e2}.studio-body .auth-copy>p,.studio-body .studio-welcome>div>p{color:#c1b0ce}.studio-body .auth-panel,.studio-body .panel{background:linear-gradient(130deg,#261831,#1d1427);border-color:#ffffff24;box-shadow:0 15px 35px #0002}.studio-body .auth-panel label{font-size:14px;letter-spacing:0}.studio-body .auth-panel input,.studio-body .composer textarea,.studio-body .api-panel input{background:#150d20;color:#f6e9ff;border-color:#ffffff2c;font-size:16px}.studio-body .auth-panel input:focus,.studio-body .composer textarea:focus{border-color:#d5a9fc}.studio-body .auth-panel form>p{color:#bdacc9;font-size:14px}.studio-body .auth-tabs button{font-size:14px;color:#b8a3c7}.studio-body .auth-tabs button.active{color:#f9e9ff}.studio-body .auth-foot{color:#b9a3c9;font-size:14px}.studio-body .google-login{background:#fff;color:#2b2036;border-color:#fff}.studio-body .google-divider{color:#b8a3c7}.studio-body .auth-art{height:auto;transform:rotate(-3deg);background:#2c193c;padding:7px;border:1px solid #dba9ff50}.studio-body .auth-art img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:15px}.auth-art-caption{display:flex;justify-content:space-between;gap:12px;padding:13px;font-size:14px;color:#f2d5ff}.auth-art-caption span{color:#dcff85}.studio-body .button-primary{background:linear-gradient(135deg,#f0ffc6,#d5f978);color:#28321d;border:1px solid #dffea4;box-shadow:inset 0 2px 2px #fff8}.studio-body .panel-kicker{color:#dbb6ff;font-size:12px}.studio-body .model-badge{background:#44265f;color:#edccff;font-size:12px}.studio-body .field-label,.studio-body .frame-label{font-size:14px;letter-spacing:0}.studio-body .prompt-footer{color:#b4a0c3;font-size:12px}.studio-body .composer textarea::placeholder{color:#a996b9}.studio-body .ratio-grid label>span{border-color:#ffffff30;background:#21162c}.studio-body .ratio-grid input:checked+span{background:#4d2f68;border-color:#d4a7ff}.studio-body .ratio-grid input:focus-visible+span{outline:3px solid #dcff85;outline-offset:3px}.studio-body .ratio-grid b{font-size:14px}.studio-body .ratio-grid small{color:#c0a8d1;font-size:12px}.studio-body .composer-footer div span{font-size:12px;color:#bda5ce}.studio-body .wallet{background:linear-gradient(135deg,#43254d,#2b1b39);border-color:#b67abb55}.studio-body .wallet p,.studio-body .progress-panel p,.studio-body .api-panel p{color:#c4afcf;font-size:14px}.studio-body .wallet-note{font-size:14px!important}.studio-body .deposit-grid button{background:#261631;color:#efd5ff;border-color:#d2a0ed4d}.studio-body .deposit-grid button:hover:not(:disabled){background:#4d3261}.studio-body .balance-card{background:linear-gradient(145deg,#523466,#2f1d41);border:1px solid #d2a1ef40}.studio-body .balance-card small{font-size:12px;color:#d4bde4}.studio-body .balance-card>span,.studio-body .balance-bottom{font-size:14px}.studio-body .balance-bottom{color:#c7b3d3}.studio-body .tier-row{font-size:14px;color:#b5a0c3}.studio-body .tier-row b{font-size:14px}.studio-body .tier-row i{background:#503761}.studio-body .tier-row.active{color:#f7e7ff}.studio-body .api-panel small{font-size:12px}.studio-body .empty-state{border-color:#ffffff30;color:#b8a0c8}.studio-body .empty-state p{font-size:14px}.studio-body .video-item{background:#1a1125;border-color:#ffffff27}.studio-body .video-item p,.studio-body .video-meta{color:#bfabc9}.studio-body .video-thumb{background:#3b2652;color:#d9baff}.studio-body .studio-help{width:100%;margin:0;align-items:start}.studio-help button{margin-top:12px}.studio-body .studio-footer{background:#160e21;color:#bda7cc;border-color:#ffffff20;font-size:14px}.studio-body #report-dialog{background:#251832;color:#f5e5ff;border-color:#bc83da}.studio-body #report-dialog textarea{background:#140e1d;color:#f5e5ff;border-color:#ffffff35}.studio-body #report-dialog p{color:#c8b2d5}
/* Documentation surfaces keep their existing layout and share the brand. */
.info-nav,.info-header{background:#170e23;color:#f4e7ff;border-color:#ffffff25}.info-page,.info-hero{color:#f2e6ff}.info-page p,.info-page li,.info-page .info-subtitle{color:#c1b0ce}.info-content,.info-toc{background:#1f142b;border-color:#ffffff24}.info-footer{background:#160e21;color:#baa4c9}.info-content pre{background:#110b19;color:#ead0ff;border-color:#ffffff25}
@media(max-width:800px){.candy-buy .payment-section{padding:23px}.generation-help{align-items:start;flex-wrap:wrap;padding:22px}.generation-help>button{margin-left:55px}.studio-body .studio-nav-right{gap:14px}.studio-body .studio-nav-right #user-email{max-width:140px;overflow-wrap:anywhere}.studio-body .auth-layout{gap:35px}.candy-buy .payment-method{min-height:160px}}
@media(max-width:550px){.candy-buy .buy-copy h1{font-size:clamp(2.7rem,10.7vw,3.7rem)}.candy-buy .payment-section{padding:18px}.candy-buy .payment-method strong{font-size:20px}.candy-buy .card-section{padding:20px 16px}.candy-buy .card-pack{padding:15px}.generation-help{width:calc(100% - 32px);gap:15px}.generation-help>span{font-size:30px}.generation-help>button{margin-left:45px;white-space:normal}.studio-body .studio-help{width:100%}.studio-body .studio-nav{height:auto;min-height:80px;gap:15px;flex-wrap:wrap;padding:18px}.studio-body .studio-nav-right{gap:15px;flex-wrap:wrap}.studio-body .auth-copy h1,.studio-body .studio-welcome h1{font-size:clamp(2.6rem,10vw,3.5rem)}.studio-body .auth-panel{padding:24px}.studio-body .panel{padding:22px}.studio-body .ratio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.studio-body .balance-card{min-width:0;width:100%}.studio-body .composer-footer{flex-wrap:wrap}.studio-body .composer-footer .button{width:100%;justify-content:space-between}.studio-body .panel-heading{gap:10px}.studio-body .model-badge{padding:6px 9px}.auth-art-caption{font-size:12px}.studio-body .auth-art{transform:none}.studio-body .studio-main{width:calc(100% - 32px)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.candy-buy .card-pack,.candy-buy .pack{transition:none;transform:none!important}}

.candy-buy .crypto-panel{background:#1e1329;border-color:#d4a9ed30}.candy-buy .buy-copy h1{font-size:clamp(3rem,4.1vw,4.6rem)}

.info-content p,.info-content li{color:#c3b0d2;font-size:16px}.info-content code{color:#d7b6ff}.info-sidebar{font-size:14px}.info-sidebar a{color:#c5add7}.info-note{background:#352342;color:#ddc6f0;border:1px solid #a479ba40;font-size:14px}.info-nav a:last-child{font-size:14px}.info-table th,.info-table td{font-size:14px}.info-top .brand-mark i{border-color:#23142d}.info-top .brand-mark i:last-child{background:#23142d}

.studio-body .balance-card>span{display:block;margin:6px 0;font-size:14px}.studio-body .balance-link{display:inline-block;margin-top:7px;font-size:14px;color:#dcff85}.studio-body .generation-wait-disclosure,.studio-body .pending-panel,.studio-body .first-draft-panel,.studio-body .trial-choice{background:#352242;color:#d7c0e6;border-color:#b389cd40;font-size:14px}.studio-body .generation-wait-disclosure{line-height:1.7;padding:15px 17px}.studio-body .size-choice{font-size:14px;color:#ead7f6}.studio-body #size-choice{background:#160f20;color:#f5e7ff;border:1px solid #cf9ee346;font-size:16px;padding:13px;border-radius:10px}.studio-body .reference-help{color:#bba5ca;font-size:14px}.studio-body .reference-panel input[type=file]{font-size:14px;color:#d9c4e7;width:100%}.studio-body .reference-panel input::file-selector-button{padding:10px 14px;margin-right:10px;border:1px solid #bc8bd15c;border-radius:9px;background:#41294f;color:#efd6ff;font:inherit;cursor:pointer}.studio-body .reference-item{background:#26182f;border-color:#ffffff29;color:#eddcf8}.studio-body .credit-history summary{color:#d2b2e9;font-size:14px}.studio-body .credit-history-rows,.studio-body .credit-history-rows small{color:#c6aed7;font-size:14px}.studio-body .video-status.expired{background:#3a2845;color:#d8c0e9}.studio-body .video-actions button,.studio-body .video-actions a{color:#dcbbf4;border-color:#bf8fd244}.auth-art-caption{color:#f2d5ff!important}
@media(max-width:550px){.candy-buy .payment-method strong{overflow-wrap:normal;font-size:19px}.candy-buy .payment-method{padding:16px 12px}.studio-body .balance-card{padding:22px}.studio-body .reference-help{font-size:14px}}
