/* Audio manager */
.audio-modal-open,
.profile-entry-open {
  overflow: hidden;
}
.audio-manager-summary {
  border-color: #8b5cf633;
  background:
    radial-gradient(circle at 90% 0, #7c3aed22, transparent 40%),
    linear-gradient(145deg, #ffffff09, #00000020);
}
.audio-summary-list {
  gap: 7px;
  margin-top: 13px;
  display: grid;
}
.audio-summary-list > span {
  background: #05060a80;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 10px;
  display: grid;
}
.audio-summary-list i {
  color: #c4b5fd;
  background: #8b5cf61f;
  border-radius: 9px;
  place-items: center;
  width: 28px;
  height: 28px;
  font-style: normal;
  display: grid;
}
.audio-summary-list b {
  color: #ffffffe6;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 0.72rem;
  overflow: hidden;
}
.audio-summary-list small {
  color: #ffffff61;
  font-size: 0.61rem;
  font-weight: 700;
}
.audio-summary-list .audio-summary-empty {
  color: #ffffff61;
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 12px;
  font-size: 0.7rem;
}
.audio-modal {
  z-index: 140;
  place-items: center;
  padding: 22px;
  display: grid;
  position: fixed;
  inset: 0;
}
.audio-modal.hidden {
  display: none;
}
.audio-modal-backdrop {
  cursor: pointer;
  background: #02030ae6;
  position: absolute;
  inset: 0;
  backdrop-filter: blur(14px);
}
.audio-modal-card {
  background: linear-gradient(155deg, #151722, #090a0f 68%);
  border: 1px solid #ffffff1f;
  border-radius: 27px;
  width: min(860px, 100%);
  height: min(900px, calc(100dvh - 44px));
  max-height: calc(100dvh - 44px);
  box-shadow:
    0 35px 110px #000c,
    0 0 0 1px #7c3aed14;
  position: relative;
  grid-template-rows: auto minmax(0, 1fr) auto;
  display: grid;
  overflow: hidden;
  animation: audioModalIn 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes audioModalIn {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.audio-modal-card > header {
  border-bottom: 1px solid #ffffff12;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 22px 24px 18px;
  display: flex;
}
.audio-modal-card > header h2 {
  margin-top: 4px;
  font:
    800 clamp(1.3rem, 2vw, 1.65rem) / 1.15 Sora,
    sans-serif;
}
.audio-modal-card > header p {
  color: #ffffff70;
  margin-top: 5px;
  font-size: 0.76rem;
}
.audio-modal-card > header > button {
  color: #ffffff80;
  cursor: pointer;
  background: #ffffff0a;
  border: 1px solid #ffffff17;
  border-radius: 12px;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  font-size: 1.35rem;
  display: grid;
  transition: 0.2s;
}
.audio-modal-card > header > button:hover {
  color: #fff;
  background: #ffffff14;
  transform: rotate(4deg);
}
.audio-modal-body {
  min-height: 0;
  padding: 19px 24px 24px;
  overflow: auto;
  overscroll-behavior: contain;
  scroll-padding: 18px 0 24px;
  scrollbar-color: #ffffff25 transparent;
  scrollbar-width: thin;
}
.audio-manager-bar {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}
.audio-manager-bar > strong {
  color: #ffffffbf;
  font-size: 0.76rem;
}
.audio-manager-bar > button,
.audio-modal-card > footer > button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #6d5dfc, #315eff);
  border: 1px solid #818cf866;
  border-radius: 13px;
  min-height: 40px;
  padding: 0 15px;
  font-size: 0.7rem;
  font-weight: 800;
  box-shadow: 0 10px 28px #4f46e52e;
  transition: 0.2s;
}
.audio-manager-bar > button:hover,
.audio-modal-card > footer > button:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.audio-manager-bar > button:disabled {
  cursor: not-allowed;
  filter: none;
  opacity: 0.38;
  transform: none;
}
.audio-server-limit {
  color: #ffffff61;
  background: #ffffff05;
  border: 1px solid #ffffff0f;
  border-radius: 12px;
  margin: -3px 0 13px;
  padding: 9px 11px;
  font-size: 0.62rem;
  line-height: 1.5;
}
.audio-server-limit strong {
  color: #c4b5fd;
}
.audio-manager-error {
  color: #fecdd3;
  background: #f43f5e14;
  border: 1px solid #fb71853d;
  border-radius: 13px;
  margin-bottom: 13px;
  padding: 10px 12px;
  font-size: 0.65rem;
  line-height: 1.5;
}
.audio-editor-list {
  gap: 13px;
  display: grid;
}
.audio-editor-row {
  background: linear-gradient(145deg, #ffffff08, #00000029);
  border: 1px solid #ffffff17;
  border-radius: 20px;
  padding: 13px;
  scroll-margin-block: 18px;
  transition:
    border-color 0.2s,
    opacity 0.2s,
    transform 0.2s;
}
.audio-editor-row:hover {
  border-color: #8b5cf641;
}
.audio-editor-row.is-dragging {
  opacity: 0.45;
  transform: scale(0.985);
}
.audio-editor-row > header {
  grid-template-columns: 28px 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  margin: -2px -2px 12px;
  display: grid;
}
.audio-drag-handle {
  color: #ffffff45;
  cursor: grab;
  width: 28px;
  font-weight: 900;
  letter-spacing: -4px;
}
.audio-row-icon {
  color: #ddd6fe;
  background: linear-gradient(145deg, #8b5cf63d, #2563eb2b);
  border: 1px solid #a78bfa45;
  border-radius: 11px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 1rem;
  display: grid;
}
.audio-editor-row > header > span:nth-child(3) {
  min-width: 0;
  display: grid;
}
.audio-editor-row > header strong {
  color: #ffffffe8;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.77rem;
  overflow: hidden;
}
.audio-editor-row > header small {
  color: #ffffff52;
  font-size: 0.59rem;
  font-weight: 700;
}
.audio-row-actions {
  gap: 5px;
  display: flex;
}
.audio-row-actions button {
  color: #ffffff75;
  cursor: pointer;
  background: #ffffff08;
  border: 1px solid #ffffff14;
  border-radius: 9px;
  width: 31px;
  height: 31px;
  font-size: 0.72rem;
  font-weight: 800;
  transition: 0.18s;
}
.audio-row-actions button:hover {
  color: #fff;
  background: #ffffff13;
}
.audio-row-actions [data-remove-audio]:hover {
  color: #fda4af;
  background: #f43f5e16;
  border-color: #fb718530;
}
.audio-upload-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  display: grid;
}
.audio-file-drop,
.audio-cover-drop {
  cursor: pointer;
  background: #05060a70;
  border: 1px dashed #ffffff24;
  border-radius: 16px;
  justify-items: center;
  align-content: center;
  min-height: 126px;
  padding: 15px;
  text-align: center;
  display: grid;
  position: relative;
  overflow: hidden;
  transition: 0.2s;
}
.audio-file-drop:hover,
.audio-cover-drop:hover {
  background: #8b5cf60c;
  border-color: #8b5cf670;
}
.audio-file-drop > span,
.audio-cover-drop > span {
  color: #c4b5fd;
  margin-bottom: 6px;
  font-size: 1.45rem;
}
.audio-file-drop strong,
.audio-cover-drop strong {
  color: #ffffffbd;
  font-size: 0.71rem;
}
.audio-file-drop small,
.audio-cover-drop small {
  color: #ffffff4f;
  margin-top: 3px;
  font-size: 0.59rem;
  line-height: 1.4;
}
.audio-file-drop input,
.audio-cover-drop input {
  cursor: pointer;
  opacity: 0;
  position: absolute;
  inset: 0;
}
.audio-file-drop.has-file {
  border-style: solid;
  border-color: #22c55e42;
  background: #22c55e0a;
}
.audio-file-drop.has-file > span {
  color: #86efac;
}
.audio-cover-drop img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}
.audio-cover-drop.has-image:after {
  content: "Cover ändern";
  color: #fff;
  background: #020617ba;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 0.58rem;
  font-weight: 800;
  position: absolute;
  bottom: 9px;
  backdrop-filter: blur(8px);
}
.audio-title-field {
  color: #ffffff80;
  gap: 7px;
  margin-top: 12px;
  font-size: 0.66rem;
  font-weight: 750;
  display: grid;
}
.audio-title-field .form-input {
  border-radius: 13px;
  padding: 11px 13px;
  font-size: 0.75rem;
}
.audio-trim-card {
  background: #06070bb3;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  margin-top: 11px;
  padding: 13px;
}
.audio-trim-head {
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  display: flex;
}
.audio-trim-head > span {
  min-width: 0;
  display: grid;
}
.audio-trim-head strong {
  color: #ffffffba;
  font-size: 0.68rem;
}
.audio-trim-head small {
  color: #ffffff4f;
  margin-top: 2px;
  font-size: 0.57rem;
}
.audio-trim-head > button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #315eff);
  border-radius: 999px;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding-left: 2px;
  font-size: 0.72rem;
  display: grid;
  box-shadow: 0 8px 24px #4f46e541;
}
.audio-dual-range {
  cursor: ew-resize;
  height: 30px;
  margin-top: 12px;
  position: relative;
  touch-action: none;
  user-select: none;
}
.audio-dual-range:before {
  content: "";
  background: #ffffff16;
  border-radius: 999px;
  height: 5px;
  position: absolute;
  top: 13px;
  right: 2px;
  left: 2px;
}
.audio-dual-range > i {
  background: linear-gradient(90deg, #8b5cf6, #3b82f6);
  border-radius: 999px;
  height: 5px;
  position: absolute;
  top: 13px;
  right: calc(100% - var(--audio-end));
  left: var(--audio-start);
  box-shadow: 0 0 14px #6366f166;
}
.audio-dual-range input {
  appearance: none;
  pointer-events: none;
  outline: none;
  background: transparent;
  width: 100%;
  height: 30px;
  position: absolute;
  inset: 0;
}
.audio-dual-range input::-webkit-slider-runnable-track {
  height: 5px;
  background: transparent;
}
.audio-dual-range input::-moz-range-track {
  height: 5px;
  background: transparent;
}
.audio-dual-range input::-webkit-slider-thumb {
  appearance: none;
  pointer-events: auto;
  touch-action: none;
  cursor: ew-resize;
  background: #fff;
  border: 3px solid #7c3aed;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  margin-top: -6.5px;
  box-shadow: 0 3px 12px #000b;
}
.audio-dual-range input::-moz-range-thumb {
  pointer-events: auto;
  touch-action: none;
  cursor: ew-resize;
  background: #fff;
  border: 3px solid #7c3aed;
  border-radius: 999px;
  width: 13px;
  height: 13px;
  box-shadow: 0 3px 12px #000b;
}
.audio-dual-range [data-audio-start] {
  z-index: 2;
}
.audio-dual-range [data-audio-end] {
  z-index: 3;
}
.audio-dual-range[data-active-handle="start"] [data-audio-start],
.audio-dual-range[data-active-handle="end"] [data-audio-end] {
  z-index: 4;
}
.audio-dual-range input:focus-visible::-webkit-slider-thumb {
  outline: 3px solid #a78bfa66;
  outline-offset: 3px;
}
.audio-dual-range input:focus-visible::-moz-range-thumb {
  outline: 3px solid #a78bfa66;
  outline-offset: 3px;
}
.audio-trim-times {
  color: #ffffff69;
  justify-content: space-between;
  margin-top: -1px;
  font:
    700 0.61rem/1 ui-monospace,
    monospace;
  display: flex;
}
.audio-row-error {
  color: #fda4af;
  margin-top: 9px;
  font-size: 0.61rem;
}
.audio-remove-cover {
  color: #fda4af;
  cursor: pointer;
  margin-top: 10px;
  font-size: 0.62rem;
  font-weight: 750;
}
.audio-rights-note {
  color: #ffffff4d;
  background: #ffffff05;
  border: 1px solid #ffffff0e;
  border-radius: 13px;
  margin-top: 14px;
  padding: 10px 12px;
  font-size: 0.59rem;
  line-height: 1.55;
}

/* Eigenständiges Audio Studio */
.audio-studio-page {
  min-height: calc(100vh - 76px);
  padding: 38px 24px 90px;
  background:
    radial-gradient(circle at 15% 0, #5b46ff1f, transparent 28%),
    radial-gradient(circle at 88% 16%, #0891b215, transparent 26%);
}
.audio-studio-wrap {
  width: min(1380px, 100%);
  margin: 0 auto;
}
.audio-studio-topbar {
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  display: flex;
}
.audio-studio-back,
.audio-studio-profile-link {
  color: #ffffff8a;
  border: 1px solid #ffffff14;
  border-radius: 13px;
  align-items: center;
  gap: 8px;
  min-height: 43px;
  padding: 0 14px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  transition: 0.2s;
}
.audio-studio-back:hover,
.audio-studio-profile-link:hover {
  color: #fff;
  background: #ffffff09;
  border-color: #ffffff26;
  transform: translateY(-1px);
}
.audio-studio-profile-link span {
  color: #a5b4fc;
}
.audio-studio-hero {
  background:
    radial-gradient(circle at 88% 10%, #6366f12b, transparent 34%),
    linear-gradient(145deg, #ffffff0a, #05060a4d);
  border: 1px solid #ffffff17;
  border-radius: 30px;
  justify-content: space-between;
  align-items: flex-end;
  gap: 30px;
  padding: clamp(26px, 4vw, 48px);
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px #ffffff0a, 0 36px 90px -60px #6366f1;
}
.audio-studio-hero:after {
  content: "";
  background: linear-gradient(90deg, transparent, #a5b4fc, #67e8f9, transparent);
  width: 55%;
  height: 1px;
  position: absolute;
  top: 0;
  left: 8%;
}
.audio-studio-kicker {
  color: #c4b5fd;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  display: inline-flex;
}
.audio-studio-kicker i {
  background: #8b5cf6;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  box-shadow: 0 0 18px #8b5cf6;
}
.audio-studio-hero h1 {
  margin-top: 13px;
  font: 780 clamp(2.6rem, 6vw, 4.8rem) / 0.95 Sora, sans-serif;
  letter-spacing: -0.065em;
}
.audio-studio-hero p {
  color: #ffffff8a;
  max-width: 720px;
  margin-top: 18px;
  font-size: 1.02rem;
  line-height: 1.72;
}
.audio-studio-capacity {
  background: #05060a87;
  border: 1px solid #ffffff14;
  border-radius: 20px;
  flex: 0 0 auto;
  min-width: 170px;
  padding: 17px 19px;
  display: grid;
  backdrop-filter: blur(15px);
}
.audio-studio-capacity > span {
  color: #ffffff4d;
  font: 750 1.25rem / 1 Sora, sans-serif;
}
.audio-studio-capacity strong {
  color: #fff;
  font-size: 2rem;
}
.audio-studio-capacity small {
  color: #ffffff73;
  margin-top: 7px;
  font-size: 0.76rem;
}
.audio-studio-errors {
  color: #fecdd3;
  background: #f43f5e12;
  border: 1px solid #fb71853d;
  border-radius: 18px;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  margin-top: 22px;
  padding: 15px;
  display: grid;
}
.audio-studio-errors > span {
  background: #f43f5e1c;
  border-radius: 10px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 900;
  display: grid;
}
.audio-studio-errors strong {
  font-size: 0.92rem;
}
.audio-studio-errors p {
  margin-top: 4px;
  font-size: 0.82rem;
}
.audio-studio-grid {
  grid-template-columns: minmax(0, 1fr) 350px;
  align-items: start;
  gap: 24px;
  margin-top: 24px;
  display: grid;
}
.audio-studio-workbench {
  background: linear-gradient(155deg, #11131c, #090a0f 70%);
  border: 1px solid #ffffff17;
  border-radius: 27px;
  min-width: 0;
  padding: 25px;
  box-shadow: inset 0 1px #ffffff08;
}
.audio-studio-toolbar {
  justify-content: space-between;
  align-items: flex-end;
  gap: 22px;
  margin-bottom: 20px;
  display: flex;
}
.audio-studio-toolbar h2 {
  margin-top: 7px;
  font: 750 1.55rem / 1.15 Sora, sans-serif;
  letter-spacing: -0.035em;
}
.audio-studio-toolbar p {
  color: #ffffff73;
  max-width: 650px;
  margin-top: 8px;
  font-size: 0.88rem;
  line-height: 1.55;
}
.audio-studio-toolbar > button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #315eff);
  border: 1px solid #a5b4fc66;
  border-radius: 15px;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 49px;
  padding: 0 17px;
  font-size: 0.86rem;
  font-weight: 850;
  display: inline-flex;
  box-shadow: 0 15px 35px -20px #6366f1;
  transition: 0.2s;
}
.audio-studio-toolbar > button:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}
.audio-studio-toolbar > button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.3);
  opacity: 0.42;
  transform: none;
}
.audio-studio-toolbar > button span {
  font-size: 1.1rem;
}
.audio-studio-list {
  gap: 18px;
  margin-top: 18px;
}
.audio-studio-list:empty:before {
  content: "Noch keine Audios · klicke oben auf ‚Audio hinzufügen‘";
  color: #ffffff73;
  border: 1px dashed #ffffff21;
  border-radius: 20px;
  place-items: center;
  min-height: 190px;
  padding: 25px;
  font-size: 0.9rem;
  text-align: center;
  display: grid;
}
.audio-studio-page .audio-editor-row {
  background: linear-gradient(145deg, #ffffff0b, #00000029);
  border-radius: 22px;
  padding: 18px;
  scroll-margin-top: 100px;
}
.audio-studio-page .audio-editor-row > header {
  grid-template-columns: 34px 44px minmax(0, 1fr) auto;
  gap: 11px;
  margin-bottom: 16px;
}
.audio-studio-page .audio-drag-handle {
  width: 34px;
  font-size: 1rem;
}
.audio-studio-page .audio-row-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-size: 1.1rem;
}
.audio-studio-page .audio-editor-row > header strong {
  font-size: 0.98rem;
}
.audio-studio-page .audio-editor-row > header small {
  margin-top: 2px;
  font-size: 0.73rem;
}
.audio-studio-page .audio-row-actions button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 0.82rem;
}
.audio-studio-page .audio-upload-grid {
  gap: 13px;
}
.audio-studio-page .audio-file-drop,
.audio-studio-page .audio-cover-drop {
  border-radius: 18px;
  min-height: 154px;
}
.audio-studio-page .audio-file-drop > span,
.audio-studio-page .audio-cover-drop > span {
  font-size: 1.7rem;
}
.audio-studio-page .audio-file-drop strong,
.audio-studio-page .audio-cover-drop strong {
  font-size: 0.88rem;
}
.audio-studio-page .audio-file-drop small,
.audio-studio-page .audio-cover-drop small {
  font-size: 0.72rem;
}
.audio-studio-page .audio-title-field {
  gap: 9px;
  margin-top: 16px;
  font-size: 0.85rem;
}
.audio-studio-page .audio-title-field .form-input {
  min-height: 52px;
  padding: 13px 15px;
  font-size: 0.96rem;
}
.audio-studio-page .audio-trim-card {
  margin-top: 14px;
  padding: 17px;
}
.audio-studio-page .audio-trim-head strong {
  font-size: 0.86rem;
}
.audio-studio-page .audio-trim-head small {
  margin-top: 4px;
  font-size: 0.72rem;
}
.audio-studio-page .audio-trim-head > button {
  width: 43px;
  height: 43px;
}
.audio-studio-page .audio-trim-times {
  font-size: 0.72rem;
}
.audio-studio-rights {
  color: #ffffff73;
  background: #ffffff05;
  border: 1px solid #ffffff0f;
  border-radius: 17px;
  grid-template-columns: 28px 1fr;
  gap: 11px;
  margin-top: 18px;
  padding: 14px;
  font-size: 0.78rem;
  line-height: 1.55;
  display: grid;
}
.audio-studio-rights > span {
  color: #86efac;
  background: #22c55e12;
  border-radius: 9px;
  place-items: center;
  width: 28px;
  height: 28px;
  font-weight: 900;
  display: grid;
}
.audio-studio-rights strong {
  color: #ffffffbd;
}
.audio-studio-sidebar {
  gap: 16px;
  display: grid;
  position: sticky;
  top: 94px;
}
.audio-studio-preview,
.audio-studio-help {
  background: linear-gradient(155deg, #12141d, #090a0f);
  border: 1px solid #ffffff16;
  border-radius: 23px;
  padding: 19px;
  box-shadow: inset 0 1px #ffffff08;
}
.audio-studio-preview-head {
  align-items: center;
  gap: 11px;
  margin-bottom: 15px;
  display: flex;
}
.audio-preview-disc {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #315eff);
  border-radius: 13px;
  place-items: center;
  width: 43px;
  height: 43px;
  display: grid;
  box-shadow: 0 12px 28px -16px #6366f1;
}
.audio-studio-preview-head > div {
  display: grid;
}
.audio-studio-preview-head small {
  color: #a5b4fc;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.audio-studio-preview-head strong {
  margin-top: 3px;
  font-size: 0.96rem;
}
.audio-studio-summary {
  gap: 8px;
  display: grid;
}
.audio-studio-summary > span {
  grid-template-columns: 35px minmax(0, 1fr) auto;
  border-radius: 13px;
  padding: 8px;
}
.audio-studio-summary i {
  width: 35px;
  height: 35px;
  border-radius: 10px;
}
.audio-studio-summary b {
  font-size: 0.78rem;
}
.audio-studio-summary small {
  font-size: 0.65rem;
}
.audio-studio-help .section-kicker {
  font-size: 0.72rem;
}
.audio-studio-help ol {
  gap: 14px;
  margin-top: 16px;
  display: grid;
}
.audio-studio-help li {
  grid-template-columns: 29px 1fr;
  align-items: start;
  gap: 10px;
  display: grid;
}
.audio-studio-help li > b {
  color: #c4b5fd;
  background: #8b5cf617;
  border: 1px solid #a78bfa29;
  border-radius: 9px;
  place-items: center;
  width: 29px;
  height: 29px;
  font-size: 0.72rem;
  display: grid;
}
.audio-studio-help li > span {
  display: grid;
}
.audio-studio-help li strong {
  font-size: 0.8rem;
}
.audio-studio-help li small {
  color: #ffffff61;
  margin-top: 3px;
  font-size: 0.7rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .audio-studio-grid {
    grid-template-columns: 1fr;
  }
  .audio-studio-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: static;
  }
}
@media (max-width: 700px) {
  .audio-studio-page {
    padding: 24px 14px 85px;
  }
  .audio-studio-topbar,
  .audio-studio-hero,
  .audio-studio-toolbar {
    align-items: stretch;
    flex-direction: column;
  }
  .audio-studio-profile-link {
    display: none;
  }
  .audio-studio-hero {
    border-radius: 24px;
    padding: 25px 20px;
  }
  .audio-studio-hero h1 {
    font-size: 3rem;
  }
  .audio-studio-hero p {
    font-size: 0.9rem;
  }
  .audio-studio-capacity {
    min-width: 0;
  }
  .audio-studio-workbench {
    border-radius: 22px;
    padding: 17px;
  }
  .audio-studio-toolbar > button {
    justify-content: center;
    width: 100%;
  }
  .audio-studio-sidebar {
    grid-template-columns: 1fr;
  }
  .audio-studio-page .audio-editor-row {
    padding: 13px;
  }
}
.audio-modal-card > footer {
  background: #090a0ef2;
  border-top: 1px solid #ffffff12;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  display: flex;
}
.audio-modal-card > footer > span {
  color: #ffffff52;
  font-size: 0.62rem;
}
.builder-audio-live {
  width: 100%;
  margin-top: 18px;
  text-align: left;
}
.builder-audio-live > [data-live-audio-list] {
  gap: 7px;
  display: grid;
}
.builder-audio-live > [data-live-audio-list] > span {
  background: #05060a8c;
  border: 1px solid #ffffff18;
  border-radius: 13px;
  grid-template-columns: 39px minmax(0, 1fr);
  align-items: center;
  gap: 9px;
  padding: 7px;
  display: grid;
}
.builder-audio-live > [data-live-audio-list] > span > i {
  color: #ddd6fe;
  background: #8b5cf621;
  border-radius: 10px;
  place-items: center;
  width: 39px;
  height: 39px;
  font-style: normal;
  display: grid;
  overflow: hidden;
}
.builder-audio-live > [data-live-audio-list] img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.builder-audio-live > [data-live-audio-list] > span > span {
  min-width: 0;
  display: grid;
}
.builder-audio-live strong {
  color: #ffffffe6;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
  overflow: hidden;
}
.builder-audio-live small {
  color: #ffffff59;
  font-size: 0.55rem;
}

/* Public profile entry and player */
.profile-entry-gate {
  z-index: 160;
  background:
    radial-gradient(circle at 50% 15%, #7c3aed24, transparent 38%), #05060bed;
  place-items: center;
  padding: 24px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow: hidden;
  backdrop-filter: blur(24px);
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}
.profile-entry-gate > img {
  opacity: 0.22;
  filter: blur(14px) saturate(1.3);
  object-fit: cover;
  width: calc(100% + 50px);
  height: calc(100% + 50px);
  position: absolute;
  inset: -25px;
  animation: entryCover 14s ease-in-out infinite alternate;
}
.profile-entry-gate:before {
  content: "";
  z-index: 1;
  background: linear-gradient(180deg, #05060a42, #05060ad9 72%);
  position: absolute;
  inset: 0;
}
.profile-entry-gate > div {
  z-index: 2;
  text-align: center;
  justify-items: center;
  width: min(410px, 100%);
  position: relative;
  display: grid;
  animation: entryCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.profile-entry-gate.is-leaving {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.profile-entry-gate.is-leaving > div {
  transform: translateY(-8px) scale(0.97);
  transition: 0.38s ease;
}
.profile-entry-logo {
  color: #fff;
  background: linear-gradient(135deg, #8b5cf6, #2563eb);
  border: 1px solid #ffffff45;
  border-radius: 19px;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
  font:
    900 1.55rem/1 Sora,
    sans-serif;
  display: grid;
  box-shadow:
    0 18px 55px #6d28d966,
    0 0 0 8px #ffffff09;
}
.profile-entry-logo img { width:100%;height:100%;border-radius:inherit; }
.profile-entry-gate small {
  color: #ffffff70;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.61rem;
  font-weight: 800;
}
.profile-entry-gate h1 {
  overflow-wrap: anywhere;
  margin-top: 7px;
  font:
    850 clamp(2rem, 7vw, 3.6rem) / 1.04 Sora,
    sans-serif;
  letter-spacing: -0.055em;
}
.profile-entry-gate p {
  color: #ffffff80;
  margin-top: 10px;
  font-size: 0.8rem;
}
.profile-entry-gate [data-profile-enter-music] {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #7c3aed, #315eff);
  border: 1px solid #a78bfa70;
  border-radius: 18px;
  grid-template-columns: 43px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  width: min(310px, 100%);
  min-height: 67px;
  margin-top: 26px;
  padding: 8px 15px 8px 9px;
  text-align: left;
  display: grid;
  box-shadow: 0 20px 60px #4f46e54d;
  transition: 0.22s;
}
.profile-entry-gate [data-profile-enter-music]:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.profile-entry-gate [data-profile-enter-music] > i {
  background: #ffffff17;
  border: 1px solid #ffffff22;
  border-radius: 13px;
  place-items: center;
  width: 43px;
  height: 43px;
  padding-left: 2px;
  font-style: normal;
  display: grid;
}
.profile-entry-gate [data-profile-enter-music] > span {
  font-size: 0.77rem;
  font-weight: 800;
  display: grid;
}
.profile-entry-gate [data-profile-enter-music] strong {
  color: #ffffff8f;
  font-size: 0.6rem;
  font-weight: 650;
}
.profile-entry-gate [data-profile-enter-muted] {
  color: #ffffff6e;
  cursor: pointer;
  margin-top: 14px;
  padding: 7px 12px;
  font-size: 0.66rem;
  font-weight: 750;
  transition: 0.2s;
}
.profile-entry-gate [data-profile-enter-muted]:hover {
  color: #fff;
}
@keyframes entryCardIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes entryCover {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.07) translate3d(1%, -1%, 0);
  }
}
.profile-volume-control {
  z-index: 44;
  color: #fff;
  background: linear-gradient(135deg, #0b0d14e8, #111320d9);
  border: 1px solid #ffffff24;
  border-radius: 18px;
  grid-template-columns: 42px minmax(105px, 145px) 42px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 7px 10px 7px 7px;
  position: fixed;
  top: 18px;
  left: 18px;
  display: grid;
  box-shadow:
    0 20px 52px -24px #000,
    inset 0 1px #ffffff0d;
  backdrop-filter: blur(20px) saturate(145%);
  transition:
    opacity 0.28s ease,
    transform 0.28s ease,
    border-color 0.2s ease;
}
.profile-volume-control:hover,
.profile-volume-control:focus-within {
  border-color: color-mix(in srgb, var(--profile-accent) 52%, #ffffff30);
}
.profile-entry-open .profile-volume-control {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
}
.profile-volume-control > button {
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, color-mix(in srgb, var(--profile-accent) 68%, #172033), #111827);
  border: 1px solid #ffffff20;
  border-radius: 13px;
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
  box-shadow: 0 10px 24px -14px var(--profile-accent);
  transition: 0.2s;
}
.profile-volume-control > button:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}
.profile-volume-control > button:focus-visible,
.profile-volume-control input:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--profile-accent) 75%, #fff);
  outline-offset: 3px;
}
.profile-volume-control svg {
  fill: currentColor;
  width: 19px;
  height: 19px;
}
.profile-volume-control svg path + path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.profile-volume-control [data-volume-icon-off] {
  display: none;
}
.profile-volume-control[data-muted="true"] [data-volume-icon-on] {
  display: none;
}
.profile-volume-control[data-muted="true"] [data-volume-icon-off] {
  display: block;
}
.profile-volume-control > label {
  gap: 4px;
  min-width: 0;
  display: grid;
}
.profile-volume-control > label > span {
  color: #ffffff80;
  letter-spacing: 0.025em;
  font-size: 0.64rem;
  font-weight: 750;
}
.profile-volume-control input[type="range"] {
  accent-color: var(--profile-accent);
  cursor: pointer;
  width: 100%;
  height: 18px;
}
.profile-volume-control output {
  color: #ffffffa1;
  text-align: right;
  font:
    750 0.65rem/1 ui-monospace,
    monospace;
}
.profile-audio-section {
  width: 100%;
  margin-top: 24px;
}
.profile-audio-list {
  gap: 9px;
  display: grid;
}
.profile-audio-card {
  background: linear-gradient(135deg, #ffffff0c, #ffffff05);
  border: 1px solid #ffffff1a;
  border-radius: 18px;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding: 8px 13px 8px 8px;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition: 0.22s;
}
.profile-audio-card:before {
  content: "";
  opacity: 0;
  background: radial-gradient(
    circle at 0 50%,
    color-mix(in srgb, var(--profile-accent) 26%, transparent),
    transparent 58%
  );
  position: absolute;
  inset: 0;
  transition: 0.25s;
}
.profile-audio-card.is-playing {
  border-color: color-mix(in srgb, var(--profile-accent) 48%, #ffffff22);
  box-shadow: 0 16px 42px #0000002e;
}
.profile-audio-card.is-playing:before {
  opacity: 1;
}
.profile-audio-card.has-error {
  opacity: 0.55;
}
.profile-audio-play {
  z-index: 1;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #312e81, #111827);
  border: 1px solid #ffffff20;
  border-radius: 14px;
  place-items: center;
  width: 56px;
  height: 56px;
  display: grid;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 22px #0007;
}
.profile-audio-play img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: 0.25s;
}
.profile-audio-play:after {
  content: "";
  background: #02061755;
  position: absolute;
  inset: 0;
  transition: 0.2s;
}
.profile-audio-play > span {
  z-index: 2;
  text-shadow: 0 2px 8px #000;
  font-size: 0.78rem;
  position: relative;
}
.profile-audio-card.is-playing .profile-audio-play img {
  transform: scale(1.06);
}
.profile-audio-copy {
  z-index: 1;
  min-width: 0;
  display: grid;
}
.profile-audio-copy > small {
  color: color-mix(in srgb, var(--profile-accent) 75%, #fff);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: calc(0.51rem * var(--profile-card-scale));
  font-weight: 850;
}
.profile-audio-copy > strong {
  color: #fffffff0;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  font-size: calc(0.76rem * var(--profile-card-scale));
  overflow: hidden;
}
.profile-audio-copy > span {
  background: #ffffff14;
  border-radius: 999px;
  height: 3px;
  margin-top: 8px;
  overflow: hidden;
}
.profile-audio-copy > span > i {
  background: linear-gradient(90deg, var(--profile-accent), #fff);
  border-radius: inherit;
  width: 0;
  height: 100%;
  display: block;
  box-shadow: 0 0 12px var(--profile-accent);
}
.profile-audio-time {
  z-index: 1;
  color: #ffffff70;
  white-space: nowrap;
  font:
    700 calc(0.58rem * var(--profile-card-scale)) / 1 ui-monospace,
    monospace;
}
@media (max-width: 700px) {
  .audio-modal {
    align-items: end;
    padding: 0;
  }
  .audio-modal-card {
    border-radius: 25px 25px 0 0;
    height: 94dvh;
    max-height: 94dvh;
  }
  .audio-modal-body {
    padding: 16px;
  }
  .audio-modal-card > header {
    padding: 18px 16px 15px;
  }
  .audio-modal-card > footer {
    padding: 12px 16px;
  }
  .audio-modal-card > footer > span {
    display: none;
  }
  .audio-upload-grid {
    grid-template-columns: 1fr 118px;
  }
  .audio-file-drop,
  .audio-cover-drop {
    min-height: 116px;
  }
  .audio-editor-row {
    padding: 11px;
  }
  .audio-manager-bar {
    align-items: flex-start;
  }
  .profile-entry-gate {
    padding: 18px;
  }
  .profile-volume-control {
    top: 12px;
    left: 12px;
  }
}
@media (max-width: 430px) {
  .audio-editor-row > header {
    grid-template-columns: 24px 34px minmax(0, 1fr) auto;
  }
  .audio-upload-grid {
    grid-template-columns: 1fr;
  }
  .audio-cover-drop {
    min-height: 98px;
  }
  .audio-trim-head small {
    display: none;
  }
  .profile-audio-card {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
    padding: 7px;
  }
  .profile-audio-play {
    width: 50px;
    height: 50px;
  }
  .profile-audio-time {
    grid-column: 2;
    justify-self: end;
    margin-top: -17px;
    margin-right: 5px;
  }
  .profile-entry-logo {
    width: 58px;
    height: 58px;
    border-radius: 17px;
  }
  .profile-volume-control {
    grid-template-columns: 40px minmax(90px, 1fr) 38px;
    gap: 8px;
    width: min(240px, calc(100vw - 24px));
    min-height: 54px;
    padding: 6px 8px 6px 6px;
  }
  .profile-volume-control > button {
    width: 40px;
    height: 40px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .profile-entry-gate > img {
    animation: none;
  }
  .profile-entry-gate > div,
  .audio-modal-card {
    animation: none;
  }
}
