html, body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: #0c1216;
  background: var(--bg, #0c1216);
  color: #f4f7f8;
  color: var(--text, #f4f7f8);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0;
}

.view-login h1 {
  display: none !important;
}


.provider-help {
  margin-top: 14px;
  padding: 14px 18px;
  width: 100%;
  max-width: 640px;
  border: 1px solid rgba(46, 204, 113, 0.35);
  background: rgba(46, 204, 113, 0.06);
  color: #cbd5e1;
  font-size: 17px;
  line-height: 1.45;
  border-radius: 4px;
text-align: center;
}

.provider-help strong, .provider-help b {
  color: #2ecc71;
  font-weight: 800;
}

.brand-logo {
  display: block;
  max-width: 520px;
  overflow: hidden;
}

.brand-logo-img {
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
}

.brand-logo-text {
  display: block;
  overflow: hidden;
  color: var(--text, #f4f7f8);
  font-size: 34px;
  font-weight: 800;
  line-height: 72px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.login-logo {
  margin: 0 auto 20px;
  text-align: center;
}

.login-logo .brand-logo-img {
  margin: 0 auto;
}

.login-logo .brand-logo-text {
  text-align: center;
}

@keyframes epgArrow {
  from { transform: translateX(0); }
  to   { transform: translateX(6px); }
}

* {
  box-sizing: border-box;
}

label span, .topbar p, .channel-epg, .empty-state, .epg-channel, .epg-time, .movies-detail, .panel-item-meta, .setting-help {
  color: #aab6bd;
}

input, button, .secondary, .channel, .group-item, .epg-program, .movie-menu-item, .movie-filter-item, .panel-item {
  border-color: #33434d;
  background: #172128;
  color: #f6f8f9;
}

.status, .groups-panel, .channels-panel, .epg-panel, .movies-menu-panel, .movies-list, .movies-detail-panel {
  border: 1px solid #33434d;
  border-color: #33434d;
  background: #131c22;
  color: #d3dde2;
}

.favorite-star, .epg-day-title {
  color: #28d17c;
}

.exit-overlay {
  position: fixed;
  z-index: 1300;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .72);
}

.exit-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-color: #28d17c;
  background: #131c22;
  color: #f4f7f8;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.exit-dialog h2 {
  margin: 0;
}

.exit-message {
  color: #aab6bd;
}

.exit-actions {
  overflow: hidden;
}

.exit-button {
  float: left;
  width: calc(50% - 6px);
  min-width: 0 !important;
  max-width: none;
  box-sizing: border-box;
}

.exit-button + .exit-button {
  float: right;
}

.parental-overlay {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .72);
}

.parental-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  border-style: solid;
  border-color: #28d17c;
  background: #131c22;
  color: #f4f7f8;
}

.parental-dialog h2 {
  margin: 0;
}

.parental-message {
  color: #aab6bd;
}

.parental-code {
  width: 100%;
}

.parental-actions {
  overflow: hidden;
}

.parental-button {
  float: left;
  width: 48%;
}

.parental-button + .parental-button {
  float: right;
}

.movie-resume-overlay {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .72);
}

.movie-resume-dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 560px;
  max-width: calc(100% - 64px);
  padding: 28px 32px 30px;
  border-style: solid;
  border-width: 4px;
  border-color: #28d17c;
  background: #131c22;
  color: #f4f7f8;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.movie-resume-dialog h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.movie-resume-message {
  margin: 16px 0 26px;
  color: #aab6bd;
  font-size: 22px;
  line-height: 1.35;
}

.movie-resume-actions {
  overflow: hidden;
}

.movie-resume-button {
  float: left;
  width: calc(50% - 6px);
  height: 56px;
  min-width: 0 !important;
  max-width: none;
  font-size: 20px;
  line-height: 48px;
  box-sizing: border-box;
}

.movie-resume-button + .movie-resume-button {
  float: right;
}

.channel, .panel-item, .movie-filter-item {
  border-left-color: #28d17c;
}

.focusable:focus, .focused, .channel:focus, .channel.focused, .group-item:focus, .group-item.focused, .epg-program:focus, .epg-program.focused, .epg-date-item:focus, .epg-date-item.focused, .movie-menu-item:focus, .movie-menu-item.focused, .movie-filter-item:focus, .movie-filter-item.focused, .panel-item:focus, .panel-item.focused, .parental-button:focus, .parental-code:focus, .exit-button:focus, .movie-resume-button:focus {
  box-shadow: inset 0 0 0 3px #28d17c;
}

.virtual-keyboard-panel {
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 920px;
  margin-left: -460px;
  padding: 18px 20px 20px;
  border: 4px solid #33434d;
  background: #10181e;
  color: #f4f7f8;
}

.virtual-keyboard-title {
  float: left;
  width: 210px;
  height: 46px;
  font-size: 24px;
  font-weight: 800;
  line-height: 46px;
}

.virtual-keyboard-preview {
  height: 46px;
  margin-left: 230px;
  margin-bottom: 12px;
  padding: 0 14px;
  border: 3px solid #33434d;
  background: #172128;
  color: #fff;
  font-size: 24px;
  line-height: 40px;
  overflow: hidden;
  white-space: nowrap;
}

.virtual-keyboard-keys {
  clear: both;
}

.virtual-key-row {
  height: 56px;
  margin-bottom: 8px;
  text-align: center;
  white-space: nowrap;
}

.virtual-key-row:last-child {
  margin-bottom: 0;
}

.virtual-key {
  display: inline-block;
  min-width: 70px;
  height: 52px;
  margin: 0 4px;
  padding: 0 12px;
  border: 3px solid #33434d;
  background: #172128;
  color: #f4f7f8;
  font-size: 22px;
  font-weight: 800;
  line-height: 46px;
  text-align: center;
  vertical-align: top;
}

.virtual-key.wide {
  min-width: 170px;
}

.virtual-key.control {
  min-width: 92px;
  color: #d3dde2;
}

.virtual-key.primary {
  min-width: 110px;
  border-color: #28d17c;
  background: #28d17c;
  color: #07100b;
}

.virtual-key.vk-focus {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(40, 209, 124, .24);
}

button, input {
  font: inherit;
}

.app {
  width: 100%;
  height: 100%;
}

.view-catalog {
  display: block;
}

.view-home {
  display: block;
  padding: 44px 54px;
}

.home-header {
  display: block;
  height: 72px;
}

.home-header:after, .home-grid:after {
  display: table;
  clear: both;
  content: "";
}

