html,body,#app{width:100%;height:100%;margin:0;overflow:hidden}body{background-color:#1a1a1a;color:#fff;font-family:"Press Start 2P",cursive}#app{display:flex;justify-content:center;align-items:center;text-align:center}#game-title{font-size:3rem;color:#ffde00;text-shadow:4px 4px 0px #ff0000;margin-bottom:2rem}#selection-screen h2{font-size:1.5rem;color:#0f0;margin-bottom:1rem}.selection-box{display:flex;justify-content:center;align-items:center;gap:20px;margin-bottom:2rem}.arrow-btn{font-family:"Press Start 2P",cursive;font-size:2rem;padding:10px 20px;background-color:#0f0;color:#1a1a1a;border:4px solid #fff;cursor:pointer;box-shadow:4px 4px #000;transition:all .1s ease}.arrow-btn:hover{background-color:#0c0}.arrow-btn:active{transform:translate(2px,2px);box-shadow:2px 2px #000}.character-card{border:4px solid #fff;padding:10px;width:120px;height:180px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;background-color:#ffffff1a}.character-card img{width:64px;height:64px;image-rendering:pixelated}.character-info{height:50px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.character-info p{margin:0;padding:0;text-align:center}#champion-name,#weapon-name{font-size:.8rem;height:auto}#champion-stats,#weapon-stats{font-size:.75rem;color:#b0e0e6;text-transform:capitalize;line-height:1.2}button{font-family:"Press Start 2P",cursive;font-size:1.2rem;padding:15px 30px;background-color:red;color:#fff;border:4px solid #fff;cursor:pointer;box-shadow:4px 4px #000;transition:all .1s ease}button:hover{background-color:#c00}button:active{transform:translate(2px,2px);box-shadow:2px 2px #000}button:disabled{background-color:#666;cursor:not-allowed;box-shadow:none;transform:none}#difficulty-selection{margin-bottom:2rem}.difficulty-buttons{display:flex;justify-content:center;gap:10px}.difficulty-btn{font-size:.8rem;padding:10px 15px;background-color:#444;border-color:#888}.difficulty-btn.active{background-color:#0f0;color:#1a1a1a;border-color:#fff}.hidden{display:none!important}#game-container{position:absolute;top:0;left:0;width:100%;height:100%}canvas{background-color:#000;display:block;width:100%;height:100%}#hud{position:absolute;top:0;left:0;width:100%;z-index:10;display:flex;justify-content:space-between;align-items:center;padding:10px 20px;background-color:#1e1e1eb3;border-bottom:4px solid #fff;box-sizing:border-box}.center-hud{text-align:center}#game-title-hud{font-size:1.5rem;color:#ffde00;text-shadow:2px 2px 0px #ff0000;margin:0 0 5px}.health-bar-container{display:flex;flex-direction:column;align-items:center}.health-bar-container label{font-size:.8rem;margin-bottom:5px}.health-bar{width:200px;height:20px;background-color:#111;border:2px solid #fff;position:relative;box-sizing:border-box;box-shadow:inset 0 0 5px #00000080}.health-bar-fill{height:100%;background-color:#0f0;transition:width .2s ease-in-out;box-shadow:0 0 5px #0f0}#enemy-health-bar .health-bar-fill{background-color:red;box-shadow:0 0 5px red}.health-bar-ticks{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}.health-bar-text{position:absolute;width:100%;text-align:center;top:50%;left:50%;transform:translate(-50%,-50%);font-size:.7rem;color:#fff;text-shadow:1px 1px 1px black}#timer-container{font-size:1.2rem}#ability-bar{position:absolute;bottom:0;left:0;width:100%;display:flex;justify-content:space-around;background:#000000b3;padding:10px 0;border-top:2px solid #fff;font-size:.8rem;box-sizing:border-box}#controls-info{position:absolute;bottom:70px;left:20px;background:#1e1e1eb3;padding:10px 15px;border:2px solid #fff;font-size:.8rem;text-align:left;z-index:10;line-height:1.6}#game-over-screen{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);background:#0a0a0ff2;padding:24px;border:4px solid #ff0000;z-index:100;max-width:680px;width:92%;max-height:88vh;overflow-y:auto;box-shadow:0 10px 40px #000000e6;border-radius:8px;box-sizing:border-box}#game-over-screen h2{font-size:1.8rem;color:red;margin:0 0 15px}#game-over-screen.win{border-color:#0f0}#game-over-screen.win h2{color:#0f0}.game-over-stats{display:flex;justify-content:center;gap:20px;background:#ffffff0d;padding:10px 15px;border-radius:6px;margin-bottom:15px;font-size:.8rem}.game-over-stats p{margin:0}.game-over-actions{display:flex;justify-content:center;gap:15px;margin-top:15px}.menu-actions{display:flex;justify-content:center;gap:15px;margin-top:20px;flex-wrap:wrap}.primary-btn,.secondary-btn,.post-btn{font-family:"Press Start 2P",cursive;font-size:.8rem;padding:12px 20px;cursor:pointer;border:3px solid #fff;box-shadow:3px 3px #000;transition:all .1s ease;border-radius:4px}.primary-btn{background-color:#0f0;color:#1a1a1a}.primary-btn:hover{background-color:#0c0;transform:translate(-1px,-1px)}.secondary-btn{background-color:#3b82f6;color:#fff}.secondary-btn:hover{background-color:#2563eb;transform:translate(-1px,-1px)}.post-btn{background-color:#f59e0b;color:#111}.post-btn:hover{background-color:#d97706}.post-btn:disabled{background-color:#555;color:#888;cursor:not-allowed;border-color:#666}.desktop-notice{position:fixed;top:12px;left:50%;transform:translate(-50%);z-index:9999;pointer-events:auto;transition:opacity .3s ease,transform .3s ease}.desktop-notice.hidden{display:none!important}.desktop-notice-pill{display:flex;align-items:center;gap:12px;background:#0f1219f2;border:2px solid #ffde00;border-radius:8px;padding:8px 16px;box-shadow:0 4px 20px #000c,0 0 10px #ffde0033;color:#f8fafc;font-size:.65rem;line-height:1.4;text-align:left}.desktop-notice-icon{font-size:1.1rem}.desktop-notice-dismiss{font-family:"Press Start 2P",cursive;font-size:.55rem;background:#ffde00;color:#111;border:none;padding:5px 8px;border-radius:4px;cursor:pointer;font-weight:700;white-space:nowrap}.desktop-notice-dismiss:hover{background:#ffd000}.post-card{background:#ffffff0d;border:2px dashed #f59e0b;padding:12px;border-radius:6px;margin-bottom:15px}.post-form{display:flex;justify-content:center;gap:10px;align-items:center}#leaderboard-nickname{font-family:"Press Start 2P",cursive;font-size:.75rem;padding:10px;background:#111;color:#0f0;border:2px solid #fff;border-radius:4px;width:180px;text-transform:uppercase}#leaderboard-nickname:focus{outline:none;border-color:#0f0;box-shadow:0 0 8px #0f06}.status-msg{margin-top:8px;font-size:.65rem;color:#0f0}.status-msg.error{color:#ef4444}.game-over-leaderboard{margin-bottom:15px}.leaderboard-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.leaderboard-header h3{margin:0;font-size:1rem;color:#ffde00}.refresh-btn{background:none;border:1px solid #666;color:#fff;cursor:pointer;border-radius:4px;padding:4px 8px;font-size:.8rem}.refresh-btn:hover{background:#ffffff1a}.leaderboard-table-container{max-height:200px;overflow-y:auto;border:2px solid rgba(255,255,255,.2);border-radius:6px;background:#0009}.leaderboard-table{width:100%;border-collapse:collapse;font-size:.65rem;text-align:left}.leaderboard-table th{background:#ffffff1a;padding:8px 6px;border-bottom:1px solid #444;color:#94a3b8;position:sticky;top:0}.leaderboard-table td{padding:6px;border-bottom:1px solid rgba(255,255,255,.05)}.leaderboard-table tr:hover{background:#ffffff0d}.highlight-row{background:#f59e0b33!important;border:1px solid #f59e0b}.col-rank{font-weight:700;color:#ffde00;width:60px}.col-name{color:#fff;font-weight:700}.col-time{color:#38bdf8}.col-score{color:#4ade80;font-weight:700}.badge{padding:2px 5px;border-radius:3px;font-size:.55rem;font-weight:700}.win-badge{background:#0f0;color:#000}.lose-badge{background:#ef4444;color:#fff}.diff-easy{background:#3b82f6;color:#fff}.diff-normal{background:#10b981;color:#fff}.diff-hard{background:#f59e0b;color:#000}.diff-karen{background:#ec4899;color:#fff}.leaderboard-empty{padding:20px;color:#94a3b8;font-size:.7rem;text-align:center}.modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000d9;display:flex;justify-content:center;align-items:center;z-index:2000}.modal-backdrop.hidden{display:none!important}.modal-card{background:#11131a;border:4px solid #3b82f6;border-radius:8px;padding:24px;width:90%;max-width:640px;max-height:85vh;display:flex;flex-direction:column;box-shadow:0 10px 40px #000000e6,0 0 15px #3b82f64d}.modal-card-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.modal-card-header h2{font-size:1.2rem;color:#38bdf8;margin:0}.modal-close-btn{background:none;border:none;color:#94a3b8;font-size:1.2rem;cursor:pointer}.modal-close-btn:hover{color:#fff}.modal-card .leaderboard-table-container{max-height:50vh}.modal-footer{margin-top:15px;text-align:right}
