/* RAPZODY V14 — PAGE D'ACCUEIL « THE RISE »
   Page autonome (ne charge aucun fichier du jeu). Mobile d'abord : les règles de base visent l'iPhone,
   les media queries « min-width » ajoutent la mise en page ordinateur.
   Image → titre fort → phrase courte → bouton, puis section suivante. */

:root {
    --red: #ff202b;
    --red-hi: #ff4650;
    --gold: #e9c46a;
    --gold-hi: #f6dfa0;
    --ink: #050505;
    --txt: #fff;
    --muted: rgba(255, 255, 255, .72);
    --nav-h: 60px;
    --ban: 0px;
    --gut: 22px;
    --ease: cubic-bezier(.2, .7, .2, 1);
    color-scheme: dark;
}
html.has-install { --ban: 56px; }   /* remplacé par la hauteur réelle, mesurée par accueil.js */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.hp {
    margin: 0;
    background: var(--ink);
    color: var(--txt);
    font: 400 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.hp.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- Logo ---------- */
.hp-logo, .hp-hero__logo {
    font: italic 900 1em/1 Inter, sans-serif;
    letter-spacing: -.045em;
    white-space: nowrap;
}
.hp-logo { font-size: 24px; padding-right: .1em; }
.hp-logo__rap { color: #fff; }
.hp-logo__zody { color: var(--red); }

/* ---------- Boutons ---------- */
.hp-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    min-height: 50px; padding: 0 28px;
    border: 0; border-radius: 999px;
    font: 600 15px/1 Oswald, Inter, sans-serif; letter-spacing: .09em; text-transform: uppercase;
    white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
    -webkit-tap-highlight-color: transparent;
}
.hp-btn span { display: inline-block; transition: transform .25s var(--ease); }
.hp-btn:hover span { transform: translateX(4px); }
.hp-btn--red { background: var(--red); color: #fff; box-shadow: 0 10px 30px -8px rgba(255, 32, 43, .6); }
.hp-btn--red:hover { background: var(--red-hi); transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(255, 32, 43, .75); }
.hp-btn--red:active { transform: translateY(0) scale(.98); }
.hp-btn--ghost {
    background: rgba(5, 5, 5, .28); color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .72);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hp-btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }
.hp-btn--sm { min-height: 38px; padding: 0 18px; font-size: 13px; }
.hp-btn--lg { min-height: 56px; font-size: 16px; }
.hp-btn--xl { min-height: 62px; padding: 0 44px; font-size: 18px; }

/* ---------- En-tête fixe ---------- */
.hp-header {
    position: fixed; inset: 0 0 auto 0; z-index: 50;
    padding-top: env(safe-area-inset-top);
    transition: background-color .35s, -webkit-backdrop-filter .35s, backdrop-filter .35s;
}
.hp-header::before {           /* voile du haut, pour lire le menu sur l'image */
    content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(5, 5, 5, .7), rgba(5, 5, 5, 0));
    transition: opacity .35s;
}
.hp-header.is-scrolled { background: rgba(5, 5, 5, .82); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.hp-header.is-scrolled::before { opacity: 0; }

/* bandeau d'installation (se replie dès que l'on défile) */
.hp-install {
    display: grid; grid-template-rows: 1fr;
    background: linear-gradient(90deg, rgba(255, 32, 43, .2), rgba(20, 20, 20, .92) 40%);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    transition: grid-template-rows .35s var(--ease), opacity .3s;
}
.hp-install__in { overflow: hidden; min-height: 0; display: flex; align-items: center; gap: 10px; padding: 0 6px 0 var(--gut); }
.hp-install__in > * { margin-block: 9px; }
.hp-header.is-scrolled .hp-install { grid-template-rows: 0fr; opacity: 0; border-bottom-color: transparent; }
.hp-install__ico { font-size: 18px; line-height: 1; }
.hp-install__txt { flex: 1; min-width: 0; margin: 0; line-height: 1.25; }
.hp-install__txt b { display: block; font: 600 12.5px/1.2 Oswald, Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; text-wrap: balance; }
.hp-install__txt span { display: none; font-size: 12px; color: var(--muted); }
.hp-install__btn {
    flex: none; display: inline-flex; gap: .4em; align-items: center;
    min-height: 34px; padding: 0 12px; border-radius: 999px;
    background: transparent; border: 1.5px solid var(--red); color: #fff;
    font: 600 11.5px/1 Oswald, Inter, sans-serif; letter-spacing: .08em; text-transform: uppercase;
    transition: background-color .2s;
}
.hp-install__btn:hover { background: var(--red); }
.hp-install__close { flex: none; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); font-size: 15px; border-radius: 50%; }
.hp-install__close:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* navigation */
.hp-nav {
    display: flex; align-items: center; gap: 12px;
    height: var(--nav-h); padding: 0 var(--gut);
    max-width: 1440px; margin: 0 auto;
}
.hp-nav .hp-logo { margin-right: auto; }
.hp-menu { display: none; list-style: none; margin: 0; padding: 0; }
.hp-nav__cta { flex: none; }
.hp-burger {
    flex: none; position: relative; z-index: 2;
    width: 44px; height: 44px; margin-right: -8px; border: 0; background: none;
    display: grid; place-content: center; gap: 6px;
}
.hp-burger span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.hp-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hp-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hp-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* menu mobile : plein écran. Le flou de l'en-tête enfermerait le menu (position: fixed) dans l'en-tête : on le coupe pendant l'ouverture */
body.menu-open .hp-header { -webkit-backdrop-filter: none; backdrop-filter: none; transition: none; }
.hp-nav .hp-logo { position: relative; z-index: 2; }
.hp-menu.is-open {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    position: fixed; inset: 0; z-index: 1;
    padding: calc(var(--nav-h) + env(safe-area-inset-top)) 32px calc(32px + env(safe-area-inset-bottom));
    background: rgba(5, 5, 5, .97);
    animation: hp-fade .3s var(--ease);
}
.hp-menu.is-open a:not(.hp-btn) {
    display: block; padding: 10px 0;
    font: 700 clamp(34px, 10vw, 46px)/1.05 Oswald, sans-serif; text-transform: uppercase; letter-spacing: .01em;
}
.hp-menu.is-open a[aria-current="page"] { color: var(--red); }
.hp-menu.is-open .hp-menu__play { margin-top: 28px; }
.hp-menu.is-open .hp-menu__play .hp-btn { width: 100%; min-height: 58px; font-size: 17px; }

