@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800;900&family=DM+Sans:wght@400;500;600;700&display=swap');
:root{color-scheme:dark;--bg:#100d18;--surface:#191422;--line:#302638;--pink:#ff65bd;--cyan:#82eadc;--muted:#9f95ac}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:#f4eff8;font-family:'DM Sans',sans-serif;font-size:16px}button,input{font:inherit}button,a,input{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button{border:0;background:none}a{color:inherit;text-decoration:none}[hidden]{display:none!important}.topbar{height:96px;display:flex;align-items:center;padding:0 24px;border-bottom:1px solid var(--line);gap:30px;background:#110e19}.brand{width:92px;transform:skew(-7deg);line-height:.8;display:block;text-align:center;font-family:'Barlow Condensed',Impact,sans-serif;font-weight:900;flex-shrink:0}.brand>span{font-size:19px;letter-spacing:1.5px}.brand strong{display:block;font-size:49px;letter-spacing:-3px}.brand .vi{background:linear-gradient(140deg,#ffb9d9,#dd4cab,#8c8cec);background-clip:text;color:transparent;letter-spacing:-5px;padding-left:4px;font-size:43px}.project-label{font-size:11px;letter-spacing:2px;color:var(--muted);border-left:1px solid var(--line);padding-left:25px}.topbar nav{display:flex;gap:30px;margin-left:auto;height:100%;align-items:center}.topbar nav button{font-size:12px;font-weight:700;letter-spacing:1px;height:100%;position:relative;padding:0 2px}.topbar .nav-active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--pink)}nav button>span{color:var(--pink);margin-left:5px}.beta{font-size:10px;letter-spacing:1px;border:1px solid #493244;border-radius:4px;padding:7px 8px;color:#d6a6cb}main{width:100%;max-width:1760px;margin:0 auto;padding:0 24px}.intro{display:flex;justify-content:space-between;align-items:center;padding:44px 0 34px}.eyebrow{color:var(--pink);font-size:11px;font-weight:700;letter-spacing:2.2px;display:flex;align-items:center;gap:8px}i{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--cyan)}.eyebrow i{background:var(--pink)}h1{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(44px,4.1vw,66px);font-weight:800;line-height:.95;letter-spacing:-.8px;margin:15px 0 15px}h1 em{font-style:normal;color:var(--pink)}.intro p{font-size:14px;color:var(--muted);margin:0}.intro-aside{text-align:right;border-right:2px solid var(--pink);padding:0 18px;align-self:center}.intro-aside>span{font-size:10px;letter-spacing:1.6px;color:var(--pink);font-weight:700}.intro-aside p{font-size:17px;color:#e7ddeb;line-height:1.6;margin:10px 0}.edition{font-size:10px;color:var(--muted);letter-spacing:2px}.edition span{color:var(--pink);padding:0 6px}.arena-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.arena{min-width:0}.screen{aspect-ratio:16/9;background:radial-gradient(ellipse at top,#302039,#100d18 75%);position:relative;overflow:hidden;border:1px solid #483440;border-radius:12px 12px 0 0;isolation:isolate}.screen-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(12,9,22,.82),rgba(12,9,22,.25) 60%,rgba(12,9,22,.65)),linear-gradient(0deg,#110d1b 0%,transparent 45%);z-index:-1}.screen:before{content:'';position:absolute;inset:0;background:linear-gradient(160deg,#371f4040,#17434633);z-index:-1}#video-host{position:absolute;inset:0;z-index:-2}#video-host iframe{width:100%;height:100%;border:0}.screen.has-video #video-host{z-index:1}.screen.has-video .screen-shade,.screen.has-video .screen-brand,.screen.has-video .preview-notice{display:none}.screen.has-video .screen-top{pointer-events:none}.screen.has-video #fullscreen{pointer-events:auto}.screen.has-video .control-overlay{display:none}.screen-top{position:absolute;top:18px;left:18px;right:18px;display:flex;align-items:center;gap:14px;z-index:2}.live-tag{background:#e650a0;color:white;padding:5px 9px;border-radius:4px;font-size:10px;font-weight:700;letter-spacing:1px;display:flex;align-items:center;gap:6px}.live-tag i{background:white;width:5px;height:5px}.screen-caption{font-size:9px;letter-spacing:1.5px;color:#ddd3e3;text-shadow:0 1px 6px black}.screen-caption b{padding:0 5px;color:var(--pink)}#fullscreen{margin-left:auto;background:#17121da6;border:1px solid #ffffff25;border-radius:5px;width:30px;height:30px;font-size:22px}.screen-brand{position:absolute;left:7%;top:23%;transform:rotate(-5deg);text-shadow:0 5px 22px #120c23}.screen-brand>span{font-size:9px;letter-spacing:4px;display:block}.screen-brand strong{font-family:'Barlow Condensed',Impact,sans-serif;font-size:clamp(55px,6vw,105px);font-weight:900;font-style:italic;line-height:.78;display:block;margin:16px 0 20px;letter-spacing:-1px}.screen-brand em{font-style:italic;color:var(--pink)}.preview-notice{position:absolute;bottom:15%;left:6%;display:flex;gap:12px;align-items:center}.notice-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#ff65bd20;border:1px solid #ff65bd66;color:var(--pink);font-size:12px}.preview-notice strong{font-size:13px}.preview-notice p{margin:4px 0 0;font-size:11px;color:#c1b1cb}.control-overlay{position:absolute;right:3%;top:24%;width:220px;padding:15px;background:#130e1ee8;border:1px solid #ffffff22;border-left:2px solid var(--cyan);border-radius:7px;box-shadow:0 12px 30px #0005}.overlay-label{display:flex;gap:6px;align-items:center;font-size:8px;letter-spacing:1px;color:#d6d3df}.overlay-label i{background:#756e80}.controller-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}.avatar{width:33px;height:36px;background:#314c56;color:var(--cyan);border-radius:6px;display:grid;place-items:center;font-size:20px}.muted{font-size:8px;color:var(--muted);letter-spacing:1px}.controller-row strong{display:block;font-size:12px;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.gamepad{width:125px;height:85px;display:block;margin:0 auto;filter:drop-shadow(0 4px 8px #0005)}.gamepad text{font-size:8px;text-anchor:middle;fill:#171522;font-family:Arial;font-weight:bold}.gamepad circle.pressed{fill:white;filter:drop-shadow(0 0 5px #ff65bd)}.overlay-footer{border-top:1px solid #ffffff18;padding-top:10px;display:flex;justify-content:space-between;align-items:center}.overlay-footer span{font-size:8px;color:var(--muted);letter-spacing:.5px}.overlay-footer strong{font-family:monospace;font-size:21px;color:var(--cyan)}.screen-bottom{position:absolute;left:18px;right:18px;bottom:13px;display:flex;justify-content:space-between;font-size:8px;letter-spacing:1.5px;color:#c9bfce;z-index:2}.screen-bottom i{width:4px;height:4px;background:var(--pink);margin-right:5px}.stream-bar{display:flex;align-items:center;gap:16px;height:58px;background:#1b1426;border:1px solid var(--line);border-top:0;border-radius:0 0 10px 10px;padding:0 16px}.stream-tabs{display:flex;gap:5px}.stream-tabs button{font-size:12px;padding:8px 12px;color:var(--muted);border:1px solid transparent;border-radius:5px}.stream-tabs button.selected{border-color:#70425e;color:#ffbde6;background:#402137}.text-button{font-size:11px;color:var(--muted);text-decoration:underline;text-underline-offset:3px}.stream-stats{margin-left:auto;display:flex;gap:15px;font-size:10px;color:var(--muted)}.stream-stats strong{color:#f7ecfa;font-size:12px}.stream-stats i{width:5px;height:5px;margin-right:4px}.icon-button{font-size:20px;color:var(--muted)}.turn-panel{display:flex;align-items:center;gap:14px;padding:24px 20px;margin-top:16px;background:linear-gradient(110deg,#27192d,#1b1524);border:1px solid #493044;border-radius:9px}.turn-icon{width:43px;height:43px;display:grid;place-items:center;border-radius:8px;border:1px solid #795574;color:var(--pink);font-size:29px;background:#49304455}.turn-description>span{font-size:9px;font-weight:700;letter-spacing:2px;color:var(--pink)}.turn-description>strong{display:block;font-size:18px;margin:4px 0}.turn-description p{font-size:11px;color:var(--muted);margin:0}.primary{display:flex;align-items:center;justify-content:center;gap:25px;background:var(--pink);color:#24101e;font-size:13px;font-weight:700;padding:14px 20px;border-radius:6px;box-shadow:0 4px 20px #e650a015;transition:background .2s}.primary:hover{background:#ff8dcc}.primary span{font-size:20px;line-height:1}.turn-panel>.primary{margin-left:auto;white-space:nowrap}.under-player{display:flex;gap:28px;padding:19px 3px;color:#a49aac;font-size:11px}.under-player strong{font-weight:500;color:#d4c8dd}.sidebar{background:#17121f;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-height:600px;display:flex;flex-direction:column}.side-tabs{display:flex;height:56px;border-bottom:1px solid var(--line);padding:0 15px;gap:18px}.side-tabs button{font-size:12px;font-weight:600;position:relative;color:var(--muted);white-space:nowrap}.side-tabs button.active{color:#f3e8f5}.side-tabs button.active:after{content:'';height:2px;background:var(--pink);position:absolute;bottom:-1px;left:0;right:0}.side-tabs button span{font-size:10px;padding:3px 5px;background:#36263d;border-radius:3px;margin-left:3px;color:#dfb7d3}.chat-header{display:flex;justify-content:space-between;padding:16px;border-bottom:1px solid #ffffff06;color:var(--muted);font-size:9px;letter-spacing:1px}.chat-header i{width:4px;height:4px;margin-right:5px}#chat-view{display:flex;flex-direction:column;flex:1}.messages{height:425px;overflow:auto;padding:16px;scrollbar-width:thin;scrollbar-color:#4b344e transparent}.chat-welcome{text-align:center;padding:68px 12px;color:var(--muted)}.chat-welcome>div{color:var(--pink);font-size:32px;margin-bottom:15px}.chat-welcome strong{color:#dccce1;font-size:14px}.chat-welcome p{font-size:12px;line-height:1.9}.message{display:flex;align-items:flex-start;gap:9px;margin-bottom:18px}.message .small-avatar{width:27px;height:27px;border-radius:50%;background:#3d2945;color:#efa7d4;display:grid;place-items:center;flex-shrink:0;font-size:11px}.message strong{font-size:11px;color:#e7a9d1}.message time{font-size:9px;color:#81748d;margin-left:7px}.message p{font-size:12px;line-height:1.6;margin:3px 0;color:#dacfe1;overflow-wrap:anywhere}#chat-form{display:flex;gap:6px;margin:0 14px;background:#211a2b;border:1px solid #3a2d44;border-radius:6px;padding:4px}#chat-form input{width:100%;background:transparent;border:0;padding:10px 7px;color:white;font-size:12px;min-width:0}#chat-form button{color:var(--pink);padding:0 9px}.chat-foot{color:#81748d;font-size:9px;text-align:center;margin:12px 0 16px}.queue-heading{padding:24px 18px 10px}.queue-heading strong{font-size:15px}.queue-heading p{font-size:12px;color:var(--muted);line-height:1.7}#queue-list{list-style:none;padding:0 18px;max-height:340px;overflow:auto}#queue-list li{padding:14px 0;display:flex;gap:12px;align-items:center;border-bottom:1px solid var(--line);font-size:13px}#queue-list li span:first-child{color:var(--pink);font-family:monospace}#queue-list li small{margin-left:auto;color:var(--muted);font-size:10px}.empty-queue{color:var(--muted);font-size:13px;line-height:1.8;text-align:center;padding:55px 0}.secondary{border:1px solid #674663;color:var(--pink);padding:11px 15px;border-radius:5px;font-size:12px}#queue-join{display:block;margin:20px auto}.input-panel{margin-top:12px;padding:18px;border:1px solid #36544d;border-radius:8px;background:#172522;display:flex;gap:15px;align-items:center}.input-panel strong{font-size:14px;color:var(--cyan)}.input-panel p,.input-panel span{font-size:11px;color:#b0c5c1;line-height:1.7}.input-panel .secondary{margin-left:auto;white-space:nowrap}.input-panel span{display:block}footer{border-top:1px solid var(--line);margin-top:30px;display:flex;align-items:center;gap:25px;padding:25px 0 30px;color:#80738c}.footer-brand{font-family:'Barlow Condensed',Impact,sans-serif;font-weight:800;font-size:18px;color:#b7a6c1}.footer-brand span{color:#d38ab4}footer p{font-size:10px;line-height:1.7}footer>span:last-child{margin-left:auto;font-size:10px;white-space:nowrap}dialog{width:450px;max-width:calc(100% - 32px);border:1px solid #61405b;border-radius:16px;background:#1b1426;color:inherit;padding:35px;box-shadow:0 30px 120px #0009}dialog::backdrop{background:#090610b8;backdrop-filter:blur(9px)}.close{position:absolute;right:15px;top:10px;color:var(--muted);font-size:27px}h2{font-family:'Barlow Condensed',Impact,sans-serif;font-size:43px;line-height:1;margin:20px 0}dialog p{font-size:13px;color:var(--muted);line-height:1.8}dialog label{display:block;font-size:12px;color:#dfc8df;margin:20px 0 8px}dialog input{display:block;width:100%;background:#130d1d;color:white;padding:13px;border:1px solid #4f3550;border-radius:6px;font-size:14px}dialog .primary{width:100%;margin-top:22px}dialog small{display:block;font-size:10px;line-height:1.8;color:var(--muted);margin-top:15px}.steps{padding-left:20px}.steps li{padding-left:6px;margin:22px 0}.steps li::marker{color:var(--pink)}.steps strong{font-size:14px}.steps p{margin:5px 0}.technical-note{padding-top:15px;border-top:1px solid var(--line);font-size:11px}.toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:10;background:#302039;border:1px solid #95577d;padding:14px 22px;border-radius:8px;font-size:13px;max-width:90%;box-shadow:0 10px 50px #0008}.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}#config-error{color:#ff9eb9}:fullscreen{background:#100d18}:fullscreen .screen{height:100vh;aspect-ratio:auto}
@media(min-width:1600px){.messages{height:500px}.sidebar{min-height:675px}}
@media(max-width:1100px){.project-label{display:none}.arena-layout{grid-template-columns:minmax(0,1fr) 280px;gap:14px}.control-overlay{width:185px;top:20%;padding:10px}.gamepad{height:65px}.screen-brand strong{font-size:70px}.screen-brand>span{font-size:7px}.preview-notice{bottom:12%}.screen-caption{display:none}.under-player{gap:13px;font-size:10px}.turn-panel{padding:18px 14px;gap:10px}.turn-icon{display:none}.turn-description>strong{font-size:16px}.stream-bar{gap:6px;padding:0 10px}.stream-stats{gap:8px}.stream-tabs button{padding:7px}.icon-button{display:none}.intro-aside{display:none}}
@media(max-width:800px){.topbar{height:78px;padding:0 16px;gap:10px}.brand{width:77px}.brand strong{font-size:42px}.brand>span{font-size:16px}.brand .vi{font-size:37px}.topbar nav{gap:18px}.topbar nav button{font-size:10px}.beta{display:none}main{padding:0 16px}.intro{padding:30px 0 26px}h1{font-size:50px}.eyebrow{font-size:9px;letter-spacing:1.5px}.intro p{font-size:12px}.arena-layout{grid-template-columns:1fr}.sidebar{min-height:auto;margin-top:5px}.messages{height:280px}.chat-welcome{padding:35px 15px}.control-overlay{width:180px;top:22%}.screen-brand strong{font-size:70px}.screen-brand{top:25%}.preview-notice strong{font-size:11px}.preview-notice p{font-size:10px}.preview-notice{bottom:11%}.notice-icon{display:none}.screen-bottom{font-size:7px}.under-player{justify-content:space-between;gap:8px}.turn-description p{max-width:210px;line-height:1.6}.turn-panel .primary{padding:12px;gap:10px;font-size:12px}footer{flex-wrap:wrap;gap:5px 15px;margin-top:22px}footer p{flex-basis:100%;order:2}.input-panel{flex-wrap:wrap}.input-panel .secondary{margin:0}}
@media(max-width:440px){.screen{aspect-ratio:4/3}.screen-brand strong{font-size:59px}.screen-brand{left:6%;top:28%}.screen-brand>span{font-size:6px;letter-spacing:2px}.control-overlay{right:3%;top:26%;width:156px;padding:9px}.controller-row{gap:6px;margin-top:8px}.controller-row strong{max-width:95px;font-size:10px}.avatar{width:25px;height:29px;font-size:16px}.gamepad{height:60px;width:100px}.overlay-footer strong{font-size:18px}.overlay-footer span{font-size:6px}.overlay-label{font-size:6px}.preview-notice{bottom:13%}.screen-top{top:12px;left:12px;right:12px}.stream-stats span:first-child{display:none}.stream-bar{height:52px}.under-player span:last-child{display:none}.turn-description>span{font-size:8px}.turn-description>strong{font-size:14px}.turn-description p{font-size:10px}.turn-panel{gap:8px}.primary{gap:9px}.topbar nav{gap:13px}.screen-bottom>span:last-child{display:none}}
