[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.spotlight-switcher { margin-bottom: 24px; }
.spotlight-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.spotlight-picker { display: flex; flex: 1; flex-wrap: wrap; gap: 6px; }
.spotlight-controls button { min-height: 46px; padding: 10px 17px; border: 1px solid var(--line); border-radius: 30px; color: var(--muted); background: transparent; font: 500 13px var(--sans); cursor: pointer; }
.spotlight-picker button span { margin-right: 8px; font-size: 10px; opacity: .75; }
.spotlight-picker button[aria-pressed="true"] { color: var(--ivory); border-color: #9b9778; background: #3b3d30; }
.spotlight-controls button:hover { border-color: var(--ochre); }
.spotlight-controls button:focus-visible { outline: 2px solid var(--ochre); outline-offset: 4px; }
.is-carousel .spotlight-stage { display: grid; }
.is-carousel .game-spotlight { grid-area: 1 / 1; animation: spotlight-reveal 350ms ease both; }
@keyframes spotlight-reveal { from { opacity: 0; } to { opacity: 1; } }
.spotlight-switcher .game-spotlight { margin-bottom: 0; min-height: 330px; }
.game-spotlight + .game-spotlight { margin-top: 16px; }
.spotlight-switcher:has([data-spotlight-controls]:not([hidden])) .game-spotlight { margin-top: 0; }
.spotlight-sandbloom { background: radial-gradient(ellipse at 0% 100%, #92514244, transparent 65%), #3a2c2b; }
.spotlight-sandbloom .eyebrow, .spotlight-sandbloom .text-link { color: #e6b1a0; }
.spotlight-sandbloom .spotlight-description { color: #d7c1b4; }
.spotlight-sandbloom .support-link { background: #e4ae89; }
.spotlight-sandbloom .spotlight-art { display: grid; place-items: center; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 70% 20%, #e9be7340, transparent 58%), #644a40; }
.spotlight-sandbloom .spotlight-art::before, .spotlight-sandbloom .spotlight-art::after { content: ""; position: absolute; z-index: -1; width: 140%; height: 75%; bottom: -44%; border-radius: 45%; transform: rotate(-15deg); background: #d3936e50; }
.spotlight-sandbloom .spotlight-art::after { bottom: -51%; transform: rotate(14deg); background: #d0b78250; }
.spotlight-sandbloom .spotlight-art img { position: relative; width: 226px; height: auto; border-radius: 23%; box-shadow: 0 25px 50px #29171460; transform: rotate(5deg); }

/* Two anchors flank a compact center column. The DOM keeps heroes first. */
.home .app-wall { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.home .app-item { grid-column: span 4; width: 100%; justify-self: center; text-align: center; }
.home .app-item img { margin-inline: auto; max-width: 122px; }
.home .app-item[data-scale="large"] img { max-width: 182px; }
.home .app-item[data-scale="hero"] img { max-width: 308px; }
.home .app-item[data-app-slug="tiny-traffic-circle"] { grid-column: 1 / 5; grid-row: 1 / 3; }
.home .app-item[data-app-slug="sandbloom"] { grid-column: 9 / 13; grid-row: 1 / 3; }
.home .app-item[data-app-slug="your-pace"] { grid-column: 5 / 9; grid-row: 1; }
.home .app-item[data-app-slug="pocket-prosody"] { grid-column: 5 / 7; grid-row: 2; }
.home .app-item[data-app-slug="tap-for-a-pixel"] { grid-column: 7 / 9; grid-row: 2; }
.home .app-item[data-scale="small"] .app-caption p { max-width: 140px; margin-inline: auto; }
.home .app-caption h3 { font-size: 13px; }
.home .app-item[data-scale="hero"] h3 { font-size: 16px; }
.home .collection-heading { margin-bottom: 22px; }
.home .studio-note h2 em { display: block; }

@media (max-width: 760px) {
  .home .app-wall { gap: 24px 16px; }
  .home .app-item[data-scale="hero"] { grid-column: span 6; grid-row: auto; }
  .home .app-item[data-scale="hero"] img { width: 88%; max-width: 250px; }
  .home .app-item[data-scale="small"], .home .app-item[data-scale="large"] { grid-column: span 4; grid-row: auto; }
  .home .app-item[data-scale="small"] img { width: 78%; max-width: 116px; }
  .home .app-item[data-scale="large"] img { max-width: 166px; }
  .spotlight-switcher .game-spotlight { min-height: 350px; }
}
@media (max-width: 520px) {
  .spotlight-picker { display: grid; grid-template-columns: 1fr 1fr; }
  .spotlight-picker button { padding-inline: 8px; font-size: 12px; }
  .spotlight-picker button span { display: none; }
  .spotlight-switcher .game-spotlight { min-height: 0; }
  .spotlight-sandbloom .spotlight-art img { width: 146px; margin-block: 20px; }
  .spotlight-art { min-height: 186px; }
  .home .app-wall { gap: 24px 10px; }
  .home .app-item[data-scale="hero"] img { width: 96%; }
  .home .app-caption h3, .home .app-item[data-scale="hero"] h3 { font-size: 12px; }
  .home .app-caption p, .home .app-item[data-scale="hero"] .app-caption p { font-size: 11px; }
  .home .app-item[data-scale="small"] .app-caption p { display: none; }
  .home .studio-note h2 em { display: inline; }
}
