/* ========================================================================
   Normalize & Basis-Styling
   ======================================================================== */
:root {
  --teal: #12cfd0;
  --pink: #ff6fa3;
  --bg-dark: #0b0f1a;
  --surface: #11182a;
  --surface-muted: #0d1423;
  --text-primary: #f5f7fb;
  --border-soft: rgba(255, 255, 255, 0.08);
}

@font-face {
  font-family: "Mudstone Sans";
  src:
    url("../site-assets/fonts/mudstone-sans-black.otf") format("opentype"),
    local("Mudstone Sans Black"),
    local("Mudstone Sans"),
    local("MudstoneSans-Black");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

html {
  font-family: "Raleway", "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  font-size: 62.5%;
}
body {
  margin: 0;
  font-size: 1.5em;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-dark);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

a,
a:visited,
a:hover,
a:focus {
  text-decoration: none;
}

/* ========================================================================
   Gradient-Bereich
   ======================================================================== */
.gradient-area {
  width: 100%;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 111, 163, 0.18), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(18, 207, 208, 0.18), transparent 32%),
    linear-gradient(135deg, #132340, #0f1c2c 45%, #151027 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  box-sizing: border-box;
}

/* ========================================================================
   Container (schwarz)
   ======================================================================== */
.container {
  width: 85%;
  max-width: 960px;
  background: linear-gradient(145deg, var(--surface), var(--surface-muted));
  padding: 32px;
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 0 1px var(--border-soft);
  margin: 0 auto;
  text-align: center;
  position: relative;
}

/* ========================================================================
   Logo im Container (links oben)
   ======================================================================== */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  text-align: left;
  padding: 10px;
  margin-bottom: 10px;
  cursor: default;
  width: 100%;
  max-width: 100%;
}
.logo-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.logo-container img {
  width: 70px;
  flex: 0 0 auto;
  display: block;
  cursor: default;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-container img.logo-shortcut-enabled:hover,
.logo-container img.logo-shortcut-enabled:focus-visible {
  opacity: 0.92;
  transform: translateY(-1px);
  outline: none;
}
.logo-user-name {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  color: #f7f9ff;
  font-weight: 600;
  line-height: 1.24;
  row-gap: 3px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.logo-user-name:hover,
.logo-user-name:focus-visible {
  opacity: 0.9;
  transform: translateY(-1px);
  outline: none;
}
.logo-user-name.logo-user-name--active {
  opacity: 1;
}
.logo-user-firstname,
.logo-user-lastname {
  display: block;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: 0.015em;
  white-space: nowrap;
}
.logo-user-lastname {
  font-size: 1.12rem;
  opacity: 0.82;
}
.next-appointment-response-badge {
  appearance: none;
  -webkit-appearance: none;
  box-sizing: border-box;
  position: absolute;
  top: -5px;
  right: -7px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  min-width: 22px;
  min-height: 22px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #d86b73;
  box-shadow: 0 5px 12px rgba(38, 10, 14, 0.18);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  opacity: 0.96;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease, background 0.18s ease;
}
.next-appointment-response-badge:hover,
.next-appointment-response-badge:focus-visible {
  transform: scale(1.06);
  background: #df7b83;
  box-shadow: 0 7px 14px rgba(38, 10, 14, 0.22);
  outline: none;
}
.next-appointment-response-badge[hidden] {
  display: none !important;
}

/* ========================================================================
   Überschrift (weiß, dicker, weiter oben)
   ======================================================================== */
h1 {
font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 4.0rem;
  line-height: 1.2;
  letter-spacing: -0.1rem;
  font-weight: 600;
  margin-top: 4px;
  margin-bottom: 0;
  color: #f7f9ff;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.song-title-row {
  width: min(100%, 780px);
  margin: 4px auto 2.4rem;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(4px, 1vw, 10px);
}

.song-title-row > #songTitle {
  grid-column: 2;
}

.song-title-row > #prevSong {
  grid-column: 1;
}

.song-title-row > #nextSong {
  grid-column: 3;
}

.title-song-nav {
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  justify-self: center;
  width: auto;
  height: auto;
  min-width: 0;
  padding: 0 3px;
  border: none;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: clamp(3.3rem, 5.6vw, 4.6rem);
  line-height: 1;
  color: #f7f9ff;
  opacity: 0.92;
  transform: none;
}

.title-song-nav:hover,
.title-song-nav:focus,
.title-song-nav:focus-visible,
.title-song-nav:active {
  border: none;
  background: none;
  box-shadow: none;
  color: #f7f9ff;
  opacity: 0.92;
  transform: none;
  outline: none;
}

.title-song-nav[hidden] {
  display: none !important;
}

/* ========================================================================
   Steuerungsfelder & Layout
   ======================================================================== */
.controls-wrapper {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
  justify-content: center;
}
.playlist-container,
.song-container {
  flex: 1;
}

.song-container {
  min-width: 0;
  position: relative;
}

/* ========================================================================
   Video-Container
   ======================================================================== */
#videoContainer {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 10px;
  margin: 15px auto;
  min-height: 200px;
  transition: min-height 0.3s;
}

#videoContainer.pdf-mode {
  background: transparent;
  box-shadow: none;
}

#videoContainer.checkin-open {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100dvh;
  min-height: 100dvh !important;
  margin: 0;
  padding: clamp(12px, 3vw, 28px);
  overflow: hidden;
  box-sizing: border-box;
  border-radius: 0;
  background: rgba(5, 10, 21, 0.68);
  box-shadow: none;
  backdrop-filter: blur(8px);
  overscroll-behavior: contain;
}

#videoContainer.checkin-open > :not(#checkinPanel) {
  display: none !important;
}

body.checkin-modal-open {
  overflow: hidden;
}

.checkin-panel {
  position: relative;
  width: min(760px, calc(100vw - 24px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  box-sizing: border-box;
  text-align: left;
  background: linear-gradient(160deg, rgba(17, 24, 42, 0.95), rgba(13, 20, 35, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
  padding: 24px;
}

.checkin-panel h2 {
  margin: 0 26px 16px 0;
  text-align: center;
  font-family: "Permanent Marker", cursive;
  font-size: 2.8rem;
  color: #f7f9ff;
}

.checkin-panel label {
  display: block;
  font-size: 1.3rem;
  color: rgba(245, 247, 251, 0.85);
  margin-bottom: 6px;
}

.checkin-monmix-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.checkin-monmix-label-row label {
  margin-bottom: 0;
}

.checkin-inline-button {
  width: auto !important;
  min-height: 0;
  margin: 0 !important;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.checkin-inline-button:hover,
.checkin-inline-button:focus {
  border-color: rgba(255, 92, 141, 0.75);
  outline: none;
}

.checkin-monmix-editor {
  margin: 2px 0 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.checkin-monmix-editor label {
  font-size: 1.2rem;
}

.checkin-monmix-editor select {
  margin-bottom: 10px;
}

.checkin-monmix-faders {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(84px, 1fr));
  gap: 10px;
  align-items: end;
}

.checkin-monmix-fader-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 9px 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
}

.checkin-monmix-fader-name {
  font-size: 1.15rem;
  color: rgba(245, 247, 251, 0.92);
  min-height: 2.8em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.checkin-monmix-fader-row input[type="range"],
.checkin-monmix-fader-row input[type="number"] {
  margin: 0;
}

.checkin-monmix-fader-row input[type="range"] {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  writing-mode: bt-lr;
  width: 28px;
  height: 190px;
  accent-color: #ff5c8d;
  cursor: pointer;
}

.checkin-monmix-fader-row input[type="number"] {
  width: 100%;
  padding: 8px 8px;
  font-size: 1.2rem;
  text-align: center;
}

.checkin-monmix-status {
  text-align: left;
  margin: 8px 0;
  min-height: 1.6rem;
  font-size: 1.18rem;
}

.checkin-monmix-editor .checkin-monmix-status {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 7px 9px;
  border-radius: 9px;
  background: rgba(11, 15, 26, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(6px);
}

.checkin-monmix-status.is-error {
  color: #ff9daf;
}

.checkin-monmix-status.is-ok {
  color: #aef6bd;
}

.checkin-monmix-editor.is-lock-conflict label[for="checkinMonmixEditSelect"],
.checkin-monmix-editor.is-lock-conflict #checkinMonmixEditSelect,
.checkin-monmix-editor.is-lock-conflict .checkin-monmix-faders,
.checkin-monmix-editor.is-lock-conflict .checkin-monmix-actions {
  display: none;
}

.checkin-monmix-editor.is-lock-conflict .checkin-monmix-status {
  margin: 0;
  min-height: 0;
}

.checkin-monmix-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.checkin-monmix-actions button {
  margin: 0;
}

.checkin-member-info {
  margin: -4px 0 12px;
  font-size: 1.22rem;
  color: rgba(240, 246, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 9px 12px;
}

.checkin-panel select,
.checkin-panel input,
.checkin-panel button {
  width: 100%;
  margin-bottom: 12px;
  box-sizing: border-box;
  border-radius: 10px;
}

.checkin-panel .checkin-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  margin: 2px 0 14px;
}

.checkin-panel .checkin-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #ff5c8d;
}

.checkin-panel .checkin-checkbox span {
  font-size: 1.3rem;
  color: rgba(245, 247, 251, 0.92);
}

.checkin-panel button {
  line-height: 1.2;
}

.checkin-panel select,
.checkin-panel input {
  padding: 11px 12px;
  font-size: 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
}

.checkin-panel select:focus,
.checkin-panel input:focus {
  outline: none;
  border-color: rgba(255, 92, 141, 0.75);
}

.checkin-panel #checkinSubmit {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 4px;
}

.checkin-status {
  font-size: 1.3rem;
  color: rgba(245, 247, 251, 0.8);
  text-align: center;
  min-height: 1.9rem;
  margin: 0 0 10px;
}

.checkin-panel.checkin-panel-unavailable > :not(.checkin-status):not(.checkin-close) {
  display: none !important;
}

.checkin-panel.checkin-panel-unavailable .checkin-status {
  min-height: 0;
  margin: 10px 0 2px;
  font-size: 1.45rem;
  color: rgba(245, 247, 251, 0.95);
}

.checkin-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 30px !important;
  height: 30px;
  margin-bottom: 0;
  padding: 0;
  border: none;
  background: none !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
}

.checkin-close:hover,
.checkin-close:focus {
  color: #ff5c8d;
  outline: none;
}

.checkin-toggle {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  padding: 10px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}

.checkin-admin-section {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 4px;
  padding-top: 10px;
}

#checkinOccList {
  font-size: 1.4rem;
  color: rgba(245, 247, 251, 0.9);
}

.checkin-occ-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: none;
  color: inherit;
  cursor: pointer;
  font-size: 1.4rem;
}

.checkin-occ-item-empty {
  cursor: default;
}

.checkin-occ-item.checkin-occ-item-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  #videoContainer.checkin-open {
    padding: 10px;
  }

  .checkin-panel {
    width: min(100%, calc(100vw - 20px));
    max-height: calc(100dvh - 20px);
    padding: 18px 14px;
  }

  .logo-container {
    gap: 10px;
    padding: 6px 8px 10px;
    margin-bottom: 8px;
  }

  .logo-container img {
    width: 60px;
  }

  .logo-mark {
    flex-basis: 60px;
  }

  .logo-user-firstname,
  .logo-user-lastname {
    font-size: 0.98rem;
  }

  .logo-user-lastname {
    font-size: 0.9rem;
  }

  .next-appointment-response-badge {
    top: -4px;
    right: -5px;
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
    font-size: 0.68rem;
  }

  .checkin-monmix-faders {
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 8px;
  }

  .checkin-monmix-fader-row {
    gap: 6px;
    padding: 8px 4px;
  }

  .checkin-monmix-fader-row input[type="range"] {
    height: 150px;
    width: 24px;
  }

  .checkin-monmix-actions {
    grid-template-columns: 1fr;
  }
}

