/* ==== Cookie banner globale TokenAlmanach ==== */
/* ========= Layout pages secondaires (annonceurs, etc.) ========= */

:root {
    --bg: #050816;
    --card: #0f172a;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.15);
    --text-main: #e5e7eb;
    --text-soft: #9ca3af;
    --danger: #f97373;
    --border: #1f2937;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --brand-gold: #F4B237;
    --brand-gold-soft: #f7c95b;

}

.ta-body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: radial-gradient(circle at top, #111827 0, var(--bg) 55%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.page-wrapper {
    width: 100%;
    max-width: 900px;
    padding: 32px 16px 64px;
    margin: 0 auto;
}

/* Header / navigation en haut de la page annonceurs */
.ta-header {
    margin-bottom: 12px;
    font-size: 13px;
}

.ta-header-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 76px;
}



.ta-logo {
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
}

/* ✅ CASE FIXE (l'écran) */
.ta-logo-mark-wrap {
    width: 44px;
    /* <- taille de la case (constant) */
    height: 44px;
    background: #0A172B;
    border-radius: 14px;
    overflow: hidden;
    /* <- clé: le zoom ne change pas la case */
    flex: 0 0 auto;
    backdrop-filter: blur(6px);

    box-shadow:
        0 12px 34px rgba(0, 0, 0, .45),
        inset 0 0 0 1px rgba(255, 255, 255, .05);
    outline: 1px solid rgba(148, 163, 184, .20);
}

/* ✅ CONTENU (zoomé à l'intérieur de la case) */
.ta-logo-mark {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
    object-position: center;
    flex: 0 0 auto;

    transform: translateZ(0) scale(3);
    /* <- augmente CA sans changer la case */
    transform-origin: center;

    transition: transform .12s ease;
}


/* hover optionnel (ne pas changer d'échelle pour éviter “gonflement”) */
.ta-logo:hover .ta-logo-mark {
    transform: translateZ(0) scale(3.4);
}

/* Mobile */
@media (max-width: 768px) {
    .ta-logo-mark-wrap {
        width: 40px;
        height: 40px;
        border-radius: 13px;
    }

    .ta-logo-mark {
        transform: translateZ(0) scale(3);
    }
}

