/* ============================================================
   Inkripted - Direction artistique
   Fond sombre / rose primaire / editorial
   Fichier 100% ASCII (aucun glyphe Unicode).
   ============================================================ */

:root {
    --bg:           #08080a;
    --bg-2:         #0d0d11;
    --surface:      #131318;
    --surface-2:    #1a1a21;
    --border:       rgba(255, 255, 255, 0.07);
    --border-2:     rgba(255, 255, 255, 0.12);

    --text:         #f4f4f6;
    --text-dim:     #a2a2ad;
    --text-faint:   #6c6c78;

    --rose:         #ff2e88;
    --rose-soft:    #ff63a6;
    --rose-deep:    #c8155f;
    --rose-glow:    rgba(255, 46, 136, 0.35);

    --radius:       14px;
    --radius-sm:    10px;
    --radius-pill:  999px;

    --shadow:       0 18px 50px rgba(0, 0, 0, 0.55);
    --ring:         0 0 0 3px var(--rose-glow);

    --nav-h:        62px;
    --maxw:         1320px;

    --font-body:    'Inter', system-ui, sans-serif;
    --font-display: 'Bricolage Grotesque', 'Inter', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Texture d'ambiance discrete */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(900px 500px at 85% -10%, rgba(255, 46, 136, 0.10), transparent 60%),
        radial-gradient(700px 500px at -5% 110%, rgba(255, 46, 136, 0.06), transparent 60%);
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }

::selection { background: var(--rose); color: #fff; }

/* ---------------- Mise en page ---------------- */
.wrap {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 22px;
}

.page { padding: 30px 0 80px; }

.muted  { color: var(--text-dim); }
.faint  { color: var(--text-faint); }
.center { text-align: center; }

/* ---------------- Barre de navigation ---------------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 60;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 22px;
    background: rgba(8, 8, 10, 0.82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.brand .dot {
    width: 11px;
    height: 11px;
    border-radius: 4px;
    background: var(--rose);
    box-shadow: 0 0 14px var(--rose-glow);
    transform: rotate(45deg);
}
.brand b { color: var(--rose); font-weight: 800; }

.nav-search {
    flex: 1;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0 6px 0 16px;
    height: 42px;
    transition: border-color .18s, box-shadow .18s;
}
.nav-search:focus-within { border-color: var(--rose); box-shadow: var(--ring); }
.nav-search input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 14px;
}
.nav-search button {
    background: var(--surface-2);
    border: none;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-pill);
    cursor: pointer;
    display: grid;
    place-items: center;
    color: var(--text-dim);
    transition: background .18s, color .18s;
}
.nav-search button:hover { background: var(--rose); color: #fff; }

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    flex-shrink: 0;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--text);
    transition: background .18s, border-color .18s;
}
.icon-btn:hover { background: var(--surface-2); border-color: var(--border-2); }

/* ---------------- Boutons ---------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-2);
    background: var(--surface);
    color: var(--text);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .12s, background .18s, border-color .18s, box-shadow .18s;
    white-space: nowrap;
}
.btn:hover { background: var(--surface-2); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: var(--rose);
    border-color: var(--rose);
    color: #fff;
    box-shadow: 0 8px 24px var(--rose-glow);
}
.btn-primary:hover { background: var(--rose-soft); border-color: var(--rose-soft); }

.btn-ghost { background: transparent; }
.btn-sm { height: 36px; padding: 0 15px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-danger { color: #ff6b6b; border-color: rgba(255, 107, 107, 0.4); }
.btn-danger:hover { background: rgba(255, 107, 107, 0.12); }

/* ---------------- Avatar ---------------- */
.avatar {
    border-radius: 50%;
    object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}
.avatar-fallback {
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    flex-shrink: 0;
    font-family: var(--font-display);
}

/* ---------------- Pilules de filtre ---------------- */
.chips {
    display: flex;
    gap: 9px;
    overflow-x: auto;
    padding-bottom: 4px;
    margin-bottom: 22px;
    scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
    padding: 8px 15px;
    border-radius: var(--radius-pill);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, color .15s;
}
.chip:hover { background: var(--surface-2); }
.chip.active { background: var(--rose); border-color: var(--rose); color: #fff; }

/* ---------------- Grille de videos ---------------- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 26px 20px;
}

.card { display: block; }
.card .thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
}
.card .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .thumb img { transform: scale(1.05); }
.card .thumb .ph {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--surface), var(--bg-2));
    color: var(--text-faint);
}
.card .dur {
    position: absolute;
    right: 8px;
    bottom: 8px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 6px;
    letter-spacing: 0.02em;
}
.card .badge-vis {
    position: absolute;
    left: 8px;
    top: 8px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: var(--radius-pill);
    background: rgba(8, 8, 10, 0.8);
    border: 1px solid var(--border-2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.card .meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}
.card .meta .info { min-width: 0; }
.card .title {
    font-weight: 600;
    font-size: 15px;
    line-height: 1.32;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card .sub {
    font-size: 13px;
    color: var(--text-dim);
    margin-top: 4px;
}
.card .sub a:hover { color: var(--text); }

/* ---------------- Page lecture ---------------- */
.watch {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 30px;
    align-items: start;
}
@media (max-width: 1080px) { .watch { grid-template-columns: 1fr; } }

.player {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.player video { width: 100%; height: 100%; }

.watch h1 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 18px 0 10px;
}

.watch-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}
.channel-row { display: flex; align-items: center; gap: 12px; }
.channel-row .name { font-weight: 600; font-size: 15px; }
.channel-row .subs { font-size: 12px; color: var(--text-dim); }

.action-row { display: flex; gap: 10px; flex-wrap: wrap; }
.pill-group {
    display: flex;
    align-items: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    overflow: hidden;
}
.pill-group button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 16px;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    transition: background .15s, color .15s;
}
.pill-group button:hover { background: var(--surface-2); }
.pill-group button.on { color: var(--rose); }
.pill-group .sep { width: 1px; height: 22px; background: var(--border); }

