/* =============================================
   Garry's Mod France - Styles
   ============================================= */

:root {
    --bg: #0d1017;
    --bg-alt: #141923;
    --surface: #1a2030;
    --border: #262e42;
    --text: #e6e9f0;
    --muted: #8b93a7;
    --accent: #2f8cff;
    --accent-hover: #4c9dff;
    --discord: #5865f2;
    --discord-hover: #4752c4;
    --success: #2ecc71;
    --error: #e74c3c;
    --warning: #f5b942;
    --steam: #1b2838;
    --radius: 10px;
    --nav-h: 70px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }

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

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(13, 16, 23, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    white-space: nowrap;
}

.brand-logo {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--accent), #1a5fd1);
    font-weight: 700;
    font-size: 1.4rem;
}

.brand-text strong { color: var(--accent); }

.nav-links {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-links > a {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--muted);
    transition: color .2s, background .2s;
}

.nav-links > a:hover { color: var(--text); background: var(--surface); }
.nav-links > a.active { color: var(--text); background: var(--surface); }

.nav-user { margin-left: auto; }

.btn-discord {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--discord);
    color: #fff;
    font-weight: 600;
    transition: background .2s, transform .1s;
}

.btn-discord:hover { background: var(--discord-hover); }
.btn-discord:active { transform: scale(.97); }

/* Menu utilisateur */
.user-menu { position: relative; }

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 12px 5px 5px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-weight: 500;
    cursor: pointer;
}

.user-btn:hover { border-color: var(--discord); }

.avatar { width: 32px; height: 32px; border-radius: 50%; }

.dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    min-width: 180px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: all .15s;
}

.dropdown.open { opacity: 1; visibility: visible; transform: none; }

.dropdown a {
    display: block;
    padding: 9px 12px;
    border-radius: 6px;
    color: var(--muted);
}

.dropdown a:hover { background: var(--bg-alt); color: var(--text); }
.dropdown a.danger:hover { color: var(--error); }
.dropdown-head { padding: 6px 12px 10px; border-bottom: 1px solid var(--border); margin-bottom: 4px; }

/* Burger mobile */
.nav-toggle {
    display: none;
    margin-left: auto;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    height: 2px;
    width: 24px;
    margin: 0 auto;
    background: var(--text);
    transition: .2s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Flash ---------- */
.flash {
    max-width: 1280px;
    margin: 16px auto 0;
    padding: 12px 18px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--surface);
    width: calc(100% - 48px);
}
.flash-success { border-color: var(--success); }
.flash-error { border-color: var(--error); }

/* ---------- Hero ---------- */
.hero {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 60px 24px;
    background:
        radial-gradient(ellipse at top, rgba(47, 140, 255, .18), transparent 60%),
        var(--bg);
}

.hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(2.2rem, 6vw, 4rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero h1 span { color: var(--accent); }

.hero p { color: var(--muted); font-size: 1.15rem; margin-bottom: 32px; }

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
    padding: 12px 26px;
    border-radius: 8px;
    font-weight: 600;
    transition: all .2s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--border); }
.btn-ghost:hover { border-color: var(--accent); }

/* ---------- Pages ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 40px 24px; }

.page-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.placeholder {
    padding: 40px;
    text-align: center;
    color: var(--muted);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

/* ---------- Footer ---------- */
.footer {
    padding: 28px 24px;
    text-align: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: .9rem;
}
.footer-small { font-size: .8rem; opacity: .7; margin-top: 4px; }

/* ---------- Titres / intro ---------- */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    margin-bottom: 24px;
}
.page-intro { color: var(--muted); margin: -8px 0 28px; }
.muted { color: var(--muted); }

