/* =========================================================
   POINT3BDAE LIVE PLAYER — Configurable Professional Edition
   ========================================================= */
.lm-liveRoot{
  --lm-green-950:#052f1d;
  --lm-green-900:#064526;
  --lm-green-800:#086638;
  --lm-green-700:#0b7b43;
  --lm-green-600:#109553;
  --lm-green-500:#1eb66a;
  --lm-green-300:#8ee0b1;
  --lm-green-100:#dff7e9;
  --lm-green-50:#f1fbf5;
  --lm-white:#fff;
  --lm-ink:#102019;
  --lm-muted:#6e7d75;
  --lm-line:#dce9e1;
  --lm-soft:#f6faf7;
  --lm-danger:#c53b3b;
  --lm-shadow:0 24px 70px rgba(5,67,37,.13);
  --lm-shadow-sm:0 12px 34px rgba(5,67,37,.09);
  --lm-radius-xl:28px;
  --lm-radius-lg:22px;
  --lm-radius-md:16px;
  --lm-font:inherit;

  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:var(--lm-ink);
  font-family:var(--lm-font);
  padding:18px;
  border:1px solid rgba(11,123,67,.12);
  border-radius:30px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(241,251,245,.96)),
    var(--lm-green-50);
  box-shadow:var(--lm-shadow);
}
.lm-liveRoot *{box-sizing:border-box}
.lm-liveRoot button,.lm-liveRoot input{font:inherit}
.lm-liveRoot button{-webkit-tap-highlight-color:transparent}
.lm-liveRoot button:focus-visible,.lm-liveRoot input:focus-visible{
  outline:3px solid rgba(30,182,106,.22);
  outline-offset:2px;
}
.lm-ambient{position:absolute;z-index:-1;border-radius:999px;filter:blur(2px);pointer-events:none}
.lm-ambientOne{width:360px;height:360px;top:-170px;right:-120px;background:radial-gradient(circle,rgba(30,182,106,.18),transparent 70%)}
.lm-ambientTwo{width:420px;height:420px;bottom:-250px;left:-180px;background:radial-gradient(circle,rgba(11,123,67,.13),transparent 70%)}

/* Header */
.lm-topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:78px;
  padding:13px 15px;
  border:1px solid rgba(11,123,67,.13);
  border-radius:var(--lm-radius-lg);
  background:rgba(255,255,255,.88);
  box-shadow:var(--lm-shadow-sm);
  backdrop-filter:blur(15px);
}
.lm-brand{display:flex;align-items:center;gap:12px;color:inherit;text-decoration:none;min-width:0}
.lm-brandMark{
  width:50px;height:50px;display:grid;place-items:center;flex:0 0 auto;
  color:#fff;border-radius:18px;
  background:linear-gradient(145deg,var(--lm-green-500),var(--lm-green-900));
  box-shadow:0 13px 28px rgba(8,102,56,.24),inset 0 1px 0 rgba(255,255,255,.26);
}
.lm-brandCopy{display:grid;gap:3px;min-width:0}
.lm-brandCopy strong{font-size:17px;font-weight:900;letter-spacing:-.2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-brandCopy small{color:var(--lm-muted);font-size:12px}
.lm-topActions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}
.lm-topButton,.lm-iconButton,.lm-controlButton,.lm-overlayButton,.lm-textButton{
  appearance:none;border:0;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}
