/* games/game 页头与内容区左右对齐 */
.games-header-inner { padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
@media (max-width: 1020px) { .games-header-inner { padding-left: 12px; padding-right: 12px; } }

/* 游戏单页：与首页同宽，不再额外缩进 */
.GAME-page { padding-bottom: 2.5rem; }
.GAME-main,
.home-page-cols__primary .GAME-page,
.home-page-cols__primary .GAME-main {
  margin: 0;
  max-width: none;
  width: 100%;
  padding: 0;
  box-sizing: border-box;
}

.GAME-breadcrumb { display: flex; align-items: center; flex-wrap: wrap; margin: 0 0 1rem; font-size: 14px; color: var(--text-secondary); }
.GAME-breadcrumb--page { margin-bottom: 1.25rem; }
@media (min-width: 640px) { .GAME-breadcrumb--page { margin-bottom: 1.25rem; } }
.GAME-breadcrumb a { color: var(--brand-yellow); text-decoration: none; }
.GAME-breadcrumb a:hover { text-decoration: underline; }
.GAME-breadcrumb .sep { margin: 0 6px; color: var(--text-secondary); }
.GAME-breadcrumb .current { color: var(--text); }

/* iframe 播放区：与首页 .card 一致 */
.GAME-player-wrap { position: relative; margin: 0; border-radius: 14px; overflow: hidden; background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.GAME-player-inner { position: relative; width: 100%; height: 500px; background: var(--bg); }
/* Mobile: taller play area */
@media (max-width: 768px) {
  .GAME-player-inner { height: 0; padding-bottom: 132%; }
  body.GAME-body main#content.site-layout { padding-left: 8px; padding-right: 8px; }
  body.GAME-body .site-layout--1200 { width: 100%; max-width: 100%; }
}
.GAME-iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; display: block; border-radius: 0 0 0 0; }
.GAME-player-wrap.is-expanded { position: fixed; inset: 0; z-index: 9999; margin: 0; border-radius: 0; max-width: none; width: 100vw; height: 100vh; height: 100dvh; }
.GAME-player-wrap.is-expanded .GAME-player-inner { position: absolute; top: 0; left: 0; right: 0; bottom: 48px; padding-bottom: 0; height: auto; z-index: 1; }
.GAME-player-wrap.is-expanded .GAME-toolbar { position: absolute; bottom: 0; left: 0; right: 0; z-index: 2; height: 48px; min-height: 48px; padding: 0 14px; padding-bottom: env(safe-area-inset-bottom, 0); display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--card-bg); box-shadow: 0 -2px 12px rgba(0,0,0,.35); box-sizing: border-box; border-top: 1px solid var(--card-border); }
body.GAME-body:has(.GAME-player-wrap.is-expanded) { overflow: hidden; }

.GAME-tap-hint { display: none; position: absolute; inset: 0; z-index: 8; align-items: center; justify-content: center; pointer-events: none; }
.GAME-tap-hint.is-visible { display: flex; }
.GAME-tap-hint-inner { display: inline-flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 15px; padding: 10px 18px; border: 1px solid var(--card-border); border-radius: 10px; background: var(--card-bg); }

