body {
  background: var(--MCL1);
}
.wrapper {
  position: fixed;
  top: .5rem;
  left: .5rem;
  right: .5rem;
  bottom: .5rem;
  display: grid;
  overflow: hidden;
  grid-template-columns: 250px calc(100% - 250px - .5rem);
  gap:.5rem;
  border-radius: var(--BR3);
  width: calc(100% - 1rem);
}
.sidebar,.dataside {
  border-radius:var(--BR1);
  overflow: hidden auto;
}
.sidebar{
  background: var(--MCL3);
}
.dataside{
  background: #fff;
}
.dataside .music-player {
  margin: 1rem 2rem;
  padding: 1rem;
  flex-wrap: wrap;
}
.dataside .music-player::after {
  content: none;
}
.dataside .music-player .music-info {
  margin-right: -0.5rem;
}
.hide-menu {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  visibility: hidden;
  z-index: 14;
}
.menu-btn-holder {
  display: none;
}
.show.hide-menu {
  background: #fff3;
  backdrop-filter: var(--BL1);
  visibility: visible;
}
.sidebar .watermark h1 {
  font-weight: 900;
  font-size: 20px;
}
.sidebar header {
  height: 160px;
  border-bottom: var(--BW) solid var(--MCL1);
  flex-direction: column;
  margin-bottom: 1rem;
}
.sidebar .action-menu {
  padding: 0 1rem;
  margin-top: 1.5rem;
  display: none;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.sidebar .action-menu svg {
  margin: 0;
}
.sidebar .action-menu button {
  width: 40px;
  aspect-ratio: 1/1;
  background: var(--WT1);
  border-radius: var(--BR2);
}
.sidebar .action-menu button:hover {
  background: var(--WT2);
}
.sidebar header img {
  height: 50px;
  border-radius: 30px;
  border: var(--BW) solid var(--MCL2);
  box-shadow: 0 0 0 2px var(--MC);
  margin-bottom: 1rem;
}
.sidebar header h1 {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.5;
}
.sidebar header span {
  font-weight: 400;
  opacity: 0.7;
  line-height: 1.5;
}
.sidebar > h1 {
  font-weight: 900;
  margin: 1rem 0;
  text-align: center;
}
.sidebar a {
  padding: 0.5rem 1rem;
  text-decoration: none;
  color: #000;
  display: block;
  border-radius: var(--BR1);
  margin: 0.7rem 1rem;
  position: relative;
}
.sidebar a.inpage:after {
  content: "";
  position: absolute;
  width: var(--BW);
  border-radius: var(--BR1);
  height: 30px;
  right: -6px;
  top: calc(50% - 15px);
  background: var(--MC);
}
.sidebar a:hover {
  background: #fff;
  box-shadow: var(--BSB) var(--WT1);
}
.dataside header {
  padding: 1rem;
  border-bottom: var(--BW) var(--MCL2) solid;
  display: flex;
  margin-bottom: 1rem;
  overflow: auto hidden;
  white-space: nowrap;
}
.dataside .menu-btn-holder {
  width: 60px;
  border-left: var(--BW) var(--MCL2) solid;
  padding-left: 0rem;
  margin-left: 1rem;
  margin-right: -1rem;
}
.dataside .menu-btn-holder button {
  background: #fff;
  width: 40px;
  aspect-ratio: 1/1;
  border-radius: var(--BR2);
}
.dataside .menu-btn-holder svg {
  margin: 0;
}
.dataside .menu-btn-holder button:hover {
  background: var(--MCL2);
}
.dataside header h1 {
  font-weight: 900;
  font-size: 20px;
}
.dataside header svg {
  margin-left: 1rem;
  width: 30px;
}
.dataside header a {
  padding: 0.3rem 1rem;
  color: #fff;
  border-radius: var(--BR2);
  background: var(--MC);
  margin-right: 2rem;
}
.dataside header a:hover,
.forms-box form button:hover,
.inputs label:hover {
  background: var(--MCD1);
}
.dataside header a svg {
  margin-left: 0.5rem;
  width: 24px;
}
.dataside .status-widgets {
  background: var(--MCL2);
  height: 80px;
  margin: 1rem;
  padding: 0 10px;
  border-radius: var(--BR3);
  display: grid;
  align-items: center;
  justify-items: center;
  grid-template-columns: repeat(3, 1fr);
  justify-items: stretch;
  gap: 1rem;
}
.dataside .status-widgets .widget {
  background: #fff;
  border-radius: var(--BR2);
  padding: 0 1rem;
  box-shadow: var(--BSN) var(--WT1);
  height: 60px;
}
.dataside .status-widgets .widget svg {
  margin-left: 0.5rem;
}
.dataside .status-widgets .widget h1 {
  font-weight: 900;
  font-size: 18px;
}
.dataside > h1 {
  margin: 0 2rem;
  font-weight: 600;
  font-size: 16px;
}
.dataside .table {
  overflow: auto hidden;
  margin: 1rem 2rem;
  border-radius: var(--BR3);
}
.dataside table {
  border-radius: var(--BR3);
  border-spacing: 0;
  background: var(--MCL2);
  padding: 10px;
  min-width: 600px;
  width: 100%;
}
.dataside table svg {
  margin: 0;
}
.dataside table.type2 {
  text-align: center;
}
.dataside table thead {
  box-shadow: var(--BSN) var(--WT1);
  background: #fff;
}
.dataside table tr > *:first-child {
  border-radius: 0 var(--BR2) var(--BR2) 0;
}
.dataside table tr > *:last-child {
  border-radius: var(--BR2) 0 0 var(--BR2);
}
.dataside table *.large {
  min-width: 150px;
  width: 150px;
}
.dataside table *.very-large {
  min-width: 300px;
  width: 300px;
}
.dataside table *.medium {
  min-width: 100px;
  width: 100px;
}
.dataside table *.small {
  min-width: 60px;
  width: 60px;
}
.dataside table *.tiny {
  min-width: 10px;
  width: 10px;
}
.dataside table tr > * {
  padding: 1rem;
}
.dataside table tr:nth-child(2n) {
  background: #fff;
}
.dataside table td span {
  padding: 0.1rem 0.5rem;
  border-radius: var(--BR1);
  margin: 0 0.15rem;
}
.dataside table td span.q128 {
  background: var(--MCL0);
}
.dataside table td span.q320 {
  background: var(--MC);
  color: #fff;
}
.dataside table td span.publish {
  background: var(--MC);
  color: #fff;
}
.dataside table td a.new {
  position: relative;
}
.dataside table td a.new::after {
  position: absolute;
  top: 0;
  right: -0.5rem;
  width: 5px;
  height: 5px;
  background: #f66;
  border-radius: var(--BR1);
  content: "";
}
.dataside table td .external-link{
  width:100%;
}
.dataside table td span.pending {
  background: var(--WR);
}
.dataside table td span.draft {
  background: #333;
  color: #fff;
}
.dataside table td span.deleted {
  background: #f66;
  color: #fff;
}
.dataside table td span.spam {
  background: #933;
  color: #fff;
}
.dataside table td a.center-inside-elements {
  width: 35px;
  height: 35px;
  background: #fff;
  border-radius: var(--BR2);
  margin: 0.25rem 0.2rem;
  display: inline-flex;
}
.dataside table tr:nth-child(2n) a.center-inside-elements {
  background: var(--MCL2);
}
.dataside table td a svg {
  margin: 0;
}
.dataside .forms-box {
  margin: 1rem 2rem;
  padding: 0.5rem 0;
  border-radius: var(--BR3);
  background: var(--MCL2);
  overflow: auto hidden;
  white-space: nowrap;
}
.dataside form label {
  margin: 0 0.5rem;
}
.dataside form input,
.dataside form select {
  background: #fff;
  border-radius: var(--BR2);
  padding: 0.3rem 1rem;
  margin: 0 0.7rem;
}
.dataside form select {
  padding: 0.5rem 1rem;
}
.dataside form button {
  padding: 0.3rem 1.5rem;
  color: #fff;
  border-radius: var(--BR2);
  margin: 0 0.7rem;
  background: var(--MC);
}
.dataside form button.just-svg {
  width: 40px;
  aspect-ratio: 1/1;
  display: inline-flex;
  padding: 0;
}
.dataside form button.just-svg svg {
  margin: 0;
}
.dataside footer {
  overflow: auto hidden;
  white-space: nowrap;
  gap: 2rem;
  margin: 1rem 2rem;
  padding: 0.5rem 1rem;
  border-radius: var(--BR3);
  background: var(--MCL2);
  overflow: auto hidden;
}
.dataside footer .links .pages,
.dataside footer .links > a {
  height: 40px;
  background: #fff;
  box-shadow: var(--BSB) var(--WT1);
  border-radius: var(--BR2);
  display: inline-flex;
  margin: 0 0.5rem;
}
.dataside footer .links a {
  width: 40px;
  aspect-ratio: 1/1;
}
.dataside footer .links .pages a:active {
  background: var(--MCL2);
  border-radius: var(--BR2);
}
.dataside footer .links a * {
  margin: 0;
}
.dataside .form-box.division {
  display: grid;
  grid-template-columns: calc(100% - 300px - 1rem) 300px;
}
.dataside .form-box .files label {
  width: calc(100% - 2rem);
  background: var(--MCL2);
  border-radius: var(--BR3);
  margin: 0.5rem 1rem;
  cursor: pointer;
}
.dataside .form-box .files .music {
  width: 100%;
}
.dataside .form-box .files .music label {
  width: auto;
  margin: 1rem;
}
.dataside .form-box .files label.cover {
  aspect-ratio: 1/1;
}
.dataside .form-box .files label .inside-box {
  background: #fff;
  margin: 1rem;
  width: calc(100% - 2rem);
  height: calc(100% - 2rem);
  border-radius: var(--BR2);
  box-shadow: var(--BSB) var(--WT1);
  user-select: none;
}
.dataside .form-box .files label .column.inside-box {
  flex-direction: column;
}
.dataside .form-box .files label .inside-box:active {
  transform: scale(0.95);
}
.dataside .form-box .files label.cover .inside-box svg {
  width: 40px;
  stroke-width: 1;
  stroke: var(--MCL-1);
  margin-bottom: 0.5rem;
}
.dataside .form-box .files label .inside-box span {
  color: var(--MCL-1);
  line-height: 1.3;
}
.dataside .form-box .files label .inside-box h1 {
  font-weight: 900;
  color: var(--MCL-1);
  line-height: 1.3;
}
.dataside .form-box .files label.music .inside-box {
  height: 80px;
  padding: 0 1rem;
}
.dataside .form-box .files label.music .inside-box svg {
  width: 40px;
  stroke-width: 1.2;
  stroke: var(--MCL-1);
  margin-left: 0.5rem;
}
.dataside .form-box .files label.music .inside-box div {
  width: 100%;
}
.dataside .form-box .inputs {
  margin-bottom: 1rem;
}
.dataside .form-box .inputs legend {
  margin: 0.2rem 1rem;
  font-weight: 600;
}
.dataside .form-box .inputs input,
.dataside .form-box .inputs textarea,
.dataside .form-box .inputs select {
  background: var(--MCL2);
  box-shadow: var(--MCL1) 0 0 0 2px;
  border: 3px #fff solid;
  padding: 0.2rem 1rem;
  border-radius: var(--BR2);
  width: calc(100% - 2rem - 6px);
  margin: 0.1rem 1rem;
  margin-bottom: 1rem;
}
.dataside .form-box .inputs select {
  width: calc(100% - 2rem - 6px);
  padding: 0.4rem 1rem;
}
.dataside .form-box .inputs textarea {
  min-width: calc(100% - 2rem - 6px);
  min-height: 100px;
  max-height: 300px;
  transition:
    0s,
    border 0.3s ease,
    box-shadow 0.3s ease;
  max-width: calc(100% - 2rem - 6px);
}
.dataside .form-box .inputs input:focus,
.dataside .form-box .inputs textarea:focus {
  box-shadow: var(--MC) 0 0 0 2px;
}
.dataside .form-box .inputs .links-table {
  background: var(--MCL2);
  padding: 1rem;
  margin: 0.1rem 1rem 1rem 1rem;
  border-radius: var(--BR3);
}
.dataside .form-box .inputs .links-table span {
  background: #fff;
  box-shadow: var(--BSB) var(--WT1);
  margin: 2px 0;
  display: block;
  padding: 1rem;
  border-radius: var(--BR1);
}
.dataside .form-box .inputs .links-table span:first-child {
  border-radius: var(--BR2) var(--BR2) var(--BR1) var(--BR1);
}
.dataside .form-box .inputs .links-table span:last-child {
  border-radius: var(--BR1) var(--BR1) var(--BR2) var(--BR2);
}
.dataside .two-sides {
  display: grid;
  grid-template-columns: calc(var(--i) - 0.5rem) calc(100% - var(--i) - 0.5rem);
  gap: 1rem;
}
.dataside button:not(header button, .forms-box button, .music-player button),
.inputs label {
  padding: 0.5rem 1rem;
  display: inline-block;
  color: #fff;
  border-radius: var(--BR2);
  background: var(--MC);
  margin: 1rem;
}
.dataside button:hover {
  background: var(--MCD1);
}
.grid {
  overflow: hidden;
  border-radius: var(--BR3);
  background: var(--MCL2);
  gap: 0.5rem;
  padding: 1rem;
  grid-template-columns: repeat(4, calc((100% - 1.5rem) / 4));
  margin: 1rem 2rem;
}
.grid:not(.loading){
display: grid;
}
.grid .grid-preload{
  height: 150px;
  width:100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap:.5rem;
}
.grid .grid-preload .loading-svg {
  width: 40px;
  stroke-width: 1;
  margin:0;
  stroke: var(--MC);
}
.grid .box {
  background: #fff;
  overflow: hidden;
  height: 70px;
  padding: 0 10px;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-radius: var(--BR2);
}
.grid .box * {
  transition: none;
}
.grid .box.type2 {
  background: var(--i) !important;
  height: fit-content;
  padding-bottom: 1rem;
  flex-direction: column;
}
.grid .box .text h1 {
  font-size: 16px;
  font-weight: 900;
  text-overflow: ellipsis;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  line-height: 1.3;
  width: 100%;
}
.grid .box .text span {
  font-size: 12px;
  font-weight: 400;
  width: 100%;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.3;
  opacity: 0.7;
}
.grid .box .logo {
  width: 50px;
  min-width: 50px;
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--BR1);
  background: var(--MCL2);
  overflow: hidden;
}
.grid .box.type2 .logo {
  width: 100%;
  min-width: 100%;
  margin-top: 0.5rem;
}
.grid .box .text {
  margin-right: 1rem;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  justify-content: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.grid .box.type2 .text {
  width: 100%;
  padding: 1rem;
  margin-right: 0;
  text-align: center;
  color: #000;
  margin-top: 1rem;
}
.grid .box .logo img {
  width: 100%;
}
.dataside .profile {
  background: var(--MCL2);
  margin: 1rem;
  height: 170px;
  border-radius: var(--BR3);
}
.dataside .profile .bg div.actions {
  display: flex;
}
.dataside .profile .bg {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: #fff;
  border-radius: var(--BR2);
  padding: 0 1.5rem;
  height: calc(170px - 2rem);
  box-shadow: var(--BSB) var(--WT1);
  width: calc(100% - 5rem);
}
.dataside .inputs .profile button,
.dataside .inputs .profile label {
  background: var(--MCL2);
  color: #000;
  cursor: pointer;
  margin: 0.5rem 0 0 1rem;
}
.dataside .inputs .profile button:hover,
.dataside .inputs .profile label:hover {
  background: var(--MCL1);
}
.dataside .inputs .profile label:active {
  transform: scale(0.95);
}
.dataside .inputs .profile label:active svg {
  transform: scale(0.85);
}
.dataside .profile .logo {
  width: 100px;
  border: var(--BW) solid #fff;
  box-shadow: var(--i) 0 0 0 2px;
  border-radius: var(--BR3);
  aspect-ratio: 1/1;
  overflow: hidden;
}
.dataside .profile h1 {
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
}
.dataside .profile span {
  line-height: 1.5;
  opacity: 0.7;
}
.dataside .profile .logo img {
  width: 100%;
}
.dataside .toggle-box {
  height: 40px;
  display: flex;
  width: 200px;
  position: relative;
  border-radius: 20px;
  margin: auto 1rem;
  user-select: none;
  justify-content: space-between;
  cursor: pointer;
  background: var(--MCL2);
}
.dataside .toggle-box::after {
  width: calc(50% - 10px);
  position: absolute;
  background: #fff;
  box-shadow: var(--BSB) var(--WT2);
  border-radius: var(--BR3);
  height: 30px;
  right: 5px;
  bottom: 5px;
  content: "";
}
.dataside .toggle-box.large::after {
  right: calc(100% - 95px);
}
.dataside .toggle-box div {
  width: calc(50% - 10px);
  margin: 0 5px;
  z-index: 2;
  font-weight: 600;
}
.dataside > span {
  margin: 0 1rem;
  font-weight: 600;
}
