/* Menu admin : tiroir deplie. */
/* ---------- Tiroir / Menu Admin Dépliable ---------- */
.adminDrawer {
  position:fixed; top:86px; right:0; width:310px; max-width:calc(100vw - 48px);
  z-index:1600; transform:translateX(100%); transition:transform .28s cubic-bezier(.16,1,.3,1);
  display:flex; pointer-events:auto;
}
.adminDrawer.open { transform:translateX(0); }
.adminDrawerHandle {
  position:absolute; top:18px; right:100%; background:#141724; color:#00d2ff;
  border:1px solid rgba(0,210,255,.38); border-right:none; border-radius:10px 0 0 10px;
  padding:10px 6px; cursor:pointer; display:flex; flex-direction:column; align-items:center;
  gap:5px; box-shadow:-5px 4px 18px rgba(0,0,0,.38); transition:background .18s, border-color .18s, color .18s;
  user-select:none;
}
.adminDrawerHandle:hover {
  background:#1c2237; border-color:#00d2ff; color:#fff; box-shadow:-5px 4px 22px rgba(0,210,255,.3);
}
.drawerHandleText {
  writing-mode:vertical-rl; text-orientation:mixed; transform:rotate(180deg);
  font-size:10px; font-weight:800; letter-spacing:2px; color:#00d2ff;
}
.drawerIcon { width:15px; height:15px; }
.drawerChevron { width:12px; height:12px; transition:transform .28s ease; }
.adminDrawer.open .drawerChevron { transform:rotate(180deg); }
.adminDrawerContent {
  width:100%; background:rgba(18,22,36,.96); backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px); border:1px solid rgba(0,210,255,.28); border-right:none;
  border-radius:14px 0 0 14px; box-shadow:-8px 8px 32px rgba(0,0,0,.5); display:flex;
  flex-direction:column; overflow:hidden;
}
.adminDrawerHeader {
  display:flex; align-items:center; justify-content:space-between; padding:12px 14px;
  background:rgba(0,210,255,.08); border-bottom:1px solid rgba(0,210,255,.18);
}
.adminDrawerTitle {
  display:flex; align-items:center; gap:8px; font-size:12px; font-weight:800;
  letter-spacing:.5px; color:#e9ebf5; text-transform:uppercase;
}
.adminDrawerTitle .hudIcon { color:#00d2ff; width:15px; height:15px; }
.adminDrawerCloseBtn {
  background:transparent; border:none; color:var(--muted); font-size:16px;
  cursor:pointer; padding:2px 6px; border-radius:4px; line-height:1; transition:color .15s, background .15s;
}
.adminDrawerCloseBtn:hover { color:#fff; background:rgba(255,255,255,.1); }
.adminDrawerBody {
  padding:12px; display:flex; flex-direction:column; gap:10px; max-height:75vh; overflow-y:auto;
}
.adminDrawerCard {
  background:rgba(25,30,48,.7); border:1px solid rgba(255,255,255,.08);
  border-radius:10px; padding:10px 12px; display:flex; flex-direction:column; gap:7px;
}
.adminCardHead { display:flex; align-items:center; gap:8px; }
.adminCardHead .cardIcon { width:17px; height:17px; color:#00d2ff; }
.adminCardTitle { font-size:12px; font-weight:700; color:#fff; }
.adminCardSub { font-size:10px; color:var(--muted); }
.adminCardDesc { font-size:11px; color:var(--muted); line-height:1.4; margin:0; }
.adminDrawerActions { display:flex; flex-direction:column; gap:6px; }
.adminDrawerActionBtn {
  display:inline-flex; align-items:center; gap:8px; padding:8px 10px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12);
  border-radius:7px; color:#e9ebf5; font-size:11px; font-weight:700; text-decoration:none;
  cursor:pointer; transition:all .15s;
}
.adminDrawerActionBtn:hover {
  background:rgba(0,210,255,.15); border-color:rgba(0,210,255,.35); color:#fff;
}
.box-chat { display:flex; flex-direction:column; }
#log {
  height:180px;
  overflow-y:auto;
  padding-right:4px;
  margin-bottom:8px;
  word-wrap:break-word;
  overflow-wrap:break-word;
  scrollbar-width:thin;
  scrollbar-color:var(--line2) transparent;
}
#log::-webkit-scrollbar { width:6px; }
#log::-webkit-scrollbar-track { background:transparent; }
#log::-webkit-scrollbar-thumb { background:var(--line2); border-radius:4px; }
#log::-webkit-scrollbar-thumb:hover { background:var(--muted); }
#log .sys { color:var(--muted); font-style:italic; }
input { width:100%; padding:8px 10px; border-radius:8px; border:1px solid var(--line2); background:var(--panel); color:var(--text); font:inherit; }
input:focus { outline:none; border-color:rgba(255,255,255,.4); box-shadow:none; }
#help { display:none !important; }
#hint { display:none !important; }
#net { font-size:12px; color:var(--muted); }
#chrono { font-variant-numeric:tabular-nums; font-weight:800; min-width:64px; }
#targets { color:var(--muted); font-size:12px; font-variant-numeric:tabular-nums; }
#stage { position:relative; }
#toasts { position:absolute; top:12px; right:12px; display:flex; flex-direction:column; gap:8px; pointer-events:none; }
.toast { background:var(--panel); border:1px solid var(--line); border-left:4px solid #ffb020; border-radius:10px; padding:9px 12px;
         min-width:220px; max-width:280px; box-shadow:var(--shadow); animation:toastIn .35s ease-out, toastOut .5s ease-in 3.6s forwards; }
.toast b { display:block; color:var(--gold); font-size:11px; letter-spacing:.08em; text-transform:uppercase; }
.toast span { display:block; font-weight:800; }
.toast small { color:var(--muted); }
@keyframes toastIn { from { transform:translateX(30px); opacity:0; } }
@keyframes toastOut { to { transform:translateX(30px); opacity:0; } }

/* Signalements des joueurs */
.adminReports { list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:6px; max-height:260px; overflow-y:auto; }
.adminReports li { padding:7px 8px; border-radius:8px; background:rgba(0,0,0,.25); font-size:11px; line-height:1.4; }
.adminReports .rpHead { display:flex; justify-content:space-between; gap:6px; color:var(--muted); font-size:10px; }
.adminReports .rpMsg { margin:3px 0; color:var(--text); white-space:pre-wrap; word-break:break-word; }
.adminReports .rpCtx { color:var(--muted); font-size:10px; }
.adminReports button { margin-top:4px; padding:3px 8px; border-radius:6px; border:1px solid rgba(255,255,255,.12); background:none; color:var(--text); font-size:10px; cursor:pointer; }
.adminReports button:hover { background:rgba(255,255,255,.06); }
.adminReports .rpEmpty { background:none; padding:0; color:var(--muted); }
