.packs-intro { display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:center; gap:clamp(24px,8vw,110px); }
.packs-intro h1 { max-width:10ch; }
.packs-intro p { max-width:42ch; }

.packs-mosaic { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; padding:12px; border:1px solid var(--line); border-radius:var(--radius); background:var(--tint); }
.packs-mosaic span, .theme-pack-banner span { display:grid; place-items:center; aspect-ratio:1; border-radius:8px; }
.packs-mosaic span { background:var(--surface); }
.packs-mosaic span:nth-child(1), .packs-mosaic span:nth-child(5) { background:#e7ddf2; }
.packs-mosaic span:nth-child(2), .packs-mosaic span:nth-child(6) { background:#dce9d8; }
.packs-mosaic span:nth-child(3), .packs-mosaic span:nth-child(4) { background:#f1ddba; }
.packs-mosaic img, .theme-pack-banner img { max-width:85%; height:auto; }

.theme-pack-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.theme-pack-card { display:flex; flex-direction:column; overflow:hidden; border:1px solid var(--line); border-radius:var(--radius); background:var(--surface); scroll-margin:90px; }
.theme-pack-card:target { outline:2px solid var(--ink); outline-offset:3px; }
.theme-relics { --pack-tone:#e8d9f1; }
.theme-atlas { --pack-tone:#ecd8b8; }
.theme-wilds { --pack-tone:#d9e7cc; }
.theme-hearth { --pack-tone:#f2d8c8; }
.theme-workshop { --pack-tone:#dbe7ea; }
.theme-orbit { --pack-tone:#dbe0f4; }
.theme-pack-banner { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:5px; background:var(--pack-tone); padding:12px; }
.theme-pack-banner:focus-visible { outline-offset:-4px; }
.theme-pack-banner span { background:#ffffff62; }
.theme-pack-banner:hover span { background:#ffffffa6; }
.theme-pack-body { flex:1; display:flex; flex-direction:column; padding:clamp(14px,2vw,24px); }
.theme-pack-body h3 { margin:0 0 6px; font-size:clamp(20px,2.5vw,26px); letter-spacing:-.04em; }
.theme-pack-body p { margin:0 0 10px; color:var(--mute); }
.theme-pack-body .pack-member-examples { font-size:13px; }
.theme-pack-body .pack-specs { color:var(--ink); margin-top:auto; font-size:13px; font-weight:650; }
.theme-pack-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px 11px; }

@media (max-width:950px) { .theme-pack-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:740px) {
 .packs-intro { grid-template-columns:1fr; }
 .packs-mosaic { width:min(100%,450px); }
}
@media (max-width:520px) {
 .theme-pack-grid { grid-template-columns:1fr; }
 .packs-mosaic img { max-width:75%; max-height:84px; }
}

.original-playday { --pack-tone:#efe0f3; }
.original-warmfolk { --pack-tone:#ead9c4; }
.original-grid { --pack-tone:#e2e7f2; }
.original-grid .theme-pack-banner img { image-rendering:pixelated; }
