.pw {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  font-family: Inter, system-ui, sans-serif;
}

.pw-ph {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border: 2px dashed rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.45);
  font: 600 22px Inter, sans-serif;
  text-align: center;
}

/* alerts */
.pw-alerts-ph {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.025);
  color: rgba(255, 255, 255, 0.5);
  font-family: Manrope, Inter, sans-serif;
  text-align: center;
  padding: 0 8%;
}
.pw-alerts-ph b { font-size: 28px; font-weight: 700; color: rgba(255, 255, 255, 0.72); }
.pw-alerts-ph span { font-size: 18px; opacity: 0.6; max-width: 560px; line-height: 1.4; }
.pw-alerts-stage { position: absolute; inset: 0; }

/* text */
.pw-text { padding: 0 0.4em; }
.pw-text span { white-space: pre-wrap; line-height: 1.1; width: 100%; }

/* media */
.pw-image img,
.pw-video video { width: 100%; height: 100%; display: block; }

/* goal */
.pw-goal { align-items: stretch; }
.pw-goal-box {
  position: relative;
  flex: 1;
  border-radius: 999px;
  overflow: hidden;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.12), 0 10px 30px rgba(0, 0, 0, 0.35);
}
.pw-goal-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}
.pw-goal-fill i {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.35) 50%, transparent 80%);
  animation: pw-shine 2.4s linear infinite;
}
.pw-goal-box.done .pw-goal-fill { animation: pw-pulse 1.2s ease-in-out infinite; }
.pw-goal-text {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  padding: 0 1.1em;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.pw-goal-text span { font-variant-numeric: tabular-nums; opacity: 0.95; }

/* chat & feed */
.pw-chat,
.pw-feed { align-items: flex-end; }
.pw-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: calc(var(--pw-size) * 0.35);
  font-size: var(--pw-size);
}
.pw-row {
  display: flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.4em 0.65em;
  border-radius: 0.8em;
  backdrop-filter: blur(6px);
  line-height: 1.25;
}
.pw-row.enter { animation: pw-in 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.pw-row-text { min-width: 0; overflow-wrap: anywhere; }
.pw-row-text b { font-weight: 800; }
.pw-gift { height: 1.6em; width: 1.6em; object-fit: contain; vertical-align: middle; margin-left: 0.3em; }

.pw-avatar {
  position: relative;
  flex: none;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  overflow: hidden;
  font-weight: 800;
  color: #fff;
}
/* The photo itself is rounded too: 3D effects (gift showcase) lose the parent's clipping, and the
   picture showed up square. */
.pw-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* leaderboard */
.pw-gifters { align-items: flex-start; }
.pw-board {
  width: 100%;
  padding: 0.8em;
  border-radius: 0.9em;
  font-size: var(--pw-size);
  backdrop-filter: blur(6px);
}
.pw-board-title { font-weight: 900; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85em; margin: 0 0 0.5em 0.2em; }
.pw-board-row { display: flex; align-items: center; gap: 0.55em; padding: 0.3em 0.2em; }
.pw-board-row + .pw-board-row { border-top: 1px solid rgba(255, 255, 255, 0.08); }
.pw-rank { width: 1.5em; text-align: center; font-weight: 800; }
.pw-board-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 700; }
.pw-board-row b { font-variant-numeric: tabular-nums; }
.pw-board-empty { opacity: 0.6; padding: 0.4em 0.2em; font-size: 0.85em; }

@keyframes pw-in { from { opacity: 0; transform: translateX(-30px) scale(0.96); } }
@keyframes pw-shine { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes pw-pulse { 50% { filter: brightness(1.35); } }

/* ---------------------------------------------------------------- v4 widgets & effects */
.pw-wins, .pw-likes, .pw-goal { overflow: visible; }

/* WIN counter (in the spirit of WIN AUTO) */
.pw-wins { justify-content: center; }
.ww { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.12em; font-family: inherit; line-height: 1; }
.ww-row {
  display: flex;
  align-items: baseline;
  white-space: nowrap;
  color: #fff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.95), 0 5px 0 rgba(0, 0, 0, 0.55), 0 10px 30px rgba(0, 0, 0, 0.75);
  transition: transform 0.18s ease;
}
.ww-row.bump { animation: ww-bump 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ww-cur { transition: color 0.3s; min-width: 0.6em; text-align: center; }
.ww-sep { margin: 0 0.1em; opacity: 0.85; }
.ww-bar { width: 80%; height: 0.1em; border-radius: 99px; background: rgba(0, 0, 0, 0.45); overflow: hidden; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
.ww-bar i { display: block; height: 100%; border-radius: inherit; transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.ww-multi {
  display: flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.12em 0.4em;
  font-size: 0.5em;
  border-radius: 0.3em;
  background: rgba(10, 12, 24, 0.45);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s, transform 0.3s;
}
.ww-multi.on { opacity: 1; transform: none; }
.ww-multi.flash { animation: ww-flash 0.8s ease; }
.ww-div { width: 3px; align-self: stretch; border-radius: 2px; background: linear-gradient(transparent, currentColor, transparent); opacity: 0.7; }
.ww-timer { color: #fff; font-variant-numeric: tabular-nums; }
/* Parkour pills: prison, reset, kicks ON / OFF (label | value) */
.pw-prison, .pw-resetbox, .pw-kicks, .pw-gametime { justify-content: center; }
/* Hexagone: platform gauge (crown on top, poop at the bottom), colours of the platforms */
.pw-platform { justify-content: center; }
/* Billes ranking */
.bb { margin: 0 auto; width: max-content; min-width: 15em; max-width: 100%; height: auto; max-height: 100%; box-sizing: border-box; padding: .45em .5em; border-radius: .7em; display: flex; flex-direction: column; gap: .22em; justify-content: center; }
.bb-t { text-align: center; font-size: .8em; letter-spacing: .05em; text-shadow: 0 2px 8px rgba(0, 0, 0, .6); margin-bottom: .1em; }
.bb-row { display: flex; align-items: center; gap: .4em; padding: .1em .4em; border-radius: .5em; background: rgba(255, 255, 255, .07); }
.bb-row.r1 { background: linear-gradient(90deg, rgba(255, 210, 60, .3), rgba(255, 255, 255, .07)); }
.bb-rank { width: 1em; text-align: center; font-size: .75em; color: rgba(255, 255, 255, .6); }
.bb-n { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .8em; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.bb-p { font-weight: inherit; font-size: .75em; white-space: nowrap; }
.bb-card { box-shadow: 0 0 0 2px rgba(168, 120, 255, .55); }
.bb-glass { backdrop-filter: blur(10px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); }
.bb-neon { box-shadow: 0 0 0 2px #4cc9ff, 0 0 18px rgba(76, 201, 255, .6), inset 0 0 14px rgba(76, 201, 255, .2); }
.bb-neon .bb-row { background: rgba(76, 201, 255, .08); }
.bb-white .bb-row, .bb-minimal .bb-row { background: none; }
.bb-white :is(.bb-t, .bb-n, .bb-p, .bb-rank), .bb-minimal :is(.bb-t, .bb-n, .bb-p, .bb-rank) { -webkit-text-stroke: .09em #0a0a14; paint-order: stroke fill; text-shadow: 0 .06em 0 #0a0a14; }
.bb-minimal { gap: .12em; }
.bb-minimal .bb-row { padding: 0 .2em; }
.bb-nobg { box-shadow: none !important; backdrop-filter: none !important; background: transparent !important; }
.bb-nobg .bb-t { text-shadow: 0 2px 6px rgba(0, 0, 0, .9); }
/* Chunky vote */
.cv { width: 100%; height: 100%; box-sizing: border-box; padding: .3em .2em; color: var(--cv-text, #fff); display: flex; flex-direction: column; gap: .25em; justify-content: center; text-shadow: 0 2px 4px rgba(0, 0, 0, .7); }
.cl { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .06em; line-height: 1; white-space: nowrap; overflow: visible; }
.cl { background: transparent !important; }
.cl-row, .cl-time, .cl-res { letter-spacing: .02em; -webkit-text-stroke: .09em #000; paint-order: stroke fill; text-shadow: 0 .07em 0 #000; }
.cl-row { display: flex; align-items: baseline; color: var(--cl-txt, #fff); }
.cl-row.bump { animation: ww-bump .45s cubic-bezier(.34, 1.56, .64, 1); }
.cl-title:not(:empty) { margin-right: .25em; }
.cl-n { color: var(--cl-n, #ff4d6d); min-width: .6em; text-align: center; }
.cl-sep { margin: 0 .1em; opacity: .85; }
.cl-last .cl-n { animation: cl-beat .8s ease-in-out infinite; display: inline-block; }
@keyframes cl-beat { 50% { transform: scale(1.18); } }
.cl-time { font-size: .62em; color: var(--cl-t, #ffd21f); font-variant-numeric: tabular-nums; }
.cl-time.paused { opacity: .6; }
.cl-res { display: none; font-size: .55em; text-align: center; white-space: normal; }
.cl-end .cl-row { font-size: .6em; }
.cl-end .cl-res { display: block; }
.cl-verts .cl-res { color: #38f26b; }
.cl-rouges .cl-res { color: #ff3b3b; }
.cv-title { font-size: .7em; color: var(--cv-c, #ffd21f); letter-spacing: .06em; line-height: 1; }
.cv-bar { position: relative; height: 1.5em; border-radius: 1em; background: rgba(10, 12, 18, .55); border: .08em solid rgba(255, 255, 255, .85); box-shadow: 0 .1em .5em rgba(0, 0, 0, .55), inset 0 .1em .3em rgba(0, 0, 0, .6); overflow: hidden; flex: none; }
.cv-bar i { position: absolute; inset: 0 auto 0 0; width: 100%; border-radius: 1em; will-change: width;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .22) 0 .5em, transparent .5em 1em), linear-gradient(180deg, color-mix(in srgb, var(--cv-bar, #22e33a) 70%, #fff) 0%, var(--cv-bar, #22e33a) 45%, color-mix(in srgb, var(--cv-bar, #22e33a) 70%, #000) 100%);
  background-size: 2em 100%, 100% 100%; animation: cv-flow 1.2s linear infinite; box-shadow: 0 0 .7em var(--cv-bar, #22e33a); }
@keyframes cv-flow { to { background-position: 2em 0, 0 0; } }
.cv-bar span { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8em; letter-spacing: .05em; text-shadow: 0 .08em .2em rgba(0, 0, 0, .95); }
.cv-prompt { font-size: .6em; line-height: 1.15; text-align: center; }
.cv-top { display: flex; flex-direction: column; gap: .15em; }
.cv-row { position: relative; display: flex; justify-content: space-between; align-items: center; padding: .05em .4em; font-size: .55em; border-radius: .4em; overflow: hidden; background: rgba(255, 255, 255, .08); }
.cv-row i { position: absolute; inset: 0 auto 0 0; background: color-mix(in srgb, var(--cv-bar, #22e33a) 55%, transparent); transition: width .3s; }
.cv-row b, .cv-row em { position: relative; font-weight: inherit; font-style: normal; }
.cv-res { display: none; font-size: 1.1em; text-align: center; color: var(--cv-c, #ffd21f); }
.cv-result .cv-res { display: block; }
.cv-result .cv-top, .cv-result .cv-prompt { display: none; }
.hx { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hx-end { font-size: 54px; line-height: 1; filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .9)); }
.hx-gauge { display: flex; flex-direction: column-reverse; gap: 8px; }
.hx-gauge i { width: 64px; height: 56px; border-radius: 12px; border: 3px solid rgba(255, 255, 255, .22); background: var(--c); opacity: .3; transition: transform .15s, opacity .15s, box-shadow .15s; }
.hx-gauge i.on { opacity: 1; border-color: #fff; transform: scaleX(1.2); box-shadow: 0 0 22px 6px var(--c), 0 0 2px rgba(0, 0, 0, .9); }
.hx-gauge i[data-l="0"] { --c: #8932b8; } .hx-gauge i[data-l="1"] { --c: #b02e26; } .hx-gauge i[data-l="2"] { --c: #3c44aa; }
.hx-gauge i[data-l="3"] { --c: #f9da00; } .hx-gauge i[data-l="4"] { --c: #80c71f; }
.gp { display: flex; align-items: center; gap: .2em; padding: .14em .3em; border-radius: .22em; box-shadow: 0 .06em .3em rgba(0, 0, 0, .7); line-height: 1; white-space: nowrap; }
.gp-label, .gp-value { text-shadow: 0 1px 0 rgba(0, 0, 0, .95), 0 2px 0 rgba(0, 0, 0, .75), 0 4px 8px rgba(0, 0, 0, .9); }
.gp-value { min-width: 2.2em; text-align: center; font-variant-numeric: tabular-nums; }
.gp-sep { width: .05em; align-self: stretch; margin: .05em .1em; border-radius: 2px; background: rgba(255, 255, 255, .2); }
.gp-value { animation: gp-tick 1s ease-in-out infinite; }
@keyframes gp-tick { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } }
/* Looks of the game pills (prison, reset, kicks): pill (dark, default), white, glass, card, neon */
.gp-white { padding: 0; background: none; box-shadow: none; gap: .32em; }
.gp-white .gp-sep { display: none; }
.gp-white .gp-label, .gp-white .gp-value { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.gp-glass { padding: .18em .4em; border-radius: .42em; background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .25em .8em rgba(0, 0, 0, .35); }
.gp-glass .gp-label, .gp-glass .gp-value { text-shadow: 0 .05em .15em rgba(0, 0, 0, .45); }
.gp-card { padding: .18em .42em; border-radius: .42em; background: #fff; box-shadow: 0 .25em .9em rgba(0, 0, 0, .35); }
.gp-card .gp-label, .gp-card .gp-value { text-shadow: none; }
.gp-card .gp-sep { background: rgba(0, 0, 0, .12); }
.gp-neon { padding: .18em .42em; border-radius: .42em; box-shadow: 0 0 0 .05em var(--gp-c), 0 0 .5em color-mix(in srgb, var(--gp-c) 55%, transparent), inset 0 0 .45em color-mix(in srgb, var(--gp-c) 30%, transparent); }
.gp-neon .gp-label { text-shadow: 0 0 .12em var(--gp-c), 0 0 .4em var(--gp-c); }
.gp-neon .gp-value { text-shadow: 0 0 .1em #fff, 0 0 .35em color-mix(in srgb, var(--gp-c) 70%, transparent); }
.gp-neon .gp-sep { background: color-mix(in srgb, var(--gp-c) 60%, transparent); }
.fx-pop {
  position: absolute;
  top: 0;
  font-family: 'Luckiest Guy', sans-serif;
  font-size: 0.6em;
  pointer-events: none;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.9);
  animation: fx-pop 1.2s ease forwards;
}
@keyframes ww-bump { 40% { transform: scale(1.12); } }
@keyframes ww-flash { 40% { filter: drop-shadow(0 0 14px currentColor) drop-shadow(0 0 28px currentColor); transform: scale(1.08); } }
@keyframes fx-pop {
  0% { opacity: 0; transform: translate(-50%, 0) scale(0.6); }
  20% { opacity: 1; transform: translate(-50%, -20px) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -150px) scale(1.25); }
}

/* Like-o-mètre */
.pw-likes { justify-content: center; }
.lm { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; height: 100%; font-family: inherit; }
.lm-heart { position: relative; flex: 1; width: 100%; min-height: 0; display: grid; place-items: center; }
.lm-heart svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 10px 28px color-mix(in srgb, var(--lm) 55%, transparent)) drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5)); }
.lm-shell { fill: rgba(20, 10, 18, 0.7); stroke: #fff; stroke-width: 3.5; }
.lm-fill { transition: y 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.lm-wave { animation: lm-wave 2.4s linear infinite; }
.lm-shine { fill: none; stroke: rgba(255, 255, 255, 0.55); stroke-width: 3.5; stroke-linecap: round; }
.lm-count { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 8%; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.6), 0 6px 20px rgba(0, 0, 0, 0.6); font-variant-numeric: tabular-nums; }
.lm-count span { display: inline-block; white-space: nowrap; line-height: 1; }
/* one fixed line: a longer number never makes it wrap (that resized the heart and the text) */
.lm-label { flex: none; max-width: 100%; height: 1.3em; line-height: 1.3em; margin-top: 0.2em; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 0.38em; color: #fff; letter-spacing: 0.06em; text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8); }
.lm.beat .lm-heart { animation: lm-beat 0.45s cubic-bezier(0.34, 1.56, 0.64, 1); }
.lm-fx { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.fx-heart { position: absolute; bottom: 30%; font-style: normal; animation: fx-heart 2s ease-out forwards; text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); }
.fx-liker { position: absolute; top: 18%; padding: 0.15em 0.5em; border-radius: 99px; background: rgba(0, 0, 0, 0.55); color: #fff; font: 700 0.24em Inter, sans-serif; white-space: nowrap; animation: fx-liker 2s ease-out forwards; }
@keyframes lm-wave { to { transform: translateX(-50px); } }
@keyframes lm-beat { 30% { transform: scale(1.1); } 60% { transform: scale(0.97); } }
@keyframes fx-heart {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  15% { opacity: 1; transform: translate(calc(var(--dx) * 0.2), -30px) scale(1); }
  100% { opacity: 0; transform: translate(var(--dx), -260px) scale(1.15) rotate(20deg); }
}
@keyframes fx-liker { 0% { opacity: 0; transform: translateY(10px); } 15%, 70% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-30px); } }

/* goal surge */
.pw-goal-fill.surge { animation: goal-surge 0.7s ease; }
@keyframes goal-surge { 35% { filter: brightness(1.6) saturate(1.3); box-shadow: 0 0 30px rgba(255, 255, 255, 0.6); } }

/* confetti & banner */
.fx-confetti {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 18px;
  border-radius: 3px;
  pointer-events: none;
  z-index: 20;
  animation: fx-confetti 1.8s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
@keyframes fx-confetti {
  0% { opacity: 1; transform: translate(-50%, -50%) rotate(0); }
  45% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(calc(var(--r) * 0.6)); }
  100% { opacity: 0; transform: translate(calc(-50% + var(--x) * 1.2), calc(-50% + var(--y) + 340px)) rotate(var(--r)); }
}
.fx-banner {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 21;
  padding: 0.25em 0.7em;
  border-radius: 0.4em;
  background: linear-gradient(90deg, #34c777, #22d3ee, #a855f7);
  color: #fff;
  font: 400 54px 'Luckiest Guy', sans-serif;
  white-space: nowrap;
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.35);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  animation: fx-banner 2.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
@keyframes fx-banner {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.3) rotate(-8deg); }
  18%, 80% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-3deg); }
  100% { opacity: 0; transform: translate(-50%, -80%) scale(0.9) rotate(-3deg); }
}

/* ---------------------------------------------------------------- v5: boards, record, goal looks */
.pw-board-title { display: flex; align-items: center; gap: 0.4em; }
.pw-board-gift { width: 1.6em; height: 1.6em; object-fit: contain; }
.pw-board-row { animation: pw-in 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; animation-delay: var(--d, 0ms); }
.pw-board-foot { margin-top: 0.5em; font-size: 0.6em; opacity: 0.6; text-align: right; }
.pw-ph small { display: block; font-size: 0.6em; opacity: 0.7; margin-top: 6px; }
.pw-goal-box.no-border { box-shadow: none; }
.pw-goal-box.look-minimal { box-shadow: none; overflow: visible; }
.pw-goal-box.look-minimal .pw-goal-fill { top: auto; height: 0.32em; bottom: 0; border-radius: 99px; }
.pw-goal-box.look-minimal::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 0.32em; border-radius: 99px; background: rgba(255, 255, 255, 0.15); z-index: -1; }
.pw-goal-box.look-minimal .pw-goal-text { box-sizing: border-box; padding: 0 0 0.5em; align-items: flex-end; }
.pw-goal-box.look-neon { background: transparent !important; box-shadow: 0 0 0 3px currentColor, 0 0 24px rgba(255, 255, 255, 0.25); }
.pw-goal-box.look-neon .pw-goal-fill { filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.5)); }
.pw-goal-box.look-neon.no-border { box-shadow: none; }

/* gift menu (Canva-style board generated from the interactions) */
.pw-giftmenu { align-items: flex-start; }
.pm-grid { display: grid; width: 100%; align-items: start; padding-top: 14px; } /* room for the 2nd icon (+1 follow, likes…) above the first row */
.pm-card { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
/* grid in rows: the cards wrap, an unfinished last row stays centred */
.pm-grid.pm-flow { display: flex; flex-wrap: wrap; justify-content: center; }
.pm-flow > .pm-card { flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols)); }
/* « Rouges | Verts »: an empty cell keeps the two columns lined up */
.pm-card.pm-empty { visibility: hidden; }
/* follow and likes icons: same size and drop shadow as the gift pictures, so the menu lines up */
.pm-follow, .pm-like { position: relative; display: grid; place-items: center; }
.pm-main.pm-follow, .pm-main.pm-like { width: 100%; height: 100%; filter: drop-shadow(0 6px 0 #000) drop-shadow(0 0 2px #000); }
.pm-follow svg { width: 80%; height: 80%; display: block; }
.pm-like img { width: 84%; height: 84%; object-fit: contain; display: block; }
.pm-like b { position: absolute; left: 50%; top: 47%; transform: translate(-50%, -50%); font-family: 'Luckiest Guy', sans-serif; font-weight: 400; line-height: 1; color: #fff; paint-order: stroke fill; letter-spacing: .02em; }
.pm-main.pm-like b { font-size: calc(var(--isz, 100px) * .19); -webkit-text-stroke: calc(var(--isz, 100px) * .035) #8a0f2e; }
.pm-extra.pm-like b { font-size: calc(var(--isz, 100px) * .11); -webkit-text-stroke: calc(var(--isz, 100px) * .02) #8a0f2e; }
.pm-extra.pm-follow svg { width: 100%; height: 100%; }
.pm-icons { position: relative; display: grid; place-items: center; }
.pm-main { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 0 #000) drop-shadow(0 0 2px #000); }
.pm-extra { position: absolute; width: 46%; height: 46%; object-fit: contain; filter: drop-shadow(0 3px 0 #000); }
.pm-extra.e0 { right: -18%; top: -6%; }
.pm-extra.e1 { left: -18%; bottom: 4%; }
/* The action's own picture: gift stuck on its top right corner, follow / likes on the left, text on its bottom edge */
.pm-pic { filter: drop-shadow(0 4px 0 rgba(0,0,0,.55)); }
.pm-extra { width: var(--gsz, 46%); height: var(--gsz, 46%); }
.pm-extra.pm-tr { right: -7%; top: -7%; width: var(--gsz, 44%); height: var(--gsz, 44%); }
.pm-extra.pm-l0, .pm-extra.pm-l1 { left: -7%; width: calc(var(--gsz, 44%) * .82); height: calc(var(--gsz, 44%) * .82); }
.pm-extra.pm-l0 { top: -7%; }
.pm-extra.pm-l1 { top: calc(var(--gsz, 44%) * .82 - 4%); }
/* The stronger the action, the more impressive its picture: blue, purple, gold (shines), red (shines and beats) */
.pm-pic.pm-t1 { filter: sepia(.7) saturate(3) hue-rotate(165deg) drop-shadow(0 4px 0 rgba(0,0,0,.55)); }
.pm-pic.pm-t2 { filter: sepia(.7) saturate(3.2) hue-rotate(235deg) drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 8px rgba(190,90,255,.7)); }
.pm-pic.pm-t3 { filter: sepia(.85) saturate(3.4) hue-rotate(-8deg) brightness(1.12) drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 10px rgba(255,200,40,.85)); }
.pm-pic.pm-t4 { filter: sepia(1) saturate(6) hue-rotate(-48deg) brightness(.72) contrast(1.35) drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(255,30,30,.9)); animation: pm-beat 1.3s ease-in-out infinite; }
.pm-shine { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 42%, rgba(255,255,255,.8) 50%, transparent 58%) no-repeat; background-size: 300% 100%; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; animation: pm-shine 2.6s linear infinite; }
@keyframes pm-shine { 0% { background-position: 120% 0; } 55%, 100% { background-position: -20% 0; } }
/* The kicks only shine */
.pm-pic.pm-kick { animation: none; }
/* Fireball: the flames dance. Rain of bombs: small ones keep falling over the big one */
.pm-pic.pm-flame { transform-origin: 50% 90%; animation: pm-flame .7s ease-in-out infinite alternate; filter: drop-shadow(0 4px 0 rgba(0,0,0,.55)) drop-shadow(0 0 12px rgba(255,120,20,.9)); }
.pm-rain { position: absolute; top: 0; width: 34%; height: 34%; object-fit: contain; pointer-events: none; opacity: 0; animation: pm-rain 1.5s linear infinite; }
.pm-rain.r0 { left: 2%; }
.pm-rain.r1 { left: 34%; animation-delay: .5s; }
.pm-rain.r2 { left: 66%; animation-delay: 1s; }
@keyframes pm-flame { from { transform: scale(1, 1) skewX(-3deg); } to { transform: scale(1.05, 1.1) skewX(3deg); } }
@keyframes pm-rain { 0% { transform: translateY(-60%) rotate(-12deg); opacity: 0; } 15% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateY(190%) rotate(12deg); opacity: 0; } }
@keyframes pm-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.pm-with-pic .pm-label { margin-top: -0.75em; }
.pm-badge { display: grid; place-items: center; font-size: 28px; line-height: 1; }
.pm-badge b { font-family: 'Luckiest Guy', sans-serif; font-size: 22px; color: #fff; -webkit-text-stroke: 4px #000; paint-order: stroke fill; margin-top: -6px; }
.pm-label { display: block; margin-top: -0.15em; line-height: 1.02; letter-spacing: .01em; paint-order: stroke fill; text-shadow: 0 5px 0 #000; overflow-wrap: anywhere; }

/* roulette & coffret widget (idle) */
.pw-wheel { justify-content: center; }
.wi { display: flex; flex-direction: column; align-items: center; gap: 22px; transform-origin: center; flex: none; }
/* At rest: same drawing as the spin (wheel.css), without the empty result line */
.wi .wheel-result { display: none; }
.wi .chest-box { gap: 0; }

/* the chest */
.chest { position: relative; width: 7.6em; height: 6.6em; font-size: 72px; }
.chest-base { position: absolute; left: 0; right: 0; bottom: .5em; height: 3.4em; border-radius: .25em .25em .45em .45em; background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 85%, #fff), var(--c1) 45%, color-mix(in srgb, var(--c1) 55%, #000)); box-shadow: inset 0 0 0 .1em color-mix(in srgb, var(--c2) 90%, #000), inset 0 -.35em 0 rgba(0,0,0,.25), 0 .3em .6em rgba(0,0,0,.45); }
.chest-lid { position: absolute; left: -.12em; right: -.12em; top: .55em; height: 2.3em; border-radius: 1.6em 1.6em .2em .2em; background: linear-gradient(180deg, color-mix(in srgb, var(--c1) 70%, #fff), var(--c1) 60%, color-mix(in srgb, var(--c1) 70%, #000)); box-shadow: inset 0 0 0 .1em color-mix(in srgb, var(--c2) 90%, #000), inset 0 .25em 0 rgba(255,255,255,.25); transform-origin: 50% 100%; z-index: 2; }
.chest-base i, .chest-lid i { position: absolute; top: 0; bottom: 0; left: 50%; width: 1.05em; margin-left: -.525em; background: linear-gradient(90deg, color-mix(in srgb, var(--c2) 70%, #000), var(--c2) 40%, color-mix(in srgb, var(--c2) 60%, #fff) 55%, color-mix(in srgb, var(--c2) 70%, #000)); }
.chest-lock { position: absolute; left: 50%; top: -.55em; width: 1.5em; height: 1.5em; margin-left: -.75em; display: grid; place-items: center; border-radius: .35em; background: radial-gradient(circle at 35% 30%, #fff8d6, var(--c2) 55%, color-mix(in srgb, var(--c2) 60%, #000)); color: #3a2400; font: 400 .9em 'Luckiest Guy', sans-serif; box-shadow: 0 .08em 0 rgba(0,0,0,.35); z-index: 3; }
.chest-shadow { position: absolute; left: 10%; right: 10%; bottom: 0; height: .5em; border-radius: 50%; background: rgba(0,0,0,.45); filter: blur(.12em); }
.chest-glow { position: absolute; left: 50%; top: 45%; width: 9em; height: 9em; margin: -4.5em 0 0 -4.5em; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--c2) 70%, transparent), transparent 62%); opacity: .45; }
.chest-rays { position: absolute; left: 50%; top: 40%; width: 14em; height: 14em; margin: -7em 0 0 -7em; background: repeating-conic-gradient(color-mix(in srgb, var(--c2) 55%, transparent) 0 8deg, transparent 8deg 22deg); border-radius: 50%; mask: radial-gradient(circle, #000 20%, transparent 68%); -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); opacity: 0; }
.wi .chest-box .chest { animation: chest-idle 2.6s ease-in-out infinite; }
@keyframes chest-idle { 50% { transform: translateY(-.12em); } }

/* ---------------------------------------------------------------- looks (structural styles) */
/* wins */
.pw-wins.look-neon .ww-row { text-shadow: 0 0 .06em #fff, 0 0 .18em currentColor, 0 0 .45em currentColor; }
.pw-wins.look-neon .ww-cur { text-shadow: 0 0 .06em #fff, 0 0 .2em currentColor, 0 0 .5em currentColor; }
.pw-wins.look-card .ww { padding: .22em .55em .26em; border-radius: .28em; background: rgba(10, 12, 18, .82); box-shadow: 0 .12em .4em rgba(0,0,0,.5), inset 0 0 0 .03em rgba(255,255,255,.12); }
.pw-wins.look-card .ww-row { text-shadow: none; }
/* text */
.pw-text.look-neon span { text-shadow: 0 0 .05em #fff, 0 0 .2em currentColor, 0 0 .55em currentColor !important; -webkit-text-stroke: 0 !important; }
.pw-text.look-cartoon span { -webkit-text-stroke: .09em #000 !important; paint-order: stroke fill; text-shadow: 0 .07em 0 #000 !important; }
.pw-text.look-banner span { padding: .25em .9em; border-radius: 99px; background: var(--banner, rgba(124,58,237,.9)); box-shadow: 0 .15em .5em rgba(0,0,0,.4); }
/* boards, record, chat, feed */
.look-glass .pw-board, .look-glass .pw-chat-list, .look-glass .pw-feed-list { backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.look-clean .pw-board { box-shadow: none; }
.look-clean .pw-board-row, .look-clean .pw-board-title { text-shadow: 0 2px 6px rgba(0,0,0,.8); }
.pm-label { position: relative; z-index: 2; margin-top: -0.3em; }
.pm-icons { z-index: 1; }

/* ---------------------------------------------------------------- stat */
.pw-stat { justify-content: center; }
.st { display: inline-flex; align-items: center; gap: .3em; font-variant-numeric: tabular-nums; line-height: 1; }
.st b { font-weight: 800; letter-spacing: -.02em; }
.st small { font-size: .4em; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.st-pill { padding: .2em .55em .2em .25em; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 .04em color-mix(in srgb, var(--ac) 45%, transparent), 0 .15em .5em rgba(0,0,0,.35); font-size: .7em; }
.st-pill .st-ic { width: 1.35em; height: 1.35em; display: grid; place-items: center; border-radius: 50%; background: color-mix(in srgb, var(--ac) 25%, transparent); font-size: .8em; }
.st-big { flex-direction: column; gap: .05em; text-shadow: 0 .05em 0 rgba(0,0,0,.6), 0 .1em .4em rgba(0,0,0,.6); }
.st-big b { font-size: 1.5em; }
.st-big small { opacity: 1; color: var(--ac); }
.st-card { position: relative; flex-direction: column; align-items: flex-start; gap: .1em; padding: .35em .7em .4em .8em; border-radius: .3em; background: var(--bg); box-shadow: 0 .15em .5em rgba(0,0,0,.35); overflow: hidden; font-size: .8em; }
.st-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .12em; background: var(--ac); }
.st-card .st-ic { position: absolute; right: .3em; top: 50%; translate: 0 -50%; font-size: 1.2em; opacity: .25; }
.st-ring { position: relative; width: 3.2em; height: 3.2em; justify-content: center; font-size: .9em; }
.st-ring svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.st-track { fill: var(--bg); stroke: rgba(255,255,255,.12); stroke-width: 7; }
.st-prog { fill: none; stroke: var(--ac); stroke-width: 7; stroke-linecap: round; transition: stroke-dashoffset .6s ease; filter: drop-shadow(0 0 4px var(--ac)); }
.st-in { position: relative; display: flex; flex-direction: column; align-items: center; gap: .05em; }
.st-in .st-ic { font-size: .45em; }
.st-in b { font-size: .65em; }
.st-in small { font-size: .22em; }

/* ---------------------------------------------------------------- last event */
.pw-last { justify-content: center; }
.le { display: flex; align-items: center; gap: .45em; line-height: 1.1; min-width: 0; max-width: 100%; }
.le small { display: block; font-size: .5em; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ac); }
.le b { font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.le-detail { font-size: .65em; opacity: .8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.le-gift { width: 1.8em; height: 1.8em; object-fit: contain; flex: none; }
.le-txt { display: flex; flex-direction: column; gap: .12em; min-width: 0; }
.le-card { padding: .35em .7em .35em .35em; border-radius: .45em; background: var(--bg); box-shadow: inset 0 0 0 .04em color-mix(in srgb, var(--ac) 40%, transparent), 0 .2em .6em rgba(0,0,0,.35); }
.le-card .pw-avatar { border-radius: .3em; box-shadow: 0 0 0 .07em var(--ac); }
.le-banner { gap: .35em; padding: .18em .55em .18em .18em; border-radius: 99px; background: var(--bg); box-shadow: 0 .15em .5em rgba(0,0,0,.35); font-size: .85em; }
.le-tag { padding: .3em .6em; border-radius: 99px; background: var(--ac); color: #000; font-size: .5em; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.le-minimal { flex-direction: column; align-items: center; gap: .1em; text-align: center; text-shadow: 0 .05em 0 rgba(0,0,0,.7), 0 .08em .3em rgba(0,0,0,.6); }
.le-minimal b { font-size: 1.2em; }
.le.empty { flex-direction: column; opacity: .6; }

/* ---------------------------------------------------------------- top gift */
.pw-topgift { justify-content: center; }
.tg { position: relative; display: flex; align-items: center; gap: .5em; max-width: 100%; }
.tg small { display: block; font-size: .45em; font-weight: 800; letter-spacing: .12em; color: var(--ac); }
.tg-img { width: 3em; height: 3em; object-fit: contain; flex: none; position: relative; z-index: 1; filter: drop-shadow(0 .1em .3em rgba(0,0,0,.5)); }
.tg-txt { display: flex; flex-direction: column; gap: .1em; min-width: 0; position: relative; z-index: 1; }
.tg-txt b { font-size: 1.1em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-by { font-size: .65em; opacity: .85; }
.tg-by i { font-style: normal; color: var(--ac); font-weight: 700; }
.tg-empty { font-size: .7em; opacity: .7; }
.tg-card { padding: .4em .8em .4em .4em; border-radius: .5em; background: var(--bg); box-shadow: inset 0 0 0 .05em color-mix(in srgb, var(--ac) 50%, transparent), 0 .25em .8em rgba(0,0,0,.4); }
.tg-spot { flex-direction: column; text-align: center; gap: .2em; padding: .3em; }
.tg-spot .tg-img { width: 3.6em; height: 3.6em; }
.tg-spot .tg-txt { align-items: center; text-shadow: 0 .05em 0 rgba(0,0,0,.7), 0 .1em .4em rgba(0,0,0,.6); }
.tg-rays { position: absolute; left: 50%; top: 32%; width: 7em; height: 7em; margin: -3.5em 0 0 -3.5em; border-radius: 50%; background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 45%, transparent) 0 10deg, transparent 10deg 24deg); mask: radial-gradient(circle, #000 15%, transparent 65%); -webkit-mask: radial-gradient(circle, #000 15%, transparent 65%); animation: tg-spin 14s linear infinite; }
@keyframes tg-spin { to { rotate: 360deg; } }

/* ---------------------------------------------------------------- ticker */
.pw-ticker { align-items: stretch; }
.tk { display: flex; align-items: center; width: 100%; height: 100%; overflow: hidden; }
.tk-tag { flex: none; display: grid; place-items: center; align-self: stretch; padding: 0 .6em; background: var(--ac); color: #fff; font-weight: 900; letter-spacing: .08em; font-size: .75em; z-index: 1; }
.tk-track { flex: 1; overflow: hidden; height: 100%; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.tk-move { display: flex; width: max-content; animation: tk-scroll linear infinite; }
.tk-move span { padding-right: 3em; white-space: nowrap; font-weight: 700; }
@keyframes tk-scroll { to { transform: translateX(-50%); } }
.tk-classic { background: var(--bg); border-radius: .3em; }
.tk-classic .tk-tag { border-radius: .3em 0 0 .3em; }
.tk-neon { background: transparent; }
.tk-neon .tk-tag { background: transparent; color: var(--ac); box-shadow: inset 0 0 0 .08em var(--ac), 0 0 .4em var(--ac); border-radius: .3em; margin-right: .4em; }
.tk-neon .tk-move span { text-shadow: 0 0 .1em #fff, 0 0 .35em var(--ac), 0 0 .7em var(--ac); }
.tk-news { background: #fff; color: #111 !important; }
.tk-news .tk-tag { background: #e3121b; clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%); padding-right: 1em; }
.tk-news .tk-move span { color: #111; }

/* ---------------------------------------------------------------- clock */
.pw-clock { justify-content: center; }
.ck { display: inline-flex; flex-direction: column; align-items: center; gap: .1em; line-height: 1; font-variant-numeric: tabular-nums; }
.ck small { font-size: .26em; font-weight: 800; letter-spacing: .14em; color: var(--ac); }
.ck b { font-weight: 700; }
.ck-digital { padding: .18em .4em .22em; border-radius: .18em; background: var(--bg); box-shadow: inset 0 0 0 .03em color-mix(in srgb, var(--ac) 40%, transparent), 0 0 .4em color-mix(in srgb, var(--ac) 25%, transparent); }
.ck-digital b { color: var(--ac); text-shadow: 0 0 .15em var(--ac); }
.ck-clean b { text-shadow: 0 .04em 0 rgba(0,0,0,.6), 0 .08em .3em rgba(0,0,0,.6); }
.ck-card { flex-direction: row; gap: .3em; padding: .2em .45em; border-radius: 99px; background: var(--bg); font-size: .6em; }
.ck-card small { font-size: .5em; }
.ck-card::before { content: ''; width: .35em; height: .35em; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 .3em #ff3b5c; animation: ck-blink 1.4s ease-in-out infinite; }
@keyframes ck-blink { 50% { opacity: .3; } }

/* ---------------------------------------------------------------- socials */
.pw-social { justify-content: center; }
.so { position: relative; display: grid; place-items: center; }
.so-item { display: inline-flex; align-items: center; gap: .35em; white-space: nowrap; }
.so-ic { width: 1.3em; height: 1.3em; display: grid; place-items: center; border-radius: .35em; color: #fff; font-size: .8em; font-weight: 900; flex: none; }
.so-item b { font-weight: 700; }
.so-pill .so-item, .so-card .so-item { grid-area: 1 / 1; opacity: 0; transform: translateY(.4em); transition: opacity .4s, transform .4s; }
.so-pill .so-item.on, .so-card .so-item.on { opacity: 1; transform: none; }
.so-pill .so-item { padding: .2em .55em .2em .22em; border-radius: 99px; background: var(--bg); box-shadow: 0 .15em .5em rgba(0,0,0,.35); }
.so-card .so-item { flex-direction: column; gap: .2em; padding: .4em .8em; border-radius: .4em; background: var(--bg); box-shadow: 0 .2em .6em rgba(0,0,0,.35); }
.so-card .so-ic { width: 1.8em; height: 1.8em; font-size: 1em; }
.so-list { display: flex; flex-wrap: wrap; gap: .3em .6em; justify-content: center; }
.so-list .so-item { padding: .15em .45em .15em .18em; border-radius: 99px; background: var(--bg); font-size: .75em; }

.st-card { padding-right: 1.9em; }
.st-ring { width: 3.4em; height: 3.4em; }
.so-card .so-item { max-width: 100%; }

/* ---------------------------------------------------------------- goal designs */
.gl { position: relative; width: 100%; line-height: 1.1; font-variant-numeric: tabular-nums; }
.gl-head { display: flex; align-items: baseline; justify-content: space-between; gap: .6em; margin-bottom: .3em; }
.gl-head b { font-weight: 800; text-shadow: 0 .05em .2em rgba(0,0,0,.6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-vals { font-size: .8em; font-weight: 700; opacity: .9; white-space: nowrap; text-shadow: 0 .05em .2em rgba(0,0,0,.6); }
.gl-track { position: relative; height: .7em; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.12); overflow: hidden; }
.gl-fill { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 .5em color-mix(in srgb, var(--c2) 60%, transparent); transition: width .8s cubic-bezier(.22, 1, .36, 1); }
.gl.done .gl-fill { animation: pw-pulse 1.2s ease-in-out infinite; }
/* thin bar */
.gl-bar .gl-track { height: .42em; }
/* thick striped bar */
.gl-stripes .gl-track { height: 1.6em; border-radius: .35em; }
.gl-stripes .gl-fill { background: repeating-linear-gradient(-45deg, rgba(255,255,255,.18) 0 .45em, transparent .45em .9em), linear-gradient(90deg, var(--c1), var(--c2)); background-size: 1.27em 1.27em, 100% 100%; animation: gl-stripes 1s linear infinite; }
.gl-stripes .gl-in { position: absolute; inset: 0; display: grid; place-items: center; font-size: .8em; font-weight: 800; text-shadow: 0 .06em .2em rgba(0,0,0,.7); }
.gl-pct { font-weight: 900; color: var(--c2); text-shadow: 0 0 .4em color-mix(in srgb, var(--c2) 60%, transparent); }
@keyframes gl-stripes { to { background-position: 1.27em 0, 0 0; } }
/* segments */
.gl-blocks { display: grid; grid-template-columns: repeat(10, 1fr); gap: .18em; }
.gl-blocks i { height: .9em; border-radius: .18em; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.1); transition: background .4s; }
.gl-blocks i.on { background: color-mix(in srgb, var(--c1) calc((1 - var(--i)) * 100%), var(--c2)); box-shadow: 0 0 .45em color-mix(in srgb, var(--c2) 45%, transparent); }
/* square card */
.pw-goal:has(.gl-square), .pw-goal:has(.gl-ring) { justify-content: center; align-items: center; }
.gl-square { width: auto; height: 100%; aspect-ratio: 1; max-width: 100%; border-radius: .6em; background: var(--bg); box-shadow: inset 0 0 0 .07em rgba(255,255,255,.12), 0 .3em 1em rgba(0,0,0,.4); overflow: hidden; }
.gl-sqfill { position: absolute; inset: auto 0 0 0; background: linear-gradient(0deg, var(--c1), var(--c2)); opacity: .9; transition: height .8s cubic-bezier(.22, 1, .36, 1); }
.gl-sqfill::after { content: ''; position: absolute; left: 0; right: 0; top: -.25em; height: .5em; background: radial-gradient(ellipse at 50% 100%, rgba(255,255,255,.45), transparent 70%); }
.gl-sq-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1em; text-align: center; text-shadow: 0 .05em .25em rgba(0,0,0,.6); }
.gl-sq-in .gl-ic { font-size: 1.1em; }
.gl-sq-in b { font-size: 2.1em; font-weight: 900; letter-spacing: -.03em; }
.gl-sq-in small { font-size: .55em; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.gl-sq-in .gl-vals { font-size: .55em; opacity: .85; }
/* ring */
.gl-ring { width: auto; height: 100%; display: flex; flex-direction: column; align-items: center; gap: .2em; }
.gl-ring-in { position: relative; flex: 1; min-height: 0; aspect-ratio: 1; }
.gl-ring-in svg { position: absolute; inset: 0; width: 100%; height: 100%; rotate: -90deg; }
.gl-ring-track { fill: var(--bg); stroke: rgba(255,255,255,.12); stroke-width: 8; }
.gl-ring-prog { fill: none; stroke-width: 8; stroke-linecap: round; transition: stroke-dashoffset .8s ease; filter: drop-shadow(0 0 4px var(--c2)); }
.gl-ring-txt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-shadow: 0 .05em .2em rgba(0,0,0,.6); }
.gl-ring-txt b { font-size: 1.5em; font-weight: 900; }
.gl-ring-txt small { font-size: .55em; opacity: .8; }
.gl-ring-title { font-weight: 800; font-size: .7em; letter-spacing: .06em; text-transform: uppercase; text-shadow: 0 .05em .2em rgba(0,0,0,.6); }
/* glass card */
.gl-glass { display: flex; align-items: center; gap: .55em; padding: .45em .7em; border-radius: .55em; background: rgba(255,255,255,.08); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.2), 0 .25em .9em rgba(0,0,0,.3); }
.gl-glass .gl-ic { width: 1.7em; height: 1.7em; flex: none; display: grid; place-items: center; border-radius: .45em; background: linear-gradient(135deg, var(--c1), var(--c2)); font-size: .9em; }
.gl-glass-body { flex: 1; min-width: 0; }
.gl-glass .gl-track { height: .45em; background: rgba(0,0,0,.35); }
.pw-goal:has(.gl) { align-items: center; }
.gl-sqfill { width: 100% !important; border-radius: 0; }

/* ---------------------------------------------------------------- glows never touch the widget edge */
.pw-likes .lm { box-sizing: border-box; padding: 6% 8% 2%; }
.pw-goal-box.look-neon { margin: 10px; }
.gl-ring { box-sizing: border-box; padding: 5% 7% 2%; }
.gl-square { max-height: 92%; }
/* wins: card fits its box, + 2 new designs */
.pw-wins.look-card .ww { padding: .14em .45em .18em; }
.pw-wins.look-pill .ww { gap: .08em; }
.pw-wins.look-pill .ww-row { padding: .08em .5em .1em; border-radius: 99px; background: rgba(10,12,18,.82); box-shadow: inset 0 0 0 .03em rgba(255,255,255,.14), 0 .1em .35em rgba(0,0,0,.45); text-shadow: none; font-size: .8em; }
.pw-wins.look-pill .ww-cur { padding: 0 .25em; border-radius: .25em; background: color-mix(in srgb, currentColor 18%, transparent); }
.pw-wins.look-score .ww { gap: 0; }
.pw-wins.look-score .ww-row { display: grid; grid-template-columns: auto auto auto; grid-template-areas: 't t t' 'c s m'; align-items: center; column-gap: .12em; padding: 0 .3em .08em; border-radius: .16em; background: linear-gradient(#171a20, #0b0c0f); box-shadow: inset 0 0 0 .03em rgba(255,255,255,.12), 0 .12em .4em rgba(0,0,0,.5); text-shadow: none; }
.pw-wins.look-score .ww-title { grid-area: t; justify-self: stretch; margin: 0 -.3em .08em; padding: .1em 0; border-radius: .16em .16em 0 0; background: #e3121b; color: #fff; text-align: center; font-size: .32em; letter-spacing: .2em; }
.pw-wins.look-score .ww-cur { grid-area: c; min-width: 1.1em; padding: 0 .12em; border-radius: .08em; background: #000; box-shadow: inset 0 0 .15em rgba(0,0,0,.8); }
.pw-wins.look-score .ww-sep { grid-area: s; opacity: .5; }
.pw-wins.look-score .ww-max { grid-area: m; opacity: .8; }

/* ---------------------------------------------------------------- gift showcase (top gift / gift alert) */
.pw-topgift, .pw-topstreak, .pw-giftalert, .pw-battle { justify-content: center; overflow: visible; }
.gs { position: relative; display: flex; flex-direction: column; align-items: center; gap: .35em; text-align: center; line-height: 1.1; }
.gs-label { font-size: .42em; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ac); text-shadow: 0 0 .5em color-mix(in srgb, var(--ac) 60%, transparent); }
.gs-gift-wrap { position: relative; width: 3.4em; height: 3.4em; flex: none; }
.gs-gift { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 .15em .35em rgba(0,0,0,.55)); }
.gs-x { position: absolute; right: -.5em; bottom: -.05em; font-size: .85em; font-weight: 900; color: #fff; -webkit-text-stroke: .12em #000; paint-order: stroke fill; text-shadow: 0 .06em 0 #000; }
.gs-user { display: flex; align-items: center; gap: .4em; max-width: 100%; padding: .22em .7em .22em .22em; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 .04em color-mix(in srgb, var(--ac) 45%, transparent), 0 .15em .5em rgba(0,0,0,.4); text-align: left; }
.gs-user > div { display: flex; flex-direction: column; min-width: 0; }
.gs-user b, .gs-user > span { font-size: .62em; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-user i { font-size: .42em; font-style: normal; opacity: .85; white-space: nowrap; }
/* Ring and glow are drawn by the round wrapper; the photo is clipped as a circle on its own. On a
   3D or animated card, a glow on the photo itself came out square. */
.gs-av { display: inline-block; flex: none; line-height: 0; border-radius: 50%; box-shadow: 0 0 0 .07em var(--ac), 0 0 .5em color-mix(in srgb, var(--ac) 60%, transparent); }
.gs-av .pw-avatar { box-shadow: none; clip-path: circle(50% at 50% 50%); }

/* Gift showcase · Épuré & Carte */
.gs-clean, .gs-wcard { display: flex; flex-direction: column; align-items: center; gap: .12em; text-align: center; line-height: .95; }
.gs-clean .gs-gift-wrap, .gs-wcard .gs-gift-wrap { width: 3em; height: 3em; animation: mo-bob 2.8s ease-in-out infinite; }
.gs-who { display: flex; align-items: center; gap: .3em; max-width: 100%; }
.gs-cname { min-width: 0; font-size: .82em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-cval { display: inline-flex; align-items: center; gap: .2em; font-size: .52em; color: var(--ac); }
.gs-cval .lb-ic { width: .95em; height: .95em; }
/* Coins under the viewer's name (the gift picture already says which gift it is) */
.gs-coins { display: inline-flex; align-items: center; gap: .25em; }
.gs-coins .lb-ic { width: 1.1em; height: 1.1em; }
.gs-clean .gs-label, .gs-clean .gs-cname, .gs-clean .gs-cval { -webkit-text-stroke: .1em #111; paint-order: stroke fill; text-shadow: 0 .07em 0 #111; }
.gs-clean .gs-label { color: #fff; }
.gs-clean .gs-cname { color: #fff; }
.gs-clean .gs-gift { filter: drop-shadow(0 .06em 0 #111) drop-shadow(0 .14em .12em rgba(0,0,0,.35)); }
.gs-clean .gs-av { box-shadow: 0 0 0 .06em #fff, 0 0 0 .1em #111; }
.gs-wcard { padding: .55em .9em .6em; border-radius: .6em; background: #fff; color: #15171c; box-shadow: 0 .3em 1em rgba(0,0,0,.35); }
.gs-wcard .gs-label { color: color-mix(in srgb, var(--ac) 70%, #000); text-shadow: none; }
/* The widget's text colour (white by default) would vanish on the white card: dark letters here */
.gs-wcard .gs-cname { color: #15171c; text-shadow: none; }
.gs-wcard .gs-x { color: #15171c; -webkit-text-stroke: 0; text-shadow: none; }
.gs-wcard .gs-cval { color: color-mix(in srgb, var(--ac) 70%, #000); }
.gs-wcard .gs-av { box-shadow: 0 0 0 .07em var(--ac); }
.gs-clean.intro > *, .gs-wcard.intro > * { animation: duo-rise .55s cubic-bezier(.2, 1.3, .4, 1) both; }
.gs-clean.intro > :nth-child(2), .gs-wcard.intro > :nth-child(2) { animation-delay: .1s; }
.gs-clean.intro > :nth-child(3), .gs-wcard.intro > :nth-child(3) { animation-delay: .2s; }
.gs-clean.intro > :nth-child(4), .gs-wcard.intro > :nth-child(4) { animation-delay: .3s; }
.gs-empty { display: flex; flex-direction: column; align-items: center; gap: .3em; text-align: center; }
.gs-empty small { font-size: .42em; font-weight: 800; letter-spacing: .14em; color: var(--ac); }
.gs-empty span { font-size: .55em; opacity: .7; }
.gs.out { animation: gs-out .45s ease-in both; }
@keyframes gs-out { to { opacity: 0; transform: scale(.85) translateY(-.4em); } }

/* spin: the gift turns in 3D on its glowing ring, then the viewer drops in */
.gs-stage { position: relative; perspective: 8em; padding: .2em .6em .5em; }
.gs-orbit { position: absolute; left: 50%; bottom: .1em; width: 4.2em; height: 1em; margin-left: -2.1em; border-radius: 50%; background: radial-gradient(ellipse, color-mix(in srgb, var(--ac) 70%, transparent), transparent 70%); box-shadow: 0 0 1.2em color-mix(in srgb, var(--ac2) 55%, transparent); animation: gs-glow 2.4s ease-in-out infinite; }
.gs-spin .gs-gift-wrap { transform-style: preserve-3d; animation: gs-sway 5s ease-in-out infinite; }
.gs-spin.intro .gs-gift-wrap { animation: gs-spin-in 1.4s cubic-bezier(.2, .8, .2, 1) both, gs-sway 5s ease-in-out 1.4s infinite; }
.gs-spin.intro .gs-user { animation: gs-pop .6s cubic-bezier(.34, 1.56, .64, 1) 1.15s both; }
.gs-spin.intro .gs-label { animation: gs-fade .5s .1s both; }
@keyframes gs-spin-in { from { opacity: 0; transform: translateY(-1em) scale(.2) rotateY(-1080deg); } 65% { opacity: 1; transform: translateY(0) scale(1.18) rotateY(0); } to { transform: scale(1); } }
@keyframes gs-sway { 0%, 100% { transform: rotateY(-22deg) translateY(0); } 50% { transform: rotateY(22deg) translateY(-.12em); } }
@keyframes gs-glow { 50% { opacity: .55; transform: scaleX(1.12); } }
@keyframes gs-pop { from { opacity: 0; transform: translateY(.7em) scale(.7); } }
@keyframes gs-fade { from { opacity: 0; transform: translateY(-.3em); } }

/* holographic trading card */
.gs-holo { perspective: 10em; }
.gs-holo-card { position: relative; display: flex; flex-direction: column; align-items: center; gap: .3em; padding: .55em .8em .6em; border-radius: .55em; overflow: hidden; background: linear-gradient(150deg, #1d1140, #0b1d33 60%, #12081f); box-shadow: inset 0 0 0 .06em rgba(255,255,255,.28), 0 0 0 .05em color-mix(in srgb, var(--ac) 60%, transparent), 0 .35em 1.2em rgba(0,0,0,.55); }
.gs-shine { position: absolute; inset: -60%; background: conic-gradient(from 0deg, #ff3df0, #22d3ee, #a3ff3d, #ffd23f, #ff3df0); opacity: .22; mix-blend-mode: screen; animation: gs-holo 6s linear infinite; }
.gs-holo-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.4) 48%, transparent 60%); background-size: 250% 100%; animation: gs-sheen 3.2s ease-in-out infinite; }
.gs-holo-card > * { position: relative; z-index: 1; }
.gs-gname { font-size: .7em; font-weight: 900; letter-spacing: .02em; }
.gs-holo .gs-user { background: rgba(0,0,0,.35); }
.gs-holo .gs-user > span { font-size: .55em; }
.gs-holo .gs-user i { font-size: .45em; }
.gs-holo.intro .gs-holo-card { animation: gs-flip 1.1s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes gs-holo { to { rotate: 360deg; } }
@keyframes gs-sheen { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
@keyframes gs-flip { from { opacity: 0; transform: rotateY(-180deg) scale(.6); } 60% { opacity: 1; transform: rotateY(12deg) scale(1.05); } to { transform: none; } }

/* spotlight */
.gs-rays { position: absolute; left: 50%; top: 42%; width: 9em; height: 9em; margin: -4.5em 0 0 -4.5em; border-radius: 50%; background: repeating-conic-gradient(color-mix(in srgb, var(--ac) 45%, transparent) 0 9deg, transparent 9deg 22deg); mask: radial-gradient(circle, #000 12%, transparent 66%); -webkit-mask: radial-gradient(circle, #000 12%, transparent 66%); animation: gs-holo 16s linear infinite; }
.gs-spot > :not(.gs-rays) { position: relative; }
.gs-spot .gs-gift-wrap { animation: gs-float 3s ease-in-out infinite; }
.gs-spot.intro .gs-gift-wrap { animation: gs-drop .9s cubic-bezier(.34, 1.56, .64, 1) both, gs-float 3s ease-in-out .9s infinite; }
.gs-spot.intro .gs-user { animation: gs-pop .6s cubic-bezier(.34, 1.56, .64, 1) .7s both; }
.gs-spot.intro .gs-rays { animation: gs-rays-in .8s ease-out both, gs-holo 16s linear .8s infinite; }
@keyframes gs-float { 50% { transform: translateY(-.15em); } }
@keyframes gs-drop { from { opacity: 0; transform: translateY(-2em) scale(.5); } }
@keyframes gs-rays-in { from { opacity: 0; transform: scale(.3); } }

/* slide-in banner */
.gs-slide { flex-direction: row; gap: .5em; padding: .3em .45em .3em .3em; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 .05em color-mix(in srgb, var(--ac) 50%, transparent), 0 .25em .8em rgba(0,0,0,.45); text-align: left; }
.gs-slide-txt { display: flex; flex-direction: column; gap: .05em; min-width: 0; }
.gs-slide-txt b { font-size: .8em; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-slide-txt i { font-size: .45em; font-style: normal; opacity: .85; white-space: nowrap; }
.gs-slide .gs-gift-wrap { width: 2.2em; height: 2.2em; margin-right: .3em; animation: gs-sway 4s ease-in-out infinite; }
.gs-slide.intro { animation: gs-slide-in .7s cubic-bezier(.2, .9, .3, 1.2) both; }
.gs-slide.intro .gs-gift-wrap { animation: gs-spin-in 1.1s cubic-bezier(.2, .8, .2, 1) .25s both, gs-sway 4s ease-in-out 1.35s infinite; }
@keyframes gs-slide-in { from { opacity: 0; transform: translateX(-2em) scale(.9); } }

/* ---------------------------------------------------------------- top combo */
.ts { display: flex; flex-direction: column; align-items: center; gap: .2em; text-align: center; line-height: 1; }
.ts-label { font-size: .42em; font-weight: 800; letter-spacing: .16em; color: var(--ac); }
.ts-row { display: flex; align-items: center; gap: .15em; }
.ts-gift { width: 2.4em; height: 2.4em; object-fit: contain; filter: drop-shadow(0 .12em .3em rgba(0,0,0,.5)); animation: gs-float 3s ease-in-out infinite; }
.ts-x { font-size: 2.1em; font-weight: 900; letter-spacing: -.02em; }
.ts-user { display: flex; align-items: center; gap: .35em; padding: .18em .6em .18em .18em; border-radius: 99px; background: var(--bg); }
.ts-user span { font-size: .55em; font-weight: 800; }
.ts-fire .ts-x { background: linear-gradient(0deg, #ff2a00, var(--ac) 45%, var(--ac2) 75%, #fff6c0); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .04em 0 #000) drop-shadow(0 0 .25em color-mix(in srgb, var(--ac) 70%, transparent)); animation: ts-flicker 1.4s ease-in-out infinite; }
.ts-neon .ts-x { color: #fff; text-shadow: 0 0 .06em #fff, 0 0 .25em var(--ac), 0 0 .6em var(--ac), 0 0 1em var(--ac2); }
.ts-neon .ts-label { text-shadow: 0 0 .4em var(--ac); }
.ts-arcade { padding: .35em .6em .45em; background: #050507; box-shadow: 0 0 0 .08em #fff, 0 0 0 .16em var(--ac), .25em .25em 0 .16em rgba(0,0,0,.5); }
.ts-arcade .ts-x { font-size: 1.5em; color: #ffe600; text-shadow: .08em .08em 0 var(--ac2); }
.ts-arcade .ts-user { background: transparent; }
.ts.intro .ts-x { animation: ts-pop .8s cubic-bezier(.34, 1.56, .64, 1) both; }
.ts-fire.intro .ts-x { animation: ts-pop .8s cubic-bezier(.34, 1.56, .64, 1) both, ts-flicker 1.4s ease-in-out .8s infinite; }
.ts.intro .ts-user { animation: gs-pop .5s cubic-bezier(.34, 1.56, .64, 1) .45s both; }
@keyframes ts-pop { from { opacity: 0; transform: scale(2.6) rotate(-8deg); } }
@keyframes ts-flicker { 0%, 100% { filter: drop-shadow(0 .04em 0 #000) drop-shadow(0 0 .25em color-mix(in srgb, var(--ac) 70%, transparent)); } 50% { filter: drop-shadow(0 .04em 0 #000) drop-shadow(0 0 .5em color-mix(in srgb, var(--ac2) 80%, transparent)); } }

/* ---------------------------------------------------------------- battle red vs green */
.bt { width: 100%; line-height: 1.1; }
.bt-title { margin-bottom: .2em; text-align: center; font-size: .5em; font-weight: 900; letter-spacing: .14em; }
.bt-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4em; margin-bottom: .3em; }
.bt-team { display: flex; align-items: center; gap: .35em; min-width: 0; }
.bt-team.g { justify-content: flex-end; }
.bt-team b { font-size: .75em; font-weight: 900; letter-spacing: .06em; white-space: nowrap; text-shadow: 0 .05em 0 rgba(0,0,0,.6); }
.bt-team.r b { color: var(--r); }
.bt-team.g b { color: var(--g); }
.bt-icons { display: flex; }
.bt-icons img { width: 1.15em; height: 1.15em; object-fit: contain; margin-right: -.2em; filter: drop-shadow(0 .05em .1em rgba(0,0,0,.6)); }
.bt-vs { padding: .08em .45em; border-radius: .25em; background: #fff; color: #000; font-size: .8em; font-weight: 900; transform: skew(-10deg); box-shadow: 0 0 .6em rgba(255,255,255,.55); }
.bt-bar { position: relative; display: flex; height: 1.3em; border-radius: .45em; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.15), 0 .15em .5em rgba(0,0,0,.4); }
.bt-r { display: flex; align-items: center; padding-left: .4em; background: linear-gradient(90deg, color-mix(in srgb, var(--r) 65%, #000), var(--r)); transition: width .9s cubic-bezier(.22, 1, .36, 1); }
.bt-g { flex: 1; display: flex; align-items: center; justify-content: flex-end; padding-right: .4em; background: linear-gradient(90deg, var(--g), color-mix(in srgb, var(--g) 65%, #000)); }
.bt-bar span { font-size: .62em; font-weight: 900; text-shadow: 0 .06em .15em rgba(0,0,0,.7); white-space: nowrap; }
.bt-knot { position: absolute; top: -.2em; bottom: -.2em; width: .3em; margin-left: -.15em; border-radius: .2em; background: #fff; box-shadow: 0 0 .5em #fff, 0 0 1.1em #fff; transition: left .9s cubic-bezier(.22, 1, .36, 1); }
.bt-foot { display: flex; justify-content: space-between; gap: .5em; margin-top: .3em; font-size: .4em; font-weight: 700; opacity: .85; white-space: nowrap; }
.lead-r .bt-team.r b, .lead-g .bt-team.g b { animation: bt-lead 1.2s ease-in-out infinite; }
@keyframes bt-lead { 50% { filter: brightness(1.5); transform: scale(1.06); } }
.bt-split { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .4em; }
.bt-half { display: flex; flex-direction: column; align-items: center; gap: .1em; padding: .35em .4em; border-radius: .45em; text-align: center; transition: box-shadow .4s; }
.bt-half.r { background: linear-gradient(160deg, color-mix(in srgb, var(--r) 55%, #000), color-mix(in srgb, var(--r) 18%, #000)); }
.bt-half.g { background: linear-gradient(200deg, color-mix(in srgb, var(--g) 55%, #000), color-mix(in srgb, var(--g) 18%, #000)); }
.bt-half small { font-size: .45em; font-weight: 900; letter-spacing: .12em; }
.bt-half b { font-size: 1.4em; font-weight: 900; text-shadow: 0 .05em 0 rgba(0,0,0,.6); }
.bt-half > span { font-size: .38em; opacity: .85; }
.lead-r .bt-half.r { box-shadow: 0 0 1em var(--r), inset 0 0 0 .05em rgba(255,255,255,.35); }
.lead-g .bt-half.g { box-shadow: 0 0 1em var(--g), inset 0 0 0 .05em rgba(255,255,255,.35); }
.bt-mini { grid-column: 1 / -1; height: .22em; border-radius: 99px; background: var(--g); overflow: hidden; }
.bt-mini i { display: block; height: 100%; background: var(--r); transition: width .9s cubic-bezier(.22, 1, .36, 1); }

/* ---------------------------------------------------------------- countdown (same family as the WIN counter) */
.pw-timer { justify-content: center; overflow: visible; }
.tm { position: relative; display: flex; flex-direction: column; align-items: center; gap: .04em; line-height: 1; font-variant-numeric: tabular-nums; }
.tm-title { font-size: .32em; letter-spacing: .14em; color: var(--ac); }
.tm-time { color: #fff; transition: color .3s; }
.tm-fx { position: absolute; left: 50%; top: 0; width: 0; height: 0; }
.tm-fx i { position: absolute; left: 0; top: 0; translate: -50% 0; font-style: normal; font-size: .4em; white-space: nowrap; animation: tm-float 1.4s ease-out forwards; }
.tm-fx i.up { color: #38f26b; }
.tm-fx i.down { color: var(--warn); }
.tm.bump .tm-time { animation: ww-bump .45s cubic-bezier(.34, 1.56, .64, 1); }
.tm.warn .tm-time { color: var(--warn); animation: tm-blink 1s steps(2) infinite; }
.tm.ended .tm-time { color: var(--warn); font-size: .7em; }
.tm.paused .tm-time { opacity: .75; }
@keyframes tm-float { from { opacity: 0; transform: translateY(0) scale(.6); } 20% { opacity: 1; transform: translateY(-.6em) scale(1.1); } to { opacity: 0; transform: translateY(-1.6em) scale(1); } }
@keyframes tm-blink { 50% { opacity: .55; } }
/* cartoon = the WIN counter look */
.tm-cartoon .tm-time, .tm-cartoon .tm-title { text-shadow: 0 .02em 0 rgba(0,0,0,.95), 0 .05em 0 rgba(0,0,0,.55), 0 .1em .3em rgba(0,0,0,.75); }
.tm-digital { padding: .1em .3em .12em; border-radius: .14em; background: var(--bg); box-shadow: inset 0 0 0 .025em color-mix(in srgb, var(--ac) 45%, transparent), 0 0 .35em color-mix(in srgb, var(--ac) 25%, transparent); }
.tm-digital .tm-time { color: var(--ac); text-shadow: 0 0 .12em var(--ac); }
.tm-pill { flex-direction: row; gap: .25em; padding: .08em .35em .1em; border-radius: 99px; background: var(--bg); box-shadow: 0 .06em .25em rgba(0,0,0,.45); font-size: .7em; }
.tm-pill .tm-title { font-size: .45em; }
.tm-neon .tm-time { text-shadow: 0 0 .05em #fff, 0 0 .18em var(--ac), 0 0 .45em var(--ac); }

/* auto-fit: the child keeps its natural size so it can be measured, then zoomed down */
.pw.fit > * { flex-shrink: 0; }
/* full-width designs include their padding in the width (no sideways overflow) */
.gl, .gl-glass, .pw-board, .bt, .tk { box-sizing: border-box; max-width: 100%; }
.pw.fit > .so-list { flex-shrink: 1; box-sizing: border-box; max-width: 100%; }

/* ---------------------------------------------------------------- leaderboards v2 */
.pw-gifters { justify-content: center; align-items: center; overflow: visible; }
.rk { width: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: .45em; line-height: 1.15; }
.rk-head { display: flex; align-items: center; gap: .5em; }
.rk-crown { font-size: 1.3em; filter: drop-shadow(0 .1em .25em rgba(0,0,0,.5)); }
.rk-gift { position: relative; width: 2.2em; height: 2.2em; flex: none; display: grid; place-items: center; }
.rk-gift::before { content: ''; position: absolute; inset: -.15em; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 55%, transparent), transparent 70%); animation: gs-glow 2.4s ease-in-out infinite; }
.rk-gift img { position: relative; width: 100%; height: 100%; object-fit: contain; animation: gs-sway 4s ease-in-out infinite; filter: drop-shadow(0 .1em .25em rgba(0,0,0,.5)); }
.rk-ttl { display: flex; flex-direction: column; min-width: 0; }
.rk-ttl b { font-size: 1.05em; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; color: var(--ac); text-shadow: 0 .05em .3em color-mix(in srgb, var(--ac) 45%, transparent); }
.rk-ttl small { font-size: .62em; font-weight: 600; opacity: .7; }
.rk-list { display: flex; flex-direction: column; gap: .32em; }
.rk-row { position: relative; display: flex; align-items: center; gap: .5em; padding: .32em .7em .32em .35em; border-radius: .7em; overflow: hidden; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.07), 0 .12em .4em rgba(0,0,0,.35); animation: rk-in .5s cubic-bezier(.22, 1, .36, 1) var(--d) both; }
.rk-fill { position: absolute; inset: 0 auto 0 0; width: var(--w); background: linear-gradient(90deg, color-mix(in srgb, var(--rc, var(--ac)) 26%, transparent), transparent); transition: width .8s cubic-bezier(.22, 1, .36, 1); }
.rk-row > :not(.rk-fill) { position: relative; }
.rk-pos { width: 1.5em; height: 1.5em; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.1); font-size: .72em; font-weight: 900; }
.rk-row.r1 { --rc: #fbbf24; } .rk-row.r2 { --rc: #d6dbe4; } .rk-row.r3 { --rc: #e08a4f; }
.rk-row.r1 .rk-pos, .rk-row.r2 .rk-pos, .rk-row.r3 .rk-pos { color: #1b1300; background: linear-gradient(145deg, #fff, var(--rc) 45%, color-mix(in srgb, var(--rc) 60%, #000)); box-shadow: 0 0 .5em color-mix(in srgb, var(--rc) 60%, transparent); }
.rk-av .pw-avatar { box-shadow: 0 0 0 .08em var(--rc, rgba(255,255,255,.25)); }
.rk-name { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-val { display: inline-flex; align-items: center; gap: .25em; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--rc, var(--ac)); }
.rk-val em { font-style: normal; font-size: .8em; }
.rk-empty { padding: .6em .3em; font-size: .75em; opacity: .65; text-align: center; }
.rk-by { align-self: flex-end; padding: .2em .6em; border-radius: 99px; background: rgba(0,0,0,.35); font-size: .55em; opacity: .85; }
.rk-by b { color: var(--ac); }
@keyframes rk-in { from { opacity: 0; transform: translateX(-1.2em) scale(.96); } }
/* neon */
.rk-neon .rk-row { background: rgba(0,0,0,.25); box-shadow: inset 0 0 0 .06em color-mix(in srgb, var(--rc, var(--ac)) 75%, transparent), 0 0 .5em color-mix(in srgb, var(--rc, var(--ac)) 30%, transparent); }
.rk-neon .rk-val, .rk-neon .rk-ttl b { text-shadow: 0 0 .15em currentColor, 0 0 .4em currentColor; }
/* glass */
.rk-glass .rk-row { background: rgba(255,255,255,.1); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.18); }
/* clean (no background) */
.rk-clean .rk-row { background: transparent; box-shadow: none; padding-left: 0; }
.rk-clean .rk-fill { display: none; }
.rk-clean .rk-name, .rk-clean .rk-val, .rk-clean .rk-ttl b { text-shadow: 0 .06em .25em rgba(0,0,0,.85); }
/* podium */
.rk-pod { display: grid; grid-template-columns: 1fr 1.15fr 1fr; align-items: end; gap: .4em; margin-top: .2em; }
.rk-step { display: flex; flex-direction: column; align-items: center; gap: .15em; min-width: 0; animation: rk-up .7s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
.rk-step .rk-name { max-width: 100%; font-size: .78em; text-align: center; }
.rk-step .rk-val { font-size: .75em; }
.rk-step.s1 { --rc: #fbbf24; } .rk-step.s2 { --rc: #d6dbe4; } .rk-step.s3 { --rc: #e08a4f; }
.rk-king { font-size: 1.3em; margin-bottom: -.25em; animation: gs-float 2.4s ease-in-out infinite; }
.rk-block { width: 100%; display: grid; place-items: center; margin-top: .25em; border-radius: .45em .45em .15em .15em; background: linear-gradient(180deg, color-mix(in srgb, var(--rc) 70%, #fff), var(--rc) 35%, color-mix(in srgb, var(--rc) 45%, #000)); box-shadow: inset 0 .08em 0 rgba(255,255,255,.45), 0 .3em .8em rgba(0,0,0,.4); }
.rk-block span { font-size: 1.2em; font-weight: 900; color: rgba(0,0,0,.55); }
.rk-step.s1 .rk-block { height: 3.2em; } .rk-step.s2 .rk-block { height: 2.3em; } .rk-step.s3 .rk-block { height: 1.7em; }
@keyframes rk-up { from { opacity: 0; transform: translateY(1.5em); } }

/* ---------- custom alert ---------- */
.pw-followalert { display: grid; place-items: center; }
.fa { position: relative; isolation: isolate; display: flex; align-items: center; gap: .55em; max-width: 100%; padding: .45em 1.1em .45em .45em; border-radius: 999px; background: var(--bg); box-shadow: 0 0 0 .07em color-mix(in srgb, var(--ac) 60%, transparent), 0 .3em 1.2em rgba(0,0,0,.45); overflow: hidden; }
.fa-photo { display: none; }
.fa-shine { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.fa-av { position: relative; flex: none; }
.fa-av .gs-av { display: block; border-radius: 50%; box-shadow: 0 0 0 .1em var(--ac); }
.fa-ring { position: absolute; inset: -.18em; border-radius: 50%; border: .08em solid var(--ac); opacity: 0; }
.fa-txt { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.fa-txt small { font-size: .42em; letter-spacing: .14em; color: var(--ac); }
.fa-txt b { margin-top: .14em; font-size: .8em; font-weight: inherit; text-shadow: 0 .06em 0 rgba(0,0,0,.4); }
.fa-txt b em { font-style: normal; color: var(--ac); }
.fa-gift { flex: none; width: 2.1em; height: 2.1em; object-fit: contain; filter: drop-shadow(0 .15em .3em rgba(0,0,0,.5)); }
.fa-fx { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }

/* Aura: the viewer's photo, blurred, fills the card */
.fa.fa-aura { border-radius: .55em; padding: .55em 1.2em .55em .55em; background: #0b0c10; box-shadow: 0 0 0 .05em rgba(255,255,255,.14), 0 .4em 1.4em rgba(0,0,0,.55); }
.fa.fa-aura .fa-photo { display: block; position: absolute; inset: -40%; z-index: -2; background-size: cover; background-position: center; filter: blur(.7em) saturate(1.8) brightness(.8); }
.fa.fa-aura .fa-shine { background: linear-gradient(100deg, rgba(0,0,0,.15), rgba(0,0,0,.55) 70%), linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 45%, transparent 55%); background-size: 100% 100%, 250% 100%; }
.fa.fa-aura.in .fa-shine { animation: fa-sweep 1.6s ease-out .3s both; }
.fa.fa-aura .fa-txt small { color: #fff; opacity: .75; }
/* Cinéma: big, letterbox bars, the gift spins in */
.fa.fa-cinema { flex-direction: column; text-align: center; gap: .3em; padding: .7em 1.4em .8em; border-radius: .4em; background: radial-gradient(120% 100% at 50% 0%, color-mix(in srgb, var(--ac) 35%, #000) 0%, #07080b 70%); }
.fa.fa-cinema::before, .fa.fa-cinema::after { content: ''; position: absolute; left: 0; right: 0; height: .35em; background: #000; z-index: 2; }
.fa.fa-cinema::before { top: 0; } .fa.fa-cinema::after { bottom: 0; }
.fa.fa-cinema .fa-txt { align-items: center; }
.fa.fa-cinema .fa-txt b { font-size: .95em; }
.fa.fa-cinema .fa-gift { position: absolute; right: .5em; top: 50%; translate: 0 -50%; width: 2.6em; height: 2.6em; }
.fa.fa-cinema.in .fa-gift { animation: fa-spin-in .9s cubic-bezier(.2,1.4,.4,1) .2s both; }
.fa.fa-cinema.in::before { animation: fa-bar-top .5s ease-out both; }
.fa.fa-cinema.in::after { animation: fa-bar-bot .5s ease-out both; }
/* Verre */
.fa.fa-glass { border-radius: .6em; background: rgba(255,255,255,.1); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 .04em rgba(255,255,255,.35), 0 .4em 1.2em rgba(0,0,0,.4); }
.fa.fa-glass .fa-shine { background: linear-gradient(135deg, rgba(255,255,255,.35), transparent 40%); }
/* Épuré: no card, white letters with a crisp black outline (same family as the top donors) */
.fa.fa-white { padding: .25em .35em; background: none; box-shadow: none; overflow: visible; }
.fa.fa-white .fa-txt small { -webkit-text-stroke: .09em #111; paint-order: stroke fill; text-shadow: 0 .06em 0 #111; }
.fa.fa-white .fa-txt b { color: #fff; -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.fa.fa-white .fa-av .gs-av { box-shadow: 0 0 0 .07em #fff, 0 0 0 .12em #111; }
.fa.fa-white .fa-gift { filter: drop-shadow(0 .06em 0 #111) drop-shadow(0 .14em .12em rgba(0,0,0,.35)); }
/* Carte: white card, dark letters, a bar in the accent colour */
.fa.fa-card { padding: .5em 1.3em .5em .55em; border-radius: .6em; background: #fff; box-shadow: 0 .3em 1em rgba(0,0,0,.35); overflow: hidden; }
.fa.fa-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .16em; background: var(--ac); }
.fa.fa-card .fa-txt small { color: color-mix(in srgb, var(--ac) 70%, #000); }
.fa.fa-card .fa-txt b { color: #15171c; text-shadow: none; }
.fa.fa-card .fa-txt b em { color: color-mix(in srgb, var(--ac) 70%, #000); }
.fa.fa-card .fa-av .gs-av { box-shadow: 0 0 0 .08em var(--ac); }
/* Vertical: the photo big on top, everything centred under it, no card */
.fa.fa-stack { flex-direction: column; gap: .2em; padding: .2em .4em; text-align: center; background: none; box-shadow: none; overflow: visible; }
.fa.fa-stack .fa-av { margin-bottom: .1em; zoom: 1.3; }
.fa.fa-stack .fa-av .gs-av { box-shadow: 0 0 0 .07em #fff, 0 0 0 .12em #111; }
.fa.fa-stack .fa-txt { align-items: center; }
.fa.fa-stack .fa-txt small { -webkit-text-stroke: .09em #111; paint-order: stroke fill; text-shadow: 0 .06em 0 #111; }
.fa.fa-stack .fa-txt b { color: #fff; font-size: .95em; -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.fa.fa-stack .fa-gift { position: absolute; top: .1em; left: calc(50% + 1.1em); width: 1.6em; height: 1.6em; filter: drop-shadow(0 .06em 0 #111); }
/* Vertical carte: white card, the photo sticks out of its top edge (the card is drawn behind,
   starting halfway down the photo, so the whole thing stays measurable and never gets cut) */
.fa.fa-stackcard { flex-direction: column; gap: .15em; padding: 0 1.4em .7em; text-align: center; border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.fa.fa-stackcard::before { content: ''; position: absolute; inset: 1.2em 0 0; z-index: -1; border-radius: .7em; background: #fff; box-shadow: 0 .3em 1em rgba(0,0,0,.35); }
.fa.fa-stackcard .fa-av { margin-bottom: .1em; }
.fa.fa-stackcard .fa-av .gs-av { box-shadow: 0 0 0 .09em #fff, 0 .15em .4em rgba(0,0,0,.3); }
.fa.fa-stackcard .fa-txt { align-items: center; }
.fa.fa-stackcard .fa-txt small { color: color-mix(in srgb, var(--ac) 70%, #000); }
.fa.fa-stackcard .fa-txt b { color: #15171c; text-shadow: none; }
.fa.fa-stackcard .fa-txt b em { color: color-mix(in srgb, var(--ac) 70%, #000); }
.fa.fa-stackcard .fa-gift { width: 1.7em; height: 1.7em; margin-top: .15em; }
.fa.in.fa-stack, .fa.in.fa-stackcard { animation: fa-pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.fa.in.fa-white { animation: fa-name .6s cubic-bezier(.2,.9,.3,1.2) both; }
.fa.in.fa-card { animation: fa-slide .6s cubic-bezier(.2,.9,.3,1) both; }
/* Bandeau, Néon */
.fa-slide { border-radius: .4em; padding-right: 1.4em; }
.fa-neon { background: transparent; box-shadow: none; }
.fa-neon .fa-txt b { text-shadow: 0 0 .3em var(--ac), 0 0 .8em var(--ac); }
.fa-neon .fa-av .gs-av { box-shadow: 0 0 0 .1em var(--ac), 0 0 .8em var(--ac); }
/* entrances (live only) */
.fa.in { animation: fa-pop .6s cubic-bezier(.3,1.6,.5,1) both; }
.fa.in.fa-slide, .fa.in.fa-aura { animation: fa-slide .6s cubic-bezier(.2,.9,.3,1) both; }
.fa.in.fa-cinema { animation: fa-zoom .7s cubic-bezier(.2,.9,.3,1.1) both; }
.fa.in.fa-neon { animation: fa-flick .7s steps(1) both; }
.fa.in .fa-ring { animation: fa-ring 1.4s ease-out .3s 2; }
.fa.in .fa-txt b { animation: fa-name .5s ease-out .25s both; }
.fa.in .fa-gift { animation: fa-spin-in .8s cubic-bezier(.2,1.4,.4,1) .3s both; }
.fa.out { animation: fa-out .5s ease-in forwards; }
@keyframes fa-pop { 0% { transform: scale(.3); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes fa-slide { 0% { transform: translateX(-60%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fa-zoom { 0% { transform: scale(1.6); opacity: 0; filter: blur(8px); } 100% { transform: none; opacity: 1; filter: none; } }
@keyframes fa-flick { 0%, 20%, 40% { opacity: 0; } 10%, 30%, 50%, 100% { opacity: 1; } }
@keyframes fa-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes fa-name { 0% { transform: translateY(.4em); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fa-spin-in { 0% { transform: scale(0) rotate(-200deg); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes fa-sweep { 0% { background-position: 0 0, 120% 0; } 100% { background-position: 0 0, -120% 0; } }
@keyframes fa-bar-top { 0% { height: 50%; } 100% { height: .35em; } }
@keyframes fa-bar-bot { 0% { height: 50%; } 100% { height: .35em; } }


/* last event · Aura: the viewer's photo, blurred, as the background */
.le-aura { position: relative; isolation: isolate; overflow: hidden; padding: .4em .9em .4em .4em; border-radius: .5em; background: #0b0c10; box-shadow: 0 0 0 .04em rgba(255,255,255,.14), 0 .3em 1em rgba(0,0,0,.5); }
.le-photo { position: absolute; inset: -40%; z-index: -2; background-size: cover; background-position: center; filter: blur(.7em) saturate(1.8) brightness(.8); }
.le-aura::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(0,0,0,.1), rgba(0,0,0,.55) 75%); }
.le-aura .pw-avatar { border-radius: 50%; box-shadow: 0 0 0 .08em #fff; }
.le-aura small { color: #fff; opacity: .75; letter-spacing: .1em; }
.le-aura .le-detail { color: var(--ac); }

/* ===================================================================== menus */
.pm-price { display: inline-flex; align-items: center; gap: .3em; font-size: .55em; font-weight: 800; color: rgba(255,255,255,.75); white-space: nowrap; }
/* cards */
.pm-tiles .pm-card { position: relative; gap: .35em; padding: .55em .45em .6em; border-radius: .55em; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.12), 0 .3em .9em rgba(0,0,0,.35); overflow: hidden; }
.pm-tiles .pm-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 55%; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--lc, var(--ac)) 30%, transparent), transparent 70%); pointer-events: none; }
.pm-tiles .pm-main { filter: drop-shadow(0 .12em .25em rgba(0,0,0,.5)); }
.pm-tiles .pm-label { margin: 0; font-size: .85em; font-weight: 800; letter-spacing: .02em; color: var(--lc, #fff); text-shadow: 0 .08em .2em rgba(0,0,0,.6); }
/* list */
.pm-list .pm-card { flex-direction: row; align-items: center; gap: .55em; padding: .3em .7em .3em .35em; border-radius: .5em; background: var(--bg); box-shadow: inset 0 0 0 .05em rgba(255,255,255,.12), 0 .25em .7em rgba(0,0,0,.3); text-align: left; }
.pm-list .pm-icons { flex: 0 1 auto; min-width: 0; }
.pm-list .pm-main { filter: drop-shadow(0 .1em .2em rgba(0,0,0,.5)); }
.pm-list .pm-label { flex: 1 0 auto; margin: 0; font-size: .8em; font-weight: 800; color: var(--lc, #fff); text-shadow: 0 .06em .15em rgba(0,0,0,.6); white-space: nowrap; }
.pm-list .pm-price { font-size: .5em; padding: .3em .6em; border-radius: 99px; background: rgba(255,255,255,.08); }
.pm-list .pm-extra { display: none; }

/* ===================================================================== !score card */
.sc-card { --tc: #34c777; --tc2: #22d3ee; position: relative; width: 640px; padding: 34px 36px 26px; border-radius: 30px; overflow: hidden; isolation: isolate; color: #fff; font-family: 'Poppins', sans-serif; background: #0b0c10; box-shadow: 0 0 0 1.5px rgba(255,255,255,.1), 0 40px 90px rgba(0,0,0,.6); animation: sc-in .8s cubic-bezier(.2, .9, .25, 1.15) both; }
.sc-card > * { position: relative; z-index: 1; }
.sc-card .sc-photo, .sc-card .sc-glow { position: absolute; z-index: 0; pointer-events: none; }
.sc-photo { display: none; background-size: cover; background-position: center; }
.sc-glow { inset: 0; }
.sc-top { display: flex; align-items: center; gap: 24px; }
.sc-av { position: relative; width: 132px; height: 132px; flex: none; }
.sc-ring { position: absolute; inset: -6px; border-radius: 50%; background: conic-gradient(var(--tc), var(--tc2), var(--tc)); }
.sc-pic { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; border-radius: 50%; background: #1d2028; box-shadow: 0 0 0 4px #0b0c10; font-size: 56px; font-weight: 800; color: var(--tc); }
.sc-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sc-id { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; }
.sc-id small { font-size: 15px; font-weight: 800; letter-spacing: .32em; color: var(--tc); }
.sc-id b { max-width: 400px; font-size: 46px; font-weight: 800; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc-id span { font-size: 17px; font-weight: 600; color: rgba(255,255,255,.55); }
.sc-team { margin-top: 4px; padding: 4px 12px; border-radius: 99px; font-size: 14px; font-weight: 800; letter-spacing: .06em; background: var(--tm); color: #000; box-shadow: 0 0 18px color-mix(in srgb, var(--tm) 60%, transparent); }
.sc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 26px; }
.sc-stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 6px 13px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); animation: sc-pop .55s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
.sc-ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: color-mix(in srgb, var(--tc) 16%, transparent); color: var(--tc); }
.sc-ico svg { width: 20px; height: 20px; }
.sc-ico-coins { color: #ffc21a; background: rgba(255,194,26,.14); }
.sc-ico-likes { color: #ff4d6d; background: rgba(255,77,109,.14); }
.sc-stat b { font-size: 34px; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.sc-stat small { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.sc-foot { margin-top: 16px; text-align: center; font-size: 16px; font-weight: 600; color: rgba(255,255,255,.55); }
.sc-foot b { color: #fff; }
.sc-next { margin-top: 14px; padding: 8px 14px; border-radius: 999px; text-align: center; font-size: 18px; font-weight: 700; color: #fff; background: color-mix(in srgb, var(--tc) 22%, rgba(0,0,0,.35)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--tc) 60%, transparent); opacity: 0; animation: sc-next-in .5s 1.2s ease-out forwards; }
.sc-next b { color: var(--tc); }
@keyframes sc-next-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.sc-banner .sc-next { margin-top: 8px; font-size: 15px; padding: 5px 12px; }
/* Coin photo: the photo glows from the top-left corner, then a sober dark gradient */
.sc-corner { background: linear-gradient(150deg, #15171d 0%, #0b0c10 55%, #08090b 100%); }
.sc-corner .sc-photo { display: block; left: -18%; top: -38%; width: 75%; height: 110%; border-radius: 50%; filter: blur(42px) saturate(1.6); opacity: .65; }
.sc-corner .sc-glow { background: radial-gradient(120% 90% at 100% 100%, color-mix(in srgb, var(--tc) 14%, transparent), transparent 60%); }
.sc-corner .sc-ring { background: linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,255,255,.15)); inset: -4px; }
/* Affiche: the photo fills the top, fades into the card */
.sc-poster { padding-top: 0; width: 560px; }
.sc-poster .sc-photo { display: block; inset: 0 0 auto; height: 330px; -webkit-mask-image: linear-gradient(180deg, #000 45%, transparent); mask-image: linear-gradient(180deg, #000 45%, transparent); }
.sc-poster .sc-glow { background: linear-gradient(180deg, transparent 120px, #0b0c10 330px); }
.sc-poster .sc-top { flex-direction: column; align-items: flex-start; gap: 10px; padding-top: 190px; }
.sc-poster .sc-av { display: none; }
.sc-poster .sc-id b { font-size: 54px; text-shadow: 0 4px 24px rgba(0,0,0,.6); }
/* Bandeau: wide, the stats on the same line */
.sc-banner { display: flex; align-items: center; gap: 26px; width: 980px; padding: 22px 26px; border-radius: 26px; background: linear-gradient(90deg, #14161c, #0b0c10); }
.sc-banner .sc-photo { display: block; left: -6%; top: -60%; width: 40%; height: 220%; filter: blur(46px) saturate(1.6); opacity: .5; }
.sc-banner .sc-top { flex: none; }
.sc-banner .sc-av { width: 104px; height: 104px; }
.sc-banner .sc-id b { font-size: 36px; max-width: 260px; }
.sc-banner .sc-stats { flex: 1; margin: 0; }
.sc-banner .sc-foot { display: none; }
/* Aura: the whole photo, blurred */
.sc-aura .sc-photo { display: block; inset: -30%; filter: blur(40px) saturate(1.7) brightness(.7); }
.sc-aura .sc-glow { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.55)); }
.sc-aura .sc-stat { background: rgba(0,0,0,.28); backdrop-filter: blur(6px); }
/* Néon */
.sc-neon { font-family: 'Luckiest Guy', 'Poppins', sans-serif; background: linear-gradient(160deg, rgba(22,24,30,.97), rgba(8,9,12,.97)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tc) 70%, transparent), 0 0 60px color-mix(in srgb, var(--tc) 45%, transparent), 0 40px 90px rgba(0,0,0,.6); }
.sc-neon .sc-glow { inset: -40%; background: radial-gradient(circle at 25% 15%, color-mix(in srgb, var(--tc) 45%, transparent), transparent 45%), radial-gradient(circle at 85% 90%, color-mix(in srgb, var(--tc2) 35%, transparent), transparent 45%); animation: sc-drift 8s ease-in-out infinite; }
.sc-neon .sc-ring { inset: -9px; background: conic-gradient(var(--tc), var(--tc2), #fff, var(--tc)); animation: sc-spin 3s linear infinite; }
.sc-neon .sc-id b, .sc-neon .sc-stat b { font-weight: 400; }
.sc-neon .sc-id small { text-shadow: 0 0 18px var(--tc); }
/* Épuré: no card, photo on top, big outlined numbers (same family as the top donors) */
.sc-white { width: 600px; padding: 10px; text-align: center; background: none; box-shadow: none; overflow: visible; }
.sc-white .sc-top { flex-direction: column; gap: 14px; }
.sc-white .sc-ring { inset: -10px; background: #111; }
.sc-white .sc-pic { box-shadow: 0 0 0 5px #fff; }
.sc-white .sc-id { align-items: center; }
.sc-white .sc-id small, .sc-white .sc-id b, .sc-white .sc-id span, .sc-white .sc-stat b, .sc-white .sc-stat small, .sc-white .sc-foot, .sc-white .sc-next { -webkit-text-stroke: 6px #111; paint-order: stroke fill; text-shadow: 0 4px 0 #111; }
.sc-white .sc-id b { font-size: 52px; }
.sc-white .sc-id span, .sc-white .sc-stat small, .sc-white .sc-foot, .sc-white .sc-foot b { color: #fff; font-size: 16px; -webkit-text-stroke-width: 4px; text-shadow: 0 2px 0 #111; }
.sc-white .sc-id small { font-size: 18px; }
.sc-white .sc-stat { padding: 8px 4px; background: none; box-shadow: none; }
.sc-white .sc-stat b { font-size: 40px; }
.sc-white .sc-ico { background: none; filter: drop-shadow(0 2px 0 #111) drop-shadow(0 0 1px #111); }
/* Vertical: narrow card, photo on top, stats in 2 × 2 */
.sc-stack { width: 500px; text-align: center; background: linear-gradient(180deg, #16181e, #0b0c10); }
.sc-stack .sc-photo { display: block; left: -20%; right: -20%; top: -30%; height: 70%; filter: blur(46px) saturate(1.6); opacity: .55; }
.sc-stack .sc-top { flex-direction: column; gap: 14px; }
.sc-stack .sc-id { align-items: center; }
.sc-stack .sc-stats { grid-template-columns: repeat(2, 1fr); }
/* Carte: white card, dark letters */
.sc-light { background: #fff; color: #15171c; box-shadow: 0 30px 80px rgba(0,0,0,.4); }
.sc-light .sc-ring { background: linear-gradient(135deg, var(--tc), var(--tc2)); inset: -5px; }
.sc-light .sc-pic { box-shadow: 0 0 0 4px #fff; background: #eef0f3; }
.sc-light .sc-id span, .sc-light .sc-stat small, .sc-light .sc-foot { color: rgba(0,0,0,.48); }
.sc-light .sc-foot b { color: #15171c; }
.sc-light .sc-stat { background: #f2f3f6; box-shadow: none; }
.sc-clean { background: rgba(14,15,19,.94); }
.sc-clean .sc-ring { background: var(--tc); inset: -4px; }
.sc-clean .sc-stat { background: none; box-shadow: none; border-left: 1px solid rgba(255,255,255,.08); border-radius: 0; }
.sc-clean .sc-stat:first-child { border-left: 0; }
@keyframes sc-in { from { opacity: 0; transform: translateY(60px) scale(.9); } }
@keyframes sc-out { to { opacity: 0; transform: translateY(-50px) scale(.95); } }
@keyframes sc-spin { to { rotate: 360deg; } }
@keyframes sc-pop { from { opacity: 0; transform: scale(.5); } }
@keyframes sc-drift { 50% { transform: translate(4%, -3%) scale(1.06); } }
.pw-scorecard .sc-card { animation: none; }
.pw-scorecard .sc-card .sc-stat { animation: none; }
.pw-scorecard .sc-card.live, .sc-layer .sc-card { animation: sc-in .8s cubic-bezier(.2, .9, .25, 1.15) both; }
.pw-scorecard .sc-card.live .sc-stat, .sc-layer .sc-card .sc-stat { animation: sc-pop .55s cubic-bezier(.34, 1.56, .64, 1) var(--d) both; }
.pw-scorecard .sc-card.out { animation: sc-out .55s ease-in both; }

/* ===================================================================== top gift « Affiche » */
.gs-poster { display: flex; flex-direction: column; width: 11em; border-radius: .7em; overflow: hidden; background: #0b0c10; box-shadow: 0 0 0 .05em rgba(255,255,255,.12), 0 .5em 1.4em rgba(0,0,0,.5); }
.gs-poster-top { position: relative; height: 8.5em; display: grid; place-items: center; overflow: hidden; }
.gs-poster-photo { position: absolute; inset: 0; background-size: cover; background-position: center; filter: saturate(1.2); }
.gs-poster-top::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.1) 30%, #0b0c10); }
.gs-poster .gs-gift { position: relative; z-index: 1; width: 4.6em; height: 4.6em; object-fit: contain; filter: drop-shadow(0 .2em .5em rgba(0,0,0,.7)); animation: gs-float 3s ease-in-out infinite; }
.gs-poster .gs-x { position: absolute; z-index: 1; right: .4em; bottom: .3em; font-size: 1.1em; font-weight: 800; color: var(--ac); text-shadow: 0 .06em .2em rgba(0,0,0,.7); }
.gs-poster-txt { display: flex; flex-direction: column; gap: .12em; padding: .3em .7em .7em; }
.gs-poster-txt small { font-size: .42em; letter-spacing: .2em; color: var(--ac); }
.gs-poster-txt b { font-size: .95em; line-height: 1.05; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gs-poster-txt i { font-style: normal; font-size: .5em; color: rgba(255,255,255,.6); }
.gs-poster-txt em { font-style: normal; color: #ffc21a; }
@keyframes gs-float { 50% { transform: translateY(-.15em) rotate(-3deg); } }

/* ===================================================================== top combo: Verre + cleaner Néon */
.ts-glass { padding: .45em .9em .55em; border-radius: .6em; background: rgba(255,255,255,.1); backdrop-filter: blur(14px) saturate(1.4); box-shadow: inset 0 0 0 .04em rgba(255,255,255,.3), 0 .4em 1.2em rgba(0,0,0,.4); }
.ts-glass .ts-x { background: linear-gradient(180deg, #fff, var(--ac2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 .06em .1em rgba(0,0,0,.4)); }
.ts-glass .ts-label { color: var(--ac); letter-spacing: .2em; }
.ts-glass .ts-user { background: rgba(0,0,0,.25); }
.ts-neon { padding: .45em .9em .55em; border-radius: .55em; background: rgba(6,8,14,.88); box-shadow: 0 0 0 .05em var(--ac), 0 0 .7em color-mix(in srgb, var(--ac) 55%, transparent), inset 0 0 1em color-mix(in srgb, var(--ac) 22%, transparent); }
.ts-neon .ts-user { background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 .04em color-mix(in srgb, var(--ac) 50%, transparent); }
.ts-arcade .ts-label, .ts-arcade .ts-user span { font-size: .8em; }

/* ===================================================================== WIN « Tableau de score » (stadium board) */
.pw-wins.look-score .ww { gap: .1em; padding: .2em .35em .25em; border-radius: .18em; background: linear-gradient(180deg, #16181f, #07080b); box-shadow: 0 0 0 .03em rgba(255,255,255,.14), 0 .15em .5em rgba(0,0,0,.6), inset 0 .02em 0 rgba(255,255,255,.08); }
.pw-wins.look-score .ww-row { display: flex; align-items: center; gap: .1em; padding: 0; border-radius: 0; background: none; box-shadow: none; text-shadow: none; }
.pw-wins.look-score .ww-title { margin: 0 .12em 0 0; padding: .06em .22em; border-radius: .08em; background: var(--wc, #34c777); color: #000; font-size: .32em; letter-spacing: .12em; align-self: center; }
.pw-wins.look-score .ww-cur, .pw-wins.look-score .ww-max { min-width: 1.25em; padding: .02em .14em; border-radius: .08em; background: radial-gradient(circle, rgba(255,255,255,.05) 1px, transparent 1.5px) 0 0 / .08em .08em, #020203; box-shadow: inset 0 0 .12em rgba(0,0,0,.9); text-align: center; font-variant-numeric: tabular-nums; text-shadow: 0 0 .12em currentColor; }
.pw-wins.look-score .ww-max { color: rgba(255,255,255,.55); }
.pw-wins.look-score .ww-sep { opacity: .35; }
.pw-wins.look-score .ww-multi { margin-top: .04em; font-size: .3em; }

/* ===================================================================== gift jar */
.pw-giftjar { display: grid; place-items: center; }
.gj { position: relative; display: flex; flex-direction: column; align-items: center; width: 11em; }
.gj-jar { position: relative; width: 11em; height: 13.6em; transform-origin: 50% 100%; }
.gj-jar.hit { animation: gj-hit .45s cubic-bezier(.3, 1.6, .5, 1); }
.gj-glow { position: absolute; left: -8%; right: -8%; bottom: -8%; height: 62%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--ac) 42%, transparent), transparent); filter: blur(.5em); }
.gj-lid { position: absolute; left: 21%; right: 21%; top: 0; height: 1.5em; border-radius: .34em .34em .2em .2em; z-index: 3; background: repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 .08em, rgba(0,0,0,.16) .08em .24em), linear-gradient(90deg, color-mix(in srgb, var(--ac) 58%, #000), color-mix(in srgb, var(--ac) 62%, #fff) 26%, var(--ac) 52%, color-mix(in srgb, var(--ac) 50%, #000)); box-shadow: inset 0 .1em 0 rgba(255,255,255,.55), inset 0 -.14em 0 rgba(0,0,0,.28), 0 .16em .3em rgba(0,0,0,.5); }
.gj-neck { position: absolute; left: 24%; right: 24%; top: 1.3em; height: 1.3em; z-index: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--gl) 55%, transparent), color-mix(in srgb, var(--gl) 12%, transparent) 30%, color-mix(in srgb, var(--gl) 12%, transparent) 72%, color-mix(in srgb, var(--gl) 45%, transparent)); box-shadow: inset 0 -.1em 0 color-mix(in srgb, var(--gl) 60%, transparent); }
.gj-glass { position: absolute; left: 2%; right: 2%; top: 2.3em; bottom: 0; z-index: 2; overflow: hidden; border-radius: 3em 3em 2em 2em / 2.6em 2.6em 1.7em 1.7em; background: radial-gradient(120% 70% at 50% 108%, color-mix(in srgb, var(--gl) 34%, transparent), transparent 70%), linear-gradient(90deg, color-mix(in srgb, var(--gl) 30%, rgba(8,12,20,.5)), color-mix(in srgb, var(--gl) 8%, rgba(8,12,20,.32)) 22%, color-mix(in srgb, var(--gl) 8%, rgba(8,12,20,.32)) 78%, color-mix(in srgb, var(--gl) 26%, rgba(8,12,20,.5))); box-shadow: inset 0 0 0 .13em color-mix(in srgb, var(--gl) 78%, #fff), inset 0 0 1em .1em color-mix(in srgb, var(--gl) 38%, transparent), inset 0 -.32em .1em -.1em color-mix(in srgb, var(--gl) 55%, transparent), 0 .5em 1.4em rgba(0,0,0,.5); }
.gj-pile { position: absolute; inset: .7em .5em 1.2em; }
.gj-pile img { position: absolute; width: 21%; aspect-ratio: 1; object-fit: contain; translate: -50% 0; rotate: var(--r, 0deg); filter: drop-shadow(0 .07em .1em rgba(0,0,0,.55)); transition: left .5s, bottom .5s; }
.gj-pile img.drop { animation: gj-drop .9s cubic-bezier(.45, 0, .7, 1) var(--delay, 0s) both, gj-bounce .35s ease-out calc(var(--delay, 0s) + .9s); }
.gj-pile img.gone { opacity: 0; transition: opacity .35s; }
.gj-shine { position: absolute; inset: 0; pointer-events: none; border-radius: inherit; background: radial-gradient(60% 34% at 50% -6%, rgba(255,255,255,.34), transparent 70%); }
.gj-shine::before { content: ''; position: absolute; left: 7%; top: 11%; width: 8%; height: 60%; border-radius: 99px; background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.12) 72%, transparent); }
.gj-shine::after { content: ''; position: absolute; right: 8%; top: 15%; width: 3.5%; height: 26%; border-radius: 99px; background: linear-gradient(180deg, rgba(255,255,255,.55), transparent); }
.gj-head { position: relative; z-index: 4; display: flex; flex-direction: column; align-items: center; margin-top: -1.15em; min-width: 6.6em; max-width: 100%; padding: .34em 1em .4em; border-radius: 1em; line-height: 1; text-align: center; background: linear-gradient(180deg, rgba(24,29,40,.97), rgba(9,12,18,.97)); box-shadow: 0 0 0 .08em var(--ac), 0 .3em .8em rgba(0,0,0,.55), 0 0 1em color-mix(in srgb, var(--ac) 38%, transparent); }
.gj-head small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .42em; font-weight: 800; letter-spacing: .14em; color: var(--ac); }
.gj-total { display: inline-flex; align-items: center; gap: .22em; margin-top: .14em; font-size: 1.28em; font-weight: 800; font-variant-numeric: tabular-nums; }
.gj-total .lb-coin { width: .9em; height: .9em; }
.gj-tube .gj-glass { left: 22%; right: 22%; top: 1.3em; border-radius: 1em 1em 2.8em 2.8em; }
.gj-tube .gj-neck { display: none; }
.gj-tube .gj-lid { left: 18%; right: 18%; }
.gj-tube .gj-pile img { width: 34%; }
@keyframes gj-hit { 35% { transform: scale(1.035, .97); } 70% { transform: scale(.99, 1.015); } }
@keyframes gj-drop { 0% { transform: translateY(-14em) rotate(-120deg); opacity: 0; } 15% { opacity: 1; } 100% { transform: none; } }
@keyframes gj-bounce { 40% { transform: translateY(-.25em) scale(1.05, .95); } }
.sc-layer.out .sc-card { animation: sc-out .55s ease-in both; }

/* ---------- nothing past the widget's edges ---------- */
/* Projecteur: the card is as large as its rays, so they are counted when the widget fits its box */
.gs-spot { min-width: 9.4em; min-height: 10em; justify-content: center; }
.gs-spot .gs-rays { top: 50%; }
/* chest: the glow stays inside the widget */
.chest-glow { width: 7.4em; height: 7.4em; margin: -3.7em 0 0 -3.7em; }
/* battle: the last gift icon doesn't stick out */
.bt-icons img:last-child { margin-right: 0; }

/* social logos */
.so-logo { display: block; width: 62%; height: 62%; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center; }
.so-ic { box-shadow: inset 0 0 0 .04em rgba(255,255,255,.12); }

/* timer « Épuré »: big clean digits, small accent title, thin bar of light under it */
.tm-clean { font-family: 'Poppins', sans-serif; font-weight: 800; gap: .06em; }
.tm-clean .tm-title { font-size: .2em; font-weight: 800; letter-spacing: .3em; color: var(--ac); }
.tm-clean .tm-time { letter-spacing: -.02em; text-shadow: 0 .03em .15em rgba(0,0,0,.45); }
.tm-clean::after { content: ''; width: 40%; height: .04em; border-radius: 99px; background: linear-gradient(90deg, transparent, var(--ac), transparent); opacity: .8; }

/* last event · Aura, refined */
.le-aura { gap: .55em; padding: .45em 1.1em .45em .45em; border-radius: .6em; }
.le-aura .pw-avatar { box-shadow: 0 0 0 .07em rgba(255,255,255,.9), 0 .2em .6em rgba(0,0,0,.4); }
.le-aura .le-txt small { font-size: .45em; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; opacity: .7; }
.le-aura .le-txt b { font-size: 1em; }
.le-aura .le-detail { font-size: .6em; font-weight: 700; }
/* last event · Projecteur: the photo in the light, name underneath */
.le-spot { position: relative; flex-direction: column; align-items: center; text-align: center; gap: .2em; padding: .6em 1.2em .7em; }
.le-spot .le-halo { position: absolute; left: 50%; top: 2.2em; width: 5em; height: 5em; margin: -2.5em 0 0 -2.5em; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--ac) 55%, transparent), transparent 65%); filter: blur(.3em); animation: le-breathe 3s ease-in-out infinite; }
.le-spot .pw-avatar { position: relative; box-shadow: 0 0 0 .08em var(--ac), 0 0 0 .2em color-mix(in srgb, var(--ac) 25%, transparent), 0 .3em .8em rgba(0,0,0,.5); }
.le-spot small { position: relative; margin-top: .25em; padding: .15em .7em; border-radius: 99px; background: var(--ac); color: #000; font-size: .42em; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.le-spot b { position: relative; font-size: 1.05em; text-shadow: 0 .06em .25em rgba(0,0,0,.6); }
.le-spot .le-detail { position: relative; font-size: .55em; opacity: .75; }
.le-spot .le-gift { position: absolute; right: .3em; top: .4em; width: 1.6em; height: 1.6em; }
@keyframes le-breathe { 50% { transform: scale(1.12); opacity: .75; } }

/* ---------- free board (Panneau libre) ---------- */
.pw-freeboard { display: grid; place-items: center; overflow: hidden; }
.bd-wrap { display: grid; place-items: center; width: 100%; height: 100%; }
.bd { position: relative; flex: none; overflow: hidden; transform-origin: center; }
.bd-it { position: absolute; display: flex; align-items: center; justify-content: center; }
.bd-img img { width: 100%; height: 100%; object-fit: contain; pointer-events: none; user-select: none; }
.bd-text span { display: block; width: 100%; line-height: 1.02; white-space: pre-wrap; overflow-wrap: anywhere; }
.bd-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.45); font: 600 28px Manrope, sans-serif; }

/* ---------- chat cards in the alerts zone (!record, !score) ---------- */
.chat-show { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; pointer-events: none; }
.chat-show > * { animation: cs-in .6s cubic-bezier(.2,.9,.3,1.1) both; }
.chat-show.out > * { animation: cs-out .45s ease-in both; }
@keyframes cs-in { from { opacity: 0; transform: translateY(40px) scale(.94); } }
@keyframes cs-out { to { opacity: 0; transform: translateY(-30px) scale(.96); } }
.rb { width: 620px; padding: 22px 22px 18px; border-radius: 28px; background: linear-gradient(160deg, #15171d, #08090b); box-shadow: 0 0 0 1.5px rgba(255,255,255,.1), 0 30px 70px rgba(0,0,0,.55); color: #fff; font-family: 'Poppins', sans-serif; }
.rb-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 4px 14px; }
.rb-head small { font-size: 18px; font-weight: 800; letter-spacing: .3em; color: #34c777; }
.rb-head span { font-size: 14px; color: rgba(255,255,255,.55); }
.rb-head span b { color: #fff; }
.rb-row { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; padding: 10px 14px 10px 10px; margin-top: 8px; border-radius: 18px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); animation: cs-in .5s cubic-bezier(.2,.9,.3,1.1) var(--d) both; }
.rb-gift { width: 64px; height: 64px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0,0,0,.5)); }
.rb-who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.rb-who b { font-size: 24px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rb-none { font-size: 16px; color: rgba(255,255,255,.45); }
.rb-val { font-size: 30px; font-weight: 800; color: #ffc21a; font-variant-numeric: tabular-nums; }
.rb-neon { background: rgba(6,8,14,.9); box-shadow: 0 0 0 2px #34c777, 0 0 40px rgba(52,199,119,.4); }
.rb-glass { background: rgba(255,255,255,.1); backdrop-filter: blur(14px); }
.rb-clean { background: none; box-shadow: none; }
.rb-clean .rb-row { background: rgba(0,0,0,.35); }

.bd-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.bd-icon b { position: relative; line-height: 1; font-weight: 400; text-align: center; margin-top: -4%; }
/* free board: always centred in its box, whatever its shape */
.pw-freeboard { position: relative; }
.pw-freeboard .bd-wrap { position: absolute; inset: 0; display: block; }
.pw-freeboard .bd { position: absolute; left: 50%; top: 50%; transform-origin: center; }
.pw-scorecard { display: grid; place-items: center; }
.pw-freeboard { width: 100%; height: 100%; }

/* ---------------------------------------------------------------- animated duos
   Top donateurs & likes / Top combo & top cadeau: one face at a time, a fade between
   them, and everything moves a little. Looks: white (outlined text), glass, card. */
/* Centred in its box, like the other overlays */
.pw-leaderboard { align-items: center; justify-content: center; padding: .3em; }
/* Stuck to an edge (default: left) and never wider than its box: long names are cut with … */
.pw-leaderboard.lb-al-left { justify-content: flex-start; }
.pw-leaderboard.lb-al-right { justify-content: flex-end; }
.pw-leaderboard .duo-stack { max-width: 100%; min-width: 0; }
.pw-leaderboard.lb-al-right .duo-stack { justify-items: end; }
.pw-leaderboard .duo-face, .pw-leaderboard .lb, .pw-leaderboard .lb-row { max-width: 100%; min-width: 0; }
.pw-leaderboard .lb-txt { flex: 1 1 auto; }
.pw-moments { justify-content: center; padding: .3em; overflow: visible; }
/* Both faces in the same cell: same place, the box sized by the bigger one */
.duo-stack { display: grid; align-items: start; justify-items: start; }
.pw-moments .duo-stack { align-items: center; justify-items: center; }
.duo-face { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(.3em) scale(.97); filter: blur(4px); transition: opacity .38s ease, transform .38s ease, filter .38s ease, visibility 0s linear .38s; }
.duo-face.on { opacity: 1; visibility: visible; transform: none; filter: none; transition: opacity .38s ease .2s, transform .38s ease .2s, filter .38s ease .2s, visibility 0s; }
.duo-face.in .lb-head, .duo-face.in .lb-row, .duo-face.in .mo > * { animation: duo-rise .55s cubic-bezier(.2, 1.3, .4, 1) both; animation-delay: var(--d, 0ms); }
@keyframes duo-rise { from { opacity: 0; transform: translateY(.45em) scale(.94); } }

.lb { display: flex; flex-direction: column; gap: .28em; color: #fff; line-height: 1; }
.lb-head { display: flex; align-items: center; gap: .3em; font-size: .72em; letter-spacing: .02em; margin-bottom: .75em; }
/* Icons (coin, heart, crown) are drawn in SVG: flat colour + thick black outline, like the text. */
.lb-ic { flex: none; width: .95em; height: .95em; overflow: visible; }
.lb-row { display: flex; align-items: center; gap: .38em; animation: lb-float 4.5s ease-in-out infinite; animation-delay: calc(var(--d, 0ms) * 4); }
.lb-av { position: relative; flex: none; display: grid; }
.lb-av .pw-avatar { width: 1.65em !important; height: 1.65em !important; font-size: .7em !important; border-radius: 50%; box-shadow: 0 0 0 .06em #fff, 0 0 0 .1em #111; }
.lb-first .lb-av .pw-avatar { width: 2em !important; height: 2em !important; font-size: .85em !important; box-shadow: 0 0 0 .06em var(--ac, #ffd21f), 0 0 0 .1em #111; }
/* Crown sitting on top of the head, slightly tilted */
/* Centred on the photo's axis, resting on top of it (a bit over the circle) */
.lb-crown { position: absolute; z-index: 2; top: -.4em; left: 0; right: 0; margin: 0 auto; width: .95em; height: auto; transform-origin: 50% 100%; filter: drop-shadow(0 .05em .07em rgba(0, 0, 0, .5)); animation: lb-crown 3s ease-in-out infinite; }
.lb-coin { object-fit: contain; transform: scale(1.25); filter: drop-shadow(0 .04em .05em rgba(0, 0, 0, .45)); }
.lb-emoji { display: inline-grid; place-items: center; font-size: .9em; line-height: 1; }
/* Rank: clean round badge, no outline, a soft shadow */
.lb-rank { position: absolute; z-index: 2; left: -.12em; bottom: -.12em; display: grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; background: #fff; color: #15171c; font-style: normal; font-size: .42em; line-height: 1; box-shadow: 0 .12em .3em rgba(0, 0, 0, .45); }
.lb-first .lb-rank { background: var(--ac, #ffd21f); font-size: .5em; }
.lb-txt { display: flex; flex-direction: column; gap: .1em; min-width: 0; }
.lb-name { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .76em; }
.lb-val { display: inline-flex; align-items: center; gap: .25em; font-size: .62em; font-variant-numeric: tabular-nums; }
.lb-val .lb-ic { width: .9em; height: .9em; }
.lb-first .lb-name { font-size: .88em; color: var(--ac, #ffd21f); }
.lb-first .lb-val { font-size: .77em; color: var(--ac, #ffd21f); }
.lb-empty { font-size: .5em; opacity: .85; }
@keyframes lb-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-.05em); } }
@keyframes lb-crown { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg) translateY(-.03em); } }

.mo { display: flex; flex-direction: column; align-items: center; gap: .08em; color: #fff; text-align: center; line-height: .95; }
.mo-title { font-size: .42em; letter-spacing: .07em; }
.mo-gift { width: 2.5em; height: 2.5em; object-fit: contain; filter: drop-shadow(0 .1em .15em rgba(0, 0, 0, .6)); animation: mo-bob 2.8s ease-in-out infinite; }
.mo-name { display: -webkit-box; box-sizing: content-box; max-width: 6.5em; margin-top: -.14em; padding: .14em .24em 0; overflow: hidden; overflow-wrap: anywhere; font-size: .8em; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mo-val { display: inline-flex; align-items: center; gap: .2em; color: var(--ac, #ff4fa3); font-size: .62em; font-variant-numeric: tabular-nums; animation: mo-pulse 2.8s ease-in-out infinite; }
.mo-empty span { font-size: .38em; opacity: .85; }
.mo-val { transition: color .4s ease; }
.mo-val.mo-gold { color: #ffcf2e; }
.duo-card .mo-val.mo-gold { color: #c98a00; }
@keyframes mo-bob { 0%, 100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-.12em) rotate(4deg) scale(1.04); } }
@keyframes mo-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* Look "Blanc": clean white letters, a crisp black outline and a hard drop for depth (no blur) */
.duo-white .lb-head b, .duo-white .lb-name, .duo-white .lb-val, .duo-white .mo-title, .duo-white .mo-name, .duo-white .mo-val, .duo-white .lb-empty, .duo-white .mo-empty span {
  -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111;
}
.duo-white .mo-gift { filter: drop-shadow(0 .06em 0 #111) drop-shadow(0 .14em .12em rgba(0, 0, 0, .35)); }
/* Look "Verre": frosted dark card, clean letters */
.duo-glass .lb, .duo-glass .mo { padding: .5em .7em; border-radius: .6em; background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .25em .8em rgba(0, 0, 0, .35); }
.duo-glass .lb *, .duo-glass .mo * { text-shadow: 0 .05em .15em rgba(0, 0, 0, .45); }
/* Look "Carte": white card, dark letters */
.duo-card .lb, .duo-card .mo { padding: .5em .7em; border-radius: .6em; background: #fff; color: #15171c; box-shadow: 0 .25em .9em rgba(0, 0, 0, .35); }
.duo-card .lb-first .lb-name { color: #15171c; }
.duo-card .lb-first .lb-val, .duo-card .mo-val { color: color-mix(in srgb, var(--ac, #ffd21f) 65%, #000); }
.duo-card .lb-rank { background: #15171c; color: #fff; }
.duo-card .lb-first .lb-rank { background: var(--ac, #ffd21f); color: #15171c; }
.sc-white .sc-ico svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- « Top donateurs » family
   Looks da-white (Blanc: outlined white letters), da-glass (Verre), da-card (Carte) for every
   other widget. The root also gets duo-white / duo-glass / duo-card, so the board (.lb) and
   top combo (.mo) markups reuse the rules above. */
.pw.da-root { align-items: center; justify-content: center; padding: .3em; }
.pw-chat.da-root, .pw-feed.da-root { align-items: flex-end; padding: 0; }
.lb-sub { margin-left: .3em; font-size: .6em; opacity: .8; }
.lb-by { margin-top: .35em; font-size: .42em; opacity: .9; }
.duo-white .lb-sub, .duo-white .lb-by { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.duo-card .lb-by b { color: color-mix(in srgb, var(--ac) 65%, #000); }

/* Counter and last event: icon or photo + label + big value */
.da { display: flex; align-items: center; gap: .4em; color: #fff; line-height: 1; }
.da .lb-txt { gap: .12em; }
.da-label { font-size: .42em; letter-spacing: .06em; color: var(--ac); }
.da-big { font-size: 1em; font-variant-numeric: tabular-nums; animation: mo-pulse 2.8s ease-in-out infinite; }
.da-ic { display: grid; place-items: center; font-size: 1.3em; animation: mo-bob 2.8s ease-in-out infinite; }
.da-ic .lb-ic { width: 1em; height: 1em; }
.da-detail { max-width: 12em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .55em; color: var(--ac); }
.da-last .lb-name { max-width: 10em; }
.da-last .lb-av .pw-avatar { width: 2em !important; height: 2em !important; font-size: .85em !important; box-shadow: 0 0 0 .06em var(--ac), 0 0 0 .1em #111; }
.da-gift { width: 1.6em; height: 1.6em; object-fit: contain; animation: mo-bob 2.8s ease-in-out infinite; filter: drop-shadow(0 .06em 0 #111); }
.duo-white .da-label, .duo-white .da-big, .duo-white .da-detail { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.duo-white .da-big { -webkit-text-stroke-width: .08em; text-shadow: 0 .06em 0 #111; }
.duo-glass .da { padding: .4em .65em; border-radius: .5em; background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .25em .8em rgba(0, 0, 0, .35); }
.duo-glass .da * { text-shadow: 0 .05em .15em rgba(0, 0, 0, .45); }
.duo-card .da { padding: .4em .65em; border-radius: .5em; background: #fff; color: #15171c; box-shadow: 0 .25em .9em rgba(0, 0, 0, .35); }
.duo-card .da-label, .duo-card .da-detail { color: color-mix(in srgb, var(--ac) 65%, #000); }
.duo-card .da-last .lb-av .pw-avatar { box-shadow: 0 0 0 .07em var(--ac); }

/* Chrono */
.tm-da-white .tm-title, .tm-da-white .tm-time { -webkit-text-stroke: .1em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.tm-da-white .tm-time { -webkit-text-stroke-width: .05em; text-shadow: 0 .045em 0 #111; }
.tm-da-glass, .tm-da-card { padding: .1em .32em .14em; border-radius: .18em; }
.tm-da-glass { background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .012em rgba(255, 255, 255, .16), 0 .08em .3em rgba(0, 0, 0, .35); }
.tm-da-card { background: #fff; box-shadow: 0 .08em .3em rgba(0, 0, 0, .35); }
.tm-da-card .tm-time { color: #15171c; }
.tm-da-card .tm-title { color: color-mix(in srgb, var(--ac) 65%, #000); }

/* Horloge */
.ck-da-white small, .ck-da-white b { -webkit-text-stroke: .1em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.ck-da-white b { -webkit-text-stroke-width: .05em; text-shadow: 0 .045em 0 #111; }
.ck-da-glass, .ck-da-card { padding: .16em .38em .2em; border-radius: .2em; }
.ck-da-glass { background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .015em rgba(255, 255, 255, .16), 0 .1em .35em rgba(0, 0, 0, .35); }
.ck-da-card { background: #fff; color: #15171c !important; box-shadow: 0 .1em .35em rgba(0, 0, 0, .35); }
.ck-da-card small { color: color-mix(in srgb, var(--ac) 65%, #000); }

/* Bandeau défilant */
.tk-da-white .tk-tag, .tk-da-glass .tk-tag, .tk-da-card .tk-tag { align-self: center; margin-right: .3em; padding: .22em .55em; border-radius: 99px; font-size: .6em; }
.tk-da-white .tk-tag { color: #fff; box-shadow: 0 0 0 .1em #111; -webkit-text-stroke: .1em #111; paint-order: stroke fill; }
.tk-da-white .tk-move span { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.tk-da-glass { padding: 0 .3em; border-radius: .5em; background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .2em .7em rgba(0, 0, 0, .35); }
.tk-da-card { padding: 0 .3em; border-radius: .5em; background: #fff; box-shadow: 0 .2em .7em rgba(0, 0, 0, .35); }
.tk-da-card .tk-move span { color: #15171c; }

/* Réseaux sociaux: one at a time, like the pill */
.so-da-white .so-item, .so-da-glass .so-item, .so-da-card .so-item { grid-area: 1 / 1; opacity: 0; transform: translateY(.4em); transition: opacity .4s, transform .4s; }
.so-da-white .so-item.on, .so-da-glass .so-item.on, .so-da-card .so-item.on { opacity: 1; transform: none; }
.so-da-white b { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.so-da-white .so-ic { box-shadow: 0 0 0 .06em #fff, 0 0 0 .1em #111; }
.so-da-glass .so-item { padding: .2em .6em .2em .22em; border-radius: .5em; background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .2em .7em rgba(0, 0, 0, .35); }
.so-da-card .so-item { padding: .2em .6em .2em .22em; border-radius: .5em; background: #fff; color: #15171c; box-shadow: 0 .2em .7em rgba(0, 0, 0, .35); }

/* Battle (tir à la corde) */
.bt-da-white .bt-team b, .bt-da-white .bt-bar span, .bt-da-white .bt-title, .bt-da-white .bt-foot { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.bt-da-white .bt-bar { box-shadow: 0 0 0 .06em #fff, 0 0 0 .11em #111, 0 .15em 0 .05em #111; }
.bt-da-white .bt-vs { box-shadow: 0 0 0 .08em #111; }
.bt-da-white .bt-knot { box-shadow: 0 0 0 .06em #111; }
.bt-da-glass, .bt-da-card { padding: .35em .5em .4em; border-radius: .5em; box-sizing: border-box; }
.bt-da-glass { background: rgba(14, 16, 22, .5); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .25em .8em rgba(0, 0, 0, .35); }
.bt-da-card { background: #fff; color: #15171c !important; box-shadow: 0 .25em .9em rgba(0, 0, 0, .35); }
.bt-da-card .bt-vs { background: #15171c; color: #fff; box-shadow: none; }
.bt-da-card .bt-team b { text-shadow: none; }

/* Chat & fil d'événements */
.look-da-white .pw-row { background: none !important; backdrop-filter: none; color: #fff !important; padding: .15em 0; }
.look-da-white .pw-row-text { -webkit-text-stroke: .11em #111; paint-order: stroke fill; text-shadow: 0 .08em 0 #111; }
.look-da-white .pw-row .pw-avatar, .look-da-glass .pw-row .pw-avatar { border-radius: 50%; box-shadow: 0 0 0 .06em #fff, 0 0 0 .1em #111; }
.pw-feed.look-da-white .pw-row-text b, .pw-feed.look-da-glass .pw-row-text b { color: var(--ac); }
.look-da-glass .pw-row { background: rgba(14, 16, 22, .5) !important; backdrop-filter: blur(14px); border-radius: .6em; box-shadow: inset 0 0 0 .035em rgba(255, 255, 255, .16), 0 .2em .7em rgba(0, 0, 0, .35); }
.look-da-card .pw-row { background: #fff !important; color: #15171c !important; border-radius: .6em; box-shadow: 0 .2em .7em rgba(0, 0, 0, .35); }
.look-da-card .pw-row .pw-avatar { border-radius: 50%; box-shadow: 0 0 0 .07em var(--ac); }
.pw-feed.look-da-card .pw-row-text b { color: color-mix(in srgb, var(--ac) 65%, #000); }
.pw-chat.look-da-card .pw-row-text b { filter: brightness(.72) saturate(1.3); }

/* Pulse Jump, Droppix, Pizza Jump, Pirate Coin: the counter and its line, in the middle of the widget */
.pw-jumpscore, .pw-dropscore, .pw-piochescore, .pw-pizzascore, .pw-piratescore, .pw-zombiescore { justify-content: center; }
.js { flex: none; width: max-content; padding: .08em .35em .12em; border-radius: .25em; display: flex; flex-direction: column; align-items: center; line-height: 1; text-align: center; }
.js-t { font-size: .2em; letter-spacing: .14em; opacity: .85; color: #fff; }
.js-v { font-size: 1em; white-space: nowrap; }
.js-r { display: flex; gap: .9em; margin-top: .08em; font-size: .24em; white-space: nowrap; color: #fff; }
.js-o b { color: #fff; }
.js-da-white :is(.js-t, .js-v, .js-r) { -webkit-text-stroke: .06em #0a0a14; paint-order: stroke fill; text-shadow: 0 .05em 0 #0a0a14; }
.js-da-white .js-r { -webkit-text-stroke-width: .12em; }
.js-card { box-shadow: inset 0 0 0 .03em rgba(255, 255, 255, .5); }
.pw-zombiescore .js-card { background: rgba(10, 12, 24, .7); }
.js-neon .js-v { text-shadow: 0 0 .12em currentColor, 0 0 .3em currentColor; }
.js-bar { position: relative; width: 6.4em; height: .62em; margin-top: .06em; overflow: hidden; border-radius: 99px; background: rgba(8, 10, 20, .78); box-shadow: inset 0 0 0 .04em rgba(255, 255, 255, .45); }
.js-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transition: width .35s ease; }
.js-bar b { position: absolute; inset: 0; display: grid; place-items: center; padding-top: .05em; font-size: .38em; font-weight: 400; color: #fff; -webkit-text-stroke: .1em #0a0a14; paint-order: stroke fill; }
.js-fire { font-style: normal; font-size: .55em; vertical-align: .25em; margin-right: .12em; }

/* Droppix: floors counter */
.ds { margin: 0 auto; width: max-content; max-width: 100%; display: flex; flex-direction: column; align-items: center; line-height: .9; text-align: center; }
.ds-v { font-size: 1em; white-space: nowrap; -webkit-text-stroke: .04em #1a1240; paint-order: stroke fill; text-shadow: 0 .07em 0 #1a1240; }
.ds-t { font-size: .26em; letter-spacing: .1em; color: #fff; -webkit-text-stroke: .07em #1a1240; paint-order: stroke fill; text-shadow: 0 .05em 0 #1a1240; }
.ds-r { display: flex; gap: .5em; margin-top: .15em; font-size: .17em; white-space: nowrap; }
.ds-pill { position: relative; overflow: hidden; display: flex; align-items: center; gap: .3em; padding: .25em .9em; border-radius: 99px; background: rgba(255, 255, 255, .94); color: #2a1d5c; box-shadow: inset 0 0 0 .14em #2a1d5c, 0 .2em 0 #2a1d5c; }
.ds-pill b { position: relative; font-weight: inherit; }
.ds-goal { min-width: 11em; justify-content: center; }
.ds-goal i { position: absolute; left: 0; top: 0; bottom: 0; }
.ds-neon .ds-v { text-shadow: 0 0 .1em currentColor, 0 0 .3em currentColor; -webkit-text-stroke: 0; }
.ds-low { background: rgba(255, 236, 214, .95); }
.ds-low b { color: #e0452c; }

/* Pulse Kart: the race, cartoon style */
.kr { margin: 0 auto; width: max-content; min-width: 13em; max-width: 100%; box-sizing: border-box; padding: .35em .4em .45em; border-radius: .75em; display: flex; flex-direction: column; gap: .25em;
  background: #fff7e8; box-shadow: 0 0 0 .14em #1b1240, 0 .22em 0 .14em #1b1240, 0 .5em 1em rgba(0, 0, 0, .35); color: #1b1240; }
.kr-head { position: relative; display: flex; align-items: center; justify-content: center; gap: .4em; padding: .25em .5em .3em; margin: -.35em -.4em .1em; border-radius: .75em .75em 0 0; overflow: hidden;
  background: #e8344e; color: #fff; }
.kr-flag { position: absolute; left: 0; right: 0; bottom: 0; height: .28em; background: repeating-conic-gradient(#1b1240 0 25%, #fff 0 50%) 0 0 / .28em .28em; }
.kr-t { font-weight: 400; font-size: .95em; letter-spacing: .04em; -webkit-text-stroke: .08em #1b1240; paint-order: stroke fill; text-shadow: 0 .08em 0 #1b1240; }
.kr-clock { padding: .05em .45em; border-radius: 99px; background: #fff; color: #e8344e; font-size: .62em; box-shadow: inset 0 0 0 .09em #1b1240; font-variant-numeric: tabular-nums; }
.kr-list { display: flex; flex-direction: column; gap: .22em; }
.kr-row { display: flex; align-items: center; gap: .38em; padding: .14em .4em .14em .2em; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 .09em #1b1240, 0 .1em 0 #1b1240; animation: kr-in .35s cubic-bezier(.2, 1.4, .4, 1); }
@keyframes kr-in { from { opacity: 0; transform: translateX(-.6em); } }
.kr-pos { display: grid; place-items: center; flex: none; width: 1.3em; height: 1.3em; border-radius: 50%; font-size: .72em; background: #e7e3f2; color: #1b1240; box-shadow: inset 0 0 0 .12em #1b1240; }
.kr-row.p1 .kr-pos { background: radial-gradient(circle at 35% 30%, #fff3a0, #ffc21a 60%, #e09a00); }
.kr-row.p2 .kr-pos { background: radial-gradient(circle at 35% 30%, #ffffff, #cfd6e4 60%, #9aa4b8); }
.kr-row.p3 .kr-pos { background: radial-gradient(circle at 35% 30%, #ffd9b0, #e09a5a 60%, #b36a2a); }
.kr-row.p1 { background: linear-gradient(90deg, #fff1b8, #fff 70%); }
.kr-av { flex: none; display: grid; place-items: center; border-radius: 50%; box-shadow: 0 0 0 .1em var(--kc), 0 0 0 .19em #1b1240; }
.kr-av .avatar, .kr-av img { border-radius: 50%; }
.kr-mid { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.05; }
.kr-n { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .72em; max-width: 9em; }
.kr-h { display: flex; gap: .05em; margin-top: .04em; }
.kr-h i { font-style: normal; font-size: .55em; line-height: 1; color: #d6d1e2; -webkit-text-stroke: .06em #1b1240; paint-order: stroke fill; }
.kr-h i.on { color: #ff3b5c; }
.kr-lap { flex: none; display: flex; flex-direction: column; align-items: center; line-height: .9; padding-left: .3em; }
.kr-lap b { font-weight: 400; font-size: 1em; color: #e8344e; -webkit-text-stroke: .06em #1b1240; paint-order: stroke fill; }
.kr-lap small { font-size: .38em; letter-spacing: .06em; color: #6b6488; }
.kr-more { text-align: center; font-size: .5em; color: #6b6488; margin-top: .1em; }
/* night */
.kr-night { background: #1b1d33; color: #fff; box-shadow: 0 0 0 .14em #0b0c18, 0 .22em 0 .14em #0b0c18, 0 .5em 1em rgba(0, 0, 0, .45); }
.kr-night .kr-row { background: #2a2d4a; box-shadow: inset 0 0 0 .09em #0b0c18, 0 .1em 0 #0b0c18; }
.kr-night .kr-row.p1 { background: linear-gradient(90deg, #5a4a14, #2a2d4a 70%); }
.kr-night .kr-n { color: #fff; }
.kr-night .kr-lap b { color: #ffd23c; }
.kr-night .kr-lap small, .kr-night .kr-more { color: #a9a6c8; }
.kr-night .kr-h i { color: #4a4d6e; }
.kr-night .kr-h i.on { color: #ff3b5c; }
/* no background: the panel goes, the pills stay (readable over the game) */
.kr-nobg { background: transparent !important; box-shadow: none !important; }
.kr-nobg .kr-head { margin: 0 0 .1em; border-radius: .6em; box-shadow: inset 0 0 0 .09em #1b1240, 0 .12em 0 #1b1240; }
/* text only: no pills, outlined white text */
.kr-text { background: transparent; box-shadow: none; color: #fff; }
.kr-text .kr-head { background: none; margin: 0; }
.kr-text .kr-flag { display: none; }
.kr-text .kr-row, .kr-text .kr-row.p1 { background: none; box-shadow: none; }
.kr-text :is(.kr-n, .kr-lap small, .kr-more) { color: #fff; -webkit-text-stroke: .09em #0a0a14; paint-order: stroke fill; text-shadow: 0 .06em 0 #0a0a14; }
.kr-text .kr-lap b { color: #ffd23c; }
.kr-text .kr-head { box-shadow: none !important; }
.kr-nobg .kr-more { color: #fff; -webkit-text-stroke: .1em #0a0a14; paint-order: stroke fill; }

/* ---------------------------------------------------------------- Billes VS: one camp */
.vt { margin: 0 auto; width: max-content; min-width: 10em; max-width: 100%; box-sizing: border-box; padding: .45em .6em .55em; border-radius: .8em; display: flex; flex-direction: column; align-items: stretch; gap: .25em; color: #fff; text-align: center; }
.vt-card { background: linear-gradient(180deg, rgba(16, 13, 34, .92), rgba(8, 8, 20, .92)); border: .12em solid var(--tc); box-shadow: 0 0 .9em color-mix(in srgb, var(--tc) 55%, transparent), inset 0 0 .8em color-mix(in srgb, var(--tc) 22%, transparent); }
.vt-glass { background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); border: .08em solid rgba(255, 255, 255, .35); box-shadow: inset 0 0 0 .06em color-mix(in srgb, var(--tc) 60%, transparent); }
.vt-white { background: #fff; color: #17122e; border: .12em solid var(--tc); box-shadow: 0 .18em 0 var(--tc), 0 .5em 1em rgba(0, 0, 0, .3); }
.vt-color { background: linear-gradient(180deg, var(--tc), color-mix(in srgb, var(--tc) 60%, #000)); box-shadow: 0 .18em 0 color-mix(in srgb, var(--tc) 45%, #000), 0 .5em 1em rgba(0, 0, 0, .35); }
.vt-nobg { background: none; }
.vt-head { display: flex; align-items: center; justify-content: center; gap: .35em; min-width: 0; }
.vt-name { font-size: 1.15em; letter-spacing: .04em; color: var(--tc); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-text-stroke: .05em #0a0a14; paint-order: stroke fill; text-shadow: 0 .08em 0 #0a0a14; }
.vt-color .vt-name, .vt-color .vt-pts { color: #fff; }
.vt-tag { flex: none; padding: .12em .45em; border-radius: 99px; background: #ffd23c; color: #2a1b00; font: 800 .42em Poppins, sans-serif; letter-spacing: .06em; }
.vt-pts { font-size: 2.6em; line-height: 1; color: #fff; -webkit-text-stroke: .04em #0a0a14; paint-order: stroke fill; text-shadow: 0 .06em 0 #0a0a14; font-variant-numeric: tabular-nums; }
.vt-white .vt-pts { color: #17122e; -webkit-text-stroke: 0; text-shadow: none; }
.vt-pts small { margin-left: .15em; font-size: .3em; opacity: .75; letter-spacing: .08em; }
.vt-bar { height: .32em; border-radius: 99px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.vt-white .vt-bar { background: #ecebf5; }
.vt-bar i { display: block; height: 100%; border-radius: inherit; background: var(--tc); transition: width .5s; }
.vt-color .vt-bar i { background: #fff; }
.vt-goal { font: 700 .45em Poppins, sans-serif; opacity: .8; }
.vt-wins { align-self: center; padding: .1em .55em; border-radius: 99px; background: rgba(255, 210, 60, .18); color: #ffd23c; font: 800 .5em Poppins, sans-serif; }
.vt-white .vt-wins { color: #a06a00; }
.vt-top { display: flex; flex-direction: column; gap: .2em; margin-top: .2em; }
.vt-row { display: flex; align-items: center; gap: .35em; padding: .18em .45em .18em .25em; border-radius: .5em; background: rgba(255, 255, 255, .08); font: 700 .55em Poppins, sans-serif; text-align: left; }
.vt-white .vt-row { background: #f3f1fa; }
.vt-rk { width: 1.3em; text-align: center; flex: none; }
.vt-n { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vt-row b { color: var(--tc); font-variant-numeric: tabular-nums; }
.vt-color .vt-row b { color: #fff; }
.vt-lead { animation: vt-glow 1.6s ease-in-out infinite; }
@keyframes vt-glow { 50% { filter: brightness(1.12); } }

/* Pirate Coin */
.pw { width: 100%; }
.pw-bar { position: relative; width: 86%; height: .36em; border-radius: 99px; overflow: hidden; background: rgba(8, 10, 20, .78); box-shadow: inset 0 0 0 .03em rgba(255, 255, 255, .5), 0 .05em .12em rgba(0, 0, 0, .5); }
.pw-bar i { position: absolute; inset: 0 auto 0 0; border-radius: inherit; transition: width .5s cubic-bezier(.22, 1, .36, 1); }
.pw-bar b { position: absolute; inset: 0; display: grid; place-items: center; padding-top: .04em; font-size: .24em; font-weight: 400; color: #fff; -webkit-text-stroke: .1em #0a0a14; paint-order: stroke fill; }
/* Top Soutien & Ennemi: the same rules as the Top donateurs, and room for the photo on the left */
.pw-piratetop.lb-al-left { justify-content: flex-start; }
.pw-piratetop.lb-al-right { justify-content: flex-end; }
.pw-piratetop.lb-al-right .duo-stack { justify-items: end; }
.pw-piratetop .duo-face, .pw-piratetop .lb, .pw-piratetop .lb-row { max-width: 100%; min-width: 0; }
.pw-piratetop .duo-stack { padding: .3em .3em .2em; box-sizing: border-box; }
.pt-crown { top: -.62em; width: 1.05em; }
.lb-head .lb-ic[src$='.svg'] { width: 1.25em; height: 1.25em; }
.lb-val .lb-ic { width: .85em; height: .85em; vertical-align: -.1em; }

.pm-sides.pm-list .pm-card { gap: .3em; padding-left: .2em; padding-right: .45em; }
