[hidden] { display: none !important; }
html[data-color-mode="dark"] body[data-theme="account"] {
  position: relative;
  isolation: isolate;
  background-color: #0c1b35;
  background-image: none;
}
body[data-theme="account"]::before {
  position: absolute;
  z-index: -1;
  height: 240px;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: radial-gradient(rgb(130 191 255 / 28%) 0.75px, transparent 0.75px);
  background-size: 18px 18px;
  content: "";
  mask-image: linear-gradient(transparent, #000);
  pointer-events: none;
}
body[data-theme="account"] .site-brand,
body[data-theme="account"] .hub-link,
body[data-theme="account"] .app-heading {
  text-shadow: 0 2px 14px rgb(3 9 20 / 45%);
}
body[data-theme="account"] .site-mark {
  filter: drop-shadow(0 0 10px rgb(130 191 255 / 36%));
}
.profile-shell { width: min(820px, 100%); margin: 0 auto; }
.profile-status { min-height: 24px; color: var(--ink); font-size: 13px; text-shadow: 0 1px 5px #0c1b35; }
.profile-identity { display: flex; align-items: center; gap: 18px; margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: linear-gradient(140deg, var(--accent-soft), var(--paper) 60%); box-shadow: var(--shadow); }
.profile-avatar { display: grid; width: 96px; height: 96px; flex: none; place-items: center; background: radial-gradient(ellipse, var(--accent-soft), transparent 75%); }
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-name-group { min-width: 0; flex: 1; }
.profile-customize { flex: none; text-decoration: none; }
.profile-name-group h2 { margin: 0; overflow-wrap: anywhere; font: 900 30px/1.1 var(--font-display); }
.profile-kicker { margin: 0 0 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.profile-id { margin: 7px 0 0; color: var(--muted); font: 11px var(--font-numbers); overflow-wrap: anywhere; }
.profile-card { margin-top: 14px; border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: var(--paper); box-shadow: var(--shadow); }
.profile-section-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.profile-section-heading h2 { margin: 0; font: 800 21px/1.2 var(--font-display); }
.profile-total { margin: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.game-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.game-stat { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 8px; border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; background: var(--canvas); }
.game-stat-name { overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.game-stat-count { flex: none; color: var(--accent); font: 900 14px var(--font-numbers); white-space: nowrap; }
.profile-progress-list { display: grid; gap: 8px; }
.profile-progress-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--canvas); }
.profile-progress-item.is-complete { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); background: var(--accent-soft); }
.profile-progress-item strong { display: block; font-size: 13px; }
.profile-progress-item p { margin: 3px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.profile-progress-count { flex: none; color: var(--muted); font: 800 12px var(--font-numbers); white-space: nowrap; }
.achievement-reward-avatar { width: 34px; height: 34px; flex: none; border: 1px solid var(--line); border-radius: 50%; object-fit: contain; }
.profile-privacy-note { margin: 14px 0 0; color: var(--muted); font-size: 12px; text-align: center; }
@media (max-width: 520px) {
  body[data-theme="account"] .site-nav { border-bottom-color: rgb(130 191 255 / 22%); }
  .profile-identity, .profile-card { padding: 16px; }
  .profile-avatar { width: 64px; height: 64px; font-size: 34px; }
  .profile-name-group h2 { font-size: 24px; }
  .profile-identity { flex-wrap: wrap; }
  .profile-name-group { flex-basis: calc(100% - 82px); }
  .profile-customize { margin-left: auto; }
  .game-stats { grid-template-columns: minmax(0, 1fr); }
}
