:root { color-scheme: light; font-family: system-ui, "PingFang TC", sans-serif; background: #526c81; color: #fffdf6; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100dvh; display: grid; place-items: center; }
.signin { width: min(100%, 440px); padding: max(26px, env(safe-area-inset-top)) 24px max(26px, env(safe-area-inset-bottom)); text-align: center; }
.brand { margin: 0 0 12px; font-weight: 650; letter-spacing: .09em; }
h1 { margin: 0 0 28px; font-size: 25px; }
button, input { font: inherit; }
button { cursor: pointer; }
.profiles { display: flex; justify-content: center; gap: 27px; }
.profiles button { display: grid; gap: 10px; justify-items: center; border: 0; padding: 3px; background: transparent; color: inherit; font-weight: 650; }
.portrait { width: 104px; height: 104px; display: block; object-fit: contain; transition: scale .16s; }
.profiles button:active .portrait { scale: .93; }
form { max-width: 285px; margin: 0 auto; display: grid; gap: 12px; text-align: left; }
label { font-weight: 650; }
input { width: 100%; height: 47px; border: 1px solid #354b61; border-radius: 11px; padding: 0 14px; background: #fffdf6; color: #253c50; font-size: 16px; }
form button { min-height: 44px; border-radius: 11px; }
.enter { border: 0; background: #e0ebf4; color: #284459; font-weight: 700; }
.change { border: 0; background: transparent; color: inherit; }
form p { min-height: 1.5em; margin: 0; text-align: center; }
:focus-visible { outline: 2px solid #fff4dc; outline-offset: 4px; }