.home-logo {
  position: static;
  float: left;
  color: var(--text, #f4f7f8);
  font-size: 34px;
  font-weight: 800;
  line-height: 72px;
}

.home-clock {
  float: right;
  min-width: 500px;
  color: var(--text, #f4f7f8);
  font-size: 0;
  line-height: 72px;
  text-align: right;
  white-space: nowrap;
  margin-right: 20px;
}

.home-clock-date {
  display: inline-block;
  overflow: hidden;
  color: var(--muted, #aab6bd);
  font-size: 18px;
  font-weight: 700;
  line-height: 72px;
  vertical-align: top;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-clock-time {
  display: inline-block;
  margin-left: 16px;
  color: var(--text, #f4f7f8);
  font-size: 28px;
  font-weight: 800;
  line-height: 72px;
  vertical-align: top;
  white-space: nowrap;
}

.home-clock .far {
  margin-right: 8px;
  color: var(--primary, #28d17c);
  font-size: .72em;
}



.home-center {
  width: 980px;
  max-width: 92%;
  margin: 9vh auto 0;
}

.home-tile {
  float: left;
  width: 23.5%;
  height: 190px;
  min-height: 190px;
  margin-right: 2%;
  padding: 22px 16px;
  border: 4px solid var(--border, #33434d);
  background: var(--panel, #172128);
  color: var(--text, #f4f7f8);
  text-align: center;
}

.home-tile:nth-child(4n) {
  margin-right: 0;
}

.home-tile-reload {
  clear: both;
  float: none;
  display: block;
  position: relative;
  top: 34px;
  width: 100%;
  height: 86px;
  min-height: 86px;
  margin: 34px 0 0;
  padding: 12px 18px;
}

.home-tile-reload .home-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 16px 0 0;
  vertical-align: middle;
}

.home-tile-reload .home-tile-icon .fas {
  position: relative;
  top: -0.07em;
  font-size: 25px;
  line-height: 1;
}

.home-tile-reload b {
  display: inline-block;
  max-width: calc(100% - 76px);
  font-size: 26px;
  line-height: 48px;
  vertical-align: middle;
}

.home-tile-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border: 3px solid var(--primary, #28d17c);
  color: var(--primary, #28d17c);
  text-align: center;
}

.home-tile-icon .fas {
  position: relative;
  top: -0.07em;
  font-size: 48px;
  line-height: 1;
}

.home-tile b {
  display: block;
  overflow: hidden;
  font-size: 27px;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.startup-box {
  display: table-cell;
  width: 100%;
  height: 100%;
  text-align: center;
  vertical-align: middle;
}

.startup-spinner {
  margin-left: auto;
  margin-right: auto;
  border-style: solid;
  border-color: #33434d;
  border-top-color: #28d17c;
  border-radius: 50%;
  -webkit-animation: bridge-spin 1s linear infinite;
  animation: bridge-spin 1s linear infinite;
}

.startup-status {
  color: #aab6bd;
}

@-webkit-keyframes bridge-spin {
  from {
  -webkit-transform: rotate(0deg);
  }
  to {
  -webkit-transform: rotate(360deg);
  }
}

@keyframes bridge-spin {
  from {
  transform: rotate(0deg);
  }
  to {
  transform: rotate(360deg);
  }
}

.login-grid label {
  display: block;
  float: left;
  width: 49%;
  margin-bottom: 22px;
}

.login-grid label + label {
  margin-left: 2%;
}

.login-grid:after, .top-actions:after, .catalog-shell:after, .movies-shell:after, .panel-header:after, .panel-actions:after {
  display: table;
  clear: both;
  content: "";
}

button {
  cursor: pointer;
  font-weight: 700;
}

.primary {
  background: #28d17c;
  border-color: #28d17c;
  color: #07100b;
  clear: both;
  background: var(--primary, #28d17c);
  border-color: var(--primary, #28d17c);
  color: var(--primary-text, #07100b);
}

.secondary {
  min-width: 160px;
  background: var(--panel, #1b2932);
}

.focusable:focus, .focused {
  border-color: var(--primary, #d9ee46);
  box-shadow: 0 0 0 1px var(--focus-shadow, rgba(40, 209, 124, .24));
}

.primary:focus, .primary.focused, .parental-button:focus, .parental-button.focused, .movie-resume-button:focus, .movie-resume-button.focused {
  border-color: var(--focus-border, #ffffff);
  background: var(--button-primary, var(--primary, #28d17c));
  color: var(--button-primary-text, var(--primary-text, #07100b));
  box-shadow: inset 0 0 0 4px var(--button-primary-text, var(--primary-text, #07100b)), 0 0 0 3px var(--focus-border, #ffffff), 0 0 0 8px var(--focus-shadow, rgba(40, 209, 124, .42));
}

.secondary.parental-button:focus, .secondary.parental-button.focused, .secondary.movie-resume-button:focus, .secondary.movie-resume-button.focused {
  background: #172128;
  background: var(--panel, #172128);
  color: #ffffff;
  color: var(--text, #ffffff);
}

.topbar p {
  display: none;
  margin: 0;
  color: var(--muted, #9fabb3);
  font-size: 18px;
}

.top-actions .secondary {
  float: left;
  width: 32%;
  margin-left: 2%;
  min-width: 0;
}

.top-actions .secondary:first-child {
  margin-left: 0;
}

.catalog-shell {
  display: block;
  min-height: 0;
  height: calc(100% - 118px);
  margin-top: 28px;
  overflow: hidden;
}

.groups-panel {
  float: left;
  width: 340px;
  margin-right: 22px;
}

.epg-panel {
  float: right;
  width: 500px;
}

.channels, .groups, #groups, .epg-list {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  touch-action: pan-y;
}

.channels::-webkit-scrollbar, .groups::-webkit-scrollbar, #groups::-webkit-scrollbar, .epg-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.channels-panel {
  float: left;
  min-width: 0;
  height: 100%;
  min-height: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.channels {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.channel-progress-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #762222;
}

.empty-state {
  padding: 24px;
  border-left: 6px solid var(--border, #33434d);
  background: var(--panel, #172128);
  color: var(--muted, #aab6bd);
  font-size: 22px;
  line-height: 1.35;
}

.group-item {
  display: block;
  min-height: 58px;
  margin-bottom: 10px;
  padding: 0 18px;
  border-left: 5px solid var(--border, #33434d);
  background: var(--panel, #172128);
  color: var(--text, #f6f8f9);
  font-size: 22px;
}

.channel:focus, .channel.focused, .group-item:focus, .group-item.focused, .epg-program:focus, .epg-program.focused, .epg-date-item:focus, .epg-date-item.focused {
  background: var(--panel-alt, #263944);
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c);
  outline: none;
}

.group-item.active {
  border-left-color: var(--primary, #28d17c);
}

.groups-panel, .epg-panel {
  position: relative;
  min-width: 0;
  height: 100%;
  padding: 18px;
  box-sizing: border-box;
  border: 1px solid var(--border, #33434d);
  background: var(--panel-alt, #131c22);
  overflow: hidden;
}

.groups-panel::before, .groups-panel::after {
  display: none;
  position: absolute;
  top: 24px;
  z-index: 2;
}

.groups-panel::before {
  right: 82px;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 12px solid #0f9;
  content: "";
  animation: groupArrow 1s infinite alternate;
}

.groups-panel::after {
  right: 18px;
  color: #00ff99;
  content: "Menu";
  font-size: 14px;
  font-weight: 700;
  line-height: 12px;
  white-space: nowrap;
}

.catalog-shell.focus-group .groups-panel::before, .catalog-shell.focus-group .groups-panel::after {
  display: block;
}

@keyframes groupArrow {
  from { transform: translateX(0); }
  to { transform: translateX(-6px); }
}

.groups-panel h2, .epg-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.groups, #groups, .epg-list {
  height: calc(100% - 48px);
  min-height: 0;
}

.groups, #groups {
  display: block;
  overscroll-behavior: contain;
}

.epg-channel-icon {
  float: left;
  width: 32px;
  height: 32px;
  margin-right: 10px;
  background: #fff;
  object-fit: contain;
}

.epg-channel-name {
  display: block;
  overflow: hidden;
  line-height: 32px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.epg-summary-list {
  overflow: hidden;
}

.epg-summary-card {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: var(--panel, #172128);
  border-left: 5px solid var(--primary, #28d17c);
}

.epg-summary-label {
  color: var(--primary, #28d17c);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.epg-summary-time {
  margin-top: 7px;
  color: var(--muted, #aab6bd);
  font-size: 17px;
}

.epg-summary-title {
  margin-top: 6px;
  color: var(--text, #f4f7f8);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.18;
}

.epg-summary-description {
  margin-top: 9px;
  max-height: 140px;
  overflow: hidden;
  color: var(--text, #f4f7f8);
  font-size: 17px;
  line-height: 1.25;
}

.epg-time {
  color: var(--muted, #aab6bd);
}

.epg-date-picker {
  height: calc(100% - 48px);
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

.epg-date-picker::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.epg-date-item {
  margin: 0 0 8px 0;
  padding: 12px 14px;
  background: #172128;
  background-color: #172128;
  background: var(--panel, #172128);
  border: 1px solid #26343d;
  border-left: 4px solid transparent;
  box-sizing: border-box;
  font-size: 14px;
  outline: none;
}

.epg-date-item.active {
  border-left-color: var(--primary, #28d17c);
  color: var(--primary, #28d17c);
  font-weight: 700;
}

.html-video {
  width: 100%;
  height: 100%;
  background: #000;
}

.player-osd {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 160;
  padding: 14px 26px 32px;
  background: rgba(58, 58, 58, .92);
  color: #fff;
  box-sizing: border-box;
}

.player-osd-icon {
  float: left;
  margin-right: 18px;
  background: rgba(0, 0, 0, .24);
  overflow: hidden;
}

.player-osd-icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  background: #fff;
}

.player-osd-icon.empty {
  display: none;
}

.player-osd-main {
  overflow: hidden;
  padding-right: 180px;
  padding-bottom: 16px;
}

.player-osd-title {
  line-height: 38px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-osd-line {
  margin-top: 4px;
  color: #f4f7f8;
  font-size: 14px;
  line-height: 29px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-osd-progress {
  position: absolute;
  left: 488px;
  right: 100px;
  bottom: 95px;
  height: 8px;
  background: rgba(218, 218, 218, .9);
  overflow: hidden;
}

.player-osd-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #9b2a2a;
}

.player-osd-time {
  position: absolute;
  top: 24px;
  right: 26px;
  width: 160px;
  text-align: right;
  font-size: 14px;
  font-weight: 700;
}

.player-help {
  position: absolute;
  left: 42px;
  right: auto;
  bottom: 10px;
  z-index: 170;
  max-width: calc(100% - 84px);
  min-height: 28px;
  padding: 0 12px;
  background: rgba(42, 42, 42, .78);
  color: #fff;
  font-size: 15px;
  font-weight: 400;
  line-height: 28px;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-sizing: border-box;
}

.stream-url {
  display: none;
}

.view-panel {
  display: block;
}

#settings-view.view-panel {
  background: var(--bg, #0c1216) !important;
}

.panel-header {
  display: block;
}

.panel-header .secondary {
  float: right;
  width: 220px;
}

.settings-shell {
  display: block;
  height: calc(100% - 118px);
  min-height: 0;
  margin-top: 28px;
  overflow: hidden;
}

.settings-form-panel, .settings-account-panel {
  height: 100%;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--border, #33434d);
  background: #131c22;
  background: var(--panel-alt, #131c22);
  overflow: hidden;
}

.settings-form-panel {
  float: left;
  width: 58%;
}

.settings-account-panel {
  float: right;
  width: 40%;
}

.settings-actions {
  height: 64px;
  padding-top: 8px;
  overflow: hidden;
}

.settings-actions .secondary {
  float: left;
  width: 48%;
  min-height: 56px;
  font-size: 22px;
}

.settings-actions .secondary + .secondary {
  float: right;
}

.panel-list {
  height: calc(100% - 118px);
  min-height: 0;
  margin-top: 28px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
}

#settings-list {
  height: calc(100% - 72px);
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.settings-account-panel h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.account-info {
  height: calc(100% - 52px);
  overflow-y: auto;
  color: var(--text, #f4f7f8);
  scrollbar-width: none;
}

.account-info::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.account-info-row {
  min-height: 64px;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-left: 6px solid var(--primary, #28d17c);
  background: #172128;
  background: var(--panel, #172128);
}

.account-info-heading {
  min-height: 46px;
}

.account-info-label {
  color: var(--muted, #aab6bd);
  font-size: 16px;
}

.account-info-value {
  margin-top: 4px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.movies-shell {
  display: block;
  min-height: 0;
  height: calc(100% - 118px);
  margin-top: 28px;
  overflow: hidden;
}

.movies-menu-panel {
  float: left;
  width: 300px;
  margin-right: 22px;
}

.movies-detail-panel {
  float: right;
  width: 420px;
}

.movies-menu-panel, .movies-list, .movies-detail-panel {
  height: 100%;
  min-height: 0;
  padding: 18px;
  border: 1px solid var(--border, #33434d);
  background: var(--panel-alt, #131c22);
  overflow: hidden;
}

.movies-list {
  float: left;
  margin-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.movies-list .panel-list {
  height: 100%;
  margin-top: 0;
  overflow-y: auto;
  overflow-x: hidden;
}

.movies-menu-panel h2, .movies-detail-panel h2 {
  margin: 0 0 16px;
  font-size: 26px;
}

.movies-nav {
  height: calc(100% - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.movies-list::-webkit-scrollbar, .movies-nav::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.movie-menu-item {
  display: block;
  min-height: 58px;
  margin-bottom: 10px;
  padding: 0 18px;
  border-left: 5px solid var(--border, #33434d);
  background: var(--panel, #172128);
  color: var(--text, #f6f8f9);
  font-size: 22px;
}

.movie-menu-item.active {
  border-left-color: var(--primary, #28d17c);
}

.movie-menu-item:focus, .movie-menu-item.focused, .movie-filter-item:focus, .movie-filter-item.focused {
  background: var(--panel-alt, #263944);
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c);
  outline: none;
}

.movies-detail {
  height: calc(100% - 48px);
  overflow-y: auto;
  overflow-x: hidden;
  color: var(--muted, #aab6bd);
  font-size: 18px;
  line-height: 1.35;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

.movies-detail::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.panel-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.panel-item:focus, .panel-item.focused {
  background: var(--panel-alt, #263944);
  box-shadow: inset 0 0 0 3px var(--primary, #28d17c);
  outline: none;
}

.setting-row {
  display: block;
  min-height: 86px;
  margin-bottom: 10px;
  padding: 12px 22px;
  border-left-width: 6px;
}

.setting-row .panel-item-title {
  font-size: 25px;
}

.setting-row .panel-item-meta {
  display: block;
  margin-top: 4px;
}

.setting-controls {
  display: inline-block;
  max-width: 100%;
  white-space: nowrap;
  vertical-align: middle;
}

.setting-value {
  display: inline-block;
  max-width: 520px;
  color: var(--text, #f4f7f8);
  font-size: 24px;
  font-weight: 700;
  line-height: 40px;
  vertical-align: middle;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.setting-action {
  display: inline-block;
  min-width: 46px;
  height: 40px;
  min-height: 40px;
  margin: 0 8px;
  padding: 0 14px;
  border: 3px solid var(--border, #33434d);
  background: var(--panel-alt, #131c22);
  color: var(--text, #f4f7f8);
  font-size: 24px;
  font-weight: 800;
  line-height: 34px;
  text-align: center;
  vertical-align: middle;
}

.setting-action:hover, .setting-action:active {
  border-color: var(--primary, #28d17c);
  background: var(--primary, #28d17c);
  color: var(--primary-text, #07100b);
}

.setting-edit {
  min-width: 94px;
  margin-left: 14px;
  font-size: 18px;
}

.setting-help {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted, #aab6bd);
  font-size: 16px;
}

.setting-input {
  min-height: 58px;
  margin-top: 4px;
  font-size: 22px;
}

#avplay-object {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: none;
  visibility: hidden;
  z-index: 1;
  background: transparent;
}

body.avplay-playing #avplay-object {
  display: block;
  z-index: 1;
  pointer-events: none;
}

body.avplay-playing #html-video {
  display: none !important;
  visibility: hidden !important;
}

body.avplay-playing #app {
  position: relative;
  z-index: 100;
}

body.avplay-playing .view-player {
  background: transparent;
}

body.android-native-playing, body.android-native-playing .app, body.android-native-playing #app, body.android-native-playing .view-player {
  background: transparent !important;
  background-color: transparent !important;
}

body.android-native-playing #html-video {
  display: none !important;
  visibility: hidden !important;
}

.channel-number-value {
  font-weight: 700;
  line-height: 1;
}

.remote-key-row {
  height: 36px;
  line-height: 36px;
  overflow: hidden;
  text-align: center;
  white-space: nowrap;
}

.remote-side-action {
  display: inline-block;
  position: static;
  width: auto;
  min-width: 142px;
  height: 32px;
  margin: 0 8px;
  padding: 0 12px;
  border: 2px solid var(--border, #33434d);
  background: var(--button, var(--panel, #172128));
  color: var(--button-text, var(--text, #f4f7f8));
  font-size: 15px;
  font-weight: 800;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
}

.remote-color {
  display: inline-block;
  float: none;
  width: auto;
  min-width: 176px;
  margin: 0 8px;
  height: 36px;
  line-height: 36px;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  text-align: left;
}

.remote-color span {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 10px;
  vertical-align: -3px;
}

.remote-red span {
  background: #e02e2e;
}

.remote-yellow span {
  background: #e5c443;
}

.remote-green span {
  background: #28d17c;
}

.remote-blue span {
  background: #2977d8;
}

.remote-yellow, .remote-blue {
  opacity: .9;
}

.remote-color:hover {
  background: rgba(255, 255, 255, .08);
}

.return-to-player {
  position: fixed;
  right: 18px;
  bottom: 62px;
  z-index: 52;
  width: auto;
  min-width: 54px;
  height: 54px;
  padding: 0 18px;
  border: 3px solid var(--primary, #28d17c);
  background: rgba(8, 13, 16, .94);
  color: var(--text, #f4f7f8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  cursor: pointer;
  font-size: 22px;
  font-weight: 800;
  line-height: 46px;
  text-align: center;
  white-space: nowrap;
}

.return-to-player:focus, .return-to-player:hover {
  background: var(--button-primary, #28d17c);
  color: var(--button-primary-text, #07100b);
}

.view {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  overflow: hidden;
  padding: 54px 72px 58px;
}

.view-player {
  background: #000;
  position: relative;
  z-index: 120;
  padding: 0;
}

h1 {
  margin: 0;
  font-size: 46px;
  line-height: 1.1;
  font-size: 40px;
}

.view-login h1 {
  font-size: 40px;
}

.login-grid {
  display: block;
  margin-top: 32px;
  margin-top: 24px;
}

label span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted, #aab6bd);
  font-size: 22px;
  margin-bottom: 7px;
  font-size: 19px;
}

input, button {
  border: 3px solid #33434d;
  box-sizing: border-box;
  width: 100%;
  min-height: 72px;
  border: 3px solid var(--border, #33434d);
  background: var(--panel, #172128);
  color: var(--text, #fff);
  outline: none;
  font-size: 28px;
  min-height: 58px;
  font-size: 23px;
}

.status {
  min-height: 94px;
  margin-top: 28px;
  padding: 22px;
  border: 1px solid var(--border, #2c3b44);
  background: var(--panel-alt, #131c22);
  color: var(--text, #d3dde2);
  font-size: 22px;
  line-height: 1.35;
  white-space: pre-wrap;
  min-height: 72px;
  margin-top: 20px;
  padding: 16px 18px;
  font-size: 18px;
}

.topbar h1, .panel-header h1 {
  font-size: 38px;
}

.top-actions .secondary, .panel-header .secondary {
  min-height: 58px;
  font-size: 22px;
}

.catalog-shell, .movies-shell, .panel-list {
  height: calc(100% - 94px);
  margin-top: 18px;
}

.groups-panel, .epg-panel, .movies-menu-panel, .movies-list, .movies-detail-panel {
  padding: 14px;
}

.groups-panel h2, .epg-panel h2, .movies-menu-panel h2, .movies-detail-panel h2 {
  margin-bottom: 10px;
  font-size: 22px;
}

.groups, #groups, .epg-list, .movies-nav, .movies-detail {
  height: calc(100% - 36px);
}

.epg-channel {
  margin: -6px 0 14px;
  color: var(--muted, #aab6bd);
  font-size: 18px;
  min-height: 34px;
  overflow: hidden;
  white-space: nowrap;
  margin-bottom: 10px;
  font-size: 15px;
}

.epg-day {
  margin-bottom: 16px;
  margin-bottom: 12px;
}

.epg-day-title {
  margin-bottom: 8px;
  color: var(--primary, #28d17c);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 15px;
}

.epg-program {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--panel, #172128);
  font-size: 17px;
  line-height: 1.3;
  outline: none;
  margin-bottom: 6px;
  padding: 7px 9px;
  font-size: 14px;
  line-height: 1.22;
}

.epg-program {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.epg-recording-badge {
  display: inline-block;
  flex: 0 0 1.45em;
  width: 1.45em;
  height: 1.45em;
  margin-right: 9px;
  padding: 0;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  background: #d71920 !important;
  background-color: #d71920 !important;
  color: #fff !important;
  font-size: .76em;
  font-weight: 800;
  line-height: 1.45em;
  text-align: center;
  text-indent: 0;
  vertical-align: middle;
  overflow: hidden;
  box-sizing: border-box;
}

.epg-program .epg-time {
  flex: 0 0 auto;
  white-space: nowrap;
  margin-right: 9px;
  vertical-align: middle;
}

.epg-program-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-item {
  border-left: 6px solid #28d17c;
  min-height: 72px;
  margin-bottom: 10px;
  padding: 16px 22px;
  border-left: 6px solid var(--primary, #28d17c);
  background: var(--panel, #172128);
  color: var(--text, #f6f8f9);
  font-size: 22px;
  line-height: 1.35;
  min-height: 54px;
  margin-bottom: 7px;
  padding: 10px 16px;
  font-size: 17px;
}

.panel-item-title {
  display: block;
  font-size: 26px;
  font-weight: 700;
  font-size: 21px;
}

.panel-item-meta {
  display: block;
  margin-top: 6px;
  color: var(--muted, #aab6bd);
  font-size: 18px;
  margin-top: 4px;
  font-size: 14px;
}

.movie-row-poster {
  display: none;
}

.movie-row-content {
  min-width: 0;
}

.movie-poster-frame {
  width: 100%;
  height: 250px;
  margin-bottom: 14px;
  background: rgba(0, 0, 0, .18);
  text-align: center;
  overflow: hidden;
}

.movie-poster-frame:before {
  display: inline-block;
  width: 0;
  height: 100%;
  content: "";
  vertical-align: middle;
}

.movie-poster {
  display: inline-block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  object-fit: contain;
  vertical-align: middle;
}

.movie-detail-name {
  margin-bottom: 10px;
  color: var(--text, #f4f7f8);
  font-size: 24px;
  font-weight: 700;
  font-size: 21px;
}

.movie-play-now {
  display: block;
  width: 100%;
  margin-top: 16px;
}

.hidden {
  display: none !important;
}

.view-login .login-grid, .view-login .provider-grid {
  width: 100%;
  max-width: 560px;
}

.view-login .login-grid label, .view-login .provider-grid label {
  float: none;
  width: 100%;
  margin-right: 0;
  margin-bottom: 16px;
}

.view-login .login-grid label + label, .view-login .provider-grid label + label {
  margin-left: 0;
}

.view-login input, .view-login button {
  width: 100%;
}

.view-login .primary {
  clear: none;
}

.view-login .status {
  width: 100%;
  max-width: 560px;
}

.view-no-subscription {
  display: block;
  width: 100%;
  height: 100%;
  padding: 70px 7% 50px;
  text-align: center;
  box-sizing: border-box;
}

.no-subscription-logo {
  display: inline-block;
  margin-bottom: 28px;
}

.view-no-subscription h1 {
  margin: 0 0 48px;
  color: #e9282f;
  font-size: 46px;
  line-height: 1.15;
  font-weight: 800;
}

.no-subscription-shell {
  display: table;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  table-layout: fixed;
}

.no-subscription-info, .no-subscription-visual {
  display: table-cell;
  width: 50%;
  vertical-align: middle;
}

.no-subscription-message {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--text, #f4f7f8);
  font-size: 26px;
  line-height: 1.28;
  font-weight: 700;
}

.no-subscription-account {
  max-width: 480px;
  margin: 0 auto 26px;
  color: var(--muted, #aab6bd);
  font-size: 19px;
  line-height: 1.35;
  white-space: pre-line;
}

.no-subscription-info button {
  display: block;
  width: 420px;
  max-width: 86%;
  height: 74px;
  margin: 0 auto 22px;
  font-size: 26px;
  font-weight: 800;
}

.no-subscription-info .danger {
  border-color: #ff555b !important;
  background: #ff555b !important;
  color: #fff !important;
}

.no-subscription-info .danger:focus, .no-subscription-info .danger.focused {
  border-color: var(--focus-border, #fff) !important;
}

.no-subscription-qr {
  display: block;
  width: 330px;
  max-width: 72%;
  max-height: 330px;
  margin: 0 auto 24px;
  background: #fff;
  object-fit: contain;
}

.no-subscription-caption {
  color: var(--text, #f4f7f8);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 800;
}

.view-login {
  max-width: 1120px;
  margin: 0 auto;
  width: 72%;
  max-width: 820px;
  padding-left: 0;
  padding-right: 0;
  width: 560px;
  max-width: 72%;
  display: block;
  padding-top: 10%;
}

.view-startup {
  display: table;
  width: 100%;
  height: 100%;
  padding: 0;
}

.topbar {
  position: relative;
  align-items: center;
  display: block;
}

.topbar > div:first-child {
  float: left;
  width: 24%;
}

.top-actions {
  display: block;
  max-width: 840px;
  float: right;
  width: 74%;
  max-width: 980px;
}

.topbar:after, .channel:after, .channel-text:after, .player-meta:after, .movie-menu-item:after, .group-item:after {
  display: table;
  clear: both;
  content: "";
}

.channel, .group-item, .movie-menu-item {
  display: block;
}

.group-item, .movie-menu-item {
  border-left: 5px solid #33434d;
  min-height: 48px;
  margin-bottom: 7px;
  font-size: 18px;
  line-height: 58px;
}

.movie-filter-item {
  border-left: 5px solid #28d17c;
  min-height: 54px;
  margin-bottom: 10px;
  padding: 12px 14px;
  border-left: 5px solid var(--primary, #28d17c);
  background: var(--panel, #172128);
  color: var(--text, #f6f8f9);
  font-size: 18px;
  min-height: 46px;
  margin-bottom: 7px;
  padding: 9px 12px;
  font-size: 15px;
  display: block;
}

.player-meta {
  position: absolute;
  z-index: 150;
  top: 28px;
  left: 36px;
  right: 36px;
  pointer-events: none;
  display: none;
}

#player-title {
  padding: 12px 18px;
  background: rgba(0, 0, 0, .58);
  font-size: 12px;
  float: left;
}

.player-meta button {
  width: 150px;
  min-height: 58px;
  pointer-events: auto;
  font-size: 20px;
  float: right;
  display: none;
}

.channel-icon {
  object-fit: contain;
}

.movie-poster {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain;
}

.channel-number-entry {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2600 !important;
  border-style: solid;
  border-color: var(--primary, #28d17c);
  background: rgba(12, 18, 22, .92);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .45);
  color: var(--text, #f4f7f8);
  text-align: center;
  transform: translate(-50%, -50%);
}

.app-toast {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  border-style: solid;
  border-color: var(--primary, #28d17c);
  background: rgba(12, 18, 22, .94);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .45);
  color: var(--text, #f4f7f8);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.channel {
  border-left: 6px solid #28d17c;
  display: block;
  min-height: 64px;
  margin-bottom: 10px;
  padding: 0 24px;
  border-left: 6px solid var(--primary, #28d17c);
  background: var(--panel, #172128);
  color: var(--text, #f6f8f9);
  font-size: 26px;
  min-height: 54px;
  margin-bottom: 7px;
  padding: 0 18px;
  font-size: 22px;
  height: 68px;
  min-height: 68px;
  margin-bottom: 8px;
  padding: 0 20px;
  overflow: hidden;
  font-size: 25px;
  line-height: normal;
}

.channel-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: rgba(0, 0, 0, .18);
  width: 42px;
  height: 42px;
  float: left;
  display: block;
  margin-right: 16px;
  width: 50px;
  height: 50px;
  margin-top: 9px;
  margin-right: 18px;
}

.channel-text {
  min-width: 0;
  display: block;
  padding-top: 4px;
  overflow: hidden;
  padding-top: 9px;
}

.channel-name {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 25px;
  line-height: 28px;
}

.channel-epg {
  display: block;
  overflow: hidden;
  color: var(--muted, #aab6bd);
  font-size: 17px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-size: 16px;
  line-height: 20px;
}

.channel-progress {
  display: block;
  margin-top: 4px;
  background: rgba(216, 206, 207, 0.88);
  overflow: hidden;
  height: 4px;
  margin-top: 3px;
}

.favorite-star {
  display: inline-block;
  min-width: 22px;
  margin-right: 8px;
  color: var(--primary, #28d17c);
  font-weight: 700;
  min-width: 20px;
  margin-right: 7px;
}

#movies-view .panel-item {
  overflow: hidden;
}

#movies-view .panel-item-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movies-view .panel-item-meta {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#movies-view .movie-filter-item {
  overflow: hidden;
}

#movies-view .panel-header:after {
  display: table;
  clear: both;
  content: "";
}

#movies-view .panel-header .secondary {
  float: right;
}

#movies-view .panel-header {
  display: block;
  margin: 0;
  padding: 0;
  overflow: visible;
}

#movies-view .panel-header h1 {
  float: left;
  margin: 0;
  overflow: visible;
}

.epg-list::after {
  content: "▶";
  position: absolute;
  top: 22px;
  right: 5px;
  color: #00ff99;
  font-size: 10px;
  animation: epgArrow 1s infinite alternate;
  display: none;
  content: "";
}

.epg-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
}

#epg-title, #egp-days {
  margin-right: 0px;
  margin-right: 20px;
  margin: 0;
}

#epg-title {
  float: left;
}

#egp-days {
  display: none !important;
  float: right;
  color: #00ff99;
  font-size: 14px;
  font-weight: 700;
  line-height: 10px;
  opacity: 0;
  white-space: nowrap;
  visibility: hidden;
}

.catalog-shell.focus-epg #egp-days {
  opacity: 1;
  visibility: visible;
}

#egp-days::after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 10px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 12px solid #0f9;
  content: "";
  vertical-align: -2px;
  animation: epgArrow 1s infinite alternate;
  margin-right: 10px;
}

.epg-detail {
  display: none;
}

.catalog-shell.epg-expanded .groups-panel {
  display: none;
}

.catalog-shell.epg-expanded .channels-panel {
  width: 0;
  opacity: 0;
  overflow: hidden;
}

.catalog-shell.epg-expanded .epg-list {
  float: left;
  width: 62%;
  height: calc(100% - 86px);
}

.catalog-shell.epg-expanded .epg-date-picker {
  float: left;
  width: 62%;
  height: calc(100% - 86px);
}

.epg-detail-time {
  margin-bottom: 12px;
  color: var(--muted, #aab6bd);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.15;
}

.epg-detail-title {
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.12;
}

.epg-detail-description {
  color: var(--text, #f4f7f8);
  font-size: 20px;
  line-height: 1.25;
}

#catalog-view {
  position: relative;
  padding: 0;
}

#catalog-view .topbar {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  height: 46px;
  padding: 0;
  overflow: hidden;
}

#catalog-view .topbar > div:first-child {
  float: none;
  width: auto;
}

#catalog-view .topbar h1 {
  margin: 0;
  font-size: 34px;
  line-height: 46px;
}

#catalog-view .top-actions {
  display: none !important;
}

#catalog-view .catalog-shell {
  position: absolute;
  left: 0;
  right: 0;
  top: 54px;
  bottom: 56px;
  height: auto;
  margin: 0;
}

#catalog-view .channels-panel, #catalog-view .groups-panel, #catalog-view .epg-panel {
  height: 100%;
}

#settings-view .setting-controls {
  display: inline-block !important;
  max-width: 100% !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}

#settings-view .setting-edit {
  min-width: 82px !important;
  margin-left: 12px !important;
  font-size: 17px !important;
}

#settings-view .setting-help {
  display: block !important;
  margin: 2px 0 0 !important;
}

html, body, .app {
  background: var(--bg, #0c1216) !important;
  color: var(--text, #f4f7f8) !important;
}

label span, .topbar p, .channel-epg, .empty-state, .epg-channel, .epg-time, .movies-detail, .panel-item-meta, .setting-help, .home-clock-date, .no-subscription-account {
  color: var(--muted, #aab6bd) !important;
}

input, button, .secondary, .channel, .group-item, .epg-program, .movie-menu-item, .movie-filter-item, .panel-item, .home-tile, .setting-action, .setting-value, .virtual-key, .keyboard-key {
  border-color: var(--border, #33434d) !important;
  background: var(--button, var(--panel, #172128)) !important;
  color: var(--button-text, var(--text, #f4f7f8)) !important;
}

input {
  padding: 0 20px;
  background: var(--input, var(--panel, #172128)) !important;
  color: var(--text, #f4f7f8) !important;
}

.status, .groups-panel, .channels-panel, .epg-panel, .movies-menu-panel, .movies-list, .movies-detail-panel, .settings-form-panel, .settings-account-panel, .no-subscription-info, .no-subscription-visual, .panel-list, .account-card, .epg-detail, .keyboard-panel, .virtual-keyboard, .exit-dialog, .parental-dialog, .movie-resume-dialog {
  border-color: var(--border, #33434d) !important;
  background: var(--panel-alt, #131c22) !important;
  color: var(--text, #f4f7f8) !important;
}

.primary, .virtual-key.primary, .keyboard-key.primary {
  border-color: var(--button-primary, var(--primary, #28d17c)) !important;
  background: var(--button-primary, var(--primary, #28d17c)) !important;
  color: var(--button-primary-text, var(--primary-text, #07100b)) !important;
}

.focusable:focus, .focused, .group-item.focused, .epg-program.focused, .movie-menu-item.focused, .movie-filter-item.focused, .panel-item.focused, .home-tile.focused, .virtual-key.focused, .keyboard-key.focused, .setting-action.focused, .setting-value.focused {
  border-color: var(--focus-border, var(--text, #ffffff)) !important;
  box-shadow: 0 0 0 2px var(--focus-shadow, rgba(40, 209, 124, .24)) !important;
}

.primary:focus, .primary.focused, #connect:focus, #connect.focused, #provider-continue:focus, #provider-continue.focused, #no-subscription-reload:focus, #no-subscription-reload.focused {
  border-color: var(--focus-border, var(--text, #ffffff)) !important;
  background: var(--button-primary, var(--primary, #28d17c)) !important;
  color: var(--button-primary-text, var(--primary-text, #07100b)) !important;
  box-shadow: inset 0 0 0 4px var(--button-primary-text, var(--primary-text, #07100b)), 0 0 0 3px var(--focus-border, var(--text, #ffffff)), 0 0 0 8px var(--focus-shadow, rgba(40, 209, 124, .42)) !important;
  outline: none !important;
}

.brand-logo-text, .home-clock-time, .epg-days, #egp-days, .epg-list::after {
  color: var(--epg-accent, var(--primary, #28d17c)) !important;
}

.remote-color b {
  font-weight: 700;
  color: var(--text, #f4f7f8) !important;
}

.remote-side-action:focus, .remote-side-action.focused, .remote-side-action:hover {
  border-color: var(--primary, #28d17c);
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c);
  border-color: var(--primary, #28d17c) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c) !important;
}

.remote-key-row .remote-side-action {
  display: inline-block !important;
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  width: auto !important;
  max-width: none !important;
  min-height: 0 !important;
  vertical-align: top !important;
}

#settings-view, #settings-view .settings-form-panel, #settings-view .settings-account-panel, #settings-view .account-info-row {
  background-color: var(--panel-alt, #131c22) !important;
}

.channel:focus, .channel.focused {
  border-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c) !important;
}

.group-item:focus, .group-item.focused {
  border-color: var(--primary, #28d17c) !important;
  border-left-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c) !important;
  color: var(--text, #f4f7f8) !important;
  outline: none !important;
}

.epg-program:focus, .epg-program.focused {
  border-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c), inset 0 0 0 3px rgba(255, 255, 255, .72) !important;
  outline: none !important;
}

.epg-date-item:focus, .epg-date-item.focused, .epg-date-item.active:focus {
  border-left-color: var(--primary, #28d17c) !important;
  border-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c), inset 0 0 0 5px rgba(255, 255, 255, .72) !important;
  color: var(--text, #f4f7f8) !important;
  outline: none !important;
}

.panel-item:focus, .panel-item.focused, .movie-menu-item:focus, .movie-menu-item.focused, .movie-filter-item:focus, .movie-filter-item.focused, .setting-row:focus, .setting-row.focused {
  border-color: var(--primary, #28d17c) !important;
  border-left-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c) !important;
  color: var(--text, #f4f7f8) !important;
  outline: none !important;
}

.setting-row:focus .setting-action, .setting-row.focused .setting-action, .setting-action:focus, .setting-action.focused {
  border-color: var(--primary, #28d17c) !important;
  color: var(--text, #f4f7f8) !important;
}

.virtual-key:focus, .virtual-key.focused, .keyboard-key:focus, .keyboard-key.focused {
  border-color: var(--primary, #28d17c) !important;
  background: var(--panel-alt, #131c22) !important;
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c), inset 0 0 0 3px rgba(255, 255, 255, .64) !important;
  color: var(--text, #f4f7f8) !important;
  outline: none !important;
}

.virtual-keyboard {
  position: fixed;
  z-index: 1400;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, .58);
  background: rgba(0, 0, 0, .28) !important;
  background: rgba(0, 0, 0, .20) !important;
}

.virtual-keyboard .virtual-keyboard-panel {
  left: 24px !important;
  right: 24px !important;
  bottom: 24px !important;
  width: auto !important;
  max-width: 980px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  bottom: 74px !important;
  left: 50% !important;
  right: auto !important;
  bottom: 18px !important;
  width: 72% !important;
  max-width: 900px !important;
  min-width: 560px !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding: 10px 14px 12px !important;
  border-width: 3px !important;
  -webkit-transform: translateX(-50%) !important;
  transform: translateX(-50%) !important;
}

.virtual-keyboard .virtual-keyboard-title {
  float: left !important;
  width: 150px !important;
  height: 32px !important;
  font-size: 20px !important;
  line-height: 32px !important;
}

.virtual-keyboard .virtual-keyboard-preview {
  height: 32px !important;
  margin-left: 164px !important;
  margin-bottom: 7px !important;
  padding: 0 10px !important;
  border-width: 2px !important;
  font-size: 19px !important;
  line-height: 28px !important;
}

.virtual-keyboard .virtual-key-row {
  height: 52px !important;
  margin-bottom: 6px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  height: 38px !important;
  margin-bottom: 4px !important;
}

.virtual-keyboard .virtual-key {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 64px !important;
  height: 48px !important;
  min-height: 48px !important;
  margin: 0 3px !important;
  padding: 0 10px !important;
  font-size: 20px !important;
  line-height: 42px !important;
  vertical-align: top !important;
  min-width: 42px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 2px !important;
  padding: 0 6px !important;
  border-width: 2px !important;
  font-size: 17px !important;
  line-height: 30px !important;
}

.virtual-keyboard .virtual-key.wide {
  min-width: 142px !important;
  min-width: 92px !important;
}

.virtual-keyboard .virtual-key.control {
  min-width: 82px !important;
  min-width: 64px !important;
}

.virtual-keyboard .virtual-key.primary {
  min-width: 96px !important;
  min-width: 72px !important;
}

.virtual-keyboard .virtual-key.vk-focus, .virtual-keyboard .virtual-key:focus, .virtual-keyboard .virtual-key.focused {
  border-color: var(--focus-border, #ffffff) !important;
  background: var(--panel, #172128) !important;
  box-shadow: 0 0 0 2px var(--primary, #28d17c) !important;
  color: var(--text, #f4f7f8) !important;
  outline: none !important;
}

.channel-progress-track, .player-osd-progress {
  background: var(--progress-bg, rgba(218, 218, 218, .9)) !important;
}

.channel-progress-fill, .player-osd-progress span {
  background: var(--progress-fill, #9b2a2a) !important;
}

.channel .channel-progress-track {
  background: var(--channel-progress-bg, var(--progress-bg, rgba(216, 206, 207, .88))) !important;
}

.channel .channel-progress-fill {
  background: var(--channel-progress-fill, var(--progress-fill, #762222)) !important;
}

.player-osd, .player-meta, .player-help, .archive-seek-osd {
  background: var(--player-overlay, rgba(58, 58, 58, .92)) !important;
  color: var(--text, #f4f7f8) !important;
}

.exit-overlay, .parental-overlay, .movie-resume-overlay, .keyboard-overlay {
  background: var(--overlay, rgba(0, 0, 0, .72)) !important;
}

#remote-red span, .remote-red span {
  background: var(--remote-red, #e9282f) !important;
}

#remote-yellow span, .remote-yellow span {
  background: var(--remote-yellow, #d9c03a) !important;
}

#remote-green span, .remote-green span {
  background: var(--remote-green, #2ed17c) !important;
}

#remote-blue span, .remote-blue span {
  background: var(--remote-blue, #2b70c9) !important;
}

@media (max-width: 1023px) {
  #movies-view {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  #movies-view .panel-header {
    height: 42px;
  }

  #movies-view .panel-header h1 {
    max-width: calc(100% - 220px);
    font-size: 30px !important;
    line-height: 42px !important;
  }

  #movies-view .movies-shell {
    position: absolute;
    left: 8px;
    right: 8px;
    top: 52px;
    bottom: 52px;
    height: auto !important;
    margin-top: 0 !important;
    overflow: hidden !important;
  }

  #movies-view .movies-list {
    float: none !important;
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    overflow-y: auto !important;
  }

  #movies-view .movies-list .panel-list {
    height: 100% !important;
  }

  #movies-view .movies-menu-panel, #movies-view .movies-detail-panel {
    position: absolute;
    z-index: 20;
    top: 0;
    bottom: 0;
    width: min(420px, 86vw) !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, .55);
  }

  #movies-view .movies-menu-panel {
    left: 0;
    display: none;
  }

  #movies-view .movies-detail-panel {
    right: 0;
    display: none;
  }

  #movies-view .movies-shell.mobile-movies-menu-open .movies-menu-panel,
  #movies-view .movies-shell.mobile-movies-detail-open .movies-detail-panel {
    display: block;
  }

  .catalog-shell.epg-expanded .epg-list, .catalog-shell.epg-expanded .epg-date-picker {
    width: 58%;
  }

  .catalog-shell.epg-expanded .epg-detail {
    width: 40%;
    padding: 14px 16px;
  }

  .epg-detail-time {
    font-size: 16px;
  }

  .epg-detail-title {
    font-size: 22px;
  }

  .epg-detail-description {
    font-size: 15px;
  }

  #catalog-view .topbar {
    height: 34px;
  }

  #catalog-view .topbar h1 {
    font-size: 24px;
    line-height: 34px;
  }

  #catalog-view .catalog-shell {
    top: 40px;
    bottom: 48px;
  }

  .virtual-keyboard .virtual-keyboard-panel {
    left: 12px !important;
    right: 12px !important;
    bottom: 30px !important;
    padding: 12px !important;
  }

  .virtual-keyboard .virtual-keyboard-title {
    float: none !important;
    width: auto !important;
    height: 28px !important;
    font-size: 20px !important;
    line-height: 28px !important;
  }

  .virtual-keyboard .virtual-keyboard-preview {
    height: 38px !important;
    margin-left: 0 !important;
    margin-bottom: 8px !important;
    font-size: 20px !important;
    line-height: 32px !important;
  }

  .virtual-keyboard .virtual-key {
    min-width: 50px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 2px !important;
    padding: 0 7px !important;
    font-size: 16px !important;
    line-height: 34px !important;
  }

  .virtual-keyboard .virtual-key.wide {
    min-width: 104px !important;
  }

  .virtual-keyboard .virtual-key.control {
    min-width: 64px !important;
  }

  .virtual-keyboard .virtual-key.primary {
    min-width: 72px !important;
  }

  .virtual-keyboard .virtual-key-row {
    height: 44px !important;
    margin-bottom: 5px !important;
  }

  .remote-colors {
    bottom: 6px !important;
    height: 37px !important;
    padding: 6px 8px !important;
    font-size: 12px !important;
  }

  .remote-key-row {
    height: 34px !important;
    line-height: 34px !important;
  }

  .remote-side-action {
    min-width: 88px !important;
    height: 32px !important;
    margin: 0 1px !important;
    padding: 0 4px !important;
    font-size: 10px !important;
    line-height: 26px !important;
  }

  .remote-color {
    min-width: 86px !important;
    margin: 0 1px !important;
    height: 34px !important;
    line-height: 34px !important;
  }

  .remote-color span {
    width: 13px !important;
    height: 13px !important;
    margin-right: 5px !important;
    vertical-align: -2px !important;
  }

  .epg-summary-card {
    margin-bottom: 8px !important;
    padding: 8px 10px !important;
    border-left-width: 4px !important;
  }

  .epg-summary-label {
    font-size: 11px !important;
    line-height: 1.05 !important;
  }

  .epg-summary-time {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
  }

  .epg-summary-title {
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.12 !important;
  }

  .epg-summary-description {
    margin-top: 5px !important;
    max-height: 70px !important;
    font-size: 10px !important;
    line-height: 1.16 !important;
  }
}

@media (min-width: 1024px) and (max-width: 1399px) {
  .remote-colors {
    bottom: 18px !important;
    height: 30px !important;
    padding: 6px 14px !important;
    font-size: 14px !important;
  }

  .remote-side-action {
    min-width: 116px !important;
    height: 32px !important;
    padding-left: 6px !important;
    padding-right: 6px !important;
    font-size: 12px !important;
    line-height: 26px !important;
    margin-left: 3px !important;
    margin-right: 3px !important;
  }

  .remote-color {
    min-width: 138px !important;
    margin: 0 4px !important;
  }

  .remote-color span {
    width: 15px !important;
    height: 15px !important;
    margin-right: 7px !important;
  }

  .epg-summary-card {
    margin-bottom: 10px !important;
    padding: 10px 12px !important;
    border-left-width: 5px !important;
  }

  .epg-summary-label {
    font-size: 12px !important;
    line-height: 1.05 !important;
  }

  .epg-summary-time {
    margin-top: 5px !important;
    font-size: 14px !important;
    line-height: 1.1 !important;
  }

  .epg-summary-title {
    margin-top: 5px !important;
    font-size: 17px !important;
    line-height: 1.12 !important;
  }

  .epg-summary-description {
    margin-top: 6px !important;
    max-height: 94px !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
  }
}

@media (min-width: 1400px) {
  .remote-colors {
    bottom: 22px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .remote-side-action {
    height: 32px !important;
    line-height: 26px !important;
    min-width: 142px !important;
  }

  .remote-color {
    min-width: 176px !important;
  }

  .epg-summary-card {
    margin-bottom: 14px !important;
    padding: 16px 18px !important;
  }

  .epg-summary-label {
    font-size: 15px !important;
  }

  .epg-summary-time {
    font-size: 17px !important;
  }

  .epg-summary-title {
    font-size: 26px !important;
    line-height: 1.13 !important;
  }

  .epg-summary-description {
    max-height: 150px !important;
    font-size: 22px !important;
    line-height: 1.22 !important;
  }
}

.catalog-shell.epg-expanded .epg-program {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

.catalog-shell.epg-expanded .epg-time, .catalog-shell.epg-expanded .epg-program {
  font-size: 16px !important;
  line-height: 1.18 !important;
}

.catalog-shell.epg-expanded .epg-detail-time {
  margin-bottom: 8px !important;
  font-size: 18px !important;
  line-height: 1.12 !important;
}

.catalog-shell.epg-expanded .epg-detail-title {
  margin-bottom: 10px !important;
  font-size: 23px !important;
  line-height: 1.1 !important;
}

.catalog-shell.epg-expanded .epg-detail-description {
  font-size: 17px !important;
  line-height: 1.18 !important;
}

#settings-view .panel-header h1, #settings-title {
  font-size: 32px !important;
}

#settings-view .setting-row {
  min-height: 74px !important;
  padding: 10px 14px !important;
}

#movies-view .movies-shell {
  overflow: hidden !important;
}

#movies-view .movies-menu-panel, #movies-view .movies-list, #movies-view .movies-detail-panel {
  height: 100% !important;
  max-height: 100% !important;
  overflow: hidden !important;
}

#movies-view .movies-list {
  padding-bottom: 0 !important;
}

#movies-view .movies-list .panel-list, #movies-view .movies-nav, #movies-view .movies-detail {
  max-height: 100% !important;
  padding-bottom: 4px !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
}

.remote-key-row .remote-side-action.hidden, .remote-key-row .remote-color.hidden, .remote-key-row .channel-page-action.hidden {
  display: none !important;
}

.remote-side-action-page {
  height: 32px !important;
  line-height: 26px !important;
  min-width: 42px !important;
  max-width: 136px !important;
  margin-left: 4px !important;
  margin-right: 4px !important;
  padding-left: 8px !important;
  padding-right: 8px !important;
  font-size: 12px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.channel-page-action:focus, .channel-page-action.focused, .channel-page-action:hover {
  border-color: var(--primary, #28d17c);
  box-shadow: inset 0 0 0 2px var(--primary, #28d17c);
  outline: none;
}

.catalog-shell.epg-expanded .epg-header h2 {
  margin: 0 0 18px !important;
}

.catalog-shell.epg-expanded .epg-panel {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  padding: 18px !important;
}

.catalog-shell.epg-expanded .epg-header {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 340px !important;
  margin: 0 !important;
  padding: 18px !important;
  border: 1px solid var(--border, #33434d) !important;
  background: var(--panel-alt, #131c22) !important;
  position: static !important;
  width: auto !important;
  height: 42px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  display: block !important;
}

.catalog-shell.epg-expanded .epg-channel {
  left: 18px !important;
  top: 76px !important;
  width: 304px !important;
  min-height: 76px !important;
  padding: 0 !important;
  overflow: hidden !important;
  position: absolute !important;
  left: auto !important;
  right: 18px !important;
  top: 18px !important;
  width: 34% !important;
  min-height: 74px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--border, #33434d) !important;
  background: var(--panel, #172128) !important;
}

.catalog-shell.epg-expanded .epg-channel-icon {
  width: 74px !important;
  height: 74px !important;
  width: 54px !important;
  height: 54px !important;
  margin: 0 14px 0 0 !important;
}

.catalog-shell.epg-expanded .epg-channel-name {
  display: block !important;
  min-width: 0 !important;
  line-height: 74px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 54px !important;
}

.catalog-shell.epg-expanded .epg-list, .catalog-shell.epg-expanded .epg-date-picker {
  left: 362px !important;
  right: calc(34% + 18px) !important;
  top: 0 !important;
  bottom: 0 !important;
  position: absolute !important;
  left: 18px !important;
  right: calc(34% + 36px) !important;
  top: 70px !important;
  bottom: 18px !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
}

.catalog-shell.epg-expanded .epg-detail {
  display: block;
  float: right;
  width: 36%;
  height: calc(100% - 86px);
  padding: 20px 22px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, .04);
  color: var(--text, #f4f7f8);
  overflow: hidden;
  padding: 14px 18px !important;
  right: 0 !important;
  top: 96px !important;
  bottom: 0 !important;
  position: absolute !important;
  right: 18px !important;
  top: 104px !important;
  bottom: 18px !important;
  float: none !important;
  width: 34% !important;
  height: auto !important;
  border: 1px solid var(--border, #33434d) !important;
  background: var(--panel, #172128) !important;
}

html.android-native-playing, html.android-native-playing body, html.android-native-playing .app, html.android-native-playing #app, html.android-native-playing #player-view:not(.hidden), html.android-native-playing .view-player:not(.hidden) {
  background: transparent !important;
  background-color: transparent !important;
}

html.android-native-playing #catalog-view:not(.hidden), html.android-native-playing #movies-view:not(.hidden), html.android-native-playing #settings-view:not(.hidden), html.android-native-playing #home-view:not(.hidden), html.android-native-playing #provider-view:not(.hidden), html.android-native-playing #login-view:not(.hidden), html.android-native-playing #no-subscription-view:not(.hidden) {
  background: var(--bg, #0c1216) !important;
  background-color: var(--bg, #0c1216) !important;
}

html.android-native-playing #html-video, html.android-native-playing object#avplay-object {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

.remote-colors {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 8px;
  z-index: 40;
  height: 26px;
  padding: 8px 28px;
  border-top: 1px solid #263844;
  border-top-color: var(--border, #263844);
  background: #020506;
  background: var(--remote_bar_bg, rgba(0, 0, 0, .97));
  box-shadow: 0 -10px 22px rgba(0, 0, 0, .55);
  color: #f4f7f8;
  color: var(--text, #f4f7f8);
  font-size: 18px;
  text-align: center;
  bottom: 4px !important;
}

#settings-view .settings-shell {
  height: calc(100% - 92px) !important;
  margin-top: 12px !important;
}

#settings-view .settings-form-panel, #settings-view .settings-account-panel {
  padding: 10px !important;
}

#settings-view .panel-list {
  height: calc(100% - 54px) !important;
  margin-top: 8px !important;
}

#settings-view .panel-item {
  min-height: 42px !important;
  margin-bottom: 4px !important;
  padding: 7px 12px !important;
  font-size: 15px !important;
  line-height: 1.12 !important;
}

#settings-view .setting-row .panel-item-title {
  font-size: 22px !important;
  line-height: 1.15 !important;
  font-size: 17px !important;
  line-height: 1.05 !important;
}

#settings-view .setting-row .panel-item-meta {
  margin-top: 6px !important;
  font-size: 16px !important;
  line-height: 1.15 !important;
  margin-top: 3px !important;
  font-size: 11px !important;
  line-height: 1.05 !important;
}

#settings-view .setting-value {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  max-width: 460px !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 8px !important;
  font-size: 24px !important;
  line-height: 40px !important;
  vertical-align: middle !important;
  max-width: 420px !important;
  font-size: 20px !important;
  line-height: 32px !important;
  max-width: 300px !important;
  font-size: 17px !important;
}

#settings-view .setting-action {
  display: inline-block !important;
  float: none !important;
  width: auto !important;
  max-width: none !important;
  min-width: 44px !important;
  height: 38px !important;
  min-height: 38px !important;
  margin: 0 5px !important;
  padding: 0 12px !important;
  border-width: 3px !important;
  font-size: 22px !important;
  line-height: 32px !important;
  text-align: center !important;
  vertical-align: middle !important;
  min-height: 32px !important;
  font-size: 18px !important;
  line-height: 26px !important;
  min-width: 48px !important;
  height: 32px !important;
  padding: 0 10px !important;
  font-size: 15px !important;
}

#settings-view .settings-actions {
  height: 44px !important;
  padding-top: 4px !important;
}

#settings-view .settings-actions .secondary {
  min-height: 38px !important;
  font-size: 16px !important;
}

#settings-view .settings-account-panel h2 {
  margin-bottom: 8px !important;
  font-size: 20px !important;
}

#settings-view .account-info {
  height: calc(100% - 34px) !important;
  overflow-y: auto !important;
}

#settings-view .account-info-row {
  background-color: var(--panel, #172128) !important;
  min-height: 0 !important;
  padding: 7px 10px !important;
}

#settings-view .account-info-label {
  font-size: 12px !important;
}

#settings-view .account-info-value {
  margin-top: 3px !important;
  font-size: 15px !important;
  line-height: 1.15 !important;
  word-break: break-word !important;
}
.external-movies-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.external-movies-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.external-movies-controls {
  position: fixed;
  top: max(6px, env(safe-area-inset-top));
  left: 50%;
  z-index: 20001;
  display: flex;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity .2s ease, transform .2s ease;
}

.external-movies-control {
  min-height: 32px !important;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 7px;
  background: rgba(0, 0, 0, .72);
  color: #fff;
  font: 700 12px/1.2 Arial, sans-serif !important;
  white-space: nowrap;
}

.external-movies-overlay.controls-visible .external-movies-controls {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.external-movies-reveal {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20000;
  width: 132px;
  height: max(42px, calc(env(safe-area-inset-top) + 30px));
  min-height: 42px !important;
  padding: env(safe-area-inset-top) 14px 5px;
  border: 2px solid #fff !important;
  border-top: 0 !important;
  border-radius: 0 0 13px 13px;
  background: #006dff;
  color: #fff;
  font: 900 14px/20px Arial, sans-serif !important;
  letter-spacing: .8px;
  opacity: .96;
  transform: translateX(-50%);
  transition: opacity .2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .55), 0 0 0 4px rgba(0, 109, 255, .2);
}

.external-movies-reveal:active {
  opacity: 1;
}

.external-movies-overlay.controls-visible .external-movies-reveal {
  opacity: 0;
  pointer-events: none;
}

@media (orientation: landscape) and (pointer: coarse) {
  .external-movies-reveal {
    display: none !important;
  }
}

.install-required-overlay {
  position: fixed;
  inset: 0;
  z-index: 10019;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: radial-gradient(circle at top, #17365c 0, #07111f 55%, #02070d 100%);
  color: #fff;
  text-align: center;
}

.install-required-overlay[hidden] {
  display: none !important;
}

.install-required-card {
  width: min(420px, 100%);
  margin-bottom: 80px;
}

.install-required-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  box-shadow: 0 10px 32px rgba(0, 0, 0, .48);
}

.install-required-card h1 {
  margin: 20px 0 10px;
  color: #fff;
  font-size: 28px;
}

.install-required-card p {
  margin: 0 auto;
  max-width: 340px;
  color: #d8e7f7;
  font-size: 17px;
  line-height: 1.5;
}

.install-app-button {
  position: fixed;
  left: 50%;
  right: auto;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 10020;
  max-width: calc(100vw - 32px);
  min-width: 150px;
  padding: 15px 26px;
  border: 2px solid #fff;
  border-radius: 12px;
  background: #006dff;
  color: #fff;
  font: 800 17px/1.2 Arial, sans-serif;
  letter-spacing: .3px;
  box-shadow: 0 0 0 4px rgba(0, 109, 255, .3), 0 7px 24px rgba(0, 0, 0, .5);
  animation: installButtonPulse 1.8s ease-in-out infinite;
}

.install-app-button:active {
  transform: translateX(-50%) scale(.96);
}

@keyframes installButtonPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 109, 255, .28), 0 7px 24px rgba(0, 0, 0, .5); }
  50% { box-shadow: 0 0 0 9px rgba(0, 109, 255, .08), 0 7px 28px rgba(0, 90, 255, .75); }
}

.ios-install-prompt {
  position: fixed;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 10021;
  width: min(420px, calc(100% - 32px));
  box-sizing: border-box;
  transform: translateX(-50%);
  padding: 15px 42px 15px 16px;
  border-radius: 12px;
  background: #ffcf33;
  color: #111;
  font: 15px/1.45 Arial, sans-serif;
  box-shadow: 0 7px 24px rgba(0, 0, 0, .4);
}

.ios-install-close {
  position: absolute;
  top: 5px;
  right: 7px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111;
  font-size: 27px;
  line-height: 30px;
}

.ios-share-icon {
  display: inline-block;
  margin: 0 2px;
  font-size: 18px;
}

body.player-active .install-app-button,
body.player-active .ios-install-prompt,
body.avplay-playing .install-app-button,
body.avplay-playing .ios-install-prompt {
  display: none !important;
}

