/* =============================================
   GAME DETAIL — magazine dossier layout
   ============================================= */

.page-game .gm-head {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(32px, 6vw, 52px) 0;
  position: relative;
}
.page-game .gm-head::after {
  content: '';
  display: block;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 14px,
    transparent 14px 22px
  );
}

.gm-head-grid {
  display: grid;
  gap: clamp(24px, 4vw, 40px);
  align-items: start;
}
@media (min-width: 820px) {
  .gm-head-grid { grid-template-columns: 1.35fr 0.85fr; }
}

.gm-crumb {
  font-size: .75rem;
  opacity: .7;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.gm-crumb a { color: var(--gold); }
.gm-crumb a:hover { text-decoration: underline; }

.gm-title-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}
.gm-icon {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 16px;
  flex-shrink: 0;
  background: rgba(255,255,255,.08);
}
.gm-fenlei {
  display: inline-block;
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.gm-title-block h1 {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 4vw, 2.25rem);
  font-weight: 400;
  line-height: 1.18;
  max-width: 20ch;
}
.gm-desc {
  font-size: clamp(.9rem, 2vw, 1.02rem);
  opacity: .88;
  max-width: 52ch;
  line-height: 1.65;
  margin-bottom: 20px;
}
.gm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gm-btn-line {
  border-color: rgba(232,220,200,.45);
  color: var(--sand);
}
.gm-btn-line:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--sand);
}

.gm-spec {
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(201,162,39,.4);
  padding: 18px 20px;
}
.gm-spec-label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.gm-spec-dl div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: .875rem;
  border-bottom: 1px solid rgba(232,220,200,.12);
}
.gm-spec-dl div:last-child { border-bottom: none; }
.gm-spec-dl dt { opacity: .65; }
.gm-spec-dl dd { font-weight: 700; text-align: right; }

/* section headers */
.gm-sec-head {
  margin-bottom: clamp(22px, 4vw, 32px);
  max-width: 640px;
}
.gm-sec-head--center {
  text-align: center;
  margin-inline: auto;
}
.gm-eyebrow {
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-h);
  margin-bottom: 8px;
}
.gm-eyebrow--dark { color: var(--gold-h); }
.gm-sec-head h2 {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 3.2vw, 1.95rem);
  color: var(--indigo);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}
.gm-sec-lead {
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.55;
}

/* article */
.gm-article {
  background: var(--white);
  padding: clamp(44px, 8vw, 72px) 0;
}
.gm-rail {
  max-width: 720px;
  border-left: 3px solid var(--gold);
  padding-left: clamp(16px, 3vw, 28px);
}
.gm-rail .gm-sec-head { max-width: none; }
.gm-prose p {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}
.gm-prose p:last-child { margin-bottom: 0; }
.gm-prose strong {
  color: var(--indigo);
  font-weight: 700;
}
.gm-prose--sm p {
  font-size: .9rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

/* banner after article */
.gm-banner {
  background: var(--indigo);
  color: var(--sand);
  padding: clamp(40px, 7vw, 64px) 0;
}
.gm-banner .gm-sec-head h2 { color: var(--sand); }
.gm-banner .gm-sec-lead { color: rgba(232,220,200,.75); }
.gm-banner .gm-eyebrow { color: var(--gold); }
.gm-shot {
  margin: 0 auto;
  max-width: 920px;
}
.gm-shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 1024 / 512;
  object-fit: cover;
  border: 3px solid var(--gold);
  display: block;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.gm-shot figcaption {
  margin-top: 12px;
  font-size: .8125rem;
  opacity: .75;
  text-align: center;
  line-height: 1.4;
}

/* timeline updates */
.gm-updates {
  background: var(--sand);
  padding: clamp(44px, 8vw, 72px) 0;
}
.gm-timeline {
  position: relative;
  max-width: 720px;
  padding-left: 0;
}
@media (min-width: 640px) {
  .gm-timeline {
    padding-left: 28px;
    border-left: 2px solid var(--indigo);
  }
}
.gm-tl-item {
  position: relative;
  padding: 0 0 clamp(28px, 4vw, 36px);
}
.gm-tl-item:last-child { padding-bottom: 0; }
@media (min-width: 640px) {
  .gm-tl-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 6px;
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 2px solid var(--indigo);
    border-radius: 50%;
  }
}
.gm-tl-mark {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--indigo);
  color: var(--gold);
  padding: 4px 10px;
  margin-bottom: 8px;
}
.gm-tl-mark--old {
  background: transparent;
  color: var(--indigo);
  border: 1px solid var(--indigo);
}
.gm-tl-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--indigo);
  margin-bottom: 10px;
}

