/* Empire Life – Discord-Meldungen (ergänzt ../vorbereitung/app.css) */
.dm-kanal-gross { margin: 4px 0 2px; font-size: 1.15rem; font-weight: 850; }
.dm-standard { border-color: rgba(88,101,242,.45); background: linear-gradient(118deg, rgba(88,101,242,.10), rgba(15,15,22,1) 45%); }
.dm-liste { margin: 8px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.dm-zeile { display: grid; grid-template-columns: 42px minmax(0, 1.5fr) minmax(0, 1fr) 210px 150px; gap: 10px 16px; align-items: center; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 10px; background: #12121a; }
.dm-aus .dm-text, .dm-aus .dm-ziel, .dm-aus .dm-rolle { opacity: .55; }
.dm-text p { margin: 2px 0 0; }
.dm-ziel { font-size: .84rem; line-height: 1.5; min-width: 0; overflow-wrap: anywhere; }
.dm-rolle .vb-eingabe { min-height: 36px; font-size: .8rem; }
.dm-test { display: grid; justify-items: end; gap: 4px; min-width: 120px; }
.dm-letzte .vb-status { font-weight: 600; font-size: .74rem; }
.dm-letzte .vb-status-symbol { width: 16px; height: 16px; flex-basis: 16px; font-size: .6rem; }
.dm-link { padding: 0; border: 0; background: none; color: #9cc4ff; font: inherit; font-size: .78rem; font-weight: 750; cursor: pointer; }
.dm-link:hover { text-decoration: underline; }
.dm-fehler .vb-status { font-weight: 600; font-size: .78rem; }
.dm-details summary { color: var(--muted); font-size: .8rem; font-weight: 750; cursor: pointer; }
.dm-details[open] summary { margin-bottom: 8px; }

/* Schalter */
.dm-schalter-rahmen { position: relative; display: inline-flex; width: 42px; height: 24px; cursor: pointer; }
.dm-schalter { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.dm-schalter-bahn { width: 42px; height: 24px; border-radius: 999px; background: #34343f; transition: background .15s ease; }
.dm-schalter-bahn::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #cfcfda; transition: transform .15s ease, background .15s ease; }
.dm-schalter:checked + .dm-schalter-bahn { background: var(--violet); }
.dm-schalter:checked + .dm-schalter-bahn::after { transform: translateX(18px); background: #fff; }
.dm-schalter:focus-visible + .dm-schalter-bahn { outline: 2px solid #7cb2ff; outline-offset: 2px; }

@media (max-width: 1000px) {
  .dm-zeile { grid-template-columns: 42px minmax(0, 1fr); }
  .dm-ziel, .dm-rolle, .dm-test { grid-column: 2; }
  .dm-test { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; }
}

.dm-protokoll .vb-verlauf li { grid-template-columns: 180px minmax(0, 1fr) auto; }
@media (max-width: 620px) {
  .dm-protokoll .vb-verlauf li { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .dm-standard .vb-karte-kopf { flex-wrap: wrap; }
  .dm-standard .vb-aktionen { justify-content: flex-start; }
}
