:root { color-scheme: light dark; --bg: #f4f6f8; --card: #fff; --text: #17212b; --muted: #5d6b78; --line: #d8dee4; --accent: #0b6bcb; --danger: #b3261e; }
@media (prefers-color-scheme: dark) { :root { --bg: #10151b; --card: #1a222b; --text: #e8edf2; --muted: #9aa8b5; --line: #2f3a46; --accent: #2f8ae0; --danger: #e0554c; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, sans-serif; overflow-wrap: anywhere; }
main { max-width: 34rem; margin: 0 auto; padding: max(1rem, env(safe-area-inset-top)) 1rem 3rem; }
header { display: flex; align-items: center; gap: .75rem; }
h1 { font-size: 1.5rem; }
h2 { font-size: 1.1rem; margin-top: 0; }
section { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 1rem; margin: 1rem 0; }
label { display: block; margin-bottom: .25rem; }
input { width: 100%; min-width: 0; min-height: 44px; padding: .5rem .75rem; margin-bottom: .75rem; font: inherit; color: inherit; background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
button, .button { display: block; width: 100%; min-height: 44px; padding: .6rem 1rem; font: inherit; font-weight: 600; text-align: center; text-decoration: none; color: #fff; background: var(--accent); border: 0; border-radius: 8px; cursor: pointer; }
button.danger { background: var(--danger); }
button.quiet { color: var(--text); background: transparent; border: 1px solid var(--line); }
a { color: var(--accent); }
a.button { color: #fff; }
.mascot { display: block; width: clamp(96px, 35vw, 160px); height: auto; margin: 0 auto .5rem; }
.note { border-left: 4px solid var(--accent); padding: .25rem .75rem; }
.qr { display: block; width: 100%; max-width: 20rem; margin: 1rem auto; background: #fff; border-radius: 8px; image-rendering: pixelated; }
.devices { list-style: none; padding: 0; margin: 0; }
.devices li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; padding: .5rem 0; border-top: 1px solid var(--line); }
.devices li > div { min-width: 0; flex: 1 1 10rem; }
.devices small { display: block; color: var(--muted); }
summary { cursor: pointer; padding: .6rem 0; min-height: 44px; }
.confirm summary { color: var(--danger); }
details + details { border-top: 1px solid var(--line); }
.who { color: var(--muted); }