.GAME-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; padding-bottom: calc(10px + env(safe-area-inset-bottom, 0)); background: var(--card-bg); border-top: 1px solid var(--card-border); box-sizing: border-box; }
.GAME-toolbar-title { margin: 0; font-size: 20px; font-weight: 700; color: var(--heading-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.GAME-toolbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.GAME-toolbar-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; background: rgba(139,92,246,.12); border: 1px solid var(--card-border); border-radius: 8px; color: var(--text-secondary); cursor: pointer; transition: background .2s, color .2s; }
.GAME-toolbar-btn:hover { background: var(--brand-yellow); color: var(--surface-contrast); border-color: #7F1D1D; }
.GAME-toolbar-btn svg { width: 20px; height: 20px; fill: currentColor; }
.GAME-toolbar-btn .surprise-me-icon { width: 20px; height: 20px; animation: surprise-pulse 1.8s ease-in-out infinite; }
.GAME-toolbar-btn .surprise-me-icon rect { fill: none; stroke: currentColor; }
.GAME-toolbar-btn .surprise-me-icon circle { fill: currentColor; stroke: none; }
@keyframes surprise-pulse { 0%, 100% { transform: scale(0.94); opacity: 0.9; } 50% { transform: scale(1.12); opacity: 1; } }
#surprise-me-btn.is-loading { opacity: 0.7; pointer-events: none; }
#surprise-me-btn { width: auto; min-width: 40px; padding: 0 12px; gap: 8px; }
#surprise-me-btn .surprise-me-label { font-size: 14px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; line-height: 1; letter-spacing: 0.01em; }
#surprise-me-btn:hover .surprise-me-label { color: var(--surface-contrast); }
@media (max-width: 768px) {
  .GAME-body #surprise-me-btn {
    display: inline-flex !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 42px;
    padding: 0;
    gap: 0;
  }
  .GAME-body #surprise-me-btn .surprise-me-label {
    display: none !important;
  }
}
#add-favorite-btn { width: auto; min-width: 40px; padding: 0 12px; gap: 8px; }
#add-favorite-btn .game-favorite-btn__label { font-size: 14px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; line-height: 1; letter-spacing: 0.01em; }
#add-favorite-btn:hover .game-favorite-btn__label { color: var(--surface-contrast); }
#add-favorite-btn.is-favorited .game-favorite-btn__label { color: #fff !important; }
#add-favorite-btn.is-favorited:hover .game-favorite-btn__label { color: #fff !important; }
.GAME-toolbar-btn .favorite-icon { width: 20px; height: 20px; flex-shrink: 0; display: inline-block; }
.GAME-toolbar-btn .favorite-icon--off path { fill: none !important; stroke: currentColor; stroke-width: 1.75; }
.GAME-toolbar-btn .favorite-icon--on { display: none; }
.GAME-toolbar-btn .favorite-icon--on path { fill: currentColor; stroke: none !important; }
.game-favorite-btn .favorite-icon { width: 20px; height: 20px; flex-shrink: 0; }
.game-favorite-btn .favorite-icon--on { display: none; }
.game-favorite-btn.is-favorited { background: #e11d48 !important; border-color: #be123c !important; color: #fff !important; }
.game-favorite-btn.is-favorited:hover { background: #be123c !important; color: #fff !important; }
.game-favorite-btn.is-favorited .favorite-icon--off { display: none; }
.game-favorite-btn.is-favorited .favorite-icon--on { display: inline-block !important; }
.game-favorite-btn.is-favorited .favorite-icon--on path { fill: #fff !important; stroke: none !important; }
@media (max-width: 768px) { #add-favorite-btn .game-favorite-btn__label { display: none; } }
.GAME-icon-expand { width: 20px; height: 20px; }
.GAME-icon-expand path { fill: currentColor; }
@media (max-width: 768px) {
  .GAME-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 12px 10px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0));
  }
  .GAME-toolbar-left {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    order: 1;
  }
  .GAME-toolbar-title {
    font-size: 22px;
    line-height: 1.3;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: unset;
  }
  .GAME-toolbar-right {
    flex: 0 0 100%;
    width: 100%;
    order: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    justify-content: stretch;
  }
  #surprise-me-btn {
    display: inline-flex !important;
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 42px;
    padding: 0;
    gap: 0;
  }
  #surprise-me-btn .surprise-me-label {
    display: none !important;
  }
  #add-favorite-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    height: 42px;
    padding: 0;
    gap: 0;
  }
  #add-favorite-btn .game-favorite-btn__label { display: none; }
  .GAME-toolbar-btn {
    width: 100%;
    min-width: 0;
    height: 42px;
    flex-shrink: 1;
  }
}

.GAME-intro-title { font-size: 28px; font-weight: 700; color: var(--text); text-align: center; margin: 0 0 20px; letter-spacing: 0.02em; line-height: 1.25; }
.GAME-intro-img-wrap { text-align: center; margin: 0 0 20px; }
.GAME-intro-img-wrap img { display: block; max-width: 100%; height: auto; border-radius: 10px; margin-left: auto; margin-right: auto; }
.GAME-intro { font-size: 17px; line-height: 1.7; color: var(--text-secondary); }

