.game-cell{background:#f0f6ff;border-radius:1.25rem;box-shadow:0 4px 16px 0 rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;font-size:2.5rem;aspect-ratio:1/1;position:relative;cursor:pointer;transition:background .18s,opacity .8s}.game-cell:hover{background:#cce6ff}.game-cell.clicking{transform:scale(.95);background:#e5e7eb;transition:all .1s ease-out}.game-cell.disabled{cursor:not-allowed;opacity:.7}.game-cell.disabled:hover{background:#f0f6ff}.game-cell.selected{background:#ffe5cc;box-shadow:0 0 0 3px #ff6b00}.game-cell.fading{opacity:.3;animation:fadeOut .8s;pointer-events:none}@keyframes fadeOut{0%{opacity:1}to{opacity:.3}}.move-number{position:absolute;top:-.75rem;right:-.75rem;width:1.5rem;height:1.5rem;background:#e5e7eb;border-radius:9999px;display:flex;align-items:center;justify-content:center;font-size:.85rem;font-weight:700;z-index:2}.move-number.fading{color:#fff}.fading-overlay,.move-number.fading{background:#ff6b00;animation:pulse 1.2s infinite alternate}.fading-overlay{position:absolute;inset:0;opacity:.15;border-radius:1.25rem;pointer-events:none}@media(width <= 768px){.game-cell{font-size:2.25rem}.move-number{top:-.625rem;right:-.625rem;width:1.25rem;height:1.25rem;font-size:.75rem}}@media(width <= 480px){.game-cell{font-size:2rem}.move-number{top:-.5rem;right:-.5rem;width:1rem;height:1rem;font-size:.7rem}}@media(width <= 360px){.game-cell{font-size:1.75rem}.move-number{top:-.375rem;right:-.375rem;width:.875rem;height:.875rem;font-size:.65rem}}.game-board{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:1.5rem;background:#fff;border-radius:2rem;box-shadow:0 8px 32px 0 rgba(0,0,0,.1);padding:1.25rem;width:100%;max-width:450px;min-height:450px;position:relative}.strike-animate{stroke-dasharray:120;stroke-dashoffset:120;animation:strike-line .5s cubic-bezier(.4,2,.6,1) forwards}@keyframes strike-line{to{stroke-dashoffset:0}}@media(width <= 768px){.game-board{max-width:400px;min-height:400px;gap:1.25rem;padding:1rem}}@media(width <= 480px){.game-board{max-width:350px;min-height:350px;gap:1rem;padding:.875rem}}@media(width <= 360px){.game-board{max-width:320px;min-height:320px;gap:.75rem;padding:.75rem}}.game-controls{display:flex;gap:1rem;margin-top:2rem;width:100%;max-width:350px}.game-controls .invite-btn,.game-controls .new-match-btn,.game-controls .show-rules-btn{width:-moz-fit-content;width:fit-content;flex:1 1 0;font-size:1rem;padding:.9rem 0;border-radius:1.25rem;box-shadow:0 4px 16px 0 rgba(0,0,0,.08);display:flex;align-items:center;justify-content:center;gap:.5rem}.game-controls .show-rules-btn{flex:0 0 auto;min-width:100px}.game-controls .new-match-btn{flex:1}@media(width <= 768px){.game-controls{margin-top:1.5rem;max-width:400px;gap:.875rem}.game-controls .invite-btn,.game-controls .new-match-btn,.game-controls .show-rules-btn{font-size:.95rem;padding:.8rem 0;gap:.375rem}.game-controls .show-rules-btn{min-width:90px}}@media(width <= 480px){.game-controls{margin-top:1.25rem;max-width:95%;gap:.75rem}.game-controls .invite-btn,.game-controls .new-match-btn,.game-controls .show-rules-btn{font-size:.9rem;padding:.75rem 0;gap:.25rem}.game-controls .show-rules-btn{min-width:80px}}@media(width <= 360px){.game-controls{gap:.5rem}.game-controls .invite-btn,.game-controls .new-match-btn,.game-controls .show-rules-btn{font-size:.85rem;padding:.625rem 0}.game-controls .show-rules-btn{min-width:70px}}.game-rules{padding:.5rem 2rem}.game-rules .game-rules-list{margin-left:-.5rem}.game-rules-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.6);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);z-index:1000;display:flex;align-items:center;justify-content:center;padding:1rem}.game-rules-modal{background:#fff;border-radius:2rem;box-shadow:0 8px 32px 0 rgba(0,0,0,.1);max-width:600px;width:100%;max-height:90vh;overflow-y:auto;position:relative;outline:none}.game-rules-modal__close{position:absolute;top:1rem;right:1rem;background:none;border:none;font-size:1.5rem;color:#6b7280;cursor:pointer;width:2rem;height:2rem;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s ease;z-index:10}.game-rules-modal__close:hover{background:#f3f4f6;color:#222}.game-rules-modal__close:focus{outline:2px solid #ffd100;outline-offset:2px}.game-rules-modal__header{padding:2rem 2rem 1rem;text-align:center;border-bottom:1px solid #e5e7eb}.game-rules-modal__title{font-size:1.75rem;font-weight:700;color:#222;margin:0 0 .5rem}.game-rules-modal__subtitle{color:#6b7280;margin:0;font-size:1rem}.game-rules-modal__content{padding:1.5rem 2rem}.game-rules-modal__content .game-rules{box-shadow:none;border:none;background:rgba(0,0,0,0);padding:0;margin-bottom:1.5rem}.game-rules-modal__content .game-rules .game-rules-title{font-size:1.25rem;margin-bottom:1rem;color:#ffd100}.game-rules-modal__tips{background:#f0f6ff;border-radius:1.25rem;padding:1.25rem;margin-top:1.5rem}.game-rules-modal__tips h4{margin:0 0 .75rem;color:#08f;font-size:1.1rem;font-weight:600}.game-rules-modal__tips ul{margin:0;padding-left:1.25rem;list-style:none}.game-rules-modal__tips ul li{position:relative;color:#222;margin-bottom:.5rem;padding-left:.5rem}.game-rules-modal__tips ul li:before{content:"▶";position:absolute;left:-1rem;color:#08f;font-size:.8rem}.game-rules-modal__tips ul li:last-child{margin-bottom:0}.game-rules-modal__footer{padding:1rem 2rem 2rem;text-align:center;border-top:1px solid #e5e7eb}.game-rules-modal__start-btn{background:linear-gradient(135deg,#ffd100,#08f);color:#fff;border:none;padding:.875rem 2rem;border-radius:9999px;font-size:1.1rem;font-weight:600;cursor:pointer;transition:all .2s ease;box-shadow:0 4px 16px 0 rgba(0,0,0,.08)}.game-rules-modal__start-btn:hover{transform:translateY(-2px);box-shadow:0 8px 32px 0 rgba(0,0,0,.1)}.game-rules-modal__start-btn:active{transform:translateY(0)}.game-rules-modal__start-btn:focus{outline:2px solid #ffd100;outline-offset:2px}@media(max-width:768px){.game-rules-modal{margin:.5rem;max-height:95vh}.game-rules-modal__header{padding:1.5rem 1.5rem 1rem}.game-rules-modal__title{font-size:1.5rem}.game-rules-modal__content{padding:1rem 1.5rem}.game-rules-modal__footer{padding:1rem 1.5rem 1.5rem}.game-rules-modal__close{top:.75rem;right:.75rem}}@media(max-width:480px){.game-rules-modal-overlay{padding:.5rem}.game-rules-modal__header{padding:1.25rem 1.25rem .75rem}.game-rules-modal__title{font-size:1.375rem}.game-rules-modal__content{padding:.75rem 1.25rem}.game-rules-modal__footer{padding:.75rem 1.25rem 1.25rem}.game-rules-modal__start-btn{padding:.75rem 1.5rem;font-size:1rem}}.move-timeline .move-timeline-title{font-weight:500;font-size:1.1rem;margin-bottom:.7rem;color:#222}.move-timeline .move-timeline-list{background:#f0f6ff;border-radius:1.25rem;padding:1rem;max-height:160px;overflow-y:auto}.move-timeline .move-timeline-item{display:flex;justify-content:space-between;align-items:center;font-size:.98rem;margin-bottom:.5rem}.move-timeline .move-timeline-item:last-child{margin-bottom:0}.move-timeline .move-timeline-item.fading,.move-timeline .move-timeline-item.fading .move-fading,.move-timeline .move-timeline-item.fading .move-label{color:#ff6b00}.move-timeline .move-timeline-item .move-label{font-weight:500}.move-timeline .move-timeline-item .move-player-x{color:#ffd100}.move-timeline .move-timeline-item .move-player-o{color:#08f}.move-timeline .move-timeline-item .move-fading{color:#ff6b00}@media(width <= 768px){.move-timeline .move-timeline-title{font-size:1rem;margin-bottom:.625rem}.move-timeline .move-timeline-list{padding:.875rem;max-height:140px}.move-timeline .move-timeline-item{font-size:.9rem;margin-bottom:.375rem}}@media(width <= 480px){.move-timeline .move-timeline-title{font-size:.95rem;margin-bottom:.5rem}.move-timeline .move-timeline-list{padding:.75rem;max-height:120px}.move-timeline .move-timeline-item{font-size:.85rem;margin-bottom:.25rem}}.player-stats{display:flex;align-items:center;gap:1rem}.player-stats .player-icon{flex-shrink:0}.player-stats .player-info{flex:1 1 0}.player-stats .player-info .player-name{font-weight:600;font-size:1.1rem}.player-stats .player-info .player-status{font-size:.95rem;color:#6b7280}.player-stats .player-score{font-family:Fredoka,sans-serif;font-size:2rem;font-weight:700}.player-stats .player-score-x{color:#ffd100}.player-stats .player-score-o,.player-stats.active .player-name{color:#08f}.game-stats{padding:.5rem 2rem 2rem}.game-stats .game-stats-title{font-family:Fredoka,sans-serif;font-size:1.5rem;margin-bottom:1.5rem;color:#222}.game-stats .player-stats-list{margin-bottom:1.5rem;display:flex;flex-direction:column;gap:1rem}@media(width <= 768px){.game-stats{padding:.5rem 1.5rem 1.5rem}.game-stats .game-stats-title{font-size:1.375rem;margin-bottom:1.25rem}.game-stats .player-stats-list{margin-bottom:1.25rem;gap:.875rem}}@media(width <= 480px){.game-stats{padding:.5rem 1rem 1rem}.game-stats .game-stats-title{font-size:1.25rem;margin-bottom:1rem}.game-stats .player-stats-list{margin-bottom:1rem;gap:.75rem}}.game-status-message{margin-top:1.5rem;text-align:center;font-family:Fredoka,sans-serif;font-size:1.1rem}.game-status-message .player-X{color:#ffd100;font-weight:600}.game-status-message .player-O{color:#08f;font-weight:600}.game-timer{position:relative;bottom:2rem;background:hsla(0,0%,100%,.95);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:2px solid var(--primary-color);border-radius:12px;padding:8px 12px;display:flex;align-items:center;gap:6px;font-family:Courier New,monospace;font-weight:700;font-size:14px;color:var(--text-color);box-shadow:0 4px 12px rgba(0,0,0,.15);z-index:1000;transition:all .3s ease}.game-timer:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.2)}.game-timer .timer-icon{font-size:16px;animation:pulse 2s infinite}.game-timer .timer-text{color:var(--primary-color);font-size:16px;letter-spacing:.5px}@media(max-width:768px){.game-timer{bottom:1rem;padding:6px 10px;font-size:12px}.game-timer .timer-icon,.game-timer .timer-text{font-size:14px}}@media(max-width:480px){.game-timer{padding:4px 8px}.game-timer .timer-icon,.game-timer .timer-text{font-size:12px}}.high-score-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.7);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;z-index:1000;padding:1rem}.high-score-modal{background:#fff;border-radius:2rem;box-shadow:0 8px 32px 0 rgba(0,0,0,.1);max-width:500px;width:100%;max-height:90vh;overflow-y:auto;position:relative;border:2px solid #ffd100}.high-score-modal .high-score-modal__close{position:absolute;top:1rem;right:1rem;background:#f8fafc;border:none;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#6b7280;transition:all .2s ease;z-index:1}.high-score-modal .high-score-modal__close:hover:not(:disabled){background:#f3f4f6;color:#222;transform:scale(1.1)}.high-score-modal .high-score-modal__close:disabled{opacity:.5;cursor:not-allowed}.high-score-modal .high-score-modal__close i{font-size:1rem}.high-score-modal .high-score-modal__header{text-align:center;padding:2rem 2rem 1rem;background:linear-gradient(135deg,rgba(255,215,0,.1),rgba(255,165,0,.05));border-bottom:1px solid #e5e7eb}.high-score-modal .high-score-modal__celebration{display:flex;justify-content:center;gap:1rem;margin-bottom:1rem;font-size:2rem}.high-score-modal .high-score-modal__celebration i{animation:bounce 2s infinite}.high-score-modal .high-score-modal__celebration i:first-child{color:gold;animation-delay:0s}.high-score-modal .high-score-modal__celebration i:nth-child(2){color:#ff6b6b;animation-delay:.2s}.high-score-modal .high-score-modal__celebration i:nth-child(3){color:#4ecdc4;animation-delay:.4s}.high-score-modal .high-score-modal__title{font-size:1.5rem;font-weight:700;color:#222;margin:0 0 .75rem}.high-score-modal .high-score-modal__subtitle{font-size:1rem;color:#6b7280;margin:0;line-height:1.5}.high-score-modal .high-score-modal__subtitle strong{color:#ffd100;font-weight:700}.high-score-modal .high-score-modal__form{padding:2rem}.high-score-modal .high-score-modal__field{margin-bottom:1rem}.high-score-modal .high-score-modal__field:last-of-type{margin-bottom:2rem}.high-score-modal .high-score-modal__label{display:block;font-size:.875rem;font-weight:500;color:#222;margin-bottom:.5rem}.high-score-modal .high-score-modal__label .required{color:#ef4444}.high-score-modal .high-score-modal__label .optional{color:#9ca3af;font-weight:400}.high-score-modal .high-score-modal__input{width:100%;padding:.75rem 1rem;border:2px solid #e5e7eb;border-radius:.75rem;background:#f8fafc;color:#222;font-size:1rem;transition:all .2s ease}.high-score-modal .high-score-modal__input:focus{outline:none;border-color:#ffd100;background:#fff;box-shadow:0 0 0 3px rgba(255,209,0,.1)}.high-score-modal .high-score-modal__input:disabled{opacity:.6;cursor:not-allowed}.high-score-modal .high-score-modal__input::-moz-placeholder{color:#9ca3af}.high-score-modal .high-score-modal__input::placeholder{color:#9ca3af}.high-score-modal .high-score-modal__error{display:flex;align-items:center;gap:.5rem;color:#ef4444;font-size:.875rem;margin-bottom:1rem;padding:.75rem;background:rgba(239,68,68,.1);border-radius:.5rem;border:1px solid rgba(239,68,68,.2)}.high-score-modal .high-score-modal__error i{font-size:.875rem}.high-score-modal .high-score-modal__actions{display:flex;gap:1rem;justify-content:flex-end}.high-score-modal .high-score-modal__actions .high-score-modal__cancel,.high-score-modal .high-score-modal__actions .high-score-modal__submit{min-width:120px;display:flex;align-items:center;justify-content:center;gap:.5rem}@keyframes bounce{0%,20%,50%,80%,to{transform:translateY(0)}40%{transform:translateY(-10px)}60%{transform:translateY(-5px)}}@media(max-width:768px){.high-score-modal-overlay{padding:.75rem}.high-score-modal .high-score-modal__form,.high-score-modal .high-score-modal__header{padding:1rem}.high-score-modal .high-score-modal__actions{flex-direction:column}.high-score-modal .high-score-modal__actions .high-score-modal__cancel,.high-score-modal .high-score-modal__actions .high-score-modal__submit{width:100%}.high-score-modal .high-score-modal__celebration{font-size:1.5rem;gap:.75rem}}.leaderboard .leaderboard-title{font-size:1.25rem;font-weight:700;color:#222;margin:0 0 .5rem;text-align:center;background:linear-gradient(135deg,#ffd700,#ff8c00);-webkit-background-clip:text;-webkit-text-fill-color:rgba(0,0,0,0);background-clip:text}.leaderboard .leaderboard-subtitle{font-size:.75rem;color:#6b7280;text-align:center;margin:0 0 1.5rem;font-weight:500}.leaderboard .leaderboard-empty,.leaderboard .leaderboard-error,.leaderboard .leaderboard-loading{display:flex;align-items:center;justify-content:center;gap:.75rem;padding:2rem;color:#6b7280;font-size:.875rem}.leaderboard .leaderboard-empty i,.leaderboard .leaderboard-error i,.leaderboard .leaderboard-loading i{font-size:1rem}.leaderboard .leaderboard-error{color:#ef4444}.leaderboard .leaderboard-list{display:flex;flex-direction:column;gap:.5rem}.leaderboard .leaderboard-entry{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;border-radius:.75rem;background:#f8fafc;border:1px solid #e5e7eb;transition:all .3s ease;position:relative;overflow:hidden}.leaderboard .leaderboard-entry:hover{background:#f9fafb;transform:translateY(-2px);box-shadow:0 4px 12px rgba(0,0,0,.15);border-color:#ffd100}.leaderboard .leaderboard-entry--podium{background:linear-gradient(135deg,rgba(255,215,0,.08),rgba(255,165,0,.04));border:1px solid rgba(255,215,0,.3);box-shadow:0 2px 8px rgba(255,215,0,.1)}.leaderboard .leaderboard-entry--podium:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,#ffd700,#ff8c00)}.leaderboard .leaderboard-entry--podium:hover{background:linear-gradient(135deg,rgba(255,215,0,.12),rgba(255,165,0,.06));box-shadow:0 6px 20px rgba(255,215,0,.2)}.leaderboard .leaderboard-entry__rank{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;font-weight:700;font-size:.875rem;flex-shrink:0;position:relative;background:#fff;border:2px solid #e5e7eb;box-shadow:0 2px 8px 0 rgba(0,0,0,.06)}.leaderboard .leaderboard-entry__rank--podium{background:rgba(0,0,0,0);border:none;box-shadow:none}.leaderboard .leaderboard-entry__rank .rank-icon{font-size:1.5rem;filter:drop-shadow(0 2px 4px rgba(0,0,0,.2));display:inline-block;animation:pulse 2s infinite}.leaderboard .leaderboard-entry__rank i{font-size:1.5rem}.leaderboard .leaderboard-entry__rank i.fa-trophy{color:gold;text-shadow:0 0 12px rgba(255,215,0,.8);filter:drop-shadow(0 3px 6px rgba(255,215,0,.4))}.leaderboard .leaderboard-entry__rank i.fa-star{color:silver;text-shadow:0 0 12px rgba(192,192,192,.8);filter:drop-shadow(0 3px 6px rgba(192,192,192,.4))}.leaderboard .leaderboard-entry__rank i.fa-gem{color:#cd7f32;text-shadow:0 0 12px rgba(205,127,50,.8);filter:drop-shadow(0 3px 6px rgba(205,127,50,.4))}.leaderboard .leaderboard-entry__rank span{color:#6b7280;font-size:.75rem}.leaderboard .leaderboard-entry__info{flex:1;min-width:0}.leaderboard .leaderboard-entry__name{font-weight:700;color:#222;font-size:1rem;margin-bottom:2px;line-height:1.2}.leaderboard .leaderboard-entry__message{font-size:.75rem;color:#6b7280;font-style:italic;margin-bottom:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.3;opacity:.8}.leaderboard .leaderboard-entry__date{font-size:.75rem;color:#9ca3af;font-weight:500;opacity:.7}.leaderboard .leaderboard-entry__stats{display:flex;flex-direction:column;gap:4px;align-items:flex-end;flex-shrink:0}.leaderboard .leaderboard-entry__moves,.leaderboard .leaderboard-entry__time{display:flex;align-items:center;gap:6px;font-size:.875rem;color:#000!important;background:#fff;padding:2px 8px;border-radius:.5rem;border:1px solid #e5e7eb;min-width:70px;justify-content:flex-end}.leaderboard .leaderboard-entry__moves i,.leaderboard .leaderboard-entry__time i{width:14px;text-align:center;font-size:.75rem}.leaderboard .leaderboard-entry__moves span,.leaderboard .leaderboard-entry__time span{font-weight:500}.leaderboard .leaderboard-entry__moves{color:#ffd100;border-color:rgba(255,209,0,.3);background:rgba(255,209,0,.05)}.leaderboard .leaderboard-entry__moves i{color:#ffd100}.leaderboard .leaderboard-entry__time i{color:#9ca3af}.leaderboard .leaderboard-footer{text-align:center;border-top:1px solid #e5e7eb;background:linear-gradient(135deg,rgba(255,209,0,.02),rgba(255,209,0,.01));border-radius:0 0 .75rem .75rem;margin:1.5rem -1.5rem -1.5rem;padding:1.5rem}.leaderboard .leaderboard-footer small{color:#9ca3af;font-size:.75rem;font-weight:500;opacity:.8}@media(max-width:768px){.leaderboard-entry{padding:1rem}.leaderboard-entry .leaderboard-entry__stats{flex-direction:row;gap:.5rem;align-items:center}.leaderboard-entry .leaderboard-entry__moves,.leaderboard-entry .leaderboard-entry__time{min-width:60px;font-size:.75rem;padding:2px 6px}.leaderboard-entry__name{font-size:.875rem}}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.1)}}.turn-indicator{display:flex;align-items:center;background:#fff;border-radius:9999px;box-shadow:0 8px 32px 0 rgba(0,0,0,.1);padding:1rem 2rem;margin-bottom:2rem;gap:2rem}.turn-indicator .player{display:flex;align-items:center;font-family:Fredoka,sans-serif;font-weight:500;font-size:1.1rem;gap:.5rem}.turn-indicator .player.active{color:#08f}.turn-indicator .score{font-family:Fredoka,sans-serif;font-size:1.3rem;font-weight:600}.turn-indicator .score .score-x{color:#ffd100}.turn-indicator .score .score-o{color:#08f}@media(width <= 768px){.turn-indicator{padding:.875rem 1.5rem;margin-bottom:1.5rem;gap:1.5rem}.turn-indicator .player{font-size:1rem;gap:.375rem}.turn-indicator .score{font-size:1.2rem}}@media(width <= 480px){.turn-indicator{padding:.75rem 1.25rem;margin-bottom:1.25rem;gap:1.25rem}.turn-indicator .player{font-size:.9rem;gap:.25rem}.turn-indicator .score{font-size:1.1rem}}@media(width <= 360px){.turn-indicator{padding:.625rem 1rem;gap:1rem}.turn-indicator .player{font-size:.85rem}.turn-indicator .score{font-size:1rem}}@keyframes float{0%,to{transform:translateY(0)}50%{transform:translateY(-20px)}}@keyframes bounce-slow{0%,to{transform:translateY(0) rotate(3deg)}50%{transform:translateY(-80px) rotate(3deg)}}@keyframes spin-slow{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.float{animation:float 6s ease-in-out infinite}.bounce-slow{animation:bounce-slow 3s infinite}.spin-slow{animation:spin-slow 8s linear infinite}.game-screen{min-height:100vh;background:#f0f6ff;display:flex;flex-direction:column}.game-main{display:flex;flex:1 1 auto;flex-direction:row;justify-content:center;align-items:flex-start;padding:10rem 2rem 2rem;position:relative;gap:2rem}.game-board-section{flex:2 1 0;display:flex;flex-direction:column;align-items:center;min-width:0}.game-sidebar{flex:1 1 0;min-width:320px;max-width:400px;display:flex;flex-direction:column;gap:1.5rem}.ad-space{margin:2rem auto 0;max-width:1200px;width:100%}@media(width <= 1024px){.game-main{padding:5rem 1.5rem 1.5rem;gap:1.5rem}.game-sidebar{min-width:280px;max-width:350px}}@media(width <= 768px){.game-main{flex-direction:column;padding:7rem 1rem 1rem;gap:2rem;align-items:center}.game-board-section,.game-sidebar{flex:none;width:100%;max-width:500px}.game-sidebar{min-width:0}.ad-space{margin:1.5rem auto 0;padding:0 1rem}}@media(width <= 480px){.game-main{padding:8rem .75rem .75rem;gap:1.5rem}.game-board-section,.game-sidebar{max-width:100%}.ad-space{margin:1rem auto 0;padding:0 .75rem}}