/* ---------- Sections ---------- */
.hp-sec { position: relative; isolation: isolate; overflow: hidden; }
.hp-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; background: #0b0b0b; }
.hp-img {
    width: 100%; height: 100%; object-fit: cover;
    transform: translate3d(0, var(--py, 0px), 0) scale(1.08);
    will-change: transform;
}
.hp-shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* HERO — CONCERT */
.hp-hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column;
    padding: calc(var(--nav-h) + var(--ban) + env(safe-area-inset-top) + 26px) var(--gut) calc(env(safe-area-inset-bottom) + 64px);
}
.hp-hero .hp-img { object-position: 74% 50%; }
.hp-shade--hero {
    background:
        linear-gradient(180deg, rgba(5, 5, 5, .35) 0%, rgba(5, 5, 5, 0) 30%),
        linear-gradient(0deg, var(--ink) 0%, rgba(5, 5, 5, .78) 16%, rgba(5, 5, 5, 0) 42%);
}
.hp-hero__logo {
    margin: 0;
    font-size: clamp(54px, 16vw, 172px);
    filter: drop-shadow(0 6px 26px rgba(0, 0, 0, .45));
    animation: hp-rise 1.1s var(--ease) both .1s;
}
.hp-hero__slogan {
    margin: 12px 0 0;
    font: 600 clamp(11px, 3.1vw, 19px)/1.5 Oswald, sans-serif;
    letter-spacing: .3em; text-transform: uppercase;
    text-shadow: 0 2px 14px rgba(0, 0, 0, .65);
    animation: hp-rise 1.1s var(--ease) both .3s;
}
.hp-hero__ctas {
    margin-top: auto;
    display: flex; flex-direction: column; gap: 12px;
    width: 100%; max-width: 420px;
    animation: hp-rise 1.1s var(--ease) both .5s;
}
.hp-scroll {
    position: absolute; left: 50%; bottom: calc(env(safe-area-inset-bottom) + 14px); transform: translateX(-50%);
    display: flex; align-items: center; gap: 8px;
    font: 600 11px/1 Oswald, sans-serif; letter-spacing: .24em; text-transform: uppercase; color: var(--muted);
    animation: hp-fade 1s both 1s;
}
.hp-scroll__mouse { display: none; }

