/**
 * SANSAT Player — Fase 1 Mobile Vertical Styles (index-movil-vertical.css)
 * Covers:
 *   1. Splash Screen (splash.html)
 *   2. Trial Screen (trial.html)
 *   3. Expired Paywall Screen (expired.html)
 *   4. Banned / Suspended Screen (banned.html)
 *   5. Loading / Sync Screen (loading.html)
 *   6. Servers & Playlists Screen (servers.html)
 * Strictly scoped to html[data-device="mobile"] so TV/Desktop horizontal is 100% untouched.
 */

/* ==========================================================================
   1. MOBILE VERTICAL SPLASH SCREEN (splash.html)
   ========================================================================== */
html[data-device="mobile"] #splash-screen.mv-splash-active {
  background: var(--bg, #060607) !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  z-index: 99999 !important;
}

html[data-device="mobile"] #splash-screen.mv-splash-active.hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.35s ease !important;
}

html[data-device="mobile"] .mv-app.mv-splash {
  padding: calc(env(safe-area-inset-top, 0px) + 40px) 28px calc(env(safe-area-inset-bottom, 0px) + 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 100dvh;
  background: radial-gradient(circle at 50% 42%, rgba(229, 9, 20, .28) 0%, rgba(12, 12, 16, .96) 58%, #050507 100%);
}

html[data-device="mobile"] .mv-app.mv-splash::before {
  display: none;
}

html[data-device="mobile"] .mv-splash-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 42px;
}

html[data-device="mobile"] .mv-splash .lg {
  position: relative;
  width: 138px;
  height: 138px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: mv-splash-float 2.6s ease-in-out infinite;
}

html[data-device="mobile"] .mv-splash .lg::before {
  content: "";
  position: absolute;
  inset: -44px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 9, 20, .62), rgba(229, 9, 20, .18) 55%, rgba(229, 9, 20, 0));
  animation: mv-splash-glow 2.2s ease-in-out infinite alternate;
}

html[data-device="mobile"] .mv-splash .mv-logo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: rgba(255, 59, 71, .85);
  border-right-color: rgba(255, 59, 71, .25);
  animation: mv-spin 1.8s cubic-bezier(.45, .05, .55, .95) infinite;
}

html[data-device="mobile"] .mv-splash .lg img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(229, 9, 20, .68));
}

html[data-device="mobile"] .mv-splash-loader {
  width: 168px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

html[data-device="mobile"] .mv-splash-bar {
  width: 100%;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, .1);
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .6);
}

html[data-device="mobile"] .mv-splash-bar-fill {
  height: 100%;
  width: 45%;
  border-radius: 99px;
  background: linear-gradient(90deg, #c40710 0%, #ff2a36 55%, #ff8a92 100%);
  box-shadow: 0 0 14px rgba(255, 42, 54, .95);
  animation: mv-splash-bar-indeterminate 1.35s cubic-bezier(.4, 0, .2, 1) infinite;
}

@keyframes mv-splash-float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-5px) scale(1.03); }
}

@keyframes mv-splash-glow {
  0% { opacity: 0.65; transform: scale(0.94); }
  100% { opacity: 1; transform: scale(1.08); }
}

@keyframes mv-splash-bar-indeterminate {
  0% { transform: translateX(-110%); width: 42%; }
  50% { width: 65%; }
  100% { transform: translateX(240%); width: 42%; }
}

/* ==========================================================================
   2, 3, 4. TRIAL, EXPIRED & BANNED SCREENS (trial.html, expired.html, banned.html)
   ========================================================================== */
html[data-device="mobile"] .mv-app.mv-paywall {
  padding: calc(env(safe-area-inset-top, 0px) + 20px) 18px calc(env(safe-area-inset-bottom, 0px) + 32px);
  min-height: 100dvh;
  height: auto !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
}

html[data-device="mobile"] .mv-app.mv-paywall::before {
  top: -120px;
  height: 560px;
}

html[data-device="mobile"] .mv-app.mv-paywall.mv-expired::before {
  background: radial-gradient(closest-side, rgba(229, 9, 20, .5), rgba(229, 9, 20, .16) 55%, rgba(229, 9, 20, 0));
}

