.camera-alert {
  padding-block: clamp(3.75rem, 7vw, 7.5rem);
  background: #242b27;
  color: #f6f2e8;
}
.camera-intro {
  display: grid;
  grid-template-columns: 1.25fr .8fr;
  align-items: end;
  gap: 2rem 7vw;
  margin-bottom: clamp(1.8rem, 3.5vw, 3.5rem);
}
.camera-kicker {
  margin: 0 0 .85rem;
  color: #dbc8a3;
  font: 600 .78rem/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: .13em;
}
.camera-intro > p { max-width: 31rem; color: #e2e4d8; font-size: clamp(1.04rem, 1.32vw, 1.35rem); line-height: 1.5; }
.camera-console { display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.8fr) minmax(18rem, 1fr); }
.camera-monitor { display: flex; flex-direction: column; margin: 0; background: #1a201d; }
.camera-picture { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.camera-picture img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.camera-monitor figcaption, .camera-app-head {
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1rem;
}
.camera-monitor figcaption { flex: 1; padding: .95rem clamp(.8rem, 2vw, 2rem); color: #f1eee6; }
.camera-monitor figcaption small { color: #c2c9bb; margin-left: .6rem; font-size: .82rem; }
.camera-indicator, .camera-mode { font-size: .84rem; }
.camera-indicator { display: inline-flex; align-items: center; gap: .5rem; }
.camera-indicator::before { content: ''; width: .43rem; height: .43rem; border-radius: 100%; background: #a6c195; }
.camera-target {
  position: absolute; left: 61.4%; top: 34.6%; width: 8.6%; height: 36.3%; pointer-events: none;
  background:
    linear-gradient(#efdeb2, #efdeb2) left top / 32% 2px,
    linear-gradient(#efdeb2, #efdeb2) left top / 2px 14%,
    linear-gradient(#efdeb2, #efdeb2) right top / 32% 2px,
    linear-gradient(#efdeb2, #efdeb2) right top / 2px 14%,
    linear-gradient(#efdeb2, #efdeb2) left bottom / 32% 2px,
    linear-gradient(#efdeb2, #efdeb2) left bottom / 2px 14%,
    linear-gradient(#efdeb2, #efdeb2) right bottom / 32% 2px,
    linear-gradient(#efdeb2, #efdeb2) right bottom / 2px 14%;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 1px #172119);
}
.camera-alert:is([data-camera-state="ready"], [data-camera-state="dismissed"]) :is(.camera-event, .camera-target),
.camera-alert:is([data-camera-state="example"], [data-camera-state="alert"], [data-camera-state="review"]) .camera-empty { display: none; }
.camera-app { display: flex; flex-direction: column; padding: clamp(1.15rem, 2.5vw, 2.85rem); color: #272c25; background: #ede9dd; }
.camera-app-head { padding-bottom: 1rem; border-bottom: 1px solid #c3bcac; }
.camera-app-brand { display: inline-flex; align-items: center; gap: .6rem; font-size: 1.1rem; font-weight: 600; }
.camera-app-brand img { box-sizing: content-box; width: 1.35rem; height: 1.35rem; padding: .36rem; background: #27312a; }
.camera-mode { padding: .22rem .6rem; border: 1px solid #b3afa0; }
.camera-app-body { display: flex; flex: 1; flex-direction: column; justify-content: center; padding-block: clamp(1.5rem, 3vw, 3rem) 1rem; }
.camera-message h3 { font: 400 clamp(1.75rem, 2.6vw, 3.35rem)/1.1 var(--serif); letter-spacing: -.048em; }
.camera-message :is(h3, p) { margin: 0; }
.camera-message h3 + p { margin-top: .8rem; color: #4d5349; font: 400 1.04rem/1.45 var(--sans); }
.camera-message .camera-kicker { color: #735b36; margin-bottom: .6rem; }
.camera-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem 1.1rem; padding-top: clamp(1rem, 2vw, 2rem); }
.camera-actions button { min-height: 44px; font: 600 .99rem/1.2 var(--sans); cursor: pointer; }
.camera-primary { display: inline-flex; align-items: center; justify-content: center; gap: .8rem; padding: .65rem .9rem; color: #fbf9ef; background: #28362b; border: 1px solid #28362b; }
.camera-primary:hover { background: #3c483b; }
.camera-secondary { color: #313a30; border: 0; background: transparent; padding: .55rem 0; text-decoration: underline; text-underline-offset: .25em; }
.camera-actions button:focus-visible { outline-color: #303d31; outline-offset: 3px; }
.camera-status:not([data-error]) { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); }
.camera-status[data-error] { margin: 1rem 0 0; color: #6d3c22; }
@media (max-width: 820px) {
  .camera-intro, .camera-console { grid-template-columns: minmax(0, 1fr); }
  .camera-intro { gap: .9rem; }
  .camera-app-body { padding-bottom: .25rem; }
}
@media (max-width: 440px) {
  .camera-monitor figcaption { column-gap: .55rem; }
  .camera-monitor figcaption small { display: block; margin: .14rem 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .camera-alert[data-camera-state="alert"] :is(.camera-target, [data-camera-panel="alert"]) { animation: camera-notification-in .28s ease-out both; }
  @keyframes camera-notification-in { from { opacity: 0; } to { opacity: 1; } }
}
