/* VOICES page 1: PC/tablet layout repair only (2026-11-06).
   The accepted mobile layout and all JS/animation/image assets stay untouched.
   Desktop navigation will be integrated with the main Eagle Homes site separately. */
@media (min-width:700px) and (max-width:899px) {
  #integrated-main {
    box-sizing:border-box;
    width: min(100%, 530px);
    max-width:530px;
    margin-inline:auto;
  }
}
@media (min-width:900px) {
  html, body { width:100%; margin:0; overflow-x:hidden; }
  body { background:#eae8e2; }
  #integrated-main {
    box-sizing:border-box;
    width:460px;
    min-width:0;
    max-width:calc(100vw - clamp(42px,7.8vw,132px) - 160px);
    margin-left:clamp(42px,7.8vw,132px);
    margin-right:0;
    background:#fff;
    overflow:hidden;
    box-shadow:0 0 0 1px rgba(70,68,63,.055),0 12px 55px rgba(60,54,44,.06);
  }
  /* Each stage now obeys the same content rail as the site's other pages. */
  #integrated-main > *,
  #integrated-main #part-fv,
  #integrated-main #comics-fix,
  #integrated-main #guide-to-before-after,
  #integrated-main #part-ba,
  #integrated-main #voices-door-entry {
    box-sizing:border-box;
    width:100%;
    max-width:100%;
    min-width:0;
  }
  #integrated-main #part-fv .viewport,
  #integrated-main #part-fv .scene { width:100%; max-width:100%; }
  #integrated-main #comics-fix .comic-layer {width:100%;max-width:100%;}
  #integrated-main #comics-fix .comic-layer > img {width:100%;height:auto;}
  /* The approved manga's white margins are retained on PC, as in the baseline. */
  #integrated-main #guide-to-before-after .popout-inner {
    box-sizing:border-box;
    width:100%;max-width:100%;min-width:0;
    padding:34px 15px 37px 4px;
    min-height:320px;
    gap:0;
  }
  #integrated-main #guide-to-before-after .popout-character {
    flex:0 0 38%;width:38%;max-width:38%;
    margin-top:-38px;margin-right:-14px;
    min-width:0;
  }
  #integrated-main #guide-to-before-after .popout-speech {
    flex:1 1 auto;width:auto;max-width:calc(62% + 14px);min-width:0;
    padding:17px 14px 19px 23px;
    border-radius:30px 25px 28px 25px;
  }
  #integrated-main #guide-to-before-after .popout-speech p {
    font-size:clamp(20px,2vw,25px);
    line-height:1.42;
    overflow-wrap:anywhere;
  }
  #integrated-main #part-ba .wrap {width:100%;max-width:100%;box-sizing:border-box;}
  #integrated-main #part-ba .compare {max-width:100%;box-sizing:border-box;}
  #integrated-main #voices-door-frame {width:100%;display:block;}
}
