/* ════════════════════════════════════════════════════════
   IQ Magazine · styles.css
   Extraído do index.html
════════════════════════════════════════════════════════ */

/* ── @font-face ── */
@font-face {
            font-family: 'Qurova';
            src: url('QurovaDEMO-Bold.otf') format('opentype');
            font-weight: 900;
            font-display: swap;
        }
        @font-face {
            font-family: 'Qurova';
            src: url('QurovaDEMO-Regular.otf') format('opentype');
            font-weight: 400;
            font-display: swap;
        }
        @font-face {
            font-family: 'Past Glory';
            src: local('Past Glory'), local('PastGlory');
            font-display: swap;
        }
        @font-face {
            font-family: 'RockyBlimpOpti';
            src: url('RockyBlimpOpti.otf') format('opentype');
            font-weight: normal;
            font-style: normal;
            font-display: swap;
        }


/* ══════════════════════════════════════════════════════
   ESTILOS PRINCIPAIS
══════════════════════════════════════════════════════ */
:root {
            --black: #0a0a0a;
            --white: #ffffff;
            --red: #c8003e;
            --gold: #F5C518;
            --gold-premium: linear-gradient(135deg, #F5C518 0%, #f7d045 50%, #d4a800 100%);
            --gold-light: #fbe88a;
            --gray: #555555;
            --border: #E8EAED;
            --surface: #ffffff;
            --header-h: 0px;
        }

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

        body {
            background-color: #F8F9FA;
            font-family: 'Inter', sans-serif;
            color: #2D3436;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
            line-height: 1.6;
            border-top: none;
        }

        /* Desktop: fundo lateral cinza, conteúdo em branco quente — efeito revista */
        @media (min-width: 641px) {
            body { background-color: #E4E4E4; }
        }

        /* Container principal simulando uma página centralizada */
        .main-content {
            max-width: 1200px;
            margin: 0 auto 0;
            padding: 0px 14px 20px;
            background: #F8F9FA;
            position: relative;
            min-height: 100vh;
        }

        @media (min-width: 641px) {
            .main-content {
                background: #FAFAFA;
                box-shadow: none;
                padding-left: 0;
                padding-right: 0;
            }
        }

        /* Separador cinza flutuante entre header e feed */
        .feed-divider {
            display: none;
        }

        /* ─── TOP BLACK BAR (desktop only) ─── */
        .desktop-top-bar {
            display: none;
        }
        @media (min-width: 641px) {
            .desktop-top-bar {
                display: flex;
                align-items: center;
                width: 100%;
                background: #0F1923;
                height: 28px;
                position: sticky;
                top: 0;
                z-index: 201;
                padding: 0;
            }
            .desktop-top-bar-inner {
                max-width: 1200px;
                width: 100%;
                margin: 0 auto;
                padding: 0 16px;
                display: flex;
                align-items: center;
            }
            .desktop-top-bar-text {
                font-family: 'Inter', sans-serif;
                font-size: 11px;
                font-weight: 700;
                color: #ffffff;
                letter-spacing: 0.01em;
                white-space: nowrap;
            }
        }

        /* ── DESKTOP: botões de ação no canto direito da trend bar ── */
        .desktop-tabs-actions {
            display: none;
        }
        @media (min-width: 641px) {
            .desktop-tabs-actions {
                display: flex;
                align-items: center;
                gap: 4px;
                margin-left: auto;
                flex-shrink: 0;
            }
            .dtab-action-btn {
                display: flex;
                align-items: center;
                gap: 5px;
                background: none;
                border: none;
                cursor: pointer;
                padding: 6px 10px;
                border-radius: 6px;
                font-family: 'Inter', sans-serif;
                font-size: 12px;
                font-weight: 500;
                color: rgba(0,0,0,0.55);
                text-decoration: none;
                transition: background 0.15s, color 0.15s;
                white-space: nowrap;
            }
            .dtab-action-btn:hover {
                background: rgba(0,0,0,0.05);
                color: #0a0a0a;
            }
            .dtab-action-btn svg {
                width: 15px;
                height: 15px;
                flex-shrink: 0;
            }
            .dtab-search-btn {
                padding: 6px 8px;
            }
            .dtab-search-btn svg {
                width: 16px;
                height: 16px;
            }
            /* Botão Assinar: borda cinza + texto verde */
            .dtab-btn-assinar {
                border: 1.5px solid rgba(0,0,0,0.18) !important;
                border-radius: 999px !important;
                color: #2e9e6b !important;
                font-weight: 600 !important;
                padding: 11px 30px !important;
                font-size: 14px !important;
                background: none !important;
            }
            .dtab-btn-assinar:hover {
                background: rgba(46,158,107,0.06) !important;
                color: #2e9e6b !important;
            }
            /* Botão Entrar: fundo verde + texto branco */
            .dtab-btn-entrar {
                border: 1.5px solid #2e9e6b !important;
                border-radius: 999px !important;
                color: #fff !important;
                font-weight: 600 !important;
                padding: 11px 30px !important;
                font-size: 14px !important;
                background: #2e9e6b !important;
            }
            .dtab-btn-entrar:hover {
                background: #27896d !important;
                border-color: #27896d !important;
                color: #fff !important;
            }
        }

        /* ─── TREND TABS BAR ─── */
        .trend-tabs-bar {
            width: 100%;
            background: #fff;
            border-bottom: none;
            position: sticky;
            top: 0;
            z-index: 200;
            box-shadow: none;
        }

        @media (min-width: 641px) {
            .trend-tabs-bar {
                padding-top: 8px;
                padding-bottom: 4px;
                top: 28px;
                border-bottom: none;
            }
        }

        .trend-tabs-underline-bar {
            display: none;
        }

        /* Separador entre tabs e primeira notícia — desktop only */
        .desktop-feed-separator {
            display: none;
        }
        @media (min-width: 641px) {
            .desktop-feed-separator {
                display: block;
                height: 1px;
                background: #d4d4d4;
                margin: 16px 0;
            }
        }

        .trend-tabs-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            display: flex;
            align-items: stretch;
            gap: 0;
            overflow-x: auto;
            scrollbar-width: none;
            position: relative;
        }

        .trend-tab:first-child {
            padding-left: 0;
        }
        .trend-tab:first-child::after {
            left: 0;
        }
        .trend-tabs-inner::-webkit-scrollbar { display: none; }

        .trend-tab {
            font-family: 'Fira Sans Condensed', sans-serif;
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -0.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.28);
            padding: 14px 6px 10px;
            white-space: nowrap;
            border: none;
            background: none;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            transition: color 0.2s;
            flex-shrink: 0;
            -webkit-tap-highlight-color: transparent;
            outline: none;
        }

        .trend-tab.active {
            color: #0a0a0a;
        }

        /* Barra deslizante única — criada via JS */
        .trend-tabs-slider {
            position: absolute;
            bottom: 0;
            left: 0;
            height: 4px;
            background: #3aaa72;
            border-radius: 0;
            transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), width 0.35s cubic-bezier(0.4,0,0.2,1);
            pointer-events: none;
            will-change: transform, width;
        }

        .trend-tab:hover:not(.active) {
            color: rgba(0,0,0,0.65);
        }

        .tab-text {
            display: inline-block;
            border-radius: 4px;
            transition: background 0.5s ease;
        }

        .trend-tab.tab-flash .tab-text {
            background: rgba(0,0,0,0.06);
            transition: background 0s;
        }

        /* Número solto — sem fundo, só muda de cor */
        .tab-badge {
            font-family: 'Inter', sans-serif;
            font-size: 10px;
            font-weight: 900;
            letter-spacing: 0;
            color: rgba(0,0,0,0.2);
            margin-left: 3px;
            vertical-align: super;
            position: relative;
            top: 0;
            text-transform: none;
            transition: color 0.2s;
        }
        .trend-tab.active .tab-badge {
            color: rgba(0,0,0,0.5);
        }

        /* Paineis de conteúdo das tabs */
        .trend-panel {
            display: none;
        }
        .trend-panel.active {
            display: block;
        }



        .hero-section {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 16px;
            perspective: 1000px;
        }

        .hero-cover {
            background: #ffffff;
            box-shadow: 
                0 16px 48px -8px rgba(0,0,0,0.1),
                0 4px 12px rgba(0,0,0,0.05),
                inset 0 0 0 1px rgba(0,0,0,0.05);
            transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
            will-change: transform;
            border: 1px solid rgba(0,0,0,0.08);
        }

        /* Remove efeito de "página de revista" a partir de 641px (desktop/tablet) */
        @media (min-width: 641px) {
            .hero-cover {
                box-shadow: none;
                border: none;
            }
        }

        /* Camadas de Preto e Textura - Removidas para fundo branco limpo */
        .hero-cover::before {
            content: none;
        }

        .hero-cover::after {
            content: none;
        }

        @keyframes spotlight {
            0% { transform: translate(-10%, -10%); }
            100% { transform: translate(10%, 10%); }
        }

        /* ─── Foto de capa (Removida) ─── */
        .cover-photo {
            display: none;
        }

        /* ─── Masthead ─── */
        .cover-top {
            padding: 14px 22px 8px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: #ffffff;
            position: relative;
            z-index: 10;
        }

        .cover-top-label {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.4);
            line-height: 1.65;
            display: flex;
            gap: 8px;
        }

        .cover-top-label::before {
            content: '·';
            color: var(--gold);
            opacity: 0.55;
            flex-shrink: 0;
        }

        .cover-top-edition {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: #000;
            line-height: 1.65;
            flex-shrink: 0;
        }

        /* ─── Body ─── */
        .cover-body {
            padding: 20px 32px 25px;
            position: relative;
            z-index: 10;
        }

        /* Kicker */
        .cover-kicker {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3.5px;
            text-transform: uppercase;
            color: var(--red);
            opacity: 0.85;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .cover-kicker::after {
            content: '';
            flex: 1;
            height: 1px;
            background: rgba(200,0,62,0.2);
        }

        /* ─── Headline: 3 linhas independentes ─── */
        .hero-headline {
            display: block;
            margin-bottom: 18px;
        }

        .hl-line {
            display: block;
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            text-transform: uppercase;
            color: #000;
            font-size: clamp(50px, 12vw, 75px);
            letter-spacing: -0.04em;
            line-height: 0.95;
            text-shadow: none;
        }

        .hl-mundo {
            display: block;
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            text-transform: uppercase;
            color: #b08d57;
            font-size: clamp(70px, 18vw, 105px);
            letter-spacing: -0.05em;
            line-height: 0.9;
        }

        /* ─── Subtítulo com barra esquerda ─── */
        .hero-sub-wrap {
            border-left: 4px solid var(--red);
            padding: 4px 0 4px 20px;
            margin-top: 15px;
            background: transparent;
        }

        .hero-sub {
            font-size: 15px;
            font-weight: 500;
            line-height: 1.6;
            color: #333;
            max-width: 420px;
            letter-spacing: 0.01em;
        }

        /* ─── Divisor ─── */
        .cover-rule-h {
            height: 1px;
            background: rgba(0,0,0,0.08);
            margin: 0 22px;
        }

        /* ─── Secção do reflexo ─── */
        .cover-quote-section {
            padding: 24px 32px;
            display: flex;
            gap: 24px;
            align-items: flex-start;
            background: transparent;
            position: relative;
            z-index: 10;
        }

        .cover-quote-mark {
            font-family: 'Playfair Display', serif;
            font-size: 56px;
            color: var(--gold);
            opacity: 0.22;
            line-height: 0.65;
            flex-shrink: 0;
            user-select: none;
            margin-top: 4px;
        }

        .cover-quote-inner { flex: 1; }

        .cover-quote-kicker {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: var(--gold);
            opacity: 0.75;
            margin-bottom: 8px;
        }

        .cover-quote {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 14px;
            line-height: 1.55;
            color: #444;
            margin: 0;
            position: relative;
        }

        .cover-lines-section {
            border-top: 1px solid rgba(0,0,0,0.08);
            padding: 24px 32px 32px;
            background: transparent;
            position: relative;
            z-index: 10;
        }

        .cover-lines-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 12px;
        }

        .cover-lines-kicker {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: #fff;
            white-space: nowrap;
        }

        .cover-lines-rule {
            flex: 1;
            height: 1px;
            background: rgba(242,237,227,0.06);
        }

        .cover-lines {
            display: grid;
            grid-template-columns: 1fr 1fr;
        }

        .cover-line {
            padding: 5px 20px;
            border-bottom: 1px solid rgba(255,255,255,0.05);
            display: flex;
            flex-direction: column;
            gap: 2px;
            transition: all 0.3s ease;
        }

        .cover-line:hover {
            background: rgba(255,255,255,0.03);
            transform: translateX(5px);
        }

        .cover-line:nth-child(odd) { border-right: 1px solid rgba(242,237,227,0.08); }
        .cover-line:nth-last-child(-n+2) { border-bottom: none; }

        .cover-line-cat {
            font-family: 'DM Mono', monospace;
            font-size: 7.5px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--gold);
            opacity: 0.85;
        }

        .cover-line-tit {
            font-size: 12px;
            font-weight: 500;
            color: rgba(242,237,227,0.75);
            line-height: 1.35;
        }

        .cover-line-link {
            cursor: pointer;
            transition: background 0.2s;
            border-radius: 4px;
            -webkit-tap-highlight-color: transparent;
        }
        .cover-line-link:hover .cover-line-tit {
            color: rgba(242,237,227,0.88);
        }
        .cover-line-link:hover .cover-line-cat {
            opacity: 0.85;
        }
        .cover-line-link:active {
            background: rgba(255,255,255,0.04);
        }

        /* ─── Colofão ─── */
        .cover-bottom {
            border-top: 1px solid rgba(242,237,227,0.07);
            padding: 12px 22px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .cover-colophon {
            font-family: 'DM Mono', monospace;
            font-size: 8.5px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(242,237,227,0.16);
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .cover-colophon-sep {
            width: 1px;
            height: 8px;
            background: rgba(242,237,227,0.1);
        }

        @media (max-width: 480px) {
            .cover-lines { grid-template-columns: 1fr; }
            .cover-line:nth-child(odd) { border-right: none; }
            .cover-line:nth-last-child(-n+2) { border-bottom: 1px solid rgba(242,237,227,0.05); }
            .cover-line:last-child { border-bottom: none; }
            .cover-quote-kicker { font-size: 10px; }
            .cover-quote-text { font-size: 14px; }
            .cover-lines-kicker { font-size: 10px; }
            .cover-line-cat { font-size: 9px; }
            .cover-line-tit { font-size: 13px; }
        }

                /* ─── SECTION LABEL ─── */
        .section-label {
            display: flex;
            align-items: center;
            gap: 0;
            margin: 20px 0 0;
        }

        .section-label-line {
            height: 1px;
            flex: 1;
            background: var(--border);
        }
        @media (min-width: 769px) {
            .section-label-line { display: none; }
            .section-label { margin: 0; gap: 0; }
        }

        .section-label-text {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3.5px;
            text-transform: uppercase;
            color: #fff;
            background: var(--black);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
        }

        .section-label-dot {
            width: 5px;
            height: 5px;
            border-radius: 50%;
            background: var(--red);
        }

        /* ═══════════════════════════════════════════
           MOSAICO
        ═══════════════════════════════════════════ */

        /* Feed = CSS Grid mosaico */
        #news-feed {
            display: grid !important;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: auto;
            gap: 8px;
            padding: 16px 32px 40px;
            align-items: stretch;
            margin-top: 0;
        }

        /* Desktop: espaço entre cards */
        @media (min-width: 641px) {
            #news-feed {
                gap: 16px;
                padding: 16px 32px 40px;
                background: transparent;
            }
            #news-feed .article,
            #pv-brasil-panel .article,
            #pv-mundo-panel .article {
                border: none !important;
                border-radius: 0;
                box-shadow: none;
            }
            #pv-brasil-panel,
            #pv-mundo-panel {
                gap: 16px;
                background: transparent;
                border-top: none;
            }
        }

        /* Oculta o feed quando estamos no painel Para Você */
        #news-feed.pv-hidden {
            display: none !important;
        }

        /* Painel estático Brasil — mesmo grid e sizing do #news-feed */
        #pv-brasil-panel {
            display: none;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: auto;
            gap: 10px;
            padding: 0 32px 80px;
            align-items: stretch;
            max-width: 1200px;
            margin: 0 auto;
        }
        #pv-brasil-panel.pv-visible {
            display: grid;
        }
        @media (max-width: 640px) {
            #pv-brasil-panel { padding: 0 10px 80px; }
        }

        /* Painel estático Mundo — mesma estrutura do Brasil */
        #pv-mundo-panel {
            display: none;
            grid-template-columns: repeat(2, 1fr);
            grid-auto-rows: auto;
            gap: 10px;
            padding: 0 32px 80px;
            align-items: stretch;
            max-width: 1200px;
            margin: 0 auto;
        }
        #pv-mundo-panel.pv-visible {
            display: grid;
        }
        @media (max-width: 640px) {
            #pv-mundo-panel { padding: 0 10px 80px; }
        }

        /* Elementos full-width no grid */
        #news-feed .section-label,
        #news-feed .qt-block,
        #news-feed .curiosidade-block,
        #news-feed .signup-block,
        #news-feed .quiz-block,
        #news-feed .flashcard-block,
        #pv-brasil-panel .quiz-block,
        #pv-brasil-panel .flashcard-block,
        #pv-mundo-panel .quiz-block,
        #pv-mundo-panel .flashcard-block {
            grid-column: 1 / -1;
        }

        /* Ornamento entre artigos: oculto no mosaico */
        .article-ornament { display: none !important; }

        /* ── Tile base ── */
        .article {
            cursor: pointer;
            position: relative;
            border-radius: 6px;
            overflow: hidden;
            background: #666;
            scroll-margin-top: calc(var(--header-h) + 10px);
            -webkit-tap-highlight-color: transparent;
            transition: transform 0.22s cubic-bezier(0.23,1,0.32,1), box-shadow 0.22s;
            box-shadow: 0 1px 6px rgba(0,0,0,0.12);
            min-height: 0;
            display: block;
        }

        @media (min-width: 641px) {
            .article {
                transition: none;
                box-shadow: none;
                border-radius: 0;
                border: none;
                outline: none;
            }
            .article:hover {
                transform: none;
                box-shadow: none;
                z-index: 2;
            }
        }

        /* Tile grande (2 colunas × 440px) — com contorno editorial */
        /* ── BIG: 2 colunas, imagem em cima, texto embaixo ── */
        .article[data-tile="big"] {
            grid-column: span 2;
            height: auto;
            background: #fff;
            display: flex;
            flex-direction: column;
        }
        .article[data-tile="big"] .article-card-preview {
            position: relative;
            inset: auto;
            display: flex;
            flex-direction: column;
            height: auto;
        }
        .article[data-tile="big"] .article-thumb {
            position: relative;
            inset: auto;
            width: 100%;
            height: 52vw;
            max-height: 340px;
            object-fit: cover;
            filter: none;
        }
        .article[data-tile="big"] .article-card-preview::after { display: none; }
        .article[data-tile="big"] .article-card-text {
            position: relative;
            z-index: auto;
            padding: 10px 12px 14px;
            background: #fff;
        }
        .article[data-tile="big"] .article-title {
            color: #0a0a0a;
            text-shadow: none;
            font-size: clamp(16px, 4.5vw, 22px);
            font-weight: 800;
            margin-bottom: 5px;
        }
        .article[data-tile="big"] .article-lide {
            color: rgba(0,0,0,0.55);
            display: block;
        }
        .article[data-tile="big"] .article-top {
            position: absolute;
            top: 10px; left: 10px; right: 10px;
            z-index: 3;
            justify-content: flex-end;
        }

        /* ── PRIMEIRA NOTÍCIA: título acima da imagem, imagem maior (MOBILE ONLY) ── */
        @media (max-width: 640px) {
            #pvs-art-0 .article-card-preview {
                display: flex;
                flex-direction: column-reverse;
            }
            #pvs-art-0 .article-card-text {
                order: -1;
                padding: 12px 12px 8px;
            }
            #pvs-art-0 .article-thumb {
                height: 72vw !important;
                max-height: 480px !important;
            }
            #pvs-art-0 .article-top {
                position: static;
                padding: 10px 12px 0;
                justify-content: flex-start;
            }
        }

        /* ── TALL: 1 coluna, imagem em cima, texto embaixo ── */
        .article[data-tile="tall"] {
            grid-column: span 1;
            height: auto;
            align-self: start;
            background: #fff;
            display: flex;
            flex-direction: column;
        }
        .article[data-tile="tall"] .article-card-preview {
            position: relative;
            inset: auto;
            display: flex;
            flex-direction: column;
            height: auto;
        }
        .article[data-tile="tall"] .article-thumb {
            position: relative;
            inset: auto;
            width: 100%;
            height: 44vw;
            max-height: 280px;
            object-fit: cover;
            filter: none;
        }
        .article[data-tile="tall"] .article-card-preview::after { display: none; }
        .article[data-tile="tall"] .article-card-text {
            position: relative;
            z-index: auto;
            padding: 9px 10px 12px;
            background: #fff;
            flex-shrink: 0;
        }
        .article[data-tile="tall"] .article-title {
            color: #0a0a0a;
            text-shadow: none;
            font-size: clamp(12px, 3.2vw, 15px);
            font-weight: 800;
            margin-bottom: 4px;
        }
        .article[data-tile="tall"] .article-lide { display: block; }
        .article[data-tile="tall"] .article-top {
            position: absolute;
            top: 10px; left: 10px; right: 10px;
            z-index: 3;
            justify-content: flex-end;
        }

        /* ── NORMAL: 1 coluna, imagem em cima, texto embaixo ── */
        .article[data-tile="normal"] {
            grid-column: span 1;
            height: auto;
            background: #fff;
            display: flex;
            flex-direction: column;
        }
        .article[data-tile="normal"] .article-card-preview {
            position: relative;
            inset: auto;
            display: flex;
            flex-direction: column;
            height: auto;
        }
        .article[data-tile="normal"] .article-thumb {
            position: relative;
            inset: auto;
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            filter: none;
        }
        .article[data-tile="normal"] .article-card-preview::after { display: none; }
        .article[data-tile="normal"] .article-card-text {
            position: relative;
            z-index: auto;
            padding: 8px 10px 12px;
            background: #fff;
            flex: 1;
        }
        .article[data-tile="normal"] .article-title {
            color: #0a0a0a;
            text-shadow: none;
            font-size: clamp(12px, 3vw, 14px);
            font-weight: 800;
            margin-bottom: 4px;
        }
        .article[data-tile="normal"] .article-lide {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            font-size: 11px;
            color: rgba(0,0,0,0.52);
            margin-top: 2px;
        }
        .article[data-tile="normal"] .article-top {
            position: absolute;
            top: 8px; left: 8px; right: 8px;
            z-index: 3;
            justify-content: flex-end;
        }

        /* Tile normal largo (2 colunas) */
        .article.tile-wide {
            grid-column: span 2;
        }

        /* ── Imagem de fundo do tile ── */
        .article-thumb {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            filter: none;
            transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), filter 0.35s;
            border-radius: 0;
            flex-shrink: unset;
        }
        @media (min-width: 641px) {
            .article-thumb {
                transition: filter 0.35s;
            }
            .article:hover .article-thumb {
                filter: brightness(0.82);
            }
        }

        /* ── Gradiente de legibilidade ── */
        .article-card-preview {
            position: absolute;
            inset: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            gap: unset;
            align-items: unset;
            margin-bottom: 0;
        }
        .article-card-preview::after {
            content: '';
            position: absolute;
            inset: 0;
            background: linear-gradient(
                to bottom,
                transparent 20%,
                rgba(0,0,0,0.3) 55%,
                rgba(0,0,0,0.82) 100%
            );
            pointer-events: none;
        }

        /* ── Badges no topo do tile ── */
        .article-top {
            position: absolute;
            top: 10px;
            left: 10px;
            right: 10px;
            z-index: 3;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 6px;
            margin-bottom: 0;
        }
        .article-badges { display: flex; align-items: center; gap: 5px; }

        /* Badges glass effect */
        .badge {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            padding: 3px 8px;
            border-radius: 3px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        .badge-cat      { background: rgba(0,0,0,0.45); color: #f5d070; border: 1px solid rgba(245,197,24,0.3); }
        .badge-direto   { background: rgba(0,0,0,0.45); color: #9ab8f5; border: 1px solid rgba(100,140,255,0.3); }
        .badge-sistemico{ background: rgba(200,0,62,0.55); color: #fff; border: 1px solid rgba(255,100,120,0.3); }
        .badge-critico  { background: rgba(0,0,0,0.65); color: #fff; border: 1px solid rgba(255,255,255,0.2); }

        /* Ícone de expandir no tile */
        .article-expand-icon {
            width: 24px;
            height: 24px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            background: rgba(0,0,0,0.35);
            transition: all 0.25s;
            flex-shrink: 0;
            backdrop-filter: blur(4px);
        }
        .article-expand-icon svg { width: 12px; height: 12px; fill: currentColor; }

        /* ── Texto sobrepostono tile ── */
        .article-card-text {
            position: relative;
            z-index: 2;
            flex: none;
            min-width: 0;
            padding: 12px 14px 14px;
        }

        /* Título no tile */
        .article-title {
            font-family: 'Inter', sans-serif;
            font-size: clamp(13px, 1.8vw, 20px);
            font-weight: 800;
            line-height: 1.25;
            color: #0a0a0a;
            margin-bottom: 4px;
            padding-left: 0;
            text-shadow: none;
            transition: opacity 0.2s;
            letter-spacing: -0.2px;
            text-transform: none;
        }
        .article-title::before { display: none; }
        .article:hover .article-title { opacity: 0.75; }

        /* Tiles grandes: título maior */
        .article[data-tile="big"] .article-title {
            font-size: clamp(18px, 2.4vw, 28px);
        }

        /* Lide no tile */
        .article-lide {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            line-height: 1.4;
            color: rgba(0,0,0,0.52);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-top: 0;
            letter-spacing: 0;
        }
        .article[data-tile="big"] .article-lide {
            -webkit-line-clamp: 3;
            font-size: 12px;
            display: -webkit-box;
        }
        .article[data-tile="tall"] .article-lide { display: block; }

        /* ══ ESTADO EXPANDIDO ══ */
        .article.expanded {
            grid-column: 1 / -1 !important;
            grid-row: auto !important;
            height: auto !important;
            overflow: hidden;
            background: #fff;
            border-radius: 8px !important;
            box-shadow: 0 4px 30px rgba(0,0,0,0.10);
            border: 1px solid rgba(0,0,0,0.06);
            transform: none !important;
            padding: 0;
            cursor: default;
            display: block;
            margin: 0 !important;
        }
        .article.expanded:hover {
            box-shadow: 0 4px 30px rgba(0,0,0,0.10);
            transform: none !important;
        }
        @media (min-width: 641px) {
            .article.expanded {
                border-radius: 0 !important;
                box-shadow: none !important;
                border: none !important;
            }
            .article.expanded:hover {
                box-shadow: none !important;
            }
        }

        /* Thumbnail vira imagem editorial no topo */
        .article.expanded .article-thumb {
            position: static;
            width: 100%;
            max-width: 100%;
            height: 320px;
            object-fit: cover;
            border-radius: 8px 8px 0 0;
            filter: none;
            display: block;
            transition: none;
            flex-shrink: unset;
        }

        /* Card preview em coluna */
        .article.expanded .article-card-preview {
            position: static;
            flex-direction: column;
            background: #fff;
            border-radius: 0 0 8px 8px;
        }
        .article.expanded .article-card-preview::after { display: none; }

        /* Texto abaixo da imagem */
        .article.expanded .article-card-text {
            padding: 20px 24px 4px;
            z-index: auto;
        }

        /* Badges em linha horizontal */
        .article.expanded .article-top {
            position: static;
            margin-bottom: 14px;
            padding: 18px 24px 0;
        }

        /* Título expandido — grande, escuro */
        .article.expanded .article-title,
        .article[data-tile="big"].expanded .article-title {
            font-family: 'Inter', sans-serif;
            color: #0a0a0a;
            font-size: clamp(22px, 3.2vw, 34px) !important;
            font-weight: 800;
            line-height: 1.15;
            letter-spacing: -0.5px;
            text-shadow: none;
            font-style: normal !important;
        }

        /* Badges no expanded — tons claros */
        .article.expanded .badge-cat      { background: rgba(210,165,60,0.12); color: #7a5000; border-color: rgba(210,165,60,0.25); }
        .article.expanded .badge-direto   { background: rgba(44,82,160,0.08); color: #2c52a0; border: none; }
        .article.expanded .badge-sistemico{ background: rgba(200,0,62,0.08); color: var(--red); border: none; }
        .article.expanded .badge-critico  { background: #0a0a0a; color: #fff; border: none; }

        /* Ícone expandido — rotaciona */
        .article.expanded .article-expand-icon {
            background: #F8F9FA;
            border-color: rgba(0,0,0,0.15);
            color: #333;
            backdrop-filter: none;
            transform: rotate(45deg);
        }

        /* Lide expandida — oculta pois o corpo completo já aparece abaixo */
        .article.expanded .article-lide {
            display: none;
        }

        /* Corpo do artigo expandido */
        .article-expanded-body {
            display: none;
            padding: 0 24px 28px;
            overflow: visible;
            visibility: visible;
            opacity: 1;
            transition: none;
        }
        .article.expanded .article-expanded-body { display: block; }

        /* Figura oculta no expanded (thumb já aparece no topo) */
        .article.expanded .article-figure { display: none; }

        /* ── Responsivo mobile ── */
        @media (max-width: 640px) {
            #news-feed {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
                padding: 0 10px 40px;
            }
            .article { height: 180px; }
            .article[data-tile="big"] { grid-column: span 2; height: auto; }
            .article[data-tile="tall"] { grid-column: 1; grid-row: span 2; height: auto; min-height: 0; }
            .article[data-tile="normal"] { grid-column: span 1; height: auto; }
            .article-title { font-size: 14px !important; }
            .article[data-tile="big"] .article-title { font-size: 18px !important; }
            .article.expanded .article-thumb { height: 200px; }
            .article.expanded .article-card-text,
            .article.expanded .article-top { padding-left: 16px; padding-right: 16px; }
            .article-expanded-body { padding: 0 16px 24px; }

            /* Flashcard e Quiz: largura total no mobile */
            .flashcard-block,
            .quiz-block {
                grid-column: 1 / -1 !important;
                padding: 20px 16px 18px !important;
            }
        }

        .article-img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            border-radius: 4px;
            margin: 24px 0;
            display: block;
            filter: contrast(1.05) brightness(0.95);
            box-shadow: 0 10px 30px rgba(0,0,0,0.1);
            background: #EDEEF0;
            will-change: opacity;
        }

        .article-body {
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 400;
            line-height: 1.75;
            color: #2a2a2a;
            margin-bottom: 20px;
            -webkit-font-smoothing: antialiased;
            text-align: left;
            hyphens: none;
            letter-spacing: 0.01em;
        }

        .article-body p:first-of-type::first-letter {
            float: left;
            font-family: 'Playfair Display', serif;
            font-size: 58px;
            line-height: 48px;
            padding-top: 4px;
            padding-right: 8px;
            padding-left: 3px;
            color: #1a7a4a;
            font-weight: 900;
        }

        .article-body p { margin-bottom: 16px; }

        .article-body blockquote {
            margin: 32px 0;
            padding: 24px 0;
            border-top: 1px solid var(--gold);
            border-bottom: 1px solid var(--gold);
            border-left: none;
            background: transparent;
            font-family: 'Playfair Display', serif;
            font-size: 24px;
            line-height: 1.4;
            font-style: italic;
            color: var(--black);
            text-align: center;
            border-radius: 0;
        }

        .link-direct {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            letter-spacing: 1px;
            text-transform: uppercase;
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(0,0,0,0.4);
            color: var(--black);
            border-bottom: none;
            padding-bottom: 2px;
            transition: all 0.2s;
            margin-top: 4px;
            margin-bottom: 8px;
        }

        .link-direct:hover {
            color: var(--red);
            text-decoration-color: var(--red);
        }

        /* ─── WHATSAPP SHARE ─── */
        .whatsapp-share {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 600;
            color: #005202;
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(0,82,2,0.5);
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            margin-top: 0;
            transition: color 0.2s, text-decoration-color 0.2s;
        }

        .whatsapp-share svg {
            display: none;
        }

        .whatsapp-share:hover {
            color: #003d01;
            text-decoration-color: #003d01;
        }

        /* ─── READING TIME ─── */
        .reading-time {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: var(--gray);
            margin-top: 0;
            margin-bottom: 0;
            padding: 6px 12px;
            background: rgba(0,0,0,0.04);
            border-radius: 20px;
            border: 1px solid var(--border);
            opacity: 0.75;
        }

        .reading-time svg {
            width: 11px;
            height: 11px;
            fill: var(--gray);
            flex-shrink: 0;
        }

        /* ─── QUICK TAKES ─── */
        .qt-block {
            background: #ffffff;
            border: none;
            border-radius: 2px;
            padding: 28px 28px 24px;
            margin: 8px 0;
            position: relative;
        }

        .qt-header-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
        }

        .qt-icon { color: #000; opacity: 0.45; display: flex; }
        .qt-icon svg { width: 14px; height: 14px; fill: currentColor; }

        .qt-title {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #000;
            opacity: 1;
        }

        .qt-title::after {
            display: none;
        }

        .qt-list { display: flex; flex-direction: column; gap: 0; }

        .qt-item {
            padding: 5px 0;
            border-bottom: none;
            display: block;
        }

        .qt-item:last-child { border-bottom: none; }

        .qt-item-icon { display: none; }

        .qt-item-content { display: inline; }

        .qt-acao {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.4px;
            text-transform: none;
            color: #ffffff;
            background: #3aaa72;
            padding: 1px 6px;
            border-radius: 3px;
            opacity: 1;
        }

        .qt-texto {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 400;
            color: var(--black);
            text-decoration: underline;
            text-underline-offset: 3px;
            text-decoration-color: rgba(0,0,0,0.4);
            line-height: 1.6;
            transition: color 0.2s;
        }

        .qt-texto:hover { color: var(--red); text-decoration-color: var(--red); }

        /* ─── CURIOSIDADE ─── */
        .curiosidade-block {
            background: #FFFDE8;
            border: none;
            border-radius: 2px;
            padding: 28px 28px 24px;
            margin: 0 0 8px;
            position: relative;
        }

        .curiosidade-header-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
        }

        .curiosidade-icon {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--gold);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            line-height: 1;
            flex-shrink: 0;
            opacity: 1;
        }

        .curiosidade-label {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #000;
            opacity: 1;
        }

        .curiosidade-label::after {
            display: none;
        }

        .curiosidade-text {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-style: normal;
            line-height: 1.6;
            color: var(--black);
            font-weight: 400;
        }

        /* ─── NEWSLETTER SIGNUP ─── */
        .signup-block {
            background: #ffffff;
            border-radius: 2px;
            overflow: hidden;
            margin: 8px 0;
            box-shadow: 0 2px 20px rgba(0,0,0,0.07);
        }
        @media (min-width: 641px) {
            .signup-block {
                box-shadow: none;
                border-radius: 0;
                margin: 0;
                border-bottom: 1px solid #d4d4d4;
            }
        }

        .signup-top {
            background: #ffffff;
            padding: 28px 28px 24px;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 16px;
        }

        .signup-badge {
            background: linear-gradient(135deg, #F5C518 0%, #f7d045 50%, #d4a800 100%);
            color: #0a0a0a;
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            padding: 5px 10px;
            border-radius: 2px;
            flex-shrink: 0;
            margin-top: 3px;
        }

        .signup-title {
            font-family: 'Inter', sans-serif;
            font-size: 22px;
            font-weight: 900;
            color: #0a0a0a;
            line-height: 1.2;
        }

        .signup-title em {
            color: #1a7a4a;
            font-style: italic;
        }

        .signup-body {
            padding: 24px 28px 24px;
        }

        .signup-perks-label {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: #555;
            margin-bottom: 14px;
            border-bottom: 1px solid rgba(0,0,0,0.07);
            padding-bottom: 10px;
        }

        .signup-perks {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-bottom: 22px;
        }

        .signup-perk {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .signup-perk-icon {
            width: 30px;
            height: 30px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            flex-shrink: 0;
        }

        .signup-perk-text {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            color: #0a0a0a;
            line-height: 1.45;
        }

        .signup-perk-text strong { font-weight: 600; }

        .signup-input {
            width: 100%;
            display: block;
            background: #ffffff;
            border: 1.5px solid transparent;
            border-radius: 3px;
            padding: 13px 16px;
            color: #0a0a0a;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            outline: none;
            margin-bottom: 10px;
            transition: border-color 0.2s, background 0.2s;
        }

        .signup-input::placeholder { color: #aaa; }
        .signup-input:focus { border-color: #F5C518; background: #fff; }

        .signup-btn {
            width: 100%;
            display: block;
            background: linear-gradient(135deg, #F5C518 0%, #f7d045 50%, #d4a800 100%);
            color: #0a0a0a;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            border: none;
            border-radius: 3px;
            padding: 15px;
            cursor: pointer;
            transition: opacity 0.18s, transform 0.15s;
        }

        .signup-btn:hover { opacity: 0.88; transform: translateY(-1px); }

        .signup-fine {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            color: #bbb;
            text-align: center;
            margin-top: 12px;
            letter-spacing: 0.5px;
        }

        .signup-success {
            display: none;
            text-align: center;
            padding: 18px 0 6px;
        }

        .signup-success-icon {
            font-size: 28px;
            margin-bottom: 8px;
        }

        .signup-success-msg {
            font-family: 'Playfair Display', serif;
            font-size: 16px;
            font-weight: 700;
            color: #0a0a0a;
            margin-bottom: 4px;
        }

        .signup-success-sub {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 1px;
            color: #888;
            text-transform: uppercase;
        }

        /* ─── FLASH CARDS ─── */
        /* ─── FLASHCARD TEMÁTICO ─── */
        .flashcard-block {
            background: #ffffff;
            border: none;
            border-radius: 2px;
            padding: 28px 36px 24px;
            margin: 8px 0;
            position: relative;
        }
        .flashcard-header-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
        }
        .flashcard-icon { color: #000; opacity: 0.45; display: flex; }
        .flashcard-icon svg { width: 14px; height: 14px; fill: currentColor; }
        .flashcard-title {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #000;
        }
        .flashcard-counter {
            margin-left: auto;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            color: var(--gray);
            letter-spacing: 2px;
            opacity: 0.6;
        }
        .flashcard-scene {
            perspective: 1200px;
            height: clamp(270px, 46vw, 360px);
            width: 100%;
            max-width: 100%;
            margin: 0 auto 18px;
            cursor: pointer;
            user-select: none;
        }
        .flashcard-card {
            width: 100%;
            height: 100%;
            position: relative;
            transform-style: preserve-3d;
            transition: transform 0.58s cubic-bezier(0.23, 1, 0.32, 1);
        }
        .flashcard-card.flipped { transform: rotateY(180deg); }
        .flashcard-face {
            position: absolute;
            inset: 0;
            backface-visibility: hidden;
            -webkit-backface-visibility: hidden;
            border-radius: 8px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: clamp(18px, 4vw, 26px);
            overflow: hidden;
        }
        /* FRENTE — verde temático */
        .flashcard-front {
            background: #2e9e6b;
            color: #fff;
            box-shadow: 0 6px 24px rgba(46,158,107,0.28);
        }
        .flashcard-front::before {
            content: '';
            position: absolute;
            inset: 0;
            background: repeating-linear-gradient(
                -52deg, transparent, transparent 18px,
                rgba(255,255,255,0.04) 18px, rgba(255,255,255,0.04) 19px
            );
            pointer-events: none;
            border-radius: 8px;
        }
        .flashcard-front::after {
            content: '';
            position: absolute;
            top: -40px; right: -40px;
            width: 120px; height: 120px;
            background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
            pointer-events: none;
        }
        /* VERSO — branco com borda verde */
        .flashcard-back {
            background: #fff;
            color: var(--black);
            transform: rotateY(180deg);
            border-top: 5px solid #2e9e6b;
            box-shadow: 0 4px 20px rgba(0,0,0,0.07);
            border-radius: 8px;
            justify-content: flex-start;
            gap: 10px;
        }
        /* Tag de categoria */
        .fc-category-tag {
            display: inline-flex;
            align-items: center;
            gap: 5px;
            background: rgba(0,0,0,0.18);
            padding: 4px 9px;
            border-radius: 4px;
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            font-weight: 500;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.9);
            width: fit-content;
            margin-bottom: 12px;
            position: relative; z-index: 1;
        }
        .fc-category-tag svg { width: 9px; height: 9px; fill: rgba(255,255,255,0.8); flex-shrink: 0; }
        .flashcard-question {
            font-family: 'Playfair Display', serif;
            font-size: clamp(15px, 2.6vw, 20px);
            font-weight: 700;
            font-style: italic;
            line-height: 1.3;
            color: #fff;
            position: relative; z-index: 1;
        }
        .flashcard-tap-hint {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.38);
            display: flex;
            align-items: center;
            gap: 6px;
            position: relative; z-index: 1;
        }
        .fc-tap-dot {
            width: 4px; height: 4px;
            border-radius: 50%;
            background: rgba(255,255,255,0.38);
            flex-shrink: 0;
            animation: fc-pulse 2s ease-in-out infinite;
        }
        @keyframes fc-pulse {
            0%,100% { opacity:0.4; transform:scale(1); }
            50%      { opacity:1;   transform:scale(1.4); }
        }
        /* Verso: header label */
        .flashcard-face-label {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            font-weight: 500;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: #2e9e6b;
            border-bottom: 1px solid rgba(46,158,107,0.15);
            padding-bottom: 8px;
            margin-bottom: 2px;
        }
        .flashcard-answer {
            font-family: 'Inter', sans-serif;
            font-size: clamp(12px, 1.8vw, 13.5px);
            font-weight: 400;
            line-height: 1.65;
            color: #2a2a2a;
            flex: 1;
        }
        /* Stat block */
        .fc-stat {
            background: #f0f9f4;
            border-radius: 6px;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            margin-top: auto;
        }
        .fc-stat-val {
            font-family: 'DM Mono', monospace;
            font-size: clamp(18px, 3.5vw, 24px);
            font-weight: 500;
            color: #2e9e6b;
            white-space: nowrap;
            flex-shrink: 0;
        }
        .fc-stat-desc {
            font-family: 'Inter', sans-serif;
            font-size: 11px;
            color: #555;
            line-height: 1.45;
        }
        /* Seção de ciência no verso */
        .flashcard-back .flashcard-face-label { color: #2e9e6b; }
        /* Nav */
        .flashcard-nav {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 16px;
        }
        .fc-btn {
            width: 32px; height: 32px;
            border-radius: 6px;
            border: 1px solid rgba(0,0,0,0.12);
            background: #ffffff;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: all 0.18s;
            flex-shrink: 0;
        }
        .fc-btn:hover { background: #2e9e6b; border-color: #2e9e6b; }
        .fc-btn:hover svg { fill: #ffffff; }
        .fc-btn svg { width: 15px; height: 15px; fill: rgba(0,0,0,0.4); transition: fill 0.18s; }
        .fc-btn:disabled { opacity: 0.2; pointer-events: none; }
        .flashcard-dots { display: flex; gap: 5px; align-items: center; }
        .fc-dot {
            width: 4px; height: 4px;
            border-radius: 50%;
            background: rgba(0,0,0,0.12);
            transition: background 0.25s, transform 0.25s, width 0.25s;
        }
        .fc-dot.active { background: #2e9e6b; transform: scale(1.3); width: 12px; border-radius: 3px; }

        /* ─── QUIZ ─── */
        .quiz-block {
            background: #ffffff;
            border: none;
            border-radius: 2px;
            padding: 28px 36px 24px;
            margin: 8px 0;
            position: relative;
        }
        .quiz-header-row {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
        }
        .quiz-icon { color: #000; opacity: 0.45; display: flex; }
        .quiz-icon svg { width: 14px; height: 14px; fill: currentColor; }
        .quiz-title {
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #000;
        }
        .quiz-progress-wrap {
            margin-left: auto;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            color: var(--gray);
            letter-spacing: 2px;
        }
        .cover-quote-author {
            display: block;
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #b08d57;
            margin-top: 10px;
            opacity: 1;
        }
        .quiz-question {
            font-family: 'Inter', sans-serif;
            font-size: 17px;
            font-weight: 700;
            line-height: 1.45;
            margin-bottom: 22px;
            color: var(--black);
            letter-spacing: -0.2px;
        }
        .quiz-options { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
        .quiz-option {
            display: flex;
            align-items: center;
            gap: 14px;
            padding: 13px 16px;
            border: 1.5px solid rgba(0,0,0,0.1);
            border-radius: 2px;
            cursor: pointer;
            background: transparent;
            text-align: left;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: var(--black);
            transition: all 0.2s;
            width: 100%;
        }
        .quiz-option:hover:not(:disabled) { border-color: var(--black); background: rgba(0,0,0,0.02); }
        .quiz-option .opt-letter {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 1px;
            font-weight: 500;
            width: 22px;
            height: 22px;
            border-radius: 2px;
            background: rgba(0,0,0,0.06);
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s;
        }
        .quiz-option.correct  { border-color: #1a7a4a; background: #f0faf5; color: #1a7a4a; }
        .quiz-option.correct .opt-letter  { background: #1a7a4a; color: white; border-radius: 2px; }
        .quiz-option.wrong    { border-color: var(--red); background: #fff0f4; color: var(--red); }
        .quiz-option.wrong .opt-letter    { background: var(--red); color: white; border-radius: 2px; }
        .quiz-option:disabled { cursor: default; }
        .quiz-feedback {
            font-family: 'Inter', sans-serif;
            font-style: italic;
            font-size: 13.5px;
            line-height: 1.6;
            padding: 14px 18px;
            border-left: 3px solid var(--black);
            background: #f9f7f2;
            color: #444;
            display: none;
            margin-bottom: 16px;
            border-radius: 0;
        }
        .quiz-feedback.visible { display: block; }
        .quiz-next-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            width: 100%;
            padding: 13px;
            background: var(--black);
            color: var(--white);
            border: none;
            border-radius: 2px;
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s;
            display: none;
        }
        .quiz-next-btn.visible { display: flex; }
        .quiz-next-btn:hover { background: #222; }
        .quiz-result {
            text-align: center;
            padding: 16px 0 4px;
            display: none;
        }
        .quiz-result.visible { display: block; }
        .quiz-score-big {
            font-family: 'Playfair Display', serif;
            font-size: 64px;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 8px;
            letter-spacing: -2px;
        }
        .quiz-score-label {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--gray);
            margin-bottom: 16px;
            opacity: 0.65;
        }
        .quiz-score-msg {
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-size: 15px;
            color: var(--gray);
            margin-bottom: 22px;
        }
        .quiz-retry-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 11px 28px;
            border: 1.5px solid var(--black);
            border-radius: 2px;
            background: transparent;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            cursor: pointer;
            transition: all 0.2s;
        }
        .quiz-retry-btn:hover { background: var(--black); color: white; }

        /* ─── FOOTER ─── */
        footer {
            background: #20252a;
            border-top: none;
            padding: 20px 40px 20px;
            color: #ffffff;
        }

        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .footer-brand-col {}

        .footer-brand-name {
            font-family: 'Playfair Display', serif;
            font-size: 36px;
            font-weight: 900;
            color: #f2ede3;
            letter-spacing: -1px;
            line-height: 1;
            margin-bottom: 12px;
        }

        .footer-tagline {
            font-size: 13px;
            color: rgba(242,237,227,0.4);
            line-height: 1.6;
            max-width: 200px;
        }

        .footer-col-title {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: var(--red);
            margin-bottom: 16px;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
            list-style: none;
        }

        .footer-links a {
            font-size: 13px;
            color: rgba(242,237,227,0.45);
            text-decoration: none;
            transition: color 0.2s;
        }

        .footer-links a:hover { color: #f2ede3; }

        .footer-social {
            display: flex;
            gap: 10px;
            margin-top: 4px;
        }

        .footer-social a {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            border: 1px solid rgba(255,255,255,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: border-color 0.2s, background 0.2s;
        }

        .footer-social a:hover {
            border-color: var(--red);
            background: rgba(200,0,62,0.1);
        }

        .footer-social svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: rgba(242,237,227,0.5);
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .footer-social a:hover svg { stroke: #f2ede3; }

        .footer-copy {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(255,255,255,0.3);
            margin-top: 10px;
            text-align: center;
            max-width: 1200px;
            margin-left: auto;
            margin-right: auto;
        }

        @media (max-width: 640px) {
            .footer-inner { grid-template-columns: 1fr; gap: 28px; }
        }

        /* ─── DROP MENU ─── */
        .menu-overlay {
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.55);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.35s ease, visibility 0.35s ease;
            z-index: 3000;
        }
        .menu-overlay.active { opacity: 1; visibility: visible; }

        /* ─── MENU INTERESSE — slide da direita, tela cheia (mobile) ─── */
        #drop-menu {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100%;
            background: #ffffff;
            z-index: 3001;
            overflow-y: auto;
            overflow-x: hidden;
            transform: translateX(100%);
            transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
        }
        #drop-menu.active { transform: translateX(0); }

        /* Desktop: slide de cima pra baixo */
        @media (min-width: 641px) {
            #drop-menu {
                transform: translateY(-100%);
                transition: transform 0.36s cubic-bezier(0.4, 0, 0.2, 1);
            }
            #drop-menu.active { transform: translateY(0); }
        }

        /* Links tela cheia — mesma fonte dos tabs */
        .interesse-link {
            display: block;
            font-family: 'Fira Sans Condensed', sans-serif;
            font-size: 28px;
            font-weight: 800;
            letter-spacing: -0.5px;
            text-transform: uppercase;
            color: #0a0a0a;
            text-decoration: none;
            padding: 2px 20px;
            line-height: 1.3;
            -webkit-tap-highlight-color: transparent;
            transition: color 0.15s;
        }
        .interesse-link:hover, .interesse-link:active {
            color: #2e9e6b;
        }

        @media (min-width: 641px) {
            .interesse-link {
                font-family: 'Inter', sans-serif;
                font-size: 16px;
                font-weight: 500;
                letter-spacing: 0px;
                text-transform: none;
            }
        }

        @keyframes slideInRight {
            from { opacity: 0; transform: translateX(-32px); }
            to   { opacity: 1; transform: translateX(0); }
        }
        @keyframes slideInDown {
            from { opacity: 0; transform: translateY(-20px); }
            to   { opacity: 1; transform: translateY(0); }
        }
        #drop-menu.active .interesse-link {
            opacity: 0;
            animation: slideInRight 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
        }
        @media (min-width: 641px) {
            #drop-menu.active .interesse-link {
                animation: slideInDown 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
            }
        }
        #drop-menu.active .interesse-link:nth-child(3) { animation-delay: 0.10s; }
        #drop-menu.active .interesse-link:nth-child(4) { animation-delay: 0.20s; }
        #drop-menu.active .interesse-link:nth-child(5) { animation-delay: 0.30s; }
        #drop-menu.active .interesse-link:nth-child(6) { animation-delay: 0.40s; }
        #drop-menu.active .interesse-link:nth-child(7) { animation-delay: 0.50s; }

        /* Cabeçalho interno do painel */
        .menu-panel-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px 16px 16px 20px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            flex-shrink: 0;
        }
        .menu-panel-title {
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.4);
        }
        .menu-panel-close {
            background: rgba(0,0,0,0.05);
            border: none;
            border-radius: 50%;
            cursor: pointer;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
            flex-shrink: 0;
        }
        .menu-panel-close:hover { background: rgba(0,0,0,0.1); }
        .menu-panel-close svg { width: 16px; height: 16px; fill: rgba(0,0,0,0.7); }

        /* Conteúdo do painel */
        .menu-content {
            display: flex;
            flex-direction: column;
            flex: 1;
            overflow-y: auto;
        }

        /* Seções */
        .menu-section {
            padding: 20px 0 8px;
            border-bottom: 1px solid rgba(0,0,0,0.05);
        }
        .menu-section:last-child { border-bottom: none; padding-bottom: 24px; }

        .menu-section h4 {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.35);
            font-weight: 500;
            letter-spacing: 1.5px;
            padding: 0 24px 12px 20px;
            margin: 0;
            white-space: nowrap;
        }

        /* Links com ícone */
        .menu-link {
            display: flex;
            align-items: center;
            gap: 14px;
            text-decoration: none;
            color: rgba(0,0,0,0.8);
            font-size: 14px;
            font-weight: 500;
            font-family: 'Inter', sans-serif;
            letter-spacing: 0.1px;
            padding: 13px 20px;
            transition: background 0.18s, color 0.18s;
            -webkit-tap-highlight-color: transparent;
        }
        .menu-link:hover, .menu-link:active {
            background: rgba(0,0,0,0.03);
            color: #000;
        }

        /* Ícone circular de cada item */
        .menu-link-icon {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: rgba(0,0,0,0.05);
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: background 0.18s;
        }
        .menu-link:hover .menu-link-icon { background: rgba(200,0,62,0.1); }
        .menu-link-icon svg {
            width: 18px;
            height: 18px;
            fill: rgba(0,0,0,0.45);
            transition: fill 0.18s;
        }
        .menu-link:hover .menu-link-icon svg { fill: #000; }

        /* Texto do link */
        .menu-link-label { flex: 1; }

        /* Chevron à direita */
        .menu-link-chevron {
            width: 6px;
            height: 6px;
            border-right: 1.5px solid rgba(0,0,0,0.15);
            border-top: 1.5px solid rgba(0,0,0,0.15);
            transform: rotate(45deg);
            flex-shrink: 0;
            transition: border-color 0.18s, transform 0.18s;
        }
        .menu-link:hover .menu-link-chevron {
            border-color: rgba(0,0,0,0.4);
            transform: rotate(45deg) translate(2px, -2px);
        }

        /* ─── ANIMATIONS ─── */
        @keyframes fadeUp {
            from { opacity: 0; }
            to   { opacity: 1; }
        }

        .hero-section { animation: fadeUp 0.7s ease forwards; }

        /* ─── RESPONSIVE ─── */
        @media (max-width: 640px) {
            .hero-section {
                grid-template-columns: 1fr;
                padding: 0 0 10px;
                gap: 20px;
            }
            .hero-left { padding-left: 0; }
            .hero-block { padding: 40px 24px 48px; margin: 0 20px; }
            .hero-headline { font-size: 52px; letter-spacing: -2px; }
            .hero-edition { padding-left: 20px; }
            .reflection-card { margin: 0 20px; }
            .main-content { padding: 0 10px; }
            /* menu lateral não usa grid */
        }

        /* Fundo branco a partir de 641px (tablet/desktop) */
        @media (min-width: 641px) {
            html, body { background-color: #ffffff !important; }
            .main-content { background: #ffffff !important; }
        }

        /* ─── DESKTOP LAYOUT (≥ 769px) ─── */
        @media (min-width: 769px) {
            html, body { background-color: #ffffff !important; }
            .main-content { background: #ffffff !important; }
            .trend-tabs-bar { background: #ffffff; }
            #pv-brasil-panel, #pv-mundo-panel { background: #ffffff; }
            .article { background: #F8F9FA; }

            /* Feed principal: 3 colunas em desktop */
            #news-feed {
                grid-template-columns: repeat(3, 1fr) !important;
                padding: 0 0 60px !important;
                column-gap: 12px !important;
                row-gap: 0 !important;
            }

            /* Painéis Brasil e Mundo: 3 colunas */
            #pv-brasil-panel,
            #pv-mundo-panel {
                grid-template-columns: repeat(3, 1fr) !important;
                padding: 0 0 80px !important;
                column-gap: 12px !important;
                row-gap: 0 !important;
                align-items: start !important;
            }
            /* Mundo: força pvm-art-1 como normal no desktop para evitar linha esticada */
            #pvm-art-1 {
                grid-column: span 1 !important;
                grid-row: span 1 !important;
                height: auto !important;
                min-height: 0 !important;
            }
            #pvm-art-1 .article-thumb {
                height: 200px !important;
                max-height: 200px !important;
            }

            /* Separadores entre artigos nos painéis Brasil e Mundo — igual ao feed Hoje */
            #pv-brasil-panel .article,
            #pv-mundo-panel .article {
                margin-bottom: 12px !important;
            }
            #pv-brasil-panel .article[data-tile="big"],
            #pv-mundo-panel .article[data-tile="big"] {
                margin-bottom: 0 !important;
            }

    
        /* ── Separador de linha desktop (oculto no mobile) ── */
        .desktop-sep {
            display: none;
        }
        @media (min-width: 769px) {
            .desktop-sep {
                display: block;
                grid-column: 1 / -1 !important;
                height: 1px;
                background: #D8D8D8;
                margin-top: 20px;
                margin-bottom: 20px;
                padding: 0;
                border: none;
            }
            /* Só o primeiro sep (após o tile big) precisa de respiro maior em cima */
            #news-feed .article[data-tile="big"] + .desktop-sep {
                margin-top: 32px;
                margin-bottom: 24px;
            }
        }

        /* ── Separadores de seção no desktop ── */
            /* Bloco full-width: separador acima */
            /* separação via .desktop-sep apenas */



            /* Espaço vertical entre cards na mesma linha de grid */
            #news-feed .article,
            #pv-brasil-panel .article,
            #pv-mundo-panel .article {
                margin: 0 !important;
                margin-bottom: 12px !important;
            }

            /* Mais espaço abaixo da primeira notícia (tile big) */
            #news-feed .article[data-tile="big"],
            #pv-brasil-panel .article[data-tile="big"],
            #pv-mundo-panel .article[data-tile="big"] {
                margin-bottom: 0px !important;
            }

            /* Scroll margin para respeitar barra preta (28px) + trend-tabs (~46px) */
            .article {
                scroll-margin-top: 90px;
            }

            /* Tile big ocupa as 3 colunas */
            .article[data-tile="big"] {
                grid-column: span 3 !important;
                height: auto !important;
            }

            /* Tile tall: 1 coluna, sem span de linhas no desktop */
            .article[data-tile="tall"] {
                grid-column: span 1 !important;
                grid-row: span 1 !important;
                height: auto !important;
                min-height: 0 !important;
            }

            /* Tile normal: altura auto */
            .article[data-tile="normal"] {
                height: auto !important;
            }

            /* Tile wide: 2 colunas em desktop */
            .article.tile-wide {
                grid-column: span 2 !important;
            }

            /* Full-width items continuam ocupando toda a largura */
            #news-feed .section-label,
            #news-feed .qt-block,
            #news-feed .curiosidade-block,
            #news-feed .signup-block,
            #news-feed .quiz-block,
            #news-feed .flashcard-block,
            #pv-brasil-panel .section-label,
            #pv-brasil-panel .qt-block,
            #pv-brasil-panel .curiosidade-block,
            #pv-brasil-panel .signup-block,
            #pv-brasil-panel .quiz-block,
            #pv-brasil-panel .flashcard-block,
            #pv-mundo-panel .section-label,
            #pv-mundo-panel .qt-block,
            #pv-mundo-panel .curiosidade-block,
            #pv-mundo-panel .signup-block,
            #pv-mundo-panel .quiz-block,
            #pv-mundo-panel .flashcard-block {
                grid-column: 1 / -1 !important;
            }

            /* Flashcard e Quiz: padding generoso no desktop */
            .flashcard-block,
            .quiz-block {
                padding: 32px 48px 28px !important;
            }

            /* Flashcard: conteúdo interno em layout lado a lado no desktop */
            .flashcard-scene {
                max-width: 100% !important;
            }

            /* Quiz: opções em 2 colunas no desktop */
            .quiz-options {
                display: grid !important;
                grid-template-columns: 1fr 1fr !important;
                gap: 10px !important;
            }

            .quiz-question {
                font-size: 19px !important;
            }

            .quiz-feedback,
            .quiz-next-btn,
            .quiz-result {
                grid-column: 1 / -1;
            }

            /* Hero cover: largura máxima confortável */
            .hero-section {
                padding: 0 0 16px;
            }

            /* Trend tabs: estilo Reuters — Inter, peso médio */
            .trend-tab {
                font-family: 'Inter', sans-serif;
                font-size: 14px;
                font-weight: 500;
                letter-spacing: 0px;
                text-transform: none;
                padding: 10px 12px 8px;
                color: #0a0a0a;
                overflow: visible;
            }

            /* Sublinhado verde: cresce do centro ao passar o mouse, permanece até sair */
            .trend-tab .tab-text {
                position: relative;
                display: inline-block;
            }
            .trend-tab .tab-text::after {
                content: '';
                position: absolute;
                bottom: -8px;
                left: 50%;
                transform: translateX(-50%);
                width: 0%;
                height: 4px;
                background: #3aaa72;
                border-radius: 1px;
                transition: width 0.25s cubic-bezier(0.4, 0, 0.2, 1);
                pointer-events: none;
            }
            .trend-tab:hover .tab-text::after,
            .trend-tab.tab-clicked .tab-text::after {
                width: 100%;
            }

            /* Main content: sem padding lateral excessivo */
            .main-content {
                padding: 0 0 80px;
            }

            /* Hero full-width: no desktop o #news-feed não tem padding lateral */
            #article-0[data-tile="big"]:not(.expanded),
            #pvs-art-0[data-tile="big"]:not(.expanded),
            #pvm-art-0[data-tile="big"]:not(.expanded) {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
                margin-top: 0 !important;
            }

            /* Artigo expandido: largura total das 3 colunas */
            .article.expanded {
                grid-column: 1 / -1 !important;
            }

            /* Signup block: layout lado a lado */
            .signup-top {
                align-items: center;
            }

            /* Editorial front: usa mais espaço */
            .editorial-front {
                padding: 0;
            }

            /* Drop menu em desktop: tela cheia, slide de cima */
            #drop-menu {
                width: 100vw;
                left: 0;
                right: 0;
                box-shadow: none;
            }
            #drop-menu.active {
                box-shadow: none;
            }
            /* Título "Para você" no menu lateral — Inter proporcional */
            #drop-menu > div:first-child > span:first-child {
                font-family: 'Inter', sans-serif !important;
                font-size: 18px !important;
                font-weight: 600 !important;
                letter-spacing: 0px !important;
                text-transform: none !important;
            }

        }

        /* ─── WIDE DESKTOP (≥ 1024px) ─── */
        @media (min-width: 1024px) {
            .article[data-tile="big"]:not(.expanded) {
                height: 560px !important;
            }


            .article[data-tile="normal"]:not(.expanded) {
                height: auto !important;
            }
            .article[data-tile="tall"]:not(.expanded) {
                min-height: 520px !important;
            }
            /* Artigo expandido: sempre altura auto, sem restrições */
            .article.expanded {
                height: auto !important;
                min-height: 0 !important;
                max-height: none !important;
            }
            /* Hero full-width: no desktop o #news-feed não tem padding lateral,
               então corrigimos a margem negativa para 0 */
            #article-0[data-tile="big"]:not(.expanded),
            #pvs-art-0[data-tile="big"]:not(.expanded),
            #pvm-art-0[data-tile="big"]:not(.expanded) {
                margin-left: 0 !important;
                margin-right: 0 !important;
                width: 100% !important;
            }
        }

        /* ─── MINDSCORE REWARD — Gold Split ─── */
        @keyframes toastSlide {
            0%   { opacity: 0; transform: scale(0.82) translateY(8px); }
            18%  { opacity: 1; transform: scale(1.04) translateY(-2px); }
            28%  { transform: scale(1) translateY(0); }
            70%  { opacity: 1; transform: scale(1) translateY(0); }
            100% { opacity: 0; transform: scale(0.95) translateY(6px); }
        }

        #xp-reward {
            position: fixed;
            bottom: 24px;
            right: 24px;
            display: flex;
            align-items: stretch;
            border-radius: 5px;
            overflow: hidden;
            box-shadow: 0 6px 24px rgba(0,0,0,0.35);
            pointer-events: none;
            opacity: 0;
            z-index: 9999;
            user-select: none;
            white-space: nowrap;
        }

        #xp-reward .toast-left {
            background: #0d1117;
            padding: 13px 18px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1px;
            border-right: 2px solid #B8D8E8;
        }

        #xp-reward .toast-plus {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            color: #B8D8E8;
            letter-spacing: 1px;
            line-height: 1;
        }

        #xp-reward .toast-num {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            font-weight: 900;
            color: #B8D8E8;
            line-height: 0.9;
            letter-spacing: -1px;
        }

        #xp-reward .toast-right {
            background: #1a1f24;
            padding: 13px 18px 13px 16px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 2px;
        }

        #xp-reward .toast-label {
            font-family: 'DM Mono', monospace;
            font-size: 8px;
            letter-spacing: 3px;
            text-transform: uppercase;
            color: rgba(184,216,232,0.5);
            line-height: 1;
        }

        #xp-reward .toast-value {
            font-family: 'Playfair Display', serif;
            font-size: 15px;
            font-weight: 700;
            color: #ffffff;
            letter-spacing: -0.3px;
            line-height: 1;
        }

        #xp-reward.show {
            animation: toastSlide 2.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        /* ─── XP DONE BADGE — fixo no canto do "ver notícia" ─── */
        .article-link-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 20px;
            margin-bottom: 0;
        }

        .xp-done-badge {
            display: none;
            align-items: center;
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--gray);
            padding: 4px 10px;
            border: 1px solid rgba(184,216,232,0.4);
            border-left: 2px solid #B8D8E8;
            border-radius: 3px;
            background: #ffffff;
            white-space: nowrap;
        }

        .xp-done-badge.visible {
            display: flex;
        }

        @keyframes badgePop {
            0%   { opacity: 0; transform: scale(0.7); }
            70%  { transform: scale(1.1); }
            100% { opacity: 1; transform: scale(1); }
        }

        .xp-done-badge.pop {
            animation: badgePop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
        }

        .xp-badge-row {
            display: flex;
            justify-content: flex-end;
            margin-top: 8px;
        }

        /* ─── BOTÃO LOGIN NO HEADER ─── */
        /* ─── ICON PILL ─── */
        .icon-pill {
            display: flex;
            align-items: center;
            background: #B8D8E8;
            border-radius: 999px;
            padding: 3px 6px;
            gap: 0;
        }

        .pill-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: none;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            padding: 0;
            text-decoration: none;
            flex-shrink: 0;
            transition: background 0.2s;
        }
        .pill-btn:hover { background: rgba(0,0,0,0.1); }
        .pill-btn svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: rgba(0,0,0,0.65);
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
            shape-rendering: geometricPrecision;
            transition: stroke 0.2s;
        }
        .pill-btn:hover svg { stroke: #0a0a0a; }

        .pill-divider {
            width: 1px;
            height: 16px;
            background: rgba(0,0,0,0.18);
            flex-shrink: 0;
            margin: 0 2px;
        }

        /* login-btn herdado pelo pill — reset do estilo antigo */
        #login-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30px;
            height: 30px;
            background: none;
            border: none;
            border-radius: 50%;
            padding: 0;
            cursor: pointer;
            transition: background 0.2s;
            flex-shrink: 0;
        }
        #login-btn:hover { background: rgba(0,0,0,0.1); }
        #login-btn svg {
            width: 16px;
            height: 16px;
            fill: none;
            stroke: rgba(0,0,0,0.65);
            stroke-width: 1.9;
            stroke-linecap: round;
            stroke-linejoin: round;
            transition: stroke 0.2s;
        }
        #login-btn:hover svg { stroke: #0a0a0a; }
        #login-btn .login-label { display: none; }

        /* ─── CHIP DE USUÁRIO LOGADO ─── */
        #user-chip {
            display: none;
            align-items: center;
            gap: 8px;
            cursor: pointer;
        }
        #user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--black);
            background-size: cover;
            background-position: center;
            color: white;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        #user-name {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 1px;
            color: #2D3436;
            max-width: 80px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        #logout-btn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 2px;
            display: flex;
            opacity: 0.4;
            transition: opacity 0.2s;
        }
        #logout-btn:hover { opacity: 1; }
        #logout-btn svg { width: 14px; height: 14px; fill: rgba(0,0,0,0.65); }

        /* ─── MODAL OVERLAY ─── */
        #auth-modal {
            position: fixed;
            inset: 0;
            z-index: 4000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        #auth-modal.open {
            opacity: 1;
            visibility: visible;
        }
        .auth-overlay {
            position: absolute;
            inset: 0;
            background: rgba(10,10,10,0.6);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
        }
        .auth-box {
            position: relative;
            z-index: 1;
            background: var(--white);
            border-radius: 20px;
            width: 100%;
            max-width: 400px;
            padding: 40px 32px 36px;
            box-shadow: 0 24px 80px rgba(0,0,0,0.22);
            transform: translateY(16px);
            transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
        }
        #auth-modal.open .auth-box { transform: translateY(0); }

        /* logo no modal */
        .auth-logo {
            display: flex;
            justify-content: center;
            margin-bottom: 32px;
        }
        .auth-brand {
            text-decoration: none;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .auth-brand::before { content: none; }
        .auth-brand::after  { content: none; }
        .auth-brand-name {
            font-family: 'RockyBlimpOpti', 'Qurova', 'Past Glory', 'Playfair Display', serif;
            font-size: 40px;
            font-weight: 900;
            letter-spacing: -1.5px;
            text-transform: uppercase;
            color: var(--black);
            line-height: 1;
        }
        .auth-brand-over { color: var(--black); }
        .auth-brand-out  { color: var(--black); }

        /* título do modal */
        .auth-title {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            font-weight: 400;
            color: var(--gray);
            text-align: center;
            margin-bottom: 28px;
            letter-spacing: 0.2px;
        }

        /* tabs login/registrar */
        .auth-tabs {
            display: flex;
            box-shadow: 0 1px 0 0 var(--border);
            margin-bottom: 24px;
        }
        .auth-tab {
            flex: 1;
            background: none;
            border: none;
            padding: 10px;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: var(--gray);
            cursor: pointer;
            border-bottom: 2px solid transparent;
            margin-bottom: -1px;
            transition: all 0.2s;
        }
        #auth-modal[data-mode="login"]    .auth-tab[data-tab="login"],
        #auth-modal[data-mode="register"] .auth-tab[data-tab="register"] {
            color: var(--black);
            border-bottom-color: var(--black);
        }

        /* campos */
        .auth-field {
            position: relative;
            margin-bottom: 12px;
        }
        .auth-field svg {
            position: absolute;
            left: 14px; top: 50%;
            transform: translateY(-50%);
            width: 16px; height: 16px;
            fill: #aaa;
            pointer-events: none;
        }
        .auth-field input {
            width: 100%;
            padding: 14px 14px 14px 42px;
            border: 1.5px solid rgba(0,0,0,0.1);
            border-radius: 10px;
            background: rgba(0,0,0,0.03);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            color: var(--black);
            outline: none;
            transition: border-color 0.2s;
        }
        .auth-field input:focus { border-color: var(--black); background: #fff; }
        .auth-field input::placeholder { color: #aaa; }

        /* toggle senha */
        .auth-eye {
            position: absolute;
            right: 14px; top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            padding: 2px;
            display: flex;
        }
        .auth-eye svg { width: 16px; height: 16px; fill: #aaa; pointer-events: none; }

        /* esqueci senha */
        .auth-forgot {
            text-align: right;
            margin: -4px 0 16px;
        }
        .auth-forgot button {
            background: none;
            border: none;
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            color: var(--gray);
            cursor: pointer;
            text-decoration: underline;
            text-underline-offset: 2px;
        }
        .auth-forgot button:hover { color: var(--black); }

        /* erro */
        #auth-error {
            display: none;
            font-family: 'Inter', sans-serif;
            font-size: 13px;
            color: var(--red);
            margin-bottom: 14px;
            padding: 10px 14px;
            background: #fff0f4;
            border-radius: 8px;
            border-left: 3px solid var(--red);
        }

        /* botão principal */
        .auth-submit {
            width: 100%;
            padding: 14px;
            background: var(--black);
            color: var(--white);
            border: none;
            border-radius: 10px;
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            letter-spacing: 2px;
            text-transform: uppercase;
            cursor: pointer;
            transition: background 0.2s;
            margin-bottom: 20px;
        }
        .auth-submit:hover { background: #222; }

        /* divisor "ou" */
        .auth-divider {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 14px;
            color: var(--gray);
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 2px;
        }
        .auth-divider::before, .auth-divider::after {
            content: '';
            flex: 1;
            height: 1px;
            background: var(--border);
        }

        /* botão Google */
        .auth-google {
            width: 100%;
            padding: 13px;
            background: #ffffff;
            color: var(--black);
            border: 1.5px solid rgba(0,0,0,0.12);
            border-radius: 10px;
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }
        .auth-google:hover { border-color: rgba(0,0,0,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
        .auth-google svg { width: 18px; height: 18px; flex-shrink: 0; }

        /* fechar modal */
        .auth-close {
            position: absolute;
            top: 16px; right: 16px;
            background: none;
            border: none;
            cursor: pointer;
            opacity: 0.4;
            transition: opacity 0.2s;
            padding: 4px;
            display: flex;
        }
        .auth-close:hover { opacity: 1; }
        .auth-close svg { width: 18px; height: 18px; fill: var(--black); }

        @media (max-width: 420px) {
            .auth-box { padding: 32px 22px 28px; }
            #user-name { display: none; }
        }


/* ══════════════════════════════════════════════════════
   EDITORIAL FRONT + MOSAICO + RODAPÉ + MODAL
══════════════════════════════════════════════════════ */
/* ══ Edição 26 Abr · Tiro no Jantar ══ */

        /* Foto: full-width, Trump centralizado, plateia na base */
        .ed26 .cover-photo {
            position: absolute;
            inset: 0;
            width: 100%;
            margin-left: 0;
            z-index: 1;
            pointer-events: none;
        }
        .ed26 .cover-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center 22%;
            display: block;
            mix-blend-mode: lighten;
            opacity: 0.78;
            filter: saturate(0.7) brightness(0.75) contrast(1.12);
        }

        /* Gradientes empilhados removidos para fundo branco */
        .ed26 .cover-photo::before {
            background: transparent;
        }

        /* Texto: base da capa, sobre a plateia escurecida */
        .ed26 .cover-body {
            padding: 12px 36px 20px;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            flex: 1;
            min-height: 100px;
        }

        .ed26-cat {
            display: block;
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            font-weight: 700;
            letter-spacing: 0.3em;
            text-transform: uppercase;
            color: #c8003e;
            margin-bottom: 16px;
        }

        /* Título: caixa alta, condensado, branco frio — urgência jornalística */
        .ed26-h1 {
            display: block;
            font-family: 'Playfair Display', serif;
            font-weight: 900;
            font-size: clamp(42px, 8vw, 68px);
            line-height: 0.92;
            letter-spacing: -0.02em;
            color: #000;
            text-transform: uppercase;
            text-shadow: none;
        }

        /* Subtítulo: itálico vermelho — a virada dramática */
        .ed26-sub {
            display: block;
            font-family: 'Playfair Display', serif;
            font-style: italic;
            font-weight: 600;
            font-size: clamp(18px, 3vw, 26px);
            line-height: 1.4;
            color: #c8003e;
            margin-top: 12px;
            letter-spacing: -0.01em;
            text-shadow: none;
        }

        @media (max-width: 640px) {
            .ed26 .cover-body { padding: 10px 22px 16px; }
            .ed26-h1 { font-size: clamp(34px, 10vw, 50px); }
            .ed26-sub { font-size: clamp(14px, 4vw, 18px); }
        }

        /* ═══════════════════════════════════════════
           EDITORIAL FRONT PAGE — layout tipo revista
        ═══════════════════════════════════════════ */

        .editorial-front {
            max-width: 1200px;
            margin: 0 auto 0;
            padding: 0 16px;
        }

        /* Barra de data / edição */
        .ed-dateline {
            display: none;
        }

        .ed-dateline-edition {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: #000;
            font-weight: 600;
        }

        .ed-dateline-date {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.4);
        }

        /* Grid principal */
        .ed-grid {
            display: grid;
            grid-template-columns: 1fr 1px 280px;
            gap: 0;
            padding: 8px 0 0;
            border-bottom: 1px solid rgba(0,0,0,0.1);
            margin-bottom: 0;
        }

        /* Divisor vertical */
        .ed-divider {
            background: rgba(0,0,0,0.1);
            margin: 0 28px;
        }

        /* Manchete principal (coluna esquerda) */
        .ed-lead {
            cursor: pointer;
            padding-right: 0;
        }

        .ed-lead-cat {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.4);
            font-weight: 600;
            margin-bottom: 14px;
            display: block;
        }

        .ed-lead-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            margin-bottom: 18px;
            filter: contrast(1.03);
        }

        .ed-lead-title {
            font-family: 'Playfair Display', serif;
            font-size: clamp(26px, 4vw, 38px);
            font-weight: 700;
            line-height: 1.15;
            letter-spacing: -0.03em;
            color: #0a0a0a;
            margin-bottom: 12px;
            transition: color 0.2s;
        }

        .ed-lead:hover .ed-lead-title { color: var(--red); }

        .ed-lead-desc {
            font-family: 'Inter', sans-serif;
            font-size: 15px;
            line-height: 1.65;
            color: #444;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 16px;
        }

        .ed-lead-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            padding-bottom: 28px;
        }

        .ed-tag {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2px;
            text-transform: uppercase;
            padding: 3px 8px;
            border-radius: 3px;
        }

        .ed-tag-critico { background: #0a0a0a; color: #fff; }
        .ed-tag-sistemico { background: rgba(200,0,62,0.08); color: var(--red); }
        .ed-tag-direto { background: rgba(44,82,160,0.08); color: #2c52a0; }

        .ed-lead-read {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.35);
        }

        /* Sidebar de artigos secundários (coluna direita) */
        .ed-sidebar {
            display: flex;
            flex-direction: column;
        }

        .ed-secondary {
            cursor: pointer;
            padding: 0 0 20px;
            border-bottom: 1px solid rgba(0,0,0,0.08);
            margin-bottom: 20px;
        }

        .ed-secondary:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 28px;
        }

        .ed-secondary-cat {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.4);
            margin-bottom: 8px;
            display: block;
        }

        .ed-secondary-title {
            font-family: 'Playfair Display', serif;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.35;
            color: #111;
            transition: color 0.2s;
            letter-spacing: -0.01em;
        }

        .ed-secondary:hover .ed-secondary-title { color: var(--red); }

        .ed-secondary-lide {
            font-family: 'Inter', sans-serif;
            font-size: 12px;
            line-height: 1.5;
            color: rgba(0,0,0,0.45);
            margin-top: 6px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .ed-secondary-img {
            width: 100%;
            aspect-ratio: 16/9;
            object-fit: cover;
            display: block;
            margin-bottom: 10px;
            filter: contrast(1.02);
        }

        /* Faixa "Mais notícias" */
        .ed-more-strip {
            border-top: 1px solid rgba(0,0,0,0.1);
            border-bottom: 1px solid rgba(0,0,0,0.1);
            padding: 16px 0;
            margin: 0 0 0;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
        }

        .ed-more-item {
            cursor: pointer;
            padding: 0 20px;
            border-right: 1px solid rgba(0,0,0,0.08);
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .ed-more-item:first-child { padding-left: 0; }
        .ed-more-item:last-child { border-right: none; padding-right: 0; }

        .ed-more-cat {
            font-family: 'DM Mono', monospace;
            font-size: 8.5px;
            letter-spacing: 2.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.35);
        }

        .ed-more-title {
            font-family: 'Playfair Display', serif;
            font-size: 13.5px;
            font-weight: 600;
            line-height: 1.35;
            color: #111;
            transition: color 0.2s;
        }

        .ed-more-item:hover .ed-more-title { color: var(--red); }

        /* Responsivo mobile */
        @media (max-width: 680px) {
            .ed-grid {
                grid-template-columns: 1fr;
            }
            .ed-divider { display: none; }
            .ed-sidebar {
                border-top: 1px solid rgba(0,0,0,0.1);
                padding-top: 20px;
                flex-direction: row;
                flex-wrap: wrap;
                gap: 16px;
            }
            .ed-secondary {
                flex: 1 1 calc(50% - 8px);
                border-bottom: none;
                margin-bottom: 0;
                padding-bottom: 0;
            }
            .ed-more-strip {
                grid-template-columns: 1fr;
                gap: 16px;
            }
            .ed-more-item {
                padding: 0;
                border-right: none;
                border-bottom: 1px solid rgba(0,0,0,0.08);
                padding-bottom: 16px;
            }
            .ed-more-item:last-child { border-bottom: none; padding-bottom: 0; }
            .ed-lead-title { font-size: clamp(22px, 6vw, 30px); }
        }

        /* ─── LIDE — redefinida no bloco Mosaico acima ─── */

        /* ─── BYLINE ─── */
        .article-byline-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }
        .article-byline {
            font-family: 'DM Mono', monospace;
            font-size: 9.5px;
            letter-spacing: 2px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.38);
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .article-byline::before {
            content: '';
            display: inline-block;
            width: 16px;
            height: 1.5px;
            background: var(--red);
            opacity: 0.6;
            flex-shrink: 0;
        }

        /* ─── FIGURE + CAPTION ─── */
        .article-figure {
            margin: 0 0 28px;
        }
        .article-caption {
            font-family: 'DM Mono', monospace;
            font-size: 9px;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.32);
            margin-top: 10px;
            padding-left: 2px;
            border-left: 2px solid rgba(0,0,0,0.1);
            padding-left: 8px;
            display: block;
        }

        /* ─── PULL QUOTE (blockquote melhorado) ─── */
        .article-body blockquote {
            margin: 36px 0 !important;
            padding: 28px 32px !important;
            border-top: none !important;
            border-bottom: none !important;
            border-left: none !important;
            background: rgba(184,216,232,0.08) !important;
            border-left: 3px solid #B8D8E8 !important;
            font-family: 'Playfair Display', serif !important;
            font-size: 20px !important;
            line-height: 1.5 !important;
            font-style: italic !important;
            color: #2D3436 !important;
            text-align: left !important;
            border-radius: 0 4px 4px 0 !important;
            position: relative;
        }
        .article-body blockquote::before {
            content: '\201C';
            font-family: 'Playfair Display', serif;
            font-size: 52px;
            color: #B8D8E8;
            opacity: 0.5;
            position: absolute;
            top: 8px;
            left: 12px;
            line-height: 1;
            pointer-events: none;
        }

        /* ─── SEPARADOR ORNAMENTAL entre artigos ─── */
        .article-ornament {
            text-align: center;
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            letter-spacing: 8px;
            color: rgba(0,0,0,0.18);
            padding: 4px 0 0;
            user-select: none;
        }


