/* ==========================================================================
   The raids and the street years: nightfall, the first raid, the bridge,
   the morning after, seven winters, the lanterns, the back step,
   the second raid, and Aiko taken. The shared pieces are in scenes.css.
   ========================================================================== */
.dusk .stage,.street .stage{background:#0d0a0e}
.raid .stage{background:#060406}

/* ---------- Nightfall: the same house, the lamps lit, and the gold line over it ---------- */
.board-img.night{opacity:0;will-change:opacity}
.goldline{position:absolute;left:var(--x);top:var(--top);height:calc(var(--bottom) - var(--top));width:2px;margin-left:-1px;opacity:0;pointer-events:none;
  transform:rotate(var(--lean,0deg));transform-origin:50% 100%;
  background:linear-gradient(0deg,rgba(255,238,188,.98),rgba(255,228,164,.86) 55%,rgba(255,226,160,.6));
  box-shadow:0 0 5px 1px rgba(255,224,152,.9),0 0 20px 4px rgba(255,200,110,.5)}
.goldline.is-far{width:1px;margin-left:-.5px;box-shadow:0 0 4px 1px rgba(255,224,152,.6),0 0 14px 3px rgba(255,200,110,.3)}

/* ---------- The raid's chapter titles: the same lettering, lit from below by fire ---------- */
.headline.is-raid{text-align:center;color:#fff1e2}
.headline.is-raid .eyebrow{color:#f0a878}
.headline.is-raid h2 i{color:#f08a5a}
.headline.is-raid .jp{color:#f0b89a}
.headline.is-raid::before{background:radial-gradient(closest-side,rgba(10,4,4,.72),rgba(10,4,4,.42) 50%,rgba(10,4,4,0))}

/* ---------- The bridge: Hikari's wall of gold light, and the bell ---------- */
.ward{position:absolute;left:56.6%;top:53.5%;width:7.8%;height:38.5%;opacity:0;pointer-events:none;mix-blend-mode:screen;transform-origin:50% 100%;overflow:visible;
  filter:drop-shadow(0 0 10px rgba(255,214,140,.85)) drop-shadow(0 0 34px rgba(255,190,110,.45));animation:ward-breathe 2.8s ease-in-out infinite}
@keyframes ward-breathe{0%,100%{filter:drop-shadow(0 0 10px rgba(255,214,140,.85)) drop-shadow(0 0 34px rgba(255,190,110,.45))}
  50%{filter:drop-shadow(0 0 16px rgba(255,224,160,1)) drop-shadow(0 0 48px rgba(255,196,120,.6))}}
/* the gold it throws on the planks */
.ward-foot{position:absolute;left:52%;top:88.5%;width:20%;height:6%;opacity:0;pointer-events:none;mix-blend-mode:screen;border-radius:50%;
  background:radial-gradient(closest-side,rgba(255,226,160,.55),rgba(255,206,130,.18) 55%,rgba(255,206,130,0))}
.bell-ring{position:absolute;left:var(--x);top:var(--y);width:0;height:0;pointer-events:none}
.bell-ring i{position:absolute;left:-9px;top:-9px;width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(255,232,180,.9);opacity:0}
.bell-ring.is-on i{animation:ring-out 2s ease-out}
.bell-ring.is-on i + i{animation-delay:.26s}

@media (prefers-reduced-motion:reduce){ .ward{animation:none} }

/* In a narrower window the bridge's lines keep to the left of the Guardian and her shield. */
@media (min-width:761px) and (max-width:1180px){
  #the-bridge .tell{width:min(19rem,31vw)}
}
