:root {
  font-family: "Trebuchet MS", Arial, sans-serif;
  color: #293e32;
  background: #f8f5eb;
  color-scheme: light;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 18px; line-height: 1.6; }
header, main, footer { max-width: 1032px; margin: auto; padding: 16px; }
a { color: #45684b; display: inline-block; padding: 8px; }
a:focus-visible, summary:focus-visible { outline: 3px solid #b46d3b; outline-offset: 4px; }
.brand { display: inline-flex; align-items: center; gap: 8px; padding: 0; text-decoration: none; }
.brand span { font-size: 32px; font-weight: bold; }
.brand img { border-radius: 0; }
h1 { font-size: clamp(32px, 6vw, 44px); line-height: 1.2; }
h2 { line-height: 1.3; margin-top: 32px; }
img { max-width: 100%; height: auto; border-radius: 24px; display: block; }
.hero { max-width: 720px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
/* Portrait pictures start their own row so they never share one with landscape pictures. */
.landscape + .portrait { grid-column-start: 1; }
figure, .card { min-width: 0; margin: 0; padding: 16px; background: #fffefa; border-radius: 24px; }
figcaption { margin-top: 12px; overflow-wrap: anywhere; }
.variant-note { margin-bottom: 0; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; }
.card span { display: block; padding-top: 8px; }
.play { background: #45684b; color: white; border-radius: 24px; padding: 16px 24px; margin: 24px 0; }
summary { cursor: pointer; padding: 8px 0; }
audio { max-width: 100%; }
footer { margin-top: 32px; }
.muted { color: #65705f; font-size: 15px; }
.show-child { margin: 24px 0; }
.show-child .play { margin: 0; }
.show-child p { margin-top: 8px; }
.game-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.game-card { display: block; min-width: 0; padding: 0; overflow: hidden; background: #fffefa; border-radius: 24px; text-decoration: none; }
.game-art { display: grid; aspect-ratio: 3 / 2; overflow: hidden; }
.game-art picture, .game-art img { width: 100%; height: 100%; min-height: 0; }
.game-art img { object-fit: cover; border-radius: 0; }
.game-art-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; }
.game-caption { padding: 16px 20px; }
.game-caption strong { font-size: 24px; }
.game-caption p { margin: 8px 0 0; }
.adult-section { margin-top: 48px; border-top: 2px solid #dedfd0; padding-top: 16px; }
.intro { max-width: 720px; margin-bottom: 24px; }
.summary-links { margin: 32px 0; }
.summary-links a { background: #fffefa; border-radius: 16px; margin: 4px; padding: 12px 16px; }
.summary-card h3 { font-size: 19px; line-height: 1.5; }
.summary-card audio { width: 100%; }
.audio-label { margin-bottom: 4px; }
@media (max-width: 580px) { .game-grid { grid-template-columns: 1fr; } }
