/**
 * TV CÂMARA & TRANSMISSÕES - APPLE MATERIAL DESIGN
 * Versão: 1.0.0 (versao01)
 * Autor: Siqueira & Souza Comunicação
 */

/* 1. RESET E ESCOPO DO APP */
.apple-tv-portal {
    --apple-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --apple-bg-base: #fbfbfd;
    --apple-card-bg: rgba(255, 255, 255, 0.92);
    --apple-card-border: rgba(0, 0, 0, 0.08);
    --apple-card-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    --apple-card-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.12);
    --apple-radius-sm: 10px;
    --apple-radius-md: 16px;
    --apple-radius-lg: 22px;
    --apple-radius-pill: 9999px;
    --apple-text-title: #1d1d1f;
    --apple-text-body: #424245;
    --apple-text-muted: #86868b;
    --apple-blue: #0071e3;
    --apple-blue-hover: #0077ed;
    --apple-red-live: #ff3b30;
    --apple-green: #34c759;
    --apple-orange: #ff9500;
    --apple-purple: #af52de;
    --apple-transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);

    font-family: var(--apple-font);
    color: var(--apple-text-body);
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.apple-tv-portal *,
.apple-tv-portal *::before,
.apple-tv-portal *::after {
    box-sizing: border-box;
}

/* 2. TOPO HERO DA TV CÂMARA */
.apple-tv-hero-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .apple-tv-hero-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

.apple-tv-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apple-blue);
    margin-bottom: 6px;
}

.apple-tv-title {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--apple-text-title);
    margin: 0 0 8px 0;
    line-height: 1.15;
}

.apple-tv-lead {
    font-size: 1.05rem;
    color: var(--apple-text-muted);
    margin: 0;
    max-width: 680px;
    line-height: 1.5;
}

.apple-btn-youtube-subscribe {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff0000;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 12px 22px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.92rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(255, 0, 0, 0.25);
    transition: var(--apple-transition);
    white-space: nowrap;
}

.apple-btn-youtube-subscribe:hover {
    background: #d90000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.35);
    color: #ffffff !important;
}

/* 3. SEÇÃO AO VIVO (APPLE CINEMA GLASS) */
.apple-tv-live-section {
    margin-bottom: 48px;
}

.apple-live-cinema-card {
    background: #000000;
    border-radius: var(--apple-radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.12);
    position: relative;
}

/* Barra Superior da Live */
.apple-live-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 14px 20px;
    background: rgba(20, 20, 22, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 59, 48, 0.2);
    border: 1px solid rgba(255, 59, 48, 0.5);
    padding: 5px 12px;
    border-radius: var(--apple-radius-pill);
}

.apple-radar-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--apple-red-live);
    box-shadow: 0 0 10px var(--apple-red-live);
    animation: appleLivePulse 1.4s infinite ease-in-out;
}

@keyframes appleLivePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.35); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.apple-live-text {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: #ffffff;
    text-transform: uppercase;
}

.apple-session-badge {
    padding: 4px 12px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.apple-session-badge.badge-ordinaria { background: rgba(0, 113, 227, 0.35); border: 1px solid rgba(0, 113, 227, 0.5); }
.apple-session-badge.badge-extraordinaria { background: rgba(255, 149, 0, 0.35); border: 1px solid rgba(255, 149, 0, 0.5); }
.apple-session-badge.badge-audiencia { background: rgba(175, 82, 222, 0.35); border: 1px solid rgba(175, 82, 222, 0.5); }
.apple-session-badge.badge-solene { background: rgba(52, 199, 89, 0.35); border: 1px solid rgba(52, 199, 89, 0.5); }

.apple-live-date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

@media (max-width: 600px) {
    .apple-live-date {
        margin-left: 0;
        width: 100%;
    }
}

/* Container do Vídeo 16:9 */
.apple-video-player-container {
    position: relative;
    padding-bottom: 56.25%; /* Proporção 16:9 */
    height: 0;
    overflow: hidden;
    background: #050505;
}

.apple-video-player-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Detalhes da Sessão ao Vivo */
.apple-live-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 26px;
    background: #111114;
    color: #ffffff;
}

@media (max-width: 768px) {
    .apple-live-details {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }
}

.apple-live-title-area {
    flex: 1;
}

.apple-live-session-title {
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0 0 6px 0;
    line-height: 1.3;
}

.apple-live-pauta {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.apple-live-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.apple-btn-watch-yt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 10px 18px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--apple-transition);
}

.apple-btn-watch-yt:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
}

.apple-btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--apple-transition);
}

.apple-btn-share:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Card Modo Fora do Ar */
.apple-offline-card {
    background: var(--apple-card-bg);
    border: 1px solid var(--apple-card-border);
    border-radius: var(--apple-radius-lg);
    box-shadow: var(--apple-card-shadow);
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.apple-offline-banner {
    background: linear-gradient(135deg, rgba(0, 113, 227, 0.06) 0%, rgba(0, 113, 227, 0.02) 100%);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: var(--apple-radius-md);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.apple-offline-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--apple-text-muted);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.apple-offline-message {
    font-size: 1rem;
    color: var(--apple-text-title);
    margin: 0 0 12px 0;
    line-height: 1.5;
}

.apple-next-session-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 6px 14px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.85rem;
    color: var(--apple-blue);
}