/* Logo text */
.ta-logo-text {
    display: inline-block;
    min-width: 0;
    max-width: min(52vw, 190px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 750;
    letter-spacing: .2px;
}

.ta-logo-crypto {
    font-weight: 800;
    letter-spacing: .2px;
    background: linear-gradient(180deg, var(--brand-gold-soft) 0%, var(--brand-gold) 55%, #d99212 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}


.ta-logo-almanach {
    color: var(--text-main);
    font-weight: 750;
}

/* === Brand highlight === */
.ta-logo-crypto,
.ta-brand-crypto {
    color: #F5B73A;
    /* doré du C */
    font-weight: 700;
}

.ta-logo-almanach,
.ta-brand-almanach {
    color: #E5E7EB;
    /* blanc doux */
}



@media (max-width: 360px) {
    .ta-logo-text {
        display: none;
    }
}



.ta-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
}

/* liens de navigation "pilules" */
.ta-nav a,
.ta-nav .ta-nav-link {
    color: var(--text-soft);
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

/* survol : léger gris bleu */
.ta-nav a:hover,
.ta-nav .ta-nav-link:hover {
    background: rgba(148, 163, 184, 0.16);
    color: var(--text-main);
}

/* page active : bleu clair type onglet */
.ta-nav a.ta-nav-active,
.ta-nav .ta-nav-link.ta-nav-active {
    background: rgba(59, 130, 246, 0.24);
    /* bleu clair */
    color: #bfdbfe;
    /* texte bleu très clair */
    border-color: rgba(59, 130, 246, 0.7);
}

/* Bouton menu hamburger (mobile) */
.ta-nav-toggle {
    display: none;
    /* caché par défaut (desktop) */
    align-items: center;
    justify-content: center;

    /* IMPORTANT : empiler les 3 barres */
    flex-direction: column;

    gap: 4px;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.45);
    background: rgba(15, 23, 42, 0.9);
    cursor: pointer;
    transition: background .15s ease, border-color .15s ease, transform .05s ease;
}


.ta-nav-toggle span {
    display: block;
    width: 16px;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

.ta-nav-toggle:hover {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(129, 140, 248, 0.85);
    transform: translateY(-1px);
}

/* État "ouvert" : légère variation de couleur des barres si tu veux */
.ta-nav-toggle.is-open span {
    background: var(--accent);
}

/* Animation premium : hamburger -> X */
.ta-nav-toggle span {
    transition: transform .15s ease, opacity .15s ease, background .15s ease;
    transform-origin: center;
}

.ta-nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.ta-nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.ta-nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* Zone principale + carte de contenu */
.ta-main {
    margin-top: 4px;
}

.ta-card {
    background: radial-gradient(circle at top left, #111827 0, var(--card) 55%);
    border-radius: 24px;
    padding: 26px 24px 24px;
    box-shadow:
        0 18px 60px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(148, 163, 184, .15);
}

.ta-card-wide {
    width: 100%;
}

/* Typo dans la carte (copiée de la charte) */

.ta-card h1 {
    margin: 10px 0 8px;
    font-size: 26px;
    letter-spacing: .02em;
}

.ta-card h2 {
    margin-top: 22px;
    margin-bottom: 6px;
    font-size: 18px;
}

.ta-card h3 {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 15px;
}

.ta-card p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-top: 4px;
    margin-bottom: 8px;
}

/* ===== Notes / micro-infos (Contact, etc.) ===== */
.ta-note {
    margin: 10px 0 0;
    padding: 9px 12px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-left: 4px solid rgba(34, 197, 94, .75);
    background: rgba(2, 6, 23, 0.28);
    color: rgba(203, 213, 225, 0.92);
    font-size: 12px;
    line-height: 1.55;
}

.ta-note strong {
    color: var(--text-main);
    font-weight: 650;
}

/* ===========================
   Language switch (real flag inside the pill)
   =========================== */

.ta-nav .ta-lang-switch {
    position: relative;
    padding-right: 34px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    /* réserve la place du drapeau à droite */
}

/* Désactive les anciens effets en pseudo-éléments (sinon tu gardes le flou) */
.ta-nav .ta-lang-switch::before,
.ta-nav .ta-lang-switch::after {
    content: none !important;
}

/* Desktop */
.ta-nav .ta-lang-switch .ta-flag {
    position: absolute;
    right: 10px;
    top: 50%;

    /* ✅ boîte stable + centrage */
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    line-height: 1;

    /* ✅ évite le “micro-jitter” au hover */
    transform: translate3d(0, -50%, 0) scale(.92);
    transform-origin: center;
    will-change: transform;

    opacity: 0;
    filter: blur(5px);
    transition: opacity .18s ease, filter .18s ease, transform .18s ease;
    pointer-events: none;
}


.ta-nav .ta-lang-switch:hover .ta-flag,
.ta-nav .ta-lang-switch:focus-visible .ta-flag {
    opacity: 1;
    filter: blur(.4px);
    transform: translateY(-50%) scale(1);
}

/* Mobile / hamburger : le drapeau doit rester collé à EN/FR */
@media (max-width: 768px) {
    .ta-nav .ta-lang-switch {
        padding-right: 12px;
    }

    .ta-nav .ta-lang-switch .ta-flag {
        position: static;
        margin-left: 2px;
        opacity: 0;
        filter: none;
        transform: none;
        transition: none;
        /* évite le “micro-saut” */
        display: inline-flex;
        align-items: center;
        line-height: 1;
        vertical-align: middle;
    }

    /* ✅ override du hover (plus spécifique que ta règle desktop) */
    .ta-nav .ta-lang-switch:hover .ta-flag,
    .ta-nav .ta-lang-switch:focus-visible .ta-flag {
        opacity: 1;
        filter: none;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .ta-nav .ta-lang-switch::before,
    .ta-nav .ta-lang-switch::after {
        transition: none;
    }
}


.ta-card ul {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-top: 2px;
    margin-bottom: 8px;
    padding-left: 20px;
}

.ta-card a {
    color: #93c5fd;
    text-decoration: none;
}

.ta-card a:hover {
    text-decoration: underline;
}


.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(7, 10, 20, 0.96);
    color: #f5f5f5;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cookie-banner-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    gap: 16px;
    align-items: center;
}

.cookie-banner-inner p {
    margin: 0;
    flex: 1;
}

.cookie-banner-inner a {
    color: #4fd1c5;
    /* adapte si besoin à ta palette */
    text-decoration: underline;
}

.cookie-banner-actions {
    display: flex;
    gap: 8px;
}

.cookie-banner-actions button {
    border-radius: 999px;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    font-size: 0.85rem;
}

#cookie-accept {
    background: #4fd1c5;
    color: #020617;
    font-weight: 600;
}

#cookie-decline {
    background: transparent;
    color: #f5f5f5;
    border: 1px solid rgba(255, 255, 255, 0.3);
}


:root {
    --bg: #050816;
    --card: #0f172a;
    --accent: #22c55e;
    --accent-soft: rgba(34, 197, 94, 0.15);
    --text-main: #e5e7eb;
    --text-soft: #9ca3af;
    --danger: #f97373;
    --border: #1f2937;
    --font: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --brand-gold: #F4B237;
    --brand-gold-soft: #f7c95b;


}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font);
    background: radial-gradient(circle at top, #111827 0, var(--bg) 55%);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

/* ---- Reset police pour les contrôles de formulaire ---- */
input,
button,
select,
textarea {
    font: inherit;
    /* inclut font-family + font-size + font-weight */
}


.shell {
    width: 100%;
    max-width: 1100px;
    padding: 40px 16px 64px;
    margin: 0 auto;
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
}

.card {
    background: radial-gradient(circle at top left, #111827 0, var(--card) 55%);
    border-radius: 24px;
    padding: 28px 26px 24px;
    box-shadow:
        0 18px 60px rgba(0, 0, 0, .65),
        0 0 0 1px rgba(148, 163, 184, .15);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-bottom: 14px;
    color: #9ca3af;
}

.back-link span {
    font-size: 16px;
    transform: translateY(1px);
}

h1 {
    margin: 12px 0 10px;
    font-size: 28px;
    letter-spacing: .02em;
}

h2 {
    margin-top: 22px;
    margin-bottom: 6px;
    font-size: 18px;
    scroll-margin-top: 18px;
}

h3 {
    margin-top: 16px;
    margin-bottom: 4px;
    font-size: 15px;
}

p {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-top: 4px;
    margin-bottom: 8px;
}

ul {
    font-size: 14px;
    color: var(--text-soft);
    line-height: 1.6;
    margin-top: 2px;
    margin-bottom: 8px;
    padding-left: 20px;
}

a {
    color: #93c5fd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}


.subtitle {
    font-size: 14px;
    color: var(--text-soft);
    max-width: 620px;
    line-height: 1.6;
}

.powered-by {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-soft);
    opacity: .95;
}


.meta-row {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--text-soft);
}

.meta-pill {
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.meta-pill strong {
    color: var(--text-main);
    font-weight: 600;
}

/* Onglets plateformes */
.tabs {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tab-button {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(15, 23, 42, .8);
    color: var(--text-soft);
    font-size: 12px;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.tab-button span {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .08em;
    opacity: .75;
}

.tab-button.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.tab-button.soon {
    opacity: .7;
}

/* Profils PrimeXBT */
.profile-tabs {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.profile-button {
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(15, 23, 42, .55);
    color: var(--text-soft);
    font-size: 11px;
    padding: 6px 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background .15s ease, color .15s ease, border-color .15s ease, transform .05s ease;
}

.profile-button.active {
    background: var(--accent-soft);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-1px);
}

.layout {
    margin-top: 24px;
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 20px;
}

@media (max-width: 480px) {

    /* Sur très petits écrans, on masque la colonne "Type"
         pour garder Signal IA / Risque / Commentaire visibles */
    #tokens-table th:nth-child(3),
    #tokens-table td:nth-child(3) {
        display: none;
    }
}

@media (max-width: 700px) {
    .table-wrapper {
        -webkit-overflow-scrolling: touch;
    }

    table {
        min-width: 640px;
    }

    th,
    td {
        padding: 6px 6px;
        font-size: 12px;
    }

    .token-symbol {
        font-size: 12px;
    }

    .token-name {
        font-size: 11px;
    }

    .comment-cell {
        max-width: 220px;
    }
}

/* =========================
   Navigation responsive (hamburger)
   ========================= */
@media (max-width: 768px) {
    .ta-header-inner {
        align-items: center;
        justify-content: space-between;
    }

    /* Le bouton hamburger apparaît sur mobile */
    .ta-nav-toggle {
        display: inline-flex;
    }

    /* La nav devient cachée par défaut et s'empile verticalement */
    .ta-nav {
        width: 100%;
        margin-top: 6px;
        display: none;
        flex-direction: column;
        gap: 6px;
    }

    /* Quand la classe .ta-nav-open est présente, on affiche la nav */
    .ta-nav.ta-nav-open {
        display: flex;
    }

    /* Liens de nav en pleine largeur sur mobile */
    .ta-nav a,
    .ta-nav .ta-nav-link {
        justify-content: flex-start;
        width: 100%;
    }
}


@media (max-width: 800px) {
    .card {
        padding: 22px 18px 20px;
    }

    .layout {
        grid-template-columns: minmax(0, 1fr);
    }

    h1 {
        font-size: 22px;
    }
}

@media (max-width: 700px) {
    .card {
        padding: 20px 16px 18px;
    }

    h1 {
        font-size: 22px;
    }
}

/* Tableau tokens */
.table-wrapper {
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(15, 23, 42, .9);
    overflow: hidden;
    overflow-x: auto;
    overflow-y: hidden;
}

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

thead {
    background: rgba(15, 23, 42, .96);
}

/* Tableau tokens : éviter le scroll horizontal en desktop */
table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 8px 10px;
    text-align: left;
    white-space: nowrap;
    /* ok pour #, Actif, Type, Signal, Risque */
}

/* La colonne commentaire doit pouvoir wrap */
.comment-cell {
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: break-word;
}


tbody tr:nth-child(odd) {
    background: rgba(15, 23, 42, .92);
}

tbody tr:nth-child(even) {
    background: rgba(15, 23, 42, .86);
}

tbody tr:hover {
    background: rgba(30, 64, 175, .4);
}

.token-symbol {
    font-weight: 600;
    font-size: 13px;
}

.token-name {
    color: var(--text-soft);
    font-size: 12px;
}

.score-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .45);
}

