:root{
  --bg:#0b0c10; --card:#12141a; --text:#f2f3f5; --muted:#99a1b3; --brand:#1db954;
  --danger:#e11d48; --ok:#22c55e; --warn:#f59e0b; --radius:16px;
  --border:#20232b; --field:#0f1218; --btn:#171a21; --btn-border:#2a2f36;
  --shadow:0 10px 30px rgba(0,0,0,.35);
}

/* Base */
*{
  box-sizing:border-box;
  -webkit-tap-highlight-color:transparent; /* iOS/Chrome Mobile: blauen Tap-Rahmen aus */
}
html,body{
  margin:0;
  height:100%;
  background:var(--bg);
  color:var(--text);
  font-family:system-ui, Segoe UI, Roboto, Arial, sans-serif;
  -webkit-text-size-adjust:100%;
}
:focus{ outline:none }
:focus-visible{
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 45%, transparent);
  border-radius:12px;
}
@media (prefers-reduced-motion:reduce){
  *{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

/* Topbar */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  padding:10px calc(16px + env(safe-area-inset-right)) 12px calc(16px + env(safe-area-inset-left));
  background:#0c0e14;
  box-shadow:0 2px 0 rgba(0,0,0,.25);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.topbar-head{
  position:relative;
  width:100%;
  min-height:36px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-inline:72px;
}

.topbar h1{
  margin:0;
  width:100%;
  text-align:center;
  font-size:clamp(18px, 2.6vw, 22px);
  line-height:1.2;
}

.muted{
  color:var(--muted);
  font-weight:500;
}

/* Actions unter der Überschrift */
.topbar-actions{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:8px;
}

.topbar-actions .btn{
  white-space:nowrap;
  min-width:0;
}
.topbar-actions[hidden]{
  display:none !important;
}

/* Spezielle Styles für QR- & Logout-Button in der Topbar */
#btnQrOpen{
  background:rgba(34,197,94,.15);
  border-color:rgba(34,197,94,.55);
  color:#bbf7d0;
  opacity:1;
}

#btnLogout{
  position:absolute;
  right:0;
  top:50%;
  transform:translateY(-50%);
  background:rgba(225,29,72,.2);
  border-color:rgba(225,29,72,.6);
  color:#fff;
  opacity:1;
}

.dj-admin-menu-toggle{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:22px;
  line-height:1;
  border-color:rgba(255,255,255,.12);
  background:rgba(255,255,255,.045);
  color:#f8fafc;
  transition:background .14s ease, border-color .14s ease;
}

.dj-admin-menu-toggle:hover,
.dj-admin-menu-toggle:focus-visible,
.dj-admin-menu-toggle[aria-expanded="true"]{
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.18);
  transform:translateY(-50%);
}

.dj-admin-menu-toggle:active{
  transform:translateY(-50%);
}

#btnManualRequestsOpen{
  background:rgba(245,158,11,.14);
  border-color:rgba(245,158,11,.45);
  color:#fde68a;
  opacity:1;
}

#btnManualRequestsOpen[hidden]{
  display:none !important;
}

@media (hover:hover){
  #btnQrOpen:hover{
    background:rgba(34,197,94,.22);
  }
  #btnLogout:hover{
    background:rgba(225,29,72,.3);
  }
  #btnManualRequestsOpen:hover{
    background:rgba(245,158,11,.22);
  }
}

.topbar-counter{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:20px;
  height:20px;
  padding:0 6px;
  border-radius:999px;
  background: #16a34a;
  color:#fff;
  font-size:11px;
  font-weight:700;
  line-height:1;
}

.topbar-counter[hidden]{
  display:none !important;
}

@media (max-width:560px){
  .topbar{
    padding-inline:12px;
  }

  .topbar-head{
    min-height:34px;
    padding-inline:64px;
  }

  .topbar-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
    width:100%;
    align-items:stretch;
  }

  .topbar-actions .btn{
    width:100%;
    min-width:0;
  }
}

@media (min-width:561px){
  .topbar-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
  }

  .topbar-actions .btn{
    width:auto;
  }
}

/* Layout */
.container{
  padding:calc(var(--admin-topbar-h, 120px) + 8px) 8px 8px;
  display:grid;
  gap:8px;
  max-width:720px;
  margin:0 auto 0;
}

body[data-product-mode="dj"] .container{
  padding-bottom:calc(172px + env(safe-area-inset-bottom));
}
.card{
  background:var(--card);
  border-radius:var(--radius);
  padding:16px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
}
h2{
  margin:0 0 12px;
  font-size:clamp(18px, 2.5vw, 18px);
}

/* Now Playing */
.nowplaying{
  display:grid;
  grid-template-columns:auto 1fr;
  gap:12px;
  align-items:center;
  background:#0f1218;
  border:1px solid #282f3a;
  border-radius:14px;
  padding:10px;
  margin-bottom:12px;
}
.np-cover{
  width:72px;
  height:72px;
  border-radius:10px;
  object-fit:cover;
  background:#0b0e14;
  border:1px solid #222834;
}
.np-text{ min-width:0 }
.np-title{
  font-weight:700;
  font-size:16px;
  line-height:1.25;
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.np-artists{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.np-progress{
  margin-top:8px;
  height:6px;
  background:#1a1e27;
  border-radius:999px;
  overflow:hidden;
}
.np-bar{
  height:100%;
  width:0%;
  background:var(--brand);
}
@media (min-width:560px){
  .np-cover{ width:84px; height:84px }
  .np-title{ font-size:18px }
}

/* Status Grid – nebeneinander */
.status-grid.two{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  align-items:end;
}
.status-grid .label{
  color:var(--muted);
  font-size:12px;
  margin-bottom:4px;
}

/* Form & Fields */
.field{
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:10px 0;
}
.field > span{
  color:var(--muted);
  font-size:13px;
  display:block;
}
input,select,textarea{
  width:100%;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #28303a;
  background:var(--field);
  color:var(--text);
  font-size:14px;
  transition:border-color .15s ease, box-shadow .15s ease;
}

/* Autofill-Hintergrund an unser Design anpassen */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0px 1000px var(--field) inset;
  -webkit-text-fill-color:var(--text);
  transition:background-color 9999s ease-out 0s;
}

textarea{
  min-height:96px;
  resize:vertical;
}
input::placeholder{
  color:color-mix(in oklab, var(--muted) 80%, transparent);
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  border-color:color-mix(in oklab, var(--brand) 55%, #28303a);
}

/* Wunschfreigabe – Segment-Switch wie Tab/Pill */
.seg-toggle{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6px;
  padding:6px;
  border-radius:999px;
  border:1px solid #1a2232;
  background:
    linear-gradient(180deg, rgba(10,16,28,.98), rgba(7,11,20,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.03),
    0 0 0 1px rgba(255,255,255,.02);
}

.seg-toggle__item{
  appearance:none;
  -webkit-appearance:none;
  border:1px solid transparent;
  background:transparent;
  color:#cbd5e1;
  min-height:42px;
  padding:10px 14px;
  border-radius:999px;
  font:inherit;
  font-size:14px;
  font-weight:600;
  line-height:1.15;
  text-align:center;
  cursor:pointer;
  transition:
    background-color .15s ease,
    border-color .15s ease,
    color .15s ease,
    box-shadow .15s ease,
    transform .06s ease;
}

.seg-toggle__item:hover{
  color:#eef4ff;
  background:rgba(255,255,255,.03);
}

.seg-toggle__item:active{
  transform:translateY(1px);
}

.seg-toggle__item:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px rgba(29,185,84,.16);
}

.seg-toggle__item.is-active{
  color:#f7fff9;
  border-color:rgba(29,185,84,.72);
  background:
    linear-gradient(180deg, rgba(22,92,57,.98), rgba(11,50,30,.98));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    0 0 0 2px rgba(29,185,84,.10),
    0 8px 18px rgba(0,0,0,.18);
  text-shadow:0 1px 0 rgba(0,0,0,.22);
}

/* Rows & Buttons */
.row{
  display:block;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
}
.btn{
  appearance:none;
  border:1px solid var(--btn-border);
  background:var(--btn);
  color:var(--text);
  padding:12px 16px;
  border-radius:12px;
  cursor:pointer;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  text-align:center;
  transition:transform .06s ease, border-color .15s ease, background-color .15s ease;
}
.btn:active{ transform:translateY(1px) }
.btn.primary{
      background: #00ff5f2b;
    border-color: #16a34a;
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
}
.btn.danger{
  background:#e11d4873;
  border-color:var(--danger);
  color:#fff;
}
.btn.subtle{ opacity:.9 }
.btn.outline{
  background:transparent;
  border-color:var(--brand);
}
.btn.block{ width:100% }
.btn-xs{
  padding:8px 10px;
  border-radius:10px;
  min-height:36px;
  font-size:13px;
}
.btn:disabled{
  opacity:.6;
  cursor:not-allowed;
}

@keyframes btn-spin{
  to{ transform:rotate(360deg); }
}

.btn.is-saving,
.btn.is-success{
  opacity:1;
}

.btn.is-saving{
  pointer-events:none;
}

.btn.is-saving::before{
  content:"";
  width:14px;
  height:14px;
  border:2px solid rgba(11,12,16,.22);
  border-top-color:#0b0c10;
  border-radius:999px;
  animation:btn-spin .7s linear infinite;
}

.btn.is-success{
  background:#16a34a;
  border-color:#16a34a;
  color:#08110b;
}

/* Badges */
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--btn-border);
  background: #16a34a;
  min-width:auto;
  text-align:center;
  white-space:nowrap;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
}
.badge.ok{
  background:rgba(34,197,94,.15);
  border-color:rgba(34,197,94,.35);
}
.badge.warn{
  background:#fe930745;
  border-color:#ff8f00;
}
.badge.err{
  background:rgba(225,29,72,.15);
  border-color:rgba(225,29,72,.35);
}

/* QR – wird im Popup & in Karten genutzt */
.qr-wrap{
  display:grid;
  place-items:center;
  gap:10px;
  margin-top:8px;
}
.qr-img{
  width:min(260px, 70vw);
  height:auto;
  border-radius:12px;
  background:transparent;
  border:none;
  padding:0;
}
.qr-link{
  margin:6px 0 2px;
  font-size:13px;
}
.qr-link a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px dotted #3a465c;
  overflow-wrap:anywhere;
  word-break:break-all;
}
.qr-link a:hover{
  text-decoration:underline;
}
.qr-actions{
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
  width:100%;
}
.qr-actions .btn{
  flex:1 0 0;
}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:calc(16px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  background:#171a21;
  border:1px solid var(--btn-border);
  color:var(--text);
  padding:10px 14px;
  border-radius:999px;
  box-shadow:var(--shadow);
  max-width:min(90vw, 520px);
  text-align:center;
}

