/* polices hébergées sur le site (sous-ensembles latins, polices variables) ; chinois, japonais et thaï : polices du système */
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(fonts/big-shoulders-display-var-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Big Shoulders Display'; font-style: normal; font-weight: 800 900; font-display: swap;
  src: url(fonts/big-shoulders-display-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/archivo-var-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Archivo'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(fonts/archivo-var-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ==========================================================================
   BlackDex — boutique publique. Noir, rouge en dégradé tramé, lettres condensées (direction « Fusion »).
   ========================================================================== */
:root {
  --bg: #0b0a0a;
  --panel: #141212;
  --card: #161414;
  --stage: #100e0e;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .17);
  --text: #f6f1ef;
  --muted: #a69c9a;
  --soft: #d4cccb;
  --red: #e3121b;
  --red2: #ff2a33;
  --gold: #ffe2e2;
  --radius: 0;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: "Archivo", "Hiragino Sans", "Yu Gothic UI", "Microsoft JhengHei", "Noto Sans Thai", "Leelawadee UI", "Segoe UI", system-ui, sans-serif;
  --display: "Big Shoulders Display", "Arial Narrow", "Hiragino Sans", "Yu Gothic UI", "Microsoft JhengHei", "Leelawadee UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--font); overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.disp { font-family: var(--display); font-weight: 400; letter-spacing: .2px; }
/* toute la largeur de l'écran (marges qui suivent la taille de l'écran ; limite seulement sur les très grands écrans) */
.wrap { max-width: 2400px; margin: 0 auto; padding-inline: clamp(16px, 3.2vw, 64px); }
.row { display: flex; flex-wrap: wrap; gap: 10px; }
.center { display: flex; justify-content: center; margin-top: 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.eyebrow { margin: 0 0 10px; font-weight: 700; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--gold); }
.empty { text-align: center; padding: 30px; }

/* ---------- boutons, champs, pastilles ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 18px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 14px var(--font); color: #fff; background: var(--red); white-space: nowrap; transition: background .2s, box-shadow .2s, transform .2s; }
.btn:hover { color: #fff; background: var(--red2); box-shadow: 0 8px 20px -10px rgba(216, 55, 44, .9); }
.btn:active { transform: scale(.98); }
.btn.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--text); background: rgba(255, 255, 255, .04); }
.btn.sm { min-height: 34px; padding: 6px 14px; font-size: 13px; }
.btn.discord { background: #5865f2; }
.btn[disabled] { background: #262d34; color: var(--muted); cursor: not-allowed; box-shadow: none; transform: none; }
.field { font: 14px var(--font); min-height: 38px; padding: 7px 14px; border-radius: 999px; border: 0; background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.field:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }
.field.small { min-height: 32px; padding: 4px 10px; font-size: 13px; }
.field option { background: var(--card); color: var(--text); }
.code-field { font-family: ui-monospace, Consolas, monospace; letter-spacing: .5px; width: 170px; text-transform: uppercase; }
.code-field::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 0; cursor: pointer;
  font: 500 13px var(--font); color: var(--soft); background: transparent; box-shadow: inset 0 0 0 1px var(--line2); }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.chip.on { color: var(--bg); background: var(--text); box-shadow: none; }
.chip.static { cursor: default; }
.tag { display: inline-flex; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; color: #b9c3cc; background: rgba(255, 255, 255, .05); }
.tag.legend { color: var(--gold); }
.panel { border-radius: 16px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.stars { color: var(--gold); letter-spacing: .5px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- barre du haut ---------- */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(14, 18, 22, .86); backdrop-filter: blur(12px); box-shadow: inset 0 -1px 0 var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding-block: 12px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 19px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 24px; font-weight: 500; font-size: 14px; }
.bar-end { display: flex; align-items: center; gap: 8px; }

/* ---------- Poké Ball (CSS) ---------- */
.pb { --s: 56px; --c: #d8372c; --hi: #ff7a6e; --lo: #8c1c14; position: relative; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; overflow: hidden;
  background: linear-gradient(#f4f5f7, #c3c9d0);
  box-shadow: inset calc(var(--s) * -.07) calc(var(--s) * -.08) calc(var(--s) * .16) rgba(0, 0, 0, .35), 0 calc(var(--s) * .14) calc(var(--s) * .26) rgba(0, 0, 0, .55); }
.pb .top { position: absolute; left: 0; right: 0; top: 0; height: 50%; background: radial-gradient(circle at 34% 34%, var(--hi), var(--c) 46%, var(--lo)); transform-origin: 50% 100%; transition: transform .45s var(--ease); }
.pb .band { position: absolute; left: 0; right: 0; top: 46%; height: 8%; background: #16191d; }
.pb .core { position: absolute; left: 50%; top: 50%; width: 30%; height: 30%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, #fff 0 40%, #dde2e7 42% 58%, #16191d 60%); }
.pb .shine { position: absolute; left: 18%; top: 12%; width: 22%; height: 14%; border-radius: 50%; background: rgba(255, 255, 255, .55); filter: blur(1.5px); rotate: -30deg; }
.pb .mark { position: absolute; top: 8%; width: 13%; height: 34%; border-radius: 2px; background: var(--gold); }
.pb .mark.l { left: 20%; } .pb .mark.r { right: 20%; }
.pb .m { position: absolute; left: 0; right: 0; top: 7%; text-align: center; font-family: var(--display); font-size: calc(var(--s) * .2); color: #fff; line-height: 1.2; }
.pb.k-hyper { --c: #23272c; --hi: #4a5058; --lo: #0d0f12; }
.pb.k-master { --c: #5b3a96; --hi: #8d68d1; --lo: #2e1a55; }
.pb.xs { --s: 22px; box-shadow: none; } .pb.sm { --s: 60px; } .pb.md { --s: 96px; } .pb.hb { --s: 68px; } .pb.lg { --s: 120px; }

/* étoile de shiny (4 branches) */
.star { position: absolute; width: 12px; height: 12px; background: var(--gold); clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); opacity: 0; pointer-events: none; }

/* ---------- accueil : la ball s'ouvre, le Pokémon apparaît ---------- */
.hero { position: relative; background: radial-gradient(ellipse 40% 80% at 74% -10%, rgba(255, 255, 255, .1), transparent 70%); }
.hero-in { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; min-height: 480px; padding-block: 48px 40px; }
.hero-text { flex: 1 1 440px; min-width: 0; }
.hero h1 { margin: 0; font-size: clamp(32px, 4vw, 52px); line-height: 1.1; text-wrap: balance; }
.lead { max-width: 480px; margin: 16px 0 24px; font-size: 16px; }
.stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; font-size: 13px; }
.stats b { font-size: 20px; color: var(--text); font-weight: 400; }
.showcase { flex: 1 1 360px; position: relative; height: 380px; min-width: 0; }
.summon { position: absolute; left: 50%; bottom: 84px; width: 240px; height: 240px; margin-left: -120px; object-fit: contain; opacity: 0; animation: summon 18s ease-in-out infinite;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, .5)); }
.summon.d1 { animation-delay: 6s; } .summon.d2 { animation-delay: 12s; }
.caps { position: absolute; left: 0; right: 0; bottom: -4px; height: 22px; }
.cap { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 13px; opacity: 0; animation: cap 18s ease-in-out infinite; }
.cap.d1 { animation-delay: 6s; } .cap.d2 { animation-delay: 12s; }
.hero-ball { position: absolute; left: 50%; bottom: 28px; margin-left: -34px; animation: hop 6s ease-in-out infinite; }
.hero-ball .core { animation: glow 6s ease-in-out infinite; }
.beam { position: absolute; left: 50%; bottom: 66px; width: 80px; height: 290px; margin-left: -40px; transform-origin: 50% 100%;
  background: linear-gradient(to top, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); filter: blur(8px); opacity: 0; animation: beam 6s ease-out infinite; }
.hstar { animation: hstar 6s ease-out infinite; }
.hstar.s1 { left: 30%; top: 18%; width: 16px; height: 16px; } .hstar.s2 { left: 66%; top: 14%; animation-delay: .15s; }
.hstar.s3 { left: 70%; top: 48%; width: 18px; height: 18px; animation-delay: .3s; } .hstar.s4 { left: 26%; top: 54%; animation-delay: .45s; }

/* ---------- sections ---------- */
/* sections bien séparées : espace généreux + fin trait entre deux parties */
.section { padding-block: clamp(56px, 7vw, 110px) 0; }
.section + .section { margin-top: clamp(24px, 3vw, 48px);
  background: linear-gradient(var(--line), var(--line)) no-repeat top center / calc(100% - 2 * clamp(16px, 3.2vw, 64px)) 1px; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; font-size: clamp(24px, 2vw, 32px); }
.sec-head p { margin: 2px 0 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px; margin-bottom: 24px; border-radius: 28px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.toolbar .grow { flex: 1 1 260px; min-width: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 196px), 1fr)); gap: 18px; }

/* ---------- cartes de comptes : petite scène éclairée ---------- */
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
  transition: transform .3s var(--ease), box-shadow .3s; cursor: pointer; animation: rise .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 30ms); }
.card:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .4), 0 18px 36px -22px rgba(0, 0, 0, .9); }
.card.sold { opacity: .5; }
/* plusieurs exemplaires identiques : cartes empilées derrière */
.card.stack { margin: 0 10px 10px 0; box-shadow: inset 0 0 0 1px var(--line), 5px 5px 0 -1px var(--card), 5px 5px 0 0 var(--line2),
  10px 10px 0 -1px var(--card), 10px 10px 0 0 var(--line); }
