:root { color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: #10161d; color: #edf3f6; font: 19px/1.45 "Segoe UI", Arial, sans-serif; }
main { max-width: 1800px; margin: auto; padding: 34px 48px; }
header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 24px; }
.eyebrow { color: #82e4cb; letter-spacing: .18em; font-size: 13px; font-weight: 700; margin: 0 0 9px; }
.eyebrow span { color: #8fa8b6; margin-left: 14px; }
h1 { font-size: 42px; line-height: 1.15; margin: 0 0 9px; letter-spacing: -.035em; }
.subtitle { color: #a9bcc8; margin: 0; }
.badge { border: 1px solid #405460; border-radius: 12px; padding: 12px 20px; color: #82e4cb; font-size: 17px; }
.badge small { color: #a9bcc8; }
.layout { display: grid; grid-template-columns: 350px minmax(0, 1fr); gap: 28px; }
aside { background: #19252e; border: 1px solid #34434d; padding: 22px; border-radius: 16px; }
h2 { font-size: 19px; margin: 0 0 10px; font-weight: 600; }
.group { margin-bottom: 17px; }
.group h2 { color: #82e4cb; font-size: 15px; }
.group h2 span { color: #edf3f6; margin-left: 9px; font-size: 18px; }
.group p, .privacy { font-size: 13px; color: #a9bcc8; margin: 9px 0 0; }
button { background: #243642; border: 2px solid #4c6473; color: #edf3f6; border-radius: 9px; min-height: 50px; padding: 10px 12px; font: inherit; font-size: 16px; cursor: pointer; }
button small { display: block; font-size: 11px; }
button[aria-pressed="true"] { border-color: #82e4cb; background: #214a46; }
button:focus, summary:focus, pre:focus { outline: 4px solid #ffdd93; outline-offset: 4px; }
button:disabled { opacity: .4; cursor: default; }
.pair, .triple { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.triple { grid-template-columns: 1fr 1fr 1fr; }
.wide { width: 100%; margin-top: 12px; }
.primary { background: #82e4cb; color: #0f2624; border-color: #82e4cb; font-weight: 700; }
.screen { position: relative; background: #060c11; border: 1px solid #334752; border-radius: 16px; overflow: hidden; aspect-ratio: 16/9; }
@media (min-width: 951px) { .screen { height: 48vh; max-height: 560px; aspect-ratio: auto; } }
video { display: block; width: 100%; height: 100%; object-fit: contain; }
#placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; color: #b4c9d4; padding: 24px; pointer-events: none; }
#placeholder strong { font-size: 23px; }
#placeholder p { font-size: 16px; }
.play-icon { color: #82e4cb; font-size: 65px; line-height: 1; margin-bottom: 20px; }
#mode-label { position: absolute; top: 16px; left: 18px; padding: 6px 10px; background: #12242be6; color: #82e4cb; font-size: 12px; letter-spacing: .08em; }
.transport { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 15px; }
.transport button { font-size: 14px; }
.stop { border-color: #cf8d7c; color: #ffd2c4; }
#status { color: #d7e6ed; background: #1d303b; padding: 12px 16px; border-radius: 8px; font-size: 16px; margin: 15px 0; }
.stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.stats div { padding: 14px; background: #19252e; border: 1px solid #34434d; border-radius: 12px; }
.stats span, .stats small { display: block; font-size: 12px; color: #a9bcc8; }
.stats strong { display: block; color: #82e4cb; font-size: 25px; font-weight: 600; margin: 5px 0; }
.diagnostic { margin-top: 24px; }
.section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; }
.section-title span { font-size: 13px; color: #a9bcc8; }
pre { white-space: pre-wrap; overflow-wrap: anywhere; background: #0b1117; border: 1px solid #34434d; border-radius: 12px; padding: 18px; font: 14px/1.6 Consolas, monospace; height: 190px; overflow: auto; margin: 0; }
#history { height: 140px; }
details { color: #b4c9d4; margin-top: 26px; font-size: 16px; }
summary { cursor: pointer; padding: 12px 0; }
footer { margin-top: 22px; color: #8ca4b1; font-size: 11px; letter-spacing: .14em; }
@media (min-width: 1500px) { body { font-size: 22px; } .layout { grid-template-columns: 400px minmax(0,1fr); } button { font-size: 19px; min-height: 58px; } .group p, .privacy { font-size: 15px; } .stats span, .stats small { font-size: 14px; } }
@media (max-width: 950px) { main { padding: 24px; } .layout { grid-template-columns: 1fr; } aside { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } .privacy { grid-column: 1/-1; } h1 { font-size: 34px; } .badge { display: none; } .stats { grid-template-columns: 1fr 1fr; } }
