/* ============================================================================
   SANSAT PLAYER — Mobile Vertical Fase 4 Styles (profile-movil-vertical.css)
   Strictly scoped to html[data-device="mobile"]
   1:1 match with:
   - Perfil Hub (5th Tab)
   - settings.html & settings-language.html
   - account.html
   - downloads.html
   - notifications.html
   - replay-channels.html & replay.html
   ============================================================================ */

/* --- PERFIL HUB (5th Tab) + AJUSTES (settings.html) --- */
html[data-device="mobile"] .mv-settings-page .ver,
html[data-device="mobile"] .mv-profile-hub-page .ver {
  font-size: 15px;
  font-weight: 700;
  color: var(--mut);
  padding-right: 4px;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-hero,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-hero {
  position: relative;
  margin: 20px 20px 0;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(155deg, rgba(229, 9, 20, .32), rgba(20, 20, 26, .95) 68%);
  border: 1px solid rgba(255, 59, 71, .35);
  box-shadow: 0 20px 42px -18px rgba(229, 9, 20, .55);
  display: flex;
  align-items: center;
  gap: 16px;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-avatar,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ff2a36, #c40710);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  box-shadow: 0 10px 22px -8px rgba(229, 9, 20, .9);
}

html[data-device="mobile"] .mv-settings-page .mv-hub-avatar svg,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-avatar svg {
  width: 28px;
  height: 28px;
  stroke: #fff;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-info,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-info {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-info b,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-info b {
  display: block;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-info small,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-info small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .75);
  font-variant-numeric: tabular-nums;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-badge,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 12px;
  background: rgba(52, 211, 110, .16);
  border: 1px solid rgba(52, 211, 110, .45);
  color: #34d36e;
  font-size: 11.5px;
  font-weight: 700;
}

html[data-device="mobile"] .mv-settings-page .mv-hub-badge i,
html[data-device="mobile"] .mv-profile-hub-page .mv-hub-badge i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d36e;
}

/* --- PERFIL HUB GRID (2x2 Cards: Ajustes, Cuenta, Idioma, Cambiar Lista) --- */
html[data-device="mobile"] .mv-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 18px 20px 0;
}

html[data-device="mobile"] .mv-hub-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 18px 16px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease;
}

html[data-device="mobile"] .mv-hub-card:active {
  transform: scale(0.975);
  background: rgba(229, 9, 20, .15);
  border-color: rgba(255, 59, 71, .45);
}

html[data-device="mobile"] .mv-hub-card .ic {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: rgba(229, 9, 20, .14);
  border: 1px solid rgba(255, 59, 71, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red2);
  margin-bottom: 6px;
  flex: none;
}

html[data-device="mobile"] .mv-hub-card .ic svg {
  width: 22px !important;
  height: 22px !important;
  display: block;
}

html[data-device="mobile"] .mv-hub-card b {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  text-transform: capitalize;
}

html[data-device="mobile"] .mv-hub-card small {
  font-size: 12px;
  color: var(--mut);
  line-height: 1.3;
}

html[data-device="mobile"] .mv-settings-page .list,
html[data-device="mobile"] .mv-profile-hub-page .list {
  margin: 18px 18px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-device="mobile"] .mv-settings-page .r,
html[data-device="mobile"] .mv-profile-hub-page .r {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease;
}

html[data-device="mobile"] .mv-settings-page .r:active,
html[data-device="mobile"] .mv-profile-hub-page .r:active {
  transform: scale(0.985);
}

html[data-device="mobile"] .mv-settings-page .i,
html[data-device="mobile"] .mv-profile-hub-page .i {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.2px solid rgba(255, 59, 71, .75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--red2);
}

html[data-device="mobile"] .mv-settings-page .i svg,
html[data-device="mobile"] .mv-profile-hub-page .i svg {
  width: 18px;
  height: 18px;
}