.score-pill strong {
    font-weight: 600;
}

.score-pill--cautious {
    border-color: #facc15;
    color: #facc15;
}

.score-pill--aggressive {
    border-color: var(--accent);
    color: var(--accent);
}

.risk-low {
    color: var(--accent);
}

.risk-medium {
    color: #facc15;
}

.risk-high {
    color: var(--danger);
}

.updated-at {
    font-size: 11px;
    color: var(--text-soft);
    margin: 8px 0 0;
}

/* Colonnes de droite */
.side-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.side-block {
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 14px 14px 16px;
    background: linear-gradient(135deg, rgba(15, 23, 42, .95), rgba(15, 23, 42, .85));
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-soft);
}

.side-block h2 {
    font-size: 14px;
    margin: 0 0 8px;
    color: var(--text-main);
}

.side-block ul {
    padding-left: 18px;
    margin: 6px 0 0;
}

.side-block small {
    font-size: 11px;
    color: var(--text-soft);
}

.news-list {
    list-style: none;
    padding-left: 0;
    margin: 6px 0 0;
}

.news-item {
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(148, 163, 184, .3);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.news-title {
    font-size: 13px;
    color: var(--text-main);
}

.news-meta {
    font-size: 11px;
    color: var(--text-soft);
    margin-top: 2px;
}


.disclaimer {
    max-width: 720px;
    margin: 16px auto 0;
    padding: 14px 16px;
    border-radius: 18px;

    background: linear-gradient(135deg,
            rgba(15, 23, 42, 0.95),
            rgba(2, 6, 23, 0.92));
    border: 1px solid rgba(148, 163, 184, 0.22);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(6px);

    font-size: 12.5px;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);

    position: relative;
    overflow: hidden;
}

