:root{
  --bg:#07090c;
  --card:rgba(10,16,22,.78);
  --stroke:rgba(120,210,255,.22);
  --txt:#fff;
  --muted:rgba(255,255,255,.72);
  --red:#45c6ff;
  --shadow: 0 18px 60px rgba(0,0,0,.55);
  --radius: 20px;
}

*{box-sizing:border-box}
html,body{height:100%}

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background:var(--bg);
  color:var(--txt);
  overflow-x:hidden;
}

.bg{
  position:fixed; inset:0;
  background:
    radial-gradient(900px 600px at 20% 10%, rgba(69,198,255,.24), transparent 60%),
    radial-gradient(700px 500px at 80% 20%, rgba(150,230,255,.16), transparent 55%),
    radial-gradient(900px 700px at 50% 95%, rgba(69,198,255,.12), transparent 60%),
    linear-gradient(180deg, #05070b, #090f14);
  z-index:-2;
  transform: translateZ(0);
  will-change: transform;
}

.wrap{
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px 14px;
}

.card{
  width:min(520px, 100%);
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: translateZ(0);
}

h1{ margin:0; font-size:20px; text-align:center; }
.muted{ margin:10px 0 18px; text-align:center; color:var(--muted); font-size:14px; }

.btn{
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:linear-gradient(180deg, rgba(69,198,255,.95), rgba(150,230,255,.88));
  color:#071018;
  font-weight:800;
  text-decoration:none;
  cursor:pointer;
  box-shadow: 0 12px 40px rgba(69,198,255,.20);

  transition: transform .14s cubic-bezier(.2,.8,.2,1), filter .14s linear;
  will-change: transform, filter;
  transform: translateZ(0);
}
.btn:hover{ transform: translate3d(0,-1px,0); filter: brightness(1.04);}

.btn-ghost{
  width:auto; padding:10px 12px;
  background:transparent;
  color:var(--txt);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:none;
}

.btn-discord .dot{
  width:10px; height:10px; border-radius:999px;
  background: #5865F2;
  box-shadow: 0 0 0 6px rgba(88,101,242,.18);
}

.mini{ margin-top:14px; text-align:center; font-size:12px; color:rgba(255,255,255,.55); }

.topbar{
  position:sticky; top:0; z-index:5;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 14px; gap:12px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,12,18,.84), rgba(7,12,18,.36));
  border-bottom: 1px solid rgba(255,255,255,.08);
  transform: translateZ(0);
}

.top-left{display:flex; align-items:center; gap:12px;}
.top-right{display:flex; align-items:center; gap:10px; flex-wrap:wrap; justify-content:flex-end;}

.avatar{
  width:44px; height:44px;
  border-radius:999px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}
.avatar img{width:100%;height:100%;object-fit:cover;display:block}

.who .name{font-weight:900; line-height:1.05}
.who .tag{
  margin-top:4px;
  display:inline-block;
  padding:3px 10px;
  border-radius:999px;
  font-size:12px;
  color:rgba(255,255,255,.86);
  border:1px solid rgba(255,255,255,.14);
  background:rgba(69,198,255,.12);
}

body.page-admin .wrap{
  width: 100%;
  max-width: none;
  min-height: calc(100vh - 78px);
  padding: 22px 22px;
  align-items: stretch;
  justify-content: stretch;
}

@media (max-width: 920px){
  body.page-admin .wrap{
    padding: 16px 14px;
    min-height: calc(100vh - 78px);
  }
}

@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
