.amezay-playerShell {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(68, 184, 255, 0.24), transparent 38%),
    radial-gradient(circle at 82% 16%, rgba(255, 204, 102, 0.16), transparent 42%),
    linear-gradient(145deg, rgba(4, 13, 28, 0.96), rgba(1, 5, 12, 0.98));
  color: #eef7ff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.4);
}

.amezay-playerShell video,
.amezay-playerShell audio {
  display: block;
  width: 100%;
  background: #020812;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.amezay-playerShell.is-dragging video,
.amezay-playerShell.is-dragging audio {
  cursor: grabbing;
}

.amezay-playerShell audio {
  min-height: 120px;
}

.amezay-playerShell.is-audioOnly {
  min-height: 240px;
}

.amezay-playerTop {
  position: absolute;
  inset: 14px 14px auto 14px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  pointer-events: none;
}

.amezay-playerBrand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(72%, 460px);
  padding: 6px 10px;
  border: 1px solid rgba(154, 218, 255, 0.26);
  border-radius: 999px;
  background: rgba(2, 8, 18, 0.62);
  color: rgba(238, 247, 255, 0.94);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.amezay-playerBrand img {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  object-fit: cover;
}

.amezay-playerNow {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.amezay-playerBadge {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(30, 228, 196, 0.14);
  color: #bffbf2;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.amezay-playerControls {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 5;
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(154, 218, 255, 0.18);
  border-radius: 20px;
  background: rgba(2, 8, 18, 0.72);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.amezay-playerControlsRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.amezay-playerBtn,
.amezay-playerSelect {
  height: 38px;
  border: 1px solid rgba(154, 218, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #eef7ff;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.amezay-playerBtn {
  min-width: 38px;
  padding: 0 12px;
  cursor: pointer;
}

.amezay-playerBtn:hover,
.amezay-playerBtn:focus-visible {
  border-color: rgba(30, 228, 196, 0.58);
  background: rgba(30, 228, 196, 0.14);
  outline: none;
}

.amezay-playerBtn--main {
  min-width: 54px;
  background: linear-gradient(135deg, #2ee8c8, #58a6ff);
  color: #02101c;
}

.amezay-playerSelect {
  max-width: 132px;
  min-width: 86px;
  padding: 0 10px;
  color-scheme: dark;
}

.amezay-playerProgress,
.amezay-playerVolume {
  accent-color: #2ee8c8;
}

.amezay-playerProgress {
  width: 100%;
}

.amezay-playerVolume {
  width: 92px;
}

.amezay-playerTime {
  min-width: 102px;
  color: rgba(238, 247, 255, 0.78);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.amezay-playerSpacer {
  flex: 1 1 auto;
}

@media (max-width: 760px) {
  .amezay-playerTop {
    inset: 10px 10px auto 10px;
  }

  .amezay-playerControls {
    inset: auto 8px 8px 8px;
    padding: 9px;
    border-radius: 16px;
  }

  .amezay-playerControlsRow {
    flex-wrap: wrap;
  }

  .amezay-playerProgress {
    order: -1;
    flex-basis: 100%;
  }

  .amezay-playerTime {
    min-width: auto;
    flex: 1 1 auto;
  }
}
