@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#182b30;background:#f5f7f6;font-synthesis:none}
*{box-sizing:border-box}
body{margin:0;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
a:hover{color:#1f7b50}
.auth-top{background:#14272d;color:#edf5f1}
.auth-wrap{max-width:1080px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:21px 24px}
.auth-brand{font-size:26px;letter-spacing:-1.3px;font-weight:800;color:#fff}
.auth-brand span{color:#83cfa4}
.auth-back{font-size:13px;font-weight:600;color:#c5d8d1}
.auth-back:hover{color:#fff}
.auth-main{width:100%;flex:1;display:flex;justify-content:center;align-items:center;padding:44px 16px 72px}
.auth-panel{width:min(100%,432px);background:#fff;border:1px solid #dce6e1;padding:38px 34px;box-shadow:0 16px 45px rgba(19,45,35,.055)}
.auth-panel h1{margin:0 0 26px;font-size:31px;line-height:1.2;letter-spacing:-1px}
.auth-panel label:not(.auth-remember){display:block;font-size:13px;font-weight:650;margin:18px 0 8px}
.auth-panel input:not([type=checkbox]){width:100%;font:inherit;font-size:15px;min-height:48px;background:#fcfdfc;border:1px solid #cbd8d3;padding:11px 13px;outline:0;border-radius:2px}
.auth-panel input:focus{border-color:#308559;box-shadow:0 0 0 3px rgba(43,125,79,.1)}
.auth-remember{display:flex;align-items:center;gap:10px;font-size:13px;line-height:1.5;color:#526660;margin:21px 0}
.auth-remember input{accent-color:#208653;width:17px;height:17px;flex:none;margin:0}
.auth-panel button{cursor:pointer;font:inherit;width:100%;border:1px solid #1f7b50;background:#1f7b50;color:#fff;font-size:14px;font-weight:700;padding:14px 15px}
.auth-panel button:hover{background:#165e3e}
.auth-footlinks{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:23px;font-size:13px;font-weight:600;color:#20784c}
.auth-error{color:#923a34;background:#fff3f0;border-left:3px solid #b34a44;padding:12px 14px;font-size:13px;line-height:1.5;margin:0 0 20px}
@media(max-width:480px){.auth-wrap{padding:18px 18px}.auth-brand{font-size:24px}.auth-back{font-size:12px}.auth-main{align-items:flex-start;padding:36px 14px 54px}.auth-panel{padding:28px 23px}.auth-panel h1{font-size:28px;margin-bottom:22px}}
@media(max-width:350px){.auth-panel{padding:25px 18px}.auth-wrap{padding:16px 13px}.auth-main{padding:24px 10px}.auth-footlinks{font-size:12px;gap:9px}}

/* v1.0.26: permanent dark sign-in. */
.auth-header-tools{display:flex;align-items:center;gap:15px}
html[data-stb-theme="dark"]{background:#101b1c;color:#e5efea}
html[data-stb-theme="dark"] body{background:#101b1c;color:#e5efea}
html[data-stb-theme="dark"] .auth-top{background:#102a27;border-bottom:1px solid #315345}
html[data-stb-theme="dark"] .auth-panel{background:#1a2a2b;border-color:#31514a;box-shadow:none}
html[data-stb-theme="dark"] .auth-panel input:not([type=checkbox]){background:#122223;border-color:#45635b;color:#eef7f1}
html[data-stb-theme="dark"] .auth-panel label:not(.auth-remember){color:#d7ece0}
html[data-stb-theme="dark"] .auth-remember{color:#b2c6bc}
html[data-stb-theme="dark"] .auth-footlinks{color:#83d5a5}
html[data-stb-theme="dark"] .auth-error{background:#3f2528;color:#ffd4cf}
@media(max-width:400px){.auth-header-tools{gap:8px}.auth-back{font-size:11px}}

/* v1.0.26: login uses the same near-black theme as the football dashboard. */
html[data-stb-theme="dark"]{background:#0b0d0f;color:#edf1f3;color-scheme:dark}
html[data-stb-theme="dark"] body{background:#0b0d0f;color:#edf1f3}
html[data-stb-theme="dark"] .auth-top{background:#111715;border-bottom:2px solid #178653}
html[data-stb-theme="dark"] .auth-panel{background:#171a1e;border-color:#30363d;box-shadow:none}
html[data-stb-theme="dark"] .auth-panel h1{color:#f1f4f6}
html[data-stb-theme="dark"] .auth-panel input:not([type=checkbox]){background:#101418;color:#edf2f4;border-color:#424a51}
html[data-stb-theme="dark"] .auth-panel input:not([type=checkbox]):focus{border-color:#36a871;box-shadow:0 0 0 2px #27895540}
html[data-stb-theme="dark"] .auth-panel label:not(.auth-remember){color:#dce4e8}
html[data-stb-theme="dark"] .auth-remember{color:#b5c0c5}
html[data-stb-theme="dark"] .auth-footlinks a{color:#84dfaa}
html[data-stb-theme="dark"] .auth-panel button{background:#188250;border-color:#188250;color:#fff}
html[data-stb-theme="dark"] .auth-panel button:hover{background:#1d9c61}