html[data-device="mobile"] .mv-settings-page .t,
html[data-device="mobile"] .mv-profile-hub-page .t {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-settings-page .t b,
html[data-device="mobile"] .mv-profile-hub-page .t b {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.2px;
}

html[data-device="mobile"] .mv-settings-page .t small,
html[data-device="mobile"] .mv-profile-hub-page .t small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.25;
}

html[data-device="mobile"] .mv-settings-page .cv,
html[data-device="mobile"] .mv-profile-hub-page .cv {
  width: 15px;
  height: 15px;
  color: rgba(255, 255, 255, .35);
  flex: none;
}

html[data-device="mobile"][dir="rtl"] .mv-settings-page .cv,
html[data-device="mobile"][dir="rtl"] .mv-profile-hub-page .cv {
  transform: scaleX(-1);
}

html[data-device="mobile"] .mv-settings-page .foot,
html[data-device="mobile"] .mv-profile-hub-page .foot {
  margin: 26px 20px 0;
  text-align: center;
  font-size: 12.5px;
  color: rgba(255, 255, 255, .35);
}

/* --- IDIOMA (settings-language.html) --- */
html[data-device="mobile"] .mv-language-page .list {
  margin: 22px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-device="mobile"] .mv-language-page .o {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: 17px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease;
}

html[data-device="mobile"] .mv-language-page .o:active {
  transform: scale(0.985);
}

html[data-device="mobile"] .mv-language-page .o i {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.8px solid rgba(255, 255, 255, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

html[data-device="mobile"] .mv-language-page .o.on {
  background: linear-gradient(90deg, rgba(229, 9, 20, .4), rgba(229, 9, 20, .12));
  border-color: rgba(255, 59, 71, .55);
  box-shadow: inset 4px 0 0 var(--red2);
}

html[data-device="mobile"] .mv-language-page .o.on i {
  background: var(--red);
  border-color: var(--red);
}

html[data-device="mobile"] .mv-language-page .o.on i svg {
  width: 16px;
  height: 16px;
  stroke: #fff;
  stroke-width: 3;
}

/* --- CUENTA / SUSCRIPCIÓN (account.html) --- */
html[data-device="mobile"] .mv-account-page .hero {
  position: relative;
  margin: 22px 20px 0;
  padding: 24px 22px;
  border-radius: 28px;
  background: linear-gradient(160deg, #e5222d, #8f0b14);
  border: 1px solid rgba(255, 255, 255, .25);
  box-shadow: 0 24px 46px -18px rgba(229, 9, 20, .85);
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 20px;
}

html[data-device="mobile"] .mv-account-page .hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0));
  pointer-events: none;
}

html[data-device="mobile"] .mv-account-page .ring {
  position: relative;
  width: 104px;
  height: 104px;
  flex: none;
}

html[data-device="mobile"] .mv-account-page .ring svg {
  width: 104px;
  height: 104px;
  transform: rotate(-90deg);
  stroke-width: 9;
}

html[data-device="mobile"] .mv-account-page .ring .n {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

html[data-device="mobile"] .mv-account-page .ring .n b {
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

html[data-device="mobile"] .mv-account-page .ring .n small {
  font-size: 11px;
  font-weight: 600;
  opacity: .85;
  margin-top: 3px;
}

html[data-device="mobile"] .mv-account-page .hero .t b {
  display: block;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -.5px;
}

html[data-device="mobile"] .mv-account-page .hero .t small {
  display: block;
  margin-top: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .85);
}

html[data-device="mobile"] .mv-account-page .st {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 12px;
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .28);
  font-size: 12.5px;
  font-weight: 700;
}

html[data-device="mobile"] .mv-account-page .st i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #34d36e;
  box-shadow: 0 0 8px #34d36e;
}