.pricebox { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.copies { width: fit-content; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; color: var(--bg); background: var(--gold); }
.copies-info { margin: 0; font-weight: 700; color: var(--gold); }
.copy-prices { display: flex; flex-direction: column; gap: 6px; }
.copy-price { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.copy-price .btn { margin-left: auto; }
.card.sold .mon, .card.sold .photo { filter: grayscale(1); }
.cstage { position: relative; height: 150px; display: grid; place-items: center; overflow: hidden; background: radial-gradient(ellipse 55% 85% at 50% -12%, rgba(255, 255, 255, .13), transparent 70%), var(--stage); }
.cstage::after { content: ""; position: absolute; left: 26%; right: 26%; bottom: 16px; height: 14px; border-radius: 50%; background: radial-gradient(rgba(0, 0, 0, .65), transparent 70%); }
.mon { position: relative; z-index: 1; width: 116px; height: 116px; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, .55)); animation: bob 4.5s ease-in-out infinite; transition: scale .3s; }
.card:hover .mon { scale: 1.08; }
.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.card:hover .photo { scale: 1.05; }
.shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(14, 18, 22, 0) 50%, rgba(14, 18, 22, .8)); }
.card .star.a { left: 26%; top: 24%; } .card .star.b { left: 70%; top: 18%; width: 16px; height: 16px; } .card .star.c { left: 62%; top: 60%; width: 10px; height: 10px; }
.card:hover .star { animation: burst .8s ease-out forwards; }
.card:hover .star.b { animation-delay: .1s; } .card:hover .star.c { animation-delay: .2s; }
.pills { position: absolute; left: 8px; right: 8px; top: 8px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.tier-pill { flex: none; display: flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 999px; background: rgba(14, 18, 22, .78); font-size: 11px; font-weight: 700; }
.flag { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 2px 9px; border-radius: 999px; background: var(--text); color: var(--bg); font-size: 11px; font-weight: 700; }
.flag.badge { background: var(--gold); }
.minis { position: absolute; left: 8px; bottom: 8px; z-index: 2; display: flex; }
.mini { width: 26px; height: 26px; margin-right: -6px; border-radius: 50%; object-fit: cover; background: #1d242b; box-shadow: 0 0 0 2px var(--card); display: grid; place-items: center; font-size: 10px; font-weight: 700; }
.mini.sprite { object-fit: contain; }
.cbody { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.cbody h3 { margin: 0; font-size: 14.5px; font-weight: 700; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.csub { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cfoot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 4px; }
.price { font-weight: 700; font-size: 16px; }
.price small { font-weight: 400; font-size: 12px; color: var(--muted); text-decoration: line-through; margin-left: 4px; }
.price.none { font-size: 13px; color: var(--muted); font-weight: 500; }

/* ---------- packs ---------- */
.grid.packs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.pack { padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s; }
.pack:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .35); }
.pack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.team { display: flex; }
.team img, .team .pb { width: 40px; height: 40px; margin-left: -10px; border-radius: 50%; object-fit: contain; background: #1d242b; box-shadow: 0 0 0 2px var(--panel); }
.team > :first-child { margin-left: 0; }
.team img.photo-ic { object-fit: cover; }
.pack h3 { margin: 0; font-size: 16px; font-weight: 700; }
.pack-lines { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 14px; font-size: 13px; color: var(--soft); }
.pack-lines li { display: flex; gap: 6px; min-width: 0; }
.pack-lines li::before { content: "✦"; color: var(--gold); }

/* ---------- Poké Ball du jour ---------- */
.daily { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; padding: clamp(20px, 3vw, 32px);
  background: radial-gradient(ellipse 35% 100% at 78% -10%, rgba(255, 255, 255, .1), transparent 70%), var(--panel); }
.daily-info { flex: 1 1 380px; min-width: 0; }
.daily-info h2 { margin: 0; font-size: clamp(24px, 2vw, 32px); }
.daily-info > p.muted { margin: 10px 0 16px; max-width: 470px; }
.odds { display: flex; flex-wrap: wrap; gap: 8px; }
.daily-play { flex: 0 1 440px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; justify-content: center; }
.throw-stage { position: relative; width: 170px; height: 170px; display: grid; place-items: end center; }
.throw-stage > div:not(.pedestal) { position: relative; margin-bottom: 30px; }
.pedestal { position: absolute; left: 50%; bottom: 14px; width: 120px; height: 24px; margin-left: -60px; border-radius: 50%; background: radial-gradient(rgba(255, 255, 255, .13), transparent 70%); }
.daily-side { display: flex; flex-direction: column; gap: 10px; min-width: 200px; max-width: 250px; }
.wait { margin: 0; font-size: 13px; color: var(--soft); }
.daily-result h4 { margin: 0 0 4px; font-size: 16px; }
.daily-result p { margin: 4px 0; font-size: 13px; color: var(--muted); }
.daily-result .code { margin: 6px 0; }
.float { animation: bob 5s ease-in-out infinite; }
.throw { animation: throw .7s cubic-bezier(.3, 1.5, .5, 1) both; }
.wob1 { animation: w1 .9s ease-in-out; } .wob2 { animation: w2 .9s ease-in-out; } .wob3 { animation: w3 .9s ease-in-out; }
.caught .core { animation: click .5s ease-out forwards; }
.escape { animation: escape .8s ease-out forwards; }
.caught-star { animation: burst 1.1s ease-out forwards; }
.cs1 { left: 14%; top: 20%; width: 18px; height: 18px; } .cs2 { left: 76%; top: 14%; animation-delay: .12s; }
.cs3 { left: 82%; top: 52%; width: 16px; height: 16px; animation-delay: .24s; } .cs4 { left: 8%; top: 56%; animation-delay: .36s; }

/* ---------- balls premium ---------- */
.grid.balls { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.ticket-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ball-card { display: flex; gap: 16px; padding: 16px; align-items: center; transition: transform .3s var(--ease), box-shadow .3s; }
.ball-card:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .35); }
.ball-stage { position: relative; flex: 0 0 96px; height: 110px; display: grid; place-items: center; border-radius: 12px; background: radial-gradient(ellipse 60% 90% at 50% -10%, rgba(255, 255, 255, .13), transparent 70%), var(--stage); }
.ball-stage .pedestal { width: 70px; height: 14px; margin-left: -35px; bottom: 8px; }
.ball-card.paused .pb { filter: grayscale(1) brightness(.55); }
.ball-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ball-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.ball-head h3 { margin: 0; font-size: 16px; font-weight: 700; }
.state { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: rgba(238, 241, 244, .92); color: var(--bg); white-space: nowrap; }
.state.paused { background: rgba(255, 255, 255, .1); color: var(--text); }
.changed { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--gold); color: var(--bg); animation: blink 1.6s ease-in-out infinite; }
.tiers { display: flex; flex-direction: column; gap: 1px; font-size: 12.5px; }
.tiers div { display: flex; justify-content: space-between; gap: 8px; }
.ball-note { margin: 0; font-size: 12px; color: var(--muted); }
.ball-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }

/* tirage payant : la ball tremble, s'ouvre, la bande défile, le lot apparaît */
.stage { position: relative; max-width: 560px; margin: 26px auto 0; display: flex; flex-direction: column; align-items: center; gap: 22px; min-height: 380px; }
.stage-ball { position: relative; padding-top: 30px; }
.stage-ball.shake .pb { animation: shake .9s ease-in-out 2; }
.stage-ball.open .pb .top { transform: rotateX(110deg) translateY(-10px); }
.stage-ball.open::after { content: ""; position: absolute; left: 50%; top: 90px; width: 20px; height: 20px; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 80px 50px #fff, 0 0 140px 80px rgba(244, 200, 74, .6); animation: flash .7s ease-out forwards; }
.reel-window { position: relative; width: 220px; height: 360px; overflow: hidden; border-radius: 18px; background: var(--stage); box-shadow: inset 0 0 0 1px var(--line2), inset 0 0 40px rgba(0, 0, 0, .8);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.reel-marker { position: absolute; left: 0; right: 0; top: 50%; height: 120px; transform: translateY(-50%); z-index: 2; pointer-events: none;
  border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); background: radial-gradient(ellipse at 50% 0, rgba(255, 255, 255, .08), transparent 70%); }
.reel { position: absolute; left: 0; right: 0; top: 0; will-change: transform; }
.reel-item { height: 120px; display: grid; place-items: center; }
.reel-item img { width: 90px; height: 90px; object-fit: contain; filter: brightness(0) drop-shadow(0 0 6px rgba(255, 255, 255, .35)); transition: filter 1s var(--ease), transform 1s var(--ease); }
.reel-item.tier-rare img { filter: brightness(0) drop-shadow(0 0 8px rgba(255, 255, 255, .7)); }
.reel-item.tier-ultra img { filter: brightness(0) drop-shadow(0 0 10px rgba(244, 200, 74, 1)); }
.reel-item.win img { filter: brightness(1) drop-shadow(0 0 18px rgba(244, 200, 74, .8)); transform: scale(1.15); }
.reel-item .q { font-size: 50px; font-weight: 900; color: #000; }
.reveal { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px; border-radius: 18px; width: 100%; text-align: center;
  background: radial-gradient(ellipse 60% 70% at 50% -10%, rgba(255, 255, 255, .12), transparent 70%), var(--panel); box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .45); animation: pop .7s var(--ease) both; }
.reveal p { margin: 0; }
.tier-label { font-weight: 700; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; color: var(--gold); }
.reveal-vis { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 170px)); justify-content: center; gap: 8px; width: 100%; }
.reveal-names { display: flex; flex-direction: column; gap: 2px; font-weight: 700; }
.code { font-family: ui-monospace, Consolas, monospace; font-size: 20px; font-weight: 800; letter-spacing: 2px; padding: 6px 16px; border-radius: 10px; color: var(--gold);
  background: transparent; box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .55); border: 0; }
button.code { cursor: copy; }

/* ---------- visuels (fiche, lots, gain) ---------- */
.vis { position: relative; display: grid; place-items: center; overflow: hidden; aspect-ratio: 1; border-radius: 12px; min-width: 0;
  background: radial-gradient(ellipse 60% 85% at 50% -12%, rgba(255, 255, 255, .13), transparent 70%), var(--stage); }
.vis .vis-sprite { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .55)); }
.vis .vis-photo { width: 100%; height: 100%; object-fit: cover; }
.vis-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 8px 6px; text-align: center; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  background: linear-gradient(transparent, rgba(14, 18, 22, .9)); }
.vis-none { color: var(--gold); font-size: 22px; }

/* ---------- étapes, pied de page ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; padding: 20px 22px; }
.step { display: flex; gap: 12px; }
.step > span { font-size: 22px; color: var(--red); line-height: 1.2; }
.step p { margin: 2px 0 0; font-size: 13px; }
.footer { margin-top: clamp(64px, 7vw, 110px); box-shadow: inset 0 1px 0 var(--line); }
.footer .bar { padding-block: 18px 28px; }

/* ---------- fenêtre (détail, réservation, lots, ticket) ---------- */
.modal { width: min(720px, calc(100% - 24px)); max-height: calc(100vh - 40px); padding: 0; border: 0; border-radius: 18px; background: var(--panel); color: var(--text);
  box-shadow: inset 0 0 0 1px var(--line2), 0 40px 100px -20px rgba(0, 0, 0, .9); }
