:root{color-scheme:light;font-family:system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif;background:#f2f3f6;color:#171b22}*{box-sizing:border-box}body{margin:0}main{max-width:760px;margin:auto}header{height:64px;display:flex;align-items:center;gap:14px;padding:12px 18px}h1{font-size:17px;font-weight:600;flex:1;margin:0}h2{font-size:20px}a{color:inherit;text-decoration:none}.brand{font-weight:750;color:#ff5900;font-size:21px}.outline{border:1px solid #ff5900;color:#ff5900;border-radius:24px;padding:8px 16px;font-size:13px}button,.solid{border:0;border-radius:22px;background:#ff5900;color:white;font:inherit;padding:12px 20px;cursor:pointer}button:disabled{background:#d7d2cc;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #be9472;outline-offset:3px}#status{font-size:14px;line-height:1.7;padding:0 18px;color:#737b85}#status:empty{display:none}#directory{padding:10px 18px 30px}form{display:flex;gap:8px;margin-bottom:20px}input,textarea,select{font:inherit;border:1px solid #e9e4dd;border-radius:20px;padding:12px;background:white;min-width:0}input{flex:1}textarea{border-radius:10px;min-height:100px;resize:vertical}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 12px}.room{min-width:0;text-align:left;background:none;border-radius:0;color:inherit;padding:0;position:relative}.room img.cover{width:100%;aspect-ratio:4/5;object-fit:cover;border-radius:10px;background:#eae6df}.room h2{font-size:15px;line-height:1.5;margin:7px 0 4px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.room p{font-size:12px;color:#78818f;margin:0;line-height:1.7}.room .live{position:absolute;top:7px;left:7px;background:#ff5900;color:white;padding:4px 7px;border-radius:5px;font-size:11px}.secondary{display:block;background:white;color:#ff5900;border:1px solid #ff5900;margin:24px auto}.empty{grid-column:1/-1;min-height:200px;display:grid;place-items:center;color:#7b8390}#stage{height:calc(100svh - 64px);min-height:500px;background:#151515;color:white;position:relative;overflow:hidden}#video{width:100%;height:100%;object-fit:contain;background:#151515}.watch-head{position:absolute;top:0;left:0;right:0;display:flex;gap:8px;align-items:center;padding:10px 14px}.watch-head button,.watch-actions button{background:#0007;padding:9px 13px;font-size:13px}.watch-head #host{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.watch-head #online{font-size:12px}.watch-actions{position:absolute;bottom:calc(45px + env(safe-area-inset-bottom));left:14px;right:14px;display:flex;justify-content:space-between;gap:8px}.login-note{position:absolute;bottom:env(safe-area-inset-bottom);left:0;right:0;padding:0 14px 8px;color:#ddd;font-size:11px;text-align:center}#comments{position:absolute;bottom:110px;left:14px;max-width:min(80%,440px);max-height:23%;overflow:auto;font-size:13px;line-height:1.7;scrollbar-width:none}#comments p{background:#0005;padding:4px 8px;border-radius:7px;margin:4px 0;overflow-wrap:anywhere}#video-state{position:absolute;inset:45% 16px auto;text-align:center;color:white;font-size:14px;pointer-events:none;text-shadow:0 1px 6px black}dialog{border:0;border-radius:16px;background:#f2f3f6;width:min(90vw,420px);padding:22px;color:#171b22}dialog::backdrop{background:#0007}dialog h2{margin-top:0}dialog button,dialog select,dialog textarea{display:block;width:100%;margin-top:14px}#ended{text-align:center;padding:100px 25px}#ended .solid{display:inline-block;margin-top:30px}#debug{white-space:pre-wrap;padding:18px;font-size:11px;overflow-wrap:anywhere;background:white;border-radius:10px;margin:12px}body.watch header{background:#151515;color:white}body.watch .brand{color:#ff754e}[hidden]{display:none!important}@media(min-width:760px){#stage{max-height:900px}body.watch main{max-width:540px}}

#comment-form{position:absolute;bottom:calc(8px + env(safe-area-inset-bottom));left:14px;right:14px;margin:0}#comment-form input{background:#fffffff2;color:#171b22;font-size:14px}#comment-form button{padding:10px 16px}.watch-actions{bottom:calc(68px + env(safe-area-inset-bottom))}#comments{bottom:125px}#channel-pass-form{display:block}#channel-pass{width:100%}.room img.cover{aspect-ratio:4/3}
body.watch header{background:#fff;color:#171b22}#stage,#video{background:#f2f3f6}.watch-head button,.watch-actions button{background:#ffffffe6;color:#171b22}.watch-head{color:#171b22;background:#fff}
