/* Fiche QR code à imprimer de la roue cadeau : tout se dimensionne en cqw (largeur de la fiche), donc la même mise en page marche de l'autocollant à l'affiche A4. */
.rf-zone { position: relative; overflow: hidden; background: #e9ecf3; border-radius: 14px; padding: 12px; }
.rf-feuille { transform-origin: top left; }
.rf-grille { display: grid; justify-content: start; align-content: start; }
.rf { container-type: inline-size; position: relative; overflow: hidden; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; background: var(--rf-fond); color: var(--rf-encre); padding: calc(var(--rf-w) * .06mm) calc(var(--rf-w) * .06mm) calc(var(--rf-w) * .04mm); }
.rf--clair { --rf-fond: #fff; --rf-encre: #1d1d1f; --rf-doux: #555; --rf-qrfond: #fff; }
.rf--sombre { --rf-fond: #17161f; --rf-encre: #fff; --rf-doux: #c9c6d6; --rf-qrfond: #fff; }
.rf--couleur { --rf-fond: var(--rf-c); --rf-encre: #fff; --rf-doux: rgba(255,255,255,.85); --rf-qrfond: #fff; }
.rf--cadre { box-shadow: inset 0 0 0 calc(var(--rf-w) * .012mm) var(--rf-c); }
.rf--arrondi { border-radius: 5cqw; }
.rf--qrc .rf-qr svg path { fill: var(--rf-c); }
.rf--m-points { background-image: radial-gradient(color-mix(in srgb, var(--rf-c) 22%, transparent) 0.7cqw, transparent 0.8cqw); background-size: 5cqw 5cqw; }
.rf--m-rayures { background-image: repeating-linear-gradient(135deg, color-mix(in srgb, var(--rf-c) 10%, transparent) 0 2cqw, transparent 2cqw 5cqw); }
.rf--m-confettis { background-image: radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--rf-c) 35%, transparent) 1.2cqw, transparent 1.3cqw), radial-gradient(circle at 88% 12%, #f3a71266 1cqw, transparent 1.1cqw), radial-gradient(circle at 8% 78%, #17a39855 1.4cqw, transparent 1.5cqw), radial-gradient(circle at 92% 70%, color-mix(in srgb, var(--rf-c) 30%, transparent) 1cqw, transparent 1.1cqw), radial-gradient(circle at 50% 96%, #29335c44 1.1cqw, transparent 1.2cqw), radial-gradient(circle at 80% 92%, #f3a71255 .8cqw, transparent .9cqw), radial-gradient(circle at 20% 50%, #17a39844 .7cqw, transparent .8cqw); }
.rf--m-vague { background-image: radial-gradient(120% 60% at 50% 115%, color-mix(in srgb, var(--rf-c) 22%, transparent) 60%, transparent 61%); }
.rf--couleur.rf--m-points { background-image: radial-gradient(rgba(255,255,255,.22) 0.7cqw, transparent 0.8cqw); }
.rf--couleur.rf--m-rayures { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.12) 0 2cqw, transparent 2cqw 5cqw); }
.rf--couleur.rf--m-vague { background-image: radial-gradient(120% 60% at 50% 115%, rgba(255,255,255,.2) 60%, transparent 61%); }
.rf--rond { border-radius: 50%; padding: calc(var(--rf-w) * .09mm); }
.rf > .rf-in { display: flex; flex-direction: column; align-items: center; width: 100%; transform-origin: center center; flex-shrink: 0; }
.rf-in > * { position: relative; max-width: 100%; flex-shrink: 0; }
.rf-logo { max-height: calc(var(--rf-lg, 11) * 1cqw); max-width: 80%; object-fit: contain; display: block; margin: 0 auto 1.5cqw; }
.rf-resto { margin: 0; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 4.4cqw; color: var(--rf-c); }
.rf--couleur .rf-resto { color: #fff; }
.rf .rf-titre { margin: 1.5cqw 0 3cqw; font-weight: 900; line-height: 1.08; font-size: calc(8.6cqw * var(--rf-tt, 1)); }
.rf-sous { margin: -1.5cqw 0 3cqw; font-weight: 700; font-size: calc(4.6cqw * var(--rf-t, 1)); color: var(--rf-c); }
.rf--couleur .rf-sous { color: #fff; }
.rf-etapes--une { text-align: center; } .rf-etapes--une li::before { display: none; }
.rf-qr { width: calc(var(--rf-q, 54) * 1cqw); padding: 2.2cqw; background: var(--rf-qrfond); border-radius: 3cqw; box-shadow: 0 0 0 .9cqw var(--rf-c); margin: 0 auto 3cqw; }
.rf-qr svg { display: block; width: 100%; height: auto; }
.rf-etapes { list-style: none; counter-reset: e; margin: 0 auto 2cqw; padding: 0; display: grid; gap: 1.5cqw; text-align: left; font-weight: 650; font-size: calc(4.4cqw * var(--rf-t, 1)); }
.rf-etapes li { counter-increment: e; display: flex; gap: 2.4cqw; align-items: center; }
.rf-etapes li::before { content: counter(e); flex: 0 0 6.4cqw; height: 6.4cqw; border-radius: 50%; background: var(--rf-c); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 4cqw; }
.rf--couleur .rf-etapes li::before { background: #fff; color: var(--rf-c); }
.rf-lots { margin: 1cqw 0; font-size: 3.7cqw; color: var(--rf-doux); }
.rf-lien { margin: 1.5cqw 0 0; font-weight: 800; font-size: 4cqw; word-break: break-all; }
.rf-mention { margin: 1cqw 0 0; font-size: 2.5cqw; color: var(--rf-doux); }
.rf.rf--rond .rf-titre { font-size: 9.5cqw; margin: 1cqw 0 2.5cqw; } .rf--rond .rf-qr { margin-bottom: 2cqw; }
.rf-court { font-weight: 800; font-size: 6.5cqw; margin: 0; }
.rf-pli { transform: rotate(180deg); }
@media print {
  body.rf-impression * { visibility: hidden !important; }
  body.rf-impression .rf-zone, body.rf-impression .rf-zone * { visibility: visible !important; }
  body.rf-impression .rf-zone { position: absolute !important; left: 0; top: 0; width: auto !important; height: auto !important; padding: 0 !important; background: none !important; border-radius: 0 !important; overflow: visible !important; }
  body.rf-impression .rf-feuille { transform: none !important; }
  .rf { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* Panneau de réglages */
.rf-reglages { display: grid; gap: 4px; }
.rf-reglages .rf-t { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin: 10px 0 2px; opacity: .7; }
.rf-cases { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 4px 0 8px; font-size: 14px; }
.rf-cases label { display: flex; gap: 6px; align-items: center; cursor: pointer; }
.rf-reglages input[type=range] { width: 100%; padding: 0; }
.rf-reglages input[type=color] { height: 42px; padding: 3px; width: 100%; }
.rf-reglages [hidden] { display: none !important; }
