.profile-default-page {
  --profile-bg: #f3ede2;
  --profile-paper: #fffaf2;
  --profile-panel: #fffdf8;
  --profile-ink: #1f231d;
  --profile-muted: #6d6f5f;
  --profile-line: #d9cdb7;
  --profile-accent: #b85c38;
  --profile-accent-deep: #7a3322;
  --profile-green: #2d6a57;
  --profile-hero-bg: #102019;
  --profile-hero-title: #f3f8ee;
  --profile-hero-text: #dce7d9;
  --profile-hero-eyebrow: #ecd992;
}

.profile-default-page main {
  background:
    radial-gradient(circle at top right, rgb(184 92 56 / 12%), transparent 24%),
    radial-gradient(circle at 10% 18%, rgb(45 106 87 / 10%), transparent 22%),
    linear-gradient(180deg, #fbf7f0, var(--profile-bg) 48%, #f8f1e6);
  color: var(--profile-ink);
}

.profile-default-page .site-header {
  background: rgb(255 250 242 / 84%);
  border-bottom: 1px solid rgb(217 205 183 / 70%);
  backdrop-filter: blur(12px);
}

.profile-default-page .top-nav {
  align-items: center;
  gap: 10px 12px;
}

.profile-default-page .top-nav-group {
  gap: 10px 12px;
}

.profile-default-page .top-nav-account {
  border-left-color: rgb(217 205 183 / 70%);
}

.profile-default-page .top-nav-context > a,
.profile-default-page .top-nav-account > a,
.profile-default-page .top-nav-account .nav-form button {
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.profile-default-page .top-nav-context > a {
  color: var(--profile-ink);
  background: rgb(255 250 242 / 92%);
  border-color: var(--profile-line);
}

.profile-default-page .top-nav-context > a:hover {
  color: var(--profile-accent-deep);
  border-color: rgb(184 92 56 / 28%);
  background: rgb(184 92 56 / 8%);
}

.profile-default-page .top-nav-account > a,
.profile-default-page .top-nav-account .nav-form button {
  color: var(--profile-muted);
}

.profile-default-page .top-nav-account > a:hover,
.profile-default-page .top-nav-account .nav-form button:hover {
  color: var(--profile-accent-deep);
}

.profile-default-hero,
.profile-default-library,
.profile-default-timeline {
  padding: clamp(24px, 5vw, 56px) clamp(18px, 4vw, 56px);
}

.profile-default-hero {
  padding-top: clamp(28px, 6vw, 72px);
}

.profile-default-hero-shell,
.profile-default-section-shell {
  width: min(1320px, 100%);
  margin: 0 auto;
}

.profile-default-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 22px;
}

.profile-default-banner,
.profile-default-stats-panel {
  background: var(--profile-panel);
  border: 1px solid var(--profile-line);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgb(57 37 20 / 8%);
}

.profile-default-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  overflow: hidden;
  padding: clamp(24px, 4vw, 42px);
  background:
    linear-gradient(135deg, rgb(184 92 56 / 9%), transparent 42%),
    linear-gradient(180deg, rgb(255 255 255 / 72%), rgb(255 255 255 / 98%)),
    var(--profile-panel);
}

.profile-default-banner::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgb(217 205 183 / 46%);
  border-radius: 22px;
  pointer-events: none;
}

.profile-default-banner-copy,
.profile-default-avatar-wrap {
  position: relative;
  z-index: 1;
}

.profile-default-banner-copy h1 {
  margin: 6px 0 8px;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
}

.profile-default-handle {
  margin: 0 0 14px;
  color: var(--profile-accent-deep);
  font-size: 1rem;
  font-weight: 800;
}

.profile-default-banner-copy .lede {
  max-width: 46rem;
  color: var(--profile-muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.profile-default-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.profile-default-meta span {
  padding: 8px 12px;
  color: var(--profile-accent-deep);
  background: rgb(184 92 56 / 8%);
  border: 1px solid rgb(184 92 56 / 16%);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
}

.profile-default-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.profile-default-page .button.primary {
  background: var(--profile-accent);
  border-color: var(--profile-accent);
}

.profile-default-page .button.ghost,
.profile-default-page .chip {
  color: var(--profile-ink);
  background: var(--profile-paper);
  border-color: var(--profile-line);
}

.profile-default-page .chip.active,
.profile-default-page .chip:hover {
  color: #fff;
  background: var(--profile-green);
  border-color: var(--profile-green);
}

.profile-default-avatar-wrap {
  align-self: start;
}

.profile-default-avatar {
  width: clamp(108px, 15vw, 160px);
  height: clamp(108px, 15vw, 160px);
  object-fit: cover;
  border: 6px solid rgb(255 255 255 / 86%);
  border-radius: 24px;
  box-shadow: 0 18px 40px rgb(57 37 20 / 14%);
}

.profile-default-avatar-fallback {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--profile-green), var(--profile-accent));
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 900;
}

