:root { color-scheme: light; font-family: system-ui, sans-serif; color: #152849; background: #edf2fa; }
* { box-sizing: border-box; }
.adult-login { margin: 0; min-height: 100dvh; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at top left,#dbe8fc,transparent 65%),#edf2fa; }
.adult-access { width: min(100%, 460px); background: #fff; border: 1px solid #dbe4f2; border-radius: 24px; padding: clamp(20px, 6vw, 40px); box-shadow: 0 24px 80px #1b37671a; }
.adult-label { color: #425da0; font-weight: 750; letter-spacing: .12em; font-size: .75rem; }
.adult-access h1 { margin: .45em 0 .25em; line-height: 1.13; }
.adult-access p { line-height: 1.55; color: #465873; }
.adult-access form { display: grid; gap: 12px; }
.adult-access label { display: grid; gap: 5px; font-weight: 650; }
.adult-access input { width: 100%; padding: 12px; border: 1px solid #bac8de; border-radius: 10px; font: inherit; }
.adult-access button { min-height: 46px; font: inherit; font-weight: 700; border: 0; border-radius: 10px; padding: 10px 14px; cursor: pointer; }
.adult-access a { color: #294c9c; }
.adult-primary { background: #234998; color: white; }
.adult-qr-entry { background: #e9efff; color: #1c4088; width: 100%; margin: 8px 0; }
.adult-error { padding: 10px 14px; border-radius: 10px; background: #fff1eb; }
.adult-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.adult-login :focus-visible { outline: 3px solid #4975d3; outline-offset: 3px; }
.adult-qr-entry { display: flex; align-items: center; justify-content: center; gap: 10px; }
.adult-login .qr-modal { position: fixed; inset: 0; z-index: 10; display: none; align-items: center; justify-content: center; }
.adult-login .qr-modal.active { display: flex; }
.adult-login .qr-box { width: min(100%, 460px); padding: clamp(16px, 4vw, 28px); background: #fff; border-radius: 20px; }
.adult-login .qr-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.adult-login .qr-header h3 { margin: 0; }
.adult-login .qr-close { min-width: 44px; min-height: 44px; border: 0; background: #edf2fa; color: #203866; border-radius: 10px; cursor: pointer; }
.adult-login .qr-status { padding: 12px; border-radius: 8px; background: #edf3fc; line-height: 1.5; }
.adult-login .qr-status.error { background: #fff1eb; color: #833425; }