.toast.is-success{
  background:rgba(20,83,45,.96);
  border-color:rgba(34,197,94,.48);
  color:#dcfce7;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}

.toast.is-muted-danger{
  background:rgba(31,20,24,.96);
  border-color:rgba(225,29,72,.42);
  color:#ffe4e6;
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}

/* ===== Modal (Inline Confirm & QR-Overlay) ===== */
body.modal-open{ overflow:hidden; }
.modal-overlay[hidden]{
  display:none !important;
  pointer-events:none;
  opacity:0;
}
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.55);
  display:grid;
  place-items:center;
  z-index:1000;
}
.modal-card{
  width:min(520px, calc(100vw - 32px));
  background:var(--card);
  border:1px solid #2a2f36;
  border-radius:var(--radius);
  box-shadow:0 10px 30px rgba(0,0,0,.5);
  padding: 8px 8px 8px 8px;
}
.modal-body{
  padding:6px 2px 12px;
}
.modal-text{
  font-size:15px;
  line-height:1.4;
}
.modal-actions{
  display:flex;
  gap:10px;
  flex-wrap:nowrap;
  align-items:stretch;
}
.modal-actions .btn{
  flex:1 1 0;
  width:auto;
}
.modal-actions .btn.danger{
  margin-top:0;
}
@media (min-width:560px){
  .modal-actions .btn{ min-width:140px }
}

.request-mode-switch-modal{
  width:min(560px, calc(100vw - 24px));
}

.request-mode-switch-actions{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
}

.request-mode-switch-actions .btn{
  width:100%;
}

@media (min-width:640px){
  .request-mode-switch-actions{
    grid-template-columns:1fr 1fr 1fr;
  }
}

/* Desktop Hover */
@media (hover:hover){
  .btn:hover{ border-color:#3a465c }
}

/* kleine Tuning-Breakpoints */
@media (max-width:380px){
  .np-cover{ width:64px; height:64px }
  .np-title{ font-size:15px }
}
@media (min-width:700px){
  .container{ gap:20px }
  .topbar h1{ font-size:20px }
}

/* kleine Hilfsklassen */
.hint{
  color:var(--muted);
  font-size:12px;
  text-align:center;
  margin-bottom: 12px;
}
.hint a{
  color:var(--brand);
  text-decoration:none;
  font-weight:500;
}
.hint a:hover{
  text-decoration:underline;
}
.label{ color:var(--muted) }

/* =========================================================
   COLLAPSIBLE CARDS (Regeln / ggf. weitere)
   ========================================================= */

/* Header der klappbaren Karten: Titel links, Pfeil rechts */
.card-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
  cursor:pointer;
}

.card-header h2{
  margin:0;
}

/* leichter Abstand des Inhalts zur Überschrift */
.card-collapsible .card-body{
  margin-top:10px;
}

/* Pfeil-Button oben rechts – Brand-Grün, ohne Hintergrund */
.card-toggle,
[data-card-toggle]{
  margin-left:auto;
  padding:4px;
  background:transparent;
  border:none;
  color:var(--brand);
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  min-height:auto;
  font-size:0;
}

/* Falls noch .btn/.btn-xs auf dem Element hängen, diese neutralisieren */
.card-toggle.btn,
.card-toggle.btn-xs,
[data-card-toggle].btn,
[data-card-toggle].btn-xs{
  background:transparent;
  border:none;
  box-shadow:none;
}

/* Beim Klick (Maus/Touch) keine zusätzliche Fokus-Markierung anzeigen */
.card-toggle:focus,
[data-card-toggle]:focus{
  outline:none;
  box-shadow:none;
}

/* Visueller Fokus-Ring nur um den Pfeil (Tastatur-Navigation) */
.card-toggle:focus-visible,
[data-card-toggle]:focus-visible{
  outline:none;
  box-shadow:0 0 0 2px color-mix(in oklab, var(--brand) 60%, transparent);
}

/* Basispfeil: „V“ (nach unten) – Standardzustand: Karte geschlossen */
.card-toggle::before,
[data-card-toggle]::before{
  content:"";
  display:block;
  width:11px;
  height:11px;
  border-top:2px solid currentColor;
  border-right:2px solid currentColor;
  transform-origin:center;
  transform:rotate(135deg);
  transition:transform .16s ease;
}

/* Karte offen → Pfeil nach oben drehen */
.card-collapsible[data-collapsed="false"] .card-toggle::before,
.card-collapsible[data-collapsed="false"] [data-card-toggle]::before{
  transform:rotate(-45deg);
}

/* Optionale Hover-Highlight nur für Devices mit Hover */
@media (hover:hover){
  .card-toggle:hover,
  [data-card-toggle]:hover{
    color:color-mix(in oklab, var(--brand) 80%, #ffffff 10%);
  }
}

/* =========================================================
   LOGIN LAYOUT (HQ-Login, Client-Login, Admin-Login)
   ========================================================= */
body.login-wrapper{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  background:var(--bg);
}

.login-main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 10px 10px;
}
@media (min-width:600px){
  .login-main{ align-items:center }
}

body.login-wrapper.login-success .login-main{
  align-items:center;
}

/* Wrapper für Login + Meta-Infos */
.login-shell{
  width:min(460px, 100%);
  display:flex;
  flex-direction:column;
  gap:12px;
  margin:0 auto;
}

/* Obere Info-Karten (Branding + Subdomain) */
.login-meta-grid{
  display:flex;
  flex-direction:column;
  gap:4px;
}

.login-meta-card{
  padding:10px 0;
}

.login-meta-label{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.03em;
  color:var(--muted);
  margin-bottom:4px;
}

.login-meta-value{
  font-weight:600;
  font-size:15px;
  overflow-wrap:anywhere;
}

.login-card{
  width:100%;
  background:var(--card);
  border-radius:20px;
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  padding:18px 22px 10px;
}

.login-card h2{
  margin:0 0 6px;
  font-size:20px;
}
.login-sub{
  margin:0 0 16px;
  color:var(--muted);
  font-size:14px;
  line-height:1.45;
}

body.login-wrapper .login-form .btn.primary.block{
  margin-top:8px;
}

@media (max-width:600px){
  body.login-wrapper .mw-topbar + .login-main{
    flex:1 1 auto;
    min-height:0;
    padding:6px 10px 8px;
  }

  body.login-wrapper .mw-topbar + .login-main .login-shell{
    gap:8px;
  }

  body.login-wrapper .mw-topbar + .login-main .login-card{
    padding:14px 16px 10px;
    border-radius:18px;
  }

  body.login-wrapper .mw-topbar + .login-main .login-sub{
    margin-bottom:10px;
  }

  body.login-wrapper .mw-topbar + .login-main .login-meta-card{
    padding:6px 0;
  }

  body.login-wrapper .mw-topbar + .login-main .field{
    margin:8px 0;
  }

  body.login-wrapper .mw-topbar + .login-main .row{
    margin-top:8px;
  }
}
.login-note{
  margin-top:10px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}

/* Meldungen im Login */
.login-alert{
  margin-bottom:0;
  padding:9px 11px;
  border-radius:12px;
  font-size:14px;
  border:1px solid transparent;
  text-align:center;
}
.login-alert.error{
  background:rgba(225,29,72,.12);
  border-color:rgba(225,29,72,.35);
}
.login-alert.ok{
  background:rgba(34,197,94,.12);
  border-color:rgba(34,197,94,.35);
}

/* =========================================================
   Passwort-Feld mit Toggle
   ========================================================= */
.pw-field .pw-wrap{
  position:relative;
  display:flex;
  align-items:center;
}
.pw-field .pw-wrap input{
  padding-right:44px;
}

.pw-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  border:none;
  background:transparent;
  padding:4px;
  border-radius:999px;
  cursor:pointer;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.pw-toggle:focus-visible{
  outline:none;
  box-shadow:0 0 0 2px color-mix(in oklab, var(--brand) 60%, transparent);
}

/* SVG-Icons */
.pw-icon{
  width:20px;
  height:20px;
  stroke:var(--muted);
  fill:none;
  stroke-width:1.7;
}

.pw-icon-hide{ display:none; }

/* Wenn sichtbar: grün & Icon wechseln */
.pw-toggle.pw-visible .pw-icon{
  stroke:var(--brand);
}
.pw-toggle.pw-visible .pw-icon-show{ display:none; }
.pw-toggle.pw-visible .pw-icon-hide{ display:block; }

/* =========================================================
   HQ – Signup Requests (requests.php)
   ========================================================= */

.hq-requests{
  max-width:1200px;
}

.req-wrap{
  display:grid;
  gap:16px;
}
.req-wrap.has-split{
  grid-template-columns:minmax(0, 1.1fr) minmax(0, 1.2fr);
  align-items:flex-start;
}
@media (max-width:960px){
  .req-wrap.has-split{
    grid-template-columns:1fr;
  }
}

.req-toolbar{
  margin-bottom:4px;
}

/* 4er-Grid für Status, Suche, Filtern, "Alle schließen" */
.req-filter-grid{
  display:grid;
  gap:8px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}
@media (max-width:720px){
  .req-filter-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

.req-filter-form{
  display:contents;
}
.req-close-form{
  display:flex;
}
.req-close-form .btn{
  width:100%;
}

.req-list{
  display:grid;
  gap:12px;
  margin-top:12px;
}

details.req-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  box-shadow:var(--shadow);
  overflow:hidden;
}
details.req-card[open]{
  border-color:color-mix(in oklab, var(--brand) 60%, var(--border));
}

.req-summary{
  list-style:none;
  padding:10px 14px;
  cursor:pointer;
}
.req-summary::-webkit-details-marker{
  display:none;
}

.req-summary-main{
  width:100%;
}

@media (min-width:700px){
  .req-summary-main{
    display:grid;
    grid-template-columns:auto minmax(0, 1fr);
    column-gap:12px;
    row-gap:4px;
    align-items:flex-start;
  }
}

.req-date{
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size:12px;
  color:var(--muted);
  display:flex;
  flex-direction:column;
  flex-shrink:0;
}

.req-summary-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  min-width:0;
}