.apple-last-session-preview {
    border-radius: var(--apple-radius-md);
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--apple-card-border);
}

.apple-last-session-header {
    padding: 16px 20px;
    background: #f5f5f7;
    border-bottom: 1px solid var(--apple-card-border);
}

.apple-subheading {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--apple-text-muted);
    margin-bottom: 4px;
}

.apple-last-session-header h4 {
    margin: 0 0 4px 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--apple-text-title);
}

.apple-date-muted {
    font-size: 0.82rem;
    color: var(--apple-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* 4. SEÇÃO DO ACERVO DE REUNIÕES */
.apple-tv-archive-section {
    margin-top: 40px;
}

.apple-archive-header {
    margin-bottom: 24px;
}

.apple-section-kicker {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--apple-blue);
    margin-bottom: 4px;
}

.apple-section-headline {
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--apple-text-title);
    margin: 0 0 6px 0;
}

.apple-section-description {
    font-size: 0.96rem;
    color: var(--apple-text-muted);
    margin: 0;
    line-height: 1.5;
}

/* 5. FILTROS INTELIGENTES APPLE (SMART FILTER BAR) */
.apple-smart-filter-bar {
    background: var(--apple-card-bg);
    border: 1px solid var(--apple-card-border);
    border-radius: var(--apple-radius-lg);
    box-shadow: var(--apple-card-shadow);
    padding: 18px 20px;
    margin-bottom: 32px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Segmented Control (Pílulas Apple) */
.apple-segmented-scroll {
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 14px;
    -webkit-overflow-scrolling: touch;
}

.apple-segmented-scroll::-webkit-scrollbar {
    height: 4px;
}

.apple-segmented-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.apple-segmented-control {
    display: inline-flex;
    background: #f2f2f7;
    padding: 4px;
    border-radius: var(--apple-radius-pill);
    gap: 4px;
    min-width: max-content;
}

.apple-seg-btn {
    border: none;
    background: transparent;
    padding: 8px 18px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--apple-font);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--apple-text-body);
    cursor: pointer;
    transition: var(--apple-transition);
    white-space: nowrap;
}

.apple-seg-btn:hover {
    color: var(--apple-text-title);
}

.apple-seg-btn.is-active {
    background: #ffffff;
    color: var(--apple-text-title);
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Linha 2 de Filtros (Busca + Seletores) */
.apple-filter-controls-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr auto;
    gap: 12px;
    align-items: center;
}

@media (max-width: 992px) {
    .apple-filter-controls-row {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 580px) {
    .apple-filter-controls-row {
        grid-template-columns: 1fr;
    }
}

/* Input de Busca */
.apple-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.apple-search-icon {
    position: absolute;
    left: 14px;
    color: var(--apple-text-muted);
    font-size: 0.9rem;
    pointer-events: none;
}

.apple-search-input {
    width: 100%;
    padding: 11px 36px 11px 38px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--apple-radius-md);
    background: #f5f5f7;
    font-family: var(--apple-font);
    font-size: 0.92rem;
    color: var(--apple-text-title);
    transition: var(--apple-transition);
    outline: none;
}

.apple-search-input:focus {
    background: #ffffff;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.apple-search-clear {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--apple-text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
}

.apple-search-clear:hover {
    color: var(--apple-text-title);
}

/* Seletores Dropdown Apple */
.apple-select-wrapper {
    position: relative;
}

.apple-select-input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--apple-radius-md);
    background: #f5f5f7;
    font-family: var(--apple-font);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--apple-text-title);
    cursor: pointer;
    transition: var(--apple-transition);
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.apple-select-input:focus {
    background-color: #ffffff;
    border-color: var(--apple-blue);
    box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

.apple-btn-reset-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 16px;
    background: #f2f2f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--apple-radius-md);
    font-family: var(--apple-font);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--apple-text-muted);
    cursor: pointer;
    transition: var(--apple-transition);
    white-space: nowrap;
}

.apple-btn-reset-filters:hover {
    background: #e5e5ea;
    color: var(--apple-text-title);
}

.apple-filter-status-row {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.apple-results-count {
    font-size: 0.85rem;
    color: var(--apple-text-muted);
}

.apple-results-count strong {
    color: var(--apple-text-title);
    font-weight: 700;
}

/* 6. GRID DE VÍDEOS APPLE MATERIAL */
.apple-video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .apple-video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .apple-video-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* Card Individual Apple */
.apple-video-card {
    background: var(--apple-card-bg);
    border: 1px solid var(--apple-card-border);
    border-radius: var(--apple-radius-lg);
    box-shadow: var(--apple-card-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--apple-transition);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.apple-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--apple-card-shadow-hover);
    border-color: rgba(0, 0, 0, 0.12);
}

