.game-directory, .game-guide { background: #f7f8fc; }
.game-directory *, .game-guide * { letter-spacing: 0; }
.game-directory .page, .game-guide .page { width: min(100% - 36px, 1100px); }
.game-directory .header-nav, .game-guide .header-nav { display: flex; flex-wrap: wrap; }
.game-directory .header-nav a, .game-guide .header-nav a { display: block; }
.hub-head { padding: 32px 0 24px; border-bottom: 1px solid var(--line); }
.hub-head h1 { margin: 0; font-size: 32px; line-height: 1.25; }
.hub-head p { max-width: 740px; margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; word-break: keep-all; }
.hub-head .hub-meta { color: #27674d; font-size: 12px; }
.hub-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 14px; margin: 24px 0 14px; }
.hub-field { display: grid; gap: 6px; min-width: 140px; font-size: 12px; font-weight: 700; }
.hub-field select { min-height: 42px; padding: 0 32px 0 12px; border: 1px solid #cdd3de; border-radius: 6px; color: var(--ink); font: inherit; background: white; }
.hub-filters button { min-height: 42px; padding: 0 12px; border: 0; color: var(--muted); font: inherit; font-size: 12px; text-decoration: underline; background: transparent; cursor: pointer; }
.hub-count { margin: 0 0 14px; color: var(--muted); font-size: 12px; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.hub-game { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: white; }
.hub-game[hidden], .hub-empty[hidden] { display: none; }
.hub-media { display: flex; flex: 0 0 144px; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid var(--line); background: #f7f8fc; }
.hub-media img { display: block; width: 104px; height: 104px; border-radius: 24px; object-fit: contain; }
.hub-copy { display: flex; flex: 1; flex-direction: column; padding: 16px; }
.hub-copy h2 { margin: 0; font-size: 19px; line-height: 1.4; }
.hub-copy > p { min-height: 48px; margin: 8px 0 12px; color: #566174; font-size: 13px; line-height: 1.7; word-break: keep-all; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.hub-tags span { padding: 4px 7px; border-radius: 4px; color: #27674d; font-size: 11px; background: #edf6f0; }
.hub-tags span:last-child { color: #775527; background: #fbf3e6; }
.hub-facts { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 5px 8px; margin: 0 0 16px; font-size: 12px; line-height: 1.5; }
.hub-facts dt { color: var(--muted); }
.hub-facts dd { margin: 0; }
.hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: auto; }
.hub-play { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 0 14px; border: 1px solid #27674d; border-radius: 6px; color: white; font-size: 13px; font-weight: 750; text-decoration: none; background: #27674d; }
.hub-actions > a:not(.hub-play) { padding: 9px 0; color: #465b92; font-size: 12px; text-underline-offset: 3px; }
.hub-empty { padding: 24px 0; color: var(--muted); line-height: 1.8; }
.hub-section { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.hub-section h2 { margin: 0 0 18px; font-size: 23px; line-height: 1.4; }
.hub-section > p { color: #566174; font-size: 14px; line-height: 1.8; }
.hub-table-scroll { overflow-x: auto; }
.hub-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.65; }
.hub-table caption { margin-bottom: 12px; color: var(--muted); font-size: 12px; text-align: left; }
.hub-table th, .hub-table td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.hub-table thead th { color: #526074; background: #edf0f5; }
.hub-table tbody th { font-weight: 750; }
.hub-recommendations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.hub-recommendations h3 { margin: 0 0 8px; font-size: 16px; }
.hub-recommendations p, .hub-faq p { margin: 0; color: #566174; font-size: 14px; line-height: 1.8; word-break: keep-all; }
.hub-reading { display: grid; gap: 0; }
.hub-reading a { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.hub-reading strong { color: #334779; font-size: 15px; }
.hub-reading span { color: var(--muted); font-size: 12px; }
.hub-faq details { padding: 16px 0; border-bottom: 1px solid var(--line); }
.hub-faq summary { font-size: 14px; font-weight: 750; cursor: pointer; }
.hub-faq p { margin-top: 10px; }
.hub-review { margin: 24px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.game-guide .guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 230px; align-items: start; gap: 48px; margin-top: 28px; }
.guide-content { min-width: 0; }
.guide-content section { padding: 24px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.guide-content section:first-child { padding-top: 0; }
.guide-content h2 { margin: 0 0 14px; font-size: 23px; line-height: 1.4; }
.guide-content h3 { margin: 22px 0 10px; font-size: 17px; line-height: 1.5; }
.guide-content p, .guide-content li { color: #465266; font-size: 15px; line-height: 1.95; word-break: keep-all; overflow-wrap: anywhere; }
.guide-content p { margin: 12px 0; }
.guide-content ol, .guide-content ul { padding-left: 22px; }
.guide-content li + li { margin-top: 8px; }
.guide-content figure { margin: 20px 0; }
.guide-content figure img { display: block; width: min(100%, 420px); height: auto; max-height: 440px; margin: 0 auto; object-fit: contain; }
.guide-content figcaption { margin-top: 10px; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }
.guide-note { padding: 12px 16px; border-left: 3px solid #438a67; background: #eef5f0; }
.guide-content .guide-note { font-size: 13px; }
.guide-toc { position: sticky; top: 24px; padding-left: 20px; border-left: 1px solid var(--line); }
.guide-toc h2 { margin: 0 0 12px; font-size: 14px; }
.guide-toc a { display: block; padding: 7px 0; color: #526074; font-size: 13px; line-height: 1.6; text-underline-offset: 3px; }
.guide-toc .hub-play { margin-top: 16px; color: white; text-align: center; text-decoration: none; }
.guide-content .hub-table { min-width: 500px; }
.guide-content .hub-table th, .guide-content .hub-table td { font-size: 13px; }
.game-directory :focus-visible, .game-guide :focus-visible { outline: 3px solid #387eaa; outline-offset: 4px; }
@media (max-width: 800px) {
  .hub-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-recommendations { grid-template-columns: 1fr; gap: 20px; }
  .game-guide .guide-layout { grid-template-columns: 1fr; gap: 24px; }
  .guide-toc { position: static; grid-row: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; }
  .guide-toc h2, .guide-toc .hub-play { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .game-directory .page, .game-guide .page { width: calc(100% - 28px); }
  .game-directory .brand-copy small, .game-guide .brand-copy small { display: none; }
  .game-directory .brand-logo, .game-guide .brand-logo { width: 42px; height: 42px; }
  .game-directory .brand, .game-guide .brand { gap: 7px; font-size: 14px; }
  .game-directory .header-nav, .game-guide .header-nav { gap: 10px; }
  .game-directory .header-nav a, .game-guide .header-nav a { padding: 7px 0; }
  .hub-head { padding-top: 24px; }
  .hub-head h1 { font-size: 27px; overflow-wrap: anywhere; }
  .hub-grid { grid-template-columns: 1fr; gap: 16px; }
  .hub-game { --hub-icon-size: clamp(80px, 26vw, 104px); display: grid; grid-template-columns: minmax(0, 1fr) var(--hub-icon-size); column-gap: 12px; padding: 16px; }
  .hub-media { grid-column: 2; grid-row: 3 / 5; align-self: center; width: var(--hub-icon-size); height: var(--hub-icon-size); border: 0; background: transparent; }
  .hub-media img { width: 100%; height: 100%; }
  .hub-copy { display: contents; }
  .hub-copy h2 { grid-column: 1 / -1; grid-row: 1; }
  .hub-copy > p { grid-column: 1 / -1; grid-row: 2; min-height: 0; }
  .hub-tags { grid-column: 1; grid-row: 3; }
  .hub-facts { grid-column: 1; grid-row: 4; word-break: keep-all; overflow-wrap: anywhere; }
  .hub-actions { grid-column: 1 / -1; grid-row: 5; margin-top: 0; }
  .hub-field { flex: 1; min-width: 0; }
  .hub-field select { width: 100%; padding-right: 24px; padding-left: 10px; }
  .hub-section { margin-top: 28px; }
  .hub-table { min-width: 600px; }
  .guide-content h2 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  .game-directory, .game-guide { scroll-behavior: auto; }
}
