[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.pin-screen { width: 100%; max-width: 480px; height: 100dvh; margin: auto; padding: max(28px, env(safe-area-inset-top)) 28px max(20px, env(safe-area-inset-bottom)); background: radial-gradient(ellipse at top, #29202d, #121212 60%); display: flex; flex-direction: column; align-items: center; overflow-y: auto; text-align: center; }
.pin-heading { margin: auto 0 20px; }
.pin-avatar { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 24px; background: #77339b; color: #e5b6ff; font-size: 30px; box-shadow: 0 0 40px #ae38e71c; }
.pin-heading h1 { font-size: 22px; font-weight: 650; margin-bottom: 12px; }
.pin-heading p, .pin-footnote { font-size: 13px; line-height: 1.6; color: #b6b4b9; }
#pinForm { width: 100%; max-width: 330px; }
.pin-entry { position: relative; display: block; width: 248px; height: 54px; margin: 8px auto 0; }
.pin-dots { display: flex; justify-content: space-between; height: 100%; }
.pin-dots > span { width: 50px; border: 2px solid #a4a9b3; border-radius: 12px; display: grid; place-items: center; }
.pin-dots > span.filled { border-color: #00e676; }
.pin-dots > span.filled::after { content: ''; width: 15px; height: 15px; border-radius: 50%; background: #00e676; box-shadow: 0 0 14px #00e67666; }
#pinInput { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: text; font-size: 20px; }
.pin-entry:focus-within { outline: 2px solid #00e67655; outline-offset: 6px; border-radius: 12px; }
.pin-message { min-height: 49px; padding-top: 16px; font-size: 12px; line-height: 1.5; color: #b5b5bd; }
.pin-message.error { color: #ff9292; }
.pin-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 12px; margin-top: 8px; }
.pin-keypad button { min-height: 64px; border: 0; background: transparent; color: #fff; font: inherit; font-size: 28px; border-radius: 50%; cursor: pointer; }
.pin-keypad button:active { background: #ffffff14; }
.pin-keypad .pin-key-small { font-size: 13px; color: #00e676; }
.pin-unlock { width: 100%; padding: 14px; margin-top: 12px; border-radius: 14px; border: 0; background: #00e676; color: #08160f; font-size: 15px; font-weight: 700; cursor: pointer; }
.pin-unlock:disabled { opacity: .5; }
.pin-install, .pin-forget { border: 0; background: transparent; color: #00e676; font: inherit; font-size: 13px; cursor: pointer; padding: 16px 8px 10px; }
.pin-forget { color: #c6b5ca; font-size: 11px; padding: 10px 0; }
.pin-footnote { font-size: 11px; margin-bottom: auto; }
.account-status-bar { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 18px; font-size: 10px; color: #adb9b2; background: #17231c; }
.account-status-bar button { border: 1px solid #51725d; color: #c6e8d1; border-radius: 7px; background: transparent; padding: 5px 12px; font: inherit; cursor: pointer; }
.account-status-bar.offline { background: #30271a; color: #e8c58a; }
.pwa-install-banner { position: fixed; width: calc(100% - 32px); max-width: 448px; left: 50%; right: auto; bottom: max(20px, env(safe-area-inset-bottom)); transform: translateX(-50%); animation: none; }
.native-toast { position: fixed; max-width: calc(100% - 24px); white-space: normal; text-align: center; }
@media (min-width: 481px) { .pin-screen { height: 96dvh; border-radius: 36px; border: 1px solid #ffffff14; } }
@media (max-height: 690px) { .pin-screen { padding-top: 18px; } .pin-avatar { width: 54px; height: 54px; margin-bottom: 12px; } .pin-heading { margin: 0 0 12px; } .pin-keypad button { min-height: 49px; } }
