html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background: #071320;
  color: var(--text);
  font-family: var(--font);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}

.monitor-root {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

.monitor-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 6px 14px;
  background: var(--glass-top);
  backdrop-filter: blur(14px) saturate(145%);
  -webkit-backdrop-filter: blur(14px) saturate(145%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 var(--glass-border-inner);
  flex-shrink: 0;
}

.monitor-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.monitor-brand {
  font-size: 13.5px;
  font-weight: 700;
  color: #0b2540;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.7);
  white-space: nowrap;
}

.monitor-sep {
  color: #2f567a;
}

.monitor-title {
  font-size: 13px;
  font-weight: 600;
  color: #0f2f4d;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monitor-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.monitor-time {
  font-size: 11.5px;
  font-weight: 600;
  color: #0f3659;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  margin-right: 4px;
}

.monitor-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  background: #000000;
}

.monitor-stage iframe,
#yt-monitor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.monitor-idle {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(150deg, #10395c 0%, #1d6496 55%, #3791be 100%);
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(6, 26, 46, 0.55);
  z-index: 2;
}

.monitor-root:not(.is-idle) .monitor-idle {
  display: none;
}

.monitor-idle-title {
  font-size: 20px;
  font-weight: 600;
}

.monitor-idle-sub {
  font-size: 13px;
  opacity: 0.88;
}