/* ══════════════════════════════════════════════════════
   TILE COMPACTO + XP BAR
══════════════════════════════════════════════════════ */
/* ── Tile compacto: thumbnail no canto superior direito, categoria + título à esquerda ── */
        .article[data-tile="compact"] {
            background: #fff;
            height: auto;
            min-height: 0;
            position: relative;
            display: flex;
            flex-direction: column;
            grid-column: span 1;
            border: 1px solid rgba(0,0,0,0.08);
        }
        @media (min-width: 641px) {
            .article[data-tile="compact"] {
                border: none;
                border-radius: 0;
                box-shadow: none;
            }
        }

        /* Thumbnail fixada no canto superior direito — não toca no texto */
        .article[data-tile="compact"] .article-thumb {
            position: absolute;
            top: 0;
            right: 0;
            inset: auto;
            width: 92px;
            height: 92px;
            object-fit: cover;
            filter: none;
            z-index: 3;
            border-radius: 0 6px 0 4px;
            transition: filter 0.3s;
            flex-shrink: 0;
        }

        .article[data-tile="compact"]:hover .article-thumb {
            filter: brightness(0.85);
        }

        /* article-card-preview: static para thumb posicionar relativo ao .article */
        .article[data-tile="compact"] .article-card-preview {
            position: static;
            inset: auto;
            display: block;
            flex: 1;
        }

        .article[data-tile="compact"] .article-card-preview::after {
            display: none;
        }

        /* article-top: categoria à esquerda — padding direito = largura da thumb + folga */
        .article[data-tile="compact"] .article-top {
            position: relative;
            top: auto; left: auto; right: auto;
            z-index: 2;
            display: flex;
            align-items: flex-start;
            justify-content: flex-start;
            padding: 11px 100px 11px 12px;
            min-height: 92px;
            background: #fff;
        }

        .article[data-tile="compact"] .article-badges {
            flex-direction: column;
            align-items: flex-start;
            gap: 5px;
        }

        /* Título e lide abaixo, fundo branco, padding lateral uniforme */
        .article[data-tile="compact"] .article-card-text {
            position: relative;
            z-index: auto;
            padding: 2px 12px 14px 12px;
            background: #fff;
            border-top: 1px solid rgba(0,0,0,0.06);
        }
        @media (min-width: 641px) {
            .article[data-tile="compact"] .article-card-text {
                border-top: none;
            }
            .article[data-tile="compact"] .article-thumb {
                border-radius: 0;
            }
            /* Zerar margins dos blocos especiais para que a borda do grid cubra */
            .qt-block,
            .curiosidade-block,
            .flashcard-block {
                margin: 0;
                border-radius: 0;
            }
        }

        /* Título: Inter bold, tamanho do screenshot */
        .article[data-tile="compact"] .article-title {
            color: #0a0a0a;
            text-shadow: none;
            font-family: 'Inter', sans-serif;
            font-size: clamp(12px, 3.2vw, 14px);
            font-weight: 800;
            line-height: 1.3;
            letter-spacing: -0.2px;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin: 8px 0 5px;
        }

        .article[data-tile="compact"]:hover .article-title {
            color: #111;
        }

        /* Lide: Inter regular, pequeno */
        .article[data-tile="compact"] .article-lide {
            font-family: 'Inter', sans-serif;
            color: rgba(0,0,0,0.46);
            font-size: 11px;
            font-weight: 400;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* Badges sobre fundo branco */
        .article[data-tile="compact"] .badge {
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
            font-size: 7.5px;
            letter-spacing: 1px;
        }
        .article[data-tile="compact"] .badge-cat {
            background: rgba(0,0,0,0.05);
            color: rgba(0,0,0,0.5);
            border-color: rgba(0,0,0,0.07);
        }
        .article[data-tile="compact"] .badge-sistemico {
            background: rgba(200,0,62,0.07);
            color: var(--red);
            border-color: rgba(200,0,62,0.15);
        }
        .article[data-tile="compact"] .badge-critico {
            background: #0a0a0a;
            color: #fff;
            border-color: transparent;
        }
        .article[data-tile="compact"] .badge-direto {
            background: rgba(44,82,160,0.07);
            color: #2c52a0;
            border-color: rgba(44,82,160,0.15);
        }

        .article[data-tile="compact"] .article-expand-icon {
            display: none;
        }
        /* ─── XP BAR (mobile) ─── */
        .xp-bar-strip {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px 16px;
            background: #fff;
            border-bottom: 1px solid rgba(0,0,0,0.07);
        }

        @media (min-width: 769px) {
            .xp-bar-strip { display: none; } /* só mobile */
        }

        .xp-bar-label {
            font-family: 'DM Mono', monospace;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 1.5px;
            text-transform: uppercase;
            color: rgba(0,0,0,0.45);
            white-space: nowrap;
        }

        .xp-bar-track {
            flex: 1;
            height: 5px;
            background: rgba(0,0,0,0.08);
            border-radius: 999px;
            overflow: hidden;
        }

        .xp-bar-fill {
            height: 100%;
            background: var(--gold, #F5C518);
            border-radius: 999px;
            transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
            width: 0%;
        }

        .xp-bar-value {
            font-family: 'DM Mono', monospace;
            font-size: 11px;
            font-weight: 600;
            color: #0a0a0a;
            white-space: nowrap;
            min-width: 48px;
            text-align: right;
        }


/* ══════════════════════════════════════════════════════
   HERO PRIMEIRA NOTÍCIA + DESKTOP ESTILOS REUTERS
══════════════════════════════════════════════════════ */
/* ── HERO PRIMEIRA NOTÍCIA ── */

/* ── MOBILE: texto sobreposto à imagem (mantido) ── */
@media (max-width: 640px) {
    #article-0[data-tile="big"]:not(.expanded),
    #pvs-art-0[data-tile="big"]:not(.expanded),
    #pvm-art-0[data-tile="big"]:not(.expanded) {
        position: relative !important;
        background: #111;
        height: 445px !important;
        overflow: hidden !important;
        margin-left: -10px !important;
        margin-right: -10px !important;
        width: calc(100% + 20px) !important;
        margin-top: 0 !important;
        border-radius: 6px !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-preview,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-preview,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-preview {
        position: absolute !important;
        inset: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        height: 100% !important;
        z-index: 1 !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-preview::after,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-preview::after,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-preview::after {
        display: block !important;
        content: '' !important;
        position: absolute !important;
        inset: 0 !important;
        background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.9) 100%) !important;
        pointer-events: none !important;
        z-index: 1 !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-thumb,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-thumb,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-thumb {
        position: absolute !important;
        inset: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        z-index: 0 !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-text,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-text,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-text {
        position: relative !important;
        z-index: 2 !important;
        background: transparent !important;
        padding: 20px 15px 25px !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-title,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-title,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-title {
        color: #fff !important;
        text-shadow: 0 2px 12px rgba(0,0,0,0.6) !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-lide,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-lide,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-lide {
        color: rgba(255,255,255,0.85) !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-top,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-top,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-top {
        position: absolute !important;
        top: 15px !important;
        right: 15px !important;
        z-index: 10 !important;
        display: flex !important;
        justify-content: flex-end !important;
        pointer-events: auto !important;
    }
}

/* ── DESKTOP: imagem à esquerda, texto à direita (estilo Exame.com) ── */
@media (min-width: 641px) {
    #article-0[data-tile="big"]:not(.expanded),
    #pvs-art-0[data-tile="big"]:not(.expanded),
    #pvm-art-0[data-tile="big"]:not(.expanded) {
        position: relative !important;
        background: #fff !important;
        height: auto !important;
        overflow: hidden !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 6px !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-preview,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-preview,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-preview {
        position: relative !important;
        inset: auto !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: stretch !important;
        justify-content: flex-start !important;
        height: auto !important;
        min-height: 280px !important;
        z-index: 1 !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-preview::after,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-preview::after,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-preview::after {
        display: none !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-thumb,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-thumb,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-thumb {
        position: relative !important;
        inset: auto !important;
        width: 56% !important;
        flex-shrink: 0 !important;
        height: auto !important;
        max-height: none !important;
        aspect-ratio: unset !important;
        align-self: stretch !important;
        object-fit: cover !important;
        display: block !important;
        z-index: 0 !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-card-text,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-card-text,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-card-text {
        position: relative !important;
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        z-index: 2 !important;
        background: #fff !important;
        padding: 16px 28px 28px 32px !important;
        border-left: none !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-title,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-title,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-title {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-weight: 700 !important;
        color: #404040 !important;
        text-shadow: none !important;
        font-size: clamp(17px, 1.8vw, 24px) !important;
        line-height: 1.3 !important;
        margin-bottom: 12px !important;
    }

    #article-0[data-tile="big"]:not(.expanded) .article-lide,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-lide,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-lide {
        display: -webkit-box !important;
        -webkit-line-clamp: 10 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        color: rgba(0,0,0,0.58) !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        margin-top: 0 !important;
    }

    /* Badges reposicionados sobre a imagem — canto superior esquerdo */
    #article-0[data-tile="big"]:not(.expanded) .article-top,
    #pvs-art-0[data-tile="big"]:not(.expanded) .article-top,
    #pvm-art-0[data-tile="big"]:not(.expanded) .article-top {
        position: absolute !important;
        top: 14px !important;
        left: 14px !important;
        right: auto !important;
        z-index: 10 !important;
        display: flex !important;
        justify-content: flex-start !important;
        pointer-events: auto !important;
    }
}

#article-0[data-tile="big"]:not(.expanded) .article-expand-icon,
#pvs-art-0[data-tile="big"]:not(.expanded) .article-expand-icon,
#pvm-art-0[data-tile="big"]:not(.expanded) .article-expand-icon {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Logo IQ nas primeiras notícias */
.hero-iq-logo {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 88px;
    height: 88px;
    object-fit: contain;
    z-index: 10;
    opacity: 0.92;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.article.expanded .hero-iq-logo {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.85);
}
@media (max-width: 640px) {
    .hero-iq-logo { width: 73px; height: 73px; top: 14px; left: 14px; }
}

/* ── DESKTOP: logo à esquerda da tab "Hoje" ── */
@media (min-width: 641px) {
    /* Oculta o logo dentro do artigo hero no desktop */
    #article-0 .hero-iq-logo,
    #pvs-art-0 .hero-iq-logo,
    #pvm-art-0 .hero-iq-logo {
        display: none !important;
    }

    /* Logo inserido dentro do .trend-tabs-inner, antes da primeira tab */
    .desktop-tab-logo {
        display: flex;
        align-items: center;
        padding-right: 4px;
        flex-shrink: 0;
    }

    .desktop-tab-logo img {
        height: 38px;
        width: auto;
        object-fit: contain;
        opacity: 0.88;
        display: block;
    }
}

@media (max-width: 640px) {
    .desktop-tab-logo {
        display: none !important;
    }
}

/* ── RESTAURAÇÃO MOBILE — garante que nenhuma regra desktop vaza ── */
@media (max-width: 640px) {
    /* Trend tabs: valores originais mobile */
    .trend-tab {
        font-family: 'Fira Sans Condensed', sans-serif !important;
        font-size: 28px !important;
        font-weight: 800 !important;
        letter-spacing: -0.5px !important;
        text-transform: uppercase !important;
        color: rgba(0,0,0,0.28) !important;
        padding: 14px 6px 10px !important;
        border-bottom: none !important;
    }
    .trend-tab.active {
        color: #0a0a0a !important;
    }
    .trend-tabs-slider {
        opacity: 1 !important;
    }

    /* Títulos: Inter bold, tamanhos originais mobile */
    .article-title {
        font-family: 'Inter', sans-serif !important;
        font-weight: 800 !important;
        color: #0a0a0a !important;
        letter-spacing: -0.2px !important;
        text-transform: none !important;
    }
    .article-title:hover {
        text-decoration: none !important;
    }

    /* Lide: valores originais */
    .article-lide {
        font-family: 'Inter', sans-serif !important;
        font-size: 11px !important;
        font-weight: 400 !important;
        color: rgba(0,0,0,0.52) !important;
        line-height: 1.4 !important;
    }

    /* Título expandido: valores originais */
    .article.expanded .article-title,
    .article[data-tile="big"].expanded .article-title {
        font-family: 'Inter', sans-serif !important;
        font-weight: 800 !important;
        color: #0a0a0a !important;
    }

    /* Corpo expandido: valores originais */
    .article-body {
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        color: #2a2a2a !important;
        line-height: 1.75 !important;
    }

    /* Barra topo preta: oculta no mobile */
    .desktop-top-bar {
        display: none !important;
    }
}

/* ── DESKTOP: trend tabs estilo Reuters — fonte Inter, tamanho e peso ── */
@media (min-width: 641px) {
    .trend-tab {
        font-family: 'Inter', sans-serif;
        font-size: 14px;
        font-weight: 500;
        letter-spacing: 0px;
        text-transform: none;
        padding: 10px 12px 8px;
        color: #0a0a0a;
    }
    .trend-tab.active {
        color: #0a0a0a;
    }
    .trend-tab:hover:not(.active) {
        color: #0a0a0a;
    }
    .desktop-tab-logo img {
        height: 38px;
    }
    .desktop-tab-logo {
        padding-right: 4px;
    }

    /* Slider global: removido no desktop — usa ::after no tab-text */
    .trend-tabs-slider {
        display: none !important;
    }

    /* Títulos das notícias: estilo Reuters — Georgia serif, bold, #404040 */
    .article-title {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-weight: 700 !important;
        color: #404040 !important;
        letter-spacing: -0.2px !important;
        text-transform: none !important;
    }

    /* Lide (resumo): Inter regular, cinza médio Reuters */
    .article-lide {
        font-family: 'Inter', sans-serif !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #696969 !important;
        line-height: 1.55 !important;
    }

    /* Título expandido: Georgia, grande */
    .article.expanded .article-title,
    .article[data-tile="big"].expanded .article-title {
        font-family: Georgia, 'Times New Roman', serif !important;
        font-weight: 700 !important;
        color: #404040 !important;
        letter-spacing: -0.3px !important;
    }

    /* Corpo do artigo expandido: Inter, cinza escuro */
    .article-body {
        font-family: 'Inter', sans-serif !important;
        font-size: 16px !important;
        color: #333333 !important;
        line-height: 1.75 !important;
    }

    /* Hover no título: sublinhar apenas ao passar o mouse sobre o título */
    .article-title:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
        cursor: pointer;
    }
}

/* ── DESKTOP: sem separador na 1ª e 2ª notícia (drone/usina nuclear) ── */
@media (min-width: 641px) {
    #article-0,
    #article-1 {
        border-bottom: none !important;
    }
}

.bnav-avatar {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background: #555;
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        color: #fff;
        overflow: hidden;
        flex-shrink: 0;
        font-family: 'DM Mono', monospace;
    }


/* ══════════════════════════════════════════════════════
   BNAV AVATAR
══════════════════════════════════════════════════════ */
.bottom-nav {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 300;
        background: #fff;
        border-top: 1px solid rgba(0,0,0,0.10);
        display: flex;
        align-items: stretch;
        height: 62px;
        padding-bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
    }
    @media (min-width: 769px) {
        .bottom-nav { display: none !important; }
        .bottom-nav-spacer { display: none !important; }
    }
    .bottom-nav-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        border: none;
        background: none;
        cursor: pointer;
        padding: 8px 4px 6px;
        -webkit-tap-highlight-color: transparent;
        outline: none;
        color: rgba(0,0,0,0.35);
        transition: color 0.18s;
        position: relative;
    }
    .bottom-nav-btn.active { color: #3aaa72; }
    .bottom-nav-btn svg {
        width: 22px;
        height: 22px;
        fill: currentColor;
        stroke: none;
        flex-shrink: 0;
    }
    .bottom-nav-btn span {
        font-family: 'Inter', sans-serif;
        font-size: 10px;
        font-weight: 600;
        white-space: nowrap;
    }
    .bottom-nav-btn.active::before {
        display: none;
    }
    .bottom-nav-spacer { height: 72px; }