html[data-device="mobile"] .mv-app.mv-paywall.mv-banned::before {
  background: radial-gradient(closest-side, rgba(229, 9, 20, .42), rgba(120, 0, 10, .2) 55%, rgba(229, 9, 20, 0));
}

html[data-device="mobile"] .mv-paywall .top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

html[data-device="mobile"] .mv-paywall .lg {
  position: relative;
  width: 72px;
  height: 72px;
}

html[data-device="mobile"] .mv-paywall .lg::before {
  content: "";
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 9, 20, .55), rgba(229, 9, 20, 0));
}

html[data-device="mobile"] .mv-paywall .lg img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(229, 9, 20, .55));
}

html[data-device="mobile"] .mv-paywall .sh {
  position: relative;
  margin-top: 16px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(229, 9, 20, .16);
  border: 1.5px solid rgba(255, 59, 71, .8);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff3b47;
}

html[data-device="mobile"] .mv-paywall .sh svg {
  width: 28px;
  height: 28px;
}

html[data-device="mobile"] .mv-paywall .top h1 {
  position: relative;
  margin-top: 14px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #fff;
}

html[data-device="mobile"] .mv-paywall .top h1.red {
  color: #ff2a36;
  text-shadow: 0 0 30px rgba(229, 9, 20, .45);
}

html[data-device="mobile"] .mv-paywall .top p {
  position: relative;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .75);
  max-width: 320px;
}

html[data-device="mobile"] .mv-paywall .pl {
  position: relative;
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid var(--line);
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

html[data-device="mobile"] .mv-paywall .pl b,
html[data-device="mobile"] .mv-paywall .pl .days-red {
  color: var(--red2);
  font-size: 15px;
  font-weight: 800;
}

html[data-device="mobile"] .mv-paywall .pn {
  position: relative;
  margin: 16px 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

html[data-device="mobile"] .mv-paywall .pn-sub {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .72);
  margin: -2px 0 8px;
  position: relative;
}

html[data-device="mobile"] .mv-paywall .box {
  position: relative;
  border-radius: 22px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(229, 9, 20, .35), rgba(90, 6, 16, .5));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 20px 40px -24px rgba(229, 9, 20, .8);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

html[data-device="mobile"] .mv-paywall .st {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .07);
}

html[data-device="mobile"] .mv-paywall .dv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(14, 14, 18, .85) !important;
  border: 1.5px solid rgba(255, 59, 71, .55) !important;
  box-shadow: 0 4px 18px -4px rgba(229, 9, 20, .45);
}

html[data-device="mobile"] .mv-paywall .dv .i {
  background: rgba(229, 9, 20, .25);
  border-color: rgba(255, 59, 71, .75);
  color: #ff3b47;
}

html[data-device="mobile"] .mv-paywall .i {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, .35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  background: rgba(0, 0, 0, .3);
  color: #fff;
}

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

html[data-device="mobile"] .mv-paywall .st p {
  font-size: 13.5px;
  line-height: 1.45;
  font-weight: 500;
  color: #fff;
  margin: 0;
}

html[data-device="mobile"] .mv-paywall .st a {
  color: var(--red2);
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
}

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

html[data-device="mobile"] .mv-paywall .rw {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
}

html[data-device="mobile"] .mv-paywall .rw span {
  min-width: 0;
}

html[data-device="mobile"] .mv-paywall .rw em {
  font-style: normal;
  color: #ff4757;
  font-weight: 800;
  display: inline-block;
  font-variant-numeric: tabular-nums;
  word-break: break-all;
  direction: ltr;
  font-family: monospace, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas;
}