.profile-default-stats-panel {
  display: grid;
  gap: 18px;
  align-content: start;
  padding: clamp(18px, 3vw, 24px);
  background:
    linear-gradient(180deg, rgb(255 255 255 / 70%), rgb(255 255 255 / 100%)),
    var(--profile-panel);
}

.profile-default-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.profile-default-stat {
  padding: 18px;
  background: var(--profile-paper);
  border: 1px solid var(--profile-line);
  border-radius: 18px;
}

.profile-default-stat span {
  display: block;
  margin-bottom: 6px;
  color: var(--profile-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.profile-default-stat strong {
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1;
}

.profile-default-featured {
  padding: 4px;
}

.profile-default-featured .compact-heading {
  margin: 0 0 12px;
}

.profile-default-featured-list {
  display: grid;
  gap: 10px;
}

.profile-default-featured-item {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  background: var(--profile-paper);
  border: 1px solid var(--profile-line);
  border-radius: 16px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.profile-default-featured-item:hover {
  transform: translateY(-1px);
  border-color: rgb(184 92 56 / 40%);
  box-shadow: 0 14px 26px rgb(57 37 20 / 8%);
}

.profile-default-featured-title {
  color: var(--profile-ink);
  font-size: 1rem;
  font-weight: 800;
}

.profile-default-featured-meta {
  color: var(--profile-muted);
  font-size: 0.84rem;
}

.profile-default-library {
  padding-top: 18px;
}

.profile-default-filters {
  justify-content: flex-end;
}

.profile-default-results {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 auto 18px;
}

.profile-default-results .eyebrow {
  margin: 0;
}

.profile-default-results p:last-child {
  color: var(--profile-muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.profile-default-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 18px;
  max-width: none;
}

.profile-default-card-grid-single {
  grid-template-columns: minmax(0, 1fr);
}

.profile-default-card-grid-single .game-card {
  width: min(100%, 1080px);
}

.profile-default-page .game-card,
.profile-default-page .timeline-entry,
.profile-default-page .empty {
  background: var(--profile-panel);
  border-color: var(--profile-line);
  border-radius: 20px;
  box-shadow: 0 16px 32px rgb(57 37 20 / 6%);
}

.profile-default-page .game-art {
  min-height: 220px;
  padding: 18px;
  background:
    linear-gradient(180deg, transparent, rgb(19 16 14 / 82%)),
    var(--art, linear-gradient(135deg, var(--profile-green), var(--profile-accent)));
}

.profile-default-card-grid-single .game-art {
  min-height: 0;
  aspect-ratio: 460 / 215;
  background-color: #181512;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.profile-default-page .game-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 18px;
  min-height: 220px;
  padding: 18px;
}

.profile-default-card-grid-single .game-card-body {
  min-height: 0;
}

.profile-default-page .game-card h3,
.profile-default-page .game-card h3 a {
  color: var(--profile-ink);
}

.profile-default-page .game-card p,
.profile-default-page .game-card-note,
.profile-default-page .empty {
  color: var(--profile-muted);
}

.profile-default-page .game-card-owner {
  color: var(--profile-accent-deep);
}

.profile-default-page .game-card-note {
  -webkit-line-clamp: 5;
}

.profile-default-page .status-pill {
  align-self: start;
}

.profile-default-timeline {
  padding-top: 14px;
}

.profile-default-timeline-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: none;
}

.profile-default-page .timeline-entry {
  padding: 18px;
}

.profile-default-page .timeline-marker {
  background: var(--profile-accent);
}

.profile-default-page .entry-meta,
.profile-default-page .timeline-entry p {
  color: var(--profile-muted);
}

.profile-default-page .section-heading,
.profile-default-page .profile-default-results {
  max-width: none;
}

.profile-default-page .section-heading h2 {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  letter-spacing: -0.03em;
}

.profile-default-page .eyebrow {
  color: var(--profile-accent);
}

@media (max-width: 1080px) {
  .profile-default-hero-shell,
  .profile-default-timeline-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .profile-default-banner {
    grid-template-columns: 1fr;
  }

  .profile-default-avatar-wrap {
    order: -1;
  }

  .profile-default-filters,
  .profile-default-results {
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  .profile-default-stat-grid,
  .profile-default-page .game-card-body,
  .profile-default-timeline-list {
    grid-template-columns: 1fr;
  }

  .profile-default-page .game-card-body {
    min-height: 0;
  }
}