.req-brand{
  font-weight:600;
  font-size:15px;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.req-contact-mini{
  font-size:13px;
  color:var(--muted);
  word-break:break-word;
  overflow-wrap:anywhere;
}

.req-domain-line{
  font-size:13px;
  color:var(--muted);
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow-wrap:anywhere;
}

.req-summary-meta{
  margin-top:4px;
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
}
@media (min-width:640px){
  .req-summary-meta{
    margin-left:auto;
    margin-top:0;
  }
}

.pill{
  display:inline-block;
  padding:2px 8px;
  border-radius:999px;
  font-size:12px;
  border:1px solid #2a2f36;
  color:#cbd5e1;
}
.pill.ok{
  border-color:#16a34a;
  color:#86efac;
}

.req-body{
  border-top:1px solid #20232b;
  padding:10px 14px 12px;
  font-size:14px;
}

.req-body-grid{
  display:grid;
  gap:10px;
}
@media (min-width:720px){
  .req-body-grid{
    grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  }
}

.req-label{
  font-size:12px;
  color:var(--muted);
  text-transform:uppercase;
  letter-spacing:.03em;
  margin-bottom:2px;
}

.req-block{
  display:flex;
  flex-direction:column;
  gap:2px;
}

.req-message{
  margin-top:10px;
}
.req-message-text{
  margin-top:2px;
  font-size:13px;
  color:var(--muted);
  white-space:pre-wrap;
}

.req-actions{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

/* ===== Split-Spalte für Tenant-Formular ===== */
.req-split{
  background:var(--card);
  border-radius:var(--radius);
  border:1px solid var(--border);
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:50vh;
  overflow:hidden;
}

.req-split-header{
  padding:10px 14px;
  border-bottom:1px solid var(--border);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}

.req-split-iframe{
  flex:1;
  width:100%;
  border:0;
}

/* Footer unten unter dem Login (z.B. "Noch kein Konto?") */
.login-footer{
  margin-top:auto;
  padding:8px 16px calc(12px + env(safe-area-inset-bottom));
  background:linear-gradient(90deg, #0f1116, #12141a);
  border-top:1px solid var(--border);
  text-align:center;
}

.login-footer .hint{
  margin:0;
  font-size:12px;
}

/* =========================================================
   Premium-Hinweis im Status-Card
   ========================================================= */
.premium-alert{
  margin:8px 0 12px;
  padding:8px 10px;
  border-radius:12px;
  background:rgba(127,29,29,.82);
  border:1px solid rgba(248,113,113,.65);
  color:#fee2e2;
  font-size:.9rem;
  line-height:1.4;
}
.premium-alert strong{
  font-weight:600;
}
.premium-alert small{
  display:block;
  margin-top:4px;
  opacity:.8;
  font-size:.78rem;
}

/* Setup: Passwort-Felder spätestens bei 520px untereinander */
@media (max-width:520px) {
  .pw-row {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
  .pw-row > label {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
}

/* =========================================================
   ACCESS NOTICE / TRIAL / BILLING NOTICE
   ========================================================= */

.admin-notice{
  margin:0 0 0px;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
}

.admin-notice__head{
  display:block;
  margin-bottom:8px;
}

.admin-notice__badge-row{
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}

.admin-notice__title{
  font-size:16px;
  font-weight:700;
  line-height:1.35;
  color:var(--brand);
}

.admin-notice__badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  border:1px solid var(--brand);
  background:rgba(29,185,84,.10);
  color:var(--text);
}

.admin-notice__body p{
  margin:0 0 8px;
}

.admin-notice__body p:last-child{
  margin-bottom:0;
}

.admin-notice__actions{
  margin-top:12px;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
  align-items:stretch;
}

.admin-notice__actions .btn{
  min-width:0;
  width:100%;
  white-space:normal;
  font-size: 13px;
}

.admin-notice__actions > :only-child{
  grid-column:1 / -1;
}

@media (min-width:561px){
  .admin-notice__actions{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }

  @media (max-width:560px){
  .admin-notice__actions .btn{
    font-size:14px;
    line-height:1.25;
    padding:11px 12px;
  }
}

@media (max-width:380px){
  .admin-notice__actions .btn{
    font-size:13px;
    padding:10px 10px;
  }
}

  .admin-notice__actions .btn{
    width:auto;
    min-width:180px;
    white-space:nowrap;
  }

  .admin-notice__actions > :only-child{
    grid-column:auto;
  }
}

.admin-notice--warn{
  border-color:rgba(255,193,7,.35);
  background:rgba(255,193,7,.08);
}

.admin-notice--danger{
  border-color:rgba(255,82,82,.35);
  background:rgba(255,82,82,.09);
}

.admin-notice--success{
  border-color:rgba(29,185,84,.35);
  background:rgba(29,185,84,.09);
}

.admin-notice__countdown{
  font-weight:800;
}

body[data-product-mode="spotify"] .admin-notice--collapsible{
  padding:0;
  overflow:hidden;
}

body[data-product-mode="spotify"] .admin-notice__toggle{
  width:100%;
  min-height:44px;
  padding:10px 14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  border:0;
  background:transparent;
  color:var(--text);
  font:inherit;
  font-size:13px;
  font-weight:750;
  text-align:left;
  cursor:pointer;
}

body[data-product-mode="spotify"] .admin-notice__toggle-title{
  flex:1 1 auto;
  min-width:0;
  color:var(--brand);
  font-size:13px;
  line-height:1.3;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

body[data-product-mode="spotify"] .admin-notice__toggle-action{
  flex:0 0 auto;
  padding:5px 8px;
  border:1px solid rgba(255,255,255,.72);
  border-radius:7px;
  color:#fff;
  font-size:14px;
  font-weight:700;
  line-height:1;
  white-space:nowrap;
}

body[data-product-mode="spotify"] .admin-notice--collapsible .admin-notice__body{
  padding:2px 16px 14px;
}

/* =========================================================
   PURCHASE MODAL
   ========================================================= */

#purchaseOverlay .modal-card{
  width:min(680px, calc(100vw - 24px));
  max-height:calc(100dvh - 24px);
  display:flex;
  flex-direction:column;
}

#purchaseOverlay .modal-body{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;      /* Firefox */
  -ms-overflow-style:none;   /* altes Edge/IE */
}

#purchaseOverlay .modal-body::-webkit-scrollbar{
  width:0;
  height:0;
}

#purchaseForm{
  padding-right:2px;
}

#purchaseOverlay .modal-actions{
  flex-shrink:0;
}

/* =========================================================
   PURCHASE MODAL LAYOUT
   ========================================================= */

.purchase-modal-title{
  margin:0 0 10px;
}

.purchase-modal-hint{
  margin:0 0 14px;
  text-align:left;
}

.purchase-form-grid{
  display:grid;
  gap:12px;
}

.purchase-form-grid--two{
  grid-template-columns:1fr 1fr;
}

.purchase-check{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:10px;
  margin:4px 0 0;
}

.purchase-check > span{
  display:block;
  color:var(--text);
  font-size:14px;
  line-height:1.45;
}

.purchase-check input[type="checkbox"]{
  appearance:auto;
  -webkit-appearance:checkbox;
  width:18px;
  height:18px;
  min-width:18px;
  margin:2px 0 0;
  padding:0;
  border:none;
  border-radius:4px;
  background:transparent;
  box-shadow:none;
  flex:0 0 18px;
}

.purchase-check input[type="checkbox"]:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 35%, transparent);
}

.purchase-modal-actions{
  margin-top:10px;
}

@media (max-width:560px){
  .purchase-form-grid--two{
    grid-template-columns:1fr;
  }
}

.help-contact-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  margin-top:8px;
}

@media (max-width:560px){
  .help-contact-actions{
    grid-template-columns:1fr;
  }
}

.grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))}
    .link-card{display:block;padding:14px;border:1px solid #2a2f36;border-radius:16px;background:#12141a;color:#e5e7eb;text-decoration:none}
    .link-card:hover{border-color:#22c55e}
    .muted{color:#94a3b8}

    .stats-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));margin-top:14px}
    .stat-card{padding:14px;border:1px solid #2a2f36;border-radius:16px;background:#12141a}
    .stat-card strong{display:block;font-size:24px;line-height:1.1;margin-top:6px}

    .tenant-list{display:grid;gap:12px;margin-top:14px}
    .tenant-card{padding:14px;border:1px solid #2a2f36;border-radius:16px;background:#12141a}
    .tenant-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;flex-wrap:wrap}
    .tenant-title{font-weight:700;font-size:18px;line-height:1.2}
    .tenant-host{margin-top:4px;word-break:break-word}
    .tenant-host a{color:#94a3b8;text-decoration:none}
    .tenant-host a:hover{color:#e5e7eb;text-decoration:underline}
    .tenant-meta{display:grid;gap:10px;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));margin-top:14px}
    .tenant-box{padding:10px 12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
    .tenant-box b{display:block;margin-bottom:4px}

    .status-pill{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:13px;font-weight:700;border:1px solid transparent}
    .status-pill.is-inactive{background:rgba(148,163,184,.12);color:#cbd5e1;border-color:rgba(148,163,184,.25)}
    .status-pill.is-active{background:rgba(34,197,94,.12);color:#86efac;border-color:rgba(34,197,94,.25)}
    .status-pill.is-soon{background:rgba(245,158,11,.12);color:#fcd34d;border-color:rgba(245,158,11,.25)}
    .status-pill.is-expired{background:rgba(239,68,68,.12);color:#fca5a5;border-color:rgba(239,68,68,.25)}
    .status-pill.is-purchase{background:rgba(168,85,247,.12);color:#d8b4fe;border-color:rgba(168,85,247,.25)}
    .status-pill.is-invoice{background:rgba(59,130,246,.12);color:#93c5fd;border-color:rgba(59,130,246,.25)}
    .status-pill.is-overdue{background:rgba(249,115,22,.12);color:#fdba74;border-color:rgba(249,115,22,.25)}
    .status-pill.is-suspended{background:rgba(244,63,94,.12);color:#fda4af;border-color:rgba(244,63,94,.25)}
    .status-pill.is-paid{background:rgba(16,185,129,.12);color:#6ee7b7;border-color:rgba(16,185,129,.25)}

    .tenant-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
    .tenant-actions form{margin:0}
    .btn-small{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border-radius:12px;border:1px solid transparent;font-weight:700;cursor:pointer;text-decoration:none}
    .btn-invoice{background:#22c55e;color:#04130a}
    .btn-paid{background:#0f172a;color:#e5e7eb;border-color:#334155}

    .flash{margin:0 0 16px;padding:12px 14px;border-radius:14px;border:1px solid #2a2f36;background:#12141a}
    .flash.ok{border-color:rgba(34,197,94,.35);background:rgba(34,197,94,.08);color:#bbf7d0}
    .flash.err{border-color:rgba(239,68,68,.35);background:rgba(239,68,68,.08);color:#fecaca}

    .tenant-detail-toggle{display:block}
    .tenant-detail-toggle > summary{
      list-style:none;
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:42px;
      padding:0 14px;
      border-radius:12px;
      border:1px solid #334155;
      background:transparent;
      color:#e5e7eb;
      font-weight:700;
      cursor:pointer;
      user-select:none;
    }
    .tenant-detail-toggle > summary::-webkit-details-marker{display:none}
    .tenant-detail-toggle > summary::after{
      content:'▾';
      margin-left:8px;
      color:#94a3b8;
      transition:transform .18s ease;
    }
    .tenant-detail-toggle[open] > summary::after{transform:rotate(180deg)}
    .tenant-detail-body{
      margin-top:12px;
      padding:14px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,.08);
      background:rgba(255,255,255,.02);
    }

    .btn-lexware{background:#7c3aed;color:#ffffff}
    
    .detail-grid{
      display:grid;
      gap:10px;
      grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
    }
    .detail-item{
      padding:10px 12px;
      border-radius:12px;
      background:rgba(255,255,255,.03);
      border:1px solid rgba(255,255,255,.06);
    }
    .detail-item b{display:block;margin-bottom:4px}
    .detail-note{
      margin-top:12px;
      padding:12px 14px;
      border-radius:12px;
      background:rgba(255,255,255,.03);
      border:1px solid rgba(255,255,255,.06);
      color:#cbd5e1;
    }

    /* =========================================================
   HQ AUTH / HQ LOGIN
   ========================================================= */

.admin-auth-body{
  min-height:100vh;
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px 16px;
  background:
    radial-gradient(circle at top, rgba(29,185,84,.08), transparent 34%),
    radial-gradient(circle at bottom, rgba(34,197,94,.05), transparent 28%),
    var(--bg);
}

.admin-auth-wrapper{
  width:min(100%, 460px);
}

.admin-auth-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)),
    var(--card);
  border:1px solid var(--border);
  border-radius:22px;
  padding:24px;
  box-shadow:var(--shadow);
}

.admin-auth-title{
  margin:0 0 18px;
  text-align:center;
  font-size:clamp(24px, 3vw, 30px);
  line-height:1.2;
  letter-spacing:-0.02em;
}

.admin-auth-form{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.admin-auth-label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--muted);
  font-size:14px;
  font-weight:500;
}

.admin-auth-input{
  width:100%;
  min-height:48px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid #28303a;
  background:var(--field);
  color:var(--text);
  font-size:16px;
  transition:border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.admin-auth-input::placeholder{
  color:color-mix(in oklab, var(--muted) 82%, transparent);
}

.admin-auth-input:focus{
  border-color:color-mix(in oklab, var(--brand) 58%, #28303a);
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 20%, transparent);
}

.admin-auth-input:-webkit-autofill,
.admin-auth-input:-webkit-autofill:hover,
.admin-auth-input:-webkit-autofill:focus{
  -webkit-box-shadow:0 0 0 1000px var(--field) inset;
  -webkit-text-fill-color:var(--text);
  transition:background-color 9999s ease-out 0s;
}

.admin-auth-button{
  appearance:none;
  width:100%;
  min-height:50px;
  margin-top:4px;
  border:none;
  border-radius:14px;
  background:var(--brand);
  color:#08110b;
  font-size:15px;
  font-weight:700;
  cursor:pointer;
  transition:transform .06s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow:0 10px 24px rgba(29,185,84,.18);
}

.admin-auth-button:hover{
  filter:brightness(1.03);
}

.admin-auth-button:active{
  transform:translateY(1px);
}

.admin-auth-button:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 3px color-mix(in oklab, var(--brand) 28%, transparent),
    0 10px 24px rgba(29,185,84,.18);
}

.admin-auth-error,
.admin-auth-info{
  margin:0 0 16px;
  padding:12px 14px;
  border-radius:14px;
  font-size:14px;
  line-height:1.45;
  border:1px solid transparent;
}

.admin-auth-error{
  background:rgba(225,29,72,.10);
  border-color:rgba(225,29,72,.32);
  color:#fecdd3;
}

.admin-auth-info{
  background:rgba(34,197,94,.10);
  border-color:rgba(34,197,94,.30);
  color:#bbf7d0;
}

.admin-auth-error > div + div{
  margin-top:6px;
}

.admin-auth-hint{
  margin:2px 0 0;
  text-align:center;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

@media (max-width:520px){
  .admin-auth-body{
    padding:14px;
    align-items:flex-start;
  }

  .admin-auth-card{
    padding:18px 16px;
    border-radius:18px;
  }

  .admin-auth-title{
    margin-bottom:16px;
    font-size:24px;
  }
}

/* =========================================================
   MANUAL REQUESTS OVERLAY
   ========================================================= */
.manual-requests-modal{
  width:min(760px, calc(100vw - 24px));
  max-height:calc(100dvh - 24px);
  display:flex;
  flex-direction:column;
}

.manual-requests-modal__body{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
}

.manual-requests-modal__body::-webkit-scrollbar{
  width:0;
  height:0;
}

.manual-requests-panel{
  position:relative;
  padding:14px 2px 0;
}

/* =========================================================
   MANUAL REQUESTS
   ========================================================= */
.manual-requests-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
  margin-top:12px;
}

.manual-requests-headtext{
  min-width:0;
  flex:1 1 auto;
}

.manual-requests-title{
  display:flex;
  align-items:baseline;
  gap:8px;
  flex-wrap:wrap;
}

.manual-requests-title-count{
  color:var(--muted);
  font-size:.9em;
  font-weight:500;
}

.manual-requests-headactions{
  display:flex;
  align-items:flex-start;
  gap:10px;
  flex:0 0 auto;
  padding-right:48px;
}

.manual-requests-close{
  position:absolute;
  top:0;
  right:0;
  z-index:2;
  flex:0 0 auto;
}

.manual-requests-hint{
  max-width:48ch;
}

.manual-requests-list{
  display:grid;
  gap:10px;
}

.manual-request-item{
  display:grid;
  grid-template-columns:56px minmax(0,1fr) auto;
  gap:12px;
  align-items:center;
  padding:12px;
  border:1px solid #2a2f36;
  border-radius:14px;
  background:#0f1218;
}

.manual-request-coverwrap{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 56px;
}

.manual-request-cover{
  width:56px;
  height:56px;
  border-radius:12px;
  object-fit:cover;
  display:block;
  background:#0b0e14;
  border:1px solid #222834;
  box-shadow:0 6px 18px rgba(0,0,0,.22);
}

.manual-request-cover--placeholder{
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--muted);
  font-size:20px;
}

.manual-request-main{
  min-width:0;
}

.manual-request-title{
  font-weight:700;
  line-height:1.35;
  word-break:break-word;
}

.manual-request-artists{
  margin-top:4px;
  color:var(--muted);
  font-size:14px;
  word-break:break-word;
}

.manual-request-meta{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.4;
}

.manual-request-actions{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

@media (max-width:640px){
  .manual-request-item{
    grid-template-columns:56px minmax(0,1fr);
    align-items:start;
  }

  .manual-request-actions{
    grid-column:1 / -1;
    justify-content:stretch;
    padding-top:4px;
  }

  .manual-request-actions .btn{
    flex:1 1 0;
  }
}

/* =========================================================
   GENRE FILTER / MUSIKFILTER
   ========================================================= */
.genre-fieldset{
  margin:12px 0 0;
  padding:14px;
  border:1px solid #2a2f36;
  border-radius:14px;
  background:#0f1218;
}

.genre-fieldset--card{
  border:none;
  background:transparent;
  padding:0;
  border-radius:0;
}

.genre-fieldset legend{
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  margin-bottom: 12px;
}

.genre-hint{
  margin:0 0 12px;
  text-align:left;
  line-height:1.45;
}

.genre-check-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px;
}

.genre-check{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
  margin:0;
  padding:12px 14px;
  border:1px solid #28303a;
  border-radius:12px;
  background:#121722;
  cursor:pointer;
  transition:border-color .15s ease, background-color .15s ease, transform .06s ease, box-shadow .15s ease;
}

.genre-check:hover{
  border-color:#3a465c;
  background:#151b27;
}

.genre-check:active{
  transform:translateY(1px);
}

.genre-check input[type="checkbox"]{
  appearance:auto;
  -webkit-appearance:checkbox;
  width:18px;
  height:18px;
  min-width:18px;
  margin:0;
  padding:0;
  border:none;
  border-radius:4px;
  background:transparent;
  box-shadow:none;
  accent-color:var(--brand);
  flex:0 0 18px;
}

.genre-check input[type="checkbox"]:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 35%, transparent);
}

.genre-check span{
  min-width:0;
  color:var(--text);
  font-size:15px;
  line-height:1.35;
  word-break:break-word;
}

.genre-check:has(input[type="checkbox"]:checked){
  border-color:rgba(29,185,84,.55);
  background:rgba(29,185,84,.10);
}

.genre-check:has(input[type="checkbox"]:checked) span{
  color:#d7ffe4;
}

@media (max-width:560px){
  .genre-check-grid{
    grid-template-columns:1fr;
    margin-bottom: 14px;
  }
}

@media (max-width:380px){
  .container{
    padding-top:calc(var(--admin-topbar-h, 99px) + 6px);
    padding-inline:6px;
    gap:6px;
  }

  .card{
    padding:13px;
    border-radius:14px;
  }

  .topbar h1{
    font-size:18px;
  }

  h2{
    font-size:16px;
    margin-bottom:10px;
  }

  .admin-notice{
    padding:12px 13px;
  }

  .admin-notice__title{
    font-size:15px;
  }

  .admin-notice__body p{
    font-size:13px;
    line-height:1.4;
  }

  .field > span,
  .label,
  .hint,
  .genre-fieldset legend,
  .manual-request-meta,
  .topbar-counter{
    font-size:12px;
  }

  .manual-request-title{
    font-size:14px;
    line-height:1.3;
  }

  .manual-request-artists,
  .genre-check span{
    font-size:13px;
  }

  .btn{
    padding:11px 14px;
  }

  .btn-xs{
    min-height:34px;
    padding:7px 9px;
    font-size:12px;
  }

  .seg-toggle__item{
    min-height:40px;
    padding:9px 10px;
    font-size:13px;
  }

  .nowplaying{
    gap:10px;
    padding:9px;
  }

  .np-cover{
    width:64px;
    height:64px;
  }

  .np-title{
    font-size:15px;
  }

  .np-artists{
    font-size:12px;
  }

  .badge{
    font-size:12px;
    padding:5px 9px;
  }

  .manual-request-item{
    padding:10px;
    gap:10px;
  }

  .manual-request-coverwrap,
  .manual-request-cover{
    width:50px;
    height:50px;
  }
}

/* =========================================================
   QR MODAL POLISH
   ========================================================= */

#qrOverlay .modal-card{
  width:min(480px, calc(100vw - 24px));
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01)),
    var(--card);
  box-shadow:0 24px 60px rgba(0,0,0,.45);
}

#qrOverlay .modal-body{
  padding:0;
}

.qr-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.qr-modal-headtext{
  min-width:0;
}

.qr-modal-title{
  margin:0;
  font-size:clamp(22px, 4vw, 26px);
  line-height:1.15;
  letter-spacing:-0.02em;
}

.qr-modal-subtitle{
  margin:6px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
}

.modal-icon-close{
  appearance:none;
  border:1px solid #16a34a;
  background:rgba(255,255,255,.04);
  color:#fff;
  width:32px;
  height:32px;
  min-width:32px;
  border-radius:999px;
  align-items:center;
  cursor:pointer;
  padding:0;
  transition:
    background-color .15s ease,
    border-color .15s ease,
    color .15s ease,
    transform .06s ease;
}

.modal-icon-close span{
  font-size:18px;
  line-height:1;
  transform:translateY(-1px);
}

.modal-icon-close:hover{
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.14);
  color:var(--text);
}

.modal-icon-close:active{
  transform:translateY(1px);
}

.modal-icon-close:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px color-mix(in oklab, var(--brand) 32%, transparent);
}

#qrOverlay .qr-wrap{
  margin-top:0;
  gap:14px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(180deg, rgba(13,18,28,.96), rgba(9,12,18,.98));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03);
}

.qr-image-frame{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px;
  border-radius:18px;
  background:#07090d;
  border:1px solid rgba(255,255,255,.05);
}

#qrOverlay .qr-img{
  width:min(250px, 68vw);
  height:auto;
  border-radius:14px;
  box-shadow:0 14px 32px rgba(0,0,0,.32);
}