.modal::backdrop { background: rgba(5, 7, 9, .75); backdrop-filter: blur(4px); }
.modal[open] { animation: pop .35s var(--ease); }
.modal-in { padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.modal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.modal-head h3 { margin: 0; font-family: var(--display); font-weight: 400; font-size: 20px; }
.x { border: 0; background: rgba(255, 255, 255, .06); color: var(--text); width: 36px; height: 36px; border-radius: 50%; font-size: 16px; cursor: pointer; flex: none; }
.x:hover { background: rgba(255, 255, 255, .12); }
.poke-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.poke { border-radius: 12px; overflow: hidden; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.poke .vis { border-radius: 0; }
.poke > div:last-child { padding: 8px 10px; font-size: 12px; }
.poke strong { display: block; font-size: 13px; }
.poke-line { display: block; font-size: 12px; }
.form { display: flex; flex-direction: column; gap: 10px; }
.form input, .form textarea { font: 14px var(--font); padding: 11px 14px; border-radius: 12px; border: 0; background: var(--card); color: var(--text); box-shadow: inset 0 0 0 1px var(--line2); }
.form input:focus, .form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--gold); }
.form input.coupon { font-family: ui-monospace, Consolas, monospace; letter-spacing: 1px; text-transform: uppercase; }
.form input.coupon::placeholder { text-transform: none; letter-spacing: 0; font-family: var(--font); }
.coupon-info { margin: -2px 0 0; font-size: 13px; font-weight: 700; }
.coupon-info.ok { color: var(--gold); }
.coupon-info.bad { color: #ff9a92; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prizes { display: flex; flex-direction: column; gap: 10px; }
.tier { padding: 8px 12px; border-radius: 12px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.tier-ultra { box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .45); }
.tier-head { display: flex; justify-content: space-between; margin-bottom: 4px; font-weight: 700; font-size: 14px; }
.lot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 5px 0; border-top: 1px solid var(--line); }
.lot-vis { display: flex; gap: 4px; }
.lot-vis .vis { width: 40px; height: 40px; border-radius: 8px; }
.lot-name { font-size: 13px; }
.lot-chance { font-weight: 700; font-size: 13px; font-variant-numeric: tabular-nums; }
.changes { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(244, 200, 74, .08); box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .5); color: #f7dc94; font-size: 14px; }
.changes p { margin: 4px 0; }
.changes ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.changes .add { color: #f7dc94; }
.changes .del { color: #ff9a92; }
.adult { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 14px; cursor: pointer; }
.adult input { width: 18px; height: 18px; accent-color: var(--red); }

.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60; padding: 10px 20px; border-radius: 999px; font-weight: 700; font-size: 14px;
  color: var(--bg); background: var(--text); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.confetti { position: fixed; top: -12px; width: 10px; height: 10px; z-index: 50; pointer-events: none; animation: fall linear forwards;
  clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr)); gap: 10px 18px; align-items: start; }
.faq-item { border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line); }
.faq-item summary { cursor: pointer; list-style: none; padding: 14px 44px 14px 16px; font-weight: 700; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; translate: 0 -50%; color: var(--gold); font-size: 20px; transition: rotate .2s; }
.faq-item[open] summary::after { rotate: 45deg; }
.faq-item p { margin: 0; padding: 0 16px 16px; color: var(--soft); font-size: 14px; }
.faq-item:target { box-shadow: inset 0 0 0 1px var(--gold); }

/* ---------- assistant « Aide » ---------- */
.help-btn { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px 8px 8px;
  border: 0; border-radius: 999px; cursor: pointer; font: 700 14px var(--font); color: var(--text); background: var(--panel);
  box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .5), 0 12px 30px -10px rgba(0, 0, 0, .8); }
.help-btn:hover { box-shadow: inset 0 0 0 1px var(--gold), 0 12px 30px -10px rgba(0, 0, 0, .8); }
.help-q { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--bg); font-family: var(--display); }
.help { position: fixed; right: 20px; bottom: 76px; z-index: 41; width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 120px));
  display: flex; flex-direction: column; border-radius: 18px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--line2), 0 30px 80px -20px rgba(0, 0, 0, .9);
  animation: pop .25s var(--ease); }
.help-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; box-shadow: inset 0 -1px 0 var(--line); }
.help-head .x { width: 32px; height: 32px; font-size: 14px; }
.help-log { flex: 1; overflow-y: auto; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 92%; padding: 10px 12px; border-radius: 14px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.bubble p { margin: 0; color: var(--soft); }
.bubble.bot { align-self: flex-start; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 4px; }
.bubble.me { align-self: flex-end; background: rgba(216, 55, 44, .18); box-shadow: inset 0 0 0 1px rgba(216, 55, 44, .45); border-bottom-right-radius: 4px; }
.help-topics { display: flex; flex-wrap: wrap; gap: 6px; }
.help-topics .chip, .bubble .chip { text-align: left; font-size: 12.5px; padding: 5px 10px; }
.help-form { display: flex; gap: 8px; padding: 10px 12px; box-shadow: inset 0 1px 0 var(--line); }
.help-form .field { flex: 1; min-width: 0; }
@media (max-width: 520px) { .help { right: 16px; bottom: 72px; } .help-btn { right: 16px; bottom: 16px; } }

/* ---------- ma commande (paiement PayPal) ---------- */
.order-btn { right: auto; left: 20px; }
.order-btn .help-q { font-family: var(--font); font-size: 15px; }
.order-count { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; }
.order-chat { right: auto; left: 20px; width: min(400px, calc(100vw - 32px)); max-height: min(640px, calc(100vh - 110px)); }
.order-tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 0; }
.order-tabs .chip { font-size: 12.5px; padding: 4px 10px; }
.bubble.warn { box-shadow: inset 0 0 0 1px rgba(244, 200, 74, .55); background: rgba(244, 200, 74, .08); }
.bubble.warn p, .bubble.warn strong { color: var(--text); }
.bubble.ok { box-shadow: inset 0 0 0 1px rgba(80, 200, 120, .55); background: rgba(80, 200, 120, .08); }
.bubble.ok p { color: var(--text); }
.pay-item { display: flex; align-items: center; gap: 10px; }
.pay-item img { width: 48px; height: 48px; object-fit: contain; border-radius: 10px; background: var(--panel); }
.pay-item div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pay-item strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pay-item .price { font-size: 15px; }
.pay-copy { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; max-width: 100%; }
.pay-copy code { font: 700 15px ui-monospace, SFMono-Regular, Consolas, monospace; color: var(--gold); background: rgba(0, 0, 0, .3); padding: 5px 10px; border-radius: 8px; overflow-wrap: anywhere; user-select: all; }
.pay-form { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pay-form .field { width: 100%; border-radius: 12px; }
.link-btn { border: 0; background: none; padding: 2px 0; color: var(--muted); font: 13px var(--font); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--text); }
.creds { display: flex; flex-direction: column; gap: 4px; width: 100%; padding: 10px; border-radius: 10px; background: rgba(0, 0, 0, .25); }
.creds + .creds { margin-top: 4px; }
.creds-label { font-size: 12px; color: var(--muted); }
.creds .pay-copy code { font-size: 14px; }
.copy-buf { position: fixed; top: -100px; left: 0; opacity: 0; }
@media (max-width: 520px) { .order-chat { left: 16px; bottom: 72px; } .order-btn { left: 16px; bottom: 16px; } }

