/* UNIPLAY_SIMPLE_STYLE_V163 */

.upv163-wrap{
  max-width:1180px;
  margin:0 auto;
  padding:28px 28px 50px;
}
.upv163-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}
.upv163-head h1{
  margin:0;
  font-size:28px;
  line-height:1.1;
  color:#f8fafc;
}
.upv163-head p{
  margin:7px 0 0;
  color:#94a3b8;
  font-size:14px;
}
.upv163-badge{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:0 13px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,.22);
  background:#0f172a;
  color:#cbd5e1;
  font-size:12px;
  font-weight:800;
  letter-spacing:.02em;
}
.upv163-badge.connected{
  border-color:rgba(34,197,94,.35);
  background:rgba(22,101,52,.18);
  color:#86efac;
}
.upv163-badge.error{
  border-color:rgba(248,113,113,.35);
  background:rgba(127,29,29,.18);
  color:#fecaca;
}
.upv163-card{
  border:1px solid rgba(148,163,184,.18);
  background:linear-gradient(180deg,rgba(15,23,42,.96),rgba(8,15,28,.96));
  border-radius:16px;
  padding:20px;
  box-shadow:0 14px 40px rgba(0,0,0,.16);
}
.upv163-connect{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:18px;
}
.upv163-account-title{
  color:#f8fafc;
  font-weight:800;
  font-size:15px;
}
.upv163-account-line{
  margin-top:5px;
  color:#94a3b8;
  font-size:13px;
}
.upv163-account-line strong{
  color:#cbd5e1;
}
.upv163-btn{
  appearance:none;
  border:1px solid rgba(148,163,184,.28);
  background:#172033;
  color:#e2e8f0;
  min-height:42px;
  padding:0 17px;
  border-radius:10px;
  font-weight:800;
  cursor:pointer;
}
.upv163-btn:hover{
  filter:brightness(1.08);
}
.upv163-btn:disabled{
  opacity:.55;
  cursor:wait;
}
.upv163-btn.primary{
  border-color:#0891b2;
  background:#0891b2;
  color:white;
  min-width:126px;
}
.upv163-link{
  appearance:none;
  border:0;
  background:transparent;
  color:#67e8f9;
  font-size:12px;
  cursor:pointer;
  padding:0;
  margin-left:8px;
}
.upv163-editor{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-top:16px;
}
.upv163-field label{
  display:block;
  margin-bottom:6px;
  color:#94a3b8;
  font-size:12px;
  font-weight:700;
}
.upv163-field input{
  width:100%;
  box-sizing:border-box;
  min-height:42px;
  border-radius:10px;
  border:1px solid rgba(148,163,184,.24);
  background:#07101f;
  color:#f8fafc;
  padding:0 12px;
  outline:none;
}
.upv163-field input:focus{
  border-color:#0891b2;
  box-shadow:0 0 0 3px rgba(8,145,178,.12);
}
.upv163-message{
  min-height:20px;
  margin-top:13px;
  color:#94a3b8;
  font-size:13px;
}
.upv163-message.error{
  color:#fca5a5;
}
.upv163-remote{
  margin-top:16px;
  border:1px solid rgba(8,145,178,.28);
  border-radius:16px;
  overflow:hidden;
  background:#020617;
}
.upv163-remote-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:13px 15px;
  background:#08111f;
  border-bottom:1px solid rgba(148,163,184,.16);
}
.upv163-remote-head strong{
  color:#f8fafc;
  font-size:13px;
}
.upv163-remote-head span{
  color:#94a3b8;
  font-size:12px;
}
.upv163-screen-wrap{
  position:relative;
  background:#020617;
  min-height:340px;
}
.upv163-screen{
  display:block;
  width:100%;
  height:auto;
  min-height:340px;
  object-fit:contain;
  cursor:crosshair;
  user-select:none;
  -webkit-user-drag:none;
}
.upv163-tip{
  padding:11px 15px;
  color:#cbd5e1;
  background:#07101f;
  border-top:1px solid rgba(148,163,184,.14);
  font-size:12px;
}
.upv163-data{
  margin-top:18px;
}
.upv163-kpis{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
.upv163-kpi{
  border:1px solid rgba(148,163,184,.16);
  border-radius:14px;
  background:#0b1424;
  padding:16px;
}
.upv163-kpi span{
  display:block;
  color:#94a3b8;
  font-size:12px;
}
.upv163-kpi strong{
  display:block;
  margin-top:7px;
  color:#f8fafc;
  font-size:24px;
}
.upv163-users{
  margin-top:14px;
}
.upv163-users-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.upv163-users-head h2{
  margin:0;
  color:#f8fafc;
  font-size:16px;
}
.upv163-tabs{
  display:flex;
  gap:7px;
}
.upv163-tab{
  appearance:none;
  border:1px solid rgba(148,163,184,.18);
  border-radius:999px;
  background:#0b1424;
  color:#94a3b8;
  padding:7px 12px;
  cursor:pointer;
  font-size:12px;
  font-weight:800;
}
.upv163-tab.active{
  color:#cffafe;
  border-color:rgba(8,145,178,.55);
  background:rgba(8,145,178,.13);
}
.upv163-table-wrap{
  overflow:auto;
  border:1px solid rgba(148,163,184,.16);
  border-radius:14px;
}
.upv163-table{
  width:100%;
  border-collapse:collapse;
  min-width:620px;
}
.upv163-table th,
.upv163-table td{
  padding:12px 14px;
  border-bottom:1px solid rgba(148,163,184,.11);
  text-align:left;
  color:#cbd5e1;
  font-size:12px;
}
.upv163-table th{
  color:#94a3b8;
  background:#08111f;
  font-weight:800;
}
.upv163-muted{
  color:#64748b !important;
}
.upv163-connected-actions{
  margin-top:12px;
  display:flex;
  justify-content:flex-end;
}
.upv163-disconnect{
  appearance:none;
  border:0;
  background:transparent;
  color:#94a3b8;
  cursor:pointer;
  font-size:12px;
}
.upv163-disconnect:hover{
  color:#fca5a5;
}
@media(max-width:850px){
  .upv163-wrap{
    padding:20px 16px 40px;
  }
  .upv163-connect{
    grid-template-columns:1fr;
  }
  .upv163-btn.primary{
    width:100%;
  }
  .upv163-editor{
    grid-template-columns:1fr;
  }
  .upv163-kpis{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:520px){
  .upv163-head{
    flex-direction:column;
  }
  .upv163-kpis{
    grid-template-columns:1fr 1fr;
  }
  .upv163-screen,
  .upv163-screen-wrap{
    min-height:240px;
  }
}
