/* Table des matières — articles, tests, pages */
.play4geek-toc {
    margin: 0 0 1.35rem;
    padding: 1rem 1.1rem;
    border: 1px solid rgba(20, 89, 130, 0.2);
    border-radius: 14px;
    background: rgba(20, 89, 130, 0.06);
}

.play4geek-toc__title {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(14, 32, 56, 0.75);
}

.play4geek-toc__list,
.play4geek-toc__sublist {
    margin: 0;
    padding-left: 1.15rem;
}

.play4geek-toc__list {
    list-style: decimal;
}

.play4geek-toc__sublist {
    margin-top: 0.35rem;
    list-style: lower-alpha;
}

.play4geek-toc__item {
    margin: 0.28rem 0;
    line-height: 1.45;
    font-size: 0.92rem;
}

.play4geek-toc__item a {
    color: var(--bg-blue, #145982);
    text-decoration: none;
    font-weight: 600;
}

.play4geek-toc__item a:hover,
.play4geek-toc__item a:focus-visible {
    text-decoration: underline;
}

.single-article-content .play4geek-toc,
.single-review-content .play4geek-toc,
.legal-page-content .play4geek-toc,
.entry-content .play4geek-toc {
    max-width: 100%;
}

body.theme-dark .play4geek-toc {
    background: rgba(30, 115, 190, 0.12);
    border-color: rgba(255, 255, 255, 0.12);
}

body.theme-dark .play4geek-toc__title {
    color: rgba(236, 243, 255, 0.72);
}

body.theme-dark .play4geek-toc__item a {
    color: #8ec8ff;
}

.play4geek-toc--empty {
    padding: 0.85rem 1rem;
    border: 1px dashed rgba(20, 89, 130, 0.35);
    border-radius: 10px;
    background: rgba(20, 89, 130, 0.04);
    font-size: 0.88rem;
    color: rgba(14, 32, 56, 0.72);
}

.play4geek-toc--empty p {
    margin: 0;
}
