/* Session management panel (Ludo, Chess) — neutral colours that sit on light and dark lobbies */
.sa-box { margin-top: 18px; border-top: 1px dashed rgba(128,128,128,.4); padding-top: 10px; text-align: left; font-size: 14px; }
.sa-box summary { cursor: pointer; opacity: .85; padding: 8px 0; min-height: 40px; }
.sa-hidden { display: none !important; }
.sa-login { display: flex; gap: 8px; flex-wrap: wrap; }
.sa-login input { flex: 1; min-width: 160px; min-height: 44px; padding: 8px 12px; border-radius: 10px;
  border: 1px solid rgba(128,128,128,.5); background: rgba(255,255,255,.92); color: #111; font: inherit; }
.sa-btn, .sa-btn-ghost, .sa-btn-danger { min-height: 44px; padding: 8px 14px; border-radius: 10px; font: inherit; font-weight: 600; cursor: pointer; }
.sa-btn { background: #3b5bdb; color: #fff; border: 0; }
.sa-btn-ghost { background: transparent; color: inherit; border: 1px solid rgba(128,128,128,.6); }
.sa-btn-danger { background: #c92a2a; color: #fff; border: 0; }
.sa-btn-danger:disabled { opacity: .5; cursor: default; }
.sa-top { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; margin: 8px 0; }
.sa-list { display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; }
.sa-row { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap;
  padding: 10px; border-radius: 10px; border: 1px solid rgba(128,128,128,.35); background: rgba(128,128,128,.08); }
.sa-info { flex: 1; min-width: 180px; line-height: 1.45; }
.sa-sub { opacity: .75; font-size: 12px; }
.sa-sid { opacity: .6; font-size: 11px; }
.sa-active { color: #2f9e44; }
.sa-empty { opacity: .75; font-size: 13px; padding: 6px 0; }
.sa-msg { margin-top: 8px; font-size: 13px; padding: 8px 10px; border-radius: 8px; background: rgba(47,158,68,.15); }
.sa-msg.bad { background: rgba(201,42,42,.18); }
.sa-dialog { position: fixed; inset: 0; background: rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; z-index: 1000; padding: 16px; }
.sa-dialog-card { background: #fff; color: #111; border-radius: 14px; padding: 20px; max-width: 380px; width: 100%; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.sa-dialog-card p { font-size: 16px; margin: 0 0 16px; line-height: 1.5; }
.sa-dialog-actions { display: flex; gap: 10px; justify-content: center; }
.sa-dialog-card .sa-btn-ghost { color: #111; }
