/* Airport cameras — bottom pill, airport picker, floating YouTube tiles.
   House style: dark-blue gradient panels, cyan #00d4ff accent, system font. */

.fa-cam-pill {
    position: fixed;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    z-index: 1500;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.94) 0%, rgba(22, 33, 62, 0.94) 100%);
    color: #fff;
    font: 600 13px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    transition: border-color 0.15s, transform 0.1s;
}
.fa-cam-pill:hover { border-color: #00d4ff; }
.fa-cam-pill:active { transform: translateX(-50%) scale(0.97); }

.fa-cam-picker {
    position: fixed;
    left: 50%;
    bottom: 56px;
    transform: translateX(-50%);
    z-index: 1500;
    width: 320px;
    max-width: calc(100vw - 24px);
    max-height: 60vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
}
.fa-cam-picker-head {
    padding: 12px 14px 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
}
.fa-cam-search {
    margin: 0 12px 8px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(13, 16, 32, 0.6);
    color: #fff;
    font-size: 13px;
    outline: none;
}
.fa-cam-search:focus { border-color: #00d4ff; }
.fa-cam-list { overflow-y: auto; padding: 0 6px 8px; }
.fa-cam-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 8px;
    cursor: pointer;
}
.fa-cam-row:hover { background: rgba(0, 212, 255, 0.1); }
.fa-cam-row.disabled { cursor: default; opacity: 0.45; }
.fa-cam-row.disabled:hover { background: none; }
.fa-cam-row-text { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.fa-cam-row-name { font-size: 13px; font-weight: 600; }
.fa-cam-row-meta { font-size: 11px; color: rgba(255, 255, 255, 0.45); }
.fa-cam-chev { color: rgba(255, 255, 255, 0.3); font-size: 16px; }
.fa-cam-empty { padding: 16px 12px; font-size: 12px; color: rgba(255, 255, 255, 0.4); text-align: center; }

/* Per-cam kind icon: ▶ embeddable stream, 🖼 image, ↗ opens in a new tab. */
.fa-cam-ico { flex: none; width: 18px; text-align: center; font-size: 13px; color: rgba(255, 255, 255, 0.5); }
.fa-cam-ico.embed { color: #4ade80; }

.fa-cam-back {
    display: inline-block;
    margin-right: 8px;
    padding: 1px 6px;
    border-radius: 6px;
    color: #00d4ff;
    cursor: pointer;
    text-transform: none;
    letter-spacing: normal;
}
.fa-cam-back:hover { background: rgba(0, 212, 255, 0.14); }

.fa-cam-tile {
    position: fixed;
    width: 380px;
    height: 250px;
    z-index: 1600;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 212, 255, 0.35);
    border-radius: 10px;
    overflow: hidden;
    background: #0d1020;
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.6);
}
.fa-cam-tile-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px 6px 10px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    cursor: move;
    user-select: none;
}
.fa-cam-tile-title {
    flex: 1;
    min-width: 0;
    font: 600 12px/1.2 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fa-cam-tile-yt, .fa-cam-tile-close {
    flex: none;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color: rgba(255, 255, 255, 0.65);
    font-size: 13px;
    text-decoration: none;
    cursor: pointer;
}
.fa-cam-tile-yt:hover { color: #00d4ff; background: rgba(0, 212, 255, 0.12); }
.fa-cam-tile-close:hover { color: #ff8a80; background: rgba(231, 76, 60, 0.18); }
.fa-cam-tile-frame { flex: 1; width: 100%; border: 0; background: #000; }
.fa-cam-tile-img { flex: 1; width: 100%; min-height: 0; object-fit: contain; background: #000; }
.fa-cam-tile-fallback {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}
.fa-cam-tile-openbtn {
    padding: 8px 16px;
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: 8px;
    background: rgba(0, 212, 255, 0.12);
    color: #00d4ff;
    font: 600 12px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.fa-cam-tile-openbtn:hover { background: rgba(0, 212, 255, 0.22); }
.fa-cam-tile-grip {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 16px;
    height: 16px;
    cursor: nwse-resize;
    background:
        linear-gradient(135deg, transparent 50%, rgba(0, 212, 255, 0.5) 50%, rgba(0, 212, 255, 0.5) 60%, transparent 60%, transparent 72%, rgba(0, 212, 255, 0.5) 72%, rgba(0, 212, 255, 0.5) 82%, transparent 82%);
    z-index: 2;
}

.fa-cam-shield { position: fixed; inset: 0; z-index: 3000; cursor: inherit; }
