* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  min-height: 100vh;
  color: #ffffff;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  background: #000000;
  overflow: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 14% 20%, rgba(231, 170, 81, 0.38) 0%, rgba(172, 112, 49, 0.20) 20%, transparent 43%),
    radial-gradient(circle at 88% 82%, rgba(197, 140, 61, 0.42) 0%, rgba(141, 90, 27, 0.23) 22%, transparent 46%),
    radial-gradient(circle at 72% 14%, rgba(253, 222, 146, 0.22) 0%, rgba(226, 165, 78, 0.12) 20%, transparent 39%),
    radial-gradient(circle at 40% 68%, rgba(172, 112, 49, 0.31) 0%, rgba(141, 90, 27, 0.18) 25%, transparent 51%),
    linear-gradient(145deg, transparent 0%, transparent 40%, rgba(231, 170, 81, 0.13) 41%, rgba(172, 112, 49, 0.07) 59%, transparent 61%),
    linear-gradient(25deg, transparent 0%, transparent 47%, rgba(197, 140, 61, 0.12) 48%, rgba(141, 90, 27, 0.07) 65%, transparent 67%),
    #020100;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.98) 0%, rgba(0, 0, 0, 0.86) 16%, rgba(0, 0, 0, 0.45) 34%, transparent 56%),
    radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.34) 46%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(180deg, rgba(172, 112, 49, 0.07) 0%, transparent 36%, transparent 70%, rgba(141, 90, 27, 0.07) 100%);
  z-index: -1;
}

.app {
  width: 100%;
  min-height: 100vh;
  display: flex;
  position: relative;
  z-index: 1;
}

.sidebar {
  width: 280px;
  min-height: 100vh;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-right: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    18px 0 60px rgba(0, 0, 0, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
  position: relative;
}

.sidebarLogo {
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  pointer-events: none;
  z-index: 1;
}

.sidebarLogoImage {
  width: 370px;
  height: auto;
  display: block;
  /*
    ViewBox 1500×1500 @ width 370px → scale 0.2467
    Krone bei SVG x=185 → 185×0.2467 = 45.6px vom SVG-Rand
    SVG-Offset: (280−370)/2 + 25 = −20px  →  Krone bei −20+45.6 = 25.6px in Sidebar

    Beim Plattformwechsel: Krone bleibt immer bei 25.6px, solange
    alle Logos dieselbe ViewBox (1500×1500) mit Krone bei x=185 verwenden.
    Schriftzug "music" / "gaming" / … erscheint rechts ab ~196px.
  */
  margin-left: -20px;
  pointer-events: none;
}

.mainContent {
  flex: 1;
  min-height: 100vh;
  position: relative;
  margin-right: 0;
  transition: margin-right 0.28s ease;
}

.sidebarNav {
  width: 100%;
  padding: 132px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.navButton {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  transition: 0.2s ease;
}

.navButton:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
}

.navButton.active {
  color: #ffffff;
  background: rgba(172, 112, 49, 0.26);
  border-color: rgba(231, 170, 81, 0.46);
  box-shadow: 0 0 28px rgba(231, 170, 81, 0.18);
}

.navIcon {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  fill: currentColor;
}

.radioIcon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.radioIcon circle {
  fill: currentColor;
  stroke: none;
}

.sidebarSectionTitle {
  margin: 28px 16px 8px;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.createButton {
  color: rgba(255, 255, 255, 0.86);
}


.topBar {
  width: 100%;
  height: 96px;
  padding: 28px 34px;
  display: flex;
  align-items: center;
}

.searchPanel {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 460px;
  background: #000000;
  border: 1px solid rgba(231, 170, 81, 0.46);
  border-radius: 24px;
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.45),
    0 0 22px rgba(231, 170, 81, 0.08);
  overflow: hidden;
  z-index: 10;
  transition:
    width 0.28s ease,
    height 0.28s ease,
    top 0.28s ease,
    left 0.28s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    border-radius 0.5s ease-in-out;
}

.searchPanel.open {
  width: 540px;
  border-radius: 18px;
  border-color: rgba(231, 170, 81, 0.75);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.5),
    0 0 30px rgba(231, 170, 81, 0.20);
}

.searchBox {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.searchIcon {
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  fill: rgba(255, 255, 255, 0.55);
}

.searchBox input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
}

.searchBox input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.searchDropdown {
  height: 0;
  border-top: 1px solid transparent;
  transition: height 0.22s ease, border-color 0.22s ease;
}

