/* =====================================================================
   Thème « Prestige » WowRock — même style que les guides de classe.
   Actif seulement quand <body class="theme-prestige">.
   ===================================================================== */
@font-face { font-family: 'Friz'; src: url('img/fonts/FRIZQT__.TTF') format('truetype'); font-display: swap; }

body.theme-prestige {
    --gold: #8d6e2c;
    --gold-bright: #ffd100;
    --gold-soft: #f0c35a;
    --bg-dark: #050403;
    --bg-panel: rgba(16, 12, 8, 0.86);
    --border: #3a2b10;
    --border-strong: #6d5420;
    --text: #e2d6bc;
    --text-dim: #9c8b66;
    background: #050403;
    color: var(--text);
}
/* Voile sombre au-dessus des fonds animés pour garder la lisibilité */
body.theme-prestige::before {
    content: ''; position: fixed; inset: 0; z-index: -1; pointer-events: none;
    background: radial-gradient(ellipse at 50% -10%, rgba(120, 80, 20, .22), transparent 55%),
                linear-gradient(180deg, rgba(5, 4, 3, .55), rgba(5, 4, 3, .82) 70%, rgba(5, 4, 3, .95));
}
body.theme-prestige .section-bg-video { opacity: .55; }

/* ---------- Typographie ---------- */
body.theme-prestige h1, body.theme-prestige h2, body.theme-prestige h3,
body.theme-prestige .brand, body.theme-prestige .topnav a, body.theme-prestige button,
body.theme-prestige .btn, body.theme-prestige .btn-ghost, body.theme-prestige .btn-accent,
body.theme-prestige .btn-outline, body.theme-prestige table th, body.theme-prestige .badge,
body.theme-prestige .stat-num, body.theme-prestige .stat-label, body.theme-prestige .eyebrow,
body.theme-prestige .admin-nav-group summary, body.theme-prestige footer {
    font-family: 'Friz', Georgia, serif;
}
body.theme-prestige h1 {
    background: linear-gradient(180deg, #fff2c4, #f0c35a 45%, #a8761c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    filter: drop-shadow(0 2px 0 #000) drop-shadow(0 0 12px rgba(240, 180, 60, .22));
    letter-spacing: 1px; font-weight: 400;
}
body.theme-prestige h2 { color: var(--gold-bright); font-weight: 400; letter-spacing: 1.5px; text-shadow: 0 2px 0 #000; }
body.theme-prestige h3 { color: var(--gold-soft); font-weight: 400; letter-spacing: .5px; }
body.theme-prestige a { color: var(--gold-soft); }
body.theme-prestige a:hover { color: #fff2c4; }
body.theme-prestige .or-t { color: var(--gold-bright); }

/* ---------- En-tête ---------- */
body.theme-prestige .site-header {
    background: linear-gradient(180deg, rgba(14, 10, 6, .96), rgba(8, 6, 4, .9));
    border-bottom: 1px solid #000;
    box-shadow: 0 1px 0 var(--border-strong), 0 6px 24px rgba(0, 0, 0, .7);
}
body.theme-prestige .site-header::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 0, .35), transparent);
    pointer-events: none;
}
body.theme-prestige .brand { color: var(--gold-bright); }
body.theme-prestige .site-logo { filter: drop-shadow(0 0 10px rgba(255, 190, 60, .25)); }
body.theme-prestige .topnav a {
    color: #d9ccaa; font-size: 13px; letter-spacing: .8px; text-transform: uppercase;
    border-radius: 0; padding: 9px 11px; position: relative; background: none;
}
body.theme-prestige .topnav a::after {
    content: ''; position: absolute; left: 50%; right: 50%; bottom: 2px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
    transition: left .2s, right .2s;
}
body.theme-prestige .topnav a:hover, body.theme-prestige .topnav a.active { color: var(--gold-bright); background: none; }
body.theme-prestige .topnav a:hover::after, body.theme-prestige .topnav a.active::after { left: 8px; right: 8px; }
body.theme-prestige .header-actions .btn-ghost {
    font-size: 12px; letter-spacing: .8px; text-transform: uppercase; color: #d9ccaa;
    border: 1px solid var(--border-strong); border-radius: 3px;
    background: linear-gradient(180deg, rgba(40, 30, 14, .6), rgba(10, 8, 5, .6));
}
body.theme-prestige .header-actions .btn-ghost:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

