.overlayWorkspace{padding:44px 0 70px;max-width:1240px}.overlayHead{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.overlayHead h1{font-size:clamp(32px,4vw,48px);letter-spacing:-.055em;line-height:1.15;margin:8px 0 12px}.overlayHead h1 span{color:#b4a4cb;font-weight:500}.overlayHead p{color:var(--muted);margin:0}.ovPill{border:1px solid #ffffff15;background:#ffffff04;border-radius:30px;padding:9px 14px;font-size:11px;white-space:nowrap;color:#c6bdd2}.ovPill i,.previewLabel i{display:inline-block;width:6px;height:6px;background:#99e0b9;border-radius:50%;margin-right:7px}.overlayTabs{display:flex;gap:6px;padding:6px;border:1px solid #ffffff10;border-radius:14px;background:#141019;margin-bottom:22px;width:fit-content;max-width:100%}.overlayTabs button{border:0;padding:12px 23px;border-radius:9px;background:transparent;color:#ac9ebc;font:600 13px Inter,sans-serif;cursor:pointer;white-space:nowrap}.overlayTabs button span{font-size:18px;vertical-align:-1px;margin-right:8px}.overlayTabs button.active{background:#30213f;color:#e2ccff;box-shadow:0 1px 5px #0003}.overlayGrid{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}.overlayPreviewPanel{min-width:0}.previewToolbar,.previewFoot{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 20px;background:#16121d}.previewToolbar{border-radius:20px 20px 0 0;border:1px solid #ffffff0e;border-bottom:0}.previewLabel{font-size:10px;font-weight:700;letter-spacing:1.5px;color:#baacc9}.previewLabel i{background:#bb92f0}.previewModes{display:flex;gap:4px;border-radius:7px;background:#0d0a12;padding:4px}.previewModes button{background:none;border:0;color:#91849f;padding:6px 10px;font:11px Inter;cursor:pointer;border-radius:4px}.previewModes button.active{background:#2a2134;color:#ede3fa}.previewStage{min-height:480px;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:32px;background-color:#1d1b26;background-image:linear-gradient(45deg,#ffffff03 25%,transparent 25%),linear-gradient(-45deg,#ffffff03 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ffffff03 75%),linear-gradient(-45deg,transparent 75%,#ffffff03 75%);background-size:28px 28px;background-position:0 0,0 14px,14px -14px,-14px 0}.previewFoot{border:1px solid #ffffff0e;border-top:0;border-radius:0 0 20px 20px;font-size:11px;color:#978aa5;flex-wrap:wrap}.previewFoot button{font-size:11px;background:transparent}.overlayLinkBox,.rankingControl,.overlaySettings{border:1px solid #ffffff10;border-radius:20px;background:#15101c}.overlayLinkBox{padding:24px;margin-top:22px}.overlayLinkBox h2,.rankingControl h2{font-size:19px;letter-spacing:-.025em;margin:6px 0 8px}.overlayLinkBox p,.rankingControl p,.overlayLinkBox li{font-size:12px;color:#aa9bbd;line-height:1.7}.overlayLinkBox .eyebrow,.settingsHead .eyebrow{font-size:9px}.linkButtons{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.linkButtons .btn{font-size:12px;padding:11px 16px}.overlayLinkBox details{padding-top:16px;margin-top:18px;border-top:1px solid #ffffff0c;font-size:12px;color:#c0afd0}.overlayLinkBox li{padding-bottom:8px}.rankingControl{padding:22px 24px;margin-top:20px}.rankingControl h2{font-size:16px}.rankingControl p{margin:0}.rankingControl .danger{border-color:#e77e9733;background:#cc59750c}.overlaySettings{overflow:hidden}.settingsHead{display:flex;align-items:center;justify-content:space-between;padding:22px;border-bottom:1px solid #ffffff0d}.settingsHead h2{font-size:20px;letter-spacing:-.04em;margin:5px 0 0}.settingsHead>span{font-size:10px;color:#9584a6}#controls details{border-bottom:1px solid #ffffff0c;padding:18px 22px}#controls summary{font-size:12px;cursor:pointer;color:#e8dbf6;font-weight:600;list-style:none;display:flex;justify-content:space-between}#controls summary:after{content:'+';color:#9483a6}#controls details[open] summary:after{content:'−'}#controls .controlFields{display:grid;gap:17px;margin-top:20px}#controls label{font-size:11px;gap:8px;font-weight:500;color:#b6a5c7}#controls input:not([type=checkbox]):not([type=range]):not([type=color]),#controls select{padding:10px 12px;font-size:12px;border-color:#ffffff12;border-radius:8px;background:#0d0913}#controls input[type=range]{padding:0;accent-color:#b78af1;width:100%;height:4px;margin:5px 0}#controls input[type=color]{width:34px;height:30px;padding:2px;border:1px solid #ffffff25;background:none;cursor:pointer;border-radius:7px}#controls label.colorControl{display:flex;align-items:center;justify-content:space-between;flex-direction:row}#controls .checkLabel{font-size:11px;align-items:center!important}#controls .checkLabel input{width:15px;height:15px;accent-color:#b78af1}#controls output{font-size:10px;float:right;color:#e0c8fb}.overlaySave{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:22px;position:sticky;bottom:0;background:#15101c}.overlaySave .btn{font-size:12px;padding:11px 18px}.overlaySave .smallButton{font-size:10px;border:0;background:transparent;padding:0}.overlayBottom{font-size:11px;color:#7f718d;max-width:850px;margin-top:28px;line-height:1.8}.overlayWorkspace button:focus-visible,.overlayWorkspace summary:focus-visible{outline:2px solid #bc93f5;outline-offset:3px}.overlayWorkspace [hidden]{display:none!important}@media(max-width:950px){.overlayGrid{grid-template-columns:minmax(0,1fr) 320px}.overlayTabs button{padding:10px 15px}.previewStage{padding:22px;min-height:400px}}@media(max-width:760px){.overlayHead{align-items:flex-start;flex-direction:column}.overlayGrid{grid-template-columns:1fr}.overlayTabs{width:100%;overflow:auto}.overlayTabs button{flex:1;padding:10px 12px;font-size:11px}.overlayTabs button span{display:block;margin:0 0 4px}.previewToolbar{padding:14px}.previewStage{min-height:380px;padding:18px}.overlayWorkspace{padding-top:30px}.overlaySettings{order:2}.overlayLinkBox,.rankingControl{padding:20px}}
.overlayWorkspace .overlayPreviewPanel,.overlayWorkspace .overlaySettings{padding:0}.overlayWorkspace .rankingControl{padding:22px 24px}.nav nav.accountTopLinks{display:flex;gap:16px}.nav nav.accountTopLinks a{font-size:13px}.overlayWorkspace .settingsHead{padding:22px}@media(max-width:760px){.overlayWorkspace .rankingControl{padding:20px}.nav nav.accountTopLinks{gap:12px;flex-wrap:wrap}}

#openSource[aria-disabled="true"]{opacity:.5;pointer-events:none}.overlayLinkBox #sourceLink{margin-top:10px;font-size:11px}
.nav nav.accountTopLinks{position:static;flex-direction:row;width:auto;padding:0;background:none;box-shadow:none;border:0;border-radius:0}.nav nav.accountTopLinks a{padding:0;border:0}.nav nav.accountTopLinks .homeBack{padding:5px 9px}

.themePreset{padding:18px 22px;border-bottom:1px solid #ffffff0c}.themePreset button{width:100%;color:#ffd77e;border-color:#ffd77e40}.themePreset p{font-size:11px;line-height:1.6;color:#aa9bbd;margin:10px 0 0}

.overlayLiveConnection{padding:18px 20px;margin-bottom:20px;border:1px solid #ffffff15;border-radius:16px;background:#15101c}.overlayLiveConnection p{font-size:12px;color:#aa9bbd;line-height:1.6}.overlayLiveConnection .statusBadge:before{content:"";display:inline-block;width:8px;height:8px;margin-right:8px;border-radius:50%;background:#858391}.overlayLiveConnection .statusBadge.active:before{background:#56e497;box-shadow:0 0 9px #56e49766}
.overlayTabs{width:100%;flex-wrap:wrap}.overlayTabs button{padding:10px 14px;font-size:12px}.overlayTabs button span{font-size:15px;margin-right:5px}@media(max-width:760px){.overlayTabs{flex-wrap:nowrap}.overlayTabs button{padding:10px 12px}}

/* The monitor stays in view; publication and detailed settings live on the right. */
.overlayGrid{grid-template-columns:minmax(0,1fr) minmax(340px,440px);gap:28px;position:relative}
.overlayPreviewPanel{position:sticky;top:calc(var(--editor-nav,68px) + 12px);z-index:20;align-self:start;background:#15101c;border-radius:20px;box-shadow:0 10px 30px #0003}
.previewStage{min-height:0;height:clamp(180px,55dvh,620px);padding:22px}
.previewToolbar{padding:16px}.previewFoot{padding:12px 16px}
.overlaySettings{overflow:clip}.overlaySettings .overlayLinkBox{margin:0;border:0;padding:18px 22px;border-radius:0;background:transparent}
.publishOptions{border-bottom:1px solid #ffffff12}.publishOptions>summary{cursor:pointer;padding:16px 22px;color:#d6c2f0;font-size:13px;font-weight:600}
.overlayWorkspace:not(.editorAdvanced) .themePreset{display:none}
.editorMode{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 22px;border-bottom:1px solid #ffffff12;font-size:12px;color:#b6a5c7}
#controls label{font-size:13px}#controls summary{font-size:14px}#controls .controlFields{gap:20px}
#controls select,#controls input:not([type=checkbox]):not([type=range]):not([type=color]){font-size:14px;padding:12px}
.resetSetup,.resetSounds{padding:20px 22px;border-bottom:1px solid #ffffff12}
.resetSetup h3,.resetSounds h3{margin:0 0 12px;font-size:17px}.resetSetup p,.resetSounds p{font-size:12px;line-height:1.65;color:#aa9bbd}
.resetSounds{display:grid;gap:14px}.resetSounds>p{margin:0}.resetSounds details{padding-top:8px}.resetSounds summary{cursor:pointer;font-size:13px;color:#d6c2f0}.resetSounds details label{margin-top:14px}
.soundCards{display:grid;grid-template-columns:1fr 1fr;gap:12px}.soundCard{min-width:0;border:1px solid #ffffff18;border-radius:12px;padding:14px;display:grid;gap:12px;background:#ffffff03}
.soundCard>b{font-size:13px;color:#ffb1bf}.soundCard:nth-child(2)>b{color:#7bf2ad}.soundCard>span{font-size:11px;overflow-wrap:anywhere;color:#baacc9}.soundCard>div{display:flex;gap:8px;flex-wrap:wrap}.soundCard .smallButton{font-size:11px}
.soundUpload{display:block!important;position:relative;border:1px dashed #b57bff80;padding:10px;border-radius:8px;text-align:center;cursor:pointer;color:#dfc5ff!important;font-size:12px!important}
.soundUpload:focus-within{outline:2px solid #b57bff}.soundUpload input{position:absolute;width:1px!important;height:1px;opacity:0;padding:0!important;inset:0}
.resetSounds input[type=range]{accent-color:#b57bff;padding:0}.resetSounds output{font-size:12px;color:#dfc5ff}.resetSounds .checkLabel{font-size:12px}
.overlaySettings .rankingControl{margin:0;border:0;border-top:1px solid #ffffff12;border-radius:0;background:transparent}
@media(max-width:1000px) and (min-width:761px){.overlayGrid{grid-template-columns:minmax(0,1fr) 340px;gap:18px}.soundCards{grid-template-columns:1fr}}
@media(max-width:760px){.overlayGrid{grid-template-columns:minmax(0,1fr);gap:20px}.overlayPreviewPanel{top:calc(var(--editor-nav,100px) + 4px);border-radius:14px}.previewToolbar{padding:8px 12px}.previewStage{height:clamp(110px,25dvh,220px);padding:10px 16px}.previewFoot{padding:6px 12px;justify-content:center}.previewFoot>span{display:none}.previewModes button{padding:5px 8px}.previewLabel{font-size:9px;letter-spacing:.5px}.overlaySettings{min-width:0}.settingsHead,.resetSetup,.resetSounds,.editorMode{padding:18px}.overlaySave{z-index:21;bottom:0}.soundCards{grid-template-columns:1fr 1fr}}
@media(max-width:380px){.soundCards{grid-template-columns:1fr}.overlayTabs button span{display:none}.overlayTabs button{font-size:10px}}
