.login{width:min(520px,calc(100vw - 28px));max-height:calc(100dvh - 24px);overflow:auto}
.login .dialog-body{padding:22px 26px 26px}
.login h1{font-size:2rem;margin:10px 0 7px}
.login .dialog-body>p:not(.kicker){margin:0;color:#bdcbd7;font-size:1rem;line-height:1.4}
.login .resource-code-group{margin:18px 0 16px}
.resource-code-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px;font-weight:700}
.resource-code-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.login .resource-code-part{width:100%;height:68px;padding:0;border:2px solid #9bb0c3;border-radius:9px;background:#0b141d;text-align:center;font-size:2rem;font-weight:800;line-height:1;text-transform:uppercase}
.login .resource-code-part:focus{outline:3px solid #2398df55;border-color:#69c8ff;background:#0e1c28}
.login .resource-code-clear{min-height:32px;padding:5px 13px;border:1px solid #5a7890;border-radius:7px;background:#1b3040;color:#f4f7fa;font-size:.85rem;font-weight:700}
.login .resource-code-clear:active{background:#27475c}
.login .large{min-height:62px;font-size:1.2rem}
@media(max-width:760px){#loginOverlay{padding:10px}.login{max-height:calc(100dvh - 20px);border-width:2px;border-radius:16px}.login .dialog-title{padding:12px 18px;font-size:1.35rem}.login .dialog-body{padding:14px 18px 18px}.login h1{font-size:1.55rem;margin:6px 0}.login .resource-code-group{margin:12px 0}.login .resource-code-part{height:58px;font-size:1.7rem}.login .large{min-height:54px;font-size:1.05rem}}
@media(max-height:560px) and (orientation:landscape){#loginOverlay{align-items:flex-start;overflow:auto}.login{margin:auto;max-height:calc(100dvh - 12px)}.login .dialog-title{padding:8px 14px;font-size:1.12rem}.login .dialog-body{padding:9px 16px 12px}.login .kicker{margin:0!important;font-size:.62rem!important}.login h1{font-size:1.32rem;margin:3px 0}.login .dialog-body>p:not(.kicker){font-size:.86rem;line-height:1.25}.login .resource-code-group{margin:7px 0 9px;font-size:.85rem}.resource-code-heading{margin-bottom:5px}.resource-code-fields{gap:7px}.login .resource-code-part{height:46px;font-size:1.35rem}.login .resource-code-clear{min-height:27px;padding:3px 10px;font-size:.75rem}.login .large{min-height:44px;font-size:1rem}}
