/* Thème MoonTik — variables + variantes + éditeur FR */
:root {
  --mt-a: #c4b5fd;
  --mt-b: #22d3ee;
  --mt-c: #f472b6;
}
.mt-var-premium_verre {
  --mt-glass: rgba(255,255,255,.16);
  --mt-glass-border: rgba(255,255,255,.45);
  --mt-glass-shine: linear-gradient(125deg, rgba(255,255,255,.38), transparent 42%, rgba(255,255,255,.08) 60%, transparent);
}
.mt-var-nuit_lunaire {
  --mt-night: #070b16;
  --mt-night-2: #12182a;
  --mt-halo: color-mix(in srgb, var(--mt-a) 45%, transparent);
}
.mt-theme-ed { margin: 0 0 12px; }
.mt-theme-ed-h {
  font: 700 12px/1.2 "Segoe UI", system-ui, sans-serif;
  letter-spacing: .04em;
  color: #e8e4ff;
  margin: 0 0 4px;
}
.mt-theme-ed-h2 { margin-top: 12px; }
.mt-theme-ed-help {
  margin: 0 0 8px;
  font: 12px/1.35 "Segoe UI", system-ui, sans-serif;
  color: #9f95c4;
}
.mt-theme-pals, .mt-theme-vars { display: grid; gap: 7px; }
.mt-theme-pals { grid-template-columns: repeat(4, 1fr); }
.mt-theme-vars { grid-template-columns: repeat(2, 1fr); }
.mt-theme-pals button, .mt-theme-vars button {
  border: 1px solid rgba(255,255,255,.1);
  background: #0d0a1a;
  border-radius: 10px;
  color: #f5f3ff;
  cursor: pointer;
  padding: 7px 6px;
  text-align: left;
}
.mt-theme-pals button.active, .mt-theme-vars button.active {
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px rgba(167,139,250,.5);
}
.mt-theme-pals .sw {
  display: block; height: 16px; border-radius: 8px; margin-bottom: 4px;
  background: linear-gradient(90deg, var(--a), var(--b), var(--c));
}
.mt-theme-pals b, .mt-theme-vars b { display: block; font-size: 10px; font-weight: 700; }
.mt-theme-vars small { display: block; font-size: 9px; color: #9f95c4; line-height: 1.25; margin-top: 2px; }

/* Passe lunaire — ticket holo + carte verre, sans sphère de lune */
.pv-ticket {
  position: relative;
  width: min(560px, 92vw);
  display: flex;
  align-items: stretch;
  transform: perspective(900px) rotateY(-8deg) rotateX(3deg);
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.45));
  color: #f6f7ff;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.pv-ticket-stub {
  width: 72px;
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6px;
  border-radius: 18px 0 0 18px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mt-a, #c4b5fd) 55%, #1a1430), #12101c 70%);
  color: #fff;
  position: relative;
}
.pv-ticket-stub::before {
  content: "";
  position: absolute; inset: 8px -8px 8px auto; width: 16px;
  background: radial-gradient(circle at 0 10px, transparent 7px, currentColor 8px) 0 0 / 16px 20px;
  color: #070b14;
  opacity: .85;
}
.pv-ticket-stub .pv-tk-brand {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font: 800 13px/1 "Segoe UI", sans-serif;
  letter-spacing: .22em;
}
.pv-ticket-stub .pv-tk-mark {
  font: 800 10px/1 "Segoe UI", sans-serif;
  letter-spacing: .16em;
  opacity: .9;
}
.pv-ticket-card {
  flex: 1;
  position: relative;
  border-radius: 0 18px 18px 0;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.04) 38%, rgba(12,16,32,.72)),
    linear-gradient(165deg, #1a2240, #0c1224 60%, #15102a);
  border: 1px solid rgba(200,220,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28);
  backdrop-filter: blur(12px);
  padding: 16px 18px 14px;
}
.pv-ticket-card .pv-holo {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg,
    transparent 0 18%,
    color-mix(in srgb, var(--mt-a, #c4b5fd) 35%, transparent) 28%,
    color-mix(in srgb, var(--mt-b, #22d3ee) 40%, transparent) 45%,
    color-mix(in srgb, var(--mt-c, #f472b6) 30%, transparent) 58%,
    transparent 72%);
  mix-blend-mode: screen;
  opacity: .7;
  animation: pvHolo 7s linear infinite;
}
@keyframes pvHolo {
  0% { transform: translateX(-12%); opacity: .45; }
  50% { opacity: .8; }
  100% { transform: translateX(12%); opacity: .45; }
}
body.is-preview .pv-ticket-card .pv-holo { animation-duration: 10s; }
.pv-ticket-top {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1;
}
.pv-ticket-av {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, var(--mt-a, #c4b5fd), var(--mt-c, #f472b6));
  border: 2px solid rgba(255,255,255,.7);
  box-shadow: 0 0 0 3px rgba(12,16,32,.45);
  flex: 0 0 56px;
  font: 800 18px/1 "Segoe UI", sans-serif;
  color: #0b1020;
}
.pv-ticket-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-ticket-id { min-width: 0; flex: 1; }
.pv-ticket-name {
  font: 800 26px/1.05 "Segoe UI", sans-serif;
  letter-spacing: .02em;
  text-shadow: 0 1px 0 rgba(0,0,0,.35);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pv-ticket-rank {
  display: inline-flex; align-items: baseline; gap: 4px;
  margin-top: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.25);
  font: 700 12px/1.2 "Segoe UI", sans-serif;
  color: #e8e4ff;
}
.pv-ticket-rank b { font-size: 14px; color: #fff; }
.pv-ticket-stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}
.pv-ticket-stats div {
  background: rgba(8,12,24,.4);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 10px;
  padding: 8px 8px 7px;
  text-align: center;
}
.pv-ticket-stats span {
  display: block;
  font: 700 10px/1 "Segoe UI", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(230,236,255,.7);
  margin-bottom: 4px;
}
.pv-ticket-stats b {
  display: block;
  font: 800 22px/1 "Segoe UI", sans-serif;
  color: #fff;
  letter-spacing: .01em;
}
.pv-ticket-stats em {
  display: block;
  font: 600 10px/1 "Segoe UI", sans-serif;
  font-style: normal;
  color: color-mix(in srgb, var(--mt-b, #22d3ee) 80%, #fff);
  margin-top: 3px;
}
.pv-ticket-foot {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font: 600 11px/1 "Segoe UI", sans-serif;
  color: rgba(230,236,255,.75);
  letter-spacing: .04em;
}
.pv-ticket.mt-var-premium_verre .pv-ticket-card {
  background:
    var(--mt-glass-shine, linear-gradient(125deg, rgba(255,255,255,.38), transparent 42%, rgba(255,255,255,.08) 60%, transparent)),
    linear-gradient(165deg, rgba(255,255,255,.2), rgba(18,24,44,.7));
  border-color: var(--mt-glass-border, rgba(255,255,255,.45));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 0 24px color-mix(in srgb, var(--mt-a) 30%, transparent);
}
.pv-ticket.mt-var-nuit_lunaire .pv-ticket-card {
  background: linear-gradient(165deg, #12182a, #070b16 70%, #140e22);
  border-color: color-mix(in srgb, var(--mt-a) 40%, rgba(255,255,255,.2));
}
.pv-ticket.mt-var-nuit_lunaire .pv-ticket-stub {
  background: linear-gradient(180deg, #1a2248, #070b16);
}

/* Fontaine — cartes mode / design / cœur */
.mtf-hearts[hidden], .mtf-designs { }
.mtf-modes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 10px; }
.mtf-designs, .mtf-hearts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }
/* t476q : 4 styles de coeur en 2x2, jamais coupes ; cartes compressibles */
.mtf-mode, .mtf-design, .mtf-heart { min-width: 0; }
.mtf-designs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mtf-mode, .mtf-design, .mtf-heart {
  border: 1px solid rgba(255,255,255,.1);
  background: #0d0a1a;
  border-radius: 12px;
  color: #f5f3ff;
  cursor: pointer;
  padding: 8px 7px;
  text-align: left;
}
.mtf-mode.active, .mtf-design.active, .mtf-heart.active {
  border-color: #a78bfa;
  box-shadow: 0 0 0 1px rgba(167,139,250,.5), 0 0 16px rgba(124,58,237,.25);
}
.mtf-mode b, .mtf-design b, .mtf-heart b { display: block; font-size: 11px; margin-top: 4px; }
.mtf-mode small, .mtf-design small, .mtf-heart small { display: block; font-size: 9px; color: #9f95c4; line-height: 1.2; margin-top: 2px; }
/* Vraies vignettes des 4 styles de cœurs (ballon / ailé / rose / néon). */
.mtf-heart .mtf-dthumb {
  display: grid; place-items: center; height: 46px; border-radius: 10px;
  background: linear-gradient(150deg, #1a1334, #0c0a17);
  border: 1px solid rgba(255,255,255,.07); overflow: hidden;
}
.mtf-heart .mtf-dthumb svg { width: 40px; height: 40px; display: block; filter: drop-shadow(0 3px 6px rgba(0,0,0,.45)); }
.mtf-heart.active .mtf-dthumb { border-color: rgba(167,139,250,.55); box-shadow: 0 0 12px rgba(124,58,237,.25); }
#ovFontaineFields[data-mode="gifts"] .mtf-hearts-card { display: none; }
/* Fontaine de cadeaux et fontaines de cœurs sont deux widgets distincts :
   chaque mode ne montre que ses propres réglages. */
#ovFontaineFields[data-mode="hearts"] .mtf-gifts-only { display: none !important; }
#ovFontaineFields[data-mode="hearts"] .mtf-bubbles-row { display: none; }

.pv-holder[data-render="ticket"] { filter: none !important; }

/* ------------------------------------------------------------------ */
/* Carte · Clair de lune — passe portrait, esprit Passe lunaire        */
/* Fond widget déjà transparent (OBS). Aucune sphère 3D.               */
/* Sélecteurs plus spécifiques que .pv-ticket-stub .pv-tk-brand        */
/* (mt_theme.css est chargé après mt_passe_viewer.css).                */
/* ------------------------------------------------------------------ */
.pv-ticket.pv-clair {
  width: min(300px, 92vw);
  flex-direction: column;
  align-items: stretch;
  transform: none;
  filter: drop-shadow(0 18px 34px rgba(4, 8, 20, .55));
  color: #f4f6ff;
  font-family: "Segoe UI", system-ui, sans-serif;
}
.pv-ticket.pv-clair .pv-ticket-stub {
  width: 100%;
  flex: 0 0 auto;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  height: 42px;
  min-height: 42px;
  max-height: 42px;
  padding: 0 16px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #16122c 0%, #2a2458 48%, #141028 100%);
  color: #f6f3e8;
}
.pv-ticket.pv-clair .pv-ticket-stub::before { display: none; content: none; }
.pv-ticket.pv-clair .pv-ticket-stub .pv-tk-brand {
  writing-mode: horizontal-tb;
  transform: none;
  font: 800 11px/1 "Segoe UI", sans-serif;
  letter-spacing: .28em;
}
.pv-ticket.pv-clair .pv-ticket-stub .pv-tk-mark {
  writing-mode: horizontal-tb;
  transform: none;
  font: 800 9px/1 "Segoe UI", sans-serif;
  letter-spacing: .18em;
  opacity: .8;
}
.pv-ticket.pv-clair .pv-clair-moon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  flex: 0 0 16px;
  background: #f3edd4;
  box-shadow:
    inset -6px 0 0 0 #1a1634,
    0 0 8px rgba(243, 237, 212, .55);
  opacity: .95;
}
.pv-ticket.pv-clair .pv-ticket-card {
  border-radius: 0 0 22px 22px;
  padding: 20px 16px 14px;
  background:
    radial-gradient(ellipse 90% 46% at 50% -10%, rgba(210, 220, 255, .2), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(255,255,255,0) 30%),
    linear-gradient(165deg, #1a2140 0%, #0c1020 58%, #15102a 100%);
  border: 1px solid rgba(214, 224, 255, .34);
  border-top: 0;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22);
}
.pv-ticket.pv-clair .pv-holo {
  background: linear-gradient(115deg,
    transparent 8%,
    rgba(210, 225, 255, .22) 26%,
    rgba(170, 230, 245, .26) 42%,
    rgba(232, 213, 163, .18) 56%,
    transparent 72%);
  opacity: .55;
  animation-duration: 11s;
}
.pv-ticket.pv-clair .pv-clair-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 14% 18%, rgba(255,255,255,.9), transparent),
    radial-gradient(1px 1px at 78% 14%, rgba(255,248,220,.75), transparent),
    radial-gradient(1.2px 1.2px at 86% 42%, rgba(220,230,255,.7), transparent),
    radial-gradient(1px 1px at 20% 72%, rgba(255,255,255,.55), transparent),
    radial-gradient(1.5px 1.5px at 64% 80%, rgba(243,237,212,.7), transparent),
    radial-gradient(1px 1px at 42% 28%, rgba(255,255,255,.5), transparent);
  animation: pvClairTwinkle 5.5s ease-in-out infinite;
}
@keyframes pvClairTwinkle {
  0%, 100% { opacity: .55; }
  50% { opacity: .95; }
}
.pv-ticket.pv-clair .pv-ticket-top {
  flex-direction: column;
  text-align: center;
  gap: 10px;
}
.pv-ticket.pv-clair .pv-ticket-av {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  overflow: visible;
  border: 2px solid rgba(255,255,255,.88);
  box-shadow:
    0 0 0 4px rgba(10, 14, 28, .55),
    0 0 0 5px rgba(226, 232, 255, .55),
    0 0 22px rgba(196, 181, 253, .4);
  position: relative;
  margin: 2px auto 0;
}
.pv-ticket.pv-clair .pv-ticket-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}
.pv-ticket.pv-clair .pv-ticket-av::after {
  content: "";
  position: absolute;
  right: -5px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3edd4;
  box-shadow:
    inset -7px 0 0 0 #0c1224,
    0 0 8px rgba(243, 237, 212, .55);
  pointer-events: none;
  z-index: 2;
}
.pv-ticket.pv-clair .pv-ticket-id { width: 100%; }
.pv-ticket.pv-clair .pv-ticket-name {
  font: 800 22px/1.1 "Segoe UI", sans-serif;
  letter-spacing: .02em;
  text-align: center;
}
.pv-ticket.pv-clair .pv-ticket-rank {
  margin: 6px auto 0;
  background: rgba(8, 12, 24, .35);
  border-color: rgba(232, 213, 163, .35);
  color: #f3e6b8;
}
.pv-ticket.pv-clair .pv-clair-gift {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(232, 213, 163, .38);
  background: rgba(232, 213, 163, .08);
  font: 700 13px/1 "Segoe UI", sans-serif;
  color: #f3e6b8;
  letter-spacing: .02em;
}
.pv-ticket.pv-clair .pv-clair-gift img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
}
.pv-ticket.pv-clair .pv-ticket-stats {
  gap: 6px;
  margin-top: 12px;
}
.pv-ticket.pv-clair .pv-ticket-stats div {
  background: transparent;
  border: 1px solid rgba(214, 224, 255, .22);
  border-radius: 999px;
  padding: 7px 4px 6px;
}
.pv-ticket.pv-clair .pv-ticket-stats span {
  letter-spacing: .14em;
  font-size: 8px;
  color: rgba(230, 236, 255, .62);
}
.pv-ticket.pv-clair .pv-ticket-stats b {
  font-size: 15px;
}
.pv-ticket.pv-clair .pv-ticket-foot {
  margin-top: 12px;
  font-size: 10px;
  letter-spacing: .06em;
  color: rgba(230, 236, 255, .62);
}
.pv-ticket.pv-clair .pv-clair-tag {
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 800;
  color: rgba(243, 230, 184, .8);
}

.pv-ticket.pv-clair .pv-ticket-foot {
  flex-wrap: nowrap;
  gap: 8px;
}
.pv-ticket.pv-clair .pv-ticket-foot > span:nth-child(2) {
  /* le titre d'événement est déjà porté par la ligne cadeau */
  display: none;
}

/* Fix débordement bandeau Clair de lune : une seule plaque, overflow hidden */
.pv-ticket.pv-clair {
  overflow: hidden;
  border-radius: 22px;
  box-sizing: border-box;
  width: min(300px, 92vw);
}
.pv-ticket.pv-clair .pv-ticket-stub,
.pv-ticket.pv-clair .pv-ticket-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}
.pv-ticket.pv-clair .pv-ticket-stub {
  border-radius: 0;
  flex: 0 0 42px;
  overflow: hidden;
}
.pv-ticket.pv-clair .pv-ticket-card {
  border-radius: 0;
  border-left: 1px solid rgba(214, 224, 255, .34);
  border-right: 1px solid rgba(214, 224, 255, .34);
  border-bottom: 1px solid rgba(214, 224, 255, .34);
  border-top: 0;
}
.pv-ticket.pv-clair .pv-clair-moon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.pv-ticket.pv-clair .pv-ticket-av::after {
  /* croissant reste dans la carte */
  right: -2px;
}

/* ------------------------------------------------------------------ */
/* Carte · Observatoire — plaque de métal gravé, hublot, sans holo TCG */
/* ------------------------------------------------------------------ */
.pv-av-ph {
  display: grid;
  place-items: center;
  width: 62%;
  height: 62%;
  color: rgba(246, 247, 255, .88);
}
.pv-av-ph svg { width: 100%; height: 100%; display: block; }

.pv-ticket.pv-obs {
  width: min(420px, 94vw);
  flex-direction: column;
  align-items: stretch;
  transform: none;
  overflow: hidden;
  border-radius: 16px;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, .5));
  color: #efe8d6;
  font-family: "Segoe UI", "Trebuchet MS", system-ui, sans-serif;
}
.pv-ticket.pv-obs .pv-ticket-stub {
  width: 100%;
  flex: 0 0 36px;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  height: 36px;
  min-height: 36px;
  max-height: 36px;
  padding: 0 18px;
  border-radius: 0;
  box-sizing: border-box;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14), transparent 40%),
    linear-gradient(90deg, #2a261c 0%, #4a4334 50%, #2a261c 100%);
  color: #f3ead0;
  overflow: hidden;
}
.pv-ticket.pv-obs .pv-ticket-stub::before { display: none; content: none; }
.pv-ticket.pv-obs .pv-ticket-stub .pv-tk-brand,
.pv-ticket.pv-obs .pv-ticket-stub .pv-tk-mark {
  writing-mode: horizontal-tb;
  transform: none;
  font: 800 10px/1 "Segoe UI", sans-serif;
  letter-spacing: .26em;
}
.pv-ticket.pv-obs .pv-obs-crescent {
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border-radius: 50%;
  background: #f0e2b8;
  box-shadow: inset -5px 0 0 0 #2c281e, 0 0 6px rgba(240, 226, 184, .35);
}
.pv-ticket.pv-obs .pv-ticket-card {
  position: relative;
  border-radius: 0;
  padding: 18px 20px 14px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.07), transparent 28%),
    repeating-linear-gradient(90deg, transparent 0 2px, rgba(255,255,255,.03) 2px 3px),
    linear-gradient(165deg, #3a3428 0%, #1c1a16 55%, #161410 100%);
  border: 1px solid rgba(232, 214, 160, .28);
  border-top: 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.35);
  overflow: hidden;
}
.pv-ticket.pv-obs .pv-obs-brush {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg,
    transparent 20%,
    rgba(255,255,255,.07) 38%,
    transparent 48%,
    rgba(255,255,255,.04) 62%,
    transparent 78%);
  mix-blend-mode: soft-light;
  animation: pvObsSweep 9s ease-in-out infinite;
}
@keyframes pvObsSweep {
  0%, 100% { transform: translateX(-8%); opacity: .5; }
  50% { transform: translateX(8%); opacity: .85; }
}
.pv-ticket.pv-obs .pv-obs-rivet {
  position: absolute;
  width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #d9d0b4, #6a634e 55%, #2a261c);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.35);
  z-index: 2;
}
.pv-ticket.pv-obs .pv-obs-rivet.r1 { top: 8px; left: 8px; }
.pv-ticket.pv-obs .pv-obs-rivet.r2 { top: 8px; right: 8px; }
.pv-ticket.pv-obs .pv-obs-rivet.r3 { bottom: 8px; left: 8px; }
.pv-ticket.pv-obs .pv-obs-rivet.r4 { bottom: 8px; right: 8px; }
.pv-ticket.pv-obs .pv-ticket-top {
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.pv-ticket.pv-obs .pv-obs-port,
.pv-ticket.pv-obs .pv-ticket-av {
  width: 92px;
  height: 92px;
  flex: 0 0 92px;
  overflow: visible;
  border-radius: 50%;
  border: 3px solid #c4b58a;
  box-shadow:
    0 0 0 4px #1a1814,
    0 0 0 5px rgba(196, 181, 138, .55),
    inset 0 0 0 1px rgba(0,0,0,.4);
  background: #1a1814;
  position: relative;
  margin: 0;
}
.pv-ticket.pv-obs .pv-obs-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px dashed rgba(196, 181, 138, .45);
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg,
    rgba(196, 181, 138, .0) 0 8deg,
    rgba(196, 181, 138, .55) 8deg 9deg
  );
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%);
  mask: radial-gradient(circle, transparent 62%, #000 63%);
  opacity: .7;
}
.pv-ticket.pv-obs .pv-ticket-av img,
.pv-ticket.pv-obs .pv-ticket-av .pv-av-ph {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pv-ticket.pv-obs .pv-ticket-av .pv-av-ph {
  width: 58%;
  height: 58%;
  margin: auto;
  color: #e8d9a8;
}
.pv-ticket.pv-obs .pv-ticket-name {
  font: 800 22px/1.1 "Segoe UI", sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #f4ecd6;
  text-shadow: 0 1px 0 rgba(0,0,0,.45);
  text-align: left;
}
.pv-ticket.pv-obs .pv-ticket-rank {
  margin: 6px 0 0;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(196, 181, 138, .35);
  color: #e8d9a8;
  border-radius: 2px;
}
.pv-ticket.pv-obs .pv-obs-gift {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding: 4px 10px 4px 6px;
  border: 1px solid rgba(196, 181, 138, .4);
  background: rgba(0,0,0,.28);
  box-shadow: inset 0 1px 3px rgba(0,0,0,.35);
  font: 700 12px/1 "Segoe UI", sans-serif;
  color: #f0e2b8;
  letter-spacing: .04em;
}
.pv-ticket.pv-obs .pv-obs-gift img { width: 22px; height: 22px; object-fit: contain; display: block; }
.pv-ticket.pv-obs .pv-ticket-stats {
  gap: 8px;
  margin-top: 14px;
  position: relative;
  z-index: 1;
}
.pv-ticket.pv-obs .pv-ticket-stats div {
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(196, 181, 138, .28);
  border-radius: 2px;
  padding: 7px 4px 6px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.35);
}
.pv-ticket.pv-obs .pv-ticket-stats span {
  letter-spacing: .16em;
  font-size: 8px;
  color: rgba(232, 214, 160, .7);
}
.pv-ticket.pv-obs .pv-ticket-stats b {
  font-size: 15px;
  color: #f4ecd6;
}
.pv-ticket.pv-obs .pv-ticket-foot {
  margin-top: 10px;
  font-size: 10px;
  letter-spacing: .08em;
  color: rgba(232, 214, 160, .7);
  text-transform: uppercase;
}
.pv-ticket.pv-obs .pv-ticket-foot > span:nth-child(2) { display: none; }
.pv-ticket.pv-obs .pv-obs-tag {
  letter-spacing: .14em;
  font-weight: 800;
  color: #e8d9a8;
}

/* Observatoire : rang et cadeau empilés, pas de chevauchement */
.pv-ticket.pv-obs .pv-ticket-top { gap: 22px; }
.pv-ticket.pv-obs .pv-ticket-id {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  flex: 1;
}
.pv-ticket.pv-obs .pv-obs-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 6px;
  width: 100%;
  min-width: 0;
}
.pv-ticket.pv-obs .pv-ticket-rank {
  margin: 0;
  max-width: 100%;
}
.pv-ticket.pv-obs .pv-obs-gift {
  margin-top: 0;
  max-width: 100%;
  flex-wrap: wrap;
}