#checkinResetBtn {
  background: #e14b65;
  color: #fff;
  border: none;
  padding: 10px 12px;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
}
#songNotes {
  position: relative;
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1.55;
  text-align: left;
  white-space: normal;
}

#songNotes a,
#songNotes a:visited,
.song-note-link,
.song-note-link:visited {
  color: #FF5C8D;
  text-decoration: none;
}

.notes-switch-button-wrapper {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.notes-switch-button {
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: 2.15rem;
}

.download-buttons .notes-switch-button-wrapper {
  margin-top: 0;
  width: 100%;
}

.song-notes-switch-slot {
  flex: 1 1 0;
}

.download-buttons .notes-switch-button {
  flex: 1 1 0;
  width: 100%;
  height: 44px;
  padding: 0 30px;
  line-height: 44px;
  text-transform: uppercase;
  text-decoration: none;
}

#songNotes a:hover,
#songNotes a:focus,
.song-note-link:hover,
.song-note-link:focus {
  color: #FF76A1;
}
#videoContainer video {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
  background: #000;
}
#videoPlayer img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
#videoElementWrapper {
  width: 100%;
  display: none;
}

#videoElementWrapper video {
  width: 100%;
  height: auto;
}

.timestamp-container {
  display: none;
  align-items: center;
}

#timestampSelect {
  margin: 0;
  min-width: 160px;
  font-size: 1.4rem;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(10, 10, 10, 0.72);
  color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

#timestampSelect:hover,
#timestampSelect:focus {
  outline: none;
  border-color: rgba(255, 92, 141, 0.7);
  background: rgba(20, 20, 20, 0.85);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

#timestampSelect option {
  background: #111;
  color: #fff;
}

.timestamp-container select:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.video-control-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  z-index: 4;
  transition: opacity 0.2s ease;
}

.overlay-left-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.overlay-right-controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  margin-left: auto;
}

.video-control-overlay.overlay-hidden {
  opacity: 0;
  pointer-events: none;
}

#videoContainer.allow-fullscreen .video-control-overlay,
#videoContainer.sheet-mode .video-control-overlay {
  display: flex;
}

#favoriteBtn.favorite,
#fullscreenToggle {
  width: 44px;
  height: 44px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

#favoriteBtn.favorite.active {
  color: #FF5C8D;
  border-color: #FF5C8D;
}

#fullscreenToggle.active {
  color: #FF5C8D;
  border-color: #FF5C8D;
}

body.is-mobile-device #fullscreenToggle {
  display: none;
}

#favoriteBtn.favorite:hover,
#favoriteBtn.favorite:focus,
#fullscreenToggle:hover,
#fullscreenToggle:focus {
  border-color: #FF5C8D;
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.05);
}

@supports (top: calc(12px + env(safe-area-inset-top, 0px))) {
  .video-control-overlay {
    top: calc(12px + env(safe-area-inset-top, 0px));
    right: calc(12px + env(safe-area-inset-right, 0px));
  }
}
body.simulated-fullscreen-mode {
  overflow-y: auto;
}

body.simulated-fullscreen-mode #videoContainer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border-radius: 0;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #000;
  box-sizing: border-box;
}

body.simulated-fullscreen-mode #videoPlayer,
body.simulated-fullscreen-mode #videoElementWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

body.simulated-fullscreen-mode #videoContainer img,
body.simulated-fullscreen-mode #videoContainer video {
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
}

/* Optional: Styling für die Fehlermeldung, wenn kein Video oder PDF vorhanden ist */
.no-video-message {
  color: #fff;
  font-size: 1.8rem;
  text-align: center;
  padding: 20px;
}

/* ========================================================================
   Audio-Controls (zentriert mit flexbox)
   ======================================================================== */

#audioControls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 360px;
  min-height: 156px;
  gap: 16px;
  margin: 20px auto;
  position: relative;
}

#audioControls .audio-loading {
  width: 72px;
  height: 72px;
  border: 6px solid rgba(255, 255, 255, 0.15);
  border-top-color: #FF5C8D;
  border-radius: 50%;
  animation: audioSpin 1s linear infinite;
  display: none;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 12px rgba(255, 92, 141, 0.4));
}

#audioControls.is-loading .audio-loading {
  display: flex;
}

.audio-controls-inner {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#audioControls.is-loading .audio-controls-inner {
  display: none;
}

#videoContainer.personal-audio-mode {
  background: transparent;
  min-height: 0;
  margin: 15px auto;
}

#videoContainer.personal-audio-mode #audioControls {
  max-width: none;
  width: 100%;
  padding-top: 30px;
  padding-bottom: 30px;
}

#videoContainer.personal-audio-mode #audioControls .audio-controls-inner,
#videoContainer.personal-audio-mode #audioControls .audio-blur-panel {
  width: 100%;
}

#videoContainer.personal-audio-mode #videoControlsOverlay,

.personal-playback .audio-timeline-wrapper{
    margin-top:10px;
}

#audioControls button {
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  margin: 0;
}


.audio-blur-panel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.audio-primary-controls {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 1.4vw, 10px);
  flex-wrap: nowrap;
}

#audioControls .audio-play-button {
  min-width: clamp(48px, 10vw, 56px);
  height: clamp(48px, 10vw, 56px);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
#audioControls .audio-play-button {
  font-size: 2.2rem;
  color: #fff;
}

#audioControls .audio-play-button i {
  font-size: 2.4rem;
  color: #fff;
}

#audioControls .audio-transport-button {
  font-size: clamp(1.5rem, 3.6vw, 1.8rem);
  width: clamp(34px, 8vw, 42px);
  height: clamp(34px, 8vw, 42px);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255, 92, 141, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}
#audioControls .audio-transport-button:hover,
#audioControls .audio-transport-button:focus {
  transform: scale(1.06);
  background: rgba(255, 92, 141, 0.98);
}

#audioControls .audio-practice-button {
  width: clamp(32px, 7.6vw, 40px);
  height: clamp(32px, 7.6vw, 40px);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.4rem, 3.4vw, 1.7rem);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#audioControls .audio-practice-button.active {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.85), rgba(16, 185, 129, 0.85));
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

#audioControls .audio-practice-button:hover,
#audioControls .audio-practice-button:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.4);
}

.audio-time-inline {
  color: #fff;
  font-size: clamp(1.1rem, 2.8vw, 1.3rem);
  margin-left: clamp(2px, 1vw, 6px);
  white-space: nowrap;
}

.audio-timeline-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

#audioControls .audio-timeline-wrapper .audio-waveform-wrapper {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: inset 0 1px 8px rgba(0, 0, 0, 0.35);
  position: relative;
}

#audioWaveform {
  width: 100%;
  height: 100%;
  display: block;
}

#audioTime {
    min-width: clamp(56px, 14vw, 76px);
  display: inline-block;
  color: #fff;
  font-size: clamp(1.2rem, 3vw, 1.4rem);
  text-align: center;
}

.audio-song-nav {
  width: clamp(32px, 7.6vw, 40px);
  height: clamp(32px, 7.6vw, 40px);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.65);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.3rem, 3.2vw, 1.6rem);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.audio-song-nav:hover,
.audio-song-nav:focus {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(21, 31, 54, 0.85);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.practice-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: none;
}

.practice-overlay.is-active {
  display: block;
}

.practice-region {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(0, 217, 213, 0.16);
  border: 1px solid rgba(0, 217, 213, 0.6);
  pointer-events: none;
}

.practice-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(0, 217, 213, 0.65));
  border: 1px solid rgba(0, 217, 213, 0.9);
  border-radius: 6px;
  transform: translateX(-50%);
  cursor: ew-resize;
  pointer-events: auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  touch-action: none;
}

.practice-handle::after {
  content: '';
  position: absolute;
  top: 30%;
  bottom: 30%;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.35);
}

label.disabled-option {
  opacity: 0.6;
  cursor: not-allowed;
}

#videoContainer.sheet-mode #audioControls {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: none;
  border-radius: 0;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  z-index: 2;
}

#videoContainer.sheet-mode #audioControls.overlay-hidden {
  opacity: 0;
  pointer-events: none;
}

body.simulated-fullscreen-mode #videoContainer.sheet-mode #audioControls {
  width: min(50%, 480px);
  max-width: 480px;
}

#videoContainer.sheet-mode #audioControls .audio-blur-panel {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: min(100%, 480px);
  padding: 10px 14px;
  margin-top: 28px;
  background: rgba(17, 24, 42, 0.9);
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(0.5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

#videoContainer.sheet-mode #audioControls .audio-timeline-wrapper {
  flex: 1;
  gap: 8px;
  align-items: stretch;
}

#videoContainer.sheet-mode #audioControls .audio-timeline-wrapper .audio-waveform-wrapper {
  height: 44px;
  margin: 0;
}

#videoContainer.sheet-mode #audioControls #audioTime {
  text-align: center;
}

#videoContainer.sheet-mode #audioControls .audio-primary-controls {
  gap: 8px;
}

#videoContainer.sheet-mode #audioControls .audio-transport-button {
  width: 42px;
  height: 42px;
  font-size: 2.2rem;
}

#videoContainer.sheet-mode #audioControls .audio-play-button {
  min-width: 42px;
  height: 42px;
}

#videoContainer.sheet-mode #audioControls .audio-practice-button {
  width: 42px;
  height: 42px;
}

#videoContainer.sheet-mode #audioControls #audioNoVideoMessage {
  display: none;
}

#audioPlayPause {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 111, 163, 0.38), rgba(255, 111, 163, 0.16));
  border: 1px solid rgba(255, 111, 163, 0.9);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.playback-glyph {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 0;
  color: currentColor;
  font-size: 1.18em;
}

.playback-glyph-play,
.playback-glyph-pause {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.16s ease, transform 0.16s ease;
}

.playback-glyph-play::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-top: 0.28em solid transparent;
  border-bottom: 0.28em solid transparent;
  border-left: 0.46em solid currentColor;
  margin-left: 0.08em;
}

.playback-glyph-pause {
  gap: 0.16em;
}

.playback-glyph-pause > span {
  display: block;
  width: 0.14em;
  height: 0.58em;
  border-radius: 999px;
  background: currentColor;
}

[data-playback-state="paused"] .playback-glyph-play {
  opacity: 1;
  transform: scale(1);
}

