/* Deadshot.io Esports Tactical HUD & UI Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Teko:wght@500;700&family=Inter:wght@400;600;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    user-select: none;
    -webkit-user-select: none;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: #0b0e14;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

#game-container {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Red Damage Indicator Vignette */
#damage-vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    box-shadow: inset 0 0 100px 30px rgba(239, 68, 68, 0);
    transition: box-shadow 0.1s ease-out;
}

#damage-vignette.active {
    box-shadow: inset 0 0 120px 40px rgba(239, 68, 68, 0.75);
}

/* HUD Overlay */
#hud {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    display: none;
}

/* Crosshair */
#crosshair {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
}

.ch-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 4px #00f0ff;
}

.ch-line {
    position: absolute;
    background: #ffffff;
    box-shadow: 0 0 2px rgba(0,0,0,0.8);
    transition: transform 0.05s ease-out;
}

.ch-top { top: 0; left: 11px; width: 2px; height: 6px; transform: translateY(calc(-1 * var(--ch-gap, 0px))); }
.ch-bottom { bottom: 0; left: 11px; width: 2px; height: 6px; transform: translateY(var(--ch-gap, 0px)); }
.ch-left { top: 11px; left: 0; width: 6px; height: 2px; transform: translateX(calc(-1 * var(--ch-gap, 0px))); }
.ch-right { top: 11px; right: 0; width: 6px; height: 2px; transform: translateX(var(--ch-gap, 0px)); }

/* Under-Crosshair Action Status (Light text, visible under crosshair) */
.crosshair-status {
    position: absolute;
    top: calc(50% + 22px);
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2.2px;
    color: rgba(226, 232, 240, 0.48);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.95);
    pointer-events: none;
    white-space: nowrap;
    user-select: none;
    z-index: 50;
    transition: opacity 0.12s ease-out;
}

/* Hitmarker */
#hitmarker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 20px;
    height: 20px;
    pointer-events: none;
    opacity: 0;
    color: #ffffff;
    transition: opacity 0.08s ease-out, transform 0.08s ease-out;
}

#hitmarker::before, #hitmarker::after {
    content: '';
    position: absolute;
    background: currentColor;
    box-shadow: 0 0 4px currentColor;
    border-radius: 1px;
}

#hitmarker::before {
    top: 0; left: 9px; width: 2px; height: 20px;
}
#hitmarker::after {
    top: 9px; left: 0; width: 20px; height: 2px;
}

#hitmarker.active {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(45deg) scale(1.15);
}

/* Fullscreen Sniper Scope */
#sniper-scope {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: none;
    z-index: 8;
    background: radial-gradient(circle at center, transparent 38%, rgba(0,0,0,0.96) 42%, #000000 100%);
}

#sniper-scope.active {
    display: block;
}

.scope-line-h {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(239, 68, 68, 0.85);
}

.scope-line-v {
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: rgba(239, 68, 68, 0.85);
}

.scope-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    border: 1px solid rgba(239, 68, 68, 0.9);
    border-radius: 50%;
}

/* Radar / Mini-map */
#radar-container {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 144px;
    height: 144px;
    border-radius: 50%;
    border: 2px solid rgba(6, 182, 212, 0.6);
    box-shadow: 0 0 16px rgba(6, 182, 212, 0.3);
    background: rgba(8, 13, 26, 0.85);
    backdrop-filter: blur(4px);
    overflow: hidden;
    pointer-events: none;
}

#radar-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

/* Health & Shield (Bottom-Left) */
#player-stats {
    position: absolute;
    bottom: 28px;
    left: 28px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4);
    min-width: 240px;
}

.stat-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-icon {
    font-size: 16px;
    font-weight: 800;
    width: 24px;
    text-align: center;
}

.stat-icon.hp { color: #22c55e; }
.stat-icon.shield { color: #38bdf8; }

.stat-bar-bg {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.stat-bar-fill {
    height: 100%;
    width: 100%;
    border-radius: 6px;
    transition: width 0.15s ease-out;
}

#hp-bar { background: linear-gradient(90deg, #16a34a, #22c55e); }
#shield-bar { background: linear-gradient(90deg, #0284c7, #38bdf8); }

.stat-val {
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    line-height: 1;
    font-weight: 700;
    width: 36px;
    text-align: right;
}

/* Weapon & Ammo (Bottom-Right - Matching Deadshot.io HUD Card) */
#weapon-status {
    position: absolute;
    bottom: 28px;
    right: 28px;
    background: rgba(24, 26, 38, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 130px;
}

#weapon-name {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #94a3b8;
    margin-bottom: 2px;
    text-transform: uppercase;
}

#ammo-display {
    font-family: 'Teko', sans-serif;
    font-size: 52px;
    line-height: 0.9;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#ammo-display .mag {
    color: #00f0ff;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

#ammo-display .slash {
    color: #ffffff;
    font-size: 40px;
    opacity: 0.9;
    margin: 0 2px;
}

#ammo-display .reserve {
    font-size: 40px;
    color: #475569;
}

