/* MUSS KPT -- Responsive login/logout design v2.1
   All sports images are <img> elements: no background repeat, no external CDN. */
:root{--navy:#102d5b;--navy2:#0c2550;--blue:#1654a0;--red:#e5364f;--line:#e3ebf4;--muted:#64758b;--shadow:0 26px 70px rgba(12,39,80,.08)}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;min-width:320px;background:#fff;color:var(--navy2);font:15px/1.5 'Segoe UI',Arial,Helvetica,sans-serif}
a{color:inherit}button,input{font:inherit}button{cursor:pointer}
a:focus-visible,button:focus-visible,input:focus-visible{outline:3px solid #5d9ef1;outline-offset:3px}
.page{min-height:100vh;display:flex;flex-direction:column;overflow:hidden;background:#fff}
.site-header{width:min(1110px,calc(100% - 48px));margin:0 auto;padding:22px 0 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.header-identity{display:flex;align-items:center;gap:13px;min-width:0;text-decoration:none}
.header-kpt{width:133px;height:auto;display:block;object-fit:contain;object-position:left center;flex-shrink:0}
.header-separator{height:36px;border-left:1px solid #dce5f0}
.header-text{font-size:11px;color:#6a7b8c;line-height:1.4;font-weight:600;max-width:220px}
.header-text strong{color:var(--navy2);font-weight:800;display:block;font-size:12px}
.header-right{font-size:11px;text-align:right;color:#8290a3;line-height:1.5}
.header-right strong{color:#204d88;font-size:12px;display:block}
.login-layout{width:min(1110px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:minmax(340px,487px) minmax(330px,454px);align-items:center;justify-content:center;gap:clamp(32px,5vw,80px);padding:18px 0 24px;flex:1}
.sports-poster{width:100%;display:flex;justify-content:center;align-items:center;min-width:0}
.sports-poster img{display:block;width:100%;max-width:456px;height:auto;object-fit:contain;object-position:center;background:white;border-radius:7px;box-shadow:0 10px 28px rgba(10,42,84,.075)}
.login-card{width:100%;margin:auto;padding:32px 34px 30px;border:1px solid var(--line);border-radius:19px;box-shadow:var(--shadow);background:white}
.card-overline{display:inline-flex;align-items:center;gap:8px;padding:6px 11px;border:1px solid #e8edf5;background:#f6f9fe;color:#20548d;border-radius:100px;font-size:10px;letter-spacing:.08em;font-weight:800}
.card-overline:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red)}
h1{font-size:clamp(28px,3vw,36px);line-height:1.19;font-weight:800;letter-spacing:-1px;margin:18px 0 8px;color:var(--navy2)}
.login-desc{font-size:13px;color:#5d7089;line-height:1.7;margin:0 0 24px}
.login-desc strong{color:#1a365e;font-weight:700}
.field{margin:0 0 16px}
.field label{display:block;font-size:12px;font-weight:750;color:#183355;margin-bottom:8px}
.field-inner{position:relative}
.field-icon{position:absolute;left:15px;top:50%;width:18px;height:18px;transform:translateY(-50%);color:#7b8eaa;pointer-events:none}
.form-control{display:block;width:100%;height:51px;padding:0 47px 0 45px;border:1px solid #d5e0ec;border-radius:10px;background:#f9fbfe;color:#102d55;font-size:13px;outline:none}
.form-control::placeholder{color:#9eabbc}
.form-control:focus{border-color:#3275c4;box-shadow:0 0 0 4px #e7f2ff;background:#fff}
.password-toggle{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:39px;height:39px;background:transparent;border:0;color:#7a8da6;border-radius:7px;display:grid;place-items:center}
.password-toggle:hover{background:#eef3fb;color:#132d56}.password-toggle svg{width:19px;height:19px}
.form-hint{font-size:11px;color:#7a8ba1;margin:4px 0 18px;display:flex;align-items:flex-start;gap:8px;line-height:1.6}
.form-hint svg{width:16px;height:16px;min-width:16px;color:#2a69bc;margin-top:1px}
.btn{width:100%;min-height:48px;padding:10px 18px;display:inline-flex;align-items:center;justify-content:center;gap:10px;border:1px solid transparent;border-radius:9px;text-decoration:none;text-align:center;font-size:13px;font-weight:750;transition:background .15s,box-shadow .15s,transform .15s}
.btn svg{width:17px;height:17px;flex:none}
.btn-primary{background:#102e5e;color:white;box-shadow:0 7px 16px rgba(7,29,69,.14)}.btn-primary:hover{background:#16447f;transform:translateY(-1px)}
.btn-secondary{background:white;color:#15335c;border-color:#c8d7ea}.btn-secondary:hover{background:#f5f9fe}
.btn-danger{background:#bd3346;color:white}.btn-danger:hover{background:#a12638}
.form-feedback{margin:0 0 16px;padding:11px 13px;border-radius:9px;background:#fff3f4;border:1px solid #f3cdd2;color:#962e3c;font-size:12px;line-height:1.6}
.card-divider{display:flex;gap:12px;align-items:center;margin:18px 0;color:#98a5b5;font-size:11px}.card-divider:before,.card-divider:after{content:'';height:1px;background:#e9eef4;flex:1}
.help-text{font-size:11px;color:#677990;line-height:1.6;text-align:center;margin:0}
.account-note{margin-top:20px;padding-top:16px;border-top:1px solid #edf1f5;display:flex;gap:9px;align-items:flex-start;color:#8898ad;font-size:11px;line-height:1.65}
.account-note svg{width:18px;height:18px;color:#2d6bad;flex:none;margin-top:1px}
.site-footer{width:min(1110px,calc(100% - 48px));margin:0 auto;display:flex;justify-content:space-between;gap:12px;padding:15px 0 19px;border-top:1px solid #f0f3f8;color:#8896a9;font-size:11px}
/* Logout: real monochrome athlete artwork decorates a clean white content pane. */
.logout-layout{width:min(1110px,calc(100% - 48px));margin:auto;flex:1;display:flex;align-items:center;justify-content:center;padding:20px 0 34px}
.logout-stage{position:relative;width:100%;min-height:610px;border:1px solid #e8eef5;box-shadow:0 18px 54px rgba(17,52,89,.055);border-radius:18px;background:#fff;overflow:hidden;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:42px 35px 45px;isolation:isolate}
.logout-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-1;pointer-events:none}
.logout-stage:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(to bottom,rgba(255,255,255,.86),rgba(255,255,255,.02) 34%,rgba(255,255,255,.04) 65%,rgba(255,255,255,.67));pointer-events:none}
.logout-heading{display:flex;flex-direction:column;align-items:center;gap:0;margin-bottom:16px;text-align:center}
.logout-heading .header-kpt{width:144px;max-height:72px;object-position:center}
.logout-heading .muss-logo{display:block;width:174px;max-height:96px;object-fit:contain;margin-top:6px}
.logout-card{position:relative;width:min(100%,450px);padding:22px 32px 24px;text-align:center;background:rgba(255,255,255,.95);border:1px solid #eff3f8;border-radius:17px;box-shadow:0 14px 42px rgba(15,46,88,.05);z-index:2}
.state-icon{margin:0 auto 12px;width:61px;height:61px;border-radius:50%;background:#ffedf0;color:#c13b4c;display:grid;place-items:center}
.state-icon.success{background:#e2f7e8;color:#139044}
.state-icon svg{width:30px;height:30px}
.logout-card h1{font-size:clamp(24px,3vw,30px);margin:0 0 8px}
.logout-desc{margin:0 0 20px;color:#5e7088;font-size:13px;line-height:1.7}
.user-pill{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #e4edf7;background:#f7fafe;border-radius:10px;padding:10px 14px;margin-bottom:18px;font-size:12px;color:#354e73;overflow-wrap:anywhere}
.user-pill svg{width:17px;height:17px;color:#3c74af;flex:none}
.actions{display:grid;gap:10px}
.logout-note{margin:17px 0 0;padding:12px 14px;border-radius:10px;background:#f0f5fa;display:flex;gap:10px;text-align:left;color:#5d718b;font-size:11px;line-height:1.6}
.logout-note svg{width:22px;height:22px;color:#1b568d;flex:none}
.logout-note strong{display:block;color:#173863;font-size:12px;margin-bottom:2px}
.tiny-note{font-size:11px;color:#8699aa;margin:12px 0 0;text-align:center}
/* Prefer no decorative overlap on compact devices. */
@media(max-width:820px){
.site-header,.login-layout,.logout-layout,.site-footer{width:min(100% - 34px,650px)}
.site-header{padding:17px 0 12px}
.header-kpt{width:115px}.header-text{font-size:10px}.header-text strong{font-size:11px}
.header-right{display:none}
.login-layout{display:flex;flex-direction:column;gap:23px;padding:8px 0 28px}
.sports-poster{max-width:465px}
.sports-poster img{width:100%;max-width:430px}
.login-card{max-width:475px;padding:28px}
.logout-layout{padding:4px 0 24px}
.logout-stage{min-height:670px;padding:30px 17px;justify-content:flex-start}
.logout-stage .logout-art{object-fit:cover;object-position:center;opacity:.5}
.logout-stage:before{background:rgba(255,255,255,.45)}
.logout-card{margin-top:14px}
.site-footer{padding:12px 0 18px}
}
@media(max-width:480px){
.site-header,.login-layout,.logout-layout,.site-footer{width:calc(100% - 24px)}
.site-header{padding-top:12px;padding-bottom:7px}
.header-identity{gap:9px}.header-kpt{width:101px}.header-separator{height:27px}
.header-text{font-size:9px;max-width:170px}.header-text strong{font-size:10px}
.login-layout{gap:13px;padding-top:4px}
.sports-poster{max-width:385px}
.sports-poster img{width:100%;border-radius:4px}
.login-card{padding:24px 22px;border-radius:14px;box-shadow:0 10px 32px rgba(16,46,90,.07)}
h1{font-size:27px}.login-desc{margin-bottom:19px}
.logout-stage{min-height:600px;padding:25px 12px 24px;border-radius:13px}
.logout-heading{margin-bottom:8px}.logout-heading .muss-logo{width:152px;margin-top:0}
.logout-card{width:100%;padding:24px 16px}
.logout-card h1{font-size:25px}
.site-footer{font-size:10px;flex-direction:column;text-align:center;align-items:center;gap:2px}
}
@media(prefers-reduced-motion:reduce){.btn{transition:none}}
