/* =============================================
   ventidiguerra.it — Stile principale
   Tema scuro, mobile-first — da ventidiguerra.html
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

:root {
    --bg: #0a0a0f;
    --surface: rgba(255,255,255,0.03);
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.15);
    --text: #fff;
    --text-secondary: rgba(255,255,255,0.55);
    --text-muted: rgba(255,255,255,0.35);
    --text-dim: rgba(255,255,255,0.25);
    --accent: #c62828;
    --accent-light: #ef5350;
    --accent-bg: rgba(198,40,40,0.15);
    --accent-border: rgba(198,40,40,0.3);
    --green: #00c853;
    --yellow: #ffc107;
    --red: #ff5252;
    --fake-bg: linear-gradient(135deg, rgba(255,23,68,0.08), rgba(213,0,0,0.04));
    --fake-border: rgba(255,23,68,0.3);
    --fake-border-hover: rgba(255,23,68,0.6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Barlow Semi Condensed', -apple-system, sans-serif;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--accent-light); text-decoration: none; }
a:hover { color: #ff6659; }

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.7; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes livePulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ── HEADER ── */
.header {
    border-bottom: 1px solid var(--border);
    padding: 0 32px;
    position: sticky; top: 0; z-index: 100;
    background: rgba(10,10,15,0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.header-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 38px; height: 38px; border-radius: 8px;
    background: linear-gradient(135deg, #ef5350, #c62828);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; color: #fff;
    box-shadow: 0 0 16px rgba(239,83,80,0.4);
}
.logo-text {
    font-family: 'Barlow Semi Condensed', sans-serif;
    font-size: 24px; font-weight: 800; letter-spacing: 1px;
    color: #fff;
}
.logo-accent {
    color: #ef5350;
}
.logo-sub {
    font-size: 8px; color: rgba(255,255,255,0.3);
    letter-spacing: 3px; font-weight: 600; margin-top: -1px;
    text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 12px; }

/* ── HAMBURGER MENU ── */
.hamburger {
    display: flex; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: 8px;
    z-index: 101;
}
.hamburger span {
    display: block; width: 20px; height: 2px;
    background: rgba(255,255,255,0.7); border-radius: 2px;
    transition: all 0.3s;
}
.hamburger:hover span { background: #fff; }
.mobile-menu {
    position: fixed; top: 0; right: -260px; width: 260px;
    height: 100vh; background: #12121a;
    border-left: 1px solid rgba(255,255,255,0.06);
    padding: 80px 24px 24px; z-index: 100;
    transition: right 0.3s ease;
    display: flex; flex-direction: column; gap: 4px;
}
.mobile-menu.open { right: 0; }
.mobile-menu a {
    display: block; padding: 14px 16px; color: rgba(255,255,255,0.7);
    text-decoration: none; font-size: 15px; font-weight: 600;
    border-radius: 8px; transition: all 0.2s;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.mobile-menu a:hover { background: rgba(255,255,255,0.05); color: #fff; }
.header-nav { display: none; }

/* ── PROGETTO PAGE ── */
.progetto-page { max-width: 700px; margin: 0 auto; padding: 20px 0 60px; }
.progetto-title {
    font-size: 28px; font-weight: 800; color: #fff; margin-bottom: 32px;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.progetto-section { margin-bottom: 28px; }
.progetto-section h2 {
    font-size: 16px; font-weight: 700; color: #ef5350; margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.progetto-section p, .progetto-section li {
    font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7;
    margin-bottom: 8px;
}
.progetto-section ul { padding-left: 20px; }
.progetto-section a { color: #ef5350; }
.progetto-section strong { color: rgba(255,255,255,0.85); }
.header-nav a {
    color: var(--text-secondary); padding: 6px 12px; border-radius: 6px;
    font-size: 12px; font-weight: 600; transition: all 0.2s;
}
.header-nav a:hover { color: var(--text); background: var(--surface); }
.header-nav a.active { color: var(--accent-light); background: var(--accent-bg); border: 1px solid var(--accent-border); }
.fonte-select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px; padding: 8px 12px;
    font-size: 12px; color: rgba(255,255,255,0.7);
    font-family: 'Barlow Semi Condensed', sans-serif;
    cursor: pointer; outline: none;
    max-width: 250px;
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='rgba(255,255,255,0.4)'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 28px;
}
.fonte-select:hover { border-color: rgba(239,83,80,0.3); }
.fonte-select:focus { border-color: rgba(239,83,80,0.5); }
.fonte-select option {
    background: #1a1a2e; color: #fff;
}

/* ── TICKER ── */
.ticker {
    background: linear-gradient(90deg, #ff1744, #d50000);
    padding: 8px 0; font-size: 12px; font-weight: 600;
    overflow: hidden; white-space: nowrap; position: relative;
    max-width: 1200px; margin: 0 auto; border-radius: 8px;
}
.ticker-label {
    position: absolute; left: 0; top: 0; bottom: 0; z-index: 2;
    background: #b71c1c; padding: 8px 12px;
    font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
    display: flex; align-items: center;
}
.ticker-track {
    display: inline-block; padding-left: 100px;
    animation: tickerScroll 40s linear infinite;
}
.ticker-track a { color: white; margin-right: 60px; }
.ticker-track a:hover { text-decoration: underline; color: white; }
.ticker-source { opacity: 0.6; font-weight: 400; font-size: 10px; }

/* ── MAIN LAYOUT ── */
.container { max-width: 1200px; margin: 0 auto; padding: 24px 32px; }
.layout { display: flex; gap: 32px; }
.main { flex: 1; min-width: 0; }
.sidebar { width: 280px; flex-shrink: 0; }

/* ── CATEGORIES ── */
.categories { display: flex; gap: 4px; margin-bottom: 24px; overflow-x: auto; padding-bottom: 4px; }
.cat-btn {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 6px; padding: 7px 14px;
    color: var(--text-secondary); font-size: 12px; font-weight: 600;
    cursor: pointer; white-space: nowrap; transition: all 0.2s;
    font-family: 'Barlow Semi Condensed', sans-serif; text-decoration: none;
    display: inline-block;
}
.cat-btn:hover { border-color: var(--border-hover); color: var(--text); }
.cat-btn.active {
    background: var(--accent-bg);
    border-color: var(--accent-border);
    color: var(--accent-light);
}

/* ── NEWS GRID ── */
.news-grid {
    columns: 2; column-gap: 16px;
}
@media (max-width: 768px) {
    .news-grid { columns: 1; }
}

/* ── NEWS CARD ── */
.card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden;
    transition: all 0.3s ease;
    animation: slideIn 0.4s ease both;
    break-inside: avoid; margin-bottom: 16px;
}
.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.card.featured { column-span: all; }
.card.featured .card-inner { display: flex; gap: 24px; }
.card.featured .card-image { min-width: 45%; height: 280px; }
.card.featured .card-body { padding: 24px 24px 24px 0; }
.card.featured .card-title { font-size: 22px; }

.card-inner { display: block; }

.card-image {
    height: 180px; background-size: cover; background-position: center;
    position: relative;
}
.card-image-cat {
    position: absolute; top: 10px; left: 10px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
    padding: 3px 8px; border-radius: 4px;
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.8);
    text-transform: uppercase; letter-spacing: 0.5px;
}

.card-body { padding: 16px; }
.card.no-img { }
.card.no-img .card-body { padding: 10px 14px; }
.card.no-img .card-title { font-size: 13px; margin-bottom: 4px; line-height: 1.3; }
.card.no-img .card-summary { display: none; }
.card.no-img .card-date { font-size: 10px; margin-bottom: 2px; }
.card.no-img .card-meta { margin-top: 4px; }
.card.no-img .card-cat-inline { margin-bottom: 3px; font-size: 9px; }
.card-cat-inline {
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.4);
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px;
}

.card-title {
    font-size: 16px; font-weight: 700; color: var(--text);
    line-height: 1.3; margin-bottom: 10px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: -0.2px;
}
.card-title a { color: inherit; }
.card-title a:hover { color: var(--accent-light); }
.card-lang { font-size: 10px; font-weight: 500; color: rgba(255,255,255,0.3); font-family: 'Barlow Semi Condensed', sans-serif; }
.flag-badge {
    display: inline-block; font-size: 9px; font-weight: 700;
    background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5);
    padding: 1px 4px; border-radius: 3px; letter-spacing: 0.5px;
    font-family: 'Barlow Semi Condensed', sans-serif;
    vertical-align: middle;
}
.card-lingua-badge {
    font-size: 10px; color: rgba(255,255,255,0.35); font-style: italic;
}

.card-summary {
    font-size: 13px; color: var(--text-secondary);
    line-height: 1.6; margin-bottom: 14px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.card.featured .card-summary { display: block; -webkit-line-clamp: unset; }

.card-meta {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 10px;
}
.card-source { display: flex; align-items: center; gap: 8px; }
.card-source-icon { font-size: 14px; }
.card-source-name { font-size: 12px; color: rgba(255,255,255,0.6); font-weight: 500; }
.card-source-dot { font-size: 11px; color: var(--text-muted); }
.card-source-time { font-size: 11px; color: rgba(255,255,255,0.7); }
.card-date {
    font-size: 12px; color: #ef5350; font-weight: 600;
    margin-bottom: 6px; letter-spacing: 0.3px;
}

/* ── TRUST BADGE ── */
.trust-badge { display: flex; align-items: center; gap: 6px; }
.trust-ring {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800;
}
.trust-label { font-size: 11px; color: var(--text-secondary); font-weight: 500; }

/* ── TAGS ── */
.card-tags { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.card-tag {
    background: rgba(255,255,255,0.06); padding: 3px 8px;
    border-radius: 4px; font-size: 10px; color: var(--text-secondary); font-weight: 500;
}

/* ── SIDEBAR CARDS ── */
.side-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 20px; margin-bottom: 20px;
}
.side-card.briefing {
    background: linear-gradient(135deg, rgba(198,40,40,0.1), rgba(183,28,28,0.05));
    border-color: rgba(198,40,40,0.2);
}
.side-card-title {
    font-size: 11px; font-weight: 700; color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px;
    display: flex; align-items: center; gap: 6px;
}
.side-card.briefing .side-card-title { color: var(--accent-light); }
.briefing-text {
    font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.7;
}
.briefing-btn {
    margin-top: 12px; background: var(--accent-bg);
    border: 1px solid var(--accent-border);
    border-radius: 6px; padding: 7px 14px;
    color: var(--accent-light); font-size: 11px; font-weight: 600;
    cursor: pointer; width: 100%;
    font-family: 'Barlow Semi Condensed', sans-serif;
    transition: all 0.2s; display: block; text-align: center;
}
.briefing-btn:hover { background: rgba(198,40,40,0.25); color: var(--accent-light); }

.trust-legend-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.trust-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.trust-legend-range { font-size: 12px; font-weight: 600; }
.trust-legend-label { font-size: 10px; color: rgba(255,255,255,0.4); }

.trending-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
}
.trending-item:last-child { border-bottom: none; }
.trending-tag { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.trending-tag a { color: rgba(255,255,255,0.7); }
.trending-tag a:hover { color: var(--accent-light); }
.trending-count { font-size: 10px; color: var(--text-muted); }

.source-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04);
    font-size: 12px;
}
.source-item:last-child { border-bottom: none; }
.source-name { color: rgba(255,255,255,0.6); font-weight: 500; }
.source-badge {
    font-size: 10px; padding: 2px 6px; border-radius: 4px; font-weight: 700;
}
.source-count {
    background: rgba(255,255,255,0.06); padding: 2px 8px;
    border-radius: 10px; font-size: 10px; color: var(--text-muted);
}

/* ── PAGINATION ── */
.pagination {
    display: flex; justify-content: center; gap: 4px; margin-top: 24px; padding: 20px 0;
}
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 6px; font-size: 12px;
    border: 1px solid var(--border); color: var(--text-secondary); font-weight: 600;
}
.pagination a:hover { background: var(--surface); color: var(--text); border-color: var(--border-hover); }
.pagination .current { background: var(--accent-bg); color: var(--accent-light); border-color: var(--accent-border); }

/* ── FOOTER ── */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 24px 32px; text-align: center;
    color: var(--text-dim); font-size: 11px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-links { margin-bottom: 8px; }
.footer-links a { color: var(--text-muted); margin: 0 12px; font-size: 12px; }
.footer-links a:hover { color: var(--accent-light); }

/* ── NEWS EMPTY ── */
.news-empty {
    text-align: center; padding: 60px 20px;
    color: var(--text-muted); font-size: 14px; grid-column: 1 / -1;
}

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
    .layout { flex-direction: column; }
    .sidebar { width: 100%; }
    .header { padding: 0 16px; }
    .container { padding: 16px; }
    .fonte-select { max-width: 200px; font-size: 11px; }
}
@media (max-width: 640px) {
    .news-grid { grid-template-columns: 1fr; }
    .card.featured .card-inner { flex-direction: column; }
    .card.featured .card-image { min-width: auto; height: 200px; }
    .card.featured .card-body { padding: 16px; }
    .fonte-select { max-width: 140px; font-size: 10px; }
    .logo-text { font-size: 17px; }
    .header-nav { gap: 2px; }
    .header-nav a { padding: 4px 8px; font-size: 11px; }
}