#qrOverlay .qr-link{
  width:100%;
  margin:0;
  padding:12px 14px;
  border-radius:14px;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.06);
  text-align:center;
  font-size:14px;
}

#qrOverlay .qr-link a{
  display:inline-block;
  max-width:100%;
  color:var(--text);
  text-decoration:none;
  font-weight:600;
  border-bottom:none;
  overflow-wrap:anywhere;
  word-break:break-word;
}

#qrOverlay .qr-link a:hover{
  text-decoration:underline;
}

#qrOverlay .qr-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  width:100%;
  margin-top:2px;
}

#qrOverlay .qr-actions .btn{
  width:100%;
  min-height:48px;
  border-radius:14px;
  font-weight:700;
}

@media (max-width:420px){
  #qrOverlay .modal-card{
    width:min(100vw - 16px, 480px);
    padding:14px;
  }

  #qrOverlay .qr-wrap{
    padding:14px;
  }

  #qrOverlay .qr-actions{
    grid-template-columns:1fr;
  }

  .qr-modal-title{
    font-size:22px;
  }
}

/* =========================================================
   BRANDING / EINSTELLUNGEN
   ========================================================= */
.branding-preview-card{
  position:relative;
  display:grid;
  grid-template-columns:84px minmax(0,1fr);
  gap:12px;
  align-items:center;
  padding:12px;
  padding-right:48px;
  border:1px solid #2a2f36;
  border-radius:14px;
  background:#0f1218;
  margin:10px 0 12px;
}

.branding-preview-card__media{
  width:84px;
  height:84px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  background:#0b0e14;
  border:1px solid #222834;
  overflow:hidden;
}

.branding-logo-preview{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  background:#0b0e14;
}

.branding-preview-card__meta{
  min-width:0;
}

.branding-preview-card__title{
  font-weight:700;
  font-size:15px;
  line-height:1.3;
  margin-bottom:4px;
  color: #16a34a;
}

.branding-preview-card__text{
  color:var(--muted);
  font-size:13px;
  line-height:1.45;
  word-break:break-word;
  overflow-wrap:anywhere;
}

#brandingForm textarea{
  min-height:96px;
  resize:vertical;
}

@media (max-width:520px){
  .branding-preview-card{
    grid-template-columns:1fr;
    justify-items:center;
    text-align:center;
  }

  .branding-preview-card__meta{
    width:100%;
  }
}

.branding-logo-reset{
  position:absolute;
  top:10px;
  right:10px;
  z-index:2;
  width:30px;
  height:30px;
  min-width:30px;
  border:none;
  border-radius:999px;
  background:rgba(225,29,72,.92);
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 6px 16px rgba(0,0,0,.28);
  transition:transform .06s ease, filter .15s ease, background-color .15s ease;
}

.branding-logo-reset:hover{
  filter:brightness(1.04);
}

.branding-logo-reset:active{
  transform:translateY(1px);
}

.branding-logo-reset[hidden]{
  display:none !important;
}

/* =========================================================
   GUEST TOOL MANAGER / EVENTS
   ========================================================= */

#qrOverlay .guesttool-manager-modal{
  width:min(980px, calc(100vw - 24px));
  max-height:calc(100dvh - 24px);
  display:flex;
  flex-direction:column;
}

#qrOverlay .guesttool-manager-modal .modal-body{
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;
  -ms-overflow-style:none;
  min-width:0;
}

#qrOverlay .guesttool-manager-modal .modal-body::-webkit-scrollbar{
  width:0;
  height:0;
}

#qrOverlay .guesttool-manager{
  min-width:0;
}

#qrOverlay .guesttool-manager-grid{
  min-width:0;
}

#qrOverlay .guesttool-manager-col{
  min-width:0;
}

#qrOverlay .guesttool-panel{
  min-width:0;
}

@media (max-width:560px){
  #qrOverlay .guesttool-manager-modal{
    width:calc(100vw - 16px);
    max-height:calc(100dvh - 16px);
    padding:12px;
  }

  #qrOverlay .guesttool-manager-grid{
    gap:12px;
  }

  #qrOverlay .guesttool-panel{
    padding:12px;
  }
}

@media (max-width:420px){
  #qrOverlay .guesttool-manager-modal{
    width:calc(100vw - 12px);
    max-height:calc(100dvh - 12px);
    padding:10px;
  }

  #qrOverlay .guesttool-panel{
    padding:10px;
    border-radius:14px;
  }

  #qrOverlay .guesttool-active-card,
  #qrOverlay .guesttool-event-item{
    padding:10px;
  }
}

.guesttool-manager-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  margin-top:4px;
}

.guesttool-manager-col{
  display:grid;
  gap:14px;
  align-content:start;
}

.guesttool-panel{
  padding:14px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:16px;
  background:rgba(255,255,255,.02);
}

.guesttool-panel h3{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.3;
}

.guesttool-panel.card-collapsible .card-header h3{
  margin:0;
  font-size:16px;
  line-height:1.3;
}

.guesttool-panel.card-collapsible .card-body{
  margin-top:12px;
}

.guesttool-panel-toggle-head{
  align-items:center;
}

.guesttool-panel-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:0px;
}

.guesttool-active-card{
  padding:12px;
  border-radius:14px;
  border:1px solid #2a2f36;
  background:#0f1218;
}

.guesttool-active-title{
  font-weight:700;
  font-size:15px;
  line-height:1.35;
}

.guesttool-active-meta{
  margin-top:8px;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
  word-break:break-word;
  overflow-wrap:anywhere;
}

.guesttool-active-line + .guesttool-active-line{
  margin-top:6px;
}

.guesttool-active-meta a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px dotted #3a465c;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.guesttool-active-meta a:hover{
  text-decoration:underline;
}

.guesttool-create-form .hint{
  margin-bottom:0;
}

.guesttool-event-list{
  display:grid;
  gap:10px;
}

.guesttool-event-item{
  align-items:center;
  padding:12px;
  border:1px solid #2a2f36;
  border-radius:14px;
  background:#0f1218;
}

.guesttool-event-item[data-status="active"]{
  border-color:rgba(29,185,84,.7);
  box-shadow:inset 0 0 0 1px rgba(29,185,84,.18);
}

.guesttool-event-main{
  min-width:0;
}

.guesttool-event-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
}

.guesttool-event-title{
  font-weight:700;
  line-height:1.35;
  word-break:break-word;
}

.guesttool-event-slug{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  font-family:ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break:break-all;
}

.guesttool-event-meta{
  margin-top:6px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.guesttool-event-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex-wrap:wrap;
  margin-top: 12px;
}

.guesttool-share-empty{
  width:100%;
  max-width:260px;
  color:var(--muted);
  font-size:14px;
  line-height:1.5;
  text-align:center;
}

@media (max-width:860px){
  .guesttool-manager-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width:560px){
  .guesttool-event-item{
    grid-template-columns:1fr;
    align-items:start;
  }

  .guesttool-event-actions{
    justify-content:stretch;
  }

  .guesttool-event-actions .btn{
    width:100%;
  }
}

/* =========================================================
   GUESTTOOL TOPBAR STATUS
   ========================================================= */

#btnQrOpen.guesttool-topbar-btn{
  white-space:normal;
  text-align:center;
  gap:8px;
  flex-wrap:wrap;
}

.guesttool-topbar-label{
  font-weight:600;
}

.guesttool-topbar-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  padding:3px 8px;
  border-radius:999px;
  font-size:11px;
  font-weight:700;
  line-height:1;
  border:1px solid transparent;
}

.guesttool-topbar-badge.is-active{
  background:rgba(34,197,94,.16);
  border-color:rgba(34,197,94,.42);
  color:#bbf7d0;
}

.guesttool-topbar-badge.is-inactive{
  border-color:rgba(245,158,11,.40);
  color:#fde68a;
}

/* =========================================================
   GUEST TOOL MANAGER – CURRENT PANEL
   ========================================================= */

.guesttool-manager{
  display:grid;
  gap:14px;
}

.guesttool-current-actions{
  width:100%;
}

.guesttool-current-actions .btn{
  width:100%;
}

.guesttool-panel--current{
  padding:16px;
}

.guesttool-current-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  margin-bottom:12px;
}

.guesttool-current-headtext{
  min-width:0;
}

.guesttool-current-kicker{
  margin-bottom:6px;
  color:var(--muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:.03em;
  text-transform:uppercase;
}

.guesttool-current-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.05fr) minmax(300px, .95fr);
  gap:14px;
  align-items:start;
}

.guesttool-current-info,
.guesttool-current-share{
  min-width:0;
}

#qrOverlay .guesttool-current-share #shareCard{
  margin-top:0;
}

#qrOverlay .guesttool-manager-grid{
  grid-template-columns:1fr;
  gap:14px;
}

@media (max-width:860px){
  .guesttool-current-grid,
  #qrOverlay .guesttool-manager-grid{
    grid-template-columns:1fr;
  }
}

.guesttool-event-link{
  margin-top:6px;
  font-size:12px;
  line-height:1.45;
  word-break:break-all;
  overflow-wrap:anywhere;
}

.guesttool-event-link a{
  color:var(--text);
  text-decoration:none;
  border-bottom:1px dotted #3a465c;
}

.guesttool-event-link a:hover{
  text-decoration:underline;
}

.dj-admin-menu-panel{
  position:fixed;
  z-index:1100;
  top:var(--admin-topbar-h, 72px);
  left:0;
  right:0;
  width:auto;
  max-height:calc(100dvh - var(--admin-topbar-h, 72px) - 12px - env(safe-area-inset-bottom));
  overflow:auto;
  display:grid;
  gap:8px;
  padding:12px calc(14px + env(safe-area-inset-right)) 14px calc(14px + env(safe-area-inset-left));
  border-radius:0;
  border:0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,20,.985);
  box-shadow:0 20px 42px rgba(0,0,0,.46);
}

.dj-admin-menu-panel[hidden]{
  display:none !important;
}

.dj-admin-menu-panel .card{
  margin:0;
  box-shadow:none;
}

.dj-admin-menu-toggle.btn,
.dj-admin-menu-toggle.btn.outline,
.dj-admin-menu-toggle.btn-xs{
  border-color:transparent;
  background:transparent;
  box-shadow:none;
  transform:translateY(-50%);
}