[data-playback-state="paused"] .playback-glyph-pause {
  opacity: 0;
  transform: scale(0.82);
}

[data-playback-state="playing"] .playback-glyph-play {
  opacity: 0;
  transform: scale(0.82);
}

[data-playback-state="playing"] .playback-glyph-pause {
  opacity: 1;
  transform: scale(1);
}

#audioPlayPause .playback-glyph {
  font-size: 2.4rem;
}

#audioPlayPause:hover,
#audioPlayPause:focus {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(18, 207, 208, 0.46), rgba(18, 207, 208, 0.22));
  border-color: rgba(18, 207, 208, 0.85);
}

#videoContainer.sheet-mode #audioControls #audioPlayPause {
  width: 42px;
  height: 42px;
}

#videoContainer.sheet-mode #audioControls #audioPlayPause .playback-glyph {
  font-size: 2.1rem;
}

@media (max-width: 420px) {
  #audioControls {
    max-width: 320px;
    min-height: 140px;
    gap: 12px;
  }

  .audio-blur-panel {
    gap: 4px !important;
  }

  .audio-primary-controls {
    gap: 4px !important;
  }

  #audioControls .audio-play-button,
  #videoContainer.sheet-mode #audioControls .audio-play-button {
    min-width: 35px !important;
    width: 35px !important;
    height: 35px !important;
    font-size: 1.8rem !important;
  }

  #audioControls .audio-transport-button,
  #videoContainer.sheet-mode #audioControls .audio-transport-button {
    width: 35px;
    height: 35px;
    font-size: 2.1rem;
  }

  .audio-song-nav,
  #videoContainer.sheet-mode #audioControls .audio-song-nav,
  #audioControls .audio-practice-button,
  #videoContainer.sheet-mode #audioControls .audio-practice-button {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  #audioTime {
    min-width: 52px;
    font-size: 1.2rem;
  }

  .audio-time-inline {
    font-size: 1.1rem;
    margin-left: 2px;
  }

  #videoContainer.sheet-mode #audioControls {
    width: 95%;
    max-width: 340px;
  }

  #videoContainer.sheet-mode #audioControls .audio-blur-panel {
    width: 100%;
  }

  #videoContainer.sheet-mode #audioControls .audio-timeline-wrapper .audio-waveform-wrapper {
    height: 38px;
  }
}

/* ========================================================================
   Formulare & Buttons (alle auf 100% Breite)
   ======================================================================== */
select,
input,
textarea {
  font-family: inherit;
  font-size: 1.6em;
  padding: 11px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  margin-bottom: 15px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  color: var(--text-primary);
  width: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
select:focus,
input:focus,
textarea:focus {
  outline: none;
  border-color: rgba(18, 207, 208, 0.7);
  box-shadow: 0 0 0 3px rgba(255, 111, 163, 0.15), 0 12px 32px rgba(0, 0, 0, 0.3);
}
.button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 44px;
  padding: 0 30px;
  color: #fff;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 44px;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(135deg, rgba(18, 207, 208, 0.28), rgba(255, 111, 163, 0.22));
  border: 2px solid rgba(18, 207, 208, 0.65);
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  width: 100%;
}
.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover {
  background: linear-gradient(135deg, rgba(255, 111, 163, 0.32), rgba(18, 207, 208, 0.3));
  border-color: rgba(255, 111, 163, 0.85);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Neue Klasse für pinke Buttons, die beim Hover zu türkis wechseln */
.pink-button {
  background: linear-gradient(135deg, rgba(255, 111, 163, 0.38), rgba(255, 111, 163, 0.16)) !important;
  border-color: rgba(255, 111, 163, 0.9) !important;
}
.pink-button:hover {
  background: linear-gradient(135deg, rgba(18, 207, 208, 0.46), rgba(18, 207, 208, 0.22)) !important;
  border-color: rgba(18, 207, 208, 0.85) !important;
}


/* ========================================================================
   Download-Buttons (pink, nebeneinander)
   ======================================================================== */
.download-buttons {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 10px;
  margin-top: 15px;
}
#downloadAudio, #downloadPDF {
  flex: 1 1 0;
  width: 100%;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: 2.15rem;
}

#downloadAudio,
#downloadPDF,
.download-buttons .notes-switch-button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  box-sizing: border-box;
  white-space: nowrap;
  overflow: hidden;
}

/* ========================================================================
   Responsive Anpassungen
   ======================================================================== */
@media (max-width: 600px) {
  .container {
    padding: 15px;
  }
  .song-title-row {
    margin-bottom: 2rem;
    gap: 4px;
  }
  h1 {
    font-size: 2.5rem;
  }
  #videoContainer {
    min-height: 150px;
  }
  select {
    font-size: 1.1rem;
  }
  .download-buttons {
    gap: 8px;
  }
  #downloadAudio,
  #downloadPDF,
  .download-buttons .notes-switch-button {
    padding: 0 12px;
    font-size: 1.75rem;
    letter-spacing: 0;
  }
}

#pdfWrapper,
.pdf-wrapper {
  width: 100%;
  min-height: 400px;
  height: min(72vh, 780px);
  overflow: hidden;
  border-radius: 10px;
  background: transparent;
}

#pdfWrapper .embedpdf-viewer,
#pdfWrapper .pdf-native-embed,
#videoContainer embed.pdf-native-embed {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  display: block;
}

select,
input,
textarea {
  font-family: inherit;
  font-size: 1.2em;
  padding: 10px 14px; /* Etwas mehr Padding für mehr Höhe */
  border: 2px solid rgba(255, 111, 163, 1); /* Rahmen in pink */
  border-radius: 10px; /* Abgerundete Ecken */
  margin-bottom: 6px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.35));
  color: var(--text-primary);
  width: 100%;
  height: 46px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

select:focus,
input:focus,
textarea:focus {
    /* border-color: #00D9D5;  Beim Fokus in türkis */
  border-color: rgba(18, 207, 208, 0.85);
  box-shadow: 0 0 5px rgba(0, 217, 213, 0.5), 0 14px 24px rgba(0, 0, 0, 0.28);
  outline: none;
}

button.vor,
button.zurück,
button.favorite {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

button.favorite {
    font-size: 1.5em;
    line-height: 1;
    opacity: 0.8;
    transform: translateY(-1px);
}

button.favorite.active {
    opacity: 1;
}

#audioTracks {
    display:none }

/* Stelle sicher, dass das eingebettete PDF den Container vollständig ausfüllt */
#videoContainer embed {
  width: 100%;
  height: 100%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  position: relative;
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  height: 90%;
  border-radius: 8px;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  color: #000;
  font-size: 35px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #FF5C8D;
}

/* Select2 Single Selection Container */
.select2-dropdown {
    background-color: black;
    border:none;
    text-align: left;
}

.song-container .select2-dropdown {
  left: 0 !important;
  width: 100% !important;
  box-sizing: border-box;
  z-index: 10000;
}

.select2-container--default .select2-selection--single {
  background-color: black;
  border: 2px solid #FF5C8D;
  border-radius: 8px;
  height: 44px;
  padding: 0 12px;
  color: white;
  font-size: 1.3em;
  display: flex;
  align-items: center;
}

.select2-container {
  width: 100% !important;
}

#songSelect + .select2-container {
  max-width: 100% !important;
}

#songSelect + .select2-container .select2-selection__rendered {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#playlistSelect {
  background-color: black;
  border: 2px solid #FF5C8D;
  border-radius: 8px;
  height: 44px;
  padding: 0 12px;
  color: white;
  font-size: 1.3em;
  box-sizing: border-box;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 44px;
  color: white;
  display: flex;
  align-items: center;
  min-width: 0;
  padding-left: 0;
  padding-right: 28px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 44px;
  right: 6px;
  top: 0;
}

.song-container .select2-search--dropdown .select2-search__field {
  background-color: #ff5c8d45;
  color: white;
  border: 2px solid #FF5C8D;
  outline: none;
}

.song-container .select2-search--dropdown .select2-search__field:focus {
  outline: none;
}

/* Ergebnisse im Dropdown */
.select2-container--default .select2-results__option {
  background-color: black;
  color: white;
  padding:10px;
}

/* Hervorgehobene oder ausgewählte Option */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option[aria-selected=true] {
  background-color: #00d9d58d;
  color: white;
}

.song-select-option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border-radius: 12px;
  padding: 4px 2px;
  background: transparent;
}

.song-select-option__marker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
}

.song-select-option__label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.song-select-option--practiced {
  color: #f0fffa;
  font-weight: 700;
}

.song-select-option--practiced .song-select-option__marker {
  border-color: rgba(116, 255, 221, 0.55);
  background: linear-gradient(135deg, rgba(116, 255, 221, 0.98), rgba(44, 212, 182, 0.9));
  color: #032a21;
  box-shadow: 0 0 0 1px rgba(116, 255, 221, 0.2), 0 8px 18px rgba(18, 217, 213, 0.24);
}

.song-select-option--missing {
  color: #ffe6ec;
}

.song-select-option--missing .song-select-option__marker {
  border-color: rgba(255, 140, 170, 0.34);
  background: linear-gradient(135deg, rgba(255, 128, 166, 0.32), rgba(255, 92, 141, 0.18));
  color: #fff0f5;
  box-shadow: 0 8px 18px rgba(255, 92, 141, 0.12);
}

.select2-results__option .song-select-option {
  padding: 6px 2px;
}

.select2-results__option .song-select-option--practiced {
  background: linear-gradient(135deg, rgba(46, 194, 166, 0.2), rgba(13, 20, 35, 0));
}

.select2-results__option .song-select-option--missing {
  background: linear-gradient(135deg, rgba(255, 92, 141, 0.14), rgba(13, 20, 35, 0));
}

.song-container .select2-container--default .select2-selection--single.song-select-current--practiced {
  background: linear-gradient(135deg, rgba(18, 217, 213, 0.16), rgba(7, 13, 24, 0.98));
  border-color: rgba(102, 241, 219, 0.84);
  box-shadow: inset 0 0 0 1px rgba(102, 241, 219, 0.14), 0 12px 28px rgba(18, 217, 213, 0.12);
}

.song-container .select2-container--default .select2-selection--single.song-select-current--missing {
  background: linear-gradient(135deg, rgba(255, 92, 141, 0.12), rgba(8, 12, 22, 0.98));
  border-color: rgba(255, 132, 163, 0.7);
  box-shadow: inset 4px 0 0 rgba(255, 104, 151, 0.3), 0 12px 28px rgba(255, 92, 141, 0.1);
}

/* Optionale Anpassung: Entfernt den blauen Fokusrahmen */
.select2-container--default .select2-selection--single:focus {
  border-color: #FF5C8D;
  outline: none;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
  color: white;
}

select {
  -webkit-appearance: none;
  appearance: none;
  background: none; /* oder setze hier deinen gewünschten Hintergrund */
  box-shadow: none;
  width: 100%;
}

select::-webkit-inner-spin-button,
select::-webkit-clear-button {
  -webkit-appearance: none;
}

