/* premium13 — scorecard joined to Live TV, home Live TV buttons */
#evMain .scoreframe { margin-bottom: 8px; transition: height .2s ease; }
#evMain .scoreframe:has(+ .lm-tv) { margin-bottom: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
#evMain .scoreframe + .lm-tv { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; border-top-color: transparent; }

.lm-tvb { display: inline-flex; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line, #ffffff14); background: var(--bg-control, #252527); color: var(--text-strong, #fff); border-radius: 999px; cursor: pointer; font: inherit; touch-action: manipulation; }
.lm-tvb svg { color: var(--live, #ff5e3a); flex: none; }
.lm-tvb:hover { background: var(--bg-control-hover, #44444b); }
.lm-tvb:active { transform: scale(.95); }
.lm-tvb-card { height: 24px; padding: 0 9px; font-size: 11.5px; font-weight: 600; margin-left: auto; margin-right: 6px; }
.mcard .pm-st { display: flex; align-items: center; }
.evlist .ev:has(> .lm-tvb-row) { grid-template-columns: minmax(0, 1fr) auto auto; }
.lm-tvb-row { width: 38px; height: 38px; margin-right: 8px; flex: none; align-self: center; }
.lm-tvb-row svg { width: 17px; height: 17px; }
.lm-tvb-mini { width: 26px; height: 22px; margin-right: 6px; padding: 0; }
.lm-tvb-mini svg { width: 13px; height: 13px; }
@media (max-width: 560px) { .lm-tvb-row { width: 34px; height: 34px; margin-right: 6px; } }

/* ---- phone fixes ---- */
@media (max-width: 700px) {
  /* header: Deposit + balance only (Withdraw lives in Account), balance never cut */
  #authArea a[href="#/withdraw"] { display: none !important; }
  .topbar .right, #authArea { flex-shrink: 0; }
  .topbar .logo { min-width: 0; flex-shrink: 1; }
}
@media (max-width: 1200px) {
  /* bottom menu grows to fit its labels instead of pushing them off the screen */
  :root { --tabbar-h: 58px; }
  .mobnav { height: auto; min-height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-top: 4px; padding-bottom: calc(4px + env(safe-area-inset-bottom)); box-sizing: border-box; align-items: stretch; }
  .mobnav a { min-height: 50px; justify-content: center; }
  .slip { bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); }
}
