@font-face {
  font-family: "NTLG";
  src: url("../assets/fonts/NTLG.woff2");
  font-display: swap;
}
html,
body {
  background-color: white;
  color: #000;
  font-family: "NTLG", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  width: 100%;
  height: 100%;
  margin: 0;
  --eye-color: #6c7070;
  --selection-color: rgb(0, 145, 255);
  --primary-color: rgb(87, 199, 255);
  --error-color: rgb(255, 96, 87);
  --gold-color: rgb(255, 191, 0);
  font-size: 16px;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  --root: #ffffffee;
  --root-solid: #ffffff;
  --text: #000000;
  --label: #666666;
  --stroke: #dddddd;
  --stroke-dim: #e8e8e8;
  --stroke-rgb: 221, 221, 221;
  --container: #eeeeee77;
  --container-solid: #eeeeee;
  --sub-container: #ececec77;
  --hover: #dddddd;
  --hover-transparent: #dddddd77;
  --focus: #e7e7e7ee;
  --icon-face-fill: #ffffff;
  --icon-face-stroke: #6f6f6f;
  --icon-face-detail: #8d8d8d;
  --icon-face-makeup: #ffbaba;
  --icon-face-wrinkles: #996d54;
  --icon-head-fill: #ffffff;
  --icon-head-stroke: #999999;
  --icon-hair-fill: currentColor;
  --icon-eyebrow-fill: currentColor;
  --icon-facial-hair-fill: currentColor;
  --icon-mouth-tooth: #ffffff;
  --icon-glasses-fill: #000000;
  --icon-glasses-shade: #606060;
  --icon-lip-color-top: #712a04;
  --icon-lip-color-bottom: #be4e26;
}
html[data-theme=default], html[data-theme=default] > body,
body[data-theme=default],
body[data-theme=default] > body {
  background-image: url("../assets/images/main_bg.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
@media (prefers-color-scheme: dark) {
  html,
  body {
    color: white;
    --eye-color: #6c7070;
    --selection-color: rgb(0, 145, 255);
    --primary-color: rgb(23, 96, 118);
    --error-color: rgb(255, 96, 87);
    --gold-color: rgb(255, 191, 0);
    --root: #000000ee;
    --root-solid: #000000;
    --text: #ffffff;
    --label: #cccccc;
    --stroke: #484848;
    --stroke-dim: #333333;
    --stroke-rgb: 102, 102, 102;
    --container: #2a2d2f77;
    --container-solid: #2a2d2f;
    --sub-container: #1d1f2077;
    --hover: #2d3336;
    --hover-transparent: #2d333677;
    --focus: #2e363aee;
    --icon-face-fill: #000000;
    --icon-face-stroke: #ffffff;
    --icon-face-detail: #ffffff;
    --icon-face-makeup: #ffbaba;
    --icon-face-wrinkles: #996d54;
    --icon-head-fill: #333333;
    --icon-head-stroke: #474747;
    --icon-hair-fill: currentColor;
    --icon-eyebrow-fill: currentColor;
    --icon-facial-hair-fill: currentColor;
    --icon-mouth-tooth: #000000;
    --icon-glasses-fill: #ffffff;
    --icon-glasses-shade: #606060;
    --icon-lip-color-top: #712a04;
    --icon-lip-color-bottom: #be4e26;
  }
}
@supports not selector(::-webkit-scrollbar) {
  html,
  body {
    scrollbar-color: var(--label) var(--container);
    scrollbar-width: thin;
  }
}

.modal-body small {
  margin: -6px 0;
}

small {
  color: var(--label);
}

button.danger {
  background-color: var(--error-color);
  border-color: var(--stroke-dim);
}
button.danger:hover {
  background-color: var(--error-color);
  filter: brightness(1.3);
}

button.primary {
  background-color: var(--primary-color);
  border-color: var(--stroke-dim);
}
button.primary:hover {
  background-color: var(--primary-color);
  filter: brightness(1.3);
}

button.selected {
  border: 0.1rem solid var(--selection-color);
}

button.selected-setting {
  border: 0.1rem solid var(--selection-color);
  background-color: var(--selection-color);
}

.h4 {
  font-size: 1.2rem;
  font-weight: 550;
  color: var(--text);
}

.pre-wrap {
  overflow: auto;
  user-select: all;
  -webkit-user-select: all;
  word-wrap: break-word;
  white-space: pre-wrap;
}

.mb-0 {
  margin-bottom: 0;
}

[disabled] {
  opacity: 0.5 !important;
}

a,
a:visited {
  color: var(--selection-color);
  text-decoration: underline;
}
a:hover,
a:visited:hover {
  filter: brightness(1.3);
}

* {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

div::-webkit-scrollbar {
  width: 12px !important;
  background-color: transparent !important;
  height: 6px !important;
}

div::-webkit-scrollbar-thumb {
  border-radius: 10px !important;
  background-color: var(--label) !important;
}

div::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3) !important;
  border-radius: 10px !important;
  background-color: transparent !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 550;
  margin: 0;
}

/*0.8s;*/
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}
@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-50%);
    opacity: 0;
  }
}
@keyframes shortSlideUp {
  from {
    transform: translateY(-25%);
  }
  to {
    transform: translateY(0);
  }
}
@keyframes shortSlideDown {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(25%);
  }
}
@keyframes spinTranslated {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@keyframes spinInPlaceAndCry {
  from {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
  to {
    transform: rotate(360deg) scale(0);
    opacity: 0;
  }
}
.rotateAndCry {
  animation: spinInPlaceAndCry 2s cubic-bezier(0.075, 0.82, 0.165, 1) forwards;
}

.modal-selectable {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.modal-selectable .modal-body > span {
  user-select: auto !important;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999999;
  top: 0;
  left: 0;
  animation: fadeIn 0s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.closing {
  animation: fadeOut 0s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal.closing .modal-content {
  animation: shortSlideDown 0s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.modal .modal-content {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--stroke);
  border-radius: 8px;
  min-width: 200px;
  max-height: 440px;
  overflow: clip;
  animation: shortSlideUp 0s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal .modal-content .modal-header {
  padding: 8px;
  display: flex;
  justify-content: center;
  background-color: var(--hover);
  flex-shrink: 0;
  border-radius: 5px 5px 0 0;
  position: relative;
}
.modal .modal-content .modal-header .close-button {
  background: var(--error-color);
  /*
  border-width: 0.1rem;
  border-radius: 50%;
  width: 1.25rem;
  height: 1.25rem;
  */
  /* Make the close button larger. TODO: needs redesign. */
  width: 3.25rem;
  height: 2rem;
  padding: 0;
  min-width: 0;
  position: absolute;
  top: 47%;
  right: 0.5rem;
  transform: translateY(-50%);
}
.modal .modal-content .modal-header .close-button:hover {
  filter: brightness(0.8);
}
.modal .modal-content .modal-body {
  padding: 16px 18px;
  background-color: var(--root-solid);
  height: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-radius: 0 0 5px 5px;
  overflow: auto;
}
.modal .modal-content .modal-body > span {
  display: block;
  white-space: pre-wrap;
  width: 100%;
  overflow: auto;
  text-align: center;
}
.modal.random-mii-grid .modal-content {
  height: 720px;
  max-height: 100vh;
  width: 1280px;
}
.modal.random-mii-grid .modal-content .modal-body .random-mii-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-auto-rows: min-content;
  grid-auto-flow: row dense;
  grid-gap: 1rem;
  place-items: center;
}
.modal.random-mii-grid .modal-content .modal-body .random-mii-container button {
  padding: 0;
  display: flex;
}
.modal.random-mii-grid .modal-content .modal-body .random-mii-container button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: unset !important;
  box-shadow: unset !important;
  border: unset !important;
  margin: 0 !important;
}

.modal-body.force-start .flex-group {
  justify-content: flex-start !important;
}

.flex-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.flex-group span {
  text-align: center;
}

.col {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 16px;
}

.no-pad {
  padding: 0 !important;
}

button {
  font: inherit;
  background-color: var(--root);
  color: var(--text);
  border: 2px solid var(--stroke);
  border-radius: 8px;
  cursor: pointer;
  min-width: 64px;
  padding: 8px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
button:hover {
  background-color: var(--focus);
}
button, button:focus {
  outline: none;
}
button:focus {
  box-shadow: 0 0 0 0.15rem var(--selection-color);
}

.disabled {
  transition: opacity 0.5s linear;
  opacity: 0.5;
  pointer-events: none;
}

.gender-select-btn {
  flex-direction: column;
  gap: 0;
  font-size: 20px;
}

video {
  background-color: var(--root);
  border: 2px solid var(--stroke);
}

input,
select {
  display: block;
  font: inherit;
  background-color: var(--root);
  color: var(--text);
  padding: 8px;
  border: 2px solid var(--stroke);
  border-radius: 8px;
  outline: 0;
}
input:disabled,
select:disabled {
  background-color: var(--container);
  color: var(--label);
  cursor: not-allowed;
  user-select: none;
}
input:focus,
select:focus {
  outline: 0;
  box-shadow: 0 0 0 0.2rem var(--selection-color);
}
input.invalid,
select.invalid {
  box-shadow: 0 0 0 0.2rem var(--error-color) !important;
}
input[type=range],
select[type=range] {
  width: 100%;
}
input[type=checkbox],
select[type=checkbox] {
  width: 1.3rem;
  height: 1.3rem;
  appearance: none !important;
  border-radius: 4px !important;
  border: 0 !important;
  background-size: cover !important;
  background-image: url("data:image/svg+xml,%3Csvg width='128' height='128' viewBox='0 0 128 128' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='128' height='128' rx='27' fill='%23FF5C4A'/%3E%3Cpath d='M88 40L40 88' stroke='white' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M40 40L88 88' stroke='white' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
input[type=checkbox]:checked,
select[type=checkbox]:checked {
  background-image: url("data:image/svg+xml,%3Csvg width='128' height='128' viewBox='0 0 128 128' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='128' height='128' rx='27' fill='%2300BF50'/%3E%3Cpath d='M100 38L50.5 88L28 65.2727' stroke='white' stroke-width='14' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}

.input-group {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}
.input-group label {
  font-size: 1.2rem;
  color: var(--label);
}

.fadeIn {
  pointer-events: none;
  animation: fadeIn 0s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.fadeOut {
  pointer-events: none;
  animation: fadeOut 0s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.slideIn {
  pointer-events: none;
  animation: slideIn 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.slideOut {
  pointer-events: none;
  animation: slideOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.1s linear;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(3px);
}
.loader.active {
  opacity: 1;
}
.loader.active svg {
  animation: spinTranslated 0.5s linear infinite;
}

.separator {
  background: var(--stroke);
  width: 100%;
  height: 0.1rem;
  margin: 8px;
}

.separator-gap {
  width: 100%;
  height: 0;
  margin: 8px;
}

.separator-gap-thin {
  width: 100%;
  height: 0;
  margin: 0;
}

.separator-gap-thin-laptop {
  display: none;
}

@media screen and (min-width: 1556px) {
  .separator-gap-thin-laptop {
    display: block !important;
    width: 100%;
    height: 0;
    margin: 0;
  }
}
.separator-gap-thin-desktop {
  display: none;
}

@media screen and (min-width: 1875px) {
  .separator-gap-thin-desktop {
    display: block !important;
    width: 100%;
    height: 0;
    margin: 0;
  }
}
.ui-base {
  position: fixed;
  top: 0;
  left: 0;
  background-color: var(--root);
  color: var(--text);
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-areas: "tabList tabList" "mii tabContent";
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  animation: fadeIn 0s cubic-bezier(0.16, 1, 0.3, 1);
}
.ui-base.not-fixed {
  position: static;
}
.ui-base.closing {
  pointer-events: none;
  animation: fadeOut 0s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
@media screen and (max-width: 959px) {
  .ui-base {
    grid-template-areas: "mii" "tabList" "tabContent";
    grid-template-columns: auto;
    grid-template-rows: 1fr auto auto;
  }
  .ui-base .tab-list {
    gap: 0.5rem;
    padding: 8px;
  }
  .ui-base .tab-list .tab {
    width: auto !important;
    height: auto !important;
  }
  .ui-base .tab-list .tab.tab-square {
    min-width: 64px;
    min-height: 64px;
    padding: 8px;
  }
  .ui-base .tab-list .tab.tab-square.active {
    box-shadow: 0 0 0 0.3rem var(--selection-color);
  }
  .ui-base .tab-list .tab.tab-rectangle {
    min-width: 64px;
    padding: 14px 24px;
  }
  .ui-base .tab-content {
    max-height: 30vmax;
  }
}
@media screen and (min-width: 960px) and (max-width: 1875px) {
  .ui-base {
    grid-template-areas: "tabList tabList" "mii tabContent";
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr;
  }
  .ui-base > .tab-list {
    display: flex;
    flex-direction: row;
  }
  .ui-base .tab-square:last-child {
    margin-top: auto;
  }
}
.ui-base .tab-square:last-child {
  margin-left: auto;
}
.ui-base {
  padding: 1rem;
  grid-gap: 1rem;
}
.ui-base > div {
  border-radius: 8px;
  overflow: auto;
}
.ui-base .mii-holder {
  grid-area: mii;
  background-color: var(--hover-transparent);
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ui-base .mii-holder .render-mode-toggle {
  position: absolute;
  top: 1rem;
  right: 1rem;
}
.ui-base .mii-holder img,
.ui-base .mii-holder canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}
.ui-base > .tab-list {
  grid-area: tabList;
}
.ui-base > .tab-content {
  grid-area: tabContent;
  border: 2px solid var(--stroke-dim);
}

canvas.scene {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  overflow: hidden;
  transition: opacity 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.tab-save {
  width: max-content !important;
  gap: 8px;
  padding: 0 12px;
  background-color: var(--container-solid);
}

.tab-list {
  display: flex;
  background-color: var(--container);
  padding: 8px;
  gap: 8px;
}
.tab-list .tab {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
  overflow: visible;
  position: relative;
}
.tab-list .tab:hover {
  background-color: var(--hover);
}
.tab-list .tab.tab-square {
  width: 48px;
  height: 48px;
}
.tab-list .tab.tab-square.active {
  box-shadow: 0 0 0 0.3rem var(--selection-color);
}
.tab-list .tab.active {
  background-color: var(--focus);
}
.tab-list .tab::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--selection-color);
}
.tab-list .tab.tab-rectangle {
  min-width: 64px;
  padding: 14px 24px;
}
.tab-list .tab.tab-rectangle.active {
  border-radius: 12px 12px 12px 12px;
}
.tab-list .tab.tab-rectangle.active::after {
  height: 0.3rem;
}

.tab-content {
  background-color: var(--sub-container);
  display: flex;
  flex-direction: column;
}
.tab-content .tab-content {
  background-color: unset !important;
  backdrop-filter: unset !important;
}
.tab-content .feature-set-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex: 1;
  gap: 0.75rem;
}
.tab-content .feature-set-container .tab-list {
  width: max-content;
  margin: 0 auto;
  background-color: var(--container);
  border-radius: 0 0 8px 8px;
  border-width: 0 2px 2px 2px;
  border-style: solid;
  border-color: var(--stroke-dim);
}
.tab-content .feature-set-container .tab-list .tab-rectangle {
  padding: 10px 14px;
}
.tab-content .feature-set-container .tab-list .tab-rectangle.active::after {
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.75rem;
  height: 0.3rem;
}
.tab-content .feature-set-container .tab-content {
  overflow: auto;
  flex: 1;
}
.tab-content .feature-set-group {
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
}
.tab-content .feature-set-group .feature-set-header {
  width: 100%;
  padding: 14px 18px;
  background: var(--hover);
  color: var(--text);
  border: 1px solid var(--stroke);
  border-radius: 6px;
  margin: 4px;
}
.tab-content .feature-set-group .feature-switch {
  display: flex;
}
.tab-content .feature-set-group .feature-switch .feature-switch-left {
  border-radius: 8px 0 0 8px;
}
.tab-content .feature-set-group .feature-switch .feature-switch-right {
  border-radius: 0 8px 8px 0;
}
.tab-content .feature-set-group .feature-switch .feature-switch-left,
.tab-content .feature-set-group .feature-switch .feature-switch-right {
  padding: 2.5px 14px;
  flex: 1;
  display: flex;
  min-width: 64px;
  height: max-content;
  justify-content: center;
  align-items: center;
  border-right-width: 1px;
}
.tab-content .feature-set-group .feature-switch .feature-switch-left.active,
.tab-content .feature-set-group .feature-switch .feature-switch-right.active {
  border-radius: 8px;
  z-index: 1;
  background-color: var(--focus);
  box-shadow: 0 0 0 0.3rem var(--selection-color);
}
.tab-content .feature-set-group .feature-slider,
.tab-content .feature-set-group .feature-range {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.tab-content .feature-set-group .feature-slider span,
.tab-content .feature-set-group .feature-range span {
  border: 2px solid var(--stroke-dim);
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.tab-content .feature-set-group .feature-item {
  min-width: 52px;
  min-height: 52px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  cursor: pointer;
}
.tab-content .feature-set-group .feature-item:hover {
  background-color: var(--hover);
}
.tab-content .feature-set-group .feature-item.active {
  box-shadow: 0 0 0 0.3rem var(--selection-color);
}
.tab-content .feature-set-group .feature-item.is-color {
  position: relative;
}
.tab-content .feature-set-group .feature-item.is-color::after {
  border-radius: 8px;
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: calc(100% - 8px - 4px);
  height: calc(100% - 8px - 4px);
  background-color: var(--color);
  border: 2px solid var(--hover);
}
@media screen and (min-width: 540px) {
  .tab-content .feature-set-group .feature-item {
    min-width: 68px;
    min-height: 68px;
  }
  .tab-content .feature-set-group .feature-item svg {
    width: 64px;
    height: 64px;
  }
}

@media screen and (prefers-color-scheme: dark) {
  :root[data-theme=default] .tab-content .feature-set-group .feature-item svg {
    filter: drop-shadow(1px 0px 0px #666666) drop-shadow(-1px 0px 0px #666666) drop-shadow(0px 1px 0px #666666) drop-shadow(0px -1px 0px #666666);
  }
}

.mii-library {
  animation: fadeIn 0s cubic-bezier(0.16, 1, 0.3, 1);
  display: grid;
  grid-template-areas: "sidebar miiList" "sidebar miiList";
  grid-template-columns: auto 1fr;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.mii-library .library-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  width: 380px;
  background: var(--sub-container);
  grid-area: sidebar;
}
.mii-library .library-sidebar .sidebar-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.mii-library .library-sidebar .sidebar-credits {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  justify-content: center;
  align-items: flex-start;
}
.mii-library .library-sidebar .sidebar-credits span {
  color: var(--label);
  font-size: 0.8rem;
  font-weight: 600;
}
.mii-library .library-list {
  padding: 2rem;
  display: grid;
  grid-area: miiList;
  position: relative;
  overflow: auto;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  grid-auto-rows: min-content;
  grid-auto-flow: row dense;
  grid-gap: 1rem;
}
.mii-library .library-list .library-list-mii {
  display: flex;
  flex-direction: column;
  background: var(--color);
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.4));
  border-radius: 8px;
  overflow: visible;
  position: relative;
  cursor: pointer;
  transition: box-shadow cubic-bezier(0.16, 1, 0.3, 1) 0s;
  box-shadow: 0 0 0 0 var(--selection-color);
}
.mii-library .library-list .library-list-mii.highlight {
  box-shadow: 0 0 0 0.3rem var(--selection-color);
}
.mii-library .library-list .library-list-mii:hover {
  background-image: linear-gradient(0deg, rgba(255, 255, 255, 0.5333333333), rgba(255, 255, 255, 0.5333333333));
}
.mii-library .library-list .library-list-mii img {
  width: 100%;
  object-fit: contain;
  aspect-ratio: 1/1;
  --scale: 0.1rem;
  --blur: 0;
  --color: rgba(255, 255, 255);
}
.mii-library .library-list .library-list-mii span {
  width: 100%;
  background: rgba(0, 0, 0, 0.5333333333);
  color: white !important;
  text-align: center;
  font-size: 16px;
  text-align: center;
  flex: 1;
  padding: 8px 0;
  border-radius: 0 0 8px 8px;
}
@media screen and (prefers-color-scheme: dark) {
  .mii-library .library-list .library-list-mii {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3333333333), rgba(255, 255, 255, 0.3333333333));
  }
  .mii-library .library-list .library-list-mii:hover {
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.4666666667), rgba(255, 255, 255, 0.4666666667));
  }
}
@media screen and (max-width: 959px) {
  .mii-library {
    grid-template-areas: "miiList miiList" "sidebar sidebar";
    grid-template-rows: 1fr auto;
  }
  .mii-library .library-sidebar {
    flex-direction: row;
  }
  .mii-library .library-sidebar button {
    flex: 1;
  }
  .mii-library .library-sidebar h1 {
    display: none;
  }
  .mii-library .library-sidebar .sidebar-buttons {
    flex: 1;
  }
  .mii-library .library-sidebar .sidebar-credits {
    flex-shrink: 1;
  }
}

@media screen and (min-width: 960px) {
  .responsive-row-lg {
    flex-direction: row !important;
  }
}
.notify-box {
  display: flex;
  flex-direction: column-reverse;
  position: fixed;
  z-index: 9999999999;
  top: 1.5rem;
  left: 1.5rem;
  gap: 1rem;
}
.notify-box > .notify {
  background-color: var(--container);
  border: 0.125rem solid var(--stroke);
  border-radius: 0.32rem;
  padding: 0.9rem 1rem;
  min-width: 18rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  backdrop-filter: blur(0.5rem) brightness(0.5) contrast(1.05);
  pointer-events: all;
  width: max-content;
}
.notify-box > .notify .notify-title {
  font-size: 1.25rem;
  color: var(--text);
}
.notify-box > .notify .notify-description {
  /* . . . */
  opacity: 1;
}

.disable-item {
  width: 120px;
  font-size: 20px;
  min-height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}