.topic-page main{padding:22px 0 80px}
.topic-breadcrumb{font:11px "DM Mono",monospace;color:#9a9ea4;margin-bottom:18px}
.topic-breadcrumb a{color:#9a9ea4;text-decoration:none}
.topic-breadcrumb a:hover{color:#7951df}
.topic-page h1{font-size:clamp(30px,5vw,48px);line-height:1.08;letter-spacing:-.04em;margin:0 0 14px;color:#252931}
.topic-case-count{font-size:14px;font-weight:650;color:#5f656d;margin:0 0 12px;font-variant-numeric:tabular-nums}
.topic-description{margin-top:30px}
.topic-lead{font-size:17px;line-height:1.7;color:#5f656d;margin:0 0 22px;max-width:780px}
.topic-body{font-size:15px;line-height:1.85;color:#555d67;margin:0 0 14px;max-width:780px}
.topic-body a{color:#7951df;text-decoration:none;border-bottom:1px solid #d9c9f5}
.topic-section-title{font-size:14px;font-weight:700;color:#252931;margin:36px 0 14px;letter-spacing:.02em}
.topic-pills{display:flex;flex-wrap:wrap;gap:10px;margin:30px 0 6px}
.topic-pill{font-size:13px;font-weight:600;color:#4b5158;text-decoration:none;padding:7px 14px;border:1px solid #e5e6e7;border-radius:0;background:#fff;transition:color .15s,border-color .15s}
.topic-pill:hover{color:#7951df;border-color:#7951df}
.topic-cta{display:inline-block;margin-top:28px;font-weight:600;color:#fff;background:#7951df;text-decoration:none;padding:11px 20px;border-radius:0}
.topic-cta:hover{background:#6840c9}
.topic-launch{margin-top:0;background:#181818}
.topic-launch:hover{background:#353535}
.topic-item-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:10px}
@media(max-width:760px){.topic-item-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.topic-item-grid{grid-template-columns:1fr}}
.topic-page--catalog{background:var(--card)}
.topic-page--catalog > .wrap{max-width:1180px}
.topic-page--catalog .topic-item-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 16px}
.topic-game-grid .item-card[hidden]{display:none}
.topic-game-list{margin-top:24px}
.topic-game-filters{position:sticky;top:var(--topic-header-height);z-index:7;margin-bottom:16px;background:var(--card)}
.topic-game-filters .category-row{border-bottom:1px solid var(--line)}
.topic-latest{display:inline-block;margin-top:16px;font-size:14px;font-weight:650;color:#a63b0c}
@media(max-width:760px){
  .topic-page--catalog > .wrap{width:calc(100% - 28px)}
  .topic-page main{padding-top:14px}
  .topic-page--catalog h1{font-size:clamp(24px,6.5vw,34px);line-height:1.15}
  .topic-page--catalog .topic-lead{font-size:14px;line-height:1.65;margin-bottom:18px}
  .topic-page--catalog .topic-section-title{margin-top:24px}
  .topic-page--catalog .topic-item-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 12px}
}

/* Game collection: independent sorting before genre filters and curated posters. */
.topic-game-filters{display:flex;align-items:center;gap:14px;border-bottom:1px solid var(--line)}
.topic-game-filters[hidden]{display:none}
.topic-game-filters .category-row{flex:1;min-width:0;border-bottom:0}
.game-topic-sort{display:flex;flex:none;border:1px solid var(--line)}
.game-topic-sort button{appearance:none;border:0;background:transparent;color:var(--muted);padding:8px 10px;font:700 12px/1.3 Manrope,"Noto Sans SC",sans-serif;cursor:pointer}
.game-topic-sort button[aria-pressed=true]{background:var(--ink);color:#fff}
.game-topic-sort button:focus-visible{outline:2px solid var(--three);outline-offset:-2px}
.game-topic-showcase{margin:20px 0 16px}
.game-showcase-card[hidden]{display:none}
.game-showcase-card>a{display:grid;grid-template-columns:minmax(0,65fr) minmax(0,35fr);grid-template-rows:minmax(0,1fr);aspect-ratio:400/117;background:#0e1114;color:#fff;text-decoration:none}
.game-showcase-image{display:block;min-width:0;min-height:0;height:100%;aspect-ratio:20/9}
.game-showcase-image img{display:block;width:100%;height:100%;object-fit:cover}
.game-showcase-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(16px,2.5vw,30px);min-width:0;min-height:0}
.game-showcase-copy small{font:700 11px/1.4 Manrope,"Noto Sans SC",sans-serif;color:#ffb781;letter-spacing:.07em}
.game-showcase-copy h2{margin:10px 0;font:750 clamp(20px,2.5vw,32px)/1.12 Manrope,"Noto Sans SC",sans-serif;letter-spacing:-.04em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#fff}
.game-showcase-copy p{margin:0;color:#d7dbdf;font-size:14px;line-height:1.6;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.game-showcase-cta{display:flex;gap:24px;align-items:center;justify-content:space-between;background:var(--three);padding:10px 14px;margin-top:18px;font-size:13px;font-weight:750;color:white}
.game-showcase-pages{display:flex;justify-content:center;height:28px;align-items:center}
.game-showcase-pages button{position:relative;appearance:none;display:grid;place-items:center;width:26px;height:26px;padding:0;border:0;background:transparent;color:#555;font:600 10.5px/1 Manrope,sans-serif;cursor:pointer}
.game-showcase-pages button::before{content:"";position:absolute;width:13.5px;height:13.5px;box-sizing:border-box;border:1px solid #aaa;background:#fff}
.game-showcase-pages button>span{position:relative;z-index:1}
.game-showcase-pages button[aria-selected=true]{color:white}
.game-showcase-pages button[aria-selected=true]::before{background:var(--three);border-color:var(--three)}
.game-showcase-pages button:focus-visible,.game-showcase-card>a:focus-visible{outline:2px solid var(--three);outline-offset:-2px}
@media(min-width:761px) and (max-width:1000px){.game-showcase-copy{padding:12px}.game-showcase-copy h2{margin:8px 0}.game-showcase-copy p{font-size:12px;line-height:1.4;-webkit-line-clamp:2}.game-showcase-cta{margin-top:12px;padding:8px 12px}}
@media(max-width:760px){.topic-game-filters{gap:8px}.topic-game-filters .category-row{flex-wrap:nowrap;overflow-x:auto;white-space:nowrap}.topic-game-filters .category-row button{flex-shrink:0}.game-topic-sort button{font-size:11px;padding:8px}.game-showcase-card>a{grid-template-columns:minmax(0,1fr);grid-template-rows:none;aspect-ratio:auto}.game-showcase-image{height:auto}.game-showcase-copy{padding:14px 16px}.game-showcase-copy h2{font-size:22px;margin:6px 0}.game-showcase-copy p{display:none}.game-showcase-cta{margin-top:8px;padding:8px 12px}.game-topic-showcase{margin-top:16px}}
