:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;color:#e2e8f0;background:#0b1120;font-family:Inter,PingFang SC,Microsoft YaHei,system-ui,-apple-system,sans-serif}*{box-sizing:border-box}body{background:radial-gradient(circle at 20% -10%,#38bdf829,#0000 32rem),radial-gradient(circle at 100% 0,#818cf81f,#0000 28rem),#0b1120;min-width:320px;min-height:100vh;margin:0}a{color:#7dd3fc}button,input,textarea{font:inherit}button{color:#e2e8f0;cursor:pointer;background:#172033;border:1px solid #334155;border-radius:10px;padding:.55rem .85rem;transition:background .12s,border-color .12s,opacity .12s}button:hover:not(:disabled){background:#1e293b;border-color:#475569}button:disabled{opacity:.45;cursor:not-allowed}button.primary{color:#06202e;background:#0ea5e9;border-color:#0ea5e9;font-weight:700}button.primary:hover:not(:disabled){background:#38bdf8;border-color:#38bdf8}button.danger{color:#fee2e2;background:#7f1d1d;border-color:#991b1b}button.ghost{background:0 0}input,textarea{color:#e2e8f0;background:#0f172a;border:1px solid #334155;border-radius:10px;width:100%;padding:.6rem .7rem}.password-field{position:relative}.password-field input{padding-right:3rem}.password-toggle{color:#94a3b8;background:0 0;border:0;border-radius:8px;place-items:center;width:2.25rem;height:2.25rem;padding:0;display:grid;position:absolute;top:50%;right:.35rem;transform:translateY(-50%)}.password-toggle:hover:not(:disabled){color:#e2e8f0;background:#94a3b81f;border-color:#0000}.password-toggle svg{width:1.2rem;height:1.2rem}label{color:#94a3b8;margin-bottom:.35rem;font-size:.85rem;display:block}.page{max-width:1100px;margin:0 auto;padding:2rem 1.25rem 3rem}.page.narrow{max-width:520px}.hero{justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;display:flex}.hero h1{margin:0 0 .35rem;font-size:clamp(1.6rem,3vw,2.4rem)}.muted{color:#94a3b8}.small{font-size:.82rem}.card{background:#0f172ad1;border:1px solid #1e293b;border-radius:16px;padding:1.1rem;box-shadow:0 18px 50px #02061747}.stack{gap:1rem;display:grid}.row{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.row.between{justify-content:space-between}.grid-rooms{grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;display:grid}.room-card h3{margin:0 0 .35rem}.badge{color:#cbd5e1;background:#1e293b;border:1px solid #334155;border-radius:999px;align-items:center;gap:.3rem;padding:.15rem .55rem;font-size:.75rem;display:inline-flex}.badge.live{color:#86efac;background:#22c55e24;border-color:#22c55e66}.badge.warn{color:#fcd34d;background:#f59e0b24;border-color:#f59e0b59}.badge.recording{color:#fca5a5;background:#ef444429;border-color:#ef444473}.error{color:#fecaca;background:#7f1d1d40;border:1px solid #ef444473;border-radius:10px;padding:.6rem .75rem}.notice{color:#bae6fd;background:#0ea5e91a;border:1px solid #0ea5e959;border-radius:10px;padding:.6rem .75rem}.invite-box{border:1px dashed #334155;border-radius:12px;gap:.5rem;margin-top:.8rem;padding:.8rem;display:grid}.invite-box input{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.78rem}.classroom{grid-template-columns:minmax(0,1fr) 360px;gap:1rem;min-height:calc(100vh - 2rem);padding:1rem;display:grid}@media (width<=980px){.classroom{grid-template-columns:1fr}}.stage{grid-template-rows:auto minmax(0,1fr) auto;gap:.75rem;min-height:0;display:grid}.topbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.75rem;display:flex}.videos{background:#050b17;border:1px solid #1e293b;border-radius:18px;min-height:420px;position:relative;overflow:hidden}.videos .main-video{object-fit:contain;background:#020617;width:100%;height:100%;min-height:420px}.video-empty{color:#64748b;text-align:center;place-items:center;padding:1rem;display:grid;position:absolute;inset:0}.self-preview{aspect-ratio:16/10;object-fit:cover;background:#020617;border:1px solid #334155;border-radius:12px;width:min(220px,34%);position:absolute;bottom:.8rem;right:.8rem;box-shadow:0 10px 30px #0206178c}.toolbar{flex-wrap:wrap;align-items:center;gap:.5rem;display:flex}.sidebar{background:#0f172abf;border:1px solid #1e293b;border-radius:16px;grid-template-rows:minmax(0,1fr) auto;min-height:0;display:grid;overflow:hidden}.chat-head{border-bottom:1px solid #1e293b;justify-content:space-between;align-items:center;padding:.8rem .9rem;display:flex}.chat-list{align-content:start;gap:.55rem;min-height:0;padding:.8rem;display:grid;overflow:auto}.chat-item{background:#0f172a;border:1px solid #1e293b;border-radius:12px;padding:.55rem .65rem}.chat-item.self{background:#0ea5e91a;border-color:#0ea5e940}.chat-meta{color:#94a3b8;justify-content:space-between;gap:.5rem;margin-bottom:.25rem;font-size:.72rem;display:flex}.chat-body{white-space:pre-wrap;word-break:break-word}.chat-body img{border-radius:8px;max-width:100%;max-height:260px;margin-top:.35rem;display:block}.chat-compose{border-top:1px solid #1e293b;gap:.5rem;padding:.7rem;display:grid}.chat-compose textarea{resize:vertical;min-height:64px;max-height:160px}.participants{flex-wrap:wrap;gap:.4rem;display:flex}.modal-backdrop{z-index:50;background:#020617b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.modal{background:#0f172a;border:1px solid #334155;border-radius:18px;width:min(480px,100%);padding:1.25rem;box-shadow:0 30px 80px #020617b3}.status-dot{background:#64748b;border-radius:999px;width:.5rem;height:.5rem;display:inline-block}.status-dot.open{background:#22c55e}.status-dot.reconnecting{background:#f59e0b}.status-dot.closed{background:#ef4444}.footer-note{color:#64748b;margin-top:1.5rem;font-size:.8rem}
