/* Fans254 v13.4.2 — compact authentication and professional animated welcome UI. */
:root{
  --f254-auth-accent:var(--f-blue,#0a84ff);
  --f254-auth-accent-2:#36a3ff;
  --f254-auth-panel:430px;
  --f254-auth-control:46px;
  --f254-auth-radius:12px;
  --f254-auth-ease:cubic-bezier(.22,1,.36,1);
}
html[data-theme="dark"]{
  --f254-auth-accent-2:#5bb8ff;
}
html,body{min-height:100%}
body.f254-auth-modern-page{
  min-height:100dvh;
  margin:0;
  overflow-x:hidden;
  background:var(--f-bg);
  color:var(--f-text);
}
body.f254-auth-modern-page::selection{background:color-mix(in srgb,var(--f254-auth-accent) 24%,transparent)}

/* Layout */
.f254-auth-modern-shell{
  min-height:100dvh;
  display:grid;
  grid-template-columns:minmax(0,1.16fr) minmax(420px,.84fr);
  background:var(--f-bg);
  color:var(--f-text);
}
.f254-auth-modern-hero{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:100dvh;
  padding:clamp(34px,4.7vw,70px);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:30px;
  border-right:1px solid color-mix(in srgb,var(--f-line) 80%,transparent);
  background:
    radial-gradient(circle at 15% 11%,color-mix(in srgb,var(--f254-auth-accent) 16%,transparent),transparent 29%),
    radial-gradient(circle at 83% 79%,color-mix(in srgb,var(--f254-auth-accent) 12%,transparent),transparent 32%),
    linear-gradient(145deg,color-mix(in srgb,var(--f-surface) 96%,var(--f-blue-soft)) 0%,var(--f-bg) 61%,color-mix(in srgb,var(--f-blue-soft) 44%,var(--f-bg)) 100%);
}
html[data-theme="dark"] .f254-auth-modern-hero{
  background:
    radial-gradient(circle at 14% 12%,rgba(28,146,255,.20),transparent 30%),
    radial-gradient(circle at 82% 78%,rgba(28,146,255,.13),transparent 34%),
    linear-gradient(145deg,#05101b 0%,#071521 58%,#071a2a 100%);
}
.f254-auth-modern-hero::before,
.f254-auth-modern-hero::after{
  content:"";
  position:absolute;
  z-index:-1;
  pointer-events:none;
  border:1px solid color-mix(in srgb,var(--f254-auth-accent) 18%,transparent);
  border-radius:50%;
  opacity:.68;
}
.f254-auth-modern-hero::before{width:600px;height:600px;right:-255px;bottom:-255px;animation:f254AuthOrbit 24s linear infinite}
.f254-auth-modern-hero::after{width:365px;height:365px;right:-92px;bottom:-112px;animation:f254AuthOrbit 18s linear infinite reverse}

/* Large desktop brand */
.f254-auth-modern-hero-brand{
  display:inline-flex;
  align-items:center;
  gap:17px;
  width:max-content;
  max-width:100%;
  color:var(--f254-auth-accent);
  font-size:clamp(34px,4.1vw,56px)!important;
  font-weight:900!important;
  line-height:1!important;
  letter-spacing:-.052em!important;
}
.f254-auth-modern-hero-brand .f254-brand-mark{width:clamp(70px,7vw,100px);height:clamp(70px,7vw,100px)}
.f254-auth-modern-hero-copy{position:relative;z-index:2;max-width:680px}
.f254-auth-modern-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:27px;
  padding:0 10px;
  border:1px solid color-mix(in srgb,var(--f254-auth-accent) 26%,var(--f-line));
  border-radius:999px;
  background:color-mix(in srgb,var(--f-blue-soft) 76%,transparent);
  color:var(--f254-auth-accent);
  font-size:10px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase;
}
.f254-auth-modern-eyebrow svg{width:14px;height:14px}
.f254-auth-modern-hero-title{
  max-width:650px;
  margin:16px 0 0;
  font-size:clamp(38px,5vw,68px)!important;
  line-height:1!important;
  letter-spacing:-.058em!important;
  font-weight:900!important;
}
.f254-auth-modern-hero-title strong{color:var(--f254-auth-accent);font-weight:inherit}
.f254-auth-modern-hero-copy>p{
  max-width:590px;
  margin:18px 0 0;
  color:var(--f-muted);
  font-size:clamp(14px,1.2vw,17px)!important;
  line-height:1.62!important;
}

/* Animated desktop visual */
.f254-auth-modern-stage{position:relative;min-height:240px;width:min(680px,100%);display:grid;align-items:end}
.f254-auth-modern-orbit{
  position:absolute;
  left:clamp(10px,5vw,76px);
  bottom:17px;
  width:clamp(160px,18vw,238px);
  aspect-ratio:1;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--f254-auth-accent) 26%,transparent);
  display:grid;
  place-items:center;
  box-shadow:inset 0 0 58px color-mix(in srgb,var(--f254-auth-accent) 9%,transparent),0 28px 80px color-mix(in srgb,var(--f254-auth-accent) 10%,transparent);
}
.f254-auth-modern-orbit::before,.f254-auth-modern-orbit::after{
  content:"";
  position:absolute;
  border-radius:50%;
  border:1px solid color-mix(in srgb,var(--f254-auth-accent) 18%,transparent);
}
.f254-auth-modern-orbit::before{inset:18%;animation:f254AuthPulse 4.8s ease-in-out infinite}
.f254-auth-modern-orbit::after{inset:35%;animation:f254AuthPulse 4.8s ease-in-out 1.2s infinite}
.f254-auth-modern-orbit .f254-brand-mark{width:42%;height:42%;color:var(--f254-auth-accent);filter:drop-shadow(0 12px 28px color-mix(in srgb,var(--f254-auth-accent) 28%,transparent))}
.f254-auth-modern-scene-card{
  position:absolute;
  min-width:178px;
  max-width:230px;
  min-height:66px;
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border:1px solid color-mix(in srgb,var(--f-line-strong) 82%,transparent);
  border-radius:14px;
  background:color-mix(in srgb,var(--f-surface) 88%,transparent);
  box-shadow:0 16px 42px rgba(5,24,45,.10);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  opacity:.48;
  transform:translateY(8px) scale(.97);
  transition:opacity .42s ease,transform .42s var(--f254-auth-ease),border-color .3s ease;
}
html[data-theme="dark"] .f254-auth-modern-scene-card{background:rgba(10,23,36,.78);box-shadow:0 18px 46px rgba(0,0,0,.25)}
.f254-auth-modern-scene-card.is-active{opacity:1;transform:none;border-color:color-mix(in srgb,var(--f254-auth-accent) 48%,var(--f-line))}
.f254-auth-modern-scene-card:nth-child(2){right:6%;top:8%}
.f254-auth-modern-scene-card:nth-child(3){right:0;top:42%}
.f254-auth-modern-scene-card:nth-child(4){right:10%;bottom:2%}
.f254-auth-modern-scene-icon{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:var(--f254-auth-accent);background:var(--f-blue-soft);border:1px solid color-mix(in srgb,var(--f254-auth-accent) 18%,transparent)}
.f254-auth-modern-scene-icon svg{width:19px;height:19px}
.f254-auth-modern-scene-card strong{display:block;font-size:11px!important;line-height:1.3!important}
.f254-auth-modern-scene-card small{display:block;margin-top:3px;color:var(--f-muted);font-size:9px!important;line-height:1.38!important}
.f254-auth-modern-scene-progress{display:flex;gap:7px;align-items:center;margin-top:16px}
.f254-auth-modern-scene-progress button{width:34px;height:3px;padding:0;border:0;border-radius:999px;background:var(--f-line-strong);cursor:pointer;overflow:hidden;position:relative}
.f254-auth-modern-scene-progress button::after{content:"";position:absolute;inset:0;background:var(--f254-auth-accent);transform:scaleX(0);transform-origin:left;transition:transform .32s ease}
.f254-auth-modern-scene-progress button.is-active::after{transform:scaleX(1)}
.f254-auth-modern-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:720px}
.f254-auth-modern-benefit{display:flex;align-items:flex-start;gap:9px;min-width:0;padding-top:12px;border-top:1px solid color-mix(in srgb,var(--f-line-strong) 72%,transparent)}
.f254-auth-modern-benefit>span:first-child{width:29px;height:29px;display:grid;place-items:center;flex:0 0 auto;border-radius:8px;background:var(--f-blue-soft);color:var(--f254-auth-accent)}
.f254-auth-modern-benefit svg{width:16px;height:16px}
.f254-auth-modern-benefit strong{display:block;font-size:10px!important}
.f254-auth-modern-benefit small{display:block;margin-top:2px;color:var(--f-muted);font-size:9px!important;line-height:1.4!important}

