/* R27 entry layout, moved to the top, with only the added PIN/admin controls. */
#app.ms-login-page{background:#111827;min-height:100dvh;padding:0}
body:has(> #app.ms-login-page){background:#111827;padding-bottom:0}
.ms-original-gate.r13-viewer-gate{min-height:100dvh;justify-content:flex-start;padding:28px 22px 32px;box-sizing:border-box}
.ms-original-gate .r13-gate-brand{margin-bottom:28px}
.ms-original-gate .r13-gate-copy p{margin-bottom:24px}
.ms-original-gate form{display:grid;gap:12px;margin:0}
.ms-original-gate label{display:grid;gap:7px;margin:0;font-size:11px;color:#f3f5f8}
.ms-original-gate input,.ms-original-gate .dropdown{box-sizing:border-box;width:100%;height:48px;margin:0;padding:0 14px;border:1px solid #dce3eb;border-radius:12px;background:#fff;color:#111827;font-family:inherit}
.ms-original-gate input{letter-spacing:.25em}
.ms-original-gate .ms-sign-in{display:flex;align-items:center;justify-content:center;gap:10px;color:#fff;min-height:48px;font-weight:850;font-size:14px}
.ms-original-gate .ms-admin-entry{margin:20px 0 0;display:flex;align-items:center;justify-content:space-between;padding:12px 16px;background:#1c293f;border:1px solid #41516c;color:#fff;min-height:48px;border-radius:12px}
.ms-original-gate .ms-login-hint{color:#bec9d9;text-align:center;line-height:1.5;margin-top:12px}
.ms-original-gate #p-login-error:empty{display:none}
.ms-original-gate #p-login-error{color:#ffb4c2;font-size:12px;margin:0;line-height:1.5}
.ms-original-gate .ms-demo-notice{margin:20px 0 0;background:#1c293f;color:#c5d3e6;border-color:#41516c}
.ms-original-gate .ms-demo-reset{margin:12px 0 0}
.ms-home .ms-manage-tile{min-height:84px;padding:22px!important;gap:12px}
.ms-home .ms-manage-tile>strong{font-size:23px;letter-spacing:-.025em}
.ms-home .r21-home-destinations{gap:10px}
#app.ms-home .r21-home-destinations>button.r21-home-destination{height:50px;min-height:50px;padding:12px 14px;align-items:center}
#app.ms-home .r21-home-destinations>button strong{font-size:12px;line-height:1.35;margin:0}
#app.ms-home .r21-home-destinations>button b{font-size:18px}
.r22-league-status.fixture{background:#edf1f7;color:#5c708c}
.r22-league-status.fixture i{background:#8b9ab0}
.scores-header .r22-gameweek-picker{min-width:0;margin:0}
.scores-header .r22-gameweek-trigger{min-height:48px;height:48px;margin:0}
.scores-header .r22-gameweek-options{z-index:70}
@media(max-width:350px){.ms-home .ms-manage-tile>strong{font-size:21px}#app.ms-home .r21-home-destinations>button.r21-home-destination{padding:12px 10px}#app.ms-home .r21-home-destinations>button strong{font-size:11px}}
