@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5;font-weight:400;--color-primary: #0a0a0a;--color-secondary: #1a1a1a;--color-accent: #d4af37;--color-accent-light: #f4d03f;--color-accent-dark: #b8941e;--color-background: #000000;--color-surface: #1a1a1a;--color-text-primary: #ffffff;--color-text-secondary: #b0b0b0;--color-text-gold: #d4af37;--color-border: #2a2a2a;--color-border-gold: #d4af37;color-scheme:dark;color:var(--color-text-primary);background-color:var(--color-background);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box;margin:0;padding:0}body{margin:0;display:flex;min-width:320px;min-height:100vh;background-color:var(--color-background);color:var(--color-text-primary)}#root{width:100%;min-height:100vh}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:var(--color-surface)}::-webkit-scrollbar-thumb{background:linear-gradient(135deg,#f4d03f,#d4af37,#b8941e);border-radius:5px}::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,#f4d03f 0% 100%)}.cg-wrap{box-sizing:content-box;position:relative;display:block}cg-container{position:absolute;width:100%;height:100%;display:block;top:0}cg-board{position:absolute;top:0;left:0;width:100%;height:100%;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;line-height:0;background-size:cover}.cg-wrap.manipulable cg-board{cursor:pointer}cg-board square{position:absolute;top:0;left:0;width:12.5%;height:12.5%;pointer-events:none}cg-board square.move-dest{pointer-events:auto}cg-board square.last-move{will-change:transform}.cg-wrap piece{position:absolute;top:0;left:0;width:12.5%;height:12.5%;background-size:cover;z-index:2;will-change:transform;pointer-events:none}cg-board piece.dragging{cursor:move;z-index:11!important}piece.anim{z-index:8}piece.fading{z-index:1;opacity:.5}.cg-wrap piece.ghost{opacity:.3}.cg-wrap piece svg{overflow:hidden;position:relative;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;opacity:.6}.cg-wrap cg-auto-pieces,.cg-wrap .cg-shapes,.cg-wrap .cg-custom-svgs{overflow:visible;position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.cg-wrap cg-auto-pieces{z-index:2}.cg-wrap cg-auto-pieces piece{opacity:.3}.cg-wrap .cg-shapes{overflow:hidden;opacity:.6;z-index:2}.cg-wrap .cg-custom-svgs{z-index:9}.cg-wrap .cg-custom-svgs svg{overflow:visible}.cg-wrap coords{position:absolute;display:flex;pointer-events:none;opacity:.8;font-family:sans-serif;font-size:9px}.cg-wrap coords.ranks{left:4px;top:-20px;flex-flow:column-reverse;height:100%;width:12px}.cg-wrap coords.ranks.black{flex-flow:column}.cg-wrap coords.ranks.left{left:-15px;align-items:flex-end}.cg-wrap coords.files{bottom:-4px;left:24px;flex-flow:row;width:100%;height:16px;text-transform:uppercase;text-align:center}.cg-wrap coords.files.black{flex-flow:row-reverse}.cg-wrap coords coord{flex:1 1 auto}.cg-wrap coords.ranks coord{transform:translateY(39%)}.cg-wrap coords.squares{bottom:0;left:0;text-transform:uppercase;text-align:right;flex-flow:column-reverse;height:100%;width:12.5%}.cg-wrap coords.squares.black{flex-flow:column}.cg-wrap coords.squares.left{text-align:left}.cg-wrap coords.squares coord{padding:6% 4%}.cg-wrap coords.squares.rank2{transform:translate(100%)}.cg-wrap coords.squares.rank3{transform:translate(200%)}.cg-wrap coords.squares.rank4{transform:translate(300%)}.cg-wrap coords.squares.rank5{transform:translate(400%)}.cg-wrap coords.squares.rank6{transform:translate(500%)}.cg-wrap coords.squares.rank7{transform:translate(600%)}.cg-wrap coords.squares.rank8{transform:translate(700%)}cg-board{background-color:#f0d9b5;background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4PSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIgogICAgIHZpZXdCb3g9IjAgMCA4IDgiIHNoYXBlLXJlbmRlcmluZz0iY3Jpc3BFZGdlcyI+CjxnIGlkPSJhIj4KICA8ZyBpZD0iYiI+CiAgICA8ZyBpZD0iYyI+CiAgICAgIDxnIGlkPSJkIj4KICAgICAgICA8cmVjdCB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZSIgb3BhY2l0eT0iMCIvPgogICAgICAgIDx1c2UgeD0iMSIgeT0iMSIgaHJlZj0iI2UiIHg6aHJlZj0iI2UiLz4KICAgICAgICA8cmVjdCB5PSIxIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBpZD0iZiIgb3BhY2l0eT0iMC4yIi8+CiAgICAgICAgPHVzZSB4PSIxIiB5PSItMSIgaHJlZj0iI2YiIHg6aHJlZj0iI2YiLz4KICAgICAgPC9nPgogICAgICA8dXNlIHg9IjIiIGhyZWY9IiNkIiB4OmhyZWY9IiNkIi8+CiAgICA8L2c+CiAgICA8dXNlIHg9IjQiIGhyZWY9IiNjIiB4OmhyZWY9IiNjIi8+CiAgPC9nPgogIDx1c2UgeT0iMiIgaHJlZj0iI2IiIHg6aHJlZj0iI2IiLz4KPC9nPgo8dXNlIHk9IjQiIGhyZWY9IiNhIiB4OmhyZWY9IiNhIi8+Cjwvc3ZnPg==)}cg-board square.move-dest{background:radial-gradient(#14551e80 22%,#208530 0,#0000004d,#0000 0)}cg-board square.premove-dest{background:radial-gradient(#141e5580 22%,#203085 0,#0000004d,#0000 0)}cg-board square.oc.move-dest{background:radial-gradient(transparent 0%,transparent 80%,rgba(20,85,0,.3) 80%)}cg-board square.oc.premove-dest{background:radial-gradient(transparent 0%,transparent 80%,rgba(20,30,85,.2) 80%)}cg-board square.move-dest:hover{background:#14551e4d}cg-board square.premove-dest:hover{background:#141e5533}cg-board square.last-move{background-color:#9bc70069}cg-board square.selected{background-color:#14551e80}cg-board square.check{background:radial-gradient(ellipse at center,red,#e70000 25%,#a9000000 89%,#9e000000)}cg-board square.current-premove{background-color:#141e5580}.orientation-white .ranks :nth-child(odd),.orientation-white .files :nth-child(2n),.orientation-black .ranks :nth-child(2n),.orientation-black .files :nth-child(odd),coords.squares:nth-of-type(odd) :nth-child(2n),coords.squares:nth-of-type(2n) :nth-child(odd){color:#484848cc}.orientation-white .ranks :nth-child(2n),.orientation-white .files :nth-child(odd),.orientation-black .ranks :nth-child(odd),.orientation-black .files :nth-child(2n),coords.squares:nth-of-type(odd) :nth-child(odd),coords.squares:nth-of-type(2n) :nth-child(2n){color:#fffc}.cg-wrap piece.pawn.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIGZpbGw9IiNmZmYiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.white{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB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nPg==)}.cg-wrap piece.pawn.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PHBhdGggZD0iTTIyLjUgOWMtMi4yMSAwLTQgMS43OS00IDQgMCAuODkuMjkgMS43MS43OCAyLjM4QzE3LjMzIDE2LjUgMTYgMTguNTkgMTYgMjFjMCAyLjAzLjk0IDMuODQgMi40MSA1LjAzLTMgMS4wNi03LjQxIDUuNTUtNy40MSAxMy40N2gyM2MwLTcuOTItNC40MS0xMi40MS03LjQxLTEzLjQ3IDEuNDctMS4xOSAyLjQxLTMgMi40MS01LjAzIDAtMi40MS0xLjMzLTQuNS0zLjI4LTUuNjIuNDktLjY3Ljc4LTEuNDkuNzgtMi4zOCAwLTIuMjEtMS43OS00LTQtNHoiIHN0cm9rZT0iIzAwMCIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPjwvc3ZnPg==)}.cg-wrap piece.bishop.black{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0NSIgaGVpZ2h0PSI0NSI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiBzdHJva2U9IiMwMDAiIHN0cm9rZS13aWR0aD0iMS41IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjxnIGZpbGw9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJidXR0Ij48cGF0aCBkPSJNOSAzNmMzLjM5LS45NyAxMC4xMS40MyAxMy41LTIgMy4zOSAyLjQzIDEwLjExIDEuMDMgMTMuNSAyIDAgMCAxLjY1LjU0IDMgMi0uNjguOTctMS42NS45OS0zIC41LTMuMzktLjk3LTEwLjExLjQ2LTEzLjUtMS0zLjM5IDEuNDYtMT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LjUgMTUuNSAzLjUgMjEgMHYtN3M5LTQuNSA2LTEwLjVjLTQtNi41LTEzLjUtMy41LTE2IDRWMjd2LTMuNWMtMy41LTcuNS0xMy0xMC41LTE2LTQtMyA2IDUgMTAgNSAxMFYzN3oiIGZpbGw9IiMwMDAiLz48cGF0aCBkPSJNMjAgOGg1IiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PHBhdGggZD0iTTMyIDI5LjVzOC41LTQgNi4wMy05LjY1QzM0LjE1IDE0IDI1IDE4IDIyLjUgMjQuNWwuMDEgMi4xLS4wMS0yLjFDMjAgMTggOS45MDYgMTQgNi45OTcgMTkuODVjLTIuNDk3IDUuNjUgNC44NTMgOSA0Ljg1MyA5IiBzdHJva2U9IiNlY2VjZWMiLz48cGF0aCBkPSJNMTEuNSAzMGM1LjUtMyAxNS41LTMgMjEgMG0tMjEgMy41YzUuNS0zIDE1LjUtMyAyMSAwbS0yMSAzLjVjNS41LTMgMTUuNS0zIDIxIDAiIHN0cm9rZT0iI2VjZWNlYyIvPjwvZz48L3N2Zz4=)}.cg-wrap.theme-gold{background:#1a1a1a}.cg-wrap.theme-gold cg-board{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='50' height='50' fill='%23d4af37'/%3E%3Crect x='50' width='50' height='50' fill='%23000000'/%3E%3Crect y='50' width='50' height='50' fill='%23000000'/%3E%3Crect x='50' y='50' width='50' height='50' fill='%23d4af37'/%3E%3C/svg%3E");background-size:25% 25%}.cg-wrap.theme-gold cg-board square.last-move{background-color:#d4af3766!important}.cg-wrap.theme-gold cg-board square.selected{background-color:#d4af3799!important}.cg-wrap.theme-gold cg-board square.move-dest{background:radial-gradient(rgba(212,175,55,.5) 22%,transparent 0)}.cg-wrap.theme-brown cg-board{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='50' height='50' fill='%23f0d9b5'/%3E%3Crect x='50' width='50' height='50' fill='%23b58863'/%3E%3Crect y='50' width='50' height='50' fill='%23b58863'/%3E%3Crect x='50' y='50' width='50' height='50' fill='%23f0d9b5'/%3E%3C/svg%3E");background-size:25% 25%}.cg-wrap.theme-blue{background:#1a1a2e}.cg-wrap.theme-blue cg-board{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='50' height='50' fill='%23dee3e6'/%3E%3Crect x='50' width='50' height='50' fill='%238ca2ad'/%3E%3Crect y='50' width='50' height='50' fill='%238ca2ad'/%3E%3Crect x='50' y='50' width='50' height='50' fill='%23dee3e6'/%3E%3C/svg%3E");background-size:25% 25%}.cg-wrap.theme-blue cg-board square.last-move{background-color:#8ca2ad66!important}.cg-wrap.theme-green cg-board{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='50' height='50' fill='%23ffffdd'/%3E%3Crect x='50' width='50' height='50' fill='%2386a666'/%3E%3Crect y='50' width='50' height='50' fill='%2386a666'/%3E%3Crect x='50' y='50' width='50' height='50' fill='%23ffffdd'/%3E%3C/svg%3E");background-size:25% 25%}.cg-wrap.theme-green cg-board square.last-move{background-color:#86a66666!important}.cg-wrap.theme-purple cg-board{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Crect width='50' height='50' fill='%23e8e8e8'/%3E%3Crect x='50' width='50' height='50' fill='%239f7bb0'/%3E%3Crect y='50' width='50' height='50' fill='%239f7bb0'/%3E%3Crect x='50' y='50' width='50' height='50' fill='%23e8e8e8'/%3E%3C/svg%3E");background-size:25% 25%}.cg-wrap.theme-purple cg-board square.last-move{background-color:#9f7bb066!important}.board-small{max-width:400px!important}.board-medium{max-width:600px!important}.board-large{max-width:800px!important}.cg-wrap coords{color:var(--color-text-gold);font-weight:600;text-shadow:0 0 5px rgba(212,175,55,.5)}.cg-wrap cg-board square.check{background-color:#f006!important}.cg-wrap piece{transition:transform .2s ease,opacity .2s ease}.cg-wrap piece:hover{transform:scale(1.05);filter:drop-shadow(0 4px 8px rgba(212,175,55,.4))}.cg-wrap{box-shadow:0 4px 20px #00000080;border-radius:4px;overflow:hidden}.theme-gold .cg-wrap{box-shadow:0 4px 20px #d4af374d}@media(max-width:1024px){.chessboard-container{padding:16px!important}.player-info-card{padding:20px!important}.berserk-button{width:70px!important;height:70px!important;font-size:35px!important;right:15px!important}.chat-toggle-button{width:50px!important;height:50px!important;font-size:22px!important}}@media(max-width:768px){.chessboard-container{padding:12px!important;max-width:100%!important}.chessboard-header{flex-direction:column!important;align-items:stretch!important;gap:12px!important}.chessboard-header h2{font-size:20px!important;text-align:center}.chessboard-header>div{flex-direction:column!important;width:100%!important}.chessboard-header button{width:100%!important;padding:10px 16px!important;font-size:13px!important}.player-info-panels{flex-direction:column!important;gap:12px!important;margin-bottom:16px!important}.player-info-card{padding:16px!important}.player-info-card>div:first-child{font-size:16px!important}.player-info-card>div:last-child{font-size:24px!important}.chessboard-board{max-width:100%!important;width:100%!important}.move-history{margin-top:16px!important}.move-history h3{font-size:18px!important}.move-history>div{max-height:150px!important;font-size:13px!important}.berserk-button{width:60px!important;height:60px!important;font-size:30px!important;right:10px!important}.chat-toggle-button{width:45px!important;height:45px!important;font-size:20px!important;bottom:15px!important;right:15px!important}.chat-container{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;bottom:0!important;right:0!important;border-radius:0!important}.modal-container>div{max-width:90%!important;padding:24px!important}.modal-container h2{font-size:20px!important}.modal-container p{font-size:14px!important}.modal-container button{padding:12px 20px!important;font-size:14px!important}.game-status{font-size:14px!important;padding:10px 16px!important}}@media(max-width:480px){.chessboard-container{padding:8px!important}.chessboard-header h2{font-size:18px!important}.chessboard-header button{padding:8px 12px!important;font-size:12px!important}.player-info-card{padding:12px!important}.player-info-card>div:first-child{font-size:14px!important}.player-info-card>div:last-child{font-size:20px!important}.move-history h3{font-size:16px!important}.move-history>div{max-height:120px!important;font-size:12px!important;padding:8px!important}.berserk-button{width:50px!important;height:50px!important;font-size:25px!important;right:8px!important}.chat-toggle-button{width:40px!important;height:40px!important;font-size:18px!important;bottom:12px!important;right:12px!important}.modal-container>div{padding:20px!important}.modal-container h2{font-size:18px!important}.modal-container p{font-size:13px!important}.modal-container button{padding:10px 16px!important;font-size:13px!important}.modal-container .rating-change{font-size:24px!important}}@media(max-width:768px)and (orientation:landscape){.player-info-panels{flex-direction:row!important}.chessboard-board{max-width:50vh!important}.move-history{display:none}}.stat-card{text-align:center;padding:16px;background:#d4af370d;border:1px solid var(--color-border);border-radius:8px;transition:all .3s ease}.stat-card:hover{background:#d4af371a;border-color:#d4af37}.stat-label{color:#888;font-size:13px;margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.stat-value{color:#fff;font-size:24px;font-weight:700}@media(max-width:768px){.profile-container{padding:12px!important}.profile-stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.stat-card{padding:12px}.stat-label{font-size:11px}.stat-value{font-size:20px}.profile-friends-grid{grid-template-columns:1fr!important;gap:16px!important}.friend-card{flex-direction:column!important;align-items:flex-start!important;gap:10px!important}.friend-card button{width:100%}}@media(max-width:768px){.coach-container{flex-direction:column!important;height:auto!important;min-height:calc(100vh - 100px);padding:12px!important;gap:12px!important}.coach-sidebar{width:100%!important;max-height:250px!important;padding:16px!important}.coach-sidebar h2{font-size:18px!important;margin-bottom:12px!important}.coach-sidebar h3{font-size:13px!important;margin-bottom:10px!important}.coach-games-list{display:flex!important;flex-direction:row!important;overflow-x:auto!important;gap:10px!important;padding-bottom:10px}.coach-game-card{min-width:250px!important;padding:12px!important}.coach-chat{flex:1!important;min-height:500px!important}.coach-messages{padding:12px!important;gap:10px!important}.coach-message{max-width:85%!important;padding:10px 12px!important;font-size:14px!important}.coach-input-area{padding:12px!important;flex-direction:column!important;gap:8px!important}.coach-input-area input{width:100%!important;padding:10px 12px!important;font-size:14px!important}.coach-input-area button{width:100%!important;padding:10px!important}}@media(max-width:768px){.puzzles-container{padding:12px!important}.puzzles-stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:10px!important}.puzzles-layout{grid-template-columns:1fr!important;gap:16px!important}.puzzles-board-container{order:1;padding:12px!important}.puzzles-board-wrapper{max-width:100%!important}.puzzles-info-panel{order:2}.puzzles-buttons{flex-direction:column!important;gap:10px!important}.puzzles-buttons button{width:100%!important;max-width:none!important}.puzzles-message{font-size:14px!important;padding:10px!important}.puzzles-info{font-size:13px!important}}@media(max-width:480px){.puzzles-container{padding:8px!important}.puzzles-stats-grid{gap:8px!important}.puzzles-board-container{padding:8px!important}.puzzles-info h3{font-size:16px!important}.puzzles-info p{font-size:13px!important}}@media(max-width:480px){.stat-card{padding:10px}.stat-label{font-size:10px}.stat-value{font-size:18px}.coach-sidebar{max-height:200px!important;padding:12px!important}.coach-game-card{min-width:220px!important;padding:10px!important;font-size:13px!important}.coach-message{max-width:90%!important;padding:8px 10px!important;font-size:13px!important}}@media(max-width:768px){.live-games-grid{grid-template-columns:1fr!important}.live-game-card{grid-template-columns:1fr!important;text-align:center!important}.live-game-card>div{text-align:center!important}}@media(max-width:1024px){.tournaments-container{max-width:90%!important;margin:60px auto!important}.tournament-create-grid{grid-template-columns:1fr!important}}@media(max-width:768px){.tournaments-container{max-width:100%!important;margin:60px auto!important;padding:12px!important}.tournaments-header{flex-direction:column!important;align-items:flex-start!important;gap:16px!important}.tournaments-header>div{width:100%}.tournaments-header button{width:100%}.tournament-join-grid{grid-template-columns:1fr!important;gap:12px!important}.tournament-join-grid button{width:100%}.tournament-card{padding:12px!important}.tournament-card-header{flex-direction:column!important;align-items:flex-start!important;gap:12px!important}.tournament-card-info{flex-wrap:wrap!important;gap:8px!important}.tournament-create-grid{grid-template-columns:1fr!important;gap:12px!important}.tournament-create-actions{margin-top:12px!important}.tournament-create-actions button{width:100%;padding:12px!important}.active-tournaments-grid{gap:12px!important}.active-tournament-card{padding:12px!important}.active-tournament-header{flex-direction:column!important;align-items:flex-start!important;gap:8px!important}.active-tournament-status{align-self:flex-start!important}.active-tournament-info{flex-wrap:wrap!important;gap:8px!important;font-size:13px!important}}@media(max-width:480px){.tournaments-container{padding:8px!important}.tournament-card{padding:10px!important}.tournament-card h3,.tournament-card h4{font-size:16px!important}.active-tournament-info{font-size:12px!important}.active-tournament-info span{white-space:nowrap}}.app{min-height:100vh;background-color:var(--color-background);color:var(--color-text-primary);padding-top:100px}.nav{position:fixed;top:0;left:0;right:0;background:linear-gradient(135deg,#000,#1a1a1a);border-bottom:2px solid var(--color-border-gold);box-shadow:0 4px 20px #d4af3733;z-index:10000}.nav-content{max-width:1400px;margin:0 auto;padding:12px 20px;display:flex;gap:16px;align-items:center;flex-wrap:nowrap}.nav-logo{display:flex;align-items:center;gap:8px;text-decoration:none;color:#fff;font-weight:700;font-size:20px;transition:all .3s ease;flex-shrink:0}.nav-logo:hover{color:var(--color-accent-light);transform:translateY(-2px)}.nav-links{display:flex;gap:4px;align-items:center;flex-shrink:1}.nav-link{color:var(--color-text-secondary);text-decoration:none;font-weight:500;font-size:14px;transition:all .3s ease;padding:8px 12px;border-radius:8px;position:relative;white-space:nowrap}.nav-link:after{content:"";position:absolute;bottom:6px;left:12px;right:12px;height:2px;background:linear-gradient(90deg,#f4d03f,#d4af37);transform:scaleX(0);transition:transform .3s ease}.nav-link:hover{color:var(--color-text-gold);background-color:#d4af371a}.nav-link:hover:after{transform:scaleX(1)}.nav-user{margin-left:auto;display:flex;gap:8px;align-items:center;color:var(--color-text-primary);font-weight:500;flex-shrink:0}.nav-user-info{display:flex;align-items:center;gap:6px;padding:8px 14px;background:linear-gradient(135deg,#d4af371a,#d4af370d);border-radius:10px;border:1px solid var(--color-border-gold);box-shadow:0 0 15px #d4af3733;white-space:nowrap;font-size:14px;max-width:200px;min-width:0}.nav-user-info span:first-child{overflow:hidden;text-overflow:ellipsis}.nav-user-elo{color:var(--color-text-gold);font-weight:700;text-shadow:0 0 10px rgba(212,175,55,.3)}button{transition:all .3s ease;font-family:inherit}button:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 6px 20px #d4af3766}button:active:not(:disabled){transform:translateY(0)}button:disabled{opacity:.5;cursor:not-allowed}.btn-primary{background:linear-gradient(135deg,#f4d03f,#d4af37,#b8941e);color:#000;border:none;padding:12px 28px;border-radius:10px;font-weight:700;cursor:pointer;font-size:15px;box-shadow:0 4px 15px #d4af3766;text-transform:uppercase;letter-spacing:.5px}.btn-primary:hover:not(:disabled){background:linear-gradient(135deg,#f4d03f 0% 100%);box-shadow:0 6px 25px #d4af3799}.btn-secondary{background-color:var(--color-surface);color:var(--color-text-gold);border:2px solid var(--color-border-gold);padding:12px 28px;border-radius:10px;font-weight:600;cursor:pointer;font-size:15px}.btn-secondary:hover:not(:disabled){background:linear-gradient(135deg,#d4af371a,#d4af3733);border-color:var(--color-accent-light)}.btn-outline{background-color:transparent;color:var(--color-text-primary);border:2px solid var(--color-border);padding:10px 22px;border-radius:8px;font-weight:500;cursor:pointer;font-size:15px}.btn-outline:hover:not(:disabled){border-color:var(--color-border-gold);color:var(--color-text-gold);background:#d4af370d}.card{background-color:var(--color-surface);border:1px solid var(--color-border);border-radius:12px;padding:24px;box-shadow:0 4px 12px #0009;transition:all .3s ease;position:relative;overflow:hidden}.card:before{content:"";position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent 0%,#d4af37 50%,transparent 100%);opacity:0;transition:opacity .3s ease}.card:hover{box-shadow:0 8px 30px #d4af374d;transform:translateY(-4px);border-color:var(--color-border-gold)}.card:hover:before{opacity:1}a{transition:all .3s ease;text-decoration:none}a:hover{opacity:.8}.container{max-width:1200px;margin:0 auto;padding:24px}.loading{display:flex;justify-content:center;align-items:center;min-height:400px;color:var(--color-text-gold);font-size:18px}.burger-menu{display:none;flex-direction:column;gap:5px;background:transparent;border:none;cursor:pointer;padding:8px;margin-left:auto;z-index:1001}.burger-menu span{width:25px;height:3px;background:#d4af37;border-radius:2px;transition:all .3s ease;box-shadow:0 0 8px #d4af3780}.burger-menu span.active:nth-child(1){transform:rotate(45deg) translate(8px,8px)}.burger-menu span.active:nth-child(2){opacity:0}.burger-menu span.active:nth-child(3){transform:rotate(-45deg) translate(7px,-7px)}.mobile-menu{display:none;position:fixed;top:60px;left:0;right:0;background:linear-gradient(180deg,#1a1a1a,#000);border-bottom:2px solid #d4af37;box-shadow:0 8px 30px #000000e6;max-height:0;overflow:hidden;transition:max-height .4s cubic-bezier(.4,0,.2,1);z-index:999}.mobile-menu.open{max-height:calc(100vh - 60px);overflow-y:auto}.mobile-menu-header{padding:20px;border-bottom:1px solid var(--color-border);display:flex;justify-content:center;animation:slideDown .3s ease}.mobile-menu-links{display:flex;flex-direction:column;padding:12px 0}.mobile-menu-link{color:var(--color-text-primary);text-decoration:none;padding:16px 24px;font-size:16px;font-weight:500;border-left:3px solid transparent;transition:all .3s ease;display:flex;align-items:center;gap:12px;opacity:0;animation:fadeInSlide .3s ease forwards}.mobile-menu.open .mobile-menu-link:nth-child(1){animation-delay:.05s}.mobile-menu.open .mobile-menu-link:nth-child(2){animation-delay:.1s}.mobile-menu.open .mobile-menu-link:nth-child(3){animation-delay:.15s}.mobile-menu.open .mobile-menu-link:nth-child(4){animation-delay:.2s}.mobile-menu.open .mobile-menu-link:nth-child(5){animation-delay:.25s}.mobile-menu-link:hover,.mobile-menu-link:active{background:#d4af371a;border-left-color:#d4af37;color:#d4af37}.mobile-menu-actions{padding:16px 24px;border-top:1px solid var(--color-border);display:flex;flex-direction:column;gap:12px;animation:slideDown .3s ease}.mobile-menu-btn{background:var(--color-surface);color:var(--color-text-primary);border:2px solid var(--color-border);padding:14px 20px;border-radius:8px;font-weight:600;cursor:pointer;font-size:15px;display:flex;align-items:center;justify-content:center;gap:10px;position:relative;transition:all .3s ease}.mobile-menu-btn:active{background:#d4af371a;border-color:#d4af37;color:#d4af37;transform:scale(.98)}.notification-badge{background:#ff5722;color:#fff;border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700;box-shadow:0 2px 8px #ff572299}@keyframes fadeInSlide{0%{opacity:0;transform:translate(-20px)}to{opacity:1;transform:translate(0)}}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:1400px){.app{padding-top:70px}.burger-menu{display:flex}.nav-links-desktop,.nav-user-desktop{display:none!important}.mobile-menu{display:block}.nav-content{padding:12px 16px;gap:12px}}@media(max-width:1024px){.container,.card{padding:20px}}@media(max-width:768px){.nav-content{padding:12px 16px;gap:12px}.nav-logo{font-size:18px;gap:8px}.nav-logo svg{width:32px!important;height:32px!important}.container{padding:16px}.btn-primary{padding:10px 20px;font-size:14px}.btn-secondary,.btn-outline{padding:8px 16px;font-size:14px}.card{padding:16px}.container h1{font-size:36px!important}.container p{font-size:16px!important}.container button{width:100%;max-width:300px}.container>div>div:last-child{grid-template-columns:1fr!important}}@media(max-width:480px){.nav-logo span{display:none}.nav-logo svg{width:28px!important;height:28px!important}.mobile-menu-link{padding:14px 20px;font-size:15px}.mobile-menu-btn{padding:12px 16px;font-size:14px}.container{padding:12px}.container h1{font-size:28px!important}.container p{font-size:14px!important}.btn-primary{padding:12px 24px;font-size:14px;width:100%}.card{padding:12px}.card h3{font-size:16px!important}.card p{font-size:13px!important}}@media(max-width:768px){.matchmaking-container{margin:40px auto!important;padding:16px!important}.matchmaking-container h2{font-size:24px!important;margin-bottom:24px!important}.matchmaking-container label{font-size:14px!important}.matchmaking-container select,.matchmaking-container input{font-size:14px!important;padding:10px!important}.matchmaking-container button{width:100%!important;padding:14px 24px!important;font-size:15px!important}.time-control-grid{grid-template-columns:repeat(2,1fr)!important;gap:8px!important}.time-control-button{padding:12px!important;font-size:13px!important}}@media(max-width:480px){.matchmaking-container{margin:20px auto!important}.matchmaking-container h2{font-size:20px!important}.time-control-grid{grid-template-columns:1fr!important}.time-control-button{padding:14px!important}}@media(max-width:768px){.profile-container{padding:16px!important}.profile-header{flex-direction:column!important;text-align:center!important;gap:16px!important}.profile-header h1{font-size:28px!important}.profile-stats-grid{grid-template-columns:repeat(2,1fr)!important;gap:12px!important}.profile-stat-card{padding:16px!important}.profile-stat-card h3{font-size:16px!important}.profile-stat-card .stat-value{font-size:28px!important}.profile-ratings-grid{grid-template-columns:1fr!important;gap:12px!important}}@media(max-width:480px){.profile-header h1{font-size:24px!important}.profile-stats-grid{grid-template-columns:1fr!important}.profile-stat-card .stat-value{font-size:24px!important}}@media(max-width:768px){.leaderboard-container{padding:16px!important}.leaderboard-header h1{font-size:28px!important}.leaderboard-tabs{flex-wrap:wrap!important;gap:8px!important}.leaderboard-tab{flex:1 1 calc(50% - 4px)!important;padding:10px 12px!important;font-size:13px!important}.leaderboard-tab-icon{font-size:18px!important}.leaderboard-tab-name{font-size:13px!important}.leaderboard-tab-desc{font-size:10px!important}.leaderboard-table-wrapper{overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}.leaderboard-table{font-size:13px!important;min-width:500px!important}.leaderboard-table th,.leaderboard-table td{padding:10px 8px!important}.leaderboard-rank{width:40px!important;height:40px!important;font-size:14px!important}.leaderboard-username{font-size:14px!important}.leaderboard-rating{font-size:16px!important}.leaderboard-stats{font-size:11px!important}}@media(max-width:480px){.leaderboard-header h1{font-size:24px!important}.leaderboard-tab{flex:1 1 100%!important}.leaderboard-table{font-size:12px!important;min-width:450px!important}.leaderboard-table th:nth-child(5),.leaderboard-table td:nth-child(5){display:none!important}.leaderboard-rank{width:35px!important;height:35px!important;font-size:12px!important}}@media(max-width:768px){.game-history-container{padding:16px!important}.game-history-header h1{font-size:28px!important}.game-history-filters{flex-wrap:wrap!important;gap:8px!important}.game-history-filter-btn{flex:1 1 calc(50% - 4px)!important;padding:8px 12px!important;font-size:13px!important}.game-history-list{gap:12px!important;padding-right:4px!important}.game-history-item{padding:16px!important;margin-right:0!important}.game-history-opponent{font-size:16px!important}.game-history-details{flex-wrap:wrap!important;gap:8px!important;font-size:12px!important}.game-history-result{font-size:14px!important;padding:6px 12px!important}.game-history-pagination button{padding:8px 12px!important;font-size:13px!important}}@media(max-width:480px){.game-history-container{padding:12px!important}.game-history-header h1{font-size:24px!important}.game-history-filter-btn{flex:1 1 100%!important}.game-history-list{padding-right:8px!important}.game-history-item{padding:12px!important}.game-history-opponent{font-size:14px!important}.game-history-details{font-size:11px!important}}@media(max-width:768px){.auth-container{padding:20px!important;margin:40px auto!important}.auth-container h1{font-size:28px!important}.auth-container h2{font-size:24px!important}.auth-form input,.auth-form button{padding:12px!important;font-size:14px!important}.auth-tabs button{padding:10px 20px!important;font-size:14px!important}}@media(max-width:480px){.auth-container{padding:16px!important;margin:20px auto!important}.auth-container h1{font-size:24px!important}.auth-container h2{font-size:20px!important}}@media(max-width:768px){.chat-container{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;bottom:0!important;right:0!important;border-radius:0!important}.chat-header{padding:12px!important}.chat-header h3{font-size:16px!important}.chat-messages{padding:12px!important}.chat-message{padding:8px 12px!important;font-size:13px!important}.chat-input-container{padding:12px!important}.chat-input{padding:10px!important;font-size:14px!important}.chat-send-button{padding:10px 16px!important;font-size:14px!important}}@media(max-width:768px){.settings-modal{max-width:90%!important;padding:20px!important}.settings-modal h2{font-size:20px!important}.settings-section{margin-bottom:20px!important}.settings-section h3{font-size:16px!important}.settings-options{gap:8px!important}.settings-option{padding:10px!important;font-size:13px!important}.settings-buttons{flex-direction:column!important;gap:8px!important}.settings-buttons button{width:100%!important}}@media(max-width:768px){.modal-overlay{padding:20px!important}.modal-content{max-width:90%!important;padding:24px!important}.modal-content h2{font-size:20px!important}.modal-content p{font-size:14px!important}.modal-buttons{flex-direction:column!important;gap:10px!important}.modal-buttons button{width:100%!important;padding:12px!important}.modal-icon{font-size:40px!important}.modal-rating-change{font-size:24px!important}}@media(max-width:480px){.modal-content{padding:20px!important}.modal-content h2{font-size:18px!important}.modal-content p{font-size:13px!important}.modal-icon{font-size:36px!important}.modal-rating-change{font-size:20px!important}}@media(max-width:768px){.hide-mobile{display:none!important}.full-width-mobile{width:100%!important}.text-center-mobile{text-align:center!important}.flex-column-mobile{flex-direction:column!important}}@media(max-width:1024px){.game-replay-container{grid-template-columns:1fr!important}.game-replay-sidebar{max-width:600px!important;margin:0 auto!important}.game-replay-info-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:16px!important}.game-replay-info-grid .card{margin-bottom:0!important}}@media(min-width:1025px){.game-replay-info-grid{display:flex!important;flex-direction:column!important;gap:20px!important}.game-replay-info-grid .card:first-child{margin-bottom:20px!important}}@media(max-width:768px){.game-replay-header{flex-direction:column!important;align-items:flex-start!important}.game-replay-header h2{font-size:24px!important}.game-replay-header button{width:100%!important}.game-replay-controls{flex-wrap:wrap!important;gap:8px!important}.game-replay-controls button{padding:8px 12px!important;font-size:16px!important;min-width:45px!important}.game-replay-counter{padding:8px 16px!important;min-width:80px!important;font-size:13px!important}.game-replay-info .card{padding:16px!important}.game-replay-info h3{font-size:16px!important}.game-replay-moves{max-height:300px!important;font-size:13px!important}.game-replay-info-grid{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}}@media(max-width:480px){.game-replay-header h2{font-size:20px!important}.game-replay-header div{font-size:12px!important}.game-replay-controls button{padding:6px 10px!important;font-size:14px!important;min-width:40px!important}.game-replay-counter{padding:6px 12px!important;min-width:70px!important;font-size:12px!important}.game-replay-info h3{font-size:14px!important}.game-replay-moves{max-height:250px!important;font-size:12px!important}.game-replay-move-item{padding:4px 6px!important}.game-replay-info .card{padding:12px!important}.game-replay-info-grid{gap:8px!important}}
