/* Loterie */
.loterie-title { margin-bottom: 8px; }

.loterie-nav { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.loterie-nav .loterie-active { border-color: #105289; box-shadow: inset 0 -2px 0 #105289; }

.loterie-msg { padding: 8px 12px; margin: 0 0 10px; border-radius: 6px; border: 1px solid transparent; }
.loterie-msg-ok { background: #e8f6ea; border-color: #9fd2a7; color: #1f5f2a; }
.loterie-msg-error { background: #fbe9e9; border-color: #e3a1a1; color: #8a1f1f; }
.loterie-msg-info { background: #eaf2fb; border-color: #a9c6e8; color: #1c4570; }
.loterie-checkall { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

.loterie-hero { text-align: center; background: linear-gradient(135deg, #0d3c78 0%, #1d6fc4 60%, #2a8de0 100%); color: #fff; border-radius: 10px; padding: 18px 10px; }
.loterie-hero .inner { color: #fff; }
.loterie-hero-label { text-transform: uppercase; letter-spacing: .08em; font-size: 1.1em; opacity: .9; }
.loterie-jackpot { font-size: 3em; font-weight: bold; line-height: 1.2; margin: 6px 0; text-shadow: 0 2px 6px rgba(0, 0, 0, .3); color: #ffd84a; }
.loterie-rollover { display: inline-block; background: #ffd84a; color: #0d3c78; font-weight: bold; padding: 2px 10px; border-radius: 12px; margin-bottom: 6px; }
.loterie-hero-date { font-size: 1.3em; margin-top: 4px; }
.loterie-countdown { margin-top: 4px; font-weight: bold; }
.loterie-closed { color: #ffb3b3; }
.loterie-hero-info { margin-top: 8px; opacity: .9; }

.loterie-wallet { margin: 10px 0; font-size: 1.1em; }

.loterie-play { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-start; }
.loterie-grid-panel { flex: 2 1 420px; margin: 0; }
.loterie-side { flex: 1 1 240px; }
.loterie-side .panel { margin: 0 0 10px; }

.loterie-grid { display: grid; grid-template-columns: repeat(7, minmax(34px, 1fr)); gap: 6px; max-width: 360px; margin: 10px 0 4px; }
.loterie-grid-chance { grid-template-columns: repeat(5, minmax(34px, 1fr)); max-width: 260px; }
.loterie-pick { position: relative; cursor: pointer; }
.loterie-pick input { position: absolute; opacity: 0; pointer-events: none; }
.loterie-pick span { display: flex; align-items: center; justify-content: center; height: 36px; border-radius: 50%; border: 2px solid #b8c9dc; background: #fff; color: #333; font-weight: bold; transition: all .12s; user-select: none; }
.loterie-pick:hover span { border-color: #1d6fc4; }
.loterie-pick input:checked + span { background: #1d6fc4; border-color: #0d3c78; color: #fff; transform: scale(1.06); }
.loterie-pick input:focus-visible + span { outline: 2px solid #ffb400; outline-offset: 2px; }
.loterie-pick.is-disabled span { opacity: .4; cursor: not-allowed; }
.loterie-pick-chance input:checked + span { background: #e0312b; border-color: #9e1a16; }
.loterie-counter { font-weight: bold; margin-bottom: 8px; }

.loterie-tools { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 8px; }
.loterie-savefav { display: block; margin: 6px 0 10px; }
.loterie-submit .loterie-buy { font-size: 1.15em; padding: 6px 16px; }
.loterie-buy:disabled { opacity: .5; cursor: not-allowed; }
.loterie-help { color: #536482; }
.loterie-small { font-size: .9em; }

.loterie-ball { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; margin: 2px; border-radius: 50%; background: #fff; border: 2px solid #1d6fc4; color: #0d3c78; font-weight: bold; }
.loterie-ball-chance { border-color: #e0312b; color: #e0312b; }
.loterie-ball-small { width: 24px; height: 24px; font-size: .9em; margin: 1px; }
.loterie-balls-big { margin: 10px 0; }
.loterie-balls-big .loterie-ball { width: 44px; height: 44px; font-size: 1.4em; margin: 4px; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); }
.loterie-hero .loterie-ball { background: #fff; }
.loterie-match { background: #1d6fc4; color: #fff; }
.loterie-ball-chance.loterie-match { background: #e0312b; color: #fff; }

.loterie-mygrids { list-style: none; margin: 0; padding: 0; }
.loterie-mygrids { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.loterie-mygrids li { padding: 3px 0; white-space: nowrap; }
.loterie-tag { display: inline-block; font-size: .8em; padding: 1px 6px; border-radius: 8px; background: #ffd84a; color: #5a4300; font-weight: bold; }

.loterie-columns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.loterie-columns > .panel { flex: 1 1 300px; margin: 0; }
.loterie-table { width: 100%; }
.loterie-table td, .loterie-table th { text-align: center; padding: 4px; }
.loterie-nowrap { white-space: nowrap; }

.loterie-tickets td { vertical-align: middle; padding: 8px 4px; }
.loterie-tickets .loterie-ticket-cell { text-align: left; padding-left: 10px; }
.loterie-meta { font-size: .9em; color: #536482; }
.loterie-status { font-weight: bold; }
.loterie-status-win { color: #1f7a2e; font-size: 1.1em; }
.loterie-status-expired { color: #999; }
.loterie-winner td:first-child { box-shadow: inset 4px 0 0 #2fa043; }
.loterie-reveal { animation: loterie-pop .4s ease-out; }
@keyframes loterie-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 700px) {
	.loterie-jackpot { font-size: 2.2em; }
	.loterie-tickets thead { display: none; }
	.loterie-tickets tr, .loterie-tickets td { display: block; text-align: left; }
	.loterie-nowrap { white-space: normal; }
}

/* Sons */
.loterie-audio-tools { margin-left: auto; display: inline-flex; gap: 6px; }
.loterie-audio-tools .loterie-off { opacity: .55; }
.loterie-audio-tools .loterie-off .fa-music { text-decoration: line-through; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Tirage en direct */
.loterie-live { margin-top: 8px; font-size: 1.3em; font-weight: bold; color: #ffd84a; }

/* Sphère animée */
.loterie-show { position: relative; max-width: 560px; margin: 8px auto 0; }
.loterie-show-stage { position: relative; display: flex; justify-content: center; }
.loterie-show canvas { display: block; max-width: 100%; }
.loterie-show-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.loterie-show-overlay[hidden] { display: none; }
.loterie-play-btn { font-size: 1.4em !important; padding: 10px 22px !important; border-radius: 30px !important; box-shadow: 0 4px 18px rgba(0, 0, 0, .35); animation: loterie-pulse 1.6s ease-in-out infinite; }
@keyframes loterie-pulse { 50% { transform: scale(1.07); } }
.loterie-show-caption { min-height: 1.6em; font-size: 1.3em; font-weight: bold; color: #ffd84a; text-shadow: 0 2px 4px rgba(0, 0, 0, .4); }
.loterie-pop { animation: loterie-pop .45s ease-out; }
.loterie-slots .loterie-slot { transition: background .3s, color .3s; }
.loterie-slots .loterie-slot.is-filled { background: #fff; }
.loterie-slots .loterie-slot.is-final { box-shadow: 0 0 0 3px #ffd84a, 0 2px 4px rgba(0, 0, 0, .25); }
.loterie-replay { margin: 4px 0 8px; }
.loterie-hidden { visibility: hidden; }
div.loterie-hidden.panel { display: none; }
.notification-loterie .notification_text { border-left: 3px solid #ffd84a; padding-left: 6px; }
.loterie-replay[hidden], .loterie-live[hidden] { display: none !important; }

/* ===== Habillage « plateau télé » (1.2.0) ===== */
.loterie-hero {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse at 50% 0%, rgba(255, 214, 90, .25), transparent 60%),
		radial-gradient(ellipse at 50% 120%, rgba(110, 60, 220, .55), transparent 60%),
		linear-gradient(160deg, #0a0820 0%, #1b1150 50%, #07061a 100%);
	border: 1px solid rgba(255, 214, 90, .45);
	box-shadow: 0 10px 30px rgba(10, 8, 40, .45), inset 0 0 0 1px rgba(255, 255, 255, .05);
}
.loterie-hero::before {
	content: "";
	position: absolute;
	inset: -50%;
	background: conic-gradient(from 0deg, transparent 0 20deg, rgba(255, 214, 90, .07) 20deg 30deg, transparent 30deg 60deg, rgba(120, 170, 255, .06) 60deg 70deg, transparent 70deg 120deg, rgba(255, 214, 90, .07) 120deg 130deg, transparent 130deg 180deg, rgba(120, 170, 255, .06) 180deg 190deg, transparent 190deg 240deg, rgba(255, 214, 90, .07) 240deg 250deg, transparent 250deg 300deg, rgba(120, 170, 255, .06) 300deg 310deg, transparent 310deg);
	animation: loterie-rays 40s linear infinite;
	pointer-events: none;
}
.loterie-hero > .inner { position: relative; }
@keyframes loterie-rays { to { transform: rotate(360deg); } }
.loterie-hero-label { color: #ffe7a0; letter-spacing: .2em; font-weight: bold; }
.loterie-jackpot {
	font-family: "Arial Black", "Helvetica Neue", Arial, sans-serif;
	font-size: 3.4em;
	background: linear-gradient(180deg, #fff6cf 0%, #ffd34d 45%, #c88a10 55%, #ffe58a 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 3px 8px rgba(255, 190, 40, .45));
}
.loterie-rollover { background: linear-gradient(90deg, #c8102e, #ff3b55); color: #fff; box-shadow: 0 0 12px rgba(255, 59, 85, .6); }
.loterie-countdown { color: #ffe7a0; }

.loterie-show { max-width: 820px; }
.loterie-show canvas { border-radius: 10px; box-shadow: 0 8px 30px rgba(0, 0, 0, .5); }
.loterie-play-btn {
	background: linear-gradient(180deg, #ffe58a, #e2a21a) !important;
	color: #3a2600 !important;
	border: 2px solid #fff3c4 !important;
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: .05em;
}
.loterie-show-caption { font-size: 1.4em; letter-spacing: .02em; }

.loterie-slots { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.loterie-slots .loterie-slot {
	width: 58px;
	height: 58px;
	margin: 0;
	font-size: 1.6em;
	border: 0;
	color: #13213d;
	background: radial-gradient(circle at 35% 30%, #ffffff 0%, #e9eef8 40%, #9aa8c4 100%);
	box-shadow: 0 6px 14px rgba(0, 0, 0, .45), inset 0 -4px 8px rgba(0, 0, 0, .2);
}
.loterie-slots .loterie-slot.loterie-ball-chance { color: #fff; background: radial-gradient(circle at 35% 30%, #ff9aa6 0%, #e3172d 45%, #7d0614 100%); }
.loterie-slots .loterie-slot.is-final { box-shadow: 0 0 0 3px #ffd46a, 0 0 18px rgba(255, 212, 106, .8), 0 6px 14px rgba(0, 0, 0, .45); }
.loterie-hero .loterie-hero-info { color: #e6e9ff; }
@media (max-width: 700px) {
	.loterie-slots .loterie-slot { width: 44px; height: 44px; font-size: 1.2em; }
	.loterie-jackpot { font-size: 2.4em; }
}
/* Grille de jeu : boules brillantes */
.loterie-pick span { background: radial-gradient(circle at 35% 30%, #ffffff 0%, #f1f4fa 55%, #c9d2e3 100%); border-color: #c3cde0; box-shadow: 0 2px 4px rgba(20, 30, 60, .15); }
.loterie-pick input:checked + span { background: radial-gradient(circle at 35% 30%, #9cc8ff 0%, #1e6fd9 50%, #0b3a80 100%); border-color: #0b3a80; box-shadow: 0 0 0 3px rgba(255, 212, 106, .8), 0 4px 10px rgba(11, 58, 128, .45); }
.loterie-pick-chance input:checked + span { background: radial-gradient(circle at 35% 30%, #ff9aa6 0%, #e3172d 50%, #7d0614 100%); border-color: #7d0614; }
.loterie-buy { background: linear-gradient(180deg, #ffe58a, #e2a21a) !important; color: #3a2600 !important; border-color: #c88a10 !important; font-weight: bold; }

/* ===== 1.3.0 ===== */
/* Bloc de recommandation */
.loterie-share { margin-top: 10px; }
.loterie-share-buttons { display: flex; flex-wrap: wrap; gap: 6px; }
.loterie-share-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 10px; border-radius: 18px; border: 0; color: #fff !important; font-weight: bold; font-size: 1em; text-decoration: none !important; cursor: pointer; line-height: 1.2; font-family: inherit; }
.loterie-share-btn:hover { filter: brightness(1.1); box-shadow: 0 2px 6px rgba(0, 0, 0, .25); }
.loterie-share-btn.is-whatsapp { background: #1a9e52; }
.loterie-share-btn.is-email { background: #5b6472; }
.loterie-share-btn.is-facebook { background: #1665d8; }
.loterie-share-btn.is-x { background: #111; }
.loterie-share-btn.is-telegram { background: #1b88c7; }
.loterie-share-btn.is-copy { background: #8a5a00; }
.loterie-share-btn.is-copy.is-done { background: #1a9e52; }
.loterie-share-btn.is-native { background: #6a3fb5; }
.loterie-share-btn[hidden] { display: none; }
.loterie-columns + .loterie-share, .loterie-tickets-wrap + .loterie-share { margin-top: 10px; }

/* Cadeaux */
.loterie-gift { margin: 8px 0 12px; padding: 6px 10px; border: 1px dashed #c88a10; border-radius: 6px; background: #fffaf0; color: #3d3220; }
.loterie-gift summary { cursor: pointer; font-weight: bold; color: #8a5a00; }
.loterie-gift label { display: block; margin-top: 6px; }
.loterie-gift input.inputbox { max-width: 100%; }
.loterie-tag-gift { background: #ffe1ec; color: #8a1240; }

/* Gain spécial */
.loterie-special-badge { display: inline-block; margin: 6px 0 2px; padding: 3px 12px; border-radius: 14px; background: rgba(255, 214, 90, .18); border: 1px solid rgba(255, 214, 90, .6); color: #fff1c2; font-weight: bold; }
.loterie-special-line { font-weight: bold; color: #8a5a00; }
.loterie-hero .loterie-special-line { color: #ffe7a0; font-size: 1.2em; }

/* Bouton centré sous les résultats */
.loterie-center { text-align: center; margin: 12px 0 4px; }
.loterie-gold-btn { background: linear-gradient(180deg, #ffe58a, #e2a21a) !important; color: #3a2600 !important; border-color: #c88a10 !important; font-weight: bold; font-size: 1.15em; padding: 6px 18px; }
.loterie-gold-btn:hover { color: #000 !important; }

/* Lisibilité sur prosilver */
.loterie-hero .loterie-hero-info { font-size: 1.15em; color: #f2f4ff; }
.loterie-hero .loterie-hero-date { color: #ffffff; }
.loterie-hero .loterie-countdown { color: #ffe7a0; font-size: 1.1em; }
.loterie-hero .loterie-result-summary { font-size: 1.3em; font-weight: bold; color: #ffffff; }
.loterie-hero a { color: #ffe7a0; }
.loterie-table thead th { background: #12357a; color: #ffffff; font-weight: bold; font-size: 1em; padding: 6px 4px; text-transform: none; }
.loterie-table td { color: #1f2a3c; font-size: 1.05em; }
.loterie-wallet { color: #1f2a3c; }
.loterie-help { color: #46546b; }
.loterie-meta { color: #4a5870; }
.loterie-msg-info { color: #14365c; font-size: 1.05em; }
.loterie-msg-ok { font-size: 1.05em; }
.loterie-msg-info a { color: #0b4f9e; font-weight: bold; }
.loterie-status { color: #1f2a3c; }
.loterie-status-win { color: #15692a; }
.loterie-columns .panel h3, .loterie-play .panel h3, .loterie-share h3 { color: #12357a; }
.loterie-last-summary { font-size: 1.1em; color: #1f2a3c; }
.loterie-tag { color: #4a3800; }

/* Choix du bénéficiaire dans la liste des membres */
.loterie-gift-row { margin-top: 6px; }
.loterie-gift-row > span { display: block; margin-bottom: 3px; }
.loterie-picker { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.loterie-picker input.inputbox { flex: 1 1 140px; min-width: 0; }
.loterie-picker.is-chosen input.inputbox { border-color: #2e8b3d; background: #f0fff2; font-weight: bold; color: #15692a; }
.loterie-picker-toggle { white-space: nowrap; }
.loterie-picker-list { position: absolute; z-index: 50; top: 100%; left: 0; right: 0; max-height: 220px; overflow-y: auto; margin: 2px 0 0; padding: 4px 0; list-style: none; background: #ffffff; border: 1px solid #12357a; border-radius: 6px; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.loterie-picker-list[hidden] { display: none; }
.loterie-picker-list li { padding: 5px 10px; cursor: pointer; color: #1f2a3c; font-size: 1.05em; }
.loterie-picker-list li:hover, .loterie-picker-list li.is-active { background: #e4ecfa; }
.loterie-picker-list li.is-empty { cursor: default; color: #6a768a; font-style: italic; }
.loterie-picker-msg { flex-basis: 100%; color: #b0141e; font-weight: bold; }

/* Billet à gratter */
.loterie-scratch { position: relative; width: 240px; max-width: 100%; height: 56px; border-radius: 10px; overflow: hidden; box-shadow: 0 2px 6px rgba(0, 0, 0, .25), inset 0 0 0 2px #c88a10; background: #fffdf3; user-select: none; }
.loterie-scratch-under { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 4px 10px; text-align: center; font-weight: bold; color: #4a5870; font-size: 1em; line-height: 1.2; }
.loterie-scratch-under.is-win { color: #15692a; background: radial-gradient(circle, #fffbe0 0%, #fff1b0 100%); }
.loterie-scratch-cover { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; touch-action: none; transition: opacity .6s ease; }
.loterie-scratch-cover:active { cursor: grabbing; }
.loterie-scratch.is-revealed .loterie-scratch-cover { opacity: 0; pointer-events: none; }
.loterie-scratch.is-revealed { animation: loterie-pop .5s ease-out; }
.loterie-scratch-instant { display: block; margin-top: 4px; padding: 0; border: 0; background: none; color: #0b4f9e; text-decoration: underline; cursor: pointer; font-size: .95em; }
.loterie-cash-choice { color: #46546b; }
.loterie-confetti { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 10000; }
.loterie-rolling { color: #b07800; }

/* Encaissement en cascade */
.loterie-cash-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(6, 14, 40, .72); animation: loterie-fade .3s ease-out; }
.loterie-cash { width: 520px; max-width: 100%; max-height: 90vh; display: flex; flex-direction: column; padding: 18px 20px; border-radius: 14px; background: linear-gradient(180deg, #0f2a66 0%, #081639 100%); color: #ffffff; box-shadow: 0 20px 60px rgba(0, 0, 0, .5), inset 0 0 0 2px rgba(255, 214, 90, .55); }
.loterie-cash h3 { margin: 0 0 10px; border: 0; color: #ffe7a0; font-size: 1.4em; text-transform: none; font-family: inherit; text-align: center; }
.loterie-cash-list { flex: 1 1 auto; overflow-y: auto; min-height: 60px; max-height: 50vh; padding: 2px; }
.loterie-cash-card { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 8px; padding: 8px 10px; border-radius: 10px; background: #fffaf0; color: #1f2a3c; transform-origin: 50% 50%; animation: loterie-flip .55s ease-out; }
.loterie-cash-gain { margin-left: auto; font-weight: bold; font-size: 1.2em; color: #15692a; white-space: nowrap; }
.loterie-cash-text { flex-basis: 100%; font-size: .95em; color: #46546b; }
.loterie-cash-total { margin-top: 12px; text-align: center; font-size: 1.2em; color: #f2f4ff; }
.loterie-cash-counter { display: block; font-size: 2.2em; color: #ffd84d; text-shadow: 0 0 18px rgba(255, 200, 40, .6); font-variant-numeric: tabular-nums; }
.loterie-cash-msg { min-height: 1.2em; margin: 8px 0 0; text-align: center; color: #e4ecfa; }
.loterie-cash-actions { margin-top: 12px; text-align: center; }
@keyframes loterie-flip { 0% { transform: perspective(600px) rotateX(-90deg); opacity: 0; } 60% { transform: perspective(600px) rotateX(12deg); opacity: 1; } 100% { transform: perspective(600px) rotateX(0); } }
@keyframes loterie-fade { from { opacity: 0; } to { opacity: 1; } }
.loterie-cash [hidden] { display: none !important; }
.loterie-cash-card.is-pending { justify-content: center; min-height: 44px; background: linear-gradient(135deg, #f7d774, #e0a82a); color: #3a2600; font-weight: bold; font-size: 1.15em; animation: loterie-flip .45s ease-out, loterie-shake .5s ease-in-out .45s infinite; }
.loterie-cash-card.is-flip { animation: loterie-flip .55s ease-out; }
.loterie-dots { display: inline-block; animation: loterie-blink 1s steps(2) infinite; }
@keyframes loterie-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-1deg); } 75% { transform: rotate(1deg); } }
@keyframes loterie-blink { 50% { opacity: .2; } }

/* Super Loterie */
.loterie-super-badge { display: inline-block; margin: 8px 0 4px; padding: 5px 16px; border-radius: 20px; background: linear-gradient(90deg, #b3001b, #ff2d55, #b3001b); color: #ffffff; font-weight: bold; font-size: 1.1em; box-shadow: 0 0 18px rgba(255, 45, 85, .55), inset 0 0 0 2px rgba(255, 220, 120, .8); animation: loterie-super-glow 1.6s ease-in-out infinite alternate; }
.loterie-super-title { text-transform: uppercase; letter-spacing: .08em; color: #ffe27a; margin-right: 4px; }
.loterie-super-tag { display: inline-block; padding: 0 7px; border-radius: 9px; background: #d0021b; color: #ffffff; font-size: .8em; font-weight: bold; vertical-align: middle; }
@keyframes loterie-super-glow { from { box-shadow: 0 0 10px rgba(255, 45, 85, .4), inset 0 0 0 2px rgba(255, 220, 120, .8); } to { box-shadow: 0 0 26px rgba(255, 45, 85, .8), inset 0 0 0 2px rgba(255, 240, 170, 1); } }

/* Discussion */
.loterie-chat-list { list-style: none; margin: 0 0 8px; padding: 6px; height: 240px; overflow-y: auto; background: #ffffff; border: 1px solid #c7d3e6; border-radius: 8px; }
.loterie-chat-list li { position: relative; margin: 0 0 6px; padding: 5px 24px 5px 8px; border-radius: 8px; background: #eef3fb; color: #1f2a3c; line-height: 1.35; word-wrap: break-word; }
.loterie-chat-list li.is-mine { background: #fff4d6; }
.loterie-chat-list li.loterie-chat-empty { background: none; color: #6a768a; font-style: italic; text-align: center; padding-top: 30px; }
.loterie-chat-meta { display: block; font-size: .85em; }
.loterie-chat-user { font-weight: bold; }
.loterie-chat-time { color: #6a768a; }
.loterie-chat-text { display: block; font-size: 1.05em; }
.loterie-chat-del { position: absolute; top: 2px; right: 4px; padding: 0 4px; border: 0; background: none; color: #a0182f; font-size: 1.2em; cursor: pointer; opacity: .5; }
.loterie-chat-del:hover { opacity: 1; }
.loterie-chat-form { display: flex; flex-wrap: wrap; gap: 4px; }
.loterie-chat-form input.inputbox { flex: 1 1 120px; min-width: 0; }
.loterie-chat-error { flex-basis: 100%; color: #b0141e; font-weight: bold; }
.loterie-prize-pct { font-size: .9em; color: #15692a; }

/* Joker */
.loterie-joker-tag { display: inline-block; padding: 0 7px; border-radius: 9px; background: linear-gradient(90deg, #6a1b9a, #b23cd9); color: #ffffff; font-weight: bold; font-size: .85em; letter-spacing: .04em; vertical-align: middle; }
.loterie-joker-opt { display: block; margin: 6px 0; color: #3a1f4a; }
.loterie-joker-badge { display: inline-block; margin: 6px 6px 2px 0; padding: 3px 12px; border-radius: 14px; background: rgba(178, 60, 217, .2); border: 1px solid rgba(220, 150, 255, .6); color: #f4dcff; font-weight: bold; }
.loterie-joker { display: inline-block; margin-top: 3px; }
.loterie-joker-digit { display: inline-block; min-width: 1.1em; margin: 0 1px; padding: 1px 2px; border-radius: 3px; background: #eee6f5; color: #3a1f4a; font-family: Consolas, monospace; font-weight: bold; text-align: center; }
.loterie-joker-digit.is-match { background: #8e24aa; color: #ffffff; }
.loterie-joker-number { font-family: Consolas, monospace; font-size: 1.3em; letter-spacing: .25em; color: #f4dcff; font-weight: bold; }
.loterie-multi-info { margin-left: 8px; padding: 1px 8px; border-radius: 9px; background: #12357a; color: #ffffff; font-weight: bold; font-size: .9em; }
.loterie-multi-info[hidden] { display: none; }

/* Abonnement */
.loterie-sub { margin-top: 10px; padding-top: 8px; border-top: 1px dashed #b9c6dc; }
.loterie-sub h4 { margin: 0 0 4px; color: #12357a; }
.loterie-sub-active { font-weight: bold; color: #15692a; }

/* Statistiques */
.loterie-stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; margin-bottom: 10px; }
.loterie-stat-cards .panel { margin-bottom: 0; }
.loterie-stat-balls { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 10px; }
.loterie-stat-ball { display: flex; flex-direction: column; align-items: center; min-width: 46px; }
.loterie-stat-ball small { color: #4a5870; font-size: .8em; text-align: center; }
.loterie-stat-hot h3 { color: #c0391b !important; }
.loterie-stat-cold h3 { color: #1e6fd9 !important; }
.loterie-histo { display: flex; align-items: flex-end; gap: 2px; height: 190px; margin: 10px 0 18px; padding: 0 2px; overflow-x: auto; }
.loterie-histo-col { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; flex: 1 0 16px; height: 100%; }
.loterie-histo-bar { display: block; width: 80%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #4d8df0, #12357a); }
.loterie-histo-col.is-hot .loterie-histo-bar { background: linear-gradient(180deg, #ff8a3d, #c0391b); }
.loterie-histo-col.is-cold .loterie-histo-bar { background: linear-gradient(180deg, #9ad0ff, #5b8fc7); }
.loterie-histo-val { font-size: .75em; color: #4a5870; }
.loterie-histo-num { margin-top: 2px; font-weight: bold; font-size: .8em; color: #1f2a3c; }
.loterie-histo-gap { font-size: .7em; color: #8a96aa; }
.loterie-histo-chance { height: 140px; }
.loterie-histo-chance .loterie-histo-bar { background: linear-gradient(180deg, #ff5c6c, #b3001b); }

/* Palmarès */
.loterie-ranking td { vertical-align: middle; }
.loterie-pos { display: inline-block; width: 26px; height: 26px; line-height: 26px; border-radius: 50%; background: #dfe6f2; color: #12357a; font-weight: bold; text-align: center; }
.loterie-podium-1 .loterie-pos { background: linear-gradient(135deg, #fff1a8, #e0a82a); color: #3a2600; }
.loterie-podium-2 .loterie-pos { background: linear-gradient(135deg, #f4f6fb, #a9adba); color: #2e313a; }
.loterie-podium-3 .loterie-pos { background: linear-gradient(135deg, #f5c79a, #b4692b); color: #3a1c00; }
.loterie-trophy-mini { color: #c8961c; }
.loterie-trophies { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.loterie-trophy { display: flex; flex-direction: column; align-items: center; padding: 10px 6px; border-radius: 10px; background: #eef1f6; color: #8a96aa; text-align: center; filter: grayscale(1); opacity: .65; }
.loterie-trophy .icon { font-size: 26px; margin-bottom: 4px; }
.loterie-trophy small { font-size: .8em; }
.loterie-trophy.is-earned { filter: none; opacity: 1; background: linear-gradient(180deg, #fff8dc, #ffe9a8); color: #3a2600; box-shadow: inset 0 0 0 2px #e0a82a; }
.loterie-trophy.is-earned .icon { color: #c8961c; }

/* Discussion : messages de la loterie, direct */
.loterie-chat-list li.is-system { background: linear-gradient(90deg, #e8f0ff, #f6efff); border-left: 3px solid #8e24aa; }
.loterie-chat-bot { color: #8e24aa; }
.loterie-live-chat { margin-bottom: 10px; }
.loterie-live-wait { margin-top: 10px; color: #ffffff; font-size: 1.2em; font-weight: bold; text-align: center; text-shadow: 0 2px 6px rgba(0, 0, 0, .6); }
.loterie-live-wait strong { display: block; font-size: 2em; color: #ffd84d; font-variant-numeric: tabular-nums; }
.loterie-savefav[hidden] { display: none !important; }
.loterie-show-overlay.is-live { flex-direction: column; gap: 4px; }
.loterie-mygrids li[hidden] { display: none !important; }
.loterie-more-wrap { margin: 10px 0 0; text-align: center; }
.loterie-mygrids .loterie-joker-tag { margin-left: 6px; font-variant-numeric: tabular-nums; }
