/* 官网会员壳 · 全屏工作台 */
.pv-mc-body {
  margin: 0;
  min-height: 100vh;
  background: #f0f2f5;
  font-family: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.pv-mc-top {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 52px;
  padding: 0 1.25rem;
  background: #fff;
  border-bottom: 1px solid #e8edf5;
}

.pv-mc-brand {
  font-weight: 700;
  color: #1e3c72;
  text-decoration: none;
  white-space: nowrap;
}

.pv-mc-top-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.pv-mc-top-link {
  color: #64748b;
  text-decoration: none;
}

.pv-mc-top-link:hover {
  color: #1e3c72;
}

.pv-mc-top-user {
  font-weight: 600;
  color: #0f172a;
}

.pv-mc-app {
  display: flex;
  min-height: calc(100vh - 52px);
  align-items: stretch;
}

.pv-mc-side {
  flex: 0 0 220px;
  background: #fff;
  border-right: 1px solid #e8edf5;
}

.pv-mc-main {
  flex: 1;
  min-width: 0;
  padding: 1.25rem 1.5rem 2rem;
}

.pv-mc-nav-toggle {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 190;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  color: #fff;
  background: #1e3c72;
  box-shadow: 0 4px 14px rgb(30 60 114 / 35%);
}

.pv-mc-nav {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: calc(100vh - 52px);
  padding: 1rem 0.75rem 1.25rem;
}

.pv-mc-nav__profile {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  padding: 0.5rem 0.5rem 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #eef2f7;
}

.pv-mc-nav__avatar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  overflow: hidden;
  font-weight: 700;
  color: #1e3c72;
  background: #eef4ff;
  border-radius: 50%;
}

.pv-mc-nav__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pv-mc-nav__who {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.pv-mc-nav__who strong {
  overflow: hidden;
  font-size: 0.875rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pv-mc-nav__who span {
  font-size: 0.75rem;
  color: #64748b;
}

.pv-mc-nav__list {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.15rem;
}

.pv-mc-nav__item {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  padding: 0.55rem 0.65rem;
  color: #334155;
  text-decoration: none;
  border-radius: 8px;
}

.pv-mc-nav__item:hover {
  background: #f8fafc;
}

.pv-mc-nav__item.active {
  font-weight: 600;
  color: #1e3c72;
  background: #eef4ff;
}

.pv-mc-nav__logout {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
  padding: 0.55rem 0.65rem;
  color: #64748b;
  text-decoration: none;
  border-top: 1px solid #eef2f7;
}

.pv-mc-home__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
}

.pv-mc-home__lead {
  margin: 0 0 1.25rem;
  color: #64748b;
}

.pv-mc-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.pv-mc-stat {
  padding: 1rem;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
}

.pv-mc-stat__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
}

.pv-mc-stat__val {
  font-size: 1.25rem;
}

.pv-mc-stat__val--sm {
  font-size: 1rem;
}

.pv-mc-section-title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.pv-mc-quick__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

.pv-mc-quick__card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  padding: 1rem;
  color: #0f172a;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 10px;
}

.pv-mc-quick__card:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.pv-mc-quick__card i {
  font-size: 1.25rem;
  color: #1e3c72;
}

@media (min-width: 992px) {
  .pv-mc-offcanvas {
    position: static;
    display: block;
    transform: none !important;
    visibility: visible !important;
    width: 100%;
    height: auto;
    background: transparent;
    border: none;
  }

  .pv-mc-offcanvas .offcanvas-body {
    overflow: visible;
  }
}

@media (max-width: 991.98px) {
  .pv-mc-side {
    flex: 0 0 0;
    width: 0;
    border: none;
  }

  .pv-mc-main {
    width: 100%;
    padding: 1rem;
  }
}

/* 发行版侧栏仍用原卡片导航，嵌进全屏壳 */
.pv-mc-app--default .pv-mc-side .offcanvas-body {
  padding: 0.75rem;
}

.pv-mc-app--default .pv-member-sidebar {
  gap: 0.75rem;
}
