.detail-page { background: var(--paper); }
.detail-hero { padding: clamp(56px, 7vw, 92px) 24px 80px; background: #e6efe7; }
.detail-hero-inner, .detail-shell { width: min(100%, var(--max)); margin-inline: auto; }
.detail-hero-inner { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(250px, .88fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.back-link { display: inline-block; margin-bottom: 42px; color: #45665e; font-size: .9rem; font-weight: 800; }
.back-link:hover { color: var(--accent); }
.detail-heading h1 { margin: 4px 0 18px; font-size: clamp(3.2rem, 6.6vw, 6rem); line-height: 1.08; letter-spacing: -.05em; text-wrap: balance; }
.detail-lead { max-width: 35ch; margin: 0; color: #526d6d; font-size: clamp(1.08rem, 1.65vw, 1.27rem); line-height: 1.75; }
.detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 30px; }
.detail-tags span { padding: 6px 11px; border: 1px solid #ccd9d0; border-radius: 999px; background: #f8f8ee; color: #34594e; font-size: .79rem; font-weight: 800; }
.play-links { display: flex; flex-wrap: wrap; gap: 10px; }
.play-links .btn { text-decoration: none; }
.play-links .btn-secondary { background: #fffefa; border: 1px solid #c9d6cd; color: #28544b; box-shadow: 0 9px 20px -14px #294c47; }
.play-links .btn-secondary:hover { box-shadow: 0 15px 24px -14px #294c47; }
.platform-note { max-width: 44ch; margin: 12px 0 0; color: #61767b; font-size: .82rem; }
.detail-screen { position: relative; justify-self: center; width: min(100%, 322px); padding: 10px; border: 1px solid var(--line); border-radius: 24px; background: var(--paper-light); box-shadow: var(--shadow); }
.detail-screen img { display: block; width: 100%; height: auto; border-radius: 15px; }
.detail-screen span { position: absolute; right: -10px; bottom: -10px; padding: 7px 11px; border-radius: 8px; background: #27534e; color: white; font-size: .78rem; font-weight: 800; }
.detail-section { padding: clamp(64px, 7vw, 90px) 24px; background: var(--paper); }
.detail-section:nth-of-type(odd) { background: var(--paper-light); }
.detail-section h2 { max-width: 780px; margin: 0 0 30px; }
.rule-grid, .mode-grid { display: grid; gap: 16px; }
.rule-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mode-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rule-grid article, .mode-grid article { min-width: 0; padding: clamp(22px, 2.5vw, 30px); border: 1px solid var(--line); border-radius: 19px; background: #fffefa; box-shadow: 0 14px 28px -27px #294c47aa; }
.rule-grid article > span { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 20px; border-radius: 10px; background: #f3dfbc; color: #78503c; font-weight: 850; }
.rule-grid h3, .mode-grid h3 { margin: 0 0 8px; font-size: 1.15rem; line-height: 1.35; }
.rule-grid p, .mode-grid p { margin: 0; color: #62717a; line-height: 1.65; }
.mode-symbol { display: block; margin-bottom: 12px; color: var(--accent); font-size: 2.4rem; line-height: 1; }
.mode-foot { margin: 18px 0 0; color: #61717a; font-size: .9rem; }
.detail-page .footer { background: var(--paper-light); }
@media (max-width: 780px) {
  .detail-hero { padding: 43px 18px 62px; }
  .detail-hero-inner { grid-template-columns: 1fr; gap: 34px; }
  .back-link { margin-bottom: 26px; }
  .detail-screen { width: min(68vw, 270px); }
  .detail-section { padding: 62px 18px; }
  .rule-grid, .mode-grid { grid-template-columns: 1fr; }
  .rule-grid article > span { margin-bottom: 12px; }
}
