:root { font-family: Arial, Helvetica, sans-serif; color: #f8f3ed; background: #101923; color-scheme: dark; }
* { box-sizing: border-box; }
body { margin: 0; background: radial-gradient(circle at 50% 0, #284459, #101923 75%); min-height: 100vh; }
main { max-width: 850px; margin: auto; padding: clamp(20px, 5vw, 48px); }
header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
header strong { font-size: 1.5rem; letter-spacing: .3em; }
header span { font-size: .7rem; letter-spacing: .15em; text-align: right; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 500; margin-bottom: 12px; }
h2 { font-size: 1.2rem; }
p, label, li { line-height: 1.5; color: #d1d9d8; }
.card, details { border: 1px solid #ffffff2b; border-radius: 20px; background: #172531b8; padding: 22px; margin: 24px 0; }
label { display: flex; gap: 10px; align-items: flex-start; }
input { width: 22px; height: 22px; flex: none; accent-color: #85d9ce; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
button { font: inherit; min-height: 46px; padding: 10px 24px; border-radius: 999px; border: 1px solid #f2cf9f; background: #f2cf9f; color: #17222a; cursor: pointer; }
#camera-stop { background: transparent; color: #f8f3ed; border-color: #ffffff69; }
button:disabled { opacity: .45; cursor: not-allowed; }
:focus-visible { outline: 3px solid #85d9ce; outline-offset: 4px; }
video { width: 100%; max-height: 420px; background: #070e14; border-radius: 12px; transform: scaleX(-1); }
.summary { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 16px 0; }
#greeting { color: #f2cf9f; font-size: 1.25rem; }
#camera-status[data-error="true"] { color: #ffb6a9; }
summary { cursor: pointer; }
a { color: #96e6da; }
.note { font-size: .85rem; }
