:root { color-scheme: light; font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; color: #1d2329; background: #f4f6f8; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; padding: 18px max(16px, env(safe-area-inset-right)) 30px max(16px, env(safe-area-inset-left)); }
main { max-width: 500px; margin: auto; }
h1 { margin: 0; font-size: 24px; }
header p { margin: 0 0 18px; color: #66717d; }
.card { background: white; border: 1px solid #d7dde3; border-radius: 12px; padding: 18px; margin: 14px 0; }
label { display: block; font-weight: 600; margin-bottom: 14px; }
select, button { font: inherit; width: 100%; min-height: 48px; border-radius: 7px; padding: 10px; }
select { display: block; margin-top: 5px; background: white; border: 1px solid #aeb8c2; color: inherit; }
button { cursor: pointer; border: 1px solid #0b6bcb; background: #0b6bcb; color: white; font-weight: 600; }
button.secondary { background: white; color: #0b6bcb; }
button:disabled, select:disabled { opacity: .5; cursor: default; }
button:focus-visible, select:focus-visible { outline: 3px solid #c2410c; outline-offset: 3px; }
p { font-size: 14px; }
#error { padding: 14px; background: #fff0ef; border: 1px solid #b91c1c; border-radius: 7px; color: #991b1b; white-space: pre-wrap; }
video { display: block; width: 100%; max-height: 50vh; background: #15191e; border-radius: 7px; }
#guidance { text-align: center; }
#arrow { font-size: 96px; line-height: 1.2; color: #0b6bcb; }
#instruction { font-size: 24px; margin: 10px 0; }
#distance { font-size: 30px; font-weight: 700; margin: 8px; }
#progress, #upcoming, #checkpoint { color: #52606d; }
.buttons { display: flex; gap: 10px; margin: 20px 0; }
.notice { padding: 10px; background: #fff8e6; border-radius: 5px; }
.footnote { color: #66717d; }
#startAR { margin-top: 12px; }
