.account-shell {
  padding: 30px 0 42px;
  min-height: 100vh;
}

.account-hero {
  padding: 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #007aff, #5ac8fa);
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 122, 255, 0.18);
}

.account-hero > * {
  position: relative;
  z-index: 2;
}

.account-hero-decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.10);
}

.account-hero-decor-1 {
  width: 140px;
  height: 140px;
  top: -30px;
  left: 8%;
}

.account-hero-decor-2 {
  width: 90px;
  height: 90px;
  bottom: -20px;
  right: 12%;
}

.account-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.account-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
}

.account-info h2 {
  font-weight: 900;
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.account-info > span {
  opacity: 0.95;
}

.account-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.account-badge {
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.16);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 800;
}

.account-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.acc-stat {
  flex: 1;
  min-width: 160px;
  background: rgba(255,255,255,0.15);
  padding: 14px;
  border-radius: 18px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}

.acc-stat strong {
  display: block;
  font-size: 19px;
  margin-top: 4px;
  font-weight: 900;
}

.account-main-panel,
.account-side-panel {
  padding: 22px;
  border-radius: 26px;
  background: var(--card-bg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.account-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
}

.account-section-head {
  margin-bottom: 16px;
}

.account-section-head h3 {
  font-size: 1.12rem;
  font-weight: 900;
  margin-bottom: 6px;
}

.account-section-head p {
  color: var(--text-sec);
  line-height: 1.8;
  font-size: 0.92rem;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px,1fr));
  gap: 14px;
}

.account-card {
  padding: 22px 18px;
  border-radius: 22px;
  background: var(--card-bg);
  text-align: center;
  border: 1px solid var(--line);
  transition: .22s ease;
  box-shadow: var(--shadow-sm);
}

.account-card i {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--primary);
}

.account-card span {
  display: block;
  font-weight: 800;
}

.account-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.account-summary-list {
  display: grid;
  gap: 12px;
}

.summary-item {
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.68);
  border: 1px solid var(--line);
}

[data-theme="dark"] .summary-item {
  background: rgba(255,255,255,0.03);
}

.summary-item span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-sec);
  margin-bottom: 6px;
}

.summary-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  word-break: break-word;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-branding {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-branding strong {
  font-weight: 900;
}

.footer-branding span {
  color: var(--text-sec);
  font-size: 0.88rem;
}

.footer-credit {
  color: var(--text-sec);
  line-height: 1.8;
}

.footer-credit a {
  color: var(--primary);
  font-weight: 800;
}

.hidden {
  display: none !important;
}

@media (max-width: 900px) {
  .account-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .account-shell {
    padding-top: 14px;
  }

  .account-hero,
  .account-main-panel,
  .account-side-panel {
    padding: 18px;
    border-radius: 22px;
  }

  .account-user {
    align-items: flex-start;
  }

  .account-stats {
    flex-direction: column;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}