/*
 * v4 sidebar widgets (mockup sidebar-widgets.html). Scoped to .lol-wg; themes style
 * sidebars aggressively, so the key visual properties use !important.
 */
.lol-wg {
	--wg-card: #151821;
	--wg-line: rgba(255, 255, 255, 0.08);
	--wg-ink: #f4f6fb;
	--wg-muted: #9aa3b8;
	--wg-gold: #ffd23f;
	--wg-green: #22c55e;
	--wg-disp: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
	color: var(--wg-ink);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	font-size: 13px;
	line-height: 1.35;
	text-align: left;
}
.lol-wg * { box-sizing: border-box; }
.lol-wg a { color: inherit; text-decoration: none; }

/* colour per raffle type */
.lol-wg .lol-wg-daily { --c: #2fd0c9; }
.lol-wg .lol-wg-weekly { --c: #4f8dff; }
.lol-wg .lol-wg-monthly { --c: #a77bff; }
.lol-wg .lol-wg-main { --c: #ffd23f; }
.lol-wg .lol-wg-sng { --c: #ff8a00; }
.lol-wg .lol-wg-sat { --c: #d06bff; }
.lol-wg .lol-wg-free { --c: #22c55e; }
.lol-wg .lol-wg-raffle { --c: #5aa0ff; }

.lol-wg-title {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	background: linear-gradient(180deg, #5aa0ff, #3b7cf0) !important;
	color: #fff !important; font-weight: 800; font-size: 15px;
	border-radius: 8px; padding: 9px 8px; margin: 0 0 10px;
	box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}
.lol-wg-sub { font-size: 11px; color: var(--wg-muted); text-align: center; margin: -3px 0 10px; }
.lol-wg-sub b { color: var(--wg-gold); }
.lol-wg-empty { color: var(--wg-muted); text-align: center; font-size: 12px; margin: 8px 0; }
.lol-wg-more { display: block; text-align: center; font-size: 12px; font-weight: 700; color: #9cc2ff !important; padding: 6px 4px 2px; }
.lol-wg-more:hover { color: #fff !important; }

/* Current Raffles rows */
.lol-wg-r {
	position: relative; overflow: hidden;
	background: var(--wg-card) !important; border: 1px solid var(--wg-line);
	border-radius: 10px; padding: 10px 10px 10px 13px; margin: 0 0 8px;
}
.lol-wg-r::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); }
.lol-wg-r.lol-wg-main {
	background: linear-gradient(160deg, #2a2208, #151821 60%) !important;
	border-color: rgba(255, 210, 63, 0.5); box-shadow: 0 0 14px rgba(255, 210, 63, 0.18);
}
.lol-wg-top { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.lol-wg-type { font-size: 9.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c); }
.lol-wg-cd { font-size: 11px; font-weight: 700; color: var(--wg-muted); font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.lol-wg-cd.soon { color: #ff6b6b; }
.lol-wg-cd.soon::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ff4d4d; animation: lol-wg-pulse 1.2s infinite; }
@keyframes lol-wg-pulse { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .lol-wg-cd.soon::before { animation: none; } }
.lol-wg-t { font-weight: 800; font-size: 14px; margin: 3px 0 6px; line-height: 1.2; color: var(--wg-ink); overflow-wrap: anywhere; }
.lol-wg-feeds { font-size: 10.5px; color: #d06bff; margin: -2px 0 6px; }
.lol-wg-pay { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 6px; }
.lol-wg-pay big { font-family: var(--wg-disp); font-size: 28px; line-height: 1; color: var(--wg-gold); letter-spacing: 0.02em; font-weight: 400; }
.lol-wg-pay-words big { font-size: 22px; overflow-wrap: anywhere; }
.lol-wg-pay span { font-size: 11px; color: var(--wg-muted); }
.lol-wg-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 11px; color: var(--wg-muted); margin: 6px 0 8px; font-variant-numeric: tabular-nums; min-height: 15px; }
.lol-wg-ov { font-size: 10px; font-weight: 800; background: var(--wg-green); color: #03210f; border-radius: 999px; padding: 1px 7px; }
.lol-wg-seats { display: flex; flex-wrap: wrap; gap: 3px; margin: 6px 0 0; }
.lol-wg-seats i { width: 13px; height: 13px; border-radius: 50%; display: block; border: 2px dashed rgba(255, 138, 0, 0.6); }
.lol-wg-seats i.on { background: #ff8a00; border: 0; }
.lol-wg-foot { display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.lol-wg-in { font-size: 11px; font-weight: 700; color: var(--wg-green); }
.lol-wg-btn {
	font-size: 11.5px; font-weight: 800; background: var(--c) !important; color: #0b0b14 !important;
	border-radius: 7px; padding: 5px 11px; white-space: nowrap; border: 1px solid transparent;
}
.lol-wg-btn.ghost { background: transparent !important; color: var(--wg-ink) !important; border-color: rgba(255, 255, 255, 0.2); }
.lol-wg-btn:hover { filter: brightness(1.1); }

/* Recent Winners rows */
.lol-wg-box { background: var(--wg-card) !important; border: 1px solid var(--wg-line); border-radius: 10px; padding: 4px 6px; }
.lol-wg-win { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 8px 4px; border-bottom: 1px solid var(--wg-line); }
.lol-wg-win:last-child { border-bottom: 0; }
.lol-wg-win.lol-wg-big { background: linear-gradient(90deg, rgba(255, 210, 63, 0.16), transparent); border-radius: 8px; }
.lol-wg-av {
	position: relative; width: 32px; height: 32px; border-radius: 50%; overflow: hidden;
	display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #0b0b14; background: var(--c);
}
.lol-wg-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; margin: 0 !important; max-width: none; }
.lol-wg-who { min-width: 0; }
.lol-wg-nm { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--wg-ink); }
.lol-wg-big .lol-wg-nm::after { content: " 🏆"; }
.lol-wg-streak { font-size: 9.5px; font-weight: 800; color: #ff8a00; background: rgba(255, 138, 0, 0.14); border-radius: 999px; padding: 0 5px; margin-right: 4px; vertical-align: 1px; }
.lol-wg-ctx { font-size: 10.5px; color: var(--wg-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lol-wg-amt { text-align: right; font-family: var(--wg-disp); font-size: 20px; line-height: 1; color: var(--wg-gold); }
.lol-wg-amt.lol-wg-words { font-family: inherit; font-size: 11px; font-weight: 800; max-width: 80px; line-height: 1.2; overflow-wrap: anywhere; }
.lol-wg-amt small { display: block; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; font-size: 9.5px; font-weight: 700; margin-top: 2px; }
.lol-wg-amt small a { color: var(--wg-green) !important; }
.lol-wg-amt small a:hover { text-decoration: underline; }
