/*
 * Carousel's own additions to the kit's page: the note on flashing at the
 * top, the event buttons, the tray's checkbox and the lines under the
 * picture. Everything else is vendor/kit.css, unedited.
 */

.ca-note {
  /* #demo is 1400px wide with a 20px gutter: line up with what is inside it. */
  max-width: 1360px;
  margin: 24px auto 0;
  padding: 12px 16px;
  background: #1f1a0c;
  border: 1px solid #5a4613;
  border-left: 4px solid var(--warn);
  border-radius: 8px;
  color: #f3e9cf;
}

@media (max-width: 1400px) {
  .ca-note { margin-left: 20px; margin-right: 20px; }
}
@media (max-width: 480px) {
  .ca-note { margin-left: 16px; margin-right: 16px; padding: 12px; }
}

.ca-note__title {
  font-size: 15px;
  color: var(--warn);
  margin-bottom: 4px;
}

.ca-note p { margin: 4px 0 0; max-width: 90ch; font-size: 14px; }

/* Embedded, the page is a video source: nothing but the picture. */
body[data-embed] .ca-note { display: none; }

/* ---- FF_TYPE_EVENT: a button where the kit would put a toggle ------------ */

.ca-press { text-align: center; }
.ca-press:active { filter: brightness(1.25); }

/* ---- the tray: the page's, beside the pictures --------------------------- */

.ca-tray {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.ca-tray input { margin: 0; }

/* ---- the lines under the picture ----------------------------------------- */

.ca-status { overflow-wrap: anywhere; }

.ca-log {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.ca-log:empty { display: none; }

.ca-caution {
  border-color: #5a4613;
  background: #1f1a0c;
  color: #f3e9cf;
}
.ca-caution[hidden] { display: none; }