/* STUDIO + LIFESTYLE — mobile : image en haut, texte dessous */
.hp-feature { padding-bottom: 76px; }
.hp-feature .hp-media { position: relative; height: 64vh; height: 64svh; min-height: 380px; }
.hp-feature .hp-shade {
    inset: 0 0 auto 0; height: 64vh; height: 64svh; min-height: 380px;
    background:
        linear-gradient(180deg, var(--ink) 0%, rgba(5, 5, 5, 0) 16%),
        linear-gradient(0deg, var(--ink) 4%, rgba(5, 5, 5, .55) 26%, rgba(5, 5, 5, 0) 50%);
}
.hp-feature--studio .hp-img { object-position: 82% 50%; }
.hp-feature--life .hp-img { object-position: 22% 50%; }
.hp-copy { position: relative; margin-top: -88px; padding: 0 var(--gut); }

.hp-eyebrow {
    margin: 0 0 12px;
    font: 700 12px/1 Inter, sans-serif; letter-spacing: .3em; text-transform: uppercase;
    color: var(--red);
}
.hp-title {
    margin: 0;
    font: 700 clamp(50px, 14.5vw, 108px)/.92 Oswald, sans-serif;
    text-transform: uppercase; letter-spacing: -.005em;
    text-shadow: 0 4px 28px rgba(0, 0, 0, .5);
}
.hp-title em { display: block; font-style: normal; color: var(--red); }
.hp-bar { display: block; width: 52px; height: 4px; margin: 24px 0 22px; background: var(--red); border-radius: 2px; }
.hp-lead { margin: 0 0 30px; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, .88); text-shadow: 0 2px 12px rgba(0, 0, 0, .6); }