.searchPanel.open .searchDropdown {
  height: 60px;
  border-color: rgba(255, 255, 255, 0.07);
}

.searchPanel.expanded {
  width: calc(100vw - 560px);
  height: 100vh;
  top: 0;
  border-radius: 0;
  box-shadow: none;
}

.searchOverlayLeft,
.searchOverlayRight {
  position: fixed;
  top: 0;
  width: 280px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  z-index: 9;
}

.searchOverlayLeft {
  left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.searchBackButton {
  display: none;
  position: absolute;
  left: 20px;
  top: 28px;
  height: 48px;
  align-items: center;
  gap: 10px;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: color 0.2s ease;
  z-index: 1;
}

.searchBackButton:hover {
  color: #ffffff;
}

.searchBackButton svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.searchPanel.expanded .searchBackButton {
  display: flex;
}

.searchOverlayRight {
  right: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.searchOverlayLeft.visible,
.searchOverlayRight.visible {
  opacity: 1;
  pointer-events: auto;
}

.searchPanel.expanded .searchBox {
  height: 48px;
  margin-top: 28px;
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
  border: none;
  border-bottom: 1px solid rgba(231, 170, 81, 0.46);
  border-radius: 0;
}

.searchPanel.expanded .searchDropdown {
  height: calc(100vh - 76px);
  border-color: transparent;
  overflow-y: auto;
  transition: none;
}

.searchIcon {
  cursor: pointer;
}

.searchClose {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  border: none;
  outline: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.2s ease;
}

.searchClose:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.searchClose svg {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.searchPanel.open .searchClose {
  display: flex;
}

.searchNoResults {
  padding: 0 18px;
  height: 60px;
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.35);
  font-size: 14px;
  font-weight: 600;
}


.pageArea {
  width: 100%;
  padding: 36px 54px;
}

.page {
  display: none;
  max-width: 980px;
}

.page.active {
  display: block;
}

.page h1 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 14px;
}

.page p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.7;
}

.centerGlassRectangle {
  width: 1360px;
  height: 58px;
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  transition: left 0.28s ease;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    18px 0 60px rgba(0, 0, 0, 0.28),
    inset -1px 0 0 rgba(255, 255, 255, 0.05);
  z-index: 5;
  pointer-events: auto;
}

