    :root {
        --bg: #090807;
        --panel: #14110e;
        --panel-2: #1a1511;
        --text: #f2e6cc;
        --muted: #b9a27d;
        --border: #3f3223;
        --accent: #d4a24f;
        --accent-2: #9b7434;
        --shadow: 0 18px 44px rgba(0, 0, 0, .36);
        --radius: 24px;
        --max: 1240px;
        --site-background: radial-gradient(circle at top center, rgba(212, 162, 79, .08), transparent 30%), linear-gradient(180deg, #0d0a08 0%, #090807 100%);
    }

    * {
        box-sizing: border-box
    }

    html {
        scroll-behavior: smooth
    }

    body {
        margin: 0;
        font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
        background: radial-gradient(circle at top center, rgba(212, 162, 79, .08), transparent 30%), linear-gradient(180deg, #0d0a08 0%, #090807 100%);
        color: var(--text);
        line-height: 1.55;
        background: var(--site-background);
    }

    .titre-dore {
        color: var(--accent);
        font-size: 0.85em;
    }

    a {
        color: inherit;
        text-decoration: none
    }

    img {
        max-width: 100%;
        display: block
    }

    button {
        font: inherit
    }

    .wrap {
        max-width: var(--max);
        margin: 0 auto;
        padding: 0 24px
    }

    .topbar {
        position: sticky;
        top: 0;
        z-index: 50;
        backdrop-filter: blur(16px);
        background: rgba(10, 8, 7, .88);
        border-bottom: 1px solid rgba(212, 162, 79, .14);
    }

    .topbar-inner {
        position: relative;
        min-height: 72px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
    }

    .titre-dore {
        color: var(--accent);
        font-size: 0.85em;
    }

    .brand {
        display: flex;
        align-items: center;
        gap: 12px;
        min-width: 0;
    }

    .brand-mark {
        width: 52px;
        height: 52px;
        background-image: url("images/icone/logo-rombaldi.png");
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        flex: 0 0 auto;
    }

    .brand-text {
        min-width: 0;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    #tomes .section-head {
        margin-bottom: 40px;
    }

    .brand-text strong {
        font-size: 1rem;
        letter-spacing: .06em;
        text-transform: uppercase;
        line-height: 1.1;
    }

    .brand-text small {
        color: var(--muted);
        font-size: .82rem;
        line-height: 1.15;
    }

    .nav {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        justify-content: flex-end;
        font-weight: 700;
        font-size: .95rem;
    }

    .nav a,
    .drop>summary {
        padding: 9px 12px;
        border-radius: 999px;
        border: 1px solid transparent;
        list-style: none;
        cursor: pointer;
        user-select: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .nav a:hover,
    .drop>summary:hover {
        background: rgba(212, 162, 79, .08);
        color: var(--accent);
    }

    /* Page active dans le menu */
    .nav>a.active {
        color: var(--accent);
        position: relative;
    }

    .nav>a.active::after {
        content: "";
        position: absolute;

        width: 28px;
        height: 2px;

        left: 50%;
        bottom: 4px;
        transform: translateX(-50%);

        background: var(--accent);
        border-radius: 2px;
    }

    .drop {
        position: relative
    }

    .drop>summary::-webkit-details-marker {
        display: none
    }

    .drop[open]>summary {
        background: transparent;
        color: var(--accent);
        border-color: transparent;
    }

    .dropdown {
        position: absolute;
        top: calc(100% + 8px);
        left: 0;

        min-width: 210px;
        max-height: 420px;
        overflow-y: auto;

        padding: 6px;

        background: rgba(12, 10, 8, .98);
        border: 1px solid rgba(212, 162, 79, .22);
        border-radius: 10px;

        box-shadow: 0 12px 30px rgba(0, 0, 0, .45);

        display: grid;
        gap: 0;
        scrollbar-width: thin;
        scrollbar-color: var(--accent) rgba(212, 162, 79, .08);

    }

    .dropdown::-webkit-scrollbar {
        width: 6px;
    }

    .dropdown::-webkit-scrollbar-track {
        background: rgba(212, 162, 79, .08);
    }

    .dropdown::-webkit-scrollbar-thumb {
        background: var(--accent);
        border-radius: 10px;
    }

    .dropdown a {
        padding: 8px 10px;
        border-radius: 6px;

        color: var(--text);
        font-size: .9rem;
        font-weight: 600;
    }

    .dropdown a:hover {
        background: rgba(212, 162, 79, .08);
        color: var(--accent);
    }

    .breadcrumbs {
        padding: 22px 0 12px;
        color: var(--muted);
        font-size: .92rem;
        display: flex;
        align-items: center;
        gap: 10px;
        flex-wrap: wrap;
    }

    .breadcrumbs a:hover {
        color: var(--accent)
    }

    .archive-category {
        margin: 0 auto 16px;
        font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
        font-size: .94rem;
        font-weight: 400;
        line-height: 1.55;
        color: var(--muted);
        text-align: center;
    }

    .sep {
        opacity: .55
    }

    .panel {
        background: var(--panel-2);
        border: 1px solid rgba(212, 162, 79, .15);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .hero.panel {
        position: relative;
        height: 550px;
        overflow: hidden;

        border: 1px solid rgba(212, 162, 79, .14);
        border-radius: var(--radius);
        box-shadow: var(--shadow);

        background: var(--hero-image) var(--hero-position, center) / cover no-repeat;

    }

    .hero-copy {
        position: relative;
        z-index: 2;

        height: 100%;
        padding-top: 2px;

        display: flex;
        flex-direction: column;
        align-items: center;

        text-align: center;
    }

    .hero .eyebrow {
        align-items: center;
        margin: 0;
        max-width: 54ch;
        color: #f7edd2;
        font-size: 1.04rem;
        text-align: left;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, .60),
            0 3px 8px rgba(0, 0, 0, .35);
    }

    .hero h1 {
        margin: 0;

        font-family: Arial, Helvetica, sans-serif;
        font-size: clamp(4rem, 6vw, 6.5rem);
        font-weight: 900;
        line-height: .88;
        letter-spacing: .02em;

        color: #000;
        text-transform: uppercase;
    }

    .hero h2 {
        margin: 10px 0 8px;

        font-family: "Anton", sans-serif;
        font-size: clamp(2rem, 4.2vw, 4rem);
        font-weight: 400;
        line-height: .95;
        letter-spacing: .015em;
        color: #8a1b0a;
        text-transform: uppercase;

        color: #8a1b0a;
        text-transform: uppercase;
    }

    .hero-subtitle {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 1.05rem;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: .02em;

        color: #111;
    }

    .hero-separator {
        display: flex;
        align-items: center;
        gap: 14px;

        margin: 8px 0 14px;
    }

    .hero-separator span {
        display: block;

        width: 75px;
        height: 2px;

        background: #8a1b0a;
    }

    .hero-separator strong {
        color: #8a1b0a;
        font-size: 1.1rem;
        line-height: 1;
    }

    .hero-intro {
        margin: 0;

        font-family: Arial, Helvetica, sans-serif;
        font-size: 1rem;
        font-weight: 700;
        line-height: 1.4;

        color: #111;
    }

    .hero .lead {
        margin: 0;
        max-width: 60ch;
        color: #d8c7a6;
        font-size: 1.04rem;
    }

    @media (max-width: 1040px) {
        .hero.panel {
            height: 380px;
        }

        .hero-copy {
            padding: 32px 28px;
        }
    }

    @media (max-width: 860px) {

        .hero .hero-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        .hero h1 {
            max-width: none;
        }
    }

    @media (max-width: 540px) {


        .hero .hero-stats {
            grid-template-columns: 1fr;
        }

        .hero-copy {
            padding: 22px 18px;
        }
    }

    .tabs {
        margin: 12px 0 20px;
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
        align-items: center;
        padding: 14px 16px;
        border-radius: 22px;
        border: 1px solid rgba(212, 162, 79, .14);
        background: rgba(18, 15, 12, .86);
        box-shadow: var(--shadow);
    }

    .tab {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 10px 14px;
        border-radius: 999px;
        color: var(--text);
        border: 1px solid transparent;
        font-weight: 700;
        font-size: .95rem;
        background: rgba(212, 162, 79, .12);
        border-color: rgba(212, 162, 79, .22);
        color: #f5e8c8;
    }

    .tab:hover {
        background: rgba(212, 162, 79, .08);
        color: var(--accent);
    }

    .tab-right {
        margin-left: auto;
        background: rgba(212, 162, 79, .12);
        border-color: rgba(212, 162, 79, .22);
        color: #f5e8c8;
    }

    /* ========================================
   STATUTS DES COLLECTIONS
   ======================================== */

    .tab-status {
        cursor: default;
    }

    /* 1. Édition Rombaldi */
    .status-rombaldi {
        border-color: rgba(212, 162, 79, .70);
        background: rgba(212, 162, 79, .07);
        color: #d4a24f;
    }

    /* 2. Collection partenaire */
    .status-partner {
        border-color: rgba(105, 135, 170, .70);
        background: rgba(105, 135, 170, .07);
        color: #a9bfd8;
    }

    /* 3. Commercialisée par Rombaldi */
    .status-commercial {
        border-color: rgba(92, 145, 115, .70);
        background: rgba(92, 145, 115, .07);
        color: #9bc2a9;
    }

    /* 4. Pré-Rombaldi */
    .status-pre {
        border-color: rgba(239, 38, 3, 0.7);
        background: rgba(150, 105, 145, .07);
        color: #cf1919;
    }

    /* 4. Héritage Rombaldi */
    .status-legacy {
        border-color: rgba(150, 105, 145, .70);
        background: rgba(150, 105, 145, .07);
        color: #c3a8c4;
    }

    .section {
        padding: 22px 0 0
    }

    .section-head {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        align-items: end;
        margin: 18px 0 16px;
        position: relative;
    }

    .section-head>.tab-right {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }

    .section-head h2 {
        margin: 0;
        font-family: Georgia, "Times New Roman", serif;
        font-size: clamp(1.6rem, 2.1vw, 2.2rem);
        letter-spacing: -.03em;
        color: #d4a24f;
        text-transform: uppercase;
    }

    .section-head p {
        margin: 6px 0 0;
        color: var(--muted);
        max-width: 100%;

    }

    .tome-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
        padding-bottom: 36px;
    }

    .tome-grid2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
        padding-bottom: 36px;
    }

    .tome-grid3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
        padding-bottom: 36px;
    }

    .tome-card {
        position: relative;
        border-radius: 20px;
        background: linear-gradient(180deg, rgba(22, 18, 14, .98), rgba(13, 11, 9, .98));
        border: 1px solid rgba(212, 162, 79, .12);
        box-shadow: var(--shadow);
        padding: 12px 12px 14px;
        overflow: hidden;
        cursor: pointer;
        transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
        text-align: center;
    }

    .tome-card:hover {
        transform: translateY(-4px);
        border-color: rgba(212, 162, 79, .30);
        box-shadow: 0 25px 60px rgba(0, 0, 0, .40);
    }

    .cover-zone {
        height: 280px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        padding: 0;
    }

    .tome-card img {
        width: auto;
        height: 100%;
        max-width: 90%;
        max-height: 280px;
        margin: 0 auto;
        display: block;
        object-fit: contain;
    }

    .tome-card h3 {
        margin: 0 0 4px;
        font-size: 1rem;
        line-height: 1.2;
        color: #f4e8cc;
    }

    .tome-card p {
        margin: 0;
        color: var(--muted);
        font-size: .88rem;
    }

    .card {
        padding: 22px;
        height: 100%;
        position: relative;
        overflow: hidden;
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
        background: var(--panel);
    }

    .card h4 {
        margin: 0 0 8px;
        font-size: 1.08rem;
    }

    .card p {
        margin: 0;
        color: var(--muted);
    }

    .card-hero {
        background:
            linear-gradient(rgba(9, 8, 7, .65),
                rgba(9, 8, 7, .82)),
            var(--card-bg) center / cover no-repeat;
    }

    .mini-actions {
        display: flex;
        gap: 12px;
        margin-top: 12px;
        color: #d6c39f;
        font-size: .84rem;
    }

    .mini-actions span,
    .mini-actions button {
        width: 18px;
        height: 18px;
        display: inline-grid;
        place-items: center;
        border: 1px solid rgba(212, 162, 79, .18);
        border-radius: 999px;
        background: transparent;
        color: #d6c39f;
        padding: 0;
        cursor: pointer;
    }

    .footer {
        padding: 26px 0 40px;
        color: var(--muted);
        font-size: .94rem;
        border-top: 1px solid rgba(212, 162, 79, .12);
        margin-top: 18px;
    }

    .footer-inner {
        border-top: 1px solid var(--border);
        margin-top: 8px;
        padding-top: 18px;
        display: flex;
        justify-content: space-between;
        gap: 16px;
        flex-wrap: wrap;
    }

    .tome-detail {
        display: grid;
        grid-template-columns: 400px auto;
        gap: 24px;
        align-items: center;
        width: fit-content;
    }

    .tome-detail-left {
        padding-right: 20px;
        border-right: none;
    }

    .tome-detail-left h3 {
        margin-top: 0;
        color: var(--accent);
        font-family: Georgia, "Times New Roman", serif;
        text-transform: uppercase;
    }

    .tome-detail-left h4 {
        margin-top: 20px;
        margin-bottom: 10px;
        color: var(--accent);
        font-family: Georgia, "Times New Roman", serif;
    }

    .tome-detail-left ul {
        padding-left: 18px;
        margin: 0;
    }

    .tome-detail-left li {
        margin-bottom: 2px;
        line-height: 1.25;
        color: var(--text);
    }

    .tome-detail-left p {
        color: var(--muted);
        line-height: 1.3;
    }

    .tome-detail-right {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .tome-detail-right img {
        border-radius: 12px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    }

    .modal {
        position: fixed;
        inset: 0;
        display: none;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, .72);
        z-index: 1000;
        padding: 24px;
    }

    .modal.open {
        display: flex
    }

    .modal-card {
        position: relative;
        width: fit-content;
        max-width: 95vw;
        max-height: 95vh;
        background: linear-gradient(180deg, rgba(20, 17, 14, .98), rgba(13, 11, 9, .98));
        border: 1px solid rgba(212, 162, 79, .18);
        border-radius: 24px;
        box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
        padding: 24px;
        color: var(--text);
    }

    .modal-card.modal-card-small {
        width: min(90vw, 500px);
    }

    .modal-card-small .tome-detail {
        grid-template-columns: 1fr;
    }

    .modal-close {
        position: absolute;
        top: 18px;
        left: 18px;
        margin-top: 0;
        min-height: 42px;
        padding: 0 14px;
        border-radius: 12px;
        border: 1px solid rgba(212, 162, 79, .22);
        background: transparent;
        color: var(--text);
        font-weight: 700;
        cursor: pointer;
        z-index: 10;
    }

    /* Modale spéciale pour la long texte */
    .modal-long .modal-card {
        width: min(1200px, 95vw);
        height: min(800px, 90vh);
        max-height: 90vh;

        display: flex;
        flex-direction: column;

        overflow: hidden;
    }

    .modal-long .tome-detail {
        display: grid;
        grid-template-columns: minmax(400px, 600px) auto;
        gap: 24px;

        flex: 1;
        min-height: 0;
        height: auto;

        align-items: stretch;
    }

    .modal-long .tome-detail-left {
        min-height: 0;
        overflow-y: auto;

        padding: 10px 30px 30px 10px;

        scrollbar-width: thin;
        scrollbar-color: var(--accent) rgba(212, 162, 79, .10);
    }

    .modal-long .tome-detail-right {
        min-height: 0;
        height: 100%;
        align-self: stretch;

        display: flex;
        justify-content: center;
        align-items: stretch;
    }

    .modal-long .viewer {
        height: 100%;
        min-height: 0;

        display: flex;
        flex-direction: column;
    }

    .modal-long .viewer-stage {
        flex: 1;
        min-height: 0;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .modal-long .viewer-main {
        width: auto;
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .modal-long .viewer-thumbs {
        flex-shrink: 0;
    }

    .interview-question {
        margin: 28px 0 10px;
        padding-left: 12px;
        border-left: 3px solid var(--accent);
        font-weight: 600;
        color: var(--accent);
    }

    .interview-answer {
        margin: 0 0 18px;
        color: var(--text);
        line-height: 1.65;
    }

    .search-form {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: 10px;
    }

    .search-input {
        width: 170px;
        padding: 8px 12px;
        border: 1px solid rgba(212, 162, 79, .25);
        border-radius: 999px;
        background: #1a1511;
        color: #f2e6cc;
        outline: none;
    }

    .search-input::placeholder {
        color: #b9a27d;
    }

    .search-btn {
        width: 33px;
        height: 33px;
        padding: 0;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .search-btn img {
        width: 20px;
        height: 20px;
        display: block;
        transition: transform .2s;
    }

    .search-btn:hover img {
        transform: scale(1.08);
    }

    .viewer {
        width: 100%;
        max-width: none;
        margin: 0 auto;
        opacity: 1;
        transition: opacity .25s ease;
    }

    .viewer-stage {
        position: relative;
        width: min(700px, 45vw);
        height: 50vh;

        display: flex;
        align-items: center;
        justify-content: center;
    }

    .viewer-main {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        display: block;
        border-radius: 12px;
        object-fit: contain;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
        background: #111;
    }

    .viewer-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 42px;
        height: 42px;
        border: 1px solid rgba(212, 162, 79, .22);
        border-radius: 999px;
        background: rgba(20, 17, 14, .88);
        color: #f2e6cc;
        cursor: pointer;
        z-index: 2;
        display: grid;
        place-items: center;
        font-size: 1.4rem;
        line-height: 1;
    }

    .viewer-btn:hover {
        background: rgba(212, 162, 79, .12);
        color: #d4a24f;
    }

    .viewer-prev {
        left: 10px;
    }

    .viewer-next {
        right: 10px;
    }

    .viewer-thumbs {
        margin-top: 12px;
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .viewer-thumb {
        width: 80px;
        height: 80px;
        padding: 0;
        border-radius: 10px;
        border: 1px solid rgba(212, 162, 79, .18);
        background: #120f0c;
        overflow: hidden;
        cursor: pointer;
        opacity: .7;
        transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
    }

    .viewer-thumb:hover {
        transform: translateY(-2px);
        opacity: .95;
    }

    .viewer-thumb.is-active {
        opacity: 1;
        border-color: rgba(212, 162, 79, .55);
    }

    .viewer-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }


    .tome-detail.single-image .viewer-prev,
    .tome-detail.single-image .viewer-next,
    .tome-detail.single-image .viewer-thumbs {
        display: none;
    }

    /* Titres centrés avec traits décoratifs */
    .section-head {
        justify-content: center;
        text-align: center;
    }

    .section-head>div {
        width: 100%;
    }

    .section-head h2 {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 16px;
        width: 100%;
    }

    .section-head h2::before,
    .section-head h2::after {
        content: "";
        width: 90px;
        height: 1px;
        background: var(--accent);
        opacity: .8;
    }

    @media (max-width: 1200px) {
        .tome-grid {
            grid-template-columns: repeat(3, 1fr)
        }

        .hero {
            grid-template-columns: 1fr
        }
    }

    @media (max-width: 900px) {
        .tome-detail {
            grid-template-columns: 1fr
        }
    }

    /* Bouton menu mobile */
    .mobile-menu-button {
        display: none;
    }

    @media (max-width: 860px) {
        .topbar-inner {
            min-height: 68px
        }

        .nav {
            display: none;
        }

        .mobile-menu-button {
            display: flex;
            align-items: center;
            justify-content: center;

            width: 42px;
            height: 42px;
            margin-left: auto;

            border: 1px solid rgba(212, 162, 79, .25);
            border-radius: 10px;

            background: transparent;
            color: var(--accent);

            font-size: 1.6rem;
            line-height: 1;

            cursor: pointer;
        }

        .nav.mobile-open {
            display: flex;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;

            flex-direction: column;
            align-items: stretch;
            gap: 2px;

            padding: 12px 16px 18px;

            background: rgba(10, 8, 7, .98);
            border-bottom: 1px solid rgba(212, 162, 79, .18);
            box-shadow: 0 18px 30px rgba(0, 0, 0, .45);
            z-index: 100;
        }

        .nav.mobile-open>a,
        .nav.mobile-open .drop>summary {
            width: 100%;
            padding: 11px 12px;
            justify-content: flex-start;
        }

        .nav.mobile-open .drop {
            width: 100%;
        }

        .nav.mobile-open .dropdown {
            position: static;

            width: 100%;
            min-width: 0;
            max-height: 300px;

            margin-top: 4px;

            box-shadow: none;
        }

        .nav.mobile-open .search-form {
            margin: 6px 0 0;
        }

        h1 {
            font-size: clamp(2.8rem, 12vw, 4.8rem)
        }

        .hero-stats {
            grid-template-columns: repeat(2, 1fr)
        }

        .tome-grid {
            grid-template-columns: repeat(2, 1fr)
        }

    }

    @media (max-width: 540px) {
        .wrap {
            padding: 0 16px
        }

        .hero-stats {
            grid-template-columns: 1fr
        }

        .tome-grid {
            grid-template-columns: 1fr
        }

        .section-head {
            flex-direction: column;
            align-items: flex-start
        }

        .modal {
            padding: 14px
        }

        .modal-card {
            padding: 18px
        }
    }

    @media (max-width: 540px) {
        .section-head {
            align-items: center;
            text-align: center;
        }

        .section-head h2::before,
        .section-head h2::after {
            width: 35px;
        }
    }

    /* ========================================
   RESPONSIVE TABLETTE
   ======================================== */

    @media (max-width: 900px) {

        .hero.panel {
            height: 360px;
        }

        .tabs {
            justify-content: center;
        }

        .tab-right {
            margin-left: 0;
        }

        .tome-detail {
            display: grid;
            grid-template-columns: 1fr;
            width: 100%;
            gap: 20px;
        }

        .tome-detail-left {
            padding-right: 0;
            padding-top: 45px;
        }

        .tome-detail-right {
            width: 100%;
            min-width: 0;
        }

        .viewer-stage {
            width: 100%;
            height: 55vh;
        }

        .viewer-main {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            margin: 0 auto;
        }

        .modal-card {
            width: 100%;
            max-width: 95vw;
            max-height: 92vh;
            overflow-y: auto;
        }
    }


    /* ========================================
   RESPONSIVE TELEPHONE
   ======================================== */

    @media (max-width: 600px) {

        .wrap {
            padding-left: 12px;
            padding-right: 12px;
        }

        .topbar-inner {
            min-height: 60px;
        }

        .brand-mark {
            width: 42px;
            height: 42px;
        }

        .hero.panel {
            height: 280px;
            border-radius: 16px;
        }

        .hero-copy {
            padding: 16px 12px;
        }

        .hero h2 {
            font-size: 1.2rem;
        }

        .hero-subtitle {
            font-size: .6rem;
        }

        .hero-separator span {
            width: 35px;
        }


        .tabs {
            gap: 8px;
            padding: 10px;
            border-radius: 16px;
        }

        .tab {
            padding: 8px 10px;
            font-size: .82rem;
        }

        .tab-right {
            margin-left: 0;
        }

        .tome-grid,
        .tome-grid2,
        .tome-grid3 {
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 10px;
        }

        .tome-card {
            padding: 8px;
            border-radius: 14px;
        }

        .cover-zone {
            height: 160px;
        }

        .tome-card img {
            width: auto;
            height: 100%;
            max-width: 95%;
            max-height: 160px;
            margin: 0 auto;
            object-fit: contain;
        }

        .tome-card h3 {
            font-size: .85rem;
        }

        .section-head h2 {
            font-size: 1.0rem;
            gap: 8px;
        }

        .section-head h2::before,
        .section-head h2::after {
            width: 25px;
        }

        .modal {
            padding: 8px;
            align-items: flex-start;
            overflow-y: auto;
        }

        .modal-card {
            width: 100%;
            max-width: none;
            max-height: none;
            margin: 8px 0;
            padding: 14px;
            border-radius: 16px;
            overflow: visible;
        }

        .tome-detail {
            width: 100%;
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .tome-detail-left {
            padding: 48px 4px 0;
        }

        .tome-detail-right {
            width: 100%;
            min-width: 0;
        }

        .tome-detail-right img,
        .viewer-main {
            width: auto;
            max-width: 100%;
            max-height: 65vh;
            margin: 0 auto;
        }

        .viewer-thumbs {
            justify-content: center;
        }

        .viewer-thumb {
            width: 60px;
            height: 60px;
        }

        .viewer-btn {
            width: 36px;
            height: 36px;
        }

        .modal-close {
            top: 12px;
            left: 12px;
        }
    }

    .image-zoom {
        position: fixed;
        inset: 0;
        z-index: 2000;

        display: none;
        align-items: center;
        justify-content: center;

        padding: 20px;
        background: rgba(0, 0, 0, .92);
        cursor: zoom-out;
    }

    .image-zoom.open {
        display: flex;
    }

    .image-zoom img {
        width: auto;
        height: auto;

        max-width: 95vw;
        max-height: 95vh;

        object-fit: contain;
        box-shadow: none;
        border-radius: 0;
    }

    @media (max-width: 600px) {

        .modal-long .modal-card {
            height: auto;
            max-height: none;
            overflow: visible;
        }

        .modal-long .tome-detail {
            display: flex;
            flex-direction: column;
            height: auto;
            min-height: 0;
        }

        .modal-long .tome-detail-left {
            width: 100%;
            height: auto;
            overflow: visible;
        }

        .modal-long .tome-detail-right {
            width: 100%;
            height: auto;
            min-height: 0;
            display: block;
        }

        .modal-long .viewer {
            width: 100%;
            height: auto;
        }

        .modal-long .viewer-stage {
            width: 100%;
            height: 55vh;
            min-height: 300px;
        }

        .modal-long .viewer-main {
            width: 100%;
            height: 100%;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
    }

    /* Recherche déroulante depuis la loupe */
    .search-menu {
        position: relative;
        display: flex;
        align-items: center;
        margin-left: 10px;
    }

    .search-popover {
        position: absolute;
        top: calc(100% + 12px);
        right: 0;
        width: min(430px, calc(100vw - 32px));
        max-height: min(560px, 70vh);
        overflow: auto;
        padding: 12px;
        border: 1px solid rgba(212, 162, 79, .22);
        border-radius: 16px;
        background: rgba(16, 13, 10, .98);
        box-shadow: 0 18px 40px rgba(0, 0, 0, .48);
        z-index: 250;
    }

    .search-popover[hidden] {
        display: none;
    }

    .search-inline-input {
        width: 100%;
        min-height: 42px;
        padding: 0 14px;
        border: 1px solid rgba(212, 162, 79, .28);
        border-radius: 999px;
        background: #1a1511;
        color: var(--text);
        outline: none;
    }

    .search-inline-input:focus {
        border-color: var(--accent);
    }

    .search-inline-input::placeholder {
        color: var(--muted);
    }

    .search-inline-status {
        min-height: 20px;
        margin: 9px 5px 5px;
        color: var(--muted);
        font-size: .82rem;
        font-weight: 400;
    }

    .search-inline-results {
        display: grid;
        gap: 6px;
    }

    .nav .search-inline-result {
        display: block;
        padding: 10px 11px;
        border: 0;
        border-radius: 10px;
        font-weight: 400;
    }

    .nav .search-inline-result:hover {
        background: rgba(212, 162, 79, .08);
    }

    .nav .search-inline-result strong {
        display: block;
        color: var(--accent);
        font-size: .92rem;
    }

    .nav .search-inline-result span {
        display: block;
        margin-top: 3px;
        color: var(--muted);
        font-size: .8rem;
        line-height: 1.35;
    }

    @media (max-width: 860px) {

        .nav.mobile-open .search-menu {
            display: block;
            width: 100%;
            margin: 8px 0 0;
        }

        /* Loupe alignée comme une entrée du menu */
        .nav.mobile-open .search-btn {
            width: 100%;
            height: 42px;
            padding: 10px 12px;
            justify-content: flex-start;
            border-radius: 10px;
        }

        .nav.mobile-open .search-btn img {
            width: 20px;
            height: 20px;
        }

        /* Recherche intégrée au menu, plus de popover */
        .nav.mobile-open .search-popover {
            position: static;
            width: 100%;
            max-height: 55vh;
            margin: 6px 0 0;
            padding: 8px 0 0;
            border: 0;
            border-radius: 0;
            background: transparent;
            box-shadow: none;
            overflow-y: auto;
        }

        .nav.mobile-open .search-inline-input {
            width: 100%;
        }

        .nav.mobile-open .search-inline-status {
            margin: 7px 4px 3px;
        }

        .nav.mobile-open .search-inline-result {
            padding: 9px 10px;
            border-radius: 8px;
        }
    }

    @media (max-width: 600px) {
        .tome-card .wanted-status {
            display: flex;
            justify-content: center;
            width: 100%;
            gap: 3px;
            font-size: 12px;
            line-height: 1.2;
            white-space: nowrap;
        }

        .tome-card .wanted-dot {
            width: 7px;
            height: 7px;
        }
    }

    /* Centrage des lignes incomplètes sur desktop */
    @media (min-width: 1201px) {

        .tome-grid,
        .tome-grid2,
        .tome-grid3 {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 16px;
        }

        /* Maximum 5 par ligne */
        .tome-grid .tome-card {
            flex: 0 0 calc((100% - 64px) / 5);
        }

        /* Maximum 4 par ligne */
        .tome-grid2 .tome-card {
            flex: 0 0 calc((100% - 48px) / 4);
        }
    }