html[data-device="mobile"] .mv-paywall .cp {
  flex: none;
  height: 34px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1.5px solid var(--red2);
  background: transparent;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.5px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

html[data-device="mobile"] .mv-paywall .cp:active {
  transform: scale(0.94);
}

html[data-device="mobile"] .mv-paywall .cp.ok {
  background: rgba(52, 211, 110, .2);
  border-color: #34d36e;
  color: #34d36e;
}

html[data-device="mobile"] .mv-paywall .ac {
  position: relative;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-paywall .ac-row {
  display: flex;
  gap: 12px;
}

html[data-device="mobile"] .mv-paywall .bt {
  height: 54px;
  border-radius: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  border: 0;
  color: #fff;
  font-family: inherit;
  width: 100%;
  cursor: pointer;
  transition: transform 0.14s ease;
}

html[data-device="mobile"] .mv-paywall .bt:active {
  transform: scale(0.97);
}

html[data-device="mobile"] .mv-paywall .bt svg {
  width: 20px;
  height: 20px;
}

html[data-device="mobile"] .mv-paywall .bt.p {
  background: linear-gradient(180deg, #ff2a36, #c40710);
  box-shadow: 0 14px 30px -10px rgba(229, 9, 20, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}

html[data-device="mobile"] .mv-paywall .bt.s {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 59, 71, .9);
}

html[data-device="mobile"] .mv-paywall .bt.k {
  background: #000;
  border: 1.5px solid rgba(255, 255, 255, .55);
}

html[data-device="mobile"] .mv-paywall .sm {
  position: relative;
  margin-top: 22px;
  text-align: center;
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   5. MOBILE VERTICAL LOADING / SYNC SCREEN (loading.html)
   ========================================================================== */
html[data-device="mobile"] .mv-app.mv-loading {
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 32px);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

html[data-device="mobile"] .mv-app.mv-loading::before {
  top: -80px;
  height: 520px;
}

html[data-device="mobile"] .mv-loading .top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: calc(env(safe-area-inset-top, 0px) + 56px) 28px 0;
}

html[data-device="mobile"] .mv-loading .lg {
  position: relative;
  width: 96px;
  height: 96px;
}

html[data-device="mobile"] .mv-loading .lg::before {
  content: "";
  position: absolute;
  inset: -34px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(229, 9, 20, .55), rgba(229, 9, 20, 0));
}

html[data-device="mobile"] .mv-loading .lg img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(229, 9, 20, .55));
}

html[data-device="mobile"] .mv-loading .br {
  position: relative;
  margin-top: 20px;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
}

html[data-device="mobile"] .mv-loading .br em {
  font-style: normal;
  color: var(--red2);
}

html[data-device="mobile"] .mv-loading .tg {
  position: relative;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

html[data-device="mobile"] .mv-loading .fa {
  position: relative;
  margin-top: 10px;
  font-size: 12.5px;
  line-height: 1.6;
  color: var(--mut);
  max-width: 320px;
}

html[data-device="mobile"] .mv-loading .card {
  position: relative;
  margin: 34px 20px 0;
  padding: 24px 20px 22px;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(229, 9, 20, .55), rgba(110, 8, 20, .65));
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 30px 60px -28px rgba(229, 9, 20, .8);
  text-align: center;
}

html[data-device="mobile"] .mv-loading .card h2 {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.4px;
  color: #fff;
  margin: 0;
}

html[data-device="mobile"] .mv-loading .card p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, .78);
}

html[data-device="mobile"] .mv-loading .pr {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

html[data-device="mobile"] .mv-loading .p {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid rgba(255, 255, 255, .08);
  text-align: start;
}

html[data-device="mobile"] .mv-loading .p .l {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

html[data-device="mobile"] .mv-loading .p .l span {
  font-variant-numeric: tabular-nums;
}

html[data-device="mobile"] .mv-loading .bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .14);
  margin-top: 11px;
  overflow: hidden;
}

html[data-device="mobile"] .mv-loading .bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: #fff;
  transition: width 0.18s ease-out;
}