/* Form side */
.f254-auth-modern-main{
  position:relative;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:clamp(34px,5vw,70px) clamp(28px,4.8vw,68px);
  background:var(--f-surface);
}
.f254-auth-modern-main::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  opacity:.55;
  background:radial-gradient(circle at 100% 0,color-mix(in srgb,var(--f-blue-soft) 70%,transparent),transparent 34%);
}
.f254-auth-modern-panel{position:relative;z-index:1;width:min(var(--f254-auth-panel),100%)}
.f254-auth-modern-panel.is-wide{--f254-auth-panel:500px}
.f254-auth-modern-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:34px}
.f254-auth-modern-toolbar .f254-brand{font-size:20px!important;gap:9px!important;font-weight:850!important}
.f254-auth-modern-toolbar .f254-brand-mark{width:31px;height:31px}
.f254-auth-modern-theme{width:40px!important;height:40px!important;min-width:40px!important;border-radius:11px!important;background:transparent!important;color:var(--f-text)}
.f254-auth-modern-theme svg{width:19px!important;height:19px!important}
.f254-auth-modern-heading{margin:0;font-size:clamp(30px,3vw,40px)!important;line-height:1.06!important;letter-spacing:-.048em!important;font-weight:900!important}
.f254-auth-modern-heading .f254-icon{display:inline-block;width:20px;height:20px;color:var(--f254-auth-accent);vertical-align:.08em;margin-left:4px}
.f254-auth-modern-copy{margin:9px 0 0;color:var(--f-muted);font-size:13px!important;line-height:1.55!important;max-width:420px}
.f254-auth-modern-copy strong{color:var(--f-text)}
.f254-auth-modern-form{display:grid;gap:13px;margin-top:23px}
.f254-auth-modern-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.f254-auth-modern-wide{grid-column:1/-1}
.f254-auth-modern-page .f254-field{gap:6px!important;min-width:0}
.f254-auth-modern-page .f254-label{font-size:11px!important;line-height:1.3!important;font-weight:780!important;letter-spacing:.002em!important}
.f254-auth-modern-page .f254-input{
  min-height:var(--f254-auth-control)!important;
  height:var(--f254-auth-control)!important;
  border-radius:var(--f254-auth-radius)!important;
  padding:8px 12px!important;
  background:color-mix(in srgb,var(--f-surface) 94%,var(--f-surface-2))!important;
  border:1px solid color-mix(in srgb,var(--f-line-strong) 90%,transparent)!important;
  color:var(--f-text)!important;
  box-shadow:none!important;
  font-size:13px!important;
  line-height:1.2!important;
}
.f254-auth-modern-page .f254-input-wrap .f254-input{padding-left:39px!important;padding-right:41px!important}
.f254-auth-modern-page .f254-input-wrap>svg{left:12px!important;width:17px!important;height:17px!important;color:var(--f-faint)}
.f254-auth-modern-page .f254-input-action{right:5px!important;width:34px!important;height:34px!important;border-radius:8px!important}
.f254-auth-modern-page .f254-input-action:hover{background:var(--f-blue-soft);color:var(--f254-auth-accent)}
.f254-auth-modern-page .f254-input:focus{border-color:var(--f254-auth-accent)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--f254-auth-accent) 13%,transparent)!important;background:var(--f-surface)!important}
.f254-auth-modern-page .f254-input::placeholder{color:var(--f-faint)!important;opacity:1}
.f254-auth-modern-page .f254-help{font-size:9.5px!important;line-height:1.42!important;color:var(--f-faint)!important}
.f254-auth-modern-page .f254-v2-input-state{font-size:9.5px!important;min-height:12px!important;margin-top:2px!important}
.f254-auth-modern-page .f254-v2-password-meter{height:3px!important;margin-top:3px!important}
.f254-auth-modern-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.f254-auth-modern-check{display:inline-flex;align-items:center;gap:7px;color:var(--f-muted);font-size:10.5px!important;line-height:1.4!important;cursor:pointer;min-width:0}
.f254-auth-modern-check input{position:absolute;opacity:0;pointer-events:none}
.f254-auth-modern-check-box{width:17px;height:17px;display:grid;place-items:center;flex:0 0 auto;border:1px solid var(--f-line-strong);border-radius:5px;background:var(--f-surface);transition:.16s ease}
.f254-auth-modern-check-box::after{content:"";width:8px;height:4px;border-left:2px solid #fff;border-bottom:2px solid #fff;transform:rotate(-45deg) scale(0);transition:transform .15s ease}
.f254-auth-modern-check input:checked+.f254-auth-modern-check-box{background:var(--f254-auth-accent);border-color:var(--f254-auth-accent)}
.f254-auth-modern-check input:checked+.f254-auth-modern-check-box::after{transform:rotate(-45deg) scale(1)}
.f254-auth-modern-check input:focus-visible+.f254-auth-modern-check-box{outline:3px solid color-mix(in srgb,var(--f254-auth-accent) 22%,transparent);outline-offset:2px}
.f254-auth-modern-link{color:var(--f254-auth-accent);font-size:10.5px!important;font-weight:800!important;text-decoration:none;white-space:nowrap}
.f254-auth-modern-link:hover{text-decoration:underline}
.f254-auth-modern-page .f254-btn{
  min-height:var(--f254-auth-control)!important;
  height:var(--f254-auth-control)!important;
  border-radius:var(--f254-auth-radius)!important;
  padding:8px 14px!important;
  font-size:12px!important;
  line-height:1!important;
  font-weight:800!important;
  box-shadow:0 10px 24px color-mix(in srgb,var(--f254-auth-accent) 17%,transparent)!important;
  background:linear-gradient(135deg,var(--f254-auth-accent),var(--f254-auth-accent-2))!important;
  color:#fff!important;
}
.f254-auth-modern-page .f254-btn:hover{filter:brightness(1.035);transform:translateY(-1px)}
.f254-auth-modern-page .f254-btn:active{transform:scale(.985)}
.f254-auth-modern-page .f254-btn-secondary{background:var(--f-surface)!important;color:var(--f-text)!important;box-shadow:none!important;border-color:var(--f-line-strong)!important}
.f254-auth-modern-page .f254-btn-ghost{background:transparent!important;color:var(--f254-auth-accent)!important;box-shadow:none!important}
.f254-auth-modern-page .f254-btn svg{width:17px!important;height:17px!important}
.f254-auth-modern-page .f254-auth-divider{margin:14px 0!important;font-size:9.5px!important;gap:10px!important}
.f254-auth-modern-page .f254-google-auth-btn{
  min-height:var(--f254-auth-control)!important;
  height:var(--f254-auth-control)!important;
  border-radius:var(--f254-auth-radius)!important;
  font-size:11.5px!important;
  font-weight:780!important;
  box-shadow:none!important;
  background:var(--f-surface)!important;
}
.f254-auth-modern-page .f254-google-auth-btn:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(9,25,42,.07)!important}
.f254-auth-modern-page .f254-google-auth-note{font-size:8.5px!important;line-height:1.45!important;margin-top:7px!important}
.f254-auth-modern-footer{margin:18px 0 0;text-align:center;color:var(--f-muted);font-size:11px!important;line-height:1.45!important}
.f254-auth-modern-footer a{color:var(--f254-auth-accent);font-weight:800}
.f254-auth-modern-footer a:hover{text-decoration:underline}
.f254-auth-modern-page .f254-alert,.f254-auth-modern-page .f254-v2-info{margin-top:14px!important;border-radius:10px!important;padding:9px 11px!important;font-size:10px!important;line-height:1.45!important}