#reload-indicator {
    color: #f59e0b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: none;
    margin-top: 4px;
    animation: blink 0.6s infinite alternate;
}

@keyframes blink {
    from { opacity: 0.3; }
    to { opacity: 1; }
}

/* Killfeed (Top-Right) */
#killfeed {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.kill-entry {
    background: rgba(15, 23, 42, 0.85);
    border-left: 3px solid #ef4444;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    transition: opacity 0.4s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.kill-entry .killer { color: #38bdf8; }
.kill-entry .victim { color: #f87171; }
.kill-entry .hs-icon { color: #facc15; margin-left: 4px; }

/* Kill Banner (Top-Center) */
#kill-banner {
    position: absolute;
    top: 15%;
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    font-family: 'Teko', sans-serif;
    font-size: 46px;
    letter-spacing: 2px;
    color: #facc15;
    text-shadow: 0 0 20px rgba(250, 204, 21, 0.8), 0 4px 10px rgba(0,0,0,0.8);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#kill-banner.show {
    opacity: 1;
    transform: translateX(-50%) scale(1.1);
}

/* Match Score / Header */
#match-header {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    padding: 8px 24px;
    border-radius: 20px;
}

.match-stat {
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-stat span {
    color: #38bdf8;
    font-size: 28px;
    font-weight: 700;
}

/* ==========================================================================
   DEADSHOT.IO STYLE FULL 3D LOBBY MENU (Transparent UI, 3D Character View)
   ========================================================================== */

#lobby-menu {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 24px 14px;
    z-index: 25;
    pointer-events: none;
    background: transparent;
    user-select: none;
    overflow: hidden;
}

.lobby-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

.deadshot-logo {
    font-family: 'Teko', 'Impact', sans-serif;
    font-size: 72px;
    font-weight: 800;
    letter-spacing: 5px;
    color: #ffffff;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.95), 0 0 36px rgba(56, 189, 248, 0.45);
    margin: 0;
    line-height: 0.95;
}

.logo-crosshair {
    color: #38bdf8;
    font-size: 58px;
    vertical-align: middle;
    text-shadow: 0 0 16px #38bdf8;
}

.lobby-nav-bar {
    display: flex;
    gap: 36px;
    justify-content: center;
    align-items: center;
    margin-top: 6px;
}

.nav-tab {
    background: none;
    border: none;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #94a3b8;
    cursor: pointer;
    padding: 4px 14px;
    position: relative;
    transition: color 0.15s;
}

.nav-tab:hover {
    color: #ffffff;
}

.nav-tab.active {
    color: #ffffff;
}

.nav-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    border-radius: 2px;
}

/* Squad Party Slots */
.lobby-squad-container {
    display: flex;
    gap: 22px;
    justify-content: center;
    align-items: flex-end;
    margin-top: auto;
    margin-bottom: 24px;
    pointer-events: auto;
}

.squad-slot {
    width: 145px;
    height: 275px;
    background: rgba(15, 23, 42, 0.38);
    border: 1.5px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    backdrop-filter: blur(2px);
    transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.squad-slot:hover {
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(15, 23, 42, 0.52);
    transform: translateY(-2px);
}

.slot-plus {
    font-size: 44px;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 300;
    transition: color 0.2s, transform 0.2s;
}

.squad-slot:hover .slot-plus {
    color: #38bdf8;
    transform: scale(1.15);
}

.player-slot {
    border-color: rgba(56, 189, 248, 0.3);
    background: transparent;
}

.player-nameplate {
    position: absolute;
    top: -46px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(56, 189, 248, 0.5);
    border-radius: 6px;
    padding: 3px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

#lobby-player-name {
    background: transparent;
    border: none;
    outline: none;
    font-family: 'Teko', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    width: 120px;
    text-align: center;
}

#lobby-player-name:focus {
    border-bottom: 1px solid #38bdf8;
}

.nameplate-edit-icon {
    font-size: 13px;
    opacity: 0.75;
    cursor: pointer;
}

/* Bottom Action Deck */
.lobby-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    pointer-events: auto;
}

