/* Fair Draw for Lottery: draw block on the competition page */
.fdl-pdraw { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 14px 0; padding: 14px 16px; border-radius: 14px; background: #1c1b30; border: 1px solid #2e2d48; color: #fff; }
.fdl-pdraw__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1 1 200px; position: relative; }
.fdl-pdraw__text b { font-size: 1rem; }
.fdl-pdraw__text small { color: #b9b9cc; font-size: .82rem; line-height: 1.35; }
.fdl-pdraw__btn { display: inline-block; padding: 11px 22px; border-radius: 999px; background: #81B040; color: #10200a; font-weight: 800; text-decoration: none; text-transform: uppercase; letter-spacing: .03em; font-size: .85rem; white-space: nowrap; }
.fdl-pdraw__btn:hover, .fdl-pdraw__btn:focus { filter: brightness(1.1); color: #10200a; }
.fdl-pdraw--done { border-color: #3c5a25; background: linear-gradient(180deg, #1a2a14, #1c1b30); }
.fdl-pdraw--wait { border-color: #6b5a10; }
.fdl-pdraw--live { border-color: #A72321; box-shadow: 0 0 0 2px rgba(167, 35, 33, .35); }
.fdl-pdraw--live .fdl-pdraw__btn { background: #A72321; color: #fff; }
.fdl-pdraw--plain .fdl-pdraw__btn { background: transparent; color: #81B040; border: 1px solid #81B040; }
.fdl-pdraw__dot { position: absolute; left: -2px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #A72321; animation: fdl-pblink 1s ease-in-out infinite; }
.fdl-pdraw--live .fdl-pdraw__text { padding-left: 16px; }
@keyframes fdl-pblink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .fdl-pdraw__dot { animation: none; } }

/* [fdl_winners] shortcode */
.fdl-winners { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; margin: 16px 0; }
.fdl-winner-card { display: flex; flex-direction: column; background: #1c1b30; border: 1px solid #3c5a25; border-radius: 14px; overflow: hidden; color: #fff; }
.fdl-winner-card__img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.fdl-winner-card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.fdl-winner-card__body h3 { margin: 0; font-size: 1rem; color: #fff; }
.fdl-winner-card__who { margin: 0; color: #ffd700; font-weight: 700; }
.fdl-winner-card__when { margin: 0 0 8px; color: #b9b9cc; font-size: .82rem; }
.fdl-winner-card .fdl-pdraw__btn { margin-top: auto; text-align: center; }