.desc-box {
    margin-top: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-size: 14px;
}
.desc-box .stat { font-weight: 600; color: var(--text); }
.desc-box p { margin-top: 8px; color: var(--text-dim); white-space: pre-wrap; }

/* ---------------- Commentaires ---------------- */
.comments { margin-top: 28px; }
.comments h2 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 18px;
}
.comment-form { display: flex; gap: 12px; margin-bottom: 26px; }
.comment-form .grow { flex: 1; }
.comment-form textarea {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--border-2);
    padding: 8px 2px;
    resize: vertical;
    min-height: 40px;
    outline: none;
    font-size: 14px;
}
.comment-form textarea:focus { border-color: var(--rose); }
.comment-form .actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 10px; }

.comment { display: flex; gap: 12px; margin-bottom: 20px; }
.comment .body .head { display: flex; align-items: baseline; gap: 8px; }
.comment .body .who { font-weight: 600; font-size: 13px; }
.comment .body .when { font-size: 12px; color: var(--text-faint); }
.comment .body .text { font-size: 14px; margin-top: 3px; white-space: pre-wrap; }

/* ---------------- Liste laterale ---------------- */
.side-list { display: flex; flex-direction: column; gap: 12px; }
.side-item { display: flex; gap: 10px; }
.side-item .thumb {
    position: relative;
    width: 168px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--border);
}
.side-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.side-item .title {
    font-weight: 600;
    font-size: 13.5px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.side-item .sub { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

/* ---------------- Cartes / formulaires ---------------- */
.panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}

.auth-wrap {
    min-height: calc(100vh - var(--nav-h));
    display: grid;
    place-items: center;
    padding: 40px 22px;
}
.auth-card { width: 100%; max-width: 420px; }
.auth-card h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}
.auth-card .lead { color: var(--text-dim); margin-bottom: 26px; font-size: 14px; }
.auth-foot { margin-top: 20px; text-align: center; font-size: 14px; color: var(--text-dim); }
.auth-foot a { color: var(--rose); font-weight: 600; }