.action-top-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.btn-play-massive {
    width: 250px;
    height: 68px;
    background: linear-gradient(180deg, #3b82f6 0%, #1d4ed8 100%);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.6);
    transition: transform 0.1s, box-shadow 0.15s, background 0.15s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-play-massive:hover {
    background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.8);
}

.btn-play-massive:active {
    transform: translateY(1px);
}

.lobby-mode-card {
    width: 145px;
    height: 68px;
    background: linear-gradient(180deg, #ea580c 0%, #9a3412 100%);
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(234, 88, 12, 0.5);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(251, 146, 60, 0.4);
    transition: transform 0.1s, box-shadow 0.15s;
}

.lobby-mode-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(234, 88, 12, 0.7);
}

.mode-badge {
    background: #fbbf24;
    color: #000;
    font-family: 'Teko', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 1px 8px;
    border-radius: 3px;
    position: absolute;
    top: -2px;
    right: 6px;
    transform: rotate(3deg);
}

.mode-title {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-top: 6px;
}

.mode-timer {
    font-size: 11px;
    color: #fed7aa;
    font-weight: 500;
    margin-top: 2px;
}

.action-bottom-row {
    display: flex;
    gap: 12px;
}

.btn-sub-action {
    width: 120px;
    height: 40px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 5px;
    color: #e2e8f0;
    font-family: 'Teko', sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
    backdrop-filter: blur(4px);
}

.btn-sub-action:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: #38bdf8;
    color: #38bdf8;
}

/* Settings Modal */
#settings-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 14, 20, 0.78);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.settings-card {
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    width: 620px;
    max-width: 94%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 26px 30px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.85);
}

.settings-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    border-bottom: 1px solid #1e293b;
    padding-bottom: 10px;
}

.settings-header h2 {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    letter-spacing: 1.5px;
    color: #38bdf8;
    margin: 0;
}

.btn-close-modal {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.15s;
}

.btn-close-modal:hover {
    color: #ef4444;
}

.settings-section {
    margin-bottom: 20px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.settings-section h3 {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #94a3b8;
    margin: 0;
}

.btn-sub-reset {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    font-family: 'Teko', sans-serif;
    font-size: 15px;
    letter-spacing: 1px;
    padding: 2px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.btn-sub-reset:hover {
    background: #ef4444;
    color: #ffffff;
}

/* Keybinds Interactive Grid */
.keybinds-editor-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(30, 41, 59, 0.35);
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    max-height: 250px;
    overflow-y: auto;
}

.kb-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 6px 12px;
    transition: border-color 0.15s;
}

.kb-row:hover {
    border-color: rgba(56, 189, 248, 0.3);
}

.kb-action {
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #cbd5e1;
}

.kb-btn {
    min-width: 68px;
    height: 28px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid #38bdf8;
    border-radius: 4px;
    color: #38bdf8;
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 0 10px;
    transition: all 0.15s;
    text-align: center;
}

.kb-btn:hover {
    background: #38bdf8;
    color: #0f172a;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

.kb-btn.rebinding {
    background: #0284c7;
    color: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 14px #38bdf8;
    animation: kb-pulse 0.8s infinite alternate;
}

@keyframes kb-pulse {
    0% { transform: scale(1); box-shadow: 0 0 6px #38bdf8; }
    100% { transform: scale(1.05); box-shadow: 0 0 16px #38bdf8; }
}

.fixed-mouse-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    background: rgba(30, 41, 59, 0.25);
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================================================
   PC CALL OF DUTY: WARZONE FULLSCREEN ARMORY & GUNSMITH UI
   ========================================================================== */
#lobby-squad-view {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.warzone-armory-view {
    width: 100%;
    flex: 1;
    min-height: 0;
    height: calc(100vh - 80px);
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    pointer-events: auto;
    user-select: none;
    position: relative;
    animation: wzFadeIn 0.25s ease-out;
}

@keyframes wzFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Warzone Category Sub-Bar */
.wz-category-nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.70) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(56, 189, 248, 0.25);
    padding: 6px 14px;
    border-radius: 8px;
    backdrop-filter: blur(8px);
    margin-top: 4px;
    margin-bottom: 8px;
    gap: 10px;
    flex-shrink: 0;
}

.btn-wz-back {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    padding: 6px 14px;
    color: #cbd5e1;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}

.btn-wz-back:hover {
    background: #38bdf8;
    color: #0b0e14;
    box-shadow: 0 0 14px rgba(56, 189, 248, 0.5);
    border-color: #38bdf8;
}

.wz-key-tag {
    background: rgba(0, 0, 0, 0.45);
    padding: 1px 6px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-family: monospace;
}

.wz-category-pills {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.wz-pill {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 4px 14px;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.15s;
}

.wz-pill:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.1);
}

