:root {
color-scheme: dark;
font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif;
background: #11131a;
color: #f4f4f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 700px; min-height: 470px; background:
radial-gradient(circle at 16% -10%, rgba(103, 92, 255, .24), transparent 34%),
radial-gradient(circle at 88% 4%, rgba(52, 188, 207, .13), transparent 28%), #11131a; }
button, select, input { font: inherit; }
.shell { min-height: 100vh; padding: 30px 34px 122px; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.eyebrow { color: #8d94ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 8px 0 4px; font-size: 30px; letter-spacing: -.04em; }
.hero p, .section-title p { margin: 0; color: #969caf; font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 430px; }
.badge { padding: 7px 10px; border: 1px solid #3d4260; border-radius: 999px; background: rgba(42,46,63,.66); color: #cfd3ff; font-size: 10px; }
.badge.muted { color: #a9afbf; }
.badge.warning { border-color: #665133; color: #e8bd75; background: rgba(75,55,29,.5); }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(120px,1fr)); gap: 10px; margin: 22px 0; }
.metrics div { border: 1px solid #292d3a; border-radius: 13px; padding: 15px 17px; background: rgba(24,27,36,.76); }
.metrics strong { display: block; font-size: 18px; }
.metrics span { display: block; margin-top: 3px; color: #858c9f; font-size: 10px; }
.participants-panel { border: 1px solid #292d3a; border-radius: 17px; padding: 20px; background: rgba(20,23,31,.78); }
.section-title { display: flex; justify-content: space-between; margin-bottom: 15px; }
h2 { margin: 0 0 4px; font-size: 15px; }
.participant-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(235px,1fr)); gap: 11px; }
.participant-card { border: 1px solid #303543; border-radius: 14px; padding: 14px; background: linear-gradient(145deg,rgba(38,42,56,.9),rgba(25,28,38,.88)); }
.participant-card.self { border-color: #535cc1; box-shadow: inset 0 0 0 1px rgba(104,114,255,.13); }
.participant-head { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#777fff,#4c52b8); color: #fff; font-size: 13px; font-weight: 700; }
.identity { min-width: 0; }
.identity strong, .identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity strong { font-size: 12px; }
.identity span { margin-top: 3px; color: #8e95a8; font-size: 10px; }
.connection-dot { width: 8px; height: 8px; border-radius: 50%; background: #73798b; box-shadow: 0 0 0 4px rgba(115,121,139,.1); }
.connection-dot.connected { background: #5fd39b; box-shadow: 0 0 0 4px rgba(95,211,155,.11); }
.connection-dot.failed { background: #f27482; }
.volume-row { display: grid; grid-template-columns: auto 1fr 38px; align-items: center; gap: 9px; margin-top: 14px; }
.peer-mute { padding: 5px 8px; border: 0; border-radius: 8px; background: #373c4d; color: #c8ccda; font-size: 9px; cursor: pointer; }
.peer-mute[aria-pressed="true"] { background: #70424b; color: #ffd8dc; }
.peer-volume, #micGain { accent-color: #7881ff; width: 100%; }
.volume-row output { color: #aab0c2; text-align: right; font-size: 9px; }
.control-dock { position: fixed; z-index: 10; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: minmax(160px,1.3fr) auto auto minmax(210px,1.2fr) auto; align-items: center; gap: 10px; padding: 13px; border: 1px solid #333849; border-radius: 17px; background: rgba(26,29,39,.94); box-shadow: 0 18px 50px rgba(0,0,0,.38); backdrop-filter: blur(16px); }
.device-control label, .gain-control label { display: block; color: #999fb1; font-size: 9px; margin-bottom: 5px; }
select { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #3a3f50; border-radius: 9px; outline: none; background: #20232e; color: #e9eaf1; font-size: 10px; }
.control-button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 78px; padding: 8px 10px; border: 1px solid #3a3f50; border-radius: 11px; background: #222631; color: #c8ccda; font-size: 9px; cursor: pointer; }
.control-button.active { border-color: #5962c7; color: #dde0ff; background: #292e54; }
.control-icon { font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.gain-control > div { display: flex; justify-content: space-between; }
.gain-control output { color: #d6d9e4; font-size: 9px; }
.gain-control small { display: block; color: #737b8e; font-size: 8px; line-height: 1.25; }
.leave-button { padding: 12px 16px; border: 0; border-radius: 11px; background: #a74350; color: white; font-weight: 650; font-size: 11px; cursor: pointer; }
.leave-button:hover { background: #bc4c5a; }
@media (max-width: 850px) {
.metrics { grid-template-columns: repeat(2,1fr); }
.control-dock { grid-template-columns: 1fr auto auto; }
.gain-control { grid-column: 1 / 3; }
.device-control { grid-column: 1 / 4; }
.shell { padding-bottom: 200px; }
}
:root {
color-scheme: dark;
font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif;
background: #11131a;
color: #f4f4f8;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 700px; min-height: 470px; background:
radial-gradient(circle at 16% -10%, rgba(103, 92, 255, .24), transparent 34%),
radial-gradient(circle at 88% 4%, rgba(52, 188, 207, .13), transparent 28%), #11131a; }
button, select, input { font: inherit; }
.shell { min-height: 100vh; padding: 30px 34px 122px; }
.hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.eyebrow { color: #8d94ff; font-size: 10px; font-weight: 700; letter-spacing: .16em; }
h1 { margin: 8px 0 4px; font-size: 30px; letter-spacing: -.04em; }
.hero p, .section-title p { margin: 0; color: #969caf; font-size: 12px; }
.badges { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; max-width: 430px; }
.badge { padding: 7px 10px; border: 1px solid #3d4260; border-radius: 999px; background: rgba(42,46,63,.66); color: #cfd3ff; font-size: 10px; }
.badge.muted { color: #a9afbf; }
.badge.warning { border-color: #665133; color: #e8bd75; background: rgba(75,55,29,.5); }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(120px,1fr)); gap: 10px; margin: 22px 0; }
.metrics div { border: 1px solid #292d3a; border-radius: 13px; padding: 15px 17px; background: rgba(24,27,36,.76); }
.metrics strong { display: block; font-size: 18px; }
.metrics span { display: block; margin-top: 3px; color: #858c9f; font-size: 10px; }
.participants-panel { border: 1px solid #292d3a; border-radius: 17px; padding: 20px; background: rgba(20,23,31,.78); }
.section-title { display: flex; justify-content: space-between; margin-bottom: 15px; }
h2 { margin: 0 0 4px; font-size: 15px; }
.participant-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(235px,1fr)); gap: 11px; }
.participant-card { border: 1px solid #303543; border-radius: 14px; padding: 14px; background: linear-gradient(145deg,rgba(38,42,56,.9),rgba(25,28,38,.88)); }
.participant-card.self { border-color: #535cc1; box-shadow: inset 0 0 0 1px rgba(104,114,255,.13); }
.participant-head { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 10px; }
.avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(145deg,#777fff,#4c52b8); color: #fff; font-size: 13px; font-weight: 700; }
.identity { min-width: 0; }
.identity strong, .identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.identity strong { font-size: 12px; }
.identity span { margin-top: 3px; color: #8e95a8; font-size: 10px; }
.connection-dot { width: 8px; height: 8px; border-radius: 50%; background: #73798b; box-shadow: 0 0 0 4px rgba(115,121,139,.1); }
.connection-dot.connected { background: #5fd39b; box-shadow: 0 0 0 4px rgba(95,211,155,.11); }
.connection-dot.failed { background: #f27482; }
.volume-row { display: grid; grid-template-columns: auto 1fr 38px; align-items: center; gap: 9px; margin-top: 14px; }
.peer-mute { padding: 5px 8px; border: 0; border-radius: 8px; background: #373c4d; color: #c8ccda; font-size: 9px; cursor: pointer; }
.peer-mute[aria-pressed="true"] { background: #70424b; color: #ffd8dc; }
.peer-volume, #micGain { accent-color: #7881ff; width: 100%; }
.volume-row output { color: #aab0c2; text-align: right; font-size: 9px; }
.control-dock { position: fixed; z-index: 10; left: 20px; right: 20px; bottom: 18px; display: grid; grid-template-columns: minmax(160px,1.3fr) auto auto minmax(210px,1.2fr) auto; align-items: center; gap: 10px; padding: 13px; border: 1px solid #333849; border-radius: 17px; background: rgba(26,29,39,.94); box-shadow: 0 18px 50px rgba(0,0,0,.38); backdrop-filter: blur(16px); }
.device-control label, .gain-control label { display: block; color: #999fb1; font-size: 9px; margin-bottom: 5px; }
select { width: 100%; min-width: 0; padding: 8px 10px; border: 1px solid #3a3f50; border-radius: 9px; outline: none; background: #20232e; color: #e9eaf1; font-size: 10px; }
.control-button { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 78px; padding: 8px 10px; border: 1px solid #3a3f50; border-radius: 11px; background: #222631; color: #c8ccda; font-size: 9px; cursor: pointer; }
.control-button.active { border-color: #5962c7; color: #dde0ff; background: #292e54; }
.control-icon { font-size: 9px; font-weight: 800; letter-spacing: .04em; }
.gain-control > div { display: flex; justify-content: space-between; }
.gain-control output { color: #d6d9e4; font-size: 9px; }
.gain-control small { display: block; color: #737b8e; font-size: 8px; line-height: 1.25; }
.leave-button { padding: 12px 16px; border: 0; border-radius: 11px; background: #a74350; color: white; font-weight: 650; font-size: 11px; cursor: pointer; }
.leave-button:hover { background: #bc4c5a; }
@media (max-width: 850px) {
.metrics { grid-template-columns: repeat(2,1fr); }
.control-dock { grid-template-columns: 1fr auto auto; }
.gain-control { grid-column: 1 / 3; }
.device-control { grid-column: 1 / 4; }
.shell { padding-bottom: 200px; }
}