.container {
  position: relative;
}
.container.black-mode {
  background-color: #000;
}

/* Styling für den Optionsblock (Kontrollkästchen) */
#optionControls {
  position: absolute;
  top: 10px;
  right: 10px;
  width: min(190px, calc(100vw - 28px));
  min-width: 0;
  background: black;
  padding: 14px 16px;
  border-radius: 8px;
  color: #fff;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  z-index: 20010 !important;
  text-align: left;
}

#burgerMenu {
  z-index: 20020 !important;
}

/* Label im Optionsblock */
#optionControls label {
  display: block;
  margin-bottom: 8px;
  font-size: 1.6rem;
}

#optionControls .voice-select-group {
  margin-top: 12px;
}

#optionControls .option-link-button {
  margin-top: 9px;
  width: 100%;
  height: auto;
  min-height: 38px;
  font-size: 1.22rem;
  line-height: 1.25;
  text-transform: none;
  border-radius: 9px;
  background: rgba(10, 18, 34, 0.9) !important;
  border: 2px solid rgba(18, 207, 208, 0.75) !important;
  box-shadow: none !important;
  transform: none !important;
}

#optionControls .option-link-button:hover,
#optionControls .option-link-button:focus {
  background: rgba(16, 30, 52, 0.95) !important;
  border-color: rgba(18, 207, 208, 0.95) !important;
  box-shadow: none !important;
  transform: none !important;
}

#optionControls.export-submenu-open > :not(#setlistExportSubmenu) {
  display: none !important;
}

#optionControls .option-submenu {
  display: grid;
  gap: 8px;
}

#optionControls .option-submenu[hidden] {
  display: none !important;
}

#optionControls .option-submenu .option-link-button {
  margin-top: 0;
}

#optionControls .option-submenu-back {
  appearance: none;
  -webkit-appearance: none;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 3px 0;
  border: 0;
  background: none !important;
  box-shadow: none !important;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  text-align: left;
  text-transform: none;
  cursor: pointer;
}

#optionControls .option-submenu-title {
  color: #fff;
  font-size: 1.45rem;
  line-height: 1.2;
  margin-bottom: 2px;
}

#optionControls .option-status-text {
  margin-top: 10px;
  color: #f7f9ff;
  font-family: 'Raleway', sans-serif;
  font-size: 1.24rem;
  line-height: 1.45;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

#optionControls .option-status-text[data-tone="error"] {
  color: #ffd3dc;
  background: rgba(255, 111, 163, 0.18);
  border-color: rgba(255, 111, 163, 0.34);
}

#optionControls .option-status-text[data-tone="success"] {
  color: #d8fff0;
  background: rgba(18, 207, 208, 0.18);
  border-color: rgba(18, 207, 208, 0.34);
}

#defaultVoiceSelect {
  width: 100%;
  margin-top: 6px;
  padding: 8px 12px;
  border: 2px solid #FF5C8D;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.4rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#defaultVoiceSelect:focus {
  border-color: #00D9D5;
  box-shadow: 0 0 5px rgba(0, 217, 213, 0.5);
  outline: none;
}

/* Eigene Gestaltung der Checkbox:
   Die native Checkbox wird mithilfe von appearance entfernt,
   und durch ein selbst gestyltes Kästchen ersetzt. */
#optionControls input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border: 2px solid #00D9D5;
  border-radius: 3px;
  width: 1.5em;
  height: 1.5em;
  margin-right: 6px;
  vertical-align: middle;
  cursor: pointer;
  position: relative;
}

/* Wenn die Checkbox aktiviert ist, wird sie mit Türkis hinterlegt und zeigt einen Haken */
#optionControls input[type="checkbox"]:checked {
  background-color: #00D9D5;
}

#optionControls input[type="checkbox"]:checked::after {
  content: "\2713";
  color: #fff;
  font-size: 1.2em;
  position: absolute;
  top: -2px;
  left: 3px;
}

.setlist-print-dialog {
  width: min(560px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid rgba(18, 207, 208, 0.45);
  border-radius: 12px;
  background: #09111f;
  color: #fff;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.setlist-print-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.setlist-print-form {
  padding: 20px;
}

.setlist-print-dialog-head,
.setlist-print-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.setlist-print-dialog h2 {
  margin: 0;
  color: #fff;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: 2.4rem;
  line-height: 1.05;
}

.setlist-print-close {
  width: 42px;
  min-width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  line-height: 38px;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: none !important;
}

.setlist-print-dialog fieldset {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
}

.setlist-print-dialog legend {
  padding: 0 8px;
  color: #12cfd0;
  font-weight: 800;
}

.setlist-print-dialog label {
  display: block;
  margin: 9px 0;
  color: #f8fbff;
  font-size: 1.45rem;
  line-height: 1.35;
}

.setlist-print-dialog input[type="checkbox"],
.setlist-print-dialog input[type="radio"] {
  margin-right: 8px;
}

.setlist-print-dialog .gema-singer-count-input {
  display: block;
  width: 100%;
  max-width: 180px;
  box-sizing: border-box;
  margin-top: 6px;
  padding: 0 12px;
  min-height: 44px;
  color: #fff;
  background: #020814;
  border: 2px solid rgba(18, 207, 208, 0.6);
  border-radius: 8px;
}

.setlist-print-break-options {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#setlistPrintBreakAfter {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  color: #fff;
  background: #020814;
  border: 2px solid rgba(18, 207, 208, 0.6);
  border-radius: 8px;
}

.setlist-print-radio-group {
  margin-top: 12px;
}

.setlist-print-radio-group[hidden] {
  display: none;
}

.setlist-print-actions {
  margin-top: 20px;
}

.setlist-print-actions .button {
  width: auto;
  flex: 1 1 0;
}

@media (max-width: 520px) {
  .setlist-print-dialog h2 {
    font-size: 2rem;
  }

  .setlist-print-actions {
    flex-direction: column-reverse;
  }

  .setlist-print-actions .button {
    width: 100%;
  }
}

/* Responsive Anpassungen für kleine Bildschirme */
@media screen and (max-width: 600px) {
  #optionControls {
    top: 5px;
    right: 5px;
    width: min(184px, calc(100vw - 18px));
    min-width: 0;
    padding: 8px 10px;
  }
  #optionControls label {
    font-size: 1.4rem;
  }
  #optionControls input[type="checkbox"] {
    width: 1.3em;
    height: 1.3em;
  }
  #defaultVoiceSelect {
    font-size: 1.2rem;
    padding: 6px 10px;
  }
  .playlist-stats-panel {
    padding: 10px;
  }
  .playlist-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .playlist-stats-item {
    padding: 9px 10px;
  }
  .playlist-stats-label {
    margin-bottom: 4px;
    font-size: 0.74rem;
  }
  .playlist-stats-value {
    white-space: normal;
    font-size: 1rem;
    line-height: 1.2;
  }
}

@media screen and (max-width: 420px) {
  .playlist-stats-panel {
    padding: 9px;
    border-radius: 14px;
  }
  .playlist-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }
  .playlist-stats-item {
    padding: 8px 9px;
    border-radius: 10px;
  }
  .playlist-stats-label {
    font-size: 0.7rem;
    letter-spacing: 0.02em;
  }
  .playlist-stats-value {
    font-size: 0.96rem;
  }
}

.playlist-stats-panel {
  margin-top: 16px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 15px;
  background:
    linear-gradient(135deg, rgba(18, 217, 213, 0.16), rgba(255, 92, 141, 0.12)),
    rgba(6, 12, 22, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(12px);
}

.playlist-stats-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

@media screen and (max-width: 1180px) {
  .playlist-stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.playlist-stats-item {
  min-width: 0;
  padding: 10px 12px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.playlist-stats-label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.playlist-stats-value {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 1.12rem;
  color: #fff;
}

.playlist-stats-value--average {
  color: #b8fff4;
}

.playlist-stats-value--rank {
  color: #fff2bf;
}

.playlist-stats-value--inactive {
  color: rgba(255, 255, 255, 0.72);
}

.playlist-stats-value--song {
  color: #ffd8e3;
}

.playlist-stats-meta {
  margin-top: 10px;
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.62);
  text-align: right;
}

.playlist-stats-empty {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

#burgerActionRow {
display: flex;
align-items: center;
gap: 8px;
margin-top: 10px;
}

#microsoftLogoutSymbolButton {
font-size: 2rem;
padding: 0 6px;
border: none;
background: none;
background-color: transparent;
box-shadow: none;
color: white;
cursor: pointer;
line-height: 1;
appearance: none;
-webkit-appearance: none;
transition: transform 0.2s ease, color 0.2s ease;
display: inline-flex;
align-items: center;
justify-content: center;
vertical-align: middle;
margin-left: 0;
}

#microsoftLogoutSymbolButton:hover {
  transform: scale(1.08);
  color: #FF5C8D;
}

body.ticket-sales-dialog-open {
  overflow: hidden;
}

.ticket-sales-dialog[hidden] {
  display: none !important;
}

.ticket-sales-dialog {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: 18px;
  color: #182230;
  font-family: "Raleway", "Montserrat", sans-serif;
}

.ticket-sales-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(6px);
}

.ticket-sales-dialog__panel {
  position: relative;
  width: min(780px, 100%);
  max-height: min(760px, 88vh);
  overflow: auto;
  background: #f7f9fc;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55);
}

.ticket-sales-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 22px 16px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(18, 207, 208, 0.18), rgba(255, 92, 141, 0.18)),
    #101826;
}

.ticket-sales-dialog__header h2 {
  margin: 0;
  color: #fff;
  font-family: "Mudstone Sans", "Montserrat", sans-serif;
  font-size: 2.45rem;
  line-height: 1.08;
  letter-spacing: 0;
}

.ticket-sales-dialog__meta {
  min-height: 1.3em;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.05rem;
}

.ticket-sales-dialog__close {
  appearance: none;
  -webkit-appearance: none;
  width: 42px;
  min-width: 42px;
  height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  box-shadow: none;
  font-size: 2rem;
  line-height: 38px;
  cursor: pointer;
}

.ticket-sales-dialog__body {
  padding: 18px 22px 22px;
}

.ticket-sales-loading,
.ticket-sales-error,
.ticket-sales-warning {
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  color: #182230;
  font-size: 1.12rem;
  line-height: 1.45;
}

.ticket-sales-warning {
  margin-bottom: 14px;
  border-color: #ffd58a;
  background: #fff8e6;
}

.ticket-sales-error strong {
  display: block;
  margin-bottom: 6px;
  color: #101826;
}

.ticket-sales-error p {
  margin: 0 0 14px;
}

.ticket-sales-events {
  display: grid;
  gap: 14px;
}

.ticket-sales-event {
  border: 1px solid #d8e0ea;
  border-left: 5px solid #12cfd0;
  border-radius: 8px;
  background: #fff;
  padding: 16px;
  box-shadow: 0 12px 28px rgba(16, 24, 38, 0.08);
}

.ticket-sales-event--standing {
  border-left-color: #ff5c8d;
}