.dj-admin-menu-toggle.btn:hover,
.dj-admin-menu-toggle.btn:focus-visible,
.dj-admin-menu-toggle.btn:active,
.dj-admin-menu-toggle.btn[aria-expanded="true"]{
  border-color:transparent;
  background:rgba(255,255,255,.07);
  box-shadow:none;
  transform:translateY(-50%);
}

#btnQrOpen.dj-event-fab{
  position:fixed;
  z-index:950;
  left:50%;
  bottom:calc(18px + env(safe-area-inset-bottom));
  transform:translateX(-50%);
  width:min(360px, calc(100vw - 42px - env(safe-area-inset-left) - env(safe-area-inset-right)));
  min-height:50px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:16px;
  border:1px solid rgba(34,197,94,.52);
  background:#14532d;
  color:#fff;
  font-weight:850;
  box-shadow:0 16px 36px rgba(0,0,0,.56);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

#btnQrOpen.dj-event-fab:active{
  transform:translateX(-50%);
}

/* =========================================================
   DJ WISHES
   ========================================================= */

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

.dj-wishes-screen{
  overflow:visible;
  border-color:rgba(255,255,255,.08);
  background:rgba(18,20,26,.72);
  box-shadow:0 12px 30px rgba(0,0,0,.28);
}

.dj-wishes-head h2{
  margin-bottom:6px;
}

#djWishesCount{
  flex:0 0 auto;
  min-width:max-content;
  white-space:nowrap;
  text-align:center;
}

.dj-wishes-tabs{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:6px;
  margin:0 0 12px;
}

.dj-wishes-scope-hint{
  margin:-4px 0 12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.45;
}

.dj-wishes-tab{
  min-width:0;
  min-height:34px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
  cursor:pointer;
}

.dj-wishes-tab.is-active{
  border-color:rgba(34,197,94,.58);
  background:rgba(34,197,94,.16);
  color:#dcfce7;
}

.dj-wishes-list{
  display:grid;
  gap:10px;
}

.dj-wishes-error{
  margin:0 0 12px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(251,191,36,.38);
  background:rgba(251,191,36,.10);
  color:#fde68a;
  font-size:13px;
  font-weight:700;
  line-height:1.4;
  text-align:left;
}

.dj-wishes-empty{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:10px;
}

.dj-wishes-empty-title{
  display:block;
  color:rgba(248,250,252,.92);
  font-size:14px;
  line-height:1.35;
}

.dj-wishes-empty-body{
  display:block;
}

.dj-wishes-empty-action{
  width:auto;
}

.dj-wish-item{
  display:flex;
  flex-direction:column;
  gap:11px;
  padding:14px 14px 14px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.075);
  border-left:3px solid rgba(34,197,94,.48);
  background:rgba(10,12,17,.78);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 20px rgba(0,0,0,.20);
  overflow:hidden;
}

.dj-wishes-screen:has([data-dj-wish-status="accepted"].is-active) .dj-wish-item{
  border-color:rgba(255,255,255,.075);
  border-left-color:rgba(148,163,184,.42);
}

.dj-wishes-screen:has([data-dj-wish-status="rejected"].is-active) .dj-wish-item{
  border-color:rgba(255,255,255,.075);
  border-left-color:rgba(225,29,72,.42);
}

.dj-wish-content{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.dj-wish-song{
  display:grid;
  grid-template-columns:72px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-width:0;
}

.dj-wish-cover{
  width:72px;
  min-width:72px;
}

.dj-wish-cover .manual-request-cover,
.dj-wish-cover .manual-request-cover--placeholder{
  width:72px;
  height:72px;
  border-radius:15px;
  object-fit:cover;
  background:#0b0e14;
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 22px rgba(0,0,0,.26);
}

.dj-wish-songtext{
  min-width:0;
}

.dj-wish-artist{
  margin-top:5px;
  color:var(--muted);
  font-size:14px;
  font-weight:650;
  line-height:1.3;
  word-break:break-word;
  overflow-wrap:anywhere;

  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.dj-wish-title{
  color:#fff;
  font-size:16px;
  font-weight:650;
  line-height:1.28;
  word-break:break-word;
  overflow-wrap:anywhere;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.dj-wish-meta{
  margin-top:8px;
  color:rgba(255,255,255,.48);
  font-size:12px;
  line-height:1.35;
}

.dj-wish-note{
  padding:10px 11px;
  border-radius:12px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.055);
}

.dj-wish-note-title{
  color:#86efac;
  font-size:14px;
  font-weight:650;
  line-height:1.25;
  margin-left: 5px;
}

.dj-wish-note-text{
  margin-top:6px;
  color:var(--muted);
  font-size:15px;
  font-weight:500;
  line-height:1.45;
  white-space:pre-wrap;
  word-break:break-word;
  overflow-wrap:anywhere;
  margin-left: 5px;
}

.dj-wish-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.05);
}

.dj-wish-actions .btn{
  width:100%;
  min-height:42px;
  border-radius:13px;
  font-size:14px;
  font-weight:800;
}

.dj-wish-actions .btn.primary{
  background:rgba(20,83,45,.82);
  border-color:rgba(34,197,94,.46);
  color:#fff;
}

.dj-wish-actions .btn.danger{
  background:rgba(88,16,32,.82);
  border-color:rgba(225,29,72,.46);
  color:#fff;
}

@media (hover:hover){
  .dj-wish-item:hover{
    border-color:rgba(255,255,255,.10);
    border-left-color:rgba(34,197,94,.58);
  }

  .dj-wish-actions .btn.primary:hover{
    background:rgba(20,83,45,.92);
  }

  .dj-wish-actions .btn.danger:hover{
    background:rgba(88,16,32,.92);
  }
}

@media (max-width:640px){
  .dj-wishes-head{
    align-items:stretch;
  }

  #djWishesCount{
    align-self:flex-start;
  }

  .dj-wish-item{
    padding:13px 13px 13px 15px;
    border-radius:14px;
  }

  .dj-wish-song{
    grid-template-columns:64px minmax(0,1fr);
    gap:11px;
    align-items:start;
  }

  .dj-wish-cover{
    width:64px;
    min-width:64px;
  }

  .dj-wish-cover .manual-request-cover,
  .dj-wish-cover .manual-request-cover--placeholder{
    width:64px;
    height:64px;
    border-radius:13px;
  }

  .dj-wish-artist{
    font-size:13px;
  }

  .dj-wish-title{
    font-size:16px;
  }

  .dj-wish-note{
    padding:10px 11px;
  }

  .dj-wish-actions{
    gap:8px;
  }
}

@media (max-width:360px){
  .dj-wish-song{
    grid-template-columns:58px minmax(0,1fr);
  }

  .dj-wish-cover{
    width:58px;
    min-width:58px;
  }

  .dj-wish-cover .manual-request-cover,
  .dj-wish-cover .manual-request-cover--placeholder{
    width:58px;
    height:58px;
  }

  .dj-wish-actions{
    grid-template-columns:1fr 1fr;
  }
}


/* Spotify status card lite */
body[data-product-mode="spotify"] .spotify-status-card{
  display:grid;
  gap:12px;
}

body[data-product-mode="spotify"] .spotify-status-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:2px;
}

body[data-product-mode="spotify"] .spotify-status-head h2{
  margin:0;
}

body[data-product-mode="spotify"] .spotify-status-pill{
  flex:0 1 auto;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  max-width:min(76%, 280px);
  min-height:30px;
  padding:6px 10px;
  border-radius:8px;
  border:1px solid rgba(245,158,11,.38);
  background:rgba(245,158,11,.12);
  color:#fde68a;
  font-size:11px;
  font-weight:760;
  white-space:normal;
  text-align:center;
  line-height:1.15;
  overflow:hidden;
  text-overflow:ellipsis;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.025);
}

body[data-product-mode="spotify"] .spotify-status-pill.is-action{
  cursor:pointer;
}

body[data-product-mode="spotify"] .spotify-status-pill.is-action:focus-visible{
  outline:2px solid rgba(29,185,84,.75);
  outline-offset:2px;
}

body[data-product-mode="spotify"] .spotify-status-pill.is-ok{
  border-color:rgba(34,197,94,.52);
  background:rgba(34,197,94,.18);
  color:#bbf7d0;
}

body[data-product-mode="spotify"] .spotify-status-pill.is-err{
  border-color:rgba(225,29,72,.40);
  background:rgba(225,29,72,.13);
  color:#ffe4e6;
}

body[data-product-mode="spotify"] .spotify-nowplaying-label{
  margin:0 0 -5px;
  color:var(--brand);
  font-size:12px;
  font-weight:650;
}

body[data-product-mode="spotify"] .spotify-status-card .nowplaying.is-no-device{
  border-color:rgba(225,29,72,.68);
  box-shadow:inset 0 0 0 1px rgba(225,29,72,.12);
}

body[data-product-mode="spotify"] .spotify-status-card .nowplaying.is-paused{
  border-color:rgba(245,158,11,.68);
  box-shadow:inset 0 0 0 1px rgba(245,158,11,.10);
}

body[data-product-mode="spotify"] .spotify-status-card .np-state-label.is-paused{
  color:#fb7185;
  font-weight:750;
}

body[data-product-mode="spotify"] .spotify-status-dashboard{
  width:min(100%, 320px);
  margin:-2px auto 0;
  display:grid;
  gap:14px;
}

body[data-product-mode="spotify"] .spotify-status-group{
  display:grid;
  gap:1px;
  min-width:0;
  padding-bottom:10px;
}

body[data-product-mode="spotify"] .spotify-status-group + .spotify-status-group{
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,.07);
}

body[data-product-mode="spotify"] .spotify-status-group h3{
  margin:0;
  color:rgba(226,232,240,.92);
  font-size:14px;
  font-weight:750;
  text-align:center;
}

body[data-product-mode="spotify"] .spotify-status-metrics{
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:6px;
  align-items:start;
}

body[data-product-mode="spotify"] .spotify-status-metric{
  min-width:0;
  display:grid;
  justify-items:center;
  gap:4px;
  text-align:center;
}

body[data-product-mode="spotify"] .spotify-status-metric .label{
  min-height:28px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  color:var(--muted);
  font-size:12px;
  line-height:1.2;
}