.GAME-newgames { margin: 40px 0 0; padding: 32px 0 8px; border-top: 1px solid var(--card-border); }
.GAME-newgames-heading { font-size: 24px; font-weight: 700; color: var(--text); margin: 0 0 28px; letter-spacing: 0.03em; text-align: center; }
.GAME-newgames-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; max-width: 100%; }
/* 首页相似游戏：一行 7 个 */
.similar-games-section.GAME-newgames .GAME-newgames-grid { grid-template-columns: repeat(7, 1fr); }
.GAME-newgames-item { position: relative; display: block; width: 100%; min-width: 0; text-decoration: none; color: inherit; border-radius: 12px; overflow: visible; box-shadow: 0 4px 20px rgba(0,0,0,0.15); transition: transform 0.35s ease, box-shadow 0.35s ease; background: var(--card-bg); border: 1px solid var(--card-border); }
.GAME-newgames-item:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.25); }
.GAME-newgames-img-wrap { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: var(--surface); }
.GAME-newgames-badge { position: absolute; top: -6px; right: -6px; z-index: 3; font-size: 10px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 8px; border-radius: 6px; line-height: 1.2; pointer-events: none; }
.GAME-newgames-badge--new { color: #fff; background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%); border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35), 0 0 0 1px rgba(22,163,74,0.5); }
.GAME-newgames-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.GAME-newgames-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 45%, rgba(0,0,0,0.88) 100%); opacity: 0; transition: opacity 0.3s ease; }
.GAME-newgames-item:hover .GAME-newgames-overlay { opacity: 1; }
.GAME-newgames-name { font-size: 12px; font-weight: 700; color: #fff; text-align: center; margin-bottom: 6px; padding: 0 6px; }
.GAME-newgames-play { font-size: 10px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); padding: 6px 12px; border: 1px solid rgba(139,92,246,0.4); border-radius: 100px; background: rgba(139,92,246,.12); }
.GAME-newgames-play--now::before { content: "Play now"; }
.GAME-newgames-play--home::before { content: "Home"; }
.GAME-newgames-item:hover .GAME-newgames-play { background: var(--brand-yellow); color: var(--surface-contrast); border-color: #7F1D1D; }
@media (max-width: 900px) { .GAME-newgames-grid { grid-template-columns: repeat(4, 1fr); } .similar-games-section.GAME-newgames .GAME-newgames-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 768px) { .GAME-newgames-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; } .GAME-newgames-heading { font-size: 20px; margin-bottom: 20px; } .similar-games-section.GAME-newgames .GAME-newgames-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .GAME-newgames-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; } .similar-games-section.GAME-newgames .GAME-newgames-grid { grid-template-columns: repeat(2, 1fr); } }

.home-page-cols--game .home-page-cols__primary > .GAME-player-wrap + #gg-section,
.home-page-cols--game .home-page-cols__primary > #gg-section { margin-top: 1rem; }
.home-page-cols--game .home-page-cols__primary > .ad-leaderboard-slot,
.home-page-cols--game .home-page-cols__primary > #gg-section.ad-leaderboard-slot {
  width: 100%;
  max-width: 100%;
  height: 90px;
  min-height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 0;
  overflow: hidden;
}
@media (max-width: 767px) {
  .home-page-cols--game .home-page-cols__primary > .ad-leaderboard-slot,
  .home-page-cols--game .home-page-cols__primary > #gg-section.ad-leaderboard-slot {
    height: 90px;
    min-height: 90px;
  }
}
.home-page-cols--game .ad-leaderboard-slot .ad-slot-iframe--leaderboard {
  width: 100%;
  max-width: 728px;
  height: 90px;
  min-height: 90px;
  margin: 0 auto;
  display: block;
  overflow: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
@media (max-width: 767px) {
  .home-page-cols--game .ad-leaderboard-slot .ad-slot-iframe--leaderboard {
    max-width: 360px;
    height: 90px;
    min-height: 90px;
  }
}
.home-page-cols--game .ad-leaderboard-slot .ad-slot-iframe--leaderboard::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.home-page-cols--game .home-page-cols__primary > .GAME-content { margin-top: 1.25rem; }
@media (min-width: 640px) {
  .home-page-cols--game .home-page-cols__primary > .GAME-content { margin-top: 1.5rem; }
}
.GAME-content { margin-top: 0; }
.GAME-article { background: var(--card-bg); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,.15); padding: 32px 36px; margin-bottom: 24px; border: 1px solid var(--card-border); }
@media (max-width: 768px) {
  .GAME-article { padding: 20px 12px; }
}
.GAME-article h1 { font-size: 26px; font-weight: 700; color: var(--text); margin: 0 0 20px; line-height: 1.3; }
.GAME-article h2 { font-size: 20px; font-weight: 600; color: var(--text); margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--card-border); }
.home-more-fn-games__title--game { font-size: 20px; font-weight: 600; color: var(--text); margin: 24px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--card-border); text-align: center; }
.GAME-article h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
.GAME-article p { margin: 0 0 14px; font-size: 16px; line-height: 1.65; color: var(--text-secondary); }
.GAME-article ul, .GAME-article ol { margin: 12px 0; padding-left: 24px; }
.GAME-article li { margin: 6px 0; line-height: 1.6; color: var(--text-secondary); }

