.account-wrap {
  position: static;
  z-index: 2;
  margin-left: 12px;
}
.account-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
  padding: 0;
  overflow: hidden;
  box-shadow: none;
}
.account-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.account-btn:hover {
  box-shadow: none;
  transform: none;
}
.account-panel {
  position: fixed;
  top: 0;
  right: -380px;
  width: 340px;
  height: 100vh;
  background:
    radial-gradient(circle at 20% 20%, rgba(92,240,200,0.12), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(125,211,255,0.12), transparent 50%),
    linear-gradient(180deg, #0f1624, #0a0f18);
  border-left: 1px solid rgba(255,255,255,0.08);
  box-shadow: -24px 0 60px rgba(0,0,0,0.55);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.35s cubic-bezier(.2,.8,.2,1), opacity 0.25s ease;
  z-index: 1000;
}
.account-panel.open { right: 0; }
.account-header { display: flex; align-items: center; gap: 14px; }
.avatar-ring {
  position: relative;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(92,240,200,0.4), rgba(125,211,255,0.4));
  box-shadow: 0 0 18px rgba(92,240,200,0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.avatar-big {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.9);
  object-fit: cover;
}
.status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #5cf0c8;
  box-shadow: 0 0 10px rgba(92,240,200,0.8);
  border: 2px solid #0a0f18;
}
.user-info { flex: 1; display: flex; flex-direction: column; }
.email { font-weight: 600; color: #fff; font-size: 14px; }
.status { font-size: 12px; color: #7dd3ff; }
.badge-row {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}
.badge-chip {
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(92,240,200,0.12);
  color: #5cf0c8;
  border: 1px solid rgba(92,240,200,0.4);
}
.badge-chip.muted {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}
.close-btn {
  background: none;
  border: none;
  color: #888;
  font-size: 18px;
  cursor: pointer;
}
.panel-section h4 {
  margin: 0 0 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.account-panel .city-select {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: #e2e8f0;
  padding: 8px 10px;
  border-radius: 10px;
  font-weight: 600;
}
.account-panel .city-select option {
  background: #0c0f17;
  color: #e2e8f0;
}
.account-actions { display: flex; flex-direction: column; gap: 12px; }
.btn {
  padding: 13px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.2s ease;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
.btn.primary {
  background: linear-gradient(135deg, #5cf0c8, #7dd3ff);
  color: #0b111b;
}
.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(92,240,200,0.3);
}
.btn.danger {
  background: rgba(255, 80, 80, 0.12);
  color: #ff6b6b;
}
.btn.danger:hover { background: rgba(255, 80, 80, 0.25); }
.account-help {
  margin-top: auto;
  font-size: 13px;
  color: #aaa;
  text-align: center;
}
.account-help a {
  display: block;
  margin-top: 6px;
  color: #7dd3ff;
  text-decoration: none;
}
.account-help a:hover { text-decoration: underline; }
.avatar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.avatar-grid img {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.2s;
  background: rgba(5, 8, 12, 0.6);
  padding: 6px;
}
.avatar-grid img:hover {
  transform: translateY(-2px);
  border-color: #5cf0c8;
  box-shadow: 0 6px 16px rgba(92,240,200,0.2);
}
body.panel-open::before {
  content: "";
  position: fixed;
  inset: 0;
  backdrop-filter: blur(6px);
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

@media (max-width: 900px) {
  .account-panel { width: 100%; right: -105%; }
  .account-panel.open { right: 0; }
}
