.games-page{max-width:1320px;min-height:calc(100vh - 70px);margin:0 auto;padding:44px 28px 60px}.games-page-intro .eyebrow{font-size:11px;letter-spacing:.14em;color:#bd79e9}.games-page-intro h1{margin:8px 0 5px;color:#f5eff8;font:600 36px var(--serif)}.games-page-intro p{margin:0;color:#b5adbb;font-size:15px;line-height:1.6}.games-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,260px));gap:18px;margin-top:26px}.game-card-button{display:flex;flex-direction:column;align-items:stretch;aspect-ratio:1/1;min-width:0;padding:18px;border:1px solid #3b2949;border-radius:14px;background:radial-gradient(circle at 50% 24%,#3a1d4c,#18111f 64%,#100d14);color:#f5eff8;text-align:left;box-shadow:0 12px 30px #0004;transition:transform .18s,border-color .18s,box-shadow .18s}.game-card-button:hover{transform:translateY(-3px);border-color:#9d55c4;box-shadow:0 16px 34px #672c8b45}.game-card-art{display:flex;flex:1;align-items:center;justify-content:center;gap:11px;color:#e0b0ff;text-shadow:0 0 22px #bd67ff85}.game-card-art span:first-child{font-size:54px}.game-card-art span:last-child{font-size:48px}.game-card-title{display:block;margin-top:10px;color:#f7f1fa;font:600 21px var(--serif)}.game-card-description{display:block;margin-top:6px;color:#b8aebe;font-size:13px;line-height:1.5}.game-card-cta{display:flex;align-items:center;justify-content:space-between;margin-top:15px;padding-top:11px;border-top:1px solid #392a45;color:#dba9f7;font-size:13px;font-weight:700}.game-card-cta span{font-size:19px}.emoji-game-dialog{position:fixed;width:min(600px,calc(100vw - 28px));max-width:none;max-height:calc(100vh - 28px);margin:auto;padding:23px;border:1px solid #684580;border-radius:16px;background:linear-gradient(145deg,#17111d,#0b0910 80%);color:#f5eff8;box-shadow:0 24px 90px #000b}.emoji-game-dialog::backdrop{background:#050408dc;backdrop-filter:blur(7px)}.emoji-game-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.emoji-game-dialog-head .eyebrow{font-size:10px;letter-spacing:.13em;color:#bf82e0}.emoji-game-dialog-head h2{margin:5px 0 0;color:#f7f1fa;font:600 26px var(--serif)}.emoji-game-close{display:grid;flex:none;width:36px;height:36px;place-items:center;padding:0;border:1px solid #493858;border-radius:50%;background:#17121c;color:#f1e8f6;font-size:25px;line-height:1}.emoji-game-close:hover{border-color:#b875dc}.emoji-game-status{display:flex;justify-content:space-between;gap:12px;margin-top:22px;padding:10px 12px;border:1px solid #32253d;border-radius:8px;background:#100d14;color:#b9aebe;font-size:13px}.emoji-game-status strong{color:#e4b8fa}.emoji-clues{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:9px;min-height:150px;margin:16px 0;padding:16px;border:1px solid #33253d;border-radius:11px;background:radial-gradient(ellipse at center,#291a34,#0f0c13 75%)}.emoji-clue{display:inline-block;font-size:54px;line-height:1.2;animation:emoji-reveal .3s both;animation-delay:calc(var(--clue-index)*.09s)}.emoji-clue-plus{color:#856d91;font-size:21px}.emoji-game-finish-icon{font-size:70px}.emoji-guess-form label{display:block;margin-bottom:8px;color:#e9e1ed;font-size:14px;font-weight:600}.emoji-guess-form>div{display:flex;gap:9px}.emoji-guess-form input{flex:1;min-width:0;height:46px;padding:0 13px;border:1px solid #4a3856;border-radius:8px;outline:none;background:#0b0910;color:#fff;font-size:15px}.emoji-guess-form input:focus{border-color:#ad64d5;box-shadow:0 0 0 3px #a043f322}.emoji-guess-form input::placeholder{color:#81788a}.emoji-guess-form button,.emoji-game-restart{min-height:46px;padding:0 17px;border:1px solid #a256d0;border-radius:8px;background:linear-gradient(110deg,#70259f,#49176c);color:#fff;font-size:14px;font-weight:700}.emoji-guess-form button:hover,.emoji-game-restart:hover{filter:brightness(1.12)}.emoji-game-feedback{min-height:22px;margin:12px 0 0;color:#a99fb0;font-size:13px;line-height:1.5}.emoji-game-feedback.is-wrong{color:#f1a4ad}.emoji-game-feedback.is-correct{color:#c4f0d2}.emoji-game-restart{margin-top:6px}
@keyframes emoji-reveal{from{opacity:0;transform:translateY(7px) scale(.92)}to{opacity:1;transform:translateY(0) scale(1)}}
@media(max-width:760px){.games-page{min-height:0;padding:28px 15px 40px}.games-page-intro h1{font-size:30px}.games-grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:13px}.game-card-button{max-width:300px}.emoji-game-dialog{padding:18px}.emoji-clue{font-size:47px}}
@media(max-width:520px){.games-page{padding:22px 10px 32px}.games-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.game-card-button{padding:12px;border-radius:11px}.game-card-art span:first-child{font-size:42px}.game-card-art span:last-child{font-size:38px}.game-card-title{font-size:17px}.game-card-description{font-size:12px}.game-card-cta{font-size:12px}.emoji-game-dialog{width:calc(100vw - 16px);max-height:calc(100vh - 16px);padding:14px;border-radius:12px}.emoji-game-dialog-head h2{font-size:22px}.emoji-game-status{font-size:12px}.emoji-clues{min-height:125px;gap:5px}.emoji-clue{font-size:42px}.emoji-guess-form>div{flex-direction:column}.emoji-guess-form button{width:100%}}
.games-grid{grid-template-columns:repeat(2,minmax(0,260px))}.game-card-title{min-height:2.4em;line-height:1.2}
@media(max-width:760px){.games-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.troove-game-dialog{width:min(1120px,calc(100vw - 28px));height:min(860px,calc(100vh - 28px));max-height:calc(100vh - 28px);overflow:hidden}
.troove-game-note{margin:12px 0;color:#b8aebe;font-size:13px;line-height:1.5}
.troove-game-frame-wrap{height:calc(100% - 148px);min-height:300px;overflow:hidden;border:1px solid #33253d;border-radius:11px;background:#08070a}
.troove-game-frame-wrap iframe{display:block;width:100%;height:100%;border:0;background:#08070a}
.troove-game-fallback{display:inline-flex;align-items:center;min-height:42px;margin-top:12px;padding:0 15px;border:1px solid #77429a;border-radius:8px;background:linear-gradient(110deg,#70259f,#49176c);color:#fff;font-size:13px;font-weight:700;text-decoration:none}
.troove-game-fallback:hover{filter:brightness(1.12)}
@media(max-width:760px){.troove-game-dialog{padding:16px}.troove-game-frame-wrap{height:calc(100% - 165px);min-height:250px}}
@media(max-width:520px){.troove-game-dialog{width:calc(100vw - 16px);height:calc(100vh - 16px);max-height:calc(100vh - 16px);padding:12px}.troove-game-dialog .emoji-game-dialog-head h2{font-size:20px}.troove-game-note{font-size:12px}.troove-game-frame-wrap{height:calc(100% - 175px);min-height:220px}.troove-game-fallback{width:100%;justify-content:center}}

@media(min-width:761px){.games-grid{grid-template-columns:repeat(3,minmax(220px,260px))}}
