.admin-dashboard-page {
  width: min(1240px, 100%);
  display: grid;
  gap: 18px;
}

.dashboard-watch-section,
.dashboard-status-strip {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(6, 12, 14, 0.72), rgba(0, 0, 0, 0.46));
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.dashboard-watch-section {
  padding: 18px;
}

.dashboard-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.dashboard-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.dashboard-section-heading h1 {
  margin: 5px 0 0;
  color: var(--text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.dashboard-section-heading > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.dashboard-watch-empty {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 22px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-watch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 14px;
}

.dashboard-watch-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(12, 20, 20, 0.92), rgba(0, 0, 0, 0.80));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.30);
}

.dashboard-watch-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.80), rgba(0, 0, 0, 0.54), rgba(0, 0, 0, 0.86)), var(--dashboard-watch-art);
  background-size: cover;
  background-position: center;
  opacity: 0.24;
  filter: blur(1px) saturate(0.9);
  pointer-events: none;
}

.dashboard-watch-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 0%, rgba(44, 255, 31, 0.12), transparent 34%);
  pointer-events: none;
}

.dashboard-watch-user,
.dashboard-watch-body {
  position: relative;
  z-index: 1;
}

.dashboard-watch-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(0, 0, 0, 0.30);
}

.dashboard-watch-avatar {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(44, 255, 31, 0.34);
  background: rgba(0, 0, 0, 0.50);
  color: var(--accent);
  font-size: 16px;
  font-weight: 950;
  box-shadow: 0 0 18px rgba(44, 255, 31, 0.10);
}

.dashboard-watch-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-watch-user-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 950;
}

.dashboard-watch-device {
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.dashboard-watch-body {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 15px;
  padding: 14px;
}

.dashboard-watch-poster {
  width: 118px;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.44);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38);
}

.dashboard-watch-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-watch-info {
  min-width: 0;
  align-self: center;
}

.dashboard-watch-kicker {
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.dashboard-watch-info h3 {
  margin: 4px 0 5px;
  color: var(--text);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.dashboard-watch-subline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-watch-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.dashboard-watch-badges span {
  padding: 4px 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.34);
  font-size: 10px;
  font-weight: 950;
  line-height: 1.2;
}

.dashboard-watch-badges .is-status {
  color: var(--accent);
  border-color: rgba(44, 255, 31, 0.34);
}

.dashboard-watch-badges .is-direct {
  color: #8df7c1;
}

.dashboard-watch-badges .is-transcode {
  color: #ffd27a;
}

.dashboard-watch-badges .is-ready {
  color: #72d7ff;
  border-color: rgba(114, 215, 255, 0.36);
}

.dashboard-watch-badges .is-buffer,
.dashboard-watch-badges .is-engine {
  color: var(--muted);
}

.dashboard-watch-progress,
.dashboard-watch-meter-track {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.dashboard-watch-progress i,
.dashboard-watch-meter-track i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(44, 255, 31, 0.45);
}

.dashboard-watch-meters {
  display: grid;
  gap: 7px;
  margin: 10px 0 6px;
}

.dashboard-watch-meter-label {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.dashboard-watch-meter-label b {
  color: var(--text);
}

.dashboard-watch-meter.is-buffered .dashboard-watch-meter-track i,
.dashboard-watch-meter.is-transferred .dashboard-watch-meter-track i {
  opacity: 0.72;
}

.dashboard-watch-meter.is-ready .dashboard-watch-meter-track i {
  background: #48bfff;
  box-shadow: 0 0 14px rgba(72, 191, 255, 0.45);
  opacity: 0.88;
}

.dashboard-watch-live-line {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.dashboard-watch-time {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-watch-note {
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.055);
  font-size: 12px;
  line-height: 1.35;
}

.dashboard-watch-note b {
  color: var(--text);
}

.dashboard-watch-diag {
  margin-top: 10px;
}

.dashboard-watch-diag summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  list-style: none;
  padding: 8px 10px;
  border: 1px solid rgba(44, 255, 31, 0.22);
  border-radius: 10px;
  color: var(--accent);
  background: rgba(0, 0, 0, 0.28);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.dashboard-watch-diag summary::-webkit-details-marker {
  display: none;
}

.dashboard-watch-diag summary b {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.4px;
}

.dashboard-watch-diag-grid {
  display: grid;
  gap: 6px;
  margin-top: 9px;
  padding: 10px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.34);
}

.dashboard-watch-diag-grid div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 12px;
}

.dashboard-watch-diag-grid b {
  min-width: 0;
  color: var(--text);
  text-align: right;
  word-break: break-word;
}

.dashboard-status-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  overflow: hidden;
}

.dashboard-status-strip div {
  padding: 14px;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-status-strip span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.dashboard-status-strip b {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 13px;
}

@media (max-width: 760px) {
  .dashboard-watch-section {
    padding: 14px;
  }

  .dashboard-watch-grid,
  .dashboard-status-strip {
    grid-template-columns: 1fr;
  }

  .dashboard-watch-body {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 12px;
  }

  .dashboard-watch-poster {
    width: 76px;
  }

  .dashboard-watch-info h3 {
    font-size: 18px;
  }
}
