:root{--bg-panel: #2A0035;--bg-dark: #1A0020;--bg-gradient: linear-gradient(135deg, #2A0035 0%, #400060 100%);--color-electric-pink: #FF5EDC;--color-hot-pink: #FF1493;--color-bright-orange: #FF9933;--color-sunset-orange: #FF6B35;--color-soft-violet: #B266FF;--color-muted-purple: #C97CFF;--color-deep-purple: #400060;--text-primary: #FFF7E6;--text-secondary: #C97CFF;--text-glow: #FFFFFF;--color-success: #00FFB3;--color-warning: #FFD700;--color-danger: #FF1744;--color-info: #00E5FF;--gradient-button-hover: linear-gradient(90deg, #FF5EDC 0%, #FF9933 100%);--gradient-panel: linear-gradient(180deg, rgba(42, 0, 53, .95) 0%, rgba(64, 0, 96, .95) 100%);--gradient-glow: radial-gradient(circle, rgba(255, 94, 220, .4) 0%, transparent 70%);--shadow-electric-pink: 0 0 20px rgba(255, 94, 220, .5);--shadow-electric-pink-strong: 0 0 30px rgba(255, 94, 220, .8);--shadow-bright-orange: 0 0 20px rgba(255, 153, 51, .5);--shadow-soft-violet: 0 0 15px rgba(178, 102, 255, .5);--shadow-combined: 0 0 25px rgba(255, 94, 220, .4), 0 0 50px rgba(255, 153, 51, .2);--border-primary: #FF5EDC;--border-secondary: #B266FF;--border-glow: #FF9933;font-family:Courier New,monospace;line-height:1.5;font-weight:400;color-scheme:dark;color:var(--text-primary);background-color:var(--bg-dark);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:var(--color-electric-pink);text-decoration:inherit;transition:color .3s}a:hover{color:var(--color-bright-orange)}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh;background-color:var(--bg-dark);color:var(--text-primary)}h1{font-size:3.2em;line-height:1.1;color:var(--text-primary)}button{border-radius:0;border:2px solid var(--border-primary);padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:Courier New,monospace;background-color:var(--bg-panel);color:var(--text-primary);cursor:pointer;transition:all .3s}button:hover:not(:disabled){border-color:var(--border-glow);box-shadow:var(--shadow-electric-pink);transform:translateY(-2px)}button:focus,button:focus-visible{outline:2px solid var(--color-soft-violet)}button:disabled{opacity:.3;cursor:not-allowed}.login-screen{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-gradient);background-size:cover;background-position:center;background-repeat:no-repeat;font-family:Courier New,monospace}.login-container{background:var(--bg-panel);border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong);padding:40px;max-width:500px;width:90%;text-align:center}.login-container .game-logo{position:static;max-width:100%;width:100%;height:auto;margin:0 auto 30px;display:block;filter:drop-shadow(0 0 20px rgba(255,94,220,.6))}.login-form{display:flex;flex-direction:column;gap:20px}.login-input{background:var(--bg-dark);border:2px solid var(--border-primary);color:var(--text-primary);padding:15px;font-size:18px;font-family:Courier New,monospace;text-align:center;outline:none;transition:all .3s}.login-input::placeholder{color:var(--color-muted-purple);opacity:.5}.login-input:focus{box-shadow:var(--shadow-electric-pink);border-color:var(--color-bright-orange)}.btn-primary{background:var(--gradient-button-hover);color:var(--text-glow);border:2px solid var(--border-glow);padding:15px;font-size:20px;font-weight:700;font-family:Courier New,monospace;cursor:pointer;letter-spacing:4px;transition:all .3s;text-shadow:0 0 10px rgba(0,0,0,.8)}.btn-primary:hover:not(:disabled){box-shadow:var(--shadow-combined);transform:translateY(-2px);border-color:var(--color-electric-pink)}.btn-primary:disabled{opacity:.3;cursor:not-allowed}.checkbox-container{display:flex;justify-content:center;align-items:center}.checkbox-label{display:flex;align-items:center;gap:10px;color:var(--text-primary);font-size:14px;cursor:pointer;-webkit-user-select:none;user-select:none}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--color-electric-pink)}.checkbox-label span{letter-spacing:1px}.loading-text{color:var(--color-bright-orange);font-size:16px;letter-spacing:2px;margin-top:15px;text-align:center;animation:pulse 2s infinite;text-shadow:0 0 10px var(--color-bright-orange)}.loading-dots:after{content:"";animation:dots 1.5s steps(4,end) infinite}@keyframes dots{0%,20%{content:""}40%{content:"."}60%{content:".."}80%,to{content:"..."}}@keyframes pulse{0%,to{opacity:1}50%{opacity:.6}}.mode-selection-screen{width:100vw;min-height:100vh;background:var(--bg-gradient);background-image:url(/assets/battle_bg_no_moon-SZo7EPFD.png);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-primary);font-family:Courier New,monospace;position:relative;overflow-x:hidden;padding:100px 20px 40px;gap:20px}.mode-selection-screen:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,94,220,.03) 0px,transparent 1px,transparent 2px,rgba(255,94,220,.03) 3px);pointer-events:none;animation:scan-lines 8s linear infinite}.game-logo-main{max-width:90%;width:min(500px,80vw);height:auto;margin:0;z-index:1;filter:drop-shadow(0 0 20px rgba(255,94,220,.6));animation:logo-glow 3s ease-in-out infinite}@keyframes logo-glow{0%,to{filter:drop-shadow(0 0 20px rgba(255,94,220,.6))}50%{filter:drop-shadow(0 0 30px rgba(255,94,220,.8))}}.mode-selection-subtitle{font-size:clamp(16px,4vw,24px);margin:0;color:var(--text-primary);letter-spacing:3px;text-shadow:0 0 10px var(--color-electric-pink);z-index:1;text-align:center}.mode-tiles-container{display:flex;gap:clamp(15px,3vw,30px);align-items:center;justify-content:center;max-width:1400px;width:100%;z-index:1;flex-wrap:wrap;padding:0 10px}.mode-tile-wrapper{flex:1;min-width:min(300px,85vw);max-width:450px;height:clamp(520px,60vh,720px);display:flex;align-items:center;justify-content:center;position:relative}.mode-tile{width:100%;height:clamp(440px,50vh,600px);background-size:cover;background-position:center;background-repeat:no-repeat;border:4px solid rgba(42,0,53,.8);cursor:pointer;transition:all .4s cubic-bezier(.34,1.56,.64,1);position:relative;overflow:hidden;padding:0;box-shadow:0 0 20px #ff5edc4d,inset 0 0 30px #00000080}@media (hover: hover) and (pointer: fine){.mode-tile:hover{height:clamp(520px,60vh,720px);border-color:#fff;box-shadow:0 0 60px #fffc,0 0 80px var(--color-bright-orange),inset 0 0 50px #ffffff26;z-index:10}}.mode-tile-text{position:absolute;bottom:clamp(15px,3vh,30px);left:50%;transform:translate(-50%) scaleX(.85) scaleY(1.2);font-size:clamp(28px,5vw,48px);font-weight:900;color:#ff8c00;text-align:center;letter-spacing:clamp(1px,.5vw,3px);text-shadow:-3px -3px 0 #000,3px -3px 0 #000,-3px 3px 0 #000,3px 3px 0 #000,0 0 20px rgba(255,140,0,.8);font-family:Arial Black,Arial Bold,sans-serif;z-index:2;pointer-events:none;text-transform:uppercase;line-height:1}@media (max-width: 900px){.mode-tiles-container{flex-direction:column}.mode-tile-wrapper{width:100%;max-width:500px}}@media (max-width: 600px){.mode-selection-screen{padding:70px 10px 20px;gap:12px;justify-content:flex-start}.game-logo-main{width:min(350px,70vw)}.mode-selection-subtitle{font-size:clamp(14px,3.5vw,20px)}.mode-tile-wrapper{min-width:min(250px,90vw);height:auto;flex-shrink:0}.mode-tile{height:clamp(300px,40vh,400px);transition:none}.mode-tile:hover,.mode-tile:active,.mode-tile:focus{height:clamp(300px,40vh,400px);transform:none;z-index:1}}@media (max-width: 450px) and (min-height: 850px){.mode-selection-screen{padding:60px 10px 20px;gap:10px}.game-logo-main{width:min(300px,65vw)}.mode-selection-subtitle{font-size:14px;margin-top:5px}.mode-tile{height:clamp(280px,35vh,350px);transition:none}.mode-tile:hover,.mode-tile:active,.mode-tile:focus{height:clamp(280px,35vh,350px);transform:none;z-index:1}}@media (max-height: 700px){.mode-selection-screen{padding:80px 20px 20px;gap:10px}.mode-tile-wrapper{height:auto}.mode-tile{height:350px}.mode-tile:hover{height:400px}}.profile-section{position:absolute;top:20px;right:20px;display:flex;align-items:center;gap:15px;z-index:10;background:#2a0035cc;padding:12px 20px;border-radius:50px;border:2px solid rgba(255,94,220,.4);box-shadow:0 0 20px #ff5edc4d;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);transition:all .3s ease}.profile-section:hover{border-color:#ff5edccc;box-shadow:0 0 30px #ff5edc80}.profile-avatar{width:40px;height:40px;border-radius:50%;border:2px solid var(--color-electric-pink);box-shadow:0 0 15px #ff5edc99;object-fit:cover}.profile-callsign{font-family:Courier New,monospace;font-size:16px;font-weight:700;color:var(--text-primary);letter-spacing:1px;text-shadow:0 0 8px var(--color-electric-pink);text-transform:uppercase}.logout-btn{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:transparent;border:2px solid var(--color-bright-orange);border-radius:50%;cursor:pointer;color:var(--color-bright-orange);transition:all .3s ease;padding:0;box-shadow:0 0 10px #ff8c0066}.logout-btn:hover{background:#ff8c0033;border-color:var(--text-primary);color:var(--text-primary);box-shadow:0 0 20px #ff8c00cc;transform:scale(1.1)}.logout-btn:active{transform:scale(.95)}@media (max-width: 600px){.profile-section{top:10px;right:10px;gap:10px;padding:8px 15px}.profile-avatar{width:32px;height:32px}.profile-callsign{font-size:14px}.logout-btn{width:32px;height:32px}.logout-btn svg{width:18px;height:18px}}@media (max-width: 400px){.profile-section{top:5px;right:5px;gap:8px;padding:6px 12px}.profile-avatar{width:28px;height:28px}.profile-callsign{font-size:12px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.logout-btn{width:28px;height:28px}.logout-btn svg{width:16px;height:16px}}.room-browser{width:100vw;min-height:100vh;display:flex;flex-direction:column;background:var(--bg-gradient);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;font-family:Courier New,monospace;position:relative;overflow-x:hidden;padding:20px}.room-browser:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,94,220,.03) 0px,transparent 1px,transparent 2px,rgba(255,94,220,.03) 3px);pointer-events:none;animation:scan-lines 8s linear infinite}.room-browser-top{display:flex;flex-direction:column;align-items:flex-start;gap:20px;margin-bottom:30px;position:relative;z-index:1}.create-game-banner{width:100%;min-height:180px;background:var(--gradient-panel);background-image:linear-gradient(135deg,#400060e6,#2a0035e6);border:4px solid var(--color-bright-orange);cursor:pointer;transition:all .4s ease;position:relative;overflow:hidden;padding:30px 40px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;box-shadow:0 0 30px #f939,inset 0 0 40px #ff5edc26;animation:banner-pulse 3s ease-in-out infinite}@keyframes banner-pulse{0%,to{box-shadow:0 0 30px #f939,inset 0 0 40px #ff5edc26}50%{box-shadow:0 0 45px #ff9933e6,inset 0 0 50px #ff5edc40}}@media (hover: hover) and (pointer: fine){.create-game-banner:hover{border-color:#fff;box-shadow:0 0 60px #fffc,0 0 80px var(--color-bright-orange),inset 0 0 50px #ffffff26;transform:translateY(-4px)}}.banner-title-large{font-size:48px;font-weight:900;color:#ff8c00;text-align:center;letter-spacing:6px;text-shadow:-3px -3px 0 #000,3px -3px 0 #000,-3px 3px 0 #000,3px 3px 0 #000,0 0 30px rgba(255,140,0,.9);font-family:Arial Black,Arial Bold,sans-serif;text-transform:uppercase;line-height:1;margin-bottom:8px}.banner-title{font-size:24px;font-weight:900;color:#ff8c00;text-align:center;letter-spacing:3px;text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000,0 0 20px rgba(255,140,0,.9);font-family:Arial Black,Arial Bold,sans-serif;text-transform:uppercase;line-height:1}.banner-subtitle{font-size:15px;font-weight:400;color:var(--text-primary);text-align:center;letter-spacing:2px;text-shadow:0 0 10px rgba(255,94,220,.6);font-family:Courier New,monospace;opacity:.9;font-style:italic}.back-btn{background:#ffffff1a;border:3px solid rgba(255,255,255,.3);color:var(--text-primary);padding:12px 24px;font-size:14px;font-weight:700;cursor:pointer;transition:all .3s ease;font-family:Courier New,monospace;letter-spacing:2px;line-height:1.2;display:inline-flex;align-items:center;height:48px;width:auto;align-self:flex-start}.back-btn:hover{background:#fff3;border-color:var(--color-bright-orange);box-shadow:0 0 15px #ff8c004d;transform:translate(-2px)}.join-section-header{margin-bottom:20px;position:relative;z-index:1;text-align:center}.join-section-header h2{font-size:32px;color:#ff8c00;text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000,0 0 20px rgba(255,140,0,.8);margin:0;letter-spacing:4px;font-weight:900;font-family:Arial Black,Arial Bold,sans-serif;text-transform:uppercase;transform:scaleX(.85) scaleY(1.2);line-height:1}.loading-state,.empty-state{text-align:center;padding:80px 20px;position:relative;z-index:1;width:100%;max-width:600px;margin:0 auto}.empty-state{background:var(--gradient-panel);background-image:linear-gradient(135deg,#400060f2,#2a0035f2);border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 30px #ff5edc1a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.spinner{width:50px;height:50px;border:4px solid rgba(255,94,220,.2);border-top-color:var(--color-electric-pink);border-radius:50%;animation:spin 1s linear infinite;margin:0 auto 20px}@keyframes spin{to{transform:rotate(360deg)}}.loading-state p{color:var(--text-primary);font-size:14px;letter-spacing:2px}.empty-icon{font-size:72px;margin-bottom:20px;filter:drop-shadow(0 0 10px var(--color-electric-pink))}.empty-state h2{color:var(--color-electric-pink);margin-bottom:12px;font-size:24px;letter-spacing:3px;text-shadow:0 0 15px var(--color-electric-pink)}.empty-state p{color:var(--text-secondary);margin-bottom:30px;font-size:14px;letter-spacing:1px}.room-list{background:var(--gradient-panel);border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 30px #ff5edc1a;overflow:hidden;position:relative;z-index:1}.room-list-header,.room-row{display:grid;grid-template-columns:2fr 1fr .8fr 1fr .8fr 1fr;gap:15px;padding:15px 20px;align-items:center}.room-list-header{background:var(--bg-panel);border-bottom:2px solid var(--border-primary);font-size:11px;font-weight:700;color:var(--color-electric-pink);letter-spacing:2px;text-shadow:0 0 8px var(--color-electric-pink)}.room-row{border-bottom:1px solid rgba(255,94,220,.2);transition:all .3s ease;background:#2a00354d}.room-row:hover{background:var(--bg-panel);box-shadow:inset 0 0 20px #ff5edc33;border-bottom-color:var(--color-electric-pink)}.room-row:last-child{border-bottom:none}.room-name{font-size:16px;font-weight:700;color:var(--text-primary);margin-bottom:4px;letter-spacing:1px;text-shadow:0 0 8px rgba(255,94,220,.3)}.room-host{font-size:11px;color:var(--text-secondary);letter-spacing:1px}.room-level{font-size:11px;color:var(--color-warning);margin-top:2px;text-shadow:0 0 8px var(--color-warning)}.mode-badge{display:inline-block;padding:5px 12px;font-size:11px;font-weight:700;border-radius:0;letter-spacing:1px}.mode-badge.vs{background:#ff174433;border:2px solid var(--color-danger);color:var(--color-danger);box-shadow:0 0 10px #ff17444d}.mode-badge.survival{background:#ffd70033;border:2px solid var(--color-warning);color:var(--color-warning);box-shadow:0 0 10px #ffd7004d}.player-count{font-size:15px;font-weight:700;color:var(--text-primary);letter-spacing:1px}.player-count.full{color:var(--color-danger);text-shadow:0 0 8px var(--color-danger)}.status-badge{display:inline-block;padding:5px 12px;font-size:11px;font-weight:700;border-radius:0;letter-spacing:1px}.status-badge.waiting{background:#00ffb333;border:2px solid var(--color-success);color:var(--color-success);box-shadow:0 0 10px #00ffb34d}.status-badge.in-progress{background:#ffd70033;border:2px solid var(--color-warning);color:var(--color-warning);box-shadow:0 0 10px #ffd7004d}.status-badge.ended{background:#80808033;border:2px solid #666;color:#888}.col-age{font-size:12px;color:var(--text-secondary);letter-spacing:1px}.join-room-btn{background:var(--bg-panel);border:2px solid var(--border-primary);color:var(--text-primary);padding:10px 20px;font-size:12px;font-weight:700;cursor:pointer;transition:all .3s ease;width:100%;font-family:Courier New,monospace;letter-spacing:2px;box-shadow:var(--shadow-electric-pink)}.join-room-btn:hover:not(:disabled){background:var(--gradient-button-hover);box-shadow:var(--shadow-combined);border-color:var(--color-bright-orange);transform:scale(1.05);color:var(--text-glow)}.join-room-btn:disabled{background:#3232324d;border-color:#666;color:#666;cursor:not-allowed;opacity:.4}.browser-footer{text-align:center;margin-top:20px;padding-top:20px;border-top:2px solid var(--border-primary);color:var(--text-secondary);font-size:13px;letter-spacing:2px;position:relative;z-index:1}@media (max-width: 900px){.room-list-header,.room-row{grid-template-columns:2fr 1fr 1fr 1.2fr;gap:10px}.col-age,.col-status{display:none}}@media (max-width: 600px){.room-browser{padding:15px}.create-game-banner{width:100%;max-width:none;min-height:150px;padding:25px 20px;gap:10px}.banner-title-large{font-size:32px;letter-spacing:4px;margin-bottom:6px}.banner-title{font-size:18px;letter-spacing:2px}.banner-subtitle{font-size:13px;letter-spacing:1px}.back-btn{padding:10px 16px;font-size:12px;width:100%;align-self:stretch}.join-section-header h2{font-size:24px;letter-spacing:5px}.room-list-header,.room-row{grid-template-columns:1fr .8fr 1fr;font-size:12px;padding:12px 15px}.col-mode{display:none}}.typing-text-container{display:inline}.typing-cursor{display:inline-block;color:var(--color-electric-pink);animation:blink .8s step-end infinite;margin-left:3px}@keyframes blink{0%,50%{opacity:1}51%,to{opacity:0}}.lobby-screen{width:100vw;height:100vh;display:flex;align-items:center;justify-content:center;background:var(--bg-gradient);background-image:url(/assets/battle_bg_no_moon-SZo7EPFD.png);background-size:cover;background-position:center;background-repeat:no-repeat;font-family:Courier New,monospace;position:relative;overflow:hidden;padding:20px}.lobby-screen:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,94,220,.03) 0px,transparent 1px,transparent 2px,rgba(255,94,220,.03) 3px);pointer-events:none;animation:scan-lines 8s linear infinite}.lobby-container{background:var(--gradient-panel);border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 30px #ff5edc1a;padding:30px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto;text-align:center;position:relative;z-index:1}.game-logo-lobby{position:absolute;top:20px;left:20px;width:300px;height:auto;filter:drop-shadow(0 0 20px rgba(255,94,220,.6));animation:logo-glow-lobby 3s ease-in-out infinite;z-index:10}@keyframes logo-glow-lobby{0%,to{filter:drop-shadow(0 0 20px rgba(255,94,220,.6))}50%{filter:drop-shadow(0 0 30px rgba(255,94,220,.8))}}.mode-info-inline{margin-bottom:15px}.mode-text-inline{font-size:36px;font-weight:900;color:#ff8c00;letter-spacing:3px;text-shadow:-2px -2px 0 #000,2px -2px 0 #000,-2px 2px 0 #000,2px 2px 0 #000,0 0 15px rgba(255,140,0,.8);font-family:Arial Black,Arial Bold,sans-serif;text-transform:uppercase;line-height:1;transform:scaleX(.85) scaleY(1.2);transform-origin:left;margin-bottom:5px}.mode-subtext-inline{font-size:14px;font-weight:700;color:#fff;letter-spacing:1px;text-shadow:-1px -1px 0 #000,1px -1px 0 #000,-1px 1px 0 #000,1px 1px 0 #000,0 0 8px rgba(255,140,0,.6);font-family:Courier New,monospace;text-transform:uppercase}.player-info{color:var(--text-primary);margin:5px 0 0;font-size:12px;letter-spacing:3px;opacity:.8}.mode-info{color:var(--color-warning);margin:8px 0 0;font-size:13px;letter-spacing:2px;font-weight:700;text-shadow:0 0 10px var(--color-warning)}.lobby-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;gap:20px}.lobby-header-left{flex:1;text-align:left}.lobby-header-left .game-title{margin:0 0 5px;text-align:left}.lobby-header-left .player-info{text-align:left}.lobby-header-right{display:flex;align-items:flex-start;gap:12px}.room-code-compact{display:flex;flex-direction:column;align-items:flex-end;gap:4px}.room-code-label{font-size:10px;color:var(--color-soft-violet);letter-spacing:1px;opacity:.8}.room-code-value{font-size:20px;font-weight:700;color:var(--color-electric-pink);letter-spacing:3px;font-family:Courier New,monospace;text-shadow:0 0 10px var(--color-electric-pink);border:2px solid var(--border-primary);padding:4px 12px;background:var(--bg-dark)}.lobby-back-btn{padding:10px 20px;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:2px;background:#ffffff1a;border:2px solid rgba(255,255,255,.3);color:var(--text-primary);cursor:pointer;transition:all .3s ease;white-space:nowrap;align-self:flex-start}.lobby-back-btn:hover{background:#fff3;border-color:var(--color-bright-orange);box-shadow:0 0 15px #ff8c004d;transform:translate(-2px)}.lobby-options{display:flex;flex-direction:column;gap:20px}.option-card{background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:0;padding:20px;box-shadow:var(--shadow-electric-pink);transition:all .3s ease}.option-card:hover{background:var(--bg-panel);box-shadow:var(--shadow-electric-pink-strong);transform:translateY(-2px);border-color:var(--color-bright-orange)}.option-header{margin-bottom:15px}.option-header h2{color:var(--color-electric-pink);font-size:20px;letter-spacing:3px;margin:0 0 5px;text-shadow:0 0 10px var(--color-electric-pink)}.option-subtitle{color:var(--text-secondary);font-size:11px;letter-spacing:1px;font-style:italic}.lobby-checkbox-label{display:flex;align-items:center;gap:10px;margin:0 0 15px;padding:10px;background:var(--bg-dark);border:2px solid var(--border-primary);cursor:pointer;transition:all .2s ease;box-shadow:inset 0 0 10px #ff5edc1a}.lobby-checkbox-label:hover{background:var(--bg-panel);border-color:var(--color-electric-pink);box-shadow:var(--shadow-electric-pink)}.lobby-checkbox-label input[type=checkbox]{cursor:pointer;width:18px;height:18px;accent-color:var(--color-electric-pink)}.lobby-checkbox-label span{color:var(--text-primary);font-size:12px;letter-spacing:1px;font-weight:700}.lobby-action-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:15px 25px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:var(--bg-panel);border:3px solid var(--border-primary);color:var(--text-primary);cursor:pointer;text-transform:uppercase;transition:all .3s ease;box-shadow:var(--shadow-electric-pink);position:relative;overflow:hidden}.lobby-action-btn.secondary{background:#ff8c001a;border-color:var(--color-sunset-orange);color:var(--color-bright-orange);box-shadow:0 0 10px #ff8c0033;margin-bottom:10px;font-size:14px;padding:12px 20px}.lobby-action-btn.secondary:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--color-bright-orange);box-shadow:var(--shadow-bright-orange);color:var(--text-glow)}.lobby-action-btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ff5edc33;border-radius:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s}.lobby-action-btn:hover:not(:disabled):before{width:300%;height:300%}.lobby-action-btn:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--color-bright-orange);box-shadow:var(--shadow-combined);transform:scale(1.02);color:var(--text-glow)}.lobby-action-btn:disabled{opacity:.4;cursor:not-allowed;background:#3232324d;border-color:#666;color:#666}.btn-icon{font-size:22px;filter:drop-shadow(0 0 8px var(--color-electric-pink));position:relative;z-index:1}.btn-text{position:relative;z-index:1}.lobby-divider{display:flex;align-items:center;gap:15px;margin:10px 0}.lobby-divider-small{display:flex;align-items:center;gap:10px;margin:15px 0}.lobby-divider-small .divider-line{height:1px;opacity:.5}.lobby-divider-small .divider-text{font-size:12px;letter-spacing:2px;opacity:.7}.divider-line{flex:1;height:2px;background:linear-gradient(90deg,transparent,var(--color-electric-pink),transparent);box-shadow:0 0 8px var(--color-electric-pink)}.divider-text{color:var(--color-bright-orange);font-size:16px;font-weight:700;letter-spacing:5px;text-shadow:0 0 10px var(--color-bright-orange)}.lobby-input{width:100%;background:var(--bg-dark);border:2px solid var(--border-primary);color:var(--text-primary);padding:12px;margin-bottom:15px;font-size:16px;font-family:Courier New,monospace;font-weight:700;text-align:center;letter-spacing:5px;outline:none;box-shadow:inset 0 0 10px #ff5edc33;transition:all .3s}.lobby-input::placeholder{color:var(--color-muted-purple);letter-spacing:2px;font-weight:400;opacity:.5}.lobby-input:focus{background:var(--bg-panel);box-shadow:inset 0 0 15px #ff5edc4d,var(--shadow-electric-pink);border-color:var(--color-bright-orange)}.option-hint{color:var(--text-secondary);font-size:11px;margin:10px 0 0;font-style:italic;letter-spacing:.5px}.error-message{margin-top:20px;padding:15px;background:#ff17441a;border:2px solid var(--color-danger);color:var(--color-danger);font-size:12px;letter-spacing:1px;box-shadow:0 0 20px #ff17444d;animation:error-pulse 1s ease-in-out}@keyframes error-pulse{0%{transform:scale(.95);opacity:0}to{transform:scale(1);opacity:1}}.lobby-container-wide{background:var(--gradient-panel);background-size:cover;background-position:center;background-repeat:no-repeat;border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 40px #00000080;padding:25px;max-width:1000px;width:95%;max-height:90vh;overflow-y:auto;position:relative;z-index:1}.lobby-section{margin-top:15px}.room-code-display{text-align:center;margin-bottom:20px;padding:15px;background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:0}.room-code-display p{margin:0 0 8px;font-size:12px;letter-spacing:2px;color:var(--text-secondary)}.room-code{font-size:32px;font-weight:700;letter-spacing:8px;color:var(--color-electric-pink);text-shadow:0 0 20px var(--color-electric-pink),0 0 40px var(--color-bright-orange);padding:8px;background:var(--bg-dark);border:2px solid var(--border-primary);display:inline-block;min-width:250px}.lobby-dialogue-box{background:linear-gradient(180deg,#1a0020fa,#2a0035fa);border:4px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 40px #ff5edc26;padding:20px 25px;margin:0 auto 20px;max-width:700px;animation:dialogueFadeIn .6s ease-out;display:flex;gap:20px;align-items:flex-start}.lobby-dialogue-avatar{flex-shrink:0}.lobby-dialogue-text{flex:1;display:flex;flex-direction:column;gap:12px}@keyframes dialogueFadeIn{0%{opacity:0;transform:translateY(-15px)}to{opacity:1;transform:translateY(0)}}.lobby-dialogue-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:10px;border-bottom:2px solid;border-image:linear-gradient(90deg,transparent,var(--color-electric-pink),transparent) 1}.lobby-dialogue-boss-name{font-size:20px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:var(--color-bright-orange);text-shadow:0 0 15px var(--color-bright-orange)}.lobby-dialogue-status{font-size:11px;font-weight:700;letter-spacing:2px;padding:4px 10px;border:2px solid var(--color-bright-orange);color:var(--color-bright-orange);background:#f933;box-shadow:0 0 15px #f936;text-shadow:0 0 8px var(--color-bright-orange);animation:threat-pulse 1.5s ease-in-out infinite}@keyframes threat-pulse{0%,to{box-shadow:0 0 15px #f936}50%{box-shadow:0 0 25px #f93c}}.lobby-dialogue-content{font-size:16px;line-height:1.6;color:var(--text-glow);letter-spacing:1px;font-style:italic;font-weight:700;text-shadow:0 0 10px var(--color-bright-orange)}.lobby-instructions{text-align:center;font-size:14px;color:var(--text-primary);margin:15px 0;letter-spacing:1px}.team-section{margin:15px 0;padding:15px;background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:0}.team-section.team1{box-shadow:var(--shadow-electric-pink)}.team-section.team2{box-shadow:var(--shadow-bright-orange);border-color:var(--color-sunset-orange)}.team-section.team2 h2{color:var(--color-sunset-orange)}.team-section h2{margin:0 0 12px;font-size:18px;letter-spacing:3px;text-align:center;color:var(--color-electric-pink);text-shadow:0 0 15px var(--color-electric-pink)}.team-slots{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.team-slot{background:var(--bg-dark);border:2px solid var(--border-primary);padding:10px;min-height:100px;display:flex;flex-direction:column;gap:8px;transition:all .3s;box-shadow:inset 0 0 15px #ff5edc1a}.slot-lane-label{font-size:14px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-align:center;padding-bottom:8px;border-bottom:1px solid var(--border-primary);text-shadow:0 0 8px var(--color-electric-pink)}.slot-filled{flex:1;display:flex;flex-direction:column;justify-content:space-between;padding:10px;background:var(--bg-panel);border:1px solid var(--border-primary);border-radius:0;position:relative}.slot-filled.slot-ai{background:var(--bg-panel);border-color:var(--color-warning);box-shadow:0 0 10px #ffd70033}.slot-player-info{flex:1}.slot-player-name{font-size:16px;font-weight:700;color:var(--text-primary);letter-spacing:2px;margin-bottom:5px;text-shadow:0 0 10px var(--color-electric-pink)}.slot-filled.slot-ai .slot-player-name{color:var(--color-warning)}.slot-player-type{font-size:11px;color:var(--text-secondary);letter-spacing:1px;font-style:italic}.slot-filled.slot-ai .slot-player-type{color:var(--color-warning);opacity:.8}.slot-remove-btn{padding:8px 12px;font-family:Courier New,monospace;font-size:11px;font-weight:700;letter-spacing:1px;background:#ff17444d;border:2px solid var(--color-danger);color:var(--color-danger);cursor:pointer!important;transition:all .2s;margin-top:8px;pointer-events:auto!important;position:relative;z-index:100;-webkit-user-select:none;user-select:none}.slot-remove-btn:hover{background:#ff174480;box-shadow:0 0 15px var(--color-danger);transform:scale(1.05)}.slot-remove-btn:active{transform:scale(.95)}.slot-empty{flex:1;display:flex;align-items:center;justify-content:center}.slot-actions{display:flex;flex-direction:column;gap:8px;width:100%}.slot-action-btn{display:flex;align-items:center;justify-content:center;gap:8px;padding:12px 16px;font-family:Courier New,monospace;font-size:13px;font-weight:700;letter-spacing:2px;cursor:pointer;transition:all .2s;text-transform:uppercase;border:2px solid}.slot-action-btn.primary{background:var(--bg-panel);border-color:var(--border-primary);color:var(--text-primary);box-shadow:0 0 10px #ff5edc33}.slot-action-btn.primary:hover{background:var(--gradient-button-hover);box-shadow:var(--shadow-electric-pink);transform:scale(1.05)}.slot-action-btn.secondary{background:var(--bg-panel);border-color:var(--color-warning);color:var(--color-warning);box-shadow:0 0 10px #ffd70033}.slot-action-btn.secondary:hover{background:linear-gradient(90deg,var(--color-warning) 0%,var(--color-bright-orange) 100%);box-shadow:0 0 20px var(--color-warning);transform:scale(1.05);color:var(--text-glow)}.slot-btn-icon{font-size:16px}.slot-empty-text{font-size:14px;color:var(--text-primary);letter-spacing:3px;font-weight:700;text-shadow:0 0 10px var(--color-electric-pink);opacity:.8}.host-controls{margin:25px 0 15px;text-align:center}.lobby-start-btn{display:inline-flex;align-items:center;gap:15px;padding:18px 35px;font-family:Courier New,monospace;background:var(--gradient-button-hover);border:3px solid var(--border-glow);color:var(--text-glow);cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-combined);position:relative;overflow:hidden}.lobby-start-btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ff5edc4d;border-radius:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s}.lobby-start-btn:hover:not(:disabled):before{width:400%;height:400%}.lobby-start-btn:hover:not(:disabled){box-shadow:0 0 50px var(--color-electric-pink),0 0 80px var(--color-bright-orange);transform:scale(1.05)}.lobby-start-btn:disabled{opacity:.4;cursor:not-allowed;background:#3232324d;border-color:#666;color:#666}.start-btn-icon{font-size:24px;filter:drop-shadow(0 0 10px var(--color-bright-orange));position:relative;z-index:1}.start-btn-content{display:flex;flex-direction:column;gap:3px;position:relative;z-index:1}.start-btn-text{font-size:18px;font-weight:700;letter-spacing:3px;text-shadow:0 0 15px var(--color-bright-orange)}.start-btn-hint{font-size:11px;letter-spacing:1px;opacity:.7}.player-count-info{text-align:center;margin-top:20px;padding-top:15px;border-top:2px solid var(--border-primary)}.player-count-info p{margin:5px 0;font-size:12px;letter-spacing:2px;color:var(--text-primary)}.host-badge{color:var(--color-warning)!important;font-weight:700;text-shadow:0 0 10px var(--color-warning);animation:badge-pulse 2s ease-in-out infinite}@keyframes badge-pulse{0%,to{opacity:1}50%{opacity:.7}}.countdown-overlay{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#000000e6}.countdown-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:radial-gradient(circle,var(--bg-panel) 0%,var(--bg-dark) 100%);pointer-events:all}.countdown-screen h1{font-size:32px;letter-spacing:8px;margin:0 0 50px;text-transform:uppercase;color:var(--color-electric-pink);text-shadow:0 0 20px var(--color-electric-pink);animation:fadeInDown .5s ease-out;text-align:center}.countdown-number{font-size:200px;font-weight:700;color:var(--text-glow);text-shadow:0 0 30px var(--text-glow),0 0 60px var(--color-electric-pink),0 0 90px var(--color-bright-orange);animation:countdownPulse 1s ease-in-out}@keyframes countdownPulse{0%,to{transform:scale(1);opacity:1}50%{transform:scale(1.1);opacity:.8}}@media (max-width: 768px){.team-slots{grid-template-columns:1fr}.lobby-container,.lobby-container-wide{padding:30px 20px}.game-title{font-size:36px}.room-code{font-size:28px;letter-spacing:8px}.game-logo-lobby{display:none}.lobby-dialogue-box{padding:18px 20px;max-width:100%;width:100%;flex-direction:row;align-items:flex-start;gap:15px}.dialogue-enemy-avatar{width:80px;height:80px}.lobby-dialogue-text{flex:1}.lobby-dialogue-header{flex-direction:column;align-items:flex-start;gap:8px}.lobby-dialogue-boss-name{font-size:16px;letter-spacing:1px}.lobby-dialogue-status{font-size:10px;padding:4px 8px;align-self:flex-start}.lobby-dialogue-content{font-size:14px;line-height:1.5}}.leaderboard-screen{width:100vw;min-height:100vh;background:var(--bg-gradient);background-size:cover;background-position:top;background-repeat:no-repeat;display:flex;align-items:flex-start;justify-content:center;color:var(--text-primary);font-family:Courier New,monospace;position:relative;overflow-y:auto;padding:20px}.leaderboard-screen::-webkit-scrollbar{width:12px}.leaderboard-screen::-webkit-scrollbar-track{background:#0000004d;border-left:1px solid var(--border-primary)}.leaderboard-screen::-webkit-scrollbar-thumb{background:var(--color-electric-pink);border-radius:0;border:1px solid var(--border-primary)}.leaderboard-screen::-webkit-scrollbar-thumb:hover{background:var(--color-bright-orange)}.leaderboard-screen:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(255,94,220,.03) 0px,transparent 1px,transparent 2px,rgba(255,94,220,.03) 3px);pointer-events:none;animation:scan-lines 8s linear infinite}.leaderboard-container{max-width:600px;width:100%;padding:30px 20px;background:transparent;border:none;box-shadow:none;position:relative;z-index:1}.defeat-title{text-align:center;font-size:48px;margin:0 0 10px;color:var(--color-danger);letter-spacing:6px;font-weight:900;font-family:Courier New,monospace;text-transform:uppercase;line-height:1;text-shadow:0 0 20px var(--color-danger),0 0 40px rgba(255,23,68,.5)}.defeat-subtitle{text-align:center;font-size:14px;margin:0 0 30px;color:var(--text-secondary);letter-spacing:2px;font-weight:400;font-family:Courier New,monospace;text-transform:uppercase}.leaderboard-title{text-align:center;font-size:20px;margin:30px 0 20px;color:var(--color-electric-pink);letter-spacing:3px;font-weight:700;font-family:Courier New,monospace;text-transform:uppercase;line-height:1;text-shadow:0 0 10px var(--color-electric-pink)}.leaderboard-table{background:var(--bg-dark);border:none;border-radius:0;padding:25px;margin-bottom:30px;box-shadow:var(--shadow-electric-pink)}.leaderboard-entries{display:flex;flex-direction:column}.leaderboard-entry{display:grid;grid-template-columns:120px 1fr 180px;gap:20px;padding:15px 25px;background:#ff5edc08;border-radius:0;transition:all .2s ease;border:1px solid rgba(255,94,220,.2);margin-bottom:8px}.leaderboard-entry:hover{background:#ff5edc0f;border-color:var(--border-primary)}.leaderboard-entry.top-1{background:linear-gradient(145deg,#ff5edc33,#ff5edc0d);border-color:var(--color-electric-pink);box-shadow:0 0 15px #ff5edc4d}.leaderboard-entry.top-2{background:linear-gradient(145deg,#ff993326,#ff99330d);border-color:var(--color-bright-orange);box-shadow:0 0 10px #f933}.leaderboard-entry.top-3{background:linear-gradient(145deg,#b266ff26,#b266ff0d);border-color:var(--color-soft-violet);box-shadow:0 0 8px #b266ff33}.rank-col{display:flex;align-items:center;justify-content:center;font-size:18px;font-weight:700;text-align:center}.name-col{display:flex;align-items:center;justify-content:center;font-size:16px;text-align:center}.level-col{display:flex;align-items:center;justify-content:center;font-size:16px;color:var(--color-electric-pink);font-weight:700;text-align:center}.no-entries{text-align:center;padding:60px 20px;color:var(--text-secondary);font-size:16px}.retry-btn{width:100%;padding:18px 30px;background:var(--bg-panel);border:3px solid var(--color-electric-pink);border-radius:0;color:var(--text-primary);font-size:18px;font-weight:700;letter-spacing:3px;cursor:pointer;transition:all .3s ease;font-family:Courier New,monospace;box-shadow:var(--shadow-electric-pink);text-transform:uppercase;margin-bottom:20px}.retry-btn:hover{background:var(--gradient-button-hover);border-color:var(--color-bright-orange);box-shadow:var(--shadow-combined);transform:scale(1.05);color:var(--text-glow)}.back-btn{width:100%;padding:12px 30px;background:#ffffff0d;border:2px solid rgba(255,255,255,.2);border-radius:0;color:var(--text-primary);font-size:14px;font-weight:700;letter-spacing:1.5px;cursor:pointer;transition:all .3s ease;font-family:Courier New,monospace;text-transform:uppercase}.back-btn:hover{background:#ffffff1a;border-color:var(--color-electric-pink);box-shadow:0 0 15px #ff5edc4d;transform:translateY(-2px)}@media (max-width: 600px){.leaderboard-screen{padding:15px 10px}.leaderboard-container{padding:20px 15px;max-width:100%}.defeat-title{font-size:32px;letter-spacing:4px;margin:0 0 8px}.defeat-subtitle{font-size:12px;letter-spacing:1px;margin:0 0 20px}.retry-btn{padding:15px 20px;font-size:16px;letter-spacing:2px;margin-bottom:15px}.leaderboard-title{font-size:16px;letter-spacing:2px;margin:20px 0 15px}.leaderboard-table{padding:15px;margin-bottom:20px}.leaderboard-entry{grid-template-columns:60px 1fr 100px;gap:10px;padding:12px 15px;margin-bottom:6px}.rank-col{font-size:14px}.name-col,.level-col{font-size:13px}.no-entries{padding:40px 15px;font-size:14px}.back-btn{padding:12px 20px;font-size:12px;letter-spacing:1px}}@media (max-width: 400px){.defeat-title{font-size:28px;letter-spacing:3px}.leaderboard-entry{grid-template-columns:50px 1fr 90px;gap:8px;padding:10px 12px}.rank-col,.name-col,.level-col{font-size:12px}.retry-btn{font-size:14px;padding:14px 18px}}.survival-victory-screen{position:fixed;top:0;left:0;width:100vw;height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;font-family:Courier New,monospace;overflow:hidden;z-index:9999}.mountain-background{position:absolute;top:0;left:0;width:100%;height:100%;background-size:cover;background-position:center;background-repeat:no-repeat;z-index:1}.mountain-background:after{content:"";position:absolute;inset:0;background:repeating-linear-gradient(0deg,rgba(0,0,0,.15) 0px,transparent 1px,transparent 2px,rgba(0,0,0,.15) 3px);pointer-events:none;animation:scan-lines 8s linear infinite}@keyframes scan-lines{0%{transform:translateY(0)}to{transform:translateY(4px)}}.death-modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000f2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;z-index:200;opacity:0;transition:opacity .8s ease-in-out}.death-modal-overlay.visible{opacity:1}.death-modal-content{display:flex;flex-direction:column;align-items:center;gap:30px;max-width:800px;width:90%;padding:40px;animation:modalContentFadeIn 1s ease-out}@keyframes modalContentFadeIn{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}.death-modal-avatar{animation:avatarPulse 2s ease-in-out infinite}@keyframes avatarPulse{0%,to{transform:scale(1);filter:drop-shadow(0 0 20px rgba(255,23,68,.6))}50%{transform:scale(1.05);filter:drop-shadow(0 0 40px rgba(255,23,68,.9))}}.death-modal-text{display:flex;flex-direction:column;gap:20px;width:100%;text-align:center}.death-modal-header{display:flex;flex-direction:column;gap:15px;align-items:center;padding-bottom:20px;border-bottom:2px solid;border-image:linear-gradient(90deg,transparent,var(--color-danger),transparent) 1}.death-modal-message{font-size:24px;line-height:1.8;color:var(--text-primary);letter-spacing:1.5px;font-style:italic;text-shadow:0 0 10px rgba(255,23,68,.5);min-height:80px}.dialogue-container{position:absolute;top:80px;left:50%;transform:translate(-50%);width:90%;max-width:800px;z-index:100}.dialogue-box{background:linear-gradient(180deg,#1a0020fa,#2a0035fa);border:4px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong),inset 0 0 40px #ff5edc26;padding:25px 30px;position:relative;display:flex;gap:20px;align-items:flex-start;opacity:0;transform:translateY(-20px);transition:opacity .8s ease-out,transform .8s ease-out}.dialogue-box.visible{opacity:1;transform:translateY(0)}.dialogue-avatar{flex-shrink:0}.dialogue-enemy-avatar{width:100px;height:100px;border:3px solid var(--color-bright-orange);box-shadow:0 0 20px #f939;display:block;image-rendering:crisp-edges}.dialogue-text{flex:1;display:flex;flex-direction:column;gap:12px}.dialogue-text.full-width{width:100%}.dialogue-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px;padding-bottom:12px;border-bottom:2px solid;border-image:linear-gradient(90deg,transparent,var(--color-electric-pink),transparent) 1}.dialogue-boss-name{font-size:24px;font-weight:700;letter-spacing:3px;text-transform:uppercase;color:var(--color-bright-orange);text-shadow:0 0 15px var(--color-bright-orange)}.dialogue-status{font-size:12px;font-weight:700;letter-spacing:2px;padding:5px 12px;border:2px solid;text-shadow:0 0 8px currentColor}.dialogue-status.defeated{color:var(--color-danger);border-color:var(--color-danger);background:#ff174433;box-shadow:0 0 15px #ff174466}.dialogue-status.next{color:var(--color-bright-orange);border-color:var(--color-bright-orange);background:#f933;box-shadow:0 0 15px #f936;animation:status-pulse 1.5s ease-in-out infinite}.dialogue-status.complete{color:var(--color-success);border-color:var(--color-success);background:#00ffb333;box-shadow:0 0 15px #00ffb366}@keyframes status-pulse{0%,to{box-shadow:0 0 15px #f936}50%{box-shadow:0 0 25px #f93c}}.dialogue-content{font-size:18px;line-height:1.6;color:var(--text-primary);letter-spacing:1px;font-style:italic;text-shadow:0 0 5px rgba(255,94,220,.3)}.dialogue-box.trash-talk .dialogue-content{color:var(--text-glow);text-shadow:0 0 10px var(--color-bright-orange);font-size:20px;font-weight:700}.dialogue-box.victory-complete .dialogue-boss-name{color:var(--color-success);text-shadow:0 0 20px var(--color-success);font-size:32px}.dialogue-box.victory-complete .dialogue-content{color:var(--color-success);text-shadow:0 0 15px var(--color-success);font-size:20px;text-align:center}.level-progression{position:absolute;bottom:380px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:30px;z-index:100;pointer-events:none}.level-card{display:flex;align-items:center;gap:25px;padding:25px 35px;background:var(--gradient-panel);border:4px solid var(--border-primary);box-shadow:var(--shadow-electric-pink-strong);animation:fadeInScale .6s ease-out;min-width:450px}@keyframes fadeInScale{0%{opacity:0;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.level-card-marker{width:80px;height:80px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:32px;font-weight:700;position:relative;overflow:hidden}.level-card-avatar{width:100%;height:100%;object-fit:cover;image-rendering:crisp-edges}.level-card-marker.defeated .level-card-avatar{filter:grayscale(60%) brightness(.7)}.defeated-label{color:red;font-size:.8em;font-weight:700;letter-spacing:2px;text-shadow:0 0 10px rgba(255,0,0,.8);margin-left:10px}.defeated-name{text-decoration:line-through;text-decoration-color:red;text-decoration-thickness:2px}.level-card-number-icon{font-size:32px;font-weight:700;letter-spacing:2px}.level-card-info{display:flex;flex-direction:column;gap:5px;flex:1}.level-card-number{font-size:20px;font-weight:700;letter-spacing:3px}.level-card-name{font-size:24px;font-weight:700;letter-spacing:2px}.level-card-difficulty{font-size:14px;letter-spacing:1px;font-style:italic;opacity:.9}.level-card.current-level{border-color:var(--color-success);box-shadow:0 0 30px #00ffb3cc,0 0 60px #00ffb366,inset 0 0 30px #00ffb31a;animation:current-throb 2s ease-in-out infinite}.level-card.current-level .level-card-marker{background:#00ffb34d;border:4px solid var(--color-success);color:var(--color-success);box-shadow:0 0 25px #00ffb399,inset 0 0 20px #00ffb333}.level-card.current-level .level-card-number{color:var(--color-success);text-shadow:0 0 15px var(--color-success)}.level-card.current-level .level-card-name{color:var(--color-success);text-shadow:0 0 20px var(--color-success)}.level-card.current-level .level-card-difficulty{color:var(--color-success)}@keyframes current-throb{0%,to{box-shadow:0 0 30px #00ffb3cc,0 0 60px #00ffb366,inset 0 0 30px #00ffb31a}50%{box-shadow:0 0 50px #00ffb3,0 0 100px #00ffb399,inset 0 0 40px #00ffb333}}.level-card.next-level{border-color:var(--color-bright-orange);box-shadow:0 0 25px #f939,inset 0 0 20px #ff99331a;animation-delay:.3s}.level-card.next-level .level-card-marker{background:#ff99334d;border:4px solid var(--color-bright-orange);color:var(--color-bright-orange);box-shadow:0 0 20px #ff993380,inset 0 0 15px #f933}.level-card.next-level .level-card-number{color:var(--color-bright-orange);text-shadow:0 0 10px var(--color-bright-orange)}.level-card.next-level .level-card-name{color:var(--color-bright-orange);text-shadow:0 0 15px var(--color-bright-orange)}.level-card.next-level .level-card-difficulty{color:var(--color-bright-orange)}.victory-actions{position:absolute;bottom:50px;left:50%;transform:translate(-50%);display:flex;flex-direction:column;gap:20px;z-index:100;pointer-events:all;animation:fadeInUp 1s ease-out .5s;animation-fill-mode:both}.ready-status{text-align:center;font-size:16px;font-weight:700;letter-spacing:2px;color:var(--color-bright-orange);text-shadow:0 0 15px var(--color-bright-orange);padding:12px 20px;background:var(--bg-panel);border:2px solid var(--color-bright-orange);box-shadow:0 0 20px #f936;animation:ready-pulse 2s ease-in-out infinite}@keyframes ready-pulse{0%,to{box-shadow:0 0 20px #f936}50%{box-shadow:0 0 30px #ff9933b3}}@keyframes fadeInUp{0%{opacity:0;transform:translate(-50%) translateY(30px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.victory-btn{display:flex;align-items:center;gap:20px;padding:20px 30px;background:var(--bg-panel);border:3px solid var(--border-primary);color:var(--text-primary);font-family:Courier New,monospace;cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-electric-pink);position:relative;overflow:hidden;min-width:500px}.victory-btn:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;background:#ff5edc33;border-radius:50%;transform:translate(-50%,-50%);transition:width .6s,height .6s}.victory-btn:hover:before{width:500%;height:500%}.victory-btn:hover{background:var(--gradient-button-hover);box-shadow:var(--shadow-combined),0 0 50px #ff99334d;transform:translateY(-3px) scale(1.02);border-color:var(--color-bright-orange)}.victory-btn-icon{display:flex;align-items:center;justify-content:center;width:40px;height:40px;flex-shrink:0;color:var(--color-electric-pink);transition:all .3s ease;position:relative;z-index:1}.victory-btn:hover .victory-btn-icon{color:var(--text-glow);transform:scale(1.2)}.victory-btn-text{display:flex;flex-direction:column;gap:5px;text-align:left;position:relative;z-index:1}.btn-main-text{font-size:18px;font-weight:700;letter-spacing:2px;color:var(--text-primary);transition:all .3s ease}.victory-btn:hover .btn-main-text{color:var(--text-glow);text-shadow:0 0 15px var(--color-bright-orange)}.btn-sub-text{font-size:15px;letter-spacing:1px;color:#fff;font-style:italic;opacity:1;text-shadow:0 0 10px rgba(0,0,0,.9)}.primary-victory-btn{border-color:var(--color-bright-orange);box-shadow:0 0 25px #ff993380,0 0 50px #ff5edc4d}.primary-victory-btn:hover{box-shadow:0 0 40px #f93c,0 0 80px #ff5edc80,0 0 120px #ff5edc4d}.primary-victory-btn .victory-btn-icon{color:var(--color-bright-orange)}.victory-btn.ready-active{opacity:.7;cursor:not-allowed;border-color:var(--color-warning);box-shadow:0 0 20px #ffd70066}.victory-btn.ready-active:hover{transform:none;opacity:.7}.victory-btn.ready-active .btn-main-text{color:var(--color-warning);text-shadow:0 0 10px var(--color-warning)}.victory-btn.ready-active .btn-sub-text{color:var(--color-warning);opacity:.8}.secondary-victory-btn{opacity:.9}.secondary-victory-btn:hover{opacity:1}@media (max-width: 900px){.death-modal-content{padding:30px;gap:25px}.death-modal-message{font-size:20px;min-height:70px}.dialogue-container{top:60px;width:92%}.dialogue-enemy-avatar{width:80px;height:80px}.dialogue-boss-name{font-size:20px;letter-spacing:2px}.dialogue-status{font-size:11px;padding:4px 10px}.dialogue-content{font-size:16px}.dialogue-box.trash-talk .dialogue-content{font-size:18px}.dialogue-box.victory-complete .dialogue-boss-name{font-size:26px}.dialogue-box.victory-complete .dialogue-content{font-size:18px}.ready-status{font-size:14px;padding:10px 18px}.victory-btn{min-width:400px;padding:15px 25px}.btn-main-text{font-size:16px}.level-progression{bottom:320px}.level-card{min-width:380px;padding:20px 28px;gap:20px}.level-card-marker{width:65px;height:65px}.level-card-number-icon{font-size:26px}.level-card-number{font-size:17px}.level-card-name{font-size:20px}.level-card-difficulty{font-size:12px}}@media (max-width: 600px){.death-modal-content{padding:25px 20px;gap:20px}.death-modal-message{font-size:18px;line-height:1.6;min-height:60px}.dialogue-container{top:40px;width:95%}.dialogue-box{padding:20px 22px;flex-direction:column;align-items:center}.dialogue-enemy-avatar{width:70px;height:70px}.dialogue-boss-name{font-size:18px;letter-spacing:2px}.dialogue-status{font-size:10px;padding:4px 8px}.dialogue-content{font-size:14px;line-height:1.5}.dialogue-box.trash-talk .dialogue-content{font-size:16px}.dialogue-box.victory-complete .dialogue-boss-name{font-size:22px}.dialogue-box.victory-complete .dialogue-content{font-size:16px}.ready-status{font-size:13px;padding:10px 15px;letter-spacing:1px}.victory-btn{min-width:90%;padding:15px 20px;gap:15px}.btn-main-text{font-size:14px;letter-spacing:1px}.btn-sub-text{font-size:11px}.victory-actions{bottom:30px;width:95%}.level-progression{bottom:280px;width:95%;gap:20px}.level-card{min-width:auto;width:100%;padding:18px 22px;gap:15px}.level-card-marker{width:55px;height:55px}.level-card-number-icon{font-size:22px}.level-card-number{font-size:15px}.level-card-name{font-size:18px}.level-card-difficulty{font-size:11px}}.leave-game-modal-overlay{position:fixed;inset:0;background:#1a0020d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .3s ease-out}.leave-game-modal{background:linear-gradient(135deg,#2a0035,#400060);border:3px solid #FF5EDC;border-radius:12px;padding:40px;min-width:450px;max-width:550px;box-shadow:0 0 30px #ff5edc99,0 0 60px #ff5edc4d,0 8px 32px #0009;animation:modalSlideIn .4s cubic-bezier(.34,1.56,.64,1);font-family:Courier New,monospace}.leave-game-modal-header{color:#f93;font-size:28px;letter-spacing:4px;text-align:center;margin-bottom:30px;text-shadow:0 0 20px #FF9933,0 0 40px #FF5EDC;animation:headerGlow 2s ease-in-out infinite}.leave-game-modal-body{text-align:center}.leave-game-message{color:#fff7e6;font-size:20px;letter-spacing:2px;margin-bottom:15px;text-shadow:0 0 10px rgba(255,247,230,.3)}.leave-game-warning{color:gold;font-size:14px;letter-spacing:2px;margin-bottom:35px;text-transform:uppercase;text-shadow:0 0 10px rgba(255,215,0,.5)}.leave-game-modal-buttons{display:flex;gap:20px;justify-content:center;margin-top:30px}.leave-game-modal-btn{padding:14px 30px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;border:3px solid;cursor:pointer;transition:all .3s ease;text-transform:uppercase;min-width:150px}.confirm-btn{background:#ff174433;border-color:#ff1744;color:#ff1744;box-shadow:0 0 15px #ff17444d}.confirm-btn:hover{background:linear-gradient(90deg,#ff1744,#ff5edc);border-color:#ff5edc;color:#fff;box-shadow:0 0 25px #ff174480,0 0 50px #ff5edc4d;transform:scale(1.05)}.cancel-btn{background:#00ffb333;border-color:#00ffb3;color:#00ffb3;box-shadow:0 0 15px #00ffb34d}.cancel-btn:hover{background:linear-gradient(90deg,#00ffb3,#ff5edc);border-color:#ff5edc;color:#fff;box-shadow:0 0 25px #00ffb380,0 0 50px #ff5edc4d;transform:scale(1.05)}@media (max-width: 600px){.leave-game-modal{min-width:320px;padding:25px}.leave-game-modal-header{font-size:22px;letter-spacing:3px}.leave-game-message{font-size:18px}.leave-game-warning{font-size:12px}.leave-game-modal-buttons{flex-direction:column;gap:15px}.leave-game-modal-btn{width:100%;min-width:auto}}.ui-overlay{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;font-family:Courier New,monospace;color:var(--color-electric-pink);overflow:visible}.game-logo{position:absolute;top:20px;left:20px;z-index:102;pointer-events:none;max-width:200px;filter:drop-shadow(0 0 10px rgba(255,94,220,.5))}.game-logo img{width:100%;height:auto;display:block}.survival-actions-panel .game-logo{position:static;transform:none;margin:0 auto 15px;left:auto;max-width:250px}.round-indicator-combined{position:absolute;top:20px;right:20px;z-index:101;pointer-events:none;font-size:28px;font-weight:700;letter-spacing:4px;padding:10px 20px;background:#000c;border:2px solid var(--border-primary);color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-electric-pink);display:flex;align-items:center;gap:15px}@media (max-width: 768px){.round-indicator-combined{top:10px;left:10px;right:auto;font-size:18px;padding:8px 12px;gap:8px;letter-spacing:2px}}.round-text{color:var(--color-electric-pink)}.round-separator{color:var(--color-electric-pink);opacity:.6}.round-timer{color:var(--color-electric-pink)}.ready-status-planning{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;background:#000000d9;border:2px solid var(--border-primary);box-shadow:var(--shadow-electric-pink);pointer-events:auto;min-width:250px;max-width:300px;margin-left:auto}.ready-count-text{font-size:18px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-shadow:0 0 8px rgba(255,94,220,.5)}.ready-btn-compact{padding:8px 20px;font-size:16px;font-weight:700;letter-spacing:2px;background:var(--gradient-panel);color:#fff;border:2px solid var(--border-primary);cursor:pointer;transition:all .3s ease;text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-electric-pink);font-family:Courier New,monospace}.ready-btn-compact:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--border-primary);box-shadow:var(--shadow-combined);transform:scale(1.05)}.ready-btn-compact:disabled{opacity:.5;cursor:not-allowed}.ready-btn-compact.ready-active{background:var(--gradient-button-hover);border-color:var(--border-primary);box-shadow:var(--shadow-combined);animation:pulse-glow 1.5s ease-in-out infinite}.survival-level-indicator{position:absolute;top:100px;left:20px;z-index:101;pointer-events:none;font-size:20px;font-weight:700;letter-spacing:2px;padding:8px 20px;background:#000000d9;border:2px solid #ffd93d;color:#ffd93d;text-shadow:0 0 10px rgba(255,217,61,.6);box-shadow:0 0 15px #ffd93d4d;width:200px;box-sizing:border-box;text-align:center}.players-income-container{position:absolute;top:75px;left:20px;z-index:101;pointer-events:none;display:flex;flex-direction:column;gap:4px;max-width:300px}.players-income-container.with-survival-level{top:120px}.player-income{display:flex;flex-direction:column;align-items:center;gap:8px;font-size:13px;font-weight:700;letter-spacing:1px;padding:15px;background:#000000d9;border:3px solid var(--border-primary);color:var(--color-electric-pink);text-shadow:0 0 8px rgba(255,94,220,.5);box-shadow:0 0 15px #ff5edc66;border-radius:8px;transition:all .2s}.player-income:hover{background:var(--bg-panel);box-shadow:0 0 25px #ff5edc99;transform:translateY(-2px)}.player-income.enemy-player{border-color:#f44;color:#f44;text-shadow:0 0 8px rgba(255,68,68,.5);box-shadow:0 0 15px #f446}.player-income.enemy-player:hover{box-shadow:0 0 25px #f449}.player-income.my-player{border-width:3px;background:var(--bg-panel);box-shadow:0 0 20px #ff5edc99}.player-income.enemy-player.my-player{background:#6400004d;box-shadow:0 0 20px #f449}.player-income-name{font-size:18px;font-weight:700;letter-spacing:2px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;text-shadow:0 0 10px currentColor}.player-income-value{font-size:16px;font-weight:700;white-space:nowrap;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.6)}.planning-timer-center{position:absolute;top:60px;left:50%;transform:translate(-50%);z-index:101;font-size:28px;font-weight:700;letter-spacing:4px;padding:10px 20px;background:#000c;border:2px solid var(--border-primary);color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-electric-pink);pointer-events:none;min-width:80px;text-align:center}.ready-status-top-right{position:absolute;top:60px;right:20px;z-index:101;display:flex;align-items:center;gap:10px;padding:10px 15px;background:#000000d9;border:2px solid var(--border-primary);box-shadow:var(--shadow-electric-pink);pointer-events:all}.boss-hp-container{position:absolute;top:20px;left:50%;transform:translate(-50%);text-align:center;z-index:100;pointer-events:none}@media (max-width: 768px){.boss-hp-container{top:55px;left:0;right:0;transform:none;width:100%;padding:0 10px;box-sizing:border-box}}.boss-header{display:flex;align-items:center;gap:12px;justify-content:flex-start;margin-bottom:10px;width:500px;margin-left:auto;margin-right:auto}@media (max-width: 768px){.boss-header{width:100%;max-width:100%;gap:8px;margin-bottom:8px}}.boss-avatar{width:60px;height:60px;border:2px solid var(--color-bright-orange);box-shadow:0 0 15px #f939;display:block;image-rendering:crisp-edges}@media (max-width: 768px){.boss-avatar{width:40px;height:40px}}.boss-name-wrapper{display:flex;flex-direction:column;align-items:flex-start;gap:2px}.boss-name{font-size:24px;font-weight:700;letter-spacing:3px;text-shadow:0 0 10px rgba(255,0,0,.8);color:#f33;text-transform:uppercase}.boss-level-label{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--color-bright-orange);text-transform:uppercase;text-shadow:0 0 5px rgba(255,153,51,.5)}.boss-hp-container .boss-name:not(.boss-name-wrapper .boss-name){margin-bottom:10px}@media (max-width: 768px){.boss-name{font-size:16px;letter-spacing:2px}.boss-level-label{font-size:10px;letter-spacing:1px}.boss-hp-container .boss-name:not(.boss-name-wrapper .boss-name){margin-bottom:8px;font-size:14px}}.boss-hp-bar-background{width:500px;height:30px;background:#000c;border:3px solid #ff3333;box-shadow:0 0 20px #ff000080,inset 0 0 10px #000c;position:relative;overflow:hidden;margin:0 auto}@media (max-width: 768px){.boss-hp-bar-background{width:100%;max-width:100%;height:25px}}.boss-hp-bar-fill{height:100%;background:linear-gradient(90deg,red,#f66,red);transition:width .5s ease-out;position:relative;box-shadow:0 0 15px #f00c}.boss-hp-bar-shine{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shine 2s infinite}@keyframes shine{0%{left:-100%}to{left:200%}}.boss-hp-text{margin-top:5px;font-size:16px;font-weight:700;letter-spacing:2px;color:#f33;text-shadow:0 0 5px rgba(255,0,0,.5)}@media (max-width: 768px){.boss-hp-text{font-size:12px;margin-top:4px;letter-spacing:1px}}.waiting-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:#000c;pointer-events:all}.waiting-screen h1{font-size:36px;letter-spacing:5px;margin:0;text-shadow:var(--shadow-electric-pink)}.room-code{font-size:48px;margin:30px 0 10px;padding:20px 40px;background:#000;border:3px solid var(--border-primary);letter-spacing:8px}.hint{font-size:14px;color:#888;margin:0}.scanning{width:200px;height:4px;background:var(--bg-dark);margin-top:40px;position:relative;overflow:hidden}.scan-line{width:50px;height:100%;background:var(--color-electric-pink);animation:scan 2s linear infinite;box-shadow:var(--shadow-electric-pink)}@keyframes scan{0%{transform:translate(-50px)}to{transform:translate(200px)}}.countdown-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:radial-gradient(circle,#001428f2,#000000fa);pointer-events:all}.countdown-screen h1{font-size:32px;letter-spacing:8px;margin:0 0 50px;text-transform:uppercase;color:var(--color-success);text-shadow:0 0 20px rgba(0,255,179,.5);animation:fadeInDown .5s ease-out;text-align:center}.countdown-number{font-size:200px;font-weight:700;color:#fff;text-shadow:0 0 30px rgba(255,255,255,.8),0 0 60px rgba(0,255,179,.6),0 0 90px rgba(0,255,179,.4);animation:countdownPulse 1s ease-in-out}@keyframes countdownPulse{0%{transform:scale(.3) rotate(-10deg);opacity:0}50%{transform:scale(1.3) rotate(5deg);opacity:1}70%{transform:scale(.95) rotate(-2deg)}to{transform:scale(1) rotate(0);opacity:1}}@keyframes fadeInDown{0%{opacity:0;transform:translateY(-30px)}to{opacity:1;transform:translateY(0)}}.game-over-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;background:#000000f2;background-size:cover;background-position:center;background-repeat:no-repeat;pointer-events:all;z-index:1000;overflow-y:auto;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:20px 20px 40px;position:relative}.game-over-screen::-webkit-scrollbar{width:12px}.game-over-screen::-webkit-scrollbar-track{background:#0000004d;border-left:1px solid var(--border-primary)}.game-over-screen::-webkit-scrollbar-thumb{background:var(--color-electric-pink);border-radius:0;border:1px solid var(--border-primary)}.game-over-screen::-webkit-scrollbar-thumb:hover{background:var(--color-bright-orange)}.game-over-screen h1{font-size:72px;letter-spacing:10px;margin:0 0 20px;-webkit-text-stroke:8px #000000;paint-order:stroke fill;text-shadow:0 0 20px rgba(255,94,220,1),0 0 40px rgba(255,94,220,.8)}.game-over-subtitle{font-size:32px;font-weight:700;color:#fff;margin:20px 0 40px;letter-spacing:2px;line-height:1.6;-webkit-text-stroke:8px #000000;paint-order:stroke fill;text-shadow:0 0 15px rgba(255,94,220,1),0 0 30px rgba(255,94,220,.8);text-align:center}.reset-btn{background:#000;border:3px solid var(--border-primary);color:var(--color-electric-pink);padding:20px 60px;font-family:Courier New,monospace;font-size:18px;font-weight:700;letter-spacing:3px;cursor:pointer;transition:all .3s;pointer-events:all;margin-bottom:15px}.reset-btn:hover{background:var(--gradient-button-hover);color:var(--text-primary);box-shadow:var(--shadow-electric-pink);transform:scale(1.05)}.survival-defeat-container{display:flex;flex-direction:column;gap:20px;width:100%;max-width:min(800px,95vw);align-items:center;justify-content:center;margin-top:20px}.survival-actions-panel{display:flex;flex-direction:row;gap:15px;width:100%;background:#2a003599;border:2px solid var(--border-primary);padding:20px;border-radius:8px;box-shadow:0 0 20px #ff5edc4d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);justify-content:space-around}.survival-rank{background:var(--bg-panel);border:2px solid var(--color-electric-pink);padding:15px;border-radius:8px;text-align:center;box-shadow:0 0 15px #ff5edc66}.rank-label{font-size:14px;color:#fff;letter-spacing:2px;margin-bottom:8px;text-shadow:0 0 8px rgba(255,255,255,.6)}.rank-value{font-size:32px;font-weight:700;color:var(--color-electric-pink);letter-spacing:2px;text-shadow:0 0 15px rgba(255,94,220,.8)}.survival-action-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px;font-family:Courier New,monospace;background:var(--bg-panel);border:3px solid var(--border-primary);color:#fff;cursor:pointer;text-transform:uppercase;letter-spacing:2px;transition:all .2s;box-shadow:var(--shadow-electric-pink);pointer-events:all;border-radius:8px;position:relative}.survival-action-btn .action-btn-icon{display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 0 8px rgba(255,94,220,.8))}.survival-action-btn .action-btn-icon svg{width:32px;height:32px}.survival-action-btn .action-btn-text{font-size:16px;font-weight:700;letter-spacing:2px;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.5)}.survival-action-btn:hover{background:var(--gradient-button-hover);border-color:var(--color-success);box-shadow:var(--shadow-combined);transform:translateY(-2px)}.try-again-btn{border-color:var(--color-success);box-shadow:0 0 15px #00ffb366}.try-again-btn:hover{border-color:var(--color-success);box-shadow:0 0 25px #00ffb399}.menu-btn{border-color:var(--color-warning);box-shadow:0 0 15px #ffd70066}.menu-btn:hover{border-color:var(--color-bright-orange);box-shadow:0 0 25px #ff8c0099}.leaderboard-container{width:100%;max-width:700px;flex:1;background:#000000e6;border:3px solid var(--border-primary);padding:0;box-shadow:var(--shadow-combined)}.leaderboard-title{font-size:28px;letter-spacing:5px;margin:0;padding:20px;text-align:center;color:var(--color-electric-pink);background:#ff5edc1a;border-bottom:2px solid var(--border-primary);text-shadow:var(--shadow-electric-pink)}.leaderboard-entries{display:flex;flex-direction:column;gap:0;padding:15px}.leaderboard-entry{display:flex;justify-content:space-between;align-items:center;padding:12px 15px;background:#0009;border-left:3px solid var(--border-primary);border-bottom:1px solid rgba(255,94,220,.3);transition:all .2s;position:relative}.leaderboard-entry:before{content:"";position:absolute;left:0;top:0;bottom:0;width:0;background:#ff5edc1a;transition:width .3s}.leaderboard-entry:hover:before{width:100%}.leaderboard-entry:hover{background:#ff5edc26;border-left-color:var(--border-primary);border-left-width:5px;box-shadow:inset 0 0 20px #ff5edc33}.leaderboard-entry.highlight{background:#ff5edc33;border-left:5px solid var(--border-primary);border-bottom:1px solid rgba(255,94,220,.6);box-shadow:inset 0 0 25px #ff5edc4d,0 0 25px #ff5edc80;animation:highlightPulse 2s infinite}@keyframes highlightPulse{0%,to{box-shadow:inset 0 0 25px #ff5edc4d,0 0 25px #ff5edc80}50%{box-shadow:inset 0 0 35px #ff5edc66,0 0 35px #ff5edcb3}}.entry-rank{font-size:20px;font-weight:700;color:var(--color-electric-pink);min-width:60px;letter-spacing:2px;text-shadow:0 0 8px rgba(255,94,220,.6);z-index:1}.entry-name{font-size:18px;flex:1;text-align:left;margin:0 30px;letter-spacing:2px;font-weight:700;color:var(--color-electric-pink);text-shadow:0 0 8px rgba(255,94,220,.6);z-index:1}.leaderboard-entry.highlight .entry-name{color:var(--color-electric-pink);text-shadow:0 0 12px rgba(255,94,220,1);font-size:19px}.entry-level{font-size:18px;font-weight:700;color:var(--color-electric-pink);letter-spacing:2px;padding:5px 15px;background:#ff5edc1a;border:1px solid var(--border-primary);text-shadow:0 0 8px rgba(255,94,220,.6);z-index:1}.leaderboard-entry.highlight .entry-level{color:var(--color-electric-pink);border-color:var(--border-primary);border-width:2px;background:#ff5edc33;text-shadow:0 0 12px rgba(255,94,220,1)}.loading-leaderboard{font-size:20px;color:var(--color-electric-pink);margin:40px 0;letter-spacing:3px;text-shadow:var(--shadow-electric-pink);animation:terminalPulse 1.5s infinite}@keyframes terminalPulse{0%,to{opacity:.6;text-shadow:0 0 5px rgba(255,94,220,.4)}50%{opacity:1;text-shadow:0 0 15px rgba(255,94,220,.8)}}@media (max-width: 768px){.survival-defeat-container{max-width:100%;padding:0 10px;gap:15px}.game-over-screen h1{font-size:36px;margin-top:20px}.game-over-subtitle{font-size:14px;margin-bottom:15px}.survival-actions-panel{flex-direction:column;padding:15px;gap:12px}.survival-rank{padding:12px}.rank-label{font-size:12px;letter-spacing:1.5px;margin-bottom:6px}.rank-value{font-size:24px}.survival-action-btn{padding:12px}.survival-action-btn .action-btn-icon svg{width:28px;height:28px}.survival-action-btn .action-btn-text{font-size:14px;letter-spacing:1.5px}.leaderboard-container{width:100%}.leaderboard-title{font-size:18px;letter-spacing:3px;padding:15px}.leaderboard-entries{padding:10px}.leaderboard-entry{padding:10px 12px;flex-wrap:wrap}.entry-rank{font-size:16px;min-width:50px}.entry-name{font-size:14px;margin:0 15px}.entry-level{font-size:14px;padding:4px 12px}}@media (max-width: 480px){.game-over-screen h1{font-size:28px}.game-over-subtitle{font-size:12px}.survival-actions-panel{padding:12px}.rank-value{font-size:20px}.survival-action-btn .action-btn-text{font-size:12px}.leaderboard-title{font-size:16px;letter-spacing:2px}.entry-rank{font-size:14px;min-width:45px}.entry-name{font-size:12px;margin:0 10px}.entry-level{font-size:12px;padding:3px 10px}.round-indicator-combined{font-size:20px;padding:8px 15px;gap:10px}.ready-status-planning{padding:8px 12px;gap:8px}.ready-count-text{font-size:16px}.ready-btn-compact{font-size:14px;padding:6px 16px}.survival-level-indicator{top:70px;font-size:16px;width:150px}}@media (max-width: 480px){.game-logo{max-width:120px}.round-indicator-combined{font-size:16px;padding:6px 12px;gap:8px;letter-spacing:2px}.ready-status-planning{padding:6px 10px;gap:6px}.ready-count-text{font-size:14px}.ready-btn-compact{font-size:12px;padding:5px 12px}.survival-level-indicator{top:60px;font-size:14px;padding:6px 15px;width:120px}.game-over-screen{padding:20px 20px 40px}.game-over-screen h1{font-size:48px;letter-spacing:6px}.survival-actions-panel .game-logo{max-width:180px;margin:0 auto 12px}}.hud-top{position:absolute;top:20px;left:20px;pointer-events:all;display:flex;flex-direction:column;gap:15px;z-index:200}.player-stats{background:#000;border:2px solid var(--border-primary);padding:15px 20px;display:flex;gap:30px}.unit-stats-panel{background:#000;border:3px solid var(--border-primary);padding:15px;min-width:280px}.unit-stats-panel h3{margin:0 0 12px;font-size:14px;letter-spacing:2px;text-align:center;border-bottom:1px solid var(--border-primary);padding-bottom:8px}.stat-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;gap:10px}.stat-info{display:flex;gap:8px;align-items:baseline}.stat-name{font-size:12px;color:#888;letter-spacing:1px}.stat-current{font-size:16px;font-weight:700;letter-spacing:1px;color:var(--color-electric-pink)}.upgrade-btn-inline{background:#000;border:2px solid var(--border-primary);color:var(--color-electric-pink);padding:6px 12px;cursor:pointer;font-family:Courier New,monospace;font-size:11px;transition:all .2s;white-space:nowrap}.upgrade-btn-inline:hover:not(:disabled){background:var(--gradient-button-hover);color:var(--text-primary);box-shadow:var(--shadow-electric-pink)}.upgrade-btn-inline:disabled{opacity:.3;cursor:not-allowed}.stat{display:flex;flex-direction:column;gap:5px}.stat-label{font-size:10px;color:#888;letter-spacing:1px}.stat-value{font-size:18px;letter-spacing:2px}.my-base-hp-container{position:absolute;bottom:120px;left:50%;transform:translate(-50%);text-align:center;z-index:100;pointer-events:none}.my-base-name{font-size:20px;font-weight:700;letter-spacing:3px;margin-bottom:8px;text-shadow:var(--shadow-electric-pink);color:var(--color-electric-pink)}.my-base-hp-bar-background{width:400px;height:25px;background:#000c;border:3px solid var(--border-primary);box-shadow:var(--shadow-electric-pink);position:relative;overflow:hidden}.my-base-hp-bar-fill{height:100%;background:linear-gradient(90deg,var(--color-electric-pink) 0%,var(--color-soft-violet) 50%,var(--color-electric-pink) 100%);transition:width .5s ease-out;position:relative;box-shadow:var(--shadow-electric-pink)}.my-base-hp-bar-shine{position:absolute;top:0;left:-100%;width:100%;height:100%;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.3) 50%,transparent 100%);animation:shine 2s infinite}.my-base-hp-text{margin-top:5px;font-size:14px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-shadow:0 0 5px rgba(255,94,220,.5)}.production-panel{background:#000;border:3px solid var(--border-primary);padding:15px;min-width:280px}.production-panel h3{margin:0 0 12px;font-size:14px;letter-spacing:2px;text-align:center;border-bottom:1px solid var(--border-primary);padding-bottom:8px}.control-btn{width:100%;background:#000;border:2px solid var(--border-primary);color:var(--color-electric-pink);padding:15px;margin-bottom:10px;cursor:pointer;font-family:Courier New,monospace;font-size:14px;transition:all .2s}.control-btn:hover:not(:disabled){background:var(--gradient-button-hover);color:var(--text-primary);box-shadow:var(--shadow-electric-pink)}.control-btn:disabled{opacity:.3;cursor:not-allowed}.btn-label{font-weight:700;letter-spacing:2px;margin-bottom:5px}.btn-cost{font-size:12px;color:#888}.control-btn:hover:not(:disabled) .btn-cost{color:#000}.upgrade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.upgrade-btn{background:#000;border:2px solid var(--border-primary);color:var(--color-electric-pink);padding:10px;cursor:pointer;font-family:Courier New,monospace;font-size:12px;transition:all .2s;display:flex;flex-direction:column;align-items:center;gap:5px}.upgrade-btn:hover:not(:disabled){background:var(--gradient-button-hover);color:var(--text-primary);box-shadow:var(--shadow-electric-pink)}.upgrade-btn:disabled{opacity:.3;cursor:not-allowed}.upgrade-name{font-weight:700;letter-spacing:1px}.upgrade-level{font-size:10px;color:#888}.upgrade-btn:hover:not(:disabled) .upgrade-level,.upgrade-btn:hover:not(:disabled) .upgrade-cost{color:#000}.upgrade-cost{font-size:10px;color:#888}.debug-panel{position:absolute;top:20px;right:20px;background:#000000e6;border:2px solid var(--border-primary);padding:15px;max-width:300px;max-height:500px;overflow-y:auto;pointer-events:all;font-size:11px}.debug-panel h4{margin:0 0 10px;font-size:14px;letter-spacing:2px;border-bottom:1px solid var(--border-primary);padding-bottom:5px}.debug-units{display:flex;flex-direction:column;gap:8px}.debug-unit{padding:8px;background:var(--bg-panel);border:1px solid var(--border-primary);font-size:10px;line-height:1.4}.state-attacking{color:#f33;font-weight:700}.state-moving{color:#fa0}.planning-phase-screen{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:100%;max-height:100vh;background:#000000e6;pointer-events:all;overflow-y:auto;overflow-x:hidden;padding:20px;box-sizing:border-box}.planning-phase-screen h1{font-size:clamp(28px,6vw,48px);letter-spacing:clamp(2px,1vw,6px);margin:20px 0 10px;text-shadow:var(--shadow-electric-pink);animation:pulse 2s infinite;text-align:center}.phase-timer{font-size:clamp(24px,5vw,36px);color:#fa0;margin:10px 0;text-shadow:0 0 10px rgba(255,170,0,.6);text-align:center}.phase-subtitle{font-size:clamp(14px,3vw,20px);margin:10px 20px 30px;color:var(--color-electric-pink);opacity:.8;text-align:center;max-width:90%}.first-round-banner{margin:15px 10px 20px;padding:clamp(10px,2vw,15px) clamp(20px,5vw,40px);border-radius:8px;text-align:center;font-size:clamp(14px,2.5vw,18px);font-weight:700;letter-spacing:clamp(1px,.3vw,2px);box-shadow:0 0 20px #00000080;max-width:90%}.first-round-banner.winner{background:var(--bg-panel);border:3px solid var(--border-primary);color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-combined);animation:winner-pulse 2s ease-in-out infinite}.first-round-banner.loser{background:#9600004d;border:3px solid var(--color-danger);color:var(--color-danger);text-shadow:0 0 10px rgba(255,23,68,.8);box-shadow:0 0 30px #ff174480}@keyframes winner-pulse{0%,to{box-shadow:var(--shadow-combined)}50%{box-shadow:0 0 45px #ff5edccc}}.upgrade-selection-container{display:flex;gap:20px;width:100%;max-width:min(1200px,90vw);align-items:flex-start;justify-content:center}.upgrade-choices{display:flex;flex-direction:column;gap:clamp(12px,2vw,20px);flex:1;max-width:700px}.upgrade-choice-btn{padding:clamp(12px,2.5vw,20px) clamp(20px,4vw,40px);font-size:clamp(16px,3vw,24px);font-family:Courier New,monospace;background:var(--bg-panel);border:3px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;text-transform:uppercase;letter-spacing:clamp(1px,.4vw,3px);transition:all .2s;box-shadow:var(--shadow-electric-pink);pointer-events:all;width:100%}.upgrade-choice-btn:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--color-success);box-shadow:var(--shadow-combined);transform:scale(1.05)}.upgrade-choice-btn:disabled{opacity:.4;cursor:not-allowed}.upgrade-choice-card{text-align:left;width:100%;display:flex;gap:clamp(10px,2vw,15px);align-items:flex-start;flex-wrap:wrap}.upgrade-choice-content{flex:1;min-width:0}.upgrade-choice-rarity-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;gap:10px}.upgrade-choice-name{font-size:clamp(16px,2.5vw,20px);font-weight:700;letter-spacing:clamp(1px,.3vw,2px);color:#fff;margin-bottom:4px}.upgrade-choice-unit-type{font-size:clamp(10px,1.5vw,11px);background:var(--bg-panel);padding:3px 8px;border-radius:3px;border:1px solid var(--border-primary);letter-spacing:1px;white-space:nowrap;color:#fff}.upgrade-choice-icon{display:flex;flex-direction:column;justify-content:center;align-items:center;flex-shrink:0;gap:5px}.upgrade-choice-icon img{width:clamp(50px,10vw,80px);height:clamp(50px,10vw,80px);object-fit:contain;filter:drop-shadow(0 0 5px rgba(255,94,220,.3))}.upgrade-choice-unit-count{font-size:clamp(12px,2vw,14px);font-weight:700;color:#0f0;text-shadow:0 0 5px rgba(0,255,0,.5);letter-spacing:1px}.upgrade-choice-level{font-size:clamp(12px,2vw,14px);color:#fff;margin-bottom:4px}.upgrade-choice-desc{font-size:clamp(13px,2.2vw,16px);line-height:1.4;letter-spacing:.5px;color:#fff}.upgrade-choice-stat{font-size:clamp(16px,3vw,24px);letter-spacing:clamp(1px,.4vw,3px)}.skip-btn{padding:clamp(10px,2vw,15px) clamp(20px,4vw,30px);font-size:clamp(14px,2.5vw,20px);font-family:Courier New,monospace;background:#6464004d;border:2px solid var(--color-warning);color:var(--color-warning);cursor:pointer;text-transform:uppercase;letter-spacing:clamp(1px,.3vw,2px);transition:all .2s;pointer-events:all;margin:5px}.skip-btn:hover:not(:disabled){background:#96960080;border-color:var(--color-bright-orange);transform:scale(1.05)}.skip-btn:disabled{opacity:.4;cursor:not-allowed}.upgrade-actions-panel{display:flex;flex-direction:column;gap:15px;min-width:250px;max-width:280px;background:#2a003599;border:2px solid var(--border-primary);padding:20px;border-radius:8px;box-shadow:0 0 20px #ff5edc4d;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);align-self:stretch}.cash-display{background:var(--bg-panel);border:2px solid #00ff00;padding:15px;border-radius:8px;text-align:center;box-shadow:0 0 15px #0f06}.cash-label{font-size:14px;color:#fff;letter-spacing:2px;margin-bottom:8px;text-shadow:0 0 8px rgba(255,255,255,.6)}.cash-value{font-size:32px;font-weight:700;color:#0f0;letter-spacing:2px;text-shadow:0 0 15px rgba(0,255,0,.8)}.action-btn{display:flex;flex-direction:column;align-items:center;gap:8px;padding:15px;font-family:Courier New,monospace;background:var(--bg-panel);border:3px solid var(--border-primary);color:#fff;cursor:pointer;text-transform:uppercase;letter-spacing:2px;transition:all .2s;box-shadow:var(--shadow-electric-pink);pointer-events:all;border-radius:8px;position:relative}.action-btn-icon{font-size:32px;filter:drop-shadow(0 0 8px rgba(255,255,255,.6))}.action-btn-text{font-size:18px;font-weight:700;letter-spacing:2px;color:#fff;text-shadow:0 0 10px rgba(255,255,255,.5)}.action-btn-cost,.action-btn-reward{font-size:16px;color:#fff;text-shadow:0 0 10px rgba(255,170,0,.8)}.action-btn:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--color-success);box-shadow:var(--shadow-combined);transform:translateY(-2px)}.action-btn:disabled{opacity:.4;cursor:not-allowed}.reroll-btn{border-color:#fa0;box-shadow:0 0 15px #fa06}.reroll-btn:hover:not(:disabled){border-color:gold;box-shadow:0 0 25px #ffd70099}.skip-btn-redesign{border-color:var(--color-warning);box-shadow:0 0 15px #ffd70066}.skip-btn-redesign:hover:not(:disabled){border-color:var(--color-bright-orange);box-shadow:0 0 25px #ff8c0099}@media (max-width: 1024px){.upgrade-selection-container{flex-direction:column;align-items:center}.upgrade-actions-panel{order:-1;width:100%;max-width:700px;flex-direction:row;justify-content:space-between;padding:15px;gap:10px}.cash-display,.action-btn{flex:1 1 0;min-width:0}.cash-value{font-size:24px}}@media (max-width: 768px){.planning-phase-screen{padding:15px}.upgrade-choices{width:100%;max-width:100%}.upgrade-choice-btn{padding:clamp(10px,2vw,15px)}.upgrade-choice-card{flex-direction:row;align-items:center;text-align:left;width:100%;gap:12px}.upgrade-choice-icon{flex-shrink:0;width:60px;height:auto;gap:3px}.upgrade-choice-icon img{width:60px;height:60px}.upgrade-choice-unit-count{font-size:12px}.upgrade-choice-content{flex:1;min-width:0}.upgrade-choice-rarity-row{margin-bottom:4px;gap:8px}.upgrade-choice-name{font-size:clamp(14px,3vw,18px);margin-bottom:4px}.upgrade-choice-unit-type{font-size:clamp(10px,1.8vw,12px)}.upgrade-choice-level{font-size:clamp(11px,2vw,13px)}.upgrade-choice-desc{font-size:clamp(12px,2.2vw,14px)}.upgrade-choice-stat{font-size:clamp(14px,3vw,20px)}.upgrade-actions-panel{flex-direction:row;gap:8px;padding:12px}.cash-display{flex:1 1 0;min-width:0;padding:10px 8px}.cash-label{font-size:11px;margin-bottom:6px}.cash-value{font-size:18px}.action-btn{flex:1 1 0;min-width:0;padding:10px 6px;gap:4px}.action-btn-icon{font-size:22px}.action-btn-text{font-size:12px;letter-spacing:1px}.action-btn-cost,.action-btn-reward{font-size:12px}}@media (max-width: 480px){.planning-phase-screen{padding:10px}.upgrade-choices{width:100%;gap:8px}.upgrade-choice-btn{padding:10px}.upgrade-choice-card{flex-direction:row;gap:10px}.upgrade-choice-icon{flex-shrink:0;width:50px;height:auto;gap:2px}.upgrade-choice-icon img{width:50px;height:50px}.upgrade-choice-unit-count{font-size:10px}.upgrade-choice-rarity{font-size:9px;padding:2px 6px}.upgrade-choice-name{font-size:13px}.upgrade-choice-unit-type{font-size:9px;padding:2px 6px}.upgrade-choice-level{font-size:10px}.upgrade-choice-desc{font-size:11px;line-height:1.3}.upgrade-choice-stat{font-size:14px}.phase-subtitle{margin:5px 10px 20px}.first-round-banner{margin:10px 5px 15px;padding:8px 15px}.upgrade-actions-panel{flex-direction:row;padding:10px;gap:6px}.cash-display{flex:1 1 0;min-width:0;padding:8px 4px}.cash-label{font-size:9px;margin-bottom:4px}.cash-value{font-size:16px}.action-btn{flex:1 1 0;min-width:0;padding:8px 4px;gap:3px}.action-btn-icon{font-size:18px}.action-btn-text{font-size:10px;letter-spacing:.5px}.action-btn-cost,.action-btn-reward{font-size:11px}}@media (max-height: 600px){.planning-phase-screen h1{margin:10px 0 5px}.phase-timer{margin:5px 0}.phase-subtitle{margin:5px 10px 15px}.upgrade-choices{margin-bottom:15px;gap:8px}.first-round-banner{margin:10px 5px}}.phase-banner{position:absolute;top:120px;left:50%;transform:translate(-50%);z-index:90;pointer-events:none}.phase-info{font-size:20px;font-weight:700;letter-spacing:4px;padding:10px 30px;background:#000c;border:2px solid var(--border-primary);color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-electric-pink)}@keyframes pulse{0%,to{opacity:1}50%{opacity:.7}}.planning-with-income-container{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:flex-end;gap:15px;max-height:85vh;max-width:min(1400px,95vw);z-index:300;pointer-events:all}.planning-row{display:flex;gap:20px;width:100%}.planning-interface{width:800px;max-width:100%;max-height:85vh;background:#000;border:3px solid var(--border-primary);box-shadow:var(--shadow-combined);pointer-events:all;display:flex;flex-direction:column;flex:1}.players-income-panel{display:flex;flex-direction:column;gap:0;min-width:250px;max-width:300px;max-height:85vh;background:#2a003599;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:2px solid var(--color-electric-pink);box-shadow:0 0 20px #ff5edc66;overflow:hidden}.income-panel-header{padding:15px;background:#2a0035e6;border-bottom:2px solid var(--color-electric-pink);font-size:18px;font-weight:700;letter-spacing:2px;text-align:center;color:#fff;text-shadow:0 0 10px rgba(255,94,220,.8)}.income-panel-content{display:flex;flex-direction:column;gap:10px;padding:15px;overflow-y:auto;overflow-x:hidden;flex:1}.planning-header{display:flex;justify-content:space-around;padding:20px;background:var(--bg-panel);border-bottom:2px solid var(--border-primary)}.planning-header-compact{display:flex;align-items:center;gap:8px;padding:10px 15px;background:var(--bg-panel);border-bottom:2px solid var(--border-primary);flex-wrap:nowrap}.resource-display{display:flex;gap:10px;align-items:center}.resource-label{font-size:16px;font-weight:700;letter-spacing:1px;color:var(--color-electric-pink)}.resource-value{font-size:20px;font-weight:700;color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink)}.resource-separator{font-size:18px;color:var(--border-primary);margin:0 2px}.income-upgrade-btn-compact{padding:6px 12px;font-size:13px;font-weight:700;letter-spacing:.5px;background:#0009;border:2px solid var(--color-bright-orange);color:var(--color-bright-orange);cursor:pointer;transition:all .3s ease;text-transform:uppercase;white-space:nowrap}.income-upgrade-btn-compact:hover:not(:disabled){background:linear-gradient(90deg,#ff5edc,#f93);border-color:var(--color-bright-orange);color:var(--text-glow);box-shadow:0 0 20px #f939;transform:scale(1.05)}.income-upgrade-btn-compact:disabled{opacity:.4;cursor:not-allowed;border-color:#666;color:#666}.income-upgrade-btn{padding:8px 16px;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:1px;background:var(--bg-panel);border:2px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .2s;text-transform:uppercase}.income-upgrade-btn:hover:not(:disabled){background:var(--gradient-button-hover);box-shadow:var(--shadow-electric-pink);transform:scale(1.05)}.income-upgrade-btn:disabled{opacity:.4;cursor:not-allowed}.planning-tabs{display:flex;border-bottom:2px solid var(--border-primary);overflow-x:auto;overflow-y:visible;flex-shrink:0}.tab-btn{flex:1;min-width:70px;padding:15px 10px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:#2a00354d;border:none;border-right:1px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center}.tab-btn:last-child{border-right:none}.tab-btn:hover{background:var(--bg-panel)}.tab-btn.active{background:var(--gradient-button-hover);box-shadow:inset 0 0 15px #ff5edc4d}.tab-icon{width:50px;height:50px;max-width:100%;object-fit:contain;filter:brightness(0) saturate(100%) invert(67%) sepia(95%) saturate(426%) hue-rotate(62deg) brightness(102%) contrast(101%);transition:all .2s;flex-shrink:0}.tab-btn:hover .tab-icon{filter:brightness(0) saturate(100%) invert(87%) sepia(95%) saturate(626%) hue-rotate(62deg) brightness(102%) contrast(101%)}.tab-btn.active .tab-icon{filter:brightness(0) saturate(100%) invert(87%) sepia(95%) saturate(626%) hue-rotate(62deg) brightness(112%) contrast(101%);transform:scale(1.1)}.tab-content{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px}.tab-unit-count{font-size:14px;font-weight:700;color:#0f0;text-shadow:0 0 5px rgba(0,255,0,.5);letter-spacing:1px}.planning-content{flex:1;overflow-y:auto;padding:0 20px 20px}.tab-panel{display:flex;flex-direction:column;height:100%;position:relative;padding-top:20px}.unit-header-sticky{position:sticky;top:0;background:#000;z-index:10;padding-bottom:15px}.unit-header-sticky .buy-unit-btn{width:100%;justify-self:stretch}.unit-header{display:flex;flex-direction:column;align-items:center;padding-bottom:15px;padding-top:0;gap:10px}.unit-content-scrollable{flex:1;overflow-y:auto;overflow-x:hidden}.unit-header h2:only-child{grid-column:1 / -1;text-align:center}.unit-info{display:flex;flex-direction:column;gap:4px}.unit-header h2{margin:0;font-size:24px;letter-spacing:3px;color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink);text-align:left}.unit-description{font-size:12px;color:#fff;font-style:italic;letter-spacing:1px;text-align:left}.unit-traits{font-size:12px;color:var(--color-warning);font-weight:700;letter-spacing:1px;text-align:left;text-shadow:0 0 8px rgba(255,153,51,.6);margin-top:2px}.unit-count{font-size:18px;font-weight:700;color:var(--color-electric-pink);text-align:center}.unit-count-coming-soon{font-size:18px;font-style:italic;color:#888}.upgrades-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.stats-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:6px;padding:16px;background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:4px;box-shadow:0 0 15px #ff5edc33}.stats-grid h3{grid-column:1 / -1;margin:0 0 10px;font-size:18px;font-weight:700;letter-spacing:3px;color:var(--color-electric-pink);text-align:center;text-shadow:var(--shadow-electric-pink)}.stat-item-with-bar{display:flex;flex-direction:column;gap:6px;padding:8px}.stat-header{display:flex;justify-content:space-between;align-items:baseline}.stat-label{font-size:14px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-transform:uppercase;text-shadow:0 0 8px rgba(255,94,220,.5)}.stat-value{font-size:18px;font-weight:700;color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink)}.stat-bonus{font-size:14px;color:var(--color-success);text-shadow:0 0 8px rgba(0,255,179,.8)}.stat-bar-container{width:100%;height:8px;background:#00000080;border:1px solid var(--border-primary);border-radius:4px;overflow:hidden;position:relative}.stat-bar-base{position:absolute;left:0;top:0;height:100%;background:var(--color-electric-pink)}.stat-bar-bonus{position:absolute;top:0;height:100%;background:var(--color-warning);box-shadow:0 0 10px #f93c;animation:pulse-orange 2s ease-in-out infinite}@keyframes pulse-orange{0%,to{opacity:.8}50%{opacity:1}}.upgrade-item{display:flex;flex-direction:column;gap:8px;padding:12px;background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:4px}.upgrade-header{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:4px}.upgrade-label{font-size:14px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-transform:uppercase}.upgrade-value{font-size:18px;font-weight:700;color:var(--color-electric-pink);text-shadow:var(--shadow-electric-pink)}.upgrade-btn{padding:10px;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:1px;background:var(--bg-panel);border:2px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .2s;text-transform:uppercase}.upgrade-btn:hover:not(:disabled){background:var(--gradient-button-hover);box-shadow:var(--shadow-electric-pink);transform:scale(1.05)}.upgrade-btn:disabled{opacity:.4;cursor:not-allowed}.buy-unit-btn{padding:12px 20px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:var(--gradient-button-hover);border:3px solid var(--border-primary);color:#fff;cursor:pointer;transition:all .2s;text-transform:uppercase;box-shadow:var(--shadow-electric-pink);justify-self:end}.buy-unit-btn:hover:not(:disabled){background:var(--gradient-panel);box-shadow:var(--shadow-combined);transform:scale(1.05)}.buy-unit-btn:disabled{opacity:.4;cursor:not-allowed}.income-section{margin-top:20px;padding-top:20px;border-top:2px solid var(--border-primary)}.income-btn{width:100%;padding:15px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:#6464004d;border:2px solid #ffff00;color:#fff;cursor:pointer;transition:all .2s;text-transform:uppercase}.income-btn:hover:not(:disabled){background:#96960080;box-shadow:0 0 15px #ffff0080}.income-btn:disabled{opacity:.4;cursor:not-allowed}.ability-items-section{margin-top:20px;margin-bottom:20px}.ability-items-section h3{margin:0 0 15px;font-size:18px;letter-spacing:3px;color:var(--color-electric-pink);text-align:center}.ability-items-list{display:flex;flex-direction:column;gap:10px}.ability-item-display{padding:12px;background:var(--bg-panel);border:2px solid var(--border-primary);border-radius:4px}.ability-item-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:4px}.ability-item-name{font-size:16px;font-weight:700;color:var(--color-electric-pink);letter-spacing:2px}.ability-item-unit-type{font-size:11px;color:var(--text-secondary);background:var(--bg-panel);padding:2px 8px;border-radius:3px;border:1px solid var(--border-primary);letter-spacing:1px}.ability-item-level{font-size:12px;color:var(--text-secondary);margin-bottom:6px}.ability-item-desc{font-size:13px;color:#cfc;line-height:1.4}.ability-item-rarity{font-size:11px;font-weight:700;letter-spacing:1px;margin-bottom:4px;text-shadow:0 0 8px currentColor}.upgrade-choice-rarity{font-size:clamp(10px,1.5vw,11px);font-weight:700;letter-spacing:1px;margin-bottom:4px;text-shadow:0 0 10px currentColor;text-align:left;padding:3px 8px;border-radius:3px;border:1px solid;display:inline-block;width:fit-content}.no-items-message{text-align:center;font-size:14px;color:var(--text-secondary);font-style:italic;padding:15px}.ready-btn{padding:10px 30px;font-size:18px;font-weight:700;letter-spacing:2px;background:var(--gradient-panel);color:#fff;border:3px solid var(--border-primary);cursor:pointer;transition:all .3s ease;text-shadow:var(--shadow-electric-pink);box-shadow:var(--shadow-electric-pink);pointer-events:auto;font-family:Courier New,monospace}.ready-btn:hover:not(:disabled){background:var(--gradient-button-hover);border-color:var(--border-primary);box-shadow:var(--shadow-combined);transform:scale(1.05)}.ready-btn:disabled{opacity:.5;cursor:not-allowed}.ready-btn.ready-active{background:var(--gradient-button-hover);border-color:var(--border-primary);box-shadow:var(--shadow-combined);animation:pulse-glow 1.5s ease-in-out infinite}@keyframes pulse-glow{0%,to{box-shadow:var(--shadow-combined)}50%{box-shadow:0 0 40px #ff5edccc}}.leave-game-container{position:absolute;top:95px;right:20px;z-index:101;pointer-events:all}.leave-game-btn{padding:10px 20px;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:2px;background:#000000d9;border:2px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .3s ease;box-shadow:var(--shadow-electric-pink);text-transform:uppercase}.leave-game-btn:hover{background:linear-gradient(90deg,#ff5edc,#f93);border-color:var(--color-bright-orange);color:var(--text-glow);box-shadow:0 0 25px #ff5edc66,0 0 50px #f933;transform:scale(1.05)}.ready-status-top-right{position:absolute;top:95px;right:20px;z-index:101;pointer-events:all;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 15px;background:#000000d9;border:2px solid var(--border-primary);box-shadow:var(--shadow-electric-pink)}@media (max-width: 768px){.leave-game-container{top:10px;right:10px}.leave-game-btn{padding:8px 12px;font-size:11px;letter-spacing:1px}.ready-status-top-right{top:10px;right:10px;padding:8px 12px;gap:8px}.planning-timer-center{top:10px;font-size:18px;padding:8px 15px;letter-spacing:2px;min-width:60px}.planning-header-compact{padding:10px 15px;gap:8px;font-size:14px}.resource-label{font-size:14px}.resource-value{font-size:18px}.resource-separator{font-size:16px}.income-upgrade-btn-compact{padding:6px 12px;font-size:12px}}.camera-controls-container{position:absolute;bottom:70px;left:20px;z-index:150;pointer-events:all}.reset-camera-btn{padding:10px 20px;font-family:Courier New,monospace;font-size:14px;font-weight:700;letter-spacing:2px;background:#000000d9;border:2px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .2s;box-shadow:var(--shadow-electric-pink);text-transform:uppercase}.reset-camera-btn:hover{background:var(--bg-panel);box-shadow:var(--shadow-combined);transform:scale(1.05)}.fast-mode-container{position:absolute;bottom:120px;left:20px;z-index:150;pointer-events:all;display:flex;gap:10px;align-items:center}.fast-mode-label{display:flex;align-items:center;gap:10px;padding:12px 20px;background:#000000d9;border:2px solid var(--border-primary);cursor:pointer;transition:all .2s;box-shadow:var(--shadow-electric-pink)}.fast-mode-label:hover{background:var(--bg-panel);box-shadow:var(--shadow-combined)}.fast-mode-checkbox{width:20px;height:20px;cursor:pointer;accent-color:var(--color-electric-pink)}.fast-mode-text{font-size:16px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-shadow:0 0 8px rgba(255,94,220,.6)}.pause-btn{padding:12px 20px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:#000000d9;border:2px solid var(--border-primary);color:var(--color-electric-pink);cursor:pointer;transition:all .2s;box-shadow:var(--shadow-electric-pink);text-transform:uppercase;text-shadow:0 0 8px rgba(255,94,220,.6)}.pause-btn:hover{background:var(--bg-panel);box-shadow:var(--shadow-combined);transform:scale(1.05)}.pause-btn.paused{border-color:var(--color-primary);color:var(--color-primary);box-shadow:0 0 10px #0ff9;text-shadow:0 0 8px rgba(0,255,255,.6);animation:pulse-cyan 1.5s ease-in-out infinite}@keyframes pulse-cyan{0%,to{box-shadow:0 0 10px #0ff9}50%{box-shadow:0 0 20px #00ffffe6}}.settings-icon-btn{position:absolute;bottom:20px;right:20px;z-index:150;pointer-events:all;padding:0;background:transparent;border:none;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center}.settings-icon-btn:hover{transform:scale(1.1)}.settings-icon-btn:hover svg path{stroke:#ff5edc;filter:drop-shadow(0 0 8px rgba(255,94,220,.8))}.settings-icon-btn svg{display:block}@media (max-width: 768px){.settings-icon-btn{bottom:15px;right:15px;padding:10px}.settings-icon-btn svg{width:28px;height:28px}}.settings-modal-overlay{position:fixed;inset:0;background:#000000d9;z-index:200;display:flex;align-items:center;justify-content:center;pointer-events:all;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.settings-modal{background:linear-gradient(135deg,#000000f2,#14001ef2);border:3px solid var(--color-electric-pink);border-radius:0;padding:30px;min-width:350px;max-width:90vw;box-shadow:0 0 30px #ff5edc99,inset 0 0 30px #ff5edc1a;display:flex;flex-direction:column;gap:20px}.settings-modal-title{font-family:Courier New,monospace;font-size:28px;font-weight:700;letter-spacing:4px;color:var(--color-electric-pink);text-align:center;text-shadow:0 0 10px rgba(255,94,220,.8);margin:0 0 10px;padding-bottom:15px;border-bottom:2px solid var(--color-electric-pink)}.settings-modal-btn{padding:15px 25px;font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;background:#000000d9;color:var(--color-electric-pink);border:2px solid var(--color-electric-pink);border-radius:0;cursor:pointer;transition:all .2s ease;box-shadow:0 0 10px #ff5edc66;text-transform:uppercase;text-shadow:0 0 8px rgba(255,94,220,.6)}.settings-modal-btn:hover{background:#ff5edc1a;box-shadow:0 0 15px #ff5edccc;transform:scale(1.02)}.settings-modal-btn.paused{border-color:var(--color-primary);color:var(--color-primary);box-shadow:0 0 10px #0ff9;text-shadow:0 0 8px rgba(0,255,255,.6)}.settings-modal-btn.paused:hover{background:#00ffff1a;box-shadow:0 0 15px #0ffc}.settings-modal-btn.leave-btn{border-color:#f44;color:#f44;box-shadow:0 0 10px #f446;text-shadow:0 0 8px rgba(255,68,68,.6)}.settings-modal-btn.leave-btn:hover{background:#ff44441a;box-shadow:0 0 15px #f44c}.settings-modal-btn.cancel-btn{border-color:#888;color:#ccc;box-shadow:0 0 10px #8886;text-shadow:0 0 8px rgba(204,204,204,.6)}.settings-modal-btn.cancel-btn:hover{background:#8888881a;box-shadow:0 0 15px #888c}.settings-modal-checkbox{display:flex;align-items:center;gap:12px;padding:15px;background:#00000080;border:2px solid var(--color-electric-pink);border-radius:0;cursor:pointer;transition:all .2s ease}.settings-modal-checkbox:hover{background:#ff5edc0d;box-shadow:0 0 10px #ff5edc66}.settings-modal-checkbox input[type=checkbox]{width:20px;height:20px;cursor:pointer;accent-color:var(--color-electric-pink)}.settings-modal-checkbox span{font-family:Courier New,monospace;font-size:16px;font-weight:700;letter-spacing:2px;color:var(--color-electric-pink);text-shadow:0 0 8px rgba(255,94,220,.6);text-transform:uppercase;flex:1}@media (max-width: 768px){.settings-modal{padding:25px;min-width:300px}.settings-modal-title{font-size:24px;letter-spacing:3px;padding-bottom:12px}.settings-modal-btn{padding:12px 20px;font-size:14px;letter-spacing:1.5px}.settings-modal-checkbox span{font-size:14px;letter-spacing:1.5px}}.debug-info{position:absolute;bottom:20px;left:20px;z-index:101;padding:10px 15px;background:#000000d9;border:2px solid var(--border-primary);color:var(--color-electric-pink);font-family:Orbitron,monospace;font-size:11px;text-shadow:0 0 5px rgba(255,94,220,.5);box-shadow:var(--shadow-electric-pink);min-width:200px}.debug-title{font-weight:700;font-size:12px;margin-bottom:5px;padding-bottom:5px;border-bottom:1px solid var(--border-primary)}.debug-line{margin:3px 0;font-family:monospace}@media (max-width: 1024px){.planning-with-income-container{flex-direction:column;max-width:98vw;gap:15px;top:50%;left:50%;transform:translate(-50%,-50%);padding:0 10px}.planning-interface{width:100%;max-width:100%}.players-income-panel{width:100%;max-width:100%;min-width:unset;max-height:300px}.planning-row{flex-direction:column;width:100%}}@media (max-width: 768px){.planning-with-income-container{max-width:98vw;max-height:92vh;gap:10px;padding:0 5px}.planning-interface{max-height:65vh;width:100%}.planning-header{flex-direction:column;gap:10px;padding:15px 10px;align-items:stretch}.resource-display{justify-content:space-between;width:100%}.resource-label{font-size:14px}.resource-value{font-size:18px}.income-upgrade-btn{padding:8px 12px;font-size:12px;white-space:nowrap}.planning-tabs{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;position:relative;z-index:10;flex-shrink:0}.tab-btn{padding:16px 8px;min-width:60px;flex-shrink:0;display:flex;align-items:center;justify-content:center}.tab-icon{width:55px;height:55px;flex-shrink:0}.tab-unit-count{font-size:12px}.planning-content{padding:15px 10px;position:relative;z-index:1}.unit-header{grid-template-columns:1fr;gap:8px;margin-bottom:20px;position:relative;padding-bottom:10px}.unit-info{text-align:center;margin-bottom:8px}.unit-header h2{font-size:20px;text-align:center;margin:0 0 8px}.unit-description{text-align:center;font-size:11px;line-height:1.3;margin:0 0 6px;padding:0 10px;word-wrap:break-word;overflow-wrap:break-word}.unit-traits{text-align:center;font-size:10px;line-height:1.3;margin:0 0 8px;padding:0 10px;word-wrap:break-word;overflow-wrap:break-word}.unit-count{font-size:16px;margin:8px 0}.buy-unit-btn{width:100%;justify-self:stretch;padding:15px;margin-top:15px;position:relative;z-index:10;clear:both}.stats-grid{grid-template-columns:1fr;gap:8px;padding:12px;margin-bottom:10px}.players-income-panel{max-height:200px}.income-panel-header{padding:10px;font-size:14px}.income-panel-content{padding:8px;gap:6px}}@media (max-width: 480px){.planning-with-income-container{max-width:100vw;max-height:94vh;gap:8px;padding:0}.planning-interface{max-height:60vh;border-left:none;border-right:none}.planning-header{padding:12px 8px;gap:8px}.resource-label{font-size:12px}.resource-value{font-size:16px}.income-upgrade-btn{padding:6px 10px;font-size:11px}.tab-btn{padding:8px 6px;min-width:50px}.tab-icon{width:35px;height:35px}.tab-unit-count{font-size:10px}.planning-content{padding:12px 8px}.unit-header{position:relative;margin-bottom:15px;padding-bottom:10px}.unit-info{margin-bottom:10px}.unit-header h2{font-size:17px;margin:0 0 6px}.unit-description{font-size:10px;line-height:1.3;margin:0 0 5px;padding:0 8px;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.unit-traits{font-size:9px;line-height:1.2;margin:0 0 8px;padding:0 8px;word-wrap:break-word;overflow-wrap:break-word;max-width:100%}.unit-count{margin:8px 0}.buy-unit-btn{padding:12px;font-size:14px;margin-top:15px;position:relative;z-index:10;clear:both}.stats-grid{padding:10px;margin-bottom:10px}.stat-label{font-size:12px}.stat-value{font-size:16px}.players-income-panel{max-height:180px;border-left:none;border-right:none}.income-panel-header{padding:8px;font-size:12px;letter-spacing:1px}.income-panel-content{padding:6px;gap:5px}}.income-gamble-overlay{position:fixed;inset:0;background:#000c;display:flex;justify-content:center;align-items:center;z-index:10000;animation:fadeIn .3s ease-in}.income-gamble-popup{background:var(--gradient-panel);border:3px solid var(--border-primary);border-radius:0;padding:40px;min-width:400px;min-height:300px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:30px;animation:popupBounce .5s cubic-bezier(.68,-.55,.265,1.55);box-shadow:var(--shadow-electric-pink-strong)}@keyframes popupBounce{0%{transform:scale(.3);opacity:0}50%{transform:scale(1.05)}70%{transform:scale(.95)}to{transform:scale(1);opacity:1}}.gamble-chest-animation{position:relative;width:120px;height:120px}.chest{position:relative;width:100%;height:100%}.chest-body{position:absolute;bottom:0;left:10%;width:80%;height:60%;background:linear-gradient(135deg,var(--color-deep-purple) 0%,var(--bg-panel) 100%);border:3px solid var(--color-bright-orange);border-radius:5px;box-shadow:0 4px 8px #0000004d}.chest-lid{position:absolute;top:30%;left:10%;width:80%;height:40%;background:linear-gradient(135deg,var(--color-soft-violet) 0%,var(--color-deep-purple) 100%);border:3px solid var(--color-bright-orange);border-radius:5px 5px 0 0;transform-origin:bottom center;transition:transform .5s ease-out;box-shadow:0 -2px 8px #0000004d}.chest-open .chest-lid{transform:rotateX(-120deg);animation:chestShake .5s ease-out}@keyframes chestShake{0%,to{transform:rotateX(-120deg)}25%{transform:rotateX(-110deg)}75%{transform:rotateX(-130deg)}}.chest-glow{position:absolute;top:40%;left:50%;transform:translate(-50%,-50%);width:80px;height:80px;border-radius:50%;opacity:0;animation:glowPulse 1s ease-out forwards;filter:blur(15px)}@keyframes glowPulse{0%{opacity:0;transform:translate(-50%,-50%) scale(.5)}50%{opacity:.8;transform:translate(-50%,-50%) scale(1.2)}to{opacity:.6;transform:translate(-50%,-50%) scale(1)}}.gamble-result-container{width:100%;display:flex;justify-content:center}.gamble-result{text-align:center}.result-income{font-size:72px;font-weight:700;font-family:Courier New,monospace;text-shadow:0 0 20px currentColor;margin-bottom:10px}.rolling .result-income{animation:numberRoll .1s infinite}@keyframes numberRoll{0%,to{transform:translateY(0) scale(1)}50%{transform:translateY(-5px) scale(1.1)}}.revealed .result-income{animation:resultReveal .6s cubic-bezier(.68,-.55,.265,1.55)}@keyframes resultReveal{0%{transform:scale(.5);opacity:0}50%{transform:scale(1.2)}to{transform:scale(1);opacity:1}}.result-label{font-size:28px;font-weight:700;text-transform:uppercase;letter-spacing:3px;margin-bottom:15px;animation:labelSlideIn .5s ease-out .3s both}@keyframes labelSlideIn{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.result-new-income{font-size:18px;color:var(--text-secondary);font-weight:700;letter-spacing:1px;animation:labelSlideIn .5s ease-out .5s both}.disconnect-modal-overlay{position:fixed;inset:0;background:#1a0020d9;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;z-index:9999;animation:fadeIn .3s ease-out}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.disconnect-modal{background:linear-gradient(135deg,#2a0035,#400060);border:3px solid #FF5EDC;border-radius:12px;padding:30px;min-width:400px;max-width:500px;box-shadow:0 0 30px #ff5edc99,0 0 60px #ff5edc4d,0 8px 32px #0009;animation:modalSlideIn .4s cubic-bezier(.34,1.56,.64,1);font-family:Courier New,monospace}@keyframes modalSlideIn{0%{transform:translateY(-50px) scale(.9);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}.disconnect-modal-header{color:#f93;font-size:28px;letter-spacing:4px;text-align:center;margin-bottom:25px;text-shadow:0 0 20px #FF9933,0 0 40px #FF5EDC;animation:headerGlow 2s ease-in-out infinite}@keyframes headerGlow{0%,to{text-shadow:0 0 20px #FF9933,0 0 40px #FF5EDC}50%{text-shadow:0 0 30px #FF9933,0 0 60px #FF5EDC}}.disconnect-modal-body{text-align:center}.disconnect-player-name{color:#ff5edc;font-size:24px;letter-spacing:3px;margin-bottom:10px;text-shadow:0 0 15px #FF5EDC;animation:namePulse 1.5s ease-in-out infinite}@keyframes namePulse{0%,to{opacity:1;text-shadow:0 0 15px #FF5EDC}50%{opacity:.7;text-shadow:0 0 25px #FF5EDC}}.disconnect-message{color:#fff7e6;font-size:16px;letter-spacing:2px;margin-bottom:30px}.disconnect-timer-container{margin:25px 0;padding:20px;background:#0006;border:2px solid #FF5EDC;border-radius:8px;box-shadow:inset 0 0 20px #ff5edc33,0 0 15px #ff5edc4d}.disconnect-timer-label{color:#c97cff;font-size:13px;letter-spacing:2px;margin-bottom:10px;text-transform:uppercase}.disconnect-timer{color:#00ffb3;font-size:48px;letter-spacing:4px;font-weight:700;text-shadow:0 0 25px #00FFB3,0 0 50px #00FFB3;animation:timerPulse 1s ease-in-out infinite}@keyframes timerPulse{0%,to{transform:scale(1);text-shadow:0 0 25px #00FFB3,0 0 50px #00FFB3}50%{transform:scale(1.05);text-shadow:0 0 35px #00FFB3,0 0 70px #00FFB3}}.disconnect-status{color:gold;font-size:14px;letter-spacing:2px;margin-top:20px;text-transform:uppercase;animation:statusBlink 1.5s ease-in-out infinite}@keyframes statusBlink{0%,to{opacity:1}50%{opacity:.4}}@media (max-width: 600px){.disconnect-modal{min-width:300px;padding:20px}.disconnect-modal-header{font-size:22px;letter-spacing:3px}.disconnect-player-name{font-size:20px}.disconnect-timer{font-size:36px}}.game-world{width:100vw;height:100vh;position:relative;background:var(--bg-dark);overflow:hidden}*{margin:0;padding:0;box-sizing:border-box}body{overflow-x:hidden;overflow-y:auto;background:var(--bg-dark)}.app{width:100vw;min-height:100vh}
