:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#fff;--fg:#111;--muted:#6b6b6b;--line:#e6e6e6;--soft:#f4f4f4;--accent:#111;--on-accent:#fff;--live:#16a34a;--warn:#d97706;--bad:#dc2626;--radius:14px;--safe-bottom:env(safe-area-inset-bottom,0px);-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Inter,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:16px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#111;--fg:#f2f2f2;--muted:#9a9a9a;--line:#2a2a2a;--soft:#1b1b1b;--accent:#f2f2f2;--on-accent:#111;--live:#22c55e}}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{background:var(--bg);color:var(--fg);overscroll-behavior:none;margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:0 0;border:0;padding:0}button:focus-visible,input:focus-visible,a:focus-visible,[tabindex]:focus-visible{outline:2px solid var(--fg);outline-offset:2px}a{color:inherit}.sr{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.page{flex-direction:column;min-height:100%;display:flex}.lobby{width:min(100%,440px);padding:clamp(24px, 6vh, 64px) 20px calc(24px + var(--safe-bottom));flex-direction:column;flex:1;gap:28px;margin:0 auto;display:flex}.brand{justify-content:space-between;align-items:center;gap:12px;display:flex}.brand h1{letter-spacing:-.01em;align-items:center;gap:10px;margin:0;font-size:20px;font-weight:600;display:flex}.brand svg{border-radius:7px;width:26px;height:26px}.tagline{color:var(--muted);margin:4px 0 0}.lang{color:var(--muted);border-radius:8px;padding:6px 8px;font-size:14px}.lang:hover{background:var(--soft)}.section{flex-direction:column;gap:10px;display:flex}.label{color:var(--muted);font-size:13px}.field{border:1px solid var(--line);background:var(--bg);outline-offset:0;border-radius:12px;width:100%;height:48px;padding:0 14px}.field:focus{border-color:var(--fg);outline:none}.field::placeholder{color:var(--muted)}.row{align-items:center;gap:10px;display:flex}.row>.field{flex:1;min-width:0}.btn{background:var(--accent);height:48px;color:var(--on-accent);white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-weight:600;display:inline-flex}.btn:disabled{opacity:.4;cursor:default}.btn.ghost{background:var(--soft);color:var(--fg)}.btn.block{width:100%}.hint{color:var(--muted);margin:0;font-size:13px}.hint.bad{color:var(--bad)}.hint.warn{color:var(--warn)}.mic{border:1px solid var(--line);text-align:left;border-radius:12px;align-items:center;gap:12px;width:100%;padding:12px 14px;display:flex}.mic .meter{background:var(--soft);border-radius:3px;flex:1;height:6px;overflow:hidden}.mic .meter>i{background:var(--live);border-radius:3px;width:0;height:100%;transition:width 60ms linear;display:block}.mic .text{color:var(--muted);flex:2;font-size:14px}.card{border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:12px;padding:16px;display:flex}.card .head{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.card h2{margin:0;font-size:17px;font-weight:600}.count{color:var(--muted);white-space:nowrap;font-size:13px}.count:before{content:"";background:var(--live);vertical-align:1px;border-radius:50%;width:7px;height:7px;margin-right:7px;display:inline-block}.count.idle:before{background:var(--line)}.now{grid-template-columns:40px minmax(0,1fr);align-items:center;gap:12px;display:grid}.now .art{background:var(--soft);width:40px;height:40px;color:var(--muted);border-radius:10px;place-items:center;display:grid}.now .art.live{color:var(--fg)}.now .title{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.now .sub{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.eq{align-items:flex-end;gap:2px;height:14px;display:inline-flex}.eq i{background:currentColor;border-radius:1px;width:3px;height:40%;animation:.9s ease-in-out infinite eq}.eq i:nth-child(2){animation-delay:.15s}.eq i:nth-child(3){animation-delay:.3s}.eq i:nth-child(4){animation-delay:.45s}@keyframes eq{0%,to{height:30%}50%{height:100%}}@media (prefers-reduced-motion:reduce){.eq i{height:60%;animation:none}}.footer{color:var(--muted);flex-wrap:wrap;gap:4px 12px;margin-top:auto;padding-top:16px;font-size:12px;display:flex}.footer a{color:var(--muted)}.room{grid-template-rows:auto 1fr auto;grid-template-columns:1fr;height:100dvh;display:grid}@media (min-width:900px){.room.with-chat{grid-template-columns:1fr 360px}.room.with-chat .topbar,.room.with-chat .bottombar{grid-column:1}.room.with-chat .chat{border-left:1px solid var(--line);grid-area:1/2/span 3}}.topbar{padding:12px 16px;padding-top:max(12px, env(safe-area-inset-top));border-bottom:1px solid var(--line);align-items:center;gap:12px;min-height:56px;display:flex}.topbar .name{flex-direction:column;flex:1;min-width:0;display:flex}.topbar .name b{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.topbar .name span{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:12px;display:flex}.iconbtn{width:40px;height:40px;color:var(--fg);border-radius:10px;place-items:center;display:inline-grid;position:relative}.iconbtn:hover{background:var(--soft)}.iconbtn.on{background:var(--fg);color:var(--bg)}.iconbtn.danger{background:var(--bad);color:#fff}.iconbtn .dot{background:var(--live);border-radius:50%;width:7px;height:7px;position:absolute;top:6px;right:6px}.iconbtn svg{width:22px;height:22px}.bars{align-items:flex-end;gap:2px;height:14px;display:inline-flex}.bars i{background:var(--line);border-radius:1px;width:3px}.bars i.on{background:currentColor}.bars.q1,.bars.q2{color:var(--bad)}.bars.q3{color:var(--warn)}.grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));align-content:start;gap:12px;padding:16px;display:grid;overflow-y:auto}@media (max-width:400px){.grid{grid-template-columns:repeat(2,1fr)}}.tile{aspect-ratio:1;border-radius:var(--radius);background:var(--soft);flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:120px;padding:12px;transition:box-shadow .12s;display:flex;position:relative}.tile.speaking{box-shadow:0 0 0 2px var(--live) inset}.avatar{color:#fff;border-radius:50%;place-items:center;width:56px;height:56px;font-size:20px;font-weight:600;display:grid;position:relative}.avatar:after{content:"";border:2px solid var(--live);opacity:0;border-radius:50%;transition:opacity .12s,transform .12s;position:absolute;inset:-5px;transform:scale(.9)}.speaking .avatar:after{opacity:1;transform:scale(1)}.tile .who{text-overflow:ellipsis;white-space:nowrap;align-items:center;gap:6px;max-width:100%;font-size:14px;display:flex;overflow:hidden}.tile .who small{color:var(--muted);font-size:12px}.tile .mutedmark{color:var(--muted);position:absolute;top:10px;right:10px}.tile .mutedmark svg{width:16px;height:16px}.tile.bot{aspect-ratio:auto;text-align:left;flex-direction:row;grid-column:1/-1;justify-content:flex-start;min-height:0;padding:14px 16px}.tile.bot .avatar{flex-shrink:0;width:44px;height:44px;font-size:16px}.tile.bot .info{flex-direction:column;flex:1;gap:2px;min-width:0;display:flex}.tile.bot .info .t{text-overflow:ellipsis;white-space:nowrap;font-weight:500;overflow:hidden}.tile.bot .info .s{color:var(--muted);-webkit-line-clamp:2;overflow-wrap:anywhere;-webkit-box-orient:vertical;font-size:13px;display:-webkit-box;overflow:hidden}.progress{background:var(--line);border-radius:2px;height:3px;margin-top:6px;overflow:hidden}.progress>i{background:var(--fg);height:100%;transition:width 1s linear;display:block}.empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:24px 0;font-size:14px}.bottombar{padding:12px 16px calc(12px + var(--safe-bottom));border-top:1px solid var(--line);justify-content:center;gap:14px;display:flex}.bottombar .iconbtn{background:var(--soft);border-radius:14px;width:52px;height:52px}.bottombar .iconbtn.on{background:var(--fg);color:var(--bg)}.bottombar .iconbtn.danger{background:var(--bad)}.banner{left:50%;bottom:calc(92px + var(--safe-bottom));background:var(--fg);color:var(--bg);z-index:5;border-radius:999px;align-items:center;gap:10px;max-width:calc(100% - 32px);padding:10px 16px;font-size:14px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 6px 24px #00000026}.banner.bad{background:var(--bad);color:#fff}.banner button{font-weight:600;text-decoration:underline}.chat{background:var(--bg);flex-direction:column;min-height:0;display:flex}@media (max-width:899px){.chat{z-index:10;padding-top:env(safe-area-inset-top);position:fixed;inset:0}}.chat .chead{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;min-height:56px;padding:12px 16px;font-weight:600;display:flex}.chat .log{overscroll-behavior:contain;flex-direction:column;flex:1;gap:8px;padding:12px 16px;display:flex;overflow-y:auto}.msg{flex-direction:column;gap:2px;max-width:85%;display:flex}.msg.own{text-align:right;align-self:flex-end}.msg .meta{color:var(--muted);font-size:12px}.msg .body{background:var(--soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:14px;padding:8px 12px;display:inline-block}.msg.own .body{background:var(--fg);color:var(--bg)}.msg.system .body{color:var(--muted);background:0 0;padding:0;font-size:13px}.typing{color:var(--muted);min-height:16px;padding:0 16px;font-size:12px}.compose{padding:10px 12px calc(10px + var(--safe-bottom));border-top:1px solid var(--line);gap:8px;display:flex}.compose .field{flex:1;height:44px}.compose .iconbtn{background:var(--fg);width:44px;height:44px;color:var(--bg)}.center{text-align:center;color:var(--muted);flex-direction:column;flex:1;justify-content:center;align-items:center;gap:16px;padding:24px;display:flex}.center h2{color:var(--fg);margin:0;font-size:18px;font-weight:600}.spinner{border:2px solid var(--line);border-top-color:var(--fg);border-radius:50%;width:22px;height:22px;animation:.8s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}@media (max-width:899px){.desktop-only{display:none}}@media (min-width:900px){.mobile-only{display:none}}
