/* FuntikCloud authentication — single focused card over infrastructure background */
.fcs-auth-shell{
  --fc-bg:#08100f;--fc-surface:rgba(12,19,18,.88);--fc-surface-strong:rgba(10,16,15,.95);
  --fc-border:rgba(153,181,168,.23);--fc-border-strong:rgba(162,202,183,.38);--fc-text:#f4f7f5;--fc-text-2:#c2cec8;--fc-text-3:#8fa099;--fc-green:#3bd58b;
  min-height:100vh;color:var(--fc-text);font-family:var(--fc-font);display:flex;flex-direction:column;position:relative;isolation:isolate;overflow:hidden;
  background:#07100f url('/assets/auth/funtikcloud-login-bg.png') center center/cover no-repeat fixed;
}
.fcs-auth-shell::before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(3,8,8,.93) 0%,rgba(4,10,10,.86) 34%,rgba(4,10,12,.72) 62%,rgba(4,9,12,.66) 100%)}
.fcs-auth-shell::after{content:"";position:fixed;inset:0;z-index:-1;background:radial-gradient(circle at 24% 48%,rgba(36,112,79,.12),transparent 34%),linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.30));pointer-events:none}
.fcs-auth-shell *{box-sizing:border-box}.fcs-auth-shell a{color:inherit;text-decoration:none}.fcs-auth-shell button,.fcs-auth-shell input{font:inherit}
.fcs-skip{position:fixed;left:12px;top:-80px;z-index:1000;padding:9px 12px;border-radius:8px;background:#eef6f2;color:#07100d!important;font-size:12px;font-weight:850}.fcs-skip:focus{top:12px}
.fcs-auth-topbar{height:70px;padding:0 max(24px,calc((100vw - 1220px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(255,255,255,.055);background:linear-gradient(180deg,rgba(5,10,10,.62),rgba(5,10,10,.18));backdrop-filter:blur(8px)}
.fcs-auth-brand{font-size:19px;font-weight:900;letter-spacing:-.035em}.fcs-auth-back{min-height:38px;padding:0 12px;border:1px solid rgba(174,199,188,.18);border-radius:9px;display:inline-flex;align-items:center;color:#c8d3ce!important;background:rgba(12,18,18,.46);font-size:12px;font-weight:800}.fcs-auth-back:hover{border-color:var(--fc-border-strong);background:rgba(20,29,27,.68);color:#fff!important}
.fcs-auth-main{width:min(100% - 48px,1220px);margin:auto;padding:56px 0 70px;display:flex;align-items:center;justify-content:flex-start;outline:none}
.fcs-auth-card{width:min(100%,500px);min-height:560px;padding:38px;border:1px solid var(--fc-border);border-radius:20px;background:linear-gradient(150deg,rgba(18,27,25,.94),rgba(8,14,14,.91));box-shadow:0 30px 90px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.035);backdrop-filter:blur(18px);overflow:hidden;position:relative;display:flex;flex-direction:column}
.fcs-auth-card::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(78,219,151,.55),transparent);opacity:.65}
.fcs-auth-copy{position:relative}.fcs-auth-copy h1{margin:0 0 8px;font-size:clamp(31px,3.6vw,45px);line-height:1.04;letter-spacing:-.045em}.fcs-auth-copy>p{margin:0;color:var(--fc-text-2);font-size:14px;line-height:1.65}.fcs-eyebrow{display:inline-flex;margin-bottom:9px;color:#79b99a;font-size:10px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.fcs-auth-form{display:grid;gap:17px;margin-top:32px}.fcs-auth-form>label{display:grid;gap:7px}.fcs-auth-form>label>span,.fcs-auth-form label>span{font-size:12px;font-weight:820;color:#dce5e0}.fcs-auth-form input{width:100%;height:50px;padding:0 14px;border:1px solid rgba(136,162,151,.25);border-radius:11px;background:rgba(7,13,13,.82);color:#f6f8f7;outline:none}.fcs-auth-form input:hover{border-color:rgba(163,190,179,.36)}.fcs-auth-form input:focus-visible{border-color:#70dcae;box-shadow:0 0 0 3px rgba(59,213,139,.11)}.fcs-auth-form input[aria-invalid="true"]{border-color:#a85c68}.fcs-auth-form label>small{color:#f09aa6;font-size:11px;line-height:1.45}.fcs-auth-password{position:relative}.fcs-auth-password input{padding-right:86px}.fcs-auth-password button{position:absolute;right:6px;top:6px;bottom:6px;padding:0 10px;border:0;border-radius:8px;background:rgba(36,49,46,.78);color:#aebbb5;font-size:11px;font-weight:800;cursor:pointer}.fcs-auth-password button:hover{background:#25332f;color:#fff}
.fcs-auth-row{display:flex;justify-content:space-between;gap:16px;align-items:center}.fcs-auth-row>a,.fcs-auth-card-footer a,.fcs-auth-terms a{color:#8ce0b8!important;font-weight:800}.fcs-auth-check{display:flex!important;grid-template-columns:none!important;align-items:center;gap:8px;cursor:pointer}.fcs-auth-check input{width:17px;height:17px;accent-color:#3bd58b}.fcs-auth-check span{font-size:12px!important;color:var(--fc-text-2)!important;font-weight:700!important}
.fcs-auth-submit{width:100%;min-height:50px;margin-top:2px}.fcs-auth-message{margin-top:22px;padding:12px 14px;border:1px solid #325f4a;border-radius:10px;background:rgba(59,213,139,.07);color:#bcebd2;font-size:12px;line-height:1.55}.fcs-auth-message.is-error{border-color:#7d3e49;background:rgba(183,74,89,.08);color:#ffc3cb}.fcs-auth-card-footer{margin-top:auto;padding-top:28px;color:var(--fc-text-3);font-size:12px}.fcs-auth-terms{margin:0;color:var(--fc-text-3);font-size:11px;line-height:1.6}.fcs-auth-link-button{border:0;background:none;padding:0;color:#9ddfbd!important;font:inherit;font-weight:800;cursor:pointer}.fcs-auth-switch{min-height:42px;border:0;background:transparent;color:#9eddbd;font-size:11px;font-weight:800;cursor:pointer}.fcs-auth-switch:hover{color:#fff}
.fcs-auth-footer{min-height:56px;padding:14px max(24px,calc((100vw - 1220px)/2));border-top:1px solid rgba(255,255,255,.045);display:flex;align-items:center;justify-content:space-between;gap:12px;color:#7f9189;font-size:11px;background:rgba(3,7,7,.20)}.fcs-auth-footer nav{display:flex;gap:16px}.fcs-auth-footer a:hover{color:#fff}

/* Quick authorization lives below the main credentials form. */
.fcs-social-auth{margin-top:26px;display:grid;gap:14px}.fcs-social-divider{display:flex;align-items:center;gap:12px;color:#7f9088;font-size:11px;font-weight:750}.fcs-social-divider:before,.fcs-social-divider:after{content:"";height:1px;flex:1;background:rgba(133,157,147,.18)}.fcs-social-divider span{padding:0 4px;white-space:nowrap}.fcs-social-buttons{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
.fcs-social-btn{min-height:62px!important;padding:0 16px 0 0!important;overflow:hidden;border:1px solid rgba(133,160,148,.24)!important;border-radius:14px!important;background:linear-gradient(180deg,rgba(23,31,30,.90),rgba(12,18,18,.92))!important;color:#f4f7f5!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:0!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.025);transition:border-color .16s ease,background .16s ease,transform .16s ease}
.fcs-social-btn:hover{transform:translateY(-1px);border-color:rgba(123,178,153,.42)!important;background:linear-gradient(180deg,rgba(29,39,36,.98),rgba(16,23,22,.98))!important}.fcs-social-btn:focus-visible{outline:2px solid rgba(78,222,156,.8);outline-offset:3px}.fcs-social-mark{width:64px!important;height:62px!important;flex:0 0 64px!important;border-radius:0!important;border-right:1px solid rgba(113,132,125,.20);background:rgba(255,255,255,.012)!important;display:grid!important;place-items:center!important}.fcs-social-mark img{width:35px;height:35px;display:block}.fcs-social-copy{min-width:0;flex:1;padding:0 16px;display:flex;align-items:baseline;gap:5px;color:#f3f6f5;font-size:14px;font-weight:500;white-space:nowrap}.fcs-social-copy strong{font-size:15px;font-weight:900;letter-spacing:-.02em}.fcs-social-arrow{flex:0 0 auto;color:#d7dfdb;font-size:31px;font-weight:300;line-height:1;transform:translateY(-1px)}
.fcs-auth-name-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fcs-auth-name-grid>label{display:grid;gap:7px}.fcs-auth-name-grid>label>span{font-size:12px;font-weight:820;color:#dce5e0}

/* Login-code challenge */
.fcs-code-channels{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:24px}.fcs-code-channel{min-height:48px;border:1px solid rgba(133,160,148,.24);border-radius:11px;background:rgba(10,16,15,.68);color:#cbd6d1;font-weight:800;cursor:pointer}.fcs-code-channel.is-active{border-color:rgba(72,213,145,.54);background:rgba(48,166,105,.12);color:#a7efc6}.fcs-code-helper{margin:12px 0 0;color:#8ea098;font-size:12px;line-height:1.5;text-align:center}.fcs-code-form{display:grid;gap:12px;margin-top:26px}.fcs-code-input{width:100%;height:58px;border:1px solid rgba(139,166,154,.28);border-radius:12px;background:rgba(6,12,12,.78);color:#eef6f2;outline:none;text-align:center;font:800 24px/1 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.36em;padding-left:.36em}.fcs-code-input:focus{border-color:#70dcae;box-shadow:0 0 0 3px rgba(59,213,139,.11)}.fcs-code-meta{margin-top:18px;color:#778a81;font-size:11px;text-align:center;line-height:1.5}.fcs-code-actions{display:flex;gap:8px;margin-top:10px}.fcs-code-actions>*{flex:1}.fcs-code-error{margin:0;color:#f0a0aa;font-size:12px;text-align:center}

@media(max-width:720px){.fcs-auth-shell{background-position:68% center}.fcs-auth-shell::before{background:rgba(3,8,8,.82)}.fcs-auth-topbar{height:64px;padding:0 16px}.fcs-auth-main{width:calc(100% - 24px);padding:24px 0 34px;justify-content:center}.fcs-auth-card{min-height:0;padding:26px 20px;border-radius:16px}.fcs-auth-copy h1{font-size:32px}.fcs-auth-row{align-items:flex-start;flex-direction:column}.fcs-auth-footer{padding:16px;align-items:flex-start;flex-direction:column}.fcs-social-copy{padding:0 12px;font-size:13px;white-space:normal}.fcs-social-copy strong{font-size:14px}.fcs-code-channels{grid-template-columns:1fr}}
.fcs-code-error-box{margin-top:18px;padding:10px 12px;border:1px solid rgba(185,81,96,.45);border-radius:10px;background:rgba(185,81,96,.08);line-height:1.5}

/* Runtime compatibility layer for the prebuilt auth chunks shipped with this archive. */
html.fc-auth-runtime,
html.fc-auth-runtime body{min-height:100%;background:#07100f!important}
html.fc-auth-runtime body{background:#07100f url('/assets/auth/funtikcloud-login-bg.png') center center/cover no-repeat fixed!important;color:#f4f7f5}
html.fc-auth-runtime body::before{content:"";position:fixed;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(3,8,8,.94) 0%,rgba(4,10,10,.87) 34%,rgba(4,10,12,.73) 62%,rgba(4,9,12,.68) 100%);pointer-events:none}
html.fc-auth-runtime body::after{content:"";position:fixed;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.30));pointer-events:none}
html.fc-auth-runtime .fcs-auth-aside{display:none!important}
html.fc-auth-runtime .fcs-auth-main{grid-template-columns:minmax(0,500px)!important;justify-content:flex-start!important}
html.fc-auth-runtime .fcs-auth-card{width:min(100%,500px)!important}
html.fc-auth-runtime .fcs-auth-copy>.fcs-eyebrow.fc-auth-remove{display:none!important}
html.fc-auth-runtime .fcs-auth-copy>p.fc-auth-remove{display:none!important}

/* The old LoginCodeChallenge chunk used GuestLayout and inline styles. Turn it
   into the same focused authentication surface without requiring a Vite rebuild. */
html.fc-auth-runtime body.fc-auth-code-runtime #app>div{
  min-height:100vh!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;
  padding:70px max(24px,calc((100vw - 1220px)/2))!important;position:relative!important;background:transparent!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime #app>div>div:first-child{display:none!important}
html.fc-auth-runtime body.fc-auth-code-runtime #app>div>div:last-child{
  width:min(100%,500px)!important;max-width:500px!important;margin:0!important;position:relative!important;z-index:1!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime #app>div>div:last-child>div:first-child{
  text-align:left!important;margin:0 0 16px!important;padding:0!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime #app>div>div:last-child>div:first-child p{display:none!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card{
  max-width:none!important;margin:0!important;padding:36px!important;border:1px solid rgba(153,181,168,.23)!important;border-radius:20px!important;
  background:linear-gradient(150deg,rgba(18,27,25,.94),rgba(8,14,14,.91))!important;box-shadow:0 30px 90px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(18px);color:#f4f7f5!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card h1{font-size:32px!important;line-height:1.08!important;letter-spacing:-.035em!important;color:#f4f7f5!important;margin:0 0 10px!important;text-align:left!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card p{color:#aab9b2!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-intro{margin:0 0 24px!important;color:#c2cec8!important;font-size:14px!important;line-height:1.6!important;text-align:left!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card input{background:rgba(7,13,13,.86)!important;color:#fff!important;border-color:rgba(139,166,154,.30)!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button{border-radius:10px!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button:not([style*="transparent"]){background:#26b46e!important;color:#fff!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button:hover{filter:brightness(1.06)}

@media(max-width:720px){
  html.fc-auth-runtime body{background-position:68% center!important}
  html.fc-auth-runtime body.fc-auth-code-runtime #app>div{justify-content:center!important;padding:28px 12px!important}
  html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card{padding:26px 20px!important;border-radius:16px!important}
}

/* Auth v19 — hard compatibility for the old /login/code prebuilt chunk. */
html.fc-auth-runtime body.fc-auth-code-runtime{
  min-height:100vh!important;
  background:#07100f url('/assets/auth/funtikcloud-login-bg.png') center center/cover no-repeat fixed!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime::before{
  z-index:0!important;
  background:linear-gradient(90deg,rgba(3,8,8,.95) 0%,rgba(4,10,10,.89) 38%,rgba(4,10,11,.73) 70%,rgba(4,9,11,.70) 100%)!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime #app{position:relative!important;z-index:1!important;min-height:100vh!important}
.fc-auth-code-runtime-topbar{
  position:fixed;z-index:2147482000;left:0;right:0;top:0;height:70px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 max(24px,calc((100vw - 1220px)/2));
  border-bottom:1px solid rgba(255,255,255,.055);
  background:linear-gradient(180deg,rgba(5,10,10,.76),rgba(5,10,10,.36));
  backdrop-filter:blur(12px);box-sizing:border-box;color:#f4f7f5;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
.fc-auth-code-runtime-topbar a{text-decoration:none!important;color:inherit!important}
.fc-auth-code-runtime-brand{font-size:19px;font-weight:900;letter-spacing:-.035em}
.fc-auth-code-runtime-back{min-height:38px;padding:0 12px;display:inline-flex;align-items:center;border:1px solid rgba(174,199,188,.18);border-radius:9px;background:rgba(12,18,18,.55);color:#c8d3ce!important;font-size:12px;font-weight:800}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-hide{display:none!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-path{
  max-width:none!important;background:transparent!important;background-image:none!important;box-shadow:none!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime #app>.fc-auth-code-path{
  min-height:100vh!important;width:min(100% - 48px,1220px)!important;margin:0 auto!important;padding:112px 0 72px!important;
  display:flex!important;align-items:center!important;justify-content:flex-start!important;box-sizing:border-box!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-runtime-wrap{
  width:min(100%,470px)!important;max-width:470px!important;margin:0!important;padding:0!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card{
  width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:34px 36px!important;
  border:1px solid rgba(153,181,168,.23)!important;border-radius:20px!important;
  background:linear-gradient(150deg,rgba(18,27,25,.95),rgba(8,14,14,.93))!important;
  box-shadow:0 30px 90px rgba(0,0,0,.46),inset 0 1px 0 rgba(255,255,255,.035)!important;
  backdrop-filter:blur(18px)!important;box-sizing:border-box!important;color:#f4f7f5!important;text-align:left!important;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card>div:first-child{display:none!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card h1{
  margin:0 0 8px!important;color:#f4f7f5!important;font-size:34px!important;line-height:1.04!important;letter-spacing:-.045em!important;text-align:left!important;font-weight:800!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-intro{
  display:block!important;margin:0 0 25px!important;color:#b4c1bb!important;font-size:13px!important;line-height:1.6!important;text-align:left!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card p{color:#91a39b!important;text-align:left!important;line-height:1.55!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card input{
  width:100%!important;height:58px!important;padding:0 14px!important;box-sizing:border-box!important;border:1px solid rgba(139,166,154,.30)!important;border-radius:12px!important;
  background:rgba(6,12,12,.82)!important;color:#eef6f2!important;outline:none!important;text-align:center!important;font:800 24px/1 ui-monospace,SFMono-Regular,Consolas,monospace!important;letter-spacing:.34em!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card input:focus{border-color:#70dcae!important;box-shadow:0 0 0 3px rgba(59,213,139,.11)!important}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button{
  min-height:46px!important;border-radius:10px!important;font-family:inherit!important;font-weight:800!important;box-sizing:border-box!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button:not([style*="transparent"]){
  border:1px solid rgba(40,202,120,.5)!important;background:linear-gradient(180deg,#26c77a,#1cad65)!important;color:#04120a!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card button[style*="transparent"]{
  border:1px solid rgba(139,166,154,.22)!important;background:#101717!important;color:#aab8b2!important;
}
html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card>div:last-child{
  margin-top:19px!important;padding-top:14px!important;border-top:1px solid rgba(139,166,154,.14)!important;color:#75877f!important;text-align:left!important;font-size:11px!important;
}
@media(max-width:720px){
  .fc-auth-code-runtime-topbar{height:64px;padding:0 16px}
  html.fc-auth-runtime body.fc-auth-code-runtime #app>.fc-auth-code-path{width:calc(100% - 24px)!important;padding:88px 0 30px!important;justify-content:center!important}
  html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card{padding:27px 21px!important;border-radius:16px!important}
  html.fc-auth-runtime body.fc-auth-code-runtime .fc-auth-code-card h1{font-size:30px!important}
}