.wz-pill.active {
    color: #ffffff;
    border-color: #38bdf8;
    background: linear-gradient(180deg, rgba(56, 189, 248, 0.3) 0%, rgba(14, 165, 233, 0.12) 100%);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

.wz-pill-badge {
    font-size: 13px;
    font-weight: 700;
    background: rgba(0, 0, 0, 0.5);
    color: #38bdf8;
    padding: 1px 7px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.wz-armory-classification {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wz-class-code {
    font-family: 'Teko', sans-serif;
    font-size: 19px;
    color: #38bdf8;
    letter-spacing: 1.5px;
    line-height: 1;
}

.wz-class-status {
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    letter-spacing: 1px;
}

/* Main Warzone Stage Deck: Left Roster + Click-To-Open Gunsmith Intel Panel */
.wz-main-deck {
    flex: 1;
    min-height: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 14px;
    position: relative;
    padding: 0;
    overflow: hidden;
}

/* Left Vertical Weapon Roster Column */
.wz-left-roster-column {
    width: 280px;
    height: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(56, 189, 248, 0.25);
    border-radius: 12px;
    padding: 10px 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.75);
    z-index: 10;
    flex-shrink: 0;
    min-height: 0;
}

.wz-roster-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
    margin-bottom: 2px;
    flex-shrink: 0;
}

.wz-roster-title {
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    color: #cbd5e1;
    font-weight: 700;
}

.wz-roster-count {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.wz-roster-scroll-track {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 4px;
}

.wz-roster-scroll-track::-webkit-scrollbar {
    width: 5px;
}

.wz-roster-scroll-track::-webkit-scrollbar-track {
    background: rgba(15, 23, 42, 0.6);
    border-radius: 3px;
}

.wz-roster-scroll-track::-webkit-scrollbar-thumb {
    background: rgba(56, 189, 248, 0.5);
    border-radius: 3px;
}

.wz-weapon-card {
    width: 100%;
    min-height: 68px;
    background: rgba(30, 41, 59, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 7px 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.wz-weapon-card:hover {
    transform: translateX(4px);
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.wz-weapon-card.selected {
    border-color: #38bdf8;
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    transform: translateX(4px);
}

.wz-weapon-card.equipped {
    border-left: 4px solid #10b981;
}

.wz-card-top-tag {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wz-card-class {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.wz-card-bps {
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 1px 5px;
    border-radius: 3px;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.wz-card-graphic {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 3px 0;
}

.wz-card-icon {
    font-size: 20px;
    line-height: 1;
}

.wz-card-caliber {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
}

.wz-card-info {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.wz-card-title {
    font-family: 'Teko', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
    line-height: 1;
}

.wz-card-specs {
    font-size: 11px;
    color: #cbd5e1;
}

.wz-equipped-badge {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 3px;
    padding: 1px 5px;
    text-align: center;
    display: block;
    margin-top: 2px;
}

.wz-ready-badge {
    font-size: 10px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    display: block;
    margin-top: 2px;
}

/* Left Sliding Gunsmith Intel Panel (Opens ONLY when gun is clicked) */
.wz-gunsmith-intel-panel {
    width: 420px;
    max-width: calc(100vw - 320px);
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(11, 15, 25, 0.92) 100%);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 15;
    animation: wzPanelSlide 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    flex-shrink: 0;
    min-height: 0;
}

@keyframes wzPanelSlide {
    from { opacity: 0; transform: translateX(-16px); }
    to { opacity: 1; transform: translateX(0); }
}

.btn-wz-close-panel {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    line-height: 1;
    padding: 4px;
}

.btn-wz-close-panel:hover {
    color: #38bdf8;
    transform: scale(1.15);
}

.wz-intel-header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
    padding-right: 28px;
}

.wz-intel-class {
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: #38bdf8;
    letter-spacing: 1.5px;
    line-height: 1;
}

.wz-intel-title {
    font-family: 'Teko', sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1.5px;
    line-height: 1;
    margin: 2px 0;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
}

.wz-intel-caliber {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.btn-wz-equip {
    width: 100%;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #0b0e14;
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 10px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.45);
    transition: all 0.15s ease;
    text-align: center;
}

.btn-wz-equip:hover {
    transform: scale(1.02);
    box-shadow: 0 0 28px rgba(56, 189, 248, 0.75);
    color: #ffffff;
}

.btn-wz-equip.is-equipped {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    box-shadow: 0 0 18px rgba(16, 185, 129, 0.5);
    cursor: default;
    transform: none;
}

.wz-intel-desc {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
    background: rgba(30, 41, 59, 0.4);
    border-left: 3px solid #38bdf8;
    padding: 8px 12px;
    border-radius: 0 6px 6px 0;
}

/* Warzone 6-Point Gunsmith Attribute Bars */
.wz-radar-attributes {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 14px;
}

.wz-attr-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
}

.wz-attr-name {
    width: 75px;
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    color: #94a3b8;
}

.wz-attr-bar-bg {
    flex: 1;
    height: 6px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wz-attr-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
    border-radius: 3px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wz-attr-val {
    width: 28px;
    text-align: right;
    font-family: 'Teko', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #ffffff;
}

/* Ballistics Chips */
.wz-ballistics-chips {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.wz-b-chip {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.3;
    background: rgba(30, 41, 59, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 6px 10px;
}

.wz-b-chip strong {
    color: #e2e8f0;
    font-weight: 700;
}

.wz-b-chip-icon {
    color: #38bdf8;
    font-size: 13px;
}

/* Technical HUD Overlays */
.wz-stage-tech-hud {
    position: absolute;
    right: 40px;
    top: 20px;
    pointer-events: none;
    opacity: 0.6;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.wm-gun-id {
    font-family: 'Teko', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: rgba(56, 189, 248, 0.35);
    letter-spacing: 2px;
}

.wm-gun-meta {
    font-size: 12px;
    color: rgba(148, 163, 184, 0.45);
    letter-spacing: 1.5px;
}

/* Right Side 3D Weapon Model Showcase HUD Overlay */
.wz-showcase-hud {
    position: absolute;
    right: 24px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(11, 14, 20, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 8px;
    padding: 10px 14px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(56, 189, 248, 0.08);
    z-index: 25;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.wz-showcase-hud:hover {
    border-color: rgba(56, 189, 248, 0.65);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(56, 189, 248, 0.25);
}

.wz-showcase-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.wz-showcase-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 8px #00f0ff;
    animation: wzPulseDot 1.8s infinite;
}

@keyframes wzPulseDot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.wz-showcase-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #38bdf8;
    text-transform: uppercase;
}

.wz-showcase-name {
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    line-height: 1.1;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
    margin: 2px 0;
}

.wz-showcase-meta {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.2px;
    color: #94a3b8;
    margin-bottom: 8px;
    text-align: right;
}

.wz-showcase-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-showcase-inspect {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25) 0%, rgba(37, 99, 235, 0.35) 100%);
    border: 1px solid rgba(56, 189, 248, 0.6);
    color: #38bdf8;
    font-family: 'Teko', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-showcase-inspect:hover {
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
}

.wz-drag-hint {
    font-size: 11px;
    color: #64748b;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Compatibility & In-Game Pause */
#blocker {
    display: none;
}

.game-title {
    font-family: 'Teko', sans-serif;
    font-size: 64px;
    line-height: 1;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.game-subtitle {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 24px;
}

.btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 100%);
    color: #0b0e14;
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    letter-spacing: 1px;
    padding: 12px 36px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    margin-bottom: 24px;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7);
}

.controls-guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    text-align: left;
    background: #0b0e14;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #1e293b;
    margin-bottom: 20px;
}

.ctrl-item {
    font-size: 13px;
    color: #cbd5e1;
}

.ctrl-key {
    background: #1e293b;
    border: 1px solid #334155;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    margin-right: 6px;
}

/* Settings sliders */
.settings-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
    text-align: left;
}

.slider-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.slider-control-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-row input[type=range] {
    accent-color: #38bdf8;
    width: 150px;
    cursor: pointer;
}

.slider-val-badge {
    font-family: 'Teko', sans-serif;
    font-size: 18px;
    letter-spacing: 0.5px;
    color: #38bdf8;
    min-width: 44px;
    text-align: right;
    font-weight: 700;
}

/* Death Screen */
#death-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(185, 28, 28, 0.4);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 25;
}

.death-title {
    font-family: 'Teko', sans-serif;
    font-size: 72px;
    color: #ef4444;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.8);
}

.killed-by {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 24px;
}

.killed-by span {
    color: #facc15;
    font-weight: 700;
}

#respawn-btn {
    width: auto;
    padding: 12px 48px;
}

/* Scoreboard (TAB) */
#scoreboard-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 30;
}

.scoreboard-table {
    background: #131b2e;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    width: 600px;
}

.score-header, .score-row {
    display: grid;
    grid-template-columns: 50px 180px 80px 80px 80px 70px;
    padding: 10px 12px;
    font-size: 14px;
    border-bottom: 1px solid #1e293b;
}

.score-header {
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    font-size: 12px;
}

.score-row.local-player {
    background: rgba(6, 182, 212, 0.15);
    border-radius: 6px;
    font-weight: 700;
    color: #00f0ff;
}

/* ==========================================
   MAP CREATOR & LEVEL EDITOR STYLES
   ========================================== */
.btn-secondary {
    background: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 26px;
    letter-spacing: 1px;
    padding: 10px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
    box-shadow: 0 0 18px rgba(139, 92, 246, 0.4);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: 100%;
    margin-bottom: 20px;
}

.btn-secondary:hover {
    transform: scale(1.02);
    box-shadow: 0 0 28px rgba(217, 70, 239, 0.6);
}

#map-editor-ui {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 25;
}

#editor-topbar {
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(15, 23, 42, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.editor-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editor-icon {
    font-size: 24px;
}

.editor-title {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.editor-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: #94a3b8;
}

.editor-stats b {
    color: #38bdf8;
    margin-left: 4px;
}

.editor-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ed-btn {
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.ed-btn:hover {
    background: rgba(51, 65, 85, 0.95);
    border-color: #38bdf8;
    color: #38bdf8;
}

.ed-btn-play {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.4);
}

.ed-btn-play:hover {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #ffffff;
}

.ed-btn-danger:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
}

.ed-btn-locked {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
    border-color: #fde047 !important;
    color: #0b0e14 !important;
    font-weight: 800 !important;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.5) !important;
}

