/* KiezKrone 033: auth styles scoped away from the game and public homepage. */
.kk-auth{--ka-gold:#e8b65d;--ka-muted:#a1aab5;--ka-line:#343e49;background:#0e141b;color:#eee9df}
.kk-auth *{box-sizing:border-box}
.kk-auth [hidden]{display:none!important}
.ka-shell{max-width:1500px;margin:auto;padding:0 42px;min-width:0}
.ka-bar{height:112px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid var(--ka-line)}
.kk-auth .ka-bar .brand-compact{width:108px;max-width:none}
.ka-bar nav{display:flex;align-items:center;gap:27px}
.ka-bar nav a{font-size:12px;color:#c5ccd4;text-decoration:none;display:flex;align-items:center;gap:9px}
.ka-bar .ic{width:14px;height:14px}
.ka-main{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:0;margin:30px 0 0;border:1px solid var(--ka-line);border-radius:10px;overflow:clip;background:#151d26}
.ka-scene{min-width:0;min-height:660px;position:sticky;top:20px;align-self:start;height:calc(100vh - 165px);max-height:1000px;display:flex;flex-direction:column;justify-content:space-between;padding:28px 32px;background-image:linear-gradient(180deg,#0a111c26 0%,#0a111c20 25%,#0a111cbd 58%,#0a111cf2 100%),var(--ka-scene);background-size:cover;background-position:58% center;border-right:1px solid var(--ka-line)}
.ka-scene-top,.ka-scene-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:8px;font-weight:600;letter-spacing:.13em;color:#d3dae2;line-height:1.6}
.ka-scene-top{padding-bottom:16px;border-bottom:1px solid #dbe2ec42}
.ka-scene-top>span:last-child{text-align:right;max-width:140px}
.ka-story{padding-top:180px;margin-top:auto}
.ka-eyebrow{display:flex;align-items:center;gap:10px;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--ka-gold);margin:0 0 14px;line-height:1.6}
.ka-eyebrow>span{display:block;width:22px;height:1px;background:var(--ka-gold)}
.kk-auth .ka-story h2{font-family:var(--f-display);font-size:clamp(44px,4.6vw,72px);font-weight:900;line-height:.99;letter-spacing:-.01em;text-transform:uppercase;margin:0;max-width:10ch}
.kk-auth .ka-story h2 em{font-style:normal;color:var(--ka-gold)}
.ka-story-lede{font-size:14px;line-height:1.8;color:#c0c9d5;max-width:37ch;margin:22px 0 26px}
.ka-live{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;border-top:1px solid #cdd6e42b;padding:22px 0}
.ka-live b{display:block;color:#f3d69e;font-size:27px;font-family:var(--f-mono);line-height:1.2}
.ka-live span{display:block;margin-top:8px;color:#b0bdca;font-size:10px;line-height:1.5}
.ka-scene-bottom{margin-top:25px;font-size:7px;padding-top:16px;border-top:1px solid #cdd6e42b}
.ka-scene-bottom>span{display:flex;align-items:center;gap:6px}
.ka-scene-bottom .ic{width:12px;height:12px;flex-shrink:0}
.ka-story-steps{list-style:none;padding:0;margin:25px 0 0;border-top:1px solid #cdd6e42b}
.ka-story-steps li{padding:12px 0;display:flex;align-items:center;gap:17px;border-bottom:1px solid #cdd6e41c;font-size:12px;color:#c0c9d5}
.ka-story-steps b{font-family:var(--f-mono);font-size:11px;color:var(--ka-gold)}
.kk-auth-register .ka-story{padding-top:50px}
.kk-auth-register .ka-story h2{max-width:16ch;font-size:clamp(42px,4.5vw,64px)}
.ka-form-panel{min-width:0;padding:42px clamp(24px,3.7vw,58px) 28px;display:flex;flex-direction:column;justify-content:center;outline:none}
.ka-card{width:100%;max-width:460px;margin:auto}
.ka-tabs{display:flex;border-bottom:1px solid var(--ka-line);gap:26px;margin:0 0 38px}
.ka-tabs a{padding:0 0 14px;color:#a1aab5;text-decoration:none;font-size:13px;border-bottom:2px solid transparent;margin-bottom:-1px}
.ka-tabs a[aria-current]{color:var(--ka-gold);border-bottom-color:var(--ka-gold);font-weight:600}
.kk-auth .ka-card>.eyebrow{display:block;font-size:10px;letter-spacing:.12em;color:var(--ka-gold);margin:0 0 9px}
.kk-auth .ka-title,.kk-auth .ka-card>h2{font-family:var(--f-display);font-size:42px;font-weight:900;line-height:1.05;text-transform:uppercase;margin:0 0 12px;letter-spacing:-.01em}
.ka-intro{color:var(--ka-muted);line-height:1.8;font-size:13px;margin:0 0 28px;max-width:40ch}
.kk-auth .form{display:flex;flex-direction:column;gap:10px;margin:0}
.kk-auth .form label{font-size:12px;font-weight:600;color:#cdd3dc;line-height:1.6;margin:6px 0 0}
.kk-auth input:not([type=checkbox]),.kk-auth select{width:100%;min-width:0;border:1px solid #3a4653;border-radius:5px;background:#101720;color:#eee9df;padding:12px 13px;min-height:46px;font:13px var(--f-body);outline:none}
.kk-auth input::placeholder{color:#737e8d;opacity:1}
.kk-auth :is(input,select):focus-visible{border-color:var(--ka-gold);outline:2px solid #e8b65d44;outline-offset:1px}
.kk-auth .pwrow{display:flex;align-items:stretch;gap:0;position:relative}
.kk-auth .pwrow input{padding-right:49px;margin:0}
/* Reset the shared .form .btn margin before centering the control on the field. */
.kk-auth .pwrow>button.btn.ghost{position:absolute;right:1px;top:50%;bottom:auto;transform:translateY(-50%);width:44px;height:44px;min-width:44px;min-height:44px;margin:0;padding:0;display:grid;place-items:center;gap:0;line-height:1;font-size:10px;background:transparent;border:0;box-shadow:none;color:#8f9dad;border-radius:4px;transition:color .15s,background .15s}
.kk-auth .pwrow>button.btn.ghost:hover,.kk-auth .pwrow>button.btn.ghost[aria-pressed=true]{color:var(--ka-gold);background:#e8b65d0a}
.kk-auth .pwrow>button svg{display:block;width:20px;height:20px;margin:0;flex-shrink:0;pointer-events:none}
.kk-auth .btn{font-family:var(--f-body);border-radius:4px;font-size:12px;text-transform:none;letter-spacing:0;min-height:40px;display:inline-flex;justify-content:center;align-items:center;gap:9px;white-space:normal}
.kk-auth .btn.big{background:var(--ka-gold);border:1px solid var(--ka-gold);color:#161a20;min-height:48px;font-size:14px;font-weight:800;width:100%;margin-top:10px}
.kk-auth .btn.big:hover{background:#f4ca83;border-color:#f4ca83}
.kk-auth .btn.ghost{background:transparent;border:1px solid #45515f;color:#d6dee8}
.kk-auth :is(a,button,summary):focus-visible{outline:2px solid var(--ka-gold);outline-offset:4px}
.ka-forgot{display:flex;justify-content:flex-end;font-size:11px;margin:3px 0 8px}
.kk-auth .ka-forgot a,.kk-auth .auth-alt a:not(.btn){color:var(--ka-gold)}
.kk-auth .auth-alt{margin-top:25px;padding-top:22px;border-top:1px solid var(--ka-line);display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;font-size:12px;color:#a1aab5}
.kk-auth .auth-alt .btn{font-size:11px;min-height:37px}
.ka-form-note{display:flex;justify-content:center;gap:9px;align-items:center;color:#798697;font-size:10px;padding-top:32px;line-height:1.6;text-align:center}
.ka-form-note .ic{width:14px;height:14px;flex-shrink:0}
.ka-footer .foot{border:0;padding:22px 0 28px;font-size:10px;color:#82909f;gap:15px}
.ka-footer .footlinks{flex-wrap:wrap;gap:16px}
.kk-auth .reg-step{border:0;border-bottom:1px solid var(--ka-line);padding:0 0 22px;margin:0 0 10px;min-width:0}
.kk-auth .reg-step legend{width:100%;font-size:14px;font-weight:700;padding:0;margin:0 0 15px;display:flex;align-items:center;gap:10px;color:#e1e5eb}
.kk-auth .reg-step legend .num{display:inline-grid;place-items:center;width:25px;height:25px;border:1px solid #65502f;background:#342b1f;border-radius:4px;font-size:11px;color:var(--ka-gold)}
.kk-auth .reg-step>input,.kk-auth .reg-step>select{margin-top:7px;margin-bottom:9px}
.kk-auth .reg-step>label{display:block}
.kk-auth .reg-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:3px}
.kk-auth .reg-two .pwrow{margin-top:7px}
.kk-auth .reg-two input{margin-top:0}
.kk-auth .form label .muted{font-size:10px;font-weight:400}
.kk-auth .city-prev{height:115px;min-height:0;border-radius:5px;overflow:hidden;margin:4px 0 10px;background-position:center;background-size:cover;border:1px solid var(--ka-line)}
.kk-auth .city-prev>div{padding:14px;background:linear-gradient(transparent,#101720ed);height:100%;display:flex;flex-direction:column;justify-content:flex-end}
.kk-auth .city-prev strong{font:700 23px var(--f-display);text-transform:uppercase}
.kk-auth .city-prev span{font-size:10px;color:#c2cbd7}
.kk-auth .city-bonus{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.7;color:#b6c0cc;min-width:0}
.kk-auth .city-bonus>.chip{flex-shrink:0;font-size:9px}
.kk-auth .form .check{display:flex;align-items:flex-start;gap:10px;margin:12px 0 0;font-size:10px;color:#a6b1c0;line-height:1.8;font-weight:400}
.kk-auth .check input{margin:4px 0 0;width:15px;height:15px;flex-shrink:0;accent-color:var(--ka-gold)}
.kk-auth .check a{color:#d9bd86}
.kk-auth .result{margin:16px 0 20px;font-size:12px;border-radius:5px;line-height:1.7}
.kk-auth .result p{margin:5px 0 0}
.ka-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.ka-skip{position:fixed;left:12px;top:-100px;padding:10px 15px;background:var(--ka-gold);color:#15191f;z-index:100}
.ka-skip:focus{top:12px}
@media(max-height:780px) and (min-width:761px){.ka-scene{min-height:590px}.ka-story{padding-top:90px}.kk-auth-register .ka-story h2{font-size:50px}.kk-auth-register .ka-story{padding-top:35px}.ka-story-lede{font-size:12px;margin-block:16px}.ka-story-steps li{padding-block:10px}.ka-scene-bottom{margin-top:16px}.ka-live{padding-block:18px}}
@media(min-width:1450px){.ka-form-panel{padding-inline:70px}}
@media(max-width:1050px){.ka-shell{padding-inline:24px}.ka-main{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.ka-scene{padding:24px;min-height:620px}.ka-scene-top>span:last-child,.ka-scene-bottom>span:last-child{display:none}.ka-story h2{font-size:49px}.ka-story-lede{font-size:13px}.ka-live{gap:9px}.ka-live b{font-size:23px}.ka-live span{font-size:9px}.ka-form-panel{padding:30px 25px 24px}.kk-auth .ka-title{font-size:36px}.kk-auth .reg-two{grid-template-columns:minmax(0,1fr);gap:3px}}
@media(max-width:760px){.ka-shell{padding-inline:18px}.ka-bar{height:90px}.kk-auth .ka-bar .brand-compact{width:84px}.ka-bar nav{gap:15px}.ka-bar nav a{font-size:10px}.ka-bar nav a:last-child{display:none}.ka-main{grid-template-columns:minmax(0,1fr);margin-top:18px}.ka-scene{position:relative;top:0;height:auto;min-height:255px;max-height:none;padding:20px;border-right:0;border-bottom:1px solid var(--ka-line);background-position:65% 43%}.ka-scene-top{font-size:7px;padding-bottom:10px}.ka-story{padding-top:35px}.kk-auth .ka-story h2{font-size:38px;max-width:17ch}.ka-story h2 br{display:none}.ka-story-lede{font-size:11px;margin:12px 0 0;max-width:35ch}.ka-story .ka-eyebrow{font-size:8px;margin-bottom:10px}.ka-live,.ka-story-steps,.ka-scene-bottom{display:none}.ka-form-panel{padding:26px 22px 22px}.ka-tabs{margin-bottom:26px;gap:24px}.ka-tabs a{font-size:12px}.kk-auth .ka-title,.kk-auth .ka-card>h2{font-size:35px}.ka-intro{font-size:12px;margin-bottom:22px}.ka-form-note{font-size:9px;padding-top:24px}.ka-footer .foot{font-size:9px;padding:20px 0;flex-direction:column;align-items:flex-start;gap:12px}.ka-footer .footlinks{gap:14px}.kk-auth .reg-two{grid-template-columns:repeat(2,minmax(0,1fr))}.kk-auth .auth-alt{font-size:11px}.kk-auth .city-bonus{flex-direction:column;gap:5px}}
@media(max-width:380px){.ka-shell{padding-inline:12px}.ka-scene{padding:17px;min-height:235px}.ka-form-panel{padding-inline:17px}.kk-auth .ka-story h2{font-size:34px}.kk-auth .ka-title{font-size:32px}.kk-auth .reg-two{grid-template-columns:minmax(0,1fr)}.kk-auth .auth-alt{align-items:stretch;flex-direction:column}.ka-bar nav .ic{display:none}.kk-auth .form label .muted{display:block}}

@media(max-width:760px){.ka-scene{background-image:linear-gradient(180deg,#0a111c26,#0a111caa 55%,#0a111ce8),var(--ka-scene-small,var(--ka-scene))}.kk-auth-register .ka-story{padding-top:35px}.kk-auth-register .ka-story h2{font-size:38px;max-width:17ch}}
