/* Sip Trip - einheitliche Hover- und Fokus-Wirkung für alles Klickbare (Owner 2026-11-20).
   Vorher hatten nur .btn (kaum sichtbare Aufhellung) und zwei Einzelteile eine Wirkung.
   Jetzt überall gleich: anheben, aufhellen, leuchten, Zeiger als Hand.
   "translate" statt "transform", damit vorhandene Drehungen und Skalierungen unberührt bleiben.
   Wird als letzte Datei geladen. Neon-Farben: Kopie aus theme-neon.css. */

:is(.btn, .roll-btn, .tools button, .fabs button, .fx-chip, .rail li > button, .r-info, .langmenu button, .acct-btn, .sheet-x, .seg button, .tabs button, .invite-btn, .share-menu button, .iconbtn, .linkbtn, .chips button, .avatar-pick button, .theme-pick button, .pw-eye, .rl-report, #myStatus button, .rejoin button, summary) {
  cursor: pointer;
  transition: translate 140ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 140ms, box-shadow 140ms, color 140ms, border-color 140ms;
}
:is(.btn, .roll-btn, .tools button, .fabs button, .fx-chip, .seg button, .tabs button, .iconbtn, .chips button, .rl-report):is([disabled], [aria-disabled="true"]) { cursor: not-allowed; }

@media (hover: hover) {
  body:not(#_) :is(.btn, .roll-btn, .tools button, .fabs button, .fx-chip, .acct-btn, .sheet-x, .seg button, .tabs button, .invite-btn, .iconbtn, .chips button, .avatar-pick button, .theme-pick button, .rl-report, #myStatus button, .rejoin button, .langmenu > button):not([disabled]):not([aria-disabled="true"]):hover {
    translate: 0 -2px;
    filter: brightness(1.28) saturate(1.1);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35), 0 0 18px rgba(46, 242, 255, 0.45);
  }
  /* Hauptknopf leuchtet in Magenta, kritische Knöpfe in Rot */
  body:not(#_) .btn.primary:not([disabled]):hover, body:not(#_) .roll-btn:not([disabled]):hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 24px rgba(255, 61, 154, 0.7); }
  body:not(#_) .btn.danger:not([disabled]):hover, body:not(#_) .btn.hold:not([disabled]):hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 0 22px rgba(255, 77, 94, 0.7); }
  /* flache Elemente: nur aufhellen und einfärben */
  body:not(#_) :is(.rail li > button, .r-info, .share-menu button, .langmenu li button, .pw-eye, summary):hover { filter: brightness(1.35); color: #2ef2ff; }
  body:not(#_) .rail li:has(> button:hover) { box-shadow: 0 0 0 1px rgba(46, 242, 255, 0.8), 0 0 16px rgba(46, 242, 255, 0.4); }
  body:not(#_) .lobby-players li.me:hover { box-shadow: 0 0 0 1px rgba(245, 224, 74, 0.8), 0 0 16px rgba(245, 224, 74, 0.35); }
  body:not(#_) .linkbtn:hover { color: #fff; text-decoration-thickness: 2px; }
  /* gedrückt: zurück auf die Grundlinie */
  body:not(#_) :is(.btn, .roll-btn, .tools button, .fabs button, .fx-chip, .seg button, .tabs button, .iconbtn, .chips button):not([disabled]):active { translate: 0 0; filter: brightness(0.95); }
}

@media (prefers-reduced-motion: reduce) {
  body:not(#_) :is(.btn, .roll-btn, .tools button, .fabs button, .fx-chip, .seg button, .tabs button):hover { translate: none; }
}

/* Handkarten sind klickbar: Zeiger als Hand */
.hand li, .hand li .tcard, .card-row button.tcard { cursor: pointer; }
.deal-mine button.tcard, .pick-row button.tcard[aria-pressed="true"] { cursor: zoom-in; }