.ed-btn-hitbox-active {
    background: linear-gradient(135deg, #15803d 0%, #16a34a 100%) !important;
    border-color: #4ade80 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    box-shadow: 0 0 14px rgba(34, 197, 94, 0.5) !important;
}

.ed-btn-active {
    border-color: #06b6d4 !important;
    color: #38bdf8 !important;
}

.ed-btn-exit:hover {
    background: #475569;
    color: #ffffff;
}

.ed-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
    border-color: rgba(255, 255, 255, 0.05) !important;
    background: rgba(30, 41, 59, 0.4) !important;
    color: #64748b !important;
}

/* Controls Pill */
#editor-tips {
    position: absolute;
    top: 76px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    padding: 6px 18px;
    border-radius: 20px;
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #cbd5e1;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

#editor-tips b {
    color: #facc15;
}

#editor-tips span span {
    color: #38bdf8;
    font-weight: 700;
}

/* Bottom Palette Drawer */
#editor-palette {
    pointer-events: auto;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 12px 18px;
    max-width: 92%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.palette-header {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: #64748b;
    margin-bottom: 8px;
    text-align: center;
}

.palette-items {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.palette-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 110px;
    text-align: center;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.palette-card:hover {
    background: rgba(51, 65, 85, 0.85);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.palette-card.active {
    background: rgba(139, 92, 246, 0.2);
    border: 2px solid #a855f7;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.4);
}

.card-thumb-wrap {
    width: 68px;
    height: 52px;
    margin: 0 auto 6px auto;
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
    transition: all 0.2s ease;
}

.palette-card:hover .card-thumb-wrap {
    border-color: rgba(56, 189, 248, 0.5);
    background: radial-gradient(circle at center, rgba(51, 65, 85, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}

.palette-card.active .card-thumb-wrap {
    border-color: #38bdf8;
    background: radial-gradient(circle at center, rgba(14, 165, 233, 0.25) 0%, rgba(15, 23, 42, 0.95) 100%);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.45);
}

.card-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.7));
}

