/* Hub home: masthead game shelf, roster key art and screenshot strips.
   Self-hosted packs only (core/art.py). Existing palette tokens. */
/* Masthead split + self-hosted game art (core/art.py packs). */
.mast-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.5rem; align-items: center; }
.mast-copy { min-width: 0; }
.game-shelf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.6rem; min-width: 0; }
.shelf-banner { grid-column: 1 / -1; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 6;
  border: 1px solid var(--border); }
.shelf-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shelf-tile { display: flex; flex-direction: column; align-items: center; gap: 0.4rem; padding: 0.8rem 0.4rem; min-width: 0;
  border: 1px solid var(--border); border-radius: 12px; background: rgba(255,255,255,0.03); color: var(--text);
  font-size: 0.78rem; font-weight: 600; text-align: center; overflow-wrap: anywhere; }
.shelf-tile:hover { border-color: #465568; text-decoration: none; transform: translateY(-1px); }
.shelf-tile img { width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)); }
.card-art { margin: -1.15rem -1.15rem 0.9rem; height: 132px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.08), transparent 60%), var(--surface-2, #1b2230); }
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.card-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(13,17,23,0.85)); }
.card-art.no-banner { display: flex; align-items: center; justify-content: center; }
.card-art.no-banner img { width: 96px; height: 96px; object-fit: contain; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5)); }
a.prop-card:hover .card-art img { transform: scale(1.03); }
.art-strip { display: flex; gap: 0.4rem; margin: 0.75rem 0 0.2rem; overflow: hidden; }
.art-strip img { border-radius: 8px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); }
.art-strip.kind-icon img { width: 40px; height: 40px; object-fit: contain; padding: 3px; }
.art-strip.kind-shot img { width: calc((100% - 0.8rem) / 3); aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.art-strip.kind-portrait img { width: calc((100% - 1.2rem) / 4); aspect-ratio: 4 / 5; height: auto; object-fit: cover; object-position: top; }
.art-credit { font-size: 0.75rem; color: var(--text-muted); margin-top: 1.2rem; overflow-wrap: anywhere; }
@media (max-width: 760px) { .mast-split { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .card-art img, .shelf-tile { transition: none; } }
