.user-page main { padding-bottom:calc(110px + env(safe-area-inset-bottom,0px)); }
.user-page header { position:sticky; top:0; z-index:25; }
.scan-button { display:flex; align-items:center; gap:6px; padding:6px 9px; min-height:34px; white-space:nowrap; font-size:12px; }
.scan-button svg { width:17px; height:17px; }
.auth-page { max-width:340px; margin:clamp(40px,12vh,130px) auto 0; }
.auth-card { border:0; padding:0; margin:0; }
.auth-tabs { display:grid; grid-template-columns:1fr 1fr; border-bottom:1px solid var(--line); margin-bottom:28px; }
.auth-tabs button { border:0; border-bottom:2px solid transparent; border-radius:0; background:transparent; padding:12px; color:var(--muted); }
.auth-tabs button[aria-selected=true] { border-bottom-color:var(--ink); color:var(--ink); font-weight:600; }
.auth-card .stack { gap:20px; }
.auth-card button.primary { margin-top:4px; }
.user-dock { position:fixed; bottom:0; left:0; width:100%; margin:0; display:flex; justify-content:center; gap:0; padding:7px 16px calc(7px + env(safe-area-inset-bottom,0px)); background:white; border-top:1px solid var(--line); z-index:20; }
.user-dock button { width:min(50%,220px); display:flex; align-items:center; justify-content:center; flex-direction:column; gap:4px; border:0; border-radius:0; background:transparent; padding:6px; color:#85858e; font-size:11px; }
.user-dock button[aria-current=page] { color:#18181b; font-weight:600; }
.user-dock svg { width:20px; height:20px; }
#profileView { max-width:640px; margin:auto; }
.profile-identity h2 { margin:0; font-size:14px; }
h2.current-status { font-size:26px; font-weight:550; margin:9px 0 18px; }
.profile-status .booking-seat { border-top:1px solid var(--line); margin-top:20px; padding-top:18px; font-size:20px; }
.profile-status #bookingActions { margin-top:24px; }
.profile-status #chooseSeatButton { margin-top:6px; }
#checkinPanel { max-width:640px; margin-left:auto; margin-right:auto; }
#checkinHint { font-size:12px; margin-bottom:0; }
.scan-dialog { width:min(420px,calc(100% - 32px)); padding:20px; border:1px solid var(--line); border-radius:7px; color:var(--ink); max-height:calc(100dvh - 32px); overflow:auto; }
.scan-dialog::backdrop { background:#0008; }
.scan-dialog .toolbar h2 { margin:0; }
.camera-frame { position:relative; aspect-ratio:1; background:#18181b; border-radius:4px; overflow:hidden; }
.camera-frame video { width:100%; height:100%; object-fit:cover; }
.scan-guide { position:absolute; inset:17%; border:1px solid white; border-radius:3px; pointer-events:none; }
.scan-file-button { display:block; border:1px solid var(--line); border-radius:5px; padding:9px 12px; cursor:pointer; color:var(--ink); }
.scan-file-button:focus-within { outline:2px solid #52525b; outline-offset:3px; }
.scan-file-button input { position:absolute; width:1px; height:1px; padding:0; opacity:0; }
#scanStatus { font-size:12px; }
@media(max-width:480px) { .auth-page { margin-top:48px; } h2.current-status { font-size:24px; } .user-page nav a { font-size:12px; } }
