/* NCLua viewer (ncl-viewer.html): additions to app-viewer.css. */

/* What the receiver would show under the application's graphics plane. */
.ncl-video-plane {
  background: linear-gradient(135deg, #2b3a4a 0%, #1a2230 60%, #3a2b44 100%);
}

.ncl-video-label {
  position: absolute;
  left: 12px;
  bottom: 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 12px;
  text-transform: uppercase;
}

.ncl-screen {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.remote-functions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 8px;
}

.other-key {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 12px;
}

.other-key label {
  margin: 0;
}

.other-key input {
  flex: 1 1 120px;
  font-family: monospace;
  font-size: 12px;
}

.key-option {
  font-size: 12px;
}

.log-print {
  color: #1b1f24;
}

.log-info {
  color: #6b7280;
}

.log-post {
  color: #8250df;
}

/* Screen-only mode (?embed=1): the dashboard card's preview, laid out at
   1280x720 and scaled by app-screen.js. */
body.ncl-embed {
  padding: 0;
  overflow: hidden;
  background-color: transparent;
}

.ncl-embed header,
.ncl-embed .hint,
.ncl-embed .state-panel,
.ncl-embed .controls-column {
  display: none;
}

.ncl-embed .layout {
  display: block;
}

.ncl-embed .tv-screen {
  width: 1280px;
  height: 720px;
  border-radius: 0;
}

.ncl-embed .ncl-video-label {
  font-size: 24px;
}
