:root {
    color-scheme: dark;
    --ink: #100b08;
    --panel: #1b120d;
    --text: #f4e9d8;
    --muted: #b9a994;
    --gold: #d9a65e;
    --line: rgba(239, 202, 151, .16);
    --serif: "Cinzel", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font-family: var(--sans); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }

.site-header {
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 92px;
    padding: 0 7.2%;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    width: 34px;
    height: 40px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font: 600 22px var(--serif);
    transform: skew(-5deg);
}
.brand-name { font: 600 14px var(--serif); letter-spacing: .12em; white-space: nowrap; }
.brand-name span { color: var(--gold); }
.main-nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); margin-left: clamp(24px, 5vw, 80px); }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 10px 0; color: rgba(242, 239, 232, .7); font-size: 13px; letter-spacing: .04em; transition: color .2s ease; }
.nav-link > i { color: var(--gold); font-size: 12px; }
.nav-link:hover, .nav-link.is-active { color: var(--text); }
.nav-link.is-active::after { position: absolute; right: 0; bottom: -17px; left: 0; height: 1px; background: var(--gold); content: ""; }
.battlenet-login { color: #e6bd74; }
.battlenet-login > i, .nav-account > i { color: #e6bd74; font-size: 15px; }
.nav-account { display: inline-flex; max-width: 170px; align-items: center; gap: 8px; color: var(--text); font-size: 12px; }
.nav-account > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-logout-form { margin: 0; }
.nav-logout { display: inline-flex; align-items: center; gap: 7px; padding: 8px 10px; border: 1px solid rgba(239, 202, 151, .25); background: transparent; color: var(--muted); cursor: pointer; font: 500 11px var(--sans); transition: color .2s ease, border-color .2s ease; }
.nav-logout:hover { border-color: var(--gold); color: var(--gold); }
.header-cta { padding: 13px 17px; border: 1px solid rgba(214, 179, 107, .62); color: var(--gold); font-size: 12px; letter-spacing: .04em; transition: background .2s ease, color .2s ease; }
.header-cta:hover { background: var(--gold); color: var(--ink); }
.header-cta > i { margin-left: 12px; font-size: 12px; transition: transform .2s ease; }
.header-cta:hover > i { transform: translateX(3px); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 740px; height: min(900px, 100svh); overflow: hidden; background: #11151a; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { visibility: hidden; opacity: 0; transition: opacity .9s ease, visibility .9s; }
.hero-slide.is-active { visibility: visible; opacity: 1; }
.slide-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transform: scale(1.04); transition: transform 7s ease; }
.hero-slide.is-active .slide-art { transform: scale(1); }
.slide-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7, 9, 13, .91) 0%, rgba(7, 9, 13, .65) 35%, rgba(7, 9, 13, .08) 76%), linear-gradient(0deg, rgba(7, 9, 13, .77) 0%, transparent 35%, rgba(7, 9, 13, .17) 100%); }
.ambient-effects { position: absolute; z-index: 1; inset: 0; overflow: hidden; pointer-events: none; }
.window-light { position: absolute; top: 34%; left: 7%; width: 52%; height: 63%; opacity: .38; background: linear-gradient(108deg, transparent 0%, rgba(255, 218, 151, .025) 15%, rgba(255, 218, 151, .12) 31%, rgba(255, 218, 151, .045) 49%, transparent 72%); filter: blur(13px); transform: skewX(-17deg); transform-origin: top left; animation: window-rays 9s ease-in-out infinite alternate; }
.fire-glow { position: absolute; right: 25%; bottom: 13%; width: min(42vw, 600px); height: min(40vh, 420px); border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 133, 48, .22), rgba(232, 88, 27, .09) 36%, transparent 72%); filter: blur(17px); transform-origin: 68% 72%; animation: fire-flicker 2.6s ease-in-out infinite alternate; }
.smoke { position: absolute; right: 37%; bottom: 31%; width: clamp(70px, 10vw, 150px); height: clamp(130px, 23vh, 240px); border-radius: 50%; background: radial-gradient(ellipse at 50% 75%, rgba(194, 174, 155, .15), rgba(145, 132, 121, .07) 40%, transparent 72%); filter: blur(16px); opacity: 0; transform: translate3d(0, 30px, 0) scale(.65); animation: smoke-rise 8s ease-out infinite; }
.smoke-two { right: 41%; width: clamp(90px, 12vw, 180px); animation-delay: 2.7s; animation-duration: 9.5s; }
.smoke-three { right: 34%; width: clamp(55px, 8vw, 120px); animation-delay: 5.1s; animation-duration: 7.5s; }
.ember-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
@keyframes smoke-rise { 0% { opacity: 0; transform: translate3d(0, 30px, 0) scale(.65); } 18% { opacity: .45; } 72% { opacity: .18; } 100% { opacity: 0; transform: translate3d(-42px, -210px, 0) scale(1.55); } }
@keyframes fire-flicker { 0% { opacity: .66; transform: scale(.96); } 43% { opacity: .95; transform: scale(1.04); } 76% { opacity: .74; transform: scale(.99); } 100% { opacity: 1; transform: scale(1.06); } }
@keyframes window-rays { 0% { opacity: .24; transform: skewX(-17deg) translateX(-5px); } 100% { opacity: .48; transform: skewX(-14deg) translateX(9px); } }
.server-status-list { border-top: 1px solid var(--line); }
.server-status-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.server-status-name { font: 600 16px var(--serif); }
.server-status-badge { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 11px; white-space: nowrap; }
.status-indicator { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #aa957e; box-shadow: 0 0 10px currentColor; }
.status-online { color: #a7ce8f; }
.status-online .status-indicator { background: #83c76f; }
.status-offline { color: #d98b76; }
.status-offline .status-indicator { background: #ce6958; }
.status-maintenance { color: #e5bd72; }
.status-maintenance .status-indicator { background: #e5ae48; }
.status-unknown { color: #baa995; }
.server-status-note { margin: 26px 0 0; color: rgba(244, 233, 216, .68); font-size: 12px; line-height: 1.8; }
.server-status-note > i { margin-right: 5px; color: var(--gold); }
.server-status-note code { color: var(--text); font-size: 10px; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 23px; color: var(--gold); font-size: 9px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero-slide h1, .hero-slide h2, .guild-copy h2, .join-section h2 { margin: 0; font: 500 clamp(50px, 6.2vw, 88px)/1.08 var(--serif); letter-spacing: -.055em; }
.hero-slide h1 em, .hero-slide h2 em, .guild-copy h2 em, .join-section h2 em { color: var(--gold); font-style: normal; }
.hero-content, .slide-caption { z-index: 2; }
.hero-content { position: absolute; top: 50%; left: 14.5%; width: min(520px, 55%); transform: translateY(-40%); }
.hero-copy { max-width: 385px; margin: 24px 0 31px; color: rgba(242, 239, 232, .76); font-size: 13px; line-height: 1.9; }
.primary-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 50px; padding: 0 20px; background: var(--gold); color: #11110f; font-size: 10px; font-weight: 800; letter-spacing: .06em; transition: background .2s ease, transform .2s ease; }
.primary-button > i:last-child { margin-left: 7px; font-size: 12px; }
.primary-button > .fa-discord { font-size: 16px; }
.primary-button:hover { background: #ecd092; transform: translateY(-2px); }
.slide-caption { position: absolute; right: 7.2%; bottom: 108px; display: flex; align-items: center; gap: 14px; color: rgba(242, 239, 232, .74); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.slide-caption span:first-child { color: var(--gold); }
.caption-rule { width: 44px; height: 1px; background: rgba(214, 179, 107, .7); }
.hero-ui { position: absolute; z-index: 4; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; height: 78px; padding: 0 clamp(24px, 5vw, 72px); border-top: 1px solid rgba(255, 255, 255, .19); background: linear-gradient(90deg, rgba(13, 8, 5, .28), rgba(13, 8, 5, .86)); }
.carousel-label { display: inline-flex; align-items: center; gap: 10px; color: rgba(244, 233, 216, .62); font-size: 12px; }
.carousel-label > i { color: var(--gold); }
.slide-count { display: flex; gap: 10px; color: rgba(242, 239, 232, .45); font-size: 10px; letter-spacing: .16em; }
.slide-count span:first-child { color: var(--gold); }
.count-divider { color: rgba(242, 239, 232, .28); }
.carousel-controls { display: flex; align-items: center; gap: 17px; }
.carousel-arrow { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(255, 255, 255, .24); background: transparent; color: var(--text); cursor: pointer; font-size: 15px; transition: border-color .2s ease, color .2s ease; }
.carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }
.carousel-dots { display: flex; align-items: center; gap: 7px; }
.carousel-dot { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 50%; background: rgba(242, 239, 232, .45); cursor: pointer; transition: width .25s ease, background .25s ease; }
.carousel-dot.is-active { width: 22px; border-radius: 6px; background: var(--gold); }
.scroll-cue { display: grid; width: 34px; height: 34px; place-items: center; color: rgba(242, 239, 232, .58); }
.scroll-cue > i { color: var(--gold); font-size: 12px; animation: cue-bob 1.8s ease-in-out infinite; }
@keyframes cue-bob { 50% { transform: translateY(4px); } }
.hero-edge { position: absolute; top: 50%; right: 0; display: grid; width: 52px; height: 90px; place-items: center; border: 1px solid rgba(214, 179, 107, .38); border-right: 0; color: rgba(214, 179, 107, .6); font: 16px var(--serif); transform: translateY(-50%); }

.guild-section { position: relative; display: grid; grid-template-columns: 1fr .84fr; gap: 11%; align-items: center; min-height: 510px; padding: 112px 14.5%; overflow: hidden; background: var(--panel); }
.section-mark { position: absolute; right: 4%; bottom: -170px; color: rgba(214, 179, 107, .035); font: 500 480px/.9 var(--serif); pointer-events: none; }
.guild-copy, .guild-values { position: relative; z-index: 1; }
.guild-copy .eyebrow { margin-bottom: 20px; }
.guild-copy h2, .join-section h2 { font-size: clamp(38px, 4.3vw, 58px); }
.guild-copy > p:last-child { max-width: 400px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 2; }
.guild-values { border-top: 1px solid var(--line); }
.value-item { display: flex; gap: 24px; padding: 21px 0; border-bottom: 1px solid var(--line); }
.value-item > .value-icon { display: grid; width: 28px; height: 28px; flex: 0 0 28px; place-items: center; border: 1px solid rgba(217, 166, 94, .35); border-radius: 50%; color: var(--gold); font-size: 11px; }
.value-item h3 { margin: 0 0 5px; font: 500 15px var(--serif); }
.value-item p { margin: 0; color: var(--muted); font-size: 10px; line-height: 1.7; }

.join-section { position: relative; display: flex; min-height: 435px; flex-direction: column; align-items: center; justify-content: center; padding: 90px 20px; overflow: hidden; background: #0b0e13; text-align: center; }
.join-glow { position: absolute; top: -250px; left: 50%; width: 660px; height: 500px; border-radius: 50%; background: radial-gradient(ellipse, rgba(156, 102, 41, .15), transparent 70%); transform: translateX(-50%); pointer-events: none; }
.join-section > *:not(.join-glow) { position: relative; }
.join-section .eyebrow { justify-content: center; margin-bottom: 18px; }
.join-section > p:not(.eyebrow) { margin: 19px 0 26px; color: var(--muted); font-size: 12px; }

.site-footer { display: flex; min-height: 96px; align-items: center; justify-content: space-between; padding: 0 7.2%; border-top: 1px solid var(--line); background: #080a0e; }
.footer-brand .brand-mark { width: 28px; height: 32px; font-size: 17px; }
.footer-brand .brand-name { font-size: 12px; }
.site-footer > p, .footer-note { color: rgba(242, 239, 232, .68); font-size: 12px; letter-spacing: .02em; }
.site-footer > p > i { margin-right: 7px; color: var(--gold); }
.footer-meta { display: flex; align-items: center; gap: 20px; }
.footer-social { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid rgba(217, 166, 94, .35); color: var(--gold); transition: background .2s ease, color .2s ease; }
.footer-social:hover { background: var(--gold); color: var(--ink); }
.footer-social i { font-size: 15px; }
.footer-note > i { margin-right: 4px; }
.footer-status-link { display: inline-flex; align-items: center; gap: 8px; color: rgba(242, 239, 232, .72); font-size: 12px; transition: color .2s ease; }
.footer-status-link > i { color: var(--gold); }
.footer-status-link:hover { color: var(--gold); }

.status-page-main { min-height: calc(100vh - 96px); padding-top: 92px; }
.status-page { position: relative; display: flex; min-height: 620px; align-items: center; justify-content: center; padding: 72px 24px; overflow: hidden; background: radial-gradient(ellipse at 50% 5%, #3b2417 0%, #1a100b 47%, #100b08 100%); }
.status-page-glow { position: absolute; top: -250px; left: 50%; width: min(800px, 90vw); height: 600px; border-radius: 50%; background: radial-gradient(ellipse, rgba(218, 119, 48, .16), transparent 70%); transform: translateX(-50%); pointer-events: none; }
.status-page-content { position: relative; width: min(100%, 680px); }
.status-back-link { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 56px; color: var(--muted); font-size: 13px; transition: color .2s ease; }
.status-back-link:hover { color: var(--gold); }
.status-page-content > .eyebrow { margin-bottom: 18px; }
.status-page-content > h1 { margin: 0; font: 600 clamp(36px, 6vw, 60px)/1.15 var(--serif); }
.status-page-intro { margin: 18px 0 34px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.status-page-content .server-status-row { padding: 23px 0; }
.status-page-content .server-status-name { font-size: 19px; }
.status-page-content .server-status-badge { font-size: 13px; }
.status-page-content .status-indicator { width: 10px; height: 10px; flex-basis: 10px; }

.auth-page { display: grid; min-height: min(680px, calc(100svh - 188px)); place-items: center; padding: 132px 24px 64px; background: radial-gradient(ellipse at 50% 25%, #392014 0%, #1a100b 48%, #100b08 100%); }
.auth-card { width: min(100%, 640px); padding: clamp(28px, 6vw, 64px); border: 1px solid rgba(232, 178, 112, .25); background: rgba(22, 14, 9, .82); box-shadow: 0 24px 90px rgba(0, 0, 0, .25); }
.auth-card h1 { margin: 0; font: 600 clamp(28px, 5vw, 42px)/1.2 var(--serif); }
.auth-card > p:not(.eyebrow) { margin: 18px 0 28px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.auth-card .primary-button { min-height: 48px; font-size: 12px; }
.auth-card .screen-warning-icon { margin-bottom: 24px; }

@media (max-width: 900px) {
    .site-header { height: 78px; padding: 0 5%; }
    .main-nav { gap: 20px; margin-left: 0; }
    .header-cta { padding: 12px; }
    .hero-content { left: 10%; }
    .guild-section { gap: 7%; padding: 90px 10%; }
}
@media (min-width: 821px) and (max-width: 1120px) {
    .header-cta { display: none; }
    .main-nav { gap: 16px; }
    .nav-link { font-size: 12px; }
}
@media (max-width: 820px) {
    .site-header { height: 72px; }
    .brand { gap: 9px; }
    .brand-mark { width: 29px; height: 34px; font-size: 18px; }
    .brand-name { font-size: 11px; }
    .header-cta { margin-left: auto; padding: 11px 13px; font-size: 12px; }
    .header-cta > i { margin-left: 7px; }
    .menu-toggle { display: grid; width: 44px; height: 44px; place-items: center; margin-left: 12px; border: 1px solid var(--line); background: transparent; color: var(--gold); cursor: pointer; }
    .menu-toggle > i { font-size: 16px; }
    .main-nav { position: absolute; top: 71px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 5% 14px; border-bottom: 1px solid var(--line); background: rgba(9, 11, 16, .97); }
    .main-nav.is-open { display: flex; }
    .nav-link { gap: 12px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
    .nav-link > i { width: 18px; text-align: center; font-size: 14px; }
    .nav-link.is-active::after { display: none; }
    .nav-account { max-width: none; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 15px; }
    .nav-logout-form { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
    .nav-logout { min-height: 42px; padding: 0 12px; font-size: 13px; }
    .hero { min-height: 690px; height: 92svh; max-height: 850px; }
    .slide-art { object-position: 62% center; }
    .slide-shade { background: linear-gradient(90deg, rgba(7, 9, 13, .84), rgba(7, 9, 13, .27)), linear-gradient(0deg, rgba(7, 9, 13, .78), transparent 48%); }
    .hero-content { top: 48%; left: 8%; width: 84%; transform: translateY(-35%); }
    .hero-slide h1, .hero-slide h2 { font-size: clamp(49px, 14vw, 70px); }
    .hero-copy { max-width: 330px; margin: 19px 0 24px; font-size: 14px; }
    .eyebrow { font-size: 10px; letter-spacing: .12em; }
    .hero-ui { height: 70px; padding-right: 5%; padding-left: 5%; }
    .slide-caption { right: 8%; bottom: 104px; font-size: 8px; }
    .scroll-cue { display: none; }
    .hero-edge { display: none; }
    .guild-section { grid-template-columns: 1fr; gap: 38px; padding: 76px 8%; }
    .section-mark { right: -18%; bottom: -95px; font-size: 320px; }
    .guild-copy h2, .join-section h2 { font-size: clamp(39px, 11vw, 52px); }
    .site-footer { min-height: 150px; flex-wrap: wrap; gap: 14px 20px; padding: 24px 8%; }
    .site-footer > p { order: 3; width: 100%; margin: 0; font-size: 13px; }
    .footer-meta { gap: 14px; margin-left: auto; }
    .footer-note { max-width: 190px; font-size: 12px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .ambient-effects { display: none; }
}

.site-header { border-bottom-color: rgba(239, 202, 151, .14); background: linear-gradient(180deg, rgba(15, 9, 6, .78), rgba(15, 9, 6, .14)); }
.nav-link { color: rgba(244, 233, 216, .72); }
.hero { background: #1b100b; }
.slide-art { object-position: 72% center; }
.hero-slide[data-slide="1"] .slide-art { object-position: 56% center; filter: brightness(.86) sepia(.12); }
.hero-slide[data-slide="2"] .slide-art { object-position: 86% center; filter: brightness(1.08) saturate(.9); }
.slide-shade {
    background:
        radial-gradient(ellipse at 79% 56%, rgba(231, 116, 35, .12), transparent 36%),
        linear-gradient(90deg, rgba(15, 9, 6, .91) 0%, rgba(15, 9, 6, .72) 35%, rgba(15, 9, 6, .14) 78%),
        linear-gradient(0deg, rgba(15, 9, 6, .78) 0%, transparent 34%, rgba(15, 9, 6, .29) 100%);
}
.hero-slide h1 em, .hero-slide h2 em, .guild-copy h2 em, .join-section h2 em { color: #e7b66f; }
.primary-button { background: #bd7b3c; color: #1b100a; }
.primary-button:hover { background: #e2aa64; }
.carousel-arrow { border-color: rgba(239, 202, 151, .28); }
.guild-section {
    background:
        radial-gradient(ellipse at 12% 90%, rgba(117, 58, 26, .13), transparent 42%),
        linear-gradient(135deg, #21150f, #140e0a 72%);
}
.guild-section::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(211, 148, 79, .35), transparent); content: ""; }
.join-section { background: radial-gradient(ellipse at 50% 110%, #392014 0%, #1a100b 48%, #100b08 100%); }
.join-glow { background: radial-gradient(ellipse, rgba(218, 119, 48, .2), transparent 70%); }
.site-footer { border-top-color: rgba(239, 202, 151, .12); background: #0e0906; }

@media (max-width: 820px) {
    .hero-slide[data-slide="1"] .slide-art { object-position: 52% center; }
    .hero-slide[data-slide="2"] .slide-art { object-position: 84% center; }
    .slide-shade { background: linear-gradient(90deg, rgba(15, 9, 6, .84), rgba(15, 9, 6, .27)), linear-gradient(0deg, rgba(15, 9, 6, .82), transparent 53%); }
    .main-nav { background: rgba(20, 12, 8, .98); }
}

.screen-warning { display: none; }
.screen-warning-icon { display: grid; width: 54px; height: 54px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(217, 166, 94, .45); border-radius: 50%; color: var(--gold); font-size: 21px; }
.screen-warning .eyebrow { margin-bottom: 12px; }
.screen-warning h1 { margin: 0; font: 600 clamp(27px, 8vw, 38px)/1.2 var(--serif); }
.screen-warning > p:not(.eyebrow) { max-width: 440px; margin: 18px 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.screen-warning > strong { color: var(--gold); font: 600 23px var(--serif); }
.screen-warning .screen-warning-hint { margin: 6px 0 0; font-size: 11px; }
@media (max-width: 420px) {
    .site-header { padding-right: 16px; padding-left: 16px; }
    .header-cta { display: none; }
    .menu-toggle { margin-left: auto; }
    .hero { min-height: 690px; height: 92svh; max-height: 850px; }
    .hero-slides, .ambient-effects { inset: 0; height: auto; }
    .status-page { min-height: 560px; padding-right: 7%; padding-left: 7%; }
    .status-back-link { margin-bottom: 42px; }
    .primary-button { min-height: 48px; padding: 0 14px; font-size: 11px; }
    .guild-section { padding-right: 7%; padding-left: 7%; }
    .site-footer { padding-right: 7%; padding-left: 7%; }
}
@media (max-width: 319px), (max-height: 479px) {
    body { overflow: hidden; }
    body > *:not(.screen-warning) { visibility: hidden; }
    .screen-warning { position: fixed; z-index: 1000; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 28px 22px; overflow-y: auto; background: radial-gradient(ellipse at 50% 15%, #392014 0%, #1a100b 45%, #100b08 100%); text-align: center; visibility: visible; }
}

/* Connexion Blizzard et menu compte */
.blizzard-login { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; padding: 12px 16px; border: 1px solid #5cc4ff; border-radius: 3px; background: linear-gradient(180deg, #1fa3ff, #0a6fd1); color: #fff; font: 600 14px var(--sans); letter-spacing: .02em; box-shadow: 0 0 16px rgba(0, 150, 255, .35), inset 0 1px 0 rgba(255,255,255,.3); transition: filter .2s ease, transform .2s ease; }
.blizzard-login:hover { filter: brightness(1.12); transform: translateY(-1px); }
.blizzard-login > i { font-size: 18px; }
.blizzard-login + .header-cta, .account-menu + .header-cta { margin-left: 14px; }
.account-menu { position: relative; margin-left: auto; }
.account-trigger { display: inline-flex; align-items: center; gap: 10px; max-width: 240px; padding: 5px 12px 5px 5px; border: 1px solid rgba(230, 189, 116, .65); border-radius: 40px; background: linear-gradient(180deg, rgba(48, 29, 17, .92), rgba(24, 14, 9, .95)); color: var(--text); cursor: pointer; font: 600 14px var(--sans); box-shadow: 0 0 14px rgba(255, 150, 50, .18), inset 0 0 0 1px rgba(255,255,255,.04); transition: border-color .2s ease, box-shadow .2s ease; }
.account-trigger:hover, .account-trigger[aria-expanded="true"] { border-color: #f1c982; box-shadow: 0 0 20px rgba(255, 150, 50, .32); }
.account-avatar { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border: 2px solid #e6bd74; border-radius: 50%; background: linear-gradient(145deg, hsl(var(--avatar-hue), 65%, 45%), hsl(var(--avatar-hue), 70%, 22%)); color: #fff; font: 700 16px var(--serif, Georgia, serif); }
.account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-caret { color: #e6bd74; font-size: 11px; transition: transform .2s ease; }
.account-trigger[aria-expanded="true"] .account-caret { transform: rotate(180deg); }
.account-dropdown { position: absolute; top: calc(100% + 12px); right: 0; z-index: 60; min-width: 250px; padding: 8px; border: 1px solid rgba(230, 189, 116, .5); border-radius: 6px; background: rgba(22, 13, 8, .98); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 24px rgba(255, 140, 40, .12); }
.account-dropdown[hidden] { display: none; }
.account-status { margin: 0; padding: 10px 12px 12px; border-bottom: 1px solid rgba(239, 202, 151, .15); color: var(--muted); font-size: 13px; }
.account-status i { margin-right: 6px; color: #3aaeff; }
.account-dropdown a, .account-dropdown button { display: flex; width: 100%; align-items: center; gap: 11px; padding: 12px; border: 0; border-radius: 4px; background: transparent; color: var(--text); cursor: pointer; font: 500 15px var(--sans); text-align: left; }
.account-dropdown a:hover, .account-dropdown button:hover, .account-dropdown a:focus-visible, .account-dropdown button:focus-visible { background: rgba(230, 189, 116, .14); color: #f1c982; }
.account-dropdown i { width: 18px; color: #e6bd74; text-align: center; }
.account-dropdown form { margin: 4px 0 0; padding-top: 4px; border-top: 1px solid rgba(239, 202, 151, .15); }
@media (max-width: 820px) {
    .blizzard-login, .account-menu { margin-left: auto; }
    .blizzard-login + .header-cta, .account-menu + .header-cta { margin-left: 10px; }
    .header-cta { margin-left: 10px; }
}
@media (max-width: 560px) {
    .account-name, .account-caret { display: none; }
    .account-trigger { padding: 4px; }
    .blizzard-login { padding: 11px 13px; font-size: 13px; }
}
@media (max-width: 420px) {
    .blizzard-login { margin-left: auto; }
    .menu-toggle { margin-left: 10px; }
    .account-dropdown { right: -60px; min-width: 230px; }
}

/* Profils */
.profile-page .status-page-content { width: min(100%, 760px); }
.profile-card { padding: clamp(22px, 4vw, 40px); border: 1px solid rgba(230, 189, 116, .35); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .75), rgba(22, 13, 8, .85)); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.profile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }
.profile-head h1 { margin: 0; font: 600 clamp(26px, 5vw, 38px)/1.2 var(--serif); overflow-wrap: anywhere; }
.profile-avatar { display: grid; flex: none; width: 84px; height: 84px; place-items: center; border: 3px solid #e6bd74; border-radius: 50%; background: linear-gradient(145deg, hsl(var(--avatar-hue), 65%, 45%), hsl(var(--avatar-hue), 70%, 22%)); color: #fff; font: 700 36px var(--serif); box-shadow: 0 0 22px rgba(255, 150, 50, .3); }
.profile-tag { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.profile-tag i { color: #3aaeff; }
.profile-edit-link { display: inline-flex; align-items: center; gap: 9px; margin-left: auto; padding: 11px 16px; border: 1px solid rgba(214, 179, 107, .62); color: var(--gold); font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease; }
.profile-edit-link:hover { background: var(--gold); color: var(--ink); }
.profile-notice { margin: 24px 0 0; padding: 12px 14px; border: 1px solid rgba(131, 199, 111, .4); background: rgba(131, 199, 111, .08); color: #a7ce8f; font-size: 15px; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 28px 0 0; }
.profile-facts div { padding: 14px 16px; border: 1px solid var(--line); background: rgba(0,0,0,.2); }
.profile-facts dt { margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.profile-facts dt i { margin-right: 6px; color: #e6bd74; }
.profile-facts dd { margin: 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.profile-bio { margin-top: 28px; }
.profile-bio h2 { margin: 0 0 12px; color: var(--gold); font: 600 20px var(--serif); }
.profile-bio p { margin: 0; font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.profile-bio .profile-empty { color: var(--muted); font-style: italic; }
.profile-form { display: grid; gap: 20px; }
.profile-form label { display: grid; gap: 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.profile-form input[type="text"], .profile-form select, .profile-form textarea { width: 100%; padding: 13px 14px; border: 1px solid rgba(239, 202, 151, .25); border-radius: 3px; background: rgba(0,0,0,.35); color: var(--text); font: 500 16px var(--sans); }
.profile-form textarea { resize: vertical; }
.profile-form input:focus, .profile-form select:focus, .profile-form textarea:focus { border-color: var(--gold); outline: 2px solid rgba(217, 166, 94, .3); }
.profile-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.profile-form .profile-check { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; }
.profile-save { display: inline-flex; width: fit-content; align-items: center; gap: 10px; padding: 14px 24px; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; font: 700 15px var(--sans); }
.profile-save:hover { filter: brightness(1.1); }
.profile-errors { margin-bottom: 22px; padding: 12px 14px; border: 1px solid rgba(206, 105, 88, .5); background: rgba(206, 105, 88, .1); color: #e8a392; }
.profile-errors p { margin: 4px 0; font-size: 15px; }
@media (max-width: 560px) {
    .profile-form-row { grid-template-columns: 1fr; }
    .profile-edit-link { margin-left: 0; }
    .profile-avatar { width: 64px; height: 64px; font-size: 28px; }
}

/* Profil v2 : trois colonnes */
.pf-main { position: relative; min-height: calc(100vh - 96px); padding: 92px 24px 72px; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #3b2417 0%, #1a100b 45%, #100b08 100%); }
.pf-wrap { position: relative; width: min(100%, 1400px); margin: 0 auto; padding-top: 36px; }
.pf-wrap .status-back-link { margin-bottom: 28px; }
.pf-wrap .profile-notice { margin: 0 0 22px; }
.pf-notfound { margin: 0; font: 600 clamp(32px, 6vw, 52px) var(--serif); }
.pf-layout { display: grid; grid-template-columns: minmax(250px, 300px) minmax(0, 1fr) minmax(280px, 360px); gap: 22px; align-items: start; }
.pf-col { display: grid; gap: 22px; min-width: 0; }
.pf-card { padding: 22px; border: 1px solid rgba(230, 189, 116, .28); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .72), rgba(22, 13, 8, .85)); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.pf-title { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--gold); font: 600 18px var(--serif); }
.pf-title > i { font-size: 16px; }
.pf-identity { display: grid; justify-items: center; gap: 12px; text-align: center; }
.pf-identity .profile-avatar { width: 110px; height: 110px; font-size: 48px; }
.pf-identity h1 { margin: 0; font: 600 26px/1.2 var(--serif); overflow-wrap: anywhere; }
.pf-identity .profile-tag { margin: 0; }
.pf-identity .profile-edit-link { margin: 6px 0 0; }
.pf-badge { padding: 5px 14px; border: 1px solid rgba(230, 189, 116, .5); border-radius: 20px; background: rgba(230, 189, 116, .1); color: #f1c982; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pf-info { display: grid; margin: 0; }
.pf-info div { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pf-info div:last-child { border-bottom: 0; }
.pf-info dt { color: var(--muted); }
.pf-info dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.pf-bio { margin: 0; font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
.pf-card .profile-empty { margin: 0; color: var(--muted); font-size: 14px; font-style: italic; }
.pf-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pf-tile { display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border: 1px solid rgba(230, 189, 116, .28); border-radius: 6px; background: linear-gradient(180deg, rgba(60, 36, 20, .8), rgba(24, 14, 9, .9)); text-align: center; }
.pf-tile > i { color: #e6bd74; font-size: 20px; }
.pf-tile strong { font: 700 24px var(--serif); }
.pf-tile span { color: var(--muted); font-size: 12px; }
.pf-raids { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.pf-raid-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 8px; font-size: 15px; }
.pf-raid-head strong { color: #f1c982; }
.pf-raid-head .fa-circle-check { margin-left: 4px; color: #83c76f; }
.pf-bar { height: 10px; overflow: hidden; border-radius: 6px; background: rgba(0,0,0,.45); box-shadow: inset 0 0 0 1px rgba(239, 202, 151, .12); }
.pf-bar span { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, #a35a1e, #f1b45c); box-shadow: 0 0 12px rgba(255, 150, 50, .5); }
.pf-pvp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pf-pvp div { display: grid; gap: 6px; padding: 14px 12px; border: 1px solid var(--line); background: rgba(0,0,0,.25); text-align: center; }
.pf-pvp span { color: var(--muted); font-size: 12px; }
.pf-pvp strong { font: 700 22px var(--serif); color: #f1c982; overflow-wrap: anywhere; }
.pf-two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pf-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: 15px; }
.pf-list li { overflow-wrap: anywhere; }
.pf-list i { width: 20px; color: #e6bd74; }
.pf-right { position: sticky; top: 100px; }
.pf-feed .pf-title { justify-content: flex-start; }
.pf-live { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; color: #a7ce8f; font: 700 11px var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.pf-live i { width: 8px; height: 8px; border-radius: 50%; background: #83c76f; box-shadow: 0 0 0 0 rgba(131, 199, 111, .7); animation: pf-pulse 1.8s infinite; }
@keyframes pf-pulse { 70% { box-shadow: 0 0 0 8px rgba(131, 199, 111, 0); } 100% { box-shadow: 0 0 0 0 rgba(131, 199, 111, 0); } }
.pf-feed-list { display: grid; gap: 4px; max-height: 560px; margin: 0; padding: 0 4px 0 0; overflow-y: auto; list-style: none; }
.pf-event { position: relative; display: flex; gap: 12px; padding: 12px; border-left: 3px solid #e6bd74; background: rgba(0,0,0,.22); }
.pf-event.is-new { animation: pf-in .6s ease; }
@keyframes pf-in { from { background: rgba(241, 180, 92, .3); transform: translateX(14px); opacity: 0; } }
.pf-event-icon { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border-radius: 50%; background: rgba(230, 189, 116, .14); color: #f1c982; }
.pf-event strong { color: #f1c982; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.pf-event p { margin: 3px 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.pf-event time { color: var(--muted); font-size: 12px; }
.pf-event-raid { border-left-color: #d98b76; }
.pf-event-pvp { border-left-color: #ce6958; }
.pf-event-achievement, .pf-event-level { border-left-color: #83c76f; }
.pf-event-mount { border-left-color: #3aaeff; }
.pf-feed-empty { padding: 14px; color: var(--muted); font-size: 14px; font-style: italic; }
.pf-event-delete { margin-left: auto; }
.pf-event-delete button { width: 28px; height: 28px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.pf-event-delete button:hover { color: #ce6958; }
.pf-add-event { margin-bottom: 16px; }
.pf-add-event summary { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px dashed rgba(230, 189, 116, .5); color: var(--gold); cursor: pointer; font-size: 14px; font-weight: 600; }
.pf-add-event form { display: grid; gap: 10px; margin-top: 12px; }
.pf-add-event select, .pf-add-event input[type="text"] { width: 100%; padding: 11px 12px; border: 1px solid rgba(239, 202, 151, .25); background: rgba(0,0,0,.35); color: var(--text); font: 500 15px var(--sans); }
.pf-add-event button { padding: 11px 14px; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; font: 700 14px var(--sans); }
.profile-fieldset { display: grid; gap: 16px; margin: 0; padding: 18px; border: 1px solid var(--line); border-radius: 4px; }
.profile-fieldset legend { padding: 0 8px; color: var(--gold); font: 600 16px var(--serif); }
.profile-form input[type="number"] { width: 100%; padding: 13px 14px; border: 1px solid rgba(239, 202, 151, .25); border-radius: 3px; background: rgba(0,0,0,.35); color: var(--text); font: 500 16px var(--sans); }
@media (max-width: 1180px) {
    .pf-layout { grid-template-columns: minmax(250px, 300px) minmax(0, 1fr); }
    .pf-right { position: static; grid-column: 1 / -1; }
    .pf-feed-list { max-height: 420px; }
}
@media (max-width: 820px) {
    .pf-layout { grid-template-columns: minmax(0, 1fr); }
    .pf-tiles, .pf-pvp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pf-two { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
    .pf-main { padding: 84px 14px 56px; }
    .pf-card { padding: 16px; }
}

/* Avatar Discord et liaison */
.account-avatar, .profile-avatar { position: relative; overflow: hidden; }
.account-avatar img, .profile-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.discord-link { display: grid; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; }
.discord-link-title { color: var(--muted); font-size: 14px; font-weight: 600; }
.discord-link-title i { color: #8c96ff; }
.discord-login { display: inline-flex; width: fit-content; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 3px; background: #5865f2; color: #fff; font: 600 15px var(--sans); box-shadow: 0 0 16px rgba(88, 101, 242, .35); transition: filter .2s ease, transform .2s ease; }
.discord-login:hover { filter: brightness(1.12); transform: translateY(-1px); }
.discord-login i { font-size: 18px; }
.discord-linked { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.discord-linked img { border: 2px solid #5865f2; border-radius: 50%; }
.discord-linked strong { font-size: 16px; overflow-wrap: anywhere; }
.discord-unlink { margin-left: auto; padding: 8px 14px; border: 1px solid rgba(206, 105, 88, .5); background: transparent; color: #e8a392; cursor: pointer; font: 600 13px var(--sans); }
.discord-unlink:hover { background: rgba(206, 105, 88, .15); }

/* Interrupteurs et données personnelles */
.profile-switches { display: grid; gap: 12px; }
.profile-switch { position: relative; display: flex; align-items: center; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: 4px; background: rgba(0,0,0,.2); cursor: pointer; }
.profile-switch.is-disabled { cursor: not-allowed; opacity: .55; }
.profile-switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch-track { position: relative; flex: none; width: 50px; height: 28px; border-radius: 28px; background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1px rgba(239, 202, 151, .25); transition: background .2s ease; }
.switch-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #e9dcc7; transition: transform .2s ease, background .2s ease; }
.profile-switch input:checked + .switch-track { background: linear-gradient(90deg, #a35a1e, #e6a24f); }
.profile-switch input:checked + .switch-track::after { transform: translateX(22px); background: #fff; }
.profile-switch input:focus-visible + .switch-track { outline: 2px solid var(--gold); outline-offset: 3px; }
.switch-text { display: grid; gap: 3px; color: var(--text); font-size: 16px; font-weight: 600; }
.switch-text > i { margin-right: 8px; color: #e6bd74; }
.switch-text small { color: var(--muted); font-size: 13px; font-weight: 500; overflow-wrap: anywhere; }
.pf-contacts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pf-contact { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.pf-contact > i { flex: none; width: 24px; font-size: 22px; text-align: center; }
.pf-contact.is-bnet > i { color: #3aaeff; }
.pf-contact.is-discord > i { color: #8c96ff; }
.pf-contact > span { flex: 1; min-width: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.pf-copy { display: grid; flex: none; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(230, 189, 116, .4); background: transparent; color: var(--gold); cursor: pointer; transition: background .2s ease, color .2s ease; }
.pf-copy:hover { background: var(--gold); color: var(--ink); }
.pf-copy.is-copied { border-color: #83c76f; color: #83c76f; }

/* Cartes de liaison */
.link-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.link-card { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line); border-top: 3px solid var(--gold); background: rgba(0,0,0,.28); }
.link-card.is-bnet { border-top-color: #3aaeff; }
.link-card.is-discord { border-top-color: #8c96ff; }
.link-card-title { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 22px; }
.link-card.is-bnet .link-card-title i { color: #3aaeff; }
.link-card.is-discord .link-card-title i { color: #8c96ff; }
.link-card-account { display: flex; flex: 1; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.link-card-account strong { overflow-wrap: anywhere; }
.link-card-user { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.link-card-user img { border-radius: 50%; }
.link-card-state { color: #83c76f; font-size: 14px; font-weight: 600; }
.link-card-state.is-off { color: var(--muted); }
.link-card .profile-switch { padding: 12px; }
@media (max-width: 820px) { .link-cards { grid-template-columns: 1fr; } }

.link-card.is-twitch { border-top-color: #a970ff; }
.link-card.is-twitch .link-card-title i, .pf-contact.is-twitch > i { color: #a970ff; }
.twitch-login { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 4px; background: #9146ff; color: #fff; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.twitch-login:hover { background: #772ce8; }
.link-cards { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.pf-identity h1 + .pf-guild { margin: -6px 0 0; color: var(--muted); font: 600 15px/1.2 var(--serif); letter-spacing: .3em; }

/* Actualités */
.news-page { display: block; min-height: 0; padding-top: 56px; padding-bottom: 80px; }
.news-wrap { position: relative; z-index: 1; width: min(1180px, 100%); margin: 0 auto; }
.news-head { margin-bottom: 30px; text-align: center; }
.news-head .eyebrow { justify-content: center; }
.news-head h1 { margin: 0 0 12px; font: 600 clamp(36px, 5vw, 56px)/1.1 var(--serif); }
.news-head .status-page-intro { margin: 0 auto; max-width: 620px; }
.news-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }
.news-filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border: 1px solid var(--line); border-radius: 22px; background: rgba(0,0,0,.25); color: var(--muted); font-size: 14px; font-weight: 600; transition: all .2s ease; }
.news-filter i { color: var(--cat, var(--gold)); }
.news-filter:hover, .news-filter.is-active { border-color: var(--cat, var(--gold)); background: rgba(217, 166, 94, .12); color: var(--text); }
.news-cover { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--cat) 45%, #1a100b) 0%, #1a100b 75%); color: var(--cat); font-size: 54px; }
.news-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(16, 11, 8, .55), transparent 60%); }
.news-cover i { position: relative; z-index: 1; filter: drop-shadow(0 0 18px var(--cat)); }
.news-tag { display: inline-flex; align-items: center; gap: 8px; color: var(--cat); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.news-meta { color: var(--muted); font-size: 13px; }
.news-meta i { margin-right: 4px; color: var(--gold); }
.news-excerpt { color: var(--muted); font-size: 15px; line-height: 1.7; }
.news-featured { display: grid; grid-template-columns: 1.1fr 1fr; margin-bottom: 28px; overflow: hidden; border: 1px solid rgba(230, 189, 116, .28); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .72), rgba(22, 13, 8, .85)); box-shadow: 0 14px 34px rgba(0,0,0,.4); transition: transform .25s ease, border-color .25s ease; }
.news-featured:hover, .news-card:hover { transform: translateY(-4px); border-color: var(--cat); }
.news-featured .news-cover { min-height: 300px; font-size: 92px; }
.news-featured-body { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 34px; }
.news-featured-body strong { font: 600 clamp(24px, 3vw, 34px)/1.25 var(--serif); }
.news-more { color: var(--gold); font-size: 14px; font-weight: 700; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .6), rgba(22, 13, 8, .85)); box-shadow: 0 10px 26px rgba(0,0,0,.35); transition: transform .25s ease, border-color .25s ease; }
.news-card .news-cover { height: 150px; }
.news-card-body { display: flex; flex: 1; flex-direction: column; gap: 10px; padding: 20px; }
.news-card-body strong { font: 600 19px/1.35 var(--serif); }
.news-card-body .news-meta { margin-top: auto; }
.news-empty { padding: 50px 0; color: var(--muted); text-align: center; font-size: 16px; }
.news-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 36px; }
.news-page-link { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); background: rgba(0,0,0,.25); color: var(--muted); font-weight: 700; }
.news-page-link:hover, .news-page-link.is-active { border-color: var(--gold); background: rgba(217, 166, 94, .15); color: var(--text); }
.news-article-wrap { max-width: 860px; }
.news-article { overflow: hidden; border: 1px solid rgba(230, 189, 116, .28); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .72), rgba(22, 13, 8, .88)); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.news-cover-wide { height: 220px; font-size: 88px; }
.news-article-body { display: grid; gap: 16px; padding: 34px; }
.news-article-body h1 { margin: 0; font: 600 clamp(26px, 4vw, 38px)/1.25 var(--serif); }
.news-article-body p:not(.news-meta) { margin: 0; color: var(--text); font-size: 17px; line-height: 1.9; }
.news-related-title { margin: 46px 0 20px; font: 600 24px var(--serif); }
@media (max-width: 820px) {
    .news-featured { grid-template-columns: 1fr; }
    .news-featured .news-cover { min-height: 180px; }
    .news-featured-body, .news-article-body { padding: 22px; }
}
.news-cover[style*="background-image"] { background-size: cover; background-position: center; }
.news-cover[style*="background-image"] i { font-size: .55em; opacity: .9; }

/* À propos */
.about-page { display: block; min-height: 0; padding-top: 56px; padding-bottom: 80px; }
.about-wrap { position: relative; z-index: 1; width: min(1100px, 100%); margin: 0 auto; }
.about-hero h1 { letter-spacing: .25em; }
.about-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 26px; }
.about-btn { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border: 1px solid rgba(230, 189, 116, .5); border-radius: 4px; color: var(--text); font-weight: 700; transition: all .2s ease; }
.about-btn:hover { border-color: var(--gold); background: rgba(217, 166, 94, .15); }
.about-btn.is-primary { border-color: transparent; background: linear-gradient(90deg, #a35a1e, #e6a24f); color: #1a0f08; }
.about-btn.is-primary:hover { filter: brightness(1.1); }
.about-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 40px 0 0; padding: 0; list-style: none; }
.about-stats li { display: grid; justify-items: center; gap: 6px; padding: 22px 16px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.25); text-align: center; }
.about-stats i { color: var(--gold); font-size: 26px; }
.about-stats strong { font: 600 18px var(--serif); }
.about-stats span { color: var(--muted); font-size: 14px; }
.about-block { margin-top: 64px; scroll-margin-top: 110px; }
.about-title { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font: 600 clamp(24px, 3vw, 32px)/1.2 var(--serif); }
.about-title i { color: var(--gold); }
.about-lead { max-width: 820px; margin: 0 0 28px; color: var(--muted); font-size: 17px; line-height: 1.9; }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.about-card { padding: 24px; border: 1px solid rgba(230, 189, 116, .28); border-radius: 6px; background: linear-gradient(180deg, rgba(48, 29, 17, .72), rgba(22, 13, 8, .85)); box-shadow: 0 10px 26px rgba(0,0,0,.35); }
.about-card h3 { margin: 14px 0 8px; font: 600 19px var(--serif); }
.about-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.about-icon { display: inline-grid; flex: none; width: 46px; height: 46px; place-items: center; border: 1px solid rgba(230, 189, 116, .4); border-radius: 50%; background: rgba(217, 166, 94, .1); color: var(--gold); font-size: 19px; }
.about-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.about-steps li { position: relative; padding: 28px 22px 22px; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: 6px; background: rgba(0,0,0,.28); }
.about-steps li > i { color: var(--gold); font-size: 26px; }
.about-steps h3 { margin: 12px 0 8px; font: 600 18px var(--serif); }
.about-steps p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
.about-step-num { position: absolute; top: 14px; right: 16px; color: rgba(217, 166, 94, .35); font: 700 34px var(--serif); }
.about-ranks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.about-ranks li { display: flex; align-items: center; gap: 18px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.25); }
.about-ranks div { display: grid; gap: 3px; }
.about-ranks strong { font: 600 18px var(--serif); }
.about-ranks span:not(.about-icon) { color: var(--muted); font-size: 15px; }
.about-faq { display: grid; gap: 12px; }
.about-faq details { border: 1px solid var(--line); border-radius: 6px; background: rgba(0,0,0,.25); }
.about-faq details[open] { border-color: rgba(230, 189, 116, .45); }
.about-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; cursor: pointer; font-size: 17px; font-weight: 700; list-style: none; }
.about-faq summary::-webkit-details-marker { display: none; }
.about-faq summary::after { content: "\f078"; color: var(--gold); font: 900 14px "Font Awesome 6 Free"; transition: transform .2s ease; }
.about-faq details[open] summary::after { transform: rotate(180deg); }
.about-faq details p { margin: 0; padding: 0 20px 20px; color: var(--muted); font-size: 16px; line-height: 1.8; }
.about-cta { margin-top: 70px; padding: 44px 24px; border: 1px solid rgba(230, 189, 116, .35); border-radius: 6px; background: radial-gradient(ellipse at 50% 120%, rgba(230, 120, 40, .3), transparent 65%), rgba(22, 13, 8, .85); text-align: center; }
.about-cta h2 { margin: 0 0 10px; font: 600 clamp(24px, 3vw, 32px) var(--serif); }
.about-cta p { margin: 0 0 22px; color: var(--muted); font-size: 16px; }
@media (max-width: 820px) { .about-ranks li { align-items: flex-start; } }

/* Schéma de recrutement */
.flow { display: grid; justify-items: center; gap: 0; }
.flow-row { display: flex; align-items: stretch; justify-content: center; gap: 0; width: 100%; }
.flow-node { position: relative; display: grid; flex: 1; align-content: start; justify-items: center; gap: 8px; max-width: 300px; padding: 26px 20px 20px; border: 1px solid rgba(230, 189, 116, .3); border-radius: 8px; background: linear-gradient(180deg, rgba(48, 29, 17, .75), rgba(22, 13, 8, .9)); box-shadow: 0 10px 26px rgba(0,0,0,.38); text-align: center; }
.flow-node h3 { margin: 4px 0 0; font: 600 18px var(--serif); }
.flow-node p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.flow-icon { display: grid; width: 56px; height: 56px; place-items: center; border: 1px solid rgba(230, 189, 116, .5); border-radius: 50%; background: radial-gradient(circle, rgba(230, 150, 60, .3), rgba(0,0,0,.2)); color: var(--gold); font-size: 22px; box-shadow: 0 0 22px rgba(230, 150, 60, .25); }
.flow-num { position: absolute; top: -14px; left: 50%; display: grid; width: 28px; height: 28px; place-items: center; transform: translateX(-50%); border-radius: 50%; background: linear-gradient(135deg, #a35a1e, #e6a24f); color: #1a0f08; font-size: 14px; font-weight: 800; }
.flow-arrow, .flow-down { display: grid; flex: none; place-items: center; color: var(--gold); font-size: 20px; }
.flow-arrow { width: 52px; }
.flow-down { height: 44px; }
.flow-arrow i, .flow-down i { animation: flow-pulse 1.8s ease-in-out infinite; }
@keyframes flow-pulse { 50% { opacity: .35; transform: scale(1.15); } }
.flow-decision { display: grid; justify-items: center; gap: 4px; padding: 20px 36px; border: 2px dashed rgba(230, 189, 116, .6); border-radius: 50px; background: rgba(217, 166, 94, .1); text-align: center; }
.flow-decision i { color: var(--gold); font-size: 26px; }
.flow-decision strong { font: 600 19px var(--serif); }
.flow-decision span { color: var(--muted); font-size: 14px; }
.flow-branches { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; width: 100%; margin-top: 34px; }
.flow-branch { position: relative; display: grid; align-content: start; justify-items: center; gap: 22px; padding: 18px 22px 26px; border: 1px solid var(--line); border-top-width: 3px; border-radius: 8px; background: rgba(0,0,0,.2); }
.flow-branch.is-yes { border-top-color: #6fc78a; }
.flow-branch.is-no { border-top-color: #d8604a; }
.flow-branch-label { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.is-yes .flow-branch-label { color: #6fc78a; }
.is-no .flow-branch-label { color: #e5826f; }
.flow-col { display: grid; justify-items: center; width: 100%; }
.flow-col .flow-node { width: 100%; max-width: 380px; }
@media (max-width: 960px) {
    .flow-row { flex-direction: column; align-items: center; }
    .flow-row .flow-node { width: 100%; max-width: 380px; }
    .flow-arrow { width: auto; height: 44px; }
    .flow-arrow i { transform: rotate(90deg); }
    .flow-branches { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .flow-arrow i, .flow-down i { animation: none; } }
.flow-branch > summary { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; cursor: pointer; list-style: none; user-select: none; }
.flow-branch > summary::-webkit-details-marker { display: none; }
.flow-branch > summary::after { content: "\f078"; margin-left: 6px; font: 900 12px "Font Awesome 6 Free"; transition: transform .2s ease; }
.flow-branch[open] > summary::after { transform: rotate(180deg); }
.flow-branch > summary:hover { filter: brightness(1.2); }
.flow-branch > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
.flow-branch:not([open]) { align-self: start; padding-bottom: 18px; }
.flow-branch[open] > summary { margin-bottom: 22px; }

/* Menu Guilde déroulant */
.nav-dropdown { position: relative; }
.nav-dropdown-trigger { border: 0; background: transparent; cursor: pointer; font-family: inherit; }
.nav-dropdown.is-active .nav-dropdown-trigger { color: var(--text); }
.nav-dropdown.is-active .nav-dropdown-trigger::after { position: absolute; right: 0; bottom: -17px; left: 0; height: 1px; background: var(--gold); content: ""; }
.nav-chevron { font-size: 10px !important; transition: transform .2s ease; }
.nav-dropdown.is-open .nav-chevron { transform: rotate(180deg); }
.nav-submenu { position: absolute; top: calc(100% + 14px); left: -14px; z-index: 60; display: none; min-width: 230px; margin: 0; padding: 8px; list-style: none; border: 1px solid rgba(230, 189, 116, .5); border-radius: 6px; background: rgba(22, 13, 8, .98); box-shadow: 0 18px 40px rgba(0,0,0,.6), 0 0 24px rgba(255, 140, 40, .12); }
.nav-dropdown.is-open .nav-submenu { display: block; }
.nav-submenu a { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 4px; color: var(--text); font-size: 14px; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { background: rgba(230, 189, 116, .14); color: #f1c982; }
.nav-submenu i { width: 18px; color: #e6bd74; text-align: center; }
@media (hover: hover) and (min-width: 821px) {
    .nav-dropdown:hover .nav-submenu { display: block; }
    .nav-dropdown::after { position: absolute; top: 100%; left: 0; width: 100%; height: 16px; content: ""; }
}
@media (max-width: 820px) {
    .nav-dropdown-trigger { width: 100%; justify-content: flex-start; }
    .nav-chevron { margin-left: auto; }
    .nav-submenu { position: static; min-width: 0; padding: 0 0 6px 18px; border: 0; background: transparent; box-shadow: none; }
    .nav-dropdown.is-active .nav-dropdown-trigger::after { display: none; }
}

/* Page Nous rejoindre */
.join-page { align-items: flex-start; }
.join-wrap { position: relative; width: min(100%, 1080px); }
.join-head h1 { margin: 6px 0 10px; font: 700 clamp(32px, 5vw, 48px) var(--serif); letter-spacing: .06em; }
.join-layout { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; margin-top: 28px; }
.join-history, .join-card, .join-gate { border: 1px solid var(--line); border-radius: 4px; background: rgba(27, 18, 13, .85); }
.join-history { padding: 20px; }
.join-history h2, .join-card h2, .join-gate h2 { margin: 0 0 14px; font: 700 18px var(--serif); letter-spacing: .04em; }
.join-history h2 i { color: var(--gold); margin-right: 6px; }
.join-empty { margin: 0; color: var(--muted); font-size: 14px; }
.join-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.join-item { display: grid; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-left: 3px solid var(--muted); border-radius: 3px; background: rgba(0,0,0,.25); transition: background .2s ease, border-color .2s ease; }
.join-item:hover, .join-item.is-selected { background: rgba(217, 166, 94, .08); border-color: rgba(217, 166, 94, .45); }
.join-item.is-pending, .join-item.is-review { border-left-color: var(--gold); }
.join-item.is-accepted { border-left-color: #83c76f; }
.join-item.is-declined { border-left-color: #d9694f; }
.join-item-top { display: flex; justify-content: space-between; gap: 8px; }
.join-item-top time, .join-item-meta, .join-card-meta { color: var(--muted); font-size: 13px; }
.join-badge { display: inline-flex; width: fit-content; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 999px; background: rgba(185, 169, 148, .15); color: var(--muted); font-size: 12px; font-weight: 700; }
.join-badge.is-pending, .join-badge.is-review { background: rgba(217, 166, 94, .15); color: var(--gold); }
.join-badge.is-accepted { background: rgba(131, 199, 111, .15); color: #a7ce8f; }
.join-badge.is-declined { background: rgba(217, 105, 79, .15); color: #e58f7a; }
.join-card { padding: 26px; }
.join-card h3 { margin: 20px 0 6px; color: var(--gold); font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.join-card p { margin: 0; line-height: 1.65; }
.join-card-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.join-card-head h2 { margin: 0; }
.join-response { margin-top: 18px; padding: 14px 16px; border-left: 3px solid var(--gold); background: rgba(217, 166, 94, .08); }
.join-response strong { display: block; margin-bottom: 6px; color: var(--gold); }
.join-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 26px; }
.join-actions .status-back-link { margin: 0; }
.join-withdraw { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid rgba(217, 105, 79, .5); border-radius: 3px; background: transparent; color: #e58f7a; cursor: pointer; font: 600 14px var(--sans); }
.join-withdraw:hover { background: rgba(217, 105, 79, .12); }
.join-form { display: grid; gap: 16px; }
.join-form label { display: grid; gap: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }
.join-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.join-hint { padding: 10px 12px; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); font-size: 14px; }
.join-hint a { color: var(--gold); text-decoration: underline; }
.join-errors { margin: 0; padding: 12px 14px 12px 30px; border: 1px solid rgba(217, 105, 79, .5); background: rgba(217, 105, 79, .08); color: #e58f7a; font-size: 14px; }
.join-info, .join-gate { text-align: center; }
.join-info > i, .join-gate > i { margin-bottom: 14px; color: var(--gold); font-size: 34px; }
.join-gate { display: grid; justify-items: center; gap: 6px; margin-top: 28px; padding: 40px 24px; }
.join-gate p { max-width: 420px; margin: 0 0 14px; color: var(--muted); }
@media (max-width: 820px) {
    .join-layout { grid-template-columns: 1fr; }
    .join-row { grid-template-columns: 1fr; }
}

/* Charte de la guilde */
.charter-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 44px; }
.charter-card { position: relative; display: grid; align-content: start; gap: 10px; padding: 30px 28px 26px; overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: radial-gradient(ellipse at 100% 0%, rgba(230, 120, 40, .12), transparent 60%), rgba(27, 18, 13, .9); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.charter-card::before { content: ""; position: absolute; top: 0; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .7; }
.charter-card:hover { transform: translateY(-3px); border-color: rgba(217, 166, 94, .5); box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 28px rgba(230, 120, 40, .1); }
.charter-num { position: absolute; top: 10px; right: 20px; color: var(--gold); font: 700 64px/1 var(--serif); opacity: .12; pointer-events: none; }
.charter-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(217, 166, 94, .5); border-radius: 50%; background: rgba(217, 166, 94, .08); color: var(--gold); font-size: 19px; }
.charter-card h2 { margin: 6px 0 0; font: 700 21px var(--serif); letter-spacing: .03em; }
.charter-lead { margin: 0; color: var(--text); font-style: italic; line-height: 1.55; }
.charter-points { display: grid; gap: 9px; margin: 8px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.charter-points li { position: relative; padding-left: 24px; color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.charter-points li::before { content: "\f00c"; position: absolute; top: 1px; left: 0; color: var(--gold); font: 900 12px "Font Awesome 6 Free", "Font Awesome 5 Free"; }.charter-subtitle { margin-top: 64px; }
.charter-note { margin: -8px 0 26px; padding: 12px 16px; border-left: 3px solid var(--gold); background: rgba(217, 166, 94, .07); color: var(--muted); line-height: 1.6; }
.sanction-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.sanction-card { --tone: #d9a65e; position: relative; display: grid; align-content: start; gap: 12px; padding: 26px 26px 24px; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--tone); border-radius: 6px; background: radial-gradient(ellipse at 0% 0%, color-mix(in srgb, var(--tone) 14%, transparent), transparent 60%), rgba(27, 18, 13, .9); transition: transform .25s ease, box-shadow .25s ease; }
.sanction-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0, 0, 0, .35), 0 0 26px color-mix(in srgb, var(--tone) 18%, transparent); }
.sanction-card.is-level-2 { --tone: #e8944a; }
.sanction-card.is-level-3 { --tone: #dc6a45; }
.sanction-card.is-level-4 { --tone: #c0392b; }
.sanction-head { display: flex; align-items: center; gap: 14px; }
.sanction-head h3 { margin: 2px 0 0; font: 700 20px var(--serif); letter-spacing: .03em; }
.sanction-icon { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border: 1px solid var(--tone); border-radius: 50%; background: color-mix(in srgb, var(--tone) 12%, transparent); color: var(--tone); font-size: 19px; }
.sanction-level { color: var(--tone); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.sanction-lead { margin: 0; font-style: italic; line-height: 1.55; }
.sanction-points { display: grid; gap: 8px; margin: 4px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; }
.sanction-points li { position: relative; padding-left: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.sanction-points li::before { content: ""; position: absolute; top: 8px; left: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--tone); }.charter-cta h2 { margin: 0 0 8px; font: 700 24px var(--serif); }
.charter-cta p { margin: 0 0 20px; color: var(--muted); }
@media (max-width: 760px) { .charter-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .sanction-grid { grid-template-columns: 1fr; } }

/* Charte des rôles */
.role-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 44px; }
.role-card { --tone: #6fa8dc; }
.role-card.is-role-2 { --tone: #83c76f; }
.role-card.is-role-3 { --tone: #e8944a; }
.role-label { display: flex; align-items: center; gap: 8px; margin: 8px 0 -2px; color: var(--gold); font: 800 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.role-card .sanction-points { margin-top: 0; padding-top: 10px; }
.role-common { margin-top: 0; }
@media (max-width: 1000px) { .role-grid { grid-template-columns: 1fr; } }

/* Roster de guilde */
.roster-hero { overflow: hidden; border: 1px solid var(--line); border-radius: 6px; background: rgba(27, 18, 13, .9); }
.roster-banner { display: grid; height: 170px; place-items: center; background: radial-gradient(ellipse at 50% 120%, rgba(235, 120, 40, .55), transparent 65%), linear-gradient(135deg, #3b2417, #1a100b 60%, #2a170d); color: rgba(255, 190, 110, .75); font-size: 64px; }
.roster-hero-body { padding: 24px 28px 28px; }
.roster-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.roster-status { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 4px; background: rgba(131, 199, 111, .18); color: #a7ce8f; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.roster-status.is-closed { background: rgba(217, 105, 79, .18); color: #e58f7a; }
.roster-hero h1 { margin: 12px 0 10px; color: var(--gold); font: 700 clamp(26px, 4vw, 38px) var(--serif); letter-spacing: .03em; }
.roster-dates { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.roster-dates i { margin-right: 6px; color: var(--gold); }
.roster-desc { max-width: 820px; margin: 0; color: var(--text); line-height: 1.7; }
.roster-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 0; padding: 0; list-style: none; }
.is-tank { --tone: #6fa8dc; }
.is-heal { --tone: #83c76f; }
.is-melee { --tone: #e8944a; }
.is-ranged { --tone: #b58cf0; }
.roster-summary li { display: grid; justify-items: center; gap: 4px; padding: 20px 14px; border: 1px solid var(--line); border-bottom: 3px solid var(--tone); border-radius: 6px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--tone) 14%, transparent), transparent 70%), rgba(27, 18, 13, .9); }
.roster-summary li > i { color: var(--tone); font-size: 20px; }
.roster-count { color: var(--text); font: 700 38px/1.1 var(--serif); }
.roster-summary strong { color: var(--tone); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.roster-backup { color: var(--muted); font-size: 13px; }
.roster-register { display: flex; justify-content: center; margin: 26px 0 8px; }
.roster-cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 22px; align-items: start; }
.roster-col { border: 1px solid var(--line); border-top: 3px solid var(--tone); border-radius: 6px; background: rgba(27, 18, 13, .9); overflow: hidden; }
.roster-col-head { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--tone) 8%, transparent); }
.roster-col-head h2 { margin: 0; font: 700 19px var(--serif); }
.roster-col-head h2 span { color: var(--tone); }
.roster-col-head p { margin: 2px 0 0; color: var(--muted); font-size: 13px; }
.roster-col-icon { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--tone); border-radius: 50%; color: var(--tone); }
.roster-col .join-empty { padding: 18px 20px; }
.roster-list { display: grid; gap: 10px; margin: 0; padding: 16px; list-style: none; }
.roster-member { position: relative; display: flex; gap: 14px; align-items: center; padding: 14px 16px; overflow: hidden; border: 1px solid color-mix(in srgb, var(--class) 28%, transparent); border-radius: 6px; background: linear-gradient(100deg, color-mix(in srgb, var(--class) 20%, transparent), rgba(0, 0, 0, .25) 60%), rgba(20, 12, 8, .9); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.roster-member::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--class); box-shadow: 0 0 14px var(--class); }
.roster-member:hover { transform: translateX(4px); border-color: var(--class); box-shadow: 0 8px 22px rgba(0, 0, 0, .35), 0 0 18px color-mix(in srgb, var(--class) 25%, transparent); }
.roster-avatar { display: grid; width: 48px; height: 48px; flex: none; place-items: center; border: 2px solid var(--class); border-radius: 50%; background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--class) 45%, #000), rgba(0, 0, 0, .55)); box-shadow: 0 0 14px color-mix(in srgb, var(--class) 40%, transparent); color: #fff; font: 700 19px var(--serif); text-shadow: 0 1px 4px #000; }
.roster-member-body { min-width: 0; flex: 1; }
.roster-member-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.roster-member-top strong { color: var(--class); font-size: 16.5px; letter-spacing: .02em; }
.roster-alt { display: inline-grid; width: 22px; height: 22px; place-items: center; border: 1px solid color-mix(in srgb, var(--tone) 55%, transparent); border-radius: 50%; background: color-mix(in srgb, var(--tone) 18%, transparent); color: var(--tone); font-size: 10px; }
.roster-member-class { display: block; margin-top: 2px; color: var(--text); font-size: 13px; opacity: .8; }
.roster-member-class em { color: var(--gold); font-style: normal; font-weight: 700; }
.roster-note { margin: 5px 0 0; padding-top: 5px; border-top: 1px dashed rgba(239, 202, 151, .18); color: var(--muted); font-size: 12.5px; font-style: italic; line-height: 1.45; }.roster-page .charter-cta { margin-top: 56px; }
.roster-page .charter-cta .about-btn { margin: 4px 6px 0; }
@media (max-width: 900px) { .roster-summary { grid-template-columns: repeat(2, 1fr); } .roster-cols { grid-template-columns: 1fr; } }

.roster-banner { height: 240px; background: linear-gradient(180deg, rgba(20, 12, 8, .25), rgba(27, 18, 13, .95)), url("../images/wow-banner.jpg") center / cover no-repeat, linear-gradient(135deg, #1b2a3b, #1a100b 70%); }
.roster-register { margin: 22px 0 0; padding: 16px 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; background: rgba(27, 18, 13, .85); }
.roster-register p { margin: 0; color: var(--text); line-height: 1.6; }
.roster-register i { margin-right: 8px; color: var(--gold); }
.roster-register strong { color: var(--gold); }

.roster-col > summary { cursor: pointer; list-style: none; user-select: none; transition: background .2s ease; }
.roster-col > summary::-webkit-details-marker { display: none; }
.roster-col > summary::after { content: "\f078"; margin-left: auto; color: var(--tone); font: 900 14px "Font Awesome 6 Free"; transition: transform .2s ease; }
.roster-col[open] > summary::after { transform: rotate(180deg); }
.roster-col:not([open]) > summary { border-bottom-color: transparent; }
.roster-col > summary:hover { background: color-mix(in srgb, var(--tone) 16%, transparent); }
.roster-col > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

/* Bulle cookies */
.footer-cookie-btn { border: 0; background: none; cursor: pointer; font: inherit; }
.cookie-bubble { position: fixed; z-index: 1000; bottom: 22px; left: 22px; width: min(420px, calc(100vw - 32px)); padding: 20px 22px; border: 1px solid rgba(230, 189, 116, .45); border-radius: 10px; background: radial-gradient(ellipse at 0% 0%, rgba(235, 120, 40, .14), transparent 60%), rgba(24, 15, 10, .97); box-shadow: 0 18px 50px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(24px); transition: opacity .3s ease, transform .3s ease; }
.cookie-bubble[hidden] { display: none; }
.cookie-bubble.is-visible { opacity: 1; transform: none; }
.cookie-head { display: flex; align-items: center; gap: 12px; }
.cookie-icon { display: grid; width: 38px; height: 38px; flex: none; place-items: center; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold); }
.cookie-head h2 { margin: 0; color: var(--gold); font: 700 17px var(--serif); }
.cookie-bubble > p { margin: 12px 0 0; color: var(--text); font-size: 14px; line-height: 1.6; }
.cookie-options { display: grid; gap: 8px; margin-top: 14px; }
.cookie-opt { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .03); cursor: pointer; }
.cookie-opt strong { display: block; font-size: 14px; }
.cookie-opt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.cookie-opt input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-slider { position: relative; flex: none; width: 44px; height: 24px; border-radius: 999px; background: #3a2c22; transition: background .2s ease; }
.cookie-slider::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #d8c3a5; transition: transform .2s ease; }
.cookie-opt input:checked + .cookie-slider { background: #b9822f; }
.cookie-opt input:checked + .cookie-slider::after { transform: translateX(20px); background: #fff3d6; }
.cookie-opt input:focus-visible + .cookie-slider { outline: 2px solid var(--gold); outline-offset: 2px; }
.cookie-opt.is-locked { cursor: not-allowed; opacity: .75; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.cookie-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, .05); color: var(--text); cursor: pointer; font: 700 13px inherit; font-family: inherit; transition: filter .2s ease, transform .2s ease; }
.cookie-btn:hover { filter: brightness(1.25); transform: translateY(-1px); }
.cookie-btn.is-accept, .cookie-btn.is-save { border-color: var(--gold); background: linear-gradient(180deg, #d9a65e, #a86f2a); color: #1b110a; }
.cookie-btn.is-reject { margin-left: auto; color: #e58f7a; border-color: rgba(217, 105, 79, .45); }
.cookie-btn[hidden] { display: none; }
@media (max-width: 520px) { .cookie-bubble { bottom: 12px; left: 12px; } .cookie-btn.is-reject { margin-left: 0; } }

/* Footer */
.vfoot { border-top: 1px solid rgba(239, 202, 151, .18); background: radial-gradient(ellipse at 10% 0%, rgba(235, 120, 40, .08), transparent 55%), #0e0906; }
.vfoot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 48px 7.2% 36px; }
.vfoot-about p { margin: 14px 0 18px; color: rgba(242, 239, 232, .7); font-size: 14px; line-height: 1.6; }
.vfoot-about p i { margin-right: 7px; color: var(--gold); }
.vfoot-discord { display: inline-flex; align-items: center; gap: 9px; padding: 9px 14px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 5px; color: var(--gold); font-size: 13px; font-weight: 700; transition: background .2s ease, color .2s ease; }
.vfoot-discord:hover { background: var(--gold); color: var(--ink); }
.vfoot-col { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.vfoot-col h3 { margin: 0 0 6px; padding-bottom: 8px; border-bottom: 1px solid rgba(217, 166, 94, .3); color: var(--gold); font: 700 13px var(--serif); letter-spacing: .14em; text-transform: uppercase; }
.vfoot-col a, .vfoot-col button { padding: 0; border: 0; background: none; color: rgba(242, 239, 232, .72); cursor: pointer; font: inherit; font-size: 14px; text-align: left; transition: color .2s ease, transform .2s ease; }
.vfoot-col a:hover, .vfoot-col button:hover { color: var(--gold); transform: translateX(3px); }
.vfoot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 18px 7.2%; border-top: 1px solid rgba(239, 202, 151, .1); color: rgba(242, 239, 232, .5); font-size: 12px; }
.vfoot-bottom i { margin-right: 4px; }
@media (max-width: 860px) { .vfoot-grid { grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 36px; } .vfoot-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .vfoot-grid { grid-template-columns: 1fr; } .vfoot-bottom { flex-direction: column; } }

/* Infobulles */
.tip-src { display: none !important; }
.vtip { position: fixed; z-index: 1100; max-width: 280px; padding: 12px 14px; border: 1px solid rgba(230, 189, 116, .5); border-radius: 8px; background: radial-gradient(ellipse at 0% 0%, rgba(235, 120, 40, .16), transparent 65%), rgba(22, 14, 9, .97); box-shadow: 0 14px 36px rgba(0, 0, 0, .65); color: var(--text); font-size: 13px; line-height: 1.5; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s ease, transform .15s ease; }
.vtip.is-visible { opacity: 1; transform: none; }
.vtip::after { content: ""; position: absolute; left: var(--arrow, 50%); bottom: -6px; width: 10px; height: 10px; border-right: 1px solid rgba(230, 189, 116, .5); border-bottom: 1px solid rgba(230, 189, 116, .5); background: rgb(22, 14, 9); transform: translateX(-50%) rotate(45deg); }
.vtip.is-below::after { top: -6px; bottom: auto; transform: translateX(-50%) rotate(225deg); }
.vtip .tip-title { display: block; color: var(--gold); font: 700 15px var(--serif); letter-spacing: .03em; }
.vtip .tip-sub { display: block; margin: 2px 0 8px; padding-bottom: 8px; border-bottom: 1px solid rgba(239, 202, 151, .2); color: var(--muted); font-size: 12px; letter-spacing: .04em; }
.vtip .tip-row { display: block; margin-top: 4px; color: rgba(242, 239, 232, .85); }
.vtip .tip-row i { width: 16px; margin-right: 4px; color: var(--gold); text-align: center; }
.vtip .tip-row b { color: var(--gold); font-weight: 700; }
.vtip .tip-reroll { display: block; margin-top: 5px; padding: 5px 9px; border-left: 3px solid var(--c); border-radius: 3px; background: color-mix(in srgb, var(--c) 14%, transparent); font-size: 12px; }
.vtip .tip-reroll b { color: var(--c); font-size: 13px; }
.roster-rerolls { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border: 1px solid rgba(230, 189, 116, .35); border-radius: 999px; background: rgba(230, 189, 116, .1); color: var(--gold); font-size: 11px; font-weight: 700; cursor: help; }
.roster-alt, .roster-summary li { cursor: help; }
.roster-member { cursor: default; }
.roster-member:focus-visible, .roster-alt:focus-visible, .roster-rerolls:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Calculateur de talents */
.talent-wrap { max-width: 1240px; }
.talent-page { --cls: #d9a65e; }
.talent-classes { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin-top: 8px; }
.talent-class { display: grid; justify-items: center; gap: 8px; padding: 14px 6px; border: 1px solid var(--line); border-bottom: 3px solid color-mix(in srgb, var(--cls) 45%, transparent); border-radius: 6px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--cls) 12%, transparent), transparent 70%), rgba(27, 18, 13, .9); color: var(--text); cursor: pointer; font: 700 13px inherit; font-family: inherit; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.talent-class i { color: var(--cls); font-size: 22px; }
.talent-class:hover { transform: translateY(-3px); border-color: var(--cls); }
.talent-class.is-active { border-color: var(--cls); border-bottom-color: var(--cls); background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--cls) 28%, transparent), transparent 75%), rgba(27, 18, 13, .95); box-shadow: 0 0 22px color-mix(in srgb, var(--cls) 30%, transparent); color: var(--cls); }
.talent-class:focus-visible, .talent-node:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.talent-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 22px; padding: 16px 20px; border: 1px solid var(--line); border-top: 3px solid var(--cls); border-radius: 6px; background: rgba(27, 18, 13, .92); }
.talent-bar[hidden], .talent-empty[hidden], .talent-saved[hidden] { display: none; }
.talent-stat { display: grid; gap: 2px; }
.talent-stat > span { color: var(--muted); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; }
.talent-stat strong { color: var(--gold); font: 700 22px var(--serif); }
.talent-stat strong.is-zero { color: #e58f7a; }
.talent-stat select { padding: 6px 10px; border: 1px solid var(--line); border-radius: 4px; background: #140c08; color: var(--text); font: 700 15px inherit; font-family: inherit; }
.talent-split b { font-size: 22px; }
.talent-split .split-0 { color: #6fa8dc; }
.talent-split .split-1 { color: #e8944a; }
.talent-split .split-2 { color: #83c76f; }
.talent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }
.talent-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border: 1px solid var(--line); border-radius: 5px; background: rgba(255, 255, 255, .05); color: var(--text); cursor: pointer; font: 700 13px inherit; font-family: inherit; transition: filter .2s ease, transform .2s ease; }
.talent-btn:hover { filter: brightness(1.25); transform: translateY(-1px); }
.talent-btn.is-primary, .talent-btn.is-on { border-color: var(--gold); background: linear-gradient(180deg, #d9a65e, #a86f2a); color: #1b110a; }
.talent-btn.is-danger { color: #e58f7a; border-color: rgba(217, 105, 79, .45); }
.talent-empty { margin: 36px 0; padding: 40px 20px; border: 1px dashed var(--line); border-radius: 6px; color: var(--muted); text-align: center; }
.talent-empty i { margin-right: 8px; color: var(--gold); }
.talent-trees { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; }
.talent-tree { display: flex; flex-direction: column; align-items: center; padding: 18px 16px 22px; border: 1px solid var(--line); border-radius: 6px; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--cls) 10%, transparent), transparent 55%), rgba(20, 12, 8, .92); }
.talent-tree-head { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(239, 202, 151, .18); }
.talent-tree-icon { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--cls); border-radius: 50%; color: var(--cls); }
.talent-tree-head h2 { margin: 0; font: 700 18px var(--serif); }
.talent-tree-pts { margin-left: auto; padding: 2px 12px; border: 1px solid rgba(230, 189, 116, .4); border-radius: 999px; background: rgba(230, 189, 116, .1); color: var(--gold); font: 700 15px var(--serif); }
.talent-tree-reset { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: none; color: var(--muted); cursor: pointer; transition: color .2s ease, border-color .2s ease; }
.talent-tree-reset:hover { border-color: var(--gold); color: var(--gold); }
.talent-grid { position: relative; max-width: 100%; }
.talent-arrows { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.talent-arrow line { stroke: rgba(255, 255, 255, .14); stroke-width: 4; }
.talent-arrow polygon { fill: rgba(255, 255, 255, .14); }
.talent-arrow.is-on line { stroke: #7fbf6a; }
.talent-arrow.is-on polygon { fill: #7fbf6a; }
.talent-node { position: absolute; display: grid; width: 60px; height: 60px; place-items: center; padding: 0; border: 2px solid #4a3a2c; border-radius: 8px; background: radial-gradient(circle at 30% 25%, #2a1d14, #120b07); color: #6d5d4c; cursor: pointer; font-size: 22px; transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease; }
.talent-node.is-available { border-color: #7fbf6a; color: #c9e8bd; box-shadow: 0 0 12px rgba(127, 191, 106, .35); }
.talent-node.is-active { border-color: var(--gold); background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--cls) 35%, #1b110a), #120b07); color: var(--cls); box-shadow: 0 0 14px rgba(230, 189, 116, .35); }
.talent-node.is-maxed { border-color: #f2d27a; box-shadow: 0 0 18px rgba(242, 210, 122, .55); }
.talent-node.is-locked { opacity: .55; filter: grayscale(.7); cursor: not-allowed; }
.talent-node:hover:not(.is-locked) { transform: scale(1.07); z-index: 2; }
.talent-badge { position: absolute; right: -6px; bottom: -8px; padding: 1px 6px; border: 1px solid #4a3a2c; border-radius: 4px; background: #0e0906; color: #d8c3a5; font: 800 11px inherit; font-family: inherit; }
.talent-node.is-available .talent-badge { border-color: #7fbf6a; color: #a7ce8f; }
.talent-node.is-active .talent-badge { border-color: var(--gold); color: var(--gold); }
.talent-node.is-maxed .talent-badge { background: #4a3410; color: #ffe39a; }
.vtip .tip-need { color: #e58f7a; }
.vtip .tip-need.is-ok { color: #a7ce8f; }
.vtip .tip-need i { color: inherit; }
.vtip .tip-hint { margin-top: 8px; padding-top: 7px; border-top: 1px dashed rgba(239, 202, 151, .2); color: var(--muted); font-size: 11.5px; }
.talent-saved { margin-top: 30px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 6px; background: rgba(27, 18, 13, .92); }
.talent-saved h2 { margin: 0 0 14px; font: 700 20px var(--serif); }
.talent-saved h2 i { margin-right: 8px; color: var(--gold); }
.talent-save-form { display: flex; flex-wrap: wrap; gap: 10px; }
.talent-save-form input { flex: 1; min-width: 200px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 5px; background: #140c08; color: var(--text); font: inherit; }
.talent-builds { display: grid; gap: 10px; margin: 16px 0 0; padding: 0; list-style: none; }
.talent-build { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 14px; border: 1px solid color-mix(in srgb, var(--cls) 30%, transparent); border-left: 4px solid var(--cls); border-radius: 5px; background: linear-gradient(100deg, color-mix(in srgb, var(--cls) 14%, transparent), rgba(0, 0, 0, .2) 60%); }
.talent-build-class { color: var(--cls); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.talent-build strong { flex: 1; }
.talent-build-split { color: var(--gold); font: 700 15px var(--serif); }
.talent-builds-empty { color: var(--muted); font-size: 14px; }
.talent-hint { margin: 12px 0 0; color: var(--muted); font-size: 12px; }
@media (max-width: 1100px) { .talent-trees { grid-template-columns: 1fr; justify-items: center; } .talent-tree { width: min(100%, 420px); } .talent-classes { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 520px) { .talent-classes { grid-template-columns: repeat(3, 1fr); } .talent-actions { margin-left: 0; } }

/* Widget compte à rebours */
.launch-widget { position: fixed; z-index: 900; top: 50%; right: 0; display: flex; align-items: stretch; transform: translate(calc(100% - 46px), -50%); transition: transform .35s ease; }
.launch-widget.is-open { transform: translate(0, -50%); }
.launch-tab { display: grid; width: 46px; flex: none; place-items: center; align-content: center; gap: 6px; padding: 14px 0; border: 1px solid rgba(230, 189, 116, .5); border-right: 0; border-radius: 10px 0 0 10px; background: linear-gradient(180deg, #3b2417, #1a100b); color: var(--gold); cursor: pointer; box-shadow: -6px 8px 24px rgba(0, 0, 0, .5); }
.launch-tab i { font-size: 18px; }
.launch-tab-days { font: 700 12px var(--serif); line-height: 1; }
.launch-tab-days b { display: block; font-size: 17px; }
.launch-tab:hover { filter: brightness(1.2); }
.launch-tab:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.launch-panel { width: 330px; padding: 18px 18px 14px; border: 1px solid rgba(230, 189, 116, .5); border-right: 0; border-radius: 0 0 0 10px; background: radial-gradient(ellipse at 50% 0%, rgba(235, 120, 40, .2), transparent 65%), rgba(22, 14, 9, .97); box-shadow: -8px 10px 30px rgba(0, 0, 0, .55); text-align: center; }
.launch-eyebrow { margin: 0; color: var(--muted); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.launch-eyebrow i { margin-right: 6px; color: var(--gold); }
.launch-panel h2 { margin: 6px 0 14px; color: var(--gold); font: 700 18px var(--serif); }
.launch-timer { display: flex; align-items: flex-start; justify-content: center; gap: 6px; }
.launch-timer[hidden], .launch-done[hidden] { display: none; }
.launch-timer > div { display: grid; min-width: 58px; padding: 8px 4px 6px; border: 1px solid rgba(230, 189, 116, .3); border-radius: 6px; background: rgba(0, 0, 0, .35); }
.launch-timer b { color: var(--text); font: 700 28px/1.1 var(--serif); font-variant-numeric: tabular-nums; }
.launch-timer span { margin-top: 2px; color: var(--gold); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.launch-timer > i { padding-top: 10px; color: var(--gold); font: 700 22px var(--serif); font-style: normal; }
.launch-done { margin: 0; color: #a7ce8f; line-height: 1.5; }
@media (max-width: 520px) { .launch-panel { width: min(300px, calc(100vw - 46px)); } .launch-timer > div { min-width: 50px; } .launch-timer b { font-size: 24px; } }

.launch-tab { min-height: 96px; }
.launch-tab-days { display: grid; justify-items: center; gap: 2px; }

/* ===== Accueil vivant ===== */
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 200; width: 100%; height: 3px; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #8a5a1c, var(--gold), #ffd68a); box-shadow: 0 0 10px rgba(244, 177, 76, .7); pointer-events: none; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.hero .slide-art { translate: var(--px, 0) var(--py, 0); transition: transform 7s ease, translate .5s ease-out; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(260px circle at var(--cx, 70%) var(--cy, 50%), rgba(255, 170, 70, .13), transparent 70%); mix-blend-mode: screen; }
.primary-button { transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }

.hstats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; max-width: 1100px; margin: -46px auto 0; position: relative; z-index: 5; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55); }
.hstat { display: grid; justify-items: center; gap: 4px; padding: 26px 12px; background: linear-gradient(180deg, #2a190e, #170d07); text-align: center; transition: background .3s ease; }
.hstat:hover { background: linear-gradient(180deg, #3a2312, #1d1109); }
.hstat i { color: var(--gold); font-size: 20px; margin-bottom: 4px; }
.hstat strong { font: 700 44px/1 var(--serif); color: #ffe2a8; text-shadow: 0 0 18px rgba(244, 177, 76, .4); }
.hstat span { color: var(--muted); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }

.life-section, .hroster, .hnews, .hfaq { max-width: 1100px; margin: 0 auto; padding: 96px 24px 0; text-align: center; }
.life-section h2, .hroster h2, .hnews h2, .hfaq h2 { margin: 6px 0 30px; }
.life-section .eyebrow, .hroster .eyebrow, .hnews .eyebrow, .hfaq .eyebrow { justify-content: center; }
.life-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 26px; }
.life-tab { display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(30, 18, 10, .7); color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; transition: all .25s ease; }
.life-tab:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }
.life-tab.is-active { color: #1a0f08; background: linear-gradient(180deg, #ffd68a, var(--gold)); border-color: var(--gold); box-shadow: 0 0 22px rgba(244, 177, 76, .35); }
.life-panels { position: relative; text-align: left; }
.life-panel { display: none; position: relative; overflow: hidden; padding: 38px 44px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(circle at 90% 10%, rgba(244, 140, 50, .16), transparent 55%), linear-gradient(180deg, rgba(48, 29, 17, .75), rgba(20, 12, 7, .92)); animation: lifeIn .5s ease; }
.life-panel.is-active { display: block; }
@keyframes lifeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.life-big { position: absolute; right: 36px; top: 24px; color: rgba(244, 177, 76, .12); font-size: 150px; transition: transform .6s ease; }
.life-panel:hover .life-big { transform: rotate(-8deg) scale(1.08); color: rgba(244, 177, 76, .2); }
.life-panel h3 { margin: 0 0 12px; font: 600 28px var(--serif); color: #ffe2a8; }
.life-panel p { max-width: 560px; margin: 0 0 18px; color: var(--muted); line-height: 1.7; }
.life-panel ul { display: grid; gap: 9px; margin: 0 0 22px; padding: 0; list-style: none; }
.life-panel li { display: flex; align-items: center; gap: 10px; }
.life-panel li i { color: var(--gold); font-size: 12px; }
.life-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold); font-weight: 700; text-decoration: none; }
.life-link i { transition: transform .25s ease; }
.life-link:hover i { transform: translateX(6px); }

.hroles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 30px; }
.hrole, .news-card[data-tilt] { transition: transform .2s ease, border-color .25s ease, box-shadow .25s ease; will-change: transform; }
.hrole { position: relative; display: grid; justify-items: center; gap: 6px; overflow: hidden; padding: 34px 16px; border: 1px solid color-mix(in srgb, var(--rc) 40%, transparent); border-radius: 10px; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--rc) 28%, transparent), transparent 65%), linear-gradient(180deg, #2a190e, #150c06); text-decoration: none; }
.hrole:hover { border-color: var(--rc); box-shadow: 0 0 30px color-mix(in srgb, var(--rc) 35%, transparent); }
.hrole i { color: var(--rc); font-size: 30px; filter: drop-shadow(0 0 12px var(--rc)); }
.hrole strong { font: 700 54px/1 var(--serif); color: #fff1d0; }
.hrole span { color: var(--muted); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }

.hnews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 26px; text-align: left; }
.hnews-grid .news-card:hover { border-color: var(--cat); box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 22px color-mix(in srgb, var(--cat) 30%, transparent); }

.hfaq-list { display: grid; gap: 12px; max-width: 760px; margin: 0 auto; text-align: left; }
.hfaq-list details { border: 1px solid var(--line); border-radius: 8px; background: rgba(30, 18, 10, .7); transition: border-color .25s ease, background .25s ease; }
.hfaq-list details[open] { border-color: var(--gold); background: rgba(48, 29, 17, .8); }
.hfaq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 22px; font-weight: 700; cursor: pointer; list-style: none; }
.hfaq-list summary::-webkit-details-marker { display: none; }
.hfaq-list summary::after { content: "+"; color: var(--gold); font-size: 22px; transition: transform .3s ease; }
.hfaq-list details[open] summary::after { transform: rotate(45deg); }
.hfaq-list details p { margin: 0; padding: 0 22px 20px; color: var(--muted); line-height: 1.7; }
.join-section { margin-top: 96px; }

@media (max-width: 800px) {
  .hstats { grid-template-columns: repeat(2, 1fr); margin: -30px 16px 0; }
  .hroles, .hnews-grid { grid-template-columns: 1fr; }
  .life-panel { padding: 28px 22px; }
  .life-big { font-size: 90px; right: 14px; }
}
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

.life-section h2, .hroster h2, .hnews h2, .hfaq h2 { font-family: var(--serif); font-weight: 600; font-size: clamp(34px, 4vw, 54px); line-height: 1.05; text-transform: uppercase; }
.life-section h2 em, .hroster h2 em, .hnews h2 em, .hfaq h2 em { color: var(--gold); font-style: normal; }

/* ===== Lives Twitch ===== */
.lives-wrap { max-width: 1320px; }
.lives-page .about-hero h1 em { color: var(--gold); font-style: normal; }
.lives-layout { display: grid; grid-template-columns: 270px 1fr; gap: 22px; align-items: start; }
.lives-list { position: sticky; top: 96px; padding: 18px 14px; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, rgba(48, 29, 17, .7), rgba(20, 12, 7, .92)); }
.lives-list h2 { margin: 0 0 12px; padding: 0 6px; color: var(--gold); font: 700 13px var(--sans, inherit); letter-spacing: .16em; text-transform: uppercase; }
.lives-list h2 i { margin-right: 6px; color: #a970ff; }
.lives-list h2 span { color: var(--muted); font-weight: 600; letter-spacing: .06em; text-transform: none; }
.lives-list ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; max-height: 560px; overflow-y: auto; }
.lv-item { display: flex; align-items: center; gap: 11px; width: 100%; padding: 10px; border: 1px solid transparent; border-radius: 8px; background: rgba(0, 0, 0, .25); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: all .2s ease; }
.lv-item:hover { border-color: rgba(230, 189, 116, .45); transform: translateX(3px); }
.lv-item.is-current { border-color: var(--gold); background: rgba(244, 177, 76, .12); }
.lv-avatar { position: relative; display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden; border: 2px solid rgba(230, 189, 116, .4); border-radius: 50%; background: #3a2412; color: var(--gold); font-weight: 800; }
.lv-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lv-item.is-live .lv-avatar { border-color: #ff3b4e; box-shadow: 0 0 12px rgba(255, 59, 78, .55); }
.lv-item:not(.is-live) .lv-avatar img { filter: grayscale(.85) brightness(.8); }
.lv-avatar.is-big { width: 76px; height: 76px; font-size: 28px; }
.lv-meta { display: grid; min-width: 0; flex: 1; }
.lv-meta strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.lv-game { overflow: hidden; color: var(--muted); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.lv-badge { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 999px; background: rgba(255, 59, 78, .18); color: #ff8a96; font-size: 11px; font-weight: 800; }
.lv-badge i, .lv-status i { width: 7px; height: 7px; border-radius: 50%; background: #ff3b4e; animation: lvPulse 1.4s ease-in-out infinite; }
@keyframes lvPulse { 50% { opacity: .35; transform: scale(.7); } }

.lives-screen { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 14px; }
.lives-player, .lives-chat { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #0c0705; box-shadow: 0 16px 44px rgba(0, 0, 0, .55), 0 0 0 1px rgba(0, 0, 0, .6); }
.lives-player { position: relative; aspect-ratio: 16 / 9; }
.lives-chat { min-height: 0; }
.lives-player iframe, .lives-chat iframe { display: block; width: 100%; height: 100%; border: 0; }
.lives-chat { height: 100%; }
.lives-info { margin-top: 14px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(circle at 95% 0%, rgba(169, 112, 255, .12), transparent 50%), linear-gradient(180deg, rgba(48, 29, 17, .75), rgba(20, 12, 7, .92)); }
.lv-head { display: flex; align-items: center; gap: 18px; }
.lv-head-text { flex: 1; min-width: 0; }
.lv-head-text h2 { margin: 4px 0 4px; font: 600 24px/1.25 var(--serif); color: #ffe2a8; }
.lv-sub { margin: 0; color: var(--muted); }
.lv-sub strong { color: var(--text); }
.lv-sub i { color: var(--gold); }
.lv-status { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lv-status.is-live { color: #ff6b7a; }
.lv-stats { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.lv-stats i { margin-right: 6px; color: var(--gold); }
.lv-stats b { color: var(--text); }
.lv-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.lv-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border: 1px solid color-mix(in srgb, var(--c, #e6bd74) 45%, transparent); border-radius: 999px; background: rgba(0, 0, 0, .3); color: var(--c, var(--text)); font-size: 13px; font-weight: 700; text-decoration: none; }
.lv-tag.is-link { color: var(--gold); transition: background .2s ease; }
.lv-tag.is-link:hover { background: rgba(244, 177, 76, .15); }
.lives-empty { display: grid; justify-items: center; gap: 10px; max-width: 520px; margin: 30px auto; padding: 44px 28px; border: 1px dashed var(--line); border-radius: 12px; text-align: center; background: rgba(30, 18, 10, .6); }
.lives-empty > i { color: #a970ff; font-size: 54px; filter: drop-shadow(0 0 18px rgba(169, 112, 255, .5)); }
.lives-empty h2 { margin: 0; font: 600 26px var(--serif); color: #ffe2a8; }
.lives-empty p { margin: 0 0 8px; color: var(--muted); }
@media (max-width: 1100px) {
  .lives-layout { grid-template-columns: 1fr; }
  .lives-list { position: static; }
  .lives-list ul { grid-auto-flow: column; grid-auto-columns: 220px; overflow-x: auto; max-height: none; }
}
@media (max-width: 860px) {
  .lives-screen { grid-template-columns: 1fr; }
  .lives-chat { height: 420px; }
  .lv-head { flex-wrap: wrap; }
}

/* Lives : cadres agrandis, liste en bandeau */
.lives-page .lives-wrap { max-width: min(1760px, 96vw); }
.lives-layout { grid-template-columns: 1fr; gap: 18px; }
.lives-list { position: static; display: block; padding: 14px 16px; }
#lives-items { display: flex; flex-wrap: wrap; gap: 14px 30px; }
.lv-group { min-width: 0; }
.lv-group h3 { margin: 0 0 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.lv-group h3 i { margin-right: 6px; }
.lv-group h3 span { color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.lv-group ul { display: flex; flex-wrap: wrap; gap: 8px; max-height: none; overflow: visible; }
.lv-group .lv-item { width: 230px; }
.lives-screen { grid-template-columns: minmax(0, 1fr) 420px; gap: 16px; }
.lives-chat { height: auto; min-height: 480px; }
.lives-screen .lives-player { aspect-ratio: auto; height: min(78vh, 800px); min-height: 480px; }
.lives-screen .lives-chat { height: min(78vh, 800px); }
@media (max-width: 1100px) { .lives-screen { grid-template-columns: 1fr; } .lives-screen .lives-player { height: auto; aspect-ratio: 16 / 9; min-height: 0; } .lives-screen .lives-chat { height: 520px; } }

/* Lives : liste de nouveau à gauche */
.lives-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 22px; }
.lives-list { position: sticky; top: 96px; }
#lives-items { display: grid; gap: 16px; }
.lv-group ul { display: grid; gap: 6px; }
.lv-group .lv-item { width: 100%; }
@media (max-width: 1100px) {
  .lives-layout { grid-template-columns: 1fr; }
  .lives-list { position: static; }
  #lives-items { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
}

.lv-bnet { --c: #4aa3ff; border-color: rgba(74, 163, 255, .55); background: rgba(0, 120, 255, .12); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lv-bnet:hover { background: rgba(0, 120, 255, .26); transform: translateY(-1px); }
.lv-bnet i.fa-battle-net { font-size: 15px; }
.lv-bnet .lv-copy { opacity: .7; font-size: 12px; }
.lv-bnet.is-copied { border-color: #6fd08c; color: #8fe3a8; background: rgba(80, 200, 120, .16); }

/* Lives : statut, pastilles et bouton Suivre */
.lv-status { padding: 4px 12px 4px 10px; border: 1px solid currentColor; border-radius: 999px; background: color-mix(in srgb, currentColor 12%, transparent); }
.lv-status i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: none; }
.lv-status.is-live { color: #ff5468; box-shadow: 0 0 18px rgba(255, 84, 104, .35); }
.lv-status.is-live i { box-shadow: 0 0 0 0 rgba(255, 84, 104, .7); animation: lvRing 1.5s ease-out infinite; }
.lv-status.is-off { color: #8e8378; }
.lv-status.is-off i { animation: lvBreath 3s ease-in-out infinite; }
.lv-status.is-unknown { color: #b58bff; }
.lv-status.is-unknown i { animation: lvBreath 2s ease-in-out infinite; }
@keyframes lvRing { 0% { box-shadow: 0 0 0 0 rgba(255, 84, 104, .7); } 100% { box-shadow: 0 0 0 10px rgba(255, 84, 104, 0); } }
@keyframes lvBreath { 50% { opacity: .35; } }
.lv-sub i { margin-right: 6px; }
.lv-twitch { --c: #b58bff; border-color: rgba(169, 112, 255, .6); background: rgba(145, 70, 255, .14); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.lv-twitch:hover { background: rgba(145, 70, 255, .3); transform: translateY(-1px); }
.lv-twitch .lv-copy { opacity: .7; font-size: 12px; }
.lv-twitch.is-copied { border-color: #6fd08c; color: #8fe3a8; background: rgba(80, 200, 120, .16); }
.lv-follow { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; padding: 13px 22px; border-radius: 8px; background: linear-gradient(135deg, #9146ff, #6a2bd9); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 6px 22px rgba(145, 70, 255, .4); transition: transform .25s ease, box-shadow .25s ease; }
.lv-follow:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(145, 70, 255, .6); }
.lv-follow:active { transform: translateY(-1px) scale(.98); }
.lv-follow .fa-twitch { font-size: 18px; transition: transform .35s ease; }
.lv-follow:hover .fa-twitch { transform: rotate(-12deg) scale(1.2); }
.lv-follow-out { font-size: 12px; opacity: .7; transition: transform .25s ease; }
.lv-follow:hover .lv-follow-out { transform: translate(3px, -3px); opacity: 1; }
.lv-follow-shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: lvShine 3.2s ease-in-out infinite; }
@keyframes lvShine { 0%, 55% { left: -60%; } 100% { left: 140%; } }

.lives-empty > i.fa-images { color: var(--gold); filter: drop-shadow(0 0 18px rgba(244, 177, 76, .5)); }

/* ===== Addons ===== */
.ad-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin: 1.5rem 0; }
.ad-search { display: flex; align-items: center; gap: .6rem; padding: .6rem 1rem; background: rgba(0,0,0,.35); border: 1px solid rgba(217,166,94,.3); border-radius: 999px; color: var(--gold); }
.ad-search input { background: none; border: 0; outline: 0; color: var(--text); min-width: 200px; font: inherit; }
.ad-cats { display: flex; flex-wrap: wrap; gap: .5rem; flex: 1; }
.ad-chip { padding: .45rem .95rem; border-radius: 999px; border: 1px solid rgba(217,166,94,.3); background: rgba(0,0,0,.3); color: var(--text); cursor: pointer; font: inherit; font-size: .85rem; transition: .2s; }
.ad-chip:hover, .ad-chip.is-active { background: var(--gold); color: #1a0f08; border-color: var(--gold); }
.ad-sort { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--gold); }
.ad-sort select { background: rgba(0,0,0,.5); color: var(--text); border: 1px solid rgba(217,166,94,.3); border-radius: 8px; padding: .45rem .6rem; font: inherit; }
.ad-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.1rem; }
.ad-card { text-align: left; display: flex; flex-direction: column; gap: .5rem; padding: 1.2rem; border-radius: 14px; border: 1px solid rgba(217,166,94,.2); background: linear-gradient(160deg, rgba(60,36,20,.7), rgba(20,12,8,.85)); color: var(--text); cursor: pointer; font: inherit; transition: transform .25s, border-color .25s, box-shadow .25s; }
.ad-card[hidden] { display: none; }
.ad-card:hover { transform: translateY(-4px); border-color: var(--gold); box-shadow: 0 10px 30px rgba(0,0,0,.45), 0 0 18px rgba(217,166,94,.15); }
.ad-card strong { font-size: 1.1rem; color: var(--gold); }
.ad-card-cat { align-self: flex-start; padding: .15rem .6rem; border-radius: 999px; background: rgba(217,166,94,.15); border: 1px solid rgba(217,166,94,.35); color: var(--gold); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; }
.ad-card-desc { font-size: .88rem; opacity: .85; flex: 1; }
.ad-card-meta { font-size: .78rem; opacity: .65; }
.ad-none { text-align: center; opacity: .75; margin-top: 2rem; }
.ad-modal { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.72); backdrop-filter: blur(4px); }
.ad-modal[hidden] { display: none; }
.ad-modal-box { position: relative; width: min(520px, 100%); padding: 2rem; border-radius: 16px; border: 1px solid var(--gold); background: linear-gradient(160deg, #3a2314, #170d07); box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 30px rgba(217,166,94,.2); animation: ad-pop .25s ease; }
.ad-modal-box h2 { margin: .7rem 0 .4rem; color: var(--gold); }
.ad-m-meta { font-size: .82rem; opacity: .7; }
.ad-modal-close { position: absolute; top: .8rem; right: .8rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(217,166,94,.4); background: none; color: var(--gold); cursor: pointer; }
.ad-m-actions { display: flex; flex-direction: column; gap: .6rem; margin-top: 1.4rem; }
.ad-btn { display: flex; align-items: center; justify-content: center; gap: .6rem; padding: .8rem 1rem; border-radius: 10px; border: 1px solid var(--gold); color: var(--gold); text-decoration: none; font-weight: 600; transition: .2s; }
.ad-btn:hover { background: rgba(217,166,94,.15); }
.ad-btn-app { background: linear-gradient(135deg, #f16436, #c2410c); border-color: #f16436; color: #fff; }
.ad-btn-app:hover { filter: brightness(1.12); background: linear-gradient(135deg, #f16436, #c2410c); }
.ad-btn[hidden] { display: none; }
body.ad-lock { overflow: hidden; }
@keyframes ad-pop { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }

/* ===== Addons : design avancé ===== */
.ad-card.c-red, .ad-chip.c-red, .ad-modal-box.c-red { --c: 232, 90, 79; } .ad-card.c-purple, .ad-chip.c-purple, .ad-modal-box.c-purple { --c: 163, 113, 247; } .ad-card.c-blue, .ad-chip.c-blue, .ad-modal-box.c-blue { --c: 88, 166, 255; }
.ad-card.c-amber, .ad-chip.c-amber, .ad-modal-box.c-amber { --c: 244, 177, 76; } .ad-card.c-green, .ad-chip.c-green, .ad-modal-box.c-green { --c: 86, 211, 100; }
.ad-stats { display: flex; justify-content: center; gap: 1rem; margin: 1.6rem 0 0; flex-wrap: wrap; }
.ad-stats > div { display: flex; flex-direction: column; align-items: center; min-width: 130px; padding: .8rem 1.4rem; border-radius: 12px; border: 1px solid rgba(217,166,94,.25); background: rgba(0,0,0,.3); }
.ad-stats b { font-family: var(--serif, 'Cinzel', serif); font-size: 1.9rem; color: var(--gold); text-shadow: 0 0 16px rgba(217,166,94,.5); line-height: 1.1; }
.ad-stats span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.ad-tools { padding: 1rem 1.2rem; border-radius: 16px; border: 1px solid rgba(217,166,94,.2); background: rgba(20,12,8,.7); backdrop-filter: blur(6px); position: sticky; top: 76px; z-index: 20; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.ad-chip { --c: 217, 166, 94; display: inline-flex; align-items: center; gap: .45rem; border-color: rgba(var(--c), .4); }
.ad-chip i { color: rgb(var(--c)); transition: color .2s; }
.ad-chip em { font-style: normal; font-size: .7rem; padding: .05rem .4rem; border-radius: 999px; background: rgba(var(--c), .2); }
.ad-chip:hover, .ad-chip.is-active { background: rgb(var(--c)); color: #1a0f08; border-color: rgb(var(--c)); box-shadow: 0 0 16px rgba(var(--c), .45); }
.ad-chip:hover i, .ad-chip.is-active i { color: #1a0f08; }
.ad-chip.is-active em, .ad-chip:hover em { background: rgba(0,0,0,.2); }
.ad-grid { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.4rem; }
.ad-card { --mx: 50%; --my: 0; position: relative; overflow: hidden; padding: 1.5rem 1.4rem 1.2rem; border-radius: 18px; border: 1px solid rgba(var(--c), .25); background: linear-gradient(165deg, rgba(58,35,20,.85), rgba(16,9,6,.95)); isolation: isolate; }
.ad-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(var(--c), .22), transparent 65%); opacity: 0; transition: opacity .3s; }
.ad-card::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(rgb(var(--c)), transparent); opacity: .8; }
.ad-card:hover { border-color: rgba(var(--c), .7); box-shadow: 0 14px 36px rgba(0,0,0,.55), 0 0 26px rgba(var(--c), .2); }
.ad-card:hover::before { opacity: 1; }
.ad-card strong { color: var(--text); font-size: 1.2rem; font-family: var(--serif, 'Cinzel', serif); letter-spacing: .02em; }
.ad-card:hover strong { color: rgb(var(--c)); }
.ad-card-cat { background: rgba(var(--c), .14); border-color: rgba(var(--c), .4); color: rgb(var(--c)); }
.ad-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: .2rem; border-radius: 14px; font-size: 1.4rem; color: rgb(var(--c)); background: radial-gradient(circle at 30% 25%, rgba(var(--c), .35), rgba(var(--c), .08)); border: 1px solid rgba(var(--c), .5); box-shadow: 0 0 20px rgba(var(--c), .25), inset 0 0 12px rgba(var(--c), .15); transition: transform .35s; }
.ad-card:hover .ad-icon { transform: rotate(-8deg) scale(1.1); }
.ad-new { position: absolute; top: 14px; right: -30px; transform: rotate(40deg); padding: .15rem 2rem; background: linear-gradient(90deg, #f4b14c, #e0792a); color: #1a0f08; font-size: .62rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 2px 8px rgba(0,0,0,.4); }
.ad-card-foot { display: flex; align-items: center; gap: .6rem; padding-top: .8rem; margin-top: .3rem; border-top: 1px solid rgba(255,255,255,.07); }
.ad-card-foot .ad-card-meta { flex: 1; }
.ad-cf { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: rgba(241,100,54,.2); color: #f16436; font-size: .7rem; }
.ad-go { color: rgb(var(--c)); opacity: 0; transform: translateX(-8px); transition: .3s; }
.ad-card:hover .ad-go { opacity: 1; transform: none; }
.ad-in { animation: ad-rise .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes ad-rise { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
.ad-modal-box { --c: 217, 166, 94; overflow: hidden; border-color: rgba(var(--c), .7); box-shadow: 0 24px 70px rgba(0,0,0,.75), 0 0 40px rgba(var(--c), .25); }
.ad-modal-box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 130px; background: radial-gradient(circle at 20% 0, rgba(var(--c), .35), transparent 70%); pointer-events: none; }
.ad-modal-box > * { position: relative; }
.ad-icon-lg { width: 68px; height: 68px; font-size: 1.9rem; border-radius: 18px; }
.ad-modal-box h2 { font-family: var(--serif, 'Cinzel', serif); font-size: 1.8rem; color: var(--text); }
.ad-modal-box .ad-card-cat { background: rgba(var(--c), .14); border-color: rgba(var(--c), .4); color: rgb(var(--c)); }
.ad-modal-box #ad-m-desc { line-height: 1.6; padding: 1rem; border-left: 3px solid rgb(var(--c)); background: rgba(0,0,0,.25); border-radius: 0 10px 10px 0; }
.ad-btn-app { box-shadow: 0 6px 20px rgba(241,100,54,.35); animation: ad-pulse 2.4s infinite; }
@keyframes ad-pulse { 50% { box-shadow: 0 6px 30px rgba(241,100,54,.6); } }
@media (prefers-reduced-motion: reduce) { .ad-in, .ad-btn-app, .ad-modal-box { animation: none; } }

.ad-card, .ad-chip, .ad-modal-box { --c: 217, 166, 94; }
.ad-modal-box > .ad-modal-close { position: absolute; z-index: 2; }

/* ===== Addons : filtres à gauche + API ===== */
.ad-wrap { max-width: 1280px; }
.ad-layout { display: grid; grid-template-columns: 270px 1fr; gap: 1.8rem; align-items: start; margin-top: 1.6rem; }
.ad-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 1rem; padding: 1.2rem; border-radius: 16px; border: 1px solid rgba(217,166,94,.25); background: rgba(20,12,8,.75); backdrop-filter: blur(6px); box-shadow: 0 8px 24px rgba(0,0,0,.4); max-height: calc(100vh - 110px); overflow-y: auto; }
.ad-side .ad-search { width: 100%; box-sizing: border-box; }
.ad-side .ad-search input { min-width: 0; width: 100%; }
.ad-side .ad-sort { flex-direction: column; align-items: stretch; gap: .35rem; }
.ad-side .ad-sort select { width: 100%; }
.ad-side-title { margin: .4rem 0 0; font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; color: var(--gold); }
.ad-side .ad-cats { flex-direction: column; flex-wrap: nowrap; gap: .35rem; flex: none; }
.ad-side .ad-chip { width: 100%; justify-content: flex-start; border-radius: 10px; padding: .6rem .8rem; }
.ad-source { margin: 0; font-size: .74rem; opacity: .65; line-height: 1.4; }
.ad-source.is-live { color: #56d364; opacity: 1; }
.ad-count { margin: 0 0 1rem; font-size: .85rem; color: var(--gold); letter-spacing: .06em; min-height: 1.2em; }
.ad-layout .ad-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.ad-loading { grid-column: 1 / -1; text-align: center; padding: 3rem; opacity: .75; }
.ad-more { display: block; margin: 2rem auto 0; padding: .8rem 2rem; border-radius: 999px; border: 1px solid var(--gold); background: rgba(217,166,94,.1); color: var(--gold); font: inherit; font-weight: 600; cursor: pointer; transition: .2s; }
.ad-more:hover { background: var(--gold); color: #1a0f08; box-shadow: 0 0 20px rgba(217,166,94,.4); }
.ad-more[hidden] { display: none; }
.ad-icon.has-logo { padding: 0; overflow: hidden; background: #000; }
.ad-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ad-card-meta { white-space: nowrap; }
.ad-m-meta { line-height: 1.6; }
@media (max-width: 860px) {
    .ad-layout { grid-template-columns: 1fr; }
    .ad-side { position: static; max-height: none; }
    .ad-side .ad-cats { flex-direction: row; flex-wrap: wrap; }
    .ad-side .ad-chip { width: auto; }
}

/* ===== Barres de défilement ===== */
html { scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; height: 0; display: none; }
.scroll-progress { height: 4px; z-index: 3000; }
.ad-side, .ad-modal-box, .lv-list { scrollbar-width: thin; scrollbar-color: #8a5a1c rgba(0, 0, 0, .35); }
.ad-side::-webkit-scrollbar, .ad-modal-box::-webkit-scrollbar { width: 8px; }
.ad-side::-webkit-scrollbar-track { background: rgba(0, 0, 0, .35); border-radius: 8px; }
.ad-side::-webkit-scrollbar-thumb { background: linear-gradient(#ffd68a, #8a5a1c); border-radius: 8px; border: 1px solid rgba(0, 0, 0, .5); }
.ad-side::-webkit-scrollbar-thumb:hover { background: linear-gradient(#ffe2a8, #b97b2a); }

/* ===== Addons : filtres stylés ===== */
.ad-side { background: linear-gradient(170deg, rgba(58, 35, 20, .85), rgba(16, 9, 6, .95)); border-color: rgba(217, 166, 94, .35); position: sticky; }
.ad-side::before { content: "Filtres"; display: block; font-family: var(--serif, 'Cinzel', serif); font-size: 1.05rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); padding-bottom: .7rem; border-bottom: 1px solid rgba(217, 166, 94, .25); text-shadow: 0 0 14px rgba(217, 166, 94, .4); }
.ad-side .ad-search { border-radius: 12px; background: rgba(0, 0, 0, .45); transition: border-color .2s, box-shadow .2s; }
.ad-side .ad-search:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 166, 94, .18), 0 0 18px rgba(217, 166, 94, .2); }
.ad-side .ad-search input::placeholder { color: rgba(244, 233, 216, .45); }
.ad-side .ad-sort > span { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; }
.ad-side .ad-sort select { appearance: none; -webkit-appearance: none; cursor: pointer; padding: .65rem 2.2rem .65rem .9rem; border-radius: 12px; background: rgba(0, 0, 0, .45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9a65e' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right .9rem center; transition: border-color .2s, box-shadow .2s; }
.ad-side .ad-sort select:hover, .ad-side .ad-sort select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 166, 94, .18); }
.ad-side .ad-sort select option { background: #1a0f08; color: var(--text); }
.ad-side .ad-chip { background: rgba(0, 0, 0, .3); position: relative; overflow: hidden; }
.ad-side .ad-chip:hover:not(.is-active) { background: rgba(var(--c), .15); color: var(--text); box-shadow: inset 3px 0 0 rgb(var(--c)); transform: translateX(3px); }
.ad-side .ad-chip:hover:not(.is-active) i { color: rgb(var(--c)); }
.ad-side .ad-chip.is-active { box-shadow: 0 0 18px rgba(var(--c), .45); font-weight: 700; }
.ad-side .ad-chip.is-active { background: rgb(var(--c)); color: #1a0f08; border-color: rgb(var(--c)); }
.ad-side .ad-chip.is-active i { color: #1a0f08; }

/* ===== Bouton Discord ===== */
.dc-btn { position: relative; display: inline-flex; align-items: center; gap: 10px; overflow: hidden; padding: 14px 26px; border-radius: 8px; background: linear-gradient(135deg, #5865f2, #3b46c4); color: #fff; font-weight: 800; text-decoration: none; box-shadow: 0 6px 22px rgba(88, 101, 242, .45); transition: transform .25s ease, box-shadow .25s ease; }
.dc-btn:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(88, 101, 242, .65); color: #fff; }
.dc-btn:active { transform: translateY(-1px) scale(.98); }
.dc-btn-logo { font-size: 20px; transition: transform .35s ease; }
.dc-btn:hover .dc-btn-logo { transform: rotate(-12deg) scale(1.2); }
.dc-btn-out { font-size: 12px; opacity: .7; transition: transform .25s ease; }
.dc-btn:hover .dc-btn-out { transform: translate(3px, -3px); opacity: 1; }
.dc-btn-shine { position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: lvShine 3.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .dc-btn-shine { animation: none; } }

/* ===== Logo V I S I Ø N ===== */
.brand { gap: 14px; }
.brand-mark { position: relative; width: 38px; height: 44px; transform: none; border: 0; background: linear-gradient(160deg, #3a2314, #130a05); clip-path: polygon(50% 0, 100% 18%, 100% 78%, 50% 100%, 0 78%, 0 18%); box-shadow: none; transition: transform .4s ease, filter .4s ease; filter: drop-shadow(0 0 6px rgba(244, 177, 76, .45)); }
.brand-mark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, #ffe2a8, #d9a65e 45%, #7a4b17); clip-path: polygon(50% 0, 100% 18%, 100% 78%, 50% 100%, 0 78%, 0 18%, 0 18%, 50% 5%, 96% 20%, 96% 76%, 50% 95%, 4% 76%, 4% 20%, 50% 5%); }
.brand-mark::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 70%; height: 55%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 100%, rgba(255, 140, 40, .55), transparent 70%); animation: brandFlame 2.6s ease-in-out infinite; pointer-events: none; }
.brand-v { position: relative; z-index: 1; font: 700 24px var(--serif); background: linear-gradient(180deg, #fff1cf, #f4b14c 60%, #c2762a); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.brand-name { display: inline-flex; align-items: baseline; gap: .2em; font: 700 17px var(--serif); letter-spacing: .2em; }
.brand-word { background: linear-gradient(100deg, #f4e9d8 0%, #f4e9d8 35%, #ffd68a 50%, #f4e9d8 65%, #f4e9d8 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: brandShimmer 6s ease-in-out infinite; }
.brand-name .brand-o { color: #ffb14a; font-size: 1.12em; text-shadow: 0 0 8px rgba(255, 150, 50, .9), 0 0 18px rgba(255, 110, 20, .6); animation: brandEmber 2.4s ease-in-out infinite; }
.brand:hover .brand-mark { transform: scale(1.08) rotate(-3deg); filter: drop-shadow(0 0 12px rgba(244, 177, 76, .8)); }
.footer-brand .brand-mark { width: 32px; height: 38px; font-size: inherit; }
.footer-brand .brand-v { font-size: 20px; }
.footer-brand .brand-name { font-size: 14px; }
@keyframes brandShimmer { 0%, 55% { background-position: 120% 0; } 100% { background-position: -120% 0; } }
@keyframes brandEmber { 0%, 100% { opacity: 1; } 45% { opacity: .75; text-shadow: 0 0 5px rgba(255, 150, 50, .7), 0 0 10px rgba(255, 110, 20, .4); } 70% { opacity: 1; } }
@keyframes brandFlame { 0%, 100% { opacity: .6; transform: translateX(-50%) scaleY(1); } 50% { opacity: 1; transform: translateX(-50%) scaleY(1.2); } }
@media (max-width: 900px) { .brand-mark { width: 32px; height: 38px; } .brand-v { font-size: 20px; } .brand-name { font-size: 13px; letter-spacing: .14em; } }
@media (prefers-reduced-motion: reduce) { .brand-word, .brand-o, .brand-mark::after { animation: none; } }
.brand-mark { background: linear-gradient(160deg, #ffe2a8, #d9a65e 45%, #7a4b17); }
.brand-mark::before { inset: 2px; background: linear-gradient(170deg, #3a2314, #120a05); clip-path: polygon(50% 0, 100% 18%, 100% 78%, 50% 100%, 0 78%, 0 18%); }
.brand-mark::after { z-index: 0; bottom: 4px; }

/* ===== Footer : liens légaux ===== */
.vfoot-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; padding: 16px 7.2%; border-top: 1px solid rgba(239, 202, 151, .1); }
.vfoot-legal a, .vfoot-legal button { position: relative; padding: 0; border: 0; background: none; color: rgba(242, 239, 232, .65); font: inherit; font-size: 13px; cursor: pointer; transition: color .2s ease; }
.vfoot-legal a::after, .vfoot-legal button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.vfoot-legal a:hover, .vfoot-legal button:hover { color: var(--gold); }
.vfoot-legal a:hover::after, .vfoot-legal button:hover::after { transform: scaleX(1); }

/* ===== Pages légales ===== */
.legal-updated { margin: 14px 0 0; font-size: 12px; letter-spacing: .08em; color: var(--gold); opacity: .85; }
.legal-layout { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; margin-top: 10px; }
.legal-nav { position: sticky; top: 90px; display: grid; gap: 6px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: rgba(27, 18, 13, .9); }
.legal-nav a, .legal-nav button { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border: 0; border-radius: 8px; background: none; color: rgba(242, 239, 232, .75); font: inherit; font-size: 14px; text-align: left; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.legal-nav i { width: 18px; color: var(--gold); text-align: center; }
.legal-nav a:hover, .legal-nav button:hover { background: rgba(217, 166, 94, .1); color: var(--gold); transform: translateX(3px); }
.legal-nav a.is-active { background: linear-gradient(90deg, rgba(217, 166, 94, .25), rgba(217, 166, 94, .05)); color: var(--gold); box-shadow: inset 3px 0 0 var(--gold); font-weight: 700; }
.legal-body { display: grid; gap: 18px; }
.legal-section { padding: 26px 28px; border: 1px solid var(--line); border-radius: 10px; background: radial-gradient(ellipse at 100% 0%, rgba(230, 120, 40, .1), transparent 60%), rgba(27, 18, 13, .9); }
.legal-section h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 12px; font: 600 20px var(--serif); color: var(--text); }
.legal-section h2 span { color: var(--gold); font-size: 14px; letter-spacing: .1em; padding: 4px 9px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 4px; }
.legal-section p { margin: 0 0 10px; line-height: 1.75; color: rgba(242, 239, 232, .8); }
.legal-section p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .legal-layout { grid-template-columns: 1fr; } .legal-nav { position: static; grid-template-columns: 1fr 1fr; } }

/* ===== Changelog ===== */
.cl-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 6px 0 34px; }
.cl-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: rgba(27, 18, 13, .9); color: rgba(242, 239, 232, .75); font: inherit; font-size: 14px; cursor: pointer; transition: all .2s ease; }
.cl-chip:hover { color: var(--gold); border-color: rgba(217, 166, 94, .6); transform: translateY(-2px); }
.cl-chip.is-active { background: linear-gradient(135deg, rgba(217, 166, 94, .3), rgba(217, 166, 94, .08)); border-color: var(--gold); color: var(--gold); box-shadow: 0 0 18px rgba(217, 166, 94, .2); }
.cl-timeline { position: relative; list-style: none; margin: 0 auto; padding: 0 0 0 30px; max-width: 860px; }
.cl-timeline::before { content: ""; position: absolute; left: 18px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--gold), rgba(217, 166, 94, .05)); }
.cl-item { --cl: #d9a65e; position: relative; margin-bottom: 22px; }
.cl-item[hidden] { display: none; }
.cl-item.cl-bot { --cl: #7289ff; }
.cl-item.cl-addons { --cl: #5fd39a; }
.cl-dot { position: absolute; left: -30px; top: 18px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #1b120d; border: 2px solid var(--cl); color: var(--cl); font-size: 14px; box-shadow: 0 0 16px color-mix(in srgb, var(--cl) 45%, transparent); }
.cl-card { margin-left: 28px; padding: 22px 26px; border: 1px solid var(--line); border-left: 3px solid var(--cl); border-radius: 10px; background: radial-gradient(ellipse at 100% 0%, color-mix(in srgb, var(--cl) 12%, transparent), transparent 60%), rgba(27, 18, 13, .92); transition: transform .25s ease, box-shadow .25s ease; }
.cl-card:hover { transform: translateX(4px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); }
.cl-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 12px; }
.cl-tag { padding: 3px 10px; border-radius: 999px; background: color-mix(in srgb, var(--cl) 18%, transparent); color: var(--cl); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.cl-version { font-weight: 700; color: var(--text); }
.cl-card time { margin-left: auto; color: rgba(242, 239, 232, .55); }
.cl-card h2 { margin: 12px 0 12px; font: 600 20px var(--serif); color: var(--text); }
.cl-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.cl-card li { line-height: 1.6; color: rgba(242, 239, 232, .8); }
.cl-type { display: inline-block; min-width: 92px; margin-right: 8px; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.cl-type-new { background: rgba(95, 211, 154, .15); color: #5fd39a; }
.cl-type-imp { background: rgba(217, 166, 94, .15); color: var(--gold); }
.cl-type-fix { background: rgba(240, 110, 90, .15); color: #f08a7a; }

/* ===== Boutons braise (accueil) ===== */
.ember-btn { --eb: #d9a65e; position: relative; display: inline-flex; align-items: stretch; overflow: hidden; border: 1px solid rgba(217, 166, 94, .7); border-radius: 4px; background: rgba(20, 12, 8, .72); backdrop-filter: blur(6px); color: #f6e3c0; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; text-decoration: none; clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px); box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 10px 28px rgba(0, 0, 0, .45); transition: transform .3s ease, color .3s ease, border-color .3s ease; }
.ember-btn::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, #8a3a12, #e8872c 55%, #ffcf7a); transform: translateX(-101%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.ember-btn::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #ffcf7a, transparent); animation: emberGlow 2.6s ease-in-out infinite; }
.ember-btn-text, .ember-btn-icon { position: relative; z-index: 1; display: inline-flex; align-items: center; }
.ember-btn-text { padding: 16px 24px; }
.ember-btn-icon { justify-content: center; width: 52px; border-left: 1px solid rgba(217, 166, 94, .45); background: rgba(217, 166, 94, .12); color: var(--gold); transition: background .3s ease, color .3s ease, border-color .3s ease; }
.ember-btn-icon i { transition: transform .35s ease; }
.ember-btn:hover { transform: translateY(-3px); color: #1b0f07; border-color: #ffcf7a; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4), 0 14px 36px rgba(232, 135, 44, .45); }
.ember-btn:hover::before { transform: translateX(0); }
.ember-btn:hover .ember-btn-icon { background: rgba(27, 15, 7, .2); color: #1b0f07; border-color: rgba(27, 15, 7, .35); }
.ember-btn:hover .ember-btn-icon i { transform: translateX(4px) rotate(45deg); }
.ember-btn:active { transform: translateY(-1px) scale(.98); }
@keyframes emberGlow { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }

/* ===== Navbar premium ===== */
.site-header { position: fixed; height: 84px; border-bottom: 0; background: linear-gradient(180deg, rgba(14, 8, 5, .88), rgba(14, 8, 5, .35)); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); transition: height .35s ease, background .35s ease, box-shadow .35s ease; }
.site-header::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 166, 94, .15) 12%, rgba(255, 207, 122, .85) 50%, rgba(217, 166, 94, .15) 88%, transparent); }
.site-header::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 3px; background: linear-gradient(90deg, transparent, #ff9d3c, #ffd68a, #ff9d3c, transparent); filter: blur(5px); opacity: .55; animation: navFire 3.4s ease-in-out infinite; pointer-events: none; }
.site-header.is-scrolled { height: 66px; background: rgba(14, 8, 5, .94); box-shadow: 0 10px 34px rgba(0, 0, 0, .55); }
@keyframes navFire { 0%, 100% { opacity: .3; transform: scaleX(.7); } 50% { opacity: .75; transform: scaleX(1); } }

@media (min-width: 821px) {
    .main-nav { gap: 6px; margin-left: clamp(16px, 3vw, 56px); padding: 5px; border: 1px solid rgba(217, 166, 94, .22); border-radius: 999px; background: rgba(8, 5, 3, .55); box-shadow: inset 0 0 18px rgba(0, 0, 0, .45), 0 0 0 1px rgba(0, 0, 0, .3); }
    .nav-link { padding: 10px 17px; border-radius: 999px; overflow: hidden; color: rgba(242, 239, 232, .74); font-size: 13px; font-weight: 600; letter-spacing: .03em; transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease; }
    .nav-link > i:first-child { color: var(--gold); transition: transform .3s ease, color .25s ease; }
    .nav-link:hover { color: #fff; background: radial-gradient(circle at 50% 120%, rgba(255, 150, 50, .34), rgba(217, 166, 94, .08) 70%); box-shadow: inset 0 0 0 1px rgba(217, 166, 94, .35); }
    .nav-link:hover > i:first-child { transform: translateY(-2px) scale(1.15); color: #ffcf7a; }
    .nav-link.is-active, .nav-dropdown.is-active .nav-dropdown-trigger { color: #1b0f07; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); box-shadow: 0 0 18px rgba(255, 150, 50, .45), inset 0 1px 0 rgba(255, 255, 255, .45); }
    .nav-link.is-active > i, .nav-dropdown.is-active .nav-dropdown-trigger > i { color: #1b0f07 !important; }
    .nav-link.is-active::after, .nav-dropdown.is-active .nav-dropdown-trigger::after { display: none; }
    .nav-dropdown.is-open .nav-dropdown-trigger { color: #fff; background: rgba(217, 166, 94, .16); box-shadow: inset 0 0 0 1px rgba(217, 166, 94, .5); }
    .nav-dropdown.is-active.is-open .nav-dropdown-trigger { color: #1b0f07; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); }
}

.nav-submenu { display: block; visibility: hidden; opacity: 0; transform: translateY(10px) scale(.97); transform-origin: 30px -10px; top: calc(100% + 16px); left: 0; min-width: 250px; padding: 10px; border: 1px solid rgba(217, 166, 94, .45); border-radius: 14px; background: linear-gradient(180deg, rgba(34, 20, 12, .98), rgba(15, 9, 5, .98)); box-shadow: 0 24px 50px rgba(0, 0, 0, .65), 0 0 30px rgba(255, 140, 40, .15); transition: opacity .25s ease, transform .25s ease, visibility .25s; }
.nav-submenu::before { content: ""; position: absolute; top: -7px; left: 28px; width: 12px; height: 12px; background: #22140c; border-top: 1px solid rgba(217, 166, 94, .45); border-left: 1px solid rgba(217, 166, 94, .45); transform: rotate(45deg); }
.nav-dropdown.is-open .nav-submenu { display: block; visibility: visible; opacity: 1; transform: none; }
.nav-submenu li + li { margin-top: 2px; }
.nav-submenu a { position: relative; gap: 13px; padding: 10px 12px; border-radius: 10px; font-size: 14px; font-weight: 600; transition: background .2s ease, color .2s ease, padding-left .2s ease; }
.nav-submenu a i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; background: rgba(217, 166, 94, .1); border: 1px solid rgba(217, 166, 94, .22); font-size: 13px; transition: background .2s ease, color .2s ease, transform .25s ease; }
.nav-submenu a:hover, .nav-submenu a:focus-visible { padding-left: 16px; background: linear-gradient(90deg, rgba(217, 166, 94, .2), transparent); color: #ffd68a; }
.nav-submenu a:hover i { background: linear-gradient(135deg, #ffd68a, #c9822f); color: #1b0f07; transform: rotate(-8deg) scale(1.08); }

.blizzard-login { position: relative; overflow: hidden; border-radius: 999px; padding: 12px 22px; border-color: rgba(120, 205, 255, .8); background: linear-gradient(135deg, #2aa8ff, #0a62c4); box-shadow: 0 0 22px rgba(0, 150, 255, .45), inset 0 1px 0 rgba(255, 255, 255, .4); }
.blizzard-login::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent); transform: skewX(-20deg); animation: lvShine 3.6s ease-in-out infinite; }
.blizzard-login:hover { transform: translateY(-2px); box-shadow: 0 0 30px rgba(0, 150, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .5); }
.account-trigger { padding: 4px 14px 4px 4px; border-width: 1px; background: linear-gradient(135deg, rgba(60, 36, 20, .95), rgba(20, 12, 7, .97)); box-shadow: 0 0 18px rgba(255, 150, 50, .22); }
.account-avatar { box-shadow: 0 0 0 2px rgba(20, 12, 7, .9), 0 0 12px rgba(255, 190, 90, .55); }
.account-dropdown { border-radius: 14px; border-color: rgba(217, 166, 94, .45); background: linear-gradient(180deg, rgba(34, 20, 12, .98), rgba(15, 9, 5, .98)); }
.account-dropdown a, .account-dropdown button { border-radius: 10px; font-weight: 600; font-size: 14px; }

@media (max-width: 820px) {
    .site-header { height: 68px; }
    .main-nav { top: 67px; border-radius: 0 0 16px 16px; border: 0; border-bottom: 1px solid rgba(217, 166, 94, .4); background: rgba(14, 8, 5, .98); }
    .nav-submenu { position: static; visibility: visible; opacity: 1; transform: none; display: none; margin: 0 0 8px; box-shadow: none; }
    .nav-submenu::before { display: none; }
    .nav-dropdown.is-open .nav-submenu { display: block; }
}
@media (prefers-reduced-motion: reduce) { .site-header::after, .blizzard-login::after { animation: none; } }

/* ===== Boutons unifiés (style braise) ===== */
.primary-button, .about-btn, .profile-save, .ad-more, .ad-btn:not(.ad-btn-app), .talent-btn, .cookie-btn, .join-withdraw {
    position: relative; isolation: isolate; overflow: hidden; justify-content: center; gap: 10px; border: 1px solid rgba(217, 166, 94, .65); border-radius: 4px;
    background: rgba(20, 12, 8, .72); color: #f6e3c0; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
    clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .4); transition: transform .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; filter: none;
}
.primary-button::before, .about-btn::before, .profile-save::before, .ad-more::before, .ad-btn:not(.ad-btn-app)::before, .talent-btn::before, .cookie-btn::before, .join-withdraw::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #8a3a12, #e8872c 55%, #ffcf7a); transform: translateX(-101%); transition: transform .45s cubic-bezier(.2, .8, .2, 1);
}
.primary-button:hover, .about-btn:hover, .profile-save:hover, .ad-more:hover, .ad-btn:not(.ad-btn-app):hover, .talent-btn:hover, .cookie-btn:hover, .join-withdraw:hover {
    transform: translateY(-2px); color: #1b0f07; border-color: #ffcf7a; background: rgba(20, 12, 8, .72); box-shadow: 0 12px 30px rgba(232, 135, 44, .4); filter: none;
}
.primary-button:hover::before, .about-btn:hover::before, .profile-save:hover::before, .ad-more:hover::before, .ad-btn:not(.ad-btn-app):hover::before, .talent-btn:hover::before, .cookie-btn:hover::before, .join-withdraw:hover::before { transform: translateX(0); }
.primary-button:active, .about-btn:active, .profile-save:active, .ad-more:active, .talent-btn:active, .cookie-btn:active { transform: scale(.97); }
/* variantes pleines */
.primary-button, .about-btn.is-primary, .profile-save, .talent-btn.is-primary, .talent-btn.is-on, .cookie-btn.is-accept, .cookie-btn.is-save {
    border-color: #ffcf7a; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); color: #1b0f07; box-shadow: 0 0 18px rgba(255, 150, 50, .35), inset 0 1px 0 rgba(255, 255, 255, .45);
}
.primary-button::before, .about-btn.is-primary::before, .profile-save::before, .talent-btn.is-primary::before, .talent-btn.is-on::before, .cookie-btn.is-accept::before, .cookie-btn.is-save::before { background: linear-gradient(100deg, #ffe7b3, #fff3d6); }
.primary-button:hover, .about-btn.is-primary:hover, .profile-save:hover, .talent-btn.is-primary:hover, .cookie-btn.is-accept:hover, .cookie-btn.is-save:hover { background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); }
/* variantes danger */
.talent-btn.is-danger, .cookie-btn.is-reject, .join-withdraw { border-color: rgba(240, 110, 90, .6); color: #f2a090; }
.talent-btn.is-danger::before, .cookie-btn.is-reject::before, .join-withdraw::before { background: linear-gradient(100deg, #7a1d12, #d4442e); }
.talent-btn.is-danger:hover, .cookie-btn.is-reject:hover, .join-withdraw:hover { color: #fff; border-color: #f06e5a; box-shadow: 0 12px 30px rgba(212, 68, 46, .4); }
.cookie-btn.is-reject { margin-left: auto; }
.cookie-btn[hidden], .ad-btn[hidden], .ad-more[hidden] { display: none; }
/* boutons de marque : reflet animé */
.discord-login, .twitch-login { position: relative; overflow: hidden; border-radius: 6px; font-weight: 800; box-shadow: 0 6px 22px rgba(88, 101, 242, .4); transition: transform .25s ease, box-shadow .25s ease, filter .25s ease; }
.discord-login::after, .twitch-login::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg); animation: lvShine 3.2s ease-in-out infinite; pointer-events: none; }
.twitch-login { box-shadow: 0 6px 22px rgba(145, 70, 255, .4); }
.discord-login:hover, .twitch-login:hover { transform: translateY(-2px); filter: brightness(1.1); }
.discord-unlink, .pf-copy { transition: transform .2s ease, border-color .2s ease, color .2s ease, background .2s ease; }
.discord-unlink:hover, .pf-copy:hover { transform: translateY(-1px); border-color: var(--gold); color: #ffd68a; }

/* ===== Onglets, flèches du carrousel, classes talents ===== */
.life-tab, .cl-chip { position: relative; overflow: hidden; border-radius: 4px; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); border-color: rgba(217, 166, 94, .5); background: rgba(20, 12, 8, .72); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; transition: color .3s ease, border-color .3s ease, transform .3s ease, box-shadow .3s ease, background .3s ease; }
.life-tab::before, .cl-chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, #8a3a12, #e8872c 55%, #ffcf7a); transform: translateX(-101%); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.life-tab, .cl-chip { isolation: isolate; }
.life-tab:hover, .cl-chip:hover { color: #1b0f07; border-color: #ffcf7a; }
.life-tab:hover::before, .cl-chip:hover::before { transform: translateX(0); }
.life-tab.is-active, .cl-chip.is-active { color: #1b0f07; border-color: #ffcf7a; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); box-shadow: 0 0 20px rgba(255, 150, 50, .4), inset 0 1px 0 rgba(255, 255, 255, .45); }
.life-tab.is-active::before, .cl-chip.is-active::before { display: none; }

.carousel-arrow { position: relative; isolation: isolate; overflow: hidden; width: 42px; height: 42px; border: 1px solid rgba(217, 166, 94, .6); border-radius: 4px; background: rgba(20, 12, 8, .72); color: var(--gold); clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); transition: transform .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.carousel-arrow::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #e8872c, #ffcf7a); transform: scale(0); transition: transform .35s cubic-bezier(.2, .8, .2, 1); border-radius: 50%; }
.carousel-arrow:hover { color: #1b0f07; border-color: #ffcf7a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 135, 44, .4); }
.carousel-arrow:hover::before { transform: scale(2.2); }
.carousel-arrow[data-direction="-1"]:hover i { animation: navNudgeL .5s ease; }
.carousel-arrow[data-direction="1"]:hover i { animation: navNudgeR .5s ease; }
@keyframes navNudgeL { 50% { transform: translateX(-4px); } }
@keyframes navNudgeR { 50% { transform: translateX(4px); } }
.carousel-dot { width: 8px; height: 8px; border-radius: 1px; transform: rotate(45deg); background: rgba(217, 166, 94, .35); transition: width .3s ease, background .3s ease, box-shadow .3s ease; }
.carousel-dot:hover { background: #ffcf7a; }
.carousel-dot.is-active { width: 8px; border-radius: 1px; background: linear-gradient(135deg, #ffd68a, #e8872c); box-shadow: 0 0 12px rgba(255, 150, 50, .9); }

.talent-class { transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease, background .3s ease; }
.talent-class:hover { box-shadow: 0 10px 24px color-mix(in srgb, var(--cls) 35%, transparent); }
.talent-class i { transition: transform .3s ease, filter .3s ease; }
.talent-class:hover i { transform: scale(1.18) rotate(-6deg); filter: drop-shadow(0 0 8px var(--cls)); }

/* ===== Flèches haut / bas de page ===== */
.page-nav { position: fixed; z-index: 880; right: 22px; bottom: 26px; display: grid; gap: 10px; }
.page-nav-btn { position: relative; isolation: isolate; overflow: hidden; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(217, 166, 94, .7); border-radius: 4px; background: rgba(20, 12, 8, .85); backdrop-filter: blur(6px); color: var(--gold); font-size: 16px; cursor: pointer; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); box-shadow: 0 8px 22px rgba(0, 0, 0, .5); opacity: 0; visibility: hidden; transform: translateX(24px); transition: opacity .3s ease, transform .3s ease, visibility .3s, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.page-nav-btn.is-visible { opacity: 1; visibility: visible; transform: none; }
.page-nav-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #e8872c, #ffcf7a); transform: translateY(101%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.page-nav-btn[data-dir="up"]::before { transform: translateY(101%); }
.page-nav-btn[data-dir="down"]::before { transform: translateY(-101%); }
.page-nav-btn:hover { color: #1b0f07; border-color: #ffcf7a; box-shadow: 0 10px 26px rgba(232, 135, 44, .5); }
.page-nav-btn:hover::before { transform: translateY(0); }
.page-nav-btn[data-dir="up"]:hover i { animation: navNudgeUp .6s ease infinite; }
.page-nav-btn[data-dir="down"]:hover i { animation: navNudgeDown .6s ease infinite; }
@keyframes navNudgeUp { 50% { transform: translateY(-4px); } }
@keyframes navNudgeDown { 50% { transform: translateY(4px); } }
.page-nav-btn:focus-visible { outline: 2px solid #ffcf7a; outline-offset: 2px; }
@media (max-width: 820px) { .page-nav { right: 12px; bottom: 14px; } .page-nav-btn { width: 40px; height: 40px; } }
@media (prefers-reduced-motion: reduce) { .page-nav-btn i { animation: none !important; } }

/* ===== Navbar : logo centré ===== */
.nav-gap { display: none; }
@media (min-width: 821px) {
    .site-header { height: 96px; }
    .site-header.is-scrolled { height: 74px; }
    .site-header .main-nav { position: absolute; left: 50%; top: 50%; margin: 0; transform: translate(-50%, -50%); }
    .nav-gap { display: block; width: 150px; flex: none; }
    .site-header .brand { position: absolute; z-index: 3; left: 50%; top: 50%; flex-direction: column; gap: 6px; transform: translate(-50%, -50%); transition: transform .35s ease; }
    .site-header.is-scrolled .brand { transform: translate(-50%, -50%) scale(.78); }
    .site-header .brand-mark { width: 58px; height: 68px; }
    .site-header .brand-v { font-size: 38px; }
    .site-header .brand-name { font-size: 13px; letter-spacing: .3em; margin-right: -.3em; }
    .site-header .brand-mark { filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .7)) drop-shadow(0 0 14px rgba(255, 150, 50, .35)); }
    .site-header .account-menu, .site-header .blizzard-login { margin-left: auto; }
}
@media (min-width: 821px) and (max-width: 1240px) {
    .site-header .main-nav .nav-link { padding: 9px 11px; font-size: 12px; }
    .site-header .main-nav .nav-link > i:first-child { display: none; }
    .nav-gap { width: 130px; }
    .site-header .account-name, .site-header .account-caret { display: none; }
    .site-header .account-trigger { padding: 4px; }
}

/* ===== Navbar : deux ailes autour du logo ===== */
.nav-group { display: contents; }
@media (min-width: 821px) {
    .site-header .main-nav { gap: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
    .nav-group { display: flex; align-items: center; gap: 4px; padding: 5px; border: 1px solid rgba(217, 166, 94, .3); background: linear-gradient(180deg, rgba(26, 15, 9, .85), rgba(8, 5, 3, .7)); box-shadow: inset 0 0 18px rgba(0, 0, 0, .45), 0 8px 24px rgba(0, 0, 0, .35); }
    .nav-group-left { padding-right: 40px; border-radius: 999px 38px 38px 999px; border-right-color: rgba(255, 207, 122, .55); }
    .nav-group-right { padding-left: 40px; border-radius: 38px 999px 999px 38px; border-left-color: rgba(255, 207, 122, .55); }
    .nav-gap { width: 56px; }
    .site-header::before { background: linear-gradient(90deg, transparent, rgba(217, 166, 94, .2) 14%, rgba(255, 207, 122, .85) 40%, transparent 47%, transparent 53%, rgba(255, 207, 122, .85) 60%, rgba(217, 166, 94, .2) 86%, transparent); }
    .site-header .brand::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 42%; width: 190px; height: 190px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(255, 150, 50, .28), rgba(255, 150, 50, .08) 45%, transparent 70%); animation: navFire 3.4s ease-in-out infinite; pointer-events: none; }
    .site-header .nav-dropdown .nav-submenu { left: 0; }
    .nav-group-right .nav-dropdown .nav-submenu { left: auto; right: 0; transform-origin: calc(100% - 30px) -10px; }
    .nav-group-right .nav-dropdown .nav-submenu::before { left: auto; right: 28px; }
}
@media (min-width: 821px) and (max-width: 1240px) {
    .nav-group { gap: 2px; }
    .nav-group-left { padding-right: 34px; }
    .nav-group-right { padding-left: 34px; }
    .nav-gap { width: 44px; }
}

/* ===== Navbar : ailes symétriques ===== */
@media (min-width: 821px) {
    .site-header .main-nav { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); width: min(940px, calc(100vw - 540px)); }
    .nav-group-left { justify-self: end; }
    .nav-group-right { justify-self: start; }
    .nav-gap { width: auto; }
}
@media (min-width: 821px) and (max-width: 1240px) {
    .site-header .main-nav { grid-template-columns: minmax(0, 1fr) 130px minmax(0, 1fr); width: min(940px, calc(100vw - 300px)); }
}

/* ===== Navbar : profil dans l'aile droite, bords droits côté logo ===== */
@media (min-width: 821px) {
    .site-header .main-nav { grid-template-columns: minmax(0, 1fr) 124px minmax(0, 1fr); width: min(1180px, calc(100vw - 48px)); }
    .nav-group-left { padding-right: 14px; border-radius: 999px 0 0 999px; border-right: 2px solid #ffcf7a; }
    .nav-group-right { padding-left: 14px; border-radius: 0 999px 999px 0; border-left: 2px solid #ffcf7a; }
    .nav-group-right .account-menu, .nav-group-right .blizzard-login { margin-left: 10px; }
    .nav-group-right .blizzard-login { padding: 8px 16px; }
}
@media (min-width: 821px) and (max-width: 1240px) {
    .site-header .main-nav { grid-template-columns: minmax(0, 1fr) 112px minmax(0, 1fr); }
    .nav-group-left, .nav-group-right { padding-left: 10px; padding-right: 10px; }
    .nav-group-left { padding-right: 10px; }
    .nav-group-right .account-menu { margin-left: 4px; }
}
@media (max-width: 820px) {
    .main-nav .account-menu, .main-nav .blizzard-login { margin: 10px 14px; }
}

/* ===== Liens utiles ===== */
.lk-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.lk-stats li { display: flex; align-items: center; gap: 8px; padding: 7px 16px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 999px; background: rgba(20, 12, 8, .6); color: rgba(246, 227, 192, .75); font-size: 13px; }
.lk-stats strong { color: #ffd68a; font-family: var(--serif); font-size: 17px; }
.lk-toolbar { position: sticky; top: 108px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 34px; padding: 12px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 16px; background: rgba(14, 8, 5, .88); backdrop-filter: blur(12px); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.lk-search { position: relative; flex: 1 1 260px; }
.lk-search i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--gold); pointer-events: none; }
.lk-search input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid rgba(217, 166, 94, .35); border-radius: 999px; background: rgba(0, 0, 0, .35); color: var(--text); font: inherit; font-size: 14px; outline: none; transition: border-color .25s, box-shadow .25s; }
.lk-search input:focus { border-color: #ffcf7a; box-shadow: 0 0 0 3px rgba(255, 150, 50, .2), 0 0 18px rgba(255, 150, 50, .25); }
.lk-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lk-chips .cl-chip { padding: 10px 14px; }
.lk-section { margin-top: 54px; scroll-margin-top: 200px; }
.lk-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.lk-num { font-family: var(--serif); font-size: 46px; font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(217, 166, 94, .55); }
.lk-ico { display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid #ffcf7a; border-radius: 14px; background: linear-gradient(135deg, rgba(232, 135, 44, .35), rgba(60, 28, 12, .6)); color: #ffd68a; font-size: 20px; box-shadow: 0 0 22px rgba(255, 150, 50, .3); transform: rotate(-4deg); }
.lk-htext h2 { margin: 0; font-family: var(--serif); font-size: 26px; letter-spacing: .04em; color: #ffd68a; }
.lk-htext small { color: rgba(246, 227, 192, .6); font-size: 13px; }
.lk-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 166, 94, .55), transparent); }
.lk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.lk-card { --mx: 50%; --my: 0; position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; overflow: hidden; border: 1px solid rgba(217, 166, 94, .26); border-radius: 16px; background: linear-gradient(160deg, rgba(34, 20, 12, .92), rgba(11, 6, 4, .92)); color: var(--text); text-decoration: none; opacity: 0; animation: lkIn .6s ease forwards; animation-delay: var(--d, 0ms); transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.lk-card[hidden] { display: none; }
@keyframes lkIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.lk-glow { position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 170, 70, .22), transparent 65%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.lk-card::after { content: ""; position: absolute; left: 22px; right: 22px; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, #ffcf7a, transparent); transform: scaleX(0); transition: transform .4s ease; }
.lk-card:hover { transform: translateY(-6px); border-color: rgba(255, 207, 122, .85); box-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 0 30px rgba(232, 135, 44, .25); }
.lk-card:hover .lk-glow { opacity: 1; }
.lk-card:hover::after { transform: scaleX(1); }
.lk-card.is-top { border-color: rgba(255, 207, 122, .5); }
.lk-card.is-top::before { content: ""; position: absolute; top: 0; right: 0; width: 70px; height: 70px; background: radial-gradient(circle at 100% 0, rgba(255, 170, 70, .35), transparent 70%); pointer-events: none; }
.lk-badge { position: relative; display: grid; place-items: center; flex: none; width: 54px; height: 54px; border: 1px solid rgba(255, 207, 122, .7); border-radius: 14px; background: linear-gradient(135deg, #5a2a10, #2a140a); color: #ffd68a; font-size: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15), 0 6px 16px rgba(0, 0, 0, .5); transition: transform .35s ease, background .35s ease, color .35s ease; }
.lk-card:hover .lk-badge { transform: rotate(-8deg) scale(1.08); background: linear-gradient(135deg, #ffd68a, #e8872c); color: #1b0f07; }
.lk-card { flex-direction: column; }
.lk-body { display: flex; flex-direction: column; gap: 8px; }
.lk-name { font-family: var(--serif); font-size: 19px; font-weight: 700; color: #ffe2a8; letter-spacing: .02em; }
.lk-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.lk-tag { padding: 3px 10px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 999px; background: rgba(217, 166, 94, .1); color: var(--gold); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.lk-tag-top { border-color: rgba(255, 207, 122, .7); background: linear-gradient(135deg, rgba(255, 207, 122, .3), rgba(232, 135, 44, .2)); color: #ffe2a8; }
.lk-tag-top i { font-size: 9px; margin-right: 3px; }
.lk-desc { color: rgba(246, 227, 192, .78); font-size: 14px; line-height: 1.6; }
.lk-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(217, 166, 94, .25); }
.lk-url { color: rgba(217, 166, 94, .65); font-size: 12px; letter-spacing: .04em; }
.lk-go { display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 50%; color: var(--gold); font-size: 12px; transition: background .3s, color .3s, transform .3s; }
.lk-card:hover .lk-go { background: #ffcf7a; color: #1b0f07; transform: translateX(4px) rotate(-45deg); }
.lk-empty { margin-top: 50px; text-align: center; color: rgba(246, 227, 192, .7); }
.lk-empty i { display: block; margin-bottom: 10px; font-size: 32px; color: var(--gold); }
@media (max-width: 820px) { .lk-toolbar { top: 70px; } .lk-grid { grid-template-columns: 1fr; } .lk-num { font-size: 34px; } }
@media (prefers-reduced-motion: reduce) { .lk-card { animation: none; opacity: 1; } }

/* Liens utiles : filtre latéral comme les addons */
.lk-layout .ad-side { top: 110px; }
.lk-layout .ad-chip { justify-content: flex-start; }
.lk-count { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: .72rem; font-weight: 800; }
.lk-layout .ad-chip.is-active .lk-count { background: rgba(0, 0, 0, .18); }
.lk-layout .lk-section:first-child { margin-top: 0; }
.lk-layout .lk-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
@media (max-width: 820px) { .lk-layout .ad-side { top: auto; } }

/* ===== Actualités : refonte ===== */
.nw-wrap { width: min(1280px, 100%); }
.news-layout { margin-top: 10px; }
.news-layout .ad-side { top: 110px; }
.news-layout .ad-search { margin: 0; }
.news-layout .ad-chip { justify-content: flex-start; text-decoration: none; }
.nw-recent { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.nw-recent li { border-left: 2px solid var(--cat); }
.nw-recent a { display: grid; gap: 2px; padding: 4px 0 4px 12px; color: var(--text); text-decoration: none; transition: transform .25s, color .25s; }
.nw-recent a:hover { transform: translateX(4px); color: #ffd68a; }
.nw-recent span { font-size: 13.5px; font-weight: 700; line-height: 1.35; }
.nw-recent small { color: rgba(246, 227, 192, .55); font-size: 11.5px; }
.nw-result { margin: 0 0 18px; padding: 10px 16px; border: 1px dashed rgba(217, 166, 94, .35); border-radius: 12px; color: rgba(246, 227, 192, .75); font-size: 14px; }
.nw-result strong { color: #ffd68a; }
.nw-result a { margin-left: 10px; color: var(--gold); text-decoration: none; font-weight: 700; }
.nw-result a:hover { color: #fff; }

.news-layout .news-featured { position: relative; grid-template-columns: 1.15fr 1fr; margin-bottom: 26px; border-radius: 20px; border-color: rgba(255, 207, 122, .45); background: linear-gradient(150deg, rgba(48, 29, 17, .9), rgba(12, 7, 4, .95)); box-shadow: 0 22px 50px rgba(0, 0, 0, .55), 0 0 40px rgba(232, 135, 44, .12); }
.news-layout .news-featured::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent, var(--cat), transparent); }
.news-layout .news-featured .news-cover { min-height: 340px; }
.news-layout .news-featured .news-cover::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, transparent 55%, rgba(12, 7, 4, .9)); }
.news-layout .news-featured-body { gap: 16px; padding: 38px; }
.news-layout .news-featured-body strong { font-size: clamp(24px, 2.6vw, 34px); color: #ffe2a8; }
.news-layout .news-tag { align-self: flex-start; padding: 5px 12px; border: 1px solid color-mix(in srgb, var(--cat) 60%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--cat) 14%, transparent); }
.news-layout .news-more { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; padding: 10px 20px; border: 1px solid #ffcf7a; border-radius: 4px; clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); color: #1b0f07; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 12px; transition: gap .3s, filter .3s; }
.news-layout .news-featured:hover .news-more { gap: 16px; filter: brightness(1.08); }
.news-layout .news-grid { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.news-layout .news-card { position: relative; border-radius: 16px; border-color: rgba(217, 166, 94, .26); background: linear-gradient(165deg, rgba(34, 20, 12, .92), rgba(11, 6, 4, .95)); opacity: 0; animation: lkIn .6s ease forwards; transition: transform .35s cubic-bezier(.2, .8, .2, 1), border-color .3s, box-shadow .3s; }
.news-layout .news-card:nth-child(2) { animation-delay: .06s; } .news-layout .news-card:nth-child(3) { animation-delay: .12s; } .news-layout .news-card:nth-child(4) { animation-delay: .18s; } .news-layout .news-card:nth-child(5) { animation-delay: .24s; } .news-layout .news-card:nth-child(6) { animation-delay: .3s; }
.news-layout .news-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--cat), transparent); transform: scaleX(0); transition: transform .4s ease; }
.news-layout .news-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .55), 0 0 28px color-mix(in srgb, var(--cat) 30%, transparent); }
.news-layout .news-card:hover::after { transform: scaleX(1); }
.news-layout .news-card .news-cover { height: 160px; transition: filter .4s; }
.news-layout .news-card:hover .news-cover i { transform: scale(1.15) rotate(-4deg); }
.news-layout .news-cover i { transition: transform .4s ease; }
.news-layout .news-card-body { padding: 20px 22px 22px; }
.news-layout .news-card-body strong { color: #ffe2a8; }
.news-layout .news-card-body .news-meta { padding-top: 12px; border-top: 1px dashed rgba(217, 166, 94, .25); }
.news-layout .news-pagination { margin-top: 40px; }
.news-layout .news-page-link { border-radius: 4px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); transition: all .25s; }
.news-layout .news-page-link:hover { transform: translateY(-2px); border-color: #ffcf7a; }
.news-layout .news-page-link.is-active { border-color: #ffcf7a; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); color: #1b0f07; }
@media (max-width: 1000px) { .news-layout .news-featured { grid-template-columns: 1fr; } .news-layout .news-featured .news-cover { min-height: 200px; } }
@media (prefers-reduced-motion: reduce) { .news-layout .news-card { animation: none; opacity: 1; } }

/* ===== Calendrier ===== */
.cal-layout .ad-side { top: 110px; }
.cal-layout .ad-chip { justify-content: flex-start; }
.cal-layout .ad-chip:not(.is-active) { opacity: .55; }
.cal-layout .ad-chip:not(.is-active) i { color: rgba(246, 227, 192, .5); }
.cal-reset { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 12px; border: 1px dashed rgba(217, 166, 94, .45); border-radius: 10px; background: none; color: var(--gold); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .25s; }
.cal-reset:hover { border-style: solid; background: rgba(217, 166, 94, .12); color: #ffd68a; }
.cal-next { --c: 217, 166, 94; position: relative; display: flex; align-items: center; gap: 22px; max-width: 920px; margin: 30px auto 0; padding: 18px 26px; overflow: hidden; border: 1px solid rgba(var(--c), .55); border-radius: 18px; background: linear-gradient(120deg, rgba(var(--c), .16), rgba(14, 8, 5, .92) 60%); box-shadow: 0 16px 40px rgba(0, 0, 0, .5), 0 0 34px rgba(var(--c), .18); cursor: pointer; transition: transform .3s, box-shadow .3s; }
.cal-next[hidden] { display: none; }
.cal-next:hover { transform: translateY(-3px); box-shadow: 0 20px 44px rgba(0, 0, 0, .55), 0 0 44px rgba(var(--c), .3); }
.cal-next::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: rgb(var(--c)); box-shadow: 0 0 18px rgb(var(--c)); }
.cal-next-ico { display: grid; place-items: center; flex: none; width: 58px; height: 58px; border: 1px solid rgb(var(--c)); border-radius: 16px; background: rgba(var(--c), .16); color: rgb(var(--c)); font-size: 24px; box-shadow: 0 0 22px rgba(var(--c), .35); animation: navFire 3s ease-in-out infinite; }
.cal-next-txt { display: grid; gap: 2px; flex: 1; min-width: 0; text-align: left; }
.cal-next-txt small { color: rgb(var(--c)); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cal-next-txt strong { font: 700 22px var(--serif); color: #ffe2a8; }
.cal-next-txt span { color: rgba(246, 227, 192, .7); font-size: 13.5px; text-transform: capitalize; }
.cal-next-count { display: flex; gap: 8px; }
.cal-next-count span { display: grid; min-width: 52px; padding: 7px 8px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 10px; background: rgba(0, 0, 0, .4); color: rgba(246, 227, 192, .6); font-size: 11px; text-align: center; }
.cal-next-count b { font: 700 20px var(--serif); color: #ffd68a; }

.cal-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 16px; background: linear-gradient(170deg, rgba(58, 35, 20, .7), rgba(16, 9, 6, .9)); }
.cal-month { flex: 1; min-width: 190px; margin: 0; font: 700 28px var(--serif); letter-spacing: .05em; text-align: center; color: #ffe2a8; text-shadow: 0 0 20px rgba(255, 150, 50, .35); }
.cal-month em { color: var(--gold); font-style: normal; font-weight: 500; }
.cal-nav, .cal-today { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 12px; background: rgba(0, 0, 0, .4); color: var(--gold); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; transition: all .25s; }
.cal-nav { width: 42px; }
.cal-today { padding: 0 16px; }
.cal-nav:hover, .cal-today:hover { border-color: #ffcf7a; background: linear-gradient(135deg, #ffd68a, #e8a24a); color: #1b0f07; box-shadow: 0 8px 20px rgba(232, 135, 44, .35); }
.cal-views { display: inline-flex; padding: 3px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 12px; background: rgba(0, 0, 0, .4); }
.cal-views button { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: none; color: rgba(246, 227, 192, .7); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; transition: all .25s; }
.cal-views button.is-active { background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); color: #1b0f07; box-shadow: 0 0 14px rgba(255, 150, 50, .35); }

.cal-grid-wrap { overflow: hidden; border: 1px solid rgba(217, 166, 94, .3); border-radius: 18px; background: rgba(10, 6, 4, .75); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
.cal-grid-wrap[hidden] { display: none; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid rgba(217, 166, 94, .3); background: linear-gradient(180deg, rgba(58, 35, 20, .85), rgba(30, 18, 11, .9)); }
.cal-dow span { padding: 12px 8px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-align: center; text-transform: uppercase; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-cell { position: relative; display: flex; flex-direction: column; gap: 4px; min-height: 124px; padding: 8px 7px 8px; border-right: 1px solid rgba(217, 166, 94, .12); border-bottom: 1px solid rgba(217, 166, 94, .12); transition: background .25s; }
.cal-cell:nth-child(7n) { border-right: 0; }
.cal-cell:hover { background: rgba(217, 166, 94, .05); }
.cal-cell.is-out { background: rgba(0, 0, 0, .35); }
.cal-cell.is-out .cal-day { opacity: .3; }
.cal-day { align-self: flex-end; display: grid; place-items: center; min-width: 26px; height: 26px; border-radius: 50%; color: rgba(246, 227, 192, .75); font-size: 13px; font-weight: 700; }
.cal-cell.is-today { background: linear-gradient(180deg, rgba(232, 135, 44, .16), rgba(232, 135, 44, .03)); box-shadow: inset 0 0 0 1px rgba(255, 207, 122, .6); }
.cal-cell.is-today .cal-day { background: linear-gradient(135deg, #ffd68a, #e8872c); color: #1b0f07; box-shadow: 0 0 14px rgba(255, 150, 50, .7); }
.cal-ev { --c: 217, 166, 94; display: flex; align-items: center; gap: 5px; width: 100%; padding: 4px 7px; overflow: hidden; border: 0; border-left: 3px solid rgb(var(--c)); border-radius: 6px; background: rgba(var(--c), .16); color: var(--text); font: inherit; font-size: 11.5px; text-align: left; white-space: nowrap; text-overflow: ellipsis; cursor: pointer; transition: transform .2s, background .2s, box-shadow .2s; }
.cal-ev i { color: rgb(var(--c)); font-size: 10px; flex: none; }
.cal-ev b { color: rgb(var(--c)); font-weight: 800; }
.cal-ev:hover { transform: translateX(3px); background: rgba(var(--c), .34); box-shadow: 0 0 14px rgba(var(--c), .3); }
.cal-more { padding-left: 4px; color: rgba(246, 227, 192, .5); font-size: 11px; }

.cal-list { display: grid; gap: 10px; }
.cal-list[hidden] { display: none; }
.cal-list-day { display: flex; align-items: center; gap: 12px; margin: 14px 0 2px; color: rgba(246, 227, 192, .75); font: 600 15px var(--serif); text-transform: capitalize; }
.cal-list-day b { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 12px; background: rgba(217, 166, 94, .1); color: #ffd68a; font-size: 18px; }
.cal-list-day.is-today b { background: linear-gradient(135deg, #ffd68a, #e8872c); color: #1b0f07; }
.cal-list-day::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, rgba(217, 166, 94, .4), transparent); }
.cal-row { --c: 217, 166, 94; display: flex; align-items: center; gap: 16px; width: 100%; padding: 14px 18px; border: 1px solid rgba(var(--c), .3); border-left: 4px solid rgb(var(--c)); border-radius: 14px; background: linear-gradient(100deg, rgba(var(--c), .1), rgba(14, 8, 5, .9) 55%); color: var(--text); font: inherit; text-align: left; cursor: pointer; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cal-row:hover { transform: translateX(6px); border-color: rgb(var(--c)); box-shadow: 0 12px 28px rgba(0, 0, 0, .45), 0 0 24px rgba(var(--c), .2); }
.cal-row-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--c), .18); color: rgb(var(--c)); font-size: 18px; }
.cal-row-t { display: grid; flex: 1; gap: 2px; }
.cal-row-t strong { font: 700 17px var(--serif); color: #ffe2a8; }
.cal-row-t small { color: rgb(var(--c)); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.cal-row-h { color: rgba(246, 227, 192, .8); font-weight: 700; font-size: 14px; }
.cal-none { margin: 30px 0; text-align: center; color: rgba(246, 227, 192, .7); }
.cal-none[hidden] { display: none; }
.cal-none i { display: block; margin-bottom: 8px; font-size: 30px; color: var(--gold); }

.cal-modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(5, 3, 2, .78); backdrop-filter: blur(6px); animation: calFade .25s ease; }
.cal-modal[hidden] { display: none; }
@keyframes calFade { from { opacity: 0; } }
.cal-modal-box { --c: 217, 166, 94; position: relative; display: grid; gap: 12px; width: min(520px, 100%); padding: 34px 32px 28px; overflow: hidden; border: 1px solid rgba(var(--c), .7); border-radius: 22px; background: linear-gradient(160deg, rgba(48, 29, 17, .98), rgba(10, 6, 4, .99)); box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 50px rgba(var(--c), .25); animation: calPop .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes calPop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
.cal-modal-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, transparent, rgb(var(--c)), transparent); }
.cal-m-ico { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid rgb(var(--c)); border-radius: 18px; background: rgba(var(--c), .18); color: rgb(var(--c)); font-size: 28px; box-shadow: 0 0 26px rgba(var(--c), .4); transform: rotate(-4deg); }
.cal-m-type { color: rgb(var(--c)); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.cal-modal-box h2 { margin: 0; font: 700 28px var(--serif); color: #ffe2a8; }
.cal-m-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; padding: 0; list-style: none; color: rgba(246, 227, 192, .8); font-size: 14px; text-transform: capitalize; }
.cal-m-meta i { margin-right: 6px; color: rgb(var(--c)); }
.cal-modal-box p { margin: 0; color: rgba(246, 227, 192, .82); line-height: 1.7; }
.cal-m-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.cal-modal-box .ad-modal-close { position: absolute; top: 14px; right: 14px; }

@media (max-width: 900px) {
    .cal-next { flex-wrap: wrap; }
    .cal-next-count { width: 100%; }
    .cal-cell { min-height: 84px; padding: 5px 3px; }
    .cal-ev { padding: 3px 4px; font-size: 10px; }
    .cal-ev b, .cal-ev i { display: none; }
    .cal-month { order: -1; width: 100%; flex: none; }
}
@media (prefers-reduced-motion: reduce) { .cal-next-ico, .cal-modal, .cal-modal-box { animation: none; } }

/* ===== Profil : refonte ===== */
.pf-wrap { max-width: 1320px; }
.pf-hero { position: relative; display: flex; align-items: center; gap: 28px; margin: 18px 0 26px; padding: 34px 40px; overflow: hidden; border: 1px solid rgba(217, 166, 94, .55); border-radius: 26px; background: radial-gradient(120% 160% at 0% 100%, rgba(232, 100, 30, .28), transparent 55%), linear-gradient(135deg, rgba(62, 37, 21, .96), rgba(12, 7, 5, .98)); box-shadow: 0 26px 60px rgba(0, 0, 0, .6), 0 0 60px rgba(232, 135, 44, .14), inset 0 1px 0 rgba(255, 220, 160, .18); }
.pf-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffd68a, #e8872c, transparent); }
.pf-hero-bg i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 12px 3px rgba(255, 150, 50, .8); opacity: 0; animation: pfEmber 6s linear infinite; }
.pf-hero-bg i:nth-child(1) { left: 8%; animation-delay: 0s; } .pf-hero-bg i:nth-child(2) { left: 22%; animation-delay: 1.4s; } .pf-hero-bg i:nth-child(3) { left: 41%; animation-delay: 3s; } .pf-hero-bg i:nth-child(4) { left: 63%; animation-delay: .8s; } .pf-hero-bg i:nth-child(5) { left: 78%; animation-delay: 2.2s; } .pf-hero-bg i:nth-child(6) { left: 92%; animation-delay: 4s; }
@keyframes pfEmber { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-190px) translateX(24px) scale(.3); opacity: 0; } }
.pf-hero-avatar { position: relative; flex: none; width: 132px; height: 132px; margin: 0; font-size: 56px; border: 3px solid #ffcf7a; box-shadow: 0 0 0 7px rgba(217, 166, 94, .18), 0 0 40px rgba(255, 150, 50, .5); }
.pf-hero-txt { position: relative; flex: 1; min-width: 0; text-align: left; }
.pf-hero-txt .pf-guild { margin: 0 0 4px; color: var(--gold); font-size: 13px; font-weight: 800; letter-spacing: .4em; }
.pf-hero-txt h1 { margin: 0 0 14px; font: 700 clamp(34px, 5vw, 58px)/1.05 var(--serif); color: #ffe7b8; text-shadow: 0 0 30px rgba(255, 150, 50, .45), 0 3px 0 rgba(0, 0, 0, .5); overflow-wrap: anywhere; }
.pf-hero-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.pf-hero .pf-badge { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 8px 16px; border: 1px solid #ffcf7a; border-radius: 999px; background: linear-gradient(135deg, #ffd68a, #e8a24a 55%, #b56a1d); color: #1b0f07; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 0 20px rgba(255, 150, 50, .4); }
.pf-tag { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 999px; background: rgba(0, 0, 0, .4); color: rgba(246, 227, 192, .85); font-size: 12.5px; font-weight: 600; }
.pf-tag i { color: var(--gold); }
.pf-hero-edit { position: relative; flex: none; }

.pf-card { border-radius: 20px; border: 1px solid rgba(217, 166, 94, .3); background: linear-gradient(170deg, rgba(50, 30, 18, .78), rgba(12, 7, 5, .94)); box-shadow: 0 14px 34px rgba(0, 0, 0, .4); transition: border-color .3s, box-shadow .3s; }
.pf-card:hover { border-color: rgba(255, 207, 122, .55); box-shadow: 0 18px 40px rgba(0, 0, 0, .5), 0 0 28px rgba(232, 135, 44, .12); }

.pf-wip-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding: 18px 22px; border: 1px dashed rgba(217, 166, 94, .5); border-radius: 18px; background: rgba(217, 166, 94, .06); }
.pf-wip-head h2 { margin: 0; font: 700 22px var(--serif); color: #ffe2a8; }
.pf-wip-head p { margin: 2px 0 0; color: rgba(246, 227, 192, .7); font-size: 14px; }
.pf-wip-spin { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(232, 135, 44, .18); border: 1px solid rgba(255, 207, 122, .6); color: #ffcf7a; font-size: 22px; }
.pf-wip-spin i { animation: pfSpin 3s linear infinite; }
@keyframes pfSpin { to { transform: rotate(360deg); } }
.pf-wip-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pf-wip { position: relative; display: grid; gap: 8px; padding: 22px 22px 18px; overflow: hidden; border: 1px solid rgba(217, 166, 94, .28); border-radius: 20px; background: linear-gradient(160deg, rgba(50, 30, 18, .75), rgba(10, 6, 4, .95)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.pf-wip::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 207, 122, .08) 50%, transparent 65%); transform: translateX(-100%); animation: pfShine 4.5s ease-in-out infinite; }
@keyframes pfShine { 60%, 100% { transform: translateX(100%); } }
.pf-wip:hover { transform: translateY(-4px); border-color: rgba(255, 207, 122, .6); box-shadow: 0 16px 34px rgba(0, 0, 0, .5), 0 0 30px rgba(232, 135, 44, .2); }
.pf-wip-ico { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 14px; background: rgba(217, 166, 94, .12); color: #ffcf7a; font-size: 20px; opacity: .8; }
.pf-wip h2 { margin: 6px 0 0; font: 700 19px var(--serif); color: #ffe2a8; }
.pf-wip p { margin: 0; color: rgba(246, 227, 192, .65); font-size: 13.5px; line-height: 1.5; }
.pf-wip-bar { height: 8px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: rgba(0, 0, 0, .55); box-shadow: inset 0 0 0 1px rgba(217, 166, 94, .25); }
.pf-wip-bar span { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b56a1d, #ffd68a, #e8872c, #b56a1d); background-size: 200% 100%; box-shadow: 0 0 14px rgba(255, 150, 50, .7); animation: pfLoad 2.2s linear infinite, pfGrow 1.6s ease-out both; }
@keyframes pfLoad { to { background-position: -200% 0; } }
@keyframes pfGrow { from { width: 0; } }
.pf-wip small { color: var(--gold); font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.pf-wip small i { margin-right: 6px; }

@media (max-width: 1100px) { .pf-wip-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .pf-hero { flex-direction: column; text-align: center; padding: 28px 20px; } .pf-hero-txt { text-align: center; } .pf-hero-tags { justify-content: center; } .pf-hero-avatar { width: 108px; height: 108px; font-size: 46px; } }
@media (prefers-reduced-motion: reduce) { .pf-hero-bg i, .pf-wip::before, .pf-wip-spin i, .pf-wip-bar span { animation: none; } }

/* ===== Pages d'erreur ===== */
.err-page { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 150px 24px 70px; overflow: hidden; background: radial-gradient(ellipse at 50% 30%, #4a2814 0%, #1a100b 50%, #0c0705 100%); }
.err-embers i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 12px 3px rgba(255, 150, 50, .8); opacity: 0; animation: pfEmber 7s linear infinite; }
.err-embers i:nth-child(1) { left: 10%; } .err-embers i:nth-child(2) { left: 25%; animation-delay: 1.5s; } .err-embers i:nth-child(3) { left: 40%; animation-delay: 3s; } .err-embers i:nth-child(4) { left: 55%; animation-delay: .7s; } .err-embers i:nth-child(5) { left: 70%; animation-delay: 2.4s; } .err-embers i:nth-child(6) { left: 85%; animation-delay: 4.2s; } .err-embers i:nth-child(7) { left: 95%; animation-delay: 5s; }
.err-card { position: relative; width: min(100%, 720px); padding: 54px clamp(24px, 5vw, 60px) 40px; overflow: hidden; text-align: center; border: 1px solid rgba(217, 166, 94, .55); border-radius: 28px; background: linear-gradient(160deg, rgba(58, 35, 20, .94), rgba(12, 7, 5, .97)); box-shadow: 0 30px 80px rgba(0, 0, 0, .65), 0 0 70px rgba(232, 135, 44, .16); animation: calPop .6s cubic-bezier(.2, .8, .2, 1); }
.err-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffd68a, #e8872c, transparent); }
.err-code { position: absolute; left: 0; right: 0; top: -6px; text-align: center; font: 700 clamp(120px, 24vw, 210px)/1 var(--serif); letter-spacing: .04em; color: transparent; -webkit-text-stroke: 2px rgba(217, 166, 94, .28); text-shadow: 0 0 60px rgba(255, 140, 40, .22); pointer-events: none; user-select: none; }
.err-ico { position: relative; display: grid; place-items: center; width: 88px; height: 88px; margin: 56px auto 20px; border: 1px solid #ffcf7a; border-radius: 24px; background: rgba(232, 135, 44, .16); color: #ffcf7a; font-size: 38px; transform: rotate(-4deg); box-shadow: 0 0 36px rgba(255, 150, 50, .45); }
.err-label { position: relative; margin: 0; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; }
.err-card h1 { position: relative; margin: 8px 0 14px; font: 700 clamp(30px, 5vw, 46px)/1.1 var(--serif); color: #ffe7b8; text-shadow: 0 0 28px rgba(255, 150, 50, .4); }
.err-text { position: relative; max-width: 520px; margin: 0 auto 14px; color: rgba(246, 227, 192, .82); line-height: 1.75; }
.err-hint { position: relative; display: inline-flex; gap: 8px; align-items: center; margin: 0 0 26px; padding: 8px 16px; border: 1px dashed rgba(217, 166, 94, .45); border-radius: 999px; color: rgba(246, 227, 192, .7); font-size: 13px; }
.err-hint i { color: var(--gold); }
.err-actions { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.err-links { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(217, 166, 94, .2); }
.err-links a { color: rgba(246, 227, 192, .65); font-size: 13px; text-decoration: none; transition: color .2s; }
.err-links a:hover { color: #ffd68a; }
@media (prefers-reduced-motion: reduce) { .err-embers i, .err-card, .err-code { animation: none; } }

/* ===== Maintenance ===== */
.mw-body { margin: 0; background: #0c0705; color: var(--text); }
.mw-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 110%, #6a3414 0%, #2a170c 40%, #0c0705 78%); pointer-events: none; }
.mw-glow { position: absolute; left: 50%; bottom: -260px; width: 1200px; height: 560px; transform: translateX(-50%); background: radial-gradient(ellipse, rgba(255, 140, 40, .42), transparent 65%); filter: blur(34px); animation: mwFlame 3.4s ease-in-out infinite; }
@keyframes mwFlame { 0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); } 50% { opacity: 1; transform: translateX(-50%) scale(1.08, 1.14); } }
.mw-embers i { position: absolute; bottom: -10px; width: 6px; height: 6px; border-radius: 50%; background: #ffb454; box-shadow: 0 0 12px 3px rgba(255, 150, 50, .8); opacity: 0; animation: mwEmber 9s linear infinite; }
.mw-embers i:nth-child(1) { left: 5%; } .mw-embers i:nth-child(2) { left: 14%; animation-delay: 1.2s; } .mw-embers i:nth-child(3) { left: 24%; animation-delay: 3.1s; } .mw-embers i:nth-child(4) { left: 33%; animation-delay: .5s; } .mw-embers i:nth-child(5) { left: 43%; animation-delay: 4.4s; } .mw-embers i:nth-child(6) { left: 52%; animation-delay: 2.2s; } .mw-embers i:nth-child(7) { left: 61%; animation-delay: 5.5s; } .mw-embers i:nth-child(8) { left: 70%; animation-delay: 1.8s; } .mw-embers i:nth-child(9) { left: 79%; animation-delay: 3.8s; } .mw-embers i:nth-child(10) { left: 87%; animation-delay: 6.2s; } .mw-embers i:nth-child(11) { left: 93%; animation-delay: 7s; } .mw-embers i:nth-child(12) { left: 98%; animation-delay: 2.7s; }
@keyframes mwEmber { 0% { transform: translateY(0) scale(1); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-105vh) translateX(40px) scale(.3); opacity: 0; } }

.mw-top { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; max-width: 1280px; margin: 0 auto; padding: 26px 28px; }
.mw-top .brand.mw-brand { position: static; transform: none; gap: 20px; }
.mw-brand .brand-mark { width: 62px; height: 72px; }
.mw-brand .brand-v { font-size: 38px; }
.mw-brand .brand-name { font-size: 28px; }
.mw-status { display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px; border: 1px solid rgba(255, 207, 122, .5); border-radius: 999px; background: rgba(232, 135, 44, .12); color: #ffcf7a; font-size: 12px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.mw-status i { width: 8px; height: 8px; border-radius: 50%; background: #ff9a3c; box-shadow: 0 0 10px #ff9a3c; animation: mwBlink 1.4s ease-in-out infinite; }
@keyframes mwBlink { 50% { opacity: .25; } }

.mw-main { position: relative; z-index: 2; display: grid; gap: 26px; max-width: 1280px; margin: 0 auto; padding: 0 28px 20px; }
.mw-hero { position: relative; display: grid; grid-template-columns: 1.25fr 1fr; gap: 36px; align-items: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; border: 1px solid rgba(217, 166, 94, .55); border-radius: 30px; background: radial-gradient(90% 120% at 100% 0%, rgba(232, 100, 30, .22), transparent 60%), linear-gradient(150deg, rgba(62, 37, 21, .94), rgba(12, 7, 5, .96)); box-shadow: 0 34px 90px rgba(0, 0, 0, .65), 0 0 80px rgba(232, 135, 44, .16); animation: calPop .7s cubic-bezier(.2, .8, .2, 1); }
.mw-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #ffd68a, #e8872c, transparent); }
.mw-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .26em; text-transform: uppercase; }
.mw-hero h1 { margin: 0 0 16px; font: 700 clamp(36px, 5.2vw, 68px)/1.04 var(--serif); color: #ffe7b8; text-shadow: 0 0 34px rgba(255, 150, 50, .45), 0 3px 0 rgba(0, 0, 0, .5); }
.mw-lead { max-width: 580px; margin: 0 0 26px; color: rgba(246, 227, 192, .85); font-size: 16px; line-height: 1.8; }
.mw-progress { max-width: 580px; margin-bottom: 28px; }
.mw-progress-head { display: flex; justify-content: space-between; margin-bottom: 8px; color: rgba(246, 227, 192, .75); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mw-progress-head b { color: #ffd68a; font: 700 18px var(--serif); letter-spacing: 0; }
.mw-track { height: 16px; overflow: hidden; border: 1px solid rgba(217, 166, 94, .45); border-radius: 99px; background: rgba(0, 0, 0, .55); }
.mw-track span { display: block; width: var(--p); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b56a1d, #ffd68a, #e8872c, #b56a1d); background-size: 200% 100%; box-shadow: 0 0 20px rgba(255, 150, 50, .8); animation: pfLoad 2.2s linear infinite, pfGrow 1.8s ease-out both; }
.mw-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.mw-hero-side { display: grid; justify-items: center; gap: 22px; }
.mw-anvil { display: flex; align-items: center; gap: 26px; color: #ffcf7a; font-size: 40px; }
.mw-anvil i { filter: drop-shadow(0 0 14px rgba(255, 150, 50, .7)); }
.mw-anvil .fa-hammer { transform-origin: 80% 80%; animation: mwHammer 1.3s ease-in-out infinite; }
.mw-anvil .fa-screwdriver-wrench { opacity: .8; }
.mw-gear { font-size: 60px; animation: pfSpin 6s linear infinite; }
@keyframes mwHammer { 0%, 100% { transform: rotate(-30deg); } 45%, 55% { transform: rotate(22deg); } }
.mw-eta { width: 100%; padding: 22px 18px 16px; text-align: center; border: 1px solid rgba(217, 166, 94, .45); border-radius: 22px; background: linear-gradient(180deg, rgba(232, 135, 44, .12), rgba(0, 0, 0, .45)); box-shadow: 0 14px 34px rgba(0, 0, 0, .45); }
.mw-eta p { margin: 0 0 14px; color: rgba(246, 227, 192, .75); font-size: 13px; letter-spacing: .1em; }
.mw-eta p i { margin-right: 6px; color: var(--gold); }
.mw-count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mw-count div { display: grid; gap: 4px; padding: 14px 6px 10px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 16px; background: rgba(0, 0, 0, .45); }
.mw-count b { font: 700 clamp(28px, 3.6vw, 42px)/1 var(--serif); color: #ffd68a; text-shadow: 0 0 18px rgba(255, 150, 50, .6); font-variant-numeric: tabular-nums; }
.mw-count small { color: rgba(246, 227, 192, .6); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; }
.mw-eta-date { display: block; margin-top: 12px; color: rgba(246, 227, 192, .55); font-size: 12px; text-transform: capitalize; }

.mw-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 26px; }
.mw-grid-bottom { grid-template-columns: 1.4fr 1fr; }
.mw-card { padding: 28px 30px; border: 1px solid rgba(217, 166, 94, .32); border-radius: 24px; background: linear-gradient(165deg, rgba(50, 30, 18, .82), rgba(12, 7, 5, .94)); box-shadow: 0 16px 40px rgba(0, 0, 0, .45); }
.mw-card h2 { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 20px var(--serif); color: #ffe2a8; }
.mw-card h2 i { color: var(--gold); }

.mw-timeline { position: relative; display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.mw-timeline li { position: relative; display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border: 1px solid rgba(217, 166, 94, .18); border-radius: 16px; background: #150c07; color: rgba(246, 227, 192, .6); }
.mw-timeline li > div { flex: 1; }
.mw-timeline strong { display: block; font-size: 15px; color: inherit; }
.mw-timeline p { margin: 2px 0 0; font-size: 12.5px; opacity: .8; }
.mw-timeline small { font-size: 10.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.mw-dot { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid rgba(217, 166, 94, .35); border-radius: 50%; background: #1a100b; }
.mw-timeline .is-done { color: #b6ecbf; border-color: rgba(120, 220, 140, .35); }
.mw-timeline .is-done .mw-dot { border-color: #7ddc8d; background: #17301c; color: #7ddc8d; }
.mw-timeline .is-doing { color: #ffe2a8; border-color: rgba(255, 207, 122, .65); background: linear-gradient(90deg, #3a2210, #1b0f08); box-shadow: 0 0 24px rgba(232, 135, 44, .22); }
.mw-timeline .is-doing .mw-dot { border-color: #ffcf7a; background: #4a2a10; color: #ffcf7a; box-shadow: 0 0 18px rgba(255, 150, 50, .6); }
.mw-timeline .is-doing .mw-dot i { animation: pfSpin 3s linear infinite; }

.mw-services ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.mw-services li { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid rgba(217, 166, 94, .2); border-radius: 14px; background: rgba(0, 0, 0, .3); }
.mw-services li > i { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: rgba(217, 166, 94, .12); color: var(--gold); }
.mw-services li span { flex: 1; font-weight: 600; }
.mw-services em { display: inline-flex; align-items: center; gap: 7px; font-size: 11.5px; font-style: normal; font-weight: 800; letter-spacing: .06em; }
.mw-services em i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.mw-services .is-ok em { color: #7ddc8d; } .mw-services .is-wip em { color: #ffcf7a; } .mw-services .is-off em { color: #ff7a6b; }
.mw-services .is-wip em i { animation: mwBlink 1.4s ease-in-out infinite; }

.mw-block { padding-top: 10px; }
.mw-h { display: flex; align-items: center; justify-content: center; gap: 20px; margin: 0 0 22px; font: 700 clamp(20px, 2.6vw, 28px) var(--serif); color: #ffe2a8; text-align: center; }
.mw-h span { flex: 1; height: 1px; max-width: 220px; background: linear-gradient(90deg, transparent, rgba(217, 166, 94, .6)); }
.mw-h span:last-child { background: linear-gradient(90deg, rgba(217, 166, 94, .6), transparent); }
.mw-updates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mw-update { position: relative; padding: 26px 22px; overflow: hidden; border: 1px solid rgba(217, 166, 94, .3); border-radius: 22px; background: linear-gradient(160deg, rgba(50, 30, 18, .8), rgba(10, 6, 4, .95)); transition: transform .3s, border-color .3s, box-shadow .3s; }
.mw-update::before { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 207, 122, .08) 50%, transparent 65%); transform: translateX(-100%); animation: pfShine 5s ease-in-out infinite; }
.mw-update:hover { transform: translateY(-5px); border-color: rgba(255, 207, 122, .65); box-shadow: 0 18px 38px rgba(0, 0, 0, .5), 0 0 30px rgba(232, 135, 44, .22); }
.mw-update-ico { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border: 1px solid rgba(255, 207, 122, .55); border-radius: 15px; background: rgba(232, 135, 44, .15); color: #ffcf7a; font-size: 22px; box-shadow: 0 0 20px rgba(255, 150, 50, .3); transform: rotate(-4deg); }
.mw-update h3 { margin: 0 0 8px; font: 700 18px var(--serif); color: #ffe2a8; }
.mw-update p { margin: 0; color: rgba(246, 227, 192, .7); font-size: 13.5px; line-height: 1.65; }

.mw-faq details { margin-bottom: 10px; border: 1px solid rgba(217, 166, 94, .22); border-radius: 14px; background: rgba(0, 0, 0, .3); transition: border-color .25s; }
.mw-faq details[open] { border-color: rgba(255, 207, 122, .55); }
.mw-faq summary { padding: 14px 18px; font-weight: 700; cursor: pointer; list-style: none; color: #ffe2a8; }
.mw-faq summary::-webkit-details-marker { display: none; }
.mw-faq summary::after { content: "+"; float: right; color: var(--gold); font-size: 20px; line-height: 1; }
.mw-faq details[open] summary::after { content: "-"; }
.mw-faq details p { margin: 0; padding: 0 18px 16px; color: rgba(246, 227, 192, .75); line-height: 1.7; }
.mw-join { display: grid; align-content: center; justify-items: center; gap: 12px; text-align: center; background: radial-gradient(100% 100% at 50% 0%, rgba(88, 101, 242, .22), transparent 70%), linear-gradient(165deg, rgba(50, 30, 18, .82), rgba(12, 7, 5, .94)); }
.mw-join h2 { margin: 0; justify-content: center; }
.mw-join p { margin: 0; color: rgba(246, 227, 192, .75); line-height: 1.7; }
.mw-join-ico { display: grid; place-items: center; width: 70px; height: 70px; border-radius: 20px; background: rgba(88, 101, 242, .25); border: 1px solid rgba(130, 142, 255, .7); color: #aab3ff; font-size: 32px; box-shadow: 0 0 30px rgba(88, 101, 242, .45); }
.mw-foot { position: relative; z-index: 2; padding: 30px 20px 40px; text-align: center; }
.mw-foot p { margin: 0 0 6px; color: rgba(246, 227, 192, .65); font-style: italic; }
.mw-foot small { color: rgba(246, 227, 192, .4); font-size: 12px; }

@media (max-width: 1000px) { .mw-hero, .mw-grid, .mw-grid-bottom { grid-template-columns: 1fr; } .mw-updates { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mw-top { padding: 18px 16px; } .mw-main { padding: 0 14px 10px; } .mw-brand .brand-name { font-size: 18px; } .mw-brand .brand-mark { width: 46px; height: 54px; } .mw-brand .brand-v { font-size: 28px; } .mw-status { display: none; } .mw-updates { grid-template-columns: 1fr; } .mw-card { padding: 22px 18px; } .mw-timeline small { display: none; } }
@media (prefers-reduced-motion: reduce) { .mw-glow, .mw-embers i, .mw-hero, .mw-anvil .fa-hammer, .mw-gear, .mw-status i, .mw-track span, .mw-update::before, .mw-timeline .is-doing .mw-dot i { animation: none; } }

.mw-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 32px; top: 100%; width: 2px; height: 14px; background: linear-gradient(180deg, rgba(255, 207, 122, .6), rgba(217, 166, 94, .2)); }
.mw-timeline li.is-done:not(:last-child)::after { background: #7ddc8d; }

/* Maintenance : lecteur d'ambiance */
.mw-music { position: fixed; left: 22px; bottom: 22px; z-index: 30; width: 330px; max-width: calc(100vw - 24px); padding: 14px 16px 12px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 22px; background: radial-gradient(120% 90% at 0% 100%, rgba(232, 120, 30, .22), transparent 60%), linear-gradient(180deg, rgba(34, 20, 11, .96), rgba(14, 8, 5, .97)); box-shadow: 0 18px 44px rgba(0, 0, 0, .65), 0 0 0 1px rgba(0, 0, 0, .5) inset, 0 0 34px rgba(232, 135, 44, .18); backdrop-filter: blur(10px); animation: mwMusicIn .7s cubic-bezier(.2, .8, .2, 1) both; }
.mw-music::before { content: ""; position: absolute; inset: 0 22px auto; height: 1px; background: linear-gradient(90deg, transparent, #ffcf7a, transparent); opacity: .7; }
.mw-music[hidden] { display: none; }
@keyframes mwMusicIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.mw-music-head { display: flex; align-items: center; gap: 12px; }
.mw-music-btn { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; border: 0; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffe3a6, #e8a24a 55%, #a9601a); color: #1b0f07; font-size: 18px; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 0 4px rgba(217, 166, 94, .12); transition: transform .2s, box-shadow .2s; }
.mw-music-btn:hover { transform: scale(1.07); box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 26px rgba(255, 150, 50, .75), 0 0 0 4px rgba(217, 166, 94, .2); }
.mw-music-btn i { position: relative; margin-left: 2px; }
.mw-music.is-playing .mw-music-btn i { margin-left: 0; }
.mw-ring { position: absolute; inset: -4px; width: calc(100% + 8px); height: calc(100% + 8px); fill: none; stroke: #ffcf7a; stroke-width: 2; stroke-dasharray: 30 134; stroke-linecap: round; opacity: 0; transform-origin: center; }
.mw-music.is-playing .mw-ring { opacity: 1; animation: mwSpin 2.6s linear infinite; }
.mw-music.is-playing .mw-music-btn { animation: mwPulse 2.4s ease-in-out infinite; }
@keyframes mwSpin { to { transform: rotate(360deg); } }
@keyframes mwPulse { 50% { box-shadow: 0 6px 18px rgba(0, 0, 0, .55), 0 0 30px rgba(255, 140, 40, .6), 0 0 0 4px rgba(217, 166, 94, .2); } }
.mw-music-info { min-width: 0; flex: 1; display: grid; gap: 3px; line-height: 1.15; }
.mw-music-info small { color: #e8a24a; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.mw-music-info strong { color: #ffe9bf; font: 700 15px/1.15 var(--serif, Georgia, serif); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-music-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 22px; }
.mw-music-bars i { width: 3px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #ffe3a6, #e8782a); }
.mw-music.is-playing .mw-music-bars i { animation: mwBars 1.1s ease-in-out infinite; }
.mw-music.is-playing .mw-music-bars i:nth-child(2) { animation-delay: .15s; } .mw-music.is-playing .mw-music-bars i:nth-child(3) { animation-delay: .35s; } .mw-music.is-playing .mw-music-bars i:nth-child(4) { animation-delay: .55s; } .mw-music.is-playing .mw-music-bars i:nth-child(5) { animation-delay: .75s; }
@keyframes mwBars { 0%, 100% { height: 4px; } 50% { height: 22px; } }
.mw-music-fold { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 50%; background: transparent; color: #e8c88a; font-size: 11px; cursor: pointer; transition: background .2s, transform .3s; }
.mw-music-fold:hover { background: rgba(217, 166, 94, .18); }
.mw-music.is-folded .mw-music-fold { transform: rotate(180deg); }
.mw-music-mix { display: grid; gap: 10px; margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(217, 166, 94, .18); }
.mw-music.is-folded .mw-music-mix { display: none; }
.mw-music.is-folded { width: auto; }
.mw-music.is-folded .mw-music-info { max-width: 190px; }
.mw-mix { display: grid; grid-template-columns: 22px 1fr 34px; grid-template-areas: "i t o" "s s s"; gap: 4px 8px; align-items: center; cursor: default; }
.mw-mix > i { grid-area: i; color: #ff9a3c; text-align: center; font-size: 14px; }
.mw-mix > span { grid-area: t; color: #f1dcb4; font-size: 12.5px; }
.mw-mix output { grid-area: o; color: rgba(246, 227, 192, .6); font-size: 11px; text-align: right; font-variant-numeric: tabular-nums; }
.mw-mix-vol { grid-area: s; width: 100%; height: 18px; margin: 0; background: transparent; -webkit-appearance: none; appearance: none; cursor: pointer; --v: 70%; }
.mw-mix-vol::-webkit-slider-runnable-track { height: 6px; border-radius: 6px; background: linear-gradient(90deg, #ffb347 var(--v), rgba(255, 255, 255, .12) var(--v)); }
.mw-mix-vol::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); }
.mw-mix-vol::-moz-range-progress { height: 6px; border-radius: 6px; background: #ffb347; }
.mw-mix-vol::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -5px; border-radius: 50%; border: 2px solid #3a2410; background: #ffe3a6; box-shadow: 0 0 10px rgba(255, 170, 70, .8); }
.mw-mix-vol::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #3a2410; background: #ffe3a6; box-shadow: 0 0 10px rgba(255, 170, 70, .8); }
@media (max-width: 600px) { .mw-music { left: 10px; bottom: 10px; width: calc(100vw - 20px); } }
@media (prefers-reduced-motion: reduce) { .mw-music, .mw-ring, .mw-music-btn, .mw-music-bars i { animation: none !important; } }
/* Organigramme */
.org-page .about-hero p:last-child { max-width: 640px; margin-inline: auto; }
.org-tree { position: relative; display: flex; flex-direction: column; align-items: center; padding: 10px 0 40px; }
.org-tier { width: 100%; display: flex; flex-direction: column; align-items: center; opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1); }
.org-tier.is-in { opacity: 1; transform: none; }
.org-tier-head { position: relative; text-align: center; margin-bottom: 34px; }
.org-tier-head span { display: inline-block; padding: 4px 16px; border: 1px solid rgba(217, 166, 94, .45); border-radius: 999px; background: rgba(20, 11, 6, .9); color: #e8a24a; font-size: 10.5px; letter-spacing: .28em; text-transform: uppercase; }
.org-tier-head h2 { margin: 10px 0 0; color: #ffe9bf; font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--serif, Georgia, serif); text-shadow: 0 0 22px rgba(255, 150, 50, .35); }
.org-link { position: relative; width: 2px; height: 64px; margin: 4px 0; background: rgba(217, 166, 94, .22); overflow: hidden; opacity: 0; transition: opacity .6s; }
.org-link.is-in { opacity: 1; }
.org-link i { position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: linear-gradient(180deg, transparent, #ffcf7a, #ff8a2a); box-shadow: 0 0 12px #ff9a3c; animation: orgFlow 2.2s linear infinite; }
@keyframes orgFlow { to { top: 110%; } }
.org-row { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 22px; width: 100%; margin-top: 4px; }
.org-node { --c: 217, 166, 94; position: relative; flex: 1 1 0; min-width: 230px; max-width: 290px; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 20px 18px; border: 1px solid rgba(var(--c), .4); border-radius: 18px; background: radial-gradient(120% 80% at 50% 0%, rgba(var(--c), .2), transparent 62%), linear-gradient(180deg, rgba(34, 20, 11, .96), rgba(14, 8, 5, .97)); color: inherit; font: inherit; text-align: center; cursor: pointer; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transition: transform .3s cubic-bezier(.2, .8, .2, 1), box-shadow .3s, border-color .3s; }
.org-node:hover, .org-node:focus-visible { transform: translateY(-8px); border-color: rgba(var(--c), .95); box-shadow: 0 22px 44px rgba(0, 0, 0, .6), 0 0 36px rgba(var(--c), .4); outline: 0; }
.org-node::after { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; margin-left: -1px; background: linear-gradient(180deg, rgba(var(--c), .2), rgba(var(--c), .9)); }
.org-node::before { content: ""; position: absolute; top: -34px; left: -11px; right: -11px; height: 2px; background: rgba(var(--c), .55); }
.org-node:first-child::before { left: 50%; } .org-node:last-child::before { right: 50%; } .org-node:only-child::before { display: none; }
.org-row:has(.org-node:nth-child(2))::before { content: ""; position: absolute; left: 50%; top: -34px; width: 2px; height: 34px; margin-left: -1px; background: rgba(217, 166, 94, .45); }
.org-crest { position: relative; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, rgba(var(--c), 1), rgba(var(--c), .55) 60%, rgba(40, 20, 8, .9)); color: #1b0f07; font-size: 26px; box-shadow: 0 8px 22px rgba(0, 0, 0, .55), 0 0 0 5px rgba(var(--c), .14), 0 0 26px rgba(var(--c), .45); }
.org-crest::after { content: ""; position: absolute; inset: -9px; border: 1px dashed rgba(var(--c), .55); border-radius: 50%; animation: orgSpin 18s linear infinite; }
@keyframes orgSpin { to { transform: rotate(360deg); } }
.org-node strong { margin-top: 10px; color: #fff0cf; font: 700 22px/1.1 var(--serif, Georgia, serif); }
.org-node em { color: rgb(var(--c)); font-style: normal; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.org-node small { color: rgba(246, 227, 192, .68); font-size: 12.5px; line-height: 1.45; }
.org-more { margin-top: 8px; padding: 6px 14px; border: 1px solid rgba(var(--c), .4); border-radius: 999px; color: rgba(255, 233, 191, .85); font-size: 11.5px; transition: background .25s, color .25s; }
.org-node:hover .org-more { background: rgb(var(--c)); color: #1b0f07; }
.org-tier.is-hero .org-node { max-width: 420px; padding: 36px 30px 26px; border-width: 2px; border-color: rgba(255, 200, 110, .8); background: radial-gradient(120% 90% at 50% 0%, rgba(255, 170, 60, .34), transparent 62%), linear-gradient(180deg, rgba(40, 22, 10, .98), rgba(14, 8, 5, .98)); box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 60px rgba(255, 150, 40, .3); animation: orgGlow 4s ease-in-out infinite; }
.org-tier.is-hero .org-node::after, .org-tier.is-hero .org-node::before { display: none; }
.org-tier.is-hero .org-crest { width: 104px; height: 104px; font-size: 42px; }
.org-tier.is-hero .org-crest::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255, 190, 90, .6), transparent 40%); animation: orgSpin 6s linear infinite; -webkit-mask: radial-gradient(circle, transparent 58%, #000 60%); mask: radial-gradient(circle, transparent 58%, #000 60%); }
.org-tier.is-hero .org-node strong { font-size: 36px; letter-spacing: .06em; text-shadow: 0 0 24px rgba(255, 170, 60, .7); }
.org-tier.is-hero .org-tier-head { margin-bottom: 26px; }
@keyframes orgGlow { 50% { box-shadow: 0 24px 60px rgba(0, 0, 0, .65), 0 0 90px rgba(255, 150, 40, .5); } }
.org-tier.is-small .org-node { min-width: 200px; max-width: 250px; padding: 20px 16px 14px; }
.org-tier.is-small .org-crest { width: 52px; height: 52px; font-size: 20px; }
.org-tier.is-small .org-node strong { font-size: 19px; }
.org-modal { position: fixed; inset: 0; z-index: 3500; display: grid; place-items: center; padding: 20px; --c: 217, 166, 94; opacity: 0; transition: opacity .25s; }
.org-modal[hidden] { display: none; }
.org-modal.is-open { opacity: 1; }
.org-modal-bg { position: absolute; inset: 0; background: rgba(6, 3, 2, .8); backdrop-filter: blur(6px); }
.org-card { position: relative; width: min(720px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 32px 34px 30px; border: 1px solid rgba(var(--c), .7); border-radius: 22px; background: radial-gradient(90% 60% at 0% 0%, rgba(var(--c), .25), transparent 60%), linear-gradient(180deg, #25150b, #0f0805); box-shadow: 0 30px 80px rgba(0, 0, 0, .8), 0 0 60px rgba(var(--c), .28); transform: translateY(24px) scale(.96); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.org-modal.is-open .org-card { transform: none; }
.org-close { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(var(--c), .5); border-radius: 50%; background: transparent; color: #ffe2a8; cursor: pointer; }
.org-close:hover { background: rgba(var(--c), .25); }
.org-m-head { display: flex; align-items: center; gap: 22px; }
.org-crest.is-big { flex: none; width: 88px; height: 88px; font-size: 34px; }
.org-m-class { margin: 0 0 4px; color: rgb(var(--c)); font-size: 11px; letter-spacing: .26em; text-transform: uppercase; }
.org-m-head h2 { margin: 0; color: #fff0cf; font: 700 34px/1.05 var(--serif, Georgia, serif); }
.org-m-role { margin: 6px 0 0; color: rgba(246, 227, 192, .75); }
.org-m-about { margin: 22px 0; padding-left: 14px; border-left: 3px solid rgb(var(--c)); color: rgba(246, 227, 192, .88); line-height: 1.65; }
.org-m-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; }
.org-m-grid h3 { margin: 0 0 12px; color: #ffe2a8; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.org-m-grid h3 i { margin-right: 6px; color: rgb(var(--c)); }
.org-m-grid ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.org-m-grid li { position: relative; padding: 8px 12px 8px 30px; border: 1px solid rgba(var(--c), .2); border-radius: 10px; background: rgba(255, 255, 255, .03); color: rgba(246, 227, 192, .9); font-size: 13.5px; }
.org-m-grid li::before { content: "\f0e7"; position: absolute; left: 11px; top: 9px; color: rgb(var(--c)); font: 900 11px "Font Awesome 6 Free"; }
.org-m-facts dl { display: grid; gap: 10px; margin: 0; }
.org-m-facts dl > div { padding: 10px 14px; border: 1px solid rgba(var(--c), .25); border-radius: 12px; background: rgba(0, 0, 0, .3); }
.org-m-facts dl > div[hidden] { display: none; }
.org-m-facts dt { color: rgb(var(--c)); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; }
.org-m-facts dd { margin: 3px 0 0; color: #fff0cf; font-size: 14px; }
@media (max-width: 760px) { .org-m-grid { grid-template-columns: 1fr; } .org-card { padding: 26px 20px; } .org-m-head h2 { font-size: 26px; } .org-node { max-width: 100%; } }
@media (prefers-reduced-motion: reduce) { .org-link i, .org-crest::after, .org-crest::before, .org-tier.is-hero .org-node { animation: none !important; } }

/* FAQ */
.faq-main { display: grid; gap: 22px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { --c: 217, 166, 94; border: 1px solid rgba(var(--c), .3); border-radius: 16px; background: linear-gradient(180deg, rgba(34, 20, 11, .9), rgba(16, 9, 6, .94)); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: border-color .25s, box-shadow .25s, transform .25s; animation: calPop .5s ease both; }
.faq-item[hidden] { display: none; }
.faq-item:hover { border-color: rgba(var(--c), .7); transform: translateX(3px); }
.faq-item[open] { border-color: rgb(var(--c)); box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 26px rgba(var(--c), .25); background: radial-gradient(90% 120% at 0% 0%, rgba(var(--c), .16), transparent 60%), linear-gradient(180deg, rgba(34, 20, 11, .95), rgba(16, 9, 6, .96)); }
.faq-item summary { display: flex; align-items: center; gap: 16px; padding: 16px 20px; list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(var(--c), .16); color: rgb(var(--c)); font-size: 18px; transition: background .25s, color .25s; }
.faq-item[open] .faq-ico { background: rgb(var(--c)); color: #1b0f07; box-shadow: 0 0 18px rgba(var(--c), .6); }
.faq-q { flex: 1; display: grid; gap: 3px; color: #fff0cf; font: 700 17px/1.3 var(--serif, Georgia, serif); }
.faq-q small { color: rgb(var(--c)); font: 600 10.5px/1 var(--sans, sans-serif); letter-spacing: .2em; text-transform: uppercase; }
.faq-plus { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(var(--c), .45); border-radius: 50%; color: rgb(var(--c)); font-size: 12px; transition: transform .3s, background .25s, color .25s; }
.faq-item[open] .faq-plus { transform: rotate(135deg); background: rgb(var(--c)); color: #1b0f07; }
.faq-item p { margin: 0; padding: 0 22px 20px 82px; color: rgba(246, 227, 192, .86); line-height: 1.7; animation: calPop .35s ease both; }
.faq-empty { padding: 40px 20px; border: 1px dashed rgba(217, 166, 94, .35); border-radius: 16px; text-align: center; color: rgba(246, 227, 192, .75); }
.faq-empty i { display: block; margin-bottom: 8px; color: var(--gold); font-size: 26px; }
.faq-empty[hidden] { display: none; }
.faq-cta { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border: 1px solid rgba(217, 166, 94, .5); border-radius: 18px; background: radial-gradient(80% 140% at 0% 50%, rgba(232, 120, 42, .26), transparent 60%), linear-gradient(180deg, rgba(34, 20, 11, .95), rgba(14, 8, 5, .97)); box-shadow: 0 14px 36px rgba(0, 0, 0, .5), 0 0 40px rgba(232, 135, 44, .15); }
.faq-cta-ico { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: #5865f2; color: #fff; font-size: 28px; box-shadow: 0 0 24px rgba(88, 101, 242, .55); }
.faq-cta > div { flex: 1; }
.faq-cta h2 { margin: 0 0 4px; color: #ffe9bf; font: 700 22px/1.2 var(--serif, Georgia, serif); }
.faq-cta p { margin: 0; color: rgba(246, 227, 192, .78); }
@media (max-width: 900px) { .faq-item p { padding-left: 22px; } .faq-cta { flex-direction: column; text-align: center; } }

/* Pied de page : liens */
.vfoot-col a { transition: color .2s, transform .2s; }
.vfoot-col a:hover { transform: translateX(3px); }

.vfoot-grid { grid-template-columns: 1.6fr 1fr; }
.vfoot-col a, .vfoot-col button { display: inline-flex; align-items: center; gap: 9px; }
.vfoot-col a > i, .vfoot-col button > i { width: 16px; color: #e8a24a; text-align: center; font-size: 13px; }

/* Notre Histoire */
.st-main { position: relative; padding-top: 92px; overflow: hidden; }
.st-embers { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.st-embers i { position: absolute; bottom: -20px; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: radial-gradient(circle, #ffd68a, #ff7a1c 60%, transparent); box-shadow: 0 0 10px #ff8a2a; opacity: 0; animation: stEmber var(--t) linear var(--d) infinite; }
@keyframes stEmber { 0% { transform: translate(0, 0); opacity: 0; } 10% { opacity: .9; } 100% { transform: translate(40px, -105vh); opacity: 0; } }
.st-rail { position: fixed; z-index: 40; left: 22px; top: 50%; transform: translateY(-50%); display: grid; gap: 22px; }
.st-rail-line { position: absolute; left: 50%; top: 14px; bottom: 14px; width: 2px; margin-left: -1px; background: rgba(217, 166, 94, .2); }
.st-rail-line i { display: block; width: 100%; height: 0; background: linear-gradient(180deg, #ffd68a, #e8782a); box-shadow: 0 0 10px #ff8a2a; }
.st-rail a { position: relative; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid rgba(217, 166, 94, .4); border-radius: 50%; background: #1a0f08; color: rgba(246, 227, 192, .6); font: 700 10px var(--serif, serif); transition: .3s; }
.st-rail a:hover, .st-rail a.is-active { border-color: #ffcf7a; color: #1b0f07; background: #ffcf7a; box-shadow: 0 0 18px rgba(255, 170, 60, .8); transform: scale(1.2); }
.st-rail a.is-done { border-color: #e8a24a; color: #e8a24a; }
.st-hero { position: relative; z-index: 1; display: grid; justify-items: center; gap: 22px; min-height: calc(100vh - 92px); padding: 80px 24px 120px; text-align: center; align-content: center; }
.st-hero-glow { position: absolute; inset: 0; z-index: -1; transform: translateY(var(--py, 0)); background: radial-gradient(40% 40% at 50% 55%, rgba(255, 140, 40, .28), transparent 70%), radial-gradient(70% 60% at 50% 100%, rgba(120, 50, 10, .4), transparent 70%); animation: stBreath 6s ease-in-out infinite; }
@keyframes stBreath { 50% { opacity: .65; } }
.st-eyebrow { display: flex; align-items: center; gap: 14px; margin: 0; color: #e8a24a; font-size: 12px; letter-spacing: .4em; text-transform: uppercase; animation: stUp 1s .1s both; }
.st-eyebrow span { width: 60px; height: 1px; background: linear-gradient(90deg, transparent, #e8a24a); } .st-eyebrow span:last-child { transform: scaleX(-1); }
.st-hero h1 { margin: 0; color: #fff0cf; font: 700 clamp(54px, 9vw, 120px)/1 var(--serif, Georgia, serif); letter-spacing: .04em; text-shadow: 0 0 50px rgba(255, 150, 50, .5), 0 4px 0 rgba(0, 0, 0, .5); animation: stUp 1.2s .3s both; }
.st-hero h1 em { display: block; color: transparent; font-style: italic; font-size: .42em; letter-spacing: .5em; -webkit-text-stroke: 1px #e8a24a; text-shadow: none; }
.st-lead { max-width: 640px; margin: 0; color: rgba(246, 227, 192, .85); font-size: 19px; line-height: 1.7; font-style: italic; animation: stUp 1.2s .6s both; }
.st-start { display: inline-flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 28px; border: 1px solid rgba(255, 207, 122, .7); border-radius: 999px; background: rgba(20, 11, 6, .7); color: #ffe2a8; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; animation: stUp 1.2s .9s both; transition: .25s; }
.st-start:hover { background: #ffcf7a; color: #1b0f07; box-shadow: 0 0 30px rgba(255, 170, 60, .6); }
.st-start .fa-chevron-down { animation: stBob 1.6s ease-in-out infinite; }
@keyframes stBob { 50% { transform: translateY(5px); } }
@keyframes stUp { from { opacity: 0; transform: translateY(30px); } }
.st-wrap { position: relative; z-index: 1; width: min(1000px, 100%); margin: 0 auto; padding: 0 24px 80px 80px; }
.st-chapter { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 40px; align-items: start; padding: 70px 0; opacity: 0; transform: translateY(50px); transition: opacity 1s ease, transform 1s cubic-bezier(.2, .8, .2, 1); scroll-margin-top: 90px; }
.st-chapter.is-in { opacity: 1; transform: none; }
.st-chapter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(217, 166, 94, .4), transparent); }
.st-num { position: sticky; top: 130px; display: grid; justify-items: center; gap: 12px; }
.st-num b { color: transparent; font: 700 110px/1 var(--serif, Georgia, serif); -webkit-text-stroke: 1.5px rgba(232, 162, 74, .7); filter: drop-shadow(0 0 20px rgba(255, 140, 40, .35)); }
.st-num i { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 35% 28%, #ffe3a6, #e8a24a 60%, #a9601a); color: #1b0f07; font-size: 20px; box-shadow: 0 0 26px rgba(255, 150, 50, .55); }
.st-kicker { margin: 0 0 8px; color: #e8a24a; font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.st-kicker i { margin-right: 6px; }
.st-body h2 { margin: 0 0 24px; color: #fff0cf; font: 700 clamp(30px, 3.6vw, 44px)/1.1 var(--serif, Georgia, serif); text-shadow: 0 0 26px rgba(255, 150, 50, .3); }
.st-body > p { margin: 0 0 18px; color: rgba(246, 227, 192, .88); font-size: 17.5px; line-height: 1.85; }
.st-first::first-letter { float: left; margin: 6px 12px 0 0; color: #ffcf7a; font: 700 70px/.8 var(--serif, Georgia, serif); text-shadow: 0 0 22px rgba(255, 150, 50, .6); }
.st-quote { position: relative; margin: 28px 0 0; padding: 24px 28px 22px 64px; border: 1px solid rgba(217, 166, 94, .35); border-left: 4px solid #ffb347; border-radius: 6px 16px 16px 6px; background: radial-gradient(100% 140% at 0% 0%, rgba(232, 120, 42, .2), transparent 60%), rgba(20, 11, 6, .8); opacity: 0; transform: translateX(-30px); transition: .9s .2s cubic-bezier(.2, .8, .2, 1); }
.st-quote.is-in { opacity: 1; transform: none; }
.st-quote > i { position: absolute; left: 22px; top: 22px; color: #ffb347; font-size: 26px; opacity: .8; }
.st-quote p { margin: 0; color: #ffe9bf; font: italic 600 21px/1.5 var(--serif, Georgia, serif); }
.st-quote footer { margin-top: 10px; color: #e8a24a; font-size: 13px; letter-spacing: .1em; }
.st-facts { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; opacity: 0; transform: translateY(20px); transition: .8s .2s; }
.st-facts.is-in { opacity: 1; transform: none; }
.st-facts div { flex: 1 1 160px; padding: 14px 18px; border: 1px solid rgba(217, 166, 94, .35); border-radius: 12px; background: rgba(0, 0, 0, .35); }
.st-facts dt { color: #e8a24a; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; }
.st-facts dd { margin: 4px 0 0; color: #fff0cf; font: 700 16px var(--serif, serif); }
.st-oath { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 26px; }
.st-oath-item { padding: 22px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 16px; background: linear-gradient(180deg, rgba(34, 20, 11, .92), rgba(14, 8, 5, .95)); opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .7s calc(var(--i) * .15s), transform .7s calc(var(--i) * .15s), border-color .25s, box-shadow .25s; }
.st-oath-item.is-in { opacity: 1; transform: none; }
.st-oath-item:hover { border-color: #ffcf7a; box-shadow: 0 0 28px rgba(255, 150, 50, .25); transform: translateY(-4px); }
.st-oath-item span { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 12px; border-radius: 12px; background: rgba(232, 162, 74, .16); color: #ffb347; font-size: 20px; }
.st-oath-item h3 { margin: 0 0 6px; color: #fff0cf; font: 700 18px var(--serif, serif); }
.st-oath-item p { margin: 0; color: rgba(246, 227, 192, .78); font-size: 14.5px; line-height: 1.6; }
.st-timeline { padding: 80px 0 40px; opacity: 0; transition: opacity 1s; }
.st-timeline.is-in { opacity: 1; }
.st-timeline > h2 { margin: 0 0 40px; color: #fff0cf; text-align: center; font: 700 32px var(--serif, serif); }
.st-timeline > h2 i { margin-right: 10px; color: #e8a24a; }
.st-timeline ol { position: relative; display: grid; gap: 22px; margin: 0; padding: 0 0 0 70px; list-style: none; }
.st-timeline ol::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, #ffcf7a, rgba(217, 166, 94, .1)); }
.st-timeline li { position: relative; padding: 18px 22px; border: 1px solid rgba(217, 166, 94, .3); border-radius: 14px; background: rgba(20, 11, 6, .85); opacity: 0; transform: translateX(-30px); transition: .7s calc(var(--i) * .14s); }
.st-timeline li.is-in { opacity: 1; transform: none; }
.st-dot { position: absolute; left: -70px; top: 50%; margin-top: -26px; display: grid; place-items: center; width: 52px; height: 52px; border: 2px solid #ffcf7a; border-radius: 50%; background: #1a0f08; color: #ffcf7a; box-shadow: 0 0 20px rgba(255, 150, 50, .4); }
.st-timeline li strong { color: #fff0cf; font: 700 18px var(--serif, serif); }
.st-timeline li p { margin: 4px 0 0; color: rgba(246, 227, 192, .78); }
.st-end { display: grid; justify-items: center; gap: 14px; margin-top: 50px; padding: 60px 30px; border: 1px solid rgba(217, 166, 94, .45); border-radius: 26px; text-align: center; background: radial-gradient(70% 100% at 50% 100%, rgba(255, 130, 30, .3), transparent 70%), linear-gradient(180deg, rgba(34, 20, 11, .95), rgba(12, 7, 4, .98)); box-shadow: 0 24px 60px rgba(0, 0, 0, .55), 0 0 70px rgba(232, 135, 44, .18); opacity: 0; transform: translateY(40px); transition: 1s; }
.st-end.is-in { opacity: 1; transform: none; }
.st-end-fire { color: #ff9a3c; font-size: 46px; filter: drop-shadow(0 0 18px #ff7a1c); animation: stBreath 2.4s ease-in-out infinite; }
.st-end h2 { margin: 0; color: #fff0cf; font: 700 clamp(28px, 3.4vw, 42px) var(--serif, serif); }
.st-end h2 em { color: #ffcf7a; }
.st-end p { max-width: 520px; margin: 0; color: rgba(246, 227, 192, .85); line-height: 1.7; }
.st-end > div { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 10px; }
@media (max-width: 900px) { .st-rail { display: none; } .st-wrap { padding-left: 24px; } .st-chapter { grid-template-columns: 1fr; gap: 12px; } .st-num { position: static; grid-auto-flow: column; justify-content: start; } .st-num b { font-size: 64px; } .st-oath { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .st-embers i, .st-hero-glow, .st-start .fa-chevron-down, .st-end-fire { animation: none; } .st-chapter, .st-quote, .st-oath-item, .st-timeline li, .st-end, .st-facts, .st-timeline { opacity: 1; transform: none; transition: none; } }

/* Statut des services */
.status-page-content.ss-wide{width:min(100%,980px)}
.ss-hero{position:relative;display:flex;align-items:center;gap:34px;padding:30px 36px;border:1px solid rgba(131,199,111,.35);border-radius:22px;background:radial-gradient(ellipse at 0 0,rgba(131,199,111,.12),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015));box-shadow:0 20px 60px rgba(0,0,0,.4),inset 0 1px 0 rgba(255,255,255,.06);overflow:hidden}
.ss-hero.is-warn{border-color:rgba(229,174,72,.45);background:radial-gradient(ellipse at 0 0,rgba(229,174,72,.14),transparent 60%),linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015))}
.ss-gauge{position:relative;flex:0 0 150px;width:150px;height:150px;filter:drop-shadow(0 0 18px rgba(131,199,111,.35))}
.ss-hero.is-warn .ss-gauge{filter:drop-shadow(0 0 18px rgba(229,174,72,.4))}
.ss-gauge svg{width:100%;height:100%;transform:rotate(-90deg)}
.ss-gauge circle{fill:none;stroke-width:7;stroke-linecap:round}
.ss-g-bg{stroke:rgba(255,255,255,.08)}
.ss-g-fg{stroke:#83c76f;stroke-dasharray:339.292;stroke-dashoffset:339.292;animation:ssFill 1.6s .2s cubic-bezier(.2,.8,.2,1) forwards}
.ss-hero.is-warn .ss-g-fg{stroke:#e5ae48}
@keyframes ssFill{to{stroke-dashoffset:var(--off)}}
.ss-g-val{position:absolute;inset:0;display:grid;place-items:center;font:700 38px var(--serif);color:var(--text)}
.ss-g-val small{font-size:16px;margin-left:2px;color:var(--muted);align-self:center}
.ss-g-val{display:flex;align-items:center;justify-content:center}
.ss-hero-txt{display:flex;flex-direction:column;gap:8px;min-width:0}
.ss-live{display:inline-flex;align-items:center;gap:8px;color:#a7ce8f;font:700 11px var(--sans,inherit);letter-spacing:.2em;text-transform:uppercase}
.ss-hero.is-warn .ss-live{color:#e5bd72}
.ss-live i{width:9px;height:9px;border-radius:50%;background:currentColor;box-shadow:0 0 0 0 currentColor;animation:ssPing 1.8s infinite}
@keyframes ssPing{70%{box-shadow:0 0 0 10px transparent}100%{box-shadow:0 0 0 0 transparent}}
.ss-hero-txt strong{font:600 clamp(22px,3.4vw,32px)/1.2 var(--serif);color:var(--text)}
.ss-hero-sub{color:var(--muted);font-size:13px}
.ss-meta{display:flex;flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:8px;color:var(--muted);font-size:12px}
.ss-meta i{color:#e8a24a;margin-right:5px}
.ss-meta b{color:var(--text)}
.ss-refresh{padding:7px 14px;border:1px solid rgba(232,162,74,.5);border-radius:99px;color:#f0c987;transition:.2s}
.ss-refresh:hover{background:rgba(232,162,74,.15);transform:translateY(-1px)}
.ss-refresh:hover i{animation:spin 1s linear infinite}
.ss-refresh i{color:inherit}
.ss-title{display:flex;align-items:center;gap:14px;margin:46px 0 18px;font:600 24px var(--serif);color:var(--text)}
.ss-t-ico{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#e8a24a,#9a5a1c);color:#1a100b;font-size:19px;box-shadow:0 6px 18px rgba(232,162,74,.3)}
.ss-t-name{display:flex;flex-direction:column;flex:1;line-height:1.2}
.ss-t-name small{margin-top:3px;color:var(--muted);font:500 12px var(--sans,inherit)}
.ss-t-count{padding:5px 13px;border:1px solid var(--line);border-radius:99px;color:#f0c987;font:600 13px var(--serif);background:rgba(255,255,255,.03)}
.ss-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.ss-card{--c:#baa995;position:relative;display:grid;grid-template-columns:auto 1fr;gap:5px 15px;align-items:center;padding:18px 18px 16px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015));overflow:hidden;opacity:0;animation:ssIn .6s calc(.15s + var(--i)*.07s) cubic-bezier(.2,.8,.2,1) forwards;transition:transform .25s,border-color .25s,box-shadow .25s}
@keyframes ssIn{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.ss-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--c);box-shadow:0 0 14px var(--c)}
.ss-card::after{content:"";position:absolute;right:-40px;top:-40px;width:120px;height:120px;border-radius:50%;background:radial-gradient(circle,var(--c),transparent 70%);opacity:.12;transition:opacity .3s}
.ss-card:hover{transform:translateY(-4px);border-color:var(--c);box-shadow:0 14px 34px rgba(0,0,0,.45),0 0 24px -8px var(--c)}
.ss-card:hover::after{opacity:.28}
.ss-card.status-online{--c:#83c76f}.ss-card.status-offline{--c:#ce6958}.ss-card.status-maintenance{--c:#e5ae48}
.ss-ico{grid-row:span 2;display:grid;place-items:center;width:48px;height:48px;border-radius:14px;background:rgba(0,0,0,.3);border:1px solid var(--line);color:#f0c987;font-size:19px;transition:.25s}
.ss-card:hover .ss-ico{background:var(--c);color:#14100b;transform:rotate(-6deg) scale(1.06)}
.ss-txt b{display:block;font:600 16px var(--serif);color:var(--text)}
.ss-txt em{display:block;margin-top:2px;color:var(--muted);font-size:11.5px;font-style:normal}
.ss-card .server-status-badge{grid-column:2;margin-top:4px;font:700 11px var(--sans,inherit);letter-spacing:.08em;text-transform:uppercase;color:var(--c)}
.ss-card .status-indicator{background:var(--c);animation:ssPulse 2s infinite}
@keyframes ssPulse{50%{opacity:.35}}
@media(max-width:700px){.ss-hero{flex-direction:column;text-align:center;padding:26px 20px}.ss-meta,.ss-live{justify-content:center}}
@media(prefers-reduced-motion:reduce){.ss-card{opacity:1;animation:none}.ss-g-fg{animation:none;stroke-dashoffset:var(--off)}}@keyframes spin{to{transform:rotate(360deg)}}

/* Statut : latence en direct */
.ss-card.status-maintenance .ss-ico i{animation:ssGear 4s linear infinite}
@keyframes ssGear{to{transform:rotate(360deg)}}
.ss-card.status-maintenance::before{background:repeating-linear-gradient(135deg,#e5ae48 0 6px,#3a2a12 6px 12px);box-shadow:0 0 12px rgba(229,174,72,.5)}
.ss-card.status-online .ss-ico{animation:ssFloat 3.4s ease-in-out infinite}
@keyframes ssFloat{50%{transform:translateY(-3px)}}
.ss-card::after{animation:ssGlow 5s ease-in-out infinite}
@keyframes ssGlow{50%{transform:scale(1.25);opacity:.2}}
.ss-ping{grid-column:1/-1;display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:12px;margin-top:10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:rgba(0,0,0,.28);--pc:#83c76f}
.ss-ping[data-q="3"]{--pc:#c9d36a}.ss-ping[data-q="2"]{--pc:#e5ae48}.ss-ping[data-q="1"],.ss-ping.is-down{--pc:#ce6958}
.ss-bars{display:flex;align-items:flex-end;gap:3px;height:18px}
.ss-bars i{width:4px;border-radius:2px;background:rgba(255,255,255,.12);transition:background .5s,box-shadow .5s}
.ss-bars i:nth-child(1){height:5px}.ss-bars i:nth-child(2){height:9px}.ss-bars i:nth-child(3){height:13px}.ss-bars i:nth-child(4){height:18px}
.ss-bars i.on{background:var(--pc);box-shadow:0 0 8px var(--pc)}
.ss-ms{font-size:12px;color:var(--muted);white-space:nowrap}
.ss-ms b{display:inline-block;min-width:3ch;text-align:right;font:700 18px var(--serif);color:var(--pc);transition:color .5s}
.ss-spark{width:100%;height:26px;overflow:visible}
.ss-spark path{transition:d .6s cubic-bezier(.2,.8,.2,1)}
.ss-spark-line{fill:none;stroke:var(--pc);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 3px var(--pc))}
.ss-spark-fill{fill:var(--pc);opacity:.15}
.ss-avg{color:var(--muted)}.ss-avg b{color:#a7ce8f;font-variant-numeric:tabular-nums}
.ss-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.06) 50%,transparent 60%);transform:translateX(-100%);animation:ssSheen 6s 1s ease-in-out infinite;pointer-events:none}
@keyframes ssSheen{60%,100%{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.ss-card *,.ss-card::after,.ss-hero::after{animation:none!important}}

/* Armurie */
.ar-wrap{width:min(100% - 48px,1120px);margin:0 auto;position:relative}
.ar-hero{position:relative;padding:84px 0 58px;overflow:hidden;background:radial-gradient(ellipse at 50% 0,#3b2417 0%,#1a100b 50%,#100b08 100%);border-bottom:1px solid var(--line)}
.ar-hero-glow{position:absolute;top:-260px;left:50%;width:min(900px,95vw);height:620px;border-radius:50%;background:radial-gradient(ellipse,rgba(232,140,60,.22),transparent 70%);transform:translateX(-50%);animation:arBreath 7s ease-in-out infinite;pointer-events:none}
@keyframes arBreath{50%{opacity:.6;transform:translateX(-50%) scale(1.08)}}
.ar-embers{position:absolute;inset:0;pointer-events:none}
.ar-embers i{position:absolute;bottom:-10px;left:var(--x);width:3px;height:3px;border-radius:50%;background:#ffb25a;box-shadow:0 0 8px 2px rgba(255,150,60,.7);opacity:0;animation:arRise var(--d) var(--w) linear infinite}
@keyframes arRise{10%{opacity:.9}100%{opacity:0;transform:translate(30px,-420px)}}
.ar-hero h1{margin:14px 0 12px;font:600 clamp(42px,7vw,76px)/1.05 var(--serif);color:var(--text)}
.ar-hero h1 span{background:linear-gradient(120deg,#f6d691,#e8a24a 45%,#b8651c);-webkit-background-clip:text;background-clip:text;color:transparent;text-shadow:none}
.ar-lead{max-width:640px;margin:0 0 30px;color:var(--muted);font-size:16px;line-height:1.8}
.ar-search{display:flex;flex-wrap:wrap;gap:12px;padding:12px;max-width:760px;border:1px solid rgba(232,162,74,.35);border-radius:18px;background:rgba(0,0,0,.35);backdrop-filter:blur(8px);box-shadow:0 20px 50px rgba(0,0,0,.4)}
.ar-search label{position:relative;flex:1 1 200px}
.ar-search label i{position:absolute;left:15px;top:50%;transform:translateY(-50%);color:#e8a24a;font-size:14px}
.ar-search input{width:100%;height:48px;padding:0 14px 0 40px;border:1px solid var(--line);border-radius:12px;background:rgba(255,255,255,.05);color:var(--text);font:600 14px var(--sans,inherit);outline:0;transition:.2s}
.ar-search input:focus{border-color:#e8a24a;box-shadow:0 0 0 3px rgba(232,162,74,.18)}
.ar-search button{height:48px;padding:0 26px;border:0;border-radius:12px;background:linear-gradient(135deg,#f0b869,#c8741f);color:#1a100b;font:800 13px var(--sans,inherit);letter-spacing:.06em;text-transform:uppercase;cursor:pointer;transition:.25s}
.ar-search button:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(232,140,50,.4)}
.ar-error{margin:12px 0 0;color:#e08a76;font-size:13px}
.ar-body{padding:20px 0 60px}
.ar-section{margin-top:48px}
.ar-h2{display:flex;align-items:center;gap:14px;margin:0 0 22px;font:600 24px var(--serif);color:var(--text)}
.ar-h2>span:last-child{display:flex;flex-direction:column;line-height:1.2}
.ar-h2 small{margin-top:3px;color:var(--muted);font:500 12px var(--sans,inherit)}
.ar-h2-ico{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border-radius:12px;background:linear-gradient(145deg,#e8a24a,#9a5a1c);color:#1a100b;font-size:19px;box-shadow:0 6px 18px rgba(232,162,74,.3)}
.ar-empty{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:30px;border:1px dashed rgba(232,162,74,.35);border-radius:18px;background:rgba(255,255,255,.02)}
.ar-empty>i{font-size:30px;color:#e8a24a}
.ar-empty p{margin:0;color:var(--muted);line-height:1.7}
.ar-lost{align-items:center;text-align:center;margin-top:20px;padding:60px 30px}
.ar-lost h1{margin:0;font:600 32px var(--serif)}
.ar-note{display:flex;gap:10px;align-items:flex-start;margin:0 0 20px;padding:14px 18px;border:1px solid rgba(229,174,72,.35);border-radius:12px;background:rgba(229,174,72,.06);color:var(--muted);font-size:13px;line-height:1.7}
.ar-note i{color:#e5ae48;margin-top:3px}.ar-note code{color:var(--text);font-size:12px}
.ar-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}
.ar-stats>div{display:grid;grid-template-columns:auto 1fr;gap:0 14px;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.015))}
.ar-stats i{grid-row:span 2;display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:rgba(232,162,74,.12);color:#e8a24a;font-size:18px}
.ar-stats strong{font:700 28px var(--serif);color:var(--text)}
.ar-stats span{color:var(--muted);font-size:12px}
.ar-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.ar-filters button{display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border:1px solid var(--line);border-radius:99px;background:rgba(255,255,255,.03);color:var(--muted);font:600 12px var(--sans,inherit);cursor:pointer;transition:.2s}
.ar-filters button img{border-radius:50%}
.ar-filters button:hover{color:var(--text);border-color:var(--cc,#e8a24a)}
.ar-filters button.is-on{color:#1a100b;background:var(--cc,#e8a24a);border-color:var(--cc,#e8a24a);box-shadow:0 0 18px -4px var(--cc,#e8a24a)}
.ar-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.ar-grid [hidden]{display:none}
.ar-card{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:16px 18px;border:1px solid var(--line);border-radius:16px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012));overflow:hidden;color:inherit;text-decoration:none;transition:transform .25s,border-color .25s,box-shadow .25s;animation:calPop .5s both}
.ar-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--cc);box-shadow:0 0 14px var(--cc)}
.ar-card::after{content:"";position:absolute;right:-50px;top:-50px;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle,var(--cc),transparent 70%);opacity:.1;transition:opacity .3s}
a.ar-card:hover{transform:translateY(-4px);border-color:var(--cc);box-shadow:0 14px 34px rgba(0,0,0,.45),0 0 26px -8px var(--cc)}
a.ar-card:hover::after{opacity:.26}
.ar-card-shine{position:absolute;inset:0;background:linear-gradient(110deg,transparent 40%,rgba(255,255,255,.07) 50%,transparent 60%);transform:translateX(-120%);pointer-events:none}
a.ar-card:hover .ar-card-shine{transform:translateX(120%);transition:transform .8s}
.ar-card-ico img{display:block;width:52px;height:52px;border-radius:14px;border:2px solid var(--cc);box-shadow:0 0 16px -4px var(--cc)}
.ar-card-main{display:flex;flex-direction:column;min-width:0;gap:2px}
.ar-card-main b{font:700 17px var(--serif);color:var(--cc);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ar-card-main em{font-style:normal;color:var(--muted);font-size:12px}
.ar-card-spec{color:#f0c987;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;min-height:14px}
.ar-card-stat{display:flex;flex-direction:column;align-items:center;min-width:54px;padding:8px 10px;border:1px solid var(--line);border-radius:12px;background:rgba(0,0,0,.3)}
.ar-card-stat small{color:var(--muted);font-size:9px;letter-spacing:.14em;text-transform:uppercase}
.ar-card-stat strong{font:700 20px var(--serif);color:var(--text);font-variant-numeric:tabular-nums}
.ar-card.is-loading .ar-card-stat strong{animation:ssPulse 1s infinite}
.ar-card.is-missing{opacity:.55;filter:grayscale(.6)}
.ar-card.is-horde::before{box-shadow:0 0 14px #c0392b}
.ar-credit{margin:40px 0 0;color:var(--muted);font-size:12px}
.ar-credit i{color:#e8a24a;margin-right:6px}.ar-credit a{color:#f0c987}
/* Fiche personnage */
.ar-char-wrap{padding:30px 0 70px}
.ar-char-wrap .status-back-link{margin-bottom:26px}
.ar-profile{position:relative;display:flex;align-items:center;gap:32px;padding:34px 38px;border:1px solid color-mix(in srgb,var(--cc) 55%,transparent);border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.05),rgba(255,255,255,.012));overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.45)}
.ar-profile-bg{position:absolute;inset:0;background:radial-gradient(ellipse at 15% 20%,color-mix(in srgb,var(--cc) 28%,transparent),transparent 60%);pointer-events:none;animation:arBreath 8s ease-in-out infinite}
.ar-portrait{position:relative;flex:0 0 132px;width:132px;height:132px}
.ar-portrait img{position:absolute;inset:0;width:132px;height:132px;object-fit:cover;border-radius:50%;border:3px solid var(--cc);box-shadow:0 0 34px -4px var(--cc)}
.ar-portrait .ar-avatar{z-index:1}
.ar-level{position:absolute;z-index:2;right:-4px;bottom:-4px;display:grid;place-items:center;min-width:38px;height:38px;border-radius:50%;background:#14100b;border:2px solid var(--cc);font:700 15px var(--serif);color:var(--text)}
.ar-id{position:relative;flex:1;min-width:0}
.ar-faction{display:inline-flex;align-items:center;gap:7px;padding:5px 12px;border-radius:99px;font:700 11px var(--sans,inherit);letter-spacing:.14em;text-transform:uppercase;background:rgba(255,255,255,.06);border:1px solid var(--line)}
.ar-faction.is-horde{color:#e07a6a;border-color:rgba(206,105,88,.5)}.ar-faction.is-alliance{color:#7fb2f0;border-color:rgba(100,150,230,.5)}
.ar-id h1{margin:12px 0 4px;font:600 clamp(34px,5vw,54px)/1.05 var(--serif);color:var(--cc);text-shadow:0 0 30px color-mix(in srgb,var(--cc) 45%,transparent)}
.ar-line{margin:0;color:var(--text);font-size:17px}
.ar-sub{margin:8px 0 0;color:var(--muted);font-size:13px}.ar-sub i{color:#e8a24a;margin:0 4px 0 0}
.ar-ilvl{position:relative;flex:0 0 150px;width:150px;height:150px;filter:drop-shadow(0 0 18px color-mix(in srgb,var(--cc) 45%,transparent))}
.ar-ilvl svg{width:100%;height:100%;transform:rotate(-90deg)}
.ar-ilvl circle{fill:none;stroke-width:7;stroke-linecap:round}
.ar-i-bg{stroke:rgba(255,255,255,.08)}
.ar-i-fg{stroke:var(--cc);stroke-dasharray:339.292;stroke-dashoffset:339.292;animation:ssFill 1.8s .3s cubic-bezier(.2,.8,.2,1) forwards}
.ar-ilvl>span{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center}
.ar-ilvl strong{font:700 40px var(--serif);color:var(--text);line-height:1}
.ar-ilvl small{margin-top:4px;color:var(--muted);font-size:10px;letter-spacing:.2em;text-transform:uppercase}
.ar-tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0 0}
.ar-tiles>div{display:flex;flex-direction:column;gap:3px;padding:18px 20px;border:1px solid var(--line);border-radius:16px;background:rgba(255,255,255,.03);transition:.25s}
.ar-tiles>div:hover{transform:translateY(-3px);border-color:rgba(232,162,74,.5)}
.ar-tiles i{color:#e8a24a;font-size:18px;margin-bottom:6px}
.ar-tiles strong{font:700 22px var(--serif);color:var(--text)}
.ar-tiles span{color:var(--muted);font-size:12px}
.ar-cols{display:grid;grid-template-columns:1.25fr 1fr;gap:22px;margin-top:30px;align-items:start}
.ar-panel{padding:26px;border:1px solid var(--line);border-radius:20px;background:linear-gradient(160deg,rgba(255,255,255,.04),rgba(255,255,255,.01))}
.ar-items,.ar-ach{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.ar-items{grid-template-columns:1fr 1fr}
.ar-items li,.ar-ach li{opacity:0;animation:ssIn .5s calc(.1s + var(--i)*.04s) both}
.ar-items a,.ar-ach a{display:flex;align-items:center;gap:12px;padding:8px;border:1px solid transparent;border-radius:12px;color:inherit;text-decoration:none;background:rgba(0,0,0,.2);transition:.2s}
.ar-items a:hover,.ar-ach a:hover{background:rgba(255,255,255,.05);border-color:var(--q,#e8a24a);transform:translateX(3px)}
.ar-item-ico,.ar-ach-ico{position:relative;flex:0 0 auto}
.ar-item-ico img{display:block;width:48px;height:48px;border-radius:9px;border:2px solid var(--q);box-shadow:0 0 14px -3px var(--q)}
.ar-item-ico em{position:absolute;right:-4px;bottom:-4px;padding:1px 5px;border-radius:6px;background:#14100b;border:1px solid var(--q);color:var(--text);font:700 10px var(--sans,inherit);font-style:normal}
.ar-ach-ico img{display:block;width:44px;height:44px;border-radius:9px;border:2px solid #e8a24a;box-shadow:0 0 14px -3px #e8a24a}
.ar-item-txt,.ar-ach-txt{display:flex;flex-direction:column;min-width:0}
.ar-item-txt b{color:var(--q);font:600 13px var(--serif);line-height:1.25}
.ar-ach-txt b{color:var(--text);font:600 14px var(--serif);line-height:1.25}
.ar-item-txt small,.ar-ach-txt small{color:var(--muted);font-size:11px}
@media(max-width:900px){.ar-cols{grid-template-columns:1fr}.ar-tiles{grid-template-columns:1fr 1fr}.ar-profile{flex-wrap:wrap;justify-content:center;text-align:center}.ar-stats{grid-template-columns:1fr}}
@media(max-width:560px){.ar-items{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.ar-card,.ar-items li,.ar-ach li,.ar-embers i,.ar-hero-glow,.ar-profile-bg{animation:none;opacity:1}}

/* Icônes de talents Wowhead */
.talent-node { overflow: visible; }
.talent-img { width: 100%; height: 100%; border-radius: 6px; object-fit: cover; display: block; filter: grayscale(1) brightness(.55); transition: filter .2s ease; pointer-events: none; }
.talent-node.is-available .talent-img { filter: grayscale(.35) brightness(.9); }
.talent-node.is-active .talent-img, .talent-node.is-maxed .talent-img { filter: none; }
.talent-node.is-locked .talent-img { filter: grayscale(1) brightness(.4); }

.talent-class-img { width: 1.6em; height: 1.6em; border-radius: 6px; object-fit: cover; display: block; box-shadow: 0 0 0 1px color-mix(in srgb, var(--cls, #e6bd74) 60%, #000); }
.talent-tree-icon .talent-class-img { width: 100%; height: 100%; }

.tip-next { color: #9fd08f; } .tip-next em { color: var(--muted); font-style: normal; }
