* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(124, 72, 35, 0.45), transparent 35%),
    radial-gradient(circle at bottom right, rgba(194, 132, 73, 0.22), transparent 38%),
    linear-gradient(135deg, #160b05, #2a150b 55%, #090402);
  color: #fff8ee;
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  width: min(1480px, 94vw);
  margin: 24px auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 26px;
  margin-bottom: 22px;
  border: 1px solid rgba(236, 190, 133, 0.22);
  border-radius: 22px;
  background: rgba(45, 23, 12, 0.78);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.35);
}

.brand {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #ffe2b8;
}

.subtitle {
  margin-top: 4px;
  color: #d8b58c;
}

.badge {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
}

.badge span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.badge.online {
  background: rgba(97, 167, 80, 0.18);
  color: #b6f08a;
}

.badge.online span {
  background: #75c85f;
}

.badge.offline {
  background: rgba(188, 79, 43, 0.18);
  color: #ffb08e;
}

.badge.offline span {
  background: #d25b35;
}

.layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 22px;
}

.player-card,
.side-card {
  border: 1px solid rgba(236, 190, 133, 0.22);
  border-radius: 26px;
  background: rgba(38, 19, 10, 0.76);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  overflow: hidden;
}

.video-wrap {
  position: relative;
  background: #000;
  aspect-ratio: 16 / 9;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.offline-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(rgba(36, 17, 8, 0.35), rgba(18, 8, 3, 0.92)),
    radial-gradient(circle at center, #5a2d14, #120803 70%);
  text-align: center;
  padding: 30px;
}

.drone-icon {
  width: 118px;
  height: 86px;
  margin-bottom: 22px;
  display: grid;
  place-items: center;
}

.drone-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #ffd28f;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 16px rgba(255, 173, 77, 0.25));
}

.offline-overlay h1 {
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
  color: #ffe7c4;
}

.offline-overlay p {
  color: #e1c19a;
  font-size: 18px;
}

.info-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(236, 190, 133, 0.16);
}

.info-row div {
  padding: 18px 22px;
  background: rgba(39, 20, 11, 0.96);
}

.info-row strong {
  display: block;
  margin-bottom: 6px;
  color: #ffe2b8;
}

.info-row span {
  color: #d8b58c;
}

.side-card {
  padding: 28px;
}

.side-card h2 {
  margin-top: 0;
  font-size: 24px;
  color: #ffe2b8;
}

.side-card p {
  color: #e1c19a;
  line-height: 1.5;
}

.talk-button {
  width: 100%;
  margin: 24px 0 14px;
  padding: 17px 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #8a4b22, #c47a35);
  color: #fff8ee;
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 14px 35px rgba(196, 122, 53, 0.22);
}

.talk-button:hover {
  filter: brightness(1.08);
}

small {
  color: #d8b58c;
  line-height: 1.4;
}

@media (max-width: 960px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .info-row {
    grid-template-columns: 1fr;
  }

  .topbar {
    align-items: flex-start;
    gap: 16px;
    flex-direction: column;
  }
.operator-panel {
  padding: 28px;
}

.muted-text {
  color: #d8b58c;
  line-height: 1.5;
}

.visitor-list {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.visitor-card {
  padding: 18px;
  border: 1px solid rgba(236, 190, 133, 0.22);
  border-radius: 18px;
  background: rgba(39, 20, 11, 0.96);
}

.visitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.visitor-card audio {
  width: 100%;
  margin-top: 12px;
}

}


