/* --- Metal Gear / Funkgerät-Optik für PNs --- */
.ba-funkgeraet {
    max-width: 600px;
    margin: 15px auto;
    position: relative;
    padding-top: 15px;
}

/* Antenne */
.ba-funk-antenna {
    position: absolute;
    top: 0;
    right: 35px;
    width: 4px;
    height: 18px;
    background: linear-gradient(to top, #444, #888, #bbb);
    border-radius: 2px 2px 0 0;
    z-index: 0;
}
.ba-funk-antenna::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -2px;
    width: 8px;
    height: 6px;
    background: #222;
    border-radius: 50%;
}

/* Hauptgehäuse */
.ba-funk-body {
    background: linear-gradient(135deg, #1b261e 0%, #111812 100%);
    border: 2px solid #2d4a32;
    border-top: 3px solid #3d6343;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    position: relative;
    z-index: 1;
}

/* Top-Bar */
.ba-funk-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 10px;
    font-family: 'Courier New', Courier, monospace;
    color: #8fa892;
    margin-bottom: 10px;
    border-bottom: 1px solid #263829;
    padding-bottom: 5px;
    letter-spacing: 1px;
}

.ba-funk-status {
    color: #4CAF50;
    animation: ba-pulse 2s infinite;
}
.ba-funk-status .fa-circle {
    font-size: 8px;
    margin-right: 3px;
}

/* Metal Gear Codec Sprecher-Header (Avatar + Name) */
.ba-mgs-codec-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid #263829;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.ba-mgs-avatar img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.4);
}

.ba-mgs-info {
    font-family: 'Courier New', Courier, monospace;
}

.ba-mgs-name {
    font-size: 14px;
    font-weight: bold;
    color: #a3e4d7;
    letter-spacing: 1px;
}

.ba-mgs-time {
    font-size: 10px;
    color: #8fa892;
    margin-top: 2px;
}

/* Das grüne Display für die Nachricht */
.ba-funk-screen {
    background: #08110b;
    border: 1px inset #1e3f20;
    border-left: 3px solid #4CAF50;
    padding: 12px;
    border-radius: 4px;
    box-shadow: inset 0 0 12px rgba(0, 25, 0, 0.9);
    position: relative;
    overflow: hidden;
}

/* Scanlines */
.ba-funk-screen::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.3) 50%);
    background-size: 100% 4px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.5;
}

.ba-funk-content {
    position: relative;
    z-index: 2;
    color: #a3e4d7;
    font-family: 'Courier New', Courier, monospace;
    font-size: 13px;
    line-height: 1.5;
    text-shadow: 0 0 3px rgba(76, 175, 80, 0.5);
}

/* Bedienelemente unten */
.ba-funkcontrols, .ba-funk-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 8px;
    border-top: 1px dashed #263829;
}

.ba-funk-speaker {
    display: flex;
    gap: 4px;
}
.ba-funk-speaker span {
    display: block;
    width: 3px;
    height: 14px;
    background: #0d1410;
    border-bottom: 1px solid #2d4a32;
    border-radius: 2px;
}

.ba-funk-knobs {
    display: flex;
    gap: 8px;
}
.ba-knob {
    width: 16px;
    height: 16px;
    background: radial-gradient(circle, #333 40%, #111 70%);
    border: 1px solid #444;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.5);
    position: relative;
}
.ba-knob::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 7px;
    width: 2px;
    height: 6px;
    background: #888;
}

@keyframes ba-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.4; }
    100% { opacity: 1; }
}