.field { margin-bottom: 16px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--text-dim);
}
.field input,
.field textarea,
.field select {
    width: 100%;
    background: var(--bg-2);
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 14px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--rose); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { font-size: 12px; color: var(--text-faint); margin-top: 6px; }

.file-drop {
    border: 1.5px dashed var(--border-2);
    border-radius: var(--radius);
    padding: 26px;
    text-align: center;
    cursor: pointer;
    transition: border-color .15s, background .15s;
    color: var(--text-dim);
}
.file-drop:hover { border-color: var(--rose); background: var(--bg-2); }
.file-drop.has-file { border-color: var(--rose); color: var(--text); }
.file-drop input { display: none; }
.file-drop .big { font-weight: 600; color: var(--text); margin-bottom: 4px; }

/* ---------------- Alertes ---------------- */
.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid var(--border-2);
}
.alert-error   { background: rgba(255, 80, 80, 0.10); border-color: rgba(255, 80, 80, 0.35); color: #ffb3b3; }
.alert-success { background: rgba(46, 220, 130, 0.10); border-color: rgba(46, 220, 130, 0.30); color: #9fe9c2; }
.alert-info    { background: rgba(255, 46, 136, 0.10); border-color: var(--rose-glow); color: var(--rose-soft); }

.flash-stack {
    position: fixed;
    top: calc(var(--nav-h) + 14px);
    right: 22px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 340px;
}
.flash-stack .alert {
    margin: 0;
    box-shadow: var(--shadow);
    animation: slideIn .3s ease;
}
@keyframes slideIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* ---------------- En-tete de section ---------------- */
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 22px;
    gap: 16px;
}
.section-head h1,
.section-head h2 {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    font-weight: 700;
}
.section-head h1 { font-size: 28px; }
.eyebrow {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--rose);
    margin-bottom: 6px;
}

/* ---------------- Profil / chaine ---------------- */
.channel-head {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
    background: var(--surface);
}
.channel-banner {
    height: 180px;
    background: linear-gradient(120deg, var(--rose-deep), #2a0a18 60%, var(--bg-2));
    position: relative;
}
.channel-banner img { width: 100%; height: 100%; object-fit: cover; }
.channel-info {
    display: flex;
    gap: 20px;
    align-items: flex-end;
    padding: 0 26px 24px;
    margin-top: -42px;
    flex-wrap: wrap;
}
.channel-info .ava-frame {
    border: 4px solid var(--surface);
    border-radius: 50%;
    background: var(--surface);
}
.channel-info .ci-text { flex: 1; min-width: 200px; }
.channel-info h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.channel-info .ci-meta { color: var(--text-dim); font-size: 14px; margin-top: 4px; }
.channel-info .ci-bio { color: var(--text-dim); font-size: 14px; margin-top: 10px; max-width: 640px; white-space: pre-wrap; }

/* ---------------- Dashboard ---------------- */
.dash-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 30px;
}
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    position: relative;
    overflow: hidden;
}
.stat-card::after {
    content: "";
    position: absolute;
    right: -30px;
    top: -30px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: var(--rose-glow);
    filter: blur(30px);
    opacity: .5;
}
.stat-card .label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
}
.stat-card .value {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    margin-top: 8px;
    letter-spacing: -0.02em;
}
.stat-card .delta { font-size: 12px; color: var(--text-faint); margin-top: 4px; }

