
body.has-dj-background {
  background-image:
    linear-gradient(rgba(0,0,0,var(--dj-bg-overlay,0.46)), rgba(0,0,0,var(--dj-bg-overlay,0.46))),
    var(--dj-bg-image, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body.has-dj-background .card,
body.has-dj-background .device-pill,
body.has-dj-background header {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
}
body { font-family: Arial, sans-serif; background:#f7f7f7; color:#222; margin:0; }
header { padding:16px 20px; background:#ffffff; display:flex; gap:12px; align-items:center; justify-content:space-between; border-bottom:1px solid #e2e2e2; }
main { padding:20px; }
a, button { cursor:pointer; }
.nav a { color:#1d4ed8; margin-right:16px; text-decoration:none; }
.grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:16px; }
.card { background:#ffffff; border:1px solid #dedede; border-radius:16px; padding:16px; box-shadow:0 1px 2px rgba(0,0,0,0.04); }
button, .btn { background:#f3f4f6; color:#222; border:1px solid #d1d5db; border-radius:12px; padding:12px 16px; text-decoration:none; display:inline-block; }
button.primary { background:#2563eb; border-color:#2563eb; color:#fff; }
button.green { background:#16a34a; border-color:#16a34a; color:#fff; }
button.danger { background:#b91c1c; border-color:#b91c1c; color:#fff; }
button.visual-trigger { width:100%; min-height:74px; font-size:20px; }
button.visual-trigger.active { background:#1d4ed8; color:#fff; border-color:#1d4ed8; }
button.flash-button { background:#16a34a; border-color:#16a34a; color:#fff; }
button.flash-button.active { background:#dc2626; border-color:#dc2626; color:#fff; }
button.flash-button,
.flash-button {
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
  touch-action:none;
  overscroll-behavior:contain;
}
button.flash-button * {
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
  pointer-events:none;
}
input, select, textarea { width:100%; box-sizing:border-box; background:#ffffff; color:#222; border:1px solid #cfcfcf; border-radius:10px; padding:10px; }
label { display:block; margin:12px 0 6px; }
.section-title { margin-top:24px; }
.row { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.inline-row { display:grid; grid-template-columns:1fr auto; gap:8px; align-items:center; }
.status { margin-top:12px; padding:10px; background:#eef6ff; border:1px solid #bfdbfe; border-radius:10px; white-space:pre-wrap; }
.hidden { display:none; }
.artist-ui #artist-status {
  position:fixed;
  left:50%;
  bottom:max(24px, env(safe-area-inset-bottom));
  z-index:4200;
  transform:translateX(-50%);
  width:min(520px, calc(100vw - 32px));
  margin:0;
  padding:16px 22px;
  border:2px solid #22c55e;
  border-radius:14px;
  background:#0f172a;
  color:#fff;
  font-size:22px;
  font-weight:950;
  text-align:center;
  box-shadow:0 18px 50px rgba(15,23,42,.32);
}
.list { display:flex; flex-wrap:wrap; gap:8px; }
.kicker { color:#666; font-size:14px; }
.checkbox-list label { display:flex; gap:8px; align-items:center; margin:6px 0; }
.checkbox-list input { width:auto; }
hr { border:0; border-top:1px solid #e4e4e7; }
.slider-row { display:grid; grid-template-columns: 1fr auto; gap:12px; align-items:center; }
.big-button { min-height:96px; font-size:20px; width:100%; }
.back { margin-bottom:16px; }
.nested-card { margin-top: 12px; }
.deep-card { background:#fafafa; }
.actions-right { justify-content:flex-end; align-items:end; }
.device-panel.hidden{display:none}
.color-controls{ margin-top:24px; }
.color-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap:12px; }
.muted{ opacity:0.8; }
.small-note{ font-size:12px; color:#666; margin-top:6px; }

.home-area-card{margin-bottom:16px}
.home-area-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:12px}
.home-area-head h2{margin:0}
.home-sport-today{margin-left:auto;text-align:right;max-width:min(720px,58vw);display:flex;justify-content:flex-end;align-items:baseline;gap:8px;flex-wrap:wrap;color:#0f172a;font-size:14px;line-height:1.25}
.home-sport-today span{font-weight:900;letter-spacing:.04em;color:#2563eb}
.home-sport-today strong{font-size:15px}
.home-sport-today.empty span{display:none}
.home-sport-today.empty strong{color:#475569}
@media (max-width: 900px){
  .home-area-head{flex-direction:column;gap:8px}
  .home-sport-today{margin-left:0;text-align:left;justify-content:flex-start;max-width:100%}
}


.login-frame-wrap{padding:12px;min-height:78vh}
.login-frame{width:100%;height:75vh;border:1px solid #dbe3f0;border-radius:16px;background:#fff}


.device-status-bar{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 16px 0}
.device-pill{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #dedede;border-radius:999px;padding:8px 12px;box-shadow:0 1px 2px rgba(0,0,0,0.04)}
.status-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:12px}
.status-row{display:flex;justify-content:space-between;gap:12px;align-items:flex-start;background:#fafafa;border:1px solid #ececec;border-radius:14px;padding:12px}
.status-left{display:flex;align-items:center;gap:10px}
.status-dot{display:inline-block;width:12px;height:12px;border-radius:50%;background:#9ca3af;box-shadow:0 0 0 2px rgba(0,0,0,0.04) inset}
.status-dot.online{background:#16a34a}
.status-dot.warning{background:#f59e0b}
.status-dot.offline{background:#dc2626}
.status-dot.unknown{background:#9ca3af}
.device-edit-block{padding:10px 0;border-top:1px solid #eee}

button.outline{background:#fff;color:#222;border-color:#d1d5db}
.zone-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.zone-title-wrap{display:flex;align-items:center;gap:10px;min-width:0}
.zone-title-wrap h3{min-width:0}
.zone-head-value{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:28px;padding:0 9px;border-radius:7px;background:#111827;color:#fff;font-weight:900;font-size:14px;line-height:1;box-shadow:0 4px 12px rgba(15,23,42,.16)}
.sync-badge{display:inline-flex;align-items:center;border-radius:999px;padding:6px 10px;font-size:12px;border:1px solid #d1d5db;background:#f8fafc;color:#334155}
.sync-badge.synced{background:#ecfdf5;border-color:#86efac;color:#166534}
.sync-badge.external{background:#fff7ed;border-color:#fdba74;color:#9a3412}
.live-meta{font-size:13px;color:#475569;margin:8px 0 10px}
.zones-grid{grid-template-columns:repeat(auto-fit,minmax(460px,1fr));align-items:stretch;gap:18px}
.zones-control-grid{grid-template-columns:repeat(auto-fit,minmax(320px,1fr));align-items:stretch;gap:18px}
.zone-card-console{display:flex;flex-direction:column;gap:14px;padding:18px}
.zone-card-console .zone-head h3{margin:0;font-size:22px;line-height:1.1}
.zone-console-layout{display:grid;grid-template-columns:minmax(0,1fr) 108px;gap:14px;align-items:stretch;min-height:405px}
.zone-source-panel{min-width:0;display:flex;flex-direction:column}
.zone-source-panel label,.zone-fader-panel label{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#475569;margin:4px 0 10px}
.zone-source-buttons{display:grid;grid-template-columns:1fr;gap:10px}
.zone-source-buttons button{min-height:54px;font-weight:800;border-radius:12px}
.zone-fader-panel{display:flex;flex-direction:column;align-items:center;gap:10px;min-width:0}
.zone-fader-panel label{text-align:center}
.zone-vertical-slider{display:flex;align-items:center;justify-content:center;min-height:390px;width:98px;max-width:100%;padding:8px 0;overflow:hidden}
.zone-vertical-range{width:56px;height:380px;min-height:380px;padding:0;writing-mode:vertical-lr;direction:rtl;accent-color:#2563eb;touch-action:none;-webkit-appearance:slider-vertical;appearance:slider-vertical}
.zone-fader-value{display:inline-flex;align-items:center;justify-content:center;min-width:48px;height:48px;border-radius:999px;background:#0f172a;border:1px solid #0f172a;font-weight:900;color:#fff;box-shadow:0 6px 18px rgba(15,23,42,.18)}
.zone-preset-strip{padding:12px 0 0;border-top:1px solid #e5e7eb}
.zone-preset-strip .zone-preset-row{margin:0}
.zone-source-mode-actions{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e5e7eb;
}
.zone-source-mode-actions .list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.zone-source-mode-actions button{
  background:#f8fafc;
  border-color:#94a3b8;
  color:#334155;
  font-weight:900;
  min-height:54px;
  border-radius:14px;
  white-space:normal;
  line-height:1.1;
}
.zone-secondary-source-actions{
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e5e7eb;
}
.zone-secondary-source-actions .list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.zone-secondary-source-actions button{
  min-height:54px;
  border-radius:14px;
  font-weight:900;
  background:#f8fafc;
  border-color:#94a3b8;
  color:#334155;
}
@media (max-width: 700px){
  .zones-grid{grid-template-columns:1fr}
  .zones-control-grid{grid-template-columns:1fr}
  .zone-card-console{padding:14px}
  .zone-console-layout{grid-template-columns:1fr 82px;gap:10px;min-height:278px}
  .zone-source-buttons{grid-template-columns:repeat(2,minmax(0,1fr))}
  .zone-source-buttons button{min-height:48px}
  .zone-vertical-slider{min-height:218px;width:78px}
  .zone-vertical-range{width:56px;height:202px;min-height:202px}
}
@media (min-width: 701px) and (max-width: 1200px) and (orientation: landscape){
  .zone-console-layout{grid-template-columns:minmax(0,1fr) 104px;min-height:405px}
  .zone-vertical-slider{min-height:390px;width:96px}
  .zone-vertical-range{width:56px;height:380px;min-height:380px}
}
@media (max-width: 700px) and (orientation: landscape){
  main{padding:12px}
  .zones-control-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .zone-card-console{gap:10px;padding:12px}
  .zone-card-console .zone-head h3{font-size:19px}
  .zone-console-layout{grid-template-columns:minmax(0,1fr) 76px;gap:8px;min-height:330px}
  .zone-source-buttons{grid-template-columns:1fr}
  .zone-source-buttons button{min-height:44px;padding:9px 10px}
  .zone-vertical-slider{min-height:304px;width:72px}
  .zone-vertical-range{width:52px;height:292px;min-height:292px}
}


button, .btn { transition: transform .08s ease, filter .12s ease, box-shadow .12s ease, opacity .12s ease, background-color .12s ease, border-color .12s ease; }
button[data-feedback="1"] { touch-action: manipulation; }
button[data-feedback="1"]:active { transform: scale(0.97); filter: brightness(1.08); }
button.tap-confirm { transform: scale(0.98); filter: brightness(1.16); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
button.is-pending { filter: brightness(1.1); box-shadow: 0 0 0 3px rgba(34,197,94,.18); }
button[disabled], .btn[disabled] { opacity: .65; cursor: wait; }
button.technician-locked-button[disabled],
button.technician-locked-button[aria-disabled="true"] {
  opacity:1 !important;
  cursor:not-allowed !important;
  pointer-events:none;
  transform:none !important;
  filter:none !important;
}

.vmix-trikot-counter{
  display:flex;
  flex-direction:column;
  gap:14px;
}
.vmix-trikot-head{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.vmix-trikot-value{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  align-self:flex-start;
  min-width:116px;
  padding:10px 18px;
  border-radius:12px;
  background:#0f172a;
  color:#fff;
  font-size:34px;
  font-weight:900;
  line-height:1;
  box-shadow:0 10px 24px rgba(15,23,42,.18);
}
.vmix-trikot-reset{
  min-height:54px;
  padding:0 18px;
  border-radius:12px;
  font-size:16px;
  font-weight:900;
  border-color:#94a3b8;
  background:#fff;
  color:#0f172a;
}
.vmix-trikot-actions{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}
.vmix-trikot-btn{
  min-height:108px;
  font-size:42px;
  font-weight:900;
  border-radius:18px;
}
@media (max-width: 700px){
  .vmix-trikot-actions{grid-template-columns:1fr}
  .vmix-trikot-btn{min-height:84px;font-size:34px}
}

.vmix-manual-counter{
  display:flex;
  flex-direction:column;
  gap:12px;
}
.vmix-manual-counter-open{
  min-height:88px;
  font-size:26px;
  font-weight:900;
  border-radius:18px;
}
.vmix-manual-counter-modal{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px;
  background:rgba(15,23,42,.58);
}
.vmix-manual-counter-card{
  width:min(720px,94vw);
  max-height:92vh;
  overflow:auto;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.vmix-manual-counter-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.vmix-manual-counter-head h2{
  margin:0;
}
.vmix-manual-area-grid,
.vmix-manual-time-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.vmix-manual-area-grid button,
.vmix-manual-time-grid button{
  min-height:64px;
  font-weight:900;
  font-size:18px;
}
.vmix-manual-go{
  min-height:92px;
  font-size:34px;
  font-weight:950;
  border-radius:18px;
}
.vmix-manual-wait-card{
  width:min(420px,90vw);
  text-align:center;
  padding:26px;
}
.vmix-manual-wait-card h2{
  margin:0 0 10px;
}
.vmix-manual-wait-card p{
  margin:0;
  color:#475569;
  font-size:18px;
  font-weight:800;
}
.vmix-manual-wait-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:96px;
  height:96px;
  margin-top:22px;
  border-radius:18px;
  background:#0f172a;
  color:#fff;
  font-size:46px;
  font-weight:950;
  box-shadow:0 12px 28px rgba(15,23,42,.24);
}
@media (max-width: 700px){
  .vmix-manual-area-grid,
  .vmix-manual-time-grid{grid-template-columns:1fr}
}

.intercom-message{border-width:2px}
.intercom-message.acknowledged{border-color:#86efac;background:#f0fdf4}
.intercom-text{font-size:28px;font-weight:700;line-height:1.2;margin-top:8px}
@media (max-width: 900px){
  .intercom-text{font-size:22px}
}

.intercom-card.compact{padding:12px}
.intercom-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px}
.intercom-send-row{display:grid;grid-template-columns:minmax(180px,220px) 1fr;gap:10px;align-items:end}
.intercom-send-actions{display:flex;flex-wrap:wrap;gap:8px}
.intercom-quick-btn{padding:10px 12px;min-height:44px;font-size:14px}
.intercom-custom-row{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.intercom-inbox.compact{display:flex;flex-direction:column;gap:8px}
.intercom-banner{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;border:2px solid #dbe4f0;border-radius:14px;padding:10px 12px;background:#fff}
.intercom-banner.acknowledged{border-color:#86efac;background:#f0fdf4}
.intercom-banner-main{min-width:0}
.intercom-banner-actions{display:flex;gap:8px;align-items:center}
.intercom-banner-actions button{min-width:48px}
.intercom-text{font-size:18px;font-weight:700;line-height:1.2;margin-top:4px}
@media (max-width: 900px){
  .intercom-send-row{grid-template-columns:1fr}
  .intercom-custom-row{grid-template-columns:1fr}
  .intercom-banner{grid-template-columns:1fr}
  .intercom-banner-actions{justify-content:flex-end}
  .intercom-text{font-size:16px}
}

.header-actions{display:flex;align-items:center;gap:12px}
.intercom-trigger{position:relative;display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid #d1d5db;border-radius:999px;padding:10px 14px;font-weight:700}
.intercom-trigger.is-open{border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}
.intercom-trigger.has-new{animation:intercomPulse .8s ease 2}
.intercom-trigger-icon{font-size:18px;line-height:1}
.intercom-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;font-weight:700}
.intercom-panel{position:fixed;top:74px;right:18px;z-index:50;width:min(380px,calc(100vw - 24px));max-height:calc(100vh - 92px);overflow:auto}
.intercom-panel-card{background:rgba(255,255,255,.97);backdrop-filter:blur(6px);border:1px solid #dbe4f0;border-radius:18px;padding:14px;box-shadow:0 18px 50px rgba(15,23,42,.18)}
.intercom-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:10px}
.intercom-panel-head button{min-width:44px;font-size:20px;line-height:1;padding:8px 10px}
.intercom-panel-section + .intercom-panel-section{margin-top:14px;padding-top:12px;border-top:1px solid #e5e7eb}
.intercom-panel-subhead{font-weight:700;margin-bottom:8px}
.intercom-custom-row.compact{grid-template-columns:1fr auto}
@keyframes intercomPulse{0%{transform:scale(1)}35%{transform:scale(1.06)}100%{transform:scale(1)}}
@media (max-width: 900px){
  .intercom-panel{left:12px;right:12px;top:72px;width:auto;max-height:calc(100vh - 84px)}
  .header-actions{gap:8px}
  .intercom-trigger{padding:10px 12px}
}


.lighting-section-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 16px;
}

.lighting-section-tabs button {
  min-width: 110px;
}


.avolites-killer-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 12px 0 22px;
}

.avolites-killer {
  min-width: 280px;
  min-height: 84px;
  font-size: 1.55rem;
  font-weight: 900;
  border-radius: 20px;
  letter-spacing: 0.05em;
}

.avolites-presets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.avolites-preset-card {
  padding: 18px;
}

.avolites-preset-button {
  min-height: 78px;
  width: 100%;
  font-size: 1.15rem;
  font-weight: 800;
  position: relative;
}

.lighting-help-toggle {
  min-height: 64px;
  min-width: 140px;
  border-radius: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  background: #f8fafc;
  color: #0f172a;
  border: 2px solid #cbd5e1;
}

.lighting-help-panel {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,23,42,.12);
  color: #0f172a;
}

.lighting-help-title {
  font-weight: 900;
}

.lighting-help-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.lighting-help-options button,
.lighting-help-panel button {
  min-height: 48px;
  font-weight: 800;
}

.lighting-help-step {
  background: #facc15 !important;
  border-color: #ca8a04 !important;
  color: #111827 !important;
  box-shadow: 0 0 0 4px rgba(250,204,21,.24);
}

.lighting-help-danger {
  background: #dc2626 !important;
  border-color: #991b1b !important;
  color: #fff !important;
  box-shadow: 0 0 0 4px rgba(220,38,38,.22);
}

.lighting-help-number {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111827;
  color: #facc15;
  font-weight: 950;
  font-size: .95rem;
}

.avolites-preset-button {
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.avolites-preset-button[data-flash-active="1"] {
  transform: scale(0.985);
}

.tv-remote-section {
  margin-top: 20px;
}

.tv-remote-columns {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  gap: 18px;
  align-items: start;
}

.tv-remote-divider {
  background: #111;
  border-radius: 2px;
  min-height: 100%;
}

.tv-remote-panel {
  background: #fff;
  border: 1px solid #d6d6d6;
  border-radius: 18px;
  padding: 14px;
}

.tv-remote-title {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.tv-remote-pad {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.tv-remote-special-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(64px, 1fr));
  gap: 8px;
  margin-bottom: 10px;
}

.tv-remote-numpad {
  display: grid;
  grid-template-columns: repeat(3, 52px);
  justify-content: center;
  gap: 8px;
}

.tv-remote-btn {
  min-width: 52px;
  min-height: 42px;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  background: #f1f3f4;
}

.tv-remote-btn.dark {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.tv-remote-btn.ok {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

@media (max-width: 900px) {
  .tv-remote-columns {
    grid-template-columns: 1fr;
  }
  .tv-remote-divider {
    display: none;
  }
}


.hot-scenes {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hot-scene-btn {
  background: var(--hot-scene-color, #7c3aed);
  border: 1px solid var(--hot-scene-color, #7c3aed);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: .9rem;
  font-weight: 700;
  min-height: 38px;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hot-scenes {
    width: 100%;
    order: -1;
    justify-content: flex-start;
    margin-bottom: 8px;
  }
  .hot-scene-btn {
    padding: 6px 10px;
    font-size: .85rem;
    min-height: 34px;
  }
}

.compact-admin-card {
  padding: 0;
  overflow: hidden;
}

.compact-admin-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: transparent;
  border: 0;
  padding: 16px 18px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.compact-admin-body {
  padding: 0 18px 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.compact-admin-subcard {
  background: rgba(255,255,255,0.02);
}

.compact-admin-meta {
  opacity: .7;
  font-size: .9rem;
}


input[type="range"][data-zone-volume],
.chef-range[data-chef-zone-volume] {
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

input[type="range"][data-zone-volume]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: #2563eb;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(15,23,42,.28);
}

input[type="range"][data-zone-volume]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #2563eb;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 14px rgba(15,23,42,.28);
}

.slider-row input[type="range"],
.chef-range {
  min-height: 52px;
  padding: 10px 0;
}


.header-brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-brand-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: min(340px, 42vw);
  object-fit: contain;
}

.language-switcher {
  display: flex;
  gap: 6px;
  align-items: center;
}

.language-switcher button {
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  min-height: 34px;
  font-weight: 800;
}

.language-switcher button.active {
  background: rgba(255,255,255,0.18);
}

@media (max-width: 700px) {
  .header-brand-wrap {
    gap: 8px;
  }
  .header-brand-logo {
    height: 38px;
    max-width: 48vw;
  }
  .language-switcher button {
    padding: 5px 8px;
    min-height: 30px;
    font-size: 0.85rem;
  }
}


/* v55.14 stronger language switcher visibility */
.header-language-switcher {
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 4px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.header-language-switcher button {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 7px 12px;
  min-width: 44px;
  min-height: 34px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1;
}

.header-language-switcher button.active {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
}

.header-language-switcher button:hover {
  background: rgba(255,255,255,0.18);
}

.resolume-mixer-card { margin: 0 0 16px 0; }
.resolume-mixer-list { display: grid; gap: 12px; }
.resolume-mixer-row { display: grid; gap: 8px; }
.resolume-mixer-head { display: flex; align-items: center; gap: 10px; }
.resolume-mixer-head span {
  display: inline-flex; width: 34px; height: 34px; border-radius: 999px;
  align-items: center; justify-content: center; font-weight: 900;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
}
.resolume-mixer-head strong { flex: 1; }
.resolume-mixer-head em { font-style: normal; opacity: 0.8; font-weight: 800; }
.resolume-mixer-fader { width: 100%; min-height: 46px; touch-action: pan-y; }

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: radial-gradient(circle at top, rgba(40,54,170,0.96), rgba(5,7,18,0.98));
  color: #fff;
  transition: opacity .24s ease, visibility .24s ease;
}
.app-splash.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.app-splash img {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}
.splash-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: .03em;
}
.splash-bar {
  width: min(320px, 76vw);
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
}
.splash-bar > div {
  width: 0%;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  transition: width .22s ease;
}
#dj-splash-percent,
#chef-splash-percent {
  font-weight: 900;
  opacity: .85;
}
.chef-body main {
  padding-bottom: 80px;
}
.chef-section {
  margin-bottom: 18px;
}
.chef-section h2 {
  margin: 6px 0 10px;
}
.chef-button-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}
.chef-action {
  min-height: 72px;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 900;
}
.chef-normal {
  background: #2563eb !important;
  border-color: #2563eb !important;
  color: #fff !important;
}
.chef-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
}
.chef-emergency {
  background: #050505 !important;
  border-color: #111 !important;
  color: #fff !important;
}
.chef-card {
  margin-bottom: 12px;
}

.chef-zone-card.closed {
  padding: 12px 14px;
}
.chef-zone-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.chef-zone-summary h3 {
  margin: 0 0 4px;
}
.chef-zone-summary .kicker {
  margin: 0;
}
.chef-zone-toggle {
  min-width: 96px;
  font-weight: 900;
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}
.chef-zone-toggle.open {
  background: #374151;
  border-color: #374151;
}
.chef-zone-controls {
  margin-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 14px;
}

.chef-range {
  width: 100%;
  min-height: 44px;
}
.chef-source-list {
  margin-top: 12px;
}
.chef-admin-row {
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding-bottom: 8px;
  margin-bottom: 8px;
}
.button-like {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 12px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.16);
}

.chef-confirm-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(0,0,0,.68);
  backdrop-filter: blur(8px);
}
.chef-confirm-modal {
  width: min(420px, 92vw);
  border-radius: 22px;
  padding: 22px;
  background: rgba(15,22,58,.98);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  text-align: center;
  color: rgba(255,255,255,.94);
}
.chef-confirm-modal h2 {
  margin-top: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.chef-confirm-modal p {
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.chef-confirm-modal strong {
  display: block;
  margin-top: 10px;
  font-size: 1.15rem;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,.5);
}

.pin-lock-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(5,8,25,.76);
  backdrop-filter: blur(10px);
}
.pin-lock-modal {
  width: min(390px, 92vw);
  border-radius: 24px;
  padding: 24px;
  background: rgba(15,22,58,.98);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 80px rgba(0,0,0,.48);
  text-align: center;
}
.pin-lock-modal img {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  margin-bottom: 10px;
}
.pin-lock-modal h2 {
  margin: 6px 0 8px;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,.32);
}
.pin-lock-modal p {
  color: rgba(255,255,255,.86);
  font-weight: 700;
}
.pin-lock-modal button.primary {
  color: #ffffff;
}
.pin-lock-input {
  width: 160px;
  max-width: 80%;
  text-align: center;
  font-size: 2rem;
  letter-spacing: .35em;
  font-weight: 900;
  margin: 10px auto 14px;
  display: block;
  background: #ffffff;
  color: #111827;
  border: 2px solid rgba(37,99,235,.4);
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.pin-lock-error {
  margin-top: 10px;
  color: #fecaca;
  font-weight: 800;
}


.admin-system-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #e5e7eb;
}
.admin-system-shortcuts .primary {
  font-weight: 800;
}

/* v57.5 iPhone-only DJ UI layout fix
   Scope: small touch devices only. Desktop, iPad and Chef UI stay unchanged. */
@media only screen and (max-width: 600px) and (hover: none) and (pointer: coarse) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  body {
    min-width: 0;
  }

  body.has-dj-background {
    background-attachment: scroll;
    background-position: center top;
  }

  header {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    padding: calc(10px + env(safe-area-inset-top)) 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    overflow: hidden;
  }

  .header-brand-wrap {
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .header-brand-wrap strong {
    white-space: nowrap;
    font-size: 1rem;
  }

  .header-actions {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 8px;
  }

  .hot-scenes {
    grid-column: 1 / -1;
    order: initial;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 8px;
    margin: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .hot-scenes::-webkit-scrollbar {
    display: none;
  }

  .hot-scene-btn {
    flex: 0 0 auto;
    max-width: 42vw;
    padding: 8px 13px;
    min-height: 36px;
    font-size: 0.88rem;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav {
    justify-self: start;
  }

  .nav a {
    margin-right: 0;
    font-size: 0.95rem;
  }

  .intercom-trigger {
    justify-self: end;
    max-width: 155px;
    padding: 8px 10px;
    min-height: 40px;
    gap: 6px;
    font-size: 0.86rem;
  }

  .intercom-trigger-icon {
    font-size: 16px;
  }

  .intercom-badge {
    min-width: 20px;
    height: 20px;
    font-size: 11px;
  }

  main {
    box-sizing: border-box;
    width: 100%;
    max-width: 100vw;
    padding: 12px;
    overflow-x: hidden;
  }

  #app,
  .card,
  .grid,
  .list,
  .row,
  .inline-row,
  .slider-row {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

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

  .grid,
  .row,
  .inline-row {
    grid-template-columns: 1fr;
  }

  .big-button,
  button.visual-trigger {
    min-height: 78px;
    font-size: 1.08rem;
  }

  input,
  select,
  textarea,
  button,
  .btn {
    font-size: 16px; /* prevents iOS form zoom */
  }

  .intercom-panel {
    left: 10px;
    right: 10px;
    top: calc(86px + env(safe-area-inset-top));
    width: auto;
    max-width: none;
  }
}

/* v58.2 Zone Time Lock */
.zone-time-locked {
  position: relative;
  opacity: 0.78;
  border-color: rgba(255,255,255,0.22);
}
.zone-time-locked input,
.zone-time-locked select,
.zone-time-locked button:not(.chef-zone-toggle) {
  cursor: not-allowed;
  filter: grayscale(0.25);
}
.zone-lock-banner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 10px 0 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(0,0,0,0.36);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
}
.zone-lock-banner strong { color: #fff; font-size: 1rem; }
.zone-lock-banner span { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.zone-time-lock-admin h4 { margin: 0 0 10px; color: #fff; }

/* v58.8 CESVA Limiter Live Screen */
.cesva-limiter-card {
  overflow: hidden;
}
.cesva-limiter-img {
  display: block;
  width: 100%;
  max-width: 1100px;
  margin: 12px auto 0;
  border-radius: 18px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 18px 40px rgba(0,0,0,0.28);
}
@media (max-width: 680px) {
  .cesva-limiter-img {
    border-radius: 12px;
    width: 100%;
  }
}
/* v58.8.2 CESVA proxy display hardening */
.cesva-limiter-img.is-error {
  min-height: 180px;
  object-fit: contain;
}

/* v60 TV Routing Matrix */
.tv-routing-hero { padding: 18px; }
.tv-source-grid, .tv-target-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px;
}
.tv-route-source, .tv-route-target {
  min-height: 104px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.07);
  color: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
  padding: 18px;
  text-align: left;
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}
.tv-route-source span, .tv-route-target span {
  font-size: 1.28rem;
  font-weight: 800;
}
.tv-route-source small, .tv-route-target small {
  opacity: .78;
  font-size: .9rem;
}
.tv-route-source.selected, .tv-route-target.selected {
  border-color: var(--accent, #76a7ff);
  box-shadow: 0 0 0 3px rgba(118,167,255,.25), 0 12px 30px rgba(0,0,0,.2);
  background: linear-gradient(135deg, rgba(118,167,255,.26), rgba(255,255,255,.08));
}
.tv-route-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}


.tv-target-grid-large,.tv-source-grid-large{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px}
.tv-route-target-large,.tv-route-source-large{min-height:128px;text-align:left;padding:18px 20px;border-width:2px;display:flex;flex-direction:column;justify-content:space-between;gap:12px}
.tv-route-target-large span,.tv-route-source-large span{font-size:24px;font-weight:800;line-height:1.1}
.tv-route-target-large small,.tv-route-source-large small{font-size:14px;color:#64748b;font-weight:700}
.tv-route-target.selected,.tv-route-source.selected{border-color:var(--accent,#2563eb);box-shadow:0 0 0 4px rgba(37,99,235,.16);background:linear-gradient(180deg,rgba(37,99,235,.10),rgba(255,255,255,.95))}
.tv-route-source.sky{--accent:#111827}.tv-route-source.magenta{--accent:#e20074}.tv-route-source.movistar{--accent:#064e3b}
.tv-route-footer{display:flex;flex-wrap:wrap;gap:14px;align-items:center;justify-content:space-between;margin-top:18px}
.tv-remote-collapsible .outline{width:100%;min-height:56px;font-weight:800}
@media (max-width:700px){.tv-route-target-large span,.tv-route-source-large span{font-size:20px}.tv-target-grid-large,.tv-source-grid-large{grid-template-columns:1fr}}

/* v60.19: DJ TV-Steuerung - fester Umschalten-Button unten */
.dj-tv-sticky-spacer{height:104px}
.dj-tv-sticky-switchbar{
  position:fixed;
  left:max(16px,env(safe-area-inset-left));
  right:max(16px,env(safe-area-inset-right));
  bottom:max(14px,env(safe-area-inset-bottom));
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid rgba(148,163,184,.35);
  border-radius:22px;
  background:rgba(255,255,255,.94);
  box-shadow:0 18px 45px rgba(15,23,42,.24);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}
.dj-tv-sticky-switchbar .big-button{min-width:220px;margin:0}
@media (max-width:700px){
  .dj-tv-sticky-spacer{height:142px}
  .dj-tv-sticky-switchbar{
    left:max(10px,env(safe-area-inset-left));
    right:max(10px,env(safe-area-inset-right));
    bottom:max(10px,env(safe-area-inset-bottom));
    flex-direction:column;
    align-items:stretch;
    padding:12px;
  }
  .dj-tv-sticky-switchbar .big-button{width:100%;min-width:0;min-height:64px;font-size:20px}
}

/* v60.25: TV-Steuerung Senderfarben sauber getrennt
   Normalzustand: Sky blau/weiß, Magenta magenta/weiß.
   Auswahlzustand: alle Quellen/Sender gelb/schwarz, gewinnt immer gegen Senderfarben. */
.tv-route-source.sky:not(.selected) {
  --accent: #0066cc;
  background: linear-gradient(180deg, #0875e1, #0057b8) !important;
  border-color: rgba(255,255,255,.35) !important;
  color: #ffffff !important;
}
.tv-route-source.magenta:not(.selected) {
  --accent: #e20074;
  background: linear-gradient(180deg, #f01285, #c90068) !important;
  border-color: rgba(255,255,255,.35) !important;
  color: #ffffff !important;
}
.tv-route-source.sky:not(.selected) span,
.tv-route-source.sky:not(.selected) small,
.tv-route-source.magenta:not(.selected) span,
.tv-route-source.magenta:not(.selected) small,
.tv-route-source.movistar:not(.selected) span,
.tv-route-source.movistar:not(.selected) small {
  color: #ffffff !important;
  opacity: 1 !important;
}
.tv-route-source.selected,
.tv-route-source.sky.selected,
.tv-route-source.magenta.selected,
.tv-route-source.movistar.selected,
.movistar-channel.selected {
  --accent: #facc15;
  background: linear-gradient(180deg, #fde047, #facc15) !important;
  border-color: #111827 !important;
  color: #111827 !important;
  box-shadow: 0 0 0 4px rgba(250,204,21,.32), 0 16px 34px rgba(0,0,0,.24) !important;
}
.tv-route-source.selected span,
.tv-route-source.selected small,
.tv-route-source.sky.selected span,
.tv-route-source.sky.selected small,
.tv-route-source.magenta.selected span,
.tv-route-source.magenta.selected small,
.tv-route-source.movistar.selected span,
.tv-route-source.movistar.selected small {
  color: #111827 !important;
  opacity: 1 !important;
}

/* v60.26 TV time lock */
.tv-route-target.locked,
.tv-route-target.locked:disabled {
  opacity: .62;
  cursor: not-allowed;
  background: linear-gradient(180deg, rgba(148,163,184,.22), rgba(255,255,255,.9));
  border-style: dashed;
  box-shadow: none;
}
.tv-route-target.locked small { color: #7f1d1d; }

/* v60.35 Admin: collapsible Geräte & Server */
.admin-accordion-card {
  padding: 0;
  overflow: hidden;
}
.admin-accordion-summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  font-size: 1.35rem;
  font-weight: 800;
}
.admin-accordion-summary::-webkit-details-marker {
  display: none;
}
.admin-accordion-summary::after {
  content: '▾';
  font-size: 1.1rem;
  opacity: .75;
  transition: transform .15s ease;
}
.admin-accordion-card:not([open]) .admin-accordion-summary::after {
  transform: rotate(-90deg);
}
.admin-accordion-summary small {
  font-size: .85rem;
  font-weight: 600;
  opacity: .65;
}
.admin-accordion-body {
  padding: 0 20px 20px;
}

/* v60.42: Panasonic PTZ Kamera-Steuerung */
.camera-control-grid{display:grid;grid-template-columns:minmax(260px,1fr) minmax(180px,0.55fr);gap:18px;align-items:start}
.camera-joystick{touch-action:none;user-select:none;width:min(360px,78vw);height:min(360px,78vw);border-radius:999px;margin:8px auto;background:radial-gradient(circle at center,rgba(255,255,255,.18),rgba(255,255,255,.05));border:2px solid rgba(255,255,255,.28);display:flex;align-items:center;justify-content:center;position:relative;box-shadow:inset 0 0 40px rgba(0,0,0,.25)}
.camera-joystick:before,.camera-joystick:after{content:"";position:absolute;background:rgba(255,255,255,.16);border-radius:999px}.camera-joystick:before{width:70%;height:2px}.camera-joystick:after{height:70%;width:2px}.camera-joystick-dot{font-size:52px;line-height:1;color:#facc15;text-shadow:0 4px 20px rgba(0,0,0,.45);z-index:2}.camera-joystick-hint{position:absolute;bottom:28px;font-size:.9rem;color:rgba(255,255,255,.72);z-index:2}.camera-zoom-buttons{display:flex;flex-direction:column;gap:12px}.camera-preset-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}@media(max-width:760px){.camera-control-grid{grid-template-columns:1fr}.camera-joystick{width:min(330px,86vw);height:min(330px,86vw)}}


/* v60.57 BK Halle Showsteuerung Visuals */
.bkhalle-show-visuals { margin-top: 18px; }
.show-visual-button { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; min-height:120px; }
.show-visual-icon { width:64px; height:64px; object-fit:contain; display:block; }
.admin-visual-icon-preview { width:72px; height:72px; object-fit:contain; border-radius:14px; background:rgba(15,23,42,.08); padding:8px; }


/* Resolume color picker */
.resolume-color-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0,0,0,.45);
}
.resolume-color-card {
  width: min(560px, 96vw);
  max-height: 90vh;
  overflow: auto;
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
  padding: 22px;
}
.resolume-color-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.resolume-color-swatch {
  min-height: 82px;
  border-radius: 18px;
  border: 2px solid rgba(0,0,0,.12);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35), 0 6px 18px rgba(0,0,0,.12);
  font-weight: 800;
  cursor: pointer;
}
.resolume-color-swatch span {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #111;
}
@media (max-width: 560px) {
  .resolume-color-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.grid.three-col{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));}
.tv-route-source.movistar:not(.selected), .movistar-channel:not(.selected) {
  --accent: #064e3b;
  background: #064e3b !important;
  color: #fff !important;
  border-color: #064e3b !important;
}
.tv-route-source.movistar:not(.selected) span,
.tv-route-source.movistar:not(.selected) small,
.movistar-channel:not(.selected) {
  color:#fff !important;
}


.zone-preset-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:10px 0 4px}
.zone-preset-row[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.zone-preset-btn{padding:13px 10px;min-height:48px;font-weight:900;font-size:14px;border-radius:999px;background:#eef2ff;border-color:#c7d2fe;color:#1e3a8a;box-shadow:inset 0 -1px 0 rgba(30,58,138,.08)}
.zone-preset-btn:hover{border-color:#93c5fd;background:#dbeafe}
.zone-preset-btn.mute{background:#111827;border-color:#111827;color:#fff}
.zone-time-locked .zone-preset-btn{opacity:.65}

.big-button.dark,
button.dark {
  background:#111827;
  border-color:#111827;
  color:#fff;
}

.technician-grid .card button,
.artist-button-grid button {
  min-height:58px;
}

.technician-locked-button,
.technician-locked-button:disabled {
  background:#b91c1c !important;
  border-color:#7f1d1d !important;
  color:#fff !important;
  box-shadow:0 8px 20px rgba(127,29,29,.24) !important;
}

.tech-lock-badge {
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:3px;
  font-size:18px;
  line-height:1.05;
}

.tech-lock-badge small {
  font-size:11px;
  font-weight:800;
  color:inherit;
}

.technician-locked-zone {
  outline:2px solid #b91c1c;
}

.technician-lock-banner {
  background:#fee2e2;
  color:#7f1d1d;
  border:1px solid #fecaca;
  border-radius:8px;
  padding:8px 10px;
  margin:8px 0;
}

.artist-inline-frame {
  width:100%;
  height:calc(100vh - 130px);
  border:0;
  border-radius:10px;
  background:#fff;
}

.rider-layout,
.setlist-with-fader,
.setlist-with-tools {
  display:grid;
  grid-template-columns:minmax(0,1fr) 250px;
  gap:20px;
  align-items:start;
}

.setlist-bk-halle-layout {
  grid-template-columns:minmax(620px,1fr) 210px;
}

.rider-layout {
  grid-template-columns:320px minmax(0,1fr);
  align-items:start;
}

.rider-layout > .card:first-child {
  position:sticky;
  top:88px;
}

.rider-layout .list {
  flex-direction:column;
  align-items:stretch;
}

.rider-layout .list button {
  width:100%;
  justify-content:flex-start;
  min-height:48px;
  text-align:left;
}

.rider-detail details {
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:12px;
  margin-bottom:12px;
  background:#f8fafc;
}

.rider-detail summary {
  cursor:pointer;
  font-weight:900;
  font-size:18px;
  margin-bottom:10px;
}

.rider-detail textarea,
.artist-title-edit input,
.artist-draft-list input {
  width:100%;
}

.rider-detail textarea {
  min-height:76px;
  margin:6px 0 12px;
}

.rider-view-head {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:16px;
  margin:0 0 18px;
}

.rider-view-head > div {
  min-width:280px;
}

.rider-artist-picker-label {
  font-size:12px;
  font-weight:900;
  color:#2563eb;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.rider-edit-button {
  min-width:140px;
  min-height:50px;
}

.rider-artist-title {
  font-size:28px;
  margin:8px 0 18px;
}

.rider-view-stack {
  display:flex;
  flex-direction:column;
  gap:18px;
}

.rider-area-view {
  padding:20px;
}

.rider-area-view h3 {
  margin:0 0 16px;
  font-size:24px;
}

.rider-section-label {
  margin:12px 0 10px;
  color:#2563eb;
  font-size:14px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.rider-info-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.rider-info-grid > div,
.rider-track-card {
  border:1px solid #dbe4f0;
  border-radius:12px;
  padding:14px;
  background:rgba(248,250,252,.72);
}

.rider-info-grid strong {
  display:block;
  margin-bottom:8px;
  font-size:18px;
  color:#111827;
}

.rider-info-grid p {
  margin:0;
  font-size:18px;
  line-height:1.35;
  color:#1f2937;
  white-space:pre-line;
}

.rider-info-grid.compact p {
  font-size:16px;
}

.rider-track-card {
  margin-bottom:12px;
}

.rider-track-card h4 {
  margin:0 0 12px;
  font-size:22px;
}

.rider-empty-track {
  border:1px dashed #cbd5e1;
  border-radius:12px;
  padding:16px;
  color:#64748b;
}

.setlist-card-head,
.network-head,
.lock-release-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.lock-release-row small {
  display:inline-block;
  margin-left:8px;
  color:#64748b;
  font-size:12px;
  font-weight:800;
}

.setlist-row {
  display:grid;
  grid-template-columns:minmax(260px,1.15fr) 110px minmax(180px,.8fr) 220px;
  gap:12px;
  align-items:center;
  padding:10px 0;
  border-bottom:1px solid rgba(148,163,184,.22);
  font-size:18px;
}

.setlist-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:12px;
}

.setlist-card {
  padding:22px;
}

.setlist-card-head {
  padding-bottom:10px;
  border-bottom:2px solid #e2e8f0;
  margin-bottom:8px;
}

.setlist-card-head h3 {
  margin:0;
  font-size:30px;
}

.setlist-card-head > strong {
  color:#0f172a;
  font-size:22px;
}

.setlist-row:first-of-type {
  border-top:1px solid rgba(148,163,184,.22);
}

.setlist-row > strong {
  color:#111827;
}

.setlist-special {
  background:#fff7ed;
  border:1px solid #fed7aa;
  border-radius:8px;
  padding:12px;
  margin:10px 0;
}

.setlist-section {
  margin:18px 0;
}

.setlist-section h4 {
  margin:0 0 10px;
  color:#0f172a;
  font-size:18px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.setlist-extra-section h4,
.setlist-announcement-section h4 {
  color:#2563eb;
}

.setlist-special-label {
  color:#111827;
  font-size:19px;
  font-weight:900;
}

.setlist-row.done .setlist-title span,
.setlist-row.done > span {
  text-decoration:line-through;
  color:#6b7280;
  opacity:1;
}

.setlist-row.done .setlist-title {
  background:#f1f5f9;
  color:#6b7280;
  border-color:#cbd5e1;
}

.setlist-title {
  text-align:left;
  background:transparent;
  border-color:transparent;
  color:#000;
  min-height:56px;
  justify-content:flex-start;
  padding:0;
  font-size:19px;
  font-weight:900;
  box-shadow:none;
}

.setlist-title:hover {
  background:#f8fafc;
  border-color:#e2e8f0;
}

.setlist-track {
  color:#111827;
  font-size:18px;
  font-weight:800;
}

.setlist-hint {
  color:#000;
  font-size:19px;
  line-height:1.25;
}

.setlist-action-button {
  width:100%;
  min-height:56px;
  padding:10px 12px;
  font-size:17px;
  font-weight:900;
}

.setlist-dual-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  width:100%;
}

.setlist-dual-actions button {
  min-width:0;
  min-height:56px;
  padding:10px 8px;
  font-size:15px;
  font-weight:900;
}

.setlist-empty-encore {
  border-top:1px solid rgba(148,163,184,.24);
  padding-top:12px;
  color:#64748b;
  font-size:17px;
}

.setlist-export-button {
  width:100%;
  min-height:54px;
  margin-top:12px;
}

.visual-ok {
  background:#14532d;
  border-color:#14532d;
  color:#fff;
}

.visual-fallback {
  background:#2563eb;
  border-color:#2563eb;
  color:#fff;
}

.visual-missing {
  background:#b91c1c;
  border-color:#b91c1c;
  color:#fff;
}

.setlist-brightness,
.setlist-light-tools {
  display:flex;
  flex-direction:column;
  gap:12px;
  align-items:stretch;
}

.setlist-brightness {
  position:sticky;
  top:88px;
  padding:16px;
}

.setlist-light-tools button {
  min-height:60px;
  font-size:17px;
  font-weight:900;
}

.vertical-brightness {
  writing-mode:bt-lr;
  -webkit-appearance:slider-vertical;
  width:54px;
  height:430px;
  margin:0 auto 10px;
}

.network-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(310px,1fr));
  gap:14px;
}

.network-device {
  display:grid;
  grid-template-columns:14px minmax(0,1fr) auto;
  gap:8px;
  align-items:center;
  padding:8px 0;
  border-bottom:1px solid rgba(148,163,184,.2);
}

.network-device em {
  grid-column:2 / -1;
  font-size:12px;
  color:#475569;
  font-style:normal;
}

.network-dot {
  width:12px;
  height:12px;
  border-radius:999px;
  background:#f59e0b;
}

.network-dot.ok { background:#16a34a; }
.network-dot.warning { background:#f59e0b; }
.network-dot.offline { background:#dc2626; }

.artist-ui {
  background:#f1f5f9;
}

.artist-shell {
  max-width:1280px;
  margin:0 auto;
  padding:22px;
}

.artist-hero,
.artist-step {
  background:rgba(255,255,255,.97);
  border:1px solid #dbe3ef;
  border-radius:12px;
  padding:30px;
  margin-bottom:18px;
  box-shadow:0 18px 42px rgba(15,23,42,.12);
}

.artist-hero h1,
.artist-step h1 {
  font-size:54px;
  line-height:1.05;
  margin:6px 0 18px;
}

.artist-lead,
.artist-hero p {
  font-size:22px;
  line-height:1.35;
}

.artist-suggest-box {
  display:grid;
  gap:8px;
  padding:20px;
  border:2px solid #2563eb;
  border-radius:12px;
  background:#eff6ff;
  margin-bottom:20px;
}

.artist-suggest-box strong {
  font-size:40px;
  color:#111827;
}

.artist-suggest-box span {
  font-size:22px;
  font-weight:800;
}

.artist-suggest-box.muted {
  border-color:#cbd5e1;
  background:#f8fafc;
}

.artist-select-card,
.artist-setup-grid label {
  display:grid;
  gap:12px;
  padding:22px;
  border:2px solid #dbeafe;
  border-radius:14px;
  background:#eff6ff;
  margin:18px 0;
}

.artist-select-card label,
.artist-setup-grid label {
  color:#0f172a;
  font-size:24px;
  font-weight:950;
}

.artist-select-card select {
  min-height:82px;
  border-radius:12px;
  border:2px solid #93c5fd;
  color:#111827;
  background:#fff;
  font-size:30px;
  font-weight:900;
  padding:14px 18px;
}

.artist-setup-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(260px,1fr));
  gap:18px;
  margin:22px 0;
}

.artist-setup-grid select,
.artist-setup-grid input {
  min-height:92px;
  border-radius:12px;
  border:2px solid #93c5fd;
  color:#111827;
  background:#fff;
  font-size:34px;
  font-weight:950;
  padding:14px 18px;
}

.artist-picker-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
  margin:18px 0;
}

.artist-picker-grid button,
.artist-wide,
.artist-next {
  min-height:78px;
  font-size:22px;
}

.artist-title-option {
  position:relative;
  min-height:78px;
}

.artist-title-option > button.outline {
  width:100%;
  height:100%;
  min-height:78px;
  padding-right:56px;
}

.artist-title-delete {
  position:absolute;
  top:8px;
  right:8px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  min-height:34px !important;
  padding:0;
  border-radius:999px;
  border:0;
  background:#dc2626;
  color:#fff;
  -webkit-text-fill-color:#fff;
  font-size:18px !important;
  font-weight:950;
  line-height:1;
}

.artist-next {
  width:100%;
  margin-top:18px;
}

.artist-last-big {
  display:grid;
  gap:8px;
  padding:18px;
  border:2px solid #facc15;
  border-radius:12px;
  background:#fef9c3;
  margin:16px 0;
}

.artist-last-big strong {
  font-size:24px;
}

.artist-order-list {
  list-style:none;
  padding:0;
  margin:12px 0;
}

.artist-order-list li {
  display:grid;
  grid-template-columns:58px 54px minmax(220px,1fr) 140px minmax(180px,1fr) 130px 64px;
  gap:10px;
  align-items:center;
  padding:10px;
  border:1px solid #dbe3ef;
  border-radius:9px;
  margin-bottom:8px;
  background:#fff;
}

.artist-order-list li.dragging {
  opacity:.72;
  box-shadow:0 12px 28px rgba(37,99,235,.22);
}

.artist-order-list li.drag-over {
  outline:3px solid #2563eb;
  background:#eff6ff;
}

.artist-drag-handle {
  min-width:52px;
  min-height:52px;
  padding:0;
  border-radius:12px;
  border:2px solid #bfdbfe;
  background:#eff6ff;
  color:#1d4ed8;
  font-size:18px;
  font-weight:950;
  letter-spacing:2px;
  cursor:grab;
  touch-action:none;
  -webkit-user-select:none;
  user-select:none;
}

.artist-drag-handle:active {
  cursor:grabbing;
  background:#2563eb;
  color:#fff;
}

.artist-order-list li span {
  font-size:20px;
  font-weight:900;
}

.artist-order-list.encore li,
.artist-order-list li:has(.artist-encore-check) {
  align-items:center;
}

.artist-order-list.encore li {
  grid-template-columns:58px 54px minmax(220px,1fr) 140px minmax(180px,1fr) 64px;
}

.artist-order-list.tech-light-list li {
  grid-template-columns:54px minmax(220px,1fr) minmax(240px,2fr);
}

.artist-encore-check {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  border:2px solid #dbeafe;
  border-radius:10px;
  background:#eff6ff;
  color:#0f172a;
  font-size:16px;
  font-weight:950;
}

.artist-encore-check input {
  width:22px;
  height:22px;
}

.artist-tech-start {
  margin:24px 0;
  padding:24px;
  border:2px solid #dbeafe;
  border-radius:14px;
  background:#eff6ff;
}

.artist-tech-start h2 {
  margin:0 0 18px;
  font-size:34px;
  color:#0f172a;
}

.artist-tech-choice {
  display:grid;
  grid-template-columns:repeat(2,minmax(180px,1fr));
  gap:18px;
  margin-top:20px;
}

.artist-tech-choice button {
  min-height:110px;
  font-size:34px;
  font-weight:950;
}

.artist-identify-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,520px);
  gap:22px;
  align-items:start;
  margin-bottom:18px;
}

.artist-identify-head h1 {
  margin-bottom:0;
}

.artist-performance-box {
  margin:24px 0;
  padding:24px;
  border:2px solid #bbf7d0;
  border-radius:14px;
  background:#f0fdf4;
}

.artist-performance-box h2 {
  margin:0 0 18px;
  font-size:34px;
  color:#14532d;
}

.artist-performance-actions,
.artist-delay-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(180px,1fr));
  gap:18px;
}

.artist-performance-actions button,
.artist-delay-actions button {
  min-height:104px;
  font-size:30px;
  font-weight:950;
}

.artist-delay-actions {
  margin-top:18px;
}

.artist-performance-compact {
  margin:0;
  padding:18px;
}

.artist-performance-compact h2 {
  margin-bottom:12px;
  font-size:22px;
}

.artist-performance-compact .artist-performance-actions,
.artist-performance-compact .artist-delay-actions {
  gap:10px;
}

.artist-performance-compact .artist-performance-actions button,
.artist-performance-compact .artist-delay-actions button {
  min-height:64px;
  font-size:18px;
}

@media (max-width:900px) {
  .artist-identify-head {
    grid-template-columns:1fr;
  }
}

.artist-performance-popup-backdrop {
  position:fixed;
  inset:0;
  z-index:3000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.62);
  backdrop-filter:blur(9px);
}

.artist-performance-popup {
  width:min(760px,94vw);
  padding:34px;
  border-radius:18px;
  background:#0f172a;
  color:#fff;
  text-align:center;
  border:4px solid #22c55e;
  box-shadow:0 28px 90px rgba(15,23,42,.42);
}

.artist-performance-popup.delayed {
  border-color:#f59e0b;
}

.artist-performance-popup p {
  margin:0 0 8px;
  color:#bfdbfe;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
}

.artist-performance-popup h2 {
  margin:0 0 18px;
  color:#fff;
  font-size:58px;
  line-height:1.02;
}

.artist-performance-popup strong {
  display:block;
  font-size:34px;
  color:#fff;
}

.artist-performance-popup span {
  display:block;
  margin-top:8px;
  color:#dbeafe;
  font-size:22px;
  font-weight:800;
}

.artist-performance-delay {
  margin:24px auto 0;
  width:max-content;
  max-width:100%;
  padding:12px 24px;
  border-radius:999px;
  background:#f59e0b;
  color:#111827;
  font-size:34px;
  font-weight:1000;
}

.artist-performance-popup button {
  margin-top:28px;
  min-width:220px;
  min-height:76px;
  font-size:28px;
  font-weight:950;
}

.artist-confirm-backdrop {
  position:fixed;
  inset:0;
  z-index:4100;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.62);
  backdrop-filter:blur(9px);
}

.artist-confirm-dialog {
  width:min(680px,94vw);
  padding:32px;
  border-radius:18px;
  background:#ffffff;
  color:#0f172a;
  text-align:center;
  border:3px solid #2563eb;
  box-shadow:0 28px 90px rgba(15,23,42,.36);
}

.artist-confirm-dialog p {
  margin:0 0 8px;
  color:#2563eb;
  font-size:18px;
  font-weight:950;
  text-transform:uppercase;
}

.artist-confirm-dialog h2 {
  margin:0 0 14px;
  font-size:42px;
  line-height:1.05;
}

.artist-confirm-dialog strong {
  display:block;
  margin-bottom:22px;
  font-size:24px;
}

.artist-confirm-dialog span {
  display:block;
  margin:-10px 0 22px;
  color:#475569;
  font-size:20px;
  font-weight:800;
}

.artist-confirm-actions {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.artist-confirm-actions button {
  min-height:78px;
  font-size:30px;
  font-weight:950;
}

.artist-monitoring-grid button {
  min-height:96px;
  font-size:24px;
  font-weight:950;
}

.tech-light-list li {
  grid-template-columns:54px minmax(240px,.8fr) minmax(360px,1.2fr);
}

.artist-light-note {
  min-height:58px;
  font-size:20px;
  font-weight:800;
}

.artist-usb-warning {
  margin:18px 0;
  padding:22px;
  border:3px solid #dc2626;
  border-radius:14px;
  background:#fef2f2;
  color:#7f1d1d;
}

.artist-usb-warning h2 {
  margin:0 0 8px;
  color:#b91c1c;
  font-size:36px;
}

.artist-usb-warning p {
  margin:0 0 12px;
  font-size:20px;
  font-weight:800;
}

.artist-usb-warning li {
  margin:6px 0;
  font-size:20px;
  font-weight:900;
}

.artist-audio-choice {
  display:grid;
  gap:16px;
  margin:18px 0;
  padding:22px;
  border:2px solid #facc15;
  border-radius:14px;
  background:#fef9c3;
}

.artist-audio-choice h2 {
  margin:0;
  font-size:30px;
  color:#111827;
}

.artist-audio-choice label {
  display:grid;
  gap:8px;
  padding:14px;
  border:1px solid #eab308;
  border-radius:12px;
  background:#fff;
}

.artist-audio-choice strong {
  font-size:22px;
  color:#111827;
}

.artist-audio-choice select {
  min-height:62px;
  font-size:18px;
  font-weight:800;
}

.artist-empty {
  padding:18px;
  border:1px dashed #94a3b8;
  border-radius:10px;
  color:#475569;
  background:#f8fafc;
}

.artist-extra-box {
  padding:18px;
  border:1px solid #dbe3ef;
  border-radius:10px;
  background:#f8fafc;
  margin:14px 0;
}

.artist-simple-list {
  margin:12px 0 0;
}

.artist-panel {
  background:rgba(255,255,255,.96);
  border:1px solid #e2e8f0;
  border-radius:10px;
  padding:24px;
  margin-bottom:18px;
}

.artist-panel h1,
.artist-panel h2,
.artist-panel h3 {
  margin-top:0;
}

.artist-top {
  display:flex;
  justify-content:flex-end;
  margin-bottom:10px;
}

.artist-panel summary {
  cursor:pointer;
  font-weight:900;
  font-size:18px;
}

.artist-button-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
  gap:14px;
  margin:14px 0;
}

.artist-button-grid button {
  min-height:72px;
  font-size:20px;
}

.artist-form-row,
.artist-title-edit,
.artist-draft-list li,
.active-setlist-pill {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:10px;
  align-items:center;
  margin:8px 0;
}

.artist-save {
  width:100%;
  min-height:82px;
  font-size:26px;
  margin-top:14px;
}

.last-setlist-box {
  border:1px solid #cbd5e1;
  border-radius:8px;
  padding:12px;
  margin-bottom:12px;
  background:#f8fafc;
}

.global-active-chip {
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin:0 0 12px;
  padding:7px 12px;
  border-radius:8px;
  background:#facc15;
  color:#111827;
  font-weight:900;
  box-shadow:0 8px 18px rgba(15,23,42,.12);
}

button.shared-active-button,
.shared-active-button {
  background:#facc15 !important;
  border-color:#ca8a04 !important;
  color:#111827 !important;
  box-shadow:0 8px 20px rgba(202,138,4,.25);
}

button.shared-active-button::after {
  content:"Aktiv";
  display:block;
  margin-top:6px;
  font-size:12px;
  font-weight:900;
  color:#111827;
}

.artist-identity-panel {
  border-left:6px solid #2563eb;
}

.artist-suggestion-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px,380px);
  gap:22px;
  align-items:center;
  border:2px solid #2563eb;
  box-shadow:0 14px 36px rgba(37,99,235,.12);
}

.artist-suggestion-card.manual {
  grid-template-columns:1fr;
  border-color:#cbd5e1;
}

.artist-suggestion-card h1 {
  font-size:52px;
  line-height:1.05;
  margin:4px 0 12px;
}

.artist-suggestion-card p {
  font-size:22px;
  line-height:1.35;
  margin:0;
}

.artist-kicker {
  display:inline-flex;
  padding:6px 10px;
  border-radius:8px;
  background:#dbeafe;
  color:#1d4ed8;
  font-weight:900;
  text-transform:uppercase;
  font-size:12px;
  letter-spacing:0;
}

.artist-yes-button {
  min-height:120px;
  font-size:32px;
}

.artist-quick-add {
  margin:18px 0 20px;
  padding:18px;
  border:2px solid #dbeafe;
  border-radius:10px;
  background:#eff6ff;
}

.artist-quick-add label {
  display:block;
  font-weight:900;
  font-size:22px;
  margin-bottom:10px;
}

.artist-quick-add-row {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(190px,240px) minmax(180px,240px);
  gap:12px;
}

.artist-quick-add input {
  min-height:68px;
  font-size:24px;
  border-radius:8px;
}

.artist-quick-add button {
  min-height:68px;
  font-size:22px;
}

.artist-dropbox-chip {
  min-height:68px;
  border-radius:10px;
  font-weight:900;
  border:2px solid #bbf7d0;
  background:#dcfce7;
  color:#14532d;
}

.artist-dropbox-chip b {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  height:34px;
  margin-left:8px;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
}

.artist-dropbox-chip.neutral,
.artist-dropbox-chip.loading {
  border-color:#bfdbfe;
  background:#eff6ff;
  color:#1e3a8a;
}

.artist-dropbox-chip.warn {
  border-color:#fde68a;
  background:#fffbeb;
  color:#92400e;
}

.artist-dropbox-modal-backdrop {
  position:fixed;
  inset:0;
  z-index:1200;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(15,23,42,.54);
  backdrop-filter:blur(8px);
}

.artist-dropbox-modal {
  width:min(980px,96vw);
  max-height:min(760px,90vh);
  overflow:auto;
  background:#fff;
  border-radius:14px;
  border:1px solid #dbe3ef;
  box-shadow:0 24px 80px rgba(15,23,42,.26);
  padding:22px;
}

.artist-dropbox-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.artist-dropbox-head h2 {
  margin:2px 0 0;
  font-size:32px;
}

.artist-dropbox-list {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:12px;
}

.artist-dropbox-list button {
  display:grid;
  gap:6px;
  min-height:92px;
  text-align:left;
  align-content:center;
  position:relative;
}

.artist-dropbox-list strong {
  font-size:20px;
  color:#111827;
}

.artist-dropbox-list span {
  font-size:13px;
  font-weight:800;
  color:#64748b;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.artist-dropbox-list button.selected {
  border-color:#16a34a;
  background:#dcfce7;
  box-shadow:0 0 0 3px rgba(22,163,74,.16);
}

.artist-dropbox-list button.selected strong {
  color:#14532d;
}

.artist-dropbox-badges {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:center;
  width:100%;
}

.artist-dropbox-list button em {
  justify-self:start;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  min-width:34px;
  padding:4px 10px;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
  font-style:normal;
  font-size:13px;
  font-weight:900;
}

.artist-dropbox-list button em.encore {
  min-width:auto;
  background:#0f172a;
}

.artist-dropbox-remove {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  margin-left:auto;
  border-radius:999px;
  background:#dc2626;
  color:#ffffff;
  font-size:14px;
  font-weight:1000;
  cursor:pointer;
  line-height:1;
}

.artist-dropbox-list span.artist-dropbox-remove {
  color:#ffffff !important;
  -webkit-text-fill-color:#ffffff;
}

.artist-identity-row {
  display:grid;
  grid-template-columns:minmax(260px,1fr) auto;
  gap:12px;
  align-items:end;
}

.artist-identity-row button {
  min-height:44px;
  white-space:nowrap;
}

@media (max-width: 760px) {
  .artist-suggestion-card,
  .artist-identity-row,
  .artist-quick-add-row {
    grid-template-columns:1fr;
  }
  .artist-suggestion-card h1 {
    font-size:34px;
  }
  .artist-hero h1,
  .artist-step h1 {
    font-size:36px;
  }
  .artist-order-list li {
    grid-template-columns:58px 1fr;
  }
  .artist-order-list li b,
  .artist-order-list li span {
    align-self:center;
  }
  .artist-order-list li span {
    grid-column:2;
  }
  .artist-order-list li input,
  .artist-order-list li .artist-encore-check,
  .artist-order-list li button.danger {
    grid-column:1 / -1;
  }
  .artist-order-list.tech-light-list li {
    grid-template-columns:1fr;
  }
  .artist-setup-grid {
    grid-template-columns:1fr;
  }
  .artist-select-card select,
  .artist-setup-grid select,
  .artist-setup-grid input {
    font-size:24px;
  }
}

@media only screen and (max-width: 600px) and (hover: none) and (pointer: coarse) {
  .artist-ui main {
    padding:8px;
  }

  .artist-shell {
    padding:8px;
  }

  .artist-top {
    margin-bottom:8px;
  }

  .artist-top button {
    min-height:44px;
    padding:10px 14px;
    font-size:15px;
  }

  .artist-hero,
  .artist-step {
    padding:16px;
    border-radius:12px;
  }

  .artist-identify-head {
    gap:12px;
    margin-bottom:12px;
  }

  .artist-hero h1,
  .artist-step h1 {
    font-size:38px;
    line-height:1;
    margin-bottom:10px;
  }

  .artist-kicker {
    font-size:13px;
  }

  .artist-performance-compact {
    padding:14px;
  }

  .artist-performance-compact h2 {
    font-size:18px;
    line-height:1.15;
  }

  .artist-performance-compact .artist-performance-actions,
  .artist-performance-compact .artist-delay-actions {
    grid-template-columns:1fr;
    gap:8px;
  }

  .artist-performance-compact .artist-performance-actions button,
  .artist-performance-compact .artist-delay-actions button {
    min-height:58px;
    font-size:18px;
  }

  .artist-suggest-box {
    padding:14px;
    gap:6px;
  }

  .artist-suggest-box strong {
    font-size:28px;
    line-height:1.05;
  }

  .artist-suggest-box span,
  .artist-lead,
  .artist-hero p {
    font-size:17px;
  }

  .artist-select-card,
  .artist-setup-grid label {
    padding:16px;
    gap:10px;
  }

  .artist-select-card label,
  .artist-setup-grid label {
    font-size:18px;
  }

  .artist-select-card select,
  .artist-setup-grid select,
  .artist-setup-grid input {
    min-height:62px;
    font-size:20px;
  }

  .artist-picker-grid {
    grid-template-columns:1fr;
    gap:10px;
  }

  .artist-picker-grid button,
  .artist-wide,
  .artist-next {
    min-height:62px;
    font-size:19px;
  }

  .artist-title-option,
  .artist-title-option > button.outline {
    min-height:62px;
  }

  .artist-title-delete {
    width:32px;
    height:32px;
    min-height:32px !important;
    font-size:16px !important;
  }

  .artist-ui #artist-status {
    bottom:max(14px, env(safe-area-inset-bottom));
    width:calc(100vw - 20px);
    padding:14px 16px;
    font-size:19px;
  }

  .artist-confirm-backdrop {
    padding:14px;
  }

  .artist-confirm-dialog {
    padding:22px 16px;
    border-radius:16px;
  }

  .artist-confirm-dialog p {
    font-size:14px;
  }

  .artist-confirm-dialog h2 {
    font-size:30px;
  }

  .artist-confirm-dialog strong {
    font-size:18px;
    margin-bottom:16px;
  }

  .artist-confirm-dialog span {
    margin:-6px 0 16px;
    font-size:16px;
  }

  .artist-confirm-actions {
    grid-template-columns:1fr;
    gap:10px;
  }

  .artist-confirm-actions button {
    min-height:62px;
    font-size:22px;
  }
}

.zone-last-switch-mini {
  margin-top:8px;
  padding:6px 9px;
  border-radius:7px;
  background:#f3f4f6;
  color:#111827;
  font-size:12px;
  font-weight:500;
  line-height:1.25;
  text-align:center;
}

.home-area-select-row {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}

.home-area-buttons,
.home-special-buttons {
  gap:10px;
}

.home-special-buttons {
  margin-left:auto;
}

.home-special-buttons button {
  min-width:130px;
}

.cashi-sos-button {
  background:#dc2626 !important;
  border-color:#dc2626 !important;
  color:#fff !important;
  font-weight:900;
}

.cashi-sos-backdrop {
  position:fixed;
  inset:0;
  z-index:10000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  background:rgba(15,23,42,.54);
  backdrop-filter:blur(3px);
}

.cashi-sos-modal {
  width:min(620px,100%);
  max-height:calc(100vh - 48px);
  overflow:auto;
  border-radius:12px;
  box-shadow:0 24px 80px rgba(15,23,42,.34);
}

.cashi-sos-modal h2 {
  margin-top:0;
  color:#111827;
}

.cashi-sos-confirmed {
  text-align:center;
  max-width:460px;
}

.cashi-sos-confirmed .modal-actions {
  justify-content:center;
}

.cashi-sos-options {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:18px 0;
}

.cashi-sos-option {
  display:flex;
  align-items:center;
  gap:12px;
  min-height:58px;
  border:1px solid #d7deea;
  border-radius:8px;
  padding:10px 12px;
  background:#f8fafc;
  font-weight:900;
  color:#111827;
}

.cashi-sos-option input {
  width:24px;
  height:24px;
  accent-color:#dc2626;
}

.cashi-sos-message-label {
  display:block;
  margin:6px 0 8px;
  font-weight:900;
  color:#111827;
}

.cashi-sos-message {
  width:100%;
  min-height:130px;
  border:1px solid #cfd6e2;
  border-radius:8px;
  padding:12px;
  font-size:18px;
  font-weight:700;
  color:#111827;
  background:#fff;
  resize:vertical;
}

.technician-core-grid {
  display:grid;
  grid-template-columns:repeat(6,minmax(150px,1fr));
  gap:18px;
  margin-bottom:16px;
}

.technician-core-grid > .card {
  padding:18px;
}

.technician-core-grid .big-button {
  min-height:116px;
  font-size:24px;
  font-weight:800;
  border-radius:12px;
}

.technician-more {
  margin-top:16px;
}

.technician-more summary {
  cursor:pointer;
  font-weight:900;
}

.push-layout {
  display:grid;
  grid-template-columns:minmax(320px,1fr) minmax(320px,1fr);
  gap:16px;
}

.push-card {
  display:flex;
  flex-direction:column;
  gap:14px;
}

.push-device-input {
  width:100%;
  min-height:52px;
  border:1px solid #cfd6e2;
  border-radius:8px;
  padding:0 14px;
  font-size:18px;
  font-weight:700;
  color:#111827;
  background:#fff;
}

.push-category-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:10px;
}

.push-category {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:58px;
  border:1px solid #d7deea;
  border-radius:8px;
  padding:10px 12px;
  background:#f8fafc;
  color:#111827;
  font-weight:800;
}

.push-category input {
  width:22px;
  height:22px;
  accent-color:#2563eb;
}

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

.push-test-button {
  min-height:54px;
}

.push-device-list {
  display:flex;
  flex-direction:column;
  gap:10px;
}

.push-device-row {
  display:flex;
  justify-content:space-between;
  gap:12px;
  border:1px solid #d7deea;
  border-radius:8px;
  padding:12px;
  background:#fff;
  color:#111827;
}

.push-device-actions {
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.push-device-row.disabled {
  opacity:.55;
}

.push-device-row strong,
.push-device-row small,
.push-device-row em {
  display:block;
}

.push-device-row small {
  margin-top:4px;
  color:#64748b;
}

.push-device-row em {
  margin-top:4px;
  color:#b91c1c;
  font-style:normal;
}

.cashi-news-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:14px;
}

.cashi-news-head h2 {
  margin:0;
}

.cashi-news-list {
  display:grid;
  gap:12px;
}

.cashi-news-card {
  display:flex;
  align-items:stretch;
  justify-content:space-between;
  gap:16px;
  border-left:6px solid #dc2626;
}

.cashi-news-main {
  min-width:0;
  display:grid;
  gap:8px;
}

.cashi-news-meta {
  display:flex;
  align-items:baseline;
  gap:10px;
  flex-wrap:wrap;
}

.cashi-news-meta strong {
  font-size:22px;
  color:#111827;
}

.cashi-news-meta span {
  color:#64748b;
  font-size:14px;
}

.cashi-news-text {
  color:#111827;
  font-size:18px;
  line-height:1.35;
  font-weight:700;
}

.cashi-news-issues {
  justify-self:start;
  border-radius:999px;
  padding:5px 10px;
  background:#fee2e2;
  color:#991b1b;
  font-size:13px;
  font-weight:800;
}

.cashi-news-done {
  min-width:130px;
  align-self:center;
}

.cashi-news-empty {
  color:#475569;
  font-size:18px;
}

@media (max-width:820px) {
  .push-layout,
  .push-actions,
  .cashi-sos-options {
    grid-template-columns:1fr;
  }
  .cashi-news-head,
  .cashi-news-card {
    flex-direction:column;
  }
  .cashi-news-done {
    width:100%;
  }
}

.locks-page-head {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin:4px 0 14px;
}

.locks-page-head h2 {
  margin:0 0 6px;
}

.locks-area-card {
  margin-bottom:16px;
}

.locks-area-tabs {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}

.locks-area-tabs button {
  min-height:56px;
  font-weight:900;
}

.locks-layout {
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(340px,.75fr);
  gap:16px;
  align-items:start;
}

.locks-panel {
  border-radius:16px;
}

.locks-panel-main {
  grid-row:span 2;
}

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

.locks-panel-head h3,
.locks-panel h3 {
  margin:0 0 6px;
}

.locks-panel-head.compact {
  margin-bottom:10px;
}

.locks-button-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
}

.locks-button-grid.small {
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
}

.locks-button-grid button {
  min-height:50px;
  font-weight:800;
}

.locks-create-preset {
  width:100%;
  min-height:54px;
  margin-bottom:12px;
  font-weight:900;
}

.locks-preset-list,
.locks-release-list,
.locks-visual-list {
  display:grid;
  gap:10px;
}

.locks-preset-row {
  display:grid;
  gap:10px;
  padding:12px;
  border:1px solid #dbe2ea;
  border-radius:14px;
  background:#f8fafc;
}

.locks-preset-row strong,
.locks-preset-row span {
  display:block;
}

.locks-preset-row span {
  margin-top:3px;
  font-size:13px;
  color:#64748b;
  font-weight:700;
}

.locks-preset-actions {
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:8px;
}

.locks-preset-actions button {
  padding:10px 8px;
  font-weight:800;
}

.locks-preset-editor {
  margin-top:14px;
  padding-top:14px;
  border-top:1px solid #e5e7eb;
}

.locks-preset-editor h4 {
  margin:0 0 10px;
}

.locks-preset-select-grid {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:8px;
  margin:12px 0;
  max-height:420px;
  overflow:auto;
  padding-right:4px;
}

.locks-preset-select-grid button {
  min-height:46px;
  font-weight:800;
}

.locks-editor-actions {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.locks-visuals-panel {
  grid-column:1 / -1;
}

.locks-visual-list details {
  border:1px solid #dbe2ea;
  border-radius:14px;
  background:#f8fafc;
  padding:10px;
}

.locks-visual-list summary {
  cursor:pointer;
  font-weight:900;
  padding:6px;
}

.locks-visual-list details .locks-button-grid {
  margin-top:10px;
}

@media (max-width: 980px) {
  .locks-layout {
    grid-template-columns:1fr;
  }
  .locks-panel-main,
  .locks-visuals-panel {
    grid-column:auto;
    grid-row:auto;
  }
}

@media (max-width: 640px) {
  .locks-page-head,
  .locks-panel-head {
    flex-direction:column;
  }
  .locks-area-tabs,
  .locks-preset-actions,
  .locks-editor-actions {
    grid-template-columns:1fr;
  }
}

.limiter-mode-card {
  margin-bottom:14px;
}

.limiter-health-card {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  border-left:6px solid #9ca3af;
}

.limiter-health-card.limiter-health-green {
  border-left-color:#16a34a;
}

.limiter-health-card.limiter-health-yellow {
  border-left-color:#facc15;
}

.limiter-health-card.limiter-health-red {
  border-left-color:#dc2626;
}

.limiter-health-main {
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.limiter-health-dot {
  width:24px;
  height:24px;
  border-radius:999px;
  flex:0 0 auto;
  box-shadow:0 0 0 5px rgba(17,24,39,.06), 0 8px 20px rgba(17,24,39,.18);
}

.limiter-health-dot.green {
  background:#16a34a;
}

.limiter-health-dot.yellow {
  background:#facc15;
}

.limiter-health-dot.red {
  background:#dc2626;
}

.limiter-health-title {
  font-size:18px;
  font-weight:800;
  color:#111827;
}

.limiter-health-meta {
  margin-top:2px;
  font-size:13px;
  color:#4b5563;
}

.limiter-health-fix {
  min-width:140px;
  min-height:46px;
  background:#111827;
  color:#fff;
  border-color:#111827;
  font-weight:800;
}

.limiter-mode-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

.limiter-mode-buttons {
  display:grid;
  grid-template-columns:repeat(2,minmax(160px,1fr));
  gap:12px;
}

.limiter-mode-buttons button {
  min-height:64px;
  font-weight:800;
}

.mode-active-yellow {
  background:#facc15;
  border-color:#ca8a04;
  color:#111827;
}

@media (max-width: 760px) {
  .home-special-buttons {
    width:100%;
    margin-left:0;
  }
  .home-special-buttons button {
    flex:1;
  }
  .technician-core-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .limiter-mode-buttons {
    grid-template-columns:1fr;
  }
  .limiter-health-card {
    align-items:stretch;
    flex-direction:column;
  }
  .limiter-health-fix {
    width:100%;
  }
}

@media (max-width: 900px) {
  .rider-layout,
  .setlist-with-fader,
  .setlist-with-tools {
    grid-template-columns:1fr;
  }
  .rider-info-grid {
    grid-template-columns:1fr;
  }
  .rider-view-head {
    align-items:stretch;
    flex-direction:column;
  }
  .setlist-row {
    grid-template-columns:1fr;
  }
}
@media (max-width: 640px){.zone-preset-row{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.zone-preset-row[data-count="3"]{grid-template-columns:repeat(3,minmax(0,1fr))}.zone-preset-btn{font-size:12px;padding:10px 6px;min-height:42px}}


/* Sportplan v61.08 */
.sport-list{display:grid;gap:12px;margin-top:12px}.sport-card{border-left:5px solid rgba(255,255,255,.18)}.sport-card.planned{border-left-color:#ffd84a;box-shadow:0 0 0 2px rgba(255,216,74,.25) inset}.sport-main{display:flex;gap:12px;align-items:center}.sport-logo{font-size:30px;min-width:42px;text-align:center}.sport-title{font-size:18px;font-weight:800}.sport-meta,.small-note{opacity:.78;font-size:13px}.sport-channels{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.sport-channel{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);border-radius:999px;padding:5px 9px;font-size:12px}.sport-channel.warn{background:rgba(255,166,0,.16);border-color:rgba(255,166,0,.4)}.sport-planned{margin-top:10px;background:rgba(255,216,74,.14);border:1px solid rgba(255,216,74,.35);border-radius:10px;padding:8px;color:#ffe27a}.sport-filter-row{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0}.sport-chip{padding:6px 10px;border-radius:999px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.14);font-size:12px}.sport-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.small-btn{padding:6px 10px;font-size:12px;border-radius:8px}.small-btn.active{background:#ffd84a;color:#000}.sport-modal{max-width:760px;width:min(760px,94vw)}.check-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:8px;margin:8px 0 12px}.check{display:block;padding:8px;border-radius:9px;background:rgba(255,255,255,.08)}

/* v61.12: Chef UI - kleiner fixer Cambiar-Button fuer TV-Umschaltung */
.chef-tv-route-summary{padding-right:110px}
.chef-tv-floating-spacer{height:76px}
.chef-tv-floating-switch{
  position:fixed;
  right:max(18px,env(safe-area-inset-right));
  bottom:max(18px,env(safe-area-inset-bottom));
  z-index:1500;
  min-width:104px;
  min-height:52px;
  padding:12px 18px;
  border:0;
  border-radius:999px;
  background:#111827;
  color:#fff;
  font-size:17px;
  font-weight:900;
  letter-spacing:.2px;
  box-shadow:0 14px 36px rgba(15,23,42,.32);
}
.chef-tv-floating-switch:disabled{
  opacity:.42;
  filter:grayscale(1);
  box-shadow:0 8px 20px rgba(15,23,42,.16);
}
.chef-tv-floating-switch:not(:disabled):active{transform:translateY(1px) scale(.98)}
@media (max-width:700px){
  .chef-tv-route-summary{padding-right:0}
  .chef-tv-floating-switch{right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));min-width:92px;min-height:48px;font-size:16px}
  .chef-tv-floating-spacer{height:68px}
}

/* Sportplan v61.14 concise live table */
.sport-table{display:flex;flex-direction:column;gap:6px;margin-top:10px}.sport-table-head,.sport-table-row{display:grid;grid-template-columns:1.1fr 2fr .9fr 1.4fr auto;gap:10px;align-items:center}.sport-table-head{font-size:12px;text-transform:uppercase;letter-spacing:.04em;opacity:.7;padding:0 10px}.sport-table-row{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.10);border-radius:14px;padding:10px}.sport-table-row.planned{border-color:#f5d142;box-shadow:0 0 0 1px rgba(245,209,66,.35) inset}.sport-title.compact{font-weight:700}.sport-logo.mini{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:6px}.planned-pill{display:inline-block;margin-left:8px;background:#f5d142;color:#111;border-radius:999px;padding:2px 7px;font-size:11px;font-weight:800}.sport-actions{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}.sport-table.chef .sport-table-head,.sport-table.chef .sport-table-row{grid-template-columns:1.1fr 2fr .9fr 1.4fr}@media(max-width:900px){.sport-table-head{display:none}.sport-table-row,.sport-table.chef .sport-table-row{grid-template-columns:1fr;gap:4px}.sport-actions{justify-content:flex-start}}

/* Sportplan v61.18 visual broadcast cards */
.sport-hero-head{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:6px 0 16px}
.sport-hero-head h2{margin:0;font-size:30px;line-height:1.1}.sport-hero-head p{margin:4px 0 0;opacity:.72}.sport-show-grid{display:grid;gap:14px;margin-top:10px}.sport-show-card{display:grid;grid-template-columns:128px 1fr 250px;gap:14px;align-items:stretch;background:linear-gradient(135deg,rgba(255,255,255,.095),rgba(255,255,255,.035));border:1px solid rgba(255,255,255,.13);border-radius:24px;padding:14px;box-shadow:0 12px 34px rgba(0,0,0,.18);overflow:hidden;position:relative}.sport-show-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,rgba(255,216,74,.95),rgba(64,180,255,.75),rgba(51,214,159,.75));opacity:.7}.sport-show-card.planned{border-color:rgba(255,216,74,.65);box-shadow:0 0 0 1px rgba(255,216,74,.25) inset,0 14px 38px rgba(0,0,0,.24)}.sport-show-card.live:before{background:linear-gradient(90deg,#ff3b3b,#ffb347)}.sport-show-time{border-radius:18px;background:rgba(0,0,0,.22);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:10px;min-height:112px}.sport-show-day{font-size:12px;text-transform:uppercase;letter-spacing:.06em;opacity:.75;text-align:center}.sport-show-clock{font-size:34px;font-weight:950;letter-spacing:-.04em}.sport-live-pill,.sport-planned-pill{display:inline-flex;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:950;letter-spacing:.06em}.sport-live-pill{background:#ff3030;color:#fff;animation:sportPulse 1.5s infinite}.sport-planned-pill{background:#ffd84a;color:#111}@keyframes sportPulse{0%,100%{opacity:1}50%{opacity:.55}}.sport-show-main{display:flex;flex-direction:column;justify-content:center;gap:10px;min-width:0}.sport-comp{display:flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.06em;font-size:13px;font-weight:900;opacity:.84}.sport-comp-logo{display:inline-flex;width:34px;height:34px;border-radius:11px;align-items:center;justify-content:center;background:rgba(255,255,255,.11);font-size:22px}.sport-matchup{display:flex;align-items:center;gap:12px;min-width:0}.sport-team{display:flex;align-items:center;gap:10px;min-width:0;flex:1}.sport-team.right{justify-content:flex-end;text-align:right}.sport-team strong{font-size:24px;line-height:1.08;white-space:normal;overflow:hidden;text-overflow:ellipsis}.sport-crest{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:radial-gradient(circle at 30% 20%,rgba(255,255,255,.32),rgba(255,255,255,.08));border:1px solid rgba(255,255,255,.20);font-weight:950;font-size:13px}.sport-vs{font-size:12px;font-weight:950;opacity:.55;letter-spacing:.08em}.sport-show-tv{display:flex;flex-direction:column;justify-content:center;gap:12px}.sport-sender-badge{display:flex;align-items:center;gap:10px;border-radius:18px;padding:12px 13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.16);font-size:15px;font-weight:900}.sport-sender-badge .sender-logo{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:32px;border-radius:10px;background:rgba(0,0,0,.27);font-size:13px;font-weight:950}.sport-sender-badge.sky{background:linear-gradient(135deg,rgba(0,98,255,.28),rgba(255,255,255,.08))}.sport-sender-badge.magenta{background:linear-gradient(135deg,rgba(226,0,116,.32),rgba(255,255,255,.08))}.sport-sender-badge.movistar{background:linear-gradient(135deg,rgba(0,160,95,.34),rgba(255,255,255,.08))}.sport-sender-badge.manual{background:linear-gradient(135deg,rgba(255,216,74,.24),rgba(255,255,255,.08))}.sport-card-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end}.sport-card-actions button{border-radius:12px;padding:10px 12px}.sport-show-card.chef{grid-template-columns:110px 1fr 210px}.sport-show-grid.chef .sport-card-actions{display:none}@media(max-width:980px){.sport-show-card,.sport-show-card.chef{grid-template-columns:1fr}.sport-show-time{min-height:auto;flex-direction:row;justify-content:space-between}.sport-show-clock{font-size:28px}.sport-matchup{flex-direction:column;align-items:flex-start}.sport-team.right{justify-content:flex-start;text-align:left;flex-direction:row-reverse}.sport-card-actions{justify-content:flex-start}.sport-hero-head{align-items:flex-start;flex-direction:column}.sport-team strong{font-size:21px}}
