/* 2026-11-01 — Desktop widescreen landscape cards.
   Use spare WIDTH to make all six worlds visible in a 3 × 2 grid.
   Keep each original 16:9 video at its unwarped aspect ratio; move
   the existing headings/descriptions/buttons over a readable dark fade.
   No HTML interactions, videos, hover sounds or navigation are changed.
   The existing tablet/mobile layout is deliberately untouched. */
@media (min-width: 1200px) {
  body.compass-worlds-page main.cw-page .cw-container {
    max-width: 1480px !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid {
    width: min(100%, 1430px, calc(210dvh - 525px)) !important;
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
    column-gap: clamp(18px,2vw,26px) !important;
    row-gap: 58px !important;
    padding: 4px 8px 14px !important;
    margin-inline: auto !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    height: auto !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated > .cw-art.cw-art {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated > .cw-content {
    position: absolute !important;
    z-index: 120 !important;
    inset: auto 0 0 !important;
    display: flex !important;
    flex: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    min-height: 0 !important;
    padding: 27px 14px 9px !important;
    background: linear-gradient(180deg,
      rgba(4,8,29,0) 0%,
      rgba(4,8,29,.75) 19%,
      rgba(4,8,29,.96) 49%,
      #080d22 100%) !important;
    pointer-events: none;
  }
  /* The card is still a single full-area anchor, including its action. */
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated .cw-content .cw-tag {
    color: #90f8fa !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 5px #05051a !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated .cw-content h2 {
    color: #fff !important;
    font-size: clamp(17px,1.65vw,22px) !important;
    line-height: 1.18 !important;
    margin: 3px 0 4px !important;
    text-shadow: 0 2px 5px #05051b,0 0 10px #ffffff4f !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated .cw-content p {
    color: #f0f4ff !important;
    font-size: 12.5px !important;
    line-height: 1.25 !important;
    margin: 0 0 5px !important;
    text-shadow: 0 1px 4px #020317 !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated.cw-world-animated .cw-content .cw-action {
    color: #fff !important;
    font-size: 12px !important;
    min-height: 33px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 2px 4px 2px 10px !important;
    border: 1px solid rgba(145,219,255,.8) !important;
    border-radius: 10px !important;
    background: rgba(34,50,87,.65) !important;
    box-shadow: 0 0 7px rgba(97,192,255,.36) !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid > a.cw-card.cw-world-animated .cw-content .cw-arrow {
    width: 28px !important;
    min-width: 28px !important;
    flex-basis: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
  }
  body.compass-worlds-page main.cw-page {
    padding-top: 41px !important;
  }
  body.compass-worlds-page main.cw-page .cw-intro.cw-intro-live {
    margin: 0 auto 42px !important;
    padding: 0 8px 4px !important;
  }
}
@media (min-width:1200px) and (max-height:850px) {
  body.compass-worlds-page main.cw-page {
    padding-top: 32px !important;
  }
  body.compass-worlds-page main.cw-page .cw-intro.cw-intro-live {
    margin-bottom: 38px !important;
    padding-bottom: 2px !important;
  }
  body.compass-worlds-page main.cw-page .cw-intro.cw-intro-live h1 {
    font-size: clamp(43px,3.6vw,54px) !important;
    line-height: 1.09 !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid {
    row-gap: 54px !important;
  }
}

/* Short desktop windows retain the requested title/row clearance while the
   viewport-height width cap keeps the original 16:9 card proportions intact.
   Extremely short windows may still need normal page scrolling. */
@media (min-width:1200px) and (max-height:710px) {
  body.compass-worlds-page main.cw-page { padding-top: 20px !important; }
  body.compass-worlds-page main.cw-page .cw-intro.cw-intro-live {
    margin-bottom: 25px !important;
  }
  body.compass-worlds-page main.cw-page .cw-grid {
    row-gap: 40px !important;
    width: min(100%,1430px,calc(210dvh - 525px)) !important;
  }
}