.disclaimer::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: rgba(234, 179, 8, 0.95);
    transition: transform .15s ease, box-shadow .15s ease;
    /* jaune premium */
}

.disclaimer:hover {
    transform: translateY(-1px);
}

.disclaimer strong {
    color: #e5e7eb;
    font-weight: 650;
}

.disclaimer p {
    margin: 0 0 10px;
}

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


.ad-block {
    border-radius: 16px;
    border: 1px dashed rgba(148, 163, 184, .6);
    padding: 14px 14px 16px;
    background: radial-gradient(circle at top left,
            rgba(15, 23, 42, .95),
            rgba(15, 23, 42, .85));
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-soft);
    text-align: left;
}

.ad-block h2 {
    font-size: 14px;
    margin: 0 0 8px;
    color: var(--text-main);
}

/* Liens d’appel à l’action (vert accent) */
.cta-link {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

.cta-link:hover {
    text-decoration: underline;
}


.ad-slot {
    margin-top: 10px;
    border-radius: 12px;
    border: 1px dashed rgba(148, 163, 184, .5);
    padding: 10px;
    font-size: 12px;
    text-align: center;
    color: var(--text-soft);
    background: rgba(15, 23, 42, .7);
}

.ad-slot-hero {
    margin-top: 14px;
}

.ad-slot-macro {
    margin-top: 10px;
    margin-bottom: 8px;
}

/* Commentaire : permettre le retour à la ligne */
.comment-cell {
    white-space: normal;
    max-width: 260px;
    word-break: break-word;
}

footer {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(148, 163, 184, .14);
    font-size: 11px;
    color: rgba(148, 163, 184, .78);
    text-align: center;
}

/* Footer : forcer une typo homogène partout */
footer.ta-footer,
footer.ta-footer p,
footer.ta-footer a,
footer.ta-footer .ta-footer-meta,
footer.ta-footer .ta-footer-meta * {
    font-size: 11px;
    line-height: 1.45;
}

footer.ta-footer p {
    margin: 6px 0;
    /* évite que les <p> “gonflent” l’espace */
}

/* si tu veux que "Powered by..." ne ressorte pas trop */
footer.ta-footer .engine-signature {
    font-size: 11px;
    /* ou garde 12px si tu préfères */
}


.engine-signature {
    display: block;
    margin-top: 6px;
    opacity: .85;
    font-size: 12px;
    color: rgba(148, 163, 184, .90);
    letter-spacing: .2px;
}

footer a {
    color: inherit;
    opacity: .9;
    text-decoration: none;
}

footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Badge vert type "Charte & mentions" */
.ta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.15);
    /* vert doux */
    color: #22c55e;
    /* vert accent */
    margin-bottom: 8px;
}

