* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #08080c;
  --panel: #12121a;
  --text: #f5f0e8;
  --muted: #8a8270;
  --gold: #d4af37;
  --gold-light: #f5e6a3;
  --green: #8fbc6a;
  --danger: #f2555a;
  --border: rgba(212, 175, 55, .22);
}

body.host-body {
  min-height: 100vh;
  background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(212, 175, 55, .12), transparent 55%), var(--bg);
  color: var(--text);
  font-family: 'Outfit', system-ui, sans-serif;
  padding: 1.5rem;
}

.host-card {
  width: min(480px, 100%);
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(160deg, rgba(212, 175, 55, .08), rgba(0, 0, 0, .75));
}

.host-logo {
  width: 120px;
  display: block;
  margin-bottom: 1rem;
}

.host-card h1,
.host-topbar h1,
.host-panel h2 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--gold-light);
}

.host-lead,
.host-panel-lead,
.host-foot,
.host-empty {
  color: var(--muted);
  line-height: 1.5;
}

.host-form {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: 1.25rem;
}

.host-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
}

.host-form-span { grid-column: 1 / -1; }

.host-form label {
  font-size: .82rem;
  color: var(--muted);
}

.host-form input,
.host-form select {
  width: 100%;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .45);
  color: var(--text);
  font: inherit;
}

.host-datetime-group label {
  display: block;
  margin-bottom: .35rem;
}

.host-datetime-split {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: .55rem;
}

.host-date,
.host-time {
  color-scheme: dark;
  min-height: 2.75rem;
}

.host-date::-webkit-calendar-picker-indicator,
.host-time::-webkit-calendar-picker-indicator {
  filter: invert(0.85) sepia(0.2) saturate(2) hue-rotate(5deg);
  cursor: pointer;
  opacity: .9;
}

.host-event-schedule {
  color: var(--gold-light);
  font-size: .88rem;
  margin-top: .35rem;
  line-height: 1.45;
}

.host-optional { color: var(--muted); font-weight: 400; }

.host-btn,
.host-btn-ghost,
.host-btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .75rem 1rem;
  border-radius: 10px;
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}

.host-btn {
  background: linear-gradient(135deg, #d4af37, #b8922a);
  color: #1a1200;
}

.host-btn-sm { padding: .55rem .8rem; font-size: .85rem; }

.host-btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--gold-light);
}

.host-btn-danger {
  background: rgba(242, 85, 90, .14);
  border: 1px solid rgba(242, 85, 90, .35);
  color: #ff8a8e;
}

.host-alert {
  margin: 1rem 0;
  padding: .85rem 1rem;
  border-radius: 10px;
}

.host-alert-error {
  background: rgba(242, 85, 90, .12);
  border: 1px solid rgba(242, 85, 90, .35);
  color: #ff9a9e;
}

.host-alert-ok {
  background: rgba(143, 188, 106, .12);
  border: 1px solid rgba(143, 188, 106, .35);
  color: var(--green);
}

.host-dashboard-body { padding: 0; }

.host-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, .55);
}

.host-eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .68rem;
  color: var(--gold);
}

.host-topbar-actions {
  display: flex;
  gap: .5rem;
}

.host-dashboard {
  max-width: 980px;
  margin: 0 auto;
  padding: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.host-panel {
  padding: 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--panel);
}

.host-event-list {
  display: grid;
  gap: .85rem;
  margin-top: 1rem;
}

.host-event-card {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
}

.host-event-card--live {
  border-color: rgba(143, 188, 106, .45);
  box-shadow: 0 0 0 1px rgba(143, 188, 106, .12);
}

.host-event-status {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: .25rem;
}

.host-event-card--live .host-event-status { color: var(--green); }

.host-event-meta,
.host-event-stats {
  color: var(--muted);
  font-size: .88rem;
  margin-top: .35rem;
}

.host-event-actions {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .host-form-grid { grid-template-columns: 1fr; }
  .host-datetime-split { grid-template-columns: 1fr; }
  .host-event-card { flex-direction: column; }
}

.host-queue-panel {
  border-color: rgba(143, 188, 106, .35);
}

.host-queue-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.host-queue-badge {
  flex-shrink: 0;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, .12);
  border: 1px solid var(--border);
  color: var(--gold-light);
  font-size: .82rem;
  font-weight: 600;
}

.host-queue-now {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 12px;
  background: rgba(143, 188, 106, .1);
  border: 1px solid rgba(143, 188, 106, .35);
}

