.games-module{display:grid;gap:22px}.games-intro{padding:24px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.game-ranking h3,.games-intro h2{display:flex;align-items:center;gap:10px}.games-intro p{margin:8px 0 0}.games-tag{background:#edf5ef;color:#426657;border-radius:20px;padding:8px 14px;font-size:13px;white-space:nowrap}.games-switch{display:flex;gap:12px}.games-switch>button{flex:1;text-align:left;border:1px solid #d7e3dd;border-radius:12px;padding:18px 22px;background:#fff;color:#35564c}.games-switch strong{display:block;font-size:20px}.games-switch span{display:block;font-size:13px;margin-top:6px;color:#64786f}.games-switch>button[aria-pressed=true]{background:#e9f3ed;border-color:#6b9682;box-shadow:inset 0 0 0 1px #6b9682}.games-module button:disabled{opacity:.5;cursor:default}.games-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:24px;align-items:start}.game-play{padding:26px}.game-head{display:flex;justify-content:space-between;gap:16px;margin-bottom:20px}.game-head h3{font-size:26px;margin:0}.game-head p{font-size:13px;line-height:1.7;margin:6px 0 0}.game-score{min-width:100px;background:#edf4ef;border-radius:10px;padding:10px 16px;text-align:center;align-self:start}.game-score span{display:block;font-size:12px;color:#60776c}.game-score strong{font-size:25px;color:#295b47;font-variant-numeric:tabular-nums}.game-grid{display:grid;gap:9px;background:#dce7df;padding:12px;border-radius:14px;max-width:440px;aspect-ratio:1;margin:0 auto;touch-action:none;user-select:none;outline-offset:4px}.game-grid-2048{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(4,1fr)}.game-grid-collapse{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(6,1fr);gap:7px}.game-tile{display:flex;align-items:center;justify-content:center;background:#cbdacf;border-radius:8px;font-size:clamp(20px,3vw,34px);font-weight:700;color:#305747;font-variant-numeric:tabular-nums}.tile-2{background:#f5f7ee}.tile-4{background:#e9efc9}.tile-8{background:#f7df9f;color:#71561a}.tile-16{background:#f3c47d;color:#704311}.tile-32{background:#efa27e;color:#6c321d}.tile-64{background:#df7b5b;color:#fff}.tile-128{background:#8daf77;color:#173c24}.tile-256{background:#5e946b;color:#fff}.tile-512{background:#3a7955;color:#fff}.tile-1024{background:#285c42}.tile-1024,.tile-2048{color:#fff;font-size:25px}.tile-2048{background:#ba8d24}.game-gem{border:1px solid #ffffff80;border-radius:9px;font-size:25px;min-width:0;cursor:pointer;box-shadow:0 3px 0 #00000012;transition:transform .12s}.game-gem:active{transform:scale(.92)}.games-module .game-gem:disabled{opacity:1}.gem-1{background:#f4b5aa;color:#85392d}.gem-2{background:#accde8;color:#28587b}.gem-3{background:#eedc8a;color:#755d19}.gem-4{background:#b5d8b5;color:#356338}.gem-5{background:#d0b9e3;color:#65447e}.game-preview{opacity:.7}.game-footnote,.game-instruction{font-size:13px;line-height:1.8;color:#65776e;text-align:center;margin:14px 0}.game-footnote{font-size:12px;margin-bottom:0}.game-actions,.game-directions{display:flex;gap:10px;align-items:center;justify-content:center;flex-wrap:wrap}.game-actions{margin:20px 0}.game-actions span{font-size:12px}.game-directions button{min-width:48px;justify-content:center}.game-timer{max-width:440px;margin:0 auto 14px;font-size:14px;color:#496453;display:flex;align-items:center;gap:16px}.game-timer progress{accent-color:#4d8065;flex:1;min-width:0;height:9px}.game-submit{margin-top:20px;padding:18px;border-radius:10px;background:#f0f6f2}.game-submit label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}.game-submit>div{display:flex;gap:10px}.game-submit input{min-width:0;flex:1;background:#fff;border:1px solid #becfc4;border-radius:7px;padding:10px;font-size:16px}.game-submit button{flex-shrink:0}.game-submit p{font-size:12px;margin:10px 0 0;color:#64786d}.game-rank-head{padding:24px}.game-rank-head h3{margin:0 0 18px}.game-period{display:flex;background:#f0f4f1;border-radius:8px;padding:4px;gap:4px}.game-period button{flex:1;border:0;background:transparent;border-radius:6px;padding:9px;color:#62786b;font-size:14px}.game-period button[aria-pressed=true]{background:#fff;color:#275941;box-shadow:0 1px 4px #183e2514}.game-my-rank{margin:0 24px 20px;padding:16px;background:#f8f3e5;border-radius:9px;display:grid;gap:7px}.game-my-rank small,.game-my-rank span{font-size:12px;color:#807149}.game-my-rank strong{font-size:17px;color:#705b26}.game-rank-table{width:100%;border-collapse:collapse;font-size:14px;table-layout:fixed}.game-rank-table td,.game-rank-table th{text-align:center;padding:14px 10px;border-bottom:1px solid #e2eae5;overflow-wrap:anywhere}.game-rank-table th{background:#edf5ef;color:#4e6c59}.game-rank-table th:nth-child(2){width:47%}.game-rank-table tbody tr:nth-child(2n){background:#f8faf9}.game-rank-table .game-is-me{background:#eef7ec}.game-rank-table small{color:#56885e}.game-medal{font-size:24px}.game-empty{padding:28px!important;color:#77867d;text-align:center;font-size:14px}.game-rank-notes{padding:20px 24px;font-size:12px;line-height:1.8;color:#718077}.game-rank-notes p{margin:0 0 8px}.games-module .notice{font-size:13px;overflow-wrap:anywhere}.game-ranking>.notice{margin:0 24px 20px}@media(max-width:800px){.games-layout{grid-template-columns:1fr}.games-intro{align-items:flex-start;flex-direction:column}.game-play{padding:20px}.game-head h3{font-size:22px}.games-switch>button{padding:16px}.game-gem{font-size:22px}.game-submit>div{flex-wrap:wrap}.game-submit input{flex-basis:100%}}@media(prefers-reduced-motion:reduce){.game-gem{transition:none}}