/* The passage only occupies the former guard terrace, under the existing dungeon floors. */
.hearth-passage { display: none; }
@media (min-width: 901px) {
  /* Keep the original section height: moving it would also move every dungeon and gate. */
  #koy { min-height: 165vh; }
  .cbridge { display: none; }
  #koy.stage > .panel { width: calc(100% - min(4vw, 55px)); margin-right: min(4vw, 55px); }
  .hearth-passage:not([hidden]) {
    display: block; position: absolute; left: 0; right: 0; pointer-events: none;
    background-color: #13232a;
    background-image: linear-gradient(90deg,rgba(3,9,14,.6),transparent 39%,transparent 70%,rgba(3,9,14,.35)),
      url(assets/hearth-passage-v3.jpg);
    background-size: 100% 100%, cover;
    background-position: center, center;
    background-repeat: no-repeat;
    -webkit-mask-image: linear-gradient(transparent,#000 var(--passage-in,70px),#000 calc(100% - 30px),transparent);
    mask-image: linear-gradient(transparent,#000 var(--passage-in,70px),#000 calc(100% - 30px),transparent);
  }
}