html[data-device="mobile"] .mv-loading .bar i.act {
  background: linear-gradient(90deg, #fff, #ffd0d3);
}

html[data-device="mobile"] .mv-loading .cn {
  margin-top: 20px;
  height: 50px;
  padding: 0 40px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 15.5px;
  font-family: inherit;
  color: #fff;
  background: rgba(0, 0, 0, .3);
  border: 1.5px solid rgba(255, 59, 71, .9);
  cursor: pointer;
  transition: transform 0.14s ease;
}

html[data-device="mobile"] .mv-loading .cn:active {
  transform: scale(0.96);
}

/* ==========================================================================
   6. MOBILE VERTICAL SERVERS & PLAYLISTS SCREEN (servers.html)
   ========================================================================== */
html[data-device="mobile"] .mv-servers .dev {
  position: relative;
  margin: 22px 20px 0;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  box-shadow: 0 24px 46px -26px rgba(229, 9, 20, .6);
}

html[data-device="mobile"] .mv-servers .dev .lb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.9px;
  color: var(--mut);
  text-transform: uppercase;
}

html[data-device="mobile"] .mv-servers .dev .lb svg {
  width: 16px;
  height: 16px;
  color: var(--red2);
}

html[data-device="mobile"] .mv-servers .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

html[data-device="mobile"] .mv-servers .val {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.6px;
  font-variant-numeric: tabular-nums;
  margin-top: 8px;
  color: #fff;
  direction: ltr;
}

html[data-device="mobile"] .mv-servers .val-sub {
  font-size: 12.5px;
  color: var(--mut);
  margin-top: 4px;
}

html[data-device="mobile"] .mv-servers .cp {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  color: #fff;
  margin-top: 6px;
  cursor: pointer;
  transition: transform 0.14s ease, background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

html[data-device="mobile"] .mv-servers .cp:active {
  transform: scale(0.92);
}

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

html[data-device="mobile"] .mv-servers .cp.ok {
  background: rgba(52, 211, 110, .2);
  border-color: rgba(52, 211, 110, .6);
  color: #34d36e;
}

html[data-device="mobile"] .mv-servers .sep {
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

html[data-device="mobile"] .mv-servers .sh {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 28px 20px 14px;
}

html[data-device="mobile"] .mv-servers .sh h2 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: #fff;
  margin: 0;
}

html[data-device="mobile"] .mv-servers .rf {
  height: 40px;
  padding: 0 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  background: rgba(229, 9, 20, .14);
  border: 1px solid rgba(229, 9, 20, .5);
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.14s ease;
}

html[data-device="mobile"] .mv-servers .rf:active {
  transform: scale(0.95);
}

html[data-device="mobile"] .mv-servers .rf svg {
  width: 16px;
  height: 16px;
}

html[data-device="mobile"] .mv-servers .srv-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

html[data-device="mobile"] .mv-servers .srv {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 20px;
  padding: 20px;
  border-radius: 26px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.14s ease, border-color 0.14s ease;
}

html[data-device="mobile"] .mv-servers .srv.selected {
  background: linear-gradient(160deg, #e5222d, #a50d16);
  border: 1.5px solid rgba(255, 255, 255, .85);
  box-shadow: 0 18px 36px -14px rgba(229, 9, 20, .9);
}

html[data-device="mobile"] .mv-servers .srv:active {
  transform: scale(0.98);
}

html[data-device="mobile"] .mv-servers .srv .ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

html[data-device="mobile"] .mv-servers .srv .ic svg {
  width: 26px;
  height: 26px;
}

html[data-device="mobile"] .mv-servers .srv .t {
  flex: 1;
  min-width: 0;
}

html[data-device="mobile"] .mv-servers .srv b {
  display: block;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

html[data-device="mobile"] .mv-servers .srv small {
  display: block;
  margin-top: 4px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, .85);
}

html[data-device="mobile"] .mv-servers .srv .ch {
  width: 22px;
  height: 22px;
  opacity: 0.9;
  flex: none;
}

html[data-device="mobile"][dir="rtl"] .mv-servers .srv .ch {
  transform: scaleX(-1);
}

html[data-device="mobile"] .mv-servers .notice {
  margin: 26px 20px 0;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.65;
  color: var(--mut);
}

html[data-device="mobile"] .mv-servers .notice b {
  color: #fff;
  font-weight: 600;
}

html[data-device="mobile"] .mv-servers .notice a {
  color: var(--red2);
  font-weight: 600;
  text-decoration: underline;
}