.ticket-sales-event__head,
.ticket-sales-row__label,
.ticket-sales-event__numbers,
.ticket-sales-row__numbers {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ticket-sales-event__head h3 {
  margin: 0;
  color: #101826;
  font-family: "Mudstone Sans", "Montserrat", sans-serif;
  font-size: 1.8rem;
  line-height: 1.12;
  letter-spacing: 0;
}

.ticket-sales-event__head p {
  margin: 4px 0 0;
  color: #667085;
  font-size: 1.05rem;
}

.ticket-sales-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #e9fbfb;
  color: #047c82;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.ticket-sales-event--standing .ticket-sales-pill {
  background: #fff0f5;
  color: #b42355;
}

.ticket-sales-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.ticket-sales-metric {
  min-width: 0;
  border-radius: 6px;
  background: #f1f5f9;
  padding: 10px 12px;
}

.ticket-sales-metric span {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ticket-sales-metric strong {
  display: block;
  color: #101826;
  font-size: 1.75rem;
  line-height: 1.05;
  white-space: nowrap;
}

.ticket-sales-progress {
  height: 12px;
  margin: 12px 0 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #e4eaf2;
}

.ticket-sales-progress span {
  display: block;
  width: var(--ticket-sales-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #12cfd0, #ff5c8d);
}

.ticket-sales-event__numbers,
.ticket-sales-row__numbers,
.ticket-sales-note {
  color: #667085;
  font-size: 1rem;
}

.ticket-sales-categories {
  display: grid;
  gap: 0;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid #e4eaf2;
}

.ticket-sales-categories h4 {
  margin: 0 0 4px;
  color: #334155;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ticket-sales-row {
  min-width: 0;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f6;
}

.ticket-sales-row:last-child {
  border-bottom: 0;
}

.ticket-sales-row__label span {
  color: #101826;
  font-weight: 800;
  font-size: 1.16rem;
}

.ticket-sales-row__label strong {
  color: #334155;
  white-space: nowrap;
  font-size: 1.12rem;
}

.ticket-sales-note {
  margin: 12px 0 0;
}

.ticket-sales-dialog .option-link-button {
  width: 100%;
  min-height: 40px;
  margin: 16px 0 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.25;
  text-transform: none;
  border-radius: 8px;
  color: #101826 !important;
  background: #fff !important;
  border: 2px solid #12cfd0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.ticket-sales-dialog .option-link-button:hover,
.ticket-sales-dialog .option-link-button:focus {
  background: #e9fbfb !important;
  border-color: #0aa7aa !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 560px) {
  .ticket-sales-dialog {
    padding: 10px;
  }

  .ticket-sales-dialog__panel {
    max-height: 92vh;
  }

  .ticket-sales-dialog__header {
    padding: 16px 16px 10px;
  }

  .ticket-sales-dialog__header h2 {
    font-size: 2rem;
  }

  .ticket-sales-dialog__body {
    padding: 14px 16px 16px;
  }

  .ticket-sales-event__head,
  .ticket-sales-row__label,
  .ticket-sales-event__numbers,
  .ticket-sales-row__numbers {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .ticket-sales-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ticket-sales-metric {
    padding: 8px;
  }

  .ticket-sales-metric span {
    font-size: 0.74rem;
  }

  .ticket-sales-metric strong {
    font-size: 1.32rem;
  }

  .ticket-sales-event__head strong,
  .ticket-sales-row__label strong {
    white-space: normal;
  }
}

.ticket-sales-dialog {
  color: #172033;
}

.ticket-sales-dialog__backdrop {
  background: rgba(15, 23, 42, 0.66);
  backdrop-filter: blur(4px);
}

.ticket-sales-dialog__panel {
  width: min(980px, 100%);
  max-height: min(780px, 90vh);
  background: #f5f7fb;
  border: 1px solid #d7dee9;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.42);
}

.ticket-sales-dialog__header {
  align-items: center;
  padding: 22px 26px 18px;
  color: #172033;
  background: #fff;
  border-bottom: 1px solid #d7dee9;
}

.ticket-sales-dialog__header h2 {
  color: #172033;
  font-size: 2.65rem;
}

.ticket-sales-dialog__meta {
  color: #5d6b7e;
  font-size: 1.18rem;
}

.ticket-sales-dialog__close {
  border-color: #c8d1df;
  background: #fff;
  color: #172033;
}

.ticket-sales-dialog__close:hover,
.ticket-sales-dialog__close:focus {
  border-color: #8d99aa;
  background: #f2f5f9;
}

.ticket-sales-dialog__body {
  padding: 22px 26px 26px;
}

.ticket-sales-loading,
.ticket-sales-error,
.ticket-sales-warning {
  padding: 20px;
  font-size: 1.32rem;
}

.ticket-sales-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.ticket-sales-card {
  --ticket-sales-accent: #0f6f75;
  position: relative;
  min-width: 0;
  min-height: 390px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #172033;
  cursor: pointer;
  perspective: 1200px;
}

.ticket-sales-card--standing {
  --ticket-sales-accent: #9f1d43;
}

.ticket-sales-card:focus {
  outline: 0;
}

.ticket-sales-card:focus-visible .ticket-sales-card__face {
  border-color: var(--ticket-sales-accent);
  box-shadow: 0 0 0 4px rgba(15, 111, 117, 0.14), 0 14px 34px rgba(15, 23, 42, 0.12);
}

.ticket-sales-card--standing:focus-visible .ticket-sales-card__face {
  box-shadow: 0 0 0 4px rgba(159, 29, 67, 0.14), 0 14px 34px rgba(15, 23, 42, 0.12);
}

.ticket-sales-card__inner {
  position: relative;
  min-height: 390px;
  transform-style: preserve-3d;
  transition: transform 0.42s ease;
}

.ticket-sales-card.is-flipped .ticket-sales-card__inner {
  transform: rotateY(180deg);
}

.ticket-sales-card__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border: 1px solid #d7dee9;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.10);
}

.ticket-sales-card__front {
  justify-content: center;
  padding: 28px;
}

.ticket-sales-card__back {
  padding: 22px;
  transform: rotateY(180deg);
}

.ticket-sales-card__back-scroll {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.ticket-sales-card__label {
  color: #233044;
  font-size: 2.05rem;
  font-weight: 900;
  line-height: 1.12;
}

.ticket-sales-card__count {
  display: block;
  margin: 14px 0 8px;
  color: #101826;
  font-size: 3.55rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
}

.ticket-sales-card__unit {
  color: #5d6b7e;
  font-size: 1.35rem;
  font-weight: 800;
}

.ticket-sales-card__back-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.ticket-sales-card__back-title {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  gap: 4px;
}

.ticket-sales-card__back-title span {
  color: #233044;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1.15;
}

.ticket-sales-card__back-title strong {
  color: #101826;
  font-size: 1.18rem;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.ticket-sales-fullscreen-button {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  min-width: 42px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #172033;
  box-shadow: none;
  font-family: "Raleway", "Montserrat", sans-serif;
  font-size: 1.85rem;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.ticket-sales-fullscreen-button__icon {
  display: block;
  line-height: 1;
  transform: translateY(-1px);
}

.ticket-sales-fullscreen-button:hover,
.ticket-sales-fullscreen-button:focus {
  color: var(--ticket-sales-accent, #0f6f75);
  background: transparent;
  outline: 0;
}

.ticket-sales-fullscreen-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(15, 111, 117, 0.14);
}

.ticket-sales-progress {
  height: 16px;
  margin: 16px 0 12px;
  background: #e2e8f1;
}

.ticket-sales-progress span {
  background: var(--ticket-sales-accent, #0f6f75);
}

.ticket-sales-categories {
  gap: 0;
  margin-top: 4px;
  padding-top: 12px;
}

.ticket-sales-categories h4,
.ticket-sales-chart h4 {
  margin: 0 0 10px;
  color: #233044;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: none;
}

.ticket-sales-row {
  padding: 11px 0;
}

.ticket-sales-row__label,
.ticket-sales-row__numbers,
.ticket-sales-detail-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ticket-sales-row__label span,
.ticket-sales-detail-line span {
  color: #172033;
  font-size: 1.2rem;
  font-weight: 850;
}

.ticket-sales-row__label strong,
.ticket-sales-detail-line strong {
  color: #233044;
  font-size: 1.2rem;
  font-weight: 900;
  white-space: nowrap;
}

.ticket-sales-row__numbers,
.ticket-sales-note {
  color: #5d6b7e;
  font-size: 1.08rem;
  font-weight: 750;
}

.ticket-sales-detail-list {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid #e1e7f0;
}

.ticket-sales-note {
  margin: 12px 0 0;
}

.ticket-sales-period-controls {
  display: none;
  column-gap: 24px;
  row-gap: 10px;
  align-items: center;
  justify-content: center;
  width: min(100%, 660px);
  margin: 22px auto 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ticket-sales-period-controls__title {
  color: #233044;
  font-size: 1.28rem;
  font-weight: 900;
  line-height: 1.2;
}

.ticket-sales-period-controls label {
  display: flex;
  align-items: baseline;
  justify-content: center;
  min-width: 0;
  gap: 10px;
  color: #5d6b7e;
  font-size: 1.02rem;
  font-weight: 900;
  text-transform: uppercase;
  text-align: left;
}

.ticket-sales-period-controls input[type="date"] {
  width: 176px;
  min-height: 38px;
  margin: 0;
  padding: 4px 0 6px;
  border: 0;
  border-bottom: 1px solid #b6c0d0;
  border-radius: 0;
  background: transparent;
  color: #172033;
  font-family: "Raleway", "Montserrat", sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  box-shadow: none;
}

.ticket-sales-period-controls input[type="date"]:focus {
  outline: 0;
  border-color: var(--ticket-sales-accent, #0f6f75);
  box-shadow: none;
}

.ticket-sales-period-controls input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  opacity: 0.66;
  margin-left: 2px;
}

.ticket-sales-chart {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e1e7f0;
}

.ticket-sales-chart--empty {
  color: #5d6b7e;
  font-size: 1.12rem;
  font-weight: 800;
}

.ticket-sales-chart svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  border-radius: 8px;
}

.ticket-sales-chart__grid line {
  stroke: #e3e8f0;
  stroke-width: 1;
}

.ticket-sales-chart__grid text,
.ticket-sales-chart__labels text {
  fill: #5d6b7e;
  font-family: "Raleway", "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 700;
}

.ticket-sales-chart__grid text {
  text-anchor: end;
}

.ticket-sales-chart__labels text {
  text-anchor: middle;
}

.ticket-sales-chart__line {
  fill: none;
  stroke: var(--ticket-sales-accent, #0f6f75);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.ticket-sales-chart__points circle {
  fill: #fff;
  stroke: var(--ticket-sales-accent, #0f6f75);
  stroke-width: 2.1;
}

.ticket-sales-chart__point {
  outline: none;
}

.ticket-sales-chart__point.is-active circle,
.ticket-sales-chart__point:focus-visible circle {
  fill: var(--ticket-sales-accent, #0f6f75);
  stroke-width: 2.4;
}

.ticket-sales-chart__tooltip {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease;
}

.ticket-sales-chart__point.is-active .ticket-sales-chart__tooltip,
.ticket-sales-chart__point:focus-visible .ticket-sales-chart__tooltip {
  opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
  .ticket-sales-chart__point:hover circle {
    fill: var(--ticket-sales-accent, #0f6f75);
    stroke-width: 2.4;
  }

  .ticket-sales-chart__point:hover .ticket-sales-chart__tooltip {
    opacity: 1;
  }
}

.ticket-sales-chart__tooltip rect {
  fill: #172033;
  stroke: rgba(255, 255, 255, 0.72);
  stroke-width: 1;
}

.ticket-sales-chart__tooltip text {
  fill: #fff;
  font-family: "Raleway", "Montserrat", sans-serif;
  font-size: 11px;
  font-weight: 850;
}

.ticket-sales-dialog .option-link-button {
  min-height: 46px;
  margin-top: 18px;
  font-size: 1.18rem;
  color: #172033 !important;
  border-color: #9aa7ba !important;
}

.ticket-sales-dialog .option-link-button:hover,
.ticket-sales-dialog .option-link-button:focus {
  background: #edf2f8 !important;
  border-color: #637084 !important;
}

.ticket-sales-dialog--card-fullscreen .ticket-sales-card:not(.is-fullscreen) {
  display: none;
}

.ticket-sales-card.is-fullscreen {
  position: fixed;
  inset: 22px;
  z-index: 30020;
  min-height: 0;
  cursor: default;
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__inner {
  min-height: calc(100vh - 44px);
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__face {
  box-shadow: 0 28px 90px rgba(15, 23, 42, 0.46);
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__back {
  padding: 30px;
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__back-head {
  align-items: center;
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__back-title span {
  font-size: 2.25rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__back-title strong {
  font-size: 1.55rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-fullscreen-button {
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  font-size: 2.25rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-card__back-scroll {
  padding-right: 8px;
}

.ticket-sales-card.is-fullscreen .ticket-sales-period-controls {
  display: grid;
  grid-template-columns: auto auto auto;
}

.ticket-sales-card.is-fullscreen .ticket-sales-categories,
.ticket-sales-card.is-fullscreen .ticket-sales-detail-list,
.ticket-sales-card.is-fullscreen .ticket-sales-note {
  width: min(100%, 720px);
  margin-left: auto;
  margin-right: auto;
}

.ticket-sales-card.is-fullscreen .ticket-sales-categories h4,
.ticket-sales-card.is-fullscreen .ticket-sales-chart h4 {
  font-size: 1.38rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-row__label span,
.ticket-sales-card.is-fullscreen .ticket-sales-detail-line span,
.ticket-sales-card.is-fullscreen .ticket-sales-row__label strong,
.ticket-sales-card.is-fullscreen .ticket-sales-detail-line strong {
  font-size: 1.34rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-row__numbers,
.ticket-sales-card.is-fullscreen .ticket-sales-note {
  font-size: 1.18rem;
}

.ticket-sales-card.is-fullscreen .ticket-sales-chart svg {
  max-height: 44vh;
}

@media (prefers-reduced-motion: reduce) {
  .ticket-sales-card__inner {
    transition: none;
  }
}

@media (max-width: 760px) {
  .ticket-sales-dialog__panel {
    max-height: 92vh;
  }

  .ticket-sales-dialog__header {
    padding: 18px 18px 14px;
  }

  .ticket-sales-dialog__header h2 {
    font-size: 2.25rem;
  }

  .ticket-sales-dialog__body {
    padding: 16px 18px 18px;
  }

  .ticket-sales-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ticket-sales-card,
  .ticket-sales-card__inner {
    min-height: 230px;
  }

  .ticket-sales-card__front {
    padding: 18px 14px;
  }

  .ticket-sales-card__label {
    font-size: 1.45rem;
  }

  .ticket-sales-card__count {
    font-size: 2.15rem;
    line-height: 1.05;
  }

  .ticket-sales-card__unit {
    font-size: 1.02rem;
  }

  .ticket-sales-card:not(.is-fullscreen) .ticket-sales-progress {
    height: 10px;
  }
}

@media (max-width: 460px) {
  .ticket-sales-dialog {
    padding: 8px;
  }

  .ticket-sales-dialog__header {
    align-items: flex-start;
  }

  .ticket-sales-dialog__header h2 {
    font-size: 2rem;
  }

  .ticket-sales-dialog__meta {
    font-size: 1.04rem;
  }

  .ticket-sales-card,
  .ticket-sales-card__inner {
    min-height: 210px;
  }

  .ticket-sales-card__label {
    font-size: 1.22rem;
  }

  .ticket-sales-card__count {
    font-size: 1.78rem;
  }

  .ticket-sales-card__unit {
    font-size: 0.9rem;
  }

  .ticket-sales-card__back-head {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .ticket-sales-card__back-title strong {
    white-space: normal;
  }

  .ticket-sales-fullscreen-button {
    width: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .ticket-sales-card.is-fullscreen {
    inset: 8px;
  }

  .ticket-sales-card.is-fullscreen .ticket-sales-card__inner {
    min-height: calc(100vh - 16px);
  }

  .ticket-sales-card.is-fullscreen .ticket-sales-card__back {
    padding: 18px;
  }

  .ticket-sales-card.is-fullscreen .ticket-sales-card__back-title span {
    font-size: 1.85rem;
  }

  .ticket-sales-card.is-fullscreen .ticket-sales-card__back-title strong {
    font-size: 1.22rem;
  }

  .ticket-sales-card.is-fullscreen .ticket-sales-period-controls {
    grid-template-columns: 1fr;
    width: min(100%, 330px);
  }

  .ticket-sales-period-controls label {
    justify-content: space-between;
    width: 100%;
  }

  .ticket-sales-period-controls input[type="date"] {
    width: 190px;
  }

  .ticket-sales-row__label,
  .ticket-sales-row__numbers,
  .ticket-sales-detail-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@keyframes pulseAnim {
  0% { transform: scale(1); }
  50% { transform: scale(1.6) rotate(45deg); }
  100% { transform: scale(1); }
}

@keyframes audioSpin {
  to { transform: rotate(360deg); }
}

/* Playback speed and piano toggle share sizing */
#playbackControls select#playbackSpeed {
  width: 50px;
  height: 50px;
  font-size: 1.3rem;
  border: 2px solid #FF5C8D;
  border-radius: 6px;
  background-color: black;
  color: white;
  text-align: center;
  text-align-last: center;
  padding: 0;
}

#playbackControls {
  margin: 10px 0 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
  z-index: 30;
}

/* Piano toggle next to speed selector */
#playbackControls #pianoToggle {
  width: 50px;
  height: 50px;
  font-size: 2rem;
  border: 2px solid #FF5C8D;
  border-radius: 6px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
}

#playbackControls #metronomeBpm {
  width: 60px;
  height: 50px;
  padding: 0;
  box-sizing: border-box;
  line-height: 50px;
  font-size: 1.3rem;
  border: 2px solid #FF5C8D;
  border-radius: 6px;
  background-color: black;
  color: white;
  text-align: center;
  -moz-appearance: textfield;
}

#playbackControls #pianoToggle.active {
  background-color: #ff5c8d45;
  color: black;
}

#playbackControls #metronomeBpm::-webkit-outer-spin-button,
#playbackControls #metronomeBpm::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#playbackControls #metronomeToggle {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  line-height: 50px;
  font-size: 2rem;
  border: 2px solid #FF5C8D;
  border-radius: 6px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  touch-action: manipulation;
}

#playbackControls #metronomeToggle.active {
  background-color: #ff5c8d45;
  color: black;
}

.metronome-beat-dialog[hidden] {
  display: none;
}

.metronome-beat-dialog,
.metronome-beat-dialog *,
.metronome-beat-dialog *::before,
.metronome-beat-dialog *::after {
  box-sizing: border-box;
}

.metronome-beat-dialog {
  position: fixed;
  inset: 0;
  z-index: 30000;
  display: grid;
  place-items: center;
  padding: 18px;
  max-width: 100vw;
  overflow-x: hidden;
  color: #fff;
}

body.metronome-beat-dialog-open {
  overflow: hidden;
}

.metronome-beat-dialog__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(18, 207, 208, 0.2), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 92, 141, 0.22), transparent 34%),
    rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.metronome-beat-dialog__panel {
  position: relative;
  width: min(520px, 100%);
  max-width: 100%;
  display: grid;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: #07080c;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
}

.metronome-beat-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.metronome-beat-dialog__close {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.metronome-beat-dialog__panel h2 {
  margin: 0;
  color: #fff;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0;
}

.metronome-dialog-controls {
  display: grid;
  grid-template-columns: 174px 88px auto 88px 68px;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.metronome-dialog-bpm-control,
.metronome-dialog-meter-control {
  width: 174px;
  height: 68px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.68);
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 1.12rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
  box-sizing: border-box;
}

.metronome-dialog-meter-control {
  width: 88px;
  grid-template-columns: 1fr;
  gap: 0;
  justify-items: center;
  padding: 0 8px;
}

.metronome-dialog-meter-separator {
  color: rgba(255, 255, 255, 0.62);
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 2.05rem;
  font-weight: 850;
  line-height: 1;
}

.metronome-dialog-bpm-control:focus-within,
.metronome-dialog-meter-control:focus-within {
  border-color: rgba(18, 207, 208, 0.8);
  box-shadow: 0 0 0 2px rgba(18, 207, 208, 0.16);
}

.metronome-dialog-bpm-control input,
.metronome-dialog-meter-control select {
  width: 100%;
  min-width: 0;
  height: 48px;
  border: none;
  border-radius: 0;
  outline: none;
  background: transparent;
  box-shadow: none;
  color: #fff;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  margin: 0;
  padding: 0;
  text-align: right;
  box-sizing: border-box;
  touch-action: none;
  transition: none;
}

.metronome-dialog-bpm-control input {
  -webkit-appearance: none;
  appearance: textfield;
  -moz-appearance: textfield;
}

.metronome-dialog-meter-control select {
  font-size: 1.55rem;
  text-align: center;
  text-align-last: center;
  -webkit-appearance: menulist;
  appearance: auto;
  color-scheme: dark;
  cursor: pointer;
  user-select: none;
}

.metronome-dialog-bpm-control input:focus,
.metronome-dialog-meter-control select:focus {
  border: none;
  outline: none;
  box-shadow: none;
}

.metronome-dialog-bpm-control input::-webkit-outer-spin-button,
.metronome-dialog-bpm-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.metronome-dialog-toggle {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1.8rem;
  cursor: pointer;
  touch-action: manipulation;
}

.metronome-dialog-toggle[data-running="true"] {
  border-color: #ff5c8d;
  background: rgba(255, 92, 141, 0.2);
  color: #ff8aaf;
}

.metronome-beat-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: start;
}

.metronome-beat-dialog[data-eighth-meter="true"] .metronome-beat-options {
  width: min(360px, 100%);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  justify-self: center;
}

.metronome-beat-option {
  min-height: 132px;
  border: none;
  border-radius: 0;
  background: transparent;
  color: #fff;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  touch-action: manipulation;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  padding: 8px 4px;
  box-shadow: none;
  text-transform: uppercase;
}

.metronome-beat-option[hidden] {
  display: none !important;
}

.metronome-beat-note {
  width: 92px;
  height: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 5.15rem;
  font-weight: 700;
  line-height: 1;
  text-shadow: none;
  transform-origin: center;
  transition: color 0.16s ease, transform 0.16s ease, text-shadow 0.16s ease;
}

.metronome-beat-note--shuffle {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
}

.metronome-triplet {
  position: relative;
  display: inline-grid;
  justify-items: center;
  min-width: 104px;
  padding-top: 7px;
  line-height: 1;
}

.metronome-triplet::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  right: 9px;
  height: 9px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  border-right: 2px solid currentColor;
  border-radius: 5px 5px 0 0;
  opacity: 0.9;
}

.metronome-triplet-mark {
  position: relative;
  z-index: 1;
  padding: 0 5px;
  background: #07080c;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
}

.metronome-triplet-notes {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-top: 7px;
  font-size: 3.65rem;
  line-height: 0.92;
}

.metronome-triplet-note {
  color: inherit;
  transform-origin: center;
  transition: color 0.16s ease, transform 0.16s ease, text-shadow 0.16s ease;
}

.metronome-triplet-note--sixteenth {
  --metronome-sixteenth-color: #fff;
  --metronome-sixteenth-opacity: 0.82;
  width: 0.58em;
  height: 0.98em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--metronome-sixteenth-color);
  opacity: var(--metronome-sixteenth-opacity);
  transform: translateY(-0.01em);
}

.metronome-sixteenth-note {
  position: relative;
  width: 0.72em;
  height: 1em;
  display: inline-block;
  font: inherit;
  line-height: 1;
  overflow: visible;
}

.metronome-sixteenth-note__base,
.metronome-sixteenth-note__flag {
  position: absolute;
  left: 0;
  bottom: 0;
  color: inherit;
  font: inherit;
  line-height: 1;
}

.metronome-sixteenth-note__flag {
  bottom: -0.17em;
  clip-path: polygon(48% 0, 100% 0, 100% 58%, 48% 58%);
}

.metronome-beat-option:hover .metronome-triplet-note--sixteenth {
  --metronome-sixteenth-color: #12cfd0;
  --metronome-sixteenth-opacity: 1;
}

.metronome-beat-option[data-active="true"] .metronome-triplet-note--sixteenth {
  --metronome-sixteenth-color: #fff;
  --metronome-sixteenth-opacity: 0.96;
}

.metronome-beat-dialog[data-running="true"] .metronome-beat-option[data-active="true"] .metronome-triplet-note--sixteenth {
  --metronome-sixteenth-color: #ff5c8d;
  --metronome-sixteenth-opacity: 1;
}

.metronome-beat-label {
  color: rgba(255, 255, 255, 0.66);
  font-size: 1rem;
  letter-spacing: 0;
  transition: color 0.16s ease;
}

.metronome-beat-option:hover {
  background: transparent;
}

.metronome-beat-dialog__close:hover,
.metronome-dialog-toggle:hover {
  background: rgba(255, 255, 255, 0.11);
}

.metronome-beat-option:hover .metronome-beat-note {
  color: #12cfd0;
  transform: translateY(-1px);
}

.metronome-beat-option[data-active="true"] {
  background: transparent;
  color: #fff;
}

.metronome-beat-option[data-active="true"] .metronome-beat-note {
  color: rgba(255, 255, 255, 0.96);
  transform: none;
  text-shadow: none;
}

.metronome-beat-option[data-active="true"] .metronome-beat-label {
  color: #12cfd0;
}

.metronome-beat-dialog[data-running="true"] .metronome-beat-option[data-active="true"] .metronome-beat-note {
  color: #ff5c8d;
  transform: scale(1.08);
  text-shadow:
    0 0 18px rgba(255, 92, 141, 0.58),
    0 0 30px rgba(18, 207, 208, 0.28);
}

.metronome-accent-control {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 0.98rem;
  font-weight: 800;
  text-transform: uppercase;
}

.metronome-accent-control input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #ff5c8d;
}

.metronome-tap-button {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  border: 1px solid rgba(18, 207, 208, 0.45);
  border-radius: 8px;
  background: rgba(18, 207, 208, 0.08);
  color: #fff;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-weight: 800;
  cursor: pointer;
  touch-action: manipulation;
  text-align: left;
}

.metronome-tap-button span {
  padding-left: 14px;
  font-size: 1.12rem;
}

.metronome-tap-button strong {
  min-width: 54px;
  padding-right: 14px;
  color: #ff5c8d;
  font-family: "Montserrat", "Raleway", sans-serif;
  font-size: 2rem;
  font-weight: 850;
  line-height: 1;
  text-align: right;
}

@media (max-width: 640px) {
  .metronome-beat-dialog {
    place-items: stretch;
    padding: 0;
    overflow: hidden;
  }

  .metronome-beat-dialog__panel {
    width: 100%;
    max-width: 100vw;
    max-width: 100dvw;
    min-height: 100vh;
    height: 100vh;
    max-height: 100vh;
    min-height: 100svh;
    height: 100svh;
    max-height: 100svh;
    border: none;
    border-radius: 0;
    padding:
      calc(10px + env(safe-area-inset-top, 0px))
      16px
      calc(12px + env(safe-area-inset-bottom, 0px));
    align-content: center;
    align-content: safe center;
    gap: clamp(10px, 2.4vh, 20px);
    overflow-x: hidden;
    overflow-y: auto;
    background:
      radial-gradient(circle at 18% 8%, rgba(18, 207, 208, 0.2), transparent 30%),
      radial-gradient(circle at 88% 92%, rgba(255, 92, 141, 0.22), transparent 32%),
      #05060a;
    box-shadow: none;
  }

  .metronome-beat-dialog__backdrop {
    background: #05060a;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .metronome-beat-dialog__header {
    align-items: center;
  }

  .metronome-beat-dialog__panel h2 {
    font-size: clamp(2.1rem, 9vw, 3.15rem);
  }

  .metronome-beat-dialog__close {
    width: 40px;
    height: 40px;
    font-size: 1.45rem;
  }

  .metronome-dialog-controls {
    gap: 12px;
    justify-content: stretch;
    grid-template-columns: minmax(0, 1fr) minmax(64px, 0.62fr) auto minmax(64px, 0.62fr) 62px;
  }

  .metronome-dialog-bpm-control,
  .metronome-dialog-meter-control {
    width: auto;
    min-width: 0;
    height: 62px;
  }

  .metronome-dialog-bpm-control input,
  .metronome-dialog-meter-control select {
    height: 46px;
    font-size: 1.9rem;
  }

  .metronome-dialog-meter-control {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .metronome-dialog-meter-separator {
    font-size: 1.65rem;
  }

  .metronome-dialog-meter-control select {
    font-size: 1.55rem;
  }

  .metronome-dialog-meter-control select {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    color: #fff;
    -webkit-text-fill-color: #fff;
    padding: 0;
    text-align: center;
    text-align-last: center;
  }

  .metronome-dialog-toggle {
    width: 62px;
    height: 62px;
    flex-basis: 62px;
    font-size: 1.45rem;
  }

  .metronome-beat-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 4px;
  }

  .metronome-beat-dialog[data-eighth-meter="true"] .metronome-beat-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metronome-beat-option {
    min-height: clamp(92px, 21vh, 132px);
    gap: 7px;
    padding: 4px 0;
  }

  .metronome-beat-note {
    width: clamp(62px, 19vw, 88px);
    height: clamp(62px, 19vw, 88px);
    font-size: clamp(3.85rem, 16vw, 5.65rem);
  }

  .metronome-beat-note--shuffle {
    font-size: 1rem;
  }

  .metronome-triplet {
    min-width: clamp(66px, 21vw, 92px);
  }

  .metronome-triplet-mark {
    background: #05060a;
    font-size: 0.72rem;
  }

  .metronome-triplet-notes {
    gap: 2px;
    font-size: clamp(2.65rem, 10.7vw, 4.1rem);
  }

  .metronome-beat-label {
    font-size: 0.82rem;
  }

  .metronome-tap-button {
    min-height: 58px;
    margin-top: 0;
    font-size: 0.95rem;
  }

  .metronome-tap-button strong {
    font-size: 1.85rem;
  }
}

@media (max-width: 370px) {
  .metronome-beat-option {
    min-height: 88px;
  }

  .metronome-beat-note {
    width: 58px;
    height: 58px;
    font-size: 3.05rem;
  }

  .metronome-triplet-notes {
    font-size: 2.2rem;
  }
}

#playbackControls #driverToggle {
  width: 50px;
  height: 50px;
  box-sizing: border-box;
  line-height: 50px;
  font-size: 1.8rem;
  border: 2px solid #FF5C8D;
  border-radius: 6px;
  background-color: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

#playbackControls #driverToggle.active {
  background-color: #ff5c8d45;
  color: black;
}

#driverOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  z-index: 9999;
  color: white;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
  padding:
    max(16px, env(safe-area-inset-top, 0px))
    clamp(16px, 3vw, 32px)
    calc(20px + env(safe-area-inset-bottom, 0px));
}

#driverTitleRow {
  width: min(100%, 1040px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: clamp(72px, 11vw, 132px) minmax(0, 1fr) clamp(72px, 11vw, 132px);
  align-items: center;
  gap: clamp(12px, 2.5vw, 28px);
  flex: 1 1 auto;
}

#driverOverlay,
#driverOverlay button {
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
}

#driverSongTitle {
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: clamp(3.4rem, 5vw, 5rem);
  text-align: center;
  margin: 0;
  width: 100%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 0 24px;
  min-width: 0;
}

#driverTimelineRow {
  width: 100%;
  margin: 0 auto;
  position: relative;
  display: block;
  box-sizing: border-box;
  margin-bottom: clamp(22px, 3vh, 36px);
}

#driverTimeline {
  --driver-timeline-progress: 0%;
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  height: 30px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  background: linear-gradient(
    to right,
    #fff 0%,
    #fff var(--driver-timeline-progress),
    rgba(255, 255, 255, 0.28) var(--driver-timeline-progress),
    rgba(255, 255, 255, 0.28) 100%
  );
}

#driverTimeline:disabled {
  opacity: 0.45;
  cursor: default;
}

#driverTimeline::-webkit-slider-runnable-track {
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

#driverTimeline::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 38px;
  height: 30px;
  margin-top: -10px;
  border-radius: 50%;
  border: none;
  background: transparent;
  box-shadow: none;
}

#driverTimeline::-moz-range-track {
  height: 10px;
  border-radius: 999px;
  background: transparent;
}

#driverTimeline::-moz-range-progress {
  height: 10px;
  border-radius: 999px;
  background: #fff;
}

#driverTimeline::-moz-range-thumb {
  width: 38px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: transparent;
  box-shadow: none;
}

#driverTime {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 8ch;
  text-align: center;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
  mix-blend-mode: difference;
  pointer-events: none;
  z-index: 1;
}

