/* Einhorn.live globaler Darkmode-Button & Overrides */
.einhorn-theme-toggle {
  position: fixed;
  bottom: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #15A39A;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 5px 0 rgba(14,107,102,.18), 0 10px 20px rgba(0,0,0,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.einhorn-theme-toggle:hover { transform: translateY(-3px) rotate(8deg); }
.einhorn-theme-toggle:active { transform: translateY(1px); }

body.einhorn-dark .einhorn-theme-toggle {
  background: #2a2a4a;
  color: #ffd6e7;
  box-shadow: 0 5px 0 rgba(0,0,0,.35), 0 10px 20px rgba(0,0,0,.35);
}

body.einhorn-dark {
  background-color: #1a1a2e !important;
  background-image: none !important;
  color: #f0f0f0 !important;
}
body.einhorn-dark * { color-scheme: dark; }
body.einhorn-dark .card,
body.einhorn-dark .panel,
body.einhorn-dark .wrap,
body.einhorn-dark main,
body.einhorn-dark section,
body.einhorn-dark .game,
body.einhorn-dark .modal,
body.einhorn-dark .overlay,
body.einhorn-dark .popup,
body.einhorn-dark .dialog,
body.einhorn-dark .container {
  background: #252542 !important;
  color: #f0f0f0 !important;
  border-color: #3a3a5c !important;
}
body.einhorn-dark h1,
body.einhorn-dark h2,
body.einhorn-dark h3,
body.einhorn-dark p,
body.einhorn-dark span,
body.einhorn-dark div:not(.badge):not(.emoji),
body.einhorn-dark label,
body.einhorn-dark li {
  color: #f0f0f0 !important;
}
body.einhorn-dark button,
body.einhorn-dark .btn,
body.einhorn-dark input[type="button"] {
  background: #15A39A !important;
  color: #ffffff !important;
  border-color: #0E6B66 !important;
}
body.einhorn-dark input,
body.einhorn-dark textarea,
body.einhorn-dark select {
  background: #1f1f35 !important;
  color: #f0f0f0 !important;
  border-color: #3a3a5c !important;
}
body.einhorn-dark a { color: #63e6d8 !important; }
body.einhorn-dark table,
body.einhorn-dark th,
body.einhorn-dark td {
  background: #252542 !important;
  color: #f0f0f0 !important;
  border-color: #3a3a5c !important;
}
body.einhorn-dark header,
body.einhorn-dark footer,
body.einhorn-dark .hero,
body.einhorn-dark .top-bar {
  background: transparent !important;
  color: #f0f0f0 !important;
}