/* ---------- animations ---------- */
@keyframes summon {
  0% { opacity: 0; transform: translateY(50px) scale(.12); filter: brightness(0) invert(1); }
  4% { opacity: 1; transform: translateY(0) scale(.6); filter: brightness(0) invert(1); }
  9% { opacity: 1; transform: translateY(0) scale(1.05); filter: brightness(1) invert(0); }
  11%, 28% { opacity: 1; transform: translateY(0) scale(1); filter: brightness(1) invert(0); }
  32% { opacity: 0; transform: translateY(50px) scale(.12); filter: brightness(0) invert(1); }
  100% { opacity: 0; }
}
@keyframes cap { 0%, 8% { opacity: 0; transform: translateY(6px); } 11%, 28% { opacity: 1; transform: none; } 31%, 100% { opacity: 0; } }
@keyframes hop { 0%, 100% { transform: translateY(0); } 3% { transform: translateY(-12px) rotate(-8deg); } 6% { transform: translateY(0) rotate(0); } }
@keyframes glow { 0%, 100% { box-shadow: none; } 3% { box-shadow: 0 0 30px 14px #fff; } 9% { box-shadow: none; } }
@keyframes beam { 0% { opacity: 0; transform: scaleY(.1); } 3% { opacity: .8; transform: scaleY(1); } 12% { opacity: 0; transform: scaleY(1.1); } 100% { opacity: 0; } }
@keyframes hstar { 0%, 12% { opacity: 0; transform: scale(0); } 15% { opacity: 1; transform: scale(1.2) rotate(20deg); } 22% { opacity: 0; transform: scale(0) rotate(90deg); } 100% { opacity: 0; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes burst { 0% { opacity: 0; transform: scale(0); } 30% { opacity: 1; transform: scale(1.3) rotate(30deg); } 100% { opacity: 0; transform: scale(.2) rotate(120deg) translateY(-14px); } }
@keyframes throw { 0% { transform: translateY(-180px) scale(.5) rotate(-200deg); } 70% { transform: translateY(8px) scale(1) rotate(0); } 100% { transform: translateY(0); } }
@keyframes w1 { 0%, 100% { rotate: 0deg; } 25% { rotate: -22deg; } 60% { rotate: 14deg; } }
@keyframes w2 { 0%, 100% { rotate: 0deg; } 25% { rotate: 22deg; } 60% { rotate: -14deg; } }
@keyframes w3 { 0%, 100% { rotate: 0deg; } 25% { rotate: -22deg; } 60% { rotate: 14deg; } }
@keyframes click { 0% { box-shadow: none; } 40% { box-shadow: 0 0 24px 8px #f4c84a; } 100% { box-shadow: 0 0 0 0 transparent; filter: brightness(.85); } }
@keyframes escape { 0% { transform: none; opacity: 1; } 30% { transform: scale(1.15); filter: brightness(3); } 100% { transform: translateY(20px) scale(.9); opacity: .25; } }
@keyframes shake { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-18deg); } 40% { transform: rotate(14deg); } 60% { transform: rotate(-9deg); } 80% { transform: rotate(5deg); } }
@keyframes flash { from { opacity: 1; } to { opacity: 0; transform: translate(-50%, -50%) scale(3); } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }
@keyframes blink { 50% { opacity: .55; } }
@keyframes fall { to { transform: translateY(110vh) rotate(540deg); } }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .hero-in { min-height: 0; }
  .showcase { height: 320px; order: -1; }
}
@media (max-width: 520px) {
  #items.grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cstage { height: 120px; }
  .mon { width: 92px; height: 92px; }
  .cbody { padding: 8px 10px 10px; }
  .cfoot { flex-wrap: wrap; }
  .cfoot .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .summon:first-of-type, .cap:first-child { opacity: 1; }
}

/* ==========================================================================
   BlackDex — direction « Fusion » : noir, rouge en dégradé tramé, lettres condensées, angles vifs.
   (vient après le reste : remplace l'ancien habillage sans toucher au fonctionnement)
   ========================================================================== */
.disp { font-family: var(--display); font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
a:hover { color: var(--red2); }
.eyebrow { display: inline-block; width: fit-content; padding: 5px 11px; background: var(--red); color: #fff; letter-spacing: .2em; font-weight: 800; transform: rotate(-2deg); }
:focus-visible { outline-color: var(--red2); }

/* boutons, champs, pastilles : angles vifs, majuscules */
.btn { border-radius: 0; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; font-size: 13px; min-height: 44px; padding: 8px 22px; background: var(--red); }
.btn:hover { background: var(--red2); box-shadow: none; }
.btn:not(.sm):not(.ghost):not(.discord):not([disabled]) { clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding-right: 30px; }
.btn.ghost { background: transparent; box-shadow: inset 0 0 0 2px var(--text); }
.btn.ghost:hover { background: transparent; color: var(--red2); box-shadow: inset 0 0 0 2px var(--red2); }
.btn.sm { min-height: 36px; padding: 6px 14px; font-size: 12px; }
.btn[disabled] { background: #2a2626; }
.field { border-radius: 0; box-shadow: inset 0 0 0 2px var(--line2); }
.field:focus { box-shadow: inset 0 0 0 2px var(--red2); }
.chip { border-radius: 0; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 12px; color: var(--text); box-shadow: inset 0 0 0 2px var(--line2); }
.chip:hover { box-shadow: inset 0 0 0 2px var(--text); }
.chip.on { background: var(--red); color: #fff; box-shadow: none; }
.tag { border-radius: 0; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.tag.legend { color: var(--red2); }
.panel { border-radius: 0; }
.stars { color: var(--red2); }

/* barre du haut */
.topbar { background: rgba(11, 10, 10, .94); box-shadow: inset 0 -3px 0 var(--red); }
.logo { gap: 12px; font-family: var(--display); font-weight: 900; font-size: 30px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; }
.hex { display: grid; place-items: center; flex: none; width: 40px; height: 44px; color: #fff; font: 900 19px var(--display); letter-spacing: 0;
  background: radial-gradient(rgba(0, 0, 0, .25) 1.1px, transparent 1.5px) 0 0 / 8px 8px, linear-gradient(160deg, #ff2a33, #7a0009);
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.accent { color: var(--red2); }
.nav-links { font-weight: 800; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }

/* accueil : moitié droite rouge tramée, coupée en diagonale */
.hero { overflow: hidden; background: none; }
.hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 54%;
  background: radial-gradient(rgba(0, 0, 0, .25) 1.3px, transparent 1.7px) 0 0 / 13px 13px, linear-gradient(160deg, #ff1f2a 0%, #b00a14 55%, #3d0005 100%);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-in { position: relative; min-height: 560px; }
.hero h1 { font-size: clamp(52px, 7.4vw, 124px); line-height: .88; letter-spacing: 0; }
.lead { color: var(--soft); font-size: 17px; }
.stats { gap: 0; width: fit-content; max-width: 100%; margin-top: 30px; box-shadow: inset 0 0 0 2px var(--line2); }
.stats > span { display: flex; flex-direction: column; padding: 10px 20px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.stats > span + span { box-shadow: inset 2px 0 0 var(--line2); }
.stats b { font-size: 34px; line-height: 1; font-weight: 900; }
.showcase::before { content: ""; position: absolute; left: 50%; bottom: 40px; width: min(340px, 86%); aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: var(--bg); }
.summon { filter: drop-shadow(10px 12px 0 rgba(0, 0, 0, .45)); }
.cap { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }

/* sections */
.section + .section { background: none; }
.sec-head h2 { font-size: clamp(40px, 5.4vw, 84px); line-height: .88; }
.toolbar { padding: 0; border-radius: 0; background: none; box-shadow: none; }

/* cartes de comptes : image sur rouge tramé, coin coupé */
.card { border-radius: 0; background: var(--card); box-shadow: none; }
.card::before { content: ""; position: absolute; top: 0; right: 0; z-index: 3; width: 26px; height: 26px; pointer-events: none; background: linear-gradient(225deg, var(--bg) 50%, transparent 50%); }
.card:hover { box-shadow: 0 0 0 2px var(--red); }
.card.stack { box-shadow: 5px 5px 0 -1px var(--card), 5px 5px 0 1px var(--line2), 10px 10px 0 -1px var(--card), 10px 10px 0 1px var(--line); }
.card.stack:hover { box-shadow: 0 0 0 2px var(--red), 5px 5px 0 -1px var(--card), 5px 5px 0 1px var(--line2), 10px 10px 0 -1px var(--card), 10px 10px 0 1px var(--line); }
.cstage { height: 172px; background: radial-gradient(rgba(0, 0, 0, .22) 1.1px, transparent 1.5px) 0 0 / 10px 10px, linear-gradient(160deg, #e3121b, #5c0007); }
.cstage::after { display: none; }
.mon { width: 130px; height: 130px; filter: drop-shadow(8px 10px 0 rgba(0, 0, 0, .45)); }
.shade { background: linear-gradient(to bottom, rgba(11, 10, 10, 0) 55%, rgba(11, 10, 10, .75)); }
.tier-pill { border-radius: 0; background: var(--bg); font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.flag { border-radius: 0; text-transform: uppercase; letter-spacing: .06em; transform: rotate(-3deg); }
.flag.badge { background: var(--text); color: var(--bg); }
.copies { border-radius: 0; background: var(--text); color: var(--bg); text-transform: uppercase; transform: rotate(-3deg); }
.copies-info { color: var(--red2); }
.mini { background: #2a0b0d; }
.cbody h3 { font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.02; letter-spacing: .01em; text-transform: uppercase; }
.price { font-family: var(--display); font-weight: 900; font-size: 25px; letter-spacing: .01em; line-height: 1; }
.price small { font-family: var(--font); }
.price.none { font-family: var(--font); font-size: 12px; font-weight: 600; }

/* packs */
.pack { box-shadow: inset 0 0 0 2px var(--line2); }
.pack:hover { box-shadow: inset 0 0 0 2px var(--red); }
.pack h3 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; }
.pack-lines li::before { color: var(--red2); }
.team img, .team .pb { border-radius: 0; background: #2a0b0d; }

/* Poké Ball du jour : cadre rouge, coin coupé */
.daily { background: var(--panel); box-shadow: inset 0 0 0 3px var(--red); clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%); }
.daily-info h2 { font-size: clamp(36px, 4vw, 60px); line-height: .9; }
.pedestal { background: radial-gradient(rgba(227, 18, 27, .4), transparent 70%); }

/* balls premium : bande rouge tramée sur toute la largeur */
#premium { position: relative; isolation: isolate; padding-bottom: clamp(56px, 6vw, 96px); }
#premium::before { content: ""; position: absolute; z-index: -1; top: clamp(24px, 3vw, 48px); bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
  background: radial-gradient(rgba(0, 0, 0, .22) 1.3px, transparent 1.7px) 0 0 / 13px 13px, linear-gradient(115deg, var(--bg) 0% 30%, #5c0007 30% 46%, #e3121b 46% 100%); }
#premium .sec-head .muted { color: var(--soft); }
.ball-card { background: var(--bg); box-shadow: inset 0 0 0 2px #3a3434; }
.ball-card:hover { box-shadow: inset 0 0 0 2px var(--text); }
.ball-stage { border-radius: 0; background: radial-gradient(rgba(0, 0, 0, .25) 1.1px, transparent 1.5px) 0 0 / 9px 9px, linear-gradient(160deg, #3d0006, #120404); }
.ball-head h3 { font-family: var(--display); font-weight: 900; font-size: 28px; line-height: 1; text-transform: uppercase; }
.state, .changed { border-radius: 0; text-transform: uppercase; letter-spacing: .06em; }
.pb.k-master { --c: #8c0610; --hi: #ff4a52; --lo: #3d0005; }
.reel-window, .reveal, .code { border-radius: 0; }
.reveal { box-shadow: inset 0 0 0 2px var(--red); }
.tier-label { color: var(--red2); }

/* FAQ, étapes, pied de page */
.faq { gap: 0 32px; }
.faq-item { border-radius: 0; background: none; box-shadow: inset 0 2px 0 var(--line2); }
.faq-item summary { padding-left: 0; font-family: var(--display); font-weight: 900; font-size: 22px; line-height: 1.1; text-transform: uppercase; }
.faq-item summary::after { color: var(--red2); }
.faq-item p { padding-left: 0; }
.steps { box-shadow: inset 0 0 0 2px var(--line2); }
.step > span { font-size: 44px; line-height: .9; color: var(--red2); }
.footer { background: var(--red); box-shadow: none; color: #fff; }
.footer .muted { color: #ffe1e2; }
.footer .accent { color: var(--bg); }
#footer-name { font-size: 40px; line-height: 1; }

/* fenêtres, aide, ma commande */
.modal { border-radius: 0; box-shadow: inset 0 3px 0 var(--red), inset 0 0 0 1px var(--line2), 0 40px 100px -20px rgba(0, 0, 0, .9); }
.modal-head h3 { font-weight: 900; font-size: 30px; line-height: 1; text-transform: uppercase; }
.x, .poke, .tier, .vis, .copy-price, .form input, .form textarea, .bubble, .toast, .creds, .pay-copy code, .pay-item img { border-radius: 0; }
.form input:focus, .form textarea:focus { box-shadow: inset 0 0 0 2px var(--red2); }
.help-btn { border-radius: 0; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; box-shadow: inset 0 0 0 2px var(--red), 0 12px 30px -10px rgba(0, 0, 0, .8); }
.help-btn:hover { box-shadow: inset 0 0 0 2px var(--text), 0 12px 30px -10px rgba(0, 0, 0, .8); }
.help-q { border-radius: 0; background: var(--red); color: #fff; }
.help { border-radius: 0; box-shadow: inset 0 3px 0 var(--red), inset 0 0 0 1px var(--line2), 0 30px 80px -20px rgba(0, 0, 0, .9); }
.bubble.me { background: rgba(227, 18, 27, .18); box-shadow: inset 0 0 0 1px rgba(227, 18, 27, .5); }

@media (max-width: 860px) {
  .hero::before { width: 100%; height: 360px; bottom: auto; clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%); }
  .hero-in { min-height: 0; }
  .hero h1 { font-size: clamp(46px, 13vw, 84px); }
}
@media (max-width: 520px) {
  .cstage { height: 128px; }
  .mon { width: 100px; height: 100px; }
  .cbody h3 { font-size: 18px; }
  .price { font-size: 20px; }
  .card::before { width: 18px; height: 18px; }
  .logo { font-size: 24px; }
  .stats b { font-size: 26px; }
  .stats > span { padding: 8px 12px; }
}

/* points de fidélité ------------------------------------------------------------------------------- */
.points-pill { border: 1px solid var(--line2); background: transparent; color: var(--text); font: 800 13px var(--font);
  letter-spacing: .02em; padding: 7px 11px; cursor: pointer; white-space: nowrap; }
.points-pill:hover, .points-pill:focus-visible { border-color: var(--red2); color: #fff; background: rgba(227, 18, 27, .14); }
.loyal-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px dashed rgba(255, 42, 51, .45);
  background: rgba(227, 18, 27, .06); }
.loyal-box[hidden] { display: none; }
.loyal-info { margin: 0; font-weight: 700; color: var(--gold); font-size: 13px; }
.loyal-use { display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.loyal-use input { width: 18px; height: 18px; accent-color: var(--red); }
.loyal-box .muted.small { margin: 0; }
.loyal-card { display: flex; flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line2); background: var(--panel); }
.loyal-big { font: 900 34px/1 var(--display); color: var(--red2); letter-spacing: .01em; }
@media (max-width: 560px) {
  .points-pill { padding: 6px 8px; font-size: 12px; }
}

/* gacha : Poké Balls ------------------------------------------------------------------------------- */
.gacha { --violet: #b06bff; --gold: #f5c542; display: flex; flex-direction: column; gap: 16px; }
.g-top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; }
.g-hero { display: flex; gap: 22px; align-items: center; padding: 22px; }
.g-ball-zone { position: relative; width: 150px; height: 150px; flex: none; display: grid; place-items: center; }
.g-hero-info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.g-hero-info h3 { margin: 0; font-size: 34px; }
.g-price { margin: 0; }
.g-price .price { font-size: 28px; }
.g-buy, .g-open { display: flex; flex-wrap: wrap; gap: 8px; }
.g-buy .btn { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; }
.g-buy small { font: 600 11px var(--font); opacity: .8; letter-spacing: 0; text-transform: none; }
.g-wallet { display: flex; flex-direction: column; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.g-count { display: flex; align-items: baseline; gap: 10px; }
.g-count strong { font-size: 40px; color: var(--red2); line-height: 1; }
.g-pity { display: flex; flex-direction: column; gap: 12px; padding: 18px; }
.g-pity h3, .g-contents h3, .g-wins h3 { margin: 0; font-size: 22px; }
.g-pity p { margin: 0; }
.g-bar-head { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.g-track { height: 10px; background: var(--stage); border: 1px solid var(--line2); overflow: hidden; }
.g-fill { display: block; height: 100%; background: var(--red); transition: width .6s var(--ease); }
.g-fill.violet { background: linear-gradient(90deg, #6d28d9, var(--violet)); }
.g-fill.gold { background: linear-gradient(90deg, #b8860b, var(--gold)); }
.g-mine { margin: 0; color: var(--gold); font-weight: 700; }
.g-sub { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; margin-bottom: 12px; }
.g-sub h3 { margin: 0; font-size: 24px; }
.g-legends, .g-raffle, .g-contents, .g-wins { padding: 18px; }
.g-legends { border-color: rgba(245, 197, 66, .35); background: linear-gradient(180deg, rgba(245, 197, 66, .07), transparent 60%), var(--panel); }
.g-lots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.g-lots.one { grid-template-columns: minmax(0, 200px); }
.g-lot { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 8px; text-align: left; color: var(--text);
  background: var(--card); border: 1px solid var(--line2); font: inherit; cursor: pointer; min-width: 0; }
.g-lot:disabled { cursor: default; }
.g-lot:not(:disabled):hover, .g-lot:focus-visible { border-color: var(--gold); }
.g-lot .vis { aspect-ratio: 1; }
.g-lot-name { font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.g-lot.on { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 0 22px rgba(245, 197, 66, .35); }
.g-chosen { position: absolute; top: 6px; left: 6px; background: var(--gold); color: #1a1405; font: 800 11px var(--font); padding: 3px 7px; }
.g-raffle-in { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }
.g-raffle-text { flex: 1 1 240px; min-width: 0; }
.g-raffle-text p { margin: 0 0 6px; }
.g-odds { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px 18px; margin: 12px 0; }
.g-odd { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.g-odd.o-hyper b { color: var(--violet); }
.g-odd.o-master b, .g-odd.o-bonus b { color: var(--gold); }
.g-contents p { margin: 4px 0; }
.g-wins { display: flex; flex-direction: column; gap: 12px; }
.g-win { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; background: var(--card); border: 1px solid var(--line); }
.g-win-head { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
@media (max-width: 860px) { .g-top { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .g-hero { flex-direction: column; align-items: stretch; text-align: left; padding: 16px; }
  .g-ball-zone { width: 110px; height: 110px; align-self: center; }
  .g-lots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ouverture */
body.g-lock { overflow: hidden; }
.g-stage { position: fixed; inset: 0; z-index: 300; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px;
  padding: calc(24px + env(safe-area-inset-top, 0px)) 16px calc(24px + env(safe-area-inset-bottom, 0px)); background: rgba(5, 4, 4, .94); overflow-y: auto; }
.g-ball { transform-origin: 50% 90%; }
.g-ball.wobble { animation: g-wobble .9s ease-in-out; }
.g-ball.burst { animation: g-burst .65s ease-in forwards; }
@keyframes g-wobble { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-16deg); } 45% { transform: rotate(14deg); } 70% { transform: rotate(-6deg); } }
@keyframes g-burst { 0% { transform: scale(1); filter: brightness(1); } 60% { transform: scale(1.15); filter: brightness(2.2); } 100% { transform: scale(.2); opacity: 0; } }
.g-flash { position: absolute; inset: 0; pointer-events: none; opacity: 0; }
.g-flash.on { animation: g-flash 1.4s ease-out forwards; }
.g-flash.blue { background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), rgba(120, 190, 255, .55), transparent 60%); }
.g-flash.violet { background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), rgba(176, 107, 255, .7), transparent 62%); }
.g-flash.gold { background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), rgba(245, 197, 66, .8), transparent 64%); }
.g-flash.prisma { background: radial-gradient(circle at var(--cx, 50%) var(--cy, 50%), rgba(255, 255, 255, .85), rgba(245, 197, 66, .6) 25%, rgba(176, 107, 255, .45) 45%, rgba(80, 200, 255, .35) 60%, transparent 72%); }
@keyframes g-flash { 0% { opacity: 0; } 15% { opacity: 1; } 100% { opacity: .35; } }
.g-results { position: relative; display: grid; grid-template-columns: minmax(0, 320px); gap: 12px; justify-content: center; width: 100%; max-width: 1100px; }
.g-results.ten { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.g-card { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--card); border: 2px solid rgba(120, 190, 255, .55);
  animation: g-in .45s var(--ease) both; min-width: 0; }
.g-card.violet { border-color: var(--violet); box-shadow: 0 0 24px rgba(176, 107, 255, .35); }
.g-card.gold { border-color: var(--gold); box-shadow: 0 0 30px rgba(245, 197, 66, .45); }
.g-card.prisma { border-color: transparent; background: linear-gradient(var(--card), var(--card)) padding-box,
  linear-gradient(120deg, #fff6c2, var(--gold), var(--violet), #5fd3ff, var(--gold)) border-box; box-shadow: 0 0 36px rgba(245, 197, 66, .5); }
.g-card-tag { align-self: flex-start; font: 800 11px var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; background: rgba(255, 255, 255, .08); }
.g-card.violet .g-card-tag { background: var(--violet); color: #12061f; }
.g-card.gold .g-card-tag, .g-card.prisma .g-card-tag { background: var(--gold); color: #1a1405; }
.g-card .vis { aspect-ratio: 1; }
.g-card-icon { aspect-ratio: 1; display: grid; place-items: center; font: 900 54px var(--display); color: var(--soft); background: var(--stage); }
@keyframes g-in { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .g-ball.wobble, .g-ball.burst, .g-flash.on, .g-card { animation: none; } .g-flash.on { opacity: .35; } }
.g-card-ball { position: relative; aspect-ratio: 1; display: grid; place-items: center; background: var(--stage); overflow: hidden; }
.g-plus { position: absolute; right: 12%; bottom: 14%; z-index: 2; padding: 2px 10px; background: var(--red); color: #fff;
  font: 900 30px/1.1 var(--display); letter-spacing: .02em; box-shadow: 0 6px 18px rgba(0, 0, 0, .45); }

/* vraie Master Ball : dessus violet, deux bosses roses, M blanc */
.pb.k-master { --c: #7b3aa8; --hi: #b07ee0; --lo: #3b155c; }
.pb .bump { position: absolute; top: 13%; width: 22%; height: 22%; border-radius: 50%; z-index: 1;
  background: radial-gradient(circle at 38% 34%, #ffc1e3, #e24fa0 55%, #9c1f63); box-shadow: inset 0 -1px 2px rgba(0, 0, 0, .25); }
.pb .bump.l { left: 6%; } .pb .bump.r { right: 6%; }
.pb.k-master .m { top: 11%; z-index: 1; font-size: calc(var(--s) * .24); font-weight: 900; color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .25); letter-spacing: -.02em; }

/* cartes du gacha : DA BlackDex (coin coupé, fond noir), cadre et crans selon la rareté */
.g-card { --tc: #8a8f98; --glow: transparent; position: relative; border: 0; background: var(--card); padding: 14px;
  box-shadow: inset 0 0 0 2px var(--tc), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 26px var(--glow); }
.g-card::before { content: ""; position: absolute; top: 0; right: 0; width: 0; height: 0; z-index: 2;
  border-style: solid; border-width: 0 22px 22px 0; border-color: transparent #050404 transparent transparent; }
.g-card::after { content: ""; position: absolute; top: 10px; right: -4.5px; width: 31px; height: 2px; z-index: 3; background: var(--tc);
  transform: rotate(45deg); }
.g-card.r-commun { --tc: #7d838c; }
.g-card.r-peu_commun { --tc: #3fbf74; --glow: rgba(63, 191, 116, .18); }
.g-card.r-rare { --tc: #3d8bff; --glow: rgba(61, 139, 255, .3); }
.g-card.r-epique { --tc: #b04dff; --glow: rgba(176, 77, 255, .5); }
.g-card.r-legendaire { --tc: #f5c542; --glow: rgba(245, 197, 66, .55); }
.g-card.r-choisi { --tc: #f5c542; --glow: rgba(245, 197, 66, .6); }
.g-card.r-bonus { --tc: var(--red); --glow: rgba(227, 18, 27, .25); }
.g-pips { display: flex; gap: 4px; }
.g-pips span { width: 18px; height: 6px; transform: skewX(-24deg); background: rgba(255, 255, 255, .1); }
.g-pips span.on { background: var(--tc); box-shadow: 0 0 8px var(--glow); }
.g-pips.bonus span { width: 42px; }
.g-card .g-card-tag { background: var(--tc); color: #0b0a0a; }
.g-card.r-commun .g-card-tag { background: #2a2c30; color: #d4d7dc; }
.g-card.r-bonus .g-card-tag { color: #fff; }
/* reflet qui passe en boucle continue (même effet que les cartes de la boutique) : rare, épique, légendaire */
.g-card.r-rare .vis, .g-card.r-epique .vis, .g-card.r-legendaire .vis, .g-card.r-choisi .vis { position: relative; overflow: hidden; }
.g-card.r-rare .vis::after, .g-card.r-epique .vis::after, .g-card.r-legendaire .vis::after, .g-card.r-choisi .vis::after { content: ""; position: absolute; inset: 0;
  pointer-events: none; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%) repeat-x; background-size: 200% 100%;
  animation: shine-loop 3.2s linear infinite; mix-blend-mode: screen; }
@media (prefers-reduced-motion: reduce) { .g-card .vis::after { animation: none; } }
.g-card.r-epique { animation: g-in .45s var(--ease) both, g-pulse-epic 2.2s ease-in-out .5s infinite; }
@keyframes g-pulse-epic { 50% { box-shadow: inset 0 0 0 2px var(--tc), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 44px rgba(176, 77, 255, .75); } }
.g-card.r-legendaire { animation: g-in .45s var(--ease) both, g-pulse-gold 2.4s ease-in-out .5s infinite; }
@keyframes g-pulse-gold { 50% { box-shadow: inset 0 0 0 3px var(--tc), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 56px rgba(245, 197, 66, .8); } }
.g-card.r-choisi { box-shadow: 0 0 46px rgba(245, 197, 66, .6); background: linear-gradient(var(--card), var(--card)) padding-box,
  linear-gradient(120deg, #fff6c2, #f5c542, #b04dff, #5fd3ff, #ff4a6e, #f5c542) border-box; border: 3px solid transparent;
  background-size: 100% 100%, 300% 300%; animation: g-in .45s var(--ease) both, g-prism 3s linear infinite; }
.g-card.r-choisi .g-pips span.on { background: linear-gradient(90deg, #fff6c2, #f5c542, #b04dff, #5fd3ff); }
@keyframes g-prism { to { background-position: 0 0, 300% 0; } }

/* ticket de tombola : noir et rouge */
.g-ticket { aspect-ratio: 1; display: grid; place-items: center; background: var(--stage); padding: 10% 6%; overflow: hidden; }
.g-ticket .t-in { position: relative; width: 86%; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 12px;
  color: #fff; background: linear-gradient(135deg, #1a0405, #0b0a0a 55%, #2a0507); border: 2px solid var(--red); transform: rotate(-4deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .55), 0 0 22px rgba(227, 18, 27, .35);
  -webkit-mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
          mask: radial-gradient(circle 11px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 11px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat; }
.g-ticket .t-kicker { font: 800 11px var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--red2); }
.g-ticket .t-title { font: 900 clamp(18px, 4.6vw, 26px)/1 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.g-ticket .t-cut { width: 80%; border-top: 2px dashed rgba(255, 255, 255, .28); margin: 4px 0; }
.g-ticket .t-no { font: 800 14px var(--font); letter-spacing: .14em; color: #fff; background: var(--red); padding: 3px 10px; }

/* effets d'ouverture en plus */
.g-sparkles { position: absolute; inset: 0; pointer-events: none; }
.g-sparkles span { position: absolute; width: 6px; height: 6px; background: #fff; opacity: 0; transform: rotate(45deg) scale(.2);
  box-shadow: 0 0 10px 2px rgba(214, 160, 255, .9); animation: g-spark 1.6s ease-out infinite; }
.g-stage.fx-prisma .g-sparkles span { box-shadow: 0 0 10px 2px rgba(255, 230, 150, .95); }
@keyframes g-spark { 0% { opacity: 0; transform: rotate(45deg) scale(.2); } 30% { opacity: 1; transform: rotate(45deg) scale(1.3); } 100% { opacity: 0; transform: rotate(45deg) scale(.4); } }
.g-stage.fx-shiny .g-flash.on { animation: g-flash-double 1.6s ease-out forwards; }
@keyframes g-flash-double { 0% { opacity: 0; } 12% { opacity: 1; } 30% { opacity: .35; } 45% { opacity: 1; } 100% { opacity: .45; } }
.g-rays { position: absolute; left: var(--cx, 50%); top: var(--cy, 50%); width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; pointer-events: none; opacity: .35;
  background: repeating-conic-gradient(from 0deg, rgba(245, 197, 66, .55) 0 6deg, transparent 6deg 18deg); animation: g-spin 14s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 0, transparent 55%); mask: radial-gradient(circle, #000 0, transparent 55%); }
.g-stage.fx-prisma .g-rays { background: repeating-conic-gradient(from 0deg, rgba(255, 246, 194, .6) 0 5deg, rgba(176, 77, 255, .35) 5deg 10deg, transparent 10deg 18deg); }
@keyframes g-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .g-sparkles span, .g-rays, .g-card.r-epique, .g-card.r-legendaire, .g-card.r-choisi, .g-card .vis::after { animation: none !important; }
  .g-sparkles span { opacity: .8; }
}
.pb .mark { background: #f5c542; }  /* Hyper Ball : marques jaunes, comme dans le jeu */
/* ticket : tailles relatives à la carte (il tient à toutes les largeurs) */
.g-ticket { container-type: inline-size; padding: 0; }
.g-ticket .t-in { width: 78%; padding: 7cqw 4cqw; gap: 2.5cqw; }
.g-ticket .t-kicker { font-size: 5.5cqw; letter-spacing: .2em; }
.g-ticket .t-title { font-size: 15cqw; }
.g-ticket .t-no { font-size: 6.5cqw; white-space: nowrap; padding: 1cqw 3.5cqw; }
.g-ball { display: grid; place-items: center; line-height: 0; }

/* téléphone : zones à toucher plus grandes, sections pas cachées sous l'en-tête, bas de page pas caché par Aide / Ma commande */
section[id] { scroll-margin-top: 84px; }
@media (max-width: 760px) {
  section[id] { scroll-margin-top: 128px; }
  main { padding-bottom: 76px; }
  .filters .chip { min-height: 38px; padding: 9px 13px; }
  .points-pill { min-height: 38px; }
  .link-btn { padding: 10px 0; }
  .g-results.ten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .g-results.ten .g-card { padding: 9px; gap: 6px; }
  .g-results.ten .g-card strong { font-size: 13px; }
  .g-results.ten .g-card-tag { font-size: 9px; }
  .g-results.ten .g-pips span { width: 12px; }
  .g-results.ten .pay-copy { flex-wrap: wrap; }
}
.g-top.solo { grid-template-columns: minmax(0, 1fr); }

/* logo rond */
.logo-img { width: 44px; height: 44px; flex: none; display: block; filter: drop-shadow(0 2px 8px rgba(227, 18, 27, .35)); }
@media (max-width: 560px) { .logo-img { width: 38px; height: 38px; } }

/* bandeau d'annonce */
.announce { position: relative; background: linear-gradient(90deg, #2a0406, #0b0a0a 45%, #2a0406); border-bottom: 1px solid rgba(227, 18, 27, .5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04); }
.announce[hidden] { display: none; }
.ann-in { display: flex; align-items: center; gap: 14px; padding-block: 10px; min-height: 64px; }
.ann-logo { width: 40px; height: 40px; flex: none; }
.ann-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 auto; }
.ann-text strong { font-size: 22px; line-height: 1.05; letter-spacing: .01em; color: #fff; }
.ann-text span { font-size: 13px; color: var(--soft); }
.ann-legends { display: flex; flex: none; }
.ann-leg { width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #3a2a08, #0b0a0a 70%);
  box-shadow: 0 0 0 2px #f5c542, 0 0 14px rgba(245, 197, 66, .45); overflow: hidden; display: grid; place-items: center; }
.ann-leg:first-child { margin-left: 0; }
.ann-leg img { width: 120%; height: 120%; object-fit: contain; }
.ann-prize { width: 54px; height: 54px; flex: none; overflow: hidden; box-shadow: 0 0 0 2px var(--red2), 0 0 18px rgba(227, 18, 27, .5); }
.ann-prize img { width: 100%; height: 100%; object-fit: cover; }
.ann-cta { flex: none; }
.ann-x { flex: none; width: 36px; height: 36px; border: 0; background: transparent; color: var(--muted); font-size: 16px; cursor: pointer; }
.ann-x:hover, .ann-x:focus-visible { color: #fff; }
@media (max-width: 760px) {
  .ann-in { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .ann-text { flex-basis: calc(100% - 100px); }
  .ann-text strong { font-size: 19px; }
  .ann-legends { order: 3; }
  .ann-cta { order: 4; margin-left: auto; }
  .ann-x { position: absolute; top: 6px; right: 8px; }
  .ann-leg { width: 36px; height: 36px; }
}

/* mode maintenance : la boutique est cachée, « Ma commande » et « Aide » restent accessibles */
body.maint-on { overflow: hidden; }
.maint { position: fixed; inset: 0; z-index: 35; display: grid; place-items: center; padding: 24px 16px;
  background: radial-gradient(circle at 50% 35%, #2a0406, #0b0a0a 60%); }
.maint[hidden] { display: none; }
.maint-in { display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 560px; text-align: center; }
.maint-logo { width: 140px; height: 140px; }
.maint-in h1 { margin: 0; font-size: clamp(40px, 9vw, 72px); line-height: .95; }
.maint-in p { margin: 0; color: var(--soft); font-size: 16px; line-height: 1.5; }

/* pages légales */
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: var(--muted); font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.legal-links a:hover, .legal-links a:focus-visible { color: #fff; }
.legal-text { display: flex; flex-direction: column; gap: 8px; max-height: 60vh; overflow-y: auto; padding-right: 6px; font-size: 14px; line-height: 1.55; color: var(--soft); }
.legal-text h4 { margin: 10px 0 0; font: 800 15px var(--font); color: #fff; }
.legal-text p, .legal-text ul { margin: 0; }
.legal-text ul { padding-left: 20px; }
.cgv-box { display: flex; flex-direction: column; gap: 6px; padding: 10px 12px; border: 1px solid var(--line2); background: var(--stage); }
.cgv-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; cursor: pointer; }
.cgv-check input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--red); }
.cgv-read summary { cursor: pointer; font-size: 13px; color: var(--muted); text-decoration: underline; padding: 6px 0; }
.cgv-read .legal-text { max-height: 220px; margin-top: 6px; font-size: 13px; }

/* beaucoup de résultats (« Tout ouvrir ») : le haut de la liste reste atteignable */
.g-stage { justify-content: safe center; }

/* ---- cadres de rareté (C2) : une couleur par rareté, coins qui grandissent, reflet à partir de rare ---- */
.card { --k: #9aa1a8; --cs: 14px; }
.card.t-peu_commun { --k: #3ecf8e; --cs: 18px; }
.card.t-rare { --k: #3d8bff; --cs: 24px; }
.card.t-epique { --k: #b06bff; --cs: 32px; }
.card.t-legendaire, .card.t-ultra { --k: #f5c542; --cs: 42px; }
.card .fr { position: absolute; z-index: 4; width: var(--cs); height: var(--cs); border: 3px solid var(--k); pointer-events: none; }
.card .fr.tl { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.card .fr.br { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.card:not(.t-commun):not(.t-common) { outline: 1px solid color-mix(in srgb, var(--k) 40%, transparent); outline-offset: -1px;
  background: linear-gradient(180deg, var(--card) 50%, color-mix(in srgb, var(--k) 20%, var(--card))); }
.card.t-epique, .card.t-legendaire, .card.t-ultra { filter: drop-shadow(0 0 12px color-mix(in srgb, var(--k) 40%, transparent)); }
.card[class*="t-"]:hover { box-shadow: 0 0 0 2px var(--k); }
.card .tier-pill { color: var(--k); box-shadow: inset 0 0 0 1px var(--k); }
/* reflet en boucle continue : le motif fait deux largeurs de carte et avance d'exactement un motif, sans saut */
.cstage .shine { position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: overlay; background-repeat: repeat-x; background-size: 200% 100%;
  background-image: linear-gradient(115deg, transparent 30%, color-mix(in srgb, var(--k) 70%, #fff) 50%, transparent 70%);
  animation: shine-loop 3.6s linear infinite; animation-delay: calc(var(--i, 0) * -.45s); }
.card.t-legendaire .shine, .card.t-ultra .shine { background-image: linear-gradient(115deg, transparent 26%, rgba(255, 120, 120, .6) 38%, rgba(255, 240, 150, .75) 46%,
  rgba(120, 255, 200, .6) 54%, rgba(140, 150, 255, .65) 62%, transparent 74%); }
@keyframes shine-loop { from { background-position: 200% 0; } to { background-position: 0% 0; } }
@media (prefers-reduced-motion: reduce) { .cstage .shine { animation: none; } }

/* ---- compte client ---- */
.points-pill { display: inline-flex; align-items: center; gap: 8px; }
.acc-av { display: inline-grid; place-items: center; width: 20px; height: 20px; background: var(--red); color: #fff; font-family: var(--display); font-size: 13px; }
.acc-pts { color: #f5c542; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line2); }
.auth-tab { background: none; border: 0; color: var(--muted); padding: 10px; font: 800 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.auth-tab.on { color: var(--text); box-shadow: inset 0 -3px var(--red); }
.google-btn { display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: #1f1f1f; padding: 12px; font-weight: 600; text-decoration: none; }
.g-logo { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#ea4335 0 25%, #fbbc05 0 50%, #34a853 0 75%, #4285f4 0); position: relative; }
.g-logo::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.auth-or { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.field-l { display: grid; gap: 5px; font-size: 12px; color: var(--muted); }
.acct { position: fixed; inset: 0; z-index: 250; overflow-y: auto; background: var(--bg); padding-block: calc(16px + env(safe-area-inset-top, 0px)) calc(40px + env(safe-area-inset-bottom, 0px)); }
body.acct-open { overflow: hidden; }
.acct-in { display: grid; gap: 18px; }
.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.acct-head h2 { margin: 0; font-size: clamp(32px, 6vw, 48px); text-transform: uppercase; }
.acct-head p { margin: 4px 0 0; }
.acct-note { border-left: 3px solid #f5c542; background: var(--card); padding: 12px 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: baseline; }
.acct-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.acct-kpi { background: var(--card); padding: 12px 14px; display: grid; gap: 2px; }
.acct-kpi strong { font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.acct-kpi strong.pts { color: #f5c542; }
.acct-kpi span { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.acct-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line2); }
.acct-tab { background: none; border: 0; color: var(--muted); padding: 12px 14px; font: 800 12px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.acct-tab.on { color: var(--text); box-shadow: inset 0 -3px var(--red); }
.acct-tab em { font-style: normal; margin-left: 6px; color: var(--muted); }
.acct-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.acct-search { flex: 1 1 260px; min-width: 0; background: var(--panel); border: 1px solid var(--line2); color: var(--text); padding: 10px 12px; font: inherit; }
.acct-scroll { overflow-x: auto; }
.acct-table table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 13px; }
.acct-table th { text-align: left; font: 800 10px/1 var(--font); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding: 10px; border-bottom: 1px solid var(--line2); }
.acct-table td { padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.acct-table td small { display: block; color: var(--muted); font-size: 11px; }
.acct-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.acct-pager { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; }
.acct-pager .muted { margin-right: auto; }
.acct-empty { padding: 24px 0; }
.acct-settings { display: grid; gap: 14px; max-width: 560px; }
.acct-box h3 { margin: 0 0 6px; }
.rt { --k: #9aa1a8; color: var(--k); border: 1px solid var(--k); padding: 4px 7px; font: 800 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.rt.t-peu_commun { --k: #3ecf8e; } .rt.t-rare { --k: #3d8bff; } .rt.t-epique { --k: #b06bff; } .rt.t-legendaire, .rt.t-ultra, .rt.t-choisi { --k: #f5c542; }
.st { font: 800 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: 5px 7px; white-space: nowrap; background: var(--card); color: var(--muted); }
.st-confirmed { color: #3ecf8e; background: rgba(62, 207, 142, .14); }
.st-waiting, .st-claimed { color: #f5c542; background: rgba(245, 197, 66, .14); }
@media (max-width: 640px) { .acct-kpis { grid-template-columns: 1fr 1fr; } }

/* message (toast) affiché dans la couche du dessus : on annule le placement par défaut des « popover » */
.toast[popover] { inset: auto auto 22px 50%; margin: 0; border: 0; overflow: visible; z-index: 400; }
.g-odd.soon b { color: #f5c542; text-transform: uppercase; letter-spacing: .06em; font-size: .85em; }
.auth-bonus { margin: 0; padding: 10px 12px; background: rgba(245, 197, 66, .12); color: #f5c542; font-weight: 700; font-size: 13px; }

/* ---- badge de rang (Brasier) et récompenses ---- */
.rk-wrap { display: inline-flex; line-height: 0; }
.rank-badge { overflow: visible; }
.rank-badge.rk-mini { width: 24px; height: 24px; }
.rank-badge.rk-big { width: 96px; height: 96px; }
.rk-pulse { animation: rk-pulse 2.4s ease-in-out infinite; }
.rk-sheen { animation: rk-sheen 3s ease-in-out infinite; }
.rk-tw { transform-box: fill-box; transform-origin: center; animation: rk-tw 1.6s ease-in-out infinite; }
.rk-d1 { animation-delay: .5s; } .rk-d2 { animation-delay: 1s; } .rk-d3 { animation-delay: .3s; } .rk-d4 { animation-delay: .8s; }
@keyframes rk-pulse { 50% { opacity: .35; } }
@keyframes rk-sheen { 0% { transform: translateX(-150px); } 60%, 100% { transform: translateX(150px); } }
@keyframes rk-tw { 0%, 100% { opacity: 0; transform: scale(.2) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .rk-pulse, .rk-sheen, .rk-tw { animation: none; } }
.acct-id { display: flex; align-items: center; gap: 14px; }
.acct-rank { display: block; font: 800 11px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: #f5c542; margin-bottom: 4px; }
.rw-goal { background: var(--card); padding: 16px; display: grid; gap: 12px; }
.rw-goal-head { display: flex; justify-content: space-between; align-items: end; gap: 12px; flex-wrap: wrap; }
.rw-goal-head strong { display: block; font-size: 28px; text-transform: uppercase; line-height: 1; margin-top: 4px; }
.rw-pts { color: var(--muted); font-size: 13px; }
.rw-pts strong { display: inline; font-size: 34px; color: #f5c542; margin-right: 2px; }
.rw-bar { position: relative; height: 12px; background: var(--bg); border: 1px solid var(--line2); margin: 6px 0 20px; }
.rw-fill { position: absolute; inset: 0 auto 0 0; background: linear-gradient(90deg, var(--red), #f5c542); }
.rw-tick { position: absolute; top: -5px; width: 2px; height: 20px; margin-left: -1px; background: var(--muted); }
.rw-tick.ok { background: #f5c542; }
.rw-tick b { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-size: 10px; color: var(--muted); white-space: nowrap; }
.rw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.rw-card { --k: #f5c542; background: var(--card); padding: 14px; display: grid; gap: 4px; border-top: 3px solid var(--line2); opacity: .75; }
.rw-card.ok { border-top-color: var(--k); opacity: 1; }
.rw-card.t-commun { --k: #9aa1a8; } .rw-card.t-peu_commun { --k: #3ecf8e; } .rw-card.t-rare { --k: #3d8bff; } .rw-card.k-code { --k: var(--red); }
.rw-card small { color: var(--muted); font-size: 11px; }
.rw-cost { font-size: 24px; margin-top: 6px; }
.rw-card .btn { justify-self: start; margin-top: 6px; }
.rw-lock { justify-self: start; margin-top: 6px; font: 800 10px/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line2); padding: 6px 8px; }
.rw-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0; border-bottom: 1px solid var(--line); }
.rw-plus { color: #3ecf8e; } .rw-minus { color: var(--red); }
.rw-use { border: 1px solid #f5c542; padding: 10px; }

/* balls spéciales : panneau de droite de la section Poké Balls */
.g-special { display: grid; gap: 10px; }
.g-special h3 { margin: 0; }
.sp-card { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 12px; align-items: center; background: rgba(255, 255, 255, .03); padding: 12px; border-left: 3px solid var(--k); }
.sp-hyper { --k: #8a4cf0; } .sp-master { --k: #f5c542; }
.sp-ball { display: grid; place-items: center; }
.sp-body { display: grid; gap: 6px; min-width: 0; }
.sp-body strong { font-size: 20px; text-transform: uppercase; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sp-body p { margin: 0; }
.sp-soon { font: 800 10px/1 var(--font); letter-spacing: .08em; color: #f5c542; border: 1px solid #f5c542; padding: 4px 6px; }
.sp-drops { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-chip { --c: #9aa1a8; font: 800 10.5px/1 var(--font); letter-spacing: .04em; text-transform: uppercase; padding: 6px 8px; color: var(--c); border: 1px solid var(--c); }
.sp-chip b { color: var(--text); margin-left: 5px; }
.sp-chip.t-rare { --c: #3d8bff; } .sp-chip.t-epique { --c: #b06bff; } .sp-chip.t-legendaire { --c: #f5c542; }

/* ---------- hits du gacha (hits/hits.json) : accueil + bandeau en bas de « À gagner dans les Poké Balls » ---------- */
.showcase.hx-on { --hx-gold: #f5c542; --hx-gold-hi: #fff1b8; height: auto; display: flex; flex-direction: column; align-items: center; }
.showcase.hx-on::before, .showcase.hx-on > .beam, .showcase.hx-on > .star, .showcase.hx-on > .hero-ball, .showcase.hx-on > .caps { display: none; }
.hx-hero { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.hx-tag { padding: 6px 12px; background: var(--bg); color: #f5c542; font: 800 11px/1.2 var(--font); letter-spacing: .16em; text-transform: uppercase; box-shadow: inset 0 0 0 1px rgba(245, 197, 66, .5); }
.hx-stage { position: relative; width: min(470px, 100%); aspect-ratio: 4 / 3.35; }
.hx-rays { position: absolute; left: 50%; top: 42%; width: 170%; aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: repeating-conic-gradient(rgba(255, 225, 140, .28) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask: radial-gradient(circle, #000 0 22%, transparent 62%); mask: radial-gradient(circle, #000 0 22%, transparent 62%); animation: hx-spin 40s linear infinite; }
.hx-frame { position: relative; overflow: hidden; width: 100%; aspect-ratio: 4 / 3; padding: 4px; animation: hx-bob 6s ease-in-out infinite;
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%); }
.hx-frame::before { content: ""; position: absolute; inset: -60%; background: conic-gradient(#f5c542, #7a5300, #fff1b8, #b07a00, #f5c542, #fff, #f5c542); animation: hx-spin 5s linear infinite; }
.hx-view { position: relative; width: 100%; height: 100%; overflow: hidden; background: #000; clip-path: polygon(0 0, calc(100% - 31px) 0, 100% 31px, 100% 100%, 0 100%); }
.hx-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hx-view img.in { animation: hx-reveal 1s var(--ease) both, hx-zoom 7s ease-out both; }
.hx-sweep { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%); translate: -120% 0; }
.hx-sweep.go { animation: hx-sweep 1.4s .9s ease-in-out both; }
.hx-flash { position: absolute; left: 50%; bottom: 0; z-index: 2; width: 60%; aspect-ratio: 1; translate: -50% 50%; border-radius: 50%; pointer-events: none; opacity: 0;
  background: radial-gradient(circle, #fff 0 18%, rgba(255, 240, 190, .8) 30%, transparent 68%); }
.hx-flash.go { animation: hx-flash .9s ease-out both; }
.hx-ball { position: absolute; left: 50%; top: calc(89.55% - 34px); translate: -50% 0; z-index: 3; }  /* centrée sur le bas du cadre */
.hx-ball.go .pb { animation: hx-pop .8s var(--ease); }
.hx-ball.go .core { animation: hx-core .8s ease-out; }
.hx-sparks { position: absolute; inset: 0; pointer-events: none; }
.hx-sparks i { position: absolute; width: 14px; height: 14px; background: #fff1b8; opacity: 0; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); }
.hx-sparks.go i { animation: hx-spark 1.3s ease-out both; }
.hx-cap { display: grid; justify-items: center; gap: 2px; min-height: 52px; margin-top: 18px; text-align: center; }
.hx-cap b { font: 900 30px/1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.hx-cap span { color: #f5c542; font: 800 12px/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.hx-cap.go { animation: hx-rise .6s .5s var(--ease) both; }
.hx-only { display: flex; align-items: center; gap: 10px; margin: 0; padding: 9px 16px; background: rgba(0, 0, 0, .55); font: 800 13px/1.3 var(--font); letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.hx-dots { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }
.hx-dots button { width: 26px; height: 5px; padding: 0; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; }
.hx-dots button.on { background: #f5c542; }
/* bandeau qui défile, en haut du panneau « À gagner dans les Poké Balls » */
.hx-band { margin-bottom: 18px; padding-bottom: 18px; box-shadow: inset 0 -2px 0 rgba(245, 197, 66, .3); }  /* au-dessus de « À gagner » */
.hx-band:only-child { margin-bottom: 0; padding-bottom: 0; box-shadow: none; }
.hx-wrap { position: relative; }
.hx-track { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; cursor: grab; overscroll-behavior-x: contain;
  -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hx-track::-webkit-scrollbar { display: none; }
.hx-track.drag { cursor: grabbing; user-select: none; }
.hx-track:focus-visible { outline: 2px solid #f5c542; outline-offset: 4px; }
.hx-rail { display: flex; gap: 16px; width: max-content; }
.hx-tile img { -webkit-user-drag: none; user-select: none; }
.hx-arrow { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 42px; height: 58px; border: 0; padding: 0; cursor: pointer;
  background: rgba(11, 10, 10, .85); color: #f5c542; font: 900 34px/1 var(--display); box-shadow: inset 0 0 0 2px rgba(245, 197, 66, .55); }
.hx-arrow:hover { background: #f5c542; color: var(--bg); }
.hx-arrow.prev { left: 0; } .hx-arrow.next { right: 0; }
@media (hover: none) { .hx-arrow { display: none; } }  /* téléphone : on glisse au doigt */
.hx-tile { position: relative; flex: none; width: 240px; background: var(--bg); box-shadow: inset 0 0 0 2px rgba(245, 197, 66, .55);
  clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.hx-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; padding: 2px 2px 0; }
.hx-shine { position: absolute; inset: 2px 2px auto; aspect-ratio: 4 / 3; pointer-events: none;
  background: linear-gradient(110deg, transparent 40%, rgba(255, 255, 255, .35) 50%, transparent 60%) 200% 0 / 250% 100% no-repeat; animation: hx-shine 3.6s ease-in-out infinite; }
.hx-tile:nth-child(2n) .hx-shine { animation-delay: 1.2s; } .hx-tile:nth-child(3n) .hx-shine { animation-delay: 2.4s; }
.hx-excl { position: absolute; left: 10px; top: 10px; padding: 4px 8px; background: var(--red); font: 800 10px/1.2 var(--font); letter-spacing: .12em; text-transform: uppercase; }
.hx-tile-body { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2px 8px; padding: 10px 12px 12px; }
.hx-tile-body b { font: 900 21px/1 var(--display); text-transform: uppercase; }
.hx-tile-body small { width: 100%; font-size: 11px; }
.hx-stars { color: #f5c542; font-size: 11px; font-weight: 700; letter-spacing: .06em; white-space: nowrap; }
@keyframes hx-spin { to { rotate: 360deg; } }
@keyframes hx-bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -6px; } }
@keyframes hx-reveal { from { clip-path: circle(0% at 50% 100%); filter: brightness(2.4); } 60% { filter: brightness(1.25); } to { clip-path: circle(150% at 50% 100%); filter: none; } }
@keyframes hx-zoom { from { scale: 1.2; } to { scale: 1.04; } }
@keyframes hx-sweep { from { translate: -120% 0; } to { translate: 120% 0; } }
@keyframes hx-flash { 0% { opacity: 0; scale: .2; } 25% { opacity: 1; } 100% { opacity: 0; scale: 2.6; } }
@keyframes hx-pop { 0% { translate: 0 0; rotate: 0deg; } 20% { translate: 0 -16px; rotate: -14deg; } 40% { translate: 0 0; rotate: 10deg; } 60% { rotate: -5deg; } 100% { rotate: 0deg; } }
@keyframes hx-core { 30% { box-shadow: 0 0 26px 10px #fff3b0; } }
@keyframes hx-spark { 0% { opacity: 0; scale: .2; } 30% { opacity: 1; scale: 1.2; rotate: 45deg; } 100% { opacity: 0; scale: .3; rotate: 120deg; translate: var(--dx) var(--dy); } }
@keyframes hx-rise { from { opacity: 0; translate: 0 10px; } }
@keyframes hx-shine { 0%, 55% { background-position: 200% 0; } 100% { background-position: -100% 0; } }
@media (max-width: 480px) { .hx-cap b { font-size: 26px; } .hx-tile { width: 200px; } }
@media (prefers-reduced-motion: reduce) {
  .hx-rays, .hx-frame, .hx-frame::before, .hx-view img.in, .hx-shine { animation: none; }
}

/* ---------- agrandissements : hits de l'accueil et case Poké Ball ---------- */
.hx-stage { width: min(630px, 100%); }
.showcase.hx-on { padding-top: 34px; }
.hx-cap { margin-top: 26px; }
.hx-cap b { font-size: 42px; }
.hx-cap span { font-size: 14px; }
.hx-tag { font-size: 13px; padding: 7px 14px; }
.hx-only { font-size: 15px; padding: 11px 20px; }
.g-hero { justify-content: center; gap: 44px; padding: 36px 32px; }
.g-ball-zone { width: 230px; height: 230px; }
.g-ball-zone .pb.md { --s: 150px; }
.g-ball-zone .pedestal { width: 170px; height: 30px; margin-left: -85px; }
.g-hero-info { gap: 14px; }
.g-hero-info h3 { font-size: 52px; }
.g-price .price { font-size: 42px; }
.g-price .small { font-size: 15px; }
.g-buy { gap: 12px; }
.g-buy .btn { min-height: 58px; padding: 10px 28px; font-size: 15px; }
.g-buy small { font-size: 13px; }
.g-wallet { gap: 10px; padding-top: 14px; font-size: 15px; }
.g-wallet .small { font-size: 14px; }
.g-open .btn { min-height: 52px; padding: 10px 26px; font-size: 15px; }
@media (max-width: 560px) {
  .hx-cap b { font-size: 30px; }
  .hx-only { font-size: 12px; padding: 9px 12px; }
  .g-hero { gap: 18px; padding: 18px 16px; }
  .g-ball-zone { width: 150px; height: 150px; }
  .g-ball-zone .pb.md { --s: 104px; }
  .g-hero-info h3 { font-size: 38px; }
  .g-price .price { font-size: 32px; }
  .g-buy .btn { flex: 1 1 0; min-height: 52px; padding: 8px 10px; font-size: 13px; }
}

/* « Dans une Poké Ball » à droite de la Poké Ball : chances cliquables -> liste des comptes gagnables */
.g-top > .g-contents { padding: 18px 22px; min-width: 0; }
.g-top > .g-contents .g-odds { grid-template-columns: 1fr; gap: 0; margin: 8px 0 12px; }
/* progression sous la Poké Ball : les balls spéciales côte à côte, les barres en dessous */
.g-pity-wide .g-special { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.g-odds-help { margin: 4px 0 0; }
button.g-odd { width: 100%; align-items: center; background: none; border: 0; border-bottom: 1px solid var(--line); color: var(--text); font: inherit; font-size: 15px; text-align: left; cursor: pointer; padding: 9px 4px; }
button.g-odd > span { flex: 1; }
button.g-odd:hover, button.g-odd:focus-visible { background: rgba(255, 255, 255, .05); outline: none; }
button.g-odd:focus-visible { box-shadow: inset 0 0 0 2px var(--gold); }
.g-odd-go { font-style: normal; font-weight: 900; color: var(--soft); transition: transform .15s; }
button.g-odd:hover .g-odd-go { transform: translateX(3px); color: var(--text); }
.g-pool { display: flex; flex-direction: column; gap: 18px; }
.g-pool-tier h4 { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 4px; font-size: 22px; }
.g-pool-tier h4 b { color: var(--gold); font-size: 18px; }
.g-pool-tier > p { margin: 0 0 10px; }
.g-pool .g-lots { max-height: 60vh; overflow-y: auto; padding-right: 4px; }

/* hits de la Poké Ball dans l'en-tête de la partie Poké Balls, à droite du titre (sur la bande rouge) */
#premium .sec-head { align-items: center; }
.sec-hits { flex: 1 1 560px; max-width: min(62%, 980px); min-width: 0; margin-left: auto; }
.sec-hits:empty { display: none; }
.sec-hits .hx-band { margin: 0; padding: 0; box-shadow: none; }
.sec-hits .g-sub { margin-bottom: 8px; }
.sec-hits .g-sub h3 { margin: 0; font-size: 22px; color: #fff1b8; text-shadow: 0 2px 0 rgba(0, 0, 0, .35); }
.sec-hits .g-sub .muted { color: #fff; font-weight: 700; }
.sec-hits .hx-tile { width: 200px; box-shadow: inset 0 0 0 2px #f5c542, 0 10px 24px rgba(0, 0, 0, .35); }
.sec-hits .hx-tile-body b { font-size: 18px; }
.sec-hits .hx-track { padding: 4px 0 10px; }
@media (max-width: 900px) { .sec-hits { max-width: 100%; flex-basis: 100%; } }
@media (max-width: 480px) { .sec-hits .hx-tile { width: 170px; } }

/* iPhone (Safari) : la hauteur « 100 % » de l'image dans un cadre dimensionné par aspect-ratio débordait (bas du cadre et
   de l'image coupés). L'image donne maintenant elle-même sa hauteur (4:3) et le cadre l'entoure : pareil partout. */
.hx-frame { aspect-ratio: auto; height: auto; }
.hx-view { height: auto; aspect-ratio: 4 / 3; }

/* page cachée tant qu'on ne sait pas si la boutique est en maintenance (sinon on voyait le site 1 s avant l'écran de maintenance) */
html.boot body > :not(#maintenance) { visibility: hidden; }
/* aperçu des admins pendant la maintenance */
.preview-tag { position: fixed; left: 50%; top: 10px; z-index: 60; transform: translateX(-50%); padding: 7px 14px; background: #f5c542; color: #1a1405;
  font: 800 12px/1.3 var(--font); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); pointer-events: none; text-align: center; max-width: calc(100% - 32px); }
.daily-login-note { margin: 8px 0 0; color: #f5c542; font-weight: 700; }
.daily-login-note[hidden] { display: none; }