/* ===== Barre de recherche des tokens (home) ===== */

.token-search-bar {
    margin: 18px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.token-search-label {
    font-size: 13px;
    color: var(--text-soft);
}

.token-search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #020617;
    border-radius: 999px;
    border: 1px solid var(--border);
}

.token-search-input-wrapper:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.4);
}

.token-search-icon {
    font-size: 14px;
    color: var(--text-soft);
}

.token-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 14px;
}

.token-search-input::placeholder {
    color: #6b7280;
}

.token-search-clear {
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    font-size: 14px;
    padding: 0 2px;
}

.token-search-clear:hover {
    color: var(--text-main);
}

.token-search-hint {
    font-size: 11px;
    color: var(--text-soft);
}

@media (max-width: 640px) {
    .token-search-bar {
        margin-top: 12px;
    }
}

@media (hover: none) {
    .ta-nav-toggle:hover {
        background: rgba(15, 23, 42, 0.9);
        border-color: rgba(148, 163, 184, 0.45);
        transform: none;
    }
}


/* ===== Suggestions de recherche (autocomplete) ===== */

.token-suggestions {
    margin-top: 4px;
    background: rgba(15, 23, 42, 0.98);
    border-radius: 14px;
    border: 1px solid var(--border);
    max-height: 220px;
    overflow-y: auto;
    padding: 4px;
    display: none;
    /* caché par défaut */
    font-family: var(--font);
    /* même police que le reste du site */
    font-size: 13px;
    /* cohérent avec le tableau */
}

.token-suggestion-item {
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    color: var(--text-main);
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
}

.token-suggestion-item span.token-suggestion-symbol {
    font-weight: 600;
}

.token-suggestion-item span.token-suggestion-extra {
    font-size: 11px;
    color: var(--text-soft);
}

.token-suggestion-item:hover,
.token-suggestion-item:focus-visible {
    background: rgba(34, 197, 94, 0.08);
    outline: none;
}

.token-suggestions-hint {
    font-size: 12px;
    /* un poil plus petit, mais pas minuscule */
    color: var(--text-soft);
    padding: 4px 6px 2px;
    font-family: var(--font);
    font-style: italic;
    opacity: 0.8;
}


/* ===== Lignes cliquables (historique) ===== */

.ta-row-clickable {
    cursor: pointer;
}

.ta-row-clickable:hover {
    background: rgba(148, 163, 184, 0.12);
}

/* ===========================
   Fenêtre modale : historique du score IA
   =========================== */

.ta-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* fond semi-transparent, cohérent avec tes cartes */
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(4px);
    z-index: 80;
    /* au-dessus du contenu, mais sous les éventuels toasts */
}

/* Quand la modale est "hidden" → complètement retirée de l'affichage */
.ta-modal-hidden {
    display: none;
}

.ta-modal-backdrop {
    position: absolute;
    inset: 0;
}

.ta-modal-panel {
    position: relative;
    width: min(960px, 100% - 3rem);
    max-height: calc(100vh - 4rem);
    background: #020617;
    border-radius: 1rem;
    padding: 1.5rem 1.75rem 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.25);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    overflow: hidden;
}

.ta-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.25rem;
}

.ta-modal-title,
#score-modal-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #e5e7eb;
}

.ta-modal-subtitle {
    margin: 0;
    font-size: 0.875rem;
    color: #9ca3af;
}

.ta-modal-close {
    border: none;
    background: transparent;
    color: #9ca3af;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 0 0.15rem 0;
    cursor: pointer;
    border-radius: 999px;
    transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.ta-modal-close:hover {
    background: rgba(148, 163, 184, 0.15);
    color: #f9fafb;
    transform: translateY(-1px);
}

/* Barre des boutons de période (1D, 3D, 7D, etc.) */
.ta-modal-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.time-range-toggle {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.98);
    font-size: 0.78rem;
    color: #e5e7eb;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease,
        transform 0.12s ease;
}