/* ---------- Boutons supplémentaires ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; cursor: pointer; font: inherit; font-weight: 600; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 7px 14px; font-size: .9rem; }
.btn-success { background: var(--success); color: #0d1017; }
.btn-success:hover { filter: brightness(1.1); }
.btn-danger { background: var(--error); color: #fff; }
.btn-danger:hover { filter: brightness(1.1); }
.btn-steam { background: var(--steam); color: #fff; border-color: #2a475e; }
.btn-steam:hover { background: #2a475e; }
.btn-ghost { background: transparent; color: var(--text); }
button.btn-discord { border: none; cursor: pointer; font: inherit; font-weight: 600; }

/* ---------- Badges / tags ---------- */
.badge {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 600;
    color: var(--badge);
    background: color-mix(in srgb, var(--badge) 15%, transparent);
    border: 1px solid color-mix(in srgb, var(--badge) 40%, transparent);
    white-space: nowrap;
}
.tag { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: .8rem; font-weight: 600; background: var(--bg-alt); color: var(--muted); }
.tag.ok   { background: rgba(46, 204, 113, .15); color: var(--success); }
.tag.ko   { background: rgba(231, 76, 60, .15);  color: var(--error); }
.tag.wait { background: rgba(245, 185, 66, .15); color: var(--warning); }

/* ---------- Réseaux sociaux ---------- */
.socials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.social-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.social-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.social-head div { display: flex; flex-direction: column; line-height: 1.3; }
.social-head a { color: var(--muted); font-size: .9rem; }
.social-head a:hover { color: var(--accent); }
.social-icon { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; }
.social-icon.tiktok { background: #000; color: #fff; box-shadow: -2px -2px 0 #25f4ee, 2px 2px 0 #fe2c55; }
.social-icon.instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); color: #fff; }
.social-embed { flex: 1; display: flex; justify-content: center; }
.social-embed blockquote { margin: 0 !important; width: 100%; max-width: 540px; }
.social-fallback { align-self: center; text-align: center; color: var(--muted); }
.social-fallback p { margin-bottom: 16px; }

/* ---------- Cartes (partenaires / premium) ---------- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); border-color: var(--accent); }
.card-img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; background: var(--surface); display: block; }
.card-body { padding: 20px; display: flex; flex-direction: column; flex: 1; gap: 12px; }
.card-body h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; }
.card-desc { color: var(--muted); }
.card-footer { margin-top: auto; padding-top: 8px; }
.offer-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; font-weight: 700; color: var(--warning); white-space: nowrap; }
.advantages { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.advantages li { padding-left: 24px; position: relative; }
.advantages li::before { content: '✓'; position: absolute; left: 0; color: var(--success); font-weight: 700; }

/* ---------- Tableau de bord ---------- */
.dash {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
}
.dash-side {
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
}
.dash-profile { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.dash-profile div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dash-profile strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dash-avatar { width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0; }
.dash-section { margin: 18px 8px 6px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.dash-nav { display: flex; flex-direction: column; gap: 2px; }
.dash-nav a { padding: 9px 12px; border-radius: 8px; color: var(--muted); font-weight: 500; }
.dash-nav a:hover { background: var(--surface); color: var(--text); }
.dash-nav a.active { background: color-mix(in srgb, var(--accent) 15%, transparent); color: var(--accent); }
.dash-main { min-width: 0; }
.dash-title { font-family: 'Rajdhani', sans-serif; font-size: 2rem; margin-bottom: 20px; }
.dash-subtitle { font-family: 'Rajdhani', sans-serif; font-size: 1.35rem; margin: 32px 0 14px; }
.dash-intro { color: var(--muted); margin-bottom: 20px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 16px; }
.stat { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 6px; }
.stat-label { color: var(--muted); font-size: .85rem; }
.stat-value { font-family: 'Rajdhani', sans-serif; font-size: 1.9rem; font-weight: 700; line-height: 1.1; }
.stat-value.small { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 600; }

.panel { background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; margin-bottom: 16px; }
.panel.center { text-align: center; }
.panel.center p { margin: 8px 0 18px; }
.panel h3 { font-family: 'Rajdhani', sans-serif; font-size: 1.35rem; }
.panel h4 { margin: 16px 0 6px; font-size: .9rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }

.linked-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; }
.linked-row + .linked-row { border-top: 1px solid var(--border); }
.linked-info { display: flex; align-items: center; gap: 12px; }
.linked-info div { display: flex; flex-direction: column; line-height: 1.3; }
.linked-info small { color: var(--muted); }
.linked-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.linked-icon.discord { background: var(--discord); }
.linked-icon.steam { background: var(--steam); border: 1px solid #2a475e; }
.linked-ok { color: var(--success); font-size: .9rem; }

/* Formulaires */
.form { display: flex; flex-direction: column; gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: .92rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=url], input[type=search], textarea, select {
    width: 100%;
    padding: 10px 12px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--accent); }
textarea { resize: vertical; }
.form .btn { align-self: flex-start; }

.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 14px; border: 1px solid; }
.alert-error { border-color: var(--error); background: rgba(231, 76, 60, .08); }
.alert-info  { border-color: var(--accent); background: rgba(47, 140, 255, .08); }