#driverBack {
  background: none;
  border: none;
  color: white;
  font-size: clamp(2.8rem, 6.2vw, 5.4rem);
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  line-height: 1;
  margin: 0;
  align-self: flex-start;
}

#driverOverlay button:hover,
#driverOverlay button:focus {
  background: none;
  color: white;
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

#driverBack:active {
  background: white;
  color: black;
}

#driverBottomPanel {
  width: min(100%, 960px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vh, 28px);
}

#driverAudioTracks {
  display: none;
  margin-bottom: 0;
  font-size: clamp(2.1rem, 4.2vw, 4.8rem);
  font-family: "Raleway", "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  background: black;
  color: white;
  border: 2px solid white;
  padding: 12px 18px;
  line-height: 1.5;
  min-height: 68px;
  box-sizing: border-box;
  width: 100%;
  max-width: 960px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#driverOptions {
  display: flex;
  gap: clamp(20px, 5vw, 56px);
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.8vw, 5.8rem);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  min-height: 2.5em;
}

#driverOptions label {
  display: flex;
  align-items: center;
  gap: 2vw;
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  color: white;
  letter-spacing: 0.05em;
}

#driverOptions input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 6vw;
  height: 6vw;
  border: 3px solid #FF5C8D;
  border-radius: 10px;
  background: transparent;
  position: relative;
  box-shadow: 0 0 0 2px black inset;
  transition: background 0.2s ease, border-color 0.2s ease;
}

