/* トップ（アプリ一覧）だけで使う形。色・文字・間隔は minirivet.css の変数を使う。 */

/* 冒頭 */
.top-hero { padding-block: clamp(48px, 8vw, 112px) 0; }
.top-hero .mr-label { margin-bottom: 18px; }
.top-hero .mr-h1 { margin-bottom: 24px; }
.top-hero .mr-lead { margin-bottom: 0; }
.top-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 3vw, 40px); margin-top: clamp(40px, 7vw, 88px); }
.top-shots .mr-shot img { aspect-ratio: 600 / 860; object-fit: cover; object-position: top; }
.top-shots .mr-shot:nth-child(2) { transform: translateY(clamp(16px, 4vw, 48px)); }

/* アプリの行 */
.app-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.5fr) minmax(0, 0.75fr); gap: 24px var(--mr-gap); padding-block: clamp(32px, 5vw, 56px); border-top: 1px solid var(--mr-line); }
.app-row:last-child { border-bottom: 1px solid var(--mr-line); }
.app-meta p { margin: 0; }
.app-icon { width: 64px; height: 64px; margin-bottom: 16px; border-radius: 14px; }
.app-name { font-size: var(--mr-fs-2xl); font-weight: 600; letter-spacing: .02em; line-height: 1.2; }
.app-kind { margin: 6px 0 12px !important; color: var(--accent); font-weight: 600; font-size: var(--mr-fs-sm); }
.app-headline { font-size: var(--mr-fs-xl); font-weight: 600; line-height: 1.6; margin-bottom: 12px; }
.app-body > p:not(.app-headline) { color: var(--mr-ink-2); }
.app-points { list-style: none; padding: 0; margin: 4px 0 20px; }
.app-points li { position: relative; padding-left: 18px; color: var(--mr-ink-2); }
.app-points li::before { content: ""; position: absolute; left: 0; top: .9em; width: 8px; height: 1.5px; background: var(--accent); }
.app-body .mr-tags { margin-bottom: 14px; }
.app-body .mr-link { color: var(--accent); }
.app-shot { align-self: start; max-width: 260px; justify-self: end; width: 100%; }
.app-shot img { aspect-ratio: 600 / 900; object-fit: cover; object-position: top; }

/* ゲームの帯 */
.top-games { padding-block: var(--mr-section); }
.top-games-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr); gap: var(--mr-gap); align-items: center; }
.top-games-label { color: var(--mr-night-muted); margin-bottom: 10px; }
.top-games .mr-h2 { margin-bottom: 18px; }
.top-games-title { display: flex; align-items: center; gap: 16px; margin: 4px 0 28px; }
.top-games-title img { width: 64px; height: 64px; border-radius: 14px; image-rendering: pixelated; }
.top-games-title p { margin: 0; }
.top-games-name { font-weight: 600; font-size: var(--mr-fs-lg); }
.top-games-shot { margin: 0; max-width: 300px; justify-self: end; width: 100%; }
.top-games-shot img { width: 100%; aspect-ratio: 720 / 1000; object-fit: cover; object-position: top; border-radius: var(--mr-radius); border: 1px solid var(--mr-night-line); }

/* よくある質問 */
.top-help-contact { margin-top: 12px; font-size: var(--mr-fs-sm); }

@media (max-width: 860px) {
  .app-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .app-shot { display: none; }
}
@media (max-width: 640px) {
  .top-shots { gap: 10px; }
  .top-shots .mr-shot figcaption { font-size: .68rem; }
  .app-row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .app-meta { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
  .app-icon { grid-row: span 3; margin: 0; width: 56px; height: 56px; }
  .app-kind { margin: 2px 0 2px !important; }
  .top-games-grid { grid-template-columns: minmax(0, 1fr); }
  .top-games-shot { justify-self: start; max-width: 220px; }
}
