/* access: rotating codes, gate key, automatic gates, lane kiosk */
.ght { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.ght-qr { width: min(78vw, 320px); aspect-ratio: 1; background: #fff; padding: 10px; border-radius: var(--r2); border: 1px solid var(--line); }
.ght-qr svg { width: 100%; height: 100%; display: block; }
.ght-meta { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .85rem; font-variant-numeric: tabular-nums; }
.ght-ring { width: 22px; height: 22px; transform: rotate(-90deg); }
.ght-ring circle { fill: none; stroke-width: 4; }
.ght-track { stroke: var(--line); }
.ght-arc { stroke: var(--accent); stroke-linecap: round; transition: stroke-dashoffset .9s linear; }
.acc-caps { letter-spacing: .14em; text-transform: uppercase; }
.acc-key { max-width: 520px; margin: 0 auto; }
.acc-keycard { text-align: center; display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.acc-keycard .acc-unit { display: flex; justify-content: center; }
.acc-qr { display: flex; justify-content: center; margin: 10px 0; }
.acc-units .seg { width: 100%; overflow-x: auto; }
.acc-key-txt { word-break: break-all; font-size: 1rem; }
.acc-dl { margin-top: 10px; }
.acc-chips .chip { cursor: default; }
.acc-tabs { margin-bottom: 12px; }
.kiosk-mini { margin-top: 14px; padding: 18px; border-radius: var(--r3); text-align: center; display: flex; flex-direction: column; gap: 4px; }
.kiosk-mini b { font-size: 1.5rem; }
.kiosk-mini.ok { background: var(--ok-soft); color: var(--ok); border: 2px solid var(--ok); }
.kiosk-mini.bad { background: var(--bad-soft); color: var(--bad); border: 2px solid var(--bad); }

/* lane kiosk: big, high contrast, readable in sunlight */
.kiosk { position: fixed; inset: 0; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); user-select: none; -webkit-user-select: none; }
.kiosk-top { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; border-bottom: 2px solid var(--line); touch-action: none; }
.kiosk-gate { font-size: 1.6rem; font-weight: 800; }
.kiosk-lane { font-size: 1rem; color: var(--ink-2); }
.kiosk-right { display: flex; align-items: center; gap: 12px; font-size: 1.4rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.kiosk-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--line); display: inline-block; }
.kiosk-dot.on { background: var(--ok); } .kiosk-dot.off { background: var(--bad); } .kiosk-dot.warn { background: var(--warn); }
.kiosk-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 18px; }
.kiosk-cam { position: relative; width: min(70vw, 60vh); aspect-ratio: 1; border-radius: var(--r3); overflow: hidden; background: #000; }
.kiosk-cam video { width: 100%; height: 100%; object-fit: cover; transform: scaleX(-1); }
.kiosk-say { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.kiosk-say b { font-size: clamp(1.6rem, 4.5vw, 2.8rem); line-height: 1.15; }
.kiosk-say span { font-size: clamp(1rem, 2.4vw, 1.4rem); color: var(--ink-2); }
.kiosk-result { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; z-index: 50; }
.kiosk-result[hidden] { display: none; }
.kiosk-result.ok { background: var(--ok); color: #fff; }
.kiosk-result.bad { background: var(--bad); color: #fff; }
.kiosk-big { font-size: clamp(2.6rem, 10vw, 6rem); font-weight: 900; line-height: 1.05; }
.kiosk-small { font-size: clamp(1.2rem, 3.6vw, 2rem); font-weight: 600; max-width: 30ch; }
