/* HerTime homepage motion layer – scoped only to the current homepage. */
body.ht-page-home-motion{
  max-width:100%;
  overflow-x:hidden;
  overflow-x:clip;
  background:
    radial-gradient(circle at 82% 4%,rgba(255,47,125,.13),transparent 30%),
    radial-gradient(circle at 8% 42%,rgba(128,71,255,.10),transparent 34%),
    #07070a;
}

.ht-home-live[data-ht-home-motion]{
  --ht-motion-pink:#ff2f7d;
  --ht-motion-pink-soft:#ff79b6;
  --ht-motion-violet:#8d62ff;
  --ht-motion-green:#35e880;
  --ht-motion-x:50%;
  --ht-motion-y:35%;
  position:relative;
  isolation:isolate;
  max-width:100%;
  min-width:0;
  overflow-x:clip;
}
.ht-home-live[data-ht-home-motion] > *:not(.ht-home-ambient){position:relative;z-index:2}

/* Slow ambient glow/orbs behind the page. */
.ht-home-ambient{
  position:absolute;
  z-index:0;
  inset:-70px 0 auto;
  width:100%;
  max-width:100%;
  height:980px;
  overflow:hidden;
  pointer-events:none;
  filter:saturate(1.08);
}
.ht-home-ambient span{
  position:absolute;
  display:block;
  border-radius:50%;
  opacity:.34;
  filter:blur(18px);
  will-change:transform;
}
.ht-home-ambient span:nth-child(1){
  width:390px;height:390px;right:2%;top:18px;
  background:radial-gradient(circle at 35% 30%,rgba(255,116,185,.82),rgba(255,47,125,.22) 44%,transparent 72%);
  animation:htHomeOrbOne 17s ease-in-out infinite alternate;
}
.ht-home-ambient span:nth-child(2){
  width:330px;height:330px;left:12%;top:305px;
  background:radial-gradient(circle at 48% 42%,rgba(141,98,255,.62),rgba(89,44,202,.18) 50%,transparent 74%);
  animation:htHomeOrbTwo 21s ease-in-out infinite alternate;
}
.ht-home-ambient span:nth-child(3){
  width:250px;height:250px;right:31%;top:610px;
  background:radial-gradient(circle at 50% 50%,rgba(255,47,125,.32),rgba(141,98,255,.14) 48%,transparent 73%);
  animation:htHomeOrbThree 19s ease-in-out infinite alternate;
}

/* Hero: subtle grid, cursor glow and moving shine. */
.ht-home-live[data-ht-home-motion] .ht-home-template{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding:54px 44px 60px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:42px;
  background:
    radial-gradient(circle at var(--ht-motion-x) var(--ht-motion-y),rgba(255,77,151,.16),transparent 28%),
    radial-gradient(circle at 78% 24%,rgba(141,98,255,.12),transparent 30%),
    linear-gradient(135deg,rgba(255,255,255,.047),rgba(255,255,255,.017));
  box-shadow:0 34px 110px rgba(0,0,0,.42),inset 0 1px 0 rgba(255,255,255,.055);
}
.ht-home-live[data-ht-home-motion] .ht-home-template:before{
  content:"";
  position:absolute;
  z-index:0;
  inset:0;
  pointer-events:none;
  opacity:.17;
  background-image:
    linear-gradient(rgba(255,255,255,.075) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.075) 1px,transparent 1px);
  background-size:54px 54px;
  -webkit-mask-image:radial-gradient(circle at 70% 43%,#000 0%,transparent 66%);
  mask-image:radial-gradient(circle at 70% 43%,#000 0%,transparent 66%);
  animation:htHomeGridDrift 18s linear infinite;
}
.ht-home-live[data-ht-home-motion] .ht-home-template:after{
  content:"";
  position:absolute;
  z-index:1;
  left:-42%;top:-38%;
  width:34%;height:178%;
  pointer-events:none;
  transform:rotate(19deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.095),rgba(255,96,171,.13),transparent);
  filter:blur(5px);
  animation:htHomeHeroShine 8.5s ease-in-out infinite;
}
.ht-home-live[data-ht-home-motion] .ht-home-template > *{position:relative;z-index:2}
.ht-home-live[data-ht-home-motion] .eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-shadow:0 0 24px rgba(255,75,156,.24);
}
.ht-home-live[data-ht-home-motion] .eyebrow:before{
  content:"";
  width:7px;height:7px;border-radius:50%;
  background:var(--ht-motion-green);
  box-shadow:0 0 0 5px rgba(53,232,128,.08),0 0 18px rgba(53,232,128,.55);
  animation:htHomeLiveDot 1.8s ease-in-out infinite;
}
.ht-home-main-cta{position:relative;overflow:hidden;isolation:isolate}
.ht-home-main-cta:after{
  content:"";
  position:absolute;
  z-index:-1;
  left:-58%;top:-90%;
  width:38%;height:280%;
  transform:rotate(21deg);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.46),transparent);
  animation:htHomeButtonShine 4.4s ease-in-out infinite;
}

