:root{color-scheme:dark;--background:#101113;--surface:#000;--text:#f5f5f6;--muted:#a0a3aa;--border:#393b40;--accent:#f5f5f6;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;font-synthesis:none}
*{box-sizing:border-box}body{margin:0;background:var(--background);color:var(--text);min-width:280px}button,input,summary{font:inherit}button,a,summary,input{touch-action:manipulation}button{cursor:pointer;color:inherit}button:disabled{opacity:.4;cursor:default}button:focus-visible,input:focus-visible,summary:focus-visible,.player:focus-visible,a:focus-visible{outline:2px solid #fff;outline-offset:4px}a{color:inherit}[hidden]{display:none!important}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{width:min(1120px,calc(100% - 64px));margin:0 auto}.header{height:130px;display:flex;align-items:center;justify-content:space-between;gap:24px}h1{margin:0;font-size:30px;line-height:1.2;font-weight:600;letter-spacing:-1px}h1 span{font-weight:400;margin:0 2px}.status{display:flex;align-items:center;gap:10px;color:#dedfe2;font-size:16px;white-space:nowrap}.status-dot{width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%;display:inline-block}.header:has(+[data-state="live"]) .status-dot{background:#f06d6d;border-color:#f06d6d;box-shadow:0 0 0 4px #f06d6d12}.header:has(+[data-state="connecting"]) .status-dot,.header:has(+[data-state="reconnecting"]) .status-dot{border-color:#fff4;border-top-color:#fff;animation:spin 1s linear infinite}.player{position:relative;aspect-ratio:16/9;background:var(--surface);border:1px solid #62656c;border-radius:12px;overflow:hidden;isolation:isolate;outline:none}.player video{width:100%;height:100%;object-fit:contain;display:block;background:#000}.overlay{position:absolute;inset:0 0 58px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:24px;gap:16px;background:#000}.broadcast{width:78px;height:78px;stroke-width:1.7;margin-bottom:12px}.overlay h2{font-size:34px;font-weight:600;letter-spacing:.02em;line-height:1.35;margin:0}.overlay p{font-size:20px;line-height:1.6;color:#afb2ba;margin:0;max-width:520px;overflow-wrap:anywhere}.outline{min-height:44px;border:1px solid #aeb0b7;background:transparent;border-radius:8px;padding:10px 24px;font-size:16px;font-weight:500;line-height:1.4}.outline:hover{background:#ffffff0c;border-color:#fff}.overlay .outline{margin-top:12px}.controls{position:absolute;inset:auto 0 0;display:flex;align-items:center;gap:6px;height:58px;padding:6px 12px;background:#141518f2;border-top:1px solid #ffffff15;transition:opacity .2s,transform .2s;z-index:3}.controls button{width:44px;height:44px;display:grid;place-items:center;border:0;border-radius:6px;background:transparent;padding:10px}.controls button:hover{background:#ffffff12}.controls svg{width:24px;height:24px}.control-status{font-size:14px;color:#aeb1b8;margin-left:auto;padding:0 8px;white-space:nowrap}.volume-label{display:flex;width:136px;min-height:44px;align-items:center;padding:0 8px}input[type="range"]{width:100%;height:4px;accent-color:#fff;cursor:pointer}.player[data-state="live"]:not(.controls-visible):not(:focus-visible):not(:has(:focus-visible)) .controls{opacity:0;transform:translateY(100%);pointer-events:none}.audio-prompt{position:absolute;top:18px;right:18px;display:flex;gap:8px;align-items:center;background:#16171bd9;border:1px solid #ffffff50;border-radius:8px;padding:10px 14px;min-height:44px;font-size:14px;z-index:2;backdrop-filter:blur(12px)}.audio-prompt svg{width:20px;height:20px}.notice{position:absolute;top:16px;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);background:#292b31;border:1px solid #ffffff20;border-radius:8px;padding:10px 16px;font-size:14px;line-height:1.5;z-index:5;text-align:center;margin:0}.below-player{position:relative;display:flex;align-items:flex-start;justify-content:flex-end;gap:24px;margin-top:28px}details{max-width:75%;font-size:15px}summary{list-style:none;display:flex;align-items:center;justify-content:flex-end;gap:8px;cursor:pointer;min-height:32px}summary::-webkit-details-marker{display:none}summary svg{width:18px;height:18px;transition:transform .2s}details[open] summary svg{transform:rotate(180deg)}.diagnostic-panel{padding:20px 0 0;max-width:580px;color:var(--muted);font-size:13px;line-height:1.7}.diagnostic-panel dl{margin:0 0 16px;display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px 20px}.diagnostic-panel dt{color:#8a8d96}.diagnostic-panel dd{margin:0;color:#dedfe2;overflow-wrap:anywhere;white-space:pre-wrap}.diagnostic-panel .outline{font-size:13px;padding:8px 14px}footer{text-align:center;color:#858992;font-size:14px;padding:78px 0 44px}.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}.player:fullscreen{width:100%;height:100%;aspect-ratio:auto;border:0;border-radius:0}.player:-webkit-full-screen{width:100%;height:100%;border:0;border-radius:0}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:640px){.shell{width:calc(100% - 28px)}.header{height:94px;gap:16px}h1{font-size:23px;letter-spacing:-.7px}.status{font-size:13px;gap:8px}.status-dot{width:11px;height:11px}.player{border-radius:9px}.overlay{inset:0 0 48px;padding:12px;gap:7px}.broadcast{width:38px;height:38px;margin:0}.overlay h2{font-size:20px}.overlay p{font-size:12px;line-height:1.5;max-width:280px}.overlay .outline{font-size:12px;min-height:36px;padding:7px 16px;margin-top:4px}.controls{height:48px;padding:2px 4px;gap:0}.controls button{width:44px;height:44px;padding:12px}.controls svg{width:21px;height:21px}.volume-label{width:60px;padding:0 5px}.control-status{font-size:11px;padding:0 3px;overflow:hidden;text-overflow:ellipsis}.below-player{margin-top:20px;gap:12px}details{font-size:13px;max-width:100%}details[open]{width:100%}.diagnostic-panel dl{grid-template-columns:100px minmax(0,1fr);gap:7px 12px}.diagnostic-panel{font-size:12px}.audio-prompt{top:10px;right:10px;padding:8px 10px;font-size:12px}.audio-prompt svg{width:17px;height:17px}footer{font-size:12px;padding-top:64px}.notice{top:10px;font-size:12px}}
@media(max-width:370px){.volume-label{display:none}.control-status{font-size:10px}.broadcast{display:none}.overlay{gap:6px}.overlay h2{font-size:18px}}
@media(max-width:640px){.overlay{gap:7px;padding:10px}.broadcast{display:none}.overlay .outline{min-height:44px}.overlay p{max-height:2.8em;line-height:1.4;overflow:hidden}}
@media(max-width:370px){.overlay{gap:4px;padding:6px}.overlay p{font-size:11px;line-height:1.5;max-width:100%;white-space:nowrap;text-overflow:ellipsis}}
@media(max-width:330px){.overlay p{display:none}}
body{-webkit-user-select:none;user-select:none}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
