/* V45 — guaranteed visible Red Moon neon starfield */
.rm17-hero{isolation:isolate!important}
.rm17-hero .rm17-hero-media{z-index:0!important}
.rm17-hero .rm17-fog,.rm17-hero .rm17-grid,.rm17-hero::after{z-index:1!important}
.rm17-hero .rm45-starfield{position:absolute!important;inset:0!important;z-index:5!important;display:block!important;visibility:visible!important;opacity:1!important;overflow:hidden!important;pointer-events:none!important}
.rm17-hero .rm17-hero-content,.rm17-hero .rm17-scroll{z-index:8!important}
.rm45-star{position:absolute;display:block;border-radius:50%;width:var(--size);height:var(--size);opacity:var(--base);background:#fff;box-shadow:0 0 4px rgba(255,255,255,.95),0 0 11px rgba(255,255,255,.58),0 0 22px rgba(210,225,255,.20);animation:rm45White var(--dur) ease-in-out var(--delay) infinite;will-change:opacity,transform}
.rm45-star.red{background:#ff365d;box-shadow:0 0 5px rgba(255,92,116,1),0 0 14px rgba(255,28,70,.90),0 0 30px rgba(205,0,42,.48);animation-name:rm45Red}
.rm45-star.faint{box-shadow:0 0 3px rgba(255,255,255,.55),0 0 7px rgba(255,255,255,.18)}
.rm45-star.red.faint{box-shadow:0 0 4px rgba(255,70,100,.62),0 0 9px rgba(255,20,62,.25)}
.rm45-star.strong{z-index:2}
@keyframes rm45White{0%,100%{opacity:calc(var(--base)*.16);transform:scale(.55)}21%{opacity:calc(var(--base)*.48);transform:scale(.82)}46%{opacity:var(--base);transform:scale(1.08)}51%{opacity:1;transform:scale(1.9)}58%{opacity:calc(var(--base)*.68);transform:scale(1.02)}79%{opacity:calc(var(--base)*.24);transform:scale(.67)}}
@keyframes rm45Red{0%,100%{opacity:.06;transform:scale(.52)}29%{opacity:calc(var(--base)*.42);transform:scale(.82)}49%{opacity:1;transform:scale(2.05)}57%{opacity:calc(var(--base)*.72);transform:scale(1.08)}78%{opacity:.11;transform:scale(.62)}}
.rm45-constellation{position:absolute;z-index:4;pointer-events:none;opacity:1!important;filter:drop-shadow(0 0 8px rgba(255,255,255,.28))}
.rm45-constellation.dipper{left:42%;top:10%;width:330px;height:185px;transform:rotate(-5deg)}
.rm45-constellation.pisces{left:62%;top:11%;width:330px;height:185px;transform:rotate(-5deg)}
.rm45-cstar{position:absolute;width:var(--cs,5px);height:var(--cs,5px);margin:calc(var(--cs,5px)/-2);border-radius:50%;background:#fff;box-shadow:0 0 7px #fff,0 0 18px rgba(255,255,255,.95),0 0 38px rgba(255,255,255,.48);animation:rm45Const var(--cd,2.4s) ease-in-out var(--cdelay,0s) infinite;will-change:opacity,transform}
.rm45-cstar.red{background:#ff4163;box-shadow:0 0 8px rgba(255,110,130,1),0 0 21px rgba(255,35,75,1),0 0 44px rgba(210,0,42,.62)}
@keyframes rm45Const{0%,100%{opacity:.28;transform:scale(.70)}34%{opacity:.62;transform:scale(.95)}49%{opacity:1;transform:scale(1.85)}57%{opacity:.76;transform:scale(1.12)}77%{opacity:.36;transform:scale(.82)}}
/* Retire older star layers so there is one predictable renderer. */
.rm30-starfield{display:none!important}
@media(max-width:900px),(pointer:coarse){
 .rm45-starfield{opacity:.88!important}
 .rm45-constellation.dipper{left:4%;top:9%;width:190px;height:110px}
 .rm45-constellation.pisces{left:48%;top:11%;width:190px;height:110px}
 .rm45-star{animation-duration:calc(var(--dur) * 1.25);box-shadow:0 0 3px rgba(255,255,255,.72),0 0 7px rgba(255,255,255,.24)}
 .rm45-star.red{box-shadow:0 0 4px rgba(255,75,105,.75),0 0 9px rgba(255,25,68,.34)}
 .rm45-cstar{width:4px;height:4px;box-shadow:0 0 5px #fff,0 0 12px rgba(255,255,255,.70)}
}
@media(prefers-reduced-motion:reduce){.rm45-star,.rm45-cstar{animation:none!important;opacity:.72!important}}
\n\n/* V53 — balanced 300-star sky + corner constellations */
@media (min-width:901px) and (pointer:fine){
  .rm45-constellation.dipper{
    left:3%!important;right:auto!important;top:8%!important;
    width:310px!important;height:175px!important;transform:rotate(-8deg)!important;
  }
  .rm45-constellation.pisces{
    left:auto!important;right:3%!important;top:9%!important;
    width:320px!important;height:180px!important;transform:rotate(7deg)!important;
  }
}
/* Göncölszekér: clean white neon. */
.rm45-constellation.dipper .rm45-cstar{
  background:#fff!important;
  box-shadow:0 0 7px rgba(255,255,255,1),0 0 18px rgba(255,255,255,.92),0 0 38px rgba(225,235,255,.50)!important;
}
/* Halak: unmistakable ruby/red neon. */
.rm45-constellation.pisces .rm45-cstar{
  background:#ff3158!important;
  box-shadow:0 0 8px rgba(255,105,128,1),0 0 22px rgba(255,32,73,.98),0 0 46px rgba(205,0,42,.66)!important;
}
@media(max-width:900px),(pointer:coarse){
  .rm45-constellation.dipper{left:3%!important;right:auto!important;top:8%!important;width:165px!important;height:96px!important;transform:rotate(-8deg)!important}
  .rm45-constellation.pisces{left:auto!important;right:3%!important;top:10%!important;width:170px!important;height:98px!important;transform:rotate(7deg)!important}
  .rm45-constellation.pisces .rm45-cstar{box-shadow:0 0 5px rgba(255,105,128,1),0 0 13px rgba(255,32,73,.82)!important}
}
