/* Wide landscape hero for game detail pages (isolated file to bypass stale CSS caches) */
body.detail-page.detail-page-game.detail-v2 .detail-main-cover.is-wide-hero img {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  object-fit: cover;
  object-position: center;
}
.detail-main-cover.is-wide-hero img {
  aspect-ratio: 16 / 9 !important;
  height: auto !important;
  object-position: center;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact.hero-wide {
  grid-template-columns: minmax(0, 1fr) !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact.hero-wide .detail-media-panel {
  width: 100% !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact.hero-wide .detail-main-cover img {
  max-height: 480px;
}

/* Portrait hero: compact cover, height matches the info column beside it */
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact:not(.hero-wide) {
  grid-template-columns: 236px minmax(0, 1fr) !important;
  gap: 22px !important;
  align-items: stretch !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact:not(.hero-wide) .detail-media-panel {
  width: 236px !important;
  max-width: 236px !important;
  padding: 8px !important;
  height: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact:not(.hero-wide) .detail-main-cover {
  height: 100% !important;
  margin: 0 !important;
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: stretch !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-hero-compact:not(.hero-wide) .detail-main-cover img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: cover !important;
  object-position: center center;
}

.detail-source-note {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: #8a93a6;
}
.detail-source-note a {
  color: #4d8ef7;
  text-decoration: none;
  border-bottom: 1px dashed rgba(77, 142, 247, 0.5);
}

/* multi-paragraph game intro */
.detail-intro-copy h3 {
  margin: 22px 0 8px;
  font-size: 15px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .02em;
}
.detail-intro-copy h3:first-of-type {
  margin-top: 14px;
}
.detail-intro-copy h3::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 13px;
  margin-right: 8px;
  vertical-align: -1px;
  border-radius: 2px;
  background: linear-gradient(180deg, #d8b06a, #b3853c);
}

/* related games: compact list instead of one oversized cover */
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game {
  display: block !important;
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box;
}
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-grid {
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px 14px !important;
  align-items: start;
}
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-tile {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
}
@media (max-width: 720px) {
  body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-tile-cover {
  display: block !important;
  width: 100% !important;
  aspect-ratio: 2 / 3 !important;
  max-height: 210px !important;
  border-radius: 8px !important;
  overflow: hidden !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-tile-cover img {
  width: 100% !important;
  height: 100% !important;
  max-height: 210px !important;
  object-fit: cover !important;
  object-position: center top !important;
}
body.detail-page.detail-page-game.detail-v2 .detail-related-card-game .detail-related-tile b {
  margin-top: 6px !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

/* ---------- v2: review scores ---------- */
body.detail-page.detail-page-game.detail-v2 .review-table {
  margin-top: 6px;
}
body.detail-page.detail-page-game.detail-v2 .review-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px dashed rgba(163, 145, 110, .28);
}
body.detail-page.detail-page-game.detail-v2 .review-row:last-child {
  border-bottom: 0;
}
body.detail-page.detail-page-game.detail-v2 .review-row-head {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body.detail-page.detail-page-game.detail-v2 .review-row-head b {
  font-size: 14px;
  line-height: 1.4;
  color: #2f3444;
  display: flex;
  align-items: center;
  gap: 8px;
}
body.detail-page.detail-page-game.detail-v2 .review-region {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  padding: 3px 7px;
  border-radius: 999px;
  color: #77808f;
  background: rgba(120, 128, 143, .1);
  border: 1px solid rgba(120, 128, 143, .22);
}
body.detail-page.detail-page-game.detail-v2 .review-region.is-cn {
  color: #9a6a1f;
  background: rgba(179, 133, 60, .12);
  border-color: rgba(179, 133, 60, .35);
}
body.detail-page.detail-page-game.detail-v2 .review-row-head small {
  font-size: 12px;
  line-height: 1.5;
  color: #8a93a6;
}
body.detail-page.detail-page-game.detail-v2 .review-row-score {
  flex: 0 0 auto;
  display: flex;
  align-items: baseline;
  gap: 2px;
  min-width: 84px;
  justify-content: flex-end;
}
body.detail-page.detail-page-game.detail-v2 .review-row-score strong {
  font-size: 22px;
  line-height: 1;
  font-weight: 800;
  color: #b3853c;
  font-variant-numeric: tabular-nums;
}
body.detail-page.detail-page-game.detail-v2 .review-row-score span {
  font-size: 12px;
  color: #9aa0ae;
}
body.detail-page.detail-page-game.detail-v2 .review-row-link {
  flex: 0 0 auto;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(179, 133, 60, .45);
  background: rgba(179, 133, 60, .08);
  color: #8d6425;
  font-size: 12px;
  white-space: nowrap;
  text-decoration: none;
}

/* ---------- v2: bilibili videos ---------- */
body.detail-page.detail-page-game.detail-v2 .bili-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}
@media (max-width: 900px) {
  body.detail-page.detail-page-game.detail-v2 .bili-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
body.detail-page.detail-page-game.detail-v2 .bili-video-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #111;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-meta b {
  font-size: 12.5px;
  line-height: 1.4;
  color: #2f3444;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-meta small {
  font-size: 11.5px;
  color: #8a93a6;
}
body.detail-page.detail-page-game.detail-v2 .bili-video-meta a {
  font-size: 11.5px;
  color: #4d8ef7;
  text-decoration: none;
}