/* =============================================
   WEBCAM SIDEBAR
   ============================================= */
.live-dot-inline {
    display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    background: #ff1744; animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,23,68,0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 0 6px rgba(255,23,68,0); }
}
/* ── OIL CHART ── */
.oil-chart-card { overflow: hidden; }
.oil-price-header {
    display: flex; align-items: baseline; gap: 6px;
    margin: 4px 0 8px;
}
.oil-price-value {
    font-size: 24px; font-weight: 700; color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.oil-price-unit {
    font-size: 11px; color: rgba(255,255,255,0.4); font-weight: 500;
}
.oil-price-change {
    font-size: 12px; font-weight: 700; margin-left: auto;
    padding: 2px 8px; border-radius: 4px;
}
.oil-price-change.up { color: #00c853; background: rgba(0,200,83,0.1); }
.oil-price-change.down { color: #ff5252; background: rgba(255,82,82,0.1); }
.oil-chart-wrap {
    margin: 0 -16px; height: 160px; position: relative;
}
.oil-chart-wrap canvas { padding: 0 8px; }
.fuel-prices {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin: 10px 0 8px;
}
.fuel-box {
    display: flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px; padding: 10px;
}
.fuel-icon { font-size: 16px; opacity: 0.5; }
.fuel-label {
    font-size: 9px; text-transform: uppercase; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4); font-weight: 600; margin-bottom: 2px;
}
.fuel-value {
    font-size: 16px; font-weight: 700; color: #fff;
    font-family: 'Barlow Semi Condensed', sans-serif;
}
.oil-chart-footer {
    display: flex; justify-content: space-between; align-items: center;
    padding: 4px 0 0; font-size: 10px; color: rgba(255,255,255,0.25);
    border-top: 1px solid rgba(255,255,255,0.04);
}
.oil-chart-card .side-card-title {
    display: flex; align-items: center; justify-content: space-between;
}
.b24-logo { height: 18px; opacity: 0.6; transition: opacity 0.2s; }
.b24-logo:hover { opacity: 1; }
.b24-link {
    font-size: 10px; color: #ef5350; text-decoration: none; font-weight: 600;
}
.b24-link:hover { text-decoration: underline; }

/* ── TIMELINE LIVEBLOG ── */
.timeline-card { max-height: 800px; overflow-y: auto; }
.timeline-card::-webkit-scrollbar { width: 3px; }
.timeline-card::-webkit-scrollbar-track { background: transparent; }
.timeline-card::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
.timeline { position: relative; padding-left: 0; }
.tl-item {
    padding: 12px 0; position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.tl-item:last-child { border-bottom: none; }
.tl-item:first-child { padding-top: 4px; }
.tl-header {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
}
.tl-time {
    font-size: 13px; font-weight: 800; color: rgba(255,255,255,0.5);
    font-family: 'Barlow Semi Condensed', sans-serif;
    letter-spacing: 0.5px;
}
.tl-latest .tl-time { color: #ef5350; }
.tl-dot-inline {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.12); flex-shrink: 0;
}
.tl-latest .tl-dot-inline {
    background: #ef5350;
    box-shadow: 0 0 6px rgba(239,83,80,0.5);
    animation: livePulse 1.5s infinite;
}
.tl-source-inline {
    font-size: 9px; color: rgba(255,255,255,0.25); font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.3px;
    margin-left: auto;
}
.tl-title {
    font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.85);
    text-decoration: none; line-height: 1.35; display: block;
}
.tl-title:hover { color: #ef5350; }
.tl-latest .tl-title { color: #fff; font-size: 13px; }
.tl-summary {
    font-size: 10px; color: rgba(255,255,255,0.3); line-height: 1.45;
    margin-top: 4px; font-weight: 400;
}
.tl-latest .tl-summary { color: rgba(255,255,255,0.4); }

/* ── SIDEBAR VIDEO ── */
.sidebar-video {
    margin-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 12px;
}
.sidebar-video:last-of-type { border-bottom: none; margin-bottom: 8px; padding-bottom: 0; }
.sidebar-video-player {
    position: relative; width: 100%; padding-top: 56.25%;
    background: #000; border-radius: 8px; overflow: hidden;
}
.sidebar-video-player iframe {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none;
}
.sidebar-video-info { margin-top: 8px; }
.sidebar-video-desc {
    font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.7);
    line-height: 1.35;
}
.sidebar-video-account {
    font-size: 9px; color: rgba(255,255,255,0.3); margin-top: 3px;
    font-weight: 500;
}
.sidebar-video-more {
    display: block; text-align: center; padding: 8px 0 2px;
    font-size: 11px; font-weight: 600; color: #ef5350;
    text-decoration: none; border-top: 1px solid rgba(255,255,255,0.05);
}
.sidebar-video-more:hover { color: #ff6e6e; }

.webcam-card-container { padding-bottom: 8px !important; }
.webcam-preview-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin-top: 8px;
}
.webcam-preview {
    text-decoration: none; color: inherit; border-radius: 8px;
    overflow: hidden; transition: all 0.2s;
}
.webcam-preview:hover { transform: scale(1.03); }
.webcam-preview:hover .webcam-overlay { opacity: 1; }
.webcam-thumb {
    position: relative; width: 100%; padding-top: 60%;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b3d 50%, #1a1a2e 100%);
    background-size: cover; background-position: center;
    border-radius: 8px; overflow: hidden;
}
.webcam-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.4); display: flex;
    align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.2s;
}
.webcam-play {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(255,23,68,0.9); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; padding-left: 2px;
}
.webcam-badge-live {
    position: absolute; top: 4px; right: 4px;
    background: rgba(255,23,68,0.9); color: #fff;
    font-size: 8px; font-weight: 700; letter-spacing: 1px;
    padding: 2px 5px; border-radius: 3px;
    animation: livePulse 1.5s infinite;
}
.webcam-caption {
    font-size: 10px; font-weight: 600; color: rgba(255,255,255,0.7);
    padding: 4px 2px 0; text-align: center; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
