/* The toy shelf: compact square faces, with the original details one tap away. */
body { background: radial-gradient(#a5ac9133 1px, transparent 1px) 0 0 / 18px 18px, #f5f2e9; }
.page { max-width: 1440px; padding: 0 40px; }
.site-header { min-height: 76px; }
.header-note { display: flex; gap: 24px; }
.header-note a { text-decoration: none; font-weight: 700; }
.intro.cassette-intro { grid-template-columns: 1fr 230px; gap: 24px; padding: 22px 0 25px; }
.cassette-intro h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -2px; }
.cassette-intro h1 br { display: none; }
.cassette-intro .intro-copy { margin-top: 12px; font-size: 16px; }
.cassette-hero { width: 100%; max-width: 230px; margin: 0; }
.cassette-controls { font-size: 9px; gap: 4px; flex-wrap: wrap; }
.games { padding-bottom: 20px; }
.games .section-heading { margin: 0 0 18px; align-items: end; }
.games .section-heading .eyebrow { margin: 0 0 5px; font-size: 10px; letter-spacing: 2px; }
.games .section-heading h2 { font-size: 25px; letter-spacing: -.8px; }
.games .section-heading > span { text-align: right; line-height: 1.6; }
.game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; }
.game-card { min-width: 0; border: 2px solid #263c2d; border-radius: 13px; box-shadow: 4px 5px 0 #263c2d; background: #fffdf7; transition: transform .18s, box-shadow .18s; }
@media (hover: hover) { .game-card:hover { transform: translateY(-4px); box-shadow: 5px 9px 0 #263c2d; } }
.game-card:focus-within { outline: 3px solid #d27639; outline-offset: 4px; }
.tile-face { aspect-ratio: 1; position: relative; container-type: inline-size; }
.tile-face .game-art { position: absolute; inset: 0 0 65px; height: auto; padding: 17px; display: flex; justify-content: center; border-bottom: 2px solid #263c2d; }
.tile-face .art-label { position: absolute; top: 13px; left: 15px; right: 15px; font-size: 8px; letter-spacing: 1px; line-height: 1.4; }
.tile-face .art-bottom { position: absolute; bottom: 10px; right: 12px; font-size: 10px; }
.tile-face .art-bottom > span:first-child { display: none; }
.tile-face .art-arrow { width: 27px; height: 27px; font-size: 18px; background: #ffffff12; }
.tile-caption { position: absolute; bottom: 0; left: 0; right: 0; height: 65px; padding: 11px 14px; }
.tile-caption h3 { font-size: 18px; letter-spacing: -.5px; margin: 0 0 5px; line-height: 1.1; }
.tile-caption .tile-cue { display: block; font-size: 10px; color: #54634e; line-height: 1.3; }
.tile-info { border-top: 1px dashed #bac2ac; }
.tile-info summary { padding: 8px 14px; cursor: pointer; font-size: 11px; font-weight: 700; color: #53634a; }
.tile-info summary::marker { color: #bd4928; }
.tile-info summary:focus-visible { outline: 3px solid #3061c7; outline-offset: -3px; }
.tile-info[open] summary { background: #f0efdc; }
.tile-info .card-content { padding: 14px; }
.tile-info .game-heading:empty { display: none; }
.tile-info .tag { font-size: 9px; }
.tile-info .card-content > p { font-size: 14px; margin: 12px 0; }
.tile-info .card-content > .device-fit { font-size: 10px; }
.tile-info .game-details { gap: 8px; margin-bottom: 16px; font-size: 11px; }
.tile-info .card-actions { flex-wrap: wrap; gap: 14px; }
.tile-info .play-link { font-size: 12px; padding: 12px; gap: 12px; }
.tile-info .quiet-note { font-size: 12px; }
.tile-info .forge-feature-note, .tile-info .life-feature-note { color: #53634a; font-size: 14px; margin: 12px 0; }
.tile-info .play-link { display: inline-flex; }
/* Fit the existing handmade artwork to the smaller windows. */
.tile-face .micro-word { font-size: 18cqw; margin-left: 0; }
.tile-face .micro-circuit { width: 80cqw; height: 38cqw; top: 19cqw; right: -24cqw; border-width: 7cqw; }
.tile-face .pusher-word { top: 18%; font-size: 14cqw; }
.tile-face .pusher-ledge { bottom: 23%; }
.tile-face .pusher-ledge i { width: 9cqw; height: 3cqw; }
.tile-face .pusher-preview:before { inset: 7px; border-width: 3px; }
.tile-face .ironball-word { font-size: 13cqw; }
.tile-face .ironball-word small { letter-spacing: 2px; }
.tile-face .boggle-word { gap: 3px; }
.tile-face .boggle-word span { font-size: 9cqw; border-radius: 5px; }
.tile-face .drift-word { font-size: 24cqw; letter-spacing: 6px; padding: 0; }
.tile-face .drift-rings { width: 60cqw; height: 60cqw; left: 20%; top: 0; }
.tile-face .copper-word { font-size: 12cqw; }
.tile-face .pacman-preview-word { top: 36%; left: 12px; font-size: 10cqw; }
.tile-face .pacman-preview-word > span { font-size: 2.8cqw; letter-spacing: 1px; }
.tile-face .pacman-preview-image { height: 75%; top: 24%; right: 12px; border-width: 3px; }
.tile-face .playset-preview-image { width: 66%; max-width: 66%; top: 24%; }
.tile-face .mancala-mini { top: 32%; height: 30%; border-width: 4px; gap: 4px; padding: 5px; }
.tile-face .mancala-mini > i { width: 17%; }
.tile-face .mancala-mini .mancala-store { height: 90%; width: 14%; }
.tile-face .mancala-mini b { width: 5px; height: 4px; }
.tile-face .mancala-word { top: 71%; font-size: 5cqw; }
.tile-face .fivefold-dice { top: 27%; gap: 5px; }
.tile-face .fivefold-dice i { width: 17%; font-size: 12cqw; border-radius: 5px; }
.tile-face .fivefold-word { top: 69%; font-size: 10cqw; }
.tile-face .fivefold-word em { font-size: 10cqw; }
.tile-face .arcade-word { top: 37%; left: 13px; font-size: 10cqw; letter-spacing: -1px; }
.tile-face .arcade-word > span { font-size: 2.3cqw; margin-top: 8px; }
.tile-face .arcade-preview-image { top: 23%; right: 12px; height: 64%; max-width: 43%; }
.tile-face .timebandit-preview .arcade-preview-image { top: 34%; height: auto; width: 44%; }
.idea-preview { background: #273d29; color: #ffbd86; }
.life-preview { background: #102e34; color: #aeedce; }
.forge-tile-word { font: 900 15cqw/.94 'Trebuchet MS', sans-serif; letter-spacing: -1px; z-index: 1; }
.forge-tile-word > span { display: block; }
.tile-face .forge-feature-art { position: absolute; width: 100%; height: 100%; min-height: 0; inset: 0; opacity: .35; }
.tile-face .forge-art-node { display: none; }
.tile-face .forge-art-center { left: 80%; width: 85px; height: 85px; }
.tile-face .forge-orbit { left: 80%; width: 150px; height: 150px; }
.tile-face .orbit-two { width: 200px; height: 200px; }
.tile-face .life-feature-art { position: absolute; right: -25%; top: 0; width: 100%; opacity: .65; }
.tile-face .life-art-caption { display: none; }
.player-box { margin-top: 26px; border-radius: 13px; padding: 23px; }
.ai-contact { margin-top: 26px; padding: 30px; }
@media (max-width: 1050px) {
  .page { padding: 0 24px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
  .intro.cassette-intro { grid-template-columns: 1fr 175px; }
}
@media (max-width: 760px) {
  .page { padding: 0 18px; }
  .site-header { min-height: 66px; }
  .header-note { font-size: 11px; gap: 12px; }
  .header-note a:first-child { display: none; }
  .intro.cassette-intro { grid-template-columns: 1fr 110px; gap: 10px; padding: 23px 0; }
  .cassette-intro h1 { font-size: 32px; letter-spacing: -1.6px; }
  .cassette-intro .intro-copy { font-size: 13px; line-height: 1.5; margin-top: 9px; }
  .cassette-controls { font-size: 8px; }
  .cassette-controls #cassette-status { display: none; }
  .cassette-controls button { font-size: 9px; }
  .games .section-heading h2 { font-size: 20px; }
  .games .section-heading > span { font-size: 10px; }
  .game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .game-card { box-shadow: 3px 4px 0 #263c2d; border-radius: 10px; }
  .tile-face .game-art { bottom: 60px; padding: 10px; }
  .tile-caption { height: 60px; padding: 9px; }
  .tile-caption h3 { font-size: 14px; letter-spacing: -.35px; }
  .tile-caption .tile-cue { font-size: 9px; }
  .tile-face .art-label { display: none; }
  .tile-face .art-bottom { bottom: 6px; right: 6px; }
  .tile-face .art-arrow { width: 21px; height: 21px; font-size: 14px; }
  .tile-face .pusher-word { top: 12%; font-size: 13cqw; }
  .tile-face .pusher-ledge { bottom: 20%; }
  .tile-face .pacman-preview-word { font-size: 9cqw; left: 7px; }
  .tile-face .arcade-word { font-size: 9cqw; left: 7px; }
  .tile-face .arcade-word > span { display: none; }
  .tile-info summary { font-size: 10px; padding: 7px 9px; }
  .tile-info .card-content { padding: 10px; }
  .tile-info .card-content > p { font-size: 12px; }
  .tile-info .tag { font-size: 8px; padding: 5px; }
  .tile-info .play-link { white-space: normal; }
  .player-box { padding: 18px; }
  .ai-contact { padding: 22px; }
}
@media (max-width: 360px) {
  .page { padding: 0 12px; }
  .game-grid { gap: 11px; }
  .intro.cassette-intro { grid-template-columns: 1fr 85px; }
  .cassette-intro h1 { font-size: 29px; }
  .games .section-heading > span { display: none; }
  .tile-caption h3 { font-size: 12px; }
  .tile-caption .tile-cue { font-size: 8px; }
}