/* FINALE */
.hp-final {
    min-height: 82vh; min-height: 82svh;
    display: grid; place-items: center; text-align: center;
    padding: 96px var(--gut) 96px;
    background:
        radial-gradient(60% 46% at 50% 108%, rgba(255, 32, 43, .38), rgba(255, 32, 43, 0) 70%),
        radial-gradient(40% 30% at 50% 40%, rgba(233, 196, 106, .07), rgba(233, 196, 106, 0) 70%),
        var(--ink);
}
.hp-final::before {            /* filet doré */
    content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: min(320px, 60vw); height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55;
}
.hp-final__title {
    margin: 0 auto; max-width: 14ch;
    font: 700 clamp(42px, 12vw, 116px)/.95 Oswald, sans-serif; text-transform: uppercase;
}
.hp-final__sub {
    margin: 22px 0 44px;
    font: 600 clamp(20px, 5.4vw, 40px)/1.1 Oswald, sans-serif; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
}
.hp-final__sub em {
    font-style: normal;
    background: linear-gradient(100deg, var(--gold), var(--gold-hi) 45%, var(--gold));
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-final .hp-btn--xl { width: 100%; max-width: 420px; }
.hp-final--page { min-height: 100vh; min-height: 100svh; padding-top: calc(var(--nav-h) + env(safe-area-inset-top) + 48px); }
.hp-final--page::before { display: none; }

/* PIED DE PAGE */
.hp-footer {
    display: flex; flex-direction: column; align-items: center; gap: 16px;
    padding: 36px var(--gut) calc(36px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .5); font-size: 13px; text-align: center;
}
.hp-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; }
.hp-footer nav a:hover { color: #fff; }
.hp-logo--sm { font-size: 20px; }

/* ---------- Fenêtre d'installation ---------- */
.hp-modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: flex-end; justify-content: center;
    background: rgba(0, 0, 0, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    animation: hp-fade .25s var(--ease);
}
.hp-modal__panel {
    position: relative; width: 100%; max-width: 460px;
    padding: 30px 24px calc(24px + env(safe-area-inset-bottom));
    background: #111; border: 1px solid rgba(255, 255, 255, .08); border-bottom: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -20px 60px rgba(0, 0, 0, .6);
    animation: hp-sheet .4s var(--ease);
}
.hp-modal__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .06); }
.hp-modal__title { margin: 0 0 6px; font: 700 34px/1 Oswald, sans-serif; text-transform: uppercase; }
.hp-modal__intro { margin: 0 0 20px; color: var(--muted); font-size: 15px; }
.hp-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hp-steps li { display: flex; align-items: center; gap: 14px; padding: 13px 14px; border-radius: 14px; background: rgba(255, 255, 255, .04); font-size: 15px; }
.hp-steps b {
    flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
    border: 1.5px solid var(--gold); color: var(--gold); font: 700 14px/1 Oswald, sans-serif;
}
.hp-steps strong { color: #fff; font-weight: 700; }
.hp-share { width: 20px; height: 20px; vertical-align: -4px; margin-left: 4px; color: #0a84ff; }
.hp-modal__note { margin: 18px 0 20px; font-size: 13px; color: var(--muted); }
.hp-modal__ok { width: 100%; }

/* ---------- Apparitions au défilement (actives seulement si le JS tourne) ---------- */
.js [data-reveal] > * { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].is-in > * { opacity: 1; transform: none; }
.js [data-reveal].is-in > :nth-child(2) { transition-delay: .08s; }
.js [data-reveal].is-in > :nth-child(3) { transition-delay: .16s; }
.js [data-reveal].is-in > :nth-child(4) { transition-delay: .24s; }
.js [data-reveal].is-in > :nth-child(5) { transition-delay: .32s; }
.js [data-reveal] .hp-bar { transform-origin: left; }

@keyframes hp-rise { from { opacity: 0; transform: translate3d(0, 26px, 0); } to { opacity: 1; transform: none; } }
@keyframes hp-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes hp-sheet { from { transform: translate3d(0, 40px, 0); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes hp-wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(9px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Petits téléphones ---------- */
@media (max-width: 359px) {
    :root { --gut: 18px; }
    .hp-nav__cta { display: none; }
    .hp-install__ico { display: none; }
    .hp-install__txt b { font-size: 11.5px; }
}
@media (max-height: 640px) and (max-width: 759px) {
    .hp-hero__ctas { gap: 10px; }
    .hp-hero .hp-btn--lg { min-height: 50px; }
}

/* ---------- Tablette / grand téléphone ---------- */
@media (min-width: 520px) {
    .hp-install__txt span { display: block; }
}

/* ---------- Tablette paysage et ordinateur : l'image remplit chaque section ---------- */
@media (min-width: 760px) {
    :root { --nav-h: 76px; --gut: clamp(28px, 6vw, 96px); }
    .hp-logo { font-size: 28px; }

    /* hero : logo dans le ciel, à gauche ; boutons juste dessous */
    .hp-hero { padding-top: calc(var(--nav-h) + var(--ban) + clamp(40px, 13vh, 150px)); padding-bottom: 90px; }
    .hp-hero .hp-img { object-position: 60% 42%; }
    .hp-shade--hero {
        background:
            linear-gradient(90deg, rgba(5, 5, 5, .5) 0%, rgba(5, 5, 5, .18) 38%, rgba(5, 5, 5, 0) 58%),
            linear-gradient(0deg, var(--ink) 0%, rgba(5, 5, 5, 0) 22%);
    }
    .hp-hero__logo { font-size: clamp(80px, 10.5vw, 172px); }
    .hp-hero__slogan { margin-top: 14px; font-size: clamp(14px, 1.35vw, 20px); letter-spacing: .38em; }
    .hp-hero__ctas { margin-top: clamp(30px, 6vh, 56px); max-width: 320px; }
    .hp-scroll { left: var(--gut); transform: none; flex-direction: column; gap: 12px; bottom: 28px; }
    .hp-scroll__mouse {
        display: block; position: relative; width: 24px; height: 38px;
        border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 14px;
    }
    .hp-scroll__mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--red); animation: hp-wheel 1.8s infinite; }

    /* sections plein écran, texte posé dans une zone sombre de l'image */
    .hp-feature { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; padding: 0 var(--gut) clamp(64px, 12vh, 140px); }
    .hp-feature .hp-media { position: absolute; height: auto; min-height: 0; }
    .hp-feature .hp-shade { inset: 0; height: auto; min-height: 0; }
    .hp-copy { margin: 0; padding: 0; max-width: 480px; }
    .hp-title { font-size: clamp(64px, 7vw, 112px); }
    .hp-lead { font-size: 19px; }

    /* studio : texte en bas à gauche (sur le canapé), la vue sur la tour Eiffel reste dégagée */
    .hp-feature--studio .hp-img { object-position: 50% 50%; }
    .hp-feature--studio .hp-shade {
        background:
            linear-gradient(180deg, var(--ink) 0%, rgba(5, 5, 5, 0) 14%),
            linear-gradient(0deg, var(--ink) 0%, rgba(5, 5, 5, 0) 14%),
            radial-gradient(70% 70% at 0% 100%, rgba(5, 5, 5, .86) 0%, rgba(5, 5, 5, .45) 45%, rgba(5, 5, 5, 0) 75%);
    }

    /* lifestyle : texte en bas à droite (sur le salon), la Classe G et la tour Eiffel restent visibles */
    .hp-feature--life { justify-content: flex-end; }
    .hp-feature--life .hp-img { object-position: 50% 50%; }
    .hp-feature--life .hp-shade {
        background:
            linear-gradient(180deg, var(--ink) 0%, rgba(5, 5, 5, 0) 14%),
            linear-gradient(0deg, var(--ink) 0%, rgba(5, 5, 5, 0) 14%),
            radial-gradient(70% 70% at 100% 100%, rgba(5, 5, 5, .86) 0%, rgba(5, 5, 5, .45) 45%, rgba(5, 5, 5, 0) 75%);
    }

    .hp-modal { align-items: center; }
    .hp-modal__panel { border-radius: 22px; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-bottom: 28px; }

    .hp-footer { flex-direction: row; justify-content: space-between; }
}

/* ---------- Ordinateur : menu horizontal ---------- */
@media (min-width: 960px) {
    .hp-burger, .hp-nav__cta { display: none; }
    .hp-nav { gap: clamp(20px, 3.4vw, 56px); }
    .hp-nav .hp-logo { margin-right: 0; flex: 1; }
    .hp-menu { display: contents; }          /* les liens deviennent des éléments de la barre : centrés entre logo et bouton */
    .hp-menu li:not(.hp-menu__play) a {
        position: relative; display: block; padding: 10px 0;
        font: 600 12.5px/1 Inter, sans-serif; letter-spacing: .16em; text-transform: uppercase;
        color: rgba(255, 255, 255, .86); transition: color .2s;
    }
    .hp-menu li:not(.hp-menu__play) a::after {
        content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px;
        background: var(--red); transform: scaleX(0); transition: transform .3s var(--ease);
    }
    .hp-menu li:not(.hp-menu__play) a:hover { color: #fff; }
    .hp-menu li:not(.hp-menu__play) a:hover::after,
    .hp-menu a[aria-current="page"]::after { transform: scaleX(1); }
    .hp-menu__play { flex: 1; display: flex; justify-content: flex-end; }
    .hp-menu__play .hp-btn { min-height: 44px; padding: 0 30px; font-size: 14px; }
}

/* ---------- Grands écrans ---------- */
@media (min-width: 1600px) {
    .hp-copy { max-width: 560px; }
}

/* ---------- Mouvements réduits ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .hp-img { transform: scale(1.02); }
    .js [data-reveal] > * { opacity: 1; transform: none; }
}

/* ---------- V15.1 — Ton rappeur (profil du joueur) ---------- */
.hp-player { padding: 56px var(--gut) 72px; background: linear-gradient(180deg, var(--ink), #0d0b08); }
.hp-player__in { max-width: 720px; margin: 0 auto; text-align: center; }
.hp-player__title { margin: 6px 0 22px; font: 400 clamp(40px, 9vw, 64px)/.95 "Bebas Neue", Oswald, sans-serif; letter-spacing: .02em; }
.hp-player__card { display: flex; align-items: center; gap: 18px; padding: 18px; border-radius: 20px; text-align: left; background: rgba(255,255,255,.04); border: 1px solid rgba(233,196,106,.28); }
.hp-player__empty { margin: 0; color: var(--muted); text-align: center; flex: 1; }
.hp-player__info { min-width: 0; flex: 1; }
.hp-player__rank { margin: 4px 0 10px; color: var(--gold-hi); font-weight: 700; font-size: 14px; }
.hp-player__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.hp-player__stats div { padding: 8px; border-radius: 10px; background: rgba(255,255,255,.05); }
.hp-player__stats dt { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.hp-player__stats dd { margin: 2px 0 0; font: 700 18px/1.1 Inter, sans-serif; }
.hp-player__account { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 22px; }
.hp-player__account .hp-btn { width: 100%; max-width: 420px; }
.hp-player__hint { margin: 0; color: var(--muted); font-size: 13px; }
.hp-player__ok { margin: 0; color: #7fe3a5; font-weight: 600; font-size: 14px; overflow-wrap: anywhere; }
.hp-player__link { background: none; border: 0; color: var(--muted); text-decoration: underline; font-size: 13px; padding: 6px; }
.hp-player__card { gap: 22px; }
.hp-player__card .rzk { flex: none; width: 260px; }
.hp-player__card .rzk--cristal, .hp-player__card .rzk--saphir { width: 310px; margin: -20px -14px; }
.hp-player__rank { margin: 0 0 12px; }
@media (max-width: 560px) {
    .hp-player__card { flex-direction: column; text-align: center; }
    .hp-player__card .rzk { width: 270px; }
    .hp-player__card .rzk--cristal, .hp-player__card .rzk--saphir { width: 320px; max-width: 100%; margin: -16px auto; }
    .hp-player__info { width: 100%; }
}
/* La carte elle-même : static/carte/carte.css */
