/* ================================================================
   FORUM — NewLifeCityRP — Design calqué sur le site principal
================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }

:root {
    --gold:        #dca01e;
    --gold-dim:    rgba(220,160,30,0.10);
    --gold-border: rgba(220,160,30,0.28);
    --bg:          #080d1a;
    --bg-nav:      rgba(5,8,18,0.94);
    --bg-card:     rgba(8,13,26,0.85);
    --bg-row:      rgba(8,13,26,0.70);
    --bg-hover:    rgba(220,160,30,0.05);
    --border:      rgba(255,255,255,0.07);
    --border-gold: rgba(220,160,30,0.22);
    --muted:       rgba(255,255,255,0.30);
    --soft:        rgba(255,255,255,0.60);
    --nav-h:       64px;
    --max:         1500px;
    --r:           12px;
    --r-sm:        7px;
}

html { scroll-behavior:smooth; }

body {
    font-family:'Inter',system-ui,sans-serif;
    background:var(--bg);
    color:#fff;
    min-height:100vh;
    -webkit-font-smoothing:antialiased;
}

/* Fond dégradé identique au site principal */
body::before {
    content:'';
    position:fixed; inset:0; pointer-events:none; z-index:0;
    background:
        radial-gradient(ellipse 90% 50% at 50% -5%, rgba(220,160,30,0.07) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 85% 85%, rgba(10,20,60,0.7) 0%, transparent 60%),
        linear-gradient(180deg, #060b16 0%, #08111f 50%, #060b16 100%);
}
body > * { position:relative; z-index:1; }

/* ══ FOND ÉTOILÉ ══ */
.forum-header { display:none; }

/* ══ NAVIGATION ══ */
.forum-nav {
    position:fixed; top:0; left:0; right:0;
    height:var(--nav-h); z-index:1000;
    background:var(--bg-nav);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(24px);
    -webkit-backdrop-filter:blur(24px);
}
.forum-nav-content {
    max-width:var(--max); height:100%;
    margin:0 auto; padding:0 24px;
    display:flex; align-items:center; gap:4px;
}

/* Logo identique au site principal */
.logo {
    display:flex; align-items:center; gap:10px;
    text-decoration:none; flex-shrink:0; margin-right:14px;
}
.logo img {
    height:44px; width:auto;
    filter:drop-shadow(0 2px 8px rgba(220,160,30,0.3));
    transition:transform .2s, filter .2s;
}
.logo:hover img { transform:scale(1.05); filter:drop-shadow(0 4px 14px rgba(220,160,30,0.5)); }

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

/* Liens nav identiques au site principal */
.forum-nav a {
    color:rgba(255,255,255,0.5);
    text-decoration:none;
    font-size:14px; font-weight:600;
    padding:6px 12px; border-radius:8px;
    transition:color .18s, background .18s; white-space:nowrap;
}
.forum-nav a:hover, .forum-nav a.active {
    color:#fff; background:rgba(255,255,255,0.08);
}

.back-home {
    color:var(--gold)!important;
    background:var(--gold-dim)!important;
    border:1px solid var(--gold-border)!important;
    margin-right:8px;
}
.back-home:hover { background:rgba(220,160,30,0.20)!important; }

.btn-steam {
    display:flex; align-items:center; gap:8px;
    background:rgba(255,255,255,0.06)!important;
    border:1px solid var(--border)!important;
    color:var(--soft)!important;
    padding:6px 14px; border-radius:8px;
    font-size:13px; font-weight:600; cursor:pointer;
    transition:background .15s; margin-left:6px;
}
.btn-steam:hover { background:rgba(255,255,255,0.12)!important; color:#fff!important; }
.steam-icon-circle { display:flex; flex-shrink:0; }

.user-menu { display:flex; align-items:center; gap:8px; margin-left:8px; }
.user-avatar { width:32px; height:32px; border-radius:50%; border:2px solid var(--gold-border); object-fit:cover; }
.user-menu span { font-size:13px; font-weight:600; color:var(--soft); }

.btn-logout {
    background:var(--gold-dim)!important; border:1px solid var(--gold-border)!important;
    color:var(--gold)!important; padding:5px 12px!important;
    border-radius:7px; font-size:12px; font-weight:700;
}
.btn-logout:hover { background:rgba(220,160,30,0.25)!important; }

.btn-back-site {
    display:inline-flex; align-items:center; gap:5px;
    background:rgba(255,255,255,0.05)!important;
    border:1px solid rgba(255,255,255,0.10)!important;
    color:var(--soft)!important; padding:5px 12px!important;
    border-radius:7px; font-size:12px; font-weight:700;
    transition:background .15s; margin-right:6px;
}
.btn-back-site:hover { background:rgba(255,255,255,0.10)!important; color:#fff!important; }

.nav-burger {
    display:none; flex-direction:column; gap:5px;
    background:none; border:none; cursor:pointer; padding:8px;
    flex-shrink:0; margin-left:auto;
}
.nav-burger span { display:block; width:22px; height:2px; background:rgba(255,255,255,0.7); border-radius:2px; }

/* ══ LAYOUT ══ */
.forum-wrap, .forum-container {
    max-width:var(--max); margin:0 auto;
    padding:calc(var(--nav-h) + 36px) 20px 64px;
}

/* ══ HERO FORUM ══ */
.forum-hero {
    text-align:center;
    padding:8px 0 32px;
    border-bottom:1px solid rgba(255,255,255,0.06);
    margin-bottom:32px;
}
.forum-hero h1 {
    font-size:34px; font-weight:900; letter-spacing:-0.5px;
    margin-bottom:8px;
}
.forum-hero h1 span { color:var(--gold); }
.forum-hero p { font-size:14px; color:var(--muted); margin-bottom:20px; }
.forum-hero-stats {
    display:inline-flex; gap:32px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.07);
    border-radius:999px; padding:10px 32px;
}
.forum-hero-stats .hs-n { font-size:20px; font-weight:900; color:#fff; text-align:center; line-height:1; }
.forum-hero-stats .hs-l { font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; text-align:center; margin-top:3px; }

/* ══ FLASH ══ */
.flash, .alert {
    margin-bottom:18px; padding:12px 16px;
    border-radius:var(--r-sm); font-size:13px; font-weight:600;
}
.flash-success, .alert-success { background:rgba(46,204,113,0.10); border:1px solid rgba(46,204,113,0.28); color:#6dffaa; }
.flash-error, .alert-error { background:rgba(231,76,60,0.10); border:1px solid rgba(231,76,60,0.28); color:#ffaaaa; }

/* ══ BREADCRUMB ══ */
.breadcrumb {
    display:flex; align-items:center; gap:6px; flex-wrap:wrap;
    font-size:12px; color:var(--muted); margin-bottom:22px;
    padding:9px 14px;
    background:rgba(255,255,255,0.02);
    border:1px solid var(--border); border-radius:var(--r-sm);
}
.breadcrumb a { color:var(--soft); text-decoration:none; transition:color .15s; }
.breadcrumb a:hover { color:var(--gold); }
.breadcrumb span { color:rgba(255,255,255,0.15); }
.breadcrumb .current { color:#fff; font-weight:600; }

/* ══ CATÉGORIE ══ */
.category-block {
    margin-bottom:20px; border-radius:var(--r);
    border:1px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.02);
    overflow:hidden;
    box-shadow:0 8px 40px rgba(0,0,0,0.4);
}
.category-header {
    padding:12px 20px;
    background:rgba(220,160,30,0.06);
    border-bottom:1px solid var(--border-gold);
    display:flex; align-items:center; gap:12px;
}
.category-header::before {
    content:''; display:block;
    width:3px; height:16px;
    background:var(--gold); border-radius:0; flex-shrink:0;
}
.category-header h2 {
    font-size:10px; font-weight:900; letter-spacing:2.5px;
    text-transform:uppercase; color:var(--gold); flex:1;
}
.cat-icon { font-size:16px; order:-1; }
.cat-count {
    font-size:10px; color:var(--muted);
    background:rgba(255,255,255,0.04); padding:2px 10px;
    border-radius:999px; border:1px solid var(--border);
}

/* ══ LISTE FORUMS ══ */
.forum-list { list-style:none; }

.forum-item {
    display:grid; grid-template-columns:44px 1fr 80px 80px 160px;
    gap:16px; align-items:center;
    padding:16px 24px;
    border-bottom:1px solid rgba(255,255,255,0.04);
    background:var(--bg-row);
    border-left:3px solid transparent;
    text-decoration:none; color:inherit;
    transition:background .18s, border-left-color .18s;
    cursor:pointer;
}
.forum-item:last-child { border-bottom:none; }
.forum-item:hover { background:var(--bg-hover); border-left-color:var(--gold); }

.forum-icon-wrap {
    width:44px; height:44px; border-radius:10px;
    background:var(--gold-dim); border:1px solid var(--gold-border);
    display:flex; align-items:center; justify-content:center;
    font-size:18px; flex-shrink:0; color:var(--gold);
    transition:background .18s, border-color .18s;
}
.forum-item:hover .forum-icon-wrap { background:rgba(220,160,30,0.20); border-color:rgba(220,160,30,0.45); }
.forum-icon-wrap svg { width:18px; height:18px; stroke:var(--gold); fill:none; stroke-width:1.8; }

.forum-info h3 { font-size:15px; font-weight:700; color:#eef0f8; margin-bottom:4px; transition:color .18s; }
.forum-item:hover .forum-info h3 { color:var(--gold); }
.forum-desc { font-size:13px; color:var(--muted); line-height:1.4; }
.forum-last-inline { font-size:10px; color:rgba(220,160,30,0.55); margin-top:3px; }

.forum-stat-col { text-align:center; }
.forum-stat-col .num { display:block; font-size:22px; font-weight:900; color:var(--gold); line-height:1; }
.forum-stat-col .lbl { display:block; font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; margin-top:3px; }

.forum-last { text-align:right; }
.forum-last-title { font-size:11.5px; font-weight:600; color:var(--soft); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width:155px; margin-left:auto; display:block; }
.forum-last-meta { font-size:10px; color:var(--muted); margin-top:3px; }
.forum-last-meta a { color:var(--gold); text-decoration:none; }
.forum-no-last { font-size:11px; color:rgba(255,255,255,0.15); font-style:italic; }

/* ══ TOPICS ══ */
.topics-header {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:20px; gap:14px; flex-wrap:wrap;
}
.topics-header h1 { font-size:20px; font-weight:900; }

.btn-new-topic {
    display:inline-flex; align-items:center; gap:8px;
    background:linear-gradient(135deg, var(--gold), #b87a10);
    color:#06080f; font-size:13px; font-weight:800;
    padding:9px 20px; border-radius:9px;
    text-decoration:none; border:none; cursor:pointer; font-family:inherit;
    transition:transform .18s, box-shadow .18s;
    box-shadow:0 4px 18px rgba(220,160,30,0.38);
}
.btn-new-topic:hover { transform:translateY(-2px); box-shadow:0 8px 26px rgba(220,160,30,0.55); }

.topics-table {
    border-radius:var(--r); overflow:hidden;
    border:1px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.02);
    box-shadow:0 8px 40px rgba(0,0,0,0.4);
}
.topics-table-header {
    background:rgba(220,160,30,0.06);
    border-bottom:1px solid var(--border-gold);
    padding:9px 20px;
    display:grid; grid-template-columns:1fr 80px 80px 150px;
    gap:12px; font-size:9px; font-weight:900;
    text-transform:uppercase; letter-spacing:2px; color:var(--muted);
}
.topic-row {
    padding:13px 20px; border-bottom:1px solid rgba(255,255,255,0.04);
    display:grid; grid-template-columns:1fr 80px 80px 150px;
    gap:12px; align-items:center;
    text-decoration:none; color:inherit;
    background:var(--bg-row);
    border-left:3px solid transparent;
    transition:background .18s, border-left-color .18s;
}
.topic-row:last-child { border-bottom:none; }
.topic-row:hover { background:var(--bg-hover); border-left-color:var(--gold); }

.topic-badges { display:flex; gap:4px; margin-bottom:5px; }
.badge { font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:1px; padding:2px 7px; border-radius:999px; }
.badge-pinned { background:rgba(220,160,30,0.15); color:var(--gold); border:1px solid var(--gold-border); }
.badge-locked { background:rgba(255,255,255,0.05); color:var(--muted); border:1px solid var(--border); }

.topic-title { font-size:15px; font-weight:700; color:#eef0f8; margin-bottom:4px; transition:color .18s; overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.topic-row:hover .topic-title { color:var(--gold); }
.topic-meta { font-size:11px; color:var(--muted); }
.topic-meta a { color:var(--gold); text-decoration:none; }

.topic-stat-col { text-align:center; }
.topic-stat-col .n { font-size:18px; font-weight:900; color:var(--gold); display:block; line-height:1; }
.topic-stat-col .l { font-size:9px; color:var(--muted); text-transform:uppercase; letter-spacing:1px; margin-top:2px; display:block; }

.topic-last {}
.topic-last-user { font-size:11.5px; font-weight:600; color:var(--soft); }
.topic-last-user a { color:var(--gold); text-decoration:none; }
.topic-last-date { font-size:10.5px; color:var(--muted); margin-top:2px; }

/* ══ POSTS ══ */
.post-list { display:flex; flex-direction:column; gap:12px; margin-bottom:28px; }
.topic-page-header { margin-bottom:24px; }
.topic-page-header h1 { font-size:22px; font-weight:900; line-height:1.2; }

.post-item, .post-card {
    border-radius:var(--r); overflow:hidden;
    border:1px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.02);
    box-shadow:0 4px 20px rgba(0,0,0,0.4);
    display:grid; grid-template-columns:120px 1fr;
}
.post-item:first-child, .post-card.first-post { border-color:var(--border-gold); }

.post-author {
    padding:20px 14px; border-right:1px solid rgba(255,255,255,0.06);
    background:rgba(220,160,30,0.02);
    display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center;
}
.post-author img {
    width:60px; height:60px; border-radius:50%;
    border:2px solid var(--gold-border); object-fit:cover; margin-bottom:2px;
}
.post-author-name { font-weight:800; font-size:12px; color:#fff; }
.post-author-badge {
    font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.5px;
    padding:2px 8px; border-radius:4px;
    background:var(--gold-dim); color:var(--gold); border:1px solid var(--gold-border);
}

.post-item > div:not(.post-author) { padding:18px 20px; display:flex; flex-direction:column; min-width:0; }
.post-content { font-size:13.5px; line-height:1.8; color:rgba(255,255,255,0.82); white-space:pre-wrap; word-wrap:break-word; flex:1; }
.post-meta { font-size:11px; color:var(--muted); margin-top:14px; padding-top:10px; border-top:1px solid rgba(255,255,255,0.05); }
.admin-bar { display:flex; justify-content:flex-end; margin-bottom:8px; }

/* ══ LEGACY CLASSES (forum_view.php / topic.php) ══ */
.forum-category {
    margin-bottom:20px; border-radius:var(--r);
    border:1px solid rgba(255,255,255,0.07);
    background:rgba(255,255,255,0.02);
    overflow:hidden; box-shadow:0 8px 40px rgba(0,0,0,0.4);
}
.forum-category .category-header {
    padding:12px 20px; background:rgba(220,160,30,0.06);
    border-bottom:1px solid var(--border-gold);
    display:flex; align-items:center; gap:12px;
}
.category-icon { font-size:16px; }
.forum-category .category-header h2 {
    font-size:10px; font-weight:900; letter-spacing:2.5px;
    text-transform:uppercase; color:var(--gold);
}

.topic-list { list-style:none; }
.topic-item {
    display:grid; grid-template-columns:42px 1fr auto;
    gap:14px; align-items:center; padding:13px 20px;
    border-bottom:1px solid rgba(255,255,255,0.04);
    background:var(--bg-row); border-left:3px solid transparent;
    transition:background .18s, border-left-color .18s; cursor:pointer;
}
.topic-item:last-child { border-bottom:none; }
.topic-item:hover { background:var(--bg-hover); border-left-color:var(--gold); }
.topic-avatar img { width:42px; height:42px; border-radius:50%; border:2px solid var(--gold-border); object-fit:cover; display:block; }
.topic-info .topic-title { font-size:14px; font-weight:700; margin-bottom:4px; }
.topic-info .topic-title a { color:#eef0f8; text-decoration:none; transition:color .18s; }
.topic-item:hover .topic-info .topic-title a { color:var(--gold); }
.topic-info .topic-meta { font-size:11px; color:var(--muted); }
.topic-info .topic-meta strong { color:var(--soft); }
.topic-stats { text-align:right; white-space:nowrap; font-size:12px; color:var(--muted); }
.topic-stats strong { display:block; font-size:22px; font-weight:900; color:var(--gold); line-height:1; margin-bottom:2px; }

/* ══ FORMULAIRES ══ */
.new-topic-form, .reply-form, .reply-box {
    background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.07);
    border-radius:var(--r); padding:24px;
    box-shadow:0 4px 20px rgba(0,0,0,0.4); margin-bottom:20px;
}
.new-topic-form h2, .reply-form h2, .reply-box h3 {
    font-size:16px; font-weight:800; margin-bottom:18px;
    padding-bottom:12px; border-bottom:1px solid rgba(255,255,255,0.07); color:#fff;
}
.form-group, .form-field { margin-bottom:16px; }
.form-group label, .form-field label {
    display:block; margin-bottom:7px;
    font-size:10.5px; font-weight:800; color:var(--soft);
    text-transform:uppercase; letter-spacing:1px;
}
.form-group input, .form-group textarea,
.form-field input, .form-field textarea, .form-field select {
    width:100%; padding:11px 14px;
    background:rgba(255,255,255,0.04); border:1px solid rgba(255,255,255,0.08);
    border-radius:var(--r-sm); color:#fff; font-family:inherit; font-size:13.5px;
    transition:border-color .2s; outline:none;
}
.form-group input:focus, .form-group textarea:focus,
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
    border-color:var(--gold-border); background:rgba(220,160,30,0.04);
}
.form-group textarea, .form-field textarea { min-height:120px; resize:vertical; line-height:1.6; }

/* ══ BOUTONS ══ */
.btn {
    display:inline-flex; align-items:center; justify-content:center; gap:6px;
    padding:10px 22px; border-radius:var(--r-sm); text-decoration:none;
    font-weight:700; font-size:13px; border:none; cursor:pointer; font-family:inherit;
    transition:transform .18s, box-shadow .18s;
}
.btn-primary { background:linear-gradient(135deg,var(--gold),#b87a10); color:#06080f; box-shadow:0 4px 16px rgba(220,160,30,0.35); }
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 7px 22px rgba(220,160,30,0.5); }
.btn-secondary { background:rgba(255,255,255,0.07); color:var(--soft); border:1px solid rgba(255,255,255,0.1); }
.btn-secondary:hover { background:rgba(255,255,255,0.12); color:#fff; }

button[type="submit"], input[type="submit"] {
    background:linear-gradient(135deg,var(--gold),#b87a10);
    color:#06080f; padding:11px 26px; border-radius:var(--r-sm);
    border:none; font-weight:800; font-size:13px; cursor:pointer;
    font-family:inherit; transition:transform .18s, box-shadow .18s;
    box-shadow:0 4px 14px rgba(220,160,30,0.32);
}
button[type="submit"]:hover, input[type="submit"]:hover { transform:translateY(-1px); box-shadow:0 6px 20px rgba(220,160,30,0.5); }

.btn-delete-post {
    background:rgba(220,160,30,0.07); border:1px solid var(--gold-border);
    color:var(--gold); padding:4px 11px; border-radius:5px; font-size:11px; font-weight:700;
    cursor:pointer; font-family:inherit; transition:background .15s;
    display:inline-flex; align-items:center; gap:4px;
}
.btn-delete-post:hover { background:rgba(220,160,30,0.20); }

/* ══ SIDEBAR (masquée) ══ */
.forum-sidebar { display:none!important; }

/* ══ TABLES ADMIN ══ */
.table-wrap { overflow-x:auto; border-radius:var(--r); }
table { width:100%; border-collapse:collapse; min-width:550px; }
thead { background:rgba(220,160,30,0.08); }
th { padding:11px 15px; text-align:left; font-size:10px; font-weight:900; text-transform:uppercase; letter-spacing:1px; color:rgba(255,255,255,0.7); }
td { padding:11px 15px; border-bottom:1px solid rgba(255,255,255,0.05); font-size:13px; vertical-align:middle; }
tr:last-child td { border:none; }
tr:hover td { background:rgba(220,160,30,0.03); }

select { background:rgba(8,13,26,0.95); color:#fff; padding:8px 12px; border:1px solid rgba(255,255,255,0.08); border-radius:var(--r-sm); font-size:13px; font-weight:600; cursor:pointer; font-family:inherit; outline:none; transition:border-color .2s; }
select:focus, select:hover { border-color:var(--gold-border); }
select option { background:#0d1422; }
input[type="checkbox"] { width:15px; height:15px; cursor:pointer; accent-color:var(--gold); }

/* ══ AUTH ══ */
.auth-container { min-height:calc(100vh - var(--nav-h)); display:flex; align-items:center; justify-content:center; padding:40px 20px; }
.auth-box {
    background:rgba(255,255,255,0.02); border:1px solid rgba(255,255,255,0.08);
    border-radius:var(--r); padding:36px 32px; width:100%; max-width:400px;
    box-shadow:0 8px 40px rgba(0,0,0,0.5);
}
.auth-box h1 { font-size:20px; font-weight:900; margin-bottom:6px; }
.auth-box p { font-size:13px; color:var(--muted); margin-bottom:24px; }

/* ══ RESPONSIVE ══ */
@media (max-width:1300px) {
    .forum-item { grid-template-columns:44px 1fr 80px 80px; }
    .forum-last { display:none; }
}
@media (max-width:900px) {
    .topic-row, .topics-table-header { grid-template-columns:1fr 70px 70px; }
    .topic-last { display:none; }
}
@media (max-width:768px) {
    :root { --nav-h:56px; }
    .forum-nav-content { padding:0 14px; }
    .logo img { height:32px; }
    .nav-right {
        position:fixed; top:var(--nav-h); left:-100%;
        width:100%; height:calc(100dvh - var(--nav-h));
        flex-direction:column; align-items:flex-start; gap:4px;
        background:rgba(4,7,16,0.98); padding:16px 14px;
        transition:left .28s; z-index:999;
        border-top:1px solid var(--border); overflow-y:auto;
    }
    .nav-right.open { left:0; }
    .nav-right>a,.nav-right .btn-steam { font-size:15px!important; padding:11px 14px!important; width:100%; border-radius:9px!important; }
    .user-menu { flex-direction:column; align-items:flex-start; width:100%; padding:8px 0; }
    .btn-logout { width:100%!important; justify-content:center!important; }
    .nav-burger { display:flex; }
    .forum-wrap,.forum-container { padding:calc(var(--nav-h)+14px) 12px 40px; }
    .category-header { padding:10px 14px; }
    .forum-item { grid-template-columns:38px 1fr; padding:12px 14px; gap:10px; }
    .forum-stat-col,.forum-last { display:none; }
    .topic-item { grid-template-columns:36px 1fr; }
    .topic-stats,.topic-last { display:none; }
    .topic-row,.topics-table-header { grid-template-columns:1fr; }
    .post-item,.post-card { grid-template-columns:1fr; }
    .post-author { flex-direction:row; text-align:left; padding:12px 14px; border-right:none; border-bottom:1px solid rgba(255,255,255,0.06); }
    .post-author img { width:40px; height:40px; margin-bottom:0; }
    .post-item>div:not(.post-author) { padding:14px; }
    .new-topic-form,.reply-form,.reply-box { padding:16px 14px; }
    .topics-header { flex-direction:column; align-items:flex-start; }
    .btn-new-topic { width:100%; justify-content:center; }
    .forum-hero-stats { gap:20px; padding:10px 20px; }
    .forum-hero h1 { font-size:22px; }
}

/* ══ GRANDS ÉCRANS (34 pouces / ultrawide) ══ */
@media (min-width:1600px) {
    :root {
        --max: 1500px;
        --nav-h: 70px;
    }
    .logo img { height:50px; }
    .forum-nav a { font-size:15px; padding:7px 14px; }
    .forum-hero h1 { font-size:42px; }
    .forum-hero p { font-size:15px; }
    .forum-hero-stats .hs-n { font-size:26px; }
    .category-header h2 { font-size:11px; letter-spacing:3px; }
    .forum-item { padding:18px 28px; gap:20px; }
    .forum-icon-wrap { width:52px; height:52px; }
    .forum-icon-wrap svg { width:22px; height:22px; }
    .forum-info h3 { font-size:16px; }
    .forum-desc { font-size:13px; }
    .forum-stat-col .num { font-size:24px; }
    .topic-row { padding:15px 28px; }
    .topic-title { font-size:15px; }
    .post-item { grid-template-columns:140px 1fr; }
    .post-author img { width:70px; height:70px; }
    .post-content { font-size:15px; }
    .topics-table-header { padding:11px 28px; }
    .forum-wrap, .forum-container { padding:calc(var(--nav-h) + 44px) 32px 80px; }
}
@media (min-width:2000px) {
    :root { --max: 1700px; }
}