/* Recovery / verification */
.f254-auth-modern-status{text-align:center}
.f254-auth-modern-status .f254-auth-modern-copy{margin-inline:auto}
.f254-auth-modern-status-icon{width:60px;height:60px;margin:0 auto 16px;border-radius:17px;display:grid;place-items:center;background:var(--f-blue-soft);color:var(--f254-auth-accent);border:1px solid color-mix(in srgb,var(--f254-auth-accent) 18%,transparent)}
.f254-auth-modern-status-icon svg{width:28px;height:28px}
.f254-auth-modern-status-actions{display:grid;gap:9px;max-width:330px;margin:20px auto 0}
.f254-auth-modern-page .f254-v2-loader{font-size:11px!important;justify-content:center;color:var(--f-muted)}
.f254-auth-modern-back{display:inline-flex;align-items:center;gap:6px;color:var(--f254-auth-accent);font-size:10.5px!important;font-weight:800!important;margin-top:17px}
.f254-auth-modern-back svg{width:14px;height:14px}

/* Splash choice */
.f254-auth-modern-choice-list{display:grid;gap:9px;margin-top:22px}
.f254-auth-modern-choice{
  width:100%;
  min-height:68px;
  padding:10px 12px;
  border:1px solid var(--f-line-strong);
  border-radius:13px;
  background:var(--f-surface);
  color:var(--f-text);
  display:grid;
  grid-template-columns:37px minmax(0,1fr) 17px;
  align-items:center;
  gap:10px;
  text-align:left;
  cursor:pointer;
  transition:border-color .18s ease,background .18s ease,transform .18s ease,box-shadow .18s ease;
}
.f254-auth-modern-choice:hover{border-color:color-mix(in srgb,var(--f254-auth-accent) 48%,var(--f-line-strong));background:var(--f-surface-2);transform:translateY(-1px)}
.f254-auth-modern-choice.is-selected{border-color:var(--f254-auth-accent);background:var(--f-blue-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--f254-auth-accent) 9%,transparent)}
.f254-auth-modern-choice-icon{width:37px;height:37px;border-radius:10px;display:grid;place-items:center;background:var(--f-blue-soft);color:var(--f254-auth-accent)}
.f254-auth-modern-choice-icon svg{width:19px;height:19px}
.f254-auth-modern-choice strong{display:block;font-size:11px!important;line-height:1.3!important}
.f254-auth-modern-choice small{display:block;margin-top:3px;color:var(--f-muted);font-size:9px!important;line-height:1.35!important}
.f254-auth-modern-choice>.f254-icon{width:16px;height:16px;color:var(--f-faint)}
.f254-auth-modern-choice.is-selected>.f254-icon{color:var(--f254-auth-accent)}
.f254-auth-modern-choice-actions{display:grid;gap:9px;margin-top:14px}
.f254-auth-modern-choice-note{margin:12px 0 0;text-align:center;color:var(--f-faint);font-size:8.5px!important;line-height:1.5!important}

