@layer pages {
  /* ========================================================================================
     PÁGINA DE VÍDEO (assistir_video.html)
     CSS específico extraído do template para reduzir acoplamento e remover estilos inline.
     ======================================================================================== */

  /* ====================================================
   RESUMO GERADO POR IA - NOVO LAYOUT (Botão inline)
   ==================================================== */

  /* Botão de resumo - estilizado igual aos outros botões */
  .btn-summary-toggle {
    background: linear-gradient(135deg, rgb(46 204 113 / 15%) 0%, rgb(46 204 113 / 5%) 100%);
    border: 2px solid rgb(46 204 113 / 40%);
    color: #2ecc71;
  }

  .btn-summary-toggle:hover {
    background: linear-gradient(135deg, rgb(46 204 113 / 25%) 0%, rgb(46 204 113 / 15%) 100%);
    border-color: rgb(46 204 113 / 60%);
    box-shadow: 0 8px 20px rgb(46 204 113 / 30%);
  }

  .btn-summary-toggle .summary-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .btn-summary-toggle .summary-icon-wrapper svg {
    fill: #2ecc71;
  }

  .icon-size-20 {
    width: 20px;
    height: 20px;
  }

  .btn-summary-toggle .chevron-icon {
    fill: #2ecc71;
    transition: transform 0.3s ease;
    margin-left: 4px;
  }

  .btn-summary-toggle[aria-expanded="true"] .chevron-icon {
    transform: rotate(180deg);
  }

  /* Seção do resumo - agora é apenas o container do conteúdo */
  .ai-summary-section {
    background: linear-gradient(135deg, rgb(46 204 113 / 8%) 0%, rgb(46 204 113 / 3%) 100%);
    border: 1px solid rgb(46 204 113 / 25%);
    border-radius: 12px;
    margin: 16px 0;
    overflow: hidden;
    transition: all 0.3s ease;
  }

  .ai-summary-section.collapsed {
    max-height: 0;
    margin: 0;
    border: none;
    opacity: 0;
  }

  .ai-summary-section.expanded {
    max-height: none;
    opacity: 1;
  }

  .summary-content {
    padding: 1.25rem 1.5rem;
    color: #e0e0e0;
    font-size: 1.02rem;
    line-height: 1.75;
    text-align: left;
    max-width: 74ch;
    margin: 0 auto;
    text-wrap: pretty;
    overflow-wrap: anywhere;
  }

  .summary-content p {
    margin: 0 0 1rem;
  }

  .summary-content p:last-child {
    margin-bottom: 0;
  }

  .summary-content h2,
  .summary-content h3,
  .summary-content h4 {
    font-weight: 700;
    color: #2ecc71;
    margin: 1.4rem 0 0.55rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid rgb(46 204 113 / 20%);
  }

  .summary-content h2 {
    font-size: 1.2rem;
  }

  .summary-content h3 {
    font-size: 1.08rem;
  }

  .summary-content h4 {
    font-size: 1rem;
  }

  .summary-content h2:first-child,
  .summary-content h3:first-child,
  .summary-content h4:first-child {
    margin-top: 0;
  }

  .summary-content ul,
  .summary-content ol {
    margin: 0.5rem 0 1rem;
    padding-left: 1.5rem;
  }

  .summary-content ul {
    list-style: none;
  }

  .summary-content ul li,
  .summary-content ol li {
    position: relative;
    margin-bottom: 0.4rem;
    line-height: 1.7;
    padding-left: 0.5rem;
  }

  .summary-content ul li::before {
    content: '▸';
    position: absolute;
    left: -1rem;
    color: #2ecc71;
    font-weight: bold;
  }

  .summary-content strong {
    color: #f0f0f0;
    font-weight: 600;
  }

  .summary-content em {
    color: #ccc;
    font-style: italic;
  }

  .summary-loading {
    color: #888;
    font-style: italic;
  }

  .video-description-box {
    margin-top: 1rem;
    display: grid;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    background: var(--card, rgb(255 255 255 / 4%));
    border: 1px solid var(--border, rgb(255 255 255 / 10%));
    border-radius: var(--radius-lg, 14px);
    box-shadow: 0 10px 26px rgb(0 0 0 / 16%);
  }

  .video-description-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: flex-start;
  }

  .video-description-text {
    color: #c7d0db;
    font-size: 0.96rem;
    line-height: 1.68;
    max-width: none;
    overflow-wrap: anywhere;
  }

  .video-description-text.is-collapsed {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
  }

  .video-description-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 40px;
    padding: 0.5rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgb(138 180 248 / 28%);
    background: linear-gradient(135deg, rgb(138 180 248 / 12%) 0%, rgb(138 180 248 / 6%) 100%);
    color: #8ab4f8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    vertical-align: middle;
    box-shadow: 0 4px 14px rgb(0 0 0 / 12%);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    max-width: 100%;
    white-space: normal;
    word-break: break-word;
  }

  .video-description-link-btn::after {
    content: '↗';
    font-size: 0.8em;
    opacity: 0.75;
  }

  .video-description-link-btn:hover {
    transform: translateY(-1px);
    border-color: rgb(138 180 248 / 48%);
    background: linear-gradient(135deg, rgb(138 180 248 / 18%) 0%, rgb(138 180 248 / 10%) 100%);
    box-shadow: 0 8px 20px rgb(138 180 248 / 16%);
  }

  .video-description-link-btn:focus-visible {
    outline: 2px solid rgb(138 180 248 / 75%);
    outline-offset: 2px;
  }

  @media (width <= 768px) {
    .ai-summary-section {
      margin: 12px 0;
    }

    .summary-content {
      padding: 1rem;
      font-size: 0.95rem;
      line-height: 1.7;
    }

    .video-description-box {
      gap: 0.75rem;
    }

    .video-description-text {
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .video-description-link-btn {
      padding: 0.45rem 0.78rem;
      font-size: 0.88rem;
    }
  }

  /* ====================================================
   ANÚNCIOS AFILIADOS APRIMORADOS
   ==================================================== */

  .sidebar-section.ads-section-enhanced {
    margin-bottom: 2rem;
    background: linear-gradient(135deg, rgb(138 180 248 / 5%) 0%, rgb(138 180 248 / 2%) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgb(138 180 248 / 10%);
  }

  .video-page-mode .sidebar-title {
    color: #8ab4f8;
    font-size: 1.1rem;
    margin: 0 0 20px;
    letter-spacing: 0.5px;
  }

  .affiliate-ads-enhanced {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  /* Card Individual do Anúncio */
  .ad-card-enhanced {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--card-bg-color, #1e1e1e);
    border: 1px solid var(--border-color, #3c4043);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 2px 12px rgb(0 0 0 / 30%);
  }

  .ad-card-enhanced:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgb(138 180 248 / 25%);
    border-color: rgb(138 180 248 / 40%);
  }

  .ad-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
  }

  .ad-image-badge {
    z-index: 5;
  }

  .coupon-clickable {
    cursor: pointer;
  }

  /* Wrapper da Imagem */
  .ad-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 75%;

    /* Aspect ratio 4:3 para produtos */
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    overflow: hidden;
  }

  /* Imagens */
  .ad-img,
  .ad-img-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;

    /* contain para produtos (não corta) */
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 0.6s ease;
    z-index: 1;
    padding: 15px;

    /* Espaçamento interno para não colar nas bordas */
  }

  .ad-img.active,
  .ad-img-placeholder.active {
    opacity: 1;
    z-index: 2;
  }

  /* Zoom suave no hover */
  .ad-card-enhanced:hover .ad-img.active {
    transform: scale(1.08);
  }

  /* Placeholder */
  .ad-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  /* Badge da Loja */
  .ad-store-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    background: rgb(0 0 0 / 85%);
    backdrop-filter: blur(10px);
    color: #8ab4f8;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    z-index: 3;
    border: 1px solid rgb(138 180 248 / 30%);
  }

  /* Wrapper de Informações */
  .ad-info-wrapper {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .ad-info-wrapper-tight {
    padding-top: 0;
  }

  .ad-actions-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
  }

  .ad-action-btn {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .ad-action-icon {
    margin-right: 6px;
  }

  .ad-rating-display {
    display: flex;
    align-items: center;
    min-height: 20px;
  }

  .ad-rating-count {
    font-size: 0.8rem;
    color: #888;
    margin-left: 4px;
  }

  /* Preço do Produto */
  .ad-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #8ab4f8;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 8px rgb(138 180 248 / 30%);
    margin: 0;
    line-height: 1.2;
  }

  /* Título do Produto */
  .ad-product-title {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;

    /* 2 linhas fixas */
    transition: color 0.3s ease;
  }

  .ad-card-enhanced:hover .ad-product-title {
    color: #8ab4f8;
  }

  /* Botão Call-to-Action */
  .ad-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #8ab4f8 0%, #6a9fe8 100%);
    color: #121212;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgb(138 180 248 / 30%);
    margin-top: 4px;
  }

  .ad-cta-btn.ad-action-btn {
    width: auto;
    margin-top: 0;
    text-decoration: none;
  }

  .ad-reviews-btn,
  .ad-learn-more-btn {
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    font: inherit;
  }

  .ad-reviews-btn {
    background: rgb(138 180 248 / 10%);
    border: 1px solid rgb(138 180 248 / 30%);
    color: #8ab4f8;
  }

  .ad-reviews-btn:hover {
    background: rgb(138 180 248 / 16%);
    border-color: rgb(138 180 248 / 45%);
  }

  .ad-learn-more-btn {
    background: rgb(0 217 255 / 10%);
    border: 1px solid rgb(0 217 255 / 30%);
    color: var(--neon-cyan);
  }

  .ad-learn-more-btn:hover {
    background: rgb(0 217 255 / 16%);
    border-color: rgb(0 217 255 / 45%);
  }

  .ad-cta-btn:hover {
    background: linear-gradient(135deg, #6a9fe8 0%, #5a8fd8 100%);
    box-shadow: 0 6px 20px rgb(138 180 248 / 50%);
    transform: translateY(-2px);
  }

  .ad-cta-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgb(138 180 248 / 40%);
  }

  /* ====================================================
   RESPONSIVIDADE
   ==================================================== */

  @media (width <= 1200px) {
    .ad-price {
      font-size: 1.3rem;
    }

    .ad-product-title {
      font-size: 0.95rem;
    }
  }

  @media (width <= 768px) {
    .sidebar-section.ads-section-enhanced {
      padding: 16px;
    }

    .affiliate-ads-enhanced {
      gap: 16px;
    }

    .ad-price {
      font-size: 1.2rem;
    }

    .ad-product-title {
      font-size: 0.9rem;
      -webkit-line-clamp: 3;
      min-height: 4.2em;
    }

    .ad-cta-btn {
      font-size: 0.9rem;
      padding: 11px 18px;
    }
  }

  @media (width <= 480px) {
    .ad-image-wrapper {
      padding-top: 100%;

      /* Quadrado em mobile */
    }

    .ad-info-wrapper {
      padding: 14px;
    }

    .ad-price {
      font-size: 1.1rem;
    }

    .ad-store-badge {
      font-size: 0.7rem;
      padding: 5px 10px;
    }
  }

  .video-actions-bar {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgb(138 180 248 / 10%);
  }

  .btn-favoritar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgb(138 180 248 / 10%) 0%, rgb(255 215 0 / 10%) 100%);
    border: 2px solid rgb(138 180 248 / 30%);
    min-height: 52px;
    height: 52px;
    position: relative;
    top: 0;
    margin: 0;
    transform: none;
    border-radius: 12px;
    color: #8ab4f8;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
  }

  .btn-favoritar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgb(255 215 0 / 30%) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
  }

  .btn-favoritar:hover::before {
    width: 300px;
    height: 300px;
  }

  .btn-favoritar:hover {
    background: linear-gradient(135deg, rgb(138 180 248 / 20%) 0%, rgb(255 215 0 / 20%) 100%);
    border-color: rgb(255 215 0 / 60%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgb(255 215 0 / 30%);
  }

  .star-icon {
    position: relative;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .star-outline,
  .star-filled {
    position: absolute;
    width: 24px;
    height: 24px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  .star-outline {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .star-filled {
    opacity: 0;
    transform: scale(0) rotate(-180deg);
    color: #ffd700;
    filter: drop-shadow(0 0 8px rgb(255 215 0 / 80%));
  }

  .btn-favoritar.is-favorito .star-outline {
    opacity: 0;
    transform: scale(0) rotate(180deg);
  }

  .btn-favoritar.is-favorito .star-filled {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .btn-favoritar.is-favorito {
    background: linear-gradient(135deg, rgb(255 215 0 / 20%) 0%, rgb(255 165 0 / 20%) 100%);
    border-color: rgb(255 215 0 / 60%);
    color: #ffd700;
  }

  .btn-favoritar.is-favorito:hover {
    background: linear-gradient(135deg, rgb(255 215 0 / 30%) 0%, rgb(255 165 0 / 30%) 100%);
    border-color: #ffd700;
    box-shadow: 0 8px 20px rgb(255 215 0 / 50%);
  }

  /* Animação de pulso quando favoritar */
  @keyframes star-pulse {
    0% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.3);
    }

    100% {
      transform: scale(1);
    }
  }

  .btn-favoritar.animating .star-filled {
    animation: star-pulse 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  }

  /* Responsivo */
  @media (width <= 768px) {
    .video-actions-bar {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      align-items: stretch;
    }

    .btn-favoritar {
      width: 100%;
      min-width: 0;
      min-height: 48px;
      height: 48px;
      padding: 10px;
      font-size: 0.9rem;
      gap: 0;
    }

    .btn-favoritar-text,
    .favorite-count,
    .btn-summary-toggle .chevron-icon {
      display: none;
    }

    .star-icon,
    .heart-icon-wrapper,
    .summary-icon-wrapper {
      margin: 0;
      width: 20px;
      height: 20px;
    }

    .btn-favoritar .heart-icon,
    .btn-favoritar .star-icon svg,
    .btn-summary-toggle .summary-icon-wrapper svg {
      width: 20px;
      height: 20px;
    }
  }

  /* === Reviews Panel — video page overrides === */

  /* Painel desliza por baixo do header (60px) */
  .reviews-panel {
    --reviews-panel-top: 60px;
    --reviews-panel-height: calc(100% - 60px);
    --reviews-panel-bg: #1e1e1e;
    --reviews-panel-shadow: -5px 0 30px rgb(0 0 0 / 50%);
    --reviews-panel-border-left: none;
    --reviews-panel-backdrop-bg: rgb(0 0 0 / 60%);
    --reviews-panel-backdrop-filter: none;
    --reviews-panel-header-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --reviews-panel-header-border: 1px solid #333;

    --reviews-inner-header-bg: #2a2a2a;
    --reviews-inner-header-color: #fff;
    --reviews-inner-header-border-color: #444;
    --reviews-inner-rating-color: #fff;
    --reviews-inner-count-color: #aaa;
    --reviews-inner-progress-bg: #3a3a3a;
    --reviews-inner-progress-fill-bg: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    --reviews-inner-btn-primary-bg: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --reviews-inner-btn-primary-border: none;
    --reviews-inner-btn-primary-font-weight: 600;
    --reviews-inner-btn-primary-transition: all 0.2s;
    --reviews-inner-btn-primary-shadow: 0 4px 12px rgb(102 126 234 / 40%);
    --reviews-inner-btn-primary-hover-filter: none;
    --reviews-inner-btn-primary-hover-transform: translateY(-2px);
    --reviews-inner-btn-primary-hover-shadow: 0 4px 12px rgb(102 126 234 / 40%);
    --reviews-inner-btn-secondary-bg: #3a3a3a;
    --reviews-inner-btn-secondary-border-color: #555;
    --reviews-inner-btn-secondary-hover-bg: #4a4a4a;
    --reviews-inner-btn-secondary-hover-color: #fff;
    --reviews-inner-form-bg: #2a2a2a;
    --reviews-inner-form-border-color: #444;
    --reviews-inner-form-color: #fff;
    --reviews-inner-form-textarea-bg: #333;
    --reviews-inner-form-textarea-color: #fff;
    --reviews-inner-form-textarea-border-color: #555;
    --reviews-inner-form-textarea-focus-border: #667eea;
    --reviews-inner-form-textarea-focus-shadow: 0 0 0 3px rgb(102 126 234 / 10%);
    --reviews-inner-card-border-color: #3a3a3a;
    --reviews-inner-content-color: #ddd;
    --reviews-inner-action-bg: rgb(255 255 255 / 5%);
    --reviews-inner-action-color: #aaa;
    --reviews-inner-action-padding: 6px 12px;
    --reviews-inner-action-radius: 6px;
    --reviews-inner-action-border-color: #444;
    --reviews-inner-helpful-hover-color: #667eea;
    --reviews-inner-helpful-hover-border: #667eea;
    --reviews-inner-helpful-hover-bg: rgb(102 126 234 / 10%);
    --reviews-inner-report-hover-color: #ff6b6b;
    --reviews-inner-report-hover-border: #ff6b6b;
    --reviews-inner-report-hover-bg: rgb(255 107 107 / 10%);
  }

  @media (width <= 768px) {
    .reviews-panel {
      width: 100%;
      max-width: 100%;
      right: -100%;
    }

    .reviews-panel.active {
      right: 0;
    }
  }

  .article-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgb(0 0 0 / 60%); backdrop-filter: blur(2px);
    z-index: 9999; display: none; opacity: 0; transition: opacity 0.3s;
  }

  .article-backdrop.active {
    display: block;
    opacity: 1;
  }

  .article-panel {
    position: fixed; top: 60px; right: -520px;
    width: 520px; max-width: 92vw;
    height: calc(100% - 60px);
    background: #1a1a2e;
    z-index: 10000;
    box-shadow: -5px 0 30px rgb(0 0 0 / 50%);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    border-left: 1px solid rgb(0 217 255 / 15%);
  }
  .article-panel.active { right: 0; }

  .article-panel-header {
    background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
    padding: 20px 24px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgb(0 217 255 / 20%);
  }

  .article-panel-header h3 {
    margin: 0; font-size: 1.1rem; font-weight: 600; color: #fff;
  }

  .article-panel-close {
    background: rgb(255 255 255 / 15%); border: none; border-radius: 50%;
    width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; transition: background 0.2s;
  }
  .article-panel-close:hover { background: rgb(255 255 255 / 30%); }

  .article-panel-body {
    flex: 1; overflow-y: auto; padding: 24px;
    scrollbar-width: thin; scrollbar-color: rgb(0 217 255 / 30%) transparent;
  }
  .article-panel-body::-webkit-scrollbar { width: 6px; }

  .article-panel-body::-webkit-scrollbar-thumb {
    background: rgb(0 217 255 / 30%);
    border-radius: 3px;
  }

  .article-inline-title {
    font-size: 1.3rem; font-weight: 700; color: #e0e0e0; margin: 0 0 20px; line-height: 1.3;
  }
  .article-pros-cons { margin-bottom: 16px; }

  .article-pros h4 {
    color: var(--neon-green-bright);
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .article-cons h4 {
    color: #f87171;
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .article-tips h4 {
    color: var(--neon-cyan);
    font-size: 0.95rem;
    margin-bottom: 8px;
  }

  .article-pros ul, .article-cons ul, .article-tips ul {
    list-style: none; padding: 0; margin: 0 0 12px;
  }

  .article-pros li, .article-cons li, .article-tips li {
    padding: 6px 0 6px 20px; position: relative; color: #ccc; font-size: 0.9rem; line-height: 1.5;
  }

  .article-pros li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--neon-green-bright);
    font-weight: bold;
  }

  .article-cons li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #f87171;
    font-weight: bold;
  }

  .article-tips li::before {
    content: "💡";
    position: absolute;
    left: 0;
  }

  .light-mode .ad-learn-more-btn,
  .light-mode .article-tips h4 {
    color: #00d9ff;
  }

  .article-body-content {
    color: var(--text-secondary, #b0b0b0); font-size: 1rem; line-height: 1.9; margin-bottom: 24px;
  }

  .article-body-content h2 {
    color: #fff; font-size: 1.25rem; font-weight: 700;
    margin-top: 28px; margin-bottom: 14px; padding-bottom: 8px;
    border-bottom: 1px solid rgb(0 217 255 / 15%);
  }

  .article-body-content h3 {
    color: #fff; font-size: 1.1rem; font-weight: 600;
    margin-top: 22px; margin-bottom: 10px;
  }

  .article-body-content h4 {
    color: #e0e0e0; font-size: 1rem; font-weight: 600;
    margin-top: 18px; margin-bottom: 8px;
  }
  .article-body-content p { margin-bottom: 14px; }

  .article-body-content strong {
    color: #e0e0e0;
    font-weight: 600;
  }
  .article-body-content em { color: #c0c0c0; }

  .article-body-content ul, .article-body-content ol {
    padding-left: 24px; margin-bottom: 14px;
  }
  .article-body-content li { margin-bottom: 6px; }

  .article-body-content blockquote {
    border-left: 3px solid var(--accent, #00d9ff); padding: 8px 16px;
    margin: 16px 0; color: #c0c0c0; background: rgb(0 217 255 / 5%);
    border-radius: 0 8px 8px 0;
  }

  .article-body-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 16px 0;
  }

  .article-body-content a {
    color: var(--accent, #00d9ff);
    text-decoration: underline;
  }
  .article-body-content a:hover { opacity: 0.8; }

  .article-body-content hr {
    border: none; border-top: 1px solid rgb(255 255 255 / 10%); margin: 24px 0;
  }

  .article-content-block {
    display: none;
  }

  .article-content-block.is-active {
    display: block;
  }

  .article-read-full {
    text-align: center; padding: 20px 0 8px; border-top: 1px solid rgb(255 255 255 / 10%);
  }

  .btn-read-full {
    display: inline-block; padding: 12px 28px;
    background: var(--accent, #00d9ff); color: #111;
    border-radius: 8px; text-decoration: none; font-weight: 700;
    font-size: 0.95rem; transition: all 0.2s;
  }

  .btn-read-full:hover {
    background: #00c4e6;
    transform: translateY(-1px);
  }

  @media (width <= 768px) {
    .article-panel {
      width: 100%;
      max-width: 100%;
      right: -100%;
    }
  }

/* === Video Page Layout (movido de components/video-page.css) === */
.video-page-mode .page-shell {
    padding-left: 0;
    padding-right: 0;
    padding-top: 16px;
    max-width: 100%;
  }

  .video-page-mode .container {
    max-width: 100%;
    padding: 0;
  }

  .video-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    max-width: calc(135vh + 400px);
    width: 100%;
    margin: 0 auto 0 24px;
    padding: 0 0 24px;
  }

  .video-main-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .video-player-wrapper {
    position: relative;
    width: 100%;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
  }

  .video-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
  }

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

  .video-details-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .video-main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin: 0;
    line-height: 1.3;
  }

  .video-meta-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
  }

  .video-channel-info .channel-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
  }

  .video-channel-info .channel-avatar-large {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
  }

  .video-channel-info .channel-name {
    font-weight: 600;
    color: var(--text-2);
  }

  .video-channel-info .channel-subs {
    font-size: 0.85rem;
    color: var(--muted);
  }

  .video-stats {
    display: flex;
    gap: 16px;
    font-size: 0.9rem;
    color: var(--muted);
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .stat-item svg {
    width: 18px;
    height: 18px;
    fill: var(--muted);
  }

  .btn-description-toggle {
    margin-top: 12px;
    align-self: flex-start;
  }

  .video-actions-description {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: var(--space-04);
  }

  .video-tags-box {
    margin-top: 8px;
  }

  .tags-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--muted);
  }

  .tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .video-tags-section {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .video-tags-section .sidebar-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: #8ab4f8;
    font-size: 1rem;
  }

  .video-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .tag-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 20%);
    filter: brightness(1.2);
  }

  .tags-help-text {
    margin: 0;
    font-size: 0.8rem;
    color: var(--muted);
    font-style: italic;
  }

  .video-sidebar {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .recommended-videos-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .recommended-video-card {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    transition: background var(--trans);
    border-radius: 8px;
  }

  .recommended-video-card:hover {
    background: var(--bg-accent);
  }

  .recommended-thumb-wrapper {
    width: 160px;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
  }

  .recommended-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .recommended-info {
    padding: 4px 0;
  }

  .recommended-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
  }

  .recommended-channel {
    font-size: 0.8rem;
    color: var(--muted);
  }

  @media (width <= 1200px) {
    .video-page-layout {
      grid-template-columns: minmax(0, 1fr) 300px;
    }

    .recommended-video-card {
      grid-template-columns: 120px 1fr;
    }

    .recommended-thumb-wrapper {
      width: 120px;
    }
  }

  @media (width <= 968px) {
    .video-page-layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      padding: 12px;
      margin: 0 auto;
      width: 100%;
      max-width: 100%;
      overflow-x: hidden;
      box-sizing: border-box;
    }

    .video-player iframe {
      max-width: 100%;
    }
  }

  @media (width <= 768px) {
    .video-page-layout,
    .video-container-layout {
      flex-direction: column;
    }

    .video-sidebar,
    .video-ad-sidebar {
      width: 100%;
      max-width: 100%;
      order: 2;
    }

    .video-main-content {
      width: 100%;
    }

    .video-player-wrapper {
      aspect-ratio: 16/9;
      width: 100%;
    }

    .video-actions-bar {
      flex-wrap: wrap;
      gap: 8px;
    }

    .video-actions-bar .btn {
      flex: 1;
      min-width: 80px;
      font-size: 12px;
      padding: 8px 12px;
    }
  }

  @media (width <= 480px) {
    .video-actions-bar {
      flex-direction: column;
    }

    .video-actions-bar .btn {
      width: 100%;
    }
  }
}