/* ---------- Boutons « d'action » (or) ---------- */
body.theme-prestige .btn-accent, body.theme-prestige .hero-cta .btn-accent,
body.theme-prestige .header-actions .btn-accent {
    background: linear-gradient(180deg, #ffe48a, #d9a12c 50%, #8a5e10);
    border: 1px solid #000; color: #2a1800 !important; text-shadow: 0 1px 0 rgba(255, 240, 190, .6);
    box-shadow: 0 0 0 1px #c9a34a, 0 3px 10px rgba(0, 0, 0, .6), 0 0 18px rgba(255, 190, 60, .2);
    border-radius: 3px; text-transform: uppercase; letter-spacing: 1px; font-weight: 400;
}
body.theme-prestige .btn-accent:hover { filter: brightness(1.1); box-shadow: 0 0 0 1px #ffd25e, 0 3px 12px rgba(0, 0, 0, .6), 0 0 26px rgba(255, 200, 80, .4); }
body.theme-prestige .hero-cta .btn-outline {
    border: 1px solid var(--border-strong); color: #e8dcc0; border-radius: 3px;
    background: rgba(10, 8, 5, .6); text-transform: uppercase; letter-spacing: 1px;
}

/* Boutons classiques */
body.theme-prestige button, body.theme-prestige .btn {
    background: linear-gradient(180deg, #2c2110, #120d06);
    border: 1px solid #000; color: var(--gold-bright);
    box-shadow: 0 0 0 1px var(--border-strong), inset 0 1px 0 rgba(255, 220, 140, .12);
    border-radius: 3px; letter-spacing: .8px; text-shadow: 0 1px 0 #000;
    transition: box-shadow .15s, filter .15s;
}
body.theme-prestige button:hover, body.theme-prestige .btn:hover {
    background: linear-gradient(180deg, #3d2e14, #1a1309);
    box-shadow: 0 0 0 1px #c9a34a, 0 0 14px rgba(255, 200, 80, .25), inset 0 1px 0 rgba(255, 220, 140, .18);
}

/* ---------- Panneaux (cadre doré avec coins) ---------- */
body.theme-prestige .panel-box, body.theme-prestige .server-card, body.theme-prestige .hero, body.theme-prestige .wg-card {
    background: radial-gradient(ellipse at 50% -10%, rgba(120, 80, 20, .16), transparent 60%),
                linear-gradient(180deg, rgba(23, 17, 10, .92), rgba(12, 9, 6, .92) 60%, rgba(16, 11, 7, .92));
    border: 1px solid #5c4515; border-radius: 2px;
    box-shadow: 0 0 0 3px rgba(18, 13, 5, .95), 0 0 0 4px #4a3812, 0 10px 30px rgba(0, 0, 0, .6), inset 0 0 40px rgba(0, 0, 0, .55);
    position: relative;
}
body.theme-prestige .panel-box::before, body.theme-prestige .panel-box::after,
body.theme-prestige .server-card::before, body.theme-prestige .server-card::after,
body.theme-prestige .hero::before, body.theme-prestige .hero::after {
    content: ''; position: absolute; width: 26px; height: 26px; border: 2px solid #c9a34a; opacity: .75; pointer-events: none;
}
body.theme-prestige .panel-box::before, body.theme-prestige .server-card::before, body.theme-prestige .hero::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
body.theme-prestige .panel-box::after, body.theme-prestige .server-card::after, body.theme-prestige .hero::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }
body.theme-prestige .panel-box { margin-bottom: 30px; }
body.theme-prestige .panel-box h2 {
    border-bottom: 0; padding-bottom: 0; margin-bottom: 18px;
    display: flex; align-items: center; gap: 12px; text-transform: uppercase; font-size: 20px;
}
body.theme-prestige .panel-box h2::after {
    content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #8a6a24, transparent);
}

/* ---------- Accueil ---------- */
body.theme-prestige .hero .eyebrow { color: var(--gold-bright); letter-spacing: 4px; }
body.theme-prestige .hero h1 { text-shadow: none; }
body.theme-prestige .hero p.hero-sub, body.theme-prestige .server-card p.desc { color: #d9ccaa; }
body.theme-prestige .hero-logo { filter: drop-shadow(0 0 20px rgba(255, 190, 60, .3)); }
body.theme-prestige .server-card h2 { color: #fff2c4; }
body.theme-prestige .server-card .server-sub { color: var(--gold-soft); letter-spacing: 2px; }
body.theme-prestige .stats-row .stat-num {
    background: linear-gradient(180deg, #fff2c4, #f0c35a 50%, #a8761c);
    -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400;
}
body.theme-prestige .stats-row .stat-label { color: var(--text-dim); letter-spacing: 1.5px; }
body.theme-prestige .badge {
    background: rgba(10, 8, 5, .7); border: 1px solid var(--border-strong); color: #d9ccaa; border-radius: 3px;
}
body.theme-prestige .feature-item {
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(0, 0, 0, .25)); border: 1px solid #2e2210; border-radius: 4px;
}
body.theme-prestige .features-cards .feature-item:hover { border-color: #c9a34a; box-shadow: 0 0 16px rgba(255, 190, 60, .15); }
body.theme-prestige .features-cards .feature-icon, body.theme-prestige .feature-icon {
    border-radius: 6px; border: 0;
    box-shadow: 0 0 0 1px #000, 0 0 0 3px #3b2d12, 0 0 0 4px #8d6e2c, 0 4px 10px rgba(0, 0, 0, .8);
}
body.theme-prestige .features-cards .feature-item.is-highlight {
    border-color: #c9a34a; background: linear-gradient(90deg, rgba(255, 190, 60, .14), rgba(0, 0, 0, .2) 70%);
}
body.theme-prestige .features-cards .feature-highlight-text strong { color: var(--gold-bright); font-family: 'Friz', Georgia, serif; font-weight: 400; }
body.theme-prestige .feature-item .dot { background: var(--gold-bright); box-shadow: 0 0 8px rgba(255, 209, 0, .6); }
body.theme-prestige .wg-card { background: radial-gradient(ellipse at 50% 0%, rgba(40, 70, 120, .25), rgba(12, 9, 6, .92) 70%); }
body.theme-prestige .wg-card .wg-title { color: var(--gold-bright); font-family: 'Friz', Georgia, serif; }
body.theme-prestige .wg-card .wg-timer { font-family: 'Friz', Georgia, serif; font-weight: 400; color: #fff2c4; }

/* ---------- Formulaires ---------- */
body.theme-prestige input, body.theme-prestige select, body.theme-prestige textarea {
    background: rgba(6, 5, 3, .85); border: 1px solid #3b2d12; color: #efe4c8; border-radius: 3px;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, .7);
}
body.theme-prestige input:focus, body.theme-prestige select:focus, body.theme-prestige textarea:focus {
    outline: none; border-color: #c9a34a; box-shadow: inset 0 1px 4px rgba(0, 0, 0, .7), 0 0 10px rgba(255, 200, 80, .2);
}
body.theme-prestige input[type=checkbox], body.theme-prestige input[type=radio] { accent-color: #d9a12c; box-shadow: none; }

/* ---------- Tableaux ---------- */
body.theme-prestige table th {
    color: var(--gold-bright); font-weight: 400; letter-spacing: 1.2px; font-size: 12px;
    border-bottom: 1px solid #6d5420; background: linear-gradient(180deg, rgba(60, 44, 16, .35), transparent);
}
body.theme-prestige table td { border-bottom: 1px solid rgba(58, 43, 16, .6); }
body.theme-prestige table tr:hover td { background: rgba(255, 200, 80, .035); }

/* ---------- Messages ---------- */
body.theme-prestige .success { color: #1eff00; }
body.theme-prestige .error { color: #ff5a3c; }

/* ---------- Pied de page ---------- */
body.theme-prestige footer {
    border-top: 1px solid var(--border); color: #8c7a52; letter-spacing: 2.5px; text-transform: uppercase; font-size: 11px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .6));
}
body.theme-prestige footer a { color: var(--gold-bright); }

/* ---------- Panel admin ---------- */
body.theme-prestige .admin-page-heading { border-bottom: 1px solid var(--border); padding-bottom: 14px; }
body.theme-prestige .admin-page-heading h1 { font-size: 32px; }
body.theme-prestige .admin-page-heading p { color: var(--text-dim); }
body.theme-prestige .admin-nav-group {
    background: linear-gradient(180deg, rgba(23, 17, 10, .9), rgba(12, 9, 6, .9));
    border: 1px solid #3a2b10; border-radius: 2px;
}
body.theme-prestige .admin-nav-group summary { color: var(--gold-soft); letter-spacing: .8px; text-transform: uppercase; font-size: 12px; }
body.theme-prestige .admin-nav-link { color: #d9ccaa; border-radius: 0; }
body.theme-prestige .admin-nav-link.is-active {
    color: var(--gold-bright); border-left-color: var(--gold-bright); font-weight: 400;
    background: linear-gradient(90deg, rgba(255, 200, 80, .14), transparent);
}
body.theme-prestige .admin-home-card { border-radius: 2px !important; border-color: #3a2b10 !important; background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.3)) !important; }
body.theme-prestige .admin-home-card:hover { border-color: #c9a34a !important; box-shadow: 0 0 14px rgba(255, 190, 60, .15); }
body.theme-prestige .admin-home-card strong { font-family: 'Friz', Georgia, serif; font-weight: 400; }
body.theme-prestige .nav-badge { background: linear-gradient(180deg, #e0402a, #8a1508); box-shadow: 0 0 0 1px #000; }

/* ---------- Barre de défilement ---------- */
body.theme-prestige ::-webkit-scrollbar { width: 10px; height: 10px; }
body.theme-prestige ::-webkit-scrollbar-track { background: #0a0705; }
body.theme-prestige ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #6d5420, #3a2b10); border: 2px solid #0a0705; border-radius: 6px; }
body.theme-prestige ::selection { background: rgba(255, 200, 80, .35); color: #fff; }

@media (max-width: 800px) {
    body.theme-prestige .topnav a { font-size: 12px; padding: 7px 8px; }
    body.theme-prestige .panel-box::before, body.theme-prestige .panel-box::after { width: 18px; height: 18px; }
}

/* =====================================================================
   Accueil Prestige : grande bannière, raccourcis, réorganisation
   ===================================================================== */
body.theme-prestige .content-container { max-width: 1240px; }
body.theme-prestige .pr-banner {
    position: relative; margin: 0 0 26px; padding: 54px 30px 34px; text-align: center; overflow: hidden;
    border: 1px solid #5c4515; outline: 1px solid #000;
    box-shadow: 0 0 0 4px #120d05, 0 0 0 5px #6d5420, 0 20px 50px rgba(0,0,0,.7), inset 0 0 80px rgba(0,0,0,.6);
    background: radial-gradient(ellipse at 50% 0%, rgba(255,190,80,.18), transparent 55%),
                radial-gradient(ellipse at 50% 120%, rgba(0,0,0,.9), transparent 70%),
                linear-gradient(180deg, rgba(23,17,10,.55), rgba(8,6,4,.88));
}
body.theme-prestige .pr-banner::before, body.theme-prestige .pr-banner::after {
    content: ''; position: absolute; width: 56px; height: 56px; border: 2px solid #c9a34a; opacity: .85; pointer-events: none;
}
body.theme-prestige .pr-banner::before { top: 10px; left: 10px; border-right: 0; border-bottom: 0; }
body.theme-prestige .pr-banner::after { bottom: 10px; right: 10px; border-left: 0; border-top: 0; }
body.theme-prestige .pr-eyebrow { margin: 0 0 14px; font-family: 'Friz', Georgia, serif; color: #b7a47a; letter-spacing: 6px; text-transform: uppercase; font-size: 13px; }
body.theme-prestige .pr-logo { display: block; margin: 0 auto 6px; max-height: 150px; max-width: 80%; filter: drop-shadow(0 0 28px rgba(255,190,60,.35)) drop-shadow(0 6px 10px #000); }
body.theme-prestige .pr-titre { font-family: 'Friz', Georgia, serif; font-size: 58px; margin: 0; text-transform: uppercase; letter-spacing: 3px; line-height: 1.05; }
body.theme-prestige .pr-logo + .pr-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
body.theme-prestige .pr-sous { margin: 14px auto 26px; color: #d9ccaa; font-size: 16px; letter-spacing: 1px; }
body.theme-prestige .pr-cta { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }
body.theme-prestige .pr-gros { padding: 14px 34px !important; font-size: 16px !important; text-decoration: none; }
body.theme-prestige .pr-sec {
    font-family: 'Friz', Georgia, serif; text-transform: uppercase; letter-spacing: 1px; font-size: 13px; text-decoration: none;
    color: #e8dcc0; padding: 12px 22px; border: 1px solid #000; border-radius: 3px;
    background: linear-gradient(180deg, rgba(44,33,16,.9), rgba(18,13,6,.9)); box-shadow: 0 0 0 1px #6d5420;
}
body.theme-prestige .pr-sec:hover { color: var(--gold-bright); box-shadow: 0 0 0 1px #c9a34a, 0 0 14px rgba(255,200,80,.25); }
body.theme-prestige .pr-stats { display: grid; grid-template-columns: repeat(4, 1fr); max-width: 900px; margin: 0 auto; border-top: 1px solid #3a2b10; }
body.theme-prestige .pr-stat { display: flex; flex-direction: column; gap: 4px; padding: 18px 8px 4px; text-decoration: none; position: relative; }
body.theme-prestige .pr-stat + .pr-stat::before { content: ''; position: absolute; left: 0; top: 22px; bottom: 6px; width: 1px; background: linear-gradient(180deg, #6d5420, transparent); }
body.theme-prestige .pr-stat b {
    font-family: 'Friz', Georgia, serif; font-weight: 400; font-size: 30px;
    background: linear-gradient(180deg, #fff2c4, #f0c35a 50%, #a8761c); -webkit-background-clip: text; background-clip: text; color: transparent;
}
body.theme-prestige .pr-stat b.pr-vert, body.theme-prestige .pr-stat b.pr-rouge { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
body.theme-prestige .pr-stat b i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
body.theme-prestige .pr-stat b.pr-vert i { background: #22c55e; box-shadow: 0 0 12px #22c55e; animation: prPouls 1.6s infinite; }
body.theme-prestige .pr-stat b.pr-rouge i { background: #ef4444; box-shadow: 0 0 12px #ef4444; }
@keyframes prPouls { 50% { opacity: .35; } }
body.theme-prestige .pr-stat span { color: #9c8b66; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-family: 'Friz', Georgia, serif; }
body.theme-prestige a.pr-stat:hover span { color: var(--gold-bright); }

body.theme-prestige .pr-raccourcis { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
body.theme-prestige .pr-rac {
    display: flex; align-items: center; gap: 12px; padding: 12px; text-decoration: none; border-radius: 3px;
    background: linear-gradient(180deg, rgba(30,22,12,.92), rgba(12,9,6,.92)); border: 1px solid #3a2b10;
    transition: border-color .15s, box-shadow .15s, transform .15s;
}
body.theme-prestige .pr-rac:hover { border-color: #c9a34a; box-shadow: 0 0 18px rgba(255,190,60,.18); transform: translateY(-2px); }
body.theme-prestige .pr-rac img { width: 42px; height: 42px; border-radius: 6px; flex: none; box-shadow: 0 0 0 1px #000, 0 0 0 3px #3b2d12, 0 0 0 4px #8d6e2c, 0 4px 10px rgba(0,0,0,.8); }
body.theme-prestige .pr-rac:hover img { box-shadow: 0 0 0 1px #000, 0 0 0 3px #5a3f0c, 0 0 0 4px #ffd25e, 0 0 16px rgba(255,200,80,.35); }
body.theme-prestige .pr-rac span { display: flex; flex-direction: column; min-width: 0; }
body.theme-prestige .pr-rac strong { font-family: 'Friz', Georgia, serif; font-weight: 400; color: var(--gold-bright); font-size: 15px; }
body.theme-prestige .pr-rac em { font-style: normal; font-size: 12px; color: #9c8b66; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* La bannière reprend le titre, les boutons et les chiffres : on les retire des cadres du dessous */
body.theme-prestige .home-mid .hero { display: none !important; }
body.theme-prestige .home-top .server-card .server-card-top,
body.theme-prestige .home-top .server-card > p.desc,
body.theme-prestige .home-top .server-card .stats-row { display: none !important; }
body.theme-prestige .home-top .server-card { display: flex; flex-direction: column; justify-content: center; }
body.theme-prestige .home-top .server-card .home-faction-split { margin-top: auto; }
body.theme-prestige .home-top .server-card > p[style] { border-radius: 3px !important; letter-spacing: .3px; }
body.theme-prestige .home-mid .wg-card { flex: 1 1 auto; }
body.theme-prestige .home-faction-side span { color: #9c8b66; font-family: 'Friz', Georgia, serif; letter-spacing: 1.5px; }
body.theme-prestige .home-faction-side strong { font-family: 'Friz', Georgia, serif; font-weight: 400; }

/* Cadre Discord accordé au thème */
body.theme-prestige .dc-card { background: transparent; }
body.theme-prestige .dc-head { border-bottom-color: #3a2b10; }
body.theme-prestige .dc-head strong { font-family: 'Friz', Georgia, serif; font-weight: 400; }
body.theme-prestige .dc-card h4 { font-family: 'Friz', Georgia, serif; color: #b7a47a; letter-spacing: 2px; }
body.theme-prestige .dc-join, body.theme-prestige .home-discord-join { border-radius: 3px; font-family: 'Friz', Georgia, serif; font-weight: 400; letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Pied de page Prestige ---------- */
body.theme-prestige footer.pr-footer {
    margin-top: 60px; padding: 0; text-align: left; letter-spacing: 0; text-transform: none; font-size: 14px; color: #9c8b66;
    border-top: 1px solid #000; box-shadow: 0 -1px 0 #6d5420;
    background: radial-gradient(ellipse at 50% 0%, rgba(120,80,20,.16), transparent 60%), linear-gradient(180deg, #0f0b07, #050403);
}
body.theme-prestige .pr-footer-in { max-width: 1240px; margin: 0 auto; padding: 40px 20px 26px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
body.theme-prestige .pr-fmarque img { max-height: 70px; max-width: 220px; filter: drop-shadow(0 0 14px rgba(255,190,60,.25)); }
body.theme-prestige .pr-fmarque p { margin: 12px 0 0; line-height: 1.6; color: #9c8b66; font-family: 'Lora', Georgia, serif; }
body.theme-prestige .pr-fcol h4 { margin: 4px 0 14px; font-family: 'Friz', Georgia, serif; font-weight: 400; color: var(--gold-bright); text-transform: uppercase; letter-spacing: 2px; font-size: 14px; }
body.theme-prestige .pr-fcol a { display: block; color: #d9ccaa; text-decoration: none; padding: 4px 0; font-family: 'Lora', Georgia, serif; }
body.theme-prestige .pr-fcol a:hover { color: var(--gold-bright); }
body.theme-prestige .pr-fbas {
    max-width: 1240px; margin: 0 auto; padding: 16px 20px; border-top: 1px solid #3a2b10;
    display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
    font-family: 'Friz', Georgia, serif; text-transform: uppercase; letter-spacing: 3px; font-size: 12px; color: #8c7a52;
}
body.theme-prestige .pr-fbas b { color: var(--gold-bright); letter-spacing: 4px; font-weight: 400; }
body.theme-prestige .pr-flegal { max-width: 1240px; margin: 0 auto; padding: 0 20px 22px; font-size: 11px; color: #5e5340; text-align: center; }

@media (max-width: 1100px) {
    body.theme-prestige .pr-raccourcis { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    body.theme-prestige .pr-banner { padding: 40px 16px 24px; }
    body.theme-prestige .pr-titre { font-size: 38px; }
    body.theme-prestige .pr-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.theme-prestige .pr-stat:nth-child(3)::before { display: none; }
    body.theme-prestige .pr-stat b { font-size: 24px; }
    body.theme-prestige .pr-raccourcis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body.theme-prestige .pr-footer-in { grid-template-columns: 1fr 1fr; }
    body.theme-prestige .pr-fmarque { grid-column: 1 / -1; }
    body.theme-prestige .pr-fbas { justify-content: center; text-align: center; }
}

/* Cartes de l'accueil : titres et équilibre des factions */
body.theme-prestige .pr-logo { border-radius: 4px; box-shadow: 0 0 0 1px #000, 0 0 0 3px #3b2d12, 0 0 0 4px #c9a34a, 0 0 30px rgba(255,190,60,.25), 0 10px 24px rgba(0,0,0,.8); filter: none; margin-bottom: 18px; }
body.theme-prestige .home-top .server-card { justify-content: flex-start; }
body.theme-prestige .pr-carte-titre {
    margin: 0 0 16px !important; color: var(--gold-bright) !important; font-size: 20px !important; text-transform: uppercase;
    display: flex; align-items: center; gap: 12px; border: 0 !important; padding: 0 !important;
}
body.theme-prestige .pr-carte-titre::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, #8a6a24, transparent); }
body.theme-prestige .pr-carte-sous {
    margin: auto 0 0; padding-top: 18px; font-size: 13px; color: #b7a47a; text-transform: uppercase; letter-spacing: 3px; text-align: center;
}
body.theme-prestige .home-top .server-card .home-faction-split { margin-top: 10px; border-top: 0; padding-top: 6px; }
body.theme-prestige .home-faction-side .faction-crest, body.theme-prestige .home-faction-side img { filter: drop-shadow(0 0 8px rgba(0,0,0,.8)); }
body.theme-prestige .home-faction-bar { height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px #000, 0 0 0 2px #4a3812; }
body.theme-prestige .home-top .server-card > p[style] { display: block !important; margin: 0 0 10px !important; }
body.theme-prestige .wg-card .wg-title { font-size: 16px; letter-spacing: 4px; }
body.theme-prestige .wg-card .wg-owner { font-family: 'Friz', Georgia, serif; font-weight: 400; font-size: 30px; }
body.theme-prestige .wg-card .wg-owner img { height: 40px !important; box-shadow: 0 0 0 1px #000, 0 0 0 3px #3b2d12, 0 0 0 4px #8d6e2c; }
body.theme-prestige .wg-card .wg-timer { font-size: 46px; }

/* Téléphone : l'en-tête ne reste plus collé en haut (il prenait un tiers de l'écran) */
@media (max-width: 800px) {
    body.theme-prestige .site-header { position: relative; }
    body.theme-prestige .header-actions { justify-content: center; flex-wrap: wrap; width: 100%; }
}

/* Carte Événements : calendrier de la semaine + chiffres du royaume (les anciennes pastilles sont masquées) */
body.theme-prestige .home-top .server-card > p[style] { display: none !important; }
body.theme-prestige .pr-agenda { display: flex; flex-direction: column; gap: 6px; }
body.theme-prestige .pr-ag-ligne {
    display: flex; align-items: center; gap: 12px; padding: 7px 10px; border: 1px solid transparent; border-radius: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,.025), transparent);
}
body.theme-prestige .pr-ag-ligne img { width: 32px; height: 32px; border-radius: 5px; flex: none; filter: grayscale(.6) brightness(.7);
    box-shadow: 0 0 0 1px #000, 0 0 0 2px #3b2d12, 0 0 0 3px #6d5420; }
body.theme-prestige .pr-ag-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.25; }
body.theme-prestige .pr-ag-txt strong { font-family: 'Friz', Georgia, serif; font-weight: 400; color: #c9b88e; font-size: 14px; }
body.theme-prestige .pr-ag-txt span { font-size: 12px; color: #7d6e52; }
body.theme-prestige .pr-ag-ligne em { font-style: normal; font-size: 11px; text-align: right; color: #9c8b66; white-space: nowrap; }
body.theme-prestige .pr-ag-ligne.is-on {
    border-color: #c9a34a; background: linear-gradient(90deg, rgba(255,190,60,.16), rgba(0,0,0,.1) 80%);
    box-shadow: 0 0 14px rgba(255,190,60,.12);
}
body.theme-prestige .pr-ag-ligne.is-on img { filter: none; box-shadow: 0 0 0 1px #000, 0 0 0 2px #5a3f0c, 0 0 0 3px #ffd25e, 0 0 12px rgba(255,200,80,.35); }
body.theme-prestige .pr-ag-ligne.is-on strong { color: var(--gold-bright); }
body.theme-prestige .pr-ag-ligne.is-on span { color: #b7a47a; }
body.theme-prestige .pr-ag-ligne .pr-ag-etat { color: #1eff00; }
body.theme-prestige .pr-royaume { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; border-top: 1px solid #3a2b10; }
body.theme-prestige .pr-royaume div { display: flex; flex-direction: column; align-items: center; padding: 12px 4px 0; position: relative; }
body.theme-prestige .pr-royaume div + div::before { content: ''; position: absolute; left: 0; top: 14px; bottom: 0; width: 1px; background: linear-gradient(180deg, #6d5420, transparent); }
body.theme-prestige .pr-royaume b { font-family: 'Friz', Georgia, serif; font-weight: 400; font-size: 24px;
    background: linear-gradient(180deg, #fff2c4, #f0c35a 50%, #a8761c); -webkit-background-clip: text; background-clip: text; color: transparent; }
body.theme-prestige .pr-royaume span { font-family: 'Friz', Georgia, serif; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: #9c8b66; }

/* Logo détouré (sans cadre) dans la bannière et le pied de page */
body.theme-prestige .pr-banner .pr-logo { border-radius: 0; box-shadow: none; max-height: 170px; max-width: 90%; margin: 4px auto 10px;
    filter: drop-shadow(0 0 30px rgba(255,150,40,.28)) drop-shadow(0 8px 12px rgba(0,0,0,.9)); }
body.theme-prestige .pr-fmarque img { max-height: 64px; }

body.theme-prestige .pr-rac em { white-space: normal; line-height: 1.3; }
/* Logo détouré aussi dans l en-tête */
body.theme-prestige .site-logo { content: url("img/prestige/logo_wowrock.png"); height: 44px; width: auto; max-height: none; border-radius: 0; }

/* Page Rejoindre : bloc du lanceur aux couleurs du thème (plus de bleu) */
body.theme-prestige .lc-box { border: 1px solid #5c4515 !important;
    background: radial-gradient(ellipse at 50% -10%, rgba(120,80,20,.16), transparent 60%), linear-gradient(180deg, rgba(23,17,10,.92), rgba(12,9,6,.92) 60%, rgba(16,11,7,.92)) !important; }
body.theme-prestige .lc-reco { color: #b7a47a !important; font-family: 'Friz', Georgia, serif; letter-spacing: 1px; }
body.theme-prestige .lc-box > p { color: #d9ccaa !important; }
body.theme-prestige .lc-btn { background: linear-gradient(180deg, #ffe48a, #d9a12c 50%, #8a5e10) !important; color: #2a1800 !important; border: 1px solid #000 !important;
    text-shadow: 0 1px 0 rgba(255,240,190,.6); box-shadow: 0 0 0 1px #c9a34a, 0 3px 10px rgba(0,0,0,.6), 0 0 18px rgba(255,190,60,.2);
    font-family: 'Friz', Georgia, serif; text-transform: uppercase; letter-spacing: 1px; }
body.theme-prestige .lc-btn:hover { filter: brightness(1.1); }
body.theme-prestige .lc-step { background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.25)) !important; border: 1px solid #2e2210; border-radius: 3px !important; }
body.theme-prestige .lc-shot { border: 0 !important; border-radius: 3px !important; box-shadow: 0 0 0 1px #000, 0 0 0 3px #3b2d12, 0 0 0 4px #8d6e2c; }
body.theme-prestige .lc-step-t { color: var(--gold-bright) !important; font-family: 'Friz', Georgia, serif; font-weight: 400 !important; font-size: 15px !important; }
body.theme-prestige .lc-step-p { color: #b9ab8b !important; font-size: 13px !important; line-height: 1.5; }
body.theme-prestige .lc-fl { display: none; }

/* Nouveau logo d'accueil (il contient déjà « Wrath of the Lich King 3.3.5 ») */
body.theme-prestige .pr-banner .pr-eyebrow { display: none; }
body.theme-prestige .pr-banner { padding-top: 34px; }
body.theme-prestige .pr-banner .pr-logo { max-height: none; width: 640px; max-width: 92%; margin: 0 auto 6px;
    filter: drop-shadow(0 0 40px rgba(255,170,50,.25)) drop-shadow(0 10px 16px rgba(0,0,0,.9)); }