.lm-topButton{
  min-height:42px;padding:9px 14px;display:flex;align-items:center;gap:8px;
  color:var(--lm-green-900);font-weight:850;border:1px solid var(--lm-line);border-radius:14px;background:#fff;
}
.lm-topButton:hover{transform:translateY(-1px);border-color:var(--lm-green-300);box-shadow:0 10px 22px rgba(8,102,56,.09)}
.lm-liveBadge{
  min-height:42px;padding:9px 13px;display:flex;align-items:center;gap:8px;
  color:var(--lm-green-900);font-size:12px;font-weight:900;border:1px solid #c9ecd8;border-radius:14px;background:var(--lm-green-50);
}
.lm-liveDot{width:9px;height:9px;border-radius:50%;background:var(--lm-green-500);box-shadow:0 0 0 6px rgba(30,182,106,.14);animation:lmPulse 1.9s infinite}
.lm-liveBadge.is-error{color:var(--lm-danger);border-color:#f0caca;background:#fff5f5}
.lm-liveBadge.is-error .lm-liveDot{background:var(--lm-danger);box-shadow:0 0 0 6px rgba(197,59,59,.12);animation:none}
.lm-version{padding:8px 10px;color:var(--lm-muted);font-size:11px;font-weight:800;border:1px dashed #cbded2;border-radius:12px;background:#fff}
@keyframes lmPulse{0%,100%{box-shadow:0 0 0 4px rgba(30,182,106,.12)}50%{box-shadow:0 0 0 8px rgba(30,182,106,.03)}}

/* Main layout */
.lm-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  direction:ltr;
  align-items:start;
  gap:16px;
  margin-top:16px;
}
.lm-playerCard,.lm-sideCard{direction:rtl}
.lm-playerCard{
  min-width:0;overflow:hidden;border:1px solid rgba(11,123,67,.15);border-radius:var(--lm-radius-xl);background:#fff;box-shadow:var(--lm-shadow);
}
.lm-playerHeader{
  display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px 15px;border-bottom:1px solid var(--lm-line);background:linear-gradient(180deg,#fff,#fbfefc);
}
.lm-currentChannel{display:flex;align-items:center;gap:10px;min-width:0}
.lm-currentIcon{width:40px;height:40px;display:grid;place-items:center;flex:0 0 auto;color:var(--lm-green-700);border-radius:14px;background:var(--lm-green-50);border:1px solid #d6f0e1}
.lm-currentText{display:grid;gap:1px;min-width:0}
.lm-currentText small{color:var(--lm-muted);font-size:11px;font-weight:700}
.lm-currentText strong{max-width:520px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:900}
.lm-sourceBadge{flex:0 0 auto;padding:5px 8px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.3px;border-radius:999px;background:var(--lm-green-700)}
.lm-quickActions{display:flex;align-items:center;gap:7px;flex:0 0 auto}
.lm-iconButton{
  width:40px;height:40px;display:grid;place-items:center;color:var(--lm-green-900);border:1px solid var(--lm-line);border-radius:14px;background:#fff;
}
.lm-iconButton:hover{transform:translateY(-1px);color:#fff;border-color:var(--lm-green-700);background:var(--lm-green-700);box-shadow:0 10px 22px rgba(8,102,56,.18)}

/* Stage */
.lm-stage{position:relative;isolation:isolate;aspect-ratio:16/9;overflow:hidden;background:#02160d}
.lm-stagePattern{position:absolute;inset:0;z-index:-1;background:radial-gradient(circle at 25% 25%,rgba(30,182,106,.3),transparent 42%),radial-gradient(circle at 75% 70%,rgba(142,224,177,.18),transparent 42%),linear-gradient(135deg,#031d11,#06170f 55%,#020c07)}
.lm-mediaMount,.lm-mediaMount iframe,.lm-mediaMount video,.lm-youtubeMount{position:absolute;inset:0;width:100%;height:100%;border:0}
.lm-mediaMount video{display:block;object-fit:contain;background:#000}
.lm-mediaMount iframe{background:#000}
.lm-stageOverlay{
  position:absolute;inset:0;z-index:5;display:none;place-content:center;justify-items:center;text-align:center;padding:28px;color:#fff;background:rgba(1,20,11,.82);backdrop-filter:blur(7px);
}
.lm-stageOverlay.is-visible{display:grid}
.lm-stageOverlay strong{margin-top:14px;font-size:18px;font-weight:900}
.lm-stageOverlay span{max-width:460px;margin-top:6px;color:rgba(255,255,255,.72);font-size:13px;line-height:1.7}
.lm-loader{width:44px;height:44px;border:3px solid rgba(255,255,255,.2);border-top-color:#8ee0b1;border-radius:50%;animation:lmSpin .8s linear infinite}
@keyframes lmSpin{to{transform:rotate(360deg)}}
.lm-overlayIcon{width:58px;height:58px;display:grid;place-items:center;color:#fff;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:rgba(255,255,255,.08)}
.lm-overlayButton{margin-top:15px;padding:10px 18px;color:var(--lm-green-950);font-weight:900;border-radius:14px;background:#fff;box-shadow:0 12px 30px rgba(0,0,0,.2)}
.lm-overlayButton:hover{transform:translateY(-1px);background:var(--lm-green-100)}
.lm-topShade{position:absolute;inset:0 0 auto;height:80px;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,.25),transparent)}

/* Controls */
.lm-controls{padding:14px 15px 13px;border-top:1px solid var(--lm-line);background:#fff}
.lm-progressRow{display:grid;grid-template-columns:50px minmax(0,1fr) 50px;align-items:center;gap:10px}
.lm-time{color:var(--lm-muted);font-size:11px;font-weight:850;text-align:center;font-variant-numeric:tabular-nums}
.lm-range{appearance:none;-webkit-appearance:none;width:100%;height:7px;outline:0;border-radius:999px;background:linear-gradient(90deg,var(--lm-green-600) var(--lm-fill,0%),#e5eee8 var(--lm-fill,0%));box-shadow:inset 0 0 0 1px rgba(8,102,56,.06);cursor:pointer}
.lm-range::-webkit-slider-thumb{-webkit-appearance:none;width:17px;height:17px;border:3px solid #fff;border-radius:50%;background:var(--lm-green-600);box-shadow:0 3px 10px rgba(8,102,56,.28)}
.lm-range::-moz-range-thumb{width:12px;height:12px;border:3px solid #fff;border-radius:50%;background:var(--lm-green-600);box-shadow:0 3px 10px rgba(8,102,56,.28)}
.lm-range:disabled{opacity:.45;cursor:not-allowed}
.lm-controlBar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:13px}
.lm-controlGroup{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lm-controlButton{
  min-height:42px;padding:9px 12px;display:flex;align-items:center;justify-content:center;gap:7px;color:var(--lm-green-900);font-size:12px;font-weight:850;border:1px solid var(--lm-line);border-radius:14px;background:#fff;
}
.lm-controlButton:hover:not(:disabled){transform:translateY(-1px);border-color:var(--lm-green-300);background:var(--lm-green-50)}
.lm-controlButton:disabled{opacity:.42;cursor:not-allowed}
.lm-controlIcon{display:grid;place-items:center}
.lm-primaryButton{color:#fff;border-color:var(--lm-green-700);background:linear-gradient(135deg,var(--lm-green-500),var(--lm-green-800));box-shadow:0 10px 24px rgba(8,102,56,.2)}
.lm-primaryButton:hover:not(:disabled){color:#fff;border-color:var(--lm-green-900);background:linear-gradient(135deg,var(--lm-green-600),var(--lm-green-900))}
.lm-volumeBox{height:42px;min-width:164px;padding:8px 11px;display:flex;align-items:center;gap:8px;color:var(--lm-green-800);border:1px solid var(--lm-line);border-radius:14px;background:var(--lm-soft)}
.lm-volume{width:120px;height:6px;direction:ltr;writing-mode:horizontal-tb}
.lm-optionsWrap{position:relative}
.lm-optionsMenu{
  position:absolute;z-index:30;left:0;bottom:calc(100% + 10px);width:260px;padding:12px;border:1px solid var(--lm-line);border-radius:18px;background:#fff;box-shadow:0 20px 50px rgba(5,47,29,.18);
}
.lm-optionSection+.lm-optionSection{margin-top:12px;padding-top:12px;border-top:1px solid var(--lm-line)}
.lm-optionHeading{margin-bottom:8px;color:var(--lm-muted);font-size:11px;font-weight:850}
.lm-optionGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.lm-optionChoice{padding:8px 6px;color:var(--lm-green-900);font-size:11px;font-weight:850;border:1px solid var(--lm-line);border-radius:10px;background:#fff;cursor:pointer}
.lm-optionChoice:hover,.lm-optionChoice.is-active{color:#fff;border-color:var(--lm-green-700);background:var(--lm-green-700)}
.lm-statusLine{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:11px;padding-top:10px;color:var(--lm-muted);font-size:11px;border-top:1px dashed #dce9e1}
.lm-textButton{padding:0;color:var(--lm-green-700);font-weight:900;background:transparent;white-space:nowrap}
.lm-textButton:hover{color:var(--lm-green-950)}

/* Channel sidebar */
.lm-sideCard{
  position:sticky;top:12px;overflow:hidden;min-height:590px;border:1px solid rgba(11,123,67,.15);border-radius:var(--lm-radius-xl);background:#fff;box-shadow:var(--lm-shadow-sm);
}
.lm-sideTop{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 17px 12px;background:linear-gradient(145deg,var(--lm-green-950),var(--lm-green-700));color:#fff}
.lm-eyebrow{display:block;color:rgba(255,255,255,.64);font-size:10px;font-weight:800;letter-spacing:.4px}
.lm-sideTop h2{margin:3px 0 0;font-size:18px;font-weight:900}
.lm-channelCount{width:38px;height:38px;display:grid;place-items:center;font-size:13px;font-weight:900;border:1px solid rgba(255,255,255,.24);border-radius:13px;background:rgba(255,255,255,.1)}
.lm-searchBox{margin:13px 13px 10px;padding:0 12px;height:44px;display:flex;align-items:center;gap:9px;color:var(--lm-green-700);border:1px solid var(--lm-line);border-radius:14px;background:var(--lm-soft)}
.lm-searchBox:focus-within{border-color:var(--lm-green-300);box-shadow:0 0 0 4px rgba(30,182,106,.09)}
.lm-searchBox input{min-width:0;width:100%;height:100%;padding:0;color:var(--lm-ink);border:0;outline:0;background:transparent}
.lm-searchBox input::placeholder{color:#94a299}
.lm-categoryBar{display:flex;gap:6px;overflow:auto;padding:0 13px 10px;scrollbar-width:none}
.lm-categoryBar::-webkit-scrollbar{display:none}
.lm-categoryButton{flex:0 0 auto;padding:7px 10px;color:var(--lm-muted);font-size:10px;font-weight:850;border:1px solid var(--lm-line);border-radius:999px;background:#fff;cursor:pointer}
.lm-categoryButton:hover,.lm-categoryButton.is-active{color:#fff;border-color:var(--lm-green-700);background:var(--lm-green-700)}
.lm-channelList{display:grid;gap:8px;max-height:474px;overflow:auto;padding:0 10px 12px;scrollbar-width:thin;scrollbar-color:#bfdac9 transparent}
.lm-channelItem{
  width:100%;padding:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:right;color:inherit;border:1px solid transparent;border-radius:16px;background:#fff;cursor:pointer;transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.lm-channelItem:hover{transform:translateY(-1px);border-color:#d4eadf;background:var(--lm-green-50);box-shadow:0 8px 20px rgba(8,102,56,.07)}
.lm-channelItem.is-active{border-color:#b8e3cb;background:linear-gradient(135deg,#effbf4,#fff);box-shadow:inset 4px 0 0 var(--lm-green-600),0 8px 20px rgba(8,102,56,.08)}
.lm-channelMain{display:flex;align-items:center;gap:10px;min-width:0}
.lm-channelLogo{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;color:var(--lm-green-700);border:1px solid #d8efe2;border-radius:14px;background:var(--lm-green-50)}
.lm-channelCopy{display:grid;gap:3px;min-width:0}
.lm-channelCopy strong{font-size:12px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-channelCopy small{color:var(--lm-muted);font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-channelType{flex:0 0 auto;padding:5px 7px;color:var(--lm-green-800);font-size:9px;font-weight:900;border:1px solid #d1ebdc;border-radius:999px;background:#f3fbf6}
.lm-empty{padding:28px 15px;text-align:center;color:var(--lm-muted);font-size:12px}

/* Info and footer */
.lm-infoStrip{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:16px}
.lm-infoItem{display:flex;align-items:center;gap:11px;padding:13px 14px;border:1px solid var(--lm-line);border-radius:18px;background:rgba(255,255,255,.82)}
.lm-infoIcon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;color:var(--lm-green-700);border-radius:14px;background:var(--lm-green-50)}
.lm-infoItem>span:last-child{display:grid;gap:2px}
.lm-infoItem strong{font-size:12px;font-weight:900}
.lm-infoItem small{color:var(--lm-muted);font-size:10px}
.lm-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:14px 4px 2px;color:var(--lm-muted);font-size:11px}
.lm-footer a{color:var(--lm-green-700);font-weight:900;text-decoration:none}
.lm-footer a:hover{text-decoration:underline}

/* Bottom sheet */
.lm-sheet{position:fixed;inset:0;z-index:99999;display:none}
.lm-sheet.is-open{display:block}
.lm-sheetBackdrop{position:absolute;inset:0;width:100%;height:100%;border:0;background:rgba(0,25,13,.58);backdrop-filter:blur(4px)}
.lm-sheetPanel{position:absolute;left:0;right:0;bottom:0;max-height:84vh;overflow:auto;padding:10px 10px max(16px,env(safe-area-inset-bottom));border:1px solid rgba(255,255,255,.6);border-bottom:0;border-radius:26px 26px 0 0;background:#fff;box-shadow:0 -30px 80px rgba(0,35,18,.3)}
.lm-sheetHandle{width:58px;height:5px;margin:2px auto 13px;border-radius:999px;background:#d6e4dc}
.lm-sheetHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 4px 7px}
.lm-sheetHeader>div{display:grid;gap:2px}
.lm-sheetHeader small{color:var(--lm-muted);font-size:10px}
.lm-sheetHeader strong{font-size:16px;font-weight:900}
.lm-sheetSearch{margin:6px 0 10px}
.lm-sheetCategories{padding:0 0 10px}
.lm-sheetList{max-height:none;padding:0}

/* Theater and fullscreen */
.lm-liveRoot.is-theater .lm-layout{grid-template-columns:1fr}
.lm-liveRoot.is-theater .lm-sideCard{display:none}
.lm-playerCard:fullscreen{width:100%;height:100%;border:0;border-radius:0;background:#000}
.lm-playerCard:fullscreen .lm-stage{height:100vh;aspect-ratio:auto}
.lm-playerCard:fullscreen .lm-playerHeader,.lm-playerCard:fullscreen .lm-controls{position:absolute;left:14px;right:14px;z-index:20;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(2,31,17,.82);backdrop-filter:blur(16px);color:#fff}
.lm-playerCard:fullscreen .lm-playerHeader{top:14px}
.lm-playerCard:fullscreen .lm-controls{bottom:14px}
.lm-playerCard:fullscreen .lm-currentText small,.lm-playerCard:fullscreen .lm-statusLine,.lm-playerCard:fullscreen .lm-time{color:rgba(255,255,255,.68)}
.lm-playerCard:fullscreen .lm-currentIcon,.lm-playerCard:fullscreen .lm-iconButton,.lm-playerCard:fullscreen .lm-controlButton,.lm-playerCard:fullscreen .lm-volumeBox{color:#fff;border-color:rgba(255,255,255,.16);background:rgba(255,255,255,.08)}
.lm-playerCard:fullscreen .lm-primaryButton{background:linear-gradient(135deg,var(--lm-green-500),var(--lm-green-800))}
.lm-playerCard:fullscreen .lm-playerHeader,.lm-playerCard:fullscreen .lm-controls{opacity:0;transform:translateY(8px);transition:opacity .2s ease,transform .2s ease}
.lm-playerCard:fullscreen.lm-fs-ui .lm-playerHeader,.lm-playerCard:fullscreen.lm-fs-ui .lm-controls{opacity:1;transform:translateY(0)}

/* Responsive */
@media (max-width:1050px){
  .lm-layout{grid-template-columns:minmax(0,1fr) 300px}
  .lm-controlBar{align-items:flex-start}
  .lm-controlMain{max-width:58%}
}
@media (max-width:900px){
  .lm-layout{grid-template-columns:1fr}
  .lm-sideCard{display:none}
  .lm-infoStrip{grid-template-columns:1fr 1fr}
  .lm-infoItem:last-child{grid-column:1/-1}
  .lm-currentText strong{max-width:58vw}
}
@media (max-width:620px){
  .lm-liveRoot{padding:9px;border-radius:20px}
  .lm-topbar{padding:10px;min-height:auto;border-radius:18px;flex-wrap:wrap}
  .lm-brandMark{width:44px;height:44px;border-radius:15px}
  .lm-brandCopy strong{font-size:14px}
  .lm-brandCopy small{font-size:10px}
  .lm-topActions{width:100%;justify-content:space-between}
  .lm-topButton{flex:1}
  .lm-version{display:none}
  .lm-playerCard{border-radius:20px}
  .lm-playerHeader{align-items:flex-start;flex-wrap:wrap;padding:11px}
  .lm-currentChannel{width:100%}
  .lm-currentText strong{max-width:64vw}
  .lm-quickActions{width:100%;justify-content:flex-end}
  .lm-iconButton{width:38px;height:38px;border-radius:13px}
  .lm-controls{padding:11px}
  .lm-controlBar{flex-direction:column;align-items:stretch}
  .lm-controlGroup{width:100%}
  .lm-controlMain,.lm-controlTools{max-width:none}
  .lm-controlButton{flex:1 1 calc(50% - 4px)}
  .lm-volumeBox{order:3;width:100%}
  .lm-volume{width:100%}
  .lm-optionsWrap{flex:1 1 calc(50% - 4px)}
  .lm-optionsWrap>.lm-controlButton{width:100%}
  .lm-optionsMenu{right:0;left:auto;width:min(280px,calc(100vw - 38px))}
  .lm-statusLine{align-items:flex-start}
  .lm-infoStrip{grid-template-columns:1fr}
  .lm-infoItem:last-child{grid-column:auto}
  .lm-footer{align-items:flex-start;flex-direction:column;padding-inline:4px}
}
@media (max-width:420px){
  .lm-currentText strong{max-width:55vw}
  .lm-currentIcon{display:none}
  .lm-sourceBadge{margin-right:auto}
  .lm-controlButton span:not(.lm-controlIcon){font-size:11px}
  .lm-time{font-size:10px}
  .lm-progressRow{grid-template-columns:42px minmax(0,1fr) 42px;gap:6px}
}
@media (prefers-reduced-motion:reduce){
  .lm-liveRoot *{animation:none!important;scroll-behavior:auto!important;transition:none!important}
}

/* =========================================================
   POINT3BDAE LIVE PLAYER v4 — Enhancements
   ========================================================= */
.lm-themeButton{min-width:128px;justify-content:center}
.lm-favoriteCurrent{font-size:23px;line-height:1}
.lm-favoriteCurrent[aria-pressed="true"]{color:#fff;border-color:#d6a800;background:#e9b900;box-shadow:0 10px 22px rgba(201,155,0,.2)}
.lm-liveButton{color:#fff;border-color:var(--lm-green-700);background:var(--lm-green-700)}
.lm-liveButton.is-behind{color:#7d2200;border-color:#ffd5c4;background:#fff2ec;animation:lmLiveAttention 1.8s infinite}
.lm-liveMiniDot{width:8px;height:8px;border-radius:50%;background:currentColor;box-shadow:0 0 0 4px rgba(255,255,255,.16)}
@keyframes lmLiveAttention{50%{transform:translateY(-1px);box-shadow:0 8px 20px rgba(197,59,59,.12)}}
.lm-networkPill{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:5px 8px;border:1px solid #d6e8dc;border-radius:999px;color:var(--lm-green-800);background:var(--lm-green-50);white-space:nowrap}
.lm-networkPill.is-warning{color:#8a5900;border-color:#f0dca9;background:#fff9e9}
.lm-networkPill.is-error{color:var(--lm-danger);border-color:#f0caca;background:#fff5f5}
.lm-networkDot{width:7px;height:7px;border-radius:50%;background:currentColor}
.lm-programStrip{display:grid;grid-template-columns:1fr 1px 1fr;gap:15px;padding:13px 16px;border-top:1px solid var(--lm-line);background:linear-gradient(135deg,var(--lm-green-50),#fff)}
.lm-programStrip[hidden]{display:none}
.lm-programBlock{display:grid;gap:2px;min-width:0}
.lm-programBlock small{color:var(--lm-muted);font-size:10px;font-weight:800}
.lm-programBlock strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;font-weight:900}
.lm-programBlock span{color:var(--lm-green-700);font-size:10px;font-weight:800}
.lm-programDivider{background:var(--lm-line)}
.lm-toast{position:fixed;z-index:100000;right:22px;bottom:22px;max-width:min(360px,calc(100vw - 30px));padding:12px 15px;color:#fff;font-size:12px;font-weight:800;border-radius:14px;background:rgba(5,47,29,.94);box-shadow:0 18px 45px rgba(0,0,0,.2);opacity:0;pointer-events:none;transform:translateY(10px);transition:.22s ease}
.lm-toast.is-visible{opacity:1;transform:translateY(0)}
.lm-channelItem{padding:6px;cursor:default}
.lm-channelSelect{min-width:0;flex:1;padding:4px;display:flex;align-items:center;justify-content:space-between;gap:9px;text-align:right;color:inherit;border:0;background:transparent;cursor:pointer}
.lm-channelActions{display:flex;align-items:center;gap:5px;flex:0 0 auto}
.lm-channelFavorite{width:31px;height:31px;display:grid;place-items:center;color:#91a198;font-size:18px;border:0;border-radius:10px;background:transparent;cursor:pointer}
.lm-channelFavorite:hover,.lm-channelFavorite.is-active{color:#b88900;background:#fff7d6}
.lm-channelLogo img,.lm-currentIcon img{width:100%;height:100%;object-fit:cover;border-radius:inherit}
.lm-channelInitials{font-size:11px;font-weight:950;letter-spacing:-.4px}
.lm-audioVisual{position:absolute;inset:0;display:grid;place-content:center;justify-items:center;gap:14px;text-align:center;color:#fff;background:radial-gradient(circle at 30% 25%,rgba(30,182,106,.35),transparent 35%),linear-gradient(135deg,#02160d,#064526)}
.lm-audioVisualIcon{width:84px;height:84px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.18);border-radius:28px;background:rgba(255,255,255,.08);box-shadow:0 20px 55px rgba(0,0,0,.2)}
.lm-audioVisual strong{font-size:18px}.lm-audioVisual small{color:rgba(255,255,255,.65)}
.lm-mediaMount audio{position:absolute;width:1px;height:1px;opacity:.01;pointer-events:none}

/* Dark mode */
.lm-liveRoot.is-dark{
  --lm-white:#0b1d14;--lm-ink:#f3fff8;--lm-muted:#a9bcb1;--lm-line:#234334;--lm-soft:#10291d;
  color:var(--lm-ink);border-color:#1c4b33;background:linear-gradient(135deg,#06180f,#0b2618);box-shadow:0 26px 80px rgba(0,0,0,.32)
}
.lm-liveRoot.is-dark .lm-topbar,.lm-liveRoot.is-dark .lm-playerCard,.lm-liveRoot.is-dark .lm-sideCard,.lm-liveRoot.is-dark .lm-controls,.lm-liveRoot.is-dark .lm-playerHeader,.lm-liveRoot.is-dark .lm-infoItem,.lm-liveRoot.is-dark .lm-sheetPanel{color:var(--lm-ink);border-color:var(--lm-line);background:#0b1d14}
.lm-liveRoot.is-dark .lm-topButton,.lm-liveRoot.is-dark .lm-iconButton,.lm-liveRoot.is-dark .lm-controlButton,.lm-liveRoot.is-dark .lm-version,.lm-liveRoot.is-dark .lm-categoryButton,.lm-liveRoot.is-dark .lm-optionChoice,.lm-liveRoot.is-dark .lm-optionsMenu,.lm-liveRoot.is-dark .lm-channelItem{color:var(--lm-ink);border-color:var(--lm-line);background:#10271b}
.lm-liveRoot.is-dark .lm-primaryButton,.lm-liveRoot.is-dark .lm-liveButton,.lm-liveRoot.is-dark .lm-categoryButton.is-active,.lm-liveRoot.is-dark .lm-optionChoice.is-active{color:#fff;background:var(--lm-green-700)}
.lm-liveRoot.is-dark .lm-searchBox,.lm-liveRoot.is-dark .lm-volumeBox{color:var(--lm-green-300);border-color:var(--lm-line);background:#10291d}
.lm-liveRoot.is-dark .lm-searchBox input{color:var(--lm-ink)}
.lm-liveRoot.is-dark .lm-channelItem:hover,.lm-liveRoot.is-dark .lm-channelItem.is-active{border-color:#2d6648;background:#112e20}
.lm-liveRoot.is-dark .lm-channelLogo,.lm-liveRoot.is-dark .lm-currentIcon,.lm-liveRoot.is-dark .lm-infoIcon{border-color:#27543d;background:#123421}
.lm-liveRoot.is-dark .lm-programStrip{border-color:var(--lm-line);background:linear-gradient(135deg,#10291d,#0b1d14)}
.lm-liveRoot.is-dark .lm-networkPill{border-color:#2d6045;background:#123421;color:#a4efc2}

@media(max-width:620px){
  .lm-themeButton{min-width:0;flex:1}.lm-themeButton #themeText{display:none}
  .lm-programStrip{grid-template-columns:1fr;gap:9px}.lm-programDivider{height:1px}
  .lm-toast{right:15px;bottom:15px}
}


/* =========================================================
   POINT3BDAE TEMPLATE PROTECTION v1
   تنبيه: هذه الطبقة تمنع الاستخدام غير المرخص والعبث الشائع،
   لكنها لا تجعل كود المتصفح مستحيلاً للنسخ بصورة مطلقة.
   ========================================================= */
.lm-protectionLock{
  min-height:420px;display:grid;place-items:center;padding:28px;
  color:#fff;text-align:center;border-radius:24px;
  background:radial-gradient(circle at 25% 20%,rgba(30,182,106,.28),transparent 38%),linear-gradient(145deg,#031d11,#07170f);
}
.lm-protectionPanel{
  width:min(560px,100%);padding:30px 24px;border:1px solid rgba(255,255,255,.14);
  border-radius:24px;background:rgba(255,255,255,.07);box-shadow:0 24px 70px rgba(0,0,0,.28);backdrop-filter:blur(12px)
}
.lm-protectionMark{
  width:72px;height:72px;margin:0 auto 16px;display:grid;place-items:center;
  font-size:30px;font-weight:950;border:1px solid rgba(255,255,255,.16);border-radius:22px;background:rgba(255,255,255,.08)
}
.lm-protectionPanel h2{margin:0 0 9px;font-size:21px;font-weight:950}
.lm-protectionPanel p{margin:0;color:rgba(255,255,255,.72);font-size:13px;line-height:1.9}
.lm-protectionCode{display:inline-block;margin-top:15px;padding:8px 11px;color:#b9f3d0;font:700 11px/1.4 monospace;border:1px solid rgba(142,224,177,.22);border-radius:10px;background:rgba(0,0,0,.18)}


/* Official Saudi News Ticker — SPA */
.lm-newsTicker{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;
  gap:0;
  min-height:48px;
  margin-top:12px;
  overflow:hidden;
  border:1px solid rgba(11,123,67,.16);
  border-radius:16px;
  background:linear-gradient(180deg,#fff,#f6fbf8);
  box-shadow:0 8px 24px rgba(5,67,37,.07);
}
.lm-newsTickerLabel{
  position:relative;
  z-index:2;
  align-self:stretch;
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  white-space:nowrap;
  color:#fff;
  text-decoration:none;
  font-size:12px;
  font-weight:950;
  background:linear-gradient(135deg,var(--lm-green-700),var(--lm-green-950));
  box-shadow:-10px 0 24px rgba(5,67,37,.12);
}
.lm-newsTickerLabel:hover{color:#fff;text-decoration:none}
.lm-newsTickerDot{
  width:8px;height:8px;flex:0 0 auto;border-radius:50%;
  background:#fff;
  box-shadow:0 0 0 5px rgba(255,255,255,.15);
  animation:lmNewsPulse 1.8s ease-in-out infinite;
}
.lm-newsTickerViewport{
  min-width:0;
  overflow:hidden;
  direction:rtl;
  mask-image:linear-gradient(to left,transparent 0,#000 4%,#000 96%,transparent 100%);
  -webkit-mask-image:linear-gradient(to left,transparent 0,#000 4%,#000 96%,transparent 100%);
}
.lm-newsTickerRail{
  display:flex;
  align-items:center;
  width:max-content;
  min-width:200%;
  will-change:transform;
  animation:lmOfficialNewsScroll var(--lm-news-speed,55s) linear infinite;
}
.lm-newsTicker:hover .lm-newsTickerRail,
.lm-newsTicker:focus-within .lm-newsTickerRail{animation-play-state:paused}
.lm-newsTickerSet{display:flex;align-items:center;flex:0 0 auto;white-space:nowrap}
.lm-newsTickerItem{
  display:inline-flex;
  align-items:center;
  min-height:46px;
  padding:0 12px;
  color:var(--lm-ink);
  text-decoration:none;
  font-size:13px;
  font-weight:800;
  transition:color .15s ease,background .15s ease;
}
a.lm-newsTickerItem:hover{
  color:var(--lm-green-800);
  text-decoration:none;
  background:rgba(30,182,106,.055);
}
.lm-newsTickerSep{color:var(--lm-green-300);font-size:7px;opacity:.95}
.lm-newsTickerOfficial{
  position:relative;
  z-index:2;
  margin-inline:9px 11px;
  padding:5px 9px;
  color:var(--lm-green-900);
  background:var(--lm-green-100);
  border:1px solid rgba(11,123,67,.15);
  border-radius:999px;
  font-size:10px;
  font-weight:950;
  white-space:nowrap;
}
@keyframes lmOfficialNewsScroll{
  from{transform:translateX(0)}
  to{transform:translateX(50%)}
}
@keyframes lmNewsPulse{
  0%,100%{transform:scale(.85);opacity:.78}
  50%{transform:scale(1);opacity:1}
}
@media (prefers-reduced-motion:reduce){
  .lm-newsTickerRail{animation:none}
  .lm-newsTickerViewport{overflow:auto;scrollbar-width:thin}
  .lm-newsTickerDot{animation:none}
}
@media (max-width:700px){
  .lm-newsTicker{
    grid-template-columns:auto minmax(0,1fr);
    min-height:44px;
    border-radius:14px;
  }
  .lm-newsTickerLabel{padding:0 11px;font-size:11px}
  .lm-newsTickerOfficial{display:none}
  .lm-newsTickerItem{min-height:42px;font-size:12px;padding:0 10px}
}


/* ===== Legendary Edition 2.2 ===== */
.lm-breakingBar{
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  align-items:stretch;
  margin-top:10px;
  overflow:hidden;
  border:1px solid rgba(197,59,59,.22);
  border-radius:15px;
  background:linear-gradient(180deg,#fff,#fff8f8);
  box-shadow:0 8px 24px rgba(124,27,27,.08);
}
.lm-breakingBadge{
  display:flex;
  align-items:center;
  gap:8px;
  padding:0 15px;
  min-height:44px;
  color:#fff;
  background:linear-gradient(135deg,#c53b3b,#8d1f1f);
  font-size:12px;
  font-weight:950;
  white-space:nowrap;
}
.lm-breakingPulse{
  width:8px;height:8px;border-radius:50%;background:#fff;
  box-shadow:0 0 0 5px rgba(255,255,255,.17);
  animation:lmBreakingPulse 1.2s ease-in-out infinite;
}
.lm-breakingContent{display:flex;align-items:center;min-width:0;padding:0 15px;font-size:13px;font-weight:850}
.lm-breakingContent a,.lm-breakingContent span{color:#7b2020;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-breakingContent a:hover{text-decoration:underline}
@keyframes lmBreakingPulse{0%,100%{transform:scale(.82);opacity:.7}50%{transform:scale(1.08);opacity:1}}

.lm-legendaryButton{font-size:11px}
.lm-legendaryClock{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:42px;padding:8px 11px;border:1px solid var(--lm-line);
  border-radius:14px;background:#fff;color:var(--lm-green-900);
  font-size:11px;font-weight:900;white-space:nowrap;
}
.lm-legendaryPanel{position:fixed;z-index:99999;inset:0}
.lm-legendaryBackdrop{position:absolute;inset:0;background:rgba(5,25,15,.56);backdrop-filter:blur(4px)}
.lm-legendaryDialog{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:min(560px,calc(100vw - 28px));max-height:min(680px,calc(100vh - 40px));overflow:auto;
  border:1px solid rgba(30,182,106,.2);border-radius:22px;background:#fff;color:#102019;
  box-shadow:0 28px 90px rgba(0,0,0,.28);
}
.lm-legendaryHeader{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px 18px;border-bottom:1px solid #e3eee7}
.lm-legendaryHeader strong{font-size:16px}
.lm-legendaryClose{
  appearance:none;border:0;width:36px;height:36px;border-radius:12px;cursor:pointer;
  background:#f1f7f3;color:#173c28;font-size:23px;line-height:1;
}
.lm-legendaryBody{padding:18px}
.lm-legendaryLead{margin:0 0 14px;color:#65756c;font-size:13px}
.lm-shortcutsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lm-shortcutsGrid span{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #e0ece4;border-radius:12px;background:#f8fcf9}
.lm-shortcutsGrid kbd{min-width:64px;padding:6px 8px;text-align:center;border:1px solid #ccddd1;border-bottom-width:2px;border-radius:8px;background:#fff;font:700 11px/1.2 monospace}
.lm-shortcutsGrid b{font-size:12px}
.lm-sleepGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.lm-sleepGrid button{
  min-height:44px;border:1px solid #d8e8de;border-radius:12px;background:#f5fbf7;color:#064526;
  cursor:pointer;font:800 12px/1.2 inherit;
}
.lm-sleepGrid button:hover{border-color:#8ee0b1;background:#eefaf3}
.lm-legendaryPanel.is-dark .lm-legendaryDialog{background:#0b2117;color:#eef8f2;border-color:rgba(142,224,177,.2)}
.lm-legendaryPanel.is-dark .lm-legendaryHeader{border-color:rgba(255,255,255,.09)}
.lm-legendaryPanel.is-dark .lm-legendaryClose,
.lm-legendaryPanel.is-dark .lm-shortcutsGrid span,
.lm-legendaryPanel.is-dark .lm-sleepGrid button{background:#102c1e;color:#eef8f2;border-color:rgba(255,255,255,.1)}
.lm-legendaryPanel.is-dark .lm-shortcutsGrid kbd{background:#173725;color:#fff;border-color:rgba(255,255,255,.12)}
@media(max-width:700px){
  .lm-breakingBadge{padding:0 11px}
  .lm-breakingContent{padding:0 10px;font-size:12px}
  .lm-shortcutsGrid,.lm-sleepGrid{grid-template-columns:1fr}
  .lm-legendaryClock{display:none}
}
@media(prefers-reduced-motion:reduce){.lm-breakingPulse{animation:none}}


/* ===== Analytics Edition 2.3 — Live Audience UI ===== */
.lm-liveRoot{
  --lm-glass:rgba(255,255,255,.88);
  --lm-online:#18a65d;
}
.lm-topbar{
  background:
    linear-gradient(135deg,rgba(255,255,255,.96),rgba(244,252,247,.91));
  border-color:rgba(11,123,67,.16);
  box-shadow:0 15px 40px rgba(5,67,37,.10);
}
.lm-brandMark{
  position:relative;
  overflow:hidden;
}
.lm-brandMark:after{
  content:"";position:absolute;inset:-45%;transform:rotate(28deg) translateX(-70%);
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.28),transparent);
  animation:lmBrandShine 5.5s ease-in-out infinite;
}
@keyframes lmBrandShine{
  0%,65%,100%{transform:rotate(28deg) translateX(-75%)}
  78%{transform:rotate(28deg) translateX(75%)}
}

.lm-audienceStrip{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:12px;
}
.lm-audienceCard{
  position:relative;
  min-width:0;
  min-height:70px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 13px;
  overflow:hidden;
  border:1px solid rgba(11,123,67,.12);
  border-radius:17px;
  background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(246,251,248,.93));
  box-shadow:0 10px 28px rgba(5,67,37,.065);
}
.lm-audienceCard:before{
  content:"";position:absolute;inset:auto -18px -32px auto;width:75px;height:75px;border-radius:50%;
  background:radial-gradient(circle,rgba(30,182,106,.10),transparent 70%);
  pointer-events:none;
}
.lm-audienceCard--online{
  border-color:rgba(24,166,93,.22);
  background:linear-gradient(145deg,#f4fff8,#eefaf3);
}
.lm-audienceIcon,.lm-audienceGlyph{
  width:38px;height:38px;display:grid;place-items:center;flex:0 0 auto;
  border-radius:13px;background:var(--lm-green-100);color:var(--lm-green-800);
  font-size:17px;font-weight:950;
}
.lm-audiencePulse{
  width:10px;height:10px;border-radius:50%;background:#95a39b;
  box-shadow:0 0 0 5px rgba(100,120,108,.10);
  transition:background .2s ease,box-shadow .2s ease;
}
.lm-audiencePulse.is-connected{
  background:var(--lm-online);
  box-shadow:0 0 0 5px rgba(24,166,93,.14);
  animation:lmAudiencePulse 1.6s ease-in-out infinite;
}
@keyframes lmAudiencePulse{
  0%,100%{box-shadow:0 0 0 4px rgba(24,166,93,.12)}
  50%{box-shadow:0 0 0 8px rgba(24,166,93,.035)}
}
.lm-audienceCopy{display:grid;gap:2px;min-width:0}
.lm-audienceCopy small{color:var(--lm-muted);font-size:10px;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.lm-audienceCopy strong{color:var(--lm-green-950);font-size:20px;font-weight:950;line-height:1.05}
.lm-audienceLive{
  margin-inline-start:auto;align-self:flex-start;padding:4px 6px;
  color:#06713c;background:#dff7e9;border:1px solid #c3ead4;border-radius:999px;
  font-size:8px;font-weight:950;letter-spacing:.5px;
}
.lm-playerCard,.lm-sideCard{
  border-color:rgba(11,123,67,.14);
  box-shadow:0 18px 55px rgba(5,67,37,.10);
}
.lm-playerHeader{
  background:linear-gradient(180deg,#fff,#f8fcf9);
}
.lm-liveRoot[data-theme="dark"] .lm-audienceCard{
  background:linear-gradient(145deg,#102b1e,#0b2117);
  border-color:rgba(142,224,177,.12);
}
.lm-liveRoot[data-theme="dark"] .lm-audienceCopy strong{color:#effbf4}
.lm-liveRoot[data-theme="dark"] .lm-audienceIcon,
.lm-liveRoot[data-theme="dark"] .lm-audienceGlyph{background:#173b28;color:#9ce6bb}
.lm-liveRoot[data-theme="dark"] .lm-audienceCard--online{background:linear-gradient(145deg,#103422,#0a281a)}
@media(max-width:1100px){
  .lm-audienceStrip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:700px){
  .lm-liveRoot{padding:10px;border-radius:22px}
  .lm-topbar{min-height:68px;padding:10px;border-radius:18px}
  .lm-brandMark{width:44px;height:44px;border-radius:15px}
  .lm-brandCopy strong{font-size:15px}
  .lm-audienceStrip{
    display:flex;
    overflow-x:auto;
    gap:8px;
    padding-bottom:2px;
    scroll-snap-type:x proximity;
    scrollbar-width:none;
  }
  .lm-audienceStrip::-webkit-scrollbar{display:none}
  .lm-audienceCard{min-width:155px;min-height:64px;scroll-snap-align:start;padding:10px}
  .lm-audienceIcon,.lm-audienceGlyph{width:34px;height:34px;border-radius:11px}
  .lm-audienceCopy strong{font-size:18px}
}
@media(prefers-reduced-motion:reduce){
  .lm-brandMark:after,.lm-audiencePulse.is-connected{animation:none}
}


/* ===== Real Official News Ticker 2.3.1 ===== */
.lm-newsTickerMeta{
  position:relative;
  z-index:2;
  display:flex;
  align-items:center;
  gap:6px;
  padding-inline:7px 9px;
  white-space:nowrap;
}
.lm-newsTickerStatus{
  display:inline-flex;
  align-items:center;
  gap:5px;
  padding:5px 8px;
  border:1px solid #d9e5dd;
  border-radius:999px;
  background:#fff;
  color:#6f7e75;
  font-size:9px;
  font-weight:950;
}
.lm-newsTickerStatus:before{
  content:"";
  width:6px;height:6px;border-radius:50%;
  background:#9ba9a0;
}
.lm-newsTickerStatus.is-live{
  color:#086638;
  border-color:#c8ead6;
  background:#f2fcf6;
}
.lm-newsTickerStatus.is-live:before{
  background:#18a65d;
  box-shadow:0 0 0 4px rgba(24,166,93,.11);
  animation:lmNewsLivePulse 1.7s ease-in-out infinite;
}
.lm-newsTickerUpdated{
  display:none;
  color:var(--lm-muted);
  font-size:9px;
  font-weight:750;
}
.lm-newsTickerMeta .lm-newsTickerOfficial{
  margin:0;
}
.lm-newsTicker.is-loading .lm-newsTickerRail,
.lm-newsTicker.is-error:not(.is-live) .lm-newsTickerRail{
  animation:none;
  min-width:100%;
  width:100%;
}
.lm-newsTickerLoadingSet{
  width:100%;
  flex:1 1 auto;
}
.lm-newsTickerPlaceholder{
  display:flex;
  align-items:center;
  width:100%;
  min-height:46px;
  padding:0 16px;
  color:var(--lm-muted);
  font-size:12px;
  font-weight:800;
  white-space:nowrap;
}
.lm-newsTicker.is-loading .lm-newsTickerDot{
  animation:lmNewsLoadingPulse 1s ease-in-out infinite;
}
.lm-newsTicker.is-error{
  border-color:rgba(197,59,59,.18);
}
.lm-newsTicker.is-error .lm-newsTickerStatus{
  color:#a14343;
  border-color:#efd2d2;
  background:#fff7f7;
}
.lm-newsTicker.is-error .lm-newsTickerStatus:before{
  background:#c45a5a;
  box-shadow:none;
  animation:none;
}
@keyframes lmNewsLivePulse{
  0%,100%{box-shadow:0 0 0 3px rgba(24,166,93,.10)}
  50%{box-shadow:0 0 0 6px rgba(24,166,93,.025)}
}
@keyframes lmNewsLoadingPulse{
  0%,100%{opacity:.45;transform:scale(.8)}
  50%{opacity:1;transform:scale(1)}
}
.lm-liveRoot[data-theme="dark"] .lm-newsTickerStatus{
  background:#102b1e;
  border-color:rgba(255,255,255,.1);
  color:#afc3b6;
}
.lm-liveRoot[data-theme="dark"] .lm-newsTickerStatus.is-live{
  background:#103422;
  color:#9ce6bb;
  border-color:rgba(156,230,187,.16);
}
@media(min-width:1000px){
  .lm-newsTickerUpdated:not(:empty){display:inline}
}
@media(max-width:700px){
  .lm-newsTickerMeta{padding-inline:5px 7px}
  .lm-newsTickerStatus{padding:4px 6px;font-size:8px}
  .lm-newsTickerMeta .lm-newsTickerOfficial{display:none}
  .lm-newsTickerPlaceholder{min-height:42px;padding:0 10px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  .lm-newsTickerStatus.is-live:before,
  .lm-newsTicker.is-loading .lm-newsTickerDot{animation:none}
}

/* ===== Verified Audience + Reliable News 2.4 ===== */
.lm-audienceCard--watching{border-color:rgba(24,166,93,.28);background:linear-gradient(145deg,#f0fff6,#e9f9f0);box-shadow:0 12px 30px rgba(24,166,93,.10)}
.lm-audienceCard--watching .lm-audienceCopy strong{color:#08713d}
.lm-audienceCard--online{border-color:rgba(58,126,87,.16);background:linear-gradient(145deg,#fbfefc,#f3faf6)}
.lm-newsTickerRefresh{width:28px;height:28px;display:grid;place-items:center;flex:0 0 auto;appearance:none;border:1px solid rgba(11,123,67,.15);border-radius:9px;background:#fff;color:var(--lm-green-800);cursor:pointer;font-size:15px;font-weight:900;line-height:1;transition:transform .15s ease,background .15s ease,border-color .15s ease,opacity .15s ease}
.lm-newsTickerRefresh:hover{transform:rotate(-18deg);background:var(--lm-green-100);border-color:rgba(11,123,67,.28)}
.lm-newsTickerRefresh:disabled{opacity:.5;cursor:wait;transform:none}
.lm-newsTickerStatus.is-warning{color:#956000;border-color:#ecd89e;background:#fffaf0}.lm-newsTickerStatus.is-warning:before{background:#d49a1f;box-shadow:none;animation:none}
.lm-newsTickerStatus.is-error{color:#a14343;border-color:#efd2d2;background:#fff7f7}.lm-newsTickerStatus.is-error:before{background:#c45a5a;box-shadow:none;animation:none}
.lm-newsTicker.is-empty .lm-newsTickerRail{animation:none;min-width:100%;width:100%}
.lm-liveRoot[data-theme="dark"] .lm-audienceCard--watching{background:linear-gradient(145deg,#103824,#0b2c1c);border-color:rgba(156,230,187,.18)}
.lm-liveRoot[data-theme="dark"] .lm-audienceCard--online{background:linear-gradient(145deg,#102b1e,#0c2419)}
.lm-liveRoot[data-theme="dark"] .lm-newsTickerRefresh{background:#102b1e;border-color:rgba(255,255,255,.10);color:#9ce6bb}
@media(max-width:700px){.lm-newsTickerRefresh{width:26px;height:26px;border-radius:8px}}

/* =========================================================
   POINT3BDAE LIVE PLAYER v4.2 — Blue UI Upgrade
   ========================================================= */
.lm-liveRoot{
  --lm-green-950:#0b295f;
  --lm-green-900:#103d8f;
  --lm-green-800:#1656c1;
  --lm-green-700:#1677ff;
  --lm-green-600:#2d8cff;
  --lm-green-500:#4ea0ff;
  --lm-green-300:#9cc8ff;
  --lm-green-100:#eaf3ff;
  --lm-green-50:#f5f9ff;
  --lm-ink:#0f172a;
  --lm-muted:#64748b;
  --lm-line:#d7e3f5;
  --lm-soft:#f7faff;
  --lm-shadow:0 24px 70px rgba(15,76,186,.12);
  --lm-shadow-sm:0 12px 34px rgba(15,76,186,.08);
  border-color:rgba(22,119,255,.11);
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(245,249,255,.98)),var(--lm-green-50);
}
.lm-liveRoot button:focus-visible,.lm-liveRoot input:focus-visible,.lm-liveRoot select:focus-visible{outline:3px solid rgba(22,119,255,.18)}
.lm-ambientOne{background:radial-gradient(circle,rgba(22,119,255,.16),transparent 70%)}
.lm-ambientTwo{background:radial-gradient(circle,rgba(14,75,186,.1),transparent 70%)}
.lm-brandMark,.lm-primaryButton,.lm-liveButton,.lm-sideTop{background:linear-gradient(145deg,var(--lm-green-700),var(--lm-green-950))}
.lm-sideCard{border-color:rgba(22,119,255,.12)}
.lm-playerCard{border-color:rgba(22,119,255,.12)}
.lm-stage{background:#07101e}
.lm-stagePattern{background:radial-gradient(circle at 25% 25%,rgba(78,160,255,.28),transparent 42%),radial-gradient(circle at 75% 70%,rgba(156,200,255,.16),transparent 42%),linear-gradient(135deg,#05111f,#0a1830 55%,#061019)}
.lm-newsTicker{border-color:rgba(22,119,255,.14);background:linear-gradient(180deg,#fff,#f7faff);box-shadow:0 8px 24px rgba(15,76,186,.06)}
.lm-newsTickerLabel{background:linear-gradient(135deg,var(--lm-green-700),var(--lm-green-950));box-shadow:-10px 0 24px rgba(15,76,186,.12)}
.a.lm-newsTickerItem:hover,.lm-newsTickerItem:hover{color:var(--lm-green-800);background:rgba(22,119,255,.05)}
.lm-newsTickerOfficial{color:var(--lm-green-900);background:var(--lm-green-100);border-color:rgba(22,119,255,.15)}

.lm-sideFilters{position:sticky;top:0;z-index:4;padding-bottom:10px;background:linear-gradient(180deg,#fff 78%,rgba(255,255,255,0))}
.lm-searchBox{margin:13px 13px 10px;padding-inline:12px 8px;height:48px;border-radius:16px;color:var(--lm-green-700);background:var(--lm-soft)}
.lm-searchBox:focus-within{border-color:var(--lm-green-300);box-shadow:0 0 0 4px rgba(22,119,255,.08)}
.lm-searchBox svg{flex:0 0 auto}
.lm-searchClear{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;color:var(--lm-muted);border:0;border-radius:10px;background:transparent;cursor:pointer}
.lm-searchClear:hover{color:var(--lm-green-900);background:rgba(22,119,255,.08)}
.lm-sortBox{margin:0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 12px;border:1px solid var(--lm-line);border-radius:14px;background:#fff;color:var(--lm-muted);font-size:11px;font-weight:800}
.lm-sortBox span{white-space:nowrap}
.lm-sortBox select{min-width:0;flex:1;height:34px;padding:0 10px;color:var(--lm-ink);font:inherit;border:1px solid var(--lm-line);border-radius:10px;background:var(--lm-soft);outline:0}
.lm-sortBox select:focus{border-color:var(--lm-green-300)}
.lm-categoryBar{gap:8px;padding:0 13px 10px}
.lm-categoryButton{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;font-size:11px;font-weight:900;border-radius:999px;background:#fff}
.lm-categoryButton b{min-width:20px;padding:2px 6px;color:var(--lm-green-800);font-size:10px;line-height:1.3;border-radius:999px;background:var(--lm-green-100)}
.lm-categoryButton:hover,.lm-categoryButton.is-active{color:#fff;border-color:var(--lm-green-700);background:var(--lm-green-700)}
.lm-categoryButton:hover b,.lm-categoryButton.is-active b{color:#fff;background:rgba(255,255,255,.16)}
.lm-channelList{gap:10px;max-height:510px;padding:0 12px 14px;scrollbar-color:#bfd7ff transparent}
.lm-channelItem{padding:8px;align-items:stretch;border-color:#eef4fc;border-radius:18px;background:linear-gradient(180deg,#fff,#fbfdff)}
.lm-channelItem:hover{border-color:#cfe0ff;background:var(--lm-green-50);box-shadow:0 10px 24px rgba(15,76,186,.08)}
.lm-channelItem.is-active{border-color:#bfd7ff;background:linear-gradient(135deg,#eff5ff,#fff);box-shadow:inset 4px 0 0 var(--lm-green-700),0 10px 24px rgba(15,76,186,.09)}
.lm-channelSelect{padding:4px 6px;gap:10px;align-items:center}
.lm-channelMain{gap:12px;flex:1;min-width:0}
.lm-channelLogo{width:52px;height:52px;border-color:#d9e8fb;border-radius:18px;background:linear-gradient(180deg,#fff,var(--lm-green-50));box-shadow:inset 0 1px 0 rgba(255,255,255,.8)}
.lm-channelCopy{gap:5px;flex:1;min-width:0}
.lm-channelBadges{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.lm-channelFlag{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;color:#fff;font-size:9px;font-weight:950;letter-spacing:.2px;border-radius:999px;background:var(--lm-green-700)}
.lm-channelFlag--active{background:linear-gradient(135deg,var(--lm-green-700),var(--lm-green-900));box-shadow:0 6px 18px rgba(15,76,186,.18)}
.lm-channelFlag--archive{color:#8c4f00;background:#fff3dd}
.lm-channelCopy strong{font-size:14px;line-height:1.35}
.lm-channelMeta{display:flex;align-items:center;gap:5px;flex-wrap:wrap;color:var(--lm-muted);font-size:11px}
.lm-channelAside{display:flex;align-items:center;justify-content:flex-end;flex:0 0 auto}
.lm-channelType{padding:6px 10px;font-size:10px;border-color:#d5e6ff;background:var(--lm-green-50)}
.lm-channelType--youtube{color:#0f4cba;background:#eef4ff}
.lm-channelType--hls{color:#0b65b1;background:#eef8ff}
.lm-channelType--audio{color:#6b4cff;background:#f3f0ff}
.lm-channelType--iframe{color:#355;color:#40627f;background:#f1f7ff}
.lm-channelActions{padding-inline-start:4px}
.lm-channelFavorite{width:34px;height:34px;font-size:19px;border-radius:12px;color:#8ea0b4}
.lm-channelFavorite:hover,.lm-channelFavorite.is-active{color:#c58b00;background:#fff6d9}
.lm-empty{display:grid;justify-items:center;gap:7px;padding:34px 18px;color:var(--lm-muted);border:1px dashed #d8e5f7;border-radius:18px;background:var(--lm-soft)}
.lm-empty strong{font-size:14px;color:var(--lm-ink)}
.lm-empty span{font-size:11px}
.lm-emptyIcon{width:48px;height:48px;display:grid;place-items:center;font-size:22px;border-radius:16px;background:#fff;border:1px solid #dde9fb}
.lm-channelCount{width:42px;height:42px;font-size:14px;border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.11)}
.lm-programStrip{background:linear-gradient(135deg,var(--lm-green-50),#fff)}
.lm-infoItem{background:rgba(255,255,255,.88)}
.lm-sheetBackdrop{background:rgba(5,19,41,.58)}
.lm-sheetPanel{box-shadow:0 -30px 80px rgba(6,24,58,.26)}
.lm-sheetFilters{padding-bottom:12px}
.lm-sheetSearch{margin:6px 0 10px}
.lm-sheetSort{margin:0 0 10px}
.lm-version{border-color:#d8e6fb;background:#fff}
.lm-footer a,.lm-textButton{color:var(--lm-green-800)}
.lm-networkPill{border-color:#d9e6fb;background:#f7fbff;color:var(--lm-green-800)}
.lm-audioVisual{background:radial-gradient(circle at 30% 25%,rgba(78,160,255,.34),transparent 35%),linear-gradient(135deg,#07111f,#103d8f)}
.lm-protectionLock{background:radial-gradient(circle at 25% 20%,rgba(22,119,255,.25),transparent 38%),linear-gradient(145deg,#07101f,#0b1d3d)}
.lm-protectionCode{color:#c7dcff;border-color:rgba(156,200,255,.22)}

.lm-liveRoot.is-dark{
  --lm-white:#08121f;--lm-ink:#edf4ff;--lm-muted:#9bb0cc;--lm-line:#203756;--lm-soft:#0d1a2d;
  color:var(--lm-ink);border-color:#1d3350;background:linear-gradient(135deg,#081220,#0d1830);box-shadow:0 26px 80px rgba(0,0,0,.36)
}
.lm-liveRoot.is-dark .lm-topbar,.lm-liveRoot.is-dark .lm-playerCard,.lm-liveRoot.is-dark .lm-sideCard,.lm-liveRoot.is-dark .lm-controls,.lm-liveRoot.is-dark .lm-playerHeader,.lm-liveRoot.is-dark .lm-infoItem,.lm-liveRoot.is-dark .lm-sheetPanel{background:#091423}
.lm-liveRoot.is-dark .lm-topButton,.lm-liveRoot.is-dark .lm-iconButton,.lm-liveRoot.is-dark .lm-controlButton,.lm-liveRoot.is-dark .lm-version,.lm-liveRoot.is-dark .lm-categoryButton,.lm-liveRoot.is-dark .lm-optionChoice,.lm-liveRoot.is-dark .lm-optionsMenu,.lm-liveRoot.is-dark .lm-channelItem,.lm-liveRoot.is-dark .lm-sortBox,.lm-liveRoot.is-dark .lm-sortBox select{background:#0f1c30;color:var(--lm-ink)}
.lm-liveRoot.is-dark .lm-searchBox,.lm-liveRoot.is-dark .lm-volumeBox{background:#0e1b2d;color:#a9ccff}
.lm-liveRoot.is-dark .lm-channelItem:hover,.lm-liveRoot.is-dark .lm-channelItem.is-active{border-color:#32527b;background:#0f2038}
.lm-liveRoot.is-dark .lm-channelLogo,.lm-liveRoot.is-dark .lm-currentIcon,.lm-liveRoot.is-dark .lm-infoIcon,.lm-liveRoot.is-dark .lm-emptyIcon{border-color:#2c4770;background:#10233d}
.lm-liveRoot.is-dark .lm-categoryButton b{background:#18345a;color:#d7e7ff}
.lm-liveRoot.is-dark .lm-empty{border-color:#254160;background:#0d1a2d}
.lm-liveRoot.is-dark .lm-sideFilters{background:linear-gradient(180deg,#091423 78%,rgba(9,20,35,0))}
.lm-liveRoot.is-dark .lm-networkPill{border-color:#2c4d74;background:#11233d;color:#bbd6ff}
.lm-liveRoot.is-dark .lm-newsTicker{background:linear-gradient(180deg,#0c1728,#0a1423);border-color:#214065}
.lm-liveRoot.is-dark .lm-newsTickerOfficial{background:#10233d;border-color:#214065;color:#dce9ff}
.lm-liveRoot.is-dark .lm-programStrip{background:linear-gradient(135deg,#0d1a2d,#091423)}

@media (max-width:900px){
  .lm-sideFilters{position:static;background:transparent}
}
@media (max-width:620px){
  .lm-sideTop{padding:16px 15px 12px}
  .lm-channelList{padding:0 8px 12px;gap:8px}
  .lm-channelItem{padding:7px;border-radius:16px}
  .lm-channelLogo{width:48px;height:48px;border-radius:16px}
  .lm-channelCopy strong{font-size:13px}
  .lm-channelMeta{font-size:10px}
  .lm-sortBox{margin:0 10px}
  .lm-searchBox{margin:10px 10px 9px}
  .lm-categoryBar{padding:0 10px 9px}
}

/* =========================================================
   POINT3BDAE LIVE PLAYER 2.4.3 — Configurable UI presets
   These classes are driven by ACP options through PHP + JS.
   ========================================================= */
.lm-liveRoot.lm-accent--blue{
  --lm-green-950:#0b295f;--lm-green-900:#103d8f;--lm-green-800:#1656c1;--lm-green-700:#1677ff;
  --lm-green-600:#2d8cff;--lm-green-500:#4ea0ff;--lm-green-300:#9cc8ff;--lm-green-100:#eaf3ff;--lm-green-50:#f5f9ff;
}
.lm-liveRoot.lm-accent--royal{
  --lm-green-950:#081b46;--lm-green-900:#0b2e77;--lm-green-800:#1246a8;--lm-green-700:#1d4ed8;
  --lm-green-600:#2563eb;--lm-green-500:#3b82f6;--lm-green-300:#93c5fd;--lm-green-100:#dbeafe;--lm-green-50:#eff6ff;
}
.lm-liveRoot.lm-accent--cyan{
  --lm-green-950:#083344;--lm-green-900:#0e4f63;--lm-green-800:#087b96;--lm-green-700:#0891b2;
  --lm-green-600:#06b6d4;--lm-green-500:#22d3ee;--lm-green-300:#67e8f9;--lm-green-100:#cffafe;--lm-green-50:#ecfeff;
}
.lm-liveRoot.lm-accent--green{
  --lm-green-950:#052f1d;--lm-green-900:#064526;--lm-green-800:#086638;--lm-green-700:#0b7b43;
  --lm-green-600:#109553;--lm-green-500:#1eb66a;--lm-green-300:#8ee0b1;--lm-green-100:#dff7e9;--lm-green-50:#f1fbf5;
}
.lm-liveRoot.lm-accent--violet{
  --lm-green-950:#2e1065;--lm-green-900:#4c1d95;--lm-green-800:#5b21b6;--lm-green-700:#6d28d9;
  --lm-green-600:#7c3aed;--lm-green-500:#8b5cf6;--lm-green-300:#c4b5fd;--lm-green-100:#ede9fe;--lm-green-50:#f5f3ff;
}

.lm-density--compact .lm-channelList{gap:6px}
.lm-density--compact .lm-channelItem{padding:5px;border-radius:14px}
.lm-density--compact .lm-channelSelect{padding:2px 4px}
.lm-density--compact .lm-channelLogo{width:40px;height:40px;border-radius:13px}
.lm-density--compact .lm-channelCopy{gap:2px}
.lm-density--compact .lm-channelCopy strong{font-size:12px}
.lm-density--compact .lm-channelMeta{font-size:9px}
.lm-density--compact .lm-channelFlag{padding:2px 6px;font-size:8px}
.lm-density--compact .lm-channelType{padding:4px 7px;font-size:9px}
.lm-density--compact .lm-channelFavorite{width:30px;height:30px}

.lm-density--comfortable .lm-channelItem{padding:8px}
.lm-density--comfortable .lm-channelLogo{width:52px;height:52px}

.lm-density--spacious .lm-channelList{gap:13px}
.lm-density--spacious .lm-channelItem{padding:12px;border-radius:20px}
.lm-density--spacious .lm-channelSelect{padding:6px 8px}
.lm-density--spacious .lm-channelLogo{width:60px;height:60px;border-radius:20px}
.lm-density--spacious .lm-channelCopy{gap:6px}
.lm-density--spacious .lm-channelCopy strong{font-size:15px}
.lm-density--spacious .lm-channelMeta{font-size:11px}
.lm-density--spacious .lm-channelFavorite{width:38px;height:38px}

.lm-cardStyle--glass .lm-channelItem{
  background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(247,250,255,.82));
  backdrop-filter:blur(10px);
}
.lm-cardStyle--glass .lm-channelItem:hover,
.lm-cardStyle--glass .lm-channelItem.is-active{background:linear-gradient(145deg,var(--lm-green-50),rgba(255,255,255,.96))}
.lm-cardStyle--solid .lm-channelItem{background:#fff;border-color:#e3ebf7;box-shadow:none}
.lm-cardStyle--solid .lm-channelItem:hover{background:var(--lm-green-50)}
.lm-cardStyle--solid .lm-channelItem.is-active{background:var(--lm-green-100);border-color:var(--lm-green-300)}
.lm-cardStyle--outline .lm-channelItem{background:transparent;border-color:var(--lm-line);box-shadow:none}
.lm-cardStyle--outline .lm-channelItem:hover{background:rgba(255,255,255,.58);border-color:var(--lm-green-300)}
.lm-cardStyle--outline .lm-channelItem.is-active{background:var(--lm-green-50);border-color:var(--lm-green-500)}

.lm-liveRoot[class*="lm-accent--"] .lm-sideTop,
.lm-liveRoot[class*="lm-accent--"] .lm-brandMark,
.lm-liveRoot[class*="lm-accent--"] .lm-primaryButton,
.lm-liveRoot[class*="lm-accent--"] .lm-liveButton,
.lm-liveRoot[class*="lm-accent--"] .lm-newsTickerLabel{
  background:linear-gradient(145deg,var(--lm-green-700),var(--lm-green-950));
}
.lm-liveRoot[class*="lm-accent--"] .lm-channelItem.is-active{
  box-shadow:inset 4px 0 0 var(--lm-green-700),0 10px 24px color-mix(in srgb,var(--lm-green-700) 10%,transparent);
}
.lm-liveRoot[class*="lm-accent--"] .lm-categoryButton:hover,
.lm-liveRoot[class*="lm-accent--"] .lm-categoryButton.is-active{
  border-color:var(--lm-green-700);background:var(--lm-green-700);color:#fff;
}
.lm-liveRoot[class*="lm-accent--"] .lm-channelFlag{background:var(--lm-green-700)}
.lm-liveRoot[class*="lm-accent--"] .lm-channelFlag--active{background:linear-gradient(135deg,var(--lm-green-700),var(--lm-green-900))}
.lm-liveRoot[class*="lm-accent--"] .lm-channelType{color:var(--lm-green-800);border-color:color-mix(in srgb,var(--lm-green-300) 52%,#fff);background:var(--lm-green-50)}
.lm-liveRoot[class*="lm-accent--"] .lm-searchBox:focus-within{border-color:var(--lm-green-300);box-shadow:0 0 0 4px color-mix(in srgb,var(--lm-green-500) 10%,transparent)}
.lm-liveRoot[class*="lm-accent--"] .lm-currentIcon,
.lm-liveRoot[class*="lm-accent--"] .lm-infoIcon{color:var(--lm-green-700);background:var(--lm-green-50)}

.lm-liveRoot.is-dark.lm-cardStyle--glass .lm-channelItem,
.lm-liveRoot.is-dark.lm-cardStyle--solid .lm-channelItem,
.lm-liveRoot.is-dark.lm-cardStyle--outline .lm-channelItem{background:#0f1c30}
.lm-liveRoot.is-dark.lm-cardStyle--outline .lm-channelItem{background:transparent}
.lm-liveRoot.is-dark.lm-cardStyle--glass .lm-channelItem.is-active,
.lm-liveRoot.is-dark.lm-cardStyle--solid .lm-channelItem.is-active,
.lm-liveRoot.is-dark.lm-cardStyle--outline .lm-channelItem.is-active{background:#10233d}

@supports not (color:color-mix(in srgb,red 50%,blue)){
  .lm-liveRoot[class*="lm-accent--"] .lm-channelItem.is-active{box-shadow:inset 4px 0 0 var(--lm-green-700),0 10px 24px rgba(15,76,186,.09)}
  .lm-liveRoot[class*="lm-accent--"] .lm-searchBox:focus-within{box-shadow:0 0 0 4px rgba(22,119,255,.08)}
}
