.wish-manager-open {
  width: 100%;
  margin-top: 14px;
  border: 1px solid rgba(212, 175, 55, .8);
  border-radius: 10px;
  background: linear-gradient(135deg, #0b0a08, #201805);
  color: #f6d879;
  padding: 11px 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 128, .08), 0 8px 24px rgba(0, 0, 0, .28);
}
.wish-manager-open:hover { border-color: #ffe083; color: #fff1b0; }
.wish-manager-open span {
  display: inline-grid;
  min-width: 24px;
  height: 24px;
  place-items: center;
  margin-left: 8px;
  padding: 0 6px;
  border-radius: 999px;
  background: #d4af37;
  color: #080706;
}
.wish-manager-note { margin: 8px 0 0; color: #cdbf91; font-size: .82rem; }
.wish-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, .84);
  backdrop-filter: blur(7px);
}
.wish-popup-backdrop[hidden] { display: none !important; }
.wish-popup-window {
  width: min(900px, 100%);
  max-height: min(88vh, 920px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #d4af37;
  border-radius: 16px;
  background: linear-gradient(155deg, #17130a, #050505 55%, #130f05);
  color: #fff4c2;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .72), inset 0 0 0 1px rgba(255, 226, 128, .1);
}
.wish-popup-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, .42);
  background: linear-gradient(90deg, rgba(212, 175, 55, .16), rgba(0, 0, 0, .15));
}
.wish-popup-head h2 { margin: 0; color: #f7d86b; font-size: clamp(1.2rem, 3vw, 1.65rem); }
.wish-popup-head p { margin: 5px 0 0; color: #cdbf91; font-size: .88rem; }
.wish-popup-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border: 1px solid #d4af37;
  border-radius: 10px;
  background: #090806;
  color: #f7d86b;
  font-size: 1.25rem;
  cursor: pointer;
}
.wish-popup-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, .22);
  background: #090806;
}
.wish-popup-tools button {
  border: 1px solid #a88928;
  border-radius: 8px;
  background: linear-gradient(135deg, #2b2107, #0b0904);
  color: #f8dc75;
  padding: 8px 12px;
  font-weight: 800;
  cursor: pointer;
}
.wish-sound-state { color: #cdbf91; font-size: .82rem; }
.wish-popup-message { min-height: 1.25em; margin-left: auto; color: #ffe58a; font-size: .86rem; }
.wish-popup-message.error { color: #fff0bd; font-weight: 800; }
.wish-popup-list {
  overflow: auto;
  padding: 16px 20px 24px;
  scrollbar-color: #b89222 #090806;
}
.wish-popup-empty {
  margin: 24px 0;
  padding: 22px;
  text-align: center;
  border: 1px dashed rgba(212, 175, 55, .48);
  border-radius: 12px;
  color: #d8c995;
}
.wish-card {
  margin-bottom: 13px;
  padding: 15px;
  border: 1px solid rgba(212, 175, 55, .42);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(35, 28, 10, .78), rgba(5, 5, 5, .96));
  box-shadow: inset 0 0 0 1px rgba(255, 225, 122, .04);
}
.wish-card.is-played { opacity: .82; border-color: rgba(170, 141, 46, .38); }
.wish-card.is-processing {
  border-color: rgba(255, 224, 131, .72);
  box-shadow: inset 0 0 0 1px rgba(255, 224, 131, .08), 0 0 22px rgba(212, 175, 55, .08);
}
.wish-card.is-rejected {
  opacity: .78;
  border-color: rgba(145, 120, 72, .42);
  background: linear-gradient(145deg, rgba(22, 20, 15, .78), rgba(5, 5, 5, .96));
}
.wish-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.wish-card-title { margin: 0; color: #fff0a7; font-size: 1.05rem; overflow-wrap: anywhere; }
.wish-status {
  flex: 0 0 auto;
  border: 1px solid #d4af37;
  border-radius: 999px;
  padding: 4px 9px;
  color: #f5d769;
  background: #0b0904;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.wish-status.status-in_bearbeitung {
  border-color: #ffe083;
  color: #fff1a8;
  background: #211a07;
}
.wish-status.status-gespielt {
  border-color: #b8952d;
  color: #ddc66e;
  background: #0d0b06;
}
.wish-status.status-abgelehnt {
  border-color: #756641;
  color: #cfc3a2;
  background: #10100e;
}
.wish-card-meta { margin: 7px 0 0; color: #d1c392; font-size: .82rem; }
.wish-card-text { margin: 11px 0 0; color: #fff8d7; white-space: pre-wrap; overflow-wrap: anywhere; }
.wish-played-info { margin: 8px 0 0; color: #d9bd56; font-size: .8rem; }
.wish-status-info { margin: 8px 0 0; font-size: .8rem; }
.wish-processing-info { color: #ffe083; }
.wish-rejected-info { color: #bdb39a; }
.wish-card-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.wish-card-actions button {
  border: 1px solid #b8952d;
  border-radius: 8px;
  background: #0d0b06;
  color: #f4d56b;
  padding: 8px 11px;
  font-weight: 800;
  cursor: pointer;
}
.wish-card-actions button:hover { border-color: #ffe083; color: #fff2b2; }
.wish-card-actions button:disabled { cursor: not-allowed; opacity: .45; }
.wish-card-actions .wish-delete { border-style: dashed; }
.wish-card-actions .wish-process { border-color: #d4af37; }
.wish-card-actions .wish-play { border-color: #ffe083; }
.wish-card-actions .wish-reject { border-color: #776a48; color: #d8ccb0; }
.wish-card-actions .wish-reset { border-style: dashed; }
.wish-edit-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
  padding-top: 13px;
  border-top: 1px solid rgba(212, 175, 55, .25);
}
.wish-edit-form[hidden] { display: none; }
.wish-edit-form label { display: grid; gap: 5px; color: #d6c68d; font-size: .78rem; font-weight: 800; }
.wish-edit-form .full { grid-column: 1 / -1; }
.wish-edit-form input,
.wish-edit-form textarea,
.wish-edit-form select {
  width: 100%;
  border: 1px solid #80691f;
  border-radius: 8px;
  background: #050505;
  color: #fff5c7;
  padding: 9px 10px;
  font: inherit;
}
.wish-edit-form textarea { min-height: 86px; resize: vertical; }
.wish-edit-actions { display: flex; flex-wrap: wrap; gap: 8px; grid-column: 1 / -1; }
.wish-edit-actions button { border: 1px solid #c7a532; border-radius: 8px; background: #171205; color: #f7d86b; padding: 8px 12px; font-weight: 800; cursor: pointer; }
body.wish-popup-open { overflow: hidden; }
@media (max-width: 680px) {
  .wish-popup-backdrop { padding: 6px; }
  .wish-popup-window { max-height: 96vh; border-radius: 12px; }
  .wish-popup-head, .wish-popup-tools, .wish-popup-list { padding-left: 13px; padding-right: 13px; }
  .wish-popup-message { width: 100%; margin-left: 0; }
  .wish-card-head { display: grid; }
  .wish-status { width: fit-content; }
  .wish-edit-form { grid-template-columns: 1fr; }
  .wish-edit-form .full, .wish-edit-actions { grid-column: 1; }
}

/* V7: separater Wunschmonitor */
.wish-manager-open.monitor-active {
  border-color: #ffe083;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .14), 0 10px 30px rgba(0, 0, 0, .35);
}
.wish-manager-open.monitor-active::before {
  content: '●';
  margin-right: 8px;
  color: #f7d86b;
  text-shadow: 0 0 10px rgba(255, 224, 131, .75);
}
body.wish-monitor-page {
  min-height: 100vh;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0%, rgba(212, 175, 55, .18), transparent 35%),
    radial-gradient(circle at 90% 100%, rgba(161, 126, 25, .13), transparent 32%),
    linear-gradient(145deg, #020202, #0d0a04 48%, #020202);
  color: #fff4c2;
  font-family: Arial, Helvetica, sans-serif;
}
.wish-monitor-shell {
  box-sizing: border-box;
  width: 100%;
  height: 100vh;
  padding: 10px;
}
.wish-monitor-window {
  width: 100%;
  height: calc(100vh - 20px);
  max-height: none;
  border-radius: 14px;
}
.wish-monitor-kicker {
  display: inline-block;
  margin-bottom: 5px;
  color: #bfa14b;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .16em;
}
.wish-monitor-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.wish-monitor-online {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(212, 175, 55, .5);
  border-radius: 999px;
  padding: 7px 10px;
  color: #f4d56b;
  background: #090806;
  font-size: .74rem;
  font-weight: 900;
  text-transform: uppercase;
}
.wish-monitor-online i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #d4af37;
  box-shadow: 0 0 10px rgba(255, 224, 131, .9);
}
.wish-monitor-tools {
  align-items: flex-start;
}
.wish-notification-state {
  color: #d8c995;
  font-size: .82rem;
}
.wish-monitor-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, .22);
  background: linear-gradient(90deg, rgba(212, 175, 55, .08), rgba(0, 0, 0, .2));
}
.wish-monitor-summary > div {
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid rgba(212, 175, 55, .3);
  border-radius: 10px;
  background: rgba(5, 5, 5, .72);
}
.wish-monitor-summary strong {
  display: block;
  color: #ffe083;
  font-size: 1.25rem;
}
.wish-monitor-summary span {
  display: block;
  margin-top: 2px;
  color: #cdbf91;
  font-size: .72rem;
}
.wish-monitor-access {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}
.wish-monitor-access section {
  width: min(520px, 100%);
  padding: 28px;
  border: 1px solid #d4af37;
  border-radius: 16px;
  background: linear-gradient(155deg, #17130a, #050505 60%, #130f05);
  text-align: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .65);
}
.wish-monitor-logo {
  display: inline-grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #d4af37;
  border-radius: 50%;
  color: #f7d86b;
  font-size: 2rem;
}
.wish-monitor-access h1 { color: #ffe083; }
.wish-monitor-access p { color: #d8c995; line-height: 1.55; }
.wish-monitor-access a {
  display: inline-block;
  margin-top: 8px;
  border: 1px solid #d4af37;
  border-radius: 9px;
  padding: 10px 15px;
  background: #100d05;
  color: #ffe083;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 720px) {
  body.wish-monitor-page { overflow: auto; }
  .wish-monitor-shell { height: auto; min-height: 100vh; padding: 4px; }
  .wish-monitor-window { min-height: calc(100vh - 8px); height: auto; border-radius: 10px; }
  .wish-monitor-summary { grid-template-columns: 1fr; padding-left: 13px; padding-right: 13px; }
  .wish-monitor-header-actions { align-items: flex-start; }
  .wish-monitor-online { display: none; }
}

/* V8: Windows-Systemalarm fuer neue Musikwünsche */
.wish-alert-enable {
  width: 100%;
  margin-top: 9px;
  border: 1px solid #d4af37;
  border-radius: 10px;
  background: linear-gradient(135deg, #171205, #050505);
  color: #ffe083;
  padding: 11px 14px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 226, 128, .08);
}
.wish-alert-enable:hover,
.wish-alert-enable.is-active {
  border-color: #ffe9a0;
  color: #fff4bd;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, .15), 0 8px 24px rgba(0, 0, 0, .32);
}
.wish-alert-enable.is-active::before {
  content: '●';
  margin-right: 7px;
  color: #ffe083;
  text-shadow: 0 0 10px rgba(255, 224, 131, .9);
}
.wish-alert-state {
  margin: 7px 0 0;
  padding: 8px 10px;
  border-left: 3px solid #b8952d;
  background: rgba(0, 0, 0, .32);
  color: #d8c995;
  font-size: .78rem;
  line-height: 1.45;
}