body[data-product-mode="spotify"] .spotify-status-metric .badge{
  display:block;
  max-width:100%;
  min-height:auto;
  padding:4px 6px;
  border-radius:5px;
  border-color:rgba(29,185,84,.28);
  background:rgba(29,185,84,.07);
  color:#d1fae5;
  font-size:12px;
  font-weight:650;
  line-height:1.2;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

body[data-product-mode="spotify"] .spotify-status-metric .badge.warn{
  border-color:rgba(245,158,11,.34);
  background:rgba(245,158,11,.08);
  color:#fde68a;
}

body[data-product-mode="spotify"] .spotify-status-metric .badge.err{
  border-color:rgba(225,29,72,.35);
  background:rgba(225,29,72,.09);
  color:#ffe4e6;
}

body[data-product-mode="spotify"] .spotify-rules-link{
  justify-self:center;
  width:max-content;
  max-width:100%;
  margin:20px 0 0;
  padding:5px 9px;
  border:1px solid rgba(29,185,84,.32);
  border-radius:7px;
  background:rgba(29,185,84,.06);
  color:var(--brand);
  font:inherit;
  font-size:14px;
  font-weight:700;
  text-align:center;
  cursor:pointer;
}

body[data-product-mode="spotify"] .spotify-rules-link:hover,
body[data-product-mode="spotify"] .spotify-rules-link:focus-visible{
  text-decoration:underline;
}

body[data-product-mode="spotify"] .spotify-status-metric[hidden]{
  display:none;
}

body[data-product-mode="spotify"] .spotify-connect-row{
  margin-top:0;
}

@media (max-width:430px){
  body[data-product-mode="spotify"] .spotify-status-card{
    gap:10px;
  }

  body[data-product-mode="spotify"] .spotify-status-dashboard{
    gap:12px;
  }
}

@media (max-width:319px){
  body[data-product-mode="spotify"] .spotify-status-metrics{
    grid-template-columns:1fr;
    gap:8px;
  }

  body[data-product-mode="spotify"] .spotify-status-metric .label{
    min-height:0;
  }
}

/* Spotify admin shell refinement */
body[data-product-mode="spotify"] .spotify-admin-menu-toggle,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle.btn,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle.btn.outline,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle.btn-xs{
  position:absolute;
  left:0;
  top:50%;
  transform:translateY(-50%);
  width:46px;
  height:46px;
  padding:0;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:14px;
  border-color:transparent;
  background:rgba(255,255,255,.035);
  box-shadow:none;
  color:#f8fafc;
  font-size:24px;
  line-height:1;
  transition:background .14s ease, border-color .14s ease;
}

body[data-product-mode="spotify"] .spotify-menu-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
  line-height:1;
}

body[data-product-mode="spotify"] .spotify-menu-icon--close{
  display:none;
  font-size:30px;
  font-weight:560;
}

body[data-product-mode="spotify"] .spotify-admin-menu-toggle[aria-expanded="true"] .spotify-menu-icon--gear{
  display:none;
}

body[data-product-mode="spotify"] .spotify-admin-menu-toggle[aria-expanded="true"] .spotify-menu-icon--close{
  display:inline-flex;
}

body[data-product-mode="spotify"] .spotify-admin-menu-toggle:hover,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle:focus-visible,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle:active,
body[data-product-mode="spotify"] .spotify-admin-menu-toggle[aria-expanded="true"]{
  border-color:transparent;
  background:rgba(255,255,255,.075);
  box-shadow:none;
  transform:translateY(-50%);
}

body[data-product-mode="spotify"] .container{
  padding-bottom:calc(104px + env(safe-area-inset-bottom));
}

body[data-product-mode="spotify"] .spotify-admin-menu-panel{
  position:fixed;
  z-index:1100;
  top:var(--admin-topbar-h, 72px);
  left:0;
  right:0;
  width:auto;
  max-height:calc(100dvh - var(--admin-topbar-h, 72px) - 12px - env(safe-area-inset-bottom));
  overflow:auto;
  display:grid;
  gap:8px;
  padding:12px calc(14px + env(safe-area-inset-right)) 14px calc(14px + env(safe-area-inset-left));
  border-radius:0;
  border:0;
  border-top:1px solid rgba(255,255,255,.06);
  border-bottom:1px solid rgba(255,255,255,.10);
  background:rgba(12,14,20,.985);
  box-shadow:0 20px 42px rgba(0,0,0,.46);
}

body[data-product-mode="spotify"] .spotify-admin-menu-panel[hidden]{
  display:none !important;
}

body[data-product-mode="spotify"] .spotify-admin-menu-panel .card{
  margin:0;
  box-shadow:none;
}

body[data-product-mode="spotify"] .spotify-bottom-action-bar{
  position:fixed;
  z-index:940;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  justify-content:center;
  padding:10px calc(16px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  border-top:1px solid rgba(255,255,255,.035);
  background:var(--bg);
  box-shadow:0 -6px 14px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

body[data-product-mode="spotify"] .spotify-bottom-action-bar #btnQrOpen.spotify-event-fab{
  position:static;
  left:auto;
  bottom:auto;
  transform:none;
  width:min(390px, 100%);
  min-height:46px;
  padding-inline:14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px;
  border:1px solid rgba(34,197,94,.42);
  background:#14532d5c;
  color:#fff;
  font-size:14px;
  font-weight:780;
  box-shadow:none;
}

body[data-product-mode="spotify"] .spotify-bottom-action-bar #btnQrOpen.spotify-event-fab:active{
  transform:none;
}

body[data-product-mode="spotify"] .spotify-bottom-action-bar #btnQrOpen.spotify-event-fab .guesttool-topbar-badge{
  background:rgba(255,255,255,.10);
}

@media (min-width:700px){
  body[data-product-mode="spotify"] .spotify-admin-menu-panel{
    left:50%;
    right:auto;
    width:min(560px, calc(100vw - 28px));
    max-width:560px;
    transform:translateX(-50%);
    border-radius:0 0 18px 18px;
  }

  body[data-product-mode="spotify"] .spotify-bottom-action-bar #btnQrOpen.spotify-event-fab{
    width:min(420px, 100%);
  }
}
/* DJ app shell refinement */
body[data-product-mode="dj"]{
  background:var(--bg);
}

body[data-product-mode="dj"] .topbar{
  padding:8px calc(14px + env(safe-area-inset-right)) 9px calc(14px + env(safe-area-inset-left));
  gap:0;
  background:rgba(11,12,16,.98);
  border-bottom:1px solid rgba(255,255,255,.06);
  box-shadow:0 10px 28px rgba(0,0,0,.28);
}

body[data-product-mode="dj"] .topbar-head{
  min-height:50px;
  max-width:440px;
  padding-inline:66px;
}

body[data-product-mode="dj"] .topbar h1{
  font-size:18px;
  font-weight:760;
  letter-spacing:0;
}

body[data-product-mode="dj"] #btnLogout{
  min-height:34px;
  padding:7px 12px;
  border-radius:12px;
  font-size:12px;
}

body[data-product-mode="dj"] .dj-admin-menu-toggle,
body[data-product-mode="dj"] .dj-admin-menu-toggle.btn,
body[data-product-mode="dj"] .dj-admin-menu-toggle.btn.outline,
body[data-product-mode="dj"] .dj-admin-menu-toggle.btn-xs{
  width:46px;
  height:46px;
  border-radius:14px;
  border-color:transparent;
  background:rgba(255,255,255,.035);
  box-shadow:none;
  color:#f8fafc;
  font-size:24px;
  transform:translateY(-50%);
}

body[data-product-mode="dj"] .dj-menu-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:1em;
  height:1em;
  line-height:1;
}

body[data-product-mode="dj"] .dj-menu-icon--close{
  display:none;
  font-size:30px;
  font-weight:560;
}

body[data-product-mode="dj"] .dj-admin-menu-toggle[aria-expanded="true"] .dj-menu-icon--gear{
  display:none;
}

body[data-product-mode="dj"] .dj-admin-menu-toggle[aria-expanded="true"] .dj-menu-icon--close{
  display:inline-flex;
}

body[data-product-mode="dj"] .dj-admin-menu-toggle:hover,
body[data-product-mode="dj"] .dj-admin-menu-toggle:focus-visible,
body[data-product-mode="dj"] .dj-admin-menu-toggle:active,
body[data-product-mode="dj"] .dj-admin-menu-toggle[aria-expanded="true"]{
  border-color:transparent;
  background:rgba(255,255,255,.075);
  box-shadow:none;
  transform:translateY(-50%);
}

body[data-product-mode="dj"] .container{
  width:100%;
  max-width:440px;
  min-height:calc(100dvh - var(--admin-topbar-h, 68px));
  padding:calc(var(--admin-topbar-h, 68px) + 8px) 14px calc(104px + env(safe-area-inset-bottom));
  gap:0;
}

body[data-product-mode="dj"] .dj-wishes-screen{
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  overflow:visible;
}

body[data-product-mode="dj"] .dj-wishes-tabs{
  position:sticky;
  top:calc(var(--admin-topbar-h, 68px) + 8px);
  z-index:930;
  display:grid;
  grid-template-columns:repeat(3, minmax(0, 1fr));
  gap:6px;
  margin:0 0 12px;
  padding:4px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(14,17,24,.96);
  box-shadow:0 10px 24px rgba(0,0,0,.24);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

body[data-product-mode="dj"] .dj-wishes-scope-hint{
  margin:-4px 2px 8px;
  color:rgba(203,213,225,.66);
  font-size:12px;
  text-align:center;
}

body[data-product-mode="dj"] .dj-wishes-tab{
  min-width:0;
  min-height:38px;
  padding:8px 8px;
  border-radius:13px;
  border:1px solid transparent;
  background:transparent;
  color:rgba(203,213,225,.76);
  font-size:12px;
  font-weight:730;
  line-height:1.05;
}

body[data-product-mode="dj"] .dj-wishes-tab.is-active{
  border-color:rgba(34,197,94,.25);
  background:rgba(34,197,94,.13);
  color:#f8fafc;
}

body[data-product-mode="dj"] .dj-tab-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  white-space:nowrap;
}

body[data-product-mode="dj"] .dj-wishes-list{
  display:grid;
  gap:10px;
}

body[data-product-mode="dj"] .dj-wishes-empty{
  margin-top:14px !important;
  padding:16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.07);
  background:rgba(255,255,255,.035);
  color:rgba(226,232,240,.80);
  line-height:1.45;
}

body[data-product-mode="dj"] #djWishesEmpty[hidden],
body[data-product-mode="dj"] .dj-wishes-empty[hidden]{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}

body[data-product-mode="dj"] .dj-wishes-error{
  margin:0 0 12px;
  border-radius:14px;
}

body[data-product-mode="dj"] .dj-wish-item{
  position:relative;
  gap:10px;
  padding:14px 13px 13px 15px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.075);
  border-left:3px solid rgba(34,197,94,.38);
  background:rgba(11,13,19,.82);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.025),
    0 8px 20px rgba(0,0,0,.18);
  overflow:hidden;
}

body[data-product-mode="dj"] .dj-wish-item::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:2px;
  background:rgba(34,197,94,.42);
}

body[data-product-mode="dj"] .dj-wish-item--accepted{
  border-left-color:rgba(34,197,94,.28);
}

body[data-product-mode="dj"] .dj-wishes-screen .dj-wish-item.dj-wish-item--accepted{
  border-left-color:rgba(34,197,94,.28);
}