.time-range-toggle:hover {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(129, 140, 248, 0.85);
    transform: translateY(-0.5px);
}

/* Bouton actif (période sélectionnée) */
.time-range-toggle-active {
    background: #22c55e;
    border-color: #22c55e;
    color: #022c22;
}

/* Container du graphique */
#score-chart-wrapper {
    margin-top: 0.25rem;
    background: #020617;
    border-radius: 0.85rem;
    border: 1px solid rgba(31, 41, 55, 1);
    padding: 0.75rem 0.75rem 0.5rem;
}

/* Barre des boutons de période (1D, 3D, 7D, etc.) */
.ta-modal-ranges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.4rem;
}

.ta-modal-ranges button {
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.98);
    font-size: 0.78rem;
    color: #e5e7eb;
    cursor: pointer;
    transition:
        background 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease,
        transform 0.12s ease;
}

.ta-modal-ranges button:hover {
    background: rgba(30, 64, 175, 0.9);
    border-color: rgba(129, 140, 248, 0.85);
    transform: translateY(-0.5px);
}

/* Bouton actif (période sélectionnée) → vert */
.ta-modal-ranges button.active {
    background: var(--accent-soft);
    border-color: var(--accent);
    color: var(--accent);
}

/* Hint en bas de la modale : un peu plus discret + italique */
.ta-modal-hint {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    color: rgba(148, 163, 184, 0.8);
    font-style: italic;
}


/* ===== Charte : mini sommaire cliquable ===== */
.ta-toc {
    margin: 12px 0 8px;
    padding: 10px 10px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(15, 23, 42, .55);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ta-toc a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(2, 6, 23, .35);
    color: rgba(226, 232, 240, .92);
    font-size: 12px;
    text-decoration: none;
    transition: background .15s ease, border-color .15s ease, transform .05s ease;
}

.ta-toc a:hover {
    background: rgba(59, 130, 246, .18);
    border-color: rgba(59, 130, 246, .45);
    transform: translateY(-1px);
}

/* bonus premium : scroll “propre” au clic */
html {
    scroll-behavior: smooth;
}

/* --- Scroll offset pour ancres (header/topbar) --- */
h2[id],
h3[id] {
    scroll-margin-top: 90px;
}

/* (Option “premium”) scroll smooth, respect reduced motion */
html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ===== Charte : résumé express (premium contenu) ===== */
.ta-summary {
    margin: 14px 0 6px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: radial-gradient(circle at top left, rgba(15, 23, 42, .72), rgba(2, 6, 23, .45));
    box-shadow: 0 16px 44px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.ta-summary-head h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: .01em;
}

.ta-summary-head p {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(148, 163, 184, .9);
}

.ta-summary-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ta-summary-card {
    padding: 10px 10px 9px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 6, 23, .35);
}

.ta-summary-title {
    font-size: 12px;
    font-weight: 650;
    color: rgba(226, 232, 240, .96);
    margin-bottom: 4px;
}

.ta-summary-text {
    font-size: 12px;
    color: rgba(148, 163, 184, .92);
    line-height: 1.5;
}

.ta-summary-cta {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ta-summary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid rgba(34, 197, 94, .45);
    background: rgba(34, 197, 94, .10);
    color: rgba(34, 197, 94, .95);
    font-size: 12px;
    font-weight: 650;
    text-decoration: none;
    transition: transform .08s ease, background .15s ease, border-color .15s ease;
}

.ta-summary-btn:hover {
    background: rgba(34, 197, 94, .16);
    border-color: rgba(34, 197, 94, .7);
    transform: translateY(-1px);
}

.ta-summary-hint {
    font-size: 11px;
    color: rgba(148, 163, 184, .78);
}

.ta-summary-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}

.notice {
    margin: 14px 0 18px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, .18);
    background: rgba(2, 6, 23, .35);
    box-shadow:
        0 14px 45px rgba(0, 0, 0, .35),
        0 0 0 1px rgba(148, 163, 184, .10) inset;
}

.notice-title {
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .2px;
    margin-bottom: 6px;
    color: rgba(226, 232, 240, .95);
}

.notice-body {
    font-size: 13px;
    line-height: 1.55;
    color: rgba(203, 213, 225, .92);
}

.notice-compliance {
    border-left: 4px solid rgba(34, 197, 94, .75);
    /* vert premium */
}

.notice-compliance .notice-title::before {
    content: "🛡️";
    display: inline-block;
    margin-right: 8px;
    color: var(--accent);
}

.notice-signature {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    opacity: .7;
}

