.nav { position: static; }
.statusbar { position: sticky; top: 0; z-index: 15; background: rgba(0,0,0,.8); border-bottom: 1px solid var(--line); backdrop-filter: blur(6px); }
.statusbar .wrap { display: flex; align-items: center; gap: 12px; padding-top: 6px; padding-bottom: 6px; }
.statusbar .bar { flex: 1; height: 6px; background: var(--line); border-radius: 9px; overflow: hidden; }
.statusbar .bar i { display: block; height: 100%; background: var(--blue); width: 0; transition: width .3s; }
.timer { font-variant-numeric: tabular-nums; font-weight: 800; color: var(--sky); font-size: 15px; }
.timer.late { color: var(--trap); }
.intro { padding: 36px 0 20px; }
.reading { font-size: 20px; line-height: 2.05; padding: 8px 0 24px; }
.reading p { margin: 0 0 1.2em; }
.w { cursor: pointer; border-radius: 5px; padding: 2px 1px; text-decoration: underline dotted transparent; text-underline-offset: 5px; transition: background .12s; }
.w:hover { background: rgba(111,141,255,.18); text-decoration-color: var(--dim); }
.w.sel { background: var(--blue); color: #fff; box-shadow: 0 0 12px rgba(29,75,255,.6); }
.g { display: inline-block; min-width: .55em; padding: 0 .2em; text-align: center; cursor: pointer; border-radius: 5px; margin: 0 -.2em; vertical-align: baseline; position: relative; color: var(--text); }
.g:hover { background: rgba(111,141,255,.25); }
.g.sel { background: var(--blue); color: #fff; font-weight: 800; box-shadow: 0 0 12px rgba(29,75,255,.6); }
.g::after { content: "\200b"; }
.legend { font-size: 15px; color: var(--muted); }
.legend b { color: var(--sky); }
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #060a18; border-top: 2px solid var(--blue2); box-shadow: 0 -10px 40px rgba(0,0,0,.8); padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
.sheet .in { max-width: 720px; margin: 0 auto; }
.sheet h3 { font-size: 15px; margin-bottom: 8px; text-transform: none; font-family: var(--f-body); font-weight: 800; letter-spacing: 0; }
.sheet h3 em { font-style: normal; color: var(--blue2); }
.sheet .row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sheet .row .btn { flex: 1 1 140px; }
.sheet .opt { flex: 1 1 40%; justify-content: flex-start; text-align: left; }
.sheet .opt[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.nav-row { display: flex; gap: 10px; justify-content: space-between; flex-wrap: wrap; margin-top: 8px; }
.code { font: 800 clamp(22px, 6vw, 34px)/1.3 ui-monospace, 'SFMono-Regular', Consolas, monospace; letter-spacing: .08em; color: #fff; background: #000; border: 1px solid var(--blue2); border-radius: 10px; padding: 14px 16px; word-break: break-all; text-align: center; box-shadow: 0 0 30px rgba(29,75,255,.4); }
.qrbox { display: flex; justify-content: center; margin: 18px 0; }
.qrbox svg { border-radius: 8px; max-width: 100%; height: auto; }
main.wrap { padding-bottom: 240px; }
