/* MoonTik t169 — cycle des styles + démo animée, cartes « Créer un widget ». */

.ov-cat-preview.mt-cyc {
  position: relative;
  isolation: isolate;
}
.ov-cat-preview.mt-cyc .mt-cyc-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: inherit;
}
.ov-cat-preview.mt-cyc .mt-cyc-layer {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 480ms ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on {
  opacity: 1;
  z-index: 1;
}
.ov-cat-preview.mt-cyc .mt-cyc-layer > .ov-live-preview,
.ov-cat-preview.mt-cyc .mt-cyc-layer > .ov-inline,
.ov-cat-preview.mt-cyc .mt-cyc-layer > .ov-native-frame,
.ov-cat-preview.mt-cyc .mt-cyc-layer > .mt-cyc-mock {
  width: 100%;
  height: 100%;
}

.ov-cat-preview.mt-cyc .mt-cyc-caption {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}
.ov-cat-preview.mt-cyc .mt-cyc-name {
  font: 700 9px/1.2 system-ui, "Segoe UI", sans-serif;
  color: #eef8ff;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
  background: rgba(8, 12, 22, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  backdrop-filter: blur(6px);
}
.ov-cat-preview.mt-cyc .mt-cyc-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3px;
  max-width: 100%;
  pointer-events: auto;
}
.ov-cat-preview.mt-cyc .mt-cyc-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(255, 255, 255, 0.32);
  cursor: pointer;
}
.ov-cat-preview.mt-cyc .mt-cyc-dots button.is-on {
  background: #7ee3ff;
  box-shadow: 0 0 6px #7ee3ff;
  transform: scale(1.15);
}
.ov-cat-preview.mt-cyc .mt-cyc-dots button:focus-visible {
  outline: 1px solid #7ee3ff;
  outline-offset: 1px;
}

/* Relancer les démos figées dans les thumbs de la galerie. */
.ov-cat-preview.mt-cyc .bdx-run,
.ov-cat-preview.mt-cyc .ov-bd-track,
.ov-cat-preview.mt-cyc .bt-vinyl,
.ov-cat-preview.mt-cyc .gift.is-anime,
.ov-cat-preview.mt-cyc .ov-f-item,
.ov-cat-preview.mt-cyc .ov-fx-burst i,
.ov-cat-preview.mt-cyc .ov-fx-core,
.ov-cat-preview.mt-cyc .ov-mu,
.ov-cat-preview.mt-cyc .ov-at,
.ov-cat-preview.mt-cyc .ov-lu-lv b {
  animation-play-state: running !important;
}
.ov-cat-preview.mt-cyc .bt-vinyl.is-frozen {
  animation: mtCycSpin 4s linear infinite !important;
}
.ov-cat-preview.mt-cyc .ov-mu,
.ov-cat-preview.mt-cyc .ov-at,
.ov-cat-preview.mt-cyc .ov-lu-lv b {
  animation: mtCycPop 0.7s cubic-bezier(0.2, 1.4, 0.3, 1) both !important;
  opacity: 1 !important;
  transform: none;
}