.notice.notice-methodology {
    border-left: 4px solid rgba(59, 130, 246, .95);
    /* 4px -> 6px (ou 7px si tu veux encore plus) */
    padding-left: 18px;
    /* optionnel : compense visuellement l’épaisseur */
    /* petit “glow” pro (subtil) */
    box-shadow:
        0 14px 45px rgba(0, 0, 0, .35),
        0 0 0 1px rgba(148, 163, 184, .10) inset,
        -1px 0 0 rgba(59, 130, 246, .20);
}




/* TOC premium : track + thumb bien visibles (mobile-friendly) */
.ta-toc-scroll {
    height: 5px;
    /* <- plus visible que 3px */
    margin-top: 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, .18);
    /* track un peu plus contrasté */
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, .12);
    overflow: hidden;
}

.ta-toc-thumb {
    display: block;
    height: 100%;
    width: 20%;
    border-radius: 999px;
    background: rgba(59, 130, 246, .75);
    /* <- bleu premium (ou vert accent) */
    box-shadow: 0 0 0 1px rgba(59, 130, 246, .35);
    transform: translateX(0);
    transition: transform .08s linear;
}

/* Option : n’afficher l’indicateur que quand le TOC est scrollable (mobile) */
@media (min-width: 721px) {
    .ta-toc-scroll {
        display: none;
    }
}


/* Responsive */
@media (max-width: 900px) {
    .ta-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* Responsive plus premium */
@media (max-width: 980px) {
    .ta-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ta-summary-grid {
        grid-template-columns: 1fr;
    }
}


/* ===== Footer : meta ligne premium ===== */
.ta-footer-meta {
    margin-top: 10px;
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    color: rgba(148, 163, 184, .72);
}

.ta-footer-meta strong {
    color: rgba(226, 232, 240, .9);
    font-weight: 600;
}

.ta-footer-meta .dot {
    opacity: .55;
}


/* TOC premium : scroll horizontal sur petits écrans */
@media (max-width: 720px) {
    .ta-toc {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .ta-toc::-webkit-scrollbar {
        /* Chrome/Safari */
        display: none;
    }

    .ta-toc a {
        white-space: nowrap;
        flex: 0 0 auto;
    }
}

/* === HERO TEASER VIDEO (HOME) === */
.ta-hero-video {
    position: relative;
    width: 100%;
    max-width: 100%;
    /* <- enlève les “bandes” à gauche/droite dans la card */
    margin: 16px 0 14px;
    /* <- plus centré par auto, on colle à la largeur utile */
    border-radius: 18px;
    overflow: hidden;

    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);

    aspect-ratio: 16 / 9;
}

.ta-hero-video::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/assets/brand/hero-teaser-poster.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(22px) saturate(1.05) brightness(0.85);
    transform: scale(1.12);
    opacity: 0.65;
    z-index: 0;
}

/* petit fondu pour éviter une “barre” trop nette */
.ta-hero-video::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(6, 12, 26, 0.55) 0%,
            rgba(6, 12, 26, 0.00) 18%,
            rgba(6, 12, 26, 0.00) 82%,
            rgba(6, 12, 26, 0.55) 100%);
}


/* arrière-plan flouté = pas de “vide” gauche/droite */
.ta-hero-video__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    filter: blur(22px) saturate(1.05) brightness(0.85);
    opacity: 0.65;
    pointer-events: none;
    z-index: 0;
}


/* premier plan = “zoom arrière” (on voit tout) */
.ta-hero-video__media {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* ✅ plus de bandes “vides” visibles grâce au fond flouté */
    object-position: 50% 50%;
    background: rgba(0, 0, 0, 0.10);
    transform: translateZ(0);
}


@media (max-width: 700px) {
    .ta-hero-video {
        margin: 10px 0 10px;
        border-radius: 16px;
        aspect-ratio: var(--ta-hero-ar, 16 / 9);
        /* mobile peut suivre la vidéo */
    }

    /* sur mobile tu préfères le rendu “immersif” => on repasse en cover */
    .ta-hero-video__media {
        object-fit: cover;
        object-position: 50% 45%;
    }

    .ta-hero-video__bg {
        filter: blur(18px) saturate(1.05) brightness(0.90);
        transform: scale(1.10);
        opacity: 0.55;
    }
}


/* Très petit écran: on repasse en 1 colonne pour éviter l’écrasement */
@media (max-width: 420px) {
    .ta-hero-video {
        margin: 8px 0 10px;
        border-radius: 14px;
    }

    .support-block .donate-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "crypto"
            "qr"
            "other";
    }

    .donate-qr {
        justify-self: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ta-hero-video__bg {
        display: none;
    }

    .ta-hero-video__media {
        object-fit: contain;
    }
}