/* Quick Google / Seznam profile creation. */
.ht-home-quick-auth{
  width:min(610px,100%);
  margin-top:18px;
  padding:13px 14px 12px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:20px;
  background:linear-gradient(135deg,rgba(255,255,255,.065),rgba(255,255,255,.025));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.045),0 18px 55px rgba(0,0,0,.20);
  backdrop-filter:blur(18px);
}
.ht-home-quick-auth__label{
  display:block;
  margin:0 0 9px;
  color:rgba(255,255,255,.72);
  font-size:11px;
  font-weight:900;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.ht-home-quick-auth__buttons{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.ht-home-social-btn{
  min-width:148px;
  min-height:47px;
  display:grid;
  grid-template-columns:32px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-items:center;
  column-gap:9px;
  padding:7px 12px 7px 8px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:15px;
  background:rgba(255,255,255,.07);
  color:#fff;
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.ht-home-social-btn:hover{
  transform:translateY(-2px);
  border-color:rgba(255,121,182,.34);
  background:rgba(255,255,255,.105);
  box-shadow:0 14px 32px rgba(0,0,0,.24);
}
.ht-home-social-btn i{
  grid-row:1 / span 2;
  width:32px;height:32px;
  display:grid;place-items:center;
  border-radius:10px;
  font:900 18px/1 Arial,sans-serif;
  font-style:normal;
  box-shadow:0 6px 18px rgba(0,0,0,.20);
}
.ht-home-social-btn span{font-size:13px;font-weight:950;line-height:1.05}
.ht-home-social-btn small{color:rgba(255,255,255,.48);font-size:9px;font-weight:800;line-height:1.05}
.ht-home-social-btn--google i{
  background:#fff;
  color:#4285f4;
  box-shadow:inset 0 -3px 0 #34a853,inset 3px 0 0 #fbbc05,inset 0 3px 0 #ea4335,0 6px 18px rgba(0,0,0,.20);
}
.ht-home-social-btn--seznam i{background:#e51b23;color:#fff}
.ht-home-social-email{padding:9px 5px;color:#ff9dcc;font-size:11px;font-weight:900;text-decoration:none;white-space:nowrap}
.ht-home-social-email:hover{color:#fff}
.ht-home-quick-auth__note{display:block;margin-top:8px;color:rgba(255,255,255,.42);font-size:10px;line-height:1.4}

/* Compact, user-facing registration bonus; no internal/admin copy. */
.ht-home-live[data-ht-home-motion] .ht-registration-bonus{
  display:inline-flex;
  align-items:center;
  gap:10px;
  width:auto;
  max-width:100%;
  margin-top:16px;
  padding:9px 13px 9px 9px;
  border-radius:16px;
}
.ht-home-live[data-ht-home-motion] .ht-registration-bonus span{
  grid-row:auto;
  width:34px;
  height:34px;
  border-radius:11px;
}
.ht-home-live[data-ht-home-motion] .ht-registration-bonus strong{font-size:13px;line-height:1.25}

/* Floating hero activity bubbles. */
.ht-home-live[data-ht-home-motion] .float-card{
  overflow:hidden;
  transition:border-color .2s ease,background .2s ease,box-shadow .2s ease;
}
.ht-home-live[data-ht-home-motion] .float-card:before{
  content:"";
  position:absolute;
  right:12px;top:12px;
  width:7px;height:7px;border-radius:50%;
  background:var(--ht-motion-green);
  box-shadow:0 0 0 4px rgba(53,232,128,.08),0 0 15px rgba(53,232,128,.55);
}
.ht-home-live[data-ht-home-motion] .float-card:hover{
  border-color:rgba(255,121,182,.30);
  background:rgba(18,15,24,.82);
  box-shadow:0 24px 65px rgba(0,0,0,.42),0 0 40px rgba(255,47,125,.09);
}
.ht-home-live[data-ht-home-motion] .fc1{animation:htHomeFloatOne 5.7s ease-in-out infinite}
.ht-home-live[data-ht-home-motion] .fc2{animation:htHomeFloatTwo 6.6s ease-in-out infinite .7s}
.ht-home-live[data-ht-home-motion] .fc3{animation:htHomeFloatThree 5.9s ease-in-out infinite 1.4s}

/* Live ticker below hero. */
.ht-home-live-ticker{
  min-height:48px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:12px;
  margin:12px 0 12px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:18px;
  background:rgba(14,12,18,.68);
  box-shadow:0 16px 45px rgba(0,0,0,.25),inset 0 1px 0 rgba(255,255,255,.04);
  backdrop-filter:blur(20px);
  overflow:hidden;
}
.ht-home-live-ticker__badge{
  min-height:32px;
  display:inline-flex;align-items:center;gap:7px;
  padding:0 10px;
  border-radius:11px;
  background:rgba(255,47,125,.13);
  color:#ff9bc8;
  font-size:10px;font-weight:950;letter-spacing:.09em;
}
.ht-home-live-ticker__badge i{
  width:7px;height:7px;border-radius:50%;background:#ff437f;
  box-shadow:0 0 0 5px rgba(255,67,127,.08),0 0 16px rgba(255,67,127,.55);
  animation:htHomeLiveDot 1.65s ease-in-out infinite;
}
.ht-home-live-ticker__viewport{width:100%;max-width:100%;min-width:0;overflow:hidden;-webkit-mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent)}
.ht-home-live-ticker__track{
  width:max-content;
  display:flex;
  align-items:center;
  gap:10px;
  animation:htHomeTicker 54s linear infinite;
  will-change:transform;
}
.ht-home-live-ticker:hover .ht-home-live-ticker__track,
.ht-home-live-ticker:focus-within .ht-home-live-ticker__track{animation-play-state:paused}
.ht-home-live-ticker__track a{
  display:flex;align-items:center;gap:8px;
  min-height:32px;
  padding:0 10px;
  border-radius:11px;
  color:rgba(255,255,255,.82);
  text-decoration:none;
  white-space:nowrap;
  transition:background .16s ease,color .16s ease;
}
.ht-home-live-ticker__track a:hover{background:rgba(255,255,255,.07);color:#fff}
.ht-home-live-ticker__track b{padding:4px 7px;border-radius:999px;background:rgba(255,47,125,.12);color:#ff9dcc;font-size:8px;font-weight:950;text-transform:uppercase;letter-spacing:.06em}
.ht-home-live-ticker__track span{font-size:11px;font-weight:850}
.ht-home-live-ticker__track small{color:rgba(255,255,255,.38);font-size:9px;font-weight:800}
.ht-home-live-ticker__hint{color:rgba(255,255,255,.36);font-size:9px;font-weight:850;white-space:nowrap}

/* Stories pulse only in the homepage strip. */
.ht-home-stories .story-row .story{position:relative}
.ht-home-stories .story-row .story:not(.add):nth-child(-n+5):before,
.ht-home-stories .story-row .story.live:before{
  content:"";
  position:absolute;
  z-index:-1;
  top:-4px;left:50%;
  width:72px;height:72px;
  border-radius:50%;
  transform:translateX(-50%);
  border:1px solid rgba(255,72,154,.50);
  box-shadow:0 0 22px rgba(255,47,125,.18);
  animation:htHomeStoryPulse 2.4s ease-out infinite;
}
.ht-home-stories .story-row .story:nth-child(3):before{animation-delay:.45s}
.ht-home-stories .story-row .story:nth-child(4):before{animation-delay:.9s}
.ht-home-stories .story-row .story:nth-child(5):before{animation-delay:1.35s}
.ht-home-stories .story-row .story img,
.ht-home-stories .story-row .story > div{transition:transform .2s ease,filter .2s ease}
.ht-home-stories .story-row .story:hover img,
.ht-home-stories .story-row .story:hover > div{transform:translateY(-3px) scale(1.035);filter:saturate(1.08)}

/* Live focus in timeline. */
.ht-home-live[data-ht-home-motion] .ht-timeline-row{overflow:hidden;transition:background .28s ease,transform .28s ease,box-shadow .28s ease,border-color .28s ease}
.ht-home-live[data-ht-home-motion] .ht-timeline-row:after{
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  opacity:0;
  transform:translateX(-22%);
  background:linear-gradient(90deg,rgba(255,47,125,.12),rgba(141,98,255,.06),transparent 72%);
  transition:opacity .28s ease,transform .42s ease;
}
.ht-home-live[data-ht-home-motion] .ht-timeline-row.is-live-now{
  transform:translateX(4px);
  background:rgba(255,255,255,.045);
  box-shadow:inset 0 0 0 1px rgba(255,111,177,.10),0 12px 32px rgba(0,0,0,.12);
}
.ht-home-live[data-ht-home-motion] .ht-timeline-row.is-live-now:after{opacity:1;transform:translateX(0)}
.ht-home-live[data-ht-home-motion] .ht-timeline-row.is-live-now:before{box-shadow:0 0 14px currentColor}

/* Counter and cards. */
.ht-live-metrics strong[data-count-to]{font-variant-numeric:tabular-nums}
.ht-live-metrics strong[data-counted="1"]{animation:htHomeCounterPop .7s cubic-bezier(.2,.8,.2,1) both}
[data-ht-tilt]{
  --ht-tilt-x:0deg;
  --ht-tilt-y:0deg;
  --ht-tilt-lift:0px;
  transform:perspective(1000px) rotateX(var(--ht-tilt-x)) rotateY(var(--ht-tilt-y)) translateY(var(--ht-tilt-lift));
  transform-style:preserve-3d;
  transition:transform .18s ease,box-shadow .22s ease,border-color .22s ease;
  will-change:transform;
}
[data-ht-tilt="hero"]{
  transform:perspective(1150px) rotate(3deg) rotateX(var(--ht-tilt-x)) rotateY(var(--ht-tilt-y)) translateY(var(--ht-tilt-lift));
}
[data-ht-tilt].is-tilting{--ht-tilt-lift:-4px;box-shadow:0 28px 80px rgba(0,0,0,.42),0 0 34px rgba(255,47,125,.08)}
.ht-home-person[data-ht-tilt]:hover,
.ht-live-summary-card[data-ht-tilt]:hover,
.ht-compact-market[data-ht-tilt]:hover,
.ht-home-wall-item[data-ht-tilt]:hover{border-color:rgba(255,104,173,.20)!important}

/* Entry reveals: enabled only after JS marks the page ready. */
.ht-motion-ready .ht-motion-reveal{opacity:0;transform:translateY(18px);transition:opacity .62s ease,transform .62s cubic-bezier(.2,.8,.2,1)}
.ht-motion-ready .ht-motion-reveal.is-visible{opacity:1;transform:translateY(0)}

@keyframes htHomeOrbOne{0%{transform:translate3d(0,0,0) scale(1)}100%{transform:translate3d(-55px,45px,0) scale(1.12)}}
@keyframes htHomeOrbTwo{0%{transform:translate3d(0,0,0) scale(.94)}100%{transform:translate3d(64px,-42px,0) scale(1.08)}}
@keyframes htHomeOrbThree{0%{transform:translate3d(0,0,0)}100%{transform:translate3d(-42px,-34px,0) scale(1.16)}}
@keyframes htHomeGridDrift{from{background-position:0 0,0 0}to{background-position:54px 54px,54px 54px}}
@keyframes htHomeHeroShine{0%,58%{transform:translateX(0) rotate(19deg);opacity:0}67%{opacity:.9}82%,100%{transform:translateX(430%) rotate(19deg);opacity:0}}
@keyframes htHomeButtonShine{0%,55%{transform:translateX(0) rotate(21deg);opacity:0}64%{opacity:.85}82%,100%{transform:translateX(470%) rotate(21deg);opacity:0}}
@keyframes htHomeLiveDot{0%,100%{transform:scale(.9);opacity:.72}50%{transform:scale(1.18);opacity:1}}
@keyframes htHomeFloatOne{0%,100%{transform:translate3d(0,0,0) rotate(-.3deg)}50%{transform:translate3d(0,-9px,0) rotate(.5deg)}}
@keyframes htHomeFloatTwo{0%,100%{transform:translate3d(0,0,0) rotate(.2deg)}50%{transform:translate3d(-5px,8px,0) rotate(-.5deg)}}
@keyframes htHomeFloatThree{0%,100%{transform:translate3d(0,0,0)}50%{transform:translate3d(5px,-7px,0)}}
@keyframes htHomeTicker{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@keyframes htHomeStoryPulse{0%{opacity:.72;transform:translateX(-50%) scale(.86)}75%,100%{opacity:0;transform:translateX(-50%) scale(1.2)}}
@keyframes htHomeCounterPop{0%{transform:translateY(5px) scale(.86);opacity:.45}65%{transform:translateY(-2px) scale(1.08);opacity:1}100%{transform:none;opacity:1}}

@media(max-width:1180px){
  .ht-home-live[data-ht-home-motion] .ht-home-template{padding:42px 38px 48px}
  .ht-home-live-ticker__hint{display:none}
  .ht-home-live-ticker{grid-template-columns:auto minmax(0,1fr)}
}

@media(max-width:900px){
  .ht-home-ambient{inset:-30px 0 auto;width:100%;height:760px}
  .ht-home-ambient span:nth-child(1){width:260px;height:260px;right:-70px;top:20px}
  .ht-home-ambient span:nth-child(2){width:230px;height:230px;left:-80px;top:330px}
  .ht-home-ambient span:nth-child(3){display:none}
  .ht-home-live[data-ht-home-motion] .ht-home-template{
    padding:8px 0 24px;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    overflow:visible;
  }
  .ht-home-live[data-ht-home-motion] .ht-home-template:before{opacity:.10;background-size:38px 38px;-webkit-mask-image:linear-gradient(to bottom,#000,transparent 72%);mask-image:linear-gradient(to bottom,#000,transparent 72%)}
  .ht-home-live[data-ht-home-motion] .ht-home-template:after{display:none}
  .ht-home-live[data-ht-home-motion] .ht-registration-bonus{margin:13px 18px 0;padding:8px 11px 8px 8px}
  .ht-home-live[data-ht-home-motion] .ht-registration-bonus span{width:32px;height:32px}
  .ht-home-live[data-ht-home-motion] .ht-registration-bonus strong{font-size:12px}
  .ht-home-quick-auth{margin:14px 18px 0;width:auto;padding:11px;border-radius:17px;background:rgba(7,7,10,.58)}
  .ht-home-quick-auth__buttons{display:grid;grid-template-columns:1fr 1fr}
  .ht-home-social-btn{min-width:0;width:100%;min-height:45px}
  .ht-home-social-email{grid-column:1 / -1;text-align:center;padding:5px}
  .ht-home-quick-auth__note{display:none}
  .ht-home-live-ticker{margin:7px 0 9px;border-radius:15px;padding:6px 7px;gap:7px}
  .ht-home-live-ticker__badge{min-height:30px;padding:0 8px;font-size:9px}
  .ht-home-live-ticker__track{animation-duration:40s;gap:5px}
  .ht-home-live-ticker__track a{padding:0 7px;gap:6px}
  .ht-home-live-ticker__track small{display:none}
  .ht-home-stories .story-row .story:not(.add):nth-child(n+5):before{display:none}
  [data-ht-tilt],[data-ht-tilt="hero"]{transform:none!important;will-change:auto}
  .ht-home-live[data-ht-home-motion] .ht-timeline-row.is-live-now{transform:none}
}

@media(max-width:560px){
  .ht-home-quick-auth__label{font-size:9px;margin-bottom:7px}
  .ht-home-social-btn{grid-template-columns:28px minmax(0,1fr);min-height:42px;padding:6px 8px 6px 6px;border-radius:13px}
  .ht-home-social-btn i{width:28px;height:28px;border-radius:9px;font-size:16px}
  .ht-home-social-btn span{font-size:11px}
  .ht-home-social-btn small{font-size:8px}
  .ht-home-live-ticker__track span{max-width:220px;overflow:hidden;text-overflow:ellipsis}
}

@media(prefers-reduced-motion:reduce){
  .ht-home-ambient span,
  .ht-home-live[data-ht-home-motion] .ht-home-template:before,
  .ht-home-live[data-ht-home-motion] .ht-home-template:after,
  .ht-home-main-cta:after,
  .ht-home-live[data-ht-home-motion] .eyebrow:before,
  .ht-home-live[data-ht-home-motion] .float-card,
  .ht-home-live-ticker__badge i,
  .ht-home-live-ticker__track,
  .ht-home-stories .story-row .story:before,
  .ht-live-metrics strong[data-counted="1"]{animation:none!important}
  [data-ht-tilt],[data-ht-tilt="hero"],
  .ht-motion-ready .ht-motion-reveal{transform:none!important;transition:none!important;opacity:1!important}
}
