@font-face{font-display:swap;font-family:Press Start\ 2P;font-style:normal;font-weight:400;src:url(/static/dist/fonts/PressStart2P-Regular.ttf) format("truetype")}:root,[data-theme=light]{--bg-dark:#eceff1;--bg-medium:#fff;--bg-light:#cfd8dc;--accent-blue:#1e6c93;--accent-blue-light:#0288d1;--text-color:#263238;--text-muted:#607d8b;--card-item-bg:#f5f7fa;--card-item-border:#cfd8dc;--scroll-dist:-40px;--tile-bg:#f0f4f8;--tile-bg-has-letter:#fff;--tile-border:#cfd8dc;--tile-border-has-letter:#0288d1;--tile-text:#263238;--tile-text-active:#fff;--note-bg:#fff8e1;--note-border:#ffb300;--note-text:#e65100;--start-word-bg-dark:#1b4965;--start-word-bg-light:#e1f5fe;--start-word-border:#0288d1;--p1-green:#43a047;--p1-green-dark:#2e7d32;--p2-blue:#1565c0;--p2-blue-light:#42a5f5;--p2-blue-dark:#0d47a1;--error-red:#e53935;--error-red-dark:#d32f2f}[data-theme=dark]{--bg-dark:#2a3235;--bg-medium:#2c3539;--bg-light:#333c41;--accent-blue:#1e6c93;--accent-blue-light:#29b6f6;--text-color:#e0e0e0;--text-muted:#8a9bb0;--card-item-bg:#2a3235;--card-item-border:#333c41;--scroll-dist:-40px;--tile-bg:#262f32;--tile-bg-has-letter:#2c3539;--tile-border:#333c41;--tile-border-has-letter:#29b6f6;--tile-text:#e0e0e0;--tile-text-active:#fff;--note-bg:#2a3235;--note-border:#ffd54f;--note-text:#ffd54f;--p1-green:#43a047;--p1-green-dark:#2e7d32;--p2-blue:#1565c0;--p2-blue-light:#42a5f5;--p2-blue-dark:#0d47a1;--start-word-bg-dark:#1b4965;--start-word-bg-light:#e1f5fe;--start-word-border:#0288d1;--error-red:#e53935;--error-red-dark:#d32f2f}.hidden{display:none!important}@keyframes shake{0%,to{transform:translateX(0)}10%,30%,50%,90%{transform:translateX(-5px)}20%,40%,60%,80%{transform:translateX(5px)}}@keyframes flash-red{50%{background-color:#c94a4a}}.invalid-placement{animation:flash-red .4s ease}*,:after,:before{box-sizing:border-box}body,html{background-color:var(--bg-dark);color:var(--text-color);font-family:Press Start\ 2P,Courier New,Courier,monospace;font-size:14px;image-rendering:pixelated;image-rendering:-moz-crisp-edges;image-rendering:crisp-edges;margin:0;min-height:100%;padding:0}body.game-page{height:100dvh;overflow:hidden}body.game-page .game-container{height:100dvh;min-height:100dvh;overflow:hidden}body.game-page .content-wrapper{align-items:stretch;flex:1 1 0;min-height:0;overflow:hidden}body.game-page .center-col{align-self:stretch}body.game-page .center-col,body.game-page .game-area,body.game-page .main-layout{flex:1 1 0;min-height:0;overflow:hidden}body.game-page .game-area{justify-content:center}body.game-page .game-3col-layout{flex:1 1 0;min-height:0}body.game-page .game-player-column{overflow-y:auto}.game-container{box-sizing:border-box;display:flex;flex-direction:column;min-height:100vh;padding:0 8px 6px}@supports (min-height:100dvh){.game-container{min-height:100dvh}}.content-wrapper{align-items:start;display:grid;flex:1 0 auto;grid-template-columns:1fr minmax(0,4fr) 1fr;width:100%}.left-col{align-self:start;padding:10px 8px}.center-col{align-self:center;display:flex;justify-content:center;overflow-x:clip;padding:10px 0 0}.center-col,.main-layout{flex-direction:column;min-width:0}.game-area,.main-layout{max-width:100%}.game-area{width:100%}.right-col{align-self:start;padding:10px 8px;position:relative}.game-header h1{border-bottom:none;color:var(--accent-blue);font-size:5rem;line-height:1;margin:0 0 10px;text-shadow:5px 5px 0 var(--bg-medium)}.user-menu{align-items:center;display:flex;font-size:.8rem;gap:15px;padding:10px 8px 0;white-space:nowrap}.music-control{color:var(--text-color);cursor:pointer;font-size:1.2rem;transition:color .2s,opacity .2s}.music-control.is-muted{opacity:.4}.music-control:hover{color:var(--accent-blue);opacity:1}.btn-settings-icon{align-items:center;color:var(--text-color);cursor:pointer;display:inline-flex;font-size:1.2rem;justify-content:center;text-decoration:none;transition:color .2s ease,transform .3s ease}.btn-settings-icon:hover{color:var(--accent-blue)!important;transform:rotate(45deg)}.user-menu span{color:var(--text-color)}.btn-profile-icon{align-items:center;color:var(--text-color)!important;display:flex;font-size:1.4rem;text-decoration:none;transition:color .2s}.btn-profile-icon.active,.btn-profile-icon:hover{color:var(--accent-blue)!important}.btn-logout{background-color:var(--bg-light);border:2px solid var(--bg-medium);border-radius:6px;color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.6rem;padding:8px 12px;text-decoration:none;text-transform:uppercase;transition:background-color .2s}.btn-logout:hover{background-color:var(--error-red,#e53935);color:#fff}.game-nav,.nav-link{display:none!important}.nav-hamburger{align-items:flex-start;display:flex;flex-direction:column;position:relative;z-index:100}.nav-hamburger-row{align-items:center;display:flex;gap:10px;position:relative}.nav-hamburger-trigger{align-items:center;background:transparent;border:none;border-radius:50%;color:var(--text-color);cursor:pointer;display:inline-flex;font-size:1.5rem;height:40px;justify-content:center;outline:none;padding:0;transition:background-color .2s ease,color .2s ease;width:40px;-webkit-tap-highlight-color:transparent}.hamburger-icon-svg{display:block;fill:var(--text-color);height:24px;transition:fill .2s ease;width:24px}.nav-hamburger-trigger:focus-visible,.nav-hamburger-trigger:hover{background-color:hsla(0,0%,100%,.12);color:var(--accent-blue)}.nav-hamburger-trigger:focus-visible .hamburger-icon-svg,.nav-hamburger-trigger:hover .hamburger-icon-svg{fill:var(--accent-blue)}html[data-theme=light] .nav-hamburger-trigger:focus-visible,html[data-theme=light] .nav-hamburger-trigger:hover{background-color:rgba(0,0,0,.08);color:var(--accent-blue)}body.drawer-open{overflow:hidden}.balda-drawer-backdrop{backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);background:rgba(0,0,0,.6);height:100vh;left:0;opacity:0;pointer-events:none;position:fixed;top:0;transition:opacity .28s ease,visibility 0s linear .28s;visibility:hidden;width:100vw;z-index:2000}.balda-drawer-backdrop.open{opacity:1;pointer-events:auto;transition:opacity .28s ease,visibility 0s linear 0s;visibility:visible}.balda-drawer{background-color:var(--bg-medium);border-bottom-right-radius:12px;border-right:2px solid var(--accent-blue);border-top-right-radius:12px;bottom:0;box-shadow:4px 0 24px rgba(0,0,0,.45);display:flex;flex-direction:column;left:0;max-width:calc(100vw - 48px);overflow-x:hidden;overflow-y:auto;position:fixed;top:0;transform:translateX(-100%);transition:transform .28s cubic-bezier(.4,0,.2,1);width:304px;z-index:2001;-webkit-overflow-scrolling:touch}.balda-drawer.open{transform:translateX(0)}html[data-theme=light] .balda-drawer{background-color:#fff;box-shadow:4px 0 24px rgba(0,0,0,.15)}.balda-drawer-header{background-color:var(--bg-dark);border-bottom:1px solid hsla(0,0%,100%,.1);border-top-right-radius:10px;display:flex;flex-direction:column;gap:16px;padding:16px}html[data-theme=light] .balda-drawer-header{background-color:var(--accent-blue);border-bottom:1px solid hsla(0,0%,100%,.2)}.drawer-header-brand{align-items:center;display:flex;justify-content:space-between}.drawer-brand-left{align-items:center;display:flex;gap:12px}.drawer-logo-box{align-items:center;background-color:var(--accent-blue-light,#29b6f6);border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.3);display:flex;flex-shrink:0;height:44px;justify-content:center;width:44px}.drawer-logo-box .svg-inline--fa,.drawer-logo-box i,.drawer-logo-box svg{color:#fff;fill:#fff;font-size:24px;height:24px;width:24px}.drawer-logo-img{border-radius:8px;box-shadow:0 2px 8px rgba(0,0,0,.3);height:44px;object-fit:cover;width:44px}.drawer-brand-title{color:#fff;font-family:Press Start\ 2P,monospace;font-size:16px;letter-spacing:1px}.drawer-close-btn{align-items:center;background:none;border:none;border-radius:50%;color:hsla(0,0%,100%,.7);cursor:pointer;display:inline-flex;font-size:18px;height:36px;justify-content:center;padding:0;transition:color .2s ease,background-color .2s ease;width:36px}.drawer-close-btn:hover{background-color:hsla(0,0%,100%,.15);color:#fff}.drawer-header-user{justify-content:space-between}.drawer-header-user,.drawer-user-meta{align-items:center;display:flex;gap:8px}.drawer-user-meta{flex:1;min-width:0}.drawer-user-icon{flex-shrink:0;font-size:18px}.drawer-user-icon.admin-icon{color:#ffb300}.drawer-user-icon.user-icon{color:var(--p1-green,#4caf50)}.drawer-user-icon.anon-icon{color:hsla(0,0%,100%,.7)}.drawer-user-text{display:flex;flex-direction:column;min-width:0}.drawer-username{color:#fff;font-family:monospace;font-size:11px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drawer-admin-badge{align-self:flex-start;background-color:#ffb300;border-radius:3px;color:#1a1a1a;display:inline-block;font-family:Press Start\ 2P,monospace;font-size:7.5px;font-weight:900;letter-spacing:.5px;margin-top:2px;padding:1px 5px}.drawer-logout-btn{align-items:center;border-radius:4px;color:hsla(0,0%,100%,.7);display:flex;font-size:18px;justify-content:center;padding:6px;text-decoration:none;transition:color .2s,background-color .2s}.drawer-logout-btn:hover{background-color:hsla(0,0%,100%,.15);color:#fff}.drawer-login-btn{align-items:center;background-color:var(--p1-green,#4caf50);border:1.5px solid #81c784;border-radius:6px;box-shadow:0 3px 6px rgba(0,0,0,.3);color:#fff;display:inline-flex;font-family:Press Start\ 2P,monospace;font-size:9.5px;justify-content:center;padding:7px 12px;text-decoration:none;transition:background-color .2s,transform .1s;white-space:nowrap}.drawer-login-btn:hover{background-color:#43a047;color:#fff;transform:translateY(-1px)}.drawer-login-btn:active{transform:translateY(1px)}.balda-drawer-menu{display:flex;flex:1;flex-direction:column;padding:8px 0}.balda-drawer-item,.nav-dropdown-item{align-items:center;background:none;border:none;border-bottom:1px solid hsla(0,0%,100%,.05);box-sizing:border-box;color:var(--text-color,#fff);cursor:pointer;display:flex;font-family:Press Start\ 2P,monospace;font-size:10px;gap:14px;padding:12px 18px;text-align:left;text-decoration:none;text-transform:uppercase;transition:background-color .2s,color .2s;width:100%}html[data-theme=light] .balda-drawer-item,html[data-theme=light] .nav-dropdown-item{border-bottom:1px solid rgba(0,0,0,.06);color:var(--text-color,#2c3e50)}.balda-drawer-item:last-child,.nav-dropdown-item:last-child{border-bottom:none}.balda-drawer-item .svg-inline--fa,.balda-drawer-item i,.balda-drawer-item svg,.nav-dropdown-item .svg-inline--fa,.nav-dropdown-item i,.nav-dropdown-item svg{align-items:center;color:var(--accent-blue-light,#29b6f6);display:inline-flex;fill:currentColor;flex-shrink:0;font-size:18px;height:18px;justify-content:center;transition:color .2s;width:18px}html[data-theme=light] .balda-drawer-item .svg-inline--fa,html[data-theme=light] .balda-drawer-item i,html[data-theme=light] .balda-drawer-item svg,html[data-theme=light] .nav-dropdown-item .svg-inline--fa,html[data-theme=light] .nav-dropdown-item i,html[data-theme=light] .nav-dropdown-item svg{color:#0288d1}.balda-drawer-item:hover,.nav-dropdown-item:hover{background-color:hsla(0,0%,100%,.08);color:var(--accent-blue)}html[data-theme=light] .balda-drawer-item:hover,html[data-theme=light] .nav-dropdown-item:hover{background-color:rgba(0,0,0,.05);color:var(--accent-blue)}.balda-drawer-item.active,.nav-dropdown-item.active{background-color:rgba(41,182,246,.15);color:var(--accent-blue)}.balda-drawer-item.active .svg-inline--fa,.balda-drawer-item.active i,.balda-drawer-item.active svg,.balda-drawer-item:hover .svg-inline--fa,.balda-drawer-item:hover i,.balda-drawer-item:hover svg,.nav-dropdown-item.active .svg-inline--fa,.nav-dropdown-item.active i,.nav-dropdown-item.active svg,.nav-dropdown-item:hover .svg-inline--fa,.nav-dropdown-item:hover i,.nav-dropdown-item:hover svg{color:var(--accent-blue);fill:currentColor}.main-layout{align-items:stretch;display:flex;flex:1;gap:20px;width:100%}.game-area{align-items:center;display:flex;flex:2;flex-direction:column;justify-content:center;min-width:0;overflow-x:auto;position:relative}.sidebar{flex:1.5;min-width:0}#game-app-container{width:100%}#game-space{align-items:center;display:flex;flex-direction:column;width:100%}#word-display-container,.word-display{align-items:center;align-self:stretch;background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:8px;box-sizing:border-box;display:flex;font-family:Press Start\ 2P,monospace;font-size:1.3rem;gap:12px;height:70px;margin-bottom:0;overflow:hidden;padding:10px 20px;text-align:left;transition:background-color .3s ease,border-color .3s ease,color .3s ease;width:100%}#word-display-container.error,#word-display-container.error-highlight,.word-display.error,.word-display.error-highlight{border-color:var(--error-red)}#word-display-container.error #current-word-display,#word-display-container.error .word-display-label,#word-display-container.error-highlight #current-word-display,#word-display-container.error-highlight .word-display-label,.word-display.error #current-word-display,.word-display.error .word-display-label,.word-display.error-highlight #current-word-display,.word-display.error-highlight .word-display-label{color:var(--error-red)}#word-display-container.error,.word-display.error{animation:shake .5s ease-in-out}.word-display-label{color:var(--accent-blue);flex-shrink:0;white-space:nowrap}#current-word-display{flex:1;font-weight:700;min-width:0;transition:color .3s ease;white-space:nowrap}#current-word-display,.status-text{color:var(--accent-blue);overflow:hidden;text-overflow:ellipsis}.status-text{font-weight:400;text-align:center;width:100%}.word-char{align-items:center;background-color:var(--bg-light);border:2px solid var(--accent-blue);border-radius:4px;box-sizing:border-box;display:inline-flex;justify-content:center;min-height:35px;min-width:25px;padding:5px 10px;position:relative}.word-char-letter{color:var(--text-color);display:inline-block;font-size:1.5rem;min-width:100px}.game-grid{aspect-ratio:1/1;background-color:var(--bg-dark);border:3px solid var(--bg-light);border-radius:8px;box-sizing:border-box;display:grid;gap:4px;grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr));height:auto;margin:5px auto;max-width:min(440px,calc(100% - 8px));padding:10px;perspective:600px;width:calc(100% - 8px)}@keyframes flip-reveal{0%{transform:rotateX(0deg)}50%{transform:rotateX(-90deg)}to{transform:rotateX(0deg)}}.grid-cell.flip-reveal{animation:flip-reveal .5s ease}.grid-cell{align-items:center;background-color:var(--tile-bg);border:2px solid var(--tile-border);border-radius:4px;box-sizing:border-box;color:var(--tile-text);cursor:pointer;display:flex;font-size:clamp(2rem,9vw,3rem);height:100%;justify-content:center;margin:0;min-height:0;min-width:0;outline:none;overflow:hidden;padding:0;position:relative;transition:border-color .2s,background-color .2s;user-select:none;width:100%}.grid-cell:not(.fixed):not(.pinned):not(.selected):not(.highlight-p1):not(.highlight-p2):not(.highlight-error):hover{background-color:var(--bg-light)}.grid-cell.fixed{background-color:var(--tile-bg-has-letter);border-color:var(--tile-border-has-letter);box-shadow:inset 0 0 0 2px var(--tile-border-has-letter);color:var(--tile-text);cursor:default}.grid-cell.start-word-cell{background-color:var(--start-word-bg-dark,#1b4965);color:var(--text-color,#e0e0e0)}.grid-cell.start-word-cell,[data-theme=light] .grid-cell.start-word-cell{border-color:var(--start-word-border,#0288d1);box-shadow:inset 0 0 0 2px var(--start-word-border,#0288d1)}[data-theme=light] .grid-cell.start-word-cell{background-color:var(--start-word-bg-light,#e1f5fe);color:var(--accent-blue,#1e6c93)}.grid-cell.pinned,.grid-cell.selected{background-color:var(--accent-blue)!important;border-color:var(--accent-blue-light)!important;box-shadow:inset 0 0 0 2px var(--accent-blue-light)!important;color:#fff!important}.grid-cell.highlight-p1,.grid-cell.highlight-p1-bg{background-color:var(--p1-green)!important;border:2px solid var(--p1-green-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-p2,.grid-cell.highlight-p2-bg{background-color:var(--p2-blue)!important;border:2px solid var(--p2-blue-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-success{background-color:var(--p1-green)!important;border:2px solid var(--p1-green-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-success.highlight-p2,.grid-cell.highlight-success.highlight-p2-bg{background-color:var(--p2-blue)!important;border:2px solid var(--p2-blue-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-hint{background-color:var(--accent-blue)!important;border:2px solid var(--accent-blue-light)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-error{background-color:var(--error-red)!important;border:2px solid var(--error-red-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-hover:not(.highlight-p1):not(.highlight-p2){background-color:var(--accent-blue)!important;border:2px solid var(--accent-blue-light)!important;box-shadow:none!important;color:#fff!important}.grid-cell.pinned.highlight-error{background-color:var(--error-red)!important;border-color:var(--error-red-dark)!important;box-shadow:none!important;color:#fff!important}.grid-cell.highlight-error *,.grid-cell.highlight-hint *,.grid-cell.highlight-hover *,.grid-cell.highlight-p1 *,.grid-cell.highlight-p1-bg *,.grid-cell.highlight-p2 *,.grid-cell.highlight-p2-bg *,.grid-cell.highlight-success *{color:#fff!important}.grid-cell:not(.highlight-p1):not(.highlight-p2):not(.highlight-p1-bg):not(.highlight-p2-bg):not(.highlight-hover):not(.highlight-success):not(.highlight-hint):not(.highlight-error):not(.pinned):not(.selected) .letter-display{color:var(--tile-text)!important}[data-theme=light] .grid-cell.start-word-cell:not(.highlight-p1):not(.highlight-p2):not(.highlight-p1-bg):not(.highlight-p2-bg):not(.highlight-hover):not(.highlight-success):not(.highlight-hint):not(.highlight-error):not(.pinned):not(.selected) .letter-display{color:var(--accent-blue,#1e6c93)!important}.grid-cell.no-transition{transition:none!important}.letter-display{display:flex;height:100%;left:0;min-width:0;overflow:hidden;top:0;width:100%;z-index:1}.letter-display,.word-order-number{align-items:center;justify-content:center;line-height:1;pointer-events:none;position:absolute}.word-order-number{background-color:#111827;border:2px solid #fff;border-radius:50%;bottom:2px;box-shadow:0 2px 5px rgba(0,0,0,.8);box-sizing:border-box;color:#fff!important;display:none;font-family:Press Start\ 2P,monospace,sans-serif;font-size:9.5px;font-weight:700;height:22px;right:2px;text-align:center;user-select:none;width:22px;z-index:10}.grid-cell.highlight-p1 .word-order-number,.grid-cell.highlight-p1-bg .word-order-number{background-color:#1b5e20!important}.grid-cell.highlight-p2 .word-order-number,.grid-cell.highlight-p2-bg .word-order-number{background-color:#0d47a1!important}.grid-cell.selected .word-order-number{background-color:#01579b!important}.grid-cell.highlight-error .word-order-number{background-color:#8e0000!important}.grid-cell.highlight-hint .word-order-number{background-color:#e65100!important}.grid-cell .word-order-number:not(:empty),.grid-cell.highlight-error .word-order-number,.grid-cell.highlight-hint .word-order-number,.grid-cell.highlight-hover .word-order-number,.grid-cell.highlight-success .word-order-number,.grid-cell.selected .word-order-number{display:flex!important}.btn{border:3px solid var(--bg-light);border-radius:6px;color:var(--text-color);cursor:pointer;display:inline-block;font-family:Press Start\ 2P,monospace;font-size:.65rem;padding:10px 16px;text-decoration:none;text-transform:uppercase;transition:all .1s ease-in-out;white-space:nowrap}.btn-submit{background-color:var(--accent-blue);border-color:#1b6286;color:#fff}.btn-submit:hover{background-color:var(--accent-blue-light);color:#fff}.btn-secondary{background-color:var(--bg-light);border-color:var(--card-item-border,var(--bg-light));color:var(--text-color)}.btn-secondary:hover{background-color:var(--card-item-bg,var(--bg-medium));color:var(--text-color)}.btn.disabled,.btn:disabled{background-color:var(--bg-light);color:var(--text-muted);cursor:not-allowed;opacity:.7;pointer-events:none}.panel{background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:8px;box-sizing:border-box;padding:15px}.player-panel{gap:15px;height:350px}.player-info-column,.player-panel{box-sizing:border-box;display:flex}.player-info-column{flex:1;flex-direction:column;overflow:hidden}.player-info-column:first-of-type{border-right:2px solid var(--bg-light);padding-right:15px}.player-panel h2{border-bottom:2px solid var(--bg-light);color:var(--accent-blue);font-size:1.2rem;margin-bottom:8px;margin-top:0;padding-bottom:10px}.player-panel p{margin:0 0 10px}.player-panel ul{cursor:default;flex:1;list-style:none;margin:0;min-height:0;overflow-y:auto;padding:0;scrollbar-color:var(--bg-light) transparent;scrollbar-width:thin}.player-panel ul::-webkit-scrollbar{width:5px}.player-panel ul::-webkit-scrollbar-track{background:transparent}.player-panel ul::-webkit-scrollbar-thumb{background-color:var(--bg-light);border-radius:3px}.player-panel li{padding:3px 0}@keyframes word-slide-in{0%{max-height:0;opacity:0;transform:translateY(-12px)}to{max-height:40px;opacity:1;transform:translateY(0)}}.player-panel li.word-new{animation:word-slide-in .35s ease-out forwards}.game-3col-layout{align-items:start;box-sizing:border-box;display:grid;gap:15px;grid-template-columns:1fr 380px 1fr;margin:0 auto;max-width:1100px;width:100%}.game-center-column{box-sizing:border-box;gap:10px;margin:0 auto;max-width:440px}.game-board-container,.game-center-column,.game-field-wrapper{align-items:center;display:flex;flex-direction:column;width:100%}.game-top-bar{box-sizing:border-box;grid-column:1/-1;width:100%}.game-timer-panel.game-top-bar{align-items:stretch;display:flex;flex-direction:column;gap:18px;margin-bottom:0;padding:10px 24px;text-align:left}.game-top-bar-meta{align-items:center;display:flex;flex-direction:column;gap:0;margin-bottom:8px}.game-score-display{align-items:center;color:var(--text-color);display:flex;font-family:Press Start\ 2P,monospace;font-size:2.1rem;gap:40px;margin-bottom:12px;margin-top:12px;width:100%}.game-score-player-name{flex:1 1 0;min-width:0;overflow-wrap:break-word;text-align:center;white-space:normal;word-break:break-word}.game-score-player-name:first-child{color:var(--p1-green);text-align:center}.game-score-player-name:last-child{color:var(--p2-blue);text-align:center}.game-score-value{font-variant-numeric:tabular-nums;min-width:2ch;text-align:center}.game-score-sep,.game-score-value{color:var(--text-color)}.game-top-bar-player-score{color:var(--text-color);font-size:.85rem;margin-top:4px}.game-top-bar-timer{align-items:center;display:flex;gap:16px;justify-content:center;margin-bottom:6px}.game-timer-panel.game-top-bar h3{flex-shrink:0;font-size:.75rem;margin:0;opacity:.75;white-space:nowrap}.game-timer-panel.game-top-bar #timer-display{color:var(--accent-blue);flex-shrink:0;font-size:.85rem;font-weight:700}.game-timer-panel.game-top-bar .hint-display{flex-shrink:0;font-size:.75rem;margin-top:0;opacity:.75}.game-status-bar{align-items:center;box-sizing:border-box;color:var(--text-color);display:flex;flex-shrink:1;font-family:Press Start\ 2P,monospace;font-size:.75rem;gap:8px;justify-content:center;margin-top:4px;max-width:100%;min-width:0;opacity:.95;overflow:visible;padding:2px 10px;width:100%}.status-text-wrapper{display:flex;flex:0 1 auto;justify-content:safe center;max-width:calc(100% - 28px);min-width:0;overflow:hidden;position:relative;white-space:nowrap}.status-text-wrapper.is-overflowing{justify-content:flex-start}.status-text{display:inline-block;white-space:nowrap;will-change:transform}.status-text.is-scrolling{animation:smooth-status-scroll 7s ease-in-out infinite alternate}@keyframes smooth-status-scroll{0%,18%{transform:translateX(0)}82%,to{transform:translateX(var(--scroll-dist,-40px))}}.status-dot{border-radius:50%;display:inline-block;flex-shrink:0;height:8px;margin:0 2px 0 6px;transform-origin:center center;width:8px}.status-dot.dot-my-turn{animation:status-pulse-green 1.2s ease-in-out infinite;background-color:#43a047;box-shadow:0 0 8px rgba(67,160,71,.8)}.status-dot.dot-waiting{animation:status-pulse-blue 1.2s ease-in-out infinite;background-color:#1e88e5;box-shadow:0 0 8px rgba(30,136,229,.8)}.status-dot.dot-over{background-color:#e53935}.status-dot.dot-info{background-color:var(--accent-blue)}@keyframes status-pulse-green{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.35)}}@keyframes status-pulse-blue{0%,to{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.35)}}.game-timer-panel.game-top-bar #word-display-container,.game-timer-panel.game-top-bar .word-display{align-self:stretch;flex:1;margin-bottom:0;min-width:0}.game-info-label{align-items:center;display:flex;font-family:Press Start\ 2P,monospace;font-size:1.94rem;gap:12px;justify-content:center;width:100%}.game-info-dash,.game-info-label,.start-word-link{color:var(--accent-blue)}.start-word-link{align-items:center;cursor:pointer;display:inline-flex;font-family:Press Start\ 2P,monospace;font-size:2.4rem;position:relative;text-transform:uppercase}.start-word-text{border-bottom:2px dotted var(--accent-blue);padding-bottom:1px}.start-word-tooltip{background-color:var(--bg-medium,#2c3539);border:2px solid var(--accent-blue-light,#29b6f6);border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.55);box-sizing:border-box;color:var(--text-color,#e0e0e0);display:none;font-family:Courier New,Courier,monospace;font-size:.85rem;font-weight:400;line-height:1.42;max-width:650px;min-width:280px;padding:14px 18px;pointer-events:auto;position:fixed;text-align:left;text-transform:none;white-space:normal;width:max-content;z-index:10005}.start-word-tooltip:before{background:transparent;content:"";height:18px;left:-10px;pointer-events:auto;position:absolute;right:-10px;top:-14px}[data-theme=light] .start-word-tooltip{background-color:var(--bg-medium,#fff);border-color:var(--accent-blue-light,#0288d1);box-shadow:0 4px 14px rgba(0,0,0,.2);color:var(--text-color,#263238)}.start-word-tooltip.wide-tooltip{max-height:75vh;max-width:700px;overflow-y:auto;padding-right:10px;pointer-events:auto}.start-word-tooltip p{margin:0 0 6px}.start-word-tooltip a,.start-word-tooltip a:visited{border-bottom:none;color:var(--accent-blue-light,#29b6f6);text-decoration:underline}[data-theme=light] .start-word-tooltip a,[data-theme=light] .start-word-tooltip a:visited{color:var(--accent-blue-light,#0288d1)}.start-word-tooltip a:hover{color:var(--text-color);text-decoration:underline}.start-word-link.active .start-word-tooltip,.start-word-link.is-hovered .start-word-tooltip,.start-word-link:hover .start-word-tooltip,.start-word-tooltip:hover{display:block}.game-player-column{display:flex;flex-direction:column;min-height:350px}.game-player-column h2{align-items:center;border-bottom:2px solid var(--bg-light);color:var(--text-color);display:flex;font-size:1.1rem;justify-content:space-between;margin-bottom:10px;margin-top:0;overflow:hidden;padding-bottom:10px;text-overflow:ellipsis;white-space:nowrap}.game-player-column ul{cursor:default;flex:1;list-style:none;margin:0;min-height:0;overflow-y:auto;padding:0;scrollbar-color:var(--bg-light) transparent;scrollbar-width:thin}.game-player-column ul::-webkit-scrollbar{width:5px}.game-player-column ul::-webkit-scrollbar-track{background:transparent}.game-player-column ul::-webkit-scrollbar-thumb{background-color:var(--bg-light);border-radius:3px}.game-player-column li{align-items:center;background-color:transparent;border:none;border-radius:0;box-sizing:border-box;color:var(--text-color);cursor:pointer;display:flex;font-family:Press Start\ 2P,monospace;font-size:.85rem;justify-content:space-between;margin-bottom:4px;padding:4px 6px;transition:color .15s}.game-player-column li:hover{background-color:transparent;color:var(--accent-blue)}.game-player-column li .word-text,.mobile-words-list li .word-text{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-player-column li .word-points,.mobile-words-list li .word-points{color:var(--text-muted,#8a9bb0);flex-shrink:0;font-family:inherit;font-size:.75rem;font-weight:400;margin-left:auto;padding-left:8px}.game-player-column li:hover .word-points,.mobile-words-list li:hover .word-points{color:var(--accent-blue-light,#29b6f6)}.game-player-column li.word-new{animation:word-slide-in .35s ease-out forwards}@media (max-width:860px){body.game-page .center-col,body.game-page .game-3col-layout,body.game-page .game-area,body.game-page .main-layout{align-self:center;height:auto!important;justify-content:center!important;margin-bottom:auto;margin-top:auto;max-height:none!important;min-height:auto!important;overflow:visible!important}.game-3col-layout{align-items:center;box-sizing:border-box;display:flex;flex-direction:column;gap:12px;justify-content:center;margin-bottom:auto;margin-top:auto;max-width:100vw;overflow-x:hidden;width:100%}.game-top-bar{order:-3;width:100%}.mobile-score-bar{order:-2;width:100%}.game-center-column{align-items:center;display:flex;flex-direction:column;justify-content:center;margin-bottom:auto;margin-top:auto;order:-1;width:100%}.game-player-column{max-height:320px;min-height:200px;order:0;padding:14px}.player-header-score{background-color:var(--bg-dark);border-radius:4px;color:var(--accent-blue);font-size:clamp(1.1rem,3.5vw,1.4rem);padding:2px 8px}.game-player-column li{font-size:clamp(.85rem,2.8vw,1.05rem);padding:7px 12px}.game-info-label{flex-wrap:wrap;font-size:clamp(.95rem,3.8vw,1.4rem);gap:6px;justify-content:center;max-width:100%;overflow:visible}.start-word-link{font-size:clamp(1.15rem,4.5vw,1.7rem);max-width:100%;overflow:visible}.start-word-text{border-bottom:2px dotted var(--accent-blue);max-width:100%;overflow:hidden;padding-bottom:1px;text-overflow:ellipsis;white-space:nowrap}.game-score-display{font-size:clamp(.85rem,3.5vw,1.2rem);gap:12px}.game-top-bar-timer h3{font-size:.65rem;opacity:.75}.game-top-bar-timer #timer-display{color:var(--accent-blue);font-size:.75rem}.game-top-bar-timer .hint-display{font-size:.65rem;opacity:.75}.game-status-bar{font-size:clamp(.6rem,2.4vw,.75rem);gap:6px;margin-top:2px;overflow:visible;padding:2px 6px}.status-dot{height:7px;margin:0 1px 0 4px;width:7px}.game-timer-panel.game-top-bar{box-sizing:border-box;gap:10px;max-width:100%;overflow:visible;padding:10px 12px}.game-3col-layout{box-sizing:border-box;max-width:100%;overflow:hidden;width:100%}.grid-cell{font-size:clamp(2.5rem,11.5vw,3.3rem)}.game-control-bar .image-button img{height:44px;width:44px}.form-controls{flex-wrap:wrap;gap:6px;justify-content:center;padding:6px 2px}.modal-window{max-height:85vh;padding:20px 14px;width:94%}.modal-window h1,.modal-window h2,.modal-window h3{font-size:clamp(.85rem,3.5vw,1.25rem);line-height:1.5;margin-bottom:14px;padding-left:20px;padding-right:20px}.confirmation-prompt,.modal-window p{font-size:clamp(.85rem,3vw,.95rem);line-height:1.7;margin-bottom:16px;margin-top:8px}}@media (max-width:600px){.modal-window .btn .btn-text{display:none!important}.modal-window .btn{align-items:center!important;display:inline-flex!important;font-size:1.1rem!important;height:42px!important;justify-content:center!important;min-width:42px!important;padding:0!important;width:42px!important}.game-3col-layout{gap:14px;grid-template-columns:1fr}.game-player-column{max-height:340px;min-height:180px;padding:16px}.game-player-column h2{font-size:clamp(1rem,4.2vw,1.3rem)}.player-header-score{font-size:clamp(1.2rem,5vw,1.6rem);padding:3px 10px}.game-player-column li{font-size:clamp(.95rem,3.8vw,1.2rem);margin-bottom:6px;padding:9px 14px}}@media (max-width:480px){.bot-level-modal{padding:18px 10px;width:95%}.difficulty-buttons{gap:6px}.difficulty-buttons .image-button img{height:88px;width:88px}.game-grid{gap:3px;max-width:min(440px,calc(100% - 6px));padding:6px;width:calc(100% - 6px)}.word-order-number{border-width:1.5px;bottom:1px;font-size:8px;height:18px;right:1px;width:18px}}.mobile-score-bar{display:none;max-width:100%;padding:4px 6px;width:100%}.mobile-player-btn,.mobile-score-bar{align-items:center;box-sizing:border-box;gap:6px;justify-content:space-between;overflow:hidden}.mobile-player-btn{border-radius:6px;cursor:pointer;display:flex;flex:1 1 0;font-family:Press Start\ 2P,monospace;font-size:clamp(.6rem,2.8vw,.8rem);max-width:calc(50% - 3px);min-width:0;padding:6px 8px;text-align:left;transition:border-color .2s,background-color .2s}.mobile-player-btn-p1{background-color:#43a047;border:2px solid var(--bg-dark);color:#fff}.mobile-player-btn-p2{background-color:#1e88e5;border:2px solid var(--bg-dark);color:#fff}.mobile-player-btn.active-turn{animation:player-turn-pulse 1.1s ease-in-out infinite}.mobile-player-name{color:#fff;flex:1 1 0;font-size:clamp(.6rem,2.8vw,.8rem);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-player-score{color:#fff;flex-shrink:0;font-family:Press Start\ 2P,monospace;font-size:clamp(1.2rem,5vw,1.65rem);font-weight:700}.mobile-words-modal{display:flex;flex-direction:column;max-height:80vh;max-width:420px;overflow:hidden;padding:0;width:92vw}.mobile-words-modal-header{align-items:center;border-bottom:2px solid var(--bg-light);border-radius:8px 8px 0 0;display:flex;justify-content:space-between;padding:16px 20px}.mobile-words-modal-header.header-p1{background-color:#43a047;color:#fff}.mobile-words-modal-header.header-p2{background-color:#1e88e5;color:#fff}.mobile-words-modal-name{font-size:clamp(1.1rem,4.5vw,1.5rem);margin-right:12px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-words-modal-name,.mobile-words-modal-score{color:#fff!important;font-family:Press Start\ 2P,monospace}.mobile-words-modal-score{flex-shrink:0;font-size:clamp(1.3rem,5vw,1.8rem);font-weight:700}.mobile-words-modal .modal-close-btn{color:#fff!important;opacity:.9}.mobile-words-list{display:flex;flex:1;flex-direction:column;gap:4px;list-style:none;margin:0;overflow-y:auto;padding:14px}.mobile-words-list li{align-items:center;background-color:transparent;border:none;border-radius:0;color:var(--text-color);cursor:pointer;display:flex;font-family:Press Start\ 2P,monospace;font-size:clamp(.95rem,4vw,1.15rem);justify-content:space-between;padding:6px 10px;transition:color .15s}.mobile-words-list li:hover{background-color:transparent;color:var(--accent-blue)}@media (max-width:860px){.mobile-score-bar{display:flex;grid-column:1/-1;order:-1}.mobile-hidden-col{display:none!important}}@media (min-width:861px){.mobile-score-bar{display:none!important}}.word-definition-panel{background-color:var(--bg-dark);border:2px solid var(--accent-blue);border-radius:8px;box-shadow:inset 0 0 10px rgba(0,0,0,.4);box-sizing:border-box;margin:30px auto 0;max-width:900px;padding:12px;width:100%}.word-definition-panel h3{align-items:center;border-bottom:2px solid var(--bg-light);color:var(--accent-blue);display:flex;font-size:1.2rem;margin:0 0 8px;padding-bottom:15px}.word-definition-panel h3:before{content:"\1F4D6";font-size:1.5rem;margin-right:10px;opacity:.8}.word-definition-panel .word-title{color:var(--text-color);font-style:italic}.word-definition-panel .definition-text{color:#c7c7c7;font-family:Courier New,Courier,monospace;font-size:1rem;line-height:1.7;margin:0;max-height:120px;overflow-y:auto;padding-right:10px}.content-box{background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:8px;box-sizing:border-box;margin:0 auto 8px;padding:22px;width:100%}.feedback-container{max-width:900px}.feedback-list{display:flex;flex-direction:column;gap:15px;margin-top:20px}.feedback-item{background-color:var(--bg-dark);border:1px solid var(--bg-light);border-radius:6px;padding:15px;transition:border-color .2s}.feedback-item.unread{border-left:4px solid var(--accent-blue)}.feedback-header{align-items:flex-start;border-bottom:1px solid var(--bg-light);color:#a0a0a0;display:flex;font-size:.8rem;justify-content:space-between;margin-bottom:15px;padding-bottom:15px}.feedback-author a,.feedback-author a:visited{border-bottom:1px dotted var(--accent-blue);color:var(--accent-blue);text-decoration:none;transition:color .2s,border-color .2s}.feedback-author a:hover{border-bottom-color:var(--text-color);color:var(--text-color)}.feedback-subject{font-size:1.1rem;margin-bottom:10px;padding-bottom:10px}.feedback-message{font-family:Courier New,Courier,monospace;line-height:1.6;margin-bottom:15px}.feedback-actions{text-align:right}.page-title{border-bottom:2px solid var(--bg-light);color:var(--accent-blue);font-size:2rem;margin-top:0;padding-bottom:25px;text-align:center}.logo-link{text-decoration:none}.logo-link:not(.logo-small){align-self:flex-end;margin:0 auto;padding-bottom:16px}.logo-link:not(.logo-small) h1{color:var(--accent-blue);font-size:5rem;line-height:1;margin:0;text-shadow:5px 5px 0 var(--bg-medium)}.logo-small{align-items:center;color:var(--accent-blue);display:inline-flex;font-weight:700;letter-spacing:1px;line-height:1;margin-left:6px;text-shadow:2px 2px 0 var(--bg-medium)}.logo-small .logo-text-full{display:inline;font-size:1.8rem}.logo-small .logo-text-short{display:none}.profile-container{max-width:700px}.profile-details p{font-family:Courier New,Courier,monospace;font-size:1.1rem;line-height:1.8}.profile-details .label{color:var(--accent-blue);display:inline-block;font-weight:700;width:300px}.rating-container{max-width:900px}.rating-table{border-collapse:collapse;box-sizing:border-box;font-family:Courier New,Courier,monospace;margin-top:20px;width:100%}.rating-table td,.rating-table th{border-bottom:2px solid var(--bg-light);padding:12px 15px;text-align:center;word-break:break-word}.rating-table thead th{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:.9rem}.rating-table tbody tr:hover{background-color:var(--bg-light)}@media (max-width:768px){.rating-table td,.rating-table th{font-size:.85rem;padding:8px 6px}.rating-table thead th{font-size:.7rem}}#letters-panel{background-color:var(--bg-medium);border:3px solid var(--accent-blue);border-radius:8px;box-shadow:0 5px 15px rgba(0,0,0,.5);box-sizing:border-box;display:flex;flex-direction:column;gap:8px;max-width:calc(100vw - 24px);padding:10px;width:fit-content}.letter-panel-row{flex-wrap:nowrap;gap:6px;width:100%}.letter-button,.letter-panel-row{display:flex;justify-content:center}.letter-button{align-items:center;background-color:var(--bg-light);border:2px solid var(--bg-medium);border-radius:4px;box-sizing:border-box;color:var(--text-color);cursor:pointer;font-family:Press Start\ 2P,monospace;font-size:1.1rem;height:40px;transition:background-color .15s,border-color .15s;user-select:none;width:40px}@media (max-width:600px){#letters-panel{gap:5px;max-width:calc(100vw - 12px);padding:6px 4px;width:calc(100vw - 12px)}.letter-panel-row{flex-wrap:nowrap;gap:2px;width:100%}.letter-button{border-width:1px;flex:1 1 0;font-size:clamp(.6rem,3.2vw,.95rem);height:clamp(34px,9vw,42px);min-width:0;padding:0;width:auto}}.letter-button:hover{background-color:var(--accent-blue);border-color:var(--accent-blue);color:#fff}.game-timer-panel{margin-bottom:20px;text-align:center}.game-timer-panel h3{color:var(--text-color);font-weight:400;margin:0 0 10px}#timer-display,.game-timer-panel h3{font-family:Press Start\ 2P,monospace;font-size:1.2rem}#timer-display{color:var(--accent-blue);transition:color .3s}#timer-display.timer-warning{color:#e74c3c}#timer-display.timer-critical{animation:timer-blink .5s step-start infinite;color:#e74c3c}@keyframes timer-blink{0%,to{opacity:1}50%{opacity:0}}.hint-display{color:var(--text-color);font-size:1.2rem;margin-top:15px}li.no-words{cursor:default!important;font-style:italic;opacity:.65;pointer-events:none!important}.word-tooltip-popup{background-color:var(--bg-medium,#2c3539);border:2px solid var(--accent-blue-light,#29b6f6);border-radius:8px;box-shadow:0 4px 14px rgba(0,0,0,.55);box-sizing:border-box;color:var(--text-color,#e0e0e0);font-family:Courier New,Courier,monospace;font-size:.85rem;line-height:1.42;max-width:650px;min-width:280px;opacity:0;padding:14px 18px;pointer-events:auto;position:fixed;text-align:left;transition:opacity .15s ease;width:auto;z-index:10005}[data-theme=light] .word-tooltip-popup{background-color:var(--bg-medium,#fff);border-color:var(--accent-blue-light,#0288d1);box-shadow:0 4px 14px rgba(0,0,0,.2);color:var(--text-color,#263238)}.word-tooltip-header{align-items:center;border-bottom:1px solid var(--card-item-border,#333c41);display:flex;gap:8px;justify-content:space-between;margin-bottom:8px;padding-bottom:6px}[data-theme=light] .word-tooltip-header{border-bottom-color:var(--card-item-border,#cfd8dc)}.word-tooltip-title{color:var(--accent-blue-light,#29b6f6);flex:1;font-family:Press Start\ 2P,monospace,sans-serif;font-size:.68rem;letter-spacing:.5px;line-height:1.2;min-width:0;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}[data-theme=light] .word-tooltip-title{color:var(--accent-blue-light,#0288d1)}.word-tooltip-external-link{align-items:center;border-radius:4px;color:var(--accent-blue-light,#29b6f6);cursor:pointer;display:inline-flex;flex-shrink:0;font-family:Courier New,Courier,monospace;font-size:.72rem;font-weight:600;gap:5px;padding:2px 4px;text-decoration:underline;transition:color .2s ease,opacity .2s ease;white-space:nowrap}[data-theme=light] .word-tooltip-external-link{color:var(--accent-blue-light,#0288d1)}.word-tooltip-external-link:hover{opacity:.85;text-decoration:underline}.word-tooltip-external-link i{font-size:.7rem;line-height:1}.word-tooltip-link-text{display:inline;font-size:.72rem;font-weight:600;text-decoration:underline}@media (max-width:600px){.word-tooltip-link-text{display:none!important}}.word-tooltip-body{color:var(--text-color,#e0e0e0);font-size:.85rem;line-height:1.42;max-height:240px;overflow-y:auto;padding-right:6px;text-align:left;word-break:break-word}[data-theme=light] .word-tooltip-body{color:var(--text-color,#263238)}.word-tooltip-body::-webkit-scrollbar{width:4px}.word-tooltip-body::-webkit-scrollbar-track{background:transparent}.word-tooltip-body::-webkit-scrollbar-thumb{background:var(--card-item-border,hsla(0,0%,100%,.25));border-radius:4px}[data-theme=light] .word-tooltip-body::-webkit-scrollbar-thumb{background:var(--card-item-border,#cfd8dc)}.word-tooltip-body p,.word-tooltip-popup p{color:inherit;font-family:inherit;font-size:inherit;line-height:inherit;margin:0 0 6px;padding:0}.word-tooltip-body p:last-child{margin-bottom:0}.word-tooltip-popup .tooltip-loading{align-items:center;color:var(--text-muted,#8a9bb0);display:inline-flex;font-size:.82rem;margin:4px 0}.word-tooltip-popup .tooltip-loading .fa-spinner{color:var(--accent-blue-light,#29b6f6);margin-right:8px}[data-theme=light] .word-tooltip-popup .tooltip-loading .fa-spinner{color:var(--accent-blue-light,#0288d1)}.word-tooltip-body b,.word-tooltip-body strong{color:inherit;font-weight:700}.word-tooltip-body em,.word-tooltip-body i{color:inherit;font-style:italic;margin:0 .15em}.start-word-tooltip .explanation-source,.word-tooltip-body .explanation-source{color:var(--text-muted,#8a9bb0)!important;display:block!important;font-size:.76rem!important;line-height:1.4!important;margin-top:12px!important;padding-top:4px!important;text-align:left!important}[data-theme=light] .start-word-tooltip .explanation-source,[data-theme=light] .word-tooltip-body .explanation-source{color:var(--text-muted,#607d8b)!important}.start-word-tooltip .explanation-source a,.start-word-tooltip .explanation-source a.source-link,.word-tooltip-body .explanation-source a,.word-tooltip-body .explanation-source a.source-link{border-bottom:none!important;color:var(--accent-blue-light,#29b6f6)!important;font-weight:500!important;text-decoration:underline!important;transition:color .2s ease,opacity .2s ease}.start-word-tooltip .explanation-source a.source-link:hover,.start-word-tooltip .explanation-source a:hover,.word-tooltip-body .explanation-source a.source-link:hover,.word-tooltip-body .explanation-source a:hover{color:var(--text-color,#fff)!important;text-decoration:underline!important}[data-theme=light] .start-word-tooltip .explanation-source a,[data-theme=light] .start-word-tooltip .explanation-source a.source-link,[data-theme=light] .word-tooltip-body .explanation-source a,[data-theme=light] .word-tooltip-body .explanation-source a.source-link{color:var(--accent-blue-light,#0288d1)!important}[data-theme=light] .start-word-tooltip .explanation-source a.source-link:hover,[data-theme=light] .start-word-tooltip .explanation-source a:hover,[data-theme=light] .word-tooltip-body .explanation-source a.source-link:hover,[data-theme=light] .word-tooltip-body .explanation-source a:hover{color:var(--text-color,#263238)!important}.word-tooltip-popup a,.word-tooltip-popup a:visited{border-bottom:1px dotted var(--accent-blue-light,#29b6f6);color:var(--accent-blue-light,#29b6f6);text-decoration:none;transition:color .2s,border-color .2s}[data-theme=light] .word-tooltip-popup a,[data-theme=light] .word-tooltip-popup a:visited{border-bottom-color:var(--accent-blue-light,#0288d1);color:var(--accent-blue-light,#0288d1)}.word-tooltip-popup a:hover{border-bottom-color:var(--text-color);color:var(--text-color)}.word-tooltip-popup.wide-tooltip{max-width:380px}.definition-text i,.word-tooltip-popup i{margin:0 .4em}.rules-container{flex:1;max-width:1200px;padding:15px 20px}.best-game-box{max-width:1200px;padding:20px}.best-game-layout{align-items:flex-start;display:flex;flex-wrap:wrap;gap:24px}.best-game-image-link{border:none;display:inline-block;outline:none}.best-game-board-img{display:block;height:auto;margin:0 auto;max-height:clamp(140px,28vh,320px);max-width:100%;object-fit:contain;width:auto}[data-theme=dark] .best-game-img-light,[data-theme=light] .best-game-img-dark{display:none!important}[data-theme=dark] .best-game-img-dark,[data-theme=light] .best-game-img-light{display:block!important}.best-game-info{flex:1;min-width:180px}.best-game-players{align-items:center;display:flex;flex-wrap:wrap;gap:12px;margin-bottom:8px}.best-game-player{color:var(--text-color);font-size:.75rem}.best-game-player,.best-game-score{font-family:Press Start\ 2P,monospace}.best-game-score{color:var(--accent-blue);font-size:1rem}.best-game-meta{color:#888;font-family:Courier New,monospace;font-size:.85rem}@media (max-width:600px){.best-game-board-img{max-width:100%}}.rules-container h2{border-bottom:1px solid var(--bg-medium);color:var(--accent-blue);font-size:1.5rem;margin-bottom:8px;margin-top:2.5rem;padding-bottom:15px}.rules-container li,.rules-container p{color:var(--text-color);font-family:Courier New,Courier,monospace;font-size:1rem;line-height:1.6}.rules-container p{margin-bottom:0;margin-top:.8rem}.rules-container ol,.rules-container ul{margin-top:.5rem}.rules-container ol{list-style-type:none;padding-left:0}.rules-container ol li{margin-bottom:12px;padding-left:0}.rules-container ul{list-style-type:none;padding-left:20px}.rules-container ul li:before{color:var(--accent-blue);content:"•";display:inline-block;margin-left:-1em;width:1em}.word-table tbody td:nth-child(2){line-height:1.4;text-align:left;vertical-align:top;word-wrap:break-word}.history-table tbody td,.word-table tbody td:nth-child(2){font-family:Courier New,Courier,monospace;font-size:.9rem}#turn-indicator .spinner{animation:spin 1s linear infinite;border:.25em solid hsla(0,0%,88%,.3);border-left:.25em solid var(--accent-blue);border-radius:50%;flex-shrink:0;height:1.2em;width:1.2em}.logout-container p{font-family:Courier New,Courier,monospace;font-size:1.1rem;line-height:1.8;margin:25px 0;text-align:center}.auth-prompt a,.auth-prompt a:visited,.feedback-prompt a,.feedback-prompt a:visited,.profile-container p a{border-bottom:1px dotted var(--accent-blue);color:var(--accent-blue);text-decoration:none;transition:color .2s,border-color .2s}.auth-prompt a:hover,.feedback-prompt a:hover,.profile-container p a:hover{border-bottom-color:var(--text-color);color:var(--text-color)}.secondaryAction{border-bottom:1px dotted var(--text-color);color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.8rem;padding-bottom:2px;text-decoration:none;transition:color .2s,border-color .2s}.secondaryAction:hover{border-bottom-color:var(--accent-blue);color:var(--accent-blue)}.form-field-remember{align-items:center;display:flex;flex-direction:row;font-family:Courier New,Courier,monospace;gap:10px;justify-content:flex-start;margin:20px 0}.form-field-remember label{color:var(--text-color);font-size:.9rem;margin:0;padding:0}.form-field-remember input[type=checkbox]{cursor:pointer;height:18px;width:18px}.help{color:var(--text-muted,#8a9bb0);display:block;font-family:Courier New,Courier,monospace;font-size:.85rem;margin-top:4px}.field-error{color:#c94a4a;display:block;font-size:.8rem;margin-top:5px}.social-login-container{display:flex;flex-direction:column;gap:12px;width:100%}.btn-social{align-items:center;border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;font-family:Roboto,-apple-system,BlinkMacSystemFont,Segoe UI,system-ui,sans-serif;font-size:14px;font-weight:500;gap:12px;height:44px;justify-content:center;line-height:44px;padding:0 16px;text-decoration:none;transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease;user-select:none;width:100%}.btn-social-icon{display:inline-block;flex-shrink:0;height:20px;width:20px}.btn-social-text{font-family:inherit;font-size:inherit;font-weight:inherit;letter-spacing:.25px}.btn-social.btn-google{background-color:#fff;border:1px solid #747775;box-shadow:0 1px 2px rgba(0,0,0,.08);color:#1f1f1f}.btn-social.btn-google:hover{background-color:#f8f9fa;border-color:#747775;box-shadow:0 1px 3px rgba(0,0,0,.16);color:#1f1f1f}.btn-social.btn-google:active{background-color:#f1f3f4}[data-theme=dark] .btn-social.btn-google{background-color:#131314;border:1px solid #8e918f;box-shadow:none;color:#e3e3e3}[data-theme=dark] .btn-social.btn-google:hover{background-color:#202124;border-color:#8e918f;color:#e3e3e3}[data-theme=dark] .btn-social.btn-google:active{background-color:#2d2e30}.btn-social.btn-facebook{background-color:#1877f2;border:1px solid #1877f2;box-shadow:0 1px 2px rgba(0,0,0,.12);color:#fff}.btn-social.btn-facebook:hover{background-color:#166fe5;border-color:#166fe5;box-shadow:0 1px 3px rgba(0,0,0,.2);color:#fff}.btn-social.btn-facebook:active{background-color:#0e64d2;border-color:#0e64d2}[data-theme=dark] .btn-social.btn-facebook{background-color:#1877f2;border:1px solid #1877f2;color:#fff}[data-theme=dark] .btn-social.btn-facebook:hover{background-color:#166fe5;border-color:#166fe5}.btn-share{align-items:center;border:2px solid transparent;border-radius:50%;color:#fff;display:flex;font-size:2rem;height:40px;justify-content:center;text-decoration:none;transition:transform .2s,opacity .2s;width:40px}.btn-share:hover{color:#fff;opacity:.9;transform:scale(1.1)}.btn-facebook{background-color:#1877f2}.btn-telegram{background-color:#08c}.btn-viber{background-color:#7360f2}.btn-whatsapp{background-color:#25d366}.auth-container{align-items:center;display:flex;flex-direction:column;gap:20px;max-width:500px;padding:30px}.auth-container>*{width:100%}.auth-prompt{line-height:1.6;margin-bottom:0}.auth-prompt,.feedback-prompt{font-family:Courier New,Courier,monospace;text-align:center}.feedback-prompt{margin-top:30px}.form-group{margin-bottom:15px}.form-group label{color:var(--accent-blue);display:block;font-family:Press Start\ 2P,monospace;font-size:.9rem;font-weight:400;margin-bottom:8px}.form-group input[type=email],.form-group input[type=password],.form-group input[type=text],.form-group textarea{background-color:var(--bg-light);border:1px solid var(--bg-light);border-radius:5px;box-sizing:border-box;color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:1rem;padding:10px;transition:border-color .2s;width:100%}.form-group input[type=email]:focus,.form-group input[type=password]:focus,.form-group input[type=text]:focus,.form-group textarea:focus{border-color:var(--accent-blue);outline:none}.form-group input::placeholder{color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.9rem;opacity:.5}.form-group-checkbox{align-items:center;display:flex;gap:10px;margin-bottom:20px}.form-controls{flex-wrap:wrap;justify-content:flex-start;margin-top:5px;width:100%}.form-controls,.hint-control-group{align-items:center;display:flex;gap:15px}.hint-control-group{color:var(--text-color)}.demo-control-group{align-items:center;display:flex;gap:10px}.demo-btn{font-size:.6rem;padding:10px 14px}.justify-center{justify-content:center}.login-or{align-items:center;color:#a0a0a0;display:flex;font-family:Courier New,Courier,monospace;gap:15px;margin:0;text-align:center}.login-or:after,.login-or:before{background-color:var(--bg-light);content:"";flex-grow:1;height:2px}.form-errors{background-color:#a94442;border-radius:4px;color:#fff;margin-bottom:20px;padding:15px;text-align:center}.form-errors p{font-family:Courier New,Courier,monospace;font-size:.9rem;line-height:1.5;margin:0}.modal-window h1,.modal-window h2,.modal-window h3{box-sizing:border-box;color:var(--accent-blue);font-size:clamp(1.1rem,4vw,1.5rem);font-weight:400;line-height:1.5;margin-bottom:20px;margin-top:0;overflow-wrap:break-word;padding-left:28px;padding-right:28px;transition:font-size .2s ease-in-out;word-break:break-word}.confirmation-prompt,.modal-window p{color:var(--text-color);font-family:Courier New,Courier,monospace;font-size:clamp(.9rem,3.2vw,1.05rem);line-height:1.7;margin-bottom:20px;margin-top:10px;overflow-wrap:break-word;word-break:break-word}.final-score-table{border-collapse:collapse;margin:25px auto 0;text-align:center;width:90%}.final-score-table .player-name-cell{border-bottom:2px solid var(--bg-light);color:var(--text-color);font-size:1.1rem;padding-bottom:15px;width:50%}.final-score-table .score-cell{color:var(--text-color);font-size:3rem;padding:30px 20px}.final-score-table .score-value{color:inherit;font-size:inherit;font-weight:inherit}.modal-overlay{background-color:rgba(0,0,0,.7);display:none;height:100%;width:100%}.modal-overlay .modal-window{display:block}.modal-window{background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:8px;box-shadow:0 5px 25px rgba(0,0,0,.5);box-sizing:border-box;display:none;left:50%;max-height:90vh;max-width:600px;overflow-y:auto;padding:25px 30px;position:fixed;text-align:center;top:50%;transform:translate(-50%,-50%);width:90%;z-index:10001}.modal-close-btn{background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:2rem;font-weight:700;line-height:1;padding:5px;position:absolute;right:10px;top:5px;transition:color .2s ease,transform .2s ease;z-index:10}.modal-close-btn:focus,.modal-close-btn:hover{color:var(--error-red);outline:none;transform:scale(1.1)}::-webkit-scrollbar{height:12px;width:12px}::-webkit-scrollbar-track{background:var(--bg-dark);border:1px solid var(--bg-light);border-radius:4px}::-webkit-scrollbar-thumb{background-color:var(--bg-light);border:2px solid var(--bg-dark);border-radius:4px;transition:background-color .2s}::-webkit-scrollbar-thumb:hover{background-color:var(--accent-blue)}html{scrollbar-color:var(--accent-blue) var(--bg-dark);scrollbar-width:thin}@media (max-width:860px){.game-header{padding:10px 8px}.content-wrapper{align-items:center;display:flex;flex:1 0 auto;flex-direction:column;justify-content:flex-start;width:100%}.content-wrapper:before{background-color:var(--bg-dark);border-bottom:1px solid var(--bg-medium);box-sizing:border-box;content:"";height:48px;left:0;pointer-events:none;position:fixed;top:0;width:100vw;z-index:299}.left-col{left:0;padding:0 12px;z-index:1000}.left-col,.right-col{align-items:center;background:var(--bg-dark);border-bottom:1px solid var(--bg-medium);display:flex;height:48px;position:fixed;top:0}.right-col{box-sizing:border-box;max-width:calc(100vw - 70px);overflow:hidden;padding:0 8px;right:0;z-index:300}.game-nav{display:none}.logo-small .logo-text-full{display:inline!important;font-size:1.6rem;font-weight:700}.logo-small .logo-text-short{display:none!important}.logo-link:not(.logo-small) h1{font-size:3rem;text-shadow:3px 3px 0 var(--bg-medium)}.page-title{font-size:1.2rem}.page-footer{align-items:center;flex-direction:row;flex-shrink:0;font-size:.65rem;gap:4px;justify-content:space-between;margin-top:auto;padding-bottom:2px;padding-top:4px}.user-menu{flex-wrap:nowrap;font-size:.65rem;gap:6px;max-width:100%;overflow:hidden;padding:0}.user-menu .user-name-text,.user-menu span{display:none!important}.center-col{align-self:center;box-sizing:border-box;display:flex;flex:1 0 auto;flex-direction:column;justify-content:flex-start;padding:52px 0 0;width:100%}.auth-container,.game-3col-layout,.game-area,.game-center-column,.home-best-game-wrapper,.lobby-container,.main-layout,.rules-container{align-self:center;display:flex;flex:1 0 auto;flex-direction:column;justify-content:center;margin-bottom:auto;margin-top:auto;width:100%}.content-box{margin-bottom:4px;padding:12px 14px}}.lobby-container{max-width:700px;text-align:center}.lobby-controls{display:flex;gap:15px;justify-content:center;margin-bottom:20px}.lobby-container p{font-family:Courier New,Courier,monospace;line-height:1.6;margin-bottom:30px}.lobby-container .login-or{margin:-10px auto 10px}.btn-pink{background-color:#ffb6c1;border-color:#ffb6c1;color:#2a3235}.btn-pink:hover{background-color:#ff9aab;border-color:#ff9aab;color:#2a3235}.btn-info{background-color:var(--p2-blue,#1565c0);border-color:var(--p2-blue-dark,#0d47a1);color:#fff}.btn-info:hover{background-color:var(--p2-blue-light,#42a5f5);border-color:var(--p2-blue,#1565c0);color:#fff}.btn-toggle-read:hover{background-color:var(--p1-green-dark,#2e7d32)!important}.btn-toggle-unread:hover{background-color:var(--accent-blue-light)!important}.btn-success{background-color:var(--p1-green,#43a047);border-color:var(--p1-green-dark,#2e7d32);color:#fff}.btn-success:hover{background-color:var(--p1-green-dark,#2e7d32);border-color:#1b5e20;color:#fff}.btn-warning,.btn-warning:hover{background-color:var(--note-border);border-color:var(--note-border);color:var(--note-text)}.btn-warning:hover{filter:brightness(.9)}.btn-danger{background-color:var(--error-red,#e53935);border-color:var(--error-red-dark,#d32f2f);color:#fff}.btn-danger:hover{background-color:var(--error-red-dark,#d32f2f);border-color:#b71c1c;color:#fff}#player-list-container{border:1px solid var(--card-item-border);border-radius:8px;display:flex;flex-direction:column;margin-bottom:20px;max-height:280px;min-height:220px;padding:15px}#player-list-container h2{border-bottom:2px solid var(--bg-light);font-size:1.2rem;margin-bottom:15px;margin-top:0;padding-bottom:10px;text-align:center}#player-list{display:flex;flex-direction:column;flex-grow:1;list-style:none;margin:0;overflow-y:auto;padding:0}.player-item{align-items:center;border-bottom:1px solid var(--bg-light);display:flex;font-family:Courier New,Courier,monospace;font-size:1.1rem;justify-content:space-between;padding:15px}.player-item:last-child{border-bottom:none}.btn-invite{background-color:var(--accent-blue);border:none;color:#fff;font-size:.8rem;padding:8px 12px}.btn-invite:hover{background-color:var(--accent-blue-light);color:#fff}.btn-invite:disabled{background-color:var(--bg-light);color:var(--text-muted);cursor:not-allowed}.no-players{align-items:center;color:var(--text-muted);display:flex;flex-grow:1;justify-content:center}.no-players.error{color:var(--error-red);font-family:Courier New,Courier,monospace}.bot-level-modal{box-sizing:border-box;display:block;max-width:500px;padding:24px 18px;width:92%}.difficulty-buttons{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:15px}.difficulty-buttons .image-button img{height:110px;object-fit:contain;transition:transform .2s;width:110px}.difficulty-buttons .image-button:hover img{transform:scale(1.06)}.privacy-policy-container{max-width:800px;padding:30px}.privacy-policy-container h2{border-bottom:1px solid var(--bg-medium);color:var(--accent-blue);font-size:1.5rem;margin-bottom:15px;margin-top:25px;padding-bottom:8px}.privacy-policy-container li,.privacy-policy-container p{color:var(--text-color);font-family:Courier New,Courier,monospace;font-size:1rem;line-height:1.6}.privacy-policy-container ul{list-style-type:disc;padding-left:30px}.result-page-layout .game-top-bar-meta{margin-bottom:10px}.result-page-layout .game-info-label{border-bottom:2px solid var(--bg-light);padding-bottom:20px}.result-container{max-width:700px;text-align:center}.result-container .winner-message{align-items:center;color:var(--text-color);display:flex;flex-direction:column;font-size:2rem;font-weight:400;gap:15px;margin:30px 0}.winner-name{color:var(--accent-blue);font-size:2.8rem}.score-value{color:var(--accent-blue);font-size:1.5rem;font-weight:700}.score-multiplier-note{color:var(--text-muted);display:block;font-family:Courier New,Courier,monospace;font-size:1rem;font-style:italic;margin-top:5px}.result-container .result-players{justify-content:space-around;margin:25px auto;max-width:100%;text-align:left}.result-container .result-players ul{margin-top:15px;max-height:400px;text-align:center}.result-container .controls{justify-content:center;margin-bottom:15px;margin-top:40px}.page-footer{align-items:center;border-top:2px solid var(--bg-light);color:#a0a0a0;display:flex;flex-shrink:0;font-size:.7rem;justify-content:space-between;margin-top:auto;padding-bottom:4px;padding-top:6px}.page-footer p{margin:0}.page-footer .designer-name,.page-footer a{color:var(--text-color)}.page-footer a{text-decoration:none}.page-footer a:hover{color:var(--accent-blue)}@keyframes spin{to{transform:rotate(1turn)}}@keyframes player-turn-pulse{0%,to{box-shadow:0 0 0 2px transparent}50%{box-shadow:0 0 0 4px hsla(0,0%,100%,.65)}}.game-player-column h2.active-turn{animation:player-turn-pulse 1.1s ease-in-out infinite}.game-player-column #player1-username{background-color:#43a047}.game-player-column #player1-username,.game-player-column #player2-username{align-items:center;border:2px solid var(--bg-dark);border-radius:4px;color:#fff;display:flex;gap:8px;justify-content:space-between;padding:5px 8px}.game-player-column #player2-username{background-color:#1e88e5}.player-header-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.player-header-score{flex-shrink:0;font-size:1.3rem;font-weight:700;line-height:1}#global-spinner-overlay{background-color:transparent;pointer-events:none;z-index:9999}#global-spinner-overlay .spinner{animation:spin 1s linear infinite;border:5px solid hsla(0,0%,88%,.3);border-left:5px solid var(--accent-blue);border-radius:50%;flex-shrink:0;height:50px;left:50%;margin:-25px 0 0 -25px;position:absolute;top:50%;width:50px}.spinner-inline{animation:spin 1s linear infinite;border:.2em solid hsla(0,0%,88%,.3);border-left:.2em solid var(--accent-blue);border-radius:50%;display:inline-block;height:1em;margin-left:.5em;vertical-align:-.15em;width:1em}.image-button{align-items:center;background:none;background-color:transparent!important;border:none;cursor:pointer;display:inline-flex;justify-content:center;padding:0;transition:transform .1s ease}.image-button:hover{transform:scale(1.1)}.image-button:active{transform:scale(.95)}.image-button:disabled{cursor:not-allowed;filter:grayscale(100%);opacity:.6;pointer-events:none}.image-button img{display:block;pointer-events:none}.game-sort-form{background-color:var(--bg-dark);border:1px solid var(--bg-light);border-radius:8px;margin-bottom:16px;padding:12px 16px}.game-sort-row{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.game-sort-row label{color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.8rem;margin-right:4px}.game-sort-row select{background-color:var(--bg-medium);border:1px solid var(--accent-blue);border-radius:6px;color:var(--text-color);cursor:pointer;font-family:inherit;font-size:.9rem;outline:none;padding:8px 12px}.history-cards-container{display:flex;flex-direction:column;gap:14px;margin-top:10px}.feedback-desktop-table,.history-desktop-table{display:block}.feedback-mobile-cards,.history-mobile-cards{display:none!important}@media (max-width:768px){.feedback-desktop-table,.history-desktop-table{display:none!important}.feedback-mobile-cards,.history-mobile-cards{display:flex!important;flex-direction:column;gap:12px}}.feedback-table,.history-table{background-color:var(--bg-dark);border:2px solid var(--bg-light);border-collapse:collapse;border-radius:8px;box-sizing:border-box;margin-bottom:20px;overflow:hidden;table-layout:fixed;width:100%}.feedback-table th,.history-table th{background-color:var(--bg-medium);border-bottom:2px solid var(--bg-light);box-sizing:border-box;color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:.72rem;padding:10px 8px;text-align:left;white-space:nowrap}.feedback-table td,.history-table td{border-bottom:1px solid hsla(0,0%,100%,.05);box-sizing:border-box;font-size:.82rem;padding:10px 8px;vertical-align:middle}.feedback-table tbody tr:hover,.history-table tbody tr:hover{background-color:rgba(30,136,229,.08)}.feedback-table .actions-cell{min-width:120px;width:120px}.feedback-table .actions-cell,.history-table .actions-cell{padding:6px 4px!important;text-align:center;white-space:nowrap}.history-table .actions-cell{min-width:80px;width:80px}.actions-wrapper{gap:4px!important}.actions-wrapper,.actions-wrapper button,.actions-wrapper form,.actions-wrapper>.btn-icon{align-items:center!important;display:inline-flex!important;justify-content:center!important;vertical-align:middle!important}.actions-wrapper button,.actions-wrapper form,.actions-wrapper>.btn-icon{margin:0!important}.feedback-table .actions-cell form,.feedback-table .actions-cell>.btn-icon,.history-table .actions-cell form,.history-table .actions-cell>.btn-icon{align-items:center;display:inline-flex!important;justify-content:center;margin:0 1px!important;padding:0!important;vertical-align:middle}.feedback-table .actions-cell .btn-icon,.history-table .actions-cell .btn-icon{align-items:center;box-sizing:border-box;display:inline-flex!important;font-size:.75rem;height:26px!important;justify-content:center;line-height:1;margin:0!important;padding:0!important;width:26px!important}.feedback-table tr.unread-row{background-color:rgba(30,136,229,.06);border-left:4px solid var(--accent-blue)}.history-table .history-cell-id{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:.75rem;text-align:center;white-space:nowrap}.feedback-table .feedback-cell-date,.history-table .history-cell-date{color:var(--text-muted);font-family:monospace;font-size:.75rem;line-height:1.35;text-align:center;white-space:normal}.history-table .history-cell-p1 .player-p1{color:var(--p1-green)}.history-table .history-cell-p1 .player-p1,.history-table .history-cell-p2 .player-p2{display:block;font-family:Press Start\ 2P,monospace;font-size:.75rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-table .history-cell-p2 .player-p2{color:var(--p2-blue)}.history-table .history-cell-score{text-align:center;white-space:nowrap}.history-table .history-cell-score .score-badge{background-color:var(--card-item-bg);border:1px solid var(--card-item-border);border-radius:4px;color:var(--text-color);display:inline-block;font-family:Press Start\ 2P,monospace;font-size:.78rem;font-weight:700;padding:3px 8px}.feedback-table .feedback-cell-author .card-author{color:var(--accent-blue);display:block;font-family:Courier New,monospace;font-size:.82rem;font-weight:700;white-space:normal;word-break:break-word}.feedback-table .feedback-cell-subject .card-subject{color:var(--text-color);display:block;font-family:Press Start\ 2P,monospace;font-size:.72rem;line-height:1.3;white-space:normal;word-break:break-word}.feedback-table .feedback-cell-message .card-message-snippet{color:var(--text-muted);display:block;font-family:Courier New,monospace;font-size:.82rem;line-height:1.35;white-space:normal;word-break:break-word}.history-game-card{background-color:var(--bg-medium);border:2px solid var(--card-item-border);border-radius:10px;box-sizing:border-box;padding:16px 20px;transition:border-color .2s,box-shadow .2s}.history-game-card:hover{border-color:var(--accent-blue);box-shadow:0 4px 12px rgba(0,0,0,.3)}.history-game-card .card-header{align-items:center;border-bottom:1px solid var(--card-item-border);color:var(--accent-blue);display:flex;font-family:Press Start\ 2P,monospace;font-size:.85rem;justify-content:space-between;margin-bottom:12px;padding-bottom:10px}.history-game-card .card-header .game-date{color:var(--text-muted);font-family:monospace;font-size:.78rem}.history-game-card .card-players{align-items:center;display:flex;font-family:Press Start\ 2P,monospace;font-size:clamp(.85rem,2.5vw,1.15rem);gap:12px;justify-content:space-between;margin-bottom:16px}.history-game-card .player-p1{color:var(--p1-green);text-align:left}.history-game-card .player-p1,.history-game-card .player-p2{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.history-game-card .player-p2{color:var(--p2-blue);text-align:right}.history-game-card .score-badge{background-color:var(--card-item-bg);border:1px solid var(--card-item-border);border-radius:6px;color:var(--text-color);flex-shrink:0;font-size:clamp(.9rem,2.5vw,1.2rem);font-weight:700;padding:6px 14px}.history-game-card .card-footer{align-items:center;display:flex;justify-content:space-between}.feedback-container .feedback-description{font-family:Courier New,Courier,monospace;font-size:.9rem}.feedback-sent{padding:40px 20px;text-align:center}.feedback-sent .sent-icon{color:var(--accent-blue);font-size:3rem;margin-bottom:16px}.feedback-sent h2{font-size:1.2rem;margin-bottom:10px}.feedback-sent .sent-hint{color:var(--text-muted);font-size:.8rem;margin-top:20px}.feedback-sort-form{background-color:var(--bg-dark);border:1px solid var(--bg-light);border-radius:8px;margin-bottom:16px;margin-top:12px;padding:10px 14px}.feedback-sort-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.feedback-sort-row label{color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.78rem}.feedback-sort-row select{background-color:var(--bg-medium);border:1px solid var(--accent-blue);border-radius:6px;color:var(--text-color);cursor:pointer;font-family:inherit;font-size:.85rem;outline:none;padding:6px 10px}.feedback-cards-container{flex-direction:column;gap:12px;margin-top:10px}.feedback-card{background-color:var(--bg-dark);border:2px solid var(--bg-light);border-radius:10px;box-sizing:border-box;cursor:pointer;padding:14px 18px;position:relative;transition:border-color .2s,box-shadow .2s,background-color .2s}.feedback-card.unread-card{background-color:rgba(30,136,229,.08);border-color:var(--accent-blue)}.feedback-card:hover{border-color:var(--accent-blue);box-shadow:0 4px 12px rgba(0,0,0,.3)}.feedback-card .card-header{align-items:center;border-bottom:1px solid var(--bg-light);display:flex;font-size:.85rem;justify-content:space-between;margin-bottom:8px;padding-bottom:6px}.feedback-card .card-author{color:var(--accent-blue);font-family:Courier New,monospace;font-weight:700}.feedback-card .card-date{color:var(--text-muted);font-family:monospace;font-size:.78rem}.feedback-card .card-subject{color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.85rem;margin-bottom:8px;word-break:break-word}.feedback-card .card-message-snippet{color:var(--text-color);font-family:Courier New,monospace;font-size:.9rem;line-height:1.4;margin-bottom:12px;word-break:break-word}.feedback-card .card-footer{align-items:center;display:flex;justify-content:space-between}.feedback-card .actions-cell{align-items:center;display:flex;flex-direction:row;gap:8px}.feedback-card .actions-cell form{display:inline-block;margin:0}.feedback-card .unread-badge{background-color:var(--accent-blue);border-radius:4px;color:#fff;font-size:.7rem;font-weight:700;padding:3px 8px}.feedback-checkbox-label{align-items:center;cursor:pointer;display:flex;font-size:.7rem;gap:6px;white-space:nowrap}.feedback-modal-title{color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:1.05rem;line-height:1.5;margin-bottom:12px;word-break:break-word}.modal-meta-bar{align-items:center;border-bottom:1px solid var(--bg-light);color:#aaa;display:flex;flex-wrap:wrap;font-size:.8rem;gap:8px 16px;justify-content:space-between;line-height:1.6;margin-bottom:16px;padding-bottom:10px}.modal-meta-author{color:var(--accent-blue)}.feedback-form-input,.feedback-form-textarea{background:var(--bg-light);border:1px solid #555;border-radius:4px;box-sizing:border-box;color:var(--text-color);font-family:Courier New,monospace;font-size:.9rem;padding:8px;width:100%}.feedback-form-textarea{resize:vertical}.user-messages-section{border-top:2px solid var(--bg-light);margin-top:32px;padding-top:20px}.user-messages-title{align-items:center;color:var(--text-color);display:flex;font-family:Press Start\ 2P,monospace;font-size:.82rem;gap:8px;margin-bottom:14px}.user-messages-list{display:flex;flex-direction:column;gap:12px}.user-thread-card{cursor:default!important}.user-thread-card .card-subject-title{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:.75rem;word-break:break-word}.user-thread-card .card-message-text{color:#e0e0e0;font-family:Courier New,monospace;font-size:.85rem;line-height:1.4;margin-bottom:10px;white-space:pre-wrap;word-break:break-word}.card-footer-controls{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.user-replies-container{border-top:1px dashed #37474f;margin-top:12px;padding-top:10px}.user-replies-header{color:#90caf9;display:block;font-size:.85rem;margin-bottom:8px}.user-replies-list{display:flex;flex-direction:column;gap:8px}.user-reply-box{background:rgba(0,0,0,.25);border-left:3px solid var(--accent-blue);border-radius:0 6px 6px 0;margin-left:12px;padding:8px 12px}.user-reply-box .reply-box-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:4px}.user-reply-box .reply-author{color:#64b5f6;font-family:Courier New,monospace;font-size:.8rem;font-weight:700}.user-reply-box .reply-date{color:#aaa;font-family:monospace;font-size:.72rem}.user-reply-box .reply-box-text{color:#d1d5db;font-family:Courier New,monospace;font-size:.82rem;line-height:1.35;white-space:pre-wrap;word-break:break-word}.home-intro-text{border-bottom:1px dashed var(--bg-light);font-family:Courier New,Courier,monospace;font-size:clamp(.82rem,1.6vh,1.05rem);line-height:1.4;margin-bottom:clamp(6px,1.2vh,14px)!important;margin-top:4px;padding-bottom:clamp(6px,1.2vh,10px);text-align:center}.home-best-game-wrapper{margin-bottom:clamp(6px,1.2vh,12px);padding-bottom:clamp(6px,1.2vh,12px);padding-top:clamp(6px,1.2vh,12px);text-align:center}.home-best-game-title{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:clamp(.85rem,2vh,1.15rem);margin-bottom:clamp(4px,1vh,10px);margin-top:0}.home-best-game-score{font-family:Press Start\ 2P,monospace;font-size:clamp(.8rem,2vh,1.05rem);gap:clamp(12px,2.5vw,24px);margin-bottom:clamp(6px,1.2vh,10px)}.home-best-game-score,.home-share-container{align-items:center;display:flex;flex-wrap:wrap;justify-content:center}.home-share-container{border-top:1px solid var(--bg-light);gap:clamp(8px,1.5vw,15px);margin-top:clamp(6px,1vh,10px);padding-bottom:clamp(6px,1vh,10px);padding-top:clamp(6px,1vh,10px)}.home-share-label{color:#888;font-family:Courier New,Courier,monospace;font-size:.9rem;margin:0}.mt-20{margin-top:20px!important}.mt-16{margin-top:16px!important}.mb-20{margin-bottom:20px!important}.empty-list-text{color:#aaa;padding:20px;text-align:center}@media (max-width:600px){.history-game-card{padding:12px 14px}.game-sort-row{gap:8px}.game-sort-row label{margin-bottom:2px;width:100%}.game-sort-row select{flex:1;font-size:.82rem;min-width:110px;padding:6px 8px}.feedback-card{padding:12px 14px}.feedback-sort-row label{margin-bottom:2px;width:100%}.feedback-sort-row select{flex:1;font-size:.8rem;min-width:110px}.home-intro-text{font-size:.95rem;line-height:1.5;margin-bottom:16px!important;padding-bottom:14px}.home-best-game-wrapper{margin-bottom:16px;padding-bottom:16px;padding-top:16px}.home-best-game-title{font-size:clamp(.95rem,3.5vw,1.15rem);margin-bottom:14px;margin-top:0}.home-best-game-score{font-size:clamp(.85rem,3.2vw,1rem);gap:16px;margin-bottom:14px}}.game-grid-cols-4{grid-template-columns:repeat(4,1fr)}.game-grid-cols-5{grid-template-columns:repeat(5,1fr)}.game-grid-cols-6{grid-template-columns:repeat(6,1fr)}.game-grid-cols-7{grid-template-columns:repeat(7,1fr)}.result-page-layout{box-sizing:border-box;gap:clamp(8px,1.5vw,15px);max-width:100%!important;width:100%}@media (min-width:861px){.result-page-layout{grid-template-columns:minmax(120px,1fr) minmax(260px,360px) minmax(120px,1fr)}}@media (max-width:860px){.result-page-layout{grid-template-columns:1fr!important;max-width:100vw!important;overflow-x:hidden!important;width:100%!important}}.result-page-layout .game-top-bar-meta .game-info-label{border-bottom:2px solid var(--bg-light);justify-content:center;padding-bottom:20px;width:100%}.result-winner-row{align-items:center;color:var(--text-color);display:flex;flex-wrap:wrap;font-family:Courier New,Courier,monospace;font-size:clamp(1.2rem,3.5vw,1.6rem);gap:12px;justify-content:center;margin-bottom:16px;margin-top:18px}.result-winner-row .winner-label{font-weight:700}.result-winner-row .winner-name{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:clamp(.85rem,4vw,2.6rem);font-weight:700;max-width:100%;overflow-wrap:break-word;word-break:break-word}.result-score-wrapper{align-items:center;display:flex;flex-direction:column;margin-bottom:12px;margin-top:10px;width:100%}.result-score-row{align-items:center;box-sizing:border-box;display:grid;gap:16px;grid-template-columns:1fr auto 1fr;max-width:900px;width:100%}.result-player-col{align-items:center;display:flex;justify-content:center;min-width:0;overflow:hidden}.result-player-col .player-name-text{display:block;font-family:Press Start\ 2P,monospace;font-size:clamp(.9rem,3.8vw,1.8rem);max-width:100%;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.result-player-col.p1-col .player-name-text{color:#43a047}.result-player-col.p2-col .player-name-text{color:#1e88e5}.result-score-center{align-items:center;display:flex;flex-shrink:0;font-family:Press Start\ 2P,monospace;font-size:clamp(1.6rem,6vw,2.8rem);font-weight:700;gap:10px;justify-content:center}.result-score-center .game-score-value{color:var(--text-color)}.result-score-center .game-score-sep{color:var(--text-color);opacity:.8}.result-breakdown-row{margin-top:14px;text-align:center;width:100%}.score-breakdown-note{color:var(--accent-blue);display:inline-block;font-family:Press Start\ 2P,monospace;font-size:clamp(.7rem,2.5vw,.95rem);opacity:.9}.result-bottom-bar{align-items:stretch;border-top:2px solid var(--bg-light);box-sizing:border-box;display:flex;flex-direction:column;gap:20px;grid-column:1/-1;padding-top:20px;width:100%}.share-section{gap:20px}.share-buttons,.share-section{align-items:center;display:flex;justify-content:center}.share-buttons{box-sizing:border-box;gap:15px;padding:6px 4px}.demo-countdown-modal-window{display:block!important;max-width:480px;padding:24px 20px;text-align:center;width:92%}.demo-countdown-p{color:var(--text-color,#e0e0e0);font-family:Press Start\ 2P,monospace;font-size:clamp(.85rem,3.4vw,1.1rem)!important;line-height:1.8!important;margin-bottom:12px!important;margin-top:18px!important}.demo-countdown-p .countdown-num{color:var(--accent-blue-light,#29b6f6)!important;font-size:inherit!important;font-weight:700!important;padding:0 3px}[data-theme=light] .demo-countdown-p{color:var(--text-color,#263238)}[data-theme=light] .demo-countdown-p .countdown-num{color:var(--accent-blue,#1e6c93)!important}.result-bottom-bar .controls{justify-content:center}@media (max-width:768px){.result-score-row{gap:8px}.result-player-col .player-name-text{font-size:clamp(.75rem,3.2vw,1.2rem)}.result-score-center{font-size:clamp(1.3rem,4.8vw,2rem);gap:6px}}.warmup-overlay{align-items:center;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);background-color:rgba(38,50,56,.5);display:flex;height:100vh;justify-content:center;left:0;opacity:1;position:fixed;top:0;transition:opacity .4s ease,visibility .4s ease;visibility:visible;width:100vw;z-index:99999}[data-theme=dark] .warmup-overlay{background-color:rgba(0,0,0,.7)}.hidden,.warmup-overlay.hidden,.warmup-timing.hidden{display:none!important;opacity:0!important;pointer-events:none!important;visibility:hidden!important}.warmup-card{align-items:center;background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:12px;box-shadow:0 12px 32px rgba(0,0,0,.4);color:var(--text-color);display:flex;flex-direction:column;gap:16px;max-width:440px;padding:32px 40px;text-align:center;width:90%}.warmup-spinner{color:var(--accent-blue-light);font-size:2.8rem}.warmup-title{color:var(--text-color);font-family:Press Start\ 2P,monospace,sans-serif;font-size:1.05rem;line-height:1.5;margin:0}.warmup-subtitle{color:var(--text-muted);font-size:.95rem;margin:0}.warmup-timing{background-color:var(--card-item-bg);border:1px solid var(--card-item-border);border-radius:6px;color:var(--p1-green);font-family:monospace;font-size:.85rem;margin-top:4px;padding:6px 14px}.warmup-timing.hidden{display:none}.about-modal-window{max-width:500px;text-align:center;width:90%}.about-modal-content{display:flex;flex-direction:column;gap:16px;margin-top:10px}.about-game-badge{background:rgba(75,163,227,.1);border:1.5px solid var(--accent-blue);border-radius:8px;padding:12px;text-align:center}.about-game-badge .badge-title{color:var(--accent-blue);display:block;font-family:Press Start\ 2P,monospace,sans-serif;font-size:1.3rem;margin-bottom:6px}.about-game-badge .badge-subtitle{color:var(--text-muted);font-size:.9rem;margin:0}.about-credits-box{background:var(--bg-light);border:1px solid hsla(0,0%,100%,.12);border-radius:8px;box-shadow:inset 0 1px 3px rgba(0,0,0,.25);display:flex;flex-direction:column;gap:16px;padding:18px 20px;text-align:left}.about-credit-section{display:flex;flex-direction:column;gap:6px}.about-credit-label{align-items:center;display:flex;font-family:Press Start\ 2P,monospace,sans-serif;font-size:.72rem;gap:8px;letter-spacing:.5px}.about-credit-section:first-child .about-credit-label{color:var(--p1-green,#43a047)}.about-credit-section:first-child .about-credit-label .fa-code{color:var(--p1-green,#43a047);font-size:.85rem}.about-credit-section:last-child .about-credit-label{color:#ffb300}.about-credit-section:last-child .about-credit-label .fa-paint-brush{color:#ffb300;font-size:.85rem}.about-credit-value{color:var(--text-color);font-family:Courier New,Courier,monospace;font-size:.95rem;font-weight:700;line-height:1.5;padding-left:24px;word-break:break-word}.about-credit-value a{color:#4ba3e3;text-decoration:underline;text-underline-offset:3px;transition:color .2s ease,text-shadow .2s ease}.about-credit-value a:focus,.about-credit-value a:hover{color:#82c8ff;text-decoration:underline;text-shadow:0 0 8px rgba(75,163,227,.5)}.about-credit-value .designer-name{color:var(--text-color);font-weight:700}.about-coffee-box{align-items:flex-start;background:rgba(255,179,0,.1);border:1px solid rgba(255,179,0,.4);border-radius:8px;display:flex;gap:14px;padding:14px 16px}.about-coffee-box .coffee-icon{color:#ffb300;font-size:1.5rem;margin-top:2px}.about-coffee-box .coffee-title{color:#ffb300;display:block;font-family:Press Start\ 2P,monospace,sans-serif;font-size:.8rem;margin-bottom:4px}.about-coffee-box .coffee-desc{color:var(--text-color);font-size:.88rem;line-height:1.4;margin:0}.admin-settings-modal-window{max-width:580px;padding:30px 32px;text-align:left;width:90%}.admin-settings-modal-window h1{margin-bottom:22px;text-align:center}.admin-settings-content{display:flex;flex-direction:column;gap:24px;margin-bottom:12px;margin-top:10px}.settings-group{align-items:stretch;display:flex;flex-direction:column;gap:10px;text-align:left}.settings-group-label{color:var(--text-color);display:block;font-family:Press Start\ 2P,monospace,sans-serif;font-size:.74rem;line-height:1.5;text-align:left;width:100%}.settings-options-grid{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(130px,1fr))}.settings-options-grid.col-2{grid-template-columns:1fr 1fr}.btn-setting-option{background:var(--card-item-bg);border:1px solid var(--card-item-border);border-radius:6px;color:var(--text-color);cursor:pointer;font-family:Press Start\ 2P,monospace,sans-serif;font-size:.64rem;line-height:1.4;padding:13px 10px;text-align:center;transition:all .2s ease}.btn-setting-option:hover{background:var(--bg-light);border-color:var(--accent-blue-light);color:var(--text-color)}.btn-setting-option.active{background:var(--accent-blue);border:2px solid var(--accent-blue-light);color:var(--tile-text-active);font-weight:700}.btn-setting-option.active:hover{background:var(--accent-blue);border-color:var(--accent-blue-light);color:var(--tile-text-active);filter:brightness(1.1)}.dict-manager-container{max-width:1400px}.dict-controls{align-items:center;display:flex;flex-wrap:wrap;gap:15px;margin-bottom:20px}.btn-icon{font-size:1rem;line-height:1.2;padding:6px 10px;text-align:center}.dict-controls .btn-icon{align-items:center;flex-shrink:0;font-size:1rem;height:38px!important;justify-content:center;width:38px!important}.dict-controls .btn-icon,.word-table .actions-cell .btn-icon{box-sizing:border-box;display:inline-flex!important;line-height:1;padding:0!important}.word-table .actions-cell .btn-icon{align-items:center;display:inline-flex;font-size:.85rem;height:32px!important;height:32px;justify-content:center;padding:0;width:32px!important;width:32px}.dict-controls .reload-form,.dict-controls .search-form{align-items:center;display:flex;gap:15px}.search-form input[type=text]{background-color:var(--bg-light);border:1px solid var(--bg-light);border-radius:5px;box-sizing:border-box;color:var(--text-color);font-family:Press Start\ 2P,monospace;font-size:.9rem;height:38px;padding:0 12px;width:250px}.letter-filter{background-color:var(--card-item-bg);border:2px solid var(--card-item-border);border-radius:4px;display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px;padding:10px}.letter-filter a{align-items:center;background-color:var(--tile-bg);border:solid var(--tile-border);border-radius:4px;border-width:2px 2px 4px;color:var(--tile-text);display:inline-flex;font-size:1.2rem;font-weight:700;height:40px;justify-content:center;padding:0;text-decoration:none;transition:all .1s ease-in-out;width:40px}.letter-filter a:hover{background-color:var(--bg-light);border-color:var(--accent-blue)}.letter-filter a:active{border-bottom-width:2px;transform:translateY(2px)}.letter-filter a.selected{background:var(--accent-blue);border-bottom-width:2px;border-color:var(--accent-blue-light);color:var(--tile-text-active);transform:translateY(2px)}.table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch;margin-bottom:20px}.table-responsive,.word-table{box-sizing:border-box;max-width:100%;width:100%}.word-table{border:2px solid var(--card-item-border);border-collapse:collapse;border-radius:4px;margin-bottom:0;overflow:hidden}.word-table td,.word-table th{border:none;border-bottom:1px solid var(--bg-light);padding:10px 15px;text-align:left;vertical-align:middle}.word-table td{overflow-wrap:anywhere;word-break:break-word}.word-table th{background-color:transparent;border-bottom:2px solid var(--bg-dark);color:var(--accent-blue);font-weight:700}.word-table tbody tr:hover{background-color:var(--bg-light)}.word-table tr:last-child td{border-bottom:none}.word-table .actions-cell{white-space:nowrap}.word-table .actions-cell>*{align-items:center;display:inline-flex;margin:0 2px;vertical-align:middle}.btn-edit-word,.btn-submit{background-color:var(--accent-blue)!important;border-color:#1b6286!important;color:#fff!important}.btn-secondary{background-color:var(--bg-light)!important;border-color:var(--card-item-border,var(--bg-light))!important;color:var(--text-color)!important}.word-table .actions-cell .btn-danger,.word-table .actions-cell .btn-success{background-color:#c9a000!important;border-color:#a07800!important;color:#fff!important}.btn-delete-word{background-color:var(--error-red,#e53935)!important;border-color:var(--error-red-dark,#d32f2f)!important;color:#fff!important}.word-table .actions-cell form{align-items:center;display:inline-flex;height:32px;line-height:0;margin:0;padding:0}.editable-word-container{border-bottom:1px dashed transparent;cursor:pointer;display:inline-block;font-size:.85rem;transition:all .2s}.editable-word-container:hover{border-bottom-color:var(--text-muted)}.editable-word-container:focus{outline:none;text-decoration:underline}.word-table .blocked{opacity:.7;text-decoration:line-through}.word-table tr.unread-row td{font-weight:700}.word-table tr.unread-row td:first-child{border-left:3px solid var(--accent-blue)}.feedback-table tbody td{font-family:Courier New,Courier,monospace;font-size:.9rem;vertical-align:top}.feedback-table a,.feedback-table a:visited{color:var(--accent-blue);text-decoration:none}.feedback-table a:hover{text-decoration:underline}.btn-toggle-read{background-color:var(--p1-green,#43a047)!important;border-color:var(--p1-green-dark,#2e7d32)!important;color:#fff!important}.btn-toggle-unread{background-color:var(--accent-blue)!important;border-color:#1b6286!important;color:#fff!important}.pagination{margin-top:20px;text-align:center}.pagination .step-links{align-items:center;display:inline-flex;gap:8px}.pagination .current,.pagination a{background-color:var(--tile-bg);border:2px solid var(--card-item-border);border-radius:4px;color:var(--tile-text)!important;font-weight:700;margin:0;padding:8px 12px;text-decoration:none;transition:all .2s}.pagination a:hover{background-color:var(--bg-light)}.pagination .current{background:var(--accent-blue);border-color:var(--accent-blue);color:var(--tile-text-active)!important}.modal-overlay{align-items:center;background-color:rgba(0,0,0,.75);box-sizing:border-box;display:flex;height:100vh;justify-content:center;left:0;padding:10px;position:fixed;top:0;width:100vw;z-index:10000}#add-word-modal .modal-window,#edit-word-modal .modal-window{align-items:stretch;background-color:var(--bg-medium);border:3px solid var(--bg-light);border-radius:8px;box-shadow:0 5px 25px rgba(0,0,0,.6);box-sizing:border-box;display:flex;flex-direction:column;height:88vh;left:auto;margin:auto;max-height:900px;max-width:1200px;overflow:hidden;padding:20px;position:relative;text-align:left;top:auto;transform:none;width:92vw}#add-word-modal .modal-window h1,#edit-word-modal .modal-window h1{color:var(--accent-blue);flex-shrink:0;font-size:1.3rem;margin-bottom:15px;margin-top:0;text-align:center}.modal-form{flex:1 1 0;flex-direction:column}.modal-form,.modal-form .form-controls{display:flex;min-height:0;overflow:hidden;width:100%}.modal-form .form-controls{flex:1 1 0;flex-direction:column!important;gap:12px}.edit-word-input-row{flex:0 0 auto;width:100%}.edit-word-input-row input[type=text],.modal-form input[type=text]{box-sizing:border-box;width:100%}.editor-preview-wrapper{display:flex;flex:1 1 0;flex-direction:row;gap:15px;min-height:0;overflow:hidden;width:100%}.editor-panel,.preview-panel{background:var(--card-item-bg);border:1px solid var(--card-item-border);border-radius:5px;display:flex;flex:1 1 0;flex-direction:column;min-height:0;min-width:0;overflow:hidden}#codejar-editor{background:#2d2d2d;box-sizing:border-box;color:#f8f8f2;flex:1 1 0;font-family:Consolas,Courier New,monospace;height:100%;outline:none;overflow:auto;padding:10px;white-space:pre-wrap;width:100%;word-break:break-all}.preview-scroll-wrapper{background:var(--card-item-bg);height:100%;overflow:hidden;padding:0;position:relative;width:100%}.edit-modal-actions{align-items:center;display:flex;flex:0 0 auto;flex-wrap:wrap;gap:10px;margin-top:12px}.modal-window .btn{align-items:center;box-sizing:border-box;display:inline-flex;flex-shrink:0;font-size:.85rem;gap:8px;justify-content:center;line-height:1;padding:10px 18px}#add-word-modal .preview-scroll-wrapper{flex-grow:0;max-height:200px}.explanation-preview-content{font-family:Courier New,Courier,monospace;font-size:1rem;line-height:1.6;text-align:left!important;word-break:break-word}.explanation-preview-content i{font-style:italic}.explanation-preview-content a,.explanation-preview-content a:visited{border-bottom:1px dotted var(--accent-blue);color:var(--accent-blue);text-decoration:none;transition:color .2s,border-color .2s}.explanation-preview-content a:hover{border-bottom-color:var(--text-color);color:var(--text-color)}.modal-form input[type=text],.modal-form textarea{background-color:var(--bg-light);border:1px solid var(--bg-light);border-radius:5px;box-sizing:border-box;color:var(--text-color);font-family:Menlo,Consolas,Courier New,monospace;font-size:1.2rem;padding:10px;transition:border-color .2s;width:100%}.modal-form input[type=text]:focus,.modal-form textarea:focus{border-color:var(--accent-blue);outline:none}.modal-form textarea{min-height:100px;resize:vertical}.messagelist{margin:0 0 15px;padding:0}.messagelist li{border-radius:4px;color:#fff;list-style:none;margin-bottom:5px;padding:10px 15px}.messagelist li.success{background-color:#28a745}.messagelist li.warning{background-color:#ffc107;color:#000}.messagelist li.error{background-color:#dc3545}.messagelist li.info{background-color:#17a2b8}#update-log-modal .modal-window{flex-direction:column;max-width:700px;width:80vw}.log-container{background-color:var(--bg-dark);border:1px solid var(--bg-light);border-radius:5px;margin-bottom:20px;max-height:300px;min-height:150px;overflow-y:auto;padding:15px}#update-log-content{color:#c7c7c7;font-size:1rem;white-space:pre-wrap;word-wrap:break-word;margin:0;text-align:left}#update-log-content,.system-info-panel{font-family:Courier New,Courier,monospace}.system-info-panel{background-color:rgba(42,50,53,.05);border:2px solid var(--bg-light);border-radius:4px;color:var(--text-color);font-size:.9rem;margin-bottom:1.5rem;padding:15px}.system-info-panel h3{border-bottom:1px solid var(--bg-light);color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:1rem;margin-bottom:10px;margin-top:0;padding-bottom:5px}.system-info-grid{display:grid;gap:15px;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));margin-top:12px}.system-info-block{background-color:rgba(51,60,65,.4);border:1px solid var(--bg-light);border-radius:6px;padding:12px 14px}.system-info-block h4{align-items:center;border-bottom:1px solid hsla(0,0%,100%,.1);color:var(--accent-blue);display:flex;font-family:Press Start\ 2P,monospace;font-size:.72rem;gap:8px;margin-bottom:10px;margin-top:0;padding-bottom:6px}.system-info-panel ul{list-style:none;margin:0;padding-left:0}.system-info-panel li{font-size:.85rem;line-height:1.4;margin-bottom:6px}@media (max-width:768px){.dict-controls{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:8px;margin-bottom:15px;width:100%}.dict-controls .search-form{align-items:center;display:flex;flex:1 1 auto;gap:6px;min-width:140px}.search-form input[type=text]{flex:1 1 auto;height:38px;min-width:80px;width:100px}.dict-controls .reload-form{display:inline-flex;margin:0}.dict-controls .btn-icon{flex-shrink:0;height:38px!important;width:38px!important}.letter-filter a{font-size:1rem;height:32px;width:32px}.table-responsive{margin-bottom:12px;overflow-x:visible}.word-table{background:transparent;border:none;display:block}.word-table thead{display:none}.word-table tbody{display:flex;flex-direction:column;gap:10px;width:100%}.word-table tr.clickable-row{background-color:var(--bg-dark);border:2px solid var(--bg-light);border-radius:6px;box-sizing:border-box;display:flex;flex-direction:column;gap:6px;margin:0;padding:12px 14px}.word-table td{border:none;display:block;padding:0}.word-table td.word-cell{color:var(--accent-blue);font-family:Press Start\ 2P,monospace;font-size:1rem;margin-bottom:2px}.word-table td.exp-cell{color:var(--text-color);font-family:Courier New,Courier,monospace;font-size:.92rem;line-height:1.45;word-break:break-word}.word-table td.actions-cell{align-items:center;border-top:1px dashed var(--bg-light);display:flex;flex-direction:row;gap:8px;margin-top:6px;padding-top:8px}.modal-window .btn .btn-text{display:none!important}.modal-window .btn{align-items:center!important;display:inline-flex!important;font-size:1.1rem!important;height:42px!important;justify-content:center!important;min-width:42px!important;padding:0!important;width:42px!important}}.explanation-source{color:var(--text-muted);font-size:.8rem;margin-top:1rem;text-align:right}.article .explanation-source a.source-link,.article .explanation-source a.source-link:visited,.source-link,.source-link:visited{border-bottom:none;color:var(--accent-blue);font-weight:700;text-decoration:none;transition:color .2s ease-in-out}.article .explanation-source a.source-link:hover,.source-link:hover{border-bottom:none;color:var(--text-color);text-decoration:underline}.demo-restart-countdown{border-top:1px solid var(--card-item-border);color:var(--text-muted);font-size:.9rem;margin-top:2.5rem;padding-top:1rem;text-align:center}.word-definition-panel .article{background:transparent;border:none;color:inherit;font-family:inherit;margin:0;max-width:none;padding:0;text-align:left}.word-definition-panel .article div,.word-definition-panel .article p,.word-definition-panel .article span{color:inherit;font-family:inherit;margin-bottom:.5em;margin-top:.5em}.word-definition-panel .article b,.word-definition-panel .article strong{color:inherit;font-weight:700}.word-definition-panel .article em,.word-definition-panel .article i{color:var(--text-muted);font-style:italic}.word-definition-panel .article a{border-bottom:1px dotted var(--accent-blue);color:var(--accent-blue);text-decoration:none}.word-definition-panel .article a:hover{border-bottom-color:var(--text-color);color:var(--text-color)}.word-definition-panel .article ol,.word-definition-panel .article ul{color:inherit;margin:.5em 0 .5em 1.5em;padding:0}.word-definition-panel .article li{color:inherit;list-style-type:disc}