/* balance stack — vertical ledgers */
.gm-balance {
  background: var(--white);
  padding: clamp(44px, 8vw, 72px) 0;
}
.gm-bal-stack {
  display: grid;
  gap: 0;
  border: 2px solid var(--indigo);
  max-width: 820px;
}
.gm-bal {
  padding: clamp(22px, 4vw, 32px);
}
.gm-bal--plus {
  background: rgba(232,220,200,.35);
  border-bottom: 2px solid var(--indigo);
}
.gm-bal--minus { background: var(--white); }
.gm-bal h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--indigo);
  margin-bottom: 14px;
}
.gm-bal-list { list-style: none; margin: 0; padding: 0; }
.gm-bal-list li {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: .9rem;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.gm-bal-list li:last-child { border-bottom: none; }
.gm-bal--plus .gm-bal-list li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}
.gm-bal--minus .gm-bal-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--indigo);
  font-weight: 700;
}

/* reviews — horizontal quote strip */
.gm-reviews {
  background: var(--sand);
  padding: clamp(44px, 8vw, 72px) 0;
  overflow: hidden;
}
.gm-rev-strip {
  display: grid;
  gap: 0;
  border-top: 2px solid var(--indigo);
  border-bottom: 2px solid var(--indigo);
}
@media (min-width: 760px) {
  .gm-rev-strip { grid-template-columns: repeat(3, 1fr); }
}
.gm-rev {
  margin: 0;
  padding: clamp(22px, 3vw, 28px);
  background: var(--white);
  border-bottom: 2px solid var(--indigo);
}
@media (min-width: 760px) {
  .gm-rev {
    border-bottom: none;
    border-right: 2px solid var(--indigo);
  }
  .gm-rev:last-child { border-right: none; }
}
.gm-rev-q {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--gold);
  line-height: .8;
  margin-bottom: 8px !important;
  font-style: normal !important;
}
.gm-rev p {
  font-size: .875rem;
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: 14px;
  font-style: italic;
}
.gm-rev footer {
  font-size: .75rem;
  color: var(--muted);
}
.gm-rev cite {
  font-style: normal;
  font-weight: 700;
  color: var(--indigo);
}

/* faq */
.gm-faq {
  background: var(--white);
  padding: clamp(44px, 8vw, 72px) 0;
}
.gm-faq-wrap { max-width: 780px; }
.gm-faq-list { border-top: 2px solid var(--indigo); }
.gm-faq-item { border-bottom: 1px solid var(--border); }
.gm-faq-item summary {
  padding: 16px 40px 16px 0;
  font-weight: 600;
  font-size: .95rem;
  color: var(--indigo);
  cursor: pointer;
  list-style: none;
  position: relative;
  line-height: 1.4;
}
.gm-faq-item summary::-webkit-details-marker { display: none; }
.gm-faq-item summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
}
.gm-faq-item[open] summary::after { content: '−'; }
.gm-faq-item p {
  padding: 0 0 16px;
  font-size: .875rem;
  color: var(--muted);
  line-height: 1.65;
}

/* related popular apps */
.gm-related {
  background: var(--sand);
  padding: clamp(44px, 8vw, 72px) 0;
  border-top: 1px solid var(--border);
}
.gm-rel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--indigo);
}
@media (min-width: 700px) {
  .gm-rel-list {
    grid-template-columns: 1fr 1fr;
  }
}
.gm-rel-list > li {
  border-bottom: 1px solid var(--border);
}
@media (min-width: 700px) {
  .gm-rel-list > li:nth-child(odd) {
    border-right: 1px solid var(--border);
  }
}
.gm-rel-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 12px;
  text-decoration: none;
  color: inherit;
  min-height: 84px;
}
.gm-rel-card:hover .gm-rel-title { color: var(--gold); }
.gm-rel-card img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--white);
}
.gm-rel-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.gm-rel-title {
  font-weight: 600;
  font-size: .925rem;
  color: var(--indigo);
  line-height: 1.3;
  transition: color .15s ease;
}
.gm-rel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: .75rem;
  color: var(--muted);
}
.gm-rel-tags span + span::before {
  content: '·';
  margin-right: 12px;
  color: var(--border);
}

/* end */
.gm-end {
  background: var(--sand);
  padding: clamp(40px, 7vw, 60px) 0;
  border-top: 3px solid var(--indigo);
}
.gm-end-grid {
  display: grid;
  gap: 20px;
  align-items: end;
}
@media (min-width: 720px) {
  .gm-end-grid { grid-template-columns: 1.3fr 1fr; }
}
.gm-end h2 {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.85rem);
  color: var(--indigo);
  margin-bottom: 8px;
  font-weight: 400;
}
.gm-end p { font-size: .9rem; color: var(--muted); }
.gm-end-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.gm-end-actions .btn-gold,
.gm-end-actions .btn-line {
  width: 100%;
  text-align: center;
  justify-content: center;
}
@media (min-width: 720px) {
  .gm-end-actions .btn-gold,
  .gm-end-actions .btn-line {
    width: auto;
    min-width: 200px;
  }
}

@media (max-width: 768px) {
  .gm-actions .btn-gold,
  .gm-actions .btn-line {
    flex: 1 1 100%;
    justify-content: center;
  }
  .gm-rail {
    border-left: none;
    padding-left: 0;
    border-top: 3px solid var(--gold);
    padding-top: 20px;
  }
}