.host-queue-now.hidden { display: none; }

.host-queue-now-label {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: .35rem;
}

.host-queue-now-song {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.15rem;
  color: var(--gold-light);
}

.host-queue-now-meta {
  color: var(--muted);
  font-size: .88rem;
  margin-top: .25rem;
}

.host-queue-list {
  display: grid;
  gap: .65rem;
}

.host-queue-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .03);
}

.host-queue-item-next {
  border-color: rgba(212, 175, 55, .45);
}

.host-queue-pos {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(212, 175, 55, .15);
  color: var(--gold-light);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

.host-queue-info { flex: 1; min-width: 0; }

.host-queue-title {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.host-queue-artist,
.host-queue-singer {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .15rem;
}

.host-queue-actions {
  display: flex;
  gap: .35rem;
  flex-shrink: 0;
}

.host-queue-act {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .35);
  color: var(--gold-light);
  font: inherit;
  font-size: .9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.host-queue-act:disabled { opacity: .5; cursor: not-allowed; }

.host-queue-act-play {
  background: rgba(143, 188, 106, .18);
  border-color: rgba(143, 188, 106, .4);
  color: var(--green);
}

.host-queue-act-done {
  width: auto;
  padding: 0 .85rem;
  margin-top: .65rem;
  background: rgba(143, 188, 106, .18);
  border-color: rgba(143, 188, 106, .4);
  color: var(--green);
  font-weight: 700;
}

.host-queue-act-move {
  color: var(--gold-light);
}

.host-queue-act-move:disabled {
  opacity: .35;
  cursor: not-allowed;
}

.host-queue-act-remove {
  color: #ff8a8e;
  border-color: rgba(242, 85, 90, .35);
}

@media (max-width: 720px) {
  .host-queue-item { flex-wrap: wrap; }
  .host-queue-actions { width: 100%; justify-content: flex-end; }
}

.host-inline-link {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.host-dj-form { margin-top: 1rem; }

.host-dj-form-actions {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.host-dj-empty { margin-top: 1rem; }

.host-dj-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.25rem;
}

.host-dj-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .35);
}

.host-dj-card--inactive {
  opacity: .72;
  border-color: rgba(138, 130, 112, .35);
}

.host-dj-status {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--green);
  margin-bottom: .25rem;
}

.host-dj-card--inactive .host-dj-status { color: var(--muted); }

.host-dj-main h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--gold-light);
  font-size: 1.05rem;
}

.host-dj-login {
  font-size: .85rem;
  color: var(--muted);
  margin-top: .35rem;
}

.host-dj-login strong { color: var(--text); }

.host-dj-hint {
  font-size: .78rem;
  color: var(--gold);
  margin-top: .45rem;
}

.host-picker-empty { margin: 0; font-size: .88rem; }

.host-multiselect {
  position: relative;
  width: 100%;
}

.host-multiselect-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding: .75rem .9rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, .45);
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.host-multiselect-trigger:hover,
.host-multiselect.is-open .host-multiselect-trigger {
  border-color: rgba(212, 175, 55, .55);
}

.host-multiselect-summary {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.host-multiselect-summary.is-placeholder {
  color: var(--muted);
}

.host-multiselect-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--muted);
  flex-shrink: 0;
  transition: transform .15s ease;
}

.host-multiselect.is-open .host-multiselect-caret {
  transform: rotate(180deg);
}

.host-multiselect-menu {
  position: absolute;
  z-index: 30;
  left: 0;
  right: 0;
  top: calc(100% + .35rem);
  display: flex;
  flex-direction: column;
  gap: .15rem;
  max-height: 220px;
  overflow: auto;
  padding: .45rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #12121a;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}

.host-multiselect-menu[hidden] {
  display: none;
}

.host-multiselect-option {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  padding: .55rem .6rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  color: var(--text);
  line-height: 1.35;
}

.host-multiselect-option:hover {
  background: rgba(212, 175, 55, .1);
}

.host-multiselect-option input {
  width: auto;
  margin-top: .15rem;
  accent-color: var(--gold);
}

.host-multiselect-option strong { font-weight: 600; }

.host-event-staff {
  font-size: .82rem;
  color: var(--muted);
  margin-top: .35rem;
}

@media (max-width: 720px) {
  .host-dj-card { flex-direction: column; }
  .host-event-actions { width: 100%; justify-content: flex-end; }
}