html[data-device="mobile"] .mv-account-page .list {
  margin: 18px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-account-page .r {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  padding: 12px 18px 12px 14px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-account-page .l {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

html[data-device="mobile"] .mv-account-page .l span:last-child {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

html[data-device="mobile"] .mv-account-page .i {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 59, 71, .75);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: var(--red2);
}

html[data-device="mobile"] .mv-account-page .i svg {
  width: 22px;
  height: 22px;
}

html[data-device="mobile"] .mv-account-page .r b {
  font-size: 15.5px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

html[data-device="mobile"] .mv-account-page .r b.ok {
  color: #34d36e;
}

/* --- DESCARGAS (downloads.html) --- */
html[data-device="mobile"] .mv-downloads-page .seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 20px 20px 0;
  padding: 5px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-downloads-page .seg button {
  height: 46px;
  border: 0;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 600 14.5px inherit;
  font-family: inherit;
  color: rgba(255, 255, 255, .6);
  background: transparent;
  cursor: pointer;
}

html[data-device="mobile"] .mv-downloads-page .seg button svg {
  width: 18px;
  height: 18px;
}

html[data-device="mobile"] .mv-downloads-page .seg button.on {
  color: #fff;
  background: linear-gradient(180deg, #ff2a36, #c40710);
  box-shadow: 0 10px 22px -10px rgba(229, 9, 20, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}

html[data-device="mobile"] .mv-downloads-page .cnt {
  margin: 20px 20px 0;
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--mut);
}

html[data-device="mobile"] .mv-downloads-page .cnt b {
  color: #fff;
}

html[data-device="mobile"] .mv-downloads-page .list {
  margin: 12px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-downloads-page .it {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px 10px 10px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-downloads-page .th {
  width: 70px;
  aspect-ratio: 2 / 3;
  border-radius: 14px;
  overflow: hidden;
  flex: none;
  border: 1px solid var(--line);
  background: #141418;
}

html[data-device="mobile"] .mv-downloads-page .th img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-device="mobile"] .mv-downloads-page .tx {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-downloads-page .tx b {
  display: block;
  text-align: left;
  unicode-bidi: plaintext;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="mobile"] .mv-downloads-page .tx small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--mut);
}

html[data-device="mobile"] .mv-downloads-page .pg {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  margin-top: 12px;
  overflow: hidden;
}

html[data-device="mobile"] .mv-downloads-page .pg i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff2a36, #ff6a73);
}

html[data-device="mobile"] .mv-downloads-page .tx small.pt {
  margin-top: 7px;
  font-size: 11.5px;
}

html[data-device="mobile"] .mv-downloads-page .ab {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  cursor: pointer;
}

html[data-device="mobile"] .mv-downloads-page .ab svg {
  width: 18px;
  height: 18px;
}

html[data-device="mobile"] .mv-downloads-page .ab.red {
  background: linear-gradient(180deg, #ff2a36, #c40710);
  border-color: rgba(255, 255, 255, .25);
}

html[data-device="mobile"] .mv-downloads-page .it .ab + .ab {
  margin-left: -6px;
}

html[data-device="mobile"] .mv-downloads-page .panel {
  display: none;
}

html[data-device="mobile"] .mv-downloads-page .panel.on {
  display: block;
}

html[data-device="mobile"] .mv-downloads-page .empty {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 70px 40px 0;
  color: rgba(255, 255, 255, .4);
}

html[data-device="mobile"] .mv-downloads-page .empty .c {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, .25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

html[data-device="mobile"] .mv-downloads-page .empty .c svg {
  width: 34px;
  height: 34px;
}

html[data-device="mobile"] .mv-downloads-page .empty b {
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, .55);
}

html[data-device="mobile"] .mv-downloads-page .empty.show {
  display: flex;
}

/* --- NOTIFICACIONES (notifications.html) --- */
html[data-device="mobile"] .mv-notifications-page .mk {
  margin: 18px 20px 0;
  height: 50px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  border: 0;
  width: calc(100% - 40px);
  font-family: inherit;
  background: linear-gradient(180deg, #ff2a36, #c40710);
  box-shadow: 0 12px 26px -10px rgba(229, 9, 20, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
  cursor: pointer;
}

html[data-device="mobile"] .mv-notifications-page .mk svg {
  width: 19px;
  height: 19px;
}

html[data-device="mobile"] .mv-notifications-page .mk.off {
  background: rgba(255, 255, 255, .07);
  box-shadow: none;
  color: var(--mut);
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-notifications-page .list {
  margin: 18px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-notifications-page .n {
  display: flex;
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid var(--line);
  opacity: .8;
  cursor: pointer;
}

html[data-device="mobile"] .mv-notifications-page .bi {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: rgba(255, 255, 255, .5);
}

html[data-device="mobile"] .mv-notifications-page .bi svg {
  width: 23px;
  height: 23px;
}

html[data-device="mobile"] .mv-notifications-page .tx {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-notifications-page .top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

html[data-device="mobile"] .mv-notifications-page .bg {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  padding: 4px 10px;
  border-radius: 11px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  color: var(--mut);
}

html[data-device="mobile"] .mv-notifications-page .top small {
  font-size: 11.5px;
  color: var(--mut);
  font-variant-numeric: tabular-nums;
}

html[data-device="mobile"] .mv-notifications-page .tx b {
  display: block;
  margin-top: 10px;
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: rgba(255, 255, 255, .85);
}

html[data-device="mobile"] .mv-notifications-page .tx p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mut);
}

html[data-device="mobile"] .mv-notifications-page .n.un {
  opacity: 1;
  border-color: rgba(255, 59, 71, .45);
  background: linear-gradient(160deg, rgba(229, 9, 20, .2), rgba(255, 255, 255, .03));
}

html[data-device="mobile"] .mv-notifications-page .n.un .bi {
  background: linear-gradient(180deg, #ff2a36, #c40710);
  color: #fff;
}

html[data-device="mobile"] .mv-notifications-page .n.un .bg {
  background: var(--red);
  border-color: transparent;
  color: #fff;
}

html[data-device="mobile"] .mv-notifications-page .n.un .tx b {
  color: #fff;
}

/* --- REPETIR / CATCH-UP (replay-channels.html & replay.html) --- */
html[data-device="mobile"] .mv-replay-channels-page .list,
html[data-device="mobile"] .mv-replay-programs-page .list {
  margin: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-replay-channels-page .c {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px 12px 12px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.14s ease;
}

html[data-device="mobile"] .mv-replay-channels-page .c:active,
html[data-device="mobile"] .mv-replay-programs-page .c:active {
  transform: scale(0.985);
}

html[data-device="mobile"] .mv-replay-channels-page .lg {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  overflow: hidden;
  flex: none;
  background: #232327;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #c9a6ff;
}

html[data-device="mobile"] .mv-replay-channels-page .lg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-device="mobile"] .mv-replay-channels-page .tx {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-replay-channels-page .tx b {
  display: block;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="mobile"] .mv-replay-channels-page .tx small {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--mut);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="mobile"] .mv-replay-channels-page .pg {
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .12);
  margin-top: 11px;
  overflow: hidden;
}

html[data-device="mobile"] .mv-replay-channels-page .pg i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ff2a36, #ff6a73);
}

html[data-device="mobile"] .mv-replay-channels-page .ri,
html[data-device="mobile"] .mv-replay-programs-page .ri {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(229, 9, 20, .16);
  border: 1px solid rgba(255, 59, 71, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red2);
  flex: none;
}

html[data-device="mobile"] .mv-replay-channels-page .ri svg,
html[data-device="mobile"] .mv-replay-programs-page .ri svg {
  width: 22px;
  height: 22px;
}

html[data-device="mobile"] .mv-replay-programs-page .ch {
  margin: 18px 20px 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  background: rgba(229, 9, 20, .14);
  border: 1px solid rgba(229, 9, 20, .55);
  font-size: 14px;
  font-weight: 700;
}

html[data-device="mobile"] .mv-replay-programs-page .ch i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red2);
  box-shadow: 0 0 8px var(--red2);
}

html[data-device="mobile"] .mv-replay-programs-page .c {
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  cursor: pointer;
  transition: transform 0.14s ease;
}

html[data-device="mobile"] .mv-replay-programs-page .r {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

html[data-device="mobile"] .mv-replay-programs-page .r b {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.3px;
}

html[data-device="mobile"] .mv-replay-programs-page .c p {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--mut);
}

html[data-device="mobile"] .mv-replay-programs-page .f {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  font-size: 13.5px;
}

html[data-device="mobile"] .mv-replay-programs-page .f b {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

html[data-device="mobile"] .mv-replay-programs-page .f i {
  flex: 1;
  height: 2px;
  border-radius: 1px;
  background: rgba(255, 255, 255, .12);
}

html[data-device="mobile"] .mv-replay-programs-page .f span {
  color: var(--mut);
}

/* --- BÚSQUEDA GENERAL (search-movil-vertical) --- */
html[data-device="mobile"] .mv-search-page .seg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 14px 20px 0;
  padding: 5px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-search-page .seg button {
  height: 42px;
  border: 0;
  border-radius: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  font: 600 13.5px inherit;
  font-family: inherit;
  color: rgba(255, 255, 255, .6);
  background: transparent;
  cursor: pointer;
}

html[data-device="mobile"] .mv-search-page .seg button.on {
  color: #fff;
  background: linear-gradient(180deg, #ff2a36, #c40710);
  box-shadow: 0 10px 22px -10px rgba(229, 9, 20, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}

html[data-device="mobile"] .mv-search-page .mv-search-ch-list {
  margin: 16px 20px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

html[data-device="mobile"] .mv-search-page .mv-search-ch-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  cursor: pointer;
}

html[data-device="mobile"] .mv-search-page .mv-search-ch-logo {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #232327;
  border: 1px solid var(--line);
  overflow: hidden;
  flex: none;
}

html[data-device="mobile"] .mv-search-page .mv-search-ch-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-device="mobile"] .mv-search-page .mv-search-ch-name {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

html[data-device="mobile"] .mv-search-page .mv-search-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 14px;
  padding: 18px 20px 0;
}

html[data-device="mobile"] .mv-search-page .mv-search-card {
  cursor: pointer;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

html[data-device="mobile"] .mv-search-page .mv-search-card .cv {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  overflow: hidden;
  background: #141418;
  border: 1px solid var(--line);
  box-shadow: 0 18px 34px -14px rgba(0, 0, 0, .85);
}

html[data-device="mobile"] .mv-search-page .mv-search-card .cv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

html[data-device="mobile"] .mv-search-page .mv-search-card .nm {
  display: block;
  margin-top: 9px;
  padding: 0 2px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- EMPTY STATES (Search, Notifications, Replay, Sub-pages) --- */
html[data-device="mobile"] .mv-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 68px 32px 40px;
  color: rgba(255, 255, 255, .45);
}

html[data-device="mobile"] .mv-empty-state .ic {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1.5px dashed rgba(255, 255, 255, .22);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, .45);
  flex: none;
}

html[data-device="mobile"] .mv-empty-state .ic svg {
  width: 30px !important;
  height: 30px !important;
  display: block;
}

html[data-device="mobile"] .mv-empty-state b {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, .65);
  line-height: 1.4;
}

html[data-device="mobile"] .mv-empty-state p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--mut);
  max-width: 280px;
}

/* --- BOTTOM SHEET MODAL (Notifications detail, etc.) --- */
html[data-device="mobile"] .mv-profile-sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

html[data-device="mobile"] .mv-profile-sheet {
  width: 100%;
  max-width: 480px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 16px 22px calc(env(safe-area-inset-bottom, 16px) + 24px);
  border-radius: 28px 28px 0 0;
  background: linear-gradient(180deg, #1b1b22 0%, #101015 100%);
  border-top: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 -20px 50px rgba(0, 0, 0, .85);
}

html[data-device="mobile"] .mv-profile-sheet-handle {
  width: 42px;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .24);
  margin: 0 auto 18px;
}

html[data-device="mobile"] .mv-profile-sheet h3 {
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
  margin: 0;
}

html[data-device="mobile"] .mv-sheet-opt {
  width: 100%;
  height: 52px;
  border-radius: 26px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 15.5px;
  font-weight: 700;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

html[data-device="mobile"] .mv-sheet-opt.on {
  background: linear-gradient(180deg, #ff2a36, #c40710);
  border-color: rgba(255, 255, 255, .28);
  box-shadow: 0 12px 26px -10px rgba(229, 9, 20, .85);
}

/* --- DEDICATED SETTINGS SUB-PAGES (Modo interfaz, Categorías, PIN, Subtítulos, Stream, Búfer, Player, Historial, Caché) --- */
html[data-device="mobile"] .mv-subpage-info {
  margin: 14px 18px 0;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--line);
  font-size: 12px;
  line-height: 1.35;
  color: var(--mut);
}

html[data-device="mobile"] .mv-language-page .o.mv-opt-tall {
  height: auto;
  min-height: 58px;
  padding: 10px 14px;
  gap: 12px;
}

html[data-device="mobile"] .mv-opt-tx {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

html[data-device="mobile"] .mv-opt-tx b {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

html[data-device="mobile"] .mv-opt-tx small {
  font-size: 11.5px;
  font-weight: 400;
  color: var(--mut);
  line-height: 1.25;
}

html[data-device="mobile"] .mv-subpage-actions-row {
  display: flex;
  gap: 10px;
  margin: 14px 20px 0;
}

html[data-device="mobile"] .mv-sub-pill {
  flex: 1;
  height: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

html[data-device="mobile"] .mv-sub-pill.on {
  background: rgba(229, 9, 20, .18);
  border-color: rgba(255, 59, 71, .5);
  color: #ff6a73;
}

html[data-device="mobile"] .mv-subpage-card {
  margin: 14px 18px 0;
  padding: 14px 14px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025));
  border: 1px solid var(--line);
}

html[data-device="mobile"] .mv-subpage-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

html[data-device="mobile"] .mv-subpage-card-head .ic {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(229, 9, 20, .15);
  border: 1px solid rgba(255, 59, 71, .5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red2);
  flex: none;
}

html[data-device="mobile"] .mv-subpage-card-head .ic svg {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

html[data-device="mobile"] .mv-subpage-card-head b {
  display: block;
  font-size: 14.5px;
  font-weight: 700;
  color: #fff;
}

html[data-device="mobile"] .mv-subpage-card-head small {
  display: block;
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--mut);
  line-height: 1.3;
}

html[data-device="mobile"] .mv-subpage-primary-btn {
  margin-top: 14px;
  width: 100%;
  height: 44px;
  border-radius: 22px;
  border: 0;
  background: linear-gradient(180deg, #ff2a36, #c40710);
  box-shadow: 0 10px 22px -8px rgba(229, 9, 20, .85), inset 0 1px 0 rgba(255, 255, 255, .28);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}

html[data-device="mobile"] .mv-subpage-primary-btn:active {
  transform: scale(0.985);
}

html[data-device="mobile"] .mv-subpage-pin-input {
  width: 100%;
  height: 54px;
  margin-top: 12px;
  padding: 0 18px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 6px;
  text-align: center;
  font-family: inherit;
}

html[data-device="mobile"] .mv-subpage-pin-input:focus {
  border-color: var(--red2);
}

html[data-device="mobile"] .mv-sub-preview-box {
  margin: 16px 20px 0;
  padding: 24px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #1b1b24, #0d0d12);
  border: 1px solid var(--line);
  text-align: center;
}

html[data-device="mobile"] .mv-sub-preview-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--mut);
  margin-bottom: 12px;
}

html[data-device="mobile"] .mv-sub-preview-text {
  margin: 0;
  color: #fff;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .9);
}


