.mv-react-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 18px 0;
  color: #fff8d6;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.mv-react-shell .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.has-react-shell .music-player {
  display: none;
}

.mv-shell-bar {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(320px, 1.1fr) minmax(260px, 0.85fr) minmax(250px, auto);
  gap: 12px;
  align-items: center;
  max-width: 2000px;
  margin: 0 auto;
  padding: 11px 13px;
  border: 1px solid rgba(255, 218, 118, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 12% 0, rgba(45, 217, 247, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(6, 37, 79, 0.94), rgba(17, 102, 119, 0.72));
  box-shadow: inset 0 0 0 2px rgba(45, 217, 247, 0.11), 0 18px 34px rgba(0, 12, 34, 0.3);
  backdrop-filter: blur(18px);
}

.mv-shell-brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.mv-shell-brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 2px double rgba(255, 224, 139, 0.95);
  border-radius: 8px;
  color: #fff8d6;
  font-size: 1.2rem;
  font-weight: 900;
  text-shadow: 0 2px 3px rgba(0, 10, 30, 0.7);
  background: radial-gradient(circle, rgba(48, 210, 243, 0.38), rgba(13, 42, 84, 0.92) 62%);
  box-shadow: inset 0 0 22px rgba(45, 217, 247, 0.22), 0 0 18px rgba(255, 224, 139, 0.16);
}

.mv-shell-avatar-empty {
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  border-radius: 8px;
  color: #fffaf1;
  font-size: 1.55rem;
  font-weight: 900;
  text-shadow: 0 2px 3px rgba(0, 10, 30, 0.75);
  background: radial-gradient(circle, rgba(48, 210, 243, 0.38), rgba(13, 42, 84, 0.92) 62%);
}

.mv-shell-avatar-stack {
  position: absolute;
  inset: 0;
}

.mv-shell-avatar-layer {
  position: absolute;
  left: 50%;
  top: 52%;
  transform-origin: center;
}

.mv-shell-avatar-layer img {
  display: block;
  max-width: 220px;
  max-height: 340px;
  object-fit: contain;
  pointer-events: none;
}

.mv-shell-title {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.mv-shell-title strong,
.mv-shell-title small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mv-shell-title strong {
  font-size: 1rem;
  color: #ffffff;
  text-shadow: 0 2px 2px rgba(0, 10, 30, 0.72);
}

.mv-shell-title small {
  color: rgba(255, 248, 214, 0.78);
  font-size: 0.78rem;
}

.mv-shell-nav {
  display: flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex-wrap: wrap;
}

.mv-shell-nav a,
.mv-shell-control {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 224, 139, 0.46);
  border-radius: 8px;
  padding: 0 11px;
  color: #fff3b7;
  background: linear-gradient(180deg, rgba(7, 55, 102, 0.96), rgba(4, 28, 63, 0.96));
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px rgba(45, 217, 247, 0.12);
}

.mv-shell-nav a.is-active {
  border-color: rgba(45, 217, 247, 0.78);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(20, 118, 161, 0.96), rgba(6, 43, 87, 0.96));
  box-shadow: inset 0 0 16px rgba(45, 217, 247, 0.18), 0 0 18px rgba(45, 217, 247, 0.12);
}

.mv-shell-control {
  cursor: pointer;
}

.mv-shell-time {
  display: grid;
  grid-template-columns: minmax(84px, auto) minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  min-width: 0;
}

.mv-shell-clock,
.mv-shell-celestials {
  display: grid;
  min-width: 0;
  padding: 8px 9px;
  border: 1px solid rgba(255, 224, 139, 0.38);
  border-radius: 8px;
  background: rgba(4, 21, 51, 0.45);
  box-shadow: inset 0 0 0 1px rgba(45, 217, 247, 0.08);
}

.mv-shell-clock {
  gap: 1px;
}

.mv-shell-clock span,
.mv-shell-celestials b {
  color: #ffe08b;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mv-shell-clock strong {
  color: #ffffff;
  font-size: 1.02rem;
  line-height: 1.05;
  text-shadow: 0 2px 2px rgba(0, 10, 30, 0.72);
}

