* { box-sizing: border-box; }
[hidden] { display: none !important; }
:root { color-scheme: dark; font-family: "Microsoft YaHei", system-ui, sans-serif; color: #eff5f0; background: #111915; }
body { margin: 0; }
main { width: min(100% - 36px, 940px); margin: 0 auto; min-height: 100svh; }
header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 28px 0 24px; }
h1 { font-size: 21px; margin: 0; font-weight: 650; }
h2 { font-size: 28px; margin: 0 0 26px; letter-spacing: .01em; }
form { max-width: 420px; margin: clamp(24px, 10vh, 110px) auto 0; background: #1c2a22; border: 1px solid #314638; border-radius: 24px; padding: clamp(24px, 6vw, 38px); }
label { display: grid; gap: 8px; font-size: 14px; color: #ceead8; margin-bottom: 17px; }
input, button { font: inherit; min-height: 46px; border-radius: 11px; }
input { border: 1px solid #415749; background: #111a15; color: #fff; min-width: 0; padding: 10px 13px; }
button { cursor: pointer; font-weight: 650; color: #102418; background: #a9eab9; border: 0; padding: 0 16px; }
button:disabled { opacity: .55; cursor: wait; }
form button { width: 100%; margin-top: 6px; }
:focus-visible { outline: 2px solid #b9f3ca; outline-offset: 3px; }
.subtle { color: #cce5d4; background: #1f3026; }
#error { color: #ffccbc; font-size: 14px; margin-bottom: 0; }
.video { background: #090f0b; display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 17px; overflow: hidden; }
.video:fullscreen { border-radius: 0; }
.video img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.video p, .toolbar p { margin: 0; color: #b4c9bc; font-size: 14px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; min-height: 66px; gap: 12px; }
.toolbar .live { color: #a9eab9; }