.card-thumb-wrap svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.7));
}

.card-title {
    font-size: 12px;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
}

.card-category {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
    white-space: nowrap;
}

/* Modal for Export / Import */
#editor-modal {
    pointer-events: auto;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 14, 20, 0.88);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 50;
}

.modal-card {
    background: #131b2e;
    border: 1px solid #1e293b;
    border-radius: 12px;
    padding: 24px;
    width: 580px;
    max-width: 90%;
    box-shadow: 0 8px 36px rgba(0, 0, 0, 0.6);
}

.modal-card h3 {
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    color: #38bdf8;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.modal-card textarea {
    width: 100%;
    background: #0b0e14;
    border: 1px solid #1e293b;
    color: #00ffcc;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    padding: 12px;
    border-radius: 6px;
    resize: vertical;
    outline: none;
    margin-bottom: 16px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* ========================================================
   UNREAL ENGINE STYLE EDITOR & DETAILS PANEL
   ======================================================== */

/* Unreal Mode Toolbar (Top Bar Modes) */
.ue-modes-toolbar {
    display: flex;
    gap: 6px;
    background: rgba(15, 23, 42, 0.7);
    padding: 3px 6px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ue-mode-btn {
    background: transparent;
    border: 1px solid transparent;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.ue-mode-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #f8fafc;
}

.ue-mode-btn.active {
    background: #0284c7;
    color: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
}

.ue-key {
    background: rgba(0, 0, 0, 0.35);
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 10px;
    font-family: monospace;
    color: #facc15;
}

.ue-fps-btn.active {
    background: #e11d48;
    border-color: #fb7185;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

/* Snapping Toolbar */
.ue-snap-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(15, 23, 42, 0.7);
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.snap-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.snap-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #64748b;
}

.ue-select {
    background: #0f172a;
    border: 1px solid #334155;
    color: #38bdf8;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
}

.ue-select:focus {
    border-color: #38bdf8;
}

/* Unreal Engine Details / Inspector Panel (Right Sidebar) */
#ue-details-panel {
    position: absolute;
    top: 70px;
    right: 16px;
    width: 320px;
    background: rgba(15, 23, 42, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(14px);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.65);
    padding: 14px 16px;
    pointer-events: auto;
    z-index: 35;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ue-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.ue-panel-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    color: #64748b;
}

.ue-item-name {
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ue-section {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ue-section-title {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #94a3b8;
}

.ue-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ue-field-label {
    font-size: 9px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
}

.ue-xyz-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ue-axis-cell {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #0b0f19;
    border-radius: 4px;
    padding: 2px 6px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.axis-badge {
    font-family: monospace;
    font-size: 11px;
    font-weight: 800;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #ffffff;
}

.axis-x .axis-badge { background: #ef4444; }
.axis-y .axis-badge { background: #22c55e; }
.axis-z .axis-badge { background: #3b82f6; }

.ue-step-btn, .ue-rot-btn {
    background: #1e293b;
    border: none;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s ease;
}

.ue-rot-btn {
    width: auto;
    padding: 0 6px;
    font-size: 10px;
}

.ue-step-btn:hover, .ue-rot-btn:hover {
    background: #334155;
    color: #ffffff;
}

.ue-axis-cell input {
    flex: 1;
    background: transparent;
    border: none;
    color: #f8fafc;
    font-family: monospace;
    font-size: 12px;
    font-weight: 600;
    text-align: right;
    outline: none;
    width: 60px;
}

.axis-val-txt {
    flex: 1;
    color: #f8fafc;
    font-family: monospace;
    font-size: 12px;
    text-align: center;
}

.ue-actions-section {
    padding: 8px 10px;
}

.ue-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.ue-action-btn {
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: all 0.15s ease;
}

.ue-action-btn:hover {
    background: #334155;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.ue-btn-del:hover {
    background: #b91c1c;
    border-color: #ef4444;
}

/* Dedicated FPS Crosshair / Pinpointer */
#editor-crosshair {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ed-ch-center {
    position: relative;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ed-ch-dot {
    width: 5px;
    height: 5px;
    background: #00f0ff;
    border-radius: 50%;
    box-shadow: 0 0 8px #00f0ff;
}

.ed-ch-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border: 1.5px solid rgba(0, 240, 255, 0.5);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.ed-ch-bracket-t, .ed-ch-bracket-b, .ed-ch-bracket-l, .ed-ch-bracket-r {
    position: absolute;
    background: #00f0ff;
}

.ed-ch-bracket-t { top: -6px; width: 2px; height: 6px; }
.ed-ch-bracket-b { bottom: -6px; width: 2px; height: 6px; }
.ed-ch-bracket-l { left: -6px; width: 6px; height: 2px; }
.ed-ch-bracket-r { right: -6px; width: 6px; height: 2px; }

.ed-ch-label {
    margin-top: 10px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(0, 240, 255, 0.4);
    padding: 3px 12px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #38bdf8;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* ==========================================================================
   MULTIPLAYER LOBBY HUB & NETWORKING STYLES
   ========================================================================== */

.btn-primary.mp-glow-btn {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border: 1px solid #60a5fa;
    position: relative;
    overflow: hidden;
}

.btn-primary.mp-glow-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(37, 99, 235, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

#multiplayer-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 7, 15, 0.88);
    backdrop-filter: blur(14px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
    color: #f8fafc;
}

.mp-modal-container {
    width: 860px;
    max-width: 95vw;
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Header */
.mp-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: rgba(11, 15, 25, 0.95);
    border-bottom: 1px solid rgba(56, 189, 248, 0.2);
}

.mp-title-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mp-logo-icon {
    font-size: 26px;
}

.mp-title {
    font-family: 'Teko', sans-serif;
    font-size: 32px;
    letter-spacing: 1.5px;
    margin: 0;
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mp-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 8px #facc15;
}

.status-dot.connected {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
}

.status-dot.offline {
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
}

.mp-close-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: color 0.15s;
}

.mp-close-btn:hover {
    color: #ef4444;
}

/* User bar */
.mp-user-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: rgba(30, 41, 59, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mp-user-bar label {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
}

.mp-user-bar input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 8px 14px;
    color: #38bdf8;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    width: 240px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.mp-user-bar input:focus {
    border-color: #38bdf8;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* Tabs */
.mp-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.6);
}

.mp-tab-btn {
    flex: 1;
    padding: 14px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: #94a3b8;
    font-family: 'Teko', sans-serif;
    font-size: 20px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
}

.mp-tab-btn:hover {
    color: #f1f5f9;
    background: rgba(255, 255, 255, 0.02);
}

.mp-tab-btn.active {
    color: #38bdf8;
    border-bottom-color: #38bdf8;
    background: rgba(56, 189, 248, 0.06);
}

/* Tab contents */
.mp-tab-content {
    display: none;
    padding: 28px;
}

.mp-tab-content.active {
    display: block;
}

.mp-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.mp-field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 8px;
}

.mp-field select {
    width: 100%;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 12px 14px;
    color: #f8fafc;
    font-size: 14px;
    outline: none;
}

.mp-action-btn {
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    border: none;
    font-family: 'Teko', sans-serif;
    font-size: 22px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.mp-action-btn:hover {
    transform: translateY(-2px);
}

.mp-btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.4);
}

.mp-btn-accent {
    background: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
}

.mp-btn-play {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
}

/* Join with code */
.mp-join-box, .mp-quick-box {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.mp-hint {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 20px;
}

.mp-code-input-wrap {
    display: flex;
    gap: 12px;
}

.mp-code-input-wrap input {
    flex: 1;
    background: rgba(15, 23, 42, 0.9);
    border: 2px solid rgba(168, 85, 247, 0.4);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: 'Teko', sans-serif;
    font-size: 28px;
    letter-spacing: 4px;
    text-align: center;
    color: #f43f5e;
    text-transform: uppercase;
    outline: none;
}

.mp-code-input-wrap input:focus {
    border-color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
}

.mp-code-input-wrap button {
    flex: 0 0 160px;
}

/* Active Lobby Screen */
.mp-active-lobby {
    display: flex;
    flex-direction: column;
    padding: 24px;
    gap: 20px;
}

.mp-lobby-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 16px 24px;
}

.mp-code-card {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mp-code-lbl {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.mp-code-val {
    font-family: 'Teko', sans-serif;
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 6px;
    color: #38bdf8;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.1);
    padding: 4px 16px;
    border-radius: 8px;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.mp-share-actions {
    display: flex;
    gap: 10px;
}

.mp-tool-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 6px;
    padding: 8px 16px;
    color: #f1f5f9;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.mp-tool-btn:hover {
    background: #0284c7;
    border-color: #38bdf8;
    color: #ffffff;
}

.mp-lobby-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 20px;
    height: 320px;
}

.mp-players-panel, .mp-chat-panel {
    background: rgba(11, 15, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mp-panel-title {
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #94a3b8;
}

.mp-players-grid {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mp-player-card {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 10px 14px;
}

.mp-player-card.me {
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(56, 189, 248, 0.08);
}

.mp-player-avatar {
    font-size: 20px;
}

.mp-player-name {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.mp-you-badge {
    background: #0284c7;
    color: #ffffff;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 4px;
}

.mp-player-status {
    font-size: 11px;
    color: #10b981;
}

/* Chat in Lobby */
.mp-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 13px;
}

.mp-chat-msg {
    line-height: 1.4;
    word-break: break-word;
}

.mp-chat-input-row {
    display: flex;
    padding: 10px;
    background: rgba(15, 23, 42, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    gap: 8px;
}

.mp-chat-input-row input {
    flex: 1;
    background: rgba(11, 15, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 8px 12px;
    color: #f1f5f9;
    font-size: 13px;
    outline: none;
}

.mp-chat-send-btn {
    background: #0284c7;
    border: none;
    border-radius: 6px;
    padding: 0 16px;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}

/* Footer */
.mp-lobby-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mp-btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
}

.mp-btn-danger:hover {
    background: #ef4444;
    color: #ffffff;
}

.mp-waiting-text {
    font-size: 14px;
    font-weight: 600;
    color: #facc15;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ==========================================================================
   IN-GAME KILLFEED & HUD CHAT
   ========================================================================== */

#mp-killfeed {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    pointer-events: none;
}

.kf-row {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 3px solid #ef4444;
    padding: 5px 12px;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: opacity 0.4s, transform 0.4s;
}

.kf-killer { font-weight: 700; color: #38bdf8; }
.kf-weapon { font-size: 10px; font-weight: 700; color: #94a3b8; }
.kf-victim { font-weight: 700; color: #f87171; }
.kf-hs { color: #facc15; font-weight: 800; font-size: 11px; }

#mp-ingame-chat {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 380px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}

#mp-ingame-chat-log {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 180px;
    overflow: hidden;
}

.mp-hud-msg {
    background: rgba(15, 23, 42, 0.75);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    line-height: 1.4;
    color: #f1f5f9;
    transition: opacity 0.6s;
}

#mp-ingame-chat-box {
    pointer-events: auto;
}

#mp-ingame-chat-box input {
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid #38bdf8;
    border-radius: 6px;
    padding: 8px 12px;
    color: #f8fafc;
    font-size: 13px;
    outline: none;
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* ==========================================================================
   DEPLOY BANNER & MULTIPLAYER PAUSE MENU
   ========================================================================== */

#mp-deploy-banner {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 7, 15, 0.7);
    backdrop-filter: blur(8px);
    cursor: pointer;
}

.mp-deploy-card {
    background: rgba(15, 23, 42, 0.95);
    border: 2px solid #38bdf8;
    border-radius: 16px;
    padding: 32px 48px;
    text-align: center;
    box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
}

.mp-deploy-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.mp-deploy-title {
    font-family: 'Teko', sans-serif;
    font-size: 40px;
    letter-spacing: 2px;
    color: #38bdf8;
    margin-bottom: 8px;
}

.mp-deploy-sub {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 24px;
}

.mp-deploy-btn {
    background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
    color: #ffffff;
    font-family: 'Teko', sans-serif;
    font-size: 24px;
    letter-spacing: 1px;
    padding: 12px 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.5);
}

#mp-pause-menu {
    position: fixed;
    inset: 0;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(4, 7, 15, 0.85);
    backdrop-filter: blur(10px);
}

.mp-pause-card {
    width: 380px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mp-pause-title {
    font-family: 'Teko', sans-serif;
    font-size: 38px;
    letter-spacing: 2px;
    color: #38bdf8;
    margin: 0;
}

.mp-pause-room-tag {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
}

.mp-pause-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 8px;
}



