/* Header, toolbar, controls, icons and active states reuse the games directory. */
.pc-hub-directory__crosslinks{font-size:.9rem!important}
.pc-hub-directory__results{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--pc-game-directory-grid-gap)}
.pc-hub-card{min-width:0;border:1px solid var(--pc-border-color);border-radius:var(--pc-component-radius);overflow:hidden;background:var(--pc-card-bg);transition:border-color 170ms ease}
.pc-hub-card__link{display:flex;flex-direction:column;height:100%;color:var(--pc-color-text);text-decoration:none}
.pc-hub-card:hover{border-color:var(--pc-color-brand)}
.pc-hub-card__link:focus-visible{outline:2px solid var(--pc-color-brand);outline-offset:-3px}
.pc-hub-card__media{display:flex;align-items:center;justify-content:center;aspect-ratio:4/3;padding:10px;background:var(--pc-navigation-bg);overflow:hidden}
.pc-hub-card__media img{display:block;width:100%;height:100%;object-fit:contain}
.pc-hub-card__fallback{display:block;padding:12px;font-size:clamp(1.15rem,1.8vw,1.6rem);font-weight:850;text-align:center;line-height:1.25;overflow-wrap:anywhere;color:var(--pc-color-text-muted)}
.pc-hub-card__media:has(.pc-hub-card__fallback){background:linear-gradient(145deg,var(--pc-color-surface-raised),var(--pc-card-bg))}
.pc-hub-card__body{display:block;padding:var(--pc-space-3)}
.pc-hub-card__category{display:block;color:var(--pc-color-text-muted);font-size:.75rem;font-weight:700;margin-bottom:6px}
.pc-hub-card h2{margin:0;font-size:1.125rem;font-weight:800;line-height:1.3;overflow-wrap:anywhere}
.pc-hub-card__description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-top:var(--pc-space-2);font-size:.875rem;line-height:1.5;color:var(--pc-color-text-muted)}
.pc-hub-directory__results--list{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--pc-space-3)}
.pc-hub-directory__results--list .pc-hub-card__link{display:grid;grid-template-columns:144px minmax(0,1fr);align-items:center}
.pc-hub-directory__results--list .pc-hub-card__media{width:144px;min-height:144px;height:100%;aspect-ratio:auto}
.pc-hub-directory__results--list .pc-hub-card__body{padding:var(--pc-space-4)}
.pc-hub-directory__results--list .pc-hub-card__description{-webkit-line-clamp:4;font-size:.9375rem}
.pc-hub-directory__results--list .pc-hub-card__fallback{font-size:1rem;padding:0}
@media(max-width:999px){.pc-hub-directory__results--grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:899px){.pc-hub-directory__results--list{grid-template-columns:1fr}}
@media(max-width:767px){.pc-hub-directory__results--grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:599px){.pc-hub-directory__results--grid{grid-template-columns:1fr}.pc-hub-card__media{aspect-ratio:16/9}.pc-hub-directory__results--list .pc-hub-card__link{grid-template-columns:96px minmax(0,1fr)}.pc-hub-directory__results--list .pc-hub-card__media{width:96px;min-height:120px;padding:8px}.pc-hub-directory__results--list .pc-hub-card__body{padding:var(--pc-space-3)}.pc-hub-directory__results--list .pc-hub-card__description{-webkit-line-clamp:3;font-size:.875rem}.pc-hub-directory__results--list .pc-hub-card__fallback{font-size:.875rem}}
@media(prefers-reduced-motion:reduce){.pc-hub-card{transition:none}}

/* Align desktop toolbar to the first three columns of the four-column hub grid. */
@media(min-width:1000px){.pc-hub-directory .pc-game-directory__toolbar-track{grid-template-columns:repeat(4,minmax(0,1fr))}.pc-hub-directory .pc-game-directory__toolbar{grid-column:1 / span 3}}
