:root{color-scheme:dark;--bg:#0c1019;--panel:#141b27;--line:#242e3e;--text:#eff2f9;--muted:#8a99af;--red:#eb3359;--accent:#f77992}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif;font-size:14px}button,input,textarea,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #f6a0b2;outline-offset:4px}button:disabled{opacity:.5;cursor:wait}input,textarea,select{width:100%;min-width:0;background:#0c131f;color:#eef3fc;border:1px solid #2e3b50;border-radius:8px;padding:12px 13px;line-height:1.5}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#5f718d}label{display:grid;gap:9px;color:#c4cddd;font-size:12px;margin:0 0 20px}label small{color:#7e90aa;font-size:11px;line-height:1.6}input[type=checkbox]{width:17px;height:17px;accent-color:var(--red);margin:0}.check{display:flex;align-items:center;gap:10px;line-height:1.6}.brand{font-size:27px;font-weight:900;letter-spacing:-1.1px;color:var(--red);display:block;white-space:nowrap}.brand span{color:#fff}.brand small{display:block;font-size:9px;letter-spacing:5px;font-weight:400;color:#8d9bb3;margin:7px 0 0 3px}.eyebrow{color:#f57e98;font-size:9px;letter-spacing:2.5px;font-weight:700;margin:0 0 12px}.muted{color:var(--muted);font-size:12px;line-height:1.8}.primary,.secondary,.danger,.text-button{display:inline-flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;border-radius:8px;padding:11px 16px;font-weight:700;font-size:12px;border:1px solid transparent}.primary{background:var(--red);border-color:var(--red);color:white}.primary:hover{background:#fa3e66}.secondary{background:#172131;color:#d8e2f1;border-color:#2a374c}.secondary:hover{background:#222e42}.danger{background:#d32d4d12;border-color:#a12b453d;color:#ee879e}.text-button{padding:9px 0;color:#b3c4de;background:none;border:0}.icon-button{background:#ffffff08;color:#b7c5dc;border:1px solid #ffffff12;border-radius:50%;font-size:25px;width:33px;height:33px;display:grid;place-items:center}.login-screen{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;max-width:1500px;margin:auto}.login-card{padding:100px max(35px,7vw);display:flex;justify-content:center;flex-direction:column}.login-card .brand{font-size:40px;margin-bottom:60px}.login-card h1{font-size:38px;line-height:1.15;letter-spacing:-1.3px;margin:0 0 16px}.login-card>.muted{font-size:14px;margin-bottom:35px;max-width:370px}.login-card form{max-width:380px;margin-top:5px}.login-card .primary{width:100%;justify-content:space-between;padding:15px 20px;font-size:13px}.local-note{font-size:11px;color:#8190a8;margin-top:30px;display:flex;align-items:center;gap:9px}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#63c7a3;box-shadow:0 0 15px #5bddaf55}.error{color:#ff8aa6;font-size:12px;line-height:1.8;min-height:20px}.login-art{position:relative;overflow:hidden;display:flex;align-items:center;justify-content:center;flex-direction:column;background:radial-gradient(ellipse at 80% 45%,#74244044,transparent 65%),linear-gradient(160deg,#18233b,#100e18);padding:80px;gap:26px}.frame{width:340px;height:150px;display:grid;place-items:center;font-size:35px;font-weight:900;letter-spacing:-1.5px;border-radius:13px;box-shadow:0 30px 65px #0006;border:1px solid #ffffff17}.frame-one{background:linear-gradient(120deg,#9b2d4c,#381d36);transform:rotate(-10deg) translateX(-25px)}.frame-two{background:linear-gradient(120deg,#214e63,#22243d);transform:rotate(5deg) translateX(18px)}.frame-three{background:linear-gradient(120deg,#5f3c68,#292338);transform:rotate(-6deg) translateX(-15px)}.art-caption{font-size:9px;letter-spacing:3px;color:#a591a7;position:absolute;bottom:55px}.app{display:flex;min-height:100vh}.sidebar{width:238px;background:#0b101a;border-right:1px solid var(--line);padding:33px 25px;position:fixed;inset:0 auto 0 0;display:flex;flex-direction:column}.nav-label{font-size:8px;letter-spacing:1.9px;color:#61718b;margin:56px 12px 20px}.sidebar nav{display:grid;gap:7px}.sidebar nav button{display:flex;align-items:center;gap:13px;text-align:left;border:1px solid transparent;background:none;color:#8f9db3;font-size:12px;font-weight:700;padding:14px 12px;border-radius:8px}.sidebar nav button>span{font-size:18px;font-weight:400;opacity:.8}.sidebar nav button.active{color:#fff;background:#e5325316;border-color:#e44d6b20}.sidebar nav button.active>span{color:#f97893}.sidebar nav b{margin-left:auto;font-size:9px;color:#d9a0ae;background:#e64e6b15;padding:3px 5px;border-radius:4px}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:22px 9px 0}.sidebar-bottom p{font-size:11px;color:#b9c7dc;display:flex;align-items:center;gap:9px}.sidebar-bottom small{font-size:10px;color:#64758e;line-height:1.8;display:block}.sidebar-bottom button{font-size:10px;margin-top:16px}.workspace{margin-left:238px;flex:1;min-width:0}.workspace-header{height:85px;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 35px;position:sticky;top:0;z-index:10;background:#0c1019f5;backdrop-filter:blur(15px);font-size:11px;color:#c1cddd}.breadcrumb{color:#576a85;margin-right:7px}.workspace-actions{display:flex;align-items:center;gap:9px}.workspace-actions .primary,.workspace-actions .secondary{font-size:10px;padding:10px 12px}.badge{font-size:9px;border-radius:5px;padding:5px 7px;background:#be8b2d15;color:#d6b477;white-space:nowrap}.workspace main{max-width:1500px;padding:42px 35px 70px;margin:auto;min-height:calc(100vh - 145px)}.page-title{display:flex;justify-content:space-between;gap:15px;align-items:center;margin-bottom:30px}.page-title h1{font-size:30px;line-height:1.2;letter-spacing:-.8px;margin:0 0 10px}.page-title p{margin:0;max-width:650px}.stats-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:28px}.stat-card{border:1px solid var(--line);border-radius:12px;background:linear-gradient(140deg,#182130,#111924);padding:24px}.stat-card p{color:#8395af;font-size:11px;margin:0 0 22px}.stat-card strong{font-size:35px;font-weight:700;letter-spacing:-1px}.stat-card small{display:block;font-size:10px;color:#6d809c;margin-top:10px}.welcome-panel{background:radial-gradient(ellipse at right,#79243e33,transparent 60%),#181c2c;border:1px solid #65304c60;border-radius:13px;padding:32px;display:flex;align-items:center;justify-content:space-between;gap:30px;margin:25px 0 35px}.welcome-panel h2{font-size:23px;letter-spacing:-.5px;max-width:470px;margin:0 0 12px;line-height:1.3}.welcome-panel p{max-width:490px;margin:0}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-heading h2{font-size:17px;letter-spacing:-.2px;margin:0}.section-heading h3{font-size:15px;margin:0}.search-row{display:flex;gap:12px;margin-bottom:23px}.search-row input{flex:1}.search-row select{width:190px}.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.project-card{border:1px solid var(--line);border-radius:12px;background:#121a28;overflow:hidden}.project-cover{height:142px;width:100%;background:linear-gradient(135deg,#243b4c,#391d35);object-fit:cover;display:grid;place-items:center;color:#a69eb5;font-size:35px;overflow:hidden}.project-cover img{width:100%;height:100%;object-fit:cover}.project-card-body{padding:18px}.project-card h3{font-size:15px;margin:12px 0 8px;overflow-wrap:anywhere;line-height:1.4}.format-label{font-size:8px;letter-spacing:1.5px;color:#aabbd5;text-transform:uppercase}.status-pill{display:inline-block;font-size:8px;padding:5px 7px;border-radius:4px;background:#a4b5cf12;color:#a6b8d3}.status-pill.ready{background:#50bd9c15;color:#78cdb4}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:9px}.card-footer{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:19px;border-top:1px solid #ffffff0a;padding-top:12px}.card-footer button{font-size:10px}.card-footer .danger{padding:7px 9px}.empty-state{border:1px dashed #34435b;background:#11192550;border-radius:12px;text-align:center;padding:65px 24px;grid-column:1/-1}.empty-state h2{font-size:20px;margin:0 0 12px}.empty-state p{color:#8295b0;font-size:12px;max-width:430px;margin:0 auto 25px;line-height:1.9}.ads-grid{display:grid;gap:20px}.ad-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#121a28}.ad-cover{width:100%;height:120px;object-fit:cover;background:#1c293c}.ad-card-body{padding:20px;display:flex;justify-content:space-between;align-items:center;gap:20px}.ad-card-body h3{margin:0 0 8px;font-size:15px}.page-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.page-card,.settings-card{border:1px solid var(--line);padding:25px;background:#121a28;border-radius:12px}.page-card h3{margin:0 0 22px;font-size:16px}.page-card .path{font-size:10px;font-weight:400;color:#677b99;float:right}.notice{border-left:2px solid #d95e7a;background:#d84d6b09;padding:18px 22px;color:#a5b3c8;font-size:11px;line-height:1.9;margin-bottom:25px}.studio-footer{padding:20px 35px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#596d88}.editor-dialog{border:1px solid #34415a;border-radius:15px;width:min(850px,calc(100% - 30px));max-height:92vh;background:#121a28;color:var(--text);padding:0;box-shadow:0 40px 150px #0009;overflow:auto}.editor-dialog::backdrop{background:#04070dd9;backdrop-filter:blur(6px)}.compact-dialog{width:min(590px,calc(100% - 30px))}.dialog-heading{display:flex;justify-content:space-between;align-items:center;padding:25px 30px;border-bottom:1px solid var(--line);position:sticky;top:0;background:#121a28;z-index:2}.dialog-heading h2{margin:0;font-size:23px;letter-spacing:-.7px}.dialog-heading .eyebrow{margin-bottom:7px}.editor-body{padding:28px 30px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 22px}.full{grid-column:1/-1}.editor-section{border-top:1px solid var(--line);padding-top:25px;margin-top:8px}.editor-section h3{font-size:16px;margin:0 0 12px}.editor-section>.muted{margin-bottom:20px}.media-row{margin-bottom:20px}.media-label{font-size:12px;color:#c4cddd;margin-bottom:9px;display:block}.media-input{display:flex;gap:10px}.media-input input{flex:1;min-width:0}.media-preview{height:100px;max-width:220px;border-radius:8px;margin-top:12px;object-fit:cover}.dialog-footer{padding:20px 30px;border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:25px;background:#101725;position:sticky;bottom:0}.dialog-footer p{margin:0;font-size:10px;max-width:360px}.episode-row{padding:18px;border:1px solid #2d3b51;border-radius:9px;margin:12px 0;display:grid;gap:12px}.episode-heading{display:flex;gap:10px;align-items:center}.episode-heading input{flex:1;min-width:0}.episode-heading input[type=number]{flex:0 0 80px}.episode-row .media-input{margin-bottom:0}.upload-bar{position:fixed;left:50%;bottom:25px;transform:translateX(-50%);z-index:200;background:#1e2a3d;border:1px solid #415270;box-shadow:0 15px 40px #0008;padding:18px 25px;border-radius:10px;width:min(450px,90vw);font-size:12px}.upload-bar progress{display:block;width:100%;height:5px;accent-color:var(--red);margin-top:13px}.toast{position:fixed;bottom:24px;right:25px;z-index:300;max-width:min(580px,90vw);background:#e5eaf3;color:#152033;border-radius:8px;padding:15px 22px;font-size:12px;line-height:1.6;box-shadow:0 15px 45px #0007}.settings-card{max-width:700px}.settings-card h2{font-size:18px;margin:0 0 22px}.settings-card .muted{margin-bottom:25px}.settings-card+.settings-card{margin-top:22px}
@media(max-width:1150px){.sidebar{width:205px;padding:30px 18px}.workspace{margin-left:205px}.workspace-header{padding:15px 24px;height:auto;min-height:85px;flex-wrap:wrap}.workspace main{padding:32px 24px}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-actions .badge{display:none}.stats-grid{gap:12px}.stat-card{padding:20px}.page-grid{grid-template-columns:1fr}.login-art{padding:40px}.frame{width:290px;height:135px}.login-card{padding:70px 40px}}
@media(max-width:760px){.login-screen{display:block}.login-art{display:none}.login-card{min-height:100vh;padding:55px 27px}.login-card .brand{font-size:34px;margin-bottom:55px}.login-card h1{font-size:34px}.sidebar{position:static;width:100%;padding:22px 20px;border-right:0;border-bottom:1px solid var(--line)}.app{display:block}.sidebar .brand{font-size:23px}.sidebar .brand small{font-size:7px}.nav-label,.sidebar-bottom{display:none}.sidebar nav{display:flex;overflow:auto;gap:8px;margin-top:23px;padding-bottom:2px}.sidebar nav button{font-size:10px;white-space:nowrap;padding:10px 12px}.sidebar nav button>span{font-size:15px}.sidebar nav b{display:none}.workspace{margin-left:0}.workspace-header{position:static;padding:17px 20px;gap:16px}.workspace-header>div:first-child{font-size:10px}.workspace-actions{width:100%;justify-content:space-between;gap:5px}.workspace-actions .primary,.workspace-actions .secondary{font-size:9px;padding:10px 9px}.workspace main{padding:28px 20px 45px}.page-title{align-items:flex-start;margin-bottom:25px;gap:15px}.page-title h1{font-size:25px}.page-title .primary{font-size:10px;padding:11px}.page-title p{font-size:11px}.stats-grid{gap:9px}.stat-card{padding:16px 12px}.stat-card p{font-size:9px;min-height:24px;margin-bottom:10px;line-height:1.6}.stat-card strong{font-size:29px}.stat-card small{font-size:8px;line-height:1.7}.welcome-panel{padding:23px;display:block}.welcome-panel h2{font-size:22px}.welcome-panel button{margin-top:22px}.project-grid{grid-template-columns:1fr}.project-cover{height:180px}.search-row{flex-wrap:wrap}.search-row select{width:100%}.page-card{padding:20px}.studio-footer{padding:20px;display:block;font-size:8px;line-height:1.8}.studio-footer>span{display:block}.editor-dialog{width:calc(100% - 18px);max-height:96vh;border-radius:12px}.dialog-heading{padding:20px}.dialog-heading h2{font-size:21px}.editor-body{padding:23px 20px}.form-grid{grid-template-columns:1fr;gap:0}.full{grid-column:auto}.dialog-footer{padding:17px 20px;gap:12px}.dialog-footer p{font-size:8px;line-height:1.6}.dialog-footer .primary{font-size:10px;padding:12px}.media-input{gap:8px}.media-input .secondary{padding:11px 10px;font-size:10px}.ad-card-body{padding:17px;gap:10px;align-items:start}.ad-card-body h3{font-size:13px}.ad-card-body>.card-footer{flex-direction:column;margin:0;padding:0;border:0}.ad-cover{height:85px}.episode-heading{flex-wrap:wrap}.episode-heading input[type=number]{flex:0 0 80px}.episode-heading input:first-child{flex:1 1 160px}}
@media(max-width:760px){.sidebar{position:relative}.sidebar-bottom{display:block;position:absolute;right:20px;top:22px;margin:0;padding:0;border:0}.sidebar-bottom p,.sidebar-bottom small{display:none}.sidebar-bottom button{margin:0;font-size:8px;padding:7px 0}.sidebar .brand{max-width:170px}.ad-card-body p{overflow-wrap:anywhere}}
.ad-card-body p{overflow-wrap:anywhere}.sidebar nav button:disabled{cursor:wait}.editor-dialog button:disabled{cursor:wait}

/* Creator project and revenue layouts */
.creator-project-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.creator-project-heading h1{margin:0}
.creator-project-card{border-top:3px solid #e92b55;background:linear-gradient(155deg,#1a2133,#121a28 65%)}
.creator-revenue-kpis,.creator-category-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:14px}
.creator-revenue-kpis .page-card{border-top:3px solid #e92b55}
.creator-revenue [aria-live]>article,.creator-revenue [aria-live]>details{margin-top:18px}
.creator-category-grid{list-style:none;padding:0}
.creator-category-grid button{width:100%;padding:14px;border:1px solid #32425a;border-radius:10px;background:#182237;text-align:left}
.creator-category-grid button:hover,.creator-category-grid button:focus-visible{border-color:#f34c72}
.creator-payout-note{margin:14px 0 22px}

.creator-dashboard .page-title,.creator-panel-heading{background:linear-gradient(120deg,#24182b,#131e30);border:1px solid #334056;border-radius:16px;padding:24px;margin-bottom:20px}
.creator-dashboard .page-title{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px}
.creator-dashboard .page-title h1,.creator-panel-heading h1{margin:0}
.creator-dashboard .stat-card,.creator-deposit fieldset{border-top:3px solid #e92b55}
.creator-dashboard .workspace-actions{flex-wrap:wrap}
.creator-deposit{display:grid;gap:18px}
.creator-deposit fieldset{min-width:0;margin:0}
.creator-deposit legend{padding:0 10px;color:#f2e9f0;font-size:1.05rem;font-weight:700}
.creator-deposit .notice{margin:0}
.creator-deposit-footer{display:flex;justify-content:flex-end}

/* Studio workspace, using the creator area's cards and accent. */
#app #workspaceContent > .page-title,
#app #workspaceContent.creator-revenue > h1 {
  padding: 24px;
  border: 1px solid #334056;
  border-radius: 16px;
  background: linear-gradient(120deg,#24182b,#131e30);
  margin: 0 0 20px;
}
#app #workspaceContent .stat-card,
#app #workspaceContent .project-card,
#app #workspaceContent .ad-card,
#app #workspaceContent .page-card,
#app #workspaceContent .settings-card {
  border-top: 3px solid #e92b55;
  background-color: #121a28;
}
#app #workspaceContent .page-card,
#app #workspaceContent .settings-card {
  background-image: linear-gradient(155deg,#1a2133,#121a28 68%);
}
#app #workspaceContent > section + section,
#app #workspaceContent > .page-card + .page-card {
  margin-top: 18px;
}
#app #workspaceContent details.page-card > summary {
  cursor: pointer;
  padding-block: 5px;
  font-weight: 700;
}
#app #workspaceContent details.page-card[open] > summary {
  margin-bottom: 12px;
  color: #ff8ca6;
}
#app #navigation button.active {
  background: linear-gradient(95deg,#331b2c,#1b1b2a);
  border-color: #8e3450;
}
#app #navigation button:focus-visible,
#app #workspaceContent summary:focus-visible {
  outline: 2px solid #ff8ca6;
  outline-offset: 3px;
}
@media(max-width:650px){
  #app #workspaceContent > .page-title,
  #app #workspaceContent.creator-revenue > h1 {padding:16px}
}
