:root{color:#284b40;background:#eef6df;font-family:"Hiragino Maru Gothic ProN","Yu Gothic",sans-serif;font-synthesis:none}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}main{max-width:1440px;margin:auto;padding:28px 16px 40px}h1{font-size:clamp(27px,5vw,42px);margin:0;line-height:1.3}p{line-height:1.65}a{color:#284b40}button,summary,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #245fc5;outline-offset:3px}.lead{margin:8px 0 22px;font-size:16px}.game-filters{background:#fffaf0;border:1px solid #bed4b7;border-radius:18px;padding:14px;margin-bottom:12px}.filter-row{border:0;padding:0;margin:0 0 14px;min-width:0}.filter-row legend{font-size:13px;font-weight:700;padding:0;margin-bottom:7px}.filter-buttons{display:flex;flex-wrap:wrap;gap:7px}.filter-buttons button,.clear-filters{min-height:44px;padding:8px 14px;border:1px solid #54745e;border-radius:24px;background:white;color:#284b40;font-weight:700;cursor:pointer}.filter-buttons button[aria-pressed="true"]{background:#284b40;color:white;border-color:#284b40}.filter-note{font-size:13px;margin:0}.filter-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.clear-filters{font-size:13px;padding:7px 13px;background:transparent}.clear-filters:disabled{opacity:.55;cursor:default}#game-list-status{font-size:14px;font-weight:700;margin:16px 0 12px}.game-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.game-card{background:#fffaf0;border:1px solid #bed4b7;border-radius:16px;overflow:hidden;box-shadow:0 4px 14px #284b400a;min-width:0}.game-preview{display:block;width:100%;height:auto;aspect-ratio:8/5;object-fit:cover;background:#dce8d2}.card-body{padding:12px;display:flex;flex-direction:column;gap:9px}.card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px;font-size:11px;line-height:1.4;min-height:20px}.subject-label{color:#4b6657}.recommended-badge{background:#ffe4a1;color:#503a0a;border-radius:5px;padding:3px 6px;font-weight:700}.game-card h2{font-size:18px;line-height:1.4;overflow-wrap:anywhere;margin:0}.card-action{font-size:14px;line-height:1.65;margin:0}.play{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;background:#a64030;color:white;text-decoration:none;font-weight:700;border-radius:10px;padding:10px 6px}.game-card details{font-size:13px;border-top:1px solid #d7dfce}.game-card summary{min-height:44px;padding:12px 0;cursor:pointer;font-weight:700}.game-card details p{margin:0 0 8px;overflow-wrap:anywhere}.empty-state{border:1px dashed #8b9f80;border-radius:16px;padding:28px 18px;text-align:center}.empty-state p{margin:0 0 16px}.small,footer{font-size:13px}.registration-note{margin:26px 0 12px}footer{border-top:1px solid #bed4b7;margin-top:24px;padding-top:18px;max-width:900px}footer a{display:inline-block;padding:10px 0;min-height:44px}.contact-address{overflow-wrap:anywhere}@media(min-width:380px){main{padding-inline:12px}.game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-card h2{font-size:16px}.card-body{padding:11px}.card-action{font-size:13px}}@media(min-width:760px){main{padding:32px 24px 48px}.game-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.game-card h2{font-size:18px}.card-body{padding:14px}.card-action{font-size:14px}}@media(min-width:1120px){.game-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}

/* Keep the screenshot gallery near the top; both filter rows retain spoken labels. */
.lead{margin:6px 0 14px}.game-filters{padding:12px}.filter-row{margin-bottom:10px}
.filter-row legend{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.filter-footer{margin-top:8px}#game-list-status{margin:12px 0 10px}
@media(min-width:760px){main{padding-top:24px}.game-filters{margin-bottom:8px}}
.clear-filters:disabled{display:none}
@media(max-width:560px){
  .filter-row:first-of-type .filter-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}
  .filter-buttons button[data-group="view"]{min-width:0;min-height:44px;font-size:13px;padding:4px;white-space:nowrap}
}