.mv-shell-clock small,
.mv-shell-celestials small,
.mv-shell-celestials em {
  overflow: hidden;
  color: rgba(255, 248, 214, 0.76);
  font-size: 0.7rem;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mv-shell-celestials {
  gap: 3px;
}

.mv-shell-celestials span {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 6px;
  min-width: 0;
  align-items: center;
}

.mv-shell-music {
  display: grid;
  grid-template-columns: 38px minmax(90px, 1fr) 38px 38px minmax(84px, 0.65fr);
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.mv-shell-icon-button {
  display: grid;
  width: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 224, 139, 0.56);
  border-radius: 8px;
  color: #fff7bd;
  background: linear-gradient(180deg, rgba(42, 224, 252, 0.88), rgba(6, 102, 202, 0.94) 52%, rgba(5, 48, 116, 0.96));
  text-shadow: 0 2px 2px #00142e;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12), inset 0 0 16px rgba(44, 229, 255, 0.16);
  cursor: pointer;
}

.mv-shell-icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.mv-shell-track {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.mv-shell-track span,
.mv-shell-track strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mv-shell-track span {
  color: #ffe08b;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.mv-shell-track strong {
  color: #ffffff;
  font-size: 0.82rem;
  text-shadow: 0 2px 2px rgba(0, 10, 30, 0.7);
}

.mv-shell-volume {
  min-width: 0;
}

.mv-shell-volume input {
  width: 100%;
  min-width: 0;
  accent-color: #2dd9f7;
}

.mv-floating-avatar {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1100;
  display: grid;
  gap: 8px;
  width: 178px;
  min-height: 238px;
  padding: 10px;
  border: 1px solid rgba(255, 218, 118, 0.58);
  border-radius: 8px;
  color: #fff8d6;
  background:
    radial-gradient(circle at 50% 0, rgba(45, 217, 247, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(13, 66, 116, 0.94), rgba(5, 29, 62, 0.97));
  box-shadow: inset 0 0 0 2px rgba(45, 217, 247, 0.11), 0 22px 44px rgba(0, 15, 39, 0.34);
  transform-origin: top left;
  user-select: none;
  touch-action: none;
}

.mv-floating-avatar.is-dragging {
  box-shadow: inset 0 0 0 2px rgba(45, 217, 247, 0.22), 0 22px 44px rgba(0, 15, 39, 0.48), 0 0 18px rgba(45, 217, 247, 0.22);
}

.mv-floating-avatar-handle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  cursor: grab;
}

.mv-floating-avatar.is-dragging .mv-floating-avatar-handle {
  cursor: grabbing;
}

.mv-floating-avatar-handle span {
  overflow: hidden;
  color: #ffe08b;
  font-size: 0.75rem;
  font-weight: 900;
  text-overflow: ellipsis;
  text-shadow: 0 2px 2px rgba(0, 10, 30, 0.72);
  text-transform: uppercase;
  white-space: nowrap;
}

.mv-floating-avatar-actions {
  display: flex;
  gap: 5px;
  align-items: center;
}

.mv-floating-avatar-handle button {
  min-height: 28px;
  border: 1px solid rgba(255, 224, 139, 0.54);
  border-radius: 6px;
  padding: 0 7px;
  color: #fff3b7;
  background: rgba(6, 26, 58, 0.62);
  font-size: 0.7rem;
  font-weight: 900;
  cursor: pointer;
}

.mv-floating-avatar-stage {
  position: relative;
  display: grid;
  height: 190px;
  place-items: center;
  overflow: hidden;
  border: 2px solid rgba(255, 224, 139, 0.64);
  border-radius: 8px;
  background:
    linear-gradient(rgba(45, 217, 247, 0.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 217, 247, 0.13) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0 62%, rgba(232, 245, 240, 0.94) 62% 100%);
  background-size: 16px 16px, 16px 16px, auto;
  box-shadow: inset 0 0 18px rgba(45, 217, 247, 0.16);
}

.mv-floating-wallet {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 8px;
  align-items: center;
  padding: 8px 9px;
  border: 1px solid rgba(255, 224, 139, 0.4);
  border-radius: 8px;
  background: rgba(4, 21, 51, 0.54);
}

.mv-floating-wallet span {
  color: #ffe08b;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mv-floating-wallet strong {
  color: #ffffff;
  font-size: 1rem;
  text-shadow: 0 2px 2px rgba(0, 10, 30, 0.72);
}

.mv-floating-wallet small {
  grid-column: 1 / -1;
  overflow: hidden;
  color: rgba(255, 248, 214, 0.72);
  font-size: 0.7rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .mv-shell-bar {
    grid-template-columns: minmax(220px, 1fr) minmax(250px, auto);
  }

  .mv-shell-nav,
  .mv-shell-time {
    grid-column: 1 / -1;
  }

  .mv-shell-nav {
    justify-content: start;
  }
}

@media (max-width: 720px) {
  .mv-react-shell {
    position: static;
    padding: 10px;
  }

  .mv-shell-bar,
  .mv-shell-time,
  .mv-shell-music {
    grid-template-columns: 1fr;
  }

  .mv-shell-brand {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .mv-floating-avatar {
    width: 154px;
    min-height: 212px;
  }

  .mv-floating-avatar-stage {
    height: 164px;
  }

  .mv-shell-music {
    grid-template-columns: 38px minmax(0, 1fr) 38px 38px;
  }

  .mv-shell-volume {
    grid-column: 1 / -1;
  }
}