/* Entrance animation */
.f254-auth-modern-shell.is-ready .f254-auth-modern-hero-brand,
.f254-auth-modern-shell.is-ready .f254-auth-modern-eyebrow,
.f254-auth-modern-shell.is-ready .f254-auth-modern-hero-title,
.f254-auth-modern-shell.is-ready .f254-auth-modern-hero-copy>p,
.f254-auth-modern-shell.is-ready .f254-auth-modern-stage,
.f254-auth-modern-shell.is-ready .f254-auth-modern-benefits,
.f254-auth-modern-shell.is-ready .f254-auth-modern-panel>*{
  animation:f254AuthEnter .50s var(--f254-auth-ease) both;
}
.f254-auth-modern-shell.is-ready .f254-auth-modern-hero-title{animation-delay:.04s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-hero-copy>p{animation-delay:.08s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-stage{animation-delay:.12s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-benefits{animation-delay:.16s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-panel>*:nth-child(2){animation-delay:.03s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-panel>*:nth-child(3){animation-delay:.06s}
.f254-auth-modern-shell.is-ready .f254-auth-modern-panel>*:nth-child(n+4){animation-delay:.09s}
@keyframes f254AuthEnter{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes f254AuthOrbit{to{transform:rotate(360deg)}}
@keyframes f254AuthPulse{0%,100%{transform:scale(.94);opacity:.43}50%{transform:scale(1.04);opacity:1}}

/* Tablet: retain a modern split layout, but reduce decorative density. */
@media(max-width:1100px) and (min-width:761px){
  .f254-auth-modern-shell{grid-template-columns:minmax(300px,.82fr) minmax(430px,1.18fr)}
  .f254-auth-modern-hero{padding:36px 30px}
  .f254-auth-modern-hero-brand{font-size:32px!important;gap:12px}.f254-auth-modern-hero-brand .f254-brand-mark{width:60px;height:60px}
  .f254-auth-modern-hero-title{font-size:clamp(34px,4.2vw,48px)!important}
  .f254-auth-modern-hero-copy>p{font-size:13px!important}
  .f254-auth-modern-stage{min-height:195px}
  .f254-auth-modern-orbit{left:0;width:150px}
  .f254-auth-modern-scene-card{min-width:145px;max-width:174px;padding:8px 9px;grid-template-columns:31px 1fr}
  .f254-auth-modern-scene-icon{width:31px;height:31px}.f254-auth-modern-scene-icon svg{width:16px;height:16px}
  .f254-auth-modern-scene-card:nth-child(2){right:0}.f254-auth-modern-scene-card:nth-child(3){right:-8px}.f254-auth-modern-scene-card:nth-child(4){right:1%}
  .f254-auth-modern-benefits{grid-template-columns:1fr;gap:7px}.f254-auth-modern-benefit{padding-top:7px}.f254-auth-modern-benefit small{display:none}
  .f254-auth-modern-main{padding:38px 34px}
  .f254-auth-modern-panel.is-wide{--f254-auth-panel:490px}
}

/* Mobile: no duplicated hero block. A compact app-like authentication screen. */
@media(max-width:760px){
  :root{--f254-auth-control:44px;--f254-auth-radius:11px;--f254-auth-panel:420px}
  body.f254-auth-modern-page{background:var(--f-surface)}
  .f254-auth-modern-shell{display:block;min-height:100dvh;background:var(--f-surface)}
  .f254-auth-modern-hero{display:none!important}
  .f254-auth-modern-main{
    min-height:100dvh;
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:calc(22px + env(safe-area-inset-top)) 20px calc(28px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 100% 0,color-mix(in srgb,var(--f-blue-soft) 70%,transparent),transparent 30%),
      var(--f-surface);
  }
  html[data-theme="dark"] .f254-auth-modern-main{
    background:
      radial-gradient(circle at 100% 0,rgba(24,147,255,.12),transparent 32%),
      linear-gradient(180deg,#07121e 0%,var(--f-surface) 34%,var(--f-surface) 100%);
  }
  .f254-auth-modern-main::before{display:none}
  .f254-auth-modern-panel,.f254-auth-modern-panel.is-wide{width:100%;max-width:420px;margin:0 auto;--f254-auth-panel:420px}
  .f254-auth-modern-toolbar{position:static;display:flex;margin:0 0 34px;min-height:42px}
  .f254-auth-modern-toolbar .f254-brand{display:inline-flex!important;font-size:21px!important;gap:9px!important}
  .f254-auth-modern-toolbar .f254-brand-mark{width:34px;height:34px}
  .f254-auth-modern-theme{position:static!important;width:38px!important;height:38px!important;min-width:38px!important;background:color-mix(in srgb,var(--f-surface) 90%,transparent)!important;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
  .f254-auth-modern-heading{font-size:29px!important;line-height:1.06!important;letter-spacing:-.045em!important}
  .f254-auth-modern-heading .f254-icon{width:18px;height:18px}
  .f254-auth-modern-copy{font-size:12px!important;line-height:1.48!important;margin-top:7px}
  .f254-auth-modern-form{gap:11px;margin-top:21px}
  .f254-auth-modern-grid{grid-template-columns:1fr;gap:11px}
  .f254-auth-modern-wide{grid-column:auto}
  .f254-auth-modern-page .f254-label{font-size:10.5px!important}
  .f254-auth-modern-page .f254-input{font-size:13px!important;border-radius:11px!important}
  .f254-auth-modern-page .f254-help{font-size:9px!important}
  .f254-auth-modern-row{gap:8px}
  .f254-auth-modern-check,.f254-auth-modern-link{font-size:10px!important}
  .f254-auth-modern-page .f254-btn,.f254-auth-modern-page .f254-google-auth-btn{font-size:11.5px!important;border-radius:11px!important}
  .f254-auth-modern-footer{font-size:10.5px!important;margin-top:17px}
  .f254-auth-modern-page .f254-auth-divider{margin:13px 0!important}
  .f254-auth-modern-page .f254-google-auth-note{font-size:8px!important}
  .f254-auth-modern-status{padding-top:4px}
  .f254-auth-modern-choice-list{margin-top:20px}.f254-auth-modern-choice{min-height:64px;border-radius:11px;padding:9px 10px}
  .f254-auth-modern-choice-actions{margin-top:13px}

  /* Registration needs scrolling, but remains dense and correctly aligned. */
  .f254-auth-register-page .f254-auth-modern-toolbar{margin-bottom:25px}
  .f254-auth-register-page .f254-auth-modern-heading{font-size:28px!important}
  .f254-auth-register-page .f254-auth-modern-form{margin-top:18px}
  .f254-auth-register-page .f254-auth-modern-footer{padding-bottom:4px}
}
@media(max-width:390px){
  .f254-auth-modern-main{padding-left:16px;padding-right:16px}
  .f254-auth-modern-toolbar{margin-bottom:29px}
  .f254-auth-modern-heading{font-size:27px!important}
  .f254-auth-modern-page .f254-input{font-size:12.5px!important}
}
@media(max-height:760px) and (min-width:761px){
  .f254-auth-modern-hero,.f254-auth-modern-main{padding-top:26px;padding-bottom:26px}
  .f254-auth-modern-stage{min-height:168px}.f254-auth-modern-orbit{width:140px}.f254-auth-modern-benefits{display:none}
  .f254-auth-modern-toolbar{margin-bottom:22px}.f254-auth-modern-form{margin-top:18px}
}
@media(prefers-reduced-motion:reduce){
  .f254-auth-modern-shell,.f254-auth-modern-shell *{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

/* Fans254 v13.4.2 — professional responsive welcome landing page. */
.f254-auth-welcome-page{
  --f254-welcome-blue:var(--f-blue,#0a84ff);
  --f254-welcome-blue-2:#238fff;
  --f254-welcome-ink:var(--f-text,#0f1722);
  --f254-welcome-muted:var(--f-muted,#647083);
  --f254-welcome-surface:var(--f-surface,#fff);
  --f254-welcome-line:color-mix(in srgb,var(--f-line-strong,#d8e0e8) 86%,transparent);
  background:
    radial-gradient(circle at 10% 12%,color-mix(in srgb,var(--f254-welcome-blue) 8%,transparent),transparent 31%),
    radial-gradient(circle at 86% 76%,color-mix(in srgb,var(--f254-welcome-blue) 7%,transparent),transparent 32%),
    var(--f-bg,#fff);
}
html[data-theme="dark"] .f254-auth-welcome-page{
  background:
    radial-gradient(circle at 9% 9%,rgba(28,145,255,.13),transparent 32%),
    radial-gradient(circle at 88% 80%,rgba(28,145,255,.09),transparent 34%),
    var(--f-bg,#07100d);
}
.f254-welcome-shell{
  min-height:100dvh;
  width:100%;
  max-width:1600px;
  margin:0 auto;
  padding:clamp(24px,3vw,48px) clamp(24px,4.5vw,72px) clamp(34px,4vw,64px);
  position:relative;
  overflow:hidden;
}
.f254-welcome-shell::before,
.f254-welcome-shell::after{
  content:"";
  position:absolute;
  pointer-events:none;
  border:1px solid color-mix(in srgb,var(--f254-welcome-blue) 14%,transparent);
  border-radius:50%;
  opacity:.72;
}
.f254-welcome-shell::before{width:620px;height:620px;left:-410px;bottom:-430px}
.f254-welcome-shell::after{width:520px;height:520px;right:-350px;top:-320px}
.f254-welcome-header{
  position:relative;
  z-index:5;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  min-height:52px;
}
.f254-welcome-brand{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:var(--f254-welcome-blue);
  font-size:clamp(22px,2.2vw,32px)!important;
  line-height:1!important;
  font-weight:900!important;
  letter-spacing:-.045em!important;
}
.f254-welcome-brand .f254-brand-mark{width:42px;height:42px;flex:0 0 auto}
.f254-welcome-theme{
  width:42px;
  height:42px;
  min-width:42px;
  border:1px solid var(--f254-welcome-line);
  border-radius:12px;
  display:grid;
  place-items:center;
  background:color-mix(in srgb,var(--f254-welcome-surface) 92%,transparent);
  color:var(--f254-welcome-ink);
  box-shadow:0 8px 24px rgba(10,35,62,.05);
  cursor:pointer;
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.f254-welcome-theme:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--f254-welcome-blue) 46%,var(--f254-welcome-line))}
.f254-welcome-theme:active{transform:scale(.96)}
.f254-welcome-theme svg{width:19px;height:19px}
.f254-welcome-layout{
  position:relative;
  z-index:2;
  min-height:calc(100dvh - 150px);
  display:grid;
  grid-template-columns:minmax(0,1.32fr) minmax(360px,.68fr);
  align-items:center;
  gap:clamp(42px,6vw,100px);
  padding:clamp(36px,5.5vw,86px) 0 clamp(10px,2vw,30px);
}
.f254-welcome-hero{
  min-width:0;
  display:grid;
  grid-template-columns:minmax(330px,.9fr) minmax(290px,.72fr);
  grid-template-areas:
    "copy visual"
    "features visual";
  align-items:center;
  gap:22px clamp(24px,3.5vw,58px);
}
.f254-welcome-copy{grid-area:copy;max-width:690px}
.f254-welcome-kicker{
  margin:0 0 15px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--f254-welcome-blue);
  font-size:11px!important;
  font-weight:850!important;
  letter-spacing:.08em!important;
  text-transform:uppercase;
}
.f254-welcome-kicker span{width:26px;height:3px;border-radius:999px;background:var(--f254-welcome-blue)}
.f254-welcome-copy h1{
  margin:0;
  max-width:660px;
  color:var(--f254-welcome-ink);
  font-size:clamp(48px,5.7vw,82px)!important;
  line-height:.98!important;
  letter-spacing:-.065em!important;
  font-weight:900!important;
  text-wrap:balance;
}
.f254-welcome-copy h1 strong{color:var(--f254-welcome-blue);font-weight:inherit}
.f254-welcome-copy h1>.f254-icon{width:.44em;height:.44em;color:var(--f254-welcome-blue);vertical-align:.1em;margin-left:.08em}
.f254-welcome-lead{
  max-width:590px;
  margin:22px 0 0;
  color:var(--f254-welcome-muted);
  font-size:clamp(15px,1.25vw,18px)!important;
  line-height:1.62!important;
}
.f254-welcome-feature-list{
  grid-area:features;
  display:grid;
  gap:16px;
  max-width:570px;
  margin-top:4px;
}
.f254-welcome-feature{
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  align-items:start;
  gap:13px;
  min-width:0;
  opacity:0;
  transform:translateY(10px);
}
.f254-welcome-shell.is-ready .f254-welcome-feature{animation:f254WelcomeReveal .52s cubic-bezier(.22,1,.36,1) forwards}
.f254-welcome-shell.is-ready .f254-welcome-feature:nth-child(2){animation-delay:.08s}
.f254-welcome-shell.is-ready .f254-welcome-feature:nth-child(3){animation-delay:.16s}
.f254-welcome-feature-icon{
  width:40px;
  height:40px;
  border-radius:12px;
  display:grid;
  place-items:center;
  color:var(--f254-welcome-blue);
  background:color-mix(in srgb,var(--f254-welcome-blue) 9%,var(--f254-welcome-surface));
  border:1px solid color-mix(in srgb,var(--f254-welcome-blue) 17%,transparent);
}
.f254-welcome-feature-icon svg{width:20px;height:20px}
.f254-welcome-feature strong{display:block;font-size:13px!important;line-height:1.35!important;font-weight:850!important;color:var(--f254-welcome-ink)}
.f254-welcome-feature small{display:block;margin-top:3px;color:var(--f254-welcome-muted);font-size:11px!important;line-height:1.45!important}

/* Floating media illustration */
.f254-welcome-visual{
  grid-area:visual;
  position:relative;
  width:min(390px,100%);
  aspect-ratio:1/1.06;
  justify-self:center;
  isolation:isolate;
}
.f254-welcome-orbit{
  position:absolute;
  inset:15% 4% 14% 3%;
  border:1.5px solid color-mix(in srgb,var(--f254-welcome-blue) 28%,transparent);
  border-radius:50%;
  transform:rotate(-12deg);
  opacity:.88;
}
.f254-welcome-orbit::before{
  content:"";
  position:absolute;
  inset:15%;
  border:1px solid color-mix(in srgb,var(--f254-welcome-blue) 12%,transparent);
  border-radius:50%;
}
.f254-welcome-orbit i{position:absolute;width:10px;height:10px;border-radius:50%;background:var(--f254-welcome-blue);box-shadow:0 0 0 7px color-mix(in srgb,var(--f254-welcome-blue) 9%,transparent)}
.f254-welcome-orbit i:nth-child(1){right:3%;top:43%;animation:f254WelcomePulse 3.4s ease-in-out infinite}
.f254-welcome-orbit i:nth-child(2){left:11%;bottom:7%;width:7px;height:7px;animation:f254WelcomePulse 3.4s ease-in-out .8s infinite}
.f254-welcome-orbit i:nth-child(3){left:3%;top:32%;width:6px;height:6px;animation:f254WelcomePulse 3.4s ease-in-out 1.4s infinite}
.f254-welcome-media-card{
  position:absolute;
  border:1px solid color-mix(in srgb,var(--f-line-strong) 70%,transparent);
  border-radius:17px;
  background:color-mix(in srgb,var(--f254-welcome-surface) 92%,transparent);
  box-shadow:0 22px 55px rgba(9,36,65,.11);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}
html[data-theme="dark"] .f254-welcome-media-card{background:rgba(11,25,40,.88);box-shadow:0 22px 55px rgba(0,0,0,.28)}
.f254-welcome-post-card{
  width:47%;
  left:12%;
  top:4%;
  padding:12px;
  transform:rotate(6deg);
  animation:f254WelcomeFloatA 6.2s ease-in-out infinite;
}
.f254-welcome-card-head{height:28px;display:flex;align-items:center;gap:8px}
.f254-welcome-avatar{width:24px;height:24px;border-radius:50%;background:linear-gradient(145deg,#4aa7ff,#005ddd);box-shadow:inset 0 0 0 5px rgba(255,255,255,.34)}
.f254-welcome-card-head>span:last-child{display:grid;gap:4px;flex:1}
.f254-welcome-card-head b{display:block;height:4px;border-radius:999px;background:var(--f-line-strong)}
.f254-welcome-card-head b:first-child{width:64%}.f254-welcome-card-head b:last-child{width:39%;opacity:.65}
.f254-welcome-photo{position:relative;overflow:hidden;height:112px;margin-top:8px;border-radius:11px;background:linear-gradient(155deg,#b8dcff 0%,#e6f3ff 43%,#8cb8e4 44%,#3f6f9f 70%,#244f77 100%)}
.f254-welcome-photo::before,.f254-welcome-photo::after{content:"";position:absolute;bottom:-12%;width:78%;height:76%;background:#5e8eb9;clip-path:polygon(0 100%,45% 20%,65% 55%,82% 32%,100% 100%)}
.f254-welcome-photo::before{left:-14%;background:#7ca7cb}.f254-welcome-photo::after{right:-13%;transform:scaleX(-1);background:#416d94}
.f254-welcome-photo span{position:absolute;width:24px;height:24px;border-radius:50%;right:13px;top:12px;background:rgba(255,255,255,.82)}
.f254-welcome-card-lines{display:grid;gap:5px;margin-top:9px}.f254-welcome-card-lines i{height:4px;border-radius:999px;background:var(--f-line-strong)}.f254-welcome-card-lines i:last-child{width:65%;opacity:.65}
.f254-welcome-video-card{
  width:58%;
  right:5%;
  top:39%;
  padding:12px;
  transform:rotate(-6deg);
  animation:f254WelcomeFloatB 6.8s ease-in-out infinite;
}
.f254-welcome-video-surface{height:124px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(145deg,color-mix(in srgb,var(--f254-welcome-blue) 6%,var(--f254-welcome-surface)),color-mix(in srgb,var(--f254-welcome-blue) 16%,var(--f254-welcome-surface)))}
.f254-welcome-video-surface span{width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--f254-welcome-blue),var(--f254-welcome-blue-2));color:#fff;box-shadow:0 13px 30px color-mix(in srgb,var(--f254-welcome-blue) 27%,transparent)}
.f254-welcome-video-surface svg{width:24px;height:24px;margin-left:2px}
.f254-welcome-video-progress{height:5px;margin:11px 4px 1px;border-radius:999px;background:var(--f-line-strong);overflow:hidden}
.f254-welcome-video-progress i{display:block;width:35%;height:100%;border-radius:inherit;background:var(--f254-welcome-blue);animation:f254WelcomeProgress 4.8s ease-in-out infinite}
.f254-welcome-reactions{
  position:absolute;
  left:27%;
  bottom:5%;
  min-width:146px;
  height:48px;
  padding:0 17px;
  border:1px solid color-mix(in srgb,var(--f-line-strong) 70%,transparent);
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  background:color-mix(in srgb,var(--f254-welcome-surface) 93%,transparent);
  box-shadow:0 17px 42px rgba(9,36,65,.11);
  transform:rotate(4deg);
  animation:f254WelcomeFloatC 5.9s ease-in-out infinite;
}
html[data-theme="dark"] .f254-welcome-reactions{background:rgba(11,25,40,.9)}
.f254-welcome-reactions span{display:grid;place-items:center;color:var(--f254-welcome-blue)}
.f254-welcome-reactions .is-like{color:#ff4657}.f254-welcome-reactions .is-share{color:#25b978}
.f254-welcome-reactions svg{width:20px;height:20px}
.f254-welcome-spark{position:absolute;color:var(--f254-welcome-blue);opacity:.32;animation:f254WelcomeSpark 3.6s ease-in-out infinite}
.f254-welcome-spark svg{width:25px;height:25px}.f254-welcome-spark.is-one{right:1%;top:11%}.f254-welcome-spark.is-two{left:3%;top:59%;animation-delay:1.1s}

.f254-welcome-card{
  width:min(470px,100%);
  justify-self:end;
  padding:clamp(34px,3.4vw,52px);
  border:1px solid var(--f254-welcome-line);
  border-radius:22px;
  background:color-mix(in srgb,var(--f254-welcome-surface) 94%,transparent);
  box-shadow:0 22px 68px rgba(9,36,65,.09);
  text-align:center;
  backdrop-filter:blur(20px);
  -webkit-backdrop-filter:blur(20px);
  opacity:0;
  transform:translateY(14px);
}
html[data-theme="dark"] .f254-welcome-card{background:rgba(8,20,33,.88);box-shadow:0 24px 70px rgba(0,0,0,.26)}
.f254-welcome-shell.is-ready .f254-welcome-card{animation:f254WelcomeReveal .56s cubic-bezier(.22,1,.36,1) .08s forwards}
.f254-welcome-card-logo{width:72px;height:72px;margin:0 auto 22px;color:var(--f254-welcome-blue);animation:f254WelcomeLogo 6s ease-in-out infinite}
.f254-welcome-card-logo svg{width:100%;height:100%}
.f254-welcome-card h2{margin:0;color:var(--f254-welcome-ink);font-size:clamp(27px,2.5vw,36px)!important;line-height:1.08!important;letter-spacing:-.045em!important;font-weight:900!important}
.f254-welcome-card h2>.f254-icon{width:20px;height:20px;color:var(--f254-welcome-blue);vertical-align:.12em;margin-left:4px}
.f254-welcome-card>p:not(.f254-welcome-legal){max-width:360px;margin:17px auto 0;color:var(--f254-welcome-muted);font-size:13px!important;line-height:1.68!important}
.f254-welcome-actions{display:grid;gap:11px;margin-top:32px}
.f254-auth-welcome-page .f254-welcome-actions .f254-btn{
  min-height:50px!important;
  height:50px!important;
  border-radius:13px!important;
  font-size:13px!important;
  font-weight:850!important;
  padding:0 18px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease!important;
}
.f254-auth-welcome-page .f254-welcome-actions .f254-btn:hover{transform:translateY(-2px)}
.f254-auth-welcome-page .f254-welcome-primary{border-color:transparent!important;background:linear-gradient(135deg,var(--f254-welcome-blue),var(--f254-welcome-blue-2))!important;color:#fff!important;box-shadow:0 14px 34px color-mix(in srgb,var(--f254-welcome-blue) 20%,transparent)!important}
.f254-auth-welcome-page .f254-welcome-primary svg{width:17px;height:17px;transition:transform .2s ease}
.f254-auth-welcome-page .f254-welcome-primary:hover svg{transform:translateX(3px)}
.f254-auth-welcome-page .f254-welcome-secondary{border:1px solid color-mix(in srgb,var(--f254-welcome-blue) 62%,var(--f254-welcome-line))!important;background:transparent!important;color:var(--f254-welcome-blue)!important;box-shadow:none!important}
.f254-welcome-legal{margin:20px auto 0!important;color:var(--f254-welcome-muted)!important;font-size:10px!important;line-height:1.55!important}
.f254-welcome-legal a{color:var(--f254-welcome-blue);font-weight:700}

/* Tablet */
@media(max-width:1120px) and (min-width:761px){
  .f254-welcome-shell{padding:28px 32px 40px}
  .f254-welcome-layout{grid-template-columns:minmax(0,1.05fr) minmax(330px,.95fr);gap:34px;padding-top:44px;align-items:center}
  .f254-welcome-hero{grid-template-columns:1fr;grid-template-areas:"copy" "features" "visual";gap:20px}
  .f254-welcome-copy h1{font-size:clamp(46px,6vw,62px)!important;max-width:570px}
  .f254-welcome-lead{font-size:15px!important;max-width:520px}
  .f254-welcome-feature-list{gap:12px}
  .f254-welcome-feature small{font-size:10px!important}
  .f254-welcome-visual{width:min(330px,92%);height:250px;aspect-ratio:auto;margin-top:-2px;justify-self:start}
  .f254-welcome-orbit{inset:4% 0 2% 1%}
  .f254-welcome-post-card{width:44%;left:9%;top:0;padding:9px}.f254-welcome-photo{height:78px}
  .f254-welcome-video-card{width:53%;right:3%;top:27%;padding:9px}.f254-welcome-video-surface{height:88px}
  .f254-welcome-reactions{left:26%;bottom:0;height:40px;min-width:125px;padding:0 13px}.f254-welcome-reactions svg{width:17px;height:17px}
  .f254-welcome-card{padding:34px 28px;border-radius:20px}
  .f254-welcome-card-logo{width:60px;height:60px;margin-bottom:18px}
  .f254-welcome-card h2{font-size:29px!important}
}

/* Mobile */
@media(max-width:760px){
  .f254-welcome-shell{padding:18px 20px 26px;overflow:visible}
  .f254-welcome-shell::before{width:390px;height:390px;left:-300px;bottom:-260px}
  .f254-welcome-shell::after{width:310px;height:310px;right:-225px;top:-205px}
  .f254-welcome-header{min-height:46px}
  .f254-welcome-brand{font-size:23px!important;gap:9px}.f254-welcome-brand .f254-brand-mark{width:35px;height:35px}
  .f254-welcome-theme{width:38px;height:38px;min-width:38px;border-radius:11px}.f254-welcome-theme svg{width:18px;height:18px}
  .f254-welcome-layout{min-height:auto;display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:34px 0 0}
  .f254-welcome-hero{display:contents}
  .f254-welcome-copy{order:1}
  .f254-welcome-kicker{display:none}
  .f254-welcome-copy h1{font-size:clamp(39px,11.7vw,50px)!important;line-height:.99!important;letter-spacing:-.06em!important;max-width:100%}
  .f254-welcome-copy h1>.f254-icon{width:.42em;height:.42em}
  .f254-welcome-lead{font-size:14px!important;line-height:1.58!important;margin-top:16px;max-width:96%}
  .f254-welcome-visual{order:2;width:min(390px,100%);height:250px;aspect-ratio:auto;margin:0 auto}
  .f254-welcome-orbit{inset:5% 2% 2% 2%}
  .f254-welcome-post-card{width:43%;left:8%;top:0;padding:9px;border-radius:14px}.f254-welcome-photo{height:81px;border-radius:9px}.f254-welcome-card-head{height:22px}.f254-welcome-avatar{width:20px;height:20px}
  .f254-welcome-video-card{width:54%;right:3%;top:29%;padding:9px;border-radius:14px}.f254-welcome-video-surface{height:91px;border-radius:9px}.f254-welcome-video-surface span{width:45px;height:45px}.f254-welcome-video-surface svg{width:20px;height:20px}
  .f254-welcome-reactions{left:27%;bottom:0;height:40px;min-width:128px;padding:0 14px;border-radius:12px}.f254-welcome-reactions svg{width:17px;height:17px}
  .f254-welcome-feature-list{order:3;gap:14px;margin:0}
  .f254-welcome-feature{grid-template-columns:36px minmax(0,1fr);gap:11px}.f254-welcome-feature-icon{width:36px;height:36px;border-radius:10px}.f254-welcome-feature-icon svg{width:18px;height:18px}
  .f254-welcome-feature strong{font-size:12px!important}.f254-welcome-feature small{font-size:10px!important;line-height:1.42!important;margin-top:2px}
  .f254-welcome-card{order:4;width:100%;padding:0;border:0;border-radius:0;background:transparent!important;box-shadow:none!important;backdrop-filter:none;-webkit-backdrop-filter:none;text-align:left}
  .f254-welcome-card-logo,.f254-welcome-card h2,.f254-welcome-card>p:not(.f254-welcome-legal){display:none}
  .f254-welcome-actions{margin-top:0;gap:9px}
  .f254-auth-welcome-page .f254-welcome-actions .f254-btn{min-height:48px!important;height:48px!important;border-radius:12px!important;font-size:12.5px!important}
  .f254-welcome-legal{text-align:center;margin-top:16px!important;font-size:9.5px!important;padding:0 10px}
}

@media(max-width:390px){
  .f254-welcome-shell{padding-inline:17px}
  .f254-welcome-layout{padding-top:28px;gap:21px}
  .f254-welcome-copy h1{font-size:38px!important}
  .f254-welcome-visual{height:224px}
  .f254-welcome-photo{height:70px}.f254-welcome-video-surface{height:79px}
  .f254-welcome-feature-list{gap:12px}
}

@media(prefers-reduced-motion:reduce){
  .f254-welcome-post-card,.f254-welcome-video-card,.f254-welcome-reactions,.f254-welcome-card-logo,.f254-welcome-spark,.f254-welcome-orbit i,.f254-welcome-video-progress i{animation:none!important}
  .f254-welcome-feature,.f254-welcome-card{opacity:1!important;transform:none!important;animation:none!important}
}

@keyframes f254WelcomeReveal{to{opacity:1;transform:none}}
@keyframes f254WelcomeFloatA{0%,100%{transform:rotate(6deg) translateY(0)}50%{transform:rotate(4deg) translateY(-11px)}}
@keyframes f254WelcomeFloatB{0%,100%{transform:rotate(-6deg) translateY(0)}50%{transform:rotate(-4deg) translateY(10px)}}
@keyframes f254WelcomeFloatC{0%,100%{transform:rotate(4deg) translateY(0)}50%{transform:rotate(2deg) translateY(-8px)}}
@keyframes f254WelcomePulse{0%,100%{transform:scale(.78);opacity:.45}50%{transform:scale(1.12);opacity:1}}
@keyframes f254WelcomeProgress{0%{width:12%}50%{width:72%}100%{width:34%}}
@keyframes f254WelcomeSpark{0%,100%{transform:scale(.82) rotate(-8deg);opacity:.2}50%{transform:scale(1.18) rotate(8deg);opacity:.55}}
@keyframes f254WelcomeLogo{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-5px) rotate(2deg)}}
.f254-welcome-visual{transition:transform .35s cubic-bezier(.22,1,.36,1);will-change:transform}
.f254-welcome-header,.f254-welcome-copy,.f254-welcome-visual{opacity:0;transform:translateY(12px)}
.f254-welcome-shell.is-ready .f254-welcome-header{animation:f254WelcomeReveal .48s cubic-bezier(.22,1,.36,1) forwards}
.f254-welcome-shell.is-ready .f254-welcome-copy{animation:f254WelcomeReveal .54s cubic-bezier(.22,1,.36,1) .04s forwards}
.f254-welcome-shell.is-ready .f254-welcome-visual{animation:f254WelcomeReveal .58s cubic-bezier(.22,1,.36,1) .11s forwards}
@media(prefers-reduced-motion:reduce){.f254-welcome-header,.f254-welcome-copy,.f254-welcome-visual{opacity:1!important;transform:none!important;animation:none!important}}
.f254-welcome-visual.is-entered{opacity:1;animation:none!important}


/* Fans254 v13.5.0 — authoritative responsive welcome and compact auth layout. */
html,body{background:var(--f-surface,var(--f-bg,#fff))!important}
body.f254-auth-modern-page{min-height:100svh!important;background:var(--f-surface,var(--f-bg,#fff))!important}
body.f254-auth-modern-page .f254-auth-modern-shell{background:var(--f-surface,var(--f-bg,#fff))!important}

@media(max-width:767px){
  html,body{min-height:100%!important;background:var(--f-surface,var(--f-bg,#fff))!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page){
    min-height:100svh!important;
    margin:0!important;
    overflow-x:hidden!important;
    background:var(--f-surface,var(--f-bg,#fff))!important;
  }
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-shell{
    display:block!important;
    min-height:100svh!important;
    height:auto!important;
    background:var(--f-surface,var(--f-bg,#fff))!important;
  }
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-hero{display:none!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-main{
    display:block!important;
    min-height:100svh!important;
    height:auto!important;
    box-sizing:border-box!important;
    padding:calc(18px + env(safe-area-inset-top)) 18px max(16px,env(safe-area-inset-bottom))!important;
    background:var(--f-surface,var(--f-bg,#fff))!important;
  }
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-main::before{display:none!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-panel,
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-panel.is-wide{
    width:100%!important;
    max-width:430px!important;
    margin:0 auto!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-toolbar{margin:0 0 22px!important;min-height:40px!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-heading{font-size:28px!important;line-height:1.08!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-copy{font-size:12px!important;line-height:1.5!important;margin-top:7px!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-form{margin-top:19px!important;gap:11px!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-grid{grid-template-columns:1fr!important;gap:11px!important}
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-input,
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-btn,
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-google-auth-btn{
    min-height:44px!important;
    height:44px!important;
    border-radius:11px!important;
  }
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-auth-modern-footer,
  body.f254-auth-modern-page:not(.f254-auth-welcome-page) .f254-google-auth-note{margin-bottom:0!important;padding-bottom:0!important}
}

body.f254-auth-welcome-page{
  min-height:100svh!important;
  overflow-x:hidden!important;
  background:
    radial-gradient(circle at 8% 8%,color-mix(in srgb,var(--f254-welcome-blue) 8%,transparent),transparent 30%),
    radial-gradient(circle at 90% 84%,color-mix(in srgb,var(--f254-welcome-blue) 7%,transparent),transparent 32%),
    var(--f-bg)!important;
}
body.f254-auth-welcome-page .f254-welcome-shell{
  position:relative!important;
  width:100%!important;
  max-width:1540px!important;
  min-height:100svh!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
  overflow:clip!important;
  padding:24px clamp(24px,4vw,64px) 34px!important;
  contain:paint!important;
}
body.f254-auth-welcome-page .f254-welcome-layout{
  width:100%!important;
  min-height:calc(100svh - 116px)!important;
  max-width:1400px!important;
  margin:0 auto!important;
  padding:34px 0 0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(340px,430px)!important;
  align-items:center!important;
  gap:clamp(34px,5vw,76px)!important;
}
body.f254-auth-welcome-page .f254-welcome-hero{min-width:0!important}
body.f254-auth-welcome-page .f254-welcome-card{width:100%!important;max-width:430px!important}
body.f254-auth-welcome-page .f254-welcome-actions .f254-btn{min-height:48px!important;height:48px!important;border-radius:12px!important;font-size:12.5px!important}

@media(min-width:768px) and (max-width:1120px){
  body.f254-auth-welcome-page .f254-welcome-shell{padding:22px 28px 30px!important}
  body.f254-auth-welcome-page .f254-welcome-layout{
    min-height:calc(100svh - 100px)!important;
    grid-template-columns:minmax(0,1fr) minmax(320px,370px)!important;
    gap:30px!important;
    padding-top:28px!important;
  }
  body.f254-auth-welcome-page .f254-welcome-hero{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:18px!important;
  }
  body.f254-auth-welcome-page .f254-welcome-copy h1{font-size:clamp(42px,6vw,58px)!important}
  body.f254-auth-welcome-page .f254-welcome-lead{font-size:14px!important}
  body.f254-auth-welcome-page .f254-welcome-visual{width:min(300px,100%)!important;height:220px!important;margin:0!important;justify-self:start!important}
  body.f254-auth-welcome-page .f254-welcome-feature-list{gap:11px!important}
  body.f254-auth-welcome-page .f254-welcome-card{padding:30px 26px!important;border-radius:18px!important}
}

@media(max-width:767px){
  body.f254-auth-welcome-page{min-height:100svh!important;background:var(--f-bg)!important}
  body.f254-auth-welcome-page .f254-welcome-shell{
    min-height:100svh!important;
    height:auto!important;
    padding:14px 16px max(16px,env(safe-area-inset-bottom))!important;
    overflow:clip!important;
    contain:paint!important;
  }
  body.f254-auth-welcome-page .f254-welcome-shell::before,
  body.f254-auth-welcome-page .f254-welcome-shell::after{display:none!important}
  body.f254-auth-welcome-page .f254-welcome-header{min-height:42px!important}
  body.f254-auth-welcome-page .f254-welcome-brand{font-size:21px!important;gap:8px!important}
  body.f254-auth-welcome-page .f254-welcome-brand .f254-brand-mark{width:32px!important;height:32px!important}
  body.f254-auth-welcome-page .f254-welcome-theme{width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px!important}
  body.f254-auth-welcome-page .f254-welcome-layout{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    min-height:0!important;
    height:auto!important;
    gap:16px!important;
    padding:20px 0 0!important;
  }
  body.f254-auth-welcome-page .f254-welcome-hero{
    display:flex!important;
    flex-direction:column!important;
    gap:15px!important;
    min-width:0!important;
  }
  body.f254-auth-welcome-page .f254-welcome-copy{order:1!important;max-width:none!important}
  body.f254-auth-welcome-page .f254-welcome-kicker{display:none!important}
  body.f254-auth-welcome-page .f254-welcome-copy h1{
    max-width:100%!important;
    margin:0!important;
    font-size:clamp(34px,10vw,42px)!important;
    line-height:1.01!important;
    letter-spacing:-.055em!important;
    text-wrap:pretty!important;
  }
  body.f254-auth-welcome-page .f254-welcome-lead{
    max-width:100%!important;
    margin:12px 0 0!important;
    font-size:13px!important;
    line-height:1.52!important;
  }
  body.f254-auth-welcome-page .f254-welcome-visual{
    order:2!important;
    width:min(310px,100%)!important;
    height:186px!important;
    margin:0 auto!important;
    aspect-ratio:auto!important;
  }
  body.f254-auth-welcome-page .f254-welcome-orbit{inset:6% 4% 2%!important}
  body.f254-auth-welcome-page .f254-welcome-post-card{width:42%!important;left:8%!important;top:0!important;padding:7px!important;border-radius:12px!important}
  body.f254-auth-welcome-page .f254-welcome-photo{height:58px!important;border-radius:8px!important}
  body.f254-auth-welcome-page .f254-welcome-card-head{height:18px!important}
  body.f254-auth-welcome-page .f254-welcome-avatar{width:17px!important;height:17px!important}
  body.f254-auth-welcome-page .f254-welcome-video-card{width:52%!important;right:4%!important;top:30%!important;padding:7px!important;border-radius:12px!important}
  body.f254-auth-welcome-page .f254-welcome-video-surface{height:66px!important;border-radius:8px!important}
  body.f254-auth-welcome-page .f254-welcome-video-surface span{width:38px!important;height:38px!important}
  body.f254-auth-welcome-page .f254-welcome-video-surface svg{width:17px!important;height:17px!important}
  body.f254-auth-welcome-page .f254-welcome-reactions{left:27%!important;bottom:0!important;min-width:112px!important;height:34px!important;padding:0 12px!important;border-radius:11px!important}
  body.f254-auth-welcome-page .f254-welcome-reactions svg{width:15px!important;height:15px!important}
  body.f254-auth-welcome-page .f254-welcome-feature-list{order:3!important;display:grid!important;gap:10px!important;margin:0!important}
  body.f254-auth-welcome-page .f254-welcome-feature{grid-template-columns:34px minmax(0,1fr)!important;gap:10px!important;align-items:start!important}
  body.f254-auth-welcome-page .f254-welcome-feature-icon{width:34px!important;height:34px!important;border-radius:10px!important}
  body.f254-auth-welcome-page .f254-welcome-feature-icon svg{width:17px!important;height:17px!important}
  body.f254-auth-welcome-page .f254-welcome-feature strong{font-size:11.5px!important}
  body.f254-auth-welcome-page .f254-welcome-feature small{font-size:9.5px!important;line-height:1.4!important;margin-top:2px!important}
  body.f254-auth-welcome-page .f254-welcome-card{
    order:4!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    backdrop-filter:none!important;
    -webkit-backdrop-filter:none!important;
    text-align:left!important;
  }
  body.f254-auth-welcome-page .f254-welcome-card-logo,
  body.f254-auth-welcome-page .f254-welcome-card h2,
  body.f254-auth-welcome-page .f254-welcome-card>p:not(.f254-welcome-legal){display:none!important}
  body.f254-auth-welcome-page .f254-welcome-actions{display:grid!important;gap:8px!important;margin:0!important}
  body.f254-auth-welcome-page .f254-welcome-actions .f254-btn{min-height:44px!important;height:44px!important;border-radius:11px!important;font-size:12px!important}
  body.f254-auth-welcome-page .f254-welcome-legal{margin:12px 4px 0!important;padding:0!important;text-align:center!important;font-size:9px!important;line-height:1.45!important}
}

@media(max-width:360px){
  body.f254-auth-welcome-page .f254-welcome-shell{padding-inline:14px!important}
  body.f254-auth-welcome-page .f254-welcome-copy h1{font-size:32px!important}
  body.f254-auth-welcome-page .f254-welcome-visual{height:172px!important}
  body.f254-auth-welcome-page .f254-welcome-feature small{font-size:9px!important}
}


/* v13.8.17 — balance login and password recovery vertically without changing registration. */
@media(max-width:767px) and (min-height:640px){
  body.f254-auth-login-page .f254-auth-modern-main,
  body.f254-auth-recovery-page .f254-auth-modern-main{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding-top:max(18px,env(safe-area-inset-top))!important;
    padding-bottom:max(18px,env(safe-area-inset-bottom))!important;
  }
  body.f254-auth-login-page .f254-auth-modern-panel,
  body.f254-auth-recovery-page .f254-auth-modern-panel{margin:auto!important}
}
@media(max-width:767px) and (max-height:639px){
  body.f254-auth-login-page .f254-auth-modern-main,
  body.f254-auth-recovery-page .f254-auth-modern-main{display:block!important}
}
