/* Game directory shares its navigation and practice cards with the homepage. */
.game-hub .priority-zone, .game-hub .library-zone { padding: 0; border: 0; background: transparent; box-shadow: none; }
.hub-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 36px; border: 1px solid #f0e3bd; border-radius: 20px; background: #fff7df; }
.hub-intro .welcome-kicker { color: #886b32; }
.hub-intro h1 { margin-top: 8px; font-size: 36px; line-height: 1.4; letter-spacing: -.035em; }
.hub-description { margin-top: 8px !important; color: #7a7059; font-size: 14px; }
.hub-controller { width: 110px; height: 100px; margin-inline: 24px; transform: rotate(-10deg); }
.game-hub .practice-card { min-height: 204px; }
.game-hub .practice-copy h3 { font-size: 28px; }
.game-hub .practice-start { margin-top: 20px; }
.game-shelf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.game-cartridge { --tile-tone: #2d6caa; --tile-soft: #eaf3ff; min-width: 0; border: 1px solid var(--home-line); border-radius: 16px; background: #fff; transition: transform 180ms ease; }
.game-cartridge:hover { transform: translateY(-3px); }
.game-cartridge a { display: flex; align-items: center; gap: 16px; height: 100%; min-height: 154px; padding: 24px; }
.cartridge-featured { grid-column: span 2; border-color: #d8e9de; background: #f0f7ee; }
.cartridge-featured a { justify-content: space-between; padding-inline: 28px; }
.cartridge-copy { min-width: 0; }
.cartridge-copy h3 { margin-top: 6px; font-size: 19px; line-height: 1.5; font-weight: 700; }
.cartridge-featured h3 { font-size: 25px; }
.cartridge-copy p { margin-top: 4px; color: var(--home-muted); font-size: 12px; }
.cartridge-action { display: flex; align-items: center; gap: 28px; margin-top: 16px; color: #2e7051; font-size: 13px; font-weight: 600; }
.cartridge-action b { font-size: 20px; font-weight: 400; }
.castle-art { width: 180px; height: 124px; }
.release-tag { display: inline-block; padding: 2px 8px; border-radius: 6px; color: #6d647c; background: #f2eef7; font-size: 10px; font-weight: 500; }
.release-tag-stable { color: #346d4c; background: #dfeddb; }
.cartridge-symbol { display: grid; place-items: center; flex: 0 0 54px; width: 54px; height: 60px; border-radius: 12px; background: var(--tile-soft); color: var(--tile-tone); font-size: 23px; font-weight: 700; }
.cartridge-chevron { margin-left: auto; color: var(--tile-tone); font-size: 20px; }
.cartridge-teal { --tile-tone: #257e79; --tile-soft: #eaf8f5; }
.cartridge-purple { --tile-tone: #7956a9; --tile-soft: #f3edfb; }
.cartridge-orange { --tile-tone: #a76729; --tile-soft: #fff3e6; }
.preview-note { margin-top: 16px !important; color: var(--home-muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 1100px) {
  .game-shelf { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cartridge-featured { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .hub-intro { padding: 24px; border-radius: 16px; }
  .hub-intro h1 { font-size: 27px; }
  .hub-description { font-size: 12px; }
  .hub-controller { display: none; }
  .game-hub .practice-card { min-height: 184px; }
  .game-hub .practice-copy h3 { font-size: 23px; }
  .game-hub .practice-copy p { max-width: 17em; }
  .game-shelf { grid-template-columns: 1fr; gap: 12px; }
  .game-cartridge a { min-height: 124px; padding: 20px; }
  .cartridge-featured a { min-height: 164px; }
  .castle-art { width: 120px; height: 100px; }
  .preview-note { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-cartridge { transition: none; }
}
