/* Live Sources (preview 2026-11-14) - Blind Squirrel Florence - Control Point by Tri-State AV (Westfield master look) */
.lv-wrap{padding:2px 0 10px;max-width:1500px;margin:0 auto}
.lv-head{display:flex;align-items:center;gap:12px;margin:2px 2px 12px;min-width:0}
.lv-note{color:var(--mut);font:600 13px var(--bd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-livepill{display:inline-flex;align-items:center;gap:6px;font:400 13px var(--hd);letter-spacing:.12em;color:#fff;background:#d32f2f;border-radius:99px;padding:4px 10px 3px;flex:0 0 auto}
.lv-livepill i{width:7px;height:7px;border-radius:50%;background:#fff;animation:lvpulse 1.6s ease-in-out infinite}
@keyframes lvpulse{50%{opacity:.25}}
.lv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.lv-tile{all:unset;box-sizing:border-box;display:flex;flex-direction:column;min-width:0;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;cursor:pointer;
  box-shadow:inset 0 3px 0 var(--sc);transition:transform .12s ease,border-color .15s}
.lv-tile.press,.lv-tile:active{transform:scale(.975);border-color:var(--sc)}
@media (hover:hover){.lv-tile:hover{border-color:var(--sc)}}
.lv-pic{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
.lv-pic>img,.lv-stage>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;opacity:0;transition:opacity .35s ease}
.lv-pic>img.on,.lv-stage>img.lv-poster,.lv-stage>img.on{opacity:1}
.lv-tile .lv-pic{margin-top:3px}
.lv-nosig::after{content:"No signal";position:absolute;inset:0;display:grid;place-items:center;color:#aaa;font:600 13px var(--bd);background:rgba(0,0,0,.6)}
.lv-badge{position:absolute;left:8px;top:8px;background:var(--sc);color:#fff;border-radius:7px;padding:3px 8px 2px;font:400 15px var(--hd);letter-spacing:.06em;box-shadow:0 1px 4px rgba(0,0,0,.45);line-height:1.15}
.lv-badge b{font-weight:400}
.lv-chlogo{position:absolute;right:7px;bottom:7px;height:28px;max-width:44%;padding:3px 6px;border-radius:6px;background:rgba(255,255,255,.92);display:flex;align-items:center;box-shadow:0 1px 4px rgba(0,0,0,.4)}
.lv-chlogo img{height:100%;width:auto;max-width:100%;object-fit:contain}
.lv-dot{position:absolute;right:9px;top:10px;width:8px;height:8px;border-radius:50%;background:#e53935;box-shadow:0 0 0 2px rgba(0,0,0,.35);animation:lvpulse 1.6s ease-in-out infinite}
.lv-info{padding:8px 10px 9px;display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.lv-title{font:700 14px/1.25 var(--bd);color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-sub{display:flex;gap:8px;align-items:center;justify-content:space-between;min-width:0;color:var(--mut);font:600 12px var(--bd)}
.lv-sub>span:first-child{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.lv-on{flex:0 0 auto;background:var(--card2);border:1px solid var(--line);border-radius:99px;padding:1px 7px;font-size:11px}
.lv-prog{height:3px;border-radius:2px;background:var(--line);overflow:hidden;margin-top:2px}
.lv-prog i{display:block;height:100%;background:var(--sc,var(--g));border-radius:2px}
.lv-game{display:flex;align-items:center;gap:10px;min-width:0;font:700 14px var(--bd);color:var(--tx)}
.lv-tm{display:inline-flex;align-items:center;gap:4px;min-width:0}
.lv-tile .lv-game{gap:8px}.lv-tile .lv-tm{flex:0 1 auto}.lv-tile .lv-tm b{overflow:hidden;text-overflow:ellipsis}
.lv-tm img{width:18px;height:18px;object-fit:contain}
.lv-tm b{font-weight:700;white-space:nowrap}.lv-tm i{font-style:normal;font-weight:800;font-variant-numeric:tabular-nums}
.lv-clock{margin-left:auto;color:var(--mut);font:700 11px var(--bd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.lv-clock.live,.lv-sclock.live{color:#e53935}
.lv-tile .lv-game .lv-clock{display:none}
.lv-sclock{display:block;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:0 0 auto;font:700 11px var(--bd);color:var(--mut);white-space:nowrap}
/* open source */
#lv-pop{position:fixed;inset:0;z-index:60;display:flex;align-items:center;justify-content:center;padding:max(14px,env(safe-area-inset-top)) 14px 14px;
  background:rgba(0,0,0,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);opacity:0;transition:opacity .18s ease}
#lv-pop.in{opacity:1}
.lv-card{width:min(860px,100%,calc((100vh - 200px) * 16 / 9));min-width:min(560px,100%);background:var(--card);border:1px solid var(--line);border-radius:18px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5);
  transform:translateY(10px) scale(.98);transition:transform .2s ease}
#lv-pop.in .lv-card{transform:none}
.lv-stage{position:relative;aspect-ratio:16/9;background:#000;border-bottom:3px solid var(--sc)}
.lv-stage .lv-badge{font-size:18px;left:12px;top:12px}
.lv-livepill.sm{position:absolute;left:12px;bottom:12px;font-size:12px;padding:3px 9px 2px}
.lv-x{all:unset;position:absolute;right:10px;top:10px;width:38px;height:38px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;display:grid;place-items:center;font-size:17px;cursor:pointer}
.lv-nav{all:unset;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:64px;display:grid;place-items:center;color:#fff;font-size:34px;background:rgba(0,0,0,.35);cursor:pointer;opacity:.8}
.lv-nav.l{left:0;border-radius:0 10px 10px 0}.lv-nav.r{right:0;border-radius:10px 0 0 10px}
.lv-x:active,.lv-nav:active{background:rgba(0,0,0,.75)}
.lv-pmeta{padding:12px 16px 14px;display:flex;flex-direction:column;gap:9px}
.lv-prow{display:flex;align-items:center;gap:12px;min-width:0}
.lv-plogo{flex:0 0 auto;height:44px;width:72px;border-radius:9px;background:#fff;display:flex;align-items:center;justify-content:center;padding:5px;border:1px solid var(--line)}
.lv-plogo img{max-height:100%;max-width:100%;object-fit:contain}
.lv-plogo.txt{color:#fff;font:400 22px var(--hd);border:0}
.lv-ptxt{min-width:0;flex:1}
.lv-ptitle{font:800 18px/1.2 var(--bd);color:var(--tx);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lv-psub{color:var(--mut);font:600 13px var(--bd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.lv-game.big{flex:0 0 auto;gap:12px;font-size:17px;background:var(--card2);border-radius:10px;padding:7px 12px}
.lv-game.big .lv-tm img{width:26px;height:26px}.lv-game.big .lv-tm i{font-size:20px}
.lv-game.big .lv-clock{font-size:12px;margin-left:4px}
.lv-ptime{display:flex;align-items:center;gap:10px;color:var(--mut);font:700 12px var(--bd);font-variant-numeric:tabular-nums}
.lv-ptime .lv-prog{flex:1;height:5px;margin:0}
.lv-pon{color:var(--mut);font:600 12px var(--bd);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* DirecTV page thumbnail */
.np.lv-hasthumb::after{content:"";display:block;clear:both}
.lv-thumb{all:unset;box-sizing:border-box;float:right;width:min(44%,220px);margin:0 0 6px 12px;border-radius:10px;overflow:hidden;cursor:pointer;border:2px solid var(--sc);background:#000}
.lv-thumb .lv-exp{position:absolute;right:6px;bottom:5px;color:#fff;font-size:15px;text-shadow:0 1px 3px #000}
.lv-thumb.press{transform:scale(.97)}
/* TV map pop-up (Westfield master design) */
#lv-mp{position:fixed;z-index:45;width:300px;background:var(--card);border:1px solid var(--line);border-radius:14px;overflow:hidden;
  box-shadow:0 12px 34px rgba(0,0,0,.38);border-top:3px solid var(--sc);pointer-events:none;opacity:0;transform:translateY(6px) scale(.98);
  transition:opacity .18s ease,transform .18s ease}
#lv-mp.in{opacity:1;transform:none}
#lv-mp.gone{display:none}
#lv-mp .mp-vid{position:relative;aspect-ratio:16/9;background:#000;overflow:hidden}
#lv-mp .mp-vid>img{position:absolute;inset:0;width:100%;height:100%;object-fit:fill}
#lv-mp .mp-motion{opacity:0;transition:opacity .25s ease}#lv-mp .mp-motion.on{opacity:1}
#lv-mp .mp-poster:not([src]){visibility:hidden}
#lv-mp .lv-badge{font-size:14px;left:7px;top:7px}
#lv-mp .mp-ch{position:absolute;right:7px;bottom:7px;height:24px;max-width:42%;padding:3px 6px;border-radius:6px;background:rgba(255,255,255,.92);display:flex;align-items:center;box-shadow:0 1px 4px rgba(0,0,0,.4)}
#lv-mp .mp-ch img{height:100%;width:auto;max-width:100%;object-fit:contain}
#lv-mp .lv-dot{right:auto;left:auto;top:auto;bottom:10px;left:10px}
#lv-mp .mp-info{padding:7px 10px 8px;display:flex;flex-direction:column;gap:3px;min-width:0}
#lv-mp .lv-game{gap:8px}#lv-mp .lv-game .lv-clock{display:none}#lv-mp .lv-tm{flex:0 0 auto}
#lv-mp .lv-sub{justify-content:space-between}
#lv-mp .mp-times{flex:0 0 auto;font-variant-numeric:tabular-nums}
#lv-mp .mp-bar{position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--line)}
#lv-mp .mp-bar i{display:block;height:100%;background:var(--sc)}
#lv-mp .mp-x{all:unset;pointer-events:auto;position:absolute;right:6px;top:6px;width:30px;height:30px;border-radius:50%;background:rgba(0,0,0,.55);color:#fff;
  display:grid;place-items:center;font-size:14px;cursor:pointer}
#lv-mp .mp-x:active{background:rgba(0,0,0,.8)}
/* phones: slim sheet above the tabs */
#lv-mp.sheet{display:flex;align-items:stretch;border-radius:12px}
#lv-mp.sheet .mp-vid{flex:0 0 42%;aspect-ratio:16/9}
#lv-mp.sheet .mp-info{flex:1;justify-content:center;padding:6px 40px 8px 10px}
#lv-mp.sheet .lv-badge{font-size:12px;left:5px;top:5px;padding:2px 6px 1px}
#lv-mp.sheet .mp-ch{height:18px;right:4px;bottom:4px;padding:2px 4px}
#lv-mp.sheet .lv-dot{bottom:7px;left:7px;width:6px;height:6px}
#lv-mp.sheet .mp-x{top:50%;transform:translateY(-50%);right:6px}
#lv-mp.sheet.gone{display:none}
#lv-mp .mp-vid>img{opacity:0;transition:opacity .35s ease}#lv-mp .mp-vid>img.on{opacity:1}
#lv-mp .mp-vid>img:not([src]){visibility:hidden}
#lv-mp.nopic .mp-vid{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#151515 0 10px,#1b1b1b 10px 20px)}
#lv-mp.nopic .lv-dot,#lv-mp.nopic .mp-ch{display:none}
#lv-mp .mp-off{position:relative;z-index:1;font-size:11.5px}
#lv-mp.sheet .mp-off{font-size:10px;gap:3px}#lv-mp.sheet .mp-off svg{width:18px;height:18px}
html[data-theme="light"] #lv-mp.nopic .mp-vid{background:repeating-linear-gradient(135deg,#e9eae6 0 10px,#e2e3df 10px 20px)}
#lv-mp.sheet .mp-info .lv-game{font-size:13px;gap:7px}#lv-mp.sheet .lv-tm img{width:16px;height:16px}
/* preview marker (preview server only) */
html.lp-preview header::after{content:"PREVIEW · CONTROLS ARE OFF";position:absolute;right:16px;bottom:-8px;z-index:6;font:800 9.5px var(--bd);letter-spacing:.12em;color:#fff;background:var(--o);border-radius:99px;padding:2px 9px;pointer-events:none;box-shadow:0 1px 3px rgba(0,0,0,.25)}
html.lp-preview header{position:relative}
@media (max-width:700px){
  .lv-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .lv-note{font-size:12px}
  .lv-badge{font-size:13px;left:6px;top:6px;padding:2px 6px 1px}
  .lv-chlogo{height:22px;right:5px;bottom:5px}
  .lv-info{padding:6px 8px 7px}.lv-title,.lv-game{font-size:13px}.lv-game{gap:7px}.lv-tm img{width:15px;height:15px}
  .lv-sub{font-size:11px}.lv-on{display:none}
  .lv-tm b{overflow:hidden;text-overflow:ellipsis}.lv-tm{flex:0 1 auto}
  #lv-pop{align-items:flex-end;padding:0}
  .lv-card{width:100%;min-width:0;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom)}
  .lv-prow{flex-wrap:wrap}.lv-game.big{width:100%;justify-content:flex-start}.lv-game.big .lv-clock{margin-left:auto}
  .lv-nav{width:34px;height:52px;font-size:28px}
}
@media (min-width:1100px){.lv-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
/* narrow tiles (short laptop screens): keep team abbreviations whole */
.lv-tile{container-type:inline-size}
.lv-tile .lv-tm b{overflow:visible;text-overflow:clip}.lv-tile .lv-tm{flex:0 0 auto}
@container (max-width:175px){
  .lv-info{padding:6px 8px 7px}.lv-game{font-size:11.5px;gap:4px !important}.lv-tm{gap:2px}.lv-tm img{width:14px;height:14px}
  .lv-title{font-size:12.5px}.lv-sub{font-size:11px}.lv-on{display:none}
  .lv-badge{font-size:13px;left:6px;top:6px;padding:2px 6px 1px}.lv-chlogo{height:22px;right:5px;bottom:5px}
}
/* BSF: sources whose transmitter has no picture (Image Pull off / no signal) */
.lv-off{display:grid;place-items:center;background:repeating-linear-gradient(135deg,#151515 0 10px,#1b1b1b 10px 20px)}
.lv-offmsg{display:flex;flex-direction:column;align-items:center;gap:6px;color:#b5b5b5;font:700 12px/1.3 var(--bd);text-align:center;padding:0 14px;max-width:90%}
.lv-offmsg svg{width:26px;height:26px;fill:none;stroke:#8a8a8a;stroke-width:1.6;stroke-linecap:round}
.lv-offmsg.big{font-size:15px}.lv-offmsg.big svg{width:40px;height:40px}
.lv-tile.nopic .lv-pic{margin-top:3px}
.lv-stage.lv-off{display:grid;place-items:center}
.lv-thumb .lv-off .lv-offmsg{font-size:11px}
html[data-theme="light"] .lv-pic.lv-off,html[data-theme="light"] .lv-stage.lv-off{background:repeating-linear-gradient(135deg,#e9eae6 0 10px,#e2e3df 10px 20px)}
html[data-theme="light"] .lv-offmsg{color:#5f625c}html[data-theme="light"] .lv-offmsg svg{stroke:#8a8d86}