#driverOptions input[type="checkbox"]:checked {
  background: rgba(255, 92, 141, 0.25);
}

#driverOptions input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 4vw;
  color: white;
}

#driverOptions input[type="checkbox"]:focus-visible {
  outline: 3px solid #FF5C8D;
  outline-offset: 4px;
}

#driverButtons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3vw, 42px);
  width: 100%;
  min-height: clamp(96px, 18vh, 180px);
}

#driverTitleRow .driverButton,
#driverButtons .driverButton {
  background: none;
  color: white;
  border: none;
  padding: 0 12px;
  line-height: 1;
  box-shadow: none;
  transform: none;
}

#driverBack:hover,
#driverBack:focus,
#driverBack:active,
#driverTitleRow .driverButton:hover,
#driverTitleRow .driverButton:focus,
#driverTitleRow .driverButton:active,
#driverButtons .driverButton:hover,
#driverButtons .driverButton:focus,
#driverButtons .driverButton:active {
  background: none !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
  transform: none !important;
  outline: none;
}

#driverTitleRow .driverButton {
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: clamp(4.6rem, 9vw, 9rem);
}

#driverButtons .driverButton {
  font-size: clamp(5.8rem, 12vw, 13rem);
}

#driverButtons .driverButton--play {
  font-size: clamp(5.8rem, 12vw, 13rem);
}

