/* LOL Raffle v4: live stats, overlay badge, fairness line and verify page. */
.sr-live-stats { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 10px 0; }
.sr-live-stats:empty { display: none; }
.sr-stat { display: flex; flex-direction: column; min-width: 70px; padding: 6px 10px; border-radius: 6px; background: rgba(127, 127, 127, 0.12); }
.sr-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.sr-stat-value { font-size: 17px; font-weight: 700; }
/* Overlay "i": tooltip on hover, keyboard focus or tap (focus). */
.sr-overlay-badge:has(.lol-info) { position: relative; }
.lol-info { position: static; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; margin-left: 6px; border-radius: 50%; background: rgba(255,255,255,.9); color: #0b5b2e; font: italic 700 11px/1 Georgia, serif; cursor: help; vertical-align: middle; outline: none; }
.lol-info::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: 240px; max-width: 80vw; padding: 9px 11px; border-radius: 8px; background: #0f1724; color: #e6edf7; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 6px 18px rgba(0,0,0,.5); font: normal 400 12.5px/1.45 Roboto, Arial, sans-serif; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; opacity: 0; visibility: hidden; transition: opacity .15s; z-index: 50; pointer-events: none; }
.lol-info:hover::after, .lol-info:focus::after { opacity: 1; visibility: visible; }
.sr-overlay-badge { padding: 4px 10px; border-radius: 999px; background: #1f9d55; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; }
.sr-fairness-line { margin: 6px 0; font-size: 12px; opacity: 0.85; }
#lol-verify-app { max-width: 760px; margin: 0 auto; }
#lol-verify-app code { display: block; overflow-wrap: anywhere; word-break: break-all; padding: 6px 8px; background: rgba(127, 127, 127, 0.12); border-radius: 4px; }
.lol-verify-ok { color: #1f9d55; font-weight: 600; }
.lol-verify-bad { color: #c0392b; font-weight: 600; }
.lol-verify-checks { list-style: none; padding-left: 0; }

/* One solid panel so the v4 numbers stay readable on any custom card background. */
.sr-v4-panel { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: rgba(12, 14, 26, 0.88); color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35); text-shadow: none; }
.sr-v4-panel.sr-card-v4:not(:has(.sr-stat, .sr-overlay-badge, .sr-fairness-line, .lol-lobby)) { display: none; }
.sr-v4-panel .sr-live-stats { margin: 0; }
.sr-v4-panel .sr-stat { background: rgba(255, 255, 255, 0.1); }
.sr-v4-panel .sr-stat-label { opacity: 0.8; }
.sr-v4-panel .sr-fairness-line { margin: 8px 0 0; opacity: 1; }
.sr-v4-panel a, .sr-v4-panel a:visited { color: #7fdcff; }

/* Player stats + leaderboard (v4.1) */
.lol-stats-title, .lol-board h3 { margin: 0 0 6px; color: #fff; font-size: 18px; }
.lol-stats-unit { margin: 0 0 8px; font-size: 12px; opacity: 0.75; }
.lol-stats-empty { margin: 8px 0 0; opacity: 0.85; }
.lol-stats-history { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 14px; color: #fff; }
.lol-stats-history th, .lol-stats-history td { padding: 6px 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); text-align: left; background: transparent; color: inherit; }
.lol-stats-history th { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; opacity: 0.75; }
.lol-leaderboard { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.lol-board-list { margin: 0; padding-left: 22px; color: #fff; }
.lol-board-list li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.lol-board-value { font-weight: 700; color: #ffd700; }

/* Verify page (v4.1) */
.lol-verify-lead { font-size: 1.1em; }
.lol-verify-promise { font-weight: 600; }
.lol-verify-steps li { margin-bottom: 6px; }
.lol-verify-blocklink { display: inline-block; margin-top: 6px; font-weight: 600; }
.lol-verify-details { margin-top: 16px; padding: 10px 12px; border-radius: 8px; background: rgba(127, 127, 127, 0.08); }
.lol-verify-details summary { cursor: pointer; font-weight: 600; }

/* Main Event / satellite banners and Hall of Fame (v4.2) */
.lol-banner { margin: 8px 0; padding: 6px 12px; border-radius: 8px; font-weight: 700; font-size: 13px; letter-spacing: 0.03em; color: #fff; text-align: center; }
.lol-banner-main { background: linear-gradient(90deg, #b8860b, #ffd700, #b8860b); color: #1a1200; box-shadow: 0 0 12px rgba(255, 215, 0, 0.5); }
.lol-banner-satellite { background: rgba(20, 90, 160, 0.9); }
.lol-hof h3 { margin: 0 0 8px; color: #fff; }
.lol-hof-list { margin: 0; padding-left: 22px; color: #fff; }
.lol-hof-list li { padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.lol-hof-list li > span { display: block; }
.lol-hof-name { font-weight: 700; }
.lol-hof-prize { color: #ffd700; }
.lol-hof-meta { font-size: 12px; opacity: 0.8; }
.lol-hof-compact .lol-hof-list li { padding: 3px 0; font-size: 13px; }

/* Poker-lobby stats block (pool-payout raffles), mockup B. Works on v4 and classic cards. */
.sr-live-stats.lol-lobby-on, .lol-card .sr-live-stats.lol-lobby-on { display: block !important; }
.lol-lobby { color: #fff; font-size: 13px; }
.lol-lobby-hero { display: flex; justify-content: space-between; align-items: flex-end; margin: 2px 0 10px; }
.lol-lobby-lab, .lol-lobby-h { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.lol-lobby-big { font-size: 28px; font-weight: 800; line-height: 1; }
.lol-lobby-gtd { font-size: 11px; font-weight: 700; background: #f5b301; color: #1a1200; border-radius: 20px; padding: 3px 9px; }
.lol-lobby-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
/* Sit & Go seats: three tiles, then the dots and a bright "N seats left" line. */
.lol-lobby-tiles.is-3 { grid-template-columns: repeat(3, 1fr); }
.lol-lobby-seats { flex-basis: 100%; width: 100%; text-align: center; margin: 10px 0 2px; color: #fff; }
.lol-lobby-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.lol-lobby-dots i { width: 16px; height: 16px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.35); display: block; }
.lol-lobby-dots i.on { background: #ff8a00; border-color: #ffb45a; box-shadow: 0 0 6px rgba(255,138,0,.6); }
.lol-lobby-seatnote { font-size: 14px; font-weight: 700; color: #ffd166; margin-top: 6px; }
.lol-lobby-seats.is-full .lol-lobby-seatnote { color: #2ee59d; }
.lol-lobby-tile { background: rgba(255,255,255,.08); border-radius: 8px; padding: 7px 4px; text-align: center; }
.lol-lobby-tile small { display: block; font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
.lol-lobby-tile b { display: block; font-size: 17px; }
.lol-lobby-bar { height: 8px; border-radius: 6px; background: rgba(255,255,255,.12); overflow: hidden; margin: 10px 0 4px; }
.lol-lobby-bar i { display: block; height: 100%; background: linear-gradient(90deg, #20c997, #f5b301); }
.lol-lobby-bar.is-smashed i { background: linear-gradient(90deg, #f5b301, #ff8a00); box-shadow: 0 0 10px rgba(245,179,1,.7); }
.lol-lobby-barl { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; opacity: .9; }
.lol-lobby-overlay { color: #2ee59d; font-weight: 700; }
.lol-lobby-smashed { color: #ffd166; font-weight: 700; }
.lol-lobby-ladder { background: rgba(0,0,0,.25); border-radius: 8px; padding: 6px 10px; margin-top: 10px; }
.lol-lobby-h { margin-bottom: 3px; }
.lol-lobby-rung { display: flex; justify-content: space-between; font-size: 12.5px; padding: 3px 0; border-bottom: 1px dashed rgba(255,255,255,.1); }
.lol-lobby-rung:last-child { border: 0; }
.lol-lobby-rungs.is-all { max-height: 220px; overflow-y: auto; }
.lol-lobby-more { background: none !important; border: 0 !important; color: #6fb7ff !important; font-size: 11.5px !important; padding: 4px 0 0 !important; cursor: pointer; box-shadow: none !important; }
.lol-lobby-teaser { font-size: 11.5px; margin-top: 8px; color: #ffd166; }
.lol-lobby-you { background: rgba(46,229,157,.12); border-radius: 8px; padding: 7px 9px; font-size: 12px; margin-top: 10px; }