.GAME-steps { margin: 24px 0; }
.GAME-step { display: flex; gap: 16px; margin-bottom: 20px; padding: 20px; background: rgba(255,159,28,.08); border-radius: 10px; border-left: 4px solid var(--brand-yellow); }
.GAME-step-num { flex-shrink: 0; width: 36px; height: 36px; background: var(--brand-yellow); color: #0E1A16; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.GAME-step-body { text-align: left; }
.GAME-step .GAME-step-img-wrap { display: block; width: fit-content; max-width: 100%; margin-bottom: 12px; margin-left: 0; margin-right: auto; border-radius: 12px !important; overflow: hidden !important; }
.GAME-step .GAME-step-img-wrap img { display: block; max-width: 600px; width: 100%; height: auto; max-height: 400px; object-fit: contain; border-radius: 12px !important; }
@media (max-width: 768px) { .GAME-step .GAME-step-img-wrap img { max-width: min(360px, 90vw); } }
.GAME-step-body h3 { margin: 0 0 6px; font-size: 17px; }
.GAME-step-body-content { font-size: 15px; line-height: 1.65; color: var(--text-secondary); }
.GAME-step-body-content p { margin: 0 0 10px; }
.GAME-step-body-content p:last-child { margin-bottom: 0; }

.GAME-control-block { margin: 14px 0 18px; padding: 14px 16px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 10px; }
.GAME-control-block:last-child { margin-bottom: 0; }
.GAME-control-title { display: inline-flex; align-items: center; font-size: 13px; font-weight: 700; color: var(--text); margin: 0 0 10px; letter-spacing: 0.04em; text-transform: uppercase; padding: 6px 0 6px 12px; border-left: 4px solid var(--brand-yellow); border-radius: 0 6px 6px 0; background: rgba(255,159,28,.12); }
.GAME-control-title.GAME-control-title--pc { border-left-color: #60a5fa; background: rgba(96,165,250,.12); }
.GAME-control-title.GAME-control-title--mobile { border-left-color: #34d399; background: rgba(52,211,153,.12); }
.GAME-control-title .GAME-control-title-icon { margin-right: 8px; font-size: 16px; line-height: 1; opacity: .9; }
.GAME-control-row { margin: 8px 0; font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.GAME-control-row .GAME-key { vertical-align: middle; }
.GAME-key { display: inline-flex; align-items: center; justify-content: center; min-width: 28px; padding: 5px 10px; margin: 0 4px; font-size: 13px; font-weight: 700; font-family: inherit; color: #1f2937; background: linear-gradient(180deg, #eef1f5 0%, #e0e4ea 100%); border: 1px solid #c5cad3; border-radius: 6px; box-shadow: 0 1px 0 rgba(255,255,255,.8), 0 2px 4px rgba(0,0,0,.12); line-height: 1.2; }
.GAME-key.GAME-key--arrow { font-size: 14px; padding: 5px 8px; min-width: 26px; }
.GAME-key.GAME-key--space { min-width: 56px; padding: 5px 12px; }
.GAME-faq { margin: 24px 0; }
.GAME-faq-item { border: 1px solid var(--card-border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: var(--card-bg); }
.GAME-faq-q { width: 100%; padding: 16px 44px 16px 18px; text-align: left; font-size: 16px; font-weight: 600; color: var(--text); background: rgba(255,255,255,.04); border: none; cursor: pointer; position: relative; }
.GAME-faq-q::after { content: ''; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 0; height: 0; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 6px solid var(--text-secondary); transition: transform .2s; }
.GAME-faq-item.is-open .GAME-faq-q::after { transform: translateY(-50%) rotate(180deg); }
.GAME-faq-a { padding: 0 18px; max-height: 0; overflow: hidden; transition: max-height .25s ease; }
.GAME-faq-a-inner { padding: 0 0 16px; font-size: 15px; line-height: 1.6; color: var(--text-secondary); }
.GAME-faq-item.is-open .GAME-faq-a { max-height: 400px; }
.GAME-section { margin-top: 44px; }
.GAME-section#game-characters,
.GAME-section#game-music { margin-top: 10px; }
.GAME-section#game-characters h2,
.GAME-section#game-music h2 { margin-top: 6px; margin-bottom: 6px; }
.GAME-video-wrap { margin-top: 24px; }
.GAME-video-wrap h3 { font-size: 18px; font-weight: 600; color: var(--text); margin: 0 0 12px; }
.GAME-video-wrap .GAME-video-inner { position: relative; width: 100%; max-width: 720px; padding-bottom: 56.25%; height: 0; border-radius: 10px; overflow: hidden; background: #000; }
.GAME-video-wrap .GAME-video-inner iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }

/* YouTube intro embed (.GAME-yt-wrap) in game content */
.GAME-yt-wrap { display: block; box-sizing: border-box; }
.GAME-yt-wrap .GAME-yt-thumb { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 768px) {
  .GAME-article .GAME-yt-wrap,
  .GAME-intro .GAME-yt-wrap,
  .GAME-yt-section .GAME-yt-wrap {
    width: calc(100% + 24px) !important;
    max-width: none !important;
    margin-left: -12px !important;
    margin-right: -12px !important;
    aspect-ratio: 16 / 10 !important;
    min-height: 220px;
    border-radius: 10px !important;
  }
  .GAME-video-wrap .GAME-video-inner {
    max-width: none;
    padding-bottom: 62.5%;
    min-height: 220px;
  }
}
.GAME-float-nav { position: fixed; right: 20px; bottom: 20px; z-index: 9998; display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility .25s ease; }
.GAME-float-nav.visible { opacity: 1; visibility: visible; }
.GAME-float-nav-toc-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; width: 48px; height: 48px; padding: 0; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 50%; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.GAME-float-nav-toc-btn span { display: block; width: 14px; height: 1.5px; background: var(--text); border-radius: 1px; }
.GAME-float-nav-toc-dropdown { position: absolute; bottom: 100%; right: 0; margin-bottom: 2px; min-width: 220px; padding: 10px 0; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 12px; box-shadow: 0 8px 32px rgba(0,0,0,.3); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease, visibility .2s ease; }
.GAME-float-nav-toc:hover .GAME-float-nav-toc-dropdown,
.GAME-float-nav-toc-dropdown.open { opacity: 1; visibility: visible; pointer-events: auto; }
.GAME-float-nav-toc { position: relative; }
.GAME-float-nav-toc-dropdown a { display: block; padding: 10px 18px; font-size: 14px; color: var(--text); text-decoration: none; }
.GAME-float-nav-toc-dropdown a:hover { background: rgba(255,255,255,.08); color: var(--text); }
.GAME-float-nav-top { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: #fff; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,.3); }
.GAME-float-nav-top svg { width: 18px; height: 18px; }

/* Characters grid (content_extra) */
.GAME-content-extra .GAME-article-body > section { margin-top: 32px; }
.GAME-content-extra .GAME-article-body > section:first-child { margin-top: 0; }
.GAME-characters-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 20px; margin-top: 20px; max-width: 100%; }
.GAME-characters-item { text-align: center; }
.GAME-characters-img-wrap { width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--card-border); box-shadow: 0 4px 16px rgba(0,0,0,.15); margin-bottom: 10px; }
.GAME-characters-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.GAME-characters-name { font-size: 14px; font-weight: 600; color: var(--text); display: block; }

/* Characters list — 2 per row, card with image + quote; tight spacing below section title */
.GAME-section:has(.GAME-characters-list) h2 { margin-bottom: 6px; }
.GAME-section:has(.GAME-characters-list) .GAME-article-body { margin-top: 0; padding-top: 0; }
.GAME-characters-list { margin-top: 6px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 100%; }
.GAME-character-card { display: flex; gap: 20px; align-items: flex-start; padding: 14px 20px 20px; background: linear-gradient(145deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,.02) 100%); border: 1px solid var(--card-border); border-radius: 14px; box-shadow: 0 4px 20px rgba(0,0,0,.12); transition: box-shadow .25s ease; }
.GAME-character-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.18); }
.GAME-character-card-img { flex-shrink: 0; width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--card-border); }
.GAME-character-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.GAME-character-card-body { flex: 1; min-width: 0; }
.GAME-character-card-name { font-size: 18px; font-weight: 700; color: var(--text); margin: 0 0 8px; letter-spacing: 0.02em; }
.GAME-character-card-quote { font-size: 15px; line-height: 1.6; color: var(--text-secondary); margin: 0; padding-left: 0; border: none; font-style: italic; }
.GAME-character-card-quote cite { display: block; margin-top: 8px; font-size: 13px; font-style: normal; color: var(--text-secondary); opacity: .9; }
@media (max-width: 700px) { .GAME-characters-list { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .GAME-character-card { flex-direction: column; align-items: center; text-align: center; } .GAME-character-card-quote cite { text-align: center; } }

/* Music module — cover + play button only */
.GAME-music-module-wrap { margin-top: 28px; }
.GAME-music-module { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 24px; margin-top: 24px; }
.GAME-music-card { background: linear-gradient(145deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%); border: 1px solid var(--card-border); border-radius: 16px; padding: 20px; box-shadow: 0 8px 32px rgba(0,0,0,.2), 0 0 0 1px rgba(255,255,255,.03) inset; transition: transform .25s ease, box-shadow .25s ease; }
.GAME-music-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(139,92,246,.15) inset; }
.GAME-music-cover { position: relative; width: 100%; aspect-ratio: 1; border-radius: 12px; overflow: hidden; margin-bottom: 14px; background: var(--surface); border: 1px solid rgba(255,255,255,.08); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.GAME-music-cover::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.35); opacity: 0; transition: opacity .25s ease; }
.GAME-music-cover:hover::after { opacity: 1; }
.GAME-music-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.GAME-music-play-btn { position: absolute; z-index: 2; width: 56px; height: 56px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; display: flex; align-items: center; justify-content: center; transition: transform .2s ease, background .2s ease; box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.GAME-music-play-btn .GAME-music-icon { display: flex; align-items: center; justify-content: center; transition: opacity .2s ease, transform .2s ease; }
.GAME-music-play-btn .GAME-music-icon svg { width: 28px; height: 28px; }
.GAME-music-icon-play svg { margin-left: 4px; }
.GAME-music-icon-pause { position: absolute; opacity: 0; transform: scale(0.8); pointer-events: none; }
.GAME-music-icon-pause svg { width: 24px; height: 24px; }
.GAME-music-card.is-playing .GAME-music-icon-play { opacity: 0; transform: scale(0.8); pointer-events: none; }
.GAME-music-card.is-playing .GAME-music-icon-pause { opacity: 1; transform: scale(1); pointer-events: none; }
.GAME-music-cover:hover .GAME-music-play-btn { background: rgba(139,92,246,.85); transform: scale(1.08); }
.GAME-music-card.is-playing .GAME-music-cover::after { opacity: 1; }
.GAME-music-card.is-playing .GAME-music-play-btn { background: rgba(139,92,246,.9); }
.GAME-music-card.is-playing .GAME-music-cover:hover .GAME-music-play-btn { background: rgba(225,29,72,.85); }
.GAME-music-title { font-size: 16px; font-weight: 700; color: var(--text); margin: 0 0 0; letter-spacing: 0.02em; }
.GAME-music-player { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
@media (max-width: 640px) { .GAME-music-module { grid-template-columns: repeat(2, 1fr); gap: 16px; } .GAME-music-card { padding: 16px; } .GAME-music-play-btn { width: 48px; height: 48px; } .GAME-music-play-btn svg { width: 24px; height: 24px; } }