.playerSongInfo {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  height: 42px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.playerCover {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background:
    linear-gradient(135deg, rgba(231, 170, 81, 0.85), rgba(82, 45, 14, 0.75)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
  flex: 0 0 42px;
}

.playerSongText {
  min-width: 0;
}

.playerSongName {
  max-width: 230px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playerArtistName {
  max-width: 230px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playerCenter {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 500px;
  height: 50px;
  transform: translate(-50%, -50%);
}

.playerControls {
  position: absolute;
  left: 50%;
  top: 1px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.playerButton {
  width: 27px;
  height: 27px;
  border: none;
  outline: none;
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: 0.2s ease;
}

.playerButton:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.playerButton svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.queueButton svg {
  width: 18px;
  height: 18px;
}

.queueButton.active {
  color: #ff6a00;
}

.queuePanel {
  position: fixed;
  top: 0;
  right: 0;
  width: 480px;
  height: 100vh;
  background: rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow:
    -18px 0 60px rgba(0, 0, 0, 0.28),
    inset 1px 0 0 rgba(255, 255, 255, 0.05);
  transform: translateX(100%);
  pointer-events: none;
  transition: transform 0.28s ease;
  z-index: 20;
  overflow-y: auto;
}

.queueEmpty {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, 0.28);
  font-size: 14px;
  font-weight: 500;
  pointer-events: none;
}

.queuePanel.open {
  transform: translateX(0);
  pointer-events: auto;
}

.playButton {
  width: 28px;
  height: 28px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.16);
}

.playButton:hover {
  color: #000000;
  background: rgba(255, 255, 255, 0.9);
}

.playIcon {
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
}

.playerModeButton .shuffleIcon {
  display: none;
}

.playerModeButton .modeBadge {
  display: none;
}

.playerModeButton.modeRepeat,
.playerModeButton.modeRepeatOne,
.playerModeButton.modeShuffle {
  color: #ff6a00;
}

.playerModeButton.modeRepeatOne .modeBadge {
  display: block;
  position: absolute;
  top: -2px;
  right: 1px;
  color: #ff6a00;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

.playerModeButton.modeShuffle .repeatIcon {
  display: none;
}

.playerModeButton.modeShuffle .shuffleIcon {
  display: block;
}

.playerProgress {
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.playerTime {
  width: 34px;
  color: rgba(255, 255, 255, 0.46);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.playerLine {
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  transition: height 0.15s ease;
  cursor: pointer;
}

.playerProgress:hover .playerLine {
  height: 5px;
}

.playerLineFill {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: rgba(231, 170, 81, 0.85);
  position: relative;
  transition: box-shadow 0.15s ease;
}

.playerProgress:hover .playerLineFill {
  box-shadow: 0 0 8px rgba(231, 170, 81, 0.6);
}

.playerLineFill::after {
  content: '';
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) scale(0);
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease;
}

.playerProgress:hover .playerLineFill::after {
  transform: translateY(-50%) scale(1);
}

.volumeControl {
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  height: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.volumeMuteButton {
  background: transparent;
  border: none;
  outline: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex: 0 0 20px;
}

.volumeIcon {
  width: 20px;
  height: 20px;
  fill: rgba(255, 255, 255, 0.62);
}

.muteStrike {
  display: none;
  stroke: #ff6a00;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.volumeMuteButton.muted .muteStrike {
  display: block;
}

.volumeSlider {
  width: 120px;
  height: 4px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  outline: none;
  cursor: pointer;
}

.volumeSlider::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
}

.volumeSlider::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: none;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.22);
}

.sidebarProfile {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transition: 0.2s ease;
}

.sidebarProfile:hover {
  background: rgba(255, 255, 255, 0.05);
}

.profileAvatar {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(231, 170, 81, 0.85), rgba(82, 45, 14, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 36px;
}

.profileUsername {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profileArrow {
  width: 8px;
  height: 14px;
  flex: 0 0 8px;
  fill: none;
  stroke: rgba(255, 255, 255, 0.38);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.28s ease;
}

.sidebarProfile.open .profileArrow {
  transform: rotate(-90deg);
}

.profileMenuWrapper {
  position: absolute;
  bottom: 77px;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.profileMenu {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: transparent;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  transform: translateY(100%);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.profileMenu.open {
  transform: translateY(0);
}

.profileMenuItem {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  transition: 0.2s ease;
  text-align: left;
}

.profileMenuItem:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.12);
}

.profileMenuItem.active {
  color: #ffffff;
  background: rgba(172, 112, 49, 0.26);
  border-color: rgba(231, 170, 81, 0.46);
  box-shadow: 0 0 28px rgba(231, 170, 81, 0.18);
}

.profileMenuIcon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  fill: currentColor;
}

.sidebarLogin {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  font-weight: 700;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  transition: 0.2s ease;
  text-align: left;
}

.sidebarLogin:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.sidebarLoginIcon {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  flex: 0 0 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebarLoginIcon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

html[data-logged-in="0"] .sidebarProfile,
html[data-logged-in="0"] .profileMenuWrapper {
  display: none;
}

html[data-logged-in="1"] .sidebarLogin {
  display: none;
}

.loginModal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(5, 3, 1, 0.80);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 32vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.loginModal.open {
  opacity: 1;
  pointer-events: auto;
}

html[data-login-modal-restored="1"] #loginModal {
  opacity: 1;
  pointer-events: auto;
  transition: none;
}

html[data-login-modal-restored="1"] #loginModal .loginModalInner {
  transform: scale(1) translateY(0);
  transition: none;
}

html[data-register-modal-restored="1"] #registerModal {
  opacity: 1;
  pointer-events: auto;
  transition: none;
}

html[data-register-modal-restored="1"] #registerModal .loginModalInner {
  transform: scale(1) translateY(0);
  transition: none;
}

.loginModalInner {
  width: 100%;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  transform: scale(0.97) translateY(14px);
  transition: transform 0.3s cubic-bezier(0.34, 1.4, 0.64, 1);
}

.loginModal.open .loginModalInner {
  transform: scale(1) translateY(0);
}

.loginModalClose {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 32px;
  height: 32px;
  border: none;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 999px;
  transition: 0.2s ease;
}

.loginModalClose:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.09);
}

.loginModalClose svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/*
  SVG viewBox 1500×1500. Actual content: x 185–751, y 698–802.
  At width 370px (scale 0.2467):
    content-left  = 45.6px   content-top    = 172.2px
    content-width = 139.6px  content-height = 25.7px
    content-centerX = 115.4px (from SVG left)

  negative-margin trick:
    margin-top: -162px  →  -( 172.2 − 10 )  →  content starts 10px from wrapper top
    margin-bottom: -162px →  wrapper height = 370 − 162 − 162 = 46px  (10px pad each side)
    margin-left: calc(50% − 115px)  →  content center = 50% of wrapper  ✓
*/
.loginModalLogoWrap {
  overflow: hidden;
  margin-bottom: 32px;
}

