*{box-sizing:border-box}body{margin:0;font:15px system-ui,sans-serif;background:#edf1f6;color:#142b46;--panel:white;--border:#d6dfe9;--muted:#64748b}body.dark{background:#101827;color:#e7eef9;--panel:#1b293c;--border:#35465c;--muted:#a5b5c9}header{display:flex;justify-content:space-between;align-items:center;padding:18px 4%;background:#142b46;color:white}header b{font-size:24px}header b span{color:#69d8d1}small{color:var(--muted)}header small{color:#b9c9df}button,input,select,textarea{font:inherit}button{cursor:pointer;border:1px solid var(--border);border-radius:8px;background:var(--panel);color:inherit;padding:10px 14px}header button{background:#233e5b;color:white;border-color:#405a75}.primary{background:#087f83!important;color:white!important;border:0}main{max-width:1500px;margin:auto;padding:24px}nav{display:flex;gap:8px;overflow:auto;margin-bottom:20px}nav button.active{background:#087f83;color:white;border-color:#087f83}.workspace{display:grid;grid-template-columns:340px 1fr;gap:20px}aside,.stage{background:var(--panel);border:1px solid var(--border);border-radius:14px;padding:20px;min-width:0}h2{font-size:19px;margin:0 0 16px}label{display:block;font-weight:600;margin:14px 0 5px}input:not([type=color]),select,textarea{width:100%;padding:10px;border:1px solid var(--border);border-radius:7px;background:var(--panel);color:inherit}input[type=color]{width:100%;height:40px;border:1px solid var(--border);background:transparent}textarea{min-height:70px}.stagehead{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:16px}.stagehead:last-child{margin:16px 0 0}.screen{container-type:inline-size;aspect-ratio:16/9;background:var(--brand,#142b46);color:#fff;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:1.5cqw;padding:2cqw}.screen.portrait{aspect-ratio:9/16;max-height:70vh;margin:auto}.screen .top{display:flex;align-items:center;justify-content:space-between;font-size:2cqw;gap:1cqw;min-height:4cqw}.brand{display:flex;align-items:center;gap:1cqw;font-weight:700}.brand img{width:5cqw;height:5cqw;object-fit:contain}.content{flex:1;min-height:0;display:flex;gap:1.5cqw}.visual{flex:1;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;background:#0003;border-radius:0.7cqw}.visual img,.visual video,.visual iframe{width:100%;height:100%;object-fit:contain;border:0}.visual .welcome{text-align:center;padding:3cqw;font-size:4cqw}.welcome p{font-size:2cqw;font-weight:400}.side{width:25%;background:#ffffff18;border-radius:0.7cqw;padding:2cqw;display:flex;flex-direction:column;justify-content:center;gap:2cqw;font-size:1.8cqw;overflow:hidden;overflow-wrap:anywhere}.side strong{font-size:2.5cqw;color:var(--accent)}.ticker{background:var(--accent);color:#101827;padding:1cqw;text-align:center;font-size:1.7cqw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.screen.full{padding:0}.screen.full .content,.screen.full .visual{border-radius:0}.item{border:1px solid var(--border);padding:10px;border-radius:8px;margin:8px 0;overflow-wrap:anywhere}.actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.actions button{padding:6px 9px;font-size:13px}.note{font-size:13px;color:var(--muted);line-height:1.5}#player{position:fixed;inset:0;background:#000;z-index:10;display:flex;align-items:center;justify-content:center}#player[hidden]{display:none}#output{width:min(100vw,177.78vh);max-height:100vh}#output.portrait{width:min(56.25vh,100vw);max-height:100vh}#exit{position:absolute;right:12px;bottom:12px;opacity:.2;background:#fff;color:#111}#exit:hover,#exit:focus{opacity:1}@media(max-width:850px){main{padding:12px}.workspace{grid-template-columns:1fr}.stage{grid-row:1}header{padding:12px}header small{display:none}}