.search { display: flex; gap: 10px; margin-bottom: 18px; }
.search input { flex: 1; }

/* Tableaux */
.table-wrap { overflow-x: auto; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.table tr:last-child td { border-bottom: none; }
.user-cell { display: flex; align-items: center; gap: 10px; }
.user-cell div { display: flex; flex-direction: column; line-height: 1.3; }
.user-cell small { color: var(--muted); font-size: .8rem; }
.role-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.role-form select { width: auto; min-width: 150px; padding: 7px 10px; }

.tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--border); }
.tabs a { padding: 10px 16px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a.active { color: var(--text); border-color: var(--accent); }
.actions { display: flex; gap: 10px; margin-top: 16px; }


/* ---------- v3 : menu, boutique admin, demandes, forum ---------- */
.dash-nav a { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.count {
    min-width: 22px; height: 22px; padding: 0 7px;
    display: inline-grid; place-items: center;
    border-radius: 999px; background: var(--error); color: #fff;
    font-size: .75rem; font-weight: 700;
}
.actions.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 0; }
.actions.inline form { margin: 0; }
.thumb { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; background: var(--surface); }
.image-preview { max-width: 320px; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.form label.checkbox { flex-direction: row; align-items: center; gap: 10px; align-self: end; padding-bottom: 10px; }
.checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }
input[type=number], input[type=password], input[type=date], input[type=file] {
    width: 100%; padding: 10px 12px; background: var(--bg);
    border: 1px solid var(--border); border-radius: 8px; color: var(--text); font: inherit;
}
input[type=date] { color-scheme: dark; }
code { background: var(--bg); padding: 1px 6px; border-radius: 4px; font-size: .85em; }
.status-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.panel[data-provider][hidden] { display: none; }

.details { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 12px 0; }
.details dt { color: var(--muted); font-size: .9rem; }
.staff-reply { margin-top: 14px; padding: 12px 16px; border-left: 3px solid var(--accent); background: var(--bg); border-radius: 0 8px 8px 0; }
.staff-reply strong { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 4px; }
.reply-form { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border); }

