/* ==========================================================================
   LWG TV — Deportes premium (premium-sports.js). Diseños aprobados
   disenos/deportes/13..17: escritorio y celular.
   ========================================================================== */
/* Colores también en la ficha (.lws-modal) y en los avisos (.lws-toast): se dibujan fuera de .lws. */
.lws, .lws-modal, .lws-toast { --lws-card: #131417; --lws-line: #232428; --lws-dim: #8d92a0; --lws-red: #F20D25; }
.lws {
  color: #fff; font-family: Inter, -apple-system, "Segoe UI", sans-serif; padding: 8px 0 60px; }
.lws button { font-family: inherit; cursor: pointer; }
.lws h1, .lws h2, .lws h3 { font-family: "Bebas Neue", Inter, sans-serif; font-weight: 400; letter-spacing: .02em; margin: 0; }
.lws-eb { font-size: 12px; letter-spacing: .3em; color: var(--lws-red); font-weight: 800; text-transform: uppercase; }
.lws-loading, .lws-empty { color: var(--lws-dim); font-size: 14px; padding: 18px 0; }
.lws-pill { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 11px; font-size: 11px; font-weight: 800;
  font-style: normal; background: rgba(255,255,255,.1); color: #fff; white-space: nowrap; }
.lws-pill.live { background: var(--lws-red); }
.lws-pill.ok { background: #1f7a43; }
.lws-pill.guia { background: #8a5a00; }
.lws-pill.man { background: #2a4d8f; }
.lws-btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 12px; font-size: 15px; font-weight: 800;
  color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.lws-btn:hover, .lws-btn:focus-visible { background: rgba(255,255,255,.18); outline: none; }
.lws-btn.w { background: #fff; color: #0a0a0a; border: 0; }
.lws-btn.r { background: #e50914; border: 0; }
.lws-btn.r:hover { background: #f40612; }
.lws-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* Destacado */
.lws-hero { position: relative; display: flex; gap: 28px; justify-content: space-between; border-radius: 20px; border: 1px solid var(--lws-line);
  padding: 40px 44px; background: radial-gradient(circle at 78% 30%, rgba(242,13,37,.22), rgba(19,20,23,0) 55%), #121316; }
.lws-hero-main { min-width: 0; flex: 1; }
.lws-hero-teams { display: flex; align-items: center; gap: 28px; margin-top: 16px; }
.lws-hero h1 { font-size: 58px; line-height: .95; margin-top: 12px; }
.lws-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; font-size: 15px; color: #d5d8de; }
.lws-team { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; flex: none; width: 110px; }
.lws-hero .lws-team { width: 150px; }
.lws-team img { object-fit: contain; }
.lws-team b { font-size: 14px; margin-top: 6px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lws-hero .lws-team b { font-size: 17px; }
.lws-team small { color: var(--lws-dim); font-size: 11px; }
.lws-vs { font-family: "Bebas Neue", Inter, sans-serif; font-size: 28px; color: #646a78; }
.lws-vs.big { font-size: 60px; color: #8d92a0; }
.lws-score { text-align: center; white-space: nowrap; font-family: "Bebas Neue", Inter, sans-serif; font-size: 34px; line-height: 1; }
.lws-score .h { color: #8d92a0; } .lws-score .h.win { color: #fff; } .lws-score i { color: #646a78; font-style: normal; margin: 0 4px; }
.lws-score em { display: table; margin: 4px auto 0; font-family: Inter, sans-serif; font-size: 10px; padding: 3px 8px; }

/* Agenda de hoy */
.lws-agenda { width: 500px; flex: none; background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 16px 20px; align-self: flex-start; }
.lws-ag { display: grid; grid-template-columns: 76px 1fr auto; gap: 12px; align-items: center; width: 100%; background: none; border: 0; border-top: 1px solid #1e2023;
  padding: 9px 0; color: #fff; text-align: left; }
.lws-ag:first-of-type { margin-top: 8px; }
.lws-ag:hover span { text-decoration: underline; }
.lws-ag b { font-size: 14px; } .lws-ag span { font-size: 14px; font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lws-ag em { display: block; font-style: normal; font-size: 10px; letter-spacing: .2em; color: var(--lws-red); font-weight: 800; }
.lws-ag > i { color: #646a78; font-style: normal; }

/* Pestañas */
.lws-tabs { display: flex; gap: 10px; margin: 22px 0 4px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px; }
.lws-tabs::-webkit-scrollbar { display: none; }
.lws-tab { flex: none; padding: 9px 18px; border-radius: 999px; border: 1px solid #2c2d31; background: #141518; font-size: 14px; font-weight: 700; color: #d5d8de; }
.lws-tab:hover { border-color: #4a4b50; }
.lws-tab.on { background: #fff; color: #0a0a0a; border-color: #fff; }

/* Secciones y tarjetas */
.lws-sec { margin-top: 26px; }
.lws-sec-h { display: flex; align-items: baseline; gap: 14px; margin-bottom: 12px; }
.lws-sec-h h2 { font-size: 30px; }
.lws-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
.lws-grid.two { grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); }
.lws-card { background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 14px 16px; cursor: pointer; outline: none; transition: transform .15s, border-color .15s; }
.lws-card:hover, .lws-card:focus-visible { border-color: #4a4b50; transform: translateY(-2px); }
.lws-card.hl { box-shadow: 0 0 0 3px var(--lws-red); }
.lws-card header { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 700; color: #c9ccd4; }
.lws-card header .live { color: var(--lws-red); }
.lws-match { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.lws-venue { text-align: center; color: var(--lws-dim); font-size: 12px; margin: 4px 0 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lws-strip { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 10px; border-radius: 11px; background: #1b1c20; border: 1px solid #2a2b30; }
.lws-strip-t { flex: 1; min-width: 0; }
.lws-strip-t b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lws-strip-t b i { color: var(--lws-dim); font-style: normal; font-size: 12px; }
.lws-strip-t small { font-size: 11px; color: #e0a94a; } .lws-strip-t small.ok { color: #5fd38d; } .lws-strip-t small.man { color: #8fb0ff; }
.lws-play { border: 0; border-radius: 999px; background: var(--lws-red); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 12px; }
.lws-nostrip { margin-top: 12px; padding: 9px 10px; border-radius: 11px; border: 1px dashed #2c2d31; font-size: 12px; color: var(--lws-dim); text-align: center; }
.lws-chl { width: 58px; height: 32px; border-radius: 7px; background: #e9eaee; color: #0a0a0a; display: flex; align-items: center; justify-content: center;
  flex: none; font-family: "Bebas Neue", Inter, sans-serif; font-size: 18px; overflow: hidden; }
.lws-chl img { max-width: 48px; max-height: 22px; object-fit: contain; }
.lws-chl.big { width: 84px; height: 44px; } .lws-chl.big img { max-width: 70px; max-height: 30px; }

/* Todas las ligas */
.lws-sums { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.lws-sum { display: flex; flex-direction: column; justify-content: flex-start; text-align: left; color: #fff; background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 14px 18px; }
.lws-sum:hover, .lws-sum:focus-visible { border-color: #4a4b50; outline: none; }
.lws-sum header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.lws-sum h3 { font-size: 30px; }
.lws-sum header, .lws-sum p { width: 100%; }
.lws-sum p { display: flex; justify-content: space-between; gap: 10px; margin: 0; padding: 5px 0; font-size: 13px; }
.lws-sum p b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .lws-sum p span, .lws-sum small { color: var(--lws-dim); }

/* Cabecera de liga */
.lws-lhead { display: flex; align-items: center; gap: 20px; }
.lws-licon { width: 84px; height: 84px; border-radius: 18px; background: var(--lws-card); border: 1px solid var(--lws-line); display: flex; align-items: center; justify-content: center; font-size: 44px; flex: none; }
.lws-lhead h1 { font-size: 64px; line-height: .95; }
.lws-lhead p { color: #c9ccd4; font-size: 15px; margin: 2px 0 0; } .lws-lhead p b { color: #fff; }

/* Columnas: juegos + posiciones */
.lws-cols { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.lws-std { background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 16px 18px; margin-top: 26px; position: sticky; top: 90px; }
.lws-std h4 { margin: 10px 0 4px; font-size: 14px; }
.lws-std table { border-collapse: collapse; width: 100%; font-size: 13px; }
.lws-std th { color: #646a78; font-size: 10px; letter-spacing: .1em; text-align: center; padding: 4px; font-weight: 700; }
.lws-std th:first-child { text-align: left; }
.lws-std td { padding: 6px 4px; text-align: center; color: #c9ccd4; border-top: 1px solid #1e2023; }
.lws-std td:first-child { text-align: left; color: #fff; display: flex; align-items: center; gap: 8px; }
.lws-std td:first-child span { color: #646a78; width: 14px; } .lws-std td img { width: 22px; height: 22px; object-fit: contain; }

/* Serie Mundial */
.lws-cals { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.lws-cal { background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 14px; padding: 14px 16px; cursor: pointer; outline: none; }
.lws-cal.hl { box-shadow: 0 0 0 3px var(--lws-red); }
.lws-cal:hover, .lws-cal:focus-visible { border-color: #4a4b50; }
.lws-cal small { color: #c9ccd4; font-size: 12px; font-weight: 700; } .lws-cal small b { color: #fff; }
.lws-cal h3 { font-size: 30px; margin: 4px 0; }
.lws-cal p { display: flex; align-items: center; gap: 6px; color: var(--lws-dim); font-size: 12px; margin: 0 0 6px; }
.lws-cal p img { width: 30px; height: 30px; object-fit: contain; }
.lws-serie { background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 16px 18px; }
.lws-serie h3 { font-size: 26px; text-align: center; white-space: nowrap; }
.lws-days { display: flex; gap: 12px; flex-wrap: wrap; }
.lws-day { width: 120px; background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; }
.lws-day small { color: var(--lws-dim); font-size: 12px; } .lws-day small:first-child { color: #c9ccd4; font-weight: 700; }
.lws-day b { font-family: "Bebas Neue", Inter, sans-serif; font-size: 38px; font-weight: 400; }

/* Dónde verlo */
.lws-wherebox { width: 540px; flex: none; background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 16px 20px; align-self: flex-start; }
.lws-where { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 13px; background: #1b1c20; border: 1px solid #2a2b30; margin-top: 10px; }
.lws-where > div { flex: 1; min-width: 0; }
.lws-where p { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 16px; flex-wrap: wrap; }
.lws-where small { color: var(--lws-dim); font-size: 12px; }
.lws-where .lws-btn { height: 38px; font-size: 13px; padding: 0 14px; }

/* Ficha */
.lws-modal { position: fixed; inset: 0; z-index: 9000; background: rgba(0,0,0,.62); display: flex; align-items: flex-start; justify-content: center;
  padding: 90px 24px 24px; overflow-y: auto; font-family: Inter, -apple-system, "Segoe UI", sans-serif; color: #fff; }
.lws-modal-body { width: min(1400px, 100%); background: #111215; border: 1px solid #26272b; border-radius: 20px; padding: 30px 40px; }
.lws-modal-body > header { display: flex; justify-content: space-between; align-items: center; }
.lws-x { background: none; border: 0; color: #8d92a0; font-size: 22px; cursor: pointer; }
.lws-modal-teams { display: flex; align-items: center; justify-content: space-between; margin-top: 18px; text-align: center; }
.lws-modal-teams .lws-team { width: 320px; } .lws-modal-teams .lws-team b { font-family: "Bebas Neue", Inter, sans-serif; font-weight: 400; font-size: 34px; }
.lws-bigscore { font-family: "Bebas Neue", Inter, sans-serif; font-size: 104px; line-height: 1; color: #8d92a0; white-space: nowrap; }
.lws-bigscore .win { color: #fff; } .lws-bigscore i { font-style: normal; color: #646a78; margin: 0 10px; }
.lws-modal-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 22px; margin-top: 22px; }
.lws-modal-grid .lws-wherebox { width: auto; }
.lws-modal-grid.one { grid-template-columns: minmax(0, 760px); }
.lws-lines { background: var(--lws-card); border: 1px solid var(--lws-line); border-radius: 16px; padding: 16px 20px; overflow-x: auto; }
.lws-lines table { border-collapse: collapse; width: 100%; margin-top: 8px; font-size: 15px; }
.lws-lines th { color: #646a78; font-size: 11px; padding: 6px; text-align: center; }
.lws-lines td { padding: 8px 6px; text-align: center; color: #c9ccd4; border-top: 1px solid #1e2023; }
.lws-lines td:first-child { text-align: left; color: #fff; font-weight: 800; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.lws-lines td img { width: 28px; height: 28px; object-fit: contain; }
.lws-lines td.tot { color: #fff; font-weight: 900; font-size: 20px; }
.lws-lines small, .lws-foot { color: var(--lws-dim); font-size: 12px; }
.lws-foot { margin: 14px 0 0; }

/* Avisos (premium-sports.js: alerts) */
.lws-toast { position: fixed; right: 32px; bottom: 32px; z-index: 9100; width: 420px; border-radius: 18px; background: #131417; border: 1px solid #2c2d33;
  box-shadow: 0 24px 60px rgba(0,0,0,.6); padding: 16px 18px; color: #fff; font-family: Inter, -apple-system, "Segoe UI", sans-serif; animation: lws-in .25s ease-out; }
@keyframes lws-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.lws-toast header { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lws-toast .lws-eb { font-size: 11px; letter-spacing: .2em; }
.lws-toast .lws-x { font-size: 18px; }
.lws-toast-m { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.lws-toast-m img { width: 46px; height: 46px; object-fit: contain; }
.lws-toast-m i { font-style: normal; font-family: "Bebas Neue", Inter, sans-serif; font-size: 22px; color: #8d92a0; }
.lws-toast-m > div { margin-left: 6px; min-width: 0; }
.lws-toast-m h3 { font-family: "Bebas Neue", Inter, sans-serif; font-weight: 400; font-size: 28px; line-height: 1; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lws-toast-m small { color: #8d92a0; font-size: 13px; }
.lws-toast .lws-play { cursor: pointer; }
.lws-linkbtn { background: none; border: 0; color: #fff; text-decoration: underline; font: inherit; cursor: pointer; padding: 0; }

/* ------------------------------------------------------------- celular */
@media (max-width: 1100px) {
  .lws-hero { flex-direction: column; padding: 28px; }
  .lws-agenda, .lws-wherebox { width: 100%; }
  .lws-cols { grid-template-columns: 1fr; }
  .lws-std { position: static; }
  .lws-modal-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .lws { padding-top: 0; }
  .lws-hero { padding: 20px 16px; border-radius: 16px; }
  .lws-hero-teams { gap: 10px; justify-content: space-between; }
  .lws-hero .lws-team { width: 110px; }
  .lws-hero .lws-team img { width: 72px !important; height: 72px !important; }
  .lws-vs.big { font-size: 40px; }
  .lws-hero h1 { font-size: 40px; }
  .lws-btns .lws-btn { flex: 1 1 auto; justify-content: center; }
  .lws-ag { grid-template-columns: 64px 1fr; }
  .lws-ag > .lws-pill { grid-column: 2; justify-self: start; }
  .lws-ag > i { display: none; }
  .lws-grid, .lws-grid.two, .lws-sums { grid-template-columns: 1fr; }
  .lws-cals { grid-template-columns: repeat(2, 1fr); }
  .lws-lhead h1 { font-size: 46px; } .lws-licon { width: 64px; height: 64px; font-size: 34px; }
  .lws-modal { padding: 0; align-items: stretch; }
  .lws-modal-body { border-radius: 0; padding: 20px 16px; min-height: 100%; }
  .lws-modal-teams .lws-team { width: 100px; } .lws-modal-teams .lws-team b { font-size: 20px; }
  .lws-modal-teams .lws-team img { width: 64px !important; height: 64px !important; }
  .lws-modal-teams { gap: 6px; }
  .lws-modal-teams > div:nth-child(2) { min-width: 0; flex: 1; }
  .lws-modal-teams .lws-team { width: 84px; }
  .lws-bigscore { font-size: 40px; }
  .lws-bigscore i { margin: 0 4px; }
  .lws-where { flex-wrap: wrap; }
  .lws-where > div { flex: 1 1 calc(100% - 110px); }
  .lws-where .lws-btn { width: 100%; justify-content: center; }
  .lws-toast { left: 12px; right: 12px; bottom: 84px; width: auto; padding: 14px; }
  .lws-toast .lws-strip { flex-wrap: wrap; }
  .lws-toast .lws-play { width: 100%; padding: 11px; font-size: 15px; border-radius: 12px; }
  .lws-wherebox { padding: 14px; }
}
