.camera-view { position: relative; width: 100%; aspect-ratio: 4/3; display: grid; place-items: center; overflow: hidden; border: 1px solid #405675; border-radius: 16px; background: #080d17; }
.camera-view video,.camera-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.camera-view canvas { pointer-events: none; }
.camera-page .detection-modes { margin-bottom: 20px; }
.camera-view video.is-front { transform: scaleX(-1); }
.camera-view p { max-width: 320px; padding: 24px; text-align: center; color: #a8b8d0; line-height: 1.6; }
.camera-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.camera-actions button { min-height: 48px; padding: 12px 18px; cursor: pointer; border-radius: 10px; font: inherit; }
.camera-secondary { border: 1px solid #405675; color: #c2d5fb; background: #14223a; }
.camera-actions button:disabled { opacity: .45; cursor: default; }
.camera-actions button:focus-visible { outline: 3px solid #9fbfff; outline-offset: 3px; }
html[data-theme="light"] .camera-secondary { color: #294d8d; background: #e7efff; border-color: #8ca9d8; }
@media (max-width: 640px) { .camera-actions button { flex: 1 1 140px; } }
