/* Quizzo : cartes, univers, lecteur de quiz et logo animé (style doux).
   Les couleurs viennent du thème (Apparence > Éditeur > Styles > Couleurs). */
:root {
	--qz-ink: var(--wp--preset--color--ink, #3D1246);
	--qz-surface: var(--wp--preset--color--surface, #fff);
	--qz-base: var(--wp--preset--color--base, #FBF9FF);
	--qz-lilac: var(--wp--preset--color--lilac, #F1EBFF);
	--qz-lav: var(--wp--preset--color--lav, #B9A0FF);
	--qz-muted: var(--wp--preset--color--muted, #5B4A66);
	--qz-violet: var(--wp--preset--color--violet, #6B2BF7);
	--qz-coral: var(--wp--preset--color--coral, #FD7C74);
	--qz-yellow: var(--wp--preset--color--yellow, #FFC94A);
	--qz-pink: var(--wp--preset--color--pink, #FF5CA8);
	--qz-sky: var(--wp--preset--color--sky, #3B8BFF);
	--qz-mint: var(--wp--preset--color--mint, #22C38E);
	--qz-display: var(--wp--preset--font-family--display, ui-rounded, system-ui, sans-serif);
	--qz-radius: 24px;
	--qz-line: rgba(61,18,70,.08);
	--qz-shadow: 0 1px 0 rgba(61,18,70,.04), 0 12px 32px rgba(107,43,247,.10);
	--qz-shadow-lift: 0 1px 0 rgba(61,18,70,.04), 0 22px 50px rgba(107,43,247,.20);
	/* Les 4 couleurs des réponses, comme sur un plateau télé */
	--qz-a1: #FD5E73; --qz-a2: #3B8BFF; --qz-a3: #FFB020; --qz-a4: #22C38E;
}

/* ---------- Logo animé ---------- */
.qz-logo-hero { position: relative; width: min(100%, 980px); margin-inline: auto; aspect-ratio: 1440 / 480; }
.qz-logo-hero__art, .qz-logo-hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.qz-logo-hero #mascot { cursor: pointer; }
.qz-logo-hero__glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; pointer-events: none; }
.qz-logo-hero__glow--a { width: 40%; aspect-ratio: 1; left: 0; top: -10%; background: #CDB8FF; }
.qz-logo-hero__glow--b { width: 34%; aspect-ratio: 1; right: 0; bottom: -20%; background: #FFC9C3; }
.qz-hero .qz-logo-hero__glow { display: none; }
@media (max-width: 600px) { .qz-logo-hero:not(.is-mascot) { width: 112%; margin-left: -6%; } }

/* ---------- Grille de cartes ---------- */
.qz-grid { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(var(--qz-cols, 3), minmax(0, 1fr)); }
.qz-grid--cols-1 { --qz-cols: 1; }
.qz-grid--cols-2 { --qz-cols: 2; }
.qz-grid--cols-3 { --qz-cols: 3; }
.qz-grid--cols-4 { --qz-cols: 4; }
@media (max-width: 960px) { .qz-grid--cols-3, .qz-grid--cols-4 { --qz-cols: 2; } }
@media (max-width: 560px) { .qz-grid { --qz-cols: 1 !important; } }

.qz-card {
	display: flex; flex-direction: column; text-decoration: none !important; color: var(--qz-ink) !important;
	background: var(--qz-surface); border-radius: var(--qz-radius); overflow: hidden;
	box-shadow: var(--qz-shadow); transition: transform .22s cubic-bezier(.2,.8,.2,1), box-shadow .22s ease;
}
.qz-card:hover, .qz-card:focus-visible { transform: translateY(-6px); box-shadow: var(--qz-shadow-lift); }
.qz-card__media {
	position: relative; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
	background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.35) 0%, transparent 55%), var(--qz-c, var(--qz-violet));
}
.qz-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.qz-card:hover .qz-card__img { transform: scale(1.04); }
.qz-card__emoji { font-size: clamp(56px, 7vw, 84px); line-height: 1; filter: drop-shadow(0 10px 14px rgba(61,18,70,.25)); transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.qz-card:hover .qz-card__emoji { transform: scale(1.12) rotate(-6deg); }
.qz-card__type { position: absolute; top: 12px; right: 12px; background: rgba(255,255,255,.9); color: var(--qz-ink); font-weight: 700; font-size: 12px; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.qz-card__body { display: flex; flex-direction: column; gap: 8px; padding: 18px 20px 20px; flex: 1; }
.qz-card__univers { align-self: flex-start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--qz-violet); background: var(--qz-lilac); border-radius: 999px; padding: 3px 10px; }
.qz-card__title { font-family: var(--qz-display); font-weight: 800; font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.15; letter-spacing: -.01em; }
.qz-card__meta { margin-top: auto; display: flex; gap: 12px; font-size: 14px; font-weight: 500; color: var(--qz-muted); }
.qz-card__meta span + span::before { content: "•"; margin-right: 12px; opacity: .5; }
.qz-card--featured { grid-column: span 2; flex-direction: row; }
.qz-card--featured .qz-card__media { aspect-ratio: auto; flex: 1.2; min-height: 300px; }
.qz-card--featured .qz-card__body { flex: 1; justify-content: center; padding: 30px; }
.qz-card--featured .qz-card__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.qz-card--featured .qz-card__emoji { font-size: clamp(80px, 10vw, 130px); }
@media (max-width: 960px) { .qz-card--featured { grid-column: 1 / -1; } }
@media (max-width: 680px) {
	.qz-card--featured { flex-direction: column; }
	.qz-card--featured .qz-card__media { min-height: 0; aspect-ratio: 16 / 10; }
}
.qz-empty { font-size: 1.1rem; }
.qz-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.qz-pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 999px; font-weight: 700; text-decoration: none; background: #fff; color: var(--qz-ink); box-shadow: var(--qz-shadow); }
.qz-pagination .current { background: var(--qz-violet); color: #fff; }

/* ---------- Pastilles univers ---------- */
.qz-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.qz-chip {
	display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px;
	background: var(--qz-surface); color: var(--qz-ink) !important; font-weight: 700; font-size: 1rem; text-decoration: none !important;
	box-shadow: 0 0 0 1px var(--qz-line), 0 6px 18px rgba(107,43,247,.07); transition: transform .15s ease, background .15s ease, color .15s ease;
}
.qz-chip:hover, .qz-chip.is-current { background: var(--qz-violet); color: #fff !important; transform: translateY(-2px); }
.qz-chip__count { background: var(--qz-lilac); color: var(--qz-violet); border-radius: 999px; font-size: 12px; padding: 1px 8px; }
.qz-chip:hover .qz-chip__count, .qz-chip.is-current .qz-chip__count { background: rgba(255,255,255,.22); color: #fff; }
.qz-chips--large .qz-chip { font-size: 1.1rem; padding: 13px 24px; }

/* ---------- Boutons ---------- */
.qz-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; text-decoration: none !important;
	font-family: var(--qz-display); font-weight: 800; font-size: 1.1rem; color: #fff !important;
	background: var(--qz-violet); border: 0; border-radius: 999px; padding: 14px 28px;
	box-shadow: 0 10px 24px rgba(107,43,247,.28); transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.qz-btn:hover { background: #5520D6; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(107,43,247,.34); }
.qz-btn:active { transform: translateY(1px); }
.qz-btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.qz-btn--big { font-size: clamp(1.2rem, 2.2vw, 1.45rem); padding: 18px 40px; }
.qz-btn--ghost { background: #fff; color: var(--qz-ink) !important; box-shadow: inset 0 0 0 1.5px var(--qz-line), 0 4px 14px rgba(61,18,70,.06); }
.qz-btn--ghost:hover { background: var(--qz-lilac); color: var(--qz-violet) !important; box-shadow: inset 0 0 0 1.5px transparent, 0 8px 20px rgba(107,43,247,.12); }
.qz-btn--coral { background: var(--qz-coral); box-shadow: 0 10px 24px rgba(253,124,116,.35); }
.qz-btn--coral:hover { background: #F2645B; }
.qz-btn--small { font-size: .95rem; padding: 9px 16px; }

/* ---------- Lecteur ---------- */
.qz-player {
	position: relative; scroll-margin-top: 90px; background: var(--qz-surface); border-radius: 32px;
	box-shadow: var(--qz-shadow); padding: clamp(18px, 4vw, 44px); overflow: hidden; color: var(--qz-ink);
}
.qz-player::before { content: ""; position: absolute; width: 360px; height: 360px; right: -140px; top: -180px; border-radius: 50%; background: var(--qz-accent, var(--qz-lav)); filter: blur(90px); opacity: .28; pointer-events: none; }
.qz-stage { position: relative; min-height: 280px; }
.qz-screen { transition: opacity .3s ease, transform .3s ease; }
.qz-screen.is-entering { opacity: 0; transform: translateY(14px) scale(.985); }

/* Écran de départ */
.qz-screen--start { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 44px); align-items: center; padding-top: 4px; }
.qz-start__media { aspect-ratio: 1 / 1; max-height: 360px; width: 100%; border-radius: 26px; overflow: hidden; display: grid; place-items: center;
	background: radial-gradient(120% 120% at 30% 20%, rgba(255,255,255,.4) 0%, transparent 55%), var(--qz-accent, var(--qz-violet)); }
.qz-start__img { width: 100%; height: 100%; object-fit: cover; }
.qz-start__emoji { font-size: clamp(90px, 14vw, 160px); line-height: 1; filter: drop-shadow(0 14px 18px rgba(61,18,70,.25)); animation: qz-float 3.2s ease-in-out infinite; }
@keyframes qz-float { 50% { transform: translateY(-10px) rotate(4deg); } }
.qz-start__body { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.qz-start__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.qz-start__facts li { background: var(--qz-lilac); border-radius: 16px; padding: 10px 16px; font-size: 1rem; }
.qz-start__facts strong { font-family: var(--qz-display); font-size: 1.25rem; color: var(--qz-violet); }
.qz-shared { margin: 0; background: #FFF3D6; border-radius: 16px; padding: 12px 16px; font-size: 1.05rem; font-weight: 500; }
@media (max-width: 720px) {
	.qz-screen--start { grid-template-columns: 1fr; }
	.qz-start__media { max-height: 220px; aspect-ratio: 16 / 9; }
	.qz-start__body { align-items: stretch; }
}

/* Question */
.qz-top { display: flex; align-items: center; gap: 14px; margin: 4px 0 24px; }
.qz-back { width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: var(--qz-lilac); cursor: pointer; font-size: 20px; font-weight: 700; color: var(--qz-violet); }
.qz-back:hover { background: var(--qz-violet); color: #fff; }
.qz-back--ghost { visibility: hidden; }
.qz-progress { flex: 1; height: 12px; border-radius: 999px; background: var(--qz-lilac); overflow: hidden; }
.qz-progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--qz-violet), var(--qz-coral)); transition: width .4s cubic-bezier(.2,.8,.2,1); min-width: 0; }
.qz-count { font-family: var(--qz-display); font-weight: 900; font-size: 1.4rem; white-space: nowrap; }
.qz-count small { font-size: 1rem; color: var(--qz-muted); }
.qz-q { font-family: var(--qz-display); font-weight: 900; font-size: clamp(1.5rem, 3.2vw, 2.3rem); line-height: 1.12; letter-spacing: -.015em; margin: 0 0 24px; text-wrap: balance; }
.qz-q__img { display: block; width: 100%; max-height: 320px; object-fit: cover; border-radius: 20px; margin-bottom: 22px; }

/* Réponses : 4 tuiles de couleur, comme sur un plateau de jeu */
.qz-answers { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 620px) { .qz-answers:not(.qz-answers--images) { grid-template-columns: 1fr; } }
.qz-ans {
	--qz-c: var(--qz-a1);
	position: relative; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer;
	font: inherit; font-size: clamp(1.05rem, 1.6vw, 1.2rem); font-weight: 700; line-height: 1.25; color: #fff;
	background: var(--qz-c); border: 0; border-radius: 20px; padding: 16px 18px; min-height: 80px;
	box-shadow: inset 0 -5px 0 rgba(0,0,0,.14), 0 8px 18px rgba(61,18,70,.10);
	transition: transform .14s ease, box-shadow .14s ease, filter .15s ease, opacity .2s ease;
}
.qz-ans:nth-child(4n+2) { --qz-c: var(--qz-a2); }
.qz-ans:nth-child(4n+3) { --qz-c: var(--qz-a3); }
.qz-ans:nth-child(4n+4) { --qz-c: var(--qz-a4); }
.qz-ans__letter { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.24); font-family: var(--qz-display); font-weight: 900; font-size: 1.15rem; }
.qz-ans:hover { transform: translateY(-3px); filter: brightness(1.05); box-shadow: inset 0 -5px 0 rgba(0,0,0,.14), 0 14px 26px rgba(61,18,70,.16); }
.qz-ans:active, .qz-ans.is-picked { transform: translateY(2px) scale(.99); box-shadow: inset 0 -2px 0 rgba(0,0,0,.14), 0 4px 10px rgba(61,18,70,.10); }
.qz-ans.is-picked .qz-ans__letter, .qz-ans.was-picked .qz-ans__letter { background: #fff; color: var(--qz-c); }
.qz-ans.was-picked { outline: 4px solid rgba(61,18,70,.25); outline-offset: 2px; }
.qz-answers.is-revealed .qz-ans:not(.is-right):not(.is-wrong) { opacity: .35; }
.qz-ans.is-right { background: var(--qz-mint) !important; }
.qz-ans.is-right .qz-ans__letter { background: #fff; color: var(--qz-mint); }
.qz-ans.is-right::after { content: "✓"; position: absolute; right: 18px; font-size: 1.6rem; font-weight: 900; }
.qz-ans.is-wrong { background: #E5484D !important; animation: qz-shake .4s ease; }
@keyframes qz-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

/* Réponses en mosaïque d'images */
.qz-answers--images { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .qz-answers--images { grid-template-columns: repeat(4, 1fr); } }
.qz-answers--images .qz-ans { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; gap: 0; }
.qz-answers--images .qz-ans img { aspect-ratio: 1 / 1; width: 100%; object-fit: cover; display: block; }
.qz-answers--images .qz-ans__letter { position: absolute; top: 8px; left: 8px; width: 34px; height: 34px; font-size: 1rem; background: var(--qz-c); }
.qz-answers--images .qz-ans__text { padding: 12px 14px; font-size: 1.02rem; }

/* Résultat */
.qz-result { text-align: center; padding-top: 8px; }
.qz-kicker { display: inline-block; margin: 0 0 14px; background: var(--qz-lilac); color: var(--qz-violet); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: 13px; padding: 6px 16px; border-radius: 999px; }
.qz-score { font-family: var(--qz-display); margin: 0 0 16px; line-height: 1; }
.qz-score strong { font-size: clamp(5rem, 14vw, 8rem); font-weight: 900; background: linear-gradient(120deg, var(--qz-violet), var(--qz-coral)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.qz-score span { font-size: 2rem; font-weight: 800; color: var(--qz-muted); }
.qz-result__card { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto 28px; border-radius: 28px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--qz-lilac) 100%); box-shadow: var(--qz-shadow-lift); animation: qz-pop .6s cubic-bezier(.2,1.5,.4,1); }
@keyframes qz-pop { from { transform: scale(.85); opacity: 0; } }
.qz-result__img { width: 100%; max-height: 360px; object-fit: cover; }
.qz-result__body { padding: clamp(20px, 4vw, 34px); }
.qz-result__title { font-family: var(--qz-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.1rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 12px; text-wrap: balance; }
.qz-result__text { font-size: 1.15rem; line-height: 1.6; margin: 0; color: var(--qz-muted); }
.qz-share { margin: 0 auto 26px; }
.qz-share__label { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; }
.qz-share__row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.qz-sh { display: inline-flex; align-items: center; padding: 10px 18px; border: 0; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none !important; color: var(--qz-ink) !important; background: #fff; cursor: pointer; font-family: inherit; box-shadow: inset 0 0 0 1.5px var(--qz-line); transition: background .15s ease, color .15s ease, transform .15s ease; }
.qz-sh:hover { transform: translateY(-2px); }
.qz-sh--native { background: var(--qz-ink); color: #fff !important; box-shadow: none; }
.qz-sh--wa:hover { background: #25D366; color: #fff !important; }
.qz-sh--sc:hover { background: #FFFC00; }
.qz-sh--x:hover { background: #000; color: #fff !important; }
.qz-sh--fb:hover { background: #1877F2; color: #fff !important; }
.qz-sh--copy:hover { background: var(--qz-lilac); }
.qz-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.qz-nextwrap { text-align: left; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--qz-line); }
.qz-next__title { font-family: var(--qz-display); font-weight: 900; font-size: 1.7rem; margin: 0 0 18px; }

/* Confettis */
.qz-confetti { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 5; }
.qz-confetti i { position: absolute; top: -20px; width: 10px; height: 14px; border-radius: 3px; animation: qz-fall linear forwards; }
@keyframes qz-fall { to { transform: translate(var(--x), 110vh) rotate(var(--r)); opacity: .9; } }

/* Message dans l'éditeur */
.qz-notice { border: 2px dashed var(--qz-lav); border-radius: 20px; padding: 28px; text-align: center; font-size: 1.05rem; background: var(--qz-lilac); color: var(--qz-ink); }

.qz-player, .qz-player *, .qz-grid, .qz-grid *, .qz-chips, .qz-chips * { box-sizing: border-box; }

/* Écrans tactiles : pas d'effet de survol « collé » après un tap */
@media (hover: none) {
	.qz-ans:hover:not(.is-picked) { transform: none; filter: none; }
	.qz-btn:hover { background: var(--qz-violet); transform: none; }
	.qz-btn--ghost:hover { background: #fff; color: var(--qz-ink) !important; }
	.qz-card:hover { transform: none; box-shadow: var(--qz-shadow); }
	.qz-chip:hover:not(.is-current) { background: #fff; color: var(--qz-ink) !important; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.qz-start__emoji { animation: none; }
	.qz-card, .qz-ans, .qz-btn { transition: none; }
}

/* ---------- Emplacements pub ---------- */
.qz-ad { position: relative; width: 100%; margin-left: auto; margin-right: auto; text-align: center; box-sizing: border-box; }
.qz-ad.qz-ad--horizontal { min-height: 100px; max-width: 970px; }
.qz-ad.qz-ad--rectangle { min-height: 280px; max-width: 336px; }
.qz-ad__label { display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--qz-muted); opacity: .7; margin-bottom: 4px; }
.qz-ad--placeholder {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px;
	border: 1.5px dashed var(--qz-lav); border-radius: 18px; color: var(--qz-ink); background: rgba(241,235,255,.6);
}
.qz-ad--placeholder strong { font-size: 1rem; }
.qz-ad--placeholder small { font-size: .85rem; color: var(--qz-muted); }
.qz-result__ad { margin: 8px auto 0; padding-top: 24px; }

/* ---------- Résultats possibles (texte indexable) ---------- */
.qz-results { margin-top: 3rem; }
.qz-results__title { font-family: var(--qz-display); font-weight: 900; font-size: clamp(1.6rem, 3vw, 2.1rem); margin: 0 0 1.25rem; }
.qz-results__list { display: grid; gap: 12px; }
.qz-results__item { display: flex; gap: 16px; align-items: flex-start; background: #fff; border-radius: 20px; padding: 16px 18px; box-shadow: var(--qz-shadow); }
.qz-results__item img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; flex: none; }
.qz-results__item h3 { font-family: var(--qz-display); font-size: 1.25rem; margin: 0 0 4px; }
.qz-results__item h3 span { font-family: var(--wp--preset--font-family--body, inherit); font-weight: 500; font-size: 1rem; color: var(--qz-muted); }
.qz-results__item p { margin: 0; }

/* =====================================================================
   Personnalité Quizzo : contours encre + ombres « pop » (style BD).
   ===================================================================== */
:root {
	--qz-yellow: var(--wp--preset--color--yellow, #FFD23F);
	--qz-line: var(--qz-ink);
	--qz-b: 2.5px solid var(--qz-ink);
	--qz-shadow: 5px 5px 0 var(--qz-ink);
	--qz-shadow-lift: 8px 8px 0 var(--qz-ink);
}
.qz-card, .qz-player, .qz-chip, .qz-results__item, .qz-result__card, .qz-btn, .qz-sh, .qz-back, .qz-start__media, .qz-shared, .qz-pagination .page-numbers { border: var(--qz-b); }
.qz-card:hover, .qz-card:focus-visible { transform: translate(-3px, -3px) rotate(-.4deg); }
.qz-card:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--qz-ink); }
.qz-card__media { border-bottom: var(--qz-b); background-image: radial-gradient(rgba(255,255,255,.25) 2px, transparent 2.5px); background-size: 22px 22px; background-color: var(--qz-c, var(--qz-violet)); }
.qz-card__emoji, .qz-start__emoji { filter: drop-shadow(4px 4px 0 rgba(61,18,70,.85)); }
.qz-card__type { background: var(--qz-ink); color: #fff; }
.qz-card__univers { background: var(--qz-base); color: var(--qz-ink); border: 2px solid var(--qz-ink); }
.qz-card--featured .qz-card__media { border-bottom: 0; border-right: var(--qz-b); }
@media (max-width: 680px) { .qz-card--featured .qz-card__media { border-right: 0; border-bottom: var(--qz-b); } }
.qz-chip { box-shadow: 3px 3px 0 var(--qz-ink); }
.qz-chip:hover, .qz-chip.is-current { background: var(--qz-c, var(--qz-yellow)); color: var(--qz-ink) !important; transform: translate(-2px, -2px) rotate(-1.5deg); }
.qz-chip__count { background: var(--qz-ink); color: #fff; }
.qz-chip:hover .qz-chip__count, .qz-chip.is-current .qz-chip__count { background: var(--qz-ink); }
.qz-btn { background: var(--qz-yellow); color: var(--qz-ink) !important; box-shadow: 4px 4px 0 var(--qz-ink); }
.qz-btn:hover { background: var(--qz-pink); transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--qz-ink); }
.qz-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--qz-ink); }
.qz-btn--ghost { background: #fff; }
.qz-btn--ghost:hover { background: var(--wp--preset--color--lilac, #EDE5FF); color: var(--qz-ink) !important; box-shadow: 6px 6px 0 var(--qz-ink); }
.qz-btn--coral { background: var(--qz-coral); }
.qz-player { box-shadow: 8px 8px 0 var(--qz-ink); }
.qz-player::before { width: auto; height: 10px; inset: 0 0 auto 0; border-radius: 0; filter: none; opacity: 1; background: var(--qz-accent, var(--qz-violet)); border-bottom: var(--qz-b); }
.qz-progress { border: var(--qz-b); height: 18px; background: var(--qz-base); }
.qz-progress span { border-radius: 0; background: var(--qz-accent, var(--qz-violet)); }
.qz-back { background: #fff; color: var(--qz-ink); }
.qz-back:hover { background: var(--qz-yellow); color: var(--qz-ink); }
.qz-start__facts li { background: var(--qz-base); border: 2px solid var(--qz-ink); }
.qz-start__facts strong { color: var(--qz-ink); }
.qz-shared { background: var(--qz-yellow); transform: rotate(-1deg); }
.qz-ans { border: var(--qz-b); box-shadow: 4px 4px 0 var(--qz-ink); text-shadow: 0 1px 0 rgba(0,0,0,.15); }
.qz-ans:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--qz-ink); }
.qz-ans:active, .qz-ans.is-picked { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--qz-ink); }
.qz-ans__letter { border: 2px solid rgba(255,255,255,.7); }
.qz-kicker { background: var(--qz-ink); color: #fff; }
.qz-score strong { background: none; color: var(--qz-accent, var(--qz-violet)); -webkit-text-stroke: 3px var(--qz-ink); paint-order: stroke fill; }
.qz-result__card { background: var(--qz-base); box-shadow: var(--qz-shadow); }
.qz-result__img { border-bottom: var(--qz-b); }
.qz-sh { box-shadow: 3px 3px 0 var(--qz-ink); }
.qz-sh--native { border-color: var(--qz-ink); }
.qz-nextwrap { border-top: 3px dashed var(--qz-ink); }
.qz-confetti i { border: 1.5px solid var(--qz-ink); }
.qz-ad--placeholder { border: 2px dashed var(--qz-muted); background: repeating-linear-gradient(-45deg, rgba(107,43,247,.05) 0 12px, rgba(107,43,247,.11) 12px 24px); }
.qz-notice { border: 2.5px dashed var(--qz-ink); }
.qz-results__item img { border: 2px solid var(--qz-ink); }
@media (hover: none) {
	.qz-ans:hover:not(.is-picked) { box-shadow: 4px 4px 0 var(--qz-ink); }
	.qz-btn:hover { background: var(--qz-yellow); box-shadow: 4px 4px 0 var(--qz-ink); }
	.qz-chip:hover:not(.is-current) { background: #fff; transform: none; }
}

/* Logo animé : variante « mascotte seule » */
.qz-logo-hero.is-mascot { aspect-ratio: 440 / 460; width: min(100%, 400px); }
.qz-logo-hero.is-mascot svg { overflow: hidden; }
.qz-logo-hero.is-mascot #word, .qz-logo-hero.is-mascot #dot, .qz-logo-hero.is-mascot #dshadow { display: none; }
.qz-logo-hero.is-mascot .qz-logo-hero__glow { display: none; }
