/* RO project only. Existing shared styles are loaded from the official site. */
/* RO case-only HERO: approved plain display, bold lead; no dark smoke panel. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-hero p{font-weight:700;}

@media (min-width: 701px) {
      .y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-hero::after {
        background: linear-gradient(90deg,
          rgba(10,13,14,.44) 0%,
          rgba(10,13,14,.30) 31%,
          rgba(10,13,14,.14) 62%,
          rgba(10,13,14,.04) 100%);
      }
    }

    /* RO project only: improve HERO lead readability without altering approved smoke. */
    .y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-hero__inner > p {
      color: #ffffff;
      font-weight: 700;
      font-size: clamp(17px, 1.35vw, 18px);
      text-shadow: 0 1px 2px rgba(0,0,0,.62), 0 2px 7px rgba(0,0,0,.22);
    }
    .y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-hero__inner > p strong {
      font-weight: 700;
    }
  
/* RO / 03-03 only: contain user-provided 4:3 artwork and enable lightbox. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story figure.ro-action-figure {
  aspect-ratio:16/10; background:#eef2f6; overflow:hidden;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story .ro-action-open {
  display:block; width:100%; height:100%; margin:0; padding:0; border:0;
  background:transparent; cursor:zoom-in;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story .ro-action-open img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-action-open:focus-visible,
.ro-action-lightbox .ro-compare-lightbox__close:focus-visible {
  outline:3px solid #4adbdc; outline-offset:-3px;
}

/* RO test variant only: small imagery labels, notes and selectable copyright. */
.y53-scope .case-page .ro-confirm{font-size:.82em;color:#a8792b;font-weight:600;white-space:normal}
.y53-scope .case-page .cv-section--dark .ro-confirm{color:#efcd84}
.y53-scope .case-page .ro-hero-imagery-note{position:absolute;right:24px;top:72px;z-index:3;color:#fff;font-size:11px;font-weight:500;text-shadow:0 1px 4px rgba(0,0,0,.85);letter-spacing:.03em}
.y53-scope .case-page .ro-imagery-figure{position:relative}
.y53-scope .case-page .ro-imagery-figure figcaption{position:absolute;right:9px;bottom:9px;padding:3px 7px;border-radius:3px;background:rgba(0,0,0,.58);font-size:11px;color:#fff;line-height:1.4}
.y53-scope .case-page .ro-copyright-text{background:#fff;padding:13px 32px;border-top:1px solid #e5e8eb;border-bottom:1px solid #e5e8eb;font-size:10.5px;line-height:1.6;text-align:center;color:#57636a}
@media(max-width:700px){.y53-scope .case-page .ro-hero-imagery-note{right:15px;top:58px}.y53-scope .case-page .ro-copyright-text{padding:12px 18px;font-size:9.5px}}

/* RO page only | 03-01 original-to-model carousel & modal preview. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-carousel {
  position:relative; width:100%; aspect-ratio:16/10; overflow:hidden; margin:0; background:#eef2f4;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-viewport,
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-slide { position:absolute; inset:0; }
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-slide {
  opacity:0; visibility:hidden; pointer-events:none; transition:opacity .45s ease;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-slide.is-active { opacity:1; visibility:visible; pointer-events:auto; }
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-open {
  display:block; width:100%; height:100%; padding:0; border:0; cursor:zoom-in; background:transparent;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-open img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center center;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-arrow {
  position:absolute; z-index:4; top:50%; transform:translateY(-50%); width:30px; height:42px; padding:0;
  border:1px solid rgba(255,255,255,.8); border-radius:6px; color:white;
  background:rgba(23,42,51,.58); font-size:19px; display:grid; place-items:center; cursor:pointer;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-arrow--prev { left:7px; }
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-arrow--next { right:7px; }
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-dots {
  position:absolute; z-index:4; bottom:25px; left:50%; transform:translateX(-50%);
  display:flex; justify-content:center; gap:0; padding:0; border:0; border-radius:0;
  background:transparent; box-shadow:none;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-dot {
  display:grid; place-items:center; width:8px; height:18px; padding:0; border:0;
  background:transparent; cursor:pointer;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-dot span {
  width:5px; height:5px; border:1px solid rgba(30,51,63,.68); border-radius:50%;
  background:rgba(255,255,255,.68); box-shadow:0 0 1px rgba(255,255,255,.65);
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-dot.is-current span {
  background:#233e50; border-color:#233e50; transform:none;
}
.ro-compare-lightbox[hidden] { display:none !important; }
.ro-compare-lightbox { position:fixed; inset:0; z-index:99999; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:64px 56px 38px; background:rgba(0,0,0,.88); }
.ro-compare-lightbox__img { display:block; max-width:100%; max-height:calc(100vh - 135px); object-fit:contain; box-shadow:0 15px 35px rgba(0,0,0,.35); }
.ro-compare-lightbox__close { position:absolute; top:14px; right:18px; width:46px; height:46px; border:1px solid rgba(255,255,255,.7); border-radius:50%; color:#fff; background:rgba(0,0,0,.4); font-size:30px; line-height:1; cursor:pointer; }
.ro-compare-lightbox__arrow { position:absolute; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:46px; height:54px; padding:0; border:1px solid rgba(255,255,255,.55); border-radius:8px; background:rgba(0,0,0,.35); color:#fff; font-size:30px; cursor:pointer; }
.ro-compare-lightbox__arrow--prev { left:10px; }
.ro-compare-lightbox__arrow--next { right:10px; }
.ro-compare-lightbox__status { margin-top:16px; color:#fff; font-size:14px; letter-spacing:.06em; text-align:center; }
.ro-compare-lightbox__dots { display:flex; justify-content:center; gap:12px; margin-top:10px; }
.ro-compare-lightbox__dot { border:1px solid #fff; border-radius:50%; width:9px; height:9px; padding:0; background:transparent; cursor:pointer; }
.ro-compare-lightbox__dot.is-current { background:#fff; }
.ro-compare-lightbox button:focus-visible, .ro-compare-carousel button:focus-visible { outline:3px solid #4adbdc; outline-offset:2px; }
body.ro-compare-modal-open { overflow:hidden; }
@media (max-width:700px) {
  .ro-compare-lightbox { padding:60px 31px 34px; }
  .ro-compare-lightbox__img { max-height:calc(100vh - 165px); }
  .ro-compare-lightbox__arrow { width:30px; height:46px; font-size:22px; }
  .ro-compare-lightbox__arrow--prev { left:2px; }
  .ro-compare-lightbox__arrow--next { right:2px; }
}
@media (prefers-reduced-motion:reduce) {
  .y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-compare-slide { transition:none; }
}


/* RO / 03-02 only: contain complete 4:3 image inside existing 16:10 card. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story figure.ro-expression-figure {
  aspect-ratio:16/10; background:#eef2f6; overflow:hidden;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story .ro-expression-open {
  display:block; width:100%; height:100%; margin:0; padding:0; border:0;
  background:transparent; cursor:zoom-in;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story .ro-expression-open img {
  display:block; width:100%; height:100%; object-fit:contain; object-position:center;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-expression-open:focus-visible,
.ro-expression-lightbox .ro-compare-lightbox__close:focus-visible {
  outline:3px solid #4adbdc; outline-offset:-3px;
}

/* RO / 03 only: unobtrusive instruction directly below each zoomable image. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .cv-business-story > article > p.ro-zoom-hint {
  margin:0;
  padding:7px 8px 0;
  color:#a6b9bd;
  font-size:11px;
  font-weight:400;
  letter-spacing:.025em;
  line-height:1.35;
  text-align:center;
}
  
/* RO overview only: one combined comparison image; responsive, single-target zoom. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison{
  width:100%;max-width:720px;min-width:0;margin:24px 0 28px;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison__open{
  display:block;width:100%;margin:0;padding:0;border:1px solid #d6e2eb;
  border-radius:12px;background:#f5f7fa;overflow:hidden;cursor:zoom-in;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison__open img{
  display:block;width:100%;height:auto;max-width:100%;object-fit:contain;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison figcaption{
  display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center;justify-content:space-between;
  margin-top:8px;color:#60747f;font-size:11px;line-height:1.6;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison figcaption span{
  color:#3a7185;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison__open:focus-visible{
  outline:3px solid #0b7186;outline-offset:3px;
}
.ro-origin-lightbox .ro-compare-lightbox__img{
  max-width:100%;max-height:calc(100dvh - 120px);height:auto;
}
@media(max-width:700px){
  .y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-origin-comparison{margin:20px 0 24px;}
  .ro-origin-lightbox{padding:60px 12px 20px;}
  .ro-origin-lightbox .ro-compare-lightbox__img{max-height:calc(100dvh - 100px);}
}

/* RO overview only: short game introduction box with official link. */
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game{
  margin-top:28px;padding:24px 28px;border:1px solid #d9e4eb;border-radius:16px;background:#f7fafc;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game__kicker{
  display:block;margin-bottom:8px;color:#5a7480;font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game h3{
  margin:0 0 14px;font-size:24px;line-height:1.3;color:#112532;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game p{
  margin:0 0 12px;color:#2f4049;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game p:last-of-type{margin-bottom:0;}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game__link{
  display:inline-flex;align-items:center;gap:8px;margin-top:16px;color:#0f6c84;font-weight:700;text-decoration:none;
}
.y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game__link:hover{text-decoration:underline;}
@media(max-width:700px){
  .y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game{margin-top:24px;padding:20px 18px;border-radius:14px;}
  .y53-scope .case-page[aria-labelledby="case-ro-h"] .ro-about-game h3{font-size:20px;}
}
