.acc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
}
.acc-layout.is-open {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
}
@media (max-width: 860px) {
  .acc-layout,
  .acc-layout.is-open { grid-template-columns: 1fr; }
}
.acc-card {
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(0,0,0,0.22);
}
[data-theme="light"] .acc-card {
  background: #f7f5f2;
  border-color: rgba(0,0,0,0.1);
}
.acc-login { display: grid; gap: 12px; max-width: 420px; }
.acc-login__btns { display: grid; gap: 10px; }
.acc-btn {
  appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
}
.acc-btn:hover { filter: brightness(1.06); }
.acc-btn:disabled { opacity: 0.55; cursor: not-allowed; filter: none; }
.acc-btn--vk { background: #0077FF; }
.acc-btn--ya { background: #FC3F1D; }
.acc-btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: inherit;
  font-weight: 600;
}
[data-theme="light"] .acc-btn--ghost { border-color: rgba(0,0,0,0.18); }
.acc-profile {
  display: flex;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
}
.acc-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; background: rgba(255,255,255,0.12);
}
.acc-name { margin: 0 0 4px; font-size: 1.25rem; }
.acc-meta { margin: 0; opacity: 0.8; font-size: 0.92rem; }
.acc-roles { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.acc-role {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.22);
  background: transparent;
  color: inherit;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  cursor: pointer;
}
[data-theme="light"] .acc-role { border-color: rgba(0,0,0,0.16); }
.acc-role.is-on {
  background: #c45c26;
  border-color: #c45c26;
  color: #fff;
  font-weight: 700;
}
.acc-links { display: grid; gap: 8px; margin: 0 0 16px; }
.acc-status { min-height: 1.3em; font-size: 0.92rem; opacity: 0.88; }
.acc-status.err { color: #ff8f8f; }
html[data-theme="light"] .acc-status.err { color: #b42318; }
.acc-side h2 { margin: 0 0 10px; font-size: 1.25rem; }
.acc-side p { margin: 0 0 10px; font-size: 0.95rem; line-height: 1.45; opacity: 0.92; }
.acc-side ul { margin: 0; padding: 0 0 0 1.1rem; font-size: 0.92rem; line-height: 1.45; opacity: 0.9; }
.acc-stats h2 { margin: 0 0 14px; font-size: 1.2rem; }
.acc-stat {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
}
[data-theme="light"] .acc-stat { border-bottom-color: rgba(0,0,0,0.08); }
.acc-stat:last-of-type { border-bottom: 0; }
.acc-stat span { opacity: 0.72; font-weight: 600; }
.acc-stat strong { font-weight: 800; text-align: right; }
.acc-stats__actions { display: grid; gap: 8px; margin: 16px 0 0; }
.acc-hidden { display: none !important; }
