:root{--color-bg-primary: #1a1612;--color-bg-secondary: #2a241f;--color-bg-grey: #6A6A6A;--color-bg-panel: rgba(42, 36, 31, .4);--color-text-primary: #f5e6d3;--color-text-white: #ffffff;--color-text-black: var(--color-bg-primary);--color-accent: #ff8c42;--color-accent-hover: #ffa366;--color-accent-rgb: 255, 140, 66;--color-warm-orange: #ff8c42;--color-warm-brown: #8b6f47;--color-warm-cream: #f5e6d3;--color-warm-amber: #ffb347;--color-character-lucy: #9c57b6;--color-character-herald: #f5ba0b;--color-character-narcis: #000000;--color-border-light: rgba(255, 200, 150, .1);--color-border-medium: rgba(255, 200, 150, .2);--color-border-medium-2: rgba(255, 200, 150, .25);--color-border-medium-3: rgba(255, 200, 150, .3);--color-overlay-light: rgba(255, 200, 150, .15);--color-overlay-medium: rgba(255, 200, 150, .3);--color-shadow-white: rgba(255, 200, 150, .4)}html,body{height:100%;margin:0}.app{height:100%;background:var(--color-bg-primary);color:var(--color-text-primary);font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif}.canvas{display:block;width:100vw;height:100vh;outline:none;position:relative}.canvas:after{content:"";position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:1;background:radial-gradient(circle at 30% 30%,rgba(255,140,66,.08) 0%,transparent 50%),radial-gradient(circle at 70% 70%,rgba(255,179,71,.05) 0%,transparent 50%),linear-gradient(135deg,rgba(255,200,150,.03) 0%,transparent 100%);backdrop-filter:blur(2px) saturate(110%) brightness(.95);-webkit-backdrop-filter:blur(2px) saturate(110%) brightness(.95);mix-blend-mode:overlay;opacity:.6}.ui{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10}.ui--overlay{display:flex;align-items:flex-start;justify-content:center;padding:16px}.ui--legend{display:flex;align-items:flex-start;padding:16px}.ui--legend-left{justify-content:flex-start;align-items:flex-start}.ui--legend-right{justify-content:flex-start;align-items:flex-end;flex-direction:column;gap:16px}.ui__panel{background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:12px 16px;pointer-events:auto;opacity:.7}.ui__legend-panel{background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:12px 16px;pointer-events:auto;max-width:280px;opacity:.7}.ui__title{font-size:16px;margin:0 0 6px;text-align:center}.ui__hint{font-size:13px;opacity:.85;margin:0}.ui__control{display:flex;gap:8px;align-items:center;margin-top:10px}.ui__label{font-size:13px;opacity:.9}.ui__select{background:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-border-medium);border-radius:6px;padding:6px 8px;font-size:13px}.ui__choices{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin-top:10px}.ui__choice{background:var(--color-bg-secondary);border:1px solid var(--color-border-medium);border-radius:8px;padding:8px;cursor:pointer;color:var(--color-text-primary);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;transition:transform .3s ease,border-color .3s ease,background-size .3s ease,opacity .3s ease;min-height:100px;position:relative;overflow:hidden;background-size:cover;background-position:center;background-repeat:no-repeat;opacity:.7}.ui__choice:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:#1a161299;z-index:0;transition:opacity .3s ease}.ui__choice:hover{transform:scale(1.02);border-color:var(--color-border-medium-3);background-size:110%}.ui__choice:hover:before{opacity:.4}.ui__choice:hover .ui__choice-caption{background:#1a1612b3}.ui__choice.is-active{outline:none;border-color:var(--color-border-medium-3)!important;box-shadow:0 0 0 2px #fff9 inset;opacity:1}.ui__choice.is-active:before{background:#ff8c424d;opacity:.6}.ui__choice-img{width:25px;height:auto;image-rendering:pixelated;object-fit:contain}.ui__choice-img--gamemode{width:80px;height:80px;object-fit:cover;border-radius:6px;margin-bottom:4px}.ui__choice-icon{display:block;text-align:center;line-height:1}.ui__choice-caption{font-size:20px;font-weight:700;opacity:1;position:relative;z-index:1;background:#1a1612a6;padding:10px 16px;border-radius:8px;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);text-align:center;transition:background .3s ease}.ui__start-button{background:var(--color-bg-secondary)!important;color:var(--color-text-primary);border:1px solid var(--color-border-medium);border-radius:8px;padding:12px 24px;font-size:16px;font-weight:600;cursor:pointer;font-family:system-ui,-apple-system,sans-serif;transition:transform .1s ease,border-color .1s ease;width:100%;height:48px;margin-top:16px;display:flex;align-items:center;justify-content:center}.ui__start-button:hover{transform:translateY(-1px);border-color:var(--color-accent)!important;box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.2)}.ui__start-button:active{transform:translateY(0)}.ui__start-button:disabled{opacity:.5;cursor:not-allowed}.ui__start-button.is-counting{font-weight:700;text-shadow:0 0 20px var(--color-shadow-white)}.ui__legend{margin-top:16px}.ui__legend-section{margin-bottom:12px}.ui__legend-section:last-child{margin-bottom:0}.ui__legend-title{font-size:13px;font-weight:600;margin:0 0 8px;color:var(--color-text-primary);opacity:.9}.ui__legend-group{display:flex;align-items:center;gap:8px;margin-bottom:6px}.ui__legend-group:last-child{margin-bottom:0}.ui__legend-label{font-size:12px;color:var(--color-text-primary);opacity:.8;min-width:80px}.ui__legend-keys{display:flex;gap:4px}.ui__legend-keys--arrows{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr 1fr;gap:2px;width:fit-content}.ui__legend-keys--run,.ui__legend-keys--jump{display:flex;gap:8px;align-items:center}.ui__legend-key--shift{min-width:60px;font-size:11px;font-weight:600;justify-content:flex-start;padding-left:4px}.ui__legend-key--space{min-width:100px;font-size:11px;font-weight:600;justify-content:center}.ui__legend-key--char{min-width:28px;font-size:11px;font-weight:600;justify-content:center;text-align:center}.ui__legend-key--up{grid-column:2;grid-row:1}.ui__legend-key--left{grid-column:1;grid-row:2}.ui__legend-key--down{grid-column:2;grid-row:2}.ui__legend-key--right{grid-column:3;grid-row:2}.ui__legend-stick{position:relative;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:radial-gradient(circle at 30% 30%,#ffffff1f,#080c1240 55%,#0009);border:1px solid var(--color-border-medium-2);box-shadow:inset 0 2px 4px #0000008c,inset 0 -1px 2px #ffffff14;transition:transform .12s ease,box-shadow .12s ease;-webkit-user-select:none;user-select:none;pointer-events:none}.ui__legend-stick:after{position:absolute;bottom:3px;font-size:9px;font-weight:700;letter-spacing:.05em;color:#ffffffa6;background:#080c128c;border:1px solid rgba(255,255,255,.08);border-radius:6px;padding:1px 4px;content:attr(data-hand)}.ui__legend-stick--left:after{left:4px}.ui__legend-stick--right:after{right:4px}.ui__legend-stick__ring{width:72%;height:72%;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:radial-gradient(circle,#ffffff14,#080c1266 80%);display:inline-flex;align-items:center;justify-content:center}.ui__legend-stick__cap{width:52%;height:52%;border-radius:50%;background:linear-gradient(145deg,#ffffff29,#080c12cc);box-shadow:inset 0 2px 3px #0009,0 0 0 1px #ffffff1a}.ui__legend-stick__axis{position:absolute;background:#ffffff14;border-radius:1px}.ui__legend-stick__axis--horizontal{width:70%;height:2px}.ui__legend-stick__axis--vertical{height:70%;width:2px}.xbox-button{display:inline-block;font-weight:600;font-family:system-ui,-apple-system,sans-serif}.ui__legend-content{display:flex;flex-direction:column;gap:0}.ui__mode-display{background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:12px 16px;pointer-events:auto;opacity:.7}.ui__mode-label{font-size:13px;font-weight:600;margin:0 0 8px;color:var(--color-accent)!important;opacity:.9}.ui__mode-primary{font-size:14px;color:var(--color-text-primary);opacity:.9;margin:0 0 4px;font-weight:500}.ui__mode-secondary{font-size:12px;color:var(--color-text-primary);opacity:.7;margin:0 0 12px}.ui__restart-button{background:var(--color-bg-secondary);color:var(--color-text-primary)!important;border:1px solid var(--color-border-medium);border-radius:6px;padding:8px 16px;font-size:13px;font-weight:500;cursor:pointer;font-family:system-ui,-apple-system,sans-serif;transition:transform .1s ease,border-color .1s ease;width:100%;margin-top:12px;display:flex;align-items:center;justify-content:center}.ui__restart-button:hover{transform:translateY(-1px);border-color:var(--color-accent)!important;box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.2)}.ui__restart-button:active{transform:translateY(0)}.ui__room-manager,.ui__room-container,.ui__room-display,.ui__join-container{display:flex;flex-direction:column;gap:12px}.ui__privacy-wrapper{display:flex;align-items:center;margin-bottom:4px}.ui__privacy-label{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.ui__privacy-toggle{width:18px;height:18px;cursor:pointer;accent-color:var(--color-accent)}.ui__privacy-text{font-size:13px;color:var(--color-text-primary);opacity:.8}.ui__room-success{background:#4caf5033;border:1px solid rgba(76,175,80,.5);border-radius:6px;padding:10px 12px;font-size:14px;color:#81c784;text-align:center;font-weight:500;margin-bottom:12px;animation:fadeIn .3s ease}@keyframes fadeIn{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translateY(0)}}.ui__room-status-header{display:flex;flex-direction:column;gap:8px;align-items:center}.ui__room-code{font-size:24px;font-weight:600;color:var(--color-text-primary)!important;font-family:Courier New,monospace;text-align:center;letter-spacing:2px;padding:8px;background:var(--color-bg-secondary);border:1px solid var(--color-border-medium);border-radius:6px;width:100%}.ui__room-privacy-badge,.ui__room-host-badge{display:inline-block;font-size:11px;padding:4px 8px;border-radius:4px;font-weight:500;margin-top:4px}.ui__room-privacy-badge{background:#ff980033;border:1px solid rgba(255,152,0,.4);color:#ffb74d}.ui__room-host-badge{background:#ffc10733;border:1px solid rgba(255,193,7,.4);color:#ffd54f}.ui__room-info-section{display:flex;flex-direction:column;gap:6px;padding:10px;background:var(--color-bg-secondary);border:1px solid var(--color-border-light);border-radius:6px;margin-top:8px}.ui__room-info-item{font-size:13px;color:var(--color-text-primary);opacity:.85;display:flex;align-items:center;gap:6px}.ui__room-actions{display:flex;flex-direction:column;gap:8px;margin-top:8px}.ui__room-host-controls{padding:8px;background:var(--color-bg-secondary);border:1px solid var(--color-border-light);border-radius:6px;margin-bottom:4px}.ui__share-text{font-size:12px;color:var(--color-text-primary);opacity:.7;text-align:center;margin-top:-4px}.ui__button--success{background:#4caf504d!important;border-color:#4caf5080!important;color:#81c784!important}.ui__input-wrapper{display:flex;gap:8px;align-items:stretch}.ui__room-list-container{display:flex;flex-direction:column;gap:12px;margin-top:8px}.ui__room-list-title{font-size:14px;font-weight:600;color:var(--color-text-primary);opacity:.9;margin-bottom:4px}.ui__room-list{display:flex;flex-direction:column;gap:8px;max-height:200px;overflow-y:auto}.ui__room-list-empty{font-size:13px;color:var(--color-text-primary);opacity:.6;text-align:center;padding:16px;font-style:italic}.ui__room-item{display:flex;justify-content:space-between;align-items:center;background:var(--color-bg-secondary);border:1px solid var(--color-border-medium);border-radius:6px;padding:10px 12px;cursor:pointer;transition:transform .1s ease,border-color .1s ease,background .1s ease}.ui__room-item:hover{transform:translateY(-1px);border-color:var(--color-accent);background:rgba(var(--color-accent-rgb),.1)}.ui__room-item:active{transform:translateY(0)}.ui__room-item-code{font-size:16px;font-weight:600;color:var(--color-text-primary);font-family:Courier New,monospace;letter-spacing:1px}.ui__room-item-info{font-size:12px;color:var(--color-text-primary);opacity:.7}.ui__input{flex:1;background:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-border-medium);border-radius:6px;padding:8px 12px;font-size:14px;font-family:Courier New,monospace;text-transform:uppercase;letter-spacing:1px}.ui__input:focus{outline:none;border-color:var(--color-accent)!important;box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.2)}.ui__button{background:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-border-medium);border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;cursor:pointer;font-family:system-ui,-apple-system,sans-serif;transition:transform .1s ease,border-color .1s ease;white-space:nowrap}.ui__button:hover{transform:translateY(-1px);border-color:var(--color-accent)!important;box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.2)}.ui__button:active{transform:translateY(0)}.ui__button--primary{background:var(--color-bg-secondary);border-color:var(--color-border-medium)}.ui__button--secondary{background:var(--color-bg-secondary);color:var(--color-text-primary)!important;border:1px solid var(--color-border-medium)}.ui__button--secondary:hover{background:var(--color-bg-secondary);border-color:var(--color-accent)!important;color:var(--color-text-primary)!important;box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.2)}.ui__button--small{padding:6px 12px;font-size:12px}.ui__status-text{font-size:13px;color:var(--color-text-primary);opacity:.8;text-align:center;margin-top:4px}.ui__bot-control{display:flex;flex-direction:column;gap:8px}.ui__bot-count{font-size:13px;color:var(--color-text-primary);opacity:.8;text-align:center;margin-top:4px}.ui__bot-difficulty{display:flex;align-items:center;gap:10px;margin-top:8px}.ui__bot-difficulty__label{font-size:13px;color:var(--color-text-primary);opacity:.9;white-space:nowrap}.ui__bot-difficulty__container{display:flex;align-items:center}.ui__bot-difficulty__button{background:var(--color-bg-secondary);color:var(--color-text-primary);border:1px solid var(--color-border-medium);border-radius:6px;padding:6px 12px 6px 10px;font-size:13px;font-family:system-ui,-apple-system,sans-serif;cursor:pointer;display:flex;align-items:center;gap:8px;transition:transform .06s ease,border-color .06s ease,background .06s ease,box-shadow .06s ease;min-width:100px;outline:none}.ui__bot-difficulty__button:hover{transform:translateY(-1px);border-color:var(--color-border-medium-3);background:var(--color-bg-secondary)}.ui__bot-difficulty__button:focus,.ui__bot-difficulty__button:focus-visible{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 2px rgba(var(--color-accent-rgb),.3)}.ui__bot-difficulty__button:active{transform:translateY(0)}.ui__bot-difficulty__value{flex:1;text-align:left;font-weight:500}.ui__bot-difficulty__arrow{font-size:10px;opacity:.7;transition:transform .15s ease,opacity .15s ease;line-height:1}.ui__bot-difficulty__button:hover .ui__bot-difficulty__arrow,.ui__bot-difficulty__button:focus .ui__bot-difficulty__arrow{opacity:1}.ui__bot-difficulty__button:active .ui__bot-difficulty__arrow{transform:translateY(1px)}.loading-screen{position:fixed;top:0;right:0;bottom:0;left:0;background:var(--color-bg-primary);display:flex;align-items:center;justify-content:center;z-index:10000;transition:opacity .3s ease,visibility .3s ease}.loading-screen.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.loading-screen__content{display:flex;flex-direction:column;align-items:center;gap:24px}.loading-screen__spinner{width:48px;height:48px;border:4px solid rgba(var(--color-accent-rgb),.2);border-top-color:var(--color-accent)!important;border-radius:50%;animation:loading-spin .8s linear infinite}@keyframes loading-spin{to{transform:rotate(360deg)}}.loading-screen__text{font-size:16px;color:var(--color-text-primary);opacity:.8;font-weight:500;text-align:center;min-height:24px;display:flex;align-items:center}.loading-screen__progress{width:300px;max-width:90vw;height:8px;background:rgba(var(--color-accent-rgb),.1);border-radius:4px;overflow:hidden;position:relative;display:block;visibility:visible}.loading-screen__progress-bar{height:100%;background:var(--color-accent);border-radius:4px;transition:width .3s ease;width:0%;min-width:1%;position:relative;overflow:hidden}.loading-screen__progress-bar:after{content:"";position:absolute;top:0;left:0;bottom:0;right:0;background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);animation:progress-shine 1.5s infinite}@keyframes progress-shine{0%{transform:translate(-100%)}to{transform:translate(100%)}}.ui__cooldown-indicator{position:fixed;bottom:16px;right:16px;background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:12px 16px;pointer-events:auto;opacity:.9;min-width:200px;z-index:1000}.ui__cooldown-item{margin-bottom:12px}.ui__cooldown-item:last-child{margin-bottom:0}.ui__cooldown-label{font-size:13px;opacity:.9;margin-bottom:6px;color:var(--color-text-primary)}.ui__cooldown-bar{width:100%;height:12px;background:var(--color-overlay-light);border-radius:4px;overflow:hidden;position:relative}.ui__cooldown-fill{height:100%;background:var(--color-overlay-medium);border-radius:4px;transition:width .1s linear,opacity .1s ease;width:100%}.ui__cooldown-key{opacity:.5}.ui__connection-status{position:fixed;top:16px;right:16px;background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:12px 16px;pointer-events:auto;opacity:.9;z-index:1000;display:flex;align-items:center;gap:12px;transition:opacity .3s ease,visibility .3s ease}.ui__connection-status.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.ui__connection-status-indicator{width:12px;height:12px;border-radius:50%;background:var(--color-accent);position:relative;flex-shrink:0}.ui__connection-status-indicator.is-connecting{background:var(--color-accent);animation:connection-pulse 1.5s ease-in-out infinite}.ui__connection-status-indicator.is-reconnecting{background:#ff6b6b;animation:connection-pulse 1s ease-in-out infinite}@keyframes connection-pulse{0%,to{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.2)}}.ui__connection-status-text{font-size:13px;color:var(--color-text-primary);opacity:.9;font-weight:500;white-space:nowrap}.ui__minimap{position:fixed;top:16px;right:16px;background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;padding:8px;pointer-events:auto;opacity:.9;z-index:1000;transition:opacity .3s ease,visibility .3s ease}.ui__minimap.is-hidden{opacity:0;visibility:hidden;pointer-events:none}.ui__minimap-canvas{display:block;width:200px;height:200px;image-rendering:pixelated}.menu-toggle{position:fixed;top:16px;left:16px;width:48px;height:48px;background:var(--color-bg-panel);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1px solid var(--color-border-light);border-radius:10px;color:var(--color-text-primary);font-size:24px;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:1001;transition:transform .2s ease,background .2s ease,border-color .2s ease;pointer-events:auto;opacity:.9}.menu-toggle:hover{transform:translateY(-1px);background:var(--color-bg-secondary);border-color:var(--color-border-medium);opacity:1}.menu-toggle:active{transform:translateY(0)}.menu-toggle__icon{display:block;line-height:1}.controls-legend-wrapper{position:fixed;bottom:16px;left:16px;pointer-events:none;z-index:1000;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.controls-legend-wrapper.is-visible{opacity:1;visibility:visible}.game-menu{position:fixed;top:0;right:0;bottom:0;left:0;background:#1a1612bf;backdrop-filter:blur(8px) saturate(120%) brightness(.9);-webkit-backdrop-filter:blur(8px) saturate(120%) brightness(.9);z-index:10000;display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease;pointer-events:none}.game-menu:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 30% 30%,rgba(255,140,66,.15) 0%,transparent 50%),radial-gradient(circle at 70% 70%,rgba(255,179,71,.1) 0%,transparent 50%),linear-gradient(135deg,rgba(255,200,150,.05) 0%,transparent 100%);pointer-events:none;z-index:0}.game-menu.is-visible{opacity:1;visibility:visible;pointer-events:auto}.game-menu__container{border-radius:16px;width:calc(100% - 32px);height:calc(100% - 32px);max-width:1200px;max-height:92vh;display:flex;flex-direction:column;background:linear-gradient(135deg,#2a241ff2,#1a1612fa);backdrop-filter:blur(12px) saturate(110%);-webkit-backdrop-filter:blur(12px) saturate(110%);box-shadow:0 12px 40px #0006,0 0 0 1px #ffc89626 inset,0 2px #ffc8961a inset,inset 0 0 60px #ff8c4214;overflow:hidden;transform:scale(.94) translateY(16px);transition:transform .35s cubic-bezier(.34,1.56,.64,1);position:relative;z-index:1}.game-menu__container:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(0deg,transparent,transparent 2px,rgba(255,200,150,.02) 2px,rgba(255,200,150,.02) 4px),radial-gradient(circle at 25% 25%,rgba(255,140,66,.12) 0%,transparent 50%),radial-gradient(circle at 75% 75%,rgba(255,179,71,.08) 0%,transparent 50%);pointer-events:none;z-index:0;border-radius:16px;opacity:.6}.game-menu.is-visible .game-menu__container{transform:scale(1) translateY(0)}.game-menu__header{display:flex;align-items:center;justify-content:space-between;padding:28px 36px 20px;background:linear-gradient(180deg,rgba(255,200,150,.1) 0%,rgba(255,200,150,.05) 50%,transparent 100%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);position:relative;z-index:1}.game-menu__header:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,140,66,.4) 20%,rgba(255,179,71,.4) 50%,rgba(255,140,66,.4) 80%,transparent 100%);box-shadow:0 1px 3px #ff8c424d}.game-menu__title{margin:0;font-size:26px;font-weight:700;color:#f5e6d3;letter-spacing:1px;text-transform:uppercase;opacity:1;text-shadow:0 2px 4px rgba(0,0,0,.5),0 0 8px rgba(255,140,66,.3);font-family:Courier New,Monaco,Menlo,monospace}.game-menu__close{width:36px;height:36px;background:#ffc89626;border:2px solid rgba(255,200,150,.3);border-radius:8px;color:#f5e6d3;font-size:20px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease;line-height:1;opacity:.9;box-shadow:0 2px 4px #0000004d,inset 0 1px #fff3}.game-menu__close:hover{background:#ff8c4240;border-color:#ff8c4280;transform:scale(1.1);opacity:1;box-shadow:0 4px 8px #0006,0 0 12px #ff8c4266,inset 0 1px #ffffff4d}.game-menu__close:active{transform:scale(.95)}.game-menu__tabs{display:flex;align-items:center;gap:10px;padding:18px 36px;overflow-x:auto;border-bottom:2px solid rgba(255,200,150,.15);background:linear-gradient(180deg,#2a241fcc,#1a1612e6);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);position:relative;z-index:1}.game-menu__tabs:after{content:"";position:absolute;bottom:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,140,66,.3) 30%,rgba(255,179,71,.3) 50%,rgba(255,140,66,.3) 70%,transparent 100%);box-shadow:0 1px 2px #ff8c4233}.game-menu__tab{min-width:130px;padding:10px 20px;background:#ffc89614;color:#f5e6d3;border:2px solid rgba(255,200,150,.2);border-radius:10px;opacity:.85;text-transform:uppercase;cursor:pointer;font-weight:600;font-size:14px;letter-spacing:.5px;transition:all .2s ease;position:relative;overflow:hidden;box-shadow:0 2px 4px #0003,inset 0 1px #ffffff1a}.game-menu__tab:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(135deg,#ff8c4233,#ffb34726);opacity:0;transition:opacity .2s ease;border-radius:8px}.game-menu__tab:hover{border-color:#ff8c4266;opacity:1;transform:translateY(-2px);box-shadow:0 4px 8px #0000004d,0 0 12px #ff8c4233,inset 0 1px #ffffff26;background:#ffc8961f}.game-menu__tab:hover:before{opacity:1}.game-menu__tab.is-active{opacity:1;border-color:#ff8c4299;background:linear-gradient(135deg,#ff8c4240,#ffb34733);box-shadow:0 0 20px #ff8c4266,0 4px 12px #0006,inset 0 1px #fff3,inset 0 -1px #0003;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.5)}.game-menu__tab.is-active:before{opacity:1}.game-menu__tab-icon{font-size:16px;line-height:1}.game-menu__tab-label{font-size:14px;position:relative;z-index:1}.game-menu__sections{display:none;align-items:center;gap:10px;padding:14px 36px;border-bottom:2px solid rgba(255,200,150,.12);background:linear-gradient(180deg,#2a241f99,#1a1612cc);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);position:relative;z-index:1}.game-menu__sections-list{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.game-menu__section-button{background:#ffc8961a;border:2px solid rgba(255,200,150,.25);border-radius:8px;padding:8px 16px;color:#f5e6d3;opacity:.9;font-size:13px;font-weight:600;text-transform:uppercase;cursor:pointer;letter-spacing:.3px;transition:all .2s ease;display:flex;align-items:center;gap:8px;box-shadow:0 2px 4px #0003,inset 0 1px #ffffff1a}.game-menu__section-button-content{display:flex;align-items:center;gap:8px}.game-menu__section-button-icon{font-size:15px;line-height:1;display:flex;align-items:center;justify-content:center;opacity:.9;transition:transform .2s ease,opacity .2s ease;filter:drop-shadow(0 1px 2px rgba(0,0,0,.3))}.game-menu__section-button-text{position:relative}.game-menu__section-button:hover .game-menu__section-button-icon{transform:scale(1.15);opacity:1}.game-menu__section-button:hover{color:#fff;border-color:#ff8c4280;background:#ff8c4226;transform:translateY(-1px);box-shadow:0 4px 8px #0000004d,0 0 12px #ff8c424d,inset 0 1px #ffffff26}.game-menu__section-button.is-active{color:#fff;border-color:#ff8c42b3;background:linear-gradient(135deg,#ff8c424d,#ffb34740);box-shadow:0 0 16px #ff8c4266,0 2px 8px #0006,inset 0 1px #fff3;text-shadow:0 1px 2px rgba(0,0,0,.5)}.game-menu__section-button.is-active .game-menu__section-button-icon{transform:scale(1.1);opacity:1;filter:drop-shadow(0 0 4px rgba(255,140,66,.6))}.game-menu__content{flex:1;overflow-y:auto;padding:36px;background:transparent;scrollbar-width:thin;scrollbar-color:rgba(255,200,150,.3) transparent;position:relative;z-index:1}.game-menu__content::-webkit-scrollbar{width:10px}.game-menu__content::-webkit-scrollbar-track{background:#1a161280;border-radius:5px}.game-menu__content::-webkit-scrollbar-thumb{background:linear-gradient(180deg,#ff8c4299,#ffb34799);border-radius:5px;border:2px solid rgba(26,22,18,.3);box-shadow:inset 0 1px #fff3}.game-menu__content::-webkit-scrollbar-thumb:hover{background:linear-gradient(180deg,#ff8c42cc,#ffb347cc)}.game-menu__panel{display:none}.game-menu__panel.is-active{display:block;animation:fadeInSlide .3s ease}@keyframes fadeInSlide{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.game-menu__section{display:none;margin-bottom:28px;border:none;border-radius:0;background:transparent;overflow:visible;animation:sectionFadeIn .3s ease}@keyframes sectionFadeIn{0%{opacity:0}to{opacity:1}}.game-menu__section:last-child{margin-bottom:0}.game-menu__section-content{padding:28px;max-width:900px;margin:0 auto;background:linear-gradient(135deg,#2a241fb3,#1a1612cc);border-radius:12px;border:2px solid rgba(255,200,150,.2);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);box-shadow:0 6px 20px #0006,inset 0 1px #ffc89626,inset 0 -1px #0003,0 0 0 1px #ffc8961a inset;position:relative}.game-menu__section-content:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:repeating-linear-gradient(45deg,transparent,transparent 10px,rgba(255,200,150,.02) 10px,rgba(255,200,150,.02) 20px);border-radius:12px;pointer-events:none;opacity:.5}.game-menu__focused{outline:3px solid rgba(255,140,66,.6)!important;outline-offset:3px;box-shadow:0 0 20px #ff8c4280,0 0 40px #ff8c424d,0 4px 12px #0006!important;transform:scale(1.02);transition:all .2s ease;border-radius:8px}.game-menu__tab.game-menu__focused{background:#ff8c424d!important;border-color:#ff8c42b3!important;outline:none}.game-menu__section-button.game-menu__focused{background:#ff8c4240!important;border-color:#ff8c42b3!important;outline:none}.game-menu__footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:20px 36px;min-height:68px;background:linear-gradient(0deg,rgba(255,200,150,.1) 0%,rgba(255,200,150,.05) 50%,transparent 100%);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);position:relative;z-index:1}.game-menu__footer:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent 0%,rgba(255,140,66,.4) 20%,rgba(255,179,71,.4) 50%,rgba(255,140,66,.4) 80%,transparent 100%);box-shadow:0 1px 3px #ff8c424d}.game-menu__footer-button{display:flex;align-items:center;justify-content:center;transition:transform .2s ease}.game-menu__footer-button:hover{transform:scale(1.08)}.game-menu__footer-button--esc{font-family:Courier New,Monaco,Menlo,monospace;padding:8px 16px;background:#ffc89626;border:2px solid rgba(255,200,150,.3);border-radius:8px;font-weight:600;font-size:13px;color:#f5e6d3;letter-spacing:1px;box-shadow:0 2px 4px #0000004d,inset 0 1px #fff3}.game-menu__footer-button--esc:hover{background:#ff8c4240;border-color:#ff8c4280;box-shadow:0 4px 8px #0006,0 0 12px #ff8c424d,inset 0 1px #ffffff4d}.game-menu__footer-button--xbox-b{border-radius:50%;width:36px;height:36px;min-width:36px;padding:0;line-height:1}.game-menu__footer-button--xbox-b .xbox-button{color:#f5e6d3!important}.game-menu__footer-label{font-size:14px;color:#f5e6d3;font-weight:600;-webkit-user-select:none;user-select:none;letter-spacing:.5px;text-shadow:0 1px 3px rgba(0,0,0,.5)}@media (max-width: 768px){.game-menu__container{width:calc(100% - 20px);max-height:95vh;border-radius:16px}.game-menu__header{padding:24px 28px 20px}.game-menu__title{font-size:20px}.game-menu__close{width:28px;height:28px;font-size:16px}.game-menu__tabs{padding:16px 28px;gap:6px}.game-menu__tab{min-width:100px;padding:8px 16px;font-size:14px}.game-menu__tab-label{font-size:14px}.game-menu__sections{padding:12px 28px}.game-menu__section-button{padding:6px 12px;font-size:12px}.game-menu__content{padding:28px 24px}.game-menu__section-content{padding:24px}.game-menu__footer{padding:20px 28px;min-height:64px}.game-menu__footer-button{min-width:28px;height:28px;font-size:11px}.game-menu__footer-label{font-size:12px}}.game-menu__section .ui__panel{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:none;border-radius:0;padding:0;opacity:1}.game-menu__section .ui__title{margin:0 0 12px;font-size:16px;text-align:left;color:var(--color-text-primary)}.game-menu__section .ui__choices,.game-menu__section .ui__control{margin-top:0}.game-menu__section .ui__room-manager,.game-menu__section .ui__bot-control,.game-menu__section .ui__legend-panel{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:none;border-radius:0;padding:0;opacity:1;max-width:none}.game-menu__section .ui__legend-panel{padding:0}.game-menu__section .ui__legend-title{margin:0 0 12px;font-size:16px;text-align:left;color:var(--color-text-primary)}.game-menu__section .ui__mode-display{background:transparent;-webkit-backdrop-filter:none;backdrop-filter:none;border:none;border-radius:0;padding:0;opacity:1}.scoreboard{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#000c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:none;align-items:center;justify-content:center;z-index:9999;opacity:0;transition:opacity .2s ease}.scoreboard.is-visible{display:flex;opacity:1}.scoreboard__container{background:var(--color-bg-secondary);border:2px solid var(--color-border-medium-2);border-radius:12px;padding:24px;min-width:600px;max-width:800px;max-height:80vh;overflow-y:auto;box-shadow:0 8px 32px #0006;animation:slideDown .3s ease}@keyframes slideDown{0%{opacity:0;transform:translateY(-20px)}to{opacity:1;transform:translateY(0)}}.scoreboard__header{text-align:center;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--color-border-medium)}.scoreboard__title{margin:0;font-size:28px;font-weight:700;color:var(--color-text-primary);text-transform:uppercase;letter-spacing:1px}.scoreboard__table{width:100%;border-collapse:collapse;margin-bottom:16px}.scoreboard__thead{border-bottom:2px solid var(--color-border-medium-2)}.scoreboard__header-row{background:#ffffff0d}.scoreboard__header-row th{padding:12px 16px;text-align:left;font-size:13px;font-weight:600;color:var(--color-text-primary);text-transform:uppercase;letter-spacing:.5px}.scoreboard__col-player{width:40%}.scoreboard__col-kills,.scoreboard__col-deaths,.scoreboard__col-kd{width:20%;text-align:center!important}.scoreboard__tbody{background:transparent}.scoreboard__row{border-bottom:1px solid var(--color-border-light);transition:background .15s ease}.scoreboard__row:hover{background:#ffffff0d}.scoreboard__row--local{background:#ffcc441a}.scoreboard__row--local:hover{background:#ffcc4426}.scoreboard__row--empty td{text-align:center;padding:32px 16px;color:var(--color-text-primary);opacity:.6;font-style:italic}.scoreboard__cell{padding:14px 16px;font-size:15px;color:var(--color-text-primary)}.scoreboard__cell--player{font-weight:600}.scoreboard__cell--kills,.scoreboard__cell--deaths,.scoreboard__cell--kd{text-align:center;font-variant-numeric:tabular-nums}.scoreboard__player-id{color:var(--color-text-primary)}.scoreboard__player-id--local{color:var(--color-accent);font-weight:700}@media (max-width: 768px){.scoreboard__container{min-width:90%;max-width:95%;padding:20px}.scoreboard__title{font-size:24px}.scoreboard__header-row th{padding:10px 12px;font-size:12px}.scoreboard__cell{padding:12px;font-size:14px}}