#driverButtons .driverButton--seek {
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 1rem;
}

.driver-seek-glyph {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.04em;
  color: currentColor;
  line-height: 1;
}

.driver-seek-glyph-arrow {
  font-size: clamp(3rem, 5.6vw, 4.8rem);
}

.driver-seek-glyph-number {
  font-family: "Mudstone Sans", "Montserrat", "Raleway", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

#driverButtons .driverButton:active {
  background: white;
  color: black;
}

@media (orientation: landscape) {
  #driverTitleRow {
    grid-template-columns: clamp(70px, 10vh, 118px) minmax(0, 1fr) clamp(70px, 10vh, 118px);
  }
  #driverSongTitle {
    font-size: clamp(3.6rem, 8vh, 8rem);
    padding-bottom: 18px;
  }
  #driverTimelineRow {
    width: 100%;
  }
  #driverTime {
    font-size: clamp(1.3rem, 2.5vh, 1.9rem);
  }
  #driverBack {
    font-size: clamp(3.8rem, 9vh, 9rem);
  }
  #driverAudioTracks {
    font-size: clamp(2.1rem, 4.6vh, 4.6rem);
    padding: 1.2vh 2vh;
    line-height: 1.5;
    box-sizing: border-box;
  }
  #driverOptions {
    gap: clamp(18px, 5vh, 48px);
    font-size: clamp(2.1rem, 5.4vh, 5.2rem);
    justify-content: center;
  }
  #driverOptions label {
    gap: 1.5vh;
  }
  #driverOptions input[type="checkbox"] {
    width: 6vh;
    height: 6vh;
  }
  #driverOptions input[type="checkbox"]:checked::after {
    font-size: 4vh;
  }
  #driverTitleRow .driverButton {
    font-size: clamp(4.8rem, 11vh, 9rem);
  }
  #driverButtons .driverButton {
    font-size: clamp(5.8rem, 14vh, 13rem);
  }
  #driverButtons .driverButton--seek {
    width: auto;
    height: auto;
  }
  .driver-seek-glyph-arrow {
    font-size: clamp(3rem, 5.8vh, 5rem);
  }
  .driver-seek-glyph-number {
    font-size: clamp(1.7rem, 3vh, 2.5rem);
  }
}

@media (min-width: 1024px) {
  #driverOverlay {
    top: 50%;
    left: 50%;
    width: min(92vw, 1180px);
    height: min(88vh, 860px);
    transform: translate(-50%, -50%);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(circle at 20% 20%, rgba(255, 111, 163, 0.12), transparent 34%),
      radial-gradient(circle at 82% 16%, rgba(18, 207, 208, 0.1), transparent 30%),
      linear-gradient(145deg, rgba(9, 13, 24, 0.98), rgba(17, 24, 42, 0.98));
    box-shadow:
      0 30px 100px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
  }

  #driverTitleRow {
    width: min(100%, 980px);
  }

  #driverTimelineRow {
    width: 100%;
  }

  #driverSongTitle {
    font-size: clamp(3.6rem, 4vw, 5.6rem);
  }

  #driverBottomPanel {
    width: min(100%, 920px);
  }

  #driverAudioTracks {
    max-width: 920px;
    font-size: clamp(1.9rem, 1.85vw, 2.9rem);
    min-height: 60px;
    padding: 10px 48px 10px 16px;
  }
}


#pianoContainer.piano {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 10px auto 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#pianoContainer .piano-controls {
  display: flex;
  width: 100%;
  justify-content: space-between;
  margin-bottom: 4px;
}

#pianoKeys {
  position: relative;
  width: 100%;
  height: 180px;
}

#pianoContainer .octave-btn {
  width: 25px;
  height: 25px;
  background: black;
  color: white;
  border: 1px solid #FF5C8D;
  border-radius: 4px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

#pianoContainer .key {
  position: absolute;
  top: 0;
  border: 1px solid #000;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  font-size: 1rem;
  box-sizing: border-box;
}

#pianoContainer .white {
  background: #fff;
  z-index: 1;
  color: #000;
  padding-bottom: 4px;
}

#pianoContainer .black {
  background: #000;
  z-index: 2;
  color: #fff;
  padding-bottom: 4px;
}

/* Prevent text selection on piano keys and disable double-tap zoom */
.piano .key {
  -webkit-touch-callout: none;
  touch-action: manipulation;
}

/* ========================================================================
   Feedback & Creator Section
   ======================================================================== */
.feedback-section {
  margin: 24px auto 0;
  color: #fff;
  width: min(760px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}


.feedback-bar {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.feedback-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 2px 4px;
  border: none;
  background: transparent;
  color: inherit;
  cursor: pointer;
  border-radius: 8px;
  transition: transform 0.2s ease, background-color 0.2s ease;
  position: relative;
  line-height: 1;
  text-transform: none;
}

.icon-button:hover,
.icon-button:focus {
  outline: none;
  transform: translateY(-1px);
  background: rgba(255, 92, 141, 0.12);
}

.icon-button:focus-visible {
  outline: 2px solid rgba(255, 92, 141, 0.6);
  outline-offset: 2px;
}

.icon-button:active {
  transform: translateY(0);
}

.icon-button .icon-login,
.icon-button .icon-logout,
.icon-button .fa-headphones {
  font-size: 1.4rem;
}

.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;
}

.feedback-bar a {
  color: #e8f2ff;
  text-decoration: none;
  font-weight: 700;
}

.feedback-bar .footer-admin-link {
  color: #e8f2ff;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}

.feedback-bar a:hover,
.feedback-bar a:focus,
.feedback-bar .footer-admin-link:hover,
.feedback-bar .footer-admin-link:focus {
  color: #fff;
  text-decoration: none;
}

.creator-note #openFohLink {
  color: #ffffff;
}

.creator-note #openFohLink:hover,
.creator-note #openFohLink:focus {
  color: #ffffff;
  text-decoration: none;
}

.error-form {
  width: 100%;
  margin: 0;
  background: rgba(8, 14, 26, 0.82);
  border: 1px solid rgba(173, 214, 255, 0.24);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  padding: 16px;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  box-sizing: border-box;
}

.error-form label {
  text-align: left;
  font-size: 1.22rem;
  font-weight: 800;
  line-height: 1.3;
  color: #eaf2ff;
}

.error-form input,
.error-form textarea {
  width: 100%;
  max-width: none;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  color: #fff;
  padding: 10px 12px;
}

.error-form input:focus,
.error-form textarea:focus {
  outline: none;
  border-color: rgba(0, 217, 213, 0.65);
  box-shadow: 0 0 0 2px rgba(0, 217, 213, 0.16);
}

.error-form textarea {
  min-height: 120px;
  resize: vertical;
}

.error-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.error-form-actions .button {
  width: auto;
  min-width: 120px;
  margin: 0;
}

.error-success {
  align-self: center;
  color: #8cf8c4 !important;
  font-size: 2.1rem;
  border: 1px solid rgba(140, 248, 196, 0.45);
  background: rgba(140, 248, 196, 0.12);
  border-radius: 999px;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.creator-note {
  font-size: 1.56rem;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 4px;
  line-height: 1.2;
}

.creator-note > * {
  flex: 0 0 auto;
}

.creator-note [aria-hidden="true"] {
  opacity: 0.86;
  font-size: 0.92em;
}

#loginButton {
  align-self: flex-end;
  margin-top: 0 !important;
}

#startLoginButton {
  width: auto !important;
  min-width: 0;
  align-self: center;
  margin: 34px auto 36px;
  padding: 0 34px;
}

@media (max-width: 640px) {
  .feedback-bar {
    padding: 0;
  }

  #startLoginButton {
    margin: 24px auto 26px;
  }

  .creator-note {
    font-size: 1.14rem;
    gap: 3px;
  }

  .creator-note [aria-hidden="true"] {
    font-size: 0.88em;
  }

  .icon-button .icon-login,
  .icon-button .icon-logout,
  .icon-button .fa-headphones {
    font-size: 1.25rem;
  }

  .error-form {
    padding: 12px;
  }

  .error-form-actions {
    flex-direction: column;
  }

  .error-form-actions .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 380px) {
  .creator-note {
    font-size: 1.03rem;
    gap: 2px;
  }

  .icon-button .icon-login,
  .icon-button .icon-logout,
  .icon-button .fa-headphones {
    font-size: 1.16rem;
  }
}
