@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');
:root{color-scheme:dark;--bg:#090b12;--panel:#121622;--panel2:#171d2b;--line:#252d3e;--text:#f4f6fb;--muted:#929caf;--accent:#8b7cff;--accent2:#6d5dfc}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(ellipse at 18% 0%,#1a1b37 0,transparent 38%),var(--bg);color:var(--text);font-family:Manrope,system-ui,sans-serif;min-height:100vh}
button,input{font:inherit}
button,a{ -webkit-tap-highlight-color:transparent}
.shell{width:min(1180px,calc(100% - 40px));margin:0 auto}
.topbar{height:78px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.07)}
.brand{font-size:20px;font-weight:800;letter-spacing:-.8px;color:#fff;text-decoration:none}.brand span{color:var(--accent)}
.top-note,.muted,.room-subtitle{color:var(--muted);font-size:13px}
.home-view{min-height:calc(100vh - 140px);display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:8%;padding:55px 6%}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.8px;color:#9e94ff;margin-bottom:12px}
h1{font-size:clamp(34px,5vw,58px);line-height:1.08;letter-spacing:-2.5px;margin:0 0 18px}
h1 span{color:#a49aff}.hero p{max-width:460px;color:var(--muted);line-height:1.8;font-size:15px}
.panel{background:linear-gradient(145deg,rgba(23,29,43,.98),rgba(16,20,31,.98));border:1px solid var(--line);border-radius:18px;padding:24px;box-shadow:0 20px 70px rgba(0,0,0,.18)}
.home-panel{max-width:430px;width:100%;justify-self:end}
label,.field-label{display:block;color:#cbd2e0;font-size:12px;font-weight:700;margin-bottom:9px}
input{width:100%;height:48px;background:#0d111b;border:1px solid #30394c;border-radius:10px;padding:0 14px;color:#fff;outline:none;margin-bottom:13px}
input:focus{border-color:#8b7cff;box-shadow:0 0 0 3px rgba(139,124,255,.12)}
input::placeholder{color:#687286}
.primary-btn,.secondary-btn,.quiet-btn{border:0;border-radius:10px;height:46px;padding:0 17px;font-weight:800;cursor:pointer;transition:.18s}
.primary-btn{width:100%;background:linear-gradient(100deg,#8b7cff,#6b5cf4);color:#fff;box-shadow:0 8px 22px rgba(109,93,252,.2)}
.primary-btn:hover{filter:brightness(1.1);transform:translateY(-1px)}
.secondary-btn{background:#242b3d;color:#eef0fa;border:1px solid #39425a}
.secondary-btn:hover,.quiet-btn:hover{background:#303951}
.quiet-btn{background:transparent;color:#aab3c5}
.split{display:flex;align-items:center;gap:12px;color:#737e92;font-size:11px;margin:20px 0}.split:before,.split:after{content:"";height:1px;background:#293143;flex:1}
.join-row{display:flex;gap:9px}.join-row input{margin:0;min-width:0}.join-row button{height:48px}
.error{min-height:18px;color:#ff8c9b;font-size:12px;margin:10px 0 0}
.room-view{padding:36px 0 50px}.hidden{display:none!important}
.room-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}
.room-heading h1{font-size:32px;letter-spacing:-1.3px;margin:0 0 5px}.room-subtitle{margin:0}
.room-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.room-code{display:flex;flex-direction:column;margin-right:8px}.room-code span{font-size:9px;letter-spacing:1.3px;color:var(--muted)}.room-code strong{font-size:20px;letter-spacing:2px}
.room-actions button{height:40px;font-size:11px;padding:0 12px}
.workspace{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(290px,.85fr);gap:18px;align-items:start}
.player-column,.side-column{display:grid;gap:16px;min-width:0}
.video-panel{padding:19px}
.panel-title-row{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px}
h2{font-size:17px;margin:0;letter-spacing:-.4px}
.panel-title-row .eyebrow{margin-bottom:5px}
.status-pill{font-size:10px;color:#b9b1ff;background:#2a2750;border:1px solid #454078;border-radius:99px;padding:6px 9px;white-space:nowrap}
.player-mount{aspect-ratio:16/9;background:#05070c;border:1px solid #262d3b;border-radius:12px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.player-mount iframe{width:100%;height:100%;border:0;display:block}
.empty-player{display:flex;flex-direction:column;align-items:center;gap:8px;color:#d9dced;text-align:center;padding:20px}
.empty-player span{font-size:11px;color:#778196}.empty-player strong{font-size:13px}
.play-symbol{width:48px;height:48px;display:grid;place-items:center;padding-left:3px;border-radius:50%;background:#272449;color:#a79dff;font-size:17px;margin-bottom:5px}
.help-panel{padding:17px 21px}.help-panel strong{font-size:12px}.help-panel ol{padding-left:18px;margin:10px 0 0;color:var(--muted);font-size:11px;line-height:1.9}
.add-panel h2{font-size:19px;margin-bottom:7px}.add-panel .muted{line-height:1.65;margin:0 0 16px}
.search-link{display:flex;align-items:center;gap:11px;padding:12px;background:#20263a;border:1px solid #343c56;border-radius:12px;text-decoration:none;color:#fff;margin-bottom:19px}
.search-link:hover{border-color:#8b7cff;background:#262b45}.vk-mark{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:#657fe8;font-size:13px}
.search-link strong,.search-link small{display:block}.search-link strong{font-size:11px}.search-link small{font-size:9px;color:#929db4;margin-top:3px}.external{margin-left:auto;color:#a79dff}
.add-panel input{height:44px;font-size:12px}.add-panel .primary-btn{height:44px;font-size:12px}
.tiny-note{font-size:10px;line-height:1.6;color:#788397;margin:11px 0 0}
.people-panel{padding:18px 20px}.people-title{display:flex;justify-content:space-between;align-items:center}.people-title h2{font-size:15px}.people-title>span{font-size:10px;color:#b8afff;background:#2b2850;border-radius:20px;padding:4px 8px}
.participants{list-style:none;padding:0;margin:13px 0 0;display:grid;gap:10px}.participants li{display:flex;align-items:center;gap:9px;font-size:12px;color:#dce1ec}.person-dot{width:8px;height:8px;border-radius:50%;background:#8c80ff;box-shadow:0 0 10px #8c80ff66}
footer{padding:22px 0 28px;color:#687286;font-size:10px;text-align:center}footer span{padding:0 7px;color:#9b91ff}
@media(max-width:850px){.home-view{grid-template-columns:1fr;gap:30px;padding:45px 2%}.home-panel{justify-self:stretch;max-width:none}.workspace{grid-template-columns:1fr}.room-heading{align-items:flex-start;flex-direction:column}.room-actions{justify-content:flex-start}.room-code{margin-right:5px}}
@media(max-width:520px){.shell{width:min(100% - 24px,1180px)}.topbar{height:64px}.home-view{padding:38px 0}.panel{padding:18px}.room-view{padding-top:25px}.room-heading h1{font-size:27px}.room-actions{gap:6px}.room-actions button{font-size:10px;padding:0 9px}.room-code strong{font-size:17px}.panel-title-row{align-items:flex-start}.status-pill{font-size:9px}}