.table-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th,
table.data td { padding: 13px 16px; text-align: left; }
table.data th {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}
table.data td { border-bottom: 1px solid var(--border); }
table.data tr:last-child td { border-bottom: none; }
table.data tr:hover td { background: var(--bg-2); }
table.data .vid-cell { display: flex; align-items: center; gap: 12px; }
table.data .vid-cell .mini {
    width: 88px;
    aspect-ratio: 16/9;
    border-radius: 8px;
    object-fit: cover;
    background: var(--surface-2);
    flex-shrink: 0;
}
table.data .vid-cell .t {
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 360px;
}
.tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid var(--border-2);
    color: var(--text-dim);
}
.tag.pub { color: #9fe9c2; border-color: rgba(46,220,130,.3); }
.tag.unl { color: var(--rose-soft); border-color: var(--rose-glow); }
.tag.pri { color: var(--text-faint); }

.dash-tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 26px;
}
.dash-tabs a {
    padding: 12px 18px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dim);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.dash-tabs a.active { color: var(--text); border-bottom-color: var(--rose); }
.dash-tabs a:hover { color: var(--text); }

/* ---------------- Etat vide ---------------- */
.empty {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-dim);
}
.empty .ico { color: var(--rose); margin-bottom: 16px; opacity: .8; }
.empty h3 { font-family: var(--font-display); font-size: 20px; color: var(--text); margin-bottom: 8px; }

/* ---------------- Menu utilisateur ---------------- */
.dropdown { position: relative; }
.dropdown-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px;
    display: none;
    z-index: 80;
}
.dropdown.open .dropdown-menu { display: block; animation: slideIn .18s ease; }
.dropdown-menu .du-head {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 8px 10px 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
}
.dropdown-menu .du-head .n { font-weight: 600; font-size: 14px; }
.dropdown-menu .du-head .h { font-size: 12px; color: var(--text-dim); }
.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--text);
}
.dropdown-menu a:hover { background: var(--surface-2); }
.dropdown-menu a.danger { color: #ff8585; }

/* ---------------- Barriere d'age ---------------- */
.age-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 30px;
    position: relative;
    overflow: hidden;
}
.age-screen::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(700px 500px at 50% 0%, rgba(255,46,136,.16), transparent 60%),
        radial-gradient(600px 500px at 50% 100%, rgba(255,46,136,.08), transparent 60%);
    z-index: 0;
}
.age-card {
    position: relative;
    z-index: 1;
    max-width: 460px;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: 20px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: var(--shadow);
}
.age-card .brand { justify-content: center; font-size: 30px; margin-bottom: 22px; }
.age-card .lock {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--rose), var(--rose-deep));
    display: grid;
    place-items: center;
    margin: 0 auto 22px;
    color: #fff;
    box-shadow: 0 10px 30px var(--rose-glow);
}
.age-card h1 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
}
.age-card p { color: var(--text-dim); font-size: 14.5px; margin-bottom: 28px; }
.age-actions { display: flex; flex-direction: column; gap: 12px; }
.age-actions .btn { height: 50px; font-size: 15px; }
.age-legal { font-size: 12px; color: var(--text-faint); margin-top: 24px; line-height: 1.6; }

/* ---------------- Pied de page ---------------- */
.foot {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    margin-top: 60px;
    color: var(--text-faint);
    font-size: 13px;
}
.foot .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.foot a:hover { color: var(--text-dim); }
.foot .links { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------------- Responsive ---------------- */
@media (max-width: 720px) {
    .nav-search { max-width: none; }
    .brand span.full { display: none; }
    .nav { gap: 12px; }
    .section-head h1 { font-size: 22px; }
    .side-item .thumb { width: 140px; }
}
@media (max-width: 520px) {
    .nav-search { display: none; }
    .grid { grid-template-columns: 1fr; }
}

/* Bouton remontant / utilitaires divers */
.spread { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.row { display: flex; align-items: center; gap: 12px; }
.wrap-row { display: flex; flex-wrap: wrap; gap: 12px; }
.mt-2 { margin-top: 14px; }
.mt-3 { margin-top: 22px; }
.divider { height: 1px; background: var(--border); margin: 20px 0; }
