/* Interblod – stran "Aktivne igre" (gledanje iger v živo): seznam + pojavna okna. Svetla front tema. */

.front-livegames .front-kicker .front-live-dot { vertical-align: middle; margin-right: 6px; }

/* ---- seznam ---- */
.lg-wrap { margin: 22px 0 8px; min-height: 80px; }
.lg-loading { text-align: center; color: #6b7488; padding: 28px 0; font-size: 15px; }
.lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.lg-card { display: flex; flex-direction: column; gap: 9px; padding: 15px; border-radius: 16px; background: #fff; border: 1px solid #e9e7f3; box-shadow: 0 6px 20px rgba(40,20,80,.06); transition: transform .14s, box-shadow .14s; }
.lg-card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(40,20,80,.12); }
.lg-card-top { display: flex; align-items: center; gap: 9px; }
.lg-ico { font-size: 24px; line-height: 1; }
.lg-name { flex: 1 1 auto; font-weight: 800; font-size: 15.5px; color: #271b46; }
.lg-dur { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: #5a3ec0; background: rgba(123,92,255,.10); border-radius: 999px; padding: 3px 9px; white-space: nowrap; }
.lg-watch-count { flex: 0 0 auto; font-size: 11px; font-weight: 700; color: #b06a00; background: rgba(240,160,32,.14); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.lg-who { font-size: 13.5px; color: #5b6478; }
.lg-who .lg-vs { color: #a3a0b8; font-style: italic; margin: 0 3px; }
.lg-watch { margin-top: 2px; border: 0; cursor: pointer; border-radius: 11px; padding: 9px 12px; font-size: 13.5px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7b5cff, #c44dff); box-shadow: 0 4px 12px rgba(123,92,255,.32); transition: filter .14s; }
.lg-watch:hover { filter: brightness(1.07); }
.lg-empty { text-align: center; padding: 30px 16px; color: #6b7488; background: #faf9ff; border: 1px dashed #ddd8ee; border-radius: 16px; }
.lg-empty-ico { font-size: 38px; display: block; margin-bottom: 8px; }
.lg-empty p { margin: 4px 0; }
.lg-empty-sub { font-size: 13.5px; }
.lg-empty a, .front-livegames-how a { color: #7b3ec0; font-weight: 700; }

.front-livegames-how { margin-top: 26px; }

/* ---- pojavna okna (gledanje, več hkrati) ---- */
.lg-popups { position: fixed; inset: 0; pointer-events: none; z-index: 4000; }
.lg-popup { position: absolute; width: min(360px, 94vw); background: #fff; border-radius: 16px; box-shadow: 0 18px 50px rgba(20,10,50,.34); border: 1px solid #e6e2f2; pointer-events: auto; overflow: hidden; }
.lg-pop-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; cursor: move; background: linear-gradient(135deg, #2a2350, #3a2d6e); color: #fff; user-select: none; }
.lg-pop-title { flex: 1 1 auto; font-weight: 800; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-pop-dur { flex: 0 0 auto; font-size: 11.5px; font-weight: 700; color: #ffd2e6; }
.lg-pop-x { flex: 0 0 auto; cursor: pointer; width: 22px; height: 22px; line-height: 22px; text-align: center; border-radius: 7px; background: rgba(255,255,255,.14); font-size: 12px; }
.lg-pop-x:hover { background: rgba(255,255,255,.28); }
.lg-pop-body { padding: 12px; max-height: 76vh; overflow: auto; background: #fbfaff; }
.lg-pop-pair { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.lg-pop-turn { font-size: 13px; font-weight: 700; color: #4a3a86; }
.lg-pop-turn.lg-pop-win { color: #c2185b; font-weight: 800; }
.lg-pop-board { width: 100%; display: flex; justify-content: center; }
.lg-pop-host { width: 100%; }
.lg-pop-empty { text-align: center; color: #8a93a6; padding: 22px 8px; font-size: 13.5px; }
.lg-pop-watch { font-size: 12px; font-weight: 700; color: #b06a00; }
.lg-sides { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 8px; font-size: 12.5px; color: #5b6478; margin-bottom: 4px; }
.lg-side { display: inline-flex; align-items: center; gap: 5px; }
.lg-side b { font-weight: 800; color: #271b46; }
.lg-side-dot { width: 12px; height: 12px; border-radius: 50%; flex: 0 0 auto; box-shadow: 0 1px 2px rgba(40,20,80,.25); }
.lg-side-sep { color: #b3b0c4; }

@media (max-width: 640px) {
	.lg-popup { width: 94vw; left: 3vw !important; }
	.lg-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.lg-card { padding: 12px; }
}
