/* Personal center chrome — wraps source-extracted pc-* styles */

@font-face {
  font-display: swap;
  font-family: Dream;
  font-style: normal;
  src: url('/fonts/Dream-BraveGB-Bold.subset.CaqFULrC.woff2') format('woff2');
}

body.panda-account-active .panda-account,
body.panda-account-active .panda-account *,
body.panda-account-active .panda-account *::before,
body.panda-account-active .panda-account *::after {
  box-sizing: border-box;
}

body.panda-account-active {
  height: 100%;
  background: #f5f5f5;
  color: #1a1a1a;
  font-family:
    -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.panda-account-active button,
body.panda-account-active input,
body.panda-account-active textarea {
  font: inherit;
}

body.panda-account-active a {
  color: inherit;
  text-decoration: none;
}

:root {
  --force-banner-height: 0px;
}

.pc-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: #fff;
  border-bottom: 1px solid #ececef;
}

.pc-topnav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #1a1a1a;
}

.pc-topnav-title {
  font-family: Dream, sans-serif;
  font-size: 20px;
  letter-spacing: 0.5px;
}

.pc-topnav-links {
  display: none;
  align-items: center;
  gap: 28px;
  color: #1a1a1a;
  font-size: 14px;
}

@media (min-width: 900px) {
  .pc-topnav-links {
    display: flex;
  }
}

.pc-topnav-links a:hover {
  opacity: 0.7;
}

.pc-topnav-user {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #ececef;
  background: #f3f3f3;
}

.pc-topnav-user img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pc-empty-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.pc-stat-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .pc-stat-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pc-stat {
  background: var(--pc-inset);
  border-radius: var(--pc-radius);
  padding: 18px 16px;
}

.pc-stat-label {
  color: var(--pc-ink-3);
  font-size: 13px;
  margin-bottom: 8px;
}

.pc-stat-value {
  color: var(--pc-ink);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.pc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pc-table th,
.pc-table td {
  padding: 14px 8px;
  text-align: left;
  border-bottom: 1px solid var(--pc-line-soft);
  color: var(--pc-ink-2);
}

.pc-table th {
  color: var(--pc-ink-3);
  font-weight: 500;
  font-size: 13px;
}

.pc-table-empty {
  text-align: center;
  color: var(--pc-ink-3);
  padding: 40px 8px !important;
}

.pc-checkin-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
  .pc-checkin-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pc-checkin-item {
  background: var(--pc-inset);
  border-radius: 12px;
  padding: 14px;
}

.pc-checkin-item strong {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 4px;
}

.pc-checkin-item span {
  color: var(--pc-ink-3);
  font-size: 13px;
}

.pc-profile-chip.is-on,
.pc-profile-chip[aria-checked='true'],
.pc-profile-chip[aria-pressed='true'] {
  background: var(--pc-fill-active);
  border-color: var(--pc-line-strong);
  color: var(--pc-ink);
}

.pc-profile-submit-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
