/* Shared, local-only TV pairing and mobile approval presentation. */
.access-gate { position: fixed; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; overflow: auto; padding: 4vh 4vw; color: #e1eef8; background: #071426; font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif; }
.access-card { width: 980px; max-width: 100%; box-sizing: border-box; padding: 34px 42px 26px; border: 1px solid #25425d; border-radius: 14px; background: #0a1d32; }
.access-eyebrow { color: #71bace; font-size: 12px; letter-spacing: .18em; margin-bottom: 13px; }
.access-card h2 { margin: 0; font-size: 29px; line-height: 1.4; font-weight: 600; letter-spacing: .08em; }
.access-intro { margin: 10px 0 25px; color: #92aabe; font-size: 16px; }
.access-pair-layout { display: flex; align-items: center; gap: 36px; }
.access-qr-frame { box-sizing: border-box; flex: 0 0 264px; width: 264px; height: 264px; display: flex; align-items: center; justify-content: center; padding: 12px; border-radius: 10px; background: #fff; color: #35516a; text-align: center; }
.access-qr-frame img { width: 240px; height: 240px; max-width: 100%; object-fit: contain; }
.access-qr-frame p { padding: 14px; font-size: 15px; line-height: 1.7; }
.access-instructions { flex: 1 1 auto; min-width: 0; }
.access-instructions h3 { margin: 0 0 10px; color: #e4f5ff; font-size: 22px; }
.access-instructions > p { margin: 0 0 12px; color: #a4bbce; font-size: 15px; line-height: 1.65; }
.access-code-label { color: #8ea9bd; font-size: 13px; }
.access-code { display: block; color: #a4e7f6; font: 600 37px/1.4 'Courier New', monospace; letter-spacing: .17em; margin: 2px 0; }
.access-instructions .access-countdown { font-size: 13px; color: #8da6ba; margin-bottom: 12px; }
.access-instructions ol { margin: 0 0 18px; padding-left: 22px; color: #a4bbce; font-size: 14px; line-height: 1.9; }
.access-button { appearance: none; min-height: 46px; padding: 11px 20px; border: 1px solid #66c7e0; border-radius: 7px; background: #153e57; color: #e7faff; font-size: 16px; font-weight: 500; cursor: pointer; }
.access-button:focus { outline: 3px solid #a5eaff; outline-offset: 4px; background: #246282; }
.access-button:hover { background: #21506b; }
.access-button:disabled { opacity: .55; cursor: default; }
.access-footnote { border-top: 1px solid #213c53; margin: 24px 0 0; padding-top: 17px; color: #829caf; font-size: 13px; line-height: 1.7; }
.access-warning { border: 1px solid #755934; background: #2a251f; color: #ebc996; border-radius: 7px; padding: 10px 13px; line-height: 1.7; font-size: 13px; }
.approval-body { margin: 0; min-height: 100vh; box-sizing: border-box; padding: 36px 16px; background: #071426; color: #e1eef8; font-family: -apple-system, BlinkMacSystemFont, 'Microsoft YaHei', sans-serif; }
.approval-card { max-width: 480px; margin: 0 auto; padding: 27px 25px; box-sizing: border-box; border: 1px solid #25425d; border-radius: 13px; background: #0a1d32; }
.approval-card h1 { margin: 7px 0 13px; font-size: 22px; line-height: 1.45; }
.approval-card h2 { margin: 24px 0 8px; font-size: 19px; }
.approval-card p { color: #9eb4c6; font-size: 14px; line-height: 1.75; }
.approval-device { padding: 13px 16px; border: 1px solid #2b485e; border-radius: 7px; margin: 18px 0; }
.approval-device > span { color: #8cabc0; font-size: 12px; }
.approval-device strong { display: block; margin: 6px 0; font-size: 18px; overflow-wrap: anywhere; word-break: break-word; }
.approval-device .access-code { color: #a4e7f6; font-size: 33px; }
.approval-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.approval-form label { display: block; color: #c2d6e5; font-size: 14px; margin: 18px 0 7px; }
.approval-form input[type='text'], .approval-form input[type='password'] { box-sizing: border-box; display: block; width: 100%; padding: 12px 13px; border: 1px solid #355970; border-radius: 6px; background: #061628; color: #e9f7ff; font: inherit; font-size: 17px; }
.approval-form input:focus { outline: 2px solid #7ccde4; outline-offset: 2px; }
.approval-form .approval-confirm { display: flex; align-items: flex-start; gap: 9px; line-height: 1.65; margin: 19px 0; }
.approval-confirm input { flex: 0 0 auto; margin: 4px 0 0; width: 19px; height: 19px; }
.approval-form .access-button { width: 100%; }
.approval-status { min-height: 24px; color: #a4c5d9 !important; }
.approval-status[data-kind='error'] { color: #ffb5a5 !important; }
.approval-status[data-kind='success'] { color: #90d8b8 !important; }
.approval-details[hidden], .approval-form[hidden] { display: none !important; }
@media (min-width: 2400px) { .access-card { width: 1480px; padding: 50px 64px 38px; } .access-card h2 { font-size: 45px; } .access-intro { font-size: 23px; } .access-pair-layout { gap: 56px; } .access-qr-frame { width: 400px; height: 400px; flex-basis: 400px; padding: 20px; } .access-qr-frame img { width: 360px; height: 360px; } .access-instructions h3 { font-size: 33px; } .access-instructions > p, .access-instructions ol { font-size: 22px; } .access-code { font-size: 55px; } .access-code-label, .access-instructions .access-countdown, .access-footnote { font-size: 19px; } .access-button { font-size: 24px; min-height: 66px; } }
@media (max-width: 760px) { .access-gate { padding: 20px 14px; align-items: flex-start; } .access-card { padding: 23px 20px; } .access-card h2 { font-size: 22px; } .access-pair-layout { flex-direction: column; gap: 22px; } .access-instructions { width: 100%; text-align: center; } .access-instructions ol { text-align: left; } .access-code { font-size: 33px; } .approval-body { padding-top: 20px; } }
