/* Centered sign-in glass panel over the generated standing R artwork. */
#startPage {
 min-height:100svh;
 padding:40px 24px;
 display:grid;
 place-items:center;
 isolation:isolate;
 position:relative;
 background:#060606 url('assets/ruslt-standing-r.png') center / cover no-repeat;
}
#startPage::before {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 background:linear-gradient(90deg,rgba(4,4,4,.2),rgba(4,4,4,.08) 55%,rgba(4,4,4,.25));
}
#startPage .start-center {
 width:100%;
 max-width:430px;
 margin:0;
 padding:56px 36px 32px;
 border:1px solid rgba(211,211,211,.24);
 border-radius:18px;
 background:linear-gradient(140deg,rgba(27,27,27,.76),rgba(8,8,8,.84));
 box-shadow:0 24px 90px rgba(0,0,0,.35),inset 0 1px 0 rgba(242,242,242,.04);
 -webkit-backdrop-filter:blur(18px);
 backdrop-filter:blur(18px);
 text-align:center;
}
#startPage .start-logo {display:block;width:64px;height:72px;object-fit:contain;margin:0 auto 17px;transform:none;filter:none}
#startPage h1 {font-family:'DM Sans',sans-serif;font-size:23px;font-weight:500;line-height:1.4;letter-spacing:.28em;text-indent:.28em;color:#f6f6f6;margin:0 0 44px}
#startPage .login-option {min-height:60px;padding:16px 20px;gap:16px;border:1px solid #e2e2e2;border-radius:11px;background:linear-gradient(115deg,#e9e9e9,#dadada);color:#1b1b1b;font-size:14px;font-weight:500;box-shadow:0 2px 18px rgba(210,210,210,.09);transition:background .15s,box-shadow .15s,transform .15s}
#startPage .login-option:hover:not(:disabled) {background:#f3f3f3;box-shadow:0 4px 25px rgba(210,210,210,.2);transform:translateY(-1px)}
#startPage .login-option:focus-visible {outline:2px solid #fafafa;outline-offset:5px}
#startPage .login-option:disabled {opacity:.65;cursor:wait}
#startPage .login-icon,#startPage .login-arrow {width:22px;height:22px;flex-shrink:0;opacity:1}
#startPage .login-arrow {margin-left:auto}
#startPage .auth-status {font-size:12px;line-height:1.5;color:#c0c0c0;min-height:18px;margin:16px 0 0}
@media(max-width:600px) {
 #startPage {padding:24px 20px;background-position:center}
 #startPage .start-center {max-width:390px;padding:44px 24px 24px;border-radius:16px}
 #startPage h1 {margin-bottom:36px}
 #startPage .login-option {padding:16px;gap:12px}
}
@media(prefers-reduced-motion:reduce) {#startPage .login-option {transition:none}}
/* Sign-in palette: preserve the artwork, soften it under an ivory light surface. */
#startPage {
 --start-overlay:linear-gradient(90deg,rgba(4,4,4,.2),rgba(4,4,4,.08) 55%,rgba(4,4,4,.25));
 --start-panel:linear-gradient(140deg,rgba(27,27,27,.76),rgba(8,8,8,.84));
 --start-border:rgba(211,211,211,.24);
 --start-title:#f6f6f6;
 --start-muted:#c0c0c0;
 --start-shadow:0 24px 90px rgba(0,0,0,.35),inset 0 1px 0 rgba(242,242,242,.04);
}
:root[data-theme=light] #startPage {
 --start-overlay:linear-gradient(115deg,rgba(246,246,246,.93),rgba(235,235,235,.72) 50%,rgba(248,248,248,.93));
 --start-panel:linear-gradient(140deg,rgba(255,255,252,.88),rgba(243,243,243,.94));
 --start-border:rgba(80,80,80,.25);
 --start-title:#323232;
 --start-muted:#636363;
 --start-shadow:0 24px 90px rgba(55,55,55,.16),inset 0 1px 0 rgba(255,255,255,.7);
}
#startPage::before{background:var(--start-overlay)}
#startPage .start-center{background:var(--start-panel);border-color:var(--start-border);box-shadow:var(--start-shadow)}
#startPage h1{color:var(--start-title)}
#startPage .auth-status{color:var(--start-muted)}
#startPage .login-option:focus-visible{outline-color:var(--start-title)}
#startPage .start-theme-control{position:absolute;top:max(24px,env(safe-area-inset-top));right:max(28px,env(safe-area-inset-right));z-index:1}
#startPage .start-theme-control .theme-orb{width:40px;height:40px}
:root[data-theme=light] #startPage .start-logo{background:#2d2d2d;border:1px solid rgba(66,66,66,.2);border-radius:12px;padding:9px;width:64px;height:72px}
@media(max-width:600px){#startPage{padding-top:84px;padding-bottom:64px}#startPage .start-theme-control{top:20px;right:20px}}

.login-option[hidden]{display:none}