/* Mídia e Thumbnail */
.apple-card-media {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.apple-video-thumb {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-video-card:hover .apple-video-thumb {
    transform: scale(1.05);
}

.apple-video-thumb-placeholder {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: #1c1c1e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
}

/* Botão Play Glassmorphism */
.apple-play-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--apple-transition);
}

.apple-play-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d1d1f;
    font-size: 1.1rem;
    padding-left: 3px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: var(--apple-transition);
}

.apple-video-card:hover .apple-play-circle {
    transform: scale(1.15);
    background: #ffffff;
    color: var(--apple-blue);
}

/* Badges sobre a Mídia */
.apple-media-badges {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.apple-pill-type {
    padding: 4px 10px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.apple-pill-type.pill-ordinaria { background: rgba(0, 113, 227, 0.9); }
.apple-pill-type.pill-extraordinaria { background: rgba(255, 149, 0, 0.9); }
.apple-pill-type.pill-audiencia { background: rgba(175, 82, 222, 0.9); }
.apple-pill-type.pill-solene { background: rgba(52, 199, 89, 0.9); }
.apple-pill-type.pill-comissao { background: rgba(0, 67, 206, 0.9); }
.apple-pill-type.pill-itinerante { background: rgba(178, 94, 2, 0.9); }
.apple-pill-type.pill-especial { background: rgba(77, 83, 88, 0.9); }

.apple-pill-duration {
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 3px 8px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Corpo do Card */
.apple-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.apple-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--apple-text-muted);
    margin-bottom: 8px;
}

.apple-card-date,
.apple-card-time {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.apple-card-title {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.015em;
}

.apple-card-title a {
    color: var(--apple-text-title) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.apple-card-title a:hover {
    color: var(--apple-blue) !important;
}

.apple-card-pauta {
    font-size: 0.88rem;
    color: var(--apple-text-body);
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}

/* Rodapé do Card */
.apple-card-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.apple-btn-card-watch {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f2f2f7;
    color: var(--apple-text-title);
    border: none;
    padding: 9px 14px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--apple-font);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--apple-transition);
}

.apple-btn-card-watch:hover {
    background: var(--apple-blue);
    color: #ffffff;
}

.apple-btn-card-yt,
.apple-btn-card-ata {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f2f2f7;
    color: var(--apple-text-title) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: var(--apple-transition);
    flex-shrink: 0;
}

.apple-btn-card-yt:hover {
    background: #ff0000;
    color: #ffffff !important;
}

.apple-btn-card-ata:hover {
    background: #0071e3;
    color: #ffffff !important;
}

/* Estado Sem Resultados */
.apple-no-results-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--apple-card-bg);
    border: 1px dashed rgba(0, 0, 0, 0.15);
    border-radius: var(--apple-radius-lg);
    margin-top: 20px;
}

.apple-empty-icon {
    font-size: 3rem;
    color: #c7c7cc;
    margin-bottom: 16px;
}

.apple-no-results-state h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--apple-text-title);
    margin: 0 0 6px 0;
}

.apple-no-results-state p {
    font-size: 0.95rem;
    color: var(--apple-text-muted);
    margin: 0 0 20px 0;
}

.apple-btn-empty-reset {
    background: var(--apple-blue);
    color: #ffffff;
    border: none;
    padding: 10px 22px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--apple-font);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--apple-transition);
}

.apple-btn-empty-reset:hover {
    background: var(--apple-blue-hover);
}

/* 7. MODAL CINEMA APPLE LIGHTBOX */
.apple-modal-backdrop {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: appleModalFadeIn 0.3s ease;
}

@keyframes appleModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.apple-modal-dialog {
    width: 100%;
    max-width: 900px;
    animation: appleModalScaleIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes appleModalScaleIn {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.apple-modal-content {
    background: #141416;
    border-radius: var(--apple-radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    overflow: hidden;
}

.apple-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.apple-modal-meta-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apple-modal-badge {
    background: var(--apple-blue);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: var(--apple-radius-pill);
}

.apple-modal-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.82rem;
}

.apple-modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--apple-transition);
}

.apple-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: rotate(90deg);
}

.apple-modal-player-box {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.apple-modal-iframe-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

.apple-modal-footer {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #141416;
}

@media (max-width: 600px) {
    .apple-modal-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

.apple-modal-title {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    flex: 1;
}

.apple-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.apple-btn-modal-yt {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff0000;
    color: #ffffff !important;
    text-decoration: none !important;
    padding: 8px 16px;
    border-radius: var(--apple-radius-pill);
    font-size: 0.84rem;
    font-weight: 600;
    transition: var(--apple-transition);
}

.apple-btn-modal-yt:hover {
    background: #d90000;
}

.apple-btn-modal-close {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: var(--apple-radius-pill);
    font-family: var(--apple-font);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--apple-transition);
}

.apple-btn-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Suporte de Acessibilidade */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
