:root{color-scheme:dark;--login-bg:#050b10;--login-panel:#0b171c;--login-panel-soft:#102027;--login-line:rgba(154,184,190,.18);--login-text:#f3f7f8;--login-muted:#91a3aa;--login-green:#21c66b;--login-green-dark:#0f9250;--login-field:rgba(8,20,26,.72)}
*{box-sizing:border-box}
html{min-height:100%;background:var(--login-bg)}
body.login-page{margin:0;min-height:100vh;min-height:100dvh;position:relative;isolation:isolate;overflow-x:hidden;display:flex;align-items:center;justify-content:center;padding:30px;background:radial-gradient(ellipse at 65% 10%,rgba(34,200,106,.10),transparent 35%),#050b10;color:var(--login-text);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
.login-page:before{content:"";position:fixed;inset:0;z-index:-2;pointer-events:none;background:linear-gradient(140deg,rgba(6,14,19,.35),transparent 45%),radial-gradient(circle at 15% 85%,rgba(24,146,80,.14),transparent 30%)}
.login-ambient{position:fixed;z-index:-1;width:38vw;height:38vw;border-radius:50%;filter:blur(80px);opacity:.12;pointer-events:none}.login-ambient-a{background:#00b85b;left:-20vw;top:12vh}.login-ambient-b{background:#1e7c96;right:-22vw;bottom:-18vh}
.login-theme-toggle{position:fixed;right:22px;top:20px;z-index:10;display:flex;align-items:center;gap:8px;border:1px solid var(--login-line);background:rgba(8,19,24,.75);backdrop-filter:blur(14px);color:#dae4e7;padding:9px 13px;border-radius:999px;font:600 12px Inter,system-ui,sans-serif;cursor:pointer;transition:background .18s,border-color .18s}.login-theme-toggle:hover{border-color:rgba(33,198,107,.6);background:#102027}.login-theme-toggle svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.login-layout{width:min(1320px,100%);min-height:min(800px,calc(100dvh - 60px));display:grid;grid-template-columns:minmax(0,1.04fr) minmax(410px,.78fr);border:1px solid rgba(119,161,161,.22);border-radius:30px;overflow:hidden;background:rgba(8,17,22,.9);box-shadow:0 34px 100px rgba(0,0,0,.48),0 1px 0 rgba(255,255,255,.04) inset}
.login-hero{min-width:0;position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;padding:48px 48px 34px;background:#0b1a1d url("login-referee.webp") center 48%/cover no-repeat}
.login-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(3,10,13,.82) 0%,rgba(4,12,16,.48) 50%,rgba(5,13,17,.72) 100%),linear-gradient(0deg,rgba(3,9,12,.92) 0%,transparent 48%,rgba(2,9,12,.42) 100%)}
.login-hero:after{content:"";position:absolute;inset:18px;border:1px solid rgba(231,255,241,.12);border-radius:20px;pointer-events:none}
.hero-top{position:relative;z-index:1;display:flex;align-items:center;gap:15px;width:fit-content;max-width:100%;padding:0 0 18px;border-bottom:1px solid rgba(222,243,235,.2)}
.brand-mark{width:54px;height:54px;border-radius:17px;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(140deg,#24cf72,#087e47);box-shadow:0 9px 30px rgba(12,181,91,.24);border:1px solid rgba(255,255,255,.24)}.brand-mark svg{width:38px;height:38px;fill:none;stroke:#fff;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.brand-wordmark{min-width:0}.brand-wordmark>div{font-size:clamp(22px,2.5vw,31px);line-height:1;font-weight:800;letter-spacing:-1.5px;white-space:nowrap}.brand-wordmark>div span{color:#f4f8f7}.brand-wordmark>div strong{color:#27d278;font-weight:900}.brand-wordmark p{margin:9px 0 0;font-size:9px;letter-spacing:.22em;font-weight:700;color:rgba(231,241,240,.74);white-space:nowrap}
.hero-copy{position:relative;z-index:1;max-width:520px;margin:auto 0;padding:70px 0 48px}.hero-eyebrow{display:flex;align-items:center;gap:10px;color:#8df0b2;font-size:10px;letter-spacing:.2em;font-weight:800}.hero-eyebrow span,.hero-live-dot{width:7px;height:7px;flex:0 0 auto;border-radius:50%;background:#28d979;box-shadow:0 0 14px rgba(40,217,121,.8)}.hero-copy h1{font-size:clamp(40px,4.1vw,62px);line-height:1.03;letter-spacing:-.055em;margin:22px 0 19px;font-weight:900;text-shadow:0 4px 25px rgba(0,0,0,.24)}.hero-copy h1 em{font-style:normal;color:#36dc83}.hero-copy>p{max-width:440px;color:rgba(236,244,244,.83);font-size:15px;line-height:1.8;margin:0}
.hero-feature-grid{position:relative;z-index:1;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}.hero-feature{display:flex;gap:10px;align-items:center;min-width:0;padding:15px 12px;background:rgba(6,16,20,.52);border:1px solid rgba(214,243,230,.14);border-radius:14px;backdrop-filter:blur(9px)}.feature-icon{width:31px;height:31px;display:grid;place-items:center;flex:0 0 auto;color:#34db80}.feature-icon svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.hero-feature b,.hero-feature small{display:block;overflow-wrap:anywhere}.hero-feature b{font-size:12px;font-weight:800}.hero-feature small{font-size:10px;line-height:1.45;color:rgba(222,237,236,.68);margin-top:3px}.hero-bottom{position:relative;z-index:1;display:flex;align-items:center;gap:9px;color:rgba(234,244,242,.7);text-transform:uppercase;font-size:9px;letter-spacing:.16em;font-weight:700}
.login-side{min-width:0;display:flex;flex-direction:column;justify-content:space-between;background:radial-gradient(ellipse at 50% 4%,rgba(24,104,66,.14),transparent 40%),linear-gradient(145deg,rgba(12,26,32,.98),rgba(6,13,17,.99));padding:62px clamp(32px,4vw,62px) 28px;position:relative}.login-side:before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,rgba(39,209,115,.6),transparent)}.login-side-inner{width:100%;max-width:410px;margin:auto}.mobile-brand{display:none}.access-label{display:flex;align-items:center;gap:10px;color:#8ddfad;font-size:9px;letter-spacing:.17em;font-weight:800;margin-bottom:26px}.access-icon{display:grid;place-items:center;width:34px;height:34px;border-radius:11px;background:rgba(26,185,94,.12);border:1px solid rgba(33,198,107,.22)}.access-icon svg{width:18px;height:18px;fill:none;stroke:#38d77f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.login-side h2{font-size:clamp(29px,3vw,38px);letter-spacing:-.045em;line-height:1.13;margin:0 0 12px;font-weight:850;color:#f5f8f8}.login-intro{margin:0;color:#97aab1;font-size:14px;line-height:1.7;max-width:340px}.login-form{margin-top:38px;display:flex;flex-direction:column;gap:10px}.login-form label{font-size:12px;font-weight:750;color:#d9e3e5;margin-bottom:2px}.password-field{display:flex;align-items:center;gap:12px;min-height:60px;border-radius:13px;border:1px solid #30434c;background:rgba(4,13,18,.58);padding:0 13px 0 16px;transition:border-color .2s,box-shadow .2s,background .2s}.password-field:focus-within{border-color:#23c96c;box-shadow:0 0 0 4px rgba(33,198,107,.12);background:rgba(5,17,22,.92)}.field-icon{width:20px;height:20px;flex:0 0 auto;color:#7f969e}.field-icon svg,.password-toggle svg{width:20px;height:20px;display:block;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.password-field input{width:100%;min-width:0;height:54px;border:0;outline:0!important;background:transparent;color:#f5f8f8;font:500 15px Inter,system-ui,sans-serif;padding:0;box-shadow:none!important}.password-field input::placeholder{color:#60747c}.password-toggle{width:34px;height:38px;display:grid;place-items:center;flex:0 0 auto;border:0;border-radius:9px;background:transparent;color:#7f969e;cursor:pointer}.password-toggle:hover{background:rgba(255,255,255,.06);color:#d9e5e7}.field-help{font-size:11px;color:#6f858d;margin:0 0 13px}.login-submit{height:58px;width:100%;display:flex;align-items:center;justify-content:center;gap:13px;border:1px solid rgba(103,255,170,.4);border-radius:13px;background:linear-gradient(115deg,#21c96c,#0a994e);color:#fff;font:800 15px Inter,system-ui,sans-serif;letter-spacing:.01em;cursor:pointer;box-shadow:0 10px 28px rgba(7,155,75,.2);transition:transform .18s,filter .18s,box-shadow .18s}.login-submit svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}.login-submit:hover{filter:brightness(1.08);transform:translateY(-1px);box-shadow:0 13px 32px rgba(7,155,75,.3)}.login-submit:hover svg{transform:translateX(3px)}.login-submit:active{transform:translateY(0)}.login-submit:focus-visible,.password-toggle:focus-visible,.login-theme-toggle:focus-visible{outline:2px solid #7af0ad;outline-offset:4px}
.login-security-note{display:flex;align-items:center;gap:13px;padding:15px 0 0;margin-top:28px;border-top:1px solid rgba(147,174,182,.13)}.login-security-note>svg{width:28px;height:28px;flex:0 0 auto;fill:none;stroke:#35d27b;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.login-security-note p{margin:0;display:flex;flex-direction:column;gap:4px}.login-security-note strong{font-size:11px;color:#cbd8db}.login-security-note span{font-size:10px;color:#71858d;line-height:1.5}.login-version{margin-top:32px;display:flex;align-items:center;justify-content:center;gap:12px;color:#668088;font-size:10px;letter-spacing:.06em}.version-line{height:1px;max-width:65px;flex:1;background:linear-gradient(90deg,transparent,rgba(139,171,177,.28))}.version-line:last-child{transform:rotate(180deg)}.login-footer{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:48px;padding-top:19px;border-top:1px solid rgba(143,171,177,.12);color:#5e747c;font-size:8px;letter-spacing:.12em;font-weight:700}.login-footer span:last-child{display:flex;align-items:center;gap:8px}.login-footer i{display:inline-block;width:4px;height:4px;border-radius:50%;background:#24cc70}
.login-error{display:flex;gap:12px;align-items:center;padding:13px 14px;border:1px solid rgba(244,91,99,.4);border-radius:12px;background:rgba(117,20,29,.19);margin-top:24px;color:#ffb3b6}.error-symbol{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;border-radius:50%;border:1px solid rgba(244,91,99,.5);font-weight:900}.login-error div{display:flex;flex-direction:column;gap:3px}.login-error strong{font-size:11px}.login-error span{font-size:12px}
.login-light{--login-bg:#eaf0ee;--login-text:#18252a}.login-light body{color:var(--login-text)}body.login-page.login-light{background:radial-gradient(ellipse at 65% 10%,rgba(34,200,106,.12),transparent 35%),#eaf0ee}.login-light .login-layout{background:#fff;border-color:rgba(36,71,60,.18);box-shadow:0 34px 100px rgba(29,61,47,.16)}.login-light .login-side{background:linear-gradient(145deg,#fff,#f5faf7)}.login-light .login-side h2{color:#18292e}.login-light .login-intro{color:#667b82}.login-light .login-form label{color:#32484e}.login-light .password-field{background:#fff;border-color:#d6e0e1}.login-light .password-field input{color:#172a30}.login-light .password-field input::placeholder{color:#96a6aa}.login-light .password-toggle{color:#667e84}.login-light .login-security-note strong{color:#344b51}.login-light .login-security-note span{color:#71858a}.login-light .login-version,.login-light .login-footer{color:#7e9094;border-color:rgba(46,82,68,.14)}.login-light .login-theme-toggle{background:rgba(255,255,255,.8);color:#233a40;border-color:rgba(46,82,68,.2)}
@media(max-width:1000px){body.login-page{padding:18px}.login-layout{grid-template-columns:minmax(0,1fr) minmax(355px,.9fr);min-height:calc(100dvh - 36px)}.login-hero{padding:34px 32px 26px}.hero-copy{padding:52px 0 30px}.hero-feature-grid{grid-template-columns:1fr;gap:8px}.hero-feature{padding:10px}.hero-feature small{font-size:10px}.login-side{padding:50px 30px 24px}}
@media(max-width:720px){body.login-page{padding:0;display:block;min-height:100dvh}.login-theme-toggle{top:13px;right:13px;padding:8px 10px;background:rgba(4,14,18,.72)}.login-layout{width:100%;min-height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0;box-shadow:none;background:var(--login-bg)}.login-hero{min-height:320px;padding:28px 24px 22px;background-position:center 37%;flex:0 0 auto}.login-hero:after{inset:10px;border-radius:15px}.hero-top{gap:11px;padding-bottom:13px}.brand-mark{width:43px;height:43px;border-radius:13px}.brand-mark svg{width:31px;height:31px}.brand-wordmark>div{font-size:24px}.brand-wordmark p{font-size:7px;letter-spacing:.16em}.hero-copy{padding:32px 0 20px;margin:0}.hero-eyebrow{font-size:8px;letter-spacing:.14em}.hero-copy h1{font-size:clamp(32px,9vw,43px);margin:14px 0 10px}.hero-copy>p{font-size:12px;line-height:1.6;max-width:350px}.hero-feature-grid{display:none}.hero-bottom{font-size:7px;letter-spacing:.12em}.login-side{padding:30px 25px 22px;min-height:0;flex:1;background:linear-gradient(180deg,#0b171c,#071015)}.login-side:before{left:20%;right:20%}.login-side-inner{max-width:430px;margin:0 auto;width:100%}.mobile-brand{display:flex;align-items:center;gap:11px;margin:0 0 26px}.mobile-brand .brand-mark.small{width:37px;height:37px;border-radius:11px}.mobile-brand .brand-mark.small svg{width:27px;height:27px}.mobile-brand .brand-wordmark>div{font-size:21px}.mobile-brand .brand-wordmark p{margin-top:5px;font-size:7px}.access-label{margin-bottom:18px;font-size:8px}.access-icon{width:30px;height:30px}.login-side h2{font-size:31px}.login-intro{font-size:13px}.login-form{margin-top:26px}.password-field{min-height:56px}.password-field input{height:50px;font-size:16px}.login-submit{height:56px}.login-security-note{margin-top:22px}.login-version{margin-top:22px}.login-footer{margin-top:27px;padding-top:15px;font-size:7px}.login-footer span:first-child{max-width:180px;line-height:1.5}}
@media(max-width:380px){.login-hero{min-height:290px;padding-left:20px;padding-right:20px}.login-side{padding-left:20px;padding-right:20px}.hero-copy h1{font-size:32px}.login-footer{gap:6px}.login-footer span:last-child{font-size:6px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