.support-block .donate-grid {
    display: grid;
    grid-template-columns: 1fr 110px;
    grid-template-areas:
        "crypto qr"
        "other  other";
    gap: 12px;
    align-items: start;
    margin-top: 10px;
    --qr-offset: 22px;
}


@media (max-width: 700px) {
    .support-block .donate-grid {
        grid-template-columns: minmax(0, 1fr) 120px;
    }

    .donate-qr {
        width: 120px;
        height: 120px;
        margin-top: 6px;
    }
}


.donate-qr {
    width: 110px;
    height: 110px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);

    background: rgba(15, 23, 42, .6);

    object-fit: contain;
    /* ✅ ne rogne plus */
    object-position: center;
    /* ✅ centre */
    display: block;

    /* optionnel : si tu veux un rendu plus “respirant” */
    padding: 6px;
    box-sizing: border-box;

    /* optionnel : centre l’item dans la cellule du grid */
    justify-self: end;
    align-self: start;
    /* au lieu de center */
    margin-top: var(--qr-offset);
    /* compense la ligne "Crypto (...)" au-dessus */

    grid-area: qr;
}


.donate-crypto {
    grid-area: crypto;
}

.donate-other {
    grid-area: other;
}


.donate-item {
    margin-bottom: 10px;
}

.donate-label {
    font-size: 12px;
    color: var(--text-main);
    margin-bottom: 6px;
}

.donate-addr {
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(2, 6, 23, .45);
    word-break: break-all;
    font-size: 12px;
}

.donate-btn {
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .6);
    color: var(--text-main);
    padding: 6px 10px;
    cursor: pointer;
}

.donate-btn:hover {
    transform: translateY(-1px);
}

.donate-note,
.donate-security {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--text-soft);
}

.donate-paypal-hint {
    margin-top: 6px;
    font-size: 12px;
}

/* ===== Newsletter (FR/EN) ===== */
.ta-newsletter {
    margin: 18px 0 8px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, .25);
    border-radius: 14px;
    background: rgba(2, 6, 23, .25);
    font-family: var(--font);

    /* ✅ clé : aligner la base typographique sur le site */
    font-size: 14px;
    line-height: 1.6;
}

.ta-newsletter-title {
    margin: 0 0 6px;
    font-size: 1.05rem;
    font-family: var(--font);
    font-weight: 600;
    /* cohérent avec ton style “premium” */
    letter-spacing: .02em;
    /* optionnel : proche de tes titres */
}

.ta-newsletter-text {
    margin: 0 0 10px;
    opacity: .9;
}

.ta-newsletter-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ta-newsletter-input {
    flex: 1 1 220px;
    min-width: 220px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(15, 23, 42, .55);
    color: inherit;
    font-family: var(--font);
    font-size: 14px;
}

.ta-newsletter-btn {
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .35);
    background: rgba(59, 130, 246, .25);
    color: inherit;
    cursor: pointer;
    font-family: var(--font);
    font-size: 14px;
}

.ta-newsletter-btn:hover {
    background: rgba(59, 130, 246, .35);
}

.ta-newsletter-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
}


.ta-newsletter-privacy {
    margin: 10px 0 0;
    font-size: 12px;
    /* ou 0.86em si tu préfères relatif */
    line-height: 1.5;
    opacity: .85;
}

.ta-newsletter-title {
    font-family: var(--font);
}

.ta-newsletter input,
.ta-newsletter button,
.ta-newsletter select,
.ta-newsletter textarea,
.ta-newsletter label {
    font-family: var(--font);
}

.ta-newsletter-consent {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    opacity: 0.9;
    font-size: 13px;
}


#leadCompany {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.ta-newsletter #leadMsg {
    font-size: 12px;
    opacity: .9;
}

.ta-modal-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ta-btn-ghost {
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 42, 0.6);
    color: #e5e7eb;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.ta-btn-ghost:hover {
    background: rgba(148, 163, 184, 0.12);
}

.ta-modal-body {
    overflow: auto;
    padding-right: 0.25rem;
}

.analysis-pre {
    margin: 0.75rem 0 0;
    padding: 0.75rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(2, 6, 23, 0.65);
    font-size: 0.8rem;
    color: #e5e7eb;
    white-space: pre-wrap;
    word-break: break-word;
}

.analysis-block {
    margin-top: 0.5rem;
    padding: 0.6rem 0.7rem;
    border-radius: 0.75rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(2, 6, 23, 0.35);
}

.analysis-key {
    font-weight: 700;
    opacity: 0.9;
    margin-bottom: 0.35rem;
}

.analysis-val {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.82rem;
    white-space: pre-wrap;
    word-break: break-word;
}

.analysis-summary {
    margin: 0;
    padding: 0.7rem 0.9rem;
    border-radius: 0.85rem;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
}
