.game-detail-page { background: #f7f8fa; color: #16191f; font-family: Arial, "Microsoft YaHei", sans-serif; }
.game-detail-page a:hover, .game-detail-page a:focus, .game-detail-page a:active { outline: none !important; text-decoration: none !important; }
.game-detail-page * { box-sizing: border-box; }
.game-detail-page a { text-decoration: none; }
.game-detail-hero { position: relative; height: 600px; overflow: hidden; }
.game-detail-hero > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.game-detail-hero.focus-character > img { object-position: center top; }
.game-detail-hero::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, #f7f8fa 96%); pointer-events: none; }
.game-detail-shell { position: relative; width: min(1312px, calc(100% - 48px)); margin: -58px auto 0; padding-bottom: 80px; display: grid; grid-template-columns: minmax(0, 932px) minmax(300px, 340px); gap: 40px; align-items: stretch; }
.game-detail-main { min-width: 0; }
.game-detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.game-detail-icon { width: 72px; height: 72px; flex: none; border-radius: 12px; object-fit: cover; }
.game-detail-title { margin: 0; font-size: 32px; font-weight: 500; line-height: 1.3; }
.game-detail-official { margin-left: auto; display: inline-flex; min-width: 160px; height: 42px; align-items: center; justify-content: center; border-radius: 24px; color: #fff; background: #f51c3a; font-size: 15px; }
.game-detail-official:hover { background: #d7132e; color: #fff; }
.game-detail-card { margin: 0 0 20px; padding: 30px; border-radius: 8px; background: #fff; }
.game-detail-card h2, .game-detail-more h2 { margin: 0 0 26px; font-size: 23px; line-height: 1.4; font-weight: 700; }
.game-detail-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 30px; }
.game-detail-fact { display: flex; align-items: center; min-height: 32px; gap: 16px; font-size: 15px; }
.game-detail-fact-label { color: #89909e; min-width: 104px; }
.game-detail-fact-value { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.game-detail-fact-value a { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; }
.game-detail-fact-value a:hover { opacity: .72; }
.game-detail-fact-value img { width: 34px; height: 34px; object-fit: contain; }
.game-detail-fact-value .text-link { width: auto; height: auto; padding: 0 10px; border-radius: 18px; font-size: 13px; color: #263040; }
.game-detail-platform { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: #474f5b; }
.game-detail-platform img { width: 22px; height: 22px; }
.game-detail-actions { display: flex; gap: 10px; margin-top: 24px; }
.game-detail-actions a { display: inline-flex; min-height: 38px; min-width: 150px; padding: 8px 18px; align-items: center; justify-content: center; border-radius: 4px; color: #4d5666; background: #eef0f5; font-size: 14px; }
.game-detail-actions a:hover { background: #e1e4ec; }
.game-detail-intro { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.game-detail-intro div { font-size: inherit; line-height: inherit; }
.game-detail-intro p { margin: 0 0 8px; }
.game-detail-intro p:last-child { margin-bottom: 0; }
.game-detail-intro img, .game-detail-intro video { max-width: 100%; height: auto; }
.game-detail-gallery-wrap { position: relative; }
.game-detail-gallery { display: flex; gap: 16px; overflow-x: hidden; scroll-behavior: smooth; scrollbar-width: none; }
.game-detail-gallery::-webkit-scrollbar { display: none; }
.game-detail-gallery img { display: block; width: auto; height: 330px; max-width: 530px; flex: none; border-radius: 7px; object-fit: contain; background: #f2f3f7; }
.game-detail-gallery-arrow { position: absolute; z-index: 1; top: 50%; width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #333; box-shadow: 0 2px 10px #0002; font-size: 30px; line-height: 32px; cursor: pointer; transform: translateY(-50%); }
.game-detail-gallery-arrow.is-prev { left: -18px; }
.game-detail-gallery-arrow.is-next { right: -18px; }
.game-detail-gallery-arrow:disabled { opacity: .4; cursor: default; }
.game-detail-gallery-arrow:focus-visible { outline: 2px solid #f51c3a; outline-offset: 2px; }
@media (min-width: 901px) {
  .game-detail-page--rush .game-detail-gallery img { width: 240px; height: 426px; max-width: none; }
}
.game-detail-more { position: sticky; top: 96px; align-self: start; padding-top: 5px; }
.game-detail-more h2 { font-size: 25px; }
.game-detail-more-list { display: flex; flex-direction: column; gap: 5px; }
.game-detail-more-list a { display: flex; min-height: 72px; gap: 16px; padding: 7px; align-items: center; border-radius: 9px; color: #373c44; font-size: 17px; transition: background .2s ease; }
.game-detail-more-list a:hover, .game-detail-more-list a:focus-visible { background: #e4e6eb; }
.game-detail-more-list img { width: 56px; height: 56px; flex: none; border-radius: 9px; object-fit: cover; }
@media (max-width: 900px) {
  .game-detail-hero { height: min(75vw, 360px); min-height: 280px; }
  .game-detail-hero > img { object-position: center top; }
  .game-detail-hero.focus-character > img { transform: scale(1.75); transform-origin: 50% 0; }
  .game-detail-shell { display: block; width: 100%; margin: 0 auto; padding-bottom: 0; }
  .game-detail-head { display: flex; flex-direction: column; gap: 0; margin: -58px 0 26px; position: relative; z-index: 1; text-align: center; }
  .game-detail-icon { width: 88px; height: 88px; margin-bottom: 10px; border-radius: 15px; box-shadow: 0 8px 20px #1b253125; }
  .game-detail-title { font-size: 24px; padding: 0 18px; }
  .game-detail-official { margin: 14px auto 0; min-width: 152px; height: 34px; font-size: 14px; }
  .game-detail-card { border-radius: 8px; padding: 26px 23px; margin-bottom: 8px; }
  .game-detail-card h2, .game-detail-more h2 { font-size: 18px; margin-bottom: 18px; }
  .game-detail-facts { display: flex; flex-direction: column; gap: 15px; }
  .game-detail-fact { justify-content: space-between; font-size: 14px; gap: 12px; }
  .game-detail-fact-label { min-width: 76px; }
  .game-detail-fact-value { justify-content: flex-end; text-align: right; }
  .game-detail-actions { margin-top: 22px; }
  .game-detail-actions a { flex: 1; min-width: 0; font-size: 13px; }
  .game-detail-intro { font-size: 14px; line-height: 1.7; }
  .game-detail-gallery { gap: 9px; }
  .game-detail-gallery img { height: 162px; max-width: 300px; }
  .game-detail-gallery-arrow { width: 32px; height: 32px; font-size: 26px; line-height: 27px; }
  .game-detail-gallery-arrow.is-prev { left: -14px; }
  .game-detail-gallery-arrow.is-next { right: -14px; }
  .game-detail-more { position: static; padding: 22px 23px 30px; }
  .game-detail-more-list { flex-direction: row; gap: 15px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .game-detail-more-list::-webkit-scrollbar { display: none; }
  .game-detail-more-list a { width: 88px; min-height: 0; flex: none; flex-direction: column; padding: 0; text-align: center; align-items: center; gap: 7px; font-size: 12px; line-height: 1.35; scroll-snap-align: start; }
  .game-detail-more-list img { width: 88px; height: 88px; }
  .game-detail-more-list span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
@media (prefers-reduced-motion: reduce) { .game-detail-more-list a { transition: none; } }
