/* FIVE TOUR 4.4.76 – Login responsive, mobile poster fallback and two-column glass layout. */
html:has(body.ftaps-app.ftaps-auth){background:#091522}
body.ftaps-app.ftaps-auth .ftaps-auth-shell.ft476-auth-shell{
  position:relative!important;isolation:isolate;display:flex;flex-direction:column;
  min-height:100vh;min-height:100svh;overflow:clip;background:#081726!important;
}
/* Important: the old video had a negative stacking level and disappeared on mobile. */
body.ftaps-app.ftaps-auth .ftaps-auth-video.ft476-video-layer{
  position:absolute!important;inset:0!important;z-index:0!important;overflow:hidden;
  background:#102839 url('../video/five-tour-video-poster.jpg') center / cover no-repeat!important;
}
body.ftaps-app.ftaps-auth .ftaps-auth-video .ft476-video-fallback,
body.ftaps-app.ftaps-auth .ftaps-auth-video .ft476-managed-video{
  position:absolute;inset:0;width:100%;height:100%;min-width:0;min-height:0;
  display:block;object-fit:cover;object-position:50% 50%;pointer-events:none;
}
body.ftaps-app.ftaps-auth .ftaps-auth-video .ft476-managed-video{opacity:0;transition:opacity .6s ease}
body.ftaps-app.ftaps-auth .ftaps-auth-video.ft476-video-playing .ft476-managed-video{opacity:1}
body.ftaps-app.ftaps-auth .ftaps-auth-overlay{
  position:absolute!important;inset:0!important;z-index:1!important;pointer-events:none;
  background:linear-gradient(105deg,rgba(4,13,29,.80) 0%,rgba(5,16,34,.58) 45%,rgba(7,20,39,.36) 100%)!important;
}
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand{
  position:relative!important;z-index:3!important;width:100%;max-width:1560px;
  min-height:130px;margin:0 auto;padding:18px clamp(26px,5.4vw,96px) 0;
  display:flex;align-items:center;justify-content:flex-start!important;
  background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  box-shadow:none!important;border:0!important;
}
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand{
  width:auto!important;min-height:108px!important;height:auto!important;max-width:360px;
  margin:0!important;padding:0!important;justify-content:flex-start!important;border:0!important;background:none!important;
}
body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand>img{
  width:clamp(245px,20vw,320px)!important;height:clamp(90px,8vw,120px)!important;max-height:128px!important;
  margin:0!important;flex:0 0 auto!important;object-fit:contain!important;object-position:left center!important;
  filter:drop-shadow(0 5px 16px rgba(0,0,0,.38))!important;
}
body.ftaps-app.ftaps-auth .ftaps-auth-content.ft475-auth-content{
  position:relative;z-index:3;flex:1;display:flex;align-items:center;justify-content:center;
  max-width:100%!important;width:100%!important;margin:0!important;
  padding:24px clamp(24px,5.4vw,96px) 54px!important;
}
body.ftaps-app.ftaps-auth .ft475-auth-content>.ft476-auth-layout{
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(375px,.85fr);align-items:center;
  gap:clamp(48px,7vw,128px);width:min(100%,1380px);margin:0 auto;min-width:0;
}
body.ftaps-app.ftaps-auth .ft476-auth-story{min-width:0;color:white;max-width:695px;text-shadow:0 3px 18px rgba(0,0,0,.24)}
body.ftaps-app.ftaps-auth .ft476-story-kicker{
  display:flex;align-items:center;gap:10px;color:#b9d9ed;font-size:12px;font-weight:820;
  text-transform:uppercase;letter-spacing:.14em;margin:0 0 22px;
}
body.ftaps-app.ftaps-auth .ft476-story-dot{width:9px;height:9px;border-radius:50%;background:#ffa847;box-shadow:0 0 0 6px rgba(255,168,71,.14);flex:none}
body.ftaps-app.ftaps-auth .ft476-auth-story h2{
  color:#fff;font-size:clamp(38px,4vw,68px);line-height:1.08;letter-spacing:-.048em;
  font-weight:850;margin:0 0 26px;max-width:720px;text-wrap:balance;
}
body.ftaps-app.ftaps-auth .ft476-auth-story h2 em{font-style:normal;color:#8cdefb}
body.ftaps-app.ftaps-auth .ft476-story-lead{font-size:clamp(16px,1.25vw,19px);line-height:1.65;color:#e8f5ff;max-width:580px;margin:0 0 34px}
body.ftaps-app.ftaps-auth .ft476-story-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-width:590px}
body.ftaps-app.ftaps-auth .ft476-story-features span{
  display:flex;align-items:center;gap:13px;padding:14px 16px;border-radius:13px;
  font-size:12px;color:#acd9f4;letter-spacing:.07em;border:1px solid rgba(255,255,255,.20);
  background:rgba(4,20,38,.25);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px);
  animation:ft476-rise .65s both;
}
body.ftaps-app.ftaps-auth .ft476-story-features span:nth-child(2){animation-delay:.12s}
body.ftaps-app.ftaps-auth .ft476-story-features span:nth-child(3){animation-delay:.24s}
body.ftaps-app.ftaps-auth .ft476-story-features span:nth-child(4){animation-delay:.36s}
body.ftaps-app.ftaps-auth .ft476-story-features b{font-size:14px;color:#fff;letter-spacing:0;font-weight:700}
body.ftaps-app.ftaps-auth .ft476-story-motion{display:flex;align-items:center;gap:16px;margin-top:32px;color:#d5ecf8;font-size:12px;letter-spacing:.17em;font-weight:800}
body.ftaps-app.ftaps-auth .ft476-story-motion>i{width:28px;height:1px;background:#d5ecf887}
body.ftaps-app.ftaps-auth .ft476-story-motion span{animation:ft476-glow 6s ease-in-out infinite}
body.ftaps-app.ftaps-auth .ft476-story-motion span:nth-of-type(2){animation-delay:2s}
body.ftaps-app.ftaps-auth .ft476-story-motion span:nth-of-type(3){animation-delay:4s}
@keyframes ft476-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes ft476-glow{0%,25%,100%{opacity:.54}10%,18%{opacity:1;color:white}}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel{min-width:0;width:100%!important}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{
  width:100%!important;max-width:none!important;padding:clamp(28px,3.3vw,44px)!important;
  background:rgba(247,251,255,.77)!important;border:1px solid rgba(255,255,255,.55)!important;
  box-shadow:0 24px 80px rgba(0,12,30,.28)!important;
  border-radius:25px!important;backdrop-filter:blur(15px) saturate(115%)!important;
  -webkit-backdrop-filter:blur(15px) saturate(115%)!important;
}
body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap form{
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body.ftaps-app.ftaps-auth .ft475-auth-footer{position:relative;z-index:3;margin-top:auto}
@media(max-width:1080px){
  body.ftaps-app.ftaps-auth .ft475-auth-content>.ft476-auth-layout{gap:28px;grid-template-columns:minmax(0,1fr) minmax(340px,.95fr)}
  body.ftaps-app.ftaps-auth .ft476-auth-story h2{font-size:clamp(32px,4.6vw,46px)}
  body.ftaps-app.ftaps-auth .ft476-story-features{grid-template-columns:1fr;gap:8px}
  body.ftaps-app.ftaps-auth .ft476-story-features span{padding:9px 12px}
  body.ftaps-app.ftaps-auth .ft476-story-motion{display:none}
}
@media(max-width:780px){
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand{min-height:95px;padding:12px 16px 0;justify-content:center!important}
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand{justify-content:center!important;margin:0 auto!important;min-height:82px!important}
  body.ftaps-app.ftaps-auth .ftaps-auth-brand.ft475-auth-brand .ftaps-brand>img{
    width:clamp(204px,48vw,250px)!important;height:86px!important;max-height:90px!important;object-position:center!important;
  }
  body.ftaps-app.ftaps-auth .ft475-auth-content{padding:8px 18px 24px!important}
  body.ftaps-app.ftaps-auth .ft475-auth-content>.ft476-auth-layout{grid-template-columns:minmax(0,1fr);gap:17px;max-width:520px}
  body.ftaps-app.ftaps-auth .ft476-auth-story{text-align:center;margin:0 auto}
  body.ftaps-app.ftaps-auth .ft476-story-kicker{justify-content:center;font-size:10px;margin-bottom:9px}
  body.ftaps-app.ftaps-auth .ft476-auth-story h2{font-size:clamp(23px,5.7vw,31px);margin:0 0 7px;line-height:1.16}
  body.ftaps-app.ftaps-auth .ft476-auth-story h2 br{display:none}
  body.ftaps-app.ftaps-auth .ft476-story-lead{font-size:13px;margin:0;line-height:1.5}
  body.ftaps-app.ftaps-auth .ft476-story-features,body.ftaps-app.ftaps-auth .ft476-story-motion{display:none}
  body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{padding:25px 23px!important;background:rgba(247,251,255,.86)!important;border-radius:20px!important}
  body.ftaps-app.ftaps-auth .ftaps-auth-overlay{background:linear-gradient(180deg,rgba(5,18,36,.38),rgba(5,18,36,.40))!important}
}
@media(max-width:380px){
  body.ftaps-app.ftaps-auth .ft475-auth-content{padding:5px 12px 20px!important}
  body.ftaps-app.ftaps-auth .ft475-auth-content .ft475-auth-panel>.login-wrap{padding:21px 17px!important}
  body.ftaps-app.ftaps-auth .ft476-story-lead{display:none}
}
@media(prefers-reduced-motion:reduce){
  body.ftaps-app.ftaps-auth :is(.ft476-story-motion span,.ft476-story-features span){animation:none!important}
  body.ftaps-app.ftaps-auth .ft476-managed-video{display:none!important}
}

/* User-gesture playback affordance appears only when mobile autoplay is blocked. */
.ft476-play-video{position:absolute;right:clamp(16px,3vw,34px);top:clamp(16px,3vw,34px);z-index:5;border:1px solid rgba(255,255,255,.75);border-radius:30px;background:rgba(5,27,45,.78);color:#fff;padding:9px 14px;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);font:700 12px/1.25 system-ui,sans-serif;cursor:pointer;box-shadow:0 5px 18px rgba(0,0,0,.2)}
.ft476-play-video:focus-visible{outline:3px solid #f9c459;outline-offset:3px}
body.ftaps-app.ftaps-auth .ft476-play-video{top:148px}
@media(max-width:780px){body.ftaps-app.ftaps-auth .ft476-play-video{top:108px}.ft476-play-video{right:12px;font-size:11px;padding:8px 11px}}