.loginModalLogo {
  width: 370px;
  height: auto;
  display: block;
  margin-top: -162px;
  margin-bottom: -162px;
  margin-left: calc(50% - 115px);
}

.loginModalTitle {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-align: center;
  margin-bottom: 8px;
}

.loginModalSub {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  margin-bottom: 36px;
}

.loginModalFields {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.loginModalField {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.loginModalLabel {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.loginModalInputWrap {
  position: relative;
  display: flex;
  align-items: center;
}

.loginModalInputWrap .loginModalInput {
  padding-right: 36px;
}

.loginModalEyeBtn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  transition: color 0.15s ease;
}

.loginModalEyeBtn:hover {
  color: rgba(255, 255, 255, 0.7);
}

.loginModalEyeBtn:focus,
.loginModalEyeBtn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.eyeIcon {
  width: 17px;
  height: 17px;
}

.eyeShow {
  display: none;
}

.eyeHide {
  display: block;
}

.loginModalInput {
  width: 100%;
  height: 42px;
  padding: 0 2px;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 0;
  background: transparent;
  color: #ffffff;
  font-size: 15px;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  outline: none;
  transition: border-color 0.2s ease;
}

.loginModalInput::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.loginModalInput:focus {
  border-color: rgba(255, 106, 0, 0.8);
}

.loginModalInput:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.loginModalActions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.loginModalSubmit {
  flex: 1;
  height: 48px;
  border: none;
  border-radius: 0;
  background: linear-gradient(135deg, #ff6a00, #cc4f00);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: 0.15s ease;
}

.loginModalSubmit:hover {
  background: linear-gradient(135deg, #ff7d1a, #e05500);
}

.loginModalSubmit:active {
  transform: scale(0.98);
}

.loginModalRegister {
  flex: 1;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.38);
  font-size: 14px;
  font-weight: 600;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: color 0.15s ease;
}

.loginModalRegister:hover {
  color: rgba(255, 255, 255, 0.65);
}

.loginModalRegister:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.loginModalSocial {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.loginModalSocialBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  padding: 0 16px;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.55);
  font-size: 14px;
  font-weight: 500;
  font-family: 'Inter', Arial, Helvetica, sans-serif;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.loginModalSocialBtn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
}

.loginModalSocialBtn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

.loginModalSocialBtn:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.registerModalInner {
  max-width: 500px;
  margin-top: 76px;
}

.registerModalInner .loginModalSub {
  margin-bottom: 24px;
}

.registerFields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  margin-bottom: 24px;
}


.loginModalWeiter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.loginModalWeiter svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.loginModalDivider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 16px;
  color: rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.loginModalDivider::before,
.loginModalDivider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

/* ── Visuelles Feedback: Inhalt skaliert, Button-Container bleibt fix ── */

.navButton svg, .navButton span,
.profileMenuItem svg, .profileMenuItem span {
  transition: transform 0.1s ease;
}
.navButton:active svg, .navButton:active span,
.profileMenuItem:active svg, .profileMenuItem:active span {
  transform: scale(1.12);
}

.playIcon {
  transition: transform 0.1s ease;
}
.playButton:active .playIcon {
  transform: scale(1.22);
}

.playerButton:not(.playButton) svg {
  transition: transform 0.1s ease;
}
.playerButton:not(.playButton):active svg {
  transform: scale(1.2);
}

.searchIcon {
  transition: transform 0.1s ease;
}
.searchIcon:active {
  transform: scale(1.22);
}

.searchClose svg {
  transition: transform 0.1s ease;
}
.searchClose:active svg {
  transform: scale(1.22);
}

.searchBackButton svg,
.searchBackButton span {
  transition: transform 0.1s ease;
}
.searchBackButton:active svg,
.searchBackButton:active span {
  transform: scale(1.12);
}

.volumeIcon {
  transition: transform 0.1s ease;
}
.volumeMuteButton:active .volumeIcon {
  transform: scale(1.22);
}

.volumeSlider::-webkit-slider-thumb {
  transition: transform 0.1s ease;
}
.volumeSlider:active::-webkit-slider-thumb {
  transform: scale(1.5);
}

/* ── Scrollbar ── */

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(231, 170, 81, 0.3);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(231, 170, 81, 0.55);
}

