/* MoonTik t161 — Alerte cadeau : 4 peaux catalogue restaurées + 5 nouvelles.
   Chargé après mt_fx.css. Fond OBS transparent (pas de html/body). */
.acx { --gift: 110px; --accent: #ff4d6d; --ac-bg: transparent; --ac-bg2: transparent; --ac-bg-angle: 165deg; --ac-bg-op: 100; }
.acx-name, .acx-gname, .acx-coins, .acx-info { max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acx.no-donor .acx-user, .acx.no-donor .acx-meta, .acx.no-donor .acx-side, .acx.no-donor .acx-banner, .acx.no-donor .acx-chip, .acx.no-donor .acx-info { display: none !important; }
.acx.is-ac-transparent .acx-panel,
.acx.is-ac-transparent .acx-banner,
.acx.is-ac-transparent.acx-holo,
.acx.is-ac-transparent .acx-chip,
.acx.is-ac-transparent .acx-pill {
  background: transparent !important; box-shadow: none !important; border-color: transparent !important;
}
.acx.has-ac-bg .acx-panel,
.acx.has-ac-bg.acx-holo,
.acx.has-ac-bg .acx-banner,
.acx.has-ac-bg .acx-chip,
.acx.has-ac-bg .acx-pill {
  background-image: linear-gradient(var(--ac-bg-angle), var(--ac-bg), var(--ac-bg2, var(--ac-bg))) !important;
  opacity: 1;
}
.acx-gift { width: var(--gift); height: var(--gift); object-fit: contain; }
.acx-combo { z-index: 5; }

/* ---- Classique restauré : surgit + halo d'accent, Luckiest Guy ---- */
.acx-classique { gap: 6px; }
.acx-classique .acx-hero { position: relative; }
.acx-classique .acx-hero::before {
  content: ""; position: absolute; inset: -38%; border-radius: 50%; z-index: 0;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 65%, #fff) 0%, color-mix(in srgb, var(--accent) 35%, transparent) 42%, transparent 72%);
}
.acx-classique .acx-gift { position: relative; z-index: 2; filter: drop-shadow(0 8px 14px rgba(0,0,0,.5)); }
.acx-classique .acx-name { font: 30px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 3px; --olc: #1a1033; padding-top: 4px; }
.acx-classique .acx-meta, .acx-classique .acx-info { font: 16px/1.2 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; --ol: 2px; --olc: #1a1033; }
.acx-classique .acx-gname, .acx-classique .acx-coins { font: inherit; color: #fde68a; }
.acx-classique .acx-combo { right: -48px; top: -10px; font: 34px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 3px; --olc: #1a1033; }

/* ---- Contour restauré : médaillon blanc, typo cerclée ---- */
.acx-contour .acx-medal {
  width: calc(var(--gift) * 1.22); height: calc(var(--gift) * 1.22);
  border-radius: 50%; background: #fff; border: 5px solid #fff;
  box-shadow: 0 4px 0 #1a1033, 0 10px 20px rgba(0,0,0,.4), 0 0 0 2px var(--accent);
  display: grid; place-items: center;
}
.acx-contour .acx-medal .acx-gift { width: calc(var(--gift) * .82); height: calc(var(--gift) * .82); }
.acx-contour .acx-name { font: 32px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 4px; --olc: #111; padding-top: 4px; }
.acx-contour .acx-gname, .acx-contour .acx-coins, .acx-contour .acx-info, .acx-contour .acx-meta {
  font: 18px/1.15 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 3px; --olc: #111;
}
.acx-contour .acx-gname { color: #ffb020; }
.acx-contour .acx-combo { right: -44px; top: -8px; font: 36px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 4px; --olc: #111; }

/* ---- Nébuleuse restaurée : case encrée, bandeau, combo onomatopée ---- */
.acx-manga { flex-direction: row; align-items: center; gap: 0; }
.acx-manga .acx-parts { left: 90px; top: 50%; }
.acx-manga .acx-speed {
  position: absolute; inset: -20% -10%; pointer-events: none; z-index: 0;
  background:
    repeating-linear-gradient(100deg, transparent 0 10px, rgba(255,255,255,.07) 10px 11px),
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.08), transparent 45%);
}
.acx-manga .acx-panel {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 16px;
  padding: 14px 22px 14px 14px; min-width: 0;
  background: #f6efe3;
  border: 4px solid #1a1033; border-radius: 6px;
  box-shadow: 6px 6px 0 #1a1033, 0 12px 24px rgba(0,0,0,.3);
  transform: rotate(-1deg);
}
.acx-manga.has-ac-bg .acx-panel { border-color: color-mix(in srgb, var(--accent) 40%, #1a1033); }
.acx-manga .acx-frame {
  width: calc(var(--gift) * 1.15); height: calc(var(--gift) * 1.15); flex: 0 0 auto;
  background: #1a1333; border: 3px solid #1a1033; border-radius: 8px;
  display: grid; place-items: center; box-shadow: inset 0 0 0 3px color-mix(in srgb, var(--accent) 45%, #fff);
}
.acx-manga .acx-gift { width: var(--gift); height: var(--gift); }
.acx-manga .acx-side { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; max-width: 260px; }
.acx-manga .acx-tag {
  background: var(--accent); color: #fff; padding: 5px 12px 4px; transform: rotate(-2deg);
  box-shadow: 3px 3px 0 #1a1033; border-radius: 2px;
}
.acx-manga.no-band .acx-tag { background: none; box-shadow: none; transform: none; }
.acx-manga .acx-name { font: 20px/1 "MT Bangers", "Bangers", sans-serif; color: #fff; letter-spacing: .04em; --ol: 0; }
.acx-manga.no-band .acx-name { color: #1a1033; }
.acx-manga .acx-info, .acx-manga .acx-gname, .acx-manga .acx-coins {
  font: 22px/1.1 "MT Bangers", "Bangers", sans-serif; color: #1a1033; letter-spacing: .03em; text-transform: uppercase;
}
.acx-manga .acx-combo {
  right: -12px; top: -18px; font: 28px/1 "MT Bangers", "Bangers", sans-serif; color: #ff2d6f;
  -webkit-text-stroke: 4px #1a1033; paint-order: stroke fill; text-shadow: none; background: none;
}
.acx-manga .acx-av { width: 36px; height: 36px; border: 2px solid #1a1033; box-shadow: none; }

/* ---- Sticker restauré : bord blanc, collés de travers ---- */
.acx-sticker { flex-direction: row; align-items: center; gap: 18px; }
.acx-sticker .acx-parts { left: 55px; top: 50%; }
.acx-sticker-gift {
  display: grid; place-items: center; padding: 8px; background: #fff; border-radius: 22px;
  box-shadow: 0 5px 0 #1a1033, 0 10px 18px rgba(0,0,0,.3); transform: rotate(-4deg);
  border: 2px solid color-mix(in srgb, var(--accent) 50%, #fff);
}
.acx-sticker .acx-gift { filter: none; }
.acx-sticker .acx-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px;
  background: #fff; color: #1a1033; border: 3px solid #fff;
  box-shadow: 0 4px 0 #1a1033, 0 8px 14px rgba(0,0,0,.25); border-radius: 18px;
}
.acx-sticker .acx-p-name { transform: rotate(-3deg); }
.acx-sticker .acx-p-info { transform: rotate(2deg); margin-left: 8px; background: color-mix(in srgb, var(--accent) 18%, #fff); }
.acx-sticker .acx-name, .acx-sticker .acx-info, .acx-sticker .acx-gname, .acx-sticker .acx-coins {
  font: 700 16px/1 "MT Lilita", "Lilita One", sans-serif; color: #1a1033; --ol: 0; padding: 0;
}
.acx-sticker .acx-av { width: 36px; height: 36px; border: 2px solid var(--accent); }
.acx-sticker .acx-combo {
  right: -8px; top: -12px; font: 18px/1 "MT Lilita", "Lilita One", sans-serif; color: #1a1033;
  background: #fde68a; border: 3px solid #fff; border-radius: 999px; padding: 4px 10px;
  text-shadow: none; box-shadow: 0 3px 0 #1a1033; transform: rotate(8deg);
}
.acx-trail { position: absolute; left: 70%; top: 20%; display: flex; pointer-events: none; z-index: 0; }
.acx-trail img { width: 28px; height: 28px; object-fit: contain; opacity: calc(0.7 - var(--i) * 0.15);
  transform: translate(calc(var(--i) * 16px), calc(var(--i) * 10px)) rotate(-12deg); }

/* ---- A Séléné ---- */
.acx-selene { gap: 8px; }
.acx-selene .acx-hero { position: relative; width: calc(var(--gift) + 16px); height: calc(var(--gift) + 16px); display: grid; place-items: center; }
.acx-selene .acx-hero::before {
  content: ""; position: absolute; inset: -28px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 70%, #fff) 0%, color-mix(in srgb, var(--accent) 30%, transparent) 44%, transparent 70%);
}
.acx-selene.is-gold { --accent: #fbbf24; }
.acx-selene .acx-gift { position: relative; z-index: 2; filter: drop-shadow(0 8px 14px rgba(0,0,0,.45)); }
.acx-selene .acx-name { font: 28px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 3px; --olc: #1a1033; padding-top: 3px; }
.acx-selene .acx-meta, .acx-selene .acx-info {
  display: flex; align-items: center; gap: 8px;
  background: rgba(16,12,36,.72); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent);
  padding: 5px 12px 6px; border-radius: 999px; backdrop-filter: blur(8px);
  font: 14px/1.2 "Segoe UI", sans-serif; color: #f5d0fe;
}
.acx-selene .acx-gname { color: #f5d0fe; font-weight: 700; }
.acx-selene .acx-coins { font: 18px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; }
.acx-selene .acx-combo { right: -36px; top: -6px; font: 28px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; --ol: 3px; --olc: #1a1033; }

/* ---- B Impact ---- */
.acx-impact { flex-direction: column; gap: 0; }
.acx-impact .acx-burst { position: relative; width: calc(var(--gift) * 2.05); height: calc(var(--gift) * 1.9); display: grid; place-items: center; }
.acx-impact .acx-star {
  position: absolute; inset: 0;
  background: conic-gradient(from 8deg, #ffe566, #ffb703, #ffe566 20%, #ffd166 40%, #ffe566);
  clip-path: polygon(50% 0%, 62% 28%, 98% 28%, 70% 48%, 82% 86%, 50% 64%, 18% 86%, 30% 48%, 2% 28%, 38% 28%);
  filter: drop-shadow(0 8px 0 #1a1033) drop-shadow(0 14px 18px rgba(0,0,0,.35));
}
.acx-impact.is-big .acx-star { background: conic-gradient(from 8deg, #e9d5ff, var(--accent), #c4b5fd 30%, #f0abfc, #e9d5ff); }
.acx-impact .acx-wow {
  position: absolute; top: 10%; font: calc(var(--gift) * .32)/1 "MT Bangers", "Bangers", sans-serif;
  color: var(--accent, #ff2d6f); -webkit-text-stroke: 5px #1a1033; paint-order: stroke fill;
  transform: rotate(-8deg); z-index: 3; letter-spacing: .02em;
}
.acx-impact .acx-gift { position: relative; z-index: 2; margin-top: 8%; }
.acx-impact .acx-banner {
  position: relative; z-index: 3; margin-top: -8px; background: #f8f1ff; color: #1a1033;
  border: 3px solid #1a1033; box-shadow: 4px 4px 0 var(--accent), 4px 4px 0 3px #1a1033;
  padding: 6px 14px 7px; transform: rotate(-1.5deg);
  font: 18px/1.1 "MT Bangers", "Bangers", sans-serif; letter-spacing: .04em; text-transform: uppercase;
  max-width: 320px;
}
.acx-impact .acx-name, .acx-impact .acx-gname, .acx-impact .acx-coins { font: inherit; color: inherit; --ol: 0; }
.acx-impact .acx-combo {
  right: 8%; top: 8%; font: 22px/1 "MT Bangers", "Bangers", sans-serif; color: #fff;
  background: #1a1033; padding: 4px 8px; border-radius: 8px; text-shadow: none; transform: rotate(8deg);
}

/* ---- C Holofoil ---- */
.acx-holo {
  flex-direction: row; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 22px; overflow: visible;
  background:
    linear-gradient(125deg, rgba(255,255,255,.35), transparent 36%, color-mix(in srgb, var(--accent) 25%, transparent) 52%, transparent 70%),
    linear-gradient(165deg, color-mix(in srgb, var(--accent) 40%, #1a1440), #0c1020 60%, #1a1030);
  border: 1px solid color-mix(in srgb, var(--accent) 55%, #fff);
  box-shadow: 0 18px 36px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.25);
}
.acx-holo .acx-foil {
  position: absolute; inset: 0; border-radius: 22px; pointer-events: none;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,.25) 40%, rgba(192,132,252,.25) 50%, color-mix(in srgb, var(--accent) 30%, transparent) 60%, transparent 80%);
  mix-blend-mode: screen;
}
.acx-holo .acx-hero, .acx-holo .acx-side { position: relative; z-index: 2; }
.acx-holo .acx-side { display: flex; flex-direction: column; gap: 5px; min-width: 160px; }
.acx-holo .acx-name { font: 22px/1 "MT Lilita", "Lilita One", sans-serif; color: #fff; --ol: 0; }
.acx-holo .acx-info, .acx-holo .acx-gname { font: 700 13px/1.2 sans-serif; color: #f5d0fe; letter-spacing: .04em; }
.acx-holo .acx-coins { font: 24px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; }
.acx-holo .acx-combo { right: 10px; top: 8px; color: var(--accent); text-shadow: 0 0 12px var(--accent), 0 2px 0 #041016; font: 26px/1 "MT Luckiest", "Luckiest Guy", sans-serif; }

/* ---- D Mascottes ---- */
.acx-mascot { flex-direction: column; gap: 0; }
.acx-mascot .acx-pair { display: flex; align-items: flex-end; gap: 2px; position: relative; }
.acx-mascot .acx-masc {
  width: calc(var(--gift) * 1.45); height: calc(var(--gift) * 1.45); object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.45));
}
.acx-mascot.is-big .acx-masc { width: calc(var(--gift) * 1.65); height: calc(var(--gift) * 1.65); }
.acx-mascot.is-low .acx-masc { width: calc(var(--gift) * 1.2); height: calc(var(--gift) * 1.2); }
.acx-mascot .acx-chip {
  display: flex; align-items: center; gap: 8px; margin-top: -4px;
  background: rgba(12,10,28,.78); border: 1px solid color-mix(in srgb, var(--accent) 50%, transparent);
  padding: 5px 12px 6px; border-radius: 999px; backdrop-filter: blur(8px);
}
.acx-mascot .acx-name { font: 20px/1 "MT Lilita", "Lilita One", sans-serif; color: #fff; --ol: 0; }
.acx-mascot .acx-info, .acx-mascot .acx-gname { font: 13px/1.2 sans-serif; color: #f5d0fe; }
.acx-mascot .acx-coins { font: 16px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; }
.acx-mascot .acx-combo { right: -8px; top: 8px; font: 26px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fff; --ol: 3px; --olc: #1a1033; }

/* ---- E Orbite ---- */
.acx-orbite { flex-direction: column; gap: 10px; }
.acx-orbite .acx-ring {
  width: calc(var(--gift) * 1.7); height: calc(var(--gift) * 1.7);
  position: relative; display: grid; place-items: center;
}
.acx-orbite .acx-ring::before, .acx-orbite .acx-ring::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.acx-orbite .acx-ring::before {
  inset: 0; border: 2px solid transparent;
  background: conic-gradient(from 200deg, var(--accent), #22d3ee, #f0abfc, var(--accent)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.acx-orbite .acx-ring::after { inset: 14%; border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent); }
.acx-orbite .acx-hero { position: relative; z-index: 2; }
.acx-orbite .acx-sat {
  position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; object-fit: contain; z-index: 3;
  transform: rotate(var(--ang)) translate(calc(var(--gift) * .78)) rotate(calc(var(--ang) * -1)) translate(-50%, -50%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.5));
}
.acx-orbite .acx-chip {
  display: flex; align-items: center; gap: 8px;
  background: rgba(10,14,28,.8); border: 1px solid color-mix(in srgb, var(--accent) 45%, #22d3ee);
  padding: 5px 12px 6px; border-radius: 999px;
}
.acx-orbite .acx-name { font: 20px/1 "MT Lilita", "Lilita One", sans-serif; color: #fff; --ol: 0; }
.acx-orbite .acx-info, .acx-orbite .acx-gname { font: 13px/1.2 sans-serif; color: #f5d0fe; }
.acx-orbite .acx-coins { font: 16px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: #fde68a; }
.acx-orbite .acx-combo { right: -6px; top: -4px; font: 24px/1 "MT Luckiest", "Luckiest Guy", sans-serif; color: var(--accent); text-shadow: 0 0 10px var(--accent); }

/* thumbs / galerie */
.ov-cat-preview .fx-prev-alert:has(.acx-impact),
.ov-des-card .fx-prev-alert:has(.acx-impact) { --fxs: .42 !important; }
.ov-cat-preview .fx-prev-alert:has(.acx-holo),
.ov-des-card .fx-prev-alert:has(.acx-holo),
.ov-cat-preview .fx-prev-alert:has(.acx-mascot),
.ov-des-card .fx-prev-alert:has(.acx-mascot) { --fxs: .46 !important; }
.ov-cat-preview .fx-prev-alert:has(.acx-orbite),
.ov-des-card .fx-prev-alert:has(.acx-orbite) { --fxs: .5 !important; }
.ov-cat-preview .fx-prev-alert:has(.acx-selene) { --fxs: .55 !important; }
.ov-prev-alertc { position: relative; display: grid; place-items: center; min-height: 90px; overflow: hidden; }


/* t162 contain-fit gallery thumbs */
.ov-cat-preview, .ov-des-card .ov-cat-preview, .ov-prev-alertc, .ov-prev-follow, .ov-prev-alertf {
  overflow: hidden !important;
  display: grid !important;
  place-items: center;
  min-height: 90px;
}
.ov-cat-preview .acx, .ov-cat-preview .flx,
.ov-prev-alertc .acx, .ov-prev-follow .flx, .ov-prev-alertf .flx {
  transform: scale(var(--fxs, .52));
  transform-origin: center center;
}
.ov-cat-preview .ov-prev-catalog,
.ov-cat-preview svg { width:100%; height:100%; max-width:100%; max-height:100%; object-fit:contain; display:block; }


/* t163 contain-fit for texte / canon / feux / bandeau thumbs */
.ov-cat-preview .ov-prev-at, .ov-cat-preview .ov-prev-text,
.ov-cat-preview .ov-prev-canon, .ov-cat-preview .ov-prev-feux, .ov-cat-preview .ov-prev-bandeau,
.ov-des-card .ov-prev-at, .ov-des-card .ov-prev-canon, .ov-des-card .ov-prev-feux, .ov-des-card .ov-prev-bandeau {
  overflow: hidden !important;
  display: grid !important;
  place-items: center;
  min-height: 90px;
}
