/* Onglet "Stats" dans les cartes de course (articles d'analyse) — admin uniquement */
.tpg-fs {
    --tpg-fs-gold: var(--gold-bright, #E3C27E);
    --tpg-fs-gold-deep: var(--gold, #C4A15A);
    --tpg-fs-text: var(--parchment, #EDE6D6);
    --tpg-fs-dim: var(--parchment-dim, rgba(237, 230, 214, .72));
    --tpg-fs-bg: var(--ink, #0A1522);
    --tpg-fs-bg-2: var(--navy, #101E33);
    --tpg-fs-line: var(--hairline, rgba(196, 161, 90, .22));
    --tpg-fs-mono: var(--font-mono, 'Space Mono', 'Courier New', monospace);
    margin: -4px 0 18px;
    font-family: var(--font-body, 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif);
}

/* Quand l'onglet Stats est actif, on masque le reste de la carte (sauf le titre) */
.tpg-fs-show-stats > :not(h2):not(.tpg-fs):not(.pcp-free-pill):not(.pcp-free-anchor):not(.mp-quinte-glow):not(.mp-quinte-eyebrow):not(.mp-quinte-tag):not(.mtpj-sp5-glow):not(.mtpj-sp5-eyebrow):not(.mtpj-sp5-tag):not(.mtpj-sp5-meta):not(.mtpj-retour) {
    display: none !important;
}
/* Bloc Quinté : au-dessus du halo décoratif, et décalé du titre comme dans les cartes de course */
.mp-quinte-inner > .tpg-fs { position: relative; z-index: 1; margin-top: 4px; }
/* Bloc Super Pick5 (extension manuturf-paris-du-jour) */
.mtpj-sp5-inner > .tpg-fs { position: relative; z-index: 1; margin-top: 4px; }

/* Onglets Analyse / Stats */
.tpg-fs-tabs {
    display: inline-flex;
    gap: 4px;
    padding: 4px;
    border: 1px solid var(--tpg-fs-line);
    border-radius: 999px;
    background: var(--tpg-fs-bg);
}
.tpg-fs .tpg-fs-tab {
    appearance: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--tpg-fs-dim);
    font-family: var(--tpg-fs-mono);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    line-height: 1;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.tpg-fs .tpg-fs-tab:hover { color: var(--tpg-fs-text); }
.tpg-fs .tpg-fs-tab.is-active {
    background: linear-gradient(180deg, var(--tpg-fs-gold), var(--tpg-fs-gold-deep));
    color: var(--ink-on-gold, #201705);
}
.tpg-fs .tpg-fs-tab:focus-visible,
.tpg-fs .tpg-fs-chip:focus-visible,
.tpg-fs th[data-tpg-fs-sort]:focus-visible { outline: 2px solid var(--tpg-fs-gold); outline-offset: 2px; }
.tpg-fs-admin {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(226, 87, 76, .18);
    color: #F2938A;
    font-size: .58rem;
    letter-spacing: .08em;
}
.tpg-fs-tab.is-active .tpg-fs-admin { background: rgba(32, 23, 5, .15); color: inherit; }

/* Panneau */
.tpg-fs-panel { margin-top: 16px; }
.tpg-fs-sub {
    margin: 0 0 12px;
    font-family: var(--tpg-fs-mono);
    font-size: .74rem;
    color: var(--tpg-fs-dim);
}

/* Catégories de stats */
.tpg-fs-groups {
    display: flex;
    gap: 6px;
    margin: 0 0 12px;
}

/* Zones défilables sans barre : glisser au doigt (natif) ou à la souris (front-stats.js) */
.tpg-fs-groups,
.tpg-fs-scroll {
    overflow-x: auto;
    overscroll-behavior-x: contain; /* pas de "page précédente" en glissant au bord */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.tpg-fs-groups::-webkit-scrollbar,
.tpg-fs-scroll::-webkit-scrollbar { display: none; }
.tpg-fs-groups.is-draggable,
.tpg-fs-scroll.is-draggable { cursor: grab; }
.tpg-fs .is-dragging,
.tpg-fs .is-dragging * { cursor: grabbing !important; user-select: none; }

/* Fondu sur le bord où il reste des catégories à voir */
.tpg-fs-groups.has-more-right {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
}
.tpg-fs-groups.has-more-left {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px);
    mask-image: linear-gradient(to right, transparent, #000 40px);
}
.tpg-fs-groups.has-more-left.has-more-right {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, #000 40px, #000 calc(100% - 40px), transparent);
}
.tpg-fs .tpg-fs-chip {
    appearance: none;
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 12px;
    border: 1px solid var(--tpg-fs-line);
    border-radius: 999px;
    background: var(--tpg-fs-bg-2);
    color: var(--tpg-fs-dim);
    font-family: inherit;
    font-size: .78rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tpg-fs .tpg-fs-chip:hover { border-color: var(--tpg-fs-gold-deep); color: var(--tpg-fs-text); }
.tpg-fs .tpg-fs-chip.is-active {
    border-color: var(--tpg-fs-gold);
    background: rgba(227, 194, 126, .14);
    color: var(--tpg-fs-gold);
}

/* Tableau */
.tpg-fs-table { position: relative; }
.tpg-fs-scroll {
    border: 1px solid var(--tpg-fs-line);
    border-radius: 12px;
    background: var(--tpg-fs-bg);
}
/* Indice "encore des colonnes à droite" (le bord gauche est signalé par l'ombre de la colonne Cheval) */
.tpg-fs-table::after {
    content: '';
    position: absolute;
    top: 1px;
    right: 1px;
    bottom: 1px;
    width: 44px;
    border-radius: 0 11px 11px 0;
    background: linear-gradient(to right, rgba(10, 21, 34, 0), rgba(10, 21, 34, .92));
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease;
}
.tpg-fs-table:has(> .tpg-fs-scroll.has-more-right)::after { opacity: 1; }
.tpg-fs table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 0;
    font-size: .82rem;
    line-height: 1.4;
    color: var(--tpg-fs-text);
    background: transparent;
}
.tpg-fs th,
.tpg-fs td {
    padding: 9px 12px;
    border: 0;
    border-bottom: 1px solid var(--tpg-fs-line);
    text-align: left;
    vertical-align: top;
    background: transparent;
    color: inherit;
}
.tpg-fs tbody tr:last-child > * { border-bottom: 0; }
.tpg-fs thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--tpg-fs-bg-2);
    color: var(--tpg-fs-gold);
    font-family: var(--tpg-fs-mono);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}
.tpg-fs thead th:hover { color: var(--tpg-fs-text); }
.tpg-fs thead th[aria-sort="ascending"]::after { content: ' ▲'; }
.tpg-fs thead th[aria-sort="descending"]::after { content: ' ▼'; }
.tpg-fs td { white-space: nowrap; }
.tpg-fs td.tpg-fs-wide { white-space: normal; min-width: 240px; max-width: 340px; }
.tpg-fs td.is-na { color: var(--tpg-fs-dim); opacity: .55; text-align: center; }
.tpg-fs tbody tr:hover > * { background: rgba(227, 194, 126, .05); }

/* Colonne cheval figée */
.tpg-fs .tpg-fs-horse {
    position: sticky;
    left: 0;
    z-index: 2;
    min-width: 170px;
    background: var(--tpg-fs-bg);
    box-shadow: 1px 0 0 var(--tpg-fs-line);
    font-weight: 600;
    white-space: normal;
}
.tpg-fs thead .tpg-fs-horse { z-index: 3; background: var(--tpg-fs-bg-2); }
.tpg-fs-horse-in { display: flex; align-items: flex-start; gap: 10px; }
.tpg-fs tbody tr:hover > .tpg-fs-horse { background: #0f1c2c; }
.tpg-fs tr.is-retenu > .tpg-fs-horse { box-shadow: inset 3px 0 0 var(--tpg-fs-gold), 1px 0 0 var(--tpg-fs-line); }
/* Tableau défilé : ombre portée de la colonne figée sur les colonnes qui passent dessous */
.tpg-fs .has-more-left .tpg-fs-horse { box-shadow: 1px 0 0 var(--tpg-fs-line), 8px 0 12px -6px rgba(0, 0, 0, .7); }
.tpg-fs .has-more-left tr.is-retenu > .tpg-fs-horse { box-shadow: inset 3px 0 0 var(--tpg-fs-gold), 1px 0 0 var(--tpg-fs-line), 8px 0 12px -6px rgba(0, 0, 0, .7); }
.tpg-fs-num {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1.3px solid var(--tpg-fs-gold-deep);
    border-radius: 50%;
    font-family: var(--tpg-fs-mono);
    font-size: .68rem;
    color: var(--tpg-fs-gold);
}
.tpg-fs-name { display: flex; flex-direction: column; gap: 3px; padding-top: 2px; }
.tpg-fs-rank {
    width: fit-content;
    padding: 1px 7px;
    border-radius: 999px;
    background: rgba(227, 194, 126, .14);
    color: var(--tpg-fs-gold);
    font-family: var(--tpg-fs-mono);
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.tpg-fs-rank sup { font-size: .8em; }
.tpg-fs-rank--fav { background: linear-gradient(180deg, var(--tpg-fs-gold), var(--tpg-fs-gold-deep)); color: var(--ink-on-gold, #201705); }

/* Fréquence de victoires / places (driver, entraîneur) — valeur de l'endpoint → couleur */
.tpg-fs-freq {
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 3px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}
.tpg-fs-freq--rares { color: #FF8A80; background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .45); }
.tpg-fs-freq--peu_frequentes { color: #FDBA74; background: rgba(249, 115, 22, .14); border-color: rgba(249, 115, 22, .45); }
.tpg-fs-freq--frequentes,
.tpg-fs-freq--oui {color: #86EFAC; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .45); }
.tpg-fs-freq--tres_frequentes { color: #DCFCE7; background: #166534; border-color: #15803D; }
.tpg-fs-freq--crack {
    color: #2A1F00;
    background: linear-gradient(180deg, #FFE45C, #F5C400);
    border-color: #FFE979;
    box-shadow: 0 0 10px rgba(255, 214, 10, .45);
    animation: tpg-fs-crack-glow 2.4s ease-in-out infinite;
}
/* Forme (score, tendance, dynamique) : du rouge au vert, mêmes teintes que les fréquences */
.tpg-fs-wide .tpg-fs-tone { white-space: normal; }
.tpg-fs-tone--1 { color: #FF8A80; background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .45); }
.tpg-fs-tone--2 { color: #FDBA74; background: rgba(249, 115, 22, .14); border-color: rgba(249, 115, 22, .45); }
.tpg-fs-tone--3 { color: #FDE68A; background: rgba(234, 179, 8, .14); border-color: rgba(234, 179, 8, .45); }
.tpg-fs-tone--4 { color: #86EFAC; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .45); }
.tpg-fs-tone--5 { color: #DCFCE7; background: #166534; border-color: #15803D; }
.tpg-fs-tone--neutre { color: var(--tpg-fs-dim); background: rgba(255, 255, 255, .04); border-color: var(--tpg-fs-line); font-weight: 600; }
.tpg-fs-tone--score {
    color: hsl(var(--tpg-hue) 80% 70%);
    background: hsl(var(--tpg-hue) 70% 45% / .16);
    border-color: hsl(var(--tpg-hue) 70% 50% / .5);
}

/* Reflet qui balaie le badge */
.tpg-fs-freq--crack::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .85), transparent);
    transform: skewX(-20deg);
    animation: tpg-fs-crack-shine 2.4s ease-in-out infinite;
    pointer-events: none;
}
@keyframes tpg-fs-crack-shine {
    0%, 55% { left: -60%; }
    85%, 100% { left: 130%; }
}
@keyframes tpg-fs-crack-glow {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 214, 10, .35); }
    50% { box-shadow: 0 0 16px rgba(255, 214, 10, .75); }
}
@media (prefers-reduced-motion: reduce) {
    .tpg-fs-freq--crack, .tpg-fs-freq--crack::after { animation: none; }
}

/* Chargement / erreur du panneau Stats */
.tpg-fs-status {
    padding: 18px 4px;
    font-family: var(--tpg-fs-mono);
    font-size: .74rem;
    color: var(--tpg-fs-dim);
}
.tpg-fs-status.is-error { color: #FF8A80; }

/* Mention sous le tableau : origine des stats et conditions de réutilisation */
.tpg-fs-credits {
    margin-top: 10px;
    font-size: .66rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--tpg-fs-dim);
    opacity: .8;
}

.tpg-fs-head-num { flex: 0 0 auto; width: 24px; text-align: center; }
.tpg-fs-name-clip { display: block; }

@media (max-width: 600px) {
    .tpg-fs th, .tpg-fs td { padding: 8px 10px; }
    .tpg-fs td.tpg-fs-wide { min-width: 200px; }

    /* Colonne Cheval repliable : la largeur vient du contenu, le nom vit dans un "clip"
       dont la largeur s'anime ; le nom garde une largeur fixe à l'intérieur pour ne pas
       se reformater pendant l'animation (hauteur des lignes inchangée). */
    .tpg-fs .tpg-fs-horse { min-width: 0; }
    .tpg-fs-horse-in { gap: 8px; transition: gap .28s ease; }
    .tpg-fs-name-clip {
        width: 96px;
        overflow: hidden;
        transition: width .28s ease, opacity .2s ease;
    }
    .tpg-fs-name { width: 96px; }
    .tpg-fs-scroll.is-compact .tpg-fs-horse-in { gap: 0; }
    .tpg-fs-scroll.is-compact .tpg-fs-name-clip { width: 0; opacity: 0; }
}
@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
    .tpg-fs-horse-in, .tpg-fs-name-clip { transition: none; }
}

/* Panneau « ! » : avis de l'entraîneur à ignorer (entraîneur signalé comme non objectif) */
.tpg-fs .tpg-fs-warn {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    width: 20px;
    height: 18px;
    margin: 0 0 0 6px;
    padding: 0 0 1px;
    border: 0;
    vertical-align: middle;
    background: #F59E0B;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
    color: #201705;
    font: 800 11px/1 var(--tpg-fs-mono);
    cursor: help;
    transition: transform .15s ease, background .15s ease;
}
.tpg-fs .tpg-fs-warn:hover,
.tpg-fs .tpg-fs-warn:focus-visible { background: #FBBF24; transform: scale(1.12); outline: none; }

/* Info-bulle (une seule pour la page, positionnée en JS) */
.tpg-fs-tip {
    position: fixed;
    z-index: 100020;
    max-width: 260px;
    padding: 9px 12px;
    border: 1px solid rgba(245, 158, 11, .55);
    border-radius: 10px;
    background: #101E33;
    box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
    color: #EDE6D6;
    font: 500 12.5px/1.45 var(--font-body, 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif);
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity .15s ease, transform .15s ease;
}
.tpg-fs-tip.is-on { opacity: 1; transform: none; }

/* Tableau d'affrontement : matrice cheval × cheval */
.tpg-fs .tpg-fs-duels th.tpg-fs-duels-col {
    min-width: 74px;
    max-width: 90px;
    padding: 8px 6px;
    vertical-align: bottom;
    text-align: center;
    white-space: normal;
    cursor: default;
}
.tpg-fs .tpg-fs-duels th.tpg-fs-duels-col .tpg-fs-num { margin: 0 auto 4px; display: flex; }
.tpg-fs-duels-colname {
    display: block;
    font-size: .58rem;
    line-height: 1.2;
    letter-spacing: .02em;
    color: var(--tpg-fs-dim);
    overflow-wrap: anywhere;
}
.tpg-fs .tpg-fs-duels td.tpg-fs-duel { padding: 6px; text-align: center; vertical-align: middle; white-space: nowrap; }
.tpg-fs .tpg-fs-duel.is-diag { color: var(--tpg-fs-dim); opacity: .35; }
.tpg-fs .tpg-fs-duel.is-diag,
.tpg-fs .tpg-fs-duel.is-vide { background: rgba(255, 255, 255, .015); }
.tpg-fs .tpg-fs-duel-btn {
    min-width: 46px;
    padding: 4px 8px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: inherit;
    font: 700 .78rem/1.2 var(--tpg-fs-mono);
    cursor: help;
}
.tpg-fs .tpg-fs-duel.is-plus .tpg-fs-duel-btn { color: #86EFAC; background: rgba(34, 197, 94, .14); border-color: rgba(34, 197, 94, .45); }
.tpg-fs .tpg-fs-duel.is-moins .tpg-fs-duel-btn { color: #FF8A80; background: rgba(239, 68, 68, .14); border-color: rgba(239, 68, 68, .45); }
.tpg-fs .tpg-fs-duel.is-egal .tpg-fs-duel-btn { color: #FDE68A; background: rgba(234, 179, 8, .14); border-color: rgba(234, 179, 8, .45); }
.tpg-fs .tpg-fs-duel.is-nul .tpg-fs-duel-btn { color: var(--tpg-fs-dim); border-color: var(--tpg-fs-line); }
.tpg-fs .tpg-fs-duel.is-faible .tpg-fs-duel-btn { opacity: .55; border-style: dashed; }
.tpg-fs .tpg-fs-duel-btn:hover,
.tpg-fs .tpg-fs-duel-btn:focus-visible { outline: 2px solid var(--tpg-fs-gold); outline-offset: 1px; }
.tpg-fs-duels-legend { margin-top: 10px; font-size: .72rem; line-height: 1.5; color: var(--tpg-fs-dim); }
.tpg-fs-tip { white-space: pre-line; max-width: 320px; }

/* Non-partant : pastille « np » à côté du nom */
.tpg-fs .tpg-fs-np {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border: 1px solid rgba(239, 68, 68, .5);
    border-radius: 5px;
    background: rgba(239, 68, 68, .14);
    color: #FF8A80;
    font: 700 .62rem/1.3 var(--tpg-fs-mono);
    letter-spacing: .04em;
    vertical-align: middle;
}

/* Terrain (galop) : lecture du jour, préférence, bilans par terrain */
.tpg-fs-terrain-jour {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border: 1px solid rgba(227, 194, 126, .45);
    border-radius: 999px;
    background: rgba(227, 194, 126, .1);
    color: var(--tpg-fs-gold);
    font-family: var(--tpg-fs-mono);
    font-size: .7rem;
    white-space: nowrap;
}
.tpg-fs-terrain-sub {
    display: block;
    margin-top: 5px;
    font-size: .74rem;
    line-height: 1.4;
    color: var(--tpg-fs-dim);
    white-space: normal;
}
.tpg-fs-fiab { font-size: .7rem; letter-spacing: 1px; color: var(--tpg-fs-gold); vertical-align: middle; }
.tpg-fs-fiab i { font-style: normal; color: rgba(237, 230, 214, .2); }
.tpg-fs td.tpg-fs-zones { min-width: 260px; }
.tpg-fs-zone {
    display: grid;
    grid-template-columns: minmax(96px, auto) 1fr 26px;
    grid-template-areas: "nom barre ind" "nom detail detail";
    align-items: center;
    column-gap: 8px;
    padding: 3px 6px;
    margin: 0 -6px 2px;
    border-radius: 8px;
}
.tpg-fs-zone b { grid-area: nom; font-size: .76rem; font-weight: 600; white-space: nowrap; }
.tpg-fs-zone-bar { grid-area: barre; position: relative; height: 5px; border-radius: 999px; background: rgba(237, 230, 214, .08); }
.tpg-fs-zone-bar i {
    position: absolute;
    inset: 0 auto 0 0;
    width: calc(var(--v) * 1%);
    border-radius: inherit;
    background: linear-gradient(90deg, hsl(var(--hue) 70% 42%), hsl(var(--hue) 80% 62%));
}
.tpg-fs-zone em { grid-area: ind; font-style: normal; font-family: var(--tpg-fs-mono); font-size: .72rem; color: var(--tpg-fs-gold); text-align: right; }
.tpg-fs-zone small { grid-area: detail; font-size: .66rem; color: var(--tpg-fs-dim); }
.tpg-fs-zone.is-jour { background: rgba(227, 194, 126, .1); box-shadow: inset 2px 0 0 var(--tpg-fs-gold); }
.tpg-fs-zone.is-jour b { color: var(--tpg-fs-gold); }

/* « A déjà été drivé / monté par » : le plus fréquent, le driver / jockey du jour, bulle « Voir plus » */
.tpg-fs .tpg-fs-pilotes { min-width: 170px; }
.tpg-fs .tpg-fs-pilote { display: block; white-space: nowrap; }
.tpg-fs .tpg-fs-pilote em { font-style: normal; font-family: var(--font-mono, 'Space Mono', monospace); font-size: .78rem; color: var(--tpg-fs-gold); }
.tpg-fs .tpg-fs-pilote-jour {
    display: inline-block; margin-left: 4px; padding: 0 6px; border-radius: 999px;
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
    color: #86EFAC; background: rgba(34, 197, 94, .14); border: 1px solid rgba(34, 197, 94, .45);
}
.tpg-fs .tpg-fs-pilote-sub { display: block; margin-top: 3px; font-size: .72rem; line-height: 1.35; color: var(--tpg-fs-dim); }
.tpg-fs .tpg-fs-pilote-sub.is-jamais { color: #FDBA74; }
.tpg-fs .tpg-fs-more {
    margin-top: 5px; padding: 1px 9px; border-radius: 999px; cursor: pointer;
    font: 600 .68rem/1.6 inherit; color: var(--tpg-fs-gold); background: transparent;
    border: 1px solid rgba(196, 161, 90, .45);
}
.tpg-fs .tpg-fs-more:hover,
.tpg-fs .tpg-fs-more:focus-visible { background: rgba(196, 161, 90, .14); outline: none; }
.tpg-fs-tip.is-list { white-space: normal; max-width: 300px; }
.tpg-fs-tip .tpg-fs-tip-title { margin-bottom: 6px; font-weight: 700; color: #E3C27E; }
.tpg-fs-tip .tpg-fs-tip-list { margin: 0; padding: 0; list-style: none; counter-reset: pil; }
.tpg-fs-tip .tpg-fs-tip-list li { display: flex; justify-content: space-between; gap: 14px; padding: 1px 0; counter-increment: pil; }
.tpg-fs-tip .tpg-fs-tip-list li span::before { content: counter(pil) ". "; color: rgba(237, 230, 214, .5); }
.tpg-fs-tip .tpg-fs-tip-list li b { font-weight: 600; white-space: nowrap; font-family: var(--font-mono, 'Space Mono', monospace); font-size: .72rem; }
.tpg-fs-tip .tpg-fs-tip-list li.is-jour { color: #86EFAC; }