html[data-page="startPage"] #startPage,
html[data-page="playlistsPage"] #playlistsPage,
html[data-page="artistsPage"] #artistsPage,
html[data-page="releasesPage"] #releasesPage,
html[data-page="radioPage"] #radioPage,
html[data-page="newPlaylistPage"] #newPlaylistPage { display: block; }

html[data-muted="1"] .muteStrike { display: block; }

html[data-profile-open="1"] .profileMenu { transform: translateY(0); }
html[data-profile-open="1"] .sidebarProfile .profileArrow { transform: rotate(-90deg); }

html[data-search-expanded="1"] .searchPanel {
  width: calc(100vw - 560px);
  height: 100vh;
  top: 0;
  border-radius: 0;
  box-shadow: none;
}
html[data-search-expanded="1"] .searchPanel .searchBox {
  height: 76px;
  padding-top: 28px;
  max-width: 600px;
  margin: 0 auto;
  border: none;
  border-bottom: 1px solid rgba(231, 170, 81, 0.46);
  border-radius: 0;
}
html[data-search-expanded="1"] .searchPanel .searchDropdown {
  height: calc(100vh - 76px);
  border-color: transparent;
  overflow-y: auto;
}
html[data-search-expanded="1"] .searchPanel .searchBackButton { display: flex; }
html[data-search-expanded="1"] .searchPanel .searchClose { display: flex; }
html[data-queue-open="1"] .queuePanel { pointer-events: auto; transform: translateX(0); }
html[data-queue-open="1"] .queueButton { color: #ff6a00; }
html[data-queue-open="1"] .mainContent { margin-right: 480px; }
html[data-queue-open="1"] .searchPanel { left: calc(50% - 100px); }
html[data-queue-open="1"] .centerGlassRectangle { left: calc(50% - 100px); }

html[data-search-expanded="1"] .searchOverlayLeft,
html[data-search-expanded="1"] .searchOverlayRight { opacity: 1; pointer-events: auto; }

html[data-player-mode="repeat"] .playerModeButton,
html[data-player-mode="repeatOne"] .playerModeButton,
html[data-player-mode="shuffle"] .playerModeButton { color: #ff6a00; }

html[data-player-mode="repeatOne"] .playerModeButton .modeBadge {
  display: block;
  position: absolute;
  top: -2px;
  right: 1px;
  color: #ff6a00;
  font-size: 9px;
  font-weight: 900;
  line-height: 1;
}

html[data-player-mode="shuffle"] .playerModeButton .repeatIcon { display: none; }
html[data-player-mode="shuffle"] .playerModeButton .shuffleIcon { display: block; }

html[data-page="settingsPage"] #settingsPage,
html[data-page="profilePage"] #profilePage { display: block; }

html[data-page="settingsPage"] [data-page="settingsPage"].profileMenuItem,
html[data-page="profilePage"] [data-page="profilePage"].profileMenuItem {
  color: #ffffff;
  background: rgba(172, 112, 49, 0.26);
  border-color: rgba(231, 170, 81, 0.46);
  box-shadow: 0 0 28px rgba(231, 170, 81, 0.18);
}

html[data-page="startPage"] [data-page="startPage"].navButton,
html[data-page="playlistsPage"] [data-page="playlistsPage"].navButton,
html[data-page="artistsPage"] [data-page="artistsPage"].navButton,
html[data-page="releasesPage"] [data-page="releasesPage"].navButton,
html[data-page="radioPage"] [data-page="radioPage"].navButton,
html[data-page="newPlaylistPage"] [data-page="newPlaylistPage"].navButton {
  color: #ffffff;
  background: rgba(172, 112, 49, 0.26);
  border-color: rgba(231, 170, 81, 0.46);
  box-shadow: 0 0 28px rgba(231, 170, 81, 0.18);
}

/* ── Punkt 4: Goldener Tastaturfokus ── */

*:focus-visible {
  outline: 2px solid rgba(231, 170, 81, 0.9) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 4px rgba(231, 170, 81, 0.18) !important;
}

.searchBox input:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

/* ── Punkt 5: Spielerleiste Hover (experimentell) ── */

.centerGlassRectangle {
  transition: left 0.28s ease, transform 0.22s ease;
}

.centerGlassRectangle:hover {
  transform: translateX(-50%) scaleX(1.022) scaleY(1.006);
}

/* ── Punkt 6: Seiten Einblenden (experimentell) ── */

@keyframes pageFadeIn {
  from {
    opacity: 0;
    transform: translateY(7px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page.active {
  animation: pageFadeIn 0.22s ease forwards;
}