/* Feed a SCORRIMENTO (features/feed-doom.js) — prova per pochi account.
   Tutto schermo: niente barra in basso né header, la freccia in alto a sinistra
   riporta indietro. Le carte sono «popup senza cornice»: stessa impaginazione
   per ciclo corrente, vincitrici e sfide, così scorrendo non si muove niente. */

html.wpa-dm-open, html.wpa-dm-open body { overflow: hidden !important; }

.wpa-fd.wpa-dm { position: fixed; inset: 0; z-index: 5000; max-width: none; margin: 0; padding: 0;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
  display: flex; flex-direction: column; background: #07070c; color: #f3f3f8;
  --a: var(--wpa-accent, #ff4d6d); --dm-h: 600px; --dm-ph: 360px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }

/* Desktop (06/11/2026): la regola del feed vecchio (.wpa-fd largo 860px a
   griglia, feed.css) prendeva anche questo e lo lasciava a metà schermo, con
   la colonna di navigazione coperta. Qui occupa tutto lo spazio a destra della
   colonna (--wpa-side, navbar.css). */
@media (min-width: 900px) {
  .wpa-fd.wpa-dm { left: var(--wpa-side, 0px); width: auto; margin: 0; display: flex; }
}

/* ── Testata: indietro + voti per il grado ─────────────────────────────── */
.wpa-dm-top { flex: 0 0 auto; height: 52px; box-sizing: border-box; padding: 6px 12px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wpa-dm-back { width: 40px; height: 40px; border-radius: 50%; padding: 0; cursor: pointer;
  background: #14141f; border: 1px solid rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; }
.wpa-dm-back svg { width: 20px; height: 20px; }
.wpa-dm-grade { display: flex; align-items: center; gap: 6px; cursor: pointer; font: inherit;
  background: #14141f; border: 1px solid rgba(255,255,255,.08); border-radius: 999px; padding: 6px 6px 6px 10px;
  font-size: 13px; font-weight: 700; color: #e7e7ea; flex: 0 0 auto; }
.wpa-dm-star { width: 13px; height: 13px; }
/* Pillola dei super voti (15/11/2026, provino 1): «16/50» = giro verso il
   prossimo, sotto in piccolo le foto rimaste (o «✓ votato tutto»), a destra il
   bollino dorato «★ N» = in tasca. Niente ⚡ né «Voti»: col voto anonimo a
   sinistra deve stare in 360 px in tutte e 5 le lingue (misurato: max 333). */
.wpa-dm-gv { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.wpa-dm-gv b { font-weight: 700; font-variant-numeric: tabular-nums; }
.wpa-dm-gv small { margin-top: 1px; font-size: 9.5px; font-weight: 600; color: #9aa0b0; white-space: nowrap; }
.wpa-dm-gv small.is-ok { color: #22b573; }
.wpa-dm-gv small[hidden] { display: none; }
.wpa-dm-gchip { display: inline-flex; align-items: center; gap: 3px; border-radius: 999px; padding: 2px 8px 2px 6px;
  background: color-mix(in srgb, #fbbf24 16%, transparent); color: #fbbf24; font-weight: 800; }
.wpa-dm-gchip em { font-style: normal; font-variant-numeric: tabular-nums; }
.wpa-dm-gchip.is-zero { background: rgba(255,255,255,.06); color: #6b6b78; }
/* Voto anonimo (12/11/2026): faccina + scritta subito dopo la freccia; la
   pillola resta a destra. */
.wpa-dm-top .wpa-anon { margin-right: auto; }
.wpa-dm-top:has(.wpa-anon) { gap: 8px; }

/* Super voto appena guadagnato: la pillola si illumina e la stella scoppia. */
.wpa-dm-grade.is-burst { animation: wpa-dm-glow .62s ease-out; }
.wpa-dm-grade.is-burst .wpa-dm-gchip .wpa-dm-star { animation: wpa-dm-star-pop .62s cubic-bezier(.2,1.4,.4,1); }
@keyframes wpa-dm-glow { from { box-shadow: 0 0 0 0 rgba(251,191,36,.75); } to { box-shadow: 0 0 0 16px rgba(251,191,36,0); } }
@keyframes wpa-dm-star-pop { 45% { transform: scale(1.9) rotate(200deg); } to { transform: scale(1.1) rotate(360deg); } }

/* Stella fra le frecce: quanti super voti restano in tasca. */
.wpa-dm .wpa-sv-star.wpa-dm-sv { position: relative; }
.wpa-dm .wpa-sv-n { position: absolute; top: -2px; right: 14px; min-width: 19px; height: 19px; box-sizing: border-box;
  border-radius: 10px; padding: 0 5px; display: grid; place-items: center; background: #fbbf24; color: #1a1200;
  font-style: normal; font-size: 11px; font-weight: 800; letter-spacing: 0; line-height: 1; box-shadow: 0 0 0 2px #07070c; }

/* ── Filtri + Statistiche ──────────────────────────────────────────────── */
.wpa-dm-tabs { flex: 0 0 auto; height: 44px; box-sizing: border-box; padding: 0 16px;
  display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.wpa-dm-tabs::-webkit-scrollbar { display: none; }
.wpa-dm-tab { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font: inherit;
  border-radius: 999px; padding: 7px 11px; font-size: 12.5px; font-weight: 700;
  background: transparent; color: #9aa0b0; border: 1px solid rgba(255,255,255,.12); }
.wpa-dm-tab.is-on { background: #191922; color: #fff; border-color: var(--a); }
.wpa-dm-tab.is-stats { margin-left: auto; }
.wpa-dm-tab svg { width: 13px; height: 13px; }

/* ── Palco: una carta alla volta, la fila sale da sola ─────────────────── */
.wpa-dm-stage { position: relative; flex: 1 1 auto; width: 100%; max-width: 520px; margin: 0 auto;
  overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.wpa-dm-stage[hidden] { display: none; }
.wpa-dm-track { position: absolute; left: 0; top: 0; width: 100%; height: 1px;
  transition: transform .55s cubic-bezier(.2,.8,.2,1); }
.wpa-dm-track.is-bounce { animation: wpaDmBounce .34s ease-out; }
@keyframes wpaDmBounce { 40% { margin-top: -28px; } }

.wpa-dm-card { position: absolute; left: 0; width: 100%; height: var(--dm-h); box-sizing: border-box;
  padding: 4px 0 12px; display: flex; flex-direction: column; justify-content: space-between;
  opacity: .4; transition: opacity .4s; }
.wpa-dm-card.is-cur { opacity: 1; }
.wpa-dm-hd, .wpa-dm-who, .wpa-dm-title, .wpa-dm-meta, .wpa-dm-acts, .wpa-dm-act { padding: 0 16px; }

.wpa-dm-hd { height: 26px; display: flex; align-items: center; }
.wpa-dm-kind { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: var(--k, var(--a));
  background: #191922; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; padding: 4px 9px; }

.wpa-dm-who { height: 40px; display: flex; align-items: center; gap: 10px; }
.wpa-dm-av { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; background: #1b1b26; }
.wpa-dm-av.is-ph { display: grid; place-items: center; color: #0e0e16; font-weight: 800; font-size: 15px; background: #e7e7ea; }
.wpa-dm-wt { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.wpa-dm .wpa-dm-name, .wpa-dm a.wpa-dm-name:hover { font-size: 14.5px; font-weight: 700; color: #fff; text-decoration: none;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wpa-dm-nmrow { display: flex; align-items: center; gap: 5px; min-width: 0; max-width: 100%; }
.wpa-dm-nmrow .wpa-v2-grade { flex: 0 0 auto; display: block; }
.wpa-dm-clan { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: #9aa0b0; font-weight: 600; white-space: nowrap; }
.wpa-dm-clan i { font-style: normal; font-size: 11px; line-height: 1; }
.wpa-dm-follow { flex: 0 0 auto; border-radius: 20px; padding: 6px 14px; font: inherit; font-size: 12px; font-weight: 700;
  cursor: pointer; background: var(--a); color: #0e0e16; border: 1px solid var(--a); }
.wpa-dm-follow.is-following { background: #26262f; color: #b9b9c6; border-color: rgba(255,255,255,.12); }

/* Foto quadrata a tutta larghezza (si stringe solo se lo schermo è basso). */
.wpa-dm-shot { position: relative; flex: 0 0 auto; width: var(--dm-ph); height: var(--dm-ph); margin: 0 auto;
  overflow: hidden; background: #14141f; cursor: grab; transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.wpa-dm-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.wpa-dm-ring { position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--k); pointer-events: none; }
.wpa-dm-stamp { position: absolute; left: 50%; top: 22px; z-index: 3; transform: translateX(-50%) rotate(-8deg); opacity: 0;
  border: 3px solid currentColor; border-radius: 10px; padding: 6px 16px; font-size: 22px; font-weight: 900; letter-spacing: .08em;
  background: rgba(7,7,12,.6); white-space: nowrap; pointer-events: none; }
.wpa-dm-stamp.is-pos { color: #22c55e; }
.wpa-dm-stamp.is-neg { color: #ef4444; }
.wpa-dm-sq .wpa-dm-stamp.is-pos { color: var(--k, var(--a)); }
.wpa-dm-stamp.is-super { color: #fbbf24; }
.wpa-dm-stamp.is-on { opacity: 1; }

/* Sfida: A in alto a sinistra, B in basso a destra, intere. La sfida non ha
   autore, titolo né riga dell'occhio: quello spazio va alle due foto, che
   diventano più grandi (--dm-dh, --dm-sq le calcola feed-doom.js). */
.wpa-dm-card.is-duel .wpa-dm-who, .wpa-dm-card.is-duel .wpa-dm-title, .wpa-dm-card.is-duel .wpa-dm-meta { display: none; }
.wpa-dm-shot.is-duel { background: none; height: var(--dm-dh, var(--dm-ph)); }
.wpa-dm-sq { position: absolute; width: var(--dm-sq, 49.2%); height: var(--dm-sq, 49.2%); overflow: hidden; background: #14141f; }
.wpa-dm-sq.is-a { left: 0; top: 0; }
.wpa-dm-sq.is-b { right: 0; bottom: 0; }
.wpa-dm-sq::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 3px var(--k, var(--a)); opacity: var(--pick, 0); pointer-events: none; }
.wpa-dm-sq.is-won::after { opacity: 1; }
.wpa-dm-sq .wpa-dm-stamp { top: 50%; transform: translate(-50%, -50%) rotate(-8deg); font-size: 16px; padding: 4px 10px; }
.wpa-dm-letter { position: absolute; z-index: 2; width: 26px; height: 26px; border-radius: 50%; background: rgba(7,7,12,.78);
  border: 1.5px solid var(--k, var(--a)); color: var(--k, #fff); display: grid; place-items: center; font-size: 13px; font-weight: 900; }
.wpa-dm-sq.is-a .wpa-dm-letter { left: 8px; top: 8px; }
.wpa-dm-sq.is-b .wpa-dm-letter { right: 8px; bottom: 8px; }
.wpa-dm-info { position: absolute; width: calc(100% - var(--dm-sq, 49.2%) - 22px); display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.wpa-dm-info.is-a { left: calc(var(--dm-sq, 49.2%) + 12px); top: 0; align-items: flex-start; }
.wpa-dm-info.is-b { left: 10px; bottom: 0; align-items: flex-end; text-align: right; }
.wpa-dm-info .wpa-dm-av { width: 32px; height: 32px; font-size: 14px; }
.wpa-dm .wpa-dm-info .wpa-dm-name { font-size: 13.5px; max-width: 100%; }
/* VS a metà sulla diagonale: in alto a sinistra il clan di A, in basso a destra quello di B. */
.wpa-dm-vs { position: absolute; left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%); width: 46px; height: 46px;
  box-sizing: border-box; border-radius: 50%; border: 2.5px solid transparent;
  background: linear-gradient(#0e0e16, #0e0e16) padding-box,
    linear-gradient(135deg, var(--ka, var(--a)) 50%, var(--kb, var(--a)) 50%) border-box;
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; pointer-events: none; }
.wpa-dm-vs i { font-style: normal; line-height: 1; }
.wpa-dm-vs .v { color: var(--ka, #fff); }
.wpa-dm-vs .s { color: var(--kb, #fff); }

.wpa-dm-title { height: 40px; font-size: 15px; line-height: 20px; font-weight: 700; color: #fff; overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.wpa-dm-meta { height: 24px; display: flex; align-items: center; }
.wpa-dm-eye { display: inline-flex; align-items: center; gap: 5px; background: none; border: 0; padding: 2px 0;
  font: inherit; font-size: 12.5px; font-weight: 700; color: #9aa0b0; cursor: pointer; }
.wpa-dm-eye.is-on { color: #fff; }
.wpa-dm-eye svg { width: 16px; height: 16px; color: var(--a); transform-origin: center; animation: wpaDmBlink 4.5s ease-in-out infinite; }
@keyframes wpaDmBlink { 0%, 90%, 100% { transform: scaleY(1); } 94% { transform: scaleY(.1); } }

/* ── Pulsanti: giù · super voto · sfida · su (sfide: A · countdown · B) ─── */
.wpa-dm-acts { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wpa-dm-vb { width: 56px; height: 56px; flex: 0 0 auto; border-radius: 50%; padding: 0; cursor: pointer; font: inherit;
  background: #191922; border: 1.5px solid rgba(255,255,255,.16); color: #d4d4dc; display: grid; place-items: center;
  font-size: 20px; font-weight: 900; transition: transform .15s; }
.wpa-dm-vb svg { width: 24px; height: 24px; }
/* Frecce: giù rossa, su verde. A/B delle sfide nel colore del clan. */
.wpa-dm-vb.is-dn { border-color: #ef4444; color: #ef4444; }
.wpa-dm-vb.is-up { border-color: #22c55e; color: #22c55e; }
.wpa-dm-acts.is-duel .wpa-dm-vb { border-color: var(--k, var(--a)); color: var(--k, var(--a)); }
.wpa-dm-vb:active { transform: scale(.92); }
.wpa-dm-vb.is-pulse { animation: wpaDmPulse .42s ease-in-out 2; }
@keyframes wpaDmPulse { 50% { transform: scale(1.16); } }
.wpa-dm-mb { width: 84px; height: 56px; padding: 0; cursor: pointer; font: inherit; background: none; border: 0; color: var(--a);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.wpa-dm-mb svg { width: 28px; height: 28px; }
.wpa-dm-mb small { font-size: 9.5px; letter-spacing: .12em; font-weight: 800; color: var(--a); }
.wpa-dm .wpa-sv-star.wpa-dm-sv { width: 84px; height: 56px; padding: 0; background: none; border: 0; gap: 4px; }
.wpa-dm .wpa-sv-star.wpa-dm-sv svg { width: 28px; height: 28px; }
.wpa-dm .wpa-sv-star.wpa-dm-sv small { font-size: 9.5px; letter-spacing: .12em; }
.wpa-dm-card.is-voted .wpa-dm-acts button { opacity: .35; pointer-events: none; }
/* Dopo ▲/▼ il super voto resta toccabile (somma fino a +N netti). */
.wpa-dm-card.is-voted:not(.is-super) .wpa-dm-acts .wpa-dm-sv { opacity: 1; pointer-events: auto; }
.wpa-dm-cd { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.wpa-dm-cd small { font-size: 10px; letter-spacing: .12em; font-weight: 800; color: #9aa0b0; }
.wpa-dm-cd b { font-size: 20px; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }

/* ── Attività: quella del popup, senza riquadro, due righe ─────────────── */
.wpa-dm-act { min-height: 92px; }
.wpa-dm-act .wpa-pop-actprev { margin-top: 0; background: none; border: 0; border-radius: 0; }
.wpa-dm-act .wpa-pop-actprev-hd { padding: 0 0 4px; }
.wpa-dm-act .wpa-pop-actprev-rows { height: 64px; padding: 0; }
.wpa-dm-act .wpa-pop-actprev-row { height: 32px; padding: 0; }
.wpa-dm-act .wpa-pop-actprev-empty { padding: 0; }
.wpa-dm-act .wpa-pop-actprev-more { justify-content: flex-start; gap: 6px; width: auto; padding: 2px 0; background: none; border: 0; }
/* Sfide: il riquadro del popup della sfida, senza riga sopra; due righe in vista, le altre scorrono. */
.wpa-dm-act .wpa-ch-feed { margin-top: 0; padding-top: 0; border-top: 0; }
.wpa-dm-act .wpa-ch-feed-hd { margin-bottom: 4px; }
/* touch-action: il palco ha `none`; le righe del duello sono un contenitore che
   scorre, quindi qui il dito torna a scorrerle (in verticale). */
.wpa-dm-act .wpa-ch-feed-rows { height: 86px; scrollbar-width: none; touch-action: pan-y; -webkit-overflow-scrolling: touch; }
.wpa-dm-act .wpa-ch-feed-rows::-webkit-scrollbar { display: none; }

/* ── Guida al primo ingresso: i due lati dello swipe + la mano; sotto, i
   pulsanti di voto pulsano (si possono anche premere). ─────────────────── */
.wpa-dm-coach { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: rgba(7,7,12,.45); transition: opacity .25s; }
.wpa-dm-coach.is-out { opacity: 0; }
.wpa-dm-coach-side { position: absolute; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.wpa-dm-coach-side.is-l { left: 14px; align-items: flex-start; animation: wpaDmSideL 2.4s ease-in-out infinite; }
.wpa-dm-coach-side.is-r { right: 14px; align-items: flex-end; animation: wpaDmSideR 2.4s ease-in-out infinite; }
.wpa-dm-coach-side i { display: inline-flex; align-items: center; gap: 2px; font-style: normal; font-size: 12px; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.wpa-dm-coach-side i svg { width: 16px; height: 16px; }
.wpa-dm-coach-side b { display: inline-flex; align-items: center; gap: 6px; font-size: 18px; font-weight: 900; text-transform: uppercase;
  background: rgba(7,7,12,.85); border: 2px solid currentColor; border-radius: 999px; padding: 6px 12px; }
.wpa-dm-coach-side b svg { width: 18px; height: 18px; }
.wpa-dm-coach-side b.is-dn { color: #ef4444; }
.wpa-dm-coach-side b.is-up { color: #22c55e; }
.wpa-dm-coach-side b.is-a, .wpa-dm-coach-side b.is-b { color: #fff; min-width: 22px; justify-content: center; }
.wpa-dm-coach-hand { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; color: #fff;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.6)); animation: wpaDmHand 2.4s ease-in-out infinite; }
.wpa-dm-coach-hand svg { width: 100%; height: 100%; }
/* La mano va a destra (su / B) poi a sinistra (giù / A); il lato raggiunto si accende. */
@keyframes wpaDmHand { 0%, 100% { transform: translateX(0) rotate(0); } 30% { transform: translateX(60px) rotate(10deg); }
  50% { transform: translateX(0) rotate(0); } 80% { transform: translateX(-60px) rotate(-10deg); } }
@keyframes wpaDmSideR { 0%, 15%, 45%, 100% { opacity: .45; } 30% { opacity: 1; } }
@keyframes wpaDmSideL { 0%, 65%, 95%, 100% { opacity: .45; } 80% { opacity: 1; } }
.wpa-dm-card.is-coach .wpa-dm-vb, .wpa-dm-card.is-coach .wpa-sv-star { animation: wpaDmTap 1.2s ease-in-out infinite; }
@keyframes wpaDmTap { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(255,255,255,.12); } }
@media (prefers-reduced-motion: reduce) {
  .wpa-dm-coach-hand, .wpa-dm-coach-side, .wpa-dm-card.is-coach .wpa-dm-vb, .wpa-dm-card.is-coach .wpa-sv-star { animation: none; }
}

/* ── Fine della fila ───────────────────────────────────────────────────── */
.wpa-dm-end { position: absolute; left: 0; width: 100%; height: var(--dm-h); box-sizing: border-box; padding: 32px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; }
.wpa-dm-end svg { width: 56px; height: 56px; color: var(--a); }
.wpa-dm-end h2 { margin: 0; font-size: 22px; font-weight: 800; color: #fff; }
.wpa-dm-end p { margin: 0; font-size: 14px; line-height: 1.5; color: #b9b9c4; }

/* ── Statistiche: le tue foto (rankchart.js, come a fine voto) ─────────── */
.wpa-dm-stats { flex: 1 1 auto; width: 100%; max-width: 520px; margin: 0 auto; box-sizing: border-box;
  padding: 8px 16px 24px; overflow-y: auto; scrollbar-width: none; }
.wpa-dm-stats::-webkit-scrollbar { display: none; }
.wpa-dm-stats[hidden] { display: none; }

.wpa-dm-toast { position: fixed; left: 50%; top: calc(104px + env(safe-area-inset-top, 0px)); z-index: 5001;
  transform: translateX(-50%); background: #1c1c28; border: 1px solid rgba(255,255,255,.14); color: #fff;
  font-size: 13px; font-weight: 700; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  opacity: 0; transition: opacity .2s; pointer-events: none; }
.wpa-dm-toast.is-on { opacity: 1; }

/* Desktop largo (06/11/2026): la carta su due colonne, foto a sinistra e a
   destra autore, titolo, pulsanti e attività. La carta è alta quanto la foto
   (il resto dell'altezza va in parti uguali sopra e sotto) e l'attività prende
   tutto lo spazio che avanza a destra: più righe quando ci stanno. In fondo al
   file, perché vinca sulle regole di base. */
@media (min-width: 1100px) {
  .wpa-dm-stage { max-width: 1100px; }
  .wpa-dm-card { display: grid; grid-template-columns: var(--dm-ph) minmax(0, 1fr);
    grid-template-rows: auto auto auto auto auto minmax(0, 1fr); column-gap: 32px; row-gap: 10px;
    padding: calc((var(--dm-h) - var(--dm-ph)) / 2) 0; }
  .wpa-dm-card > * { grid-column: 2; min-width: 0; }
  .wpa-dm-card > .wpa-dm-shot { grid-column: 1; grid-row: 1 / -1; margin: 0; }
  .wpa-dm-card.is-duel { grid-template-rows: auto auto minmax(0, 1fr); }
  .wpa-dm-act { min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
  .wpa-dm-act > .wpa-pop-actprev, .wpa-dm-act > .wpa-ch-feed { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; }
  .wpa-dm-act .wpa-pop-actprev-rows { height: auto; flex: 1 1 auto; min-height: 64px; overflow-x: hidden; overflow-y: auto; }
  .wpa-dm-act .wpa-ch-feed-rows { height: auto; flex: 1 1 auto; min-height: 86px; overflow-y: auto; }
}

/* Contenuto forte: velo sopra la foto/un lato del duello, Segnala e Vela/Svela. */
.wpa-dm-sq .wpa-veil { gap: 6px; padding: 6px; }
.wpa-dm-sq .wpa-veil-ic { width: 30px; height: 30px; }
.wpa-dm-sq .wpa-veil-ic svg { width: 16px; height: 16px; }
.wpa-dm-sq .wpa-veil-t { font-size: 11.5px; }
.wpa-dm-sq .wpa-veil-s { display: none; }
.wpa-dm-sq .wpa-veil-btn { padding: 5px 10px; font-size: 11.5px; }
.wpa-dm-meta { display: flex; align-items: center; gap: 16px; }
.wpa-dm-eye[data-dm-report] svg, .wpa-dm-mod svg { animation: none; }
.wpa-dm-mod span { font-size: 12px; font-weight: 700; }
.wpa-dm-sqtools { position: absolute; z-index: 5; right: 6px; top: 6px; display: flex; gap: 4px; }
.wpa-dm-sqtools .wpa-dm-eye { background: rgba(7,7,12,.7); border-radius: 999px; padding: 4px 7px; }
.wpa-dm-sqtools .wpa-dm-eye span { display: none; }

/* Super voto in più (15/11/2026): esplosione di stelline dalla stella del
   bollino «★ N». I nodi li crea e li toglie feed-doom.js (starBurst). */
.wpa-dm-gchip { position: relative; }
.wpa-dm-sburst { position: absolute; left: 12px; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 3; }
.wpa-dm-sburst i { position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; color: #fbbf24; opacity: 0;
  animation: wpa-dm-sb .8s cubic-bezier(.2,.8,.3,1) var(--dl, 0ms) forwards; }
.wpa-dm-sburst i svg { display: block; width: 100%; height: 100%; filter: drop-shadow(0 0 3px rgba(251,191,36,.8)); }
@keyframes wpa-dm-sb {
  0%   { opacity: 1; transform: translate(0, 0) scale(.4) rotate(0deg); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1) rotate(180deg); }
}