.back { color: var(--muted); font-size: .9rem; }
.back:hover { color: var(--accent); }
.forum-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.forum-top .dash-intro { margin: 0; }
.topic-list { display: flex; flex-direction: column; gap: 8px; }
.topic-row {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    padding: 14px 18px; background: var(--bg-alt); border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .2s;
}
.topic-row:hover { border-color: var(--accent); }
.topic-row.pinned { border-left: 3px solid var(--warning); }
.topic-row div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.topic-row small { font-size: .8rem; }
.replies { font-family: 'Rajdhani', sans-serif; font-size: 1.4rem; font-weight: 700; white-space: nowrap; text-align: center; line-height: 1; }
.replies small { display: block; font-family: 'Inter', sans-serif; font-size: .7rem; font-weight: 400; color: var(--muted); }
.topic-title { font-family: 'Rajdhani', sans-serif; font-size: 1.6rem; }
.topic .author { margin: 4px 0 16px; }
.topic-content { line-height: 1.75; }
.author strong { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.avatar-empty { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; }
.post .panel-head { margin-bottom: 10px; }


/* ---------- Conversation des candidatures ---------- */
.chat { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.chat-empty { font-size: .9rem; }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); }
.chat-msg p { margin-top: 4px; }
.chat-msg.from-staff { align-self: flex-start; border-top-left-radius: 4px; }
.chat-msg.from-candidate { align-self: flex-end; border-top-right-radius: 4px; background: color-mix(in srgb, var(--accent) 12%, var(--surface)); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.chat-msg.internal { border-style: dashed; border-color: color-mix(in srgb, var(--warning) 45%, transparent); }
.chat-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .85rem; }
.avatar-xs { width: 22px; height: 22px; border-radius: 50%; }
.chat-closed { text-align: center; font-size: .9rem; padding: 8px; border-top: 1px dashed var(--border); }
.chat-form { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.chat-actions { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.chat-actions .btn { margin-left: auto; }
.chat-actions label.checkbox { display: flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); padding: 0; }
@media (max-width: 600px) { .chat-msg { max-width: 100%; } }


/* ---------- v5 : menu repliable par espace ---------- */
.dash-side { max-height: calc(100vh - var(--nav-h) - 40px); overflow-y: auto; }
.dash-search { margin: 14px 0 6px; }
.dash-search input { padding: 8px 12px; font-size: .9rem; }
.dash-group { margin-top: 10px; }
.dash-group + .dash-group { border-top: 1px solid var(--border); padding-top: 10px; }
.dash-group-head {
    width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px;
    padding: 8px; background: none; border: none; border-radius: 8px; cursor: pointer;
    color: var(--text); font: inherit; font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700;
    letter-spacing: .02em; text-align: left;
}
.dash-group-head:hover { background: var(--surface); }
.dash-group-right { display: inline-flex; align-items: center; gap: 8px; }
.chevron { color: var(--muted); transition: transform .2s; }
.dash-group.open .chevron { transform: rotate(180deg); }
.dash-group .dash-nav { display: none; padding: 4px 0 2px 6px; }
.dash-group.open .dash-nav { display: flex; }
.dash-group.open .dash-group-head > span:first-child { color: var(--accent); }
/* Le compteur global se cache quand l'espace est ouvert (les compteurs détaillés suffisent) */
.dash-group.open .dash-group-right .count { display: none; }

/* ---------- Fiche joueur ---------- */
.player-link { color: var(--text); border-bottom: 1px dashed var(--muted); }
.player-link:hover { color: var(--accent); border-color: var(--accent); }
.profile-head { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.profile-avatar { width: 84px; height: 84px; border-radius: 50%; border: 3px solid var(--border); }
.profile-id { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: 4px; }
.profile-id h2 { font-family: 'Rajdhani', sans-serif; font-size: 1.7rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.timeline { list-style: none; border-left: 2px solid var(--border); padding-left: 18px; display: flex; flex-direction: column; gap: 12px; }
.timeline li { position: relative; display: flex; flex-direction: column; }
.timeline li::before { content: ''; position: absolute; left: -24px; top: 6px; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.readonly-note { text-align: center; padding: 14px; border: 1px dashed var(--border); border-radius: var(--radius); }

@media (max-width: 960px) {
    .dash-side { max-height: none; }
    .dash-group .dash-nav { flex-direction: column; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .dash { grid-template-columns: 1fr; }
    .dash-side { position: static; }
}

@media (max-width: 860px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        gap: 4px;
        background: var(--bg-alt);
        border-bottom: 1px solid var(--border);
        display: none;
    }

    .nav-links.open { display: flex; }

    .nav-user { margin: 10px 0 0; }
    .nav-user .btn-discord { width: 100%; justify-content: center; }
    .user-btn { width: 100%; }
    .dropdown { position: static; margin-top: 6px; display: none; opacity: 1; visibility: visible; transform: none; }
    .dropdown.open { display: block; }
}

@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; }
    .socials-grid, .cards-grid { grid-template-columns: 1fr; }
    .container, .dash { padding-left: 16px; padding-right: 16px; }
    .search { flex-direction: column; }
}