body[data-product-mode="dj"] .dj-wish-item--accepted::before{
  background:rgba(34,197,94,.24);
}

body[data-product-mode="dj"] .dj-wish-item--rejected{
  border-left-color:rgba(225,29,72,.34);
}

body[data-product-mode="dj"] .dj-wishes-screen .dj-wish-item.dj-wish-item--rejected{
  border-left-color:rgba(225,29,72,.34);
}

body[data-product-mode="dj"] .dj-wish-item--rejected::before{
  background:rgba(225,29,72,.26);
}

body[data-product-mode="dj"] .dj-wish-song{
  grid-template-columns:58px minmax(0, 1fr);
  gap:11px;
  align-items:start;
}

body[data-product-mode="dj"] .dj-wish-cover{
  width:58px;
  min-width:58px;
}

body[data-product-mode="dj"] .dj-wish-cover .manual-request-cover,
body[data-product-mode="dj"] .dj-wish-cover .manual-request-cover--placeholder{
  width:58px;
  height:58px;
  border-radius:12px;
  box-shadow:0 8px 18px rgba(0,0,0,.24);
}

body[data-product-mode="dj"] .dj-wish-title{
  font-size:15px;
  font-weight:680;
  line-height:1.25;
}

body[data-product-mode="dj"] .dj-wish-artist{
  margin-top:4px;
  font-size:13px;
  font-weight:620;
}

body[data-product-mode="dj"] .dj-wish-meta{
  margin-top:7px;
  color:rgba(148,163,184,.80);
  font-size:12px;
}

body[data-product-mode="dj"] .dj-wish-meta-line + .dj-wish-meta-line{
  margin-top:2px;
}

body[data-product-mode="dj"] .dj-wish-note{
  padding:8px 0 0;
  border:0;
  border-radius:0;
  background:transparent;
}

body[data-product-mode="dj"] .dj-wish-note-title{
  margin-left:0;
  font-size:13px;
  font-weight:690;
}

body[data-product-mode="dj"] .dj-wish-note-text{
  margin:5px 0 0;
  color:rgba(226,232,240,.82);
  font-size:13px;
  line-height:1.38;
}

body[data-product-mode="dj"] .dj-wish-actions{
  gap:8px;
  padding-top:9px;
  border-top:1px solid rgba(255,255,255,.055);
}

body[data-product-mode="dj"] .dj-wish-actions .btn{
  min-height:38px;
  border-radius:12px;
  font-size:13px;
  font-weight:760;
}

body[data-product-mode="dj"] .dj-bottom-action-bar{
  position:fixed;
  z-index:940;
  left:0;
  right:0;
  bottom:0;
  display:flex;
  justify-content:center;
  padding:10px calc(16px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(16px + env(safe-area-inset-left));
  border-top:1px solid rgba(255,255,255,.035);
  background:var(--bg);
  box-shadow:0 -6px 14px rgba(0,0,0,.18);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

body[data-product-mode="dj"] .dj-bottom-action-bar #btnQrOpen.dj-event-fab{
  position:static;
  left:auto;
  bottom:auto;
  transform:none;
  width:min(390px, 100%);
  min-height:46px;
  padding-inline:14px;
  border-radius:14px;
  border:1px solid rgba(34,197,94,.42);
  background:#14532d5c;
  color:#fff;
  font-size:14px;
  font-weight:780;
  box-shadow:none;
}

body[data-product-mode="dj"] .dj-bottom-action-bar #btnQrOpen.dj-event-fab:active{
  transform:none;
}

body[data-product-mode="dj"] .dj-bottom-action-bar #btnQrOpen.dj-event-fab .guesttool-topbar-badge{
  background:rgba(255,255,255,.10);
}

body[data-product-mode="dj"] .toast{
  z-index:1200;
  bottom:calc(86px + env(safe-area-inset-bottom));
  padding:9px 13px;
  font-size:13px;
  line-height:1.3;
  max-width:min(88vw, 380px);
  box-shadow:0 12px 28px rgba(0,0,0,.34);
}

body[data-product-mode="dj"] .toast.is-success{
  background:rgba(20,83,45,.94);
  border-color:rgba(34,197,94,.46);
  color:#dcfce7;
}

body[data-product-mode="dj"] .toast.is-muted-danger{
  background:rgba(31,20,24,.94);
  border-color:rgba(225,29,72,.40);
  color:#ffe4e6;
}

body[data-product-mode="dj"] .dj-admin-menu-panel .card-header h2{
  font-size:15px;
  font-weight:700;
  line-height:1.2;
}

body[data-product-mode="dj"] .dj-admin-menu-panel .card-toggle{
  width:34px;
  height:34px;
}

/* Shared Spotify/DJ event manager sheet */
#qrOverlay.qr-overlay--event{
  display:block;
  padding:0;
  background:rgba(3,6,10,.74);
  overflow:hidden;
}

#qrOverlay.qr-overlay--event[hidden]{
  display:none !important;
}

#qrOverlay .guesttool-manager-modal--event{
  width:min(520px, 100vw);
  height:100dvh;
  max-height:100dvh;
  margin:0 auto;
  padding:0;
  border:0;
  border-radius:0;
  background:var(--bg);
  box-shadow:none;
}

#qrOverlay .guesttool-manager-modal--event .modal-body{
  min-height:100%;
  padding:0 14px calc(22px + env(safe-area-inset-bottom));
}

#qrOverlay .guesttool-manager-modal--event .qr-modal-head{
  position:sticky;
  top:0;
  z-index:2;
  align-items:flex-start;
  margin:0 -14px 14px;
  padding:14px calc(14px + env(safe-area-inset-right)) 12px calc(14px + env(safe-area-inset-left));
  border-bottom:1px solid rgba(255,255,255,.06);
  background:var(--bg);
}

#qrOverlay .guesttool-manager-modal--event .qr-modal-title{
  font-size:20px;
}

#qrOverlay .guesttool-manager-modal--event .modal-icon-close{
  width:40px;
  height:40px;
  min-width:40px;
  border-color:rgba(34,197,94,.34);
  background:rgba(255,255,255,.045);
}

#qrOverlay .guesttool-manager--event{
  gap:18px;
}

#qrOverlay .guesttool-manager--event .guesttool-panel{
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
}

#qrOverlay .guesttool-manager--event .guesttool-panel + .guesttool-manager-grid,
#qrOverlay .guesttool-manager--event .guesttool-manager-grid .guesttool-panel + .guesttool-panel{
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.08);
}

#qrOverlay .guesttool-manager--event .guesttool-panel-toggle-head{
  cursor:default;
  padding:0;
  margin:0 0 10px;
}

#qrOverlay .guesttool-manager--event .guesttool-panel-toggle-head .card-toggle{
  display:none !important;
}

#qrOverlay .guesttool-manager--event .guesttool-panel h3,
#qrOverlay .guesttool-manager--event .guesttool-panel.card-collapsible .card-header h3{
  margin:0;
  font-size:15px;
  line-height:1.3;
}

#qrOverlay .guesttool-manager--event .card-collapsible .card-body,
#qrOverlay .guesttool-manager--event .card-collapsible .card-body[hidden]{
  display:block !important;
  margin-top:10px;
}

#qrOverlay .guesttool-manager--event .guesttool-current-head{
  align-items:center;
  justify-content:flex-start;
  margin-bottom:10px;
}

#qrOverlay .guesttool-manager--event .guesttool-current-headtext{
  display:none;
}

#qrOverlay .guesttool-manager--event #eventManagerActiveBadge{
  max-width:100%;
  white-space:normal;
  overflow-wrap:anywhere;
  text-align:left;
  line-height:1.35;
}

#qrOverlay .guesttool-manager--event #shareCard{
  padding:0;
  gap:12px;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}

#qrOverlay .guesttool-manager--event .qr-image-frame{
  padding:14px;
  border-radius:16px;
  background:#07090d;
  border:1px solid rgba(255,255,255,.055);
}

#qrOverlay .guesttool-manager--event .qr-img{
  width:min(260px, 72vw);
  border-radius:13px;
}

#qrOverlay .guesttool-manager--event .qr-link{
  padding:11px 12px;
  border-radius:13px;
  background:rgba(255,255,255,.035);
}

#qrOverlay .guesttool-manager--event .qr-actions{
  gap:9px;
}

#qrOverlay .guesttool-manager--event .qr-actions .btn,
#qrOverlay .guesttool-manager--event .guesttool-current-actions .btn{
  min-height:42px;
  border-radius:12px;
}

#qrOverlay .guesttool-manager--event .guesttool-manager-grid{
  gap:18px;
  margin-top:0;
}

#qrOverlay .guesttool-manager--event .guesttool-event-item{
  border-color:rgba(255,255,255,.08);
  background:rgba(255,255,255,.025);
}

#qrOverlay .guesttool-manager--event .guesttool-event-item[data-status="active"]{
  border-color:rgba(34,197,94,.42);
  box-shadow:none;
}

#qrOverlay .guesttool-manager--event .field input{
  background:rgba(7,10,16,.86);
}

@media (min-width:700px){
  #qrOverlay.qr-overlay--event{
    display:flex;
    align-items:flex-start;
    justify-content:center;
    padding:24px 14px;
    overflow:auto;
  }

  #qrOverlay .guesttool-manager-modal--event{
    height:auto;
    min-height:0;
    max-height:calc(100dvh - 48px);
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    box-shadow:0 24px 60px rgba(0,0,0,.45);
  }

  #qrOverlay .guesttool-manager-modal--event .modal-body{
    min-height:0;
  }

  #qrOverlay .guesttool-manager-modal--event .qr-modal-head{
    margin:0 -14px 14px;
  }

  #qrOverlay .guesttool-manager--event .guesttool-current-head{
    margin-bottom:12px;
  }

  body[data-product-mode="dj"] .topbar-head{
    max-width:760px;
    padding-inline:88px;
  }

  body[data-product-mode="dj"] .container{
    max-width:520px;
  }

  body[data-product-mode="dj"] .dj-admin-menu-panel{
    left:50%;
    right:auto;
    width:min(520px, calc(100vw - 28px));
    max-width:520px;
    transform:translateX(-50%);
    border-radius:0 0 18px 18px;
  }

  body[data-product-mode="dj"] .dj-bottom-action-bar #btnQrOpen.dj-event-fab{
    width:min(420px, 100%);
  }
}

@media (max-width:380px){
  body[data-product-mode="dj"] .container{
    padding-left:12px;
    padding-right:12px;
  }

  body[data-product-mode="dj"] .dj-wish-song{
    grid-template-columns:54px minmax(0, 1fr);
    gap:10px;
  }

  body[data-product-mode="dj"] .dj-wish-cover,
  body[data-product-mode="dj"] .dj-wish-cover .manual-request-cover,
  body[data-product-mode="dj"] .dj-wish-cover .manual-request-cover--placeholder{
    width:54px;
    height:54px;
  }
}
