.games-discovery{display:flex;align-items:center;gap:24px;margin:22px 0;padding:27px 32px;border-radius:28px;background:linear-gradient(125deg,#e9f0e7,#f4efde 65%,#eee8f8);border:1px solid white;box-shadow:var(--soft-shadow)}.games-discovery h2{font-size:27px;margin:8px 0}.games-discovery p{font-size:13px;color:#82728e;line-height:1.7;margin:5px 0}.games-discovery .secondary{margin-left:auto;white-space:nowrap}.games-entry-icon{display:grid;place-items:center;width:65px;height:65px;flex-shrink:0;border-radius:23px;background:linear-gradient(140deg,#fff9e8,#e8dbb6);font-size:35px;color:#c8aa60;box-shadow:inset 0 2px 8px white}
#games{max-width:1260px;padding-top:28px;padding-bottom:50px}.games-hero{display:flex;justify-content:space-between;align-items:center;gap:30px;padding:35px 45px;border:1px solid white;border-radius:32px;background:linear-gradient(130deg,#ece9f8,#f7efe2);box-shadow:var(--soft-shadow)}.games-hero h1{font-size:45px;font-weight:500;margin:17px 0}.games-hero p{font-size:14px;line-height:1.8;color:#83738e}.games-hero img{height:175px;max-width:30%;object-fit:contain;transform:rotate(5deg)}.game-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:23px;margin:28px 0}.game-menu[hidden],#gamePlay[hidden],[hidden].primary{display:none!important}.game-menu>button{padding:27px;text-align:left;border:1px solid #e7deed;border-radius:26px;background:linear-gradient(140deg,#fffdfd,#f8f4fa);color:#4f405e;box-shadow:var(--soft-shadow);transition:transform .18s,box-shadow .18s}.game-menu>button:hover{transform:translateY(-3px);box-shadow:0 12px 30px #87719216}.game-menu>button>span{display:grid;place-items:center;width:54px;height:54px;border-radius:19px;background:linear-gradient(140deg,#e5dbf6,#e2ecf5);font-size:29px;color:#aa8fc4}.game-menu h2{font-size:25px;font-weight:500;margin:17px 0 10px}.game-menu p{font-size:13px;line-height:1.8;color:#887294;margin:0}.game-music-controls{display:flex;align-items:center;gap:22px;flex-wrap:wrap;margin:24px 0;padding:17px 22px;border:1px solid #e6deed;background:#f6f1fa;border-radius:22px}.game-music-controls>label{display:flex;align-items:center;gap:13px;color:#826b93;font-size:12px}.game-music-controls input{accent-color:#9274b6;max-width:170px}.game-music-controls audio{display:none}.game-music-controls #gameMusicStatus{color:#936776;font-size:12px}.game-play-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:25px 0}.game-play-heading h2{font-size:28px;font-weight:500}.game-levels{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 20px}.game-levels>span{font-size:12px;color:#8e779b;margin-right:8px}.game-levels>button{border:1px solid #e2d5ec;width:43px;height:43px;border-radius:50%;background:white;color:#8c6ca6}.game-levels>button[aria-pressed=true]{background:#9274b6;color:white;border-color:#9274b6}.game-feedback{font-size:16px;color:#816396;text-align:center;min-height:30px;line-height:1.7;margin:22px 0}.game-instructions{text-align:center;font-size:14px;color:#8a7297;line-height:1.8}.game-progress{text-align:center;font-size:13px;color:#8f779c}.runner-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin:22px 0}.runner-actions button{min-height:46px}.runner-actions button:disabled{opacity:.5;cursor:default}#runnerCanvas{width:100%;display:block;aspect-ratio:900/330;border:1px solid #e4deed;border-radius:25px;touch-action:manipulation;background:#ece9f8}.word-game-prompt,.color-game-prompt{display:flex;flex-direction:column;align-items:center;gap:14px;padding:23px;background:linear-gradient(140deg,#f1eaf9,#f4eff3);border-radius:24px;margin:20px 0}.word-game-prompt>span,.color-game-prompt>span{font-size:13px;color:#8a7497}.word-game-prompt strong{font-size:38px;font-family:Outfit,sans-serif;font-weight:500;color:#7b5f94}.word-game-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:18px}.word-game-choices button{border:2px solid #e5ddeb;background:linear-gradient(145deg,#fffdfa,#f4f0f9);border-radius:25px;padding:10px;min-height:170px;transition:background .2s}.word-game-choices svg{width:100%;height:170px;display:block}.word-game-choices .correct{border-color:#a7c9a3;background:#e9f4e5}.word-game-choices .try-again{border-color:#d6c4a3}.game-round-footer{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin:23px 0;color:#977da4;font-size:13px}.memory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;max-width:850px;margin:20px auto}.memory-card{position:relative;aspect-ratio:1.15;border:1px solid #e0d3eb;border-radius:23px;background:linear-gradient(145deg,#e7def4,#e4eaf5);padding:8px}.memory-card>span{font-size:50px;color:#bca3d1;text-shadow:0 1px 0 white}.memory-card svg{width:100%;height:100%;display:block}.memory-card.revealed{background:#fffdfa;border-color:#cbb3dd}.memory-card.matched{background:#edf4e7;border-color:#c7d9bb}.game-finished{text-align:center;padding:25px 20px 40px;background:linear-gradient(140deg,#f1edf9,#f6efe7);border:1px solid white;border-radius:28px}.game-finished img{height:135px;max-width:150px;object-fit:contain}.game-finished h3{font-size:30px;font-weight:500}.game-finished p{font-size:14px;color:#8d769c;margin:18px 0 25px}.color-game-prompt strong{display:flex;align-items:center;gap:13px;color:#79618c;font-size:29px;font-family:Outfit,sans-serif;font-weight:500}.color-game-prompt i{display:inline-block;width:40px;height:40px;border-radius:50%;border:3px solid #ffffff;box-shadow:0 3px 10px #826b9a15}.color-game-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.color-game-grid>button{position:relative;min-height:140px;padding:12px;border:1px solid #e3d8eb;background:#fffdfb;border-radius:23px}.color-game-grid svg{display:block;width:100%;height:145px}.color-game-grid .found{border-color:#b8d1ac;background:#eff6e9}.color-check{position:absolute;bottom:10px;right:12px;font-size:25px;color:#87a772}.game-levels button:focus-visible,.game-menu button:focus-visible{outline:3px solid #ab8dc7;outline-offset:4px}
@media(max-width:850px){.games-discovery{flex-wrap:wrap;padding:23px}.games-discovery .secondary{margin-left:0}.games-hero{padding:30px}.games-hero h1{font-size:36px}.games-hero img{height:145px}.word-game-choices{grid-template-columns:repeat(2,minmax(0,1fr))}.color-game-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){header nav{gap:13px!important;justify-content:center}.nav{font-size:10px}.games-discovery{padding:22px;border-radius:25px;gap:15px}.games-entry-icon{width:48px;height:48px;font-size:29px;border-radius:17px}.games-discovery>div:nth-child(2){flex:1;min-width:160px}.games-discovery h2{font-size:23px}.games-discovery .secondary{width:100%;font-size:12px}.games-hero{padding:25px 20px;border-radius:27px;gap:8px}.games-hero h1{font-size:29px;line-height:1.2;letter-spacing:-1px}.games-hero p{font-size:12px}.games-hero img{height:125px;max-width:29%}.game-menu{grid-template-columns:1fr;gap:16px}.game-menu>button{padding:22px}.game-menu h2{font-size:24px}.game-play-heading{align-items:flex-start;flex-direction:column;gap:7px}.game-play-heading h2{font-size:27px}.game-music-controls{padding:17px;gap:14px;border-radius:21px}.game-music-controls>label{width:100%;justify-content:space-between}.game-music-controls>button{font-size:12px;width:100%}.game-music-controls input{flex:1;max-width:170px;min-width:50px}#runnerCanvas{border-radius:19px;aspect-ratio:650/330;object-fit:contain}.runner-actions{gap:8px}.runner-actions button{font-size:12px;padding:12px 16px}.game-instructions{font-size:12px}.word-game-choices{gap:11px}.word-game-choices button{padding:4px;min-height:140px;border-radius:21px}.word-game-choices svg{height:140px}.word-game-prompt strong{font-size:30px}.word-game-prompt .secondary{font-size:12px}.memory-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.memory-card{border-radius:20px}.color-game-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.color-game-grid>button{padding:5px;min-height:115px;border-radius:20px}.color-game-grid svg{height:125px}.game-finished h3{font-size:25px}.game-round-footer .primary{font-size:12px}.game-levels{gap:8px}}

@media(max-width:600px){.games-hero{display:block;position:relative}.games-hero>div{position:relative;z-index:1}.games-hero img{position:absolute;right:13px;top:13px;height:65px;max-width:60px;opacity:.5}.games-hero h1{padding-top:23px;overflow-wrap:anywhere}}
.game-options{padding:14px 18px;background:#f3edf8;border:1px solid #e6dced;border-radius:18px;margin:10px 0 15px}.game-options[hidden]{display:none}.game-options label{display:flex;align-items:center;gap:12px;color:#816791;font-size:13px;line-height:1.5;cursor:pointer}.game-options input{width:21px;height:21px;accent-color:#9274b6;flex-shrink:0}.game-stats{font-size:16px;line-height:1.7;font-weight:600;color:#735785;background:linear-gradient(130deg,#f2eaf9,#f7efe8);border-radius:18px;padding:15px 20px;margin:17px 0 22px;text-align:center}.color-word-only strong{color:#34364f!important}.game-round-footer .primary[hidden]{display:none!important}.game-round-footer{min-height:57px}@media(max-width:600px){.game-options{padding:14px}.game-options label{font-size:12px}.game-stats{font-size:13px;padding:14px;overflow-wrap:anywhere}.game-round-footer .primary{min-height:45px}}