@keyframes mtCycPop {
  0% { opacity: 0; transform: scale(0.72) translateY(10px); }
  58% { opacity: 1; transform: scale(1.06) translateY(0); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes mtCycSpin {
  to { transform: rotate(360deg); }
}
@keyframes mtCycFillX {
  from { transform: scaleX(0.28); }
  to { transform: scaleX(1); }
}
@keyframes mtCycFillY {
  from { transform: scaleY(0.28); }
  to { transform: scaleY(1); }
}
@keyframes mtCycRise {
  0% { transform: translateY(18px); opacity: 0; }
  18% { opacity: 1; }
  100% { transform: translateY(-22px); opacity: 0.2; }
}
@keyframes mtCycPulse {
  0%, 100% { transform: scale(1); }
  45% { transform: scale(1.08); }
}
@keyframes mtCycSlideIn {
  from { opacity: 0; transform: translateX(-12px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes mtCycFlash {
  0%, 100% { filter: brightness(1); }
  40% { filter: brightness(1.8); }
}
@keyframes mtCycCount {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
@keyframes mtCycShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-alertc,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-follow,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-alertf,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .fx-prev-alert,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-at,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-text,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .acx,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .flx,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .atx {
  animation: mtCycPop 0.75s cubic-bezier(0.2, 1.4, 0.3, 1) both;
}
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-lb li:first-child,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-rk .rk-row:first-child,
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-tt [data-rank="1"],
.ov-cat-preview.mt-cyc .mt-cyc-layer.is-on .ov-prev-tp li:first-child {
  animation: mtCycSlideIn 0.55s ease both;
}

/* ---- mocks légers (pas d'iframe) ---- */
.mt-cyc-mock {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: system-ui, "Segoe UI", sans-serif;
  color: #fff;
  display: grid;
  place-items: center;
}
.mt-cyc-mock b, .mt-cyc-mock strong { font-weight: 800; }

/* Bocal */
.mt-cyc-jar { background: radial-gradient(circle at 50% 0%, #1c2440, #0b1020 70%); }
.mt-cyc-jar .jar {
  position: relative;
  width: 46%;
  height: 68%;
  border-radius: 12% 12% 46% 46%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04));
  box-shadow: inset 0 8px 14px rgba(255, 255, 255, 0.28), inset 0 -10px 16px rgba(0, 20, 40, 0.25), 0 8px 16px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
.mt-cyc-jar .jar::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 8%;
  width: 22%;
  height: 40%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), transparent);
}
.mt-cyc-jar .rim {
  position: absolute;
  top: 12%;
  width: 28%;
  height: 7%;
  border-radius: 4px;
  background: linear-gradient(180deg, #d9e4f2, #8a97ab);
  box-shadow: 0 2px 0 #5b6574;
}
.mt-cyc-jar .liq {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 62%;
  transform-origin: bottom;
  animation: mtCycFillY 2.4s ease-in-out infinite alternate;
  background: var(--liq, #f5b042);
  box-shadow: inset 0 8px 10px rgba(255, 255, 255, 0.25);
}
.mt-cyc-jar .gift {
  position: absolute;
  font-size: 12px;
  animation: mtCycRise 2.6s ease-in infinite;
}
.mt-cyc-jar .coins {
  position: absolute;
  bottom: 8%;
  font: 800 10px/1 system-ui;
  color: #ffe9a8;
  text-shadow: 0 1px 3px #000;
}
.mt-cyc-jar[data-skin-key="cristal"] { --liq: linear-gradient(180deg, #c4f3ff, #7ad7f0); }
.mt-cyc-jar[data-skin-key="neon"] { --liq: linear-gradient(180deg, #ff4dff, #7c3aed); }
.mt-cyc-jar[data-skin-key="neon"] .jar { box-shadow: inset 0 0 16px #ff4dff, 0 0 14px #7c3aed; }
.mt-cyc-jar[data-skin-key="realiste"] { --liq: linear-gradient(180deg, #ffe08a, #c47a14); }
.mt-cyc-jar[data-skin-key="realiste"] .jar { border-color: rgba(220, 240, 255, 0.8); background: linear-gradient(180deg, rgba(200,230,255,.28), rgba(255,255,255,.05)); }
.mt-cyc-jar[data-skin-key="ambre"] { --liq: linear-gradient(180deg, #ffd27a, #d97706); }
.mt-cyc-jar[data-skin-key="azur"] { --liq: linear-gradient(180deg, #7dd3fc, #0369a1); }
.mt-cyc-jar[data-skin-key="rose"] { --liq: linear-gradient(180deg, #fecdd3, #e11d48); }
.mt-cyc-jar[data-skin-key="lune"] { --liq: linear-gradient(180deg, #e9d5ff, #6d28d9); }
.mt-cyc-jar[data-skin-key="ruban"] { --liq: linear-gradient(180deg, #fda4af, #be123c); }
.mt-cyc-jar[data-skin-key="classique"] { --liq: linear-gradient(180deg, #fde68a, #f59e0b); }

/* Carte viewer */
.mt-cyc-pv { background: radial-gradient(circle at 30% 20%, #2a2154, #0e0c1c 72%); }
.mt-cyc-pv .pv {
  width: 86%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(16, 14, 32, 0.85);
  border: 1px solid rgba(167, 139, 250, 0.45);
  animation: mtCycPop 0.7s ease both;
}
.mt-cyc-pv .av {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #c4b5fd, #38bdf8);
  flex: none;
}
.mt-cyc-pv .who { font: 800 10px/1.2 system-ui; }
.mt-cyc-pv .pts { font: 800 11px/1 system-ui; color: #fde68a; }
.mt-cyc-pv[data-skin-key="nebula"] .pv {
  background: #f8e9c8; color: #1a1020; border: 2px solid #1a1020;
  box-shadow: 3px 3px 0 #1a1020; border-radius: 4px;
}
.mt-cyc-pv[data-skin-key="nebula"] .pts { color: #be123c; }
.mt-cyc-pv[data-skin-key="aurora"] .pv {
  background: linear-gradient(90deg, #0f172a, #1e1b4b 40%, #0f172a);
  border-color: #22d3ee;
  box-shadow: 0 0 12px #22d3ee88;
}
.mt-cyc-pv[data-skin-key="manga"] .pv {
  background: #fff7e8; color: #111; border: 2px solid #111; border-radius: 2px;
  box-shadow: 4px 4px 0 #111;
}
.mt-cyc-pv[data-skin-key="level"] .pv {
  border-radius: 999px; padding: 6px 12px;
  background: #1e1b4b; border-color: #a78bfa;
}
.mt-cyc-pv[data-skin-key="runner"] .pv { width: 92%; border-radius: 8px; background: linear-gradient(90deg, #111827, #312e81); }
.mt-cyc-pv[data-skin-key="lune"] .pv,
.mt-cyc-pv[data-skin-key="clair"] .pv,
.mt-cyc-pv[data-skin-key="observatoire"] .pv,
.mt-cyc-pv[data-skin-key="holo"] .pv {
  flex-direction: column;
  width: 58%;
  aspect-ratio: 3/4;
  justify-content: flex-end;
  text-align: center;
  padding: 10px 8px 12px;
}
.mt-cyc-pv[data-skin-key="lune"] .pv { background: linear-gradient(180deg, #0b1224, #1e1b4b); border-color: #c4b5fd; }
.mt-cyc-pv[data-skin-key="clair"] .pv { background: linear-gradient(180deg, #eef2ff, #c7d2fe); color: #1e1b4b; }
.mt-cyc-pv[data-skin-key="clair"] .pts { color: #6d28d9; }
.mt-cyc-pv[data-skin-key="observatoire"] .pv { background: linear-gradient(180deg, #3f3f46, #18181b); border-color: #a1a1aa; }
.mt-cyc-pv[data-skin-key="holo"] .pv {
  background: linear-gradient(135deg, #fb7185, #a78bfa, #38bdf8, #fbbf24);
  background-size: 200% 200%;
  animation: mtCycPop 0.7s ease both, mtCycShimmer 3s linear infinite;
  color: #0b1020;
  border: 0;
}

/* Élimination */
.mt-cyc-elim { background: radial-gradient(circle at 50% 20%, #3f1720, #12080e 70%); }
.mt-cyc-elim .grid {
  display: grid;
  grid-template-columns: repeat(3, 28px);
  gap: 6px;
}
.mt-cyc-elim .p {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c, #7dd3fc), #1e3a5f);
  position: relative;
  box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}
.mt-cyc-elim .p.is-out::after {
  position: absolute;
  inset: -2px;
  display: grid;
  place-items: center;
  font: 800 16px/1 system-ui;
  color: #fb7185;
  text-shadow: 0 1px 2px #000;
}
.mt-cyc-elim[data-skin-key="x"] .p.is-out::after { content: "×"; }
.mt-cyc-elim[data-skin-key="skull"] .p.is-out::after { content: "☠"; font-size: 13px; }
.mt-cyc-elim[data-skin-key="soft"] .p.is-out {
  opacity: 0.28;
  filter: grayscale(1);
}
.mt-cyc-elim[data-skin-key="soft"] .p.is-out::after { content: none; }
.mt-cyc-elim .p.is-out { animation: mtCycFlash 1.6s ease-in-out infinite; }

/* Battles */
.mt-cyc-battle { background: radial-gradient(circle at 50% 0%, #2a1030, #0c0814 70%); }
.mt-cyc-battle .vs {
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.mt-cyc-battle .teams { display: flex; width: 100%; justify-content: space-between; font: 800 10px system-ui; }
.mt-cyc-battle .bar {
  width: 100%; height: 8px; border-radius: 99px; overflow: hidden;
  background: #1f2937; display: flex;
}
.mt-cyc-battle .bar i:first-child { width: 58%; background: #ef4444; animation: mtCycFillX 2.2s ease both; transform-origin: left; display: block; }
.mt-cyc-battle .bar i:last-child { flex: 1; background: #22d3ee; }
.mt-cyc-battle[data-skin-key="nebuleuse"] .bar i:first-child { background: #f43f5e; }
.mt-cyc-battle[data-skin-key="nebuleuse"] { background: radial-gradient(circle at 20% 0%, #3b1020, #140c08 70%); }
.mt-cyc-battle[data-skin-key="goat"] .teams { color: #fde68a; letter-spacing: .08em; }
.mt-cyc-battle[data-kind="top"] .list { width: 90%; font: 700 8px/1.6 system-ui; }
.mt-cyc-battle[data-kind="victoire"] .cup { font-size: 36px; animation: mtCycPulse 1.4s ease-in-out infinite; }
.mt-cyc-battle[data-kind="mvp"] .hero { text-align: center; }
.mt-cyc-battle[data-kind="mvp"] .av { width: 36px; height: 36px; border-radius: 50%; margin: 0 auto 4px; background: linear-gradient(135deg,#fde68a,#f59e0b); }
.mt-cyc-battle[data-kind="parties"] .score { font: 900 22px/1 system-ui; }

/* Win counter */
.mt-cyc-win { background: radial-gradient(circle at 50% 20%, #1e293b, #0b1020); }
.mt-cyc-win .w { text-align: center; animation: mtCycPop 0.7s ease both; }
.mt-cyc-win .w em { display: block; font: 800 9px system-ui; letter-spacing: .16em; opacity: .7; }
.mt-cyc-win .w b { font: 900 28px/1 system-ui; animation: mtCycCount 1.2s ease-in-out infinite; }
.mt-cyc-win[data-skin-key="contour"] .w b { color: #fff; text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000, 3px 3px 0 #f59e0b; }
.mt-cyc-win[data-skin-key="manga"] .w { background: #f8e9c8; color: #111; padding: 8px 12px; border: 2px solid #111; box-shadow: 3px 3px 0 #111; }
.mt-cyc-win[data-skin-key="sticker"] .w { transform: rotate(-4deg); background: #fff; color: #be123c; padding: 8px 12px; border-radius: 8px; box-shadow: 2px 3px 0 #0ea5e9; }

/* Lucky, spotify, timer, records, stats, media, jumpscare */
.mt-cyc-lucky { background: radial-gradient(circle at 50% 0%, #3b1d0a, #120806); }
.mt-cyc-lucky .box { width: 86%; text-align: center; padding: 8px; border-radius: 12px; background: rgba(0,0,0,.4); border: 1px solid #f5c542; }
.mt-cyc-lucky .box .g { font-size: 22px; }
.mt-cyc-lucky .meter { height: 6px; border-radius: 99px; background: #27272a; overflow: hidden; margin-top: 6px; }
.mt-cyc-lucky .meter i { display: block; height: 100%; width: 48%; background: #f5c542; transform-origin: left; animation: mtCycFillX 2s ease-in-out infinite alternate; }
.mt-cyc-lucky[data-skin-key="shop"] .box { background: #1c1917; border-color: #d6d3d1; border-radius: 4px; }
.mt-cyc-lucky[data-skin-key="salon"] .box { background: #3b1d4a; border-color: #e879f9; }
.mt-cyc-lucky[data-skin-key="neon"] .box { border-color: #22d3ee; box-shadow: 0 0 12px #22d3ee88; }

.mt-cyc-spot { background: #0b0f14; }
.mt-cyc-spot .np { width: 90%; display: flex; gap: 8px; align-items: center; }
.mt-cyc-spot .cov { width: 36px; height: 36px; border-radius: 6px; background: linear-gradient(135deg, #1db954, #064e3b); flex: none; animation: mtCycPulse 2s ease-in-out infinite; }
.mt-cyc-spot .meta { flex: 1; min-width: 0; }
.mt-cyc-spot .meta b { display: block; font: 800 10px system-ui; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mt-cyc-spot .meta span { font: 600 8px system-ui; opacity: .7; }
.mt-cyc-spot .prog { height: 3px; background: #27272a; border-radius: 99px; margin-top: 4px; overflow: hidden; }
.mt-cyc-spot .prog i { display: block; height: 100%; width: 62%; background: #1db954; transform-origin: left; animation: mtCycFillX 3s linear infinite; }
.mt-cyc-spot[data-skin-key="cover"] { background: #04110a; }
.mt-cyc-spot[data-skin-key="cover"] .cov { width: 52px; height: 52px; }
.mt-cyc-spot[data-skin-key="neon"] .np { padding: 6px; border: 1px solid #1db954; border-radius: 10px; box-shadow: 0 0 10px #1db95466; }

.mt-cyc-timer { background: #0c1018; }
.mt-cyc-timer .t { font: 900 28px/1 ui-monospace, monospace; letter-spacing: .04em; animation: mtCycCount 1s ease-in-out infinite; }
.mt-cyc-timer[data-skin-key="contour"] .t { text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000; }
.mt-cyc-timer[data-skin-key="nebuleuse"] .t { background: #f8e9c8; color: #be123c; padding: 6px 10px; border: 2px solid #111; }
.mt-cyc-timer[data-skin-key="sticker"] .t { transform: rotate(-3deg); background: #fff; color: #0f172a; padding: 6px 10px; border-radius: 8px; }

.mt-cyc-rec { background: #12101c; }
.mt-cyc-rec .card { width: 86%; padding: 8px 10px; border-radius: 12px; background: #1e1b4b; border: 1px solid #a78bfa; }
.mt-cyc-rec .card em { font: 800 8px system-ui; letter-spacing: .14em; opacity: .7; }
.mt-cyc-rec .card b { display: block; font: 900 18px system-ui; color: #fde68a; }
.mt-cyc-rec[data-skin-key="contour"] .card { background: transparent; border: 2px solid #fff; box-shadow: 3px 3px 0 #000; }
.mt-cyc-rec[data-skin-key="nebuleuse"] .card { background: #f8e9c8; color: #111; border: 2px solid #111; }
.mt-cyc-rec[data-skin-key="nebuleuse"] .card b { color: #be123c; }
.mt-cyc-rec[data-skin-key="sticker"] .card { transform: rotate(-3deg); background: #fff; color: #0f172a; border: 0; box-shadow: 2px 3px 0 #38bdf8; }

.mt-cyc-stats { background: #10131c; }
.mt-cyc-stats .row { display: flex; gap: 6px; width: 90%; }
.mt-cyc-stats .chip { flex: 1; text-align: center; padding: 6px 2px; border-radius: 8px; background: #1e293b; font: 800 8px/1.3 system-ui; }
.mt-cyc-stats .chip b { display: block; font-size: 12px; animation: mtCycCount 1.4s ease-in-out infinite; }
.mt-cyc-stats[data-skin-key="orbite"] .chip { border: 1px solid #38bdf8; }
.mt-cyc-stats[data-skin-key="comete"] .chip { background: #1c1917; border-bottom: 2px solid #fb923c; }
.mt-cyc-stats[data-skin-key="phenix"] .chip { background: linear-gradient(180deg, #7f1d1d, #1c1917); }
.mt-cyc-stats[data-skin-key="nebuleuse"] .chip { background: #f8e9c8; color: #111; }
.mt-cyc-stats[data-skin-key="arcade"] .chip { background: #0a0014; color: #f0abfc; border: 1px solid #e879f9; font-family: ui-monospace, monospace; }

.mt-cyc-js { background: #050505; }
.mt-cyc-js .boom { font: 900 28px/1 system-ui; animation: mtCycFlash 0.8s ease-in-out infinite, mtCycPop 0.5s ease both; }
.mt-cyc-js[data-skin-key="neon"] .boom { color: #22d3ee; text-shadow: 0 0 12px #22d3ee; }
.mt-cyc-js[data-skin-key="minimal"] .boom { font-size: 16px; letter-spacing: .2em; }

.mt-cyc-media { background: #0f172a; }
.mt-cyc-media .frame { width: 80%; aspect-ratio: 16/10; border-radius: 8px; border: 2px solid #64748b; background: repeating-linear-gradient(45deg, #1e293b 0 8px, #0f172a 8px 16px); display: grid; place-items: center; font: 800 10px system-ui; }
.mt-cyc-media[data-skin-key="loop"] .frame { animation: mtCycPulse 1.6s ease-in-out infinite; }
.mt-cyc-media[data-skin-key="burst"] .frame { animation: mtCycFlash 0.9s ease-in-out infinite; border-color: #fbbf24; }

/* Chat / hist / combo */
.mt-cyc-chat { background: #0c1018; align-content: end; padding: 8px; }
.mt-cyc-chat .msg { display: flex; gap: 5px; align-items: flex-start; margin: 3px 0; font: 650 8px/1.3 system-ui; animation: mtCycSlideIn 0.45s ease both; }
.mt-cyc-chat .av { width: 14px; height: 14px; border-radius: 50%; flex: none; background: var(--c, #7dd3fc); }
.mt-cyc-chat[data-skin-key="bulles"] .msg span.body { background: rgba(255,255,255,.08); padding: 3px 7px; border-radius: 9px 9px 9px 2px; }
.mt-cyc-chat[data-skin-key="liste"] .msg { border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 3px; }
.mt-cyc-chat[data-skin-key="minimal"] .av { display: none; }
.mt-cyc-chat .msg:nth-child(2) { animation-delay: .15s; }
.mt-cyc-chat .msg:nth-child(3) { animation-delay: .3s; }

.mt-cyc-hist { background: #10131c; padding: 8px; align-content: start; }
.mt-cyc-hist .hd { font: 800 8px system-ui; letter-spacing: .12em; opacity: .7; margin-bottom: 6px; }
.mt-cyc-hist[data-skin-key="liste"] .row { font: 650 8px/1.5 system-ui; }
.mt-cyc-hist[data-skin-key="cartes"] .wall { display: flex; gap: 4px; }
.mt-cyc-hist[data-skin-key="cartes"] .g { width: 28%; aspect-ratio: 1; border-radius: 8px; background: #1e293b; display: grid; place-items: center; font-size: 14px; animation: mtCycPop 0.6s ease both; }
.mt-cyc-hist[data-skin-key="mur"] .wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; }
.mt-cyc-hist[data-skin-key="mur"] .g { aspect-ratio: 1; display: grid; place-items: center; font-size: 12px; background: #1e293b; border-radius: 4px; }

.mt-cyc-cg { background: #0c1018; padding: 6px; align-content: stretch; }
.mt-cyc-cg[data-skin-key="separe"] { display: grid; grid-template-rows: 1fr 1fr; gap: 4px; }
.mt-cyc-cg[data-skin-key="separe"] .pane { background: rgba(255,255,255,.04); border-radius: 8px; padding: 4px; font: 650 8px system-ui; }
.mt-cyc-cg[data-skin-key="empile"] .row, .mt-cyc-cg[data-skin-key="compact"] .row { font: 650 8px/1.5 system-ui; }
.mt-cyc-cg[data-skin-key="compact"] .row { white-space: nowrap; overflow: hidden; }

/* Coeur simple, enchère, likes fallback */
.mt-cyc-heart { background: radial-gradient(circle at 50% 20%, #3f1728, #12080e); }
.mt-cyc-heart .h {
  width: 48%; aspect-ratio: 1;
  background: radial-gradient(circle at 30% 30%, #fb7185, #be123c);
  clip-path: path("M16 28 C16 12 0 12 0 24 C0 36 16 44 24 52 C32 44 48 36 48 24 C48 12 32 12 24 22 C16 12 16 12 16 28");
  transform: scale(1.2);
  position: relative;
  animation: mtCycPulse 1.3s ease-in-out infinite;
}
.mt-cyc-heart .fill {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62%;
  background: #f43f5e; transform-origin: bottom;
  animation: mtCycFillY 2.2s ease-in-out infinite alternate;
}
.mt-cyc-heart[data-skin-key="contour"] .h { filter: drop-shadow(0 0 0 #000) drop-shadow(2px 2px 0 #000); }
.mt-cyc-heart[data-skin-key="nebuleuse"] { background: #f8e9c8; }
.mt-cyc-heart[data-skin-key="sticker"] .h { transform: scale(1.2) rotate(-8deg); filter: drop-shadow(2px 3px 0 #38bdf8); }

.mt-cyc-ench { background: #10131c; }
.mt-cyc-ench .box { width: 88%; }
.mt-cyc-ench .clk { font: 900 16px ui-monospace, monospace; text-align: center; margin-bottom: 6px; }
.mt-cyc-ench .row { display: flex; justify-content: space-between; font: 700 8px system-ui; padding: 2px 0; }
.mt-cyc-ench[data-skin-key="arcade"] .box { font-family: ui-monospace, monospace; color: #86efac; }
.mt-cyc-ench[data-skin-key="prestige"] .clk { color: #fde68a; }

.mt-cyc-generic { background: radial-gradient(circle at 30% 20%, #243149, #10131c 70%); }
.mt-cyc-generic .g {
  width: 80%; text-align: center; padding: 10px;
  border-radius: 12px; border: 1px solid rgba(126,227,255,.35);
  background: rgba(0, 0, 0, .28);
  animation: mtCycPop 0.7s ease both;
}
.mt-cyc-generic .g b { display: block; font-size: 11px; }
.mt-cyc-generic .g span { font: 700 9px system-ui; color: #7ee3ff; }


/* Canon & feux */
.mt-cyc-canon { background: radial-gradient(circle at 50% 80%, #2a1840, #0b1020 70%); }
.mt-cyc-canon .stage { position: relative; width: 100%; height: 100%; }
.mt-cyc-canon .gun { position: absolute; left: 8%; bottom: 10%; font-size: 28px; transform: rotate(-28deg); }
.mt-cyc-canon .shot {
  position: absolute; left: 28%; bottom: 28%; font-size: 16px;
  animation: mtCycRise 1.4s ease-in infinite;
}
.mt-cyc-canon .who { position: absolute; left: 8%; bottom: 4%; font: 800 9px system-ui; }
.mt-cyc-canon[data-skin-key="cirque"] { background: radial-gradient(circle at 50% 80%, #7f1d1d, #1c0a0a 70%); }
.mt-cyc-canon[data-skin-key="arcade"] { background: repeating-linear-gradient(45deg, #0b0b1c 0 8px, #16162a 8px 16px); }
.mt-cyc-canon[data-skin-key="arcade"] .gun { filter: hue-rotate(80deg); }
.mt-cyc-canon[data-skin-key="pixel"] { image-rendering: pixelated; }
.mt-cyc-canon[data-skin-key="pixel"] .gun { font-size: 24px; }
.mt-cyc-canon[data-skin-key="selene"] { background: radial-gradient(circle at 70% 10%, #4c1d95, #0b1020 65%); }

.mt-cyc-feux { background: radial-gradient(circle at 50% 60%, #1e1b4b, #05060c 70%); }
.mt-cyc-feux .burst { font-size: 36px; animation: mtCycPulse 1.1s ease-in-out infinite; }
.mt-cyc-feux .bits { position: absolute; inset: 0; }
.mt-cyc-feux .bits i {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: var(--c, #fde68a);
  animation: mtCycRise 1.6s ease-out infinite;
}
.mt-cyc-feux[data-skin-key="cercle"] .burst { box-shadow: 0 0 0 18px rgba(253,224,71,.18), 0 0 0 32px rgba(253,224,71,.08); border-radius: 50%; }
.mt-cyc-feux[data-skin-key="etoile"] .burst { filter: drop-shadow(0 0 8px #fde68a); }
.mt-cyc-feux[data-skin-key="spirale"] .burst { animation: mtCycSpin 2.2s linear infinite, mtCycPulse 1.4s ease-in-out infinite; }
.mt-cyc-feux[data-skin-key="selene"] { background: radial-gradient(circle at 70% 10%, #4c1d95, #0b1020 65%); }
.mt-cyc-feux[data-skin-key="orbite"] .burst { box-shadow: 0 0 0 12px rgba(56,189,248,.3), 0 0 0 22px rgba(56,189,248,.12); border-radius: 50%; }


/* Fontaines de cœurs — 4 styles bien distincts */
.mt-cyc-hf { background: radial-gradient(circle at 50% 20%, #3f1728, #12080e 70%); }
.mt-cyc-hf .h { position: absolute; font-size: 22px; animation: mtCycRise 2.6s ease-in infinite; filter: drop-shadow(0 2px 2px rgba(0,0,0,.4)); }
.mt-cyc-hf[data-skin-key="balloon"] .h {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 28%, rgba(255,255,255,.55), rgba(255,200,220,.15) 50%, rgba(255,255,255,.08));
  border: 1px solid rgba(255,255,255,.4);
  box-shadow: inset 0 -3px 6px rgba(80,0,40,.15);
  font-size: 16px;
}
.mt-cyc-hf[data-skin-key="winged"] .h { font-size: 20px; }
.mt-cyc-hf[data-skin-key="rose"] { background: radial-gradient(circle at 50% 20%, #7f1d1d, #1c0a0a 70%); }
.mt-cyc-hf[data-skin-key="neon"] { background: #050510; }
.mt-cyc-hf[data-skin-key="neon"] .h { color: #fb7185; text-shadow: 0 0 10px #fb7185, 0 0 18px #f43f5e; }

/* Cœur à remplir plus lisible par style */
.mt-cyc-heart[data-skin-key="contour"] { background: #0b1020; }
.mt-cyc-heart[data-skin-key="contour"] .h {
  background: #fff;
  filter: drop-shadow(0 0 0 #000) drop-shadow(3px 3px 0 #000);
  -webkit-mask: none;
}
.mt-cyc-heart[data-skin-key="contour"] .h { background: radial-gradient(circle at 30% 30%, #fb7185, #9f1239); outline: 3px solid #fff; }
.mt-cyc-heart[data-skin-key="nebuleuse"] .h { background: radial-gradient(circle at 30% 30%, #fb7185, #7f1d1d); box-shadow: 4px 4px 0 #111; }
.mt-cyc-heart[data-skin-key="sticker"] { background: #ffe4e6; }

@media (prefers-reduced-motion: reduce) {
  .ov-cat-preview.mt-cyc .mt-cyc-layer { transition: none; }
  .ov-cat-preview.mt-cyc * {
    animation: none !important;
    transition: none !important;
  }
}

/* t396a — iframe live lazy dans la carte, scale contain 1920x1080 */
.ov-cat-preview.mt-cyc .mt-cyc-live {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}
.ov-cat-preview.mt-cyc .mt-cyc-live iframe {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1920px;
  height: 1080px;
  border: 0;
  background: transparent;
  transform: translate(-50%,-50%) scale(0.12);
  transform-origin: center center;
  pointer-events: none;
}
.ov-cat-preview.mt-cyc .mt-cyc-stage.is-live .mt-cyc-layer {
  opacity: 0 !important;
}

/* t396 — Jumpscare galerie : 3 peaux distinctes */
.mt-cyc-js[data-skin-key="classique"] { background: radial-gradient(circle at 50% 40%, #3b1d6e, #05030a 70%); }
.mt-cyc-js[data-skin-key="classique"] .boom {
  color: #fff; text-shadow: 0 0 16px #c4b5fd, 0 0 28px #22d3ee;
  font: 900 28px/1 "Bangers", system-ui, sans-serif;
}
.mt-cyc-js[data-skin-key="neon"] { background: #02010a; }
.mt-cyc-js[data-skin-key="neon"] .boom {
  color: #22d3ee;
  text-shadow: 0 0 12px #22d3ee, 3px 0 #ff2bd6, -3px 0 #22d3ee;
  font: 900 26px/1 "Luckiest Guy", system-ui, sans-serif;
}
.mt-cyc-js[data-skin-key="minimal"] { background: #f8fafc; }
.mt-cyc-js[data-skin-key="minimal"] .boom {
  color: #111; font-size: 14px; letter-spacing: .42em; text-transform: uppercase;
  text-shadow: none; animation: none;
}
