[hidden] {
  display: none !important;
}
:root {
  --cy: #17b9f1;
  --cy2: #0a86d6;
  --ink: #eef3f8;
  --ink2: #c3cedb;
  --mut: #8693a4;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --panel: rgba(13, 17, 25, .78);
  --row: rgba(255, 255, 255, .025);
  --orange: #ff9e0b;
  --ok: #3ddc97;
  --bad: #ff7676;
  --ui:
    "DTVCurve",
    "DTV",
    system-ui,
    sans-serif;
}
.svi {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.svi.sm {
  width: 17px;
  height: 17px;
}
.emu-logo {
  display: inline-flex;
  align-items: center;
  gap: .42em;
  font-size: 28px;
}
.emu-logo .emu-wm {
  display: block;
  width: 5em;
  height: 1em;
  background: url(../assets/logos/dtv_actual.svg) left center / contain no-repeat;
}
.emu-logo .emu-tag {
  font: 700 .6em/1 var(--ui);
  color: #fff;
  border: .08em solid var(--cy);
  border-radius: .28em;
  padding: .2em .34em .14em;
  background: rgba(23, 185, 241, .12);
  letter-spacing: .03em;
}
.emu-logo.big {
  font-size: 58px;
}
.emu-logo.small {
  font-size: 16px;
}
.exp-chip {
  display: inline-flex;
  align-items: center;
  font: 700 13px/1 var(--ui);
  color: #241604;
  background: var(--orange);
  border-radius: 999px;
  padding: 5px 11px 4px;
  white-space: nowrap;
}
.exp-chip.small {
  font-size: 11px;
  padding: 4px 8px 3px;
}
.shell-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 18px;
  color: var(--ink);
  font-family: var(--ui);
  background:
    radial-gradient(
      120% 90% at 50% 0%,
      rgba(10, 70, 120, .35),
      transparent 60%),
    linear-gradient(rgba(5, 7, 11, .7), rgba(5, 7, 11, .9)),
    #05070b url(../assets/img/bg_boot.png) center / cover no-repeat;
  transition: opacity .35s ease;
}
.shell-screen.dark {
  z-index: 102;
}
.shell-screen.fade {
  opacity: 0;
  pointer-events: none;
}
#loader {
  z-index: 103;
}
html,
body {
  background: #05070b url(../assets/img/bg_boot.png) center / cover no-repeat fixed !important;
}
#tvwrap {
  background: transparent !important;
}
#side {
  background: rgba(9, 12, 18, .72) !important;
  backdrop-filter: blur(12px);
}
.boot-sub {
  font: 400 15px var(--ui);
  color: var(--mut);
  min-height: 1.4em;
  margin-top: -24px;
  transition: opacity .2s;
}
.ld-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
}
.spinner {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 3px solid rgba(23, 185, 241, .16);
  border-top-color: var(--cy);
  animation: spin .9s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.boot-txt {
  font: 400 22px var(--ui);
  color: #d9e2ec;
  margin-top: -10px;
}
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation-duration: 2.4s;
  }
}
.ln {
  width: min(1120px, 100%);
  max-height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 6px 4px;
  scrollbar-width: thin;
}
.ln-left {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}
.ln-hero {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}
.emu-logo.hero {
  font-size: 50px;
}
.ln-sub {
  margin: 2px 0 6px;
  color: var(--ink2);
  font-size: 15.5px;
  line-height: 1.55;
}
button.power {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 290px;
  font: 700 17px/1 var(--ui);
  color: #03121b;
  background:
    linear-gradient(
      180deg,
      #43d2ff,
      #0b97e2);
  border: 0;
  border-radius: 999px;
  padding: 16px 30px 15px;
  cursor: pointer;
  box-shadow: 0 10px 34px rgba(11, 151, 226, .4);
  transition:
    transform .12s,
    filter .12s,
    box-shadow .12s;
}
button.power:hover {
  filter: brightness(1.07);
  box-shadow: 0 12px 40px rgba(11, 151, 226, .55);
}
button.power:active {
  transform: translateY(1px);
}
button.power:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.ln-set,
.ln-right {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(16px);
}
.ln-set {
  overflow: hidden;
}
.ln-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-top: 1px solid var(--line);
}
.ln-item:first-child {
  border-top: 0;
}
.ln-ic {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--cy);
  background: rgba(23, 185, 241, .1);
  flex: none;
}
.ln-txt {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.ln-txt b {
  font: 700 15px var(--ui);
  color: var(--ink);
}
.ln-txt small {
  font-size: 12.5px;
  color: var(--mut);
}
.ln-adv {
  border-top: 1px solid var(--line);
}
.ln-adv summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  cursor: pointer;
}
.ln-adv summary::-webkit-details-marker {
  display: none;
}
.ln-adv summary .chev {
  color: var(--mut);
  transition: transform .2s;
}
.ln-adv[open] summary .chev {
  transform: rotate(180deg);
}
.ln-advbody {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px 16px 66px;
}
.ln-kv {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--ink2);
}
.ln-right {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ln-sec-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ln-sec-head h2 {
  margin: 0;
  font: 700 18px var(--ui);
  color: var(--ink);
}
.ln-right .iptv-status {
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, .25);
  border: 1px solid var(--line);
}
.ln-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.lbl {
  font: 700 13.5px var(--ui);
  color: var(--ink2);
  margin-top: 6px;
}
.lbl span {
  font-weight: 400;
  color: var(--mut);
}
.ln-line {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.ln-line.between {
  justify-content: space-between;
}
.ln-line .field {
  flex: 1 1 220px;
}
.ln-form > .field {
  flex: none;
}
.ln-hint {
  margin: 2px 0 0;
  font-size: 12.5px;
  color: var(--mut);
}
.ln-foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--mut);
  font-size: 12.5px;
}
.ln-foot p {
  margin: 0;
}
.ln-summary {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}
.ln-summary div {
  display: flex;
  gap: 7px;
}
.ln-summary dt {
  color: var(--mut);
}
.ln-summary dd {
  margin: 0;
  color: var(--ink2);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 920px) {
  .ln {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 560px) {
  .emu-logo.hero {
    font-size: 36px;
  }
  .ln-advbody {
    padding-left: 16px;
  }
  button.power {
    min-width: 0;
    width: 100%;
  }
}
.seg {
  display: inline-flex;
  padding: 3px;
  gap: 3px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line);
  border-radius: 10px;
  flex: none;
}
.seg button {
  font: 400 14px/1 var(--ui);
  color: var(--ink2);
  background: none;
  border: 0;
  border-radius: 7px;
  padding: 9px 13px 8px;
  cursor: pointer;
  white-space: nowrap;
}
.seg button:hover {
  color: #fff;
}
.seg button.on {
  background:
    linear-gradient(
      180deg,
      #1fb3ff,
      #0a7fd0);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(10, 127, 208, .35);
}
.seg button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 1px;
}
.switch {
  position: relative;
  width: 46px;
  height: 26px;
  flex: none;
  cursor: pointer;
}
.switch input {
  position: absolute;
  opacity: 0;
  inset: 0;
  margin: 0;
  cursor: pointer;
}
.switch i {
  position: absolute;
  inset: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .14);
  transition: background .2s;
}
.switch i::after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform .2s;
}
.switch input:checked + i {
  background: var(--cy2);
}
.switch input:checked + i::after {
  transform: translateX(20px);
}
.switch input:focus-visible + i {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
.ln-select,
.field select {
  font: 400 14px var(--ui);
  color: var(--ink);
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 9px 10px;
  max-width: 250px;
}
.ln-select option,
.field select option {
  background: #121821;
}
.field {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 0, 0, .35);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 0 11px;
  color: var(--mut);
}
.field:focus-within {
  border-color: var(--cy);
  color: var(--cy);
}
.field input,
.field select {
  flex: 1;
  min-width: 0;
  background: none;
  border: 0;
  outline: 0;
  color: var(--ink);
  font: 400 14px var(--ui);
  padding: 10px 0;
  max-width: none;
}
.field select option {
  background: #121821;
}
.field.sel {
  flex: 1 1 260px;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font: 700 14px/1 var(--ui);
  color: var(--ink);
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line2);
  border-radius: 9px;
  padding: 11px 15px 10px;
  cursor: pointer;
  white-space: nowrap;
}
.btn:hover {
  border-color: var(--cy);
}
.btn.primary {
  background:
    linear-gradient(
      180deg,
      #1fb3ff,
      #0a7fd0);
  border-color: transparent;
  color: #fff;
}
.btn.ghost {
  color: var(--ink2);
}
.btn.file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.btn .svi {
  color: var(--cy);
}
.btn.primary .svi {
  color: #fff;
}
.iptv-status,
#m3uStatus {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink2);
}
.iptv-status b,
#m3uStatus b {
  color: var(--ink);
}
.iptv-status.is-ok b:first-child,
#m3uStatus.is-ok b:first-child {
  color: var(--ok);
}
.iptv-status.is-err b,
#m3uStatus.is-err b {
  color: var(--bad);
}
.iptv-status.is-busy,
#m3uStatus.is-busy {
  color: var(--cy);
}
.iptv-status .src,
#m3uStatus .src {
  color: var(--mut);
  font-size: 12.5px;
  word-break: break-all;
}
.iptv-status .bad,
#m3uStatus .bad {
  color: var(--bad);
}
.iptv-status details summary,
#m3uStatus details summary {
  cursor: pointer;
  color: var(--cy);
  margin-top: 6px;
  font-size: 13px;
}
.iptv-status .chl,
#m3uStatus .chl {
  max-height: 180px;
  overflow: auto;
  font: 12px/1.6 Consolas, monospace;
  color: #9fb3c8;
  margin-top: 6px;
}
#side {
  width: 272px;
  flex: 0 0 272px;
  background: #0d1016;
  border-left: 1px solid #1c2330;
  display: flex;
  flex-direction: column;
  min-height: 0;
  color: var(--ink2);
  font: 14px var(--ui);
}
.sd-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 13px 12px 11px;
}
.sd-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid #1c2330;
  padding: 0 6px;
}
.sd-tabs button {
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  color: var(--mut);
  font: 400 13.5px var(--ui);
  padding: 9px 2px 8px;
  cursor: pointer;
}
.sd-tabs button.on {
  color: #fff;
  font-weight: 700;
  border-bottom-color: var(--cy);
}
.sd-tabs button:hover {
  color: #e3eaf2;
}
.sd-body {
  flex: 1;
  min-height: 0;
  position: relative;
}
.sd-tab {
  display: none;
  position: absolute;
  inset: 0;
  overflow: auto;
  padding: 14px 12px;
}
.sd-tab.on {
  display: block;
}
#tRemote.on {
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 12px 10px 14px;
}
#tRemote #remote {
  width: 100%;
}
#opts,
.opts2 {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#opts label {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#opts label.chk {
  flex-direction: row;
  align-items: center;
  gap: 8px;
}
.opts2 h4 {
  margin: 0;
  color: var(--cy);
  font: 700 14px var(--ui);
}
#side select,
#side input[type=url] {
  width: 100%;
  background: #121821;
  color: var(--ink);
  border: 1px solid #2a3647;
  border-radius: 8px;
  padding: 8px;
  font: 13.5px var(--ui);
}
#side button:not(.hot):not(.sd-tabs button),
#side .filebtn {
  background: #18202b;
  color: #dbe3ec;
  border: 1px solid #2a3647;
  border-radius: 8px;
  padding: 9px 8px 8px;
  font: 13.5px var(--ui);
  cursor: pointer;
  text-align: center;
}
#side button:not(.hot):not(.sd-tabs button):hover,
#side .filebtn:hover {
  border-color: var(--cy);
}
.btnrow {
  display: flex;
  gap: 8px;
}
.btnrow > * {
  flex: 1;
}
#side .filebtn {
  position: relative;
  display: block;
}
#side .filebtn input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.muted {
  color: var(--mut);
  font-size: 12.5px;
  line-height: 1.45;
}
table.keys {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
table.keys td {
  padding: 6px 4px;
  border-bottom: 1px solid #1a212c;
}
table.keys td:first-child {
  color: #8fb3d9;
  white-space: nowrap;
}
@media (max-width: 900px) {
  #app {
    flex-direction: column;
  }
  #side {
    width: 100%;
    flex: 0 0 46vh;
    border-left: 0;
    border-top: 1px solid #1c2330;
  }
}
#opts h4 {
  margin: 4px 0 0;
  color: var(--cy);
  font: 700 14px var(--ui);
  display: flex;
  align-items: center;
  gap: 7px;
}
#opts h4.dbg-title {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #1c2330;
  color: #ffb547;
}
#side button.danger {
  border-color: #5a2a2a;
  color: #ffb0b0;
}
#side button.danger.armed {
  background: #5a1f1f;
  color: #fff;
}
.dbg-info {
  margin: 0;
  padding: 10px;
  background: #0a0d12;
  border: 1px solid #1c2330;
  border-radius: 8px;
  font: 11px/1.55 Consolas, monospace;
  color: #9fb3c8;
  white-space: pre-wrap;
  word-break: break-all;
}
#dbgHudBox {
  position: absolute;
  left: 10px;
  top: 10px;
  z-index: 20;
  pointer-events: none;
  padding: 8px 10px;
  background: rgba(0, 0, 0, .72);
  border: 1px solid rgba(255, 181, 71, .5);
  border-radius: 6px;
  font: 11.5px/1.5 Consolas, monospace;
  color: #ffd28a;
  white-space: pre;
  max-width: calc(100% - 20px);
  overflow: hidden;
}
#dbgGridBox {
  position: absolute;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 60, 60, .35) 1px, transparent 1px),
    linear-gradient(
      90deg,
      rgba(255, 60, 60, .35) 1px,
      transparent 1px);
  background-size: 120px 120px;
}
#dbgGridBox::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(60, 255, 120, .7), rgba(60, 255, 120, .7)) center / 2px 100% no-repeat, linear-gradient(rgba(60, 255, 120, .7), rgba(60, 255, 120, .7)) center / 100% 2px no-repeat;
}
#dbgKeysBox {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 20;
  pointer-events: none;
  display: flex;
  gap: 6px;
}
#dbgKeysBox span {
  font: 700 13px Consolas, monospace;
  color: #fff;
  background: rgba(0, 0, 0, .75);
  border: 1px solid rgba(255, 181, 71, .6);
  border-radius: 5px;
  padding: 4px 8px;
  animation: kfade 1.6s forwards;
}
@keyframes kfade {
  0%, 70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.rc-debug .hot {
  outline: 1px dashed rgba(255, 70, 70, .9) !important;
  background: rgba(255, 70, 70, .14) !important;
}
@font-face {
  font-family: "HmPoppins";
  src: url(../assets/fonts/Poppins-Medium.ttf) format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "HmPoppins";
  src: url(../assets/fonts/Poppins-SemiBold.ttf) format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "HmPoppins";
  src: url(../assets/fonts/Poppins-Bold.ttf) format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "HmPlex";
  src: url(../assets/fonts/IBMPlexSans-Regular.ttf) format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "HmPlex";
  src: url(../assets/fonts/IBMPlexSans-Medium.ttf) format("truetype");
  font-weight: 500;
  font-display: swap;
}
#launcher.home {
  --hm-blue: #077cc0;
  --hm-ink: #101010;
  --hm-mut: #646464;
  --hm-line: #e6e6e6;
  --hm-line2: #c1c1c1;
  --hm-soft: #f5f5f5;
  --hm-h:
    "HmPoppins",
    "Poppins",
    system-ui,
    sans-serif;
  --hm-b:
    "HmPlex",
    "IBM Plex Sans",
    system-ui,
    sans-serif;
  display: block;
  padding: 0;
  overflow-y: auto;
  overflow-x: hidden;
  background: #fff;
  color: var(--hm-ink);
  font-family: var(--hm-b);
  scroll-behavior: smooth;
}
#launcher.home[hidden] {
  display: none !important;
}
#launcher.home .svi {
  stroke-width: 1.8;
}
.hm-wrap {
  width: min(1320px, 100% - 48px);
  margin: 0 auto;
}
.hm-strip {
  border-bottom: 1px solid var(--hm-line);
  font: 400 14px var(--hm-b);
  color: var(--hm-mut);
}
.hm-strip .hm-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
  flex-wrap: wrap;
}
.hm-ids {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hm-ids #lnSummary {
  display: inline-flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hm-ids #lnSummary div {
  display: inline;
}
.hm-ids dt,
.hm-ids dd {
  display: inline;
  margin: 0;
}
.hm-ids dd {
  color: var(--hm-ink);
  font-variant-numeric: tabular-nums;
  margin-left: 6px;
}
.hm-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hm-line);
}
.hm-nav .hm-wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 80px;
}
.hm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.hm-wm {
  display: block;
  width: 144px;
  height: 30px;
  background: url(../assets/logos/dtv_actual.svg) left center / contain no-repeat;
  filter: brightness(.9);
}
.hm-tag {
  font: 700 12px/1 var(--hm-h);
  color: var(--hm-blue);
  border: 1.5px solid var(--hm-blue);
  border-radius: 6px;
  padding: 5px 7px 4px;
  white-space: nowrap;
}
.hm-links {
  display: flex;
  gap: 26px;
  flex: 1;
}
.hm-links a {
  font: 600 14px var(--hm-h);
  color: var(--hm-ink);
  text-decoration: none;
}
.hm-links a:hover {
  color: var(--hm-blue);
}
.hm-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font: 600 14px/1 var(--hm-h);
  border-radius: 24px;
  padding: 14px 26px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solid transparent;
  transition:
    background .15s,
    border-color .15s,
    color .15s;
}
.hm-btn.primary {
  background: var(--hm-blue);
  color: #fff;
}
.hm-btn.primary:hover {
  background: #0669a4;
}
.hm-btn.outline {
  background: #fff;
  color: var(--hm-ink);
  border-color: var(--hm-line2);
}
.hm-btn.outline:hover {
  border-color: var(--hm-blue);
  color: var(--hm-blue);
}
.hm-btn.ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
}
.hm-btn.ghost:hover {
  background: rgba(255, 255, 255, .12);
}
.hm-btn.big {
  font-size: 20px;
  padding: 19px 40px;
  border-radius: 36px;
}
.hm-btn.block {
  width: 100%;
}
.hm-btn.file input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}
.hm-btn:focus-visible,
.hm-qc:focus-visible,
.hm-tabs button:focus-visible,
.hm-link:focus-visible,
.hm-seg button:focus-visible {
  outline: 3px solid #0a8ad6;
  outline-offset: 2px;
}
.hm-hero {
  background:
    linear-gradient(
      90deg,
      rgba(3, 6, 14, .82) 0%,
      rgba(3, 6, 14, .55) 40%,
      rgba(3, 6, 14, .1) 75%),
    #05070b url(../assets/img/bg_boot.png) center 30% / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hm-hero-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 56px;
  align-items: center;
  min-height: 540px;
  padding: 40px 0;
}
.hm-hero-txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 40px 0;
}
.hm-hero h1 {
  margin: 0;
  font: 700 clamp(34px, 3.6vw, 52px)/1.12 var(--hm-h);
  max-width: 15ch;
}
.hm-hero p {
  margin: 0;
  font: 400 18px/1.55 var(--hm-b);
  color: rgba(255, 255, 255, .86);
  max-width: 46ch;
}
.hm-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hm-quick {
  padding: 40px 0 8px;
}
.hm-quick-in {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}
.hm-qc {
  width: 148px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 18px 16px 20px;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 8px;
  color: var(--hm-ink);
  font: 500 16px var(--hm-h);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition:
    border-color .15s,
    box-shadow .15s,
    transform .15s;
}
.hm-qc .svi {
  width: 20px;
  height: 20px;
}
.hm-qc:hover {
  border-color: var(--hm-blue);
  box-shadow: 0 6px 18px rgba(7, 124, 192, .12);
  transform: translateY(-2px);
}
.hm-sec {
  padding: 48px 0 64px;
}
.hm-sec h2,
.hm-grey h2 {
  margin: 0 0 22px;
  text-align: center;
  font: 700 24px/1.3 var(--hm-h);
  color: var(--hm-ink);
}
.hm-grey h2.left {
  text-align: left;
}
.hm-sub {
  margin: -14px 0 28px;
  text-align: center;
  font: 400 16px var(--hm-b);
  color: var(--hm-mut);
}
.hm-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 30px;
}
.hm-tabs button {
  font: 600 14px/1 var(--hm-h);
  color: var(--hm-ink);
  background: var(--hm-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
}
.hm-tabs button.on {
  background: var(--hm-blue);
  border-color: var(--hm-blue);
  color: #fff;
}
.hm-plans {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}
.hm-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 8px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hm-card[hidden] {
  display: none;
}
.hm-card h3 {
  margin: 0;
  font: 700 20px var(--hm-h);
}
.hm-start {
  border-color: var(--hm-blue);
}
.hm-badge {
  position: absolute;
  top: -13px;
  left: 22px;
  font: 600 12px/1 var(--hm-h);
  background: #ffd23f;
  color: #3a2a00;
  border-radius: 6px;
  padding: 6px 10px;
}
.hm-muted {
  margin: -4px 0 4px;
  font: 400 14px/1.5 var(--hm-b);
  color: var(--hm-mut);
}
.hm-lbl {
  font: 500 14px var(--hm-b);
  color: var(--hm-ink);
  margin-top: 4px;
}
.hm-lbl span {
  color: var(--hm-mut);
  font-weight: 400;
}
.hm-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.hm-row.wrap {
  flex-wrap: wrap;
}
.hm-row.between {
  justify-content: space-between;
  flex-wrap: wrap;
}
.hm-input {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--hm-line2);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--hm-mut);
  background: #fff;
}
.hm-input:focus-within {
  border-color: var(--hm-blue);
  box-shadow: 0 0 0 3px rgba(7, 124, 192, .15);
  color: var(--hm-blue);
}
.hm-input input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font: 400 15px var(--hm-b);
  color: var(--hm-ink);
  padding: 13px 0;
}
.hm-select {
  width: 100%;
  font: 400 15px var(--hm-b);
  color: var(--hm-ink);
  background: #fff;
  border: 1px solid var(--hm-line2);
  border-radius: 8px;
  padding: 12px;
  max-width: none;
}
.hm-sep {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  font: 400 14px var(--hm-b);
  color: var(--hm-ink);
}
.hm-sep::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hm-line);
}
.hm-seg {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}
.hm-seg button {
  font: 600 13px/1 var(--hm-h);
  color: var(--hm-ink);
  background: var(--hm-soft);
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 10px 12px;
  cursor: pointer;
}
.hm-seg button.on {
  background: var(--hm-blue);
  color: #fff;
}
.hm-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 0;
  padding: 6px 2px;
  color: var(--hm-mut);
  font: 500 14px var(--hm-b);
  cursor: pointer;
}
.hm-link:hover {
  color: #c0392b;
}
.hm-checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font: 400 16px var(--hm-b);
}
.hm-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.hm-start .hm-btn {
  margin-top: 10px;
}
.hm-note {
  margin: 22px auto 0;
  max-width: 980px;
  text-align: center;
  font: 400 13.5px var(--hm-b);
  color: var(--hm-mut);
}
#launcher .hm-status {
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef6fb;
  border: 1px solid #cfe6f4;
  color: #31556c;
  font: 400 14px/1.5 var(--hm-b);
}
#launcher .hm-status b {
  color: var(--hm-ink);
  font-family: var(--hm-h);
  font-weight: 600;
}
#launcher .hm-status.is-ok b:first-child {
  color: #138a52;
}
#launcher .hm-status.is-err {
  background: #fdf0ef;
  border-color: #f3cdc9;
}
#launcher .hm-status.is-err b {
  color: #c0392b;
}
#launcher .hm-status.is-busy {
  color: var(--hm-blue);
}
#launcher .hm-status details summary {
  color: var(--hm-blue);
}
#launcher .hm-status .chl {
  color: #3b5566;
  background: #fff;
  border: 1px solid var(--hm-line);
  border-radius: 6px;
  padding: 8px;
}
.hm-grey {
  background: var(--hm-soft);
  padding: 56px 0;
}
.hm-grey-in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}
.hm-device {
  position: relative;
  padding: 10px 70px 30px 0;
}
.hm-tv {
  background: #111;
  border-radius: 12px;
  padding: 10px 10px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.hm-tv img {
  display: block;
  width: 100%;
  border-radius: 4px;
}
.hm-remote {
  position: absolute;
  right: 0;
  bottom: -10px;
  height: 92%;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .3));
  transform: rotate(8deg);
}
.hm-feats {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font: 400 16px var(--hm-b);
}
.hm-feats li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hm-feats .svi {
  width: 20px;
  height: 20px;
  color: var(--hm-ink);
}
.hm-keys {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 14px;
  max-width: 980px;
  margin: 0 auto;
}
.hm-keys div {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid var(--hm-line);
  border-radius: 8px;
  font: 400 15px var(--hm-b);
}
.hm-keys span {
  margin-left: 8px;
  color: var(--hm-mut);
  white-space: nowrap;
}
.hm-keys kbd {
  font: 600 13px/1 var(--hm-h);
  color: var(--hm-ink);
  background: var(--hm-soft);
  border: 1px solid var(--hm-line2);
  border-bottom-width: 3px;
  border-radius: 6px;
  padding: 6px 9px 5px;
  min-width: 30px;
  text-align: center;
}
.hm-foot {
  background: var(--hm-soft);
  border-top: 1px solid var(--hm-line);
  padding: 30px 0;
}
.hm-foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.hm-foot p {
  margin: 0;
  font: 400 14px var(--hm-b);
  color: var(--hm-mut);
}
@media (max-width: 960px) {
  .hm-hero-in {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hm-plans,
  .hm-grey-in {
    grid-template-columns: 1fr;
  }
  .hm-links {
    display: none;
  }
  .hm-nav .hm-wrap {
    justify-content: space-between;
  }
}
@media (max-width: 560px) {
  .hm-wrap {
    width: calc(100% - 32px);
  }
  .hm-btn.big {
    font-size: 17px;
    padding: 16px 26px;
  }
  .hm-qc {
    width: calc(50% - 11px);
  }
  .hm-device {
    padding-right: 50px;
  }
}
.hm-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c8102e;
  font: 600 14px var(--hm-h);
  text-decoration: none;
}
.hm-credit:hover {
  text-decoration: underline;
}
.hm-credit .dc {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.hm-red {
  background:
    linear-gradient(
      100deg,
      #8e0018 0%,
      #c8102e 45%,
      #e3262b 100%);
  color: #fff;
  padding: 52px 0;
  position: relative;
  overflow: hidden;
}
.hm-red::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
}
.hm-red-in {
  display: flex;
  align-items: center;
  gap: 32px;
  position: relative;
  z-index: 1;
}
.hm-red-ic {
  width: 72px;
  height: 72px;
  fill: #fff;
  flex: none;
  opacity: .95;
}
.hm-red-txt {
  flex: 1;
  min-width: 0;
}
#launcher .hm-red h2 {
  margin: 0 0 8px;
  text-align: left;
  font: 700 28px/1.25 var(--hm-h);
  color: #fff;
}
.hm-red p {
  margin: 0;
  font: 400 16px/1.55 var(--hm-b);
  color: rgba(255, 255, 255, .9);
  max-width: 62ch;
}
.hm-btn.white {
  background: #fff;
  color: #c8102e;
}
.hm-btn.white:hover {
  background: #ffecee;
}
.hm-foot p a {
  color: #c8102e;
  font-weight: 500;
}
@media (max-width: 760px) {
  .hm-red-in {
    flex-direction: column;
    align-items: flex-start;
  }
  .hm-red-ic {
    width: 52px;
    height: 52px;
  }
}
.hm-slides {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hm-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #050a18;
  box-shadow: 0 24px 60px rgba(0, 8, 40, .55), 0 0 0 1px rgba(255, 255, 255, .14);
}
.hm-sl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity .9s ease, transform 4.6s ease-out;
}
.hm-sl.on {
  opacity: 1;
  transform: scale(1);
}
.hm-slbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.hm-cap {
  font: 600 15px var(--hm-h);
  color: #fff;
}
.hm-dots {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.hm-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: width .3s, background .3s;
}
.hm-dots button.on {
  width: 24px;
  background: #fff;
}
.hm-dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .hm-sl {
    transition: opacity .3s;
    transform: none !important;
  }
}
.ipx-empty {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ipx-empty b {
  display: block;
  font-family: var(--hm-h, var(--ui));
}
.ipx-empty small {
  display: block;
  margin-top: 2px;
  opacity: .8;
  font-size: 13px;
}
.ipx-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9aa6b2;
  flex: none;
}
.ipx-dot.ok {
  background: #18a058;
  box-shadow: 0 0 0 4px rgba(24, 160, 88, .15);
}
.ipx-dot.bad {
  background: #d33a2c;
  box-shadow: 0 0 0 4px rgba(211, 58, 44, .15);
}
.ipx-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.ipx-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}
.ipx-stats div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 8px;
}
.ipx-stats b {
  font: 700 20px/1.1 var(--hm-h, var(--ui));
}
.ipx-stats span {
  font-size: 12.5px;
  opacity: .75;
}
.ipx-warn {
  margin: 0 0 10px;
  font-size: 13px;
  color: #c0392b;
}
.ipx-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 252px;
  overflow: auto;
  border-radius: 8px;
}
.ipx-list li {
  display: grid;
  grid-template-columns: 44px 46px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
}
.ipx-logo {
  width: 44px;
  height: 30px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  overflow: hidden;
  font: 700 11px var(--hm-h, var(--ui));
}
.ipx-logo img {
  max-width: 90%;
  max-height: 80%;
  object-fit: contain;
}
.ipx-num {
  font: 600 14px var(--hm-h, var(--ui));
  font-variant-numeric: tabular-nums;
}
.ipx-name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.ipx-name small {
  display: block;
  font-size: 11.5px;
  opacity: .65;
  letter-spacing: .02em;
}
.ipx-epg {
  font: 600 11.5px/1 var(--hm-h, var(--ui));
  padding: 5px 8px;
  border-radius: 99px;
  white-space: nowrap;
}
#launcher .hm-status.is-ok {
  background: #fff;
  border-color: var(--hm-line);
  padding: 14px;
}
#launcher .ipx-head b {
  font: 600 15px var(--hm-h);
  color: var(--hm-ink);
}
#launcher .ipx-stats div {
  background: #f3f8fc;
}
#launcher .ipx-stats b {
  color: var(--hm-ink);
}
#launcher .ipx-stats span {
  color: var(--hm-mut);
  opacity: 1;
}
#launcher .ipx-list {
  border: 1px solid var(--hm-line);
}
#launcher .ipx-list li + li {
  border-top: 1px solid var(--hm-line);
}
#launcher .ipx-logo {
  background: #0b1222;
  color: #fff;
}
#launcher .ipx-num {
  color: var(--hm-blue);
}
#launcher .ipx-name {
  color: var(--hm-ink);
}
#launcher .ipx-epg {
  background: #f0f0f0;
  color: var(--hm-mut);
}
#launcher .ipx-epg.on {
  background: #e5f4ec;
  color: #137a46;
}
#m3uStatus .ipx-stats div {
  background: rgba(255, 255, 255, .05);
}
#m3uStatus .ipx-stats b {
  font-size: 16px;
  color: #fff;
}
#m3uStatus .ipx-list {
  border: 1px solid #1c2330;
  max-height: 300px;
}
#m3uStatus .ipx-list li {
  grid-template-columns: 34px 38px minmax(0, 1fr);
  padding: 7px 8px;
  gap: 8px;
}
#m3uStatus .ipx-list li + li {
  border-top: 1px solid #1c2330;
}
#m3uStatus .ipx-logo {
  width: 34px;
  height: 24px;
  background: #000;
  color: #fff;
}
#m3uStatus .ipx-num {
  color: var(--cy);
  font-size: 13px;
}
#m3uStatus .ipx-name {
  color: #dbe3ec;
  font-size: 13px;
}
#m3uStatus .ipx-epg {
  display: none;
}
#m3uStatus .ipx-empty small {
  color: var(--mut);
}
@media (max-width: 960px) {
  .hm-hero-in {
    gap: 26px;
    padding: 34px 0 40px;
  }
  .hm-hero-txt {
    padding: 0;
  }
}
@media (max-width: 640px) {
  .hm-strip {
    display: none;
  }
  .hm-nav .hm-wrap {
    min-height: 64px;
    gap: 12px;
  }
  .hm-wm {
    width: 112px;
    height: 24px;
  }
  .hm-tag {
    font-size: 11px;
    padding: 4px 6px 3px;
  }
  .hm-navpow {
    padding: 10px;
    border-radius: 50%;
  }
  .hm-navpow span {
    display: none;
  }
  .hm-hero h1 {
    font-size: 32px;
  }
  .hm-hero p {
    font-size: 16px;
  }
  .hm-cta {
    width: 100%;
  }
  .hm-cta .hm-btn {
    flex: 1 1 100%;
  }
  .hm-btn.big {
    font-size: 17px;
    padding: 16px 22px;
  }
  .hm-slbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hm-dots {
    justify-content: flex-start;
  }
  .hm-quick {
    padding-top: 28px;
  }
  .hm-quick-in {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  .hm-qc {
    width: auto;
    gap: 12px;
    padding: 14px 12px;
    font-size: 14px;
  }
  .hm-sec {
    padding: 36px 0 44px;
  }
  .hm-sec h2,
  .hm-grey h2 {
    font-size: 21px;
  }
  .hm-tabs button {
    padding: 10px 12px;
    font-size: 13px;
  }
  .hm-card {
    padding: 22px 16px 18px;
  }
  .hm-row {
    flex-wrap: wrap;
  }
  .hm-row .hm-input {
    flex: 1 1 100%;
  }
  .hm-row > .hm-btn.primary {
    flex: 1 1 100%;
  }
  .hm-row.wrap .hm-btn {
    flex: 1 1 calc(50% - 5px);
    padding: 12px 10px;
  }
  .ipx-list li {
    grid-template-columns: 38px 42px minmax(0, 1fr);
  }
  .ipx-epg {
    display: none;
  }
  .hm-grey {
    padding: 40px 0;
  }
  .hm-device {
    padding: 0 40px 20px 0;
  }
  .hm-keys {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .hm-keys div {
    padding: 12px;
    flex-wrap: wrap;
  }
  .hm-keys span {
    margin-left: 4px;
  }
  .hm-red {
    padding: 40px 0;
  }
  #launcher .hm-red h2 {
    font-size: 23px;
  }
  .hm-red .hm-btn {
    width: 100%;
  }
  .hm-foot-in {
    flex-direction: column;
    align-items: flex-start;
  }
}
#launcher .hm-status.is-ok .ipx-stats b,
#launcher .hm-status.is-ok .ipx-head b {
  color: var(--hm-ink);
}
.hm-soon {
  background: #ffd23f;
  color: #2b2100;
}
.hm-soon-in {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
}
.hm-soon-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .08);
  flex: none;
}
.hm-soon p {
  margin: 0;
  flex: 1;
  font: 400 15.5px/1.45 var(--hm-b);
}
.hm-soon b {
  font: 600 15.5px var(--hm-h);
}
.hm-btn.dark {
  background: #101010;
  color: #fff;
  padding: 12px 20px;
}
.hm-btn.dark:hover {
  background: #2a2a2a;
}
.hm-btn .dc {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
@media (max-width: 640px) {
  .hm-soon-in {
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 0 18px;
  }
  .hm-soon-ic {
    display: none;
  }
  .hm-soon .hm-btn {
    width: 100%;
  }
}
#launcher .hm-status {
  padding: 0;
  background: none;
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
#launcher .hm-status:empty {
  display: none;
}
#launcher .hm-status.is-ok {
  padding: 0;
  background: none;
  border: 0;
}
.ipx-msg {
  margin: 0;
  font: 400 14px/1.45 var(--hm-b);
  color: var(--hm-mut);
}
.hm-status.is-ok .ipx-msg {
  color: #137a46;
}
.hm-status.is-ok .ipx-msg b,
#launcher .hm-status.is-ok .ipx-msg b:first-child {
  color: #137a46;
  font-family: var(--hm-h);
  font-weight: 600;
}
.hm-status.is-err .ipx-msg {
  color: #c0392b;
}
.hm-status.is-busy .ipx-msg {
  color: var(--hm-blue);
}
.hm-input.is-ok {
  border-color: #18a058;
  background: #f2fbf6;
  color: #18a058;
  box-shadow: 0 0 0 3px rgba(24, 160, 88, .14);
}
.hm-input.is-err {
  border-color: #d33a2c;
  background: #fdf3f2;
  color: #d33a2c;
  box-shadow: 0 0 0 3px rgba(211, 58, 44, .12);
}
.hm-info {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eef6fb;
  border: 1px solid #cfe6f4;
  color: #2f5871;
}
.hm-info .svi {
  flex: none;
  margin-top: 2px;
  color: var(--hm-blue);
}
.hm-info p {
  margin: 0;
  font: 400 14px/1.5 var(--hm-b);
}
