﻿.profile-sections[hidden] { display: none; }
.profile-shell:has(.profile-sections:not([hidden])) { display: block; }
.profile-shell:has(.profile-sections:not([hidden])) > .stage { margin-inline: auto; }
.profile-sections { width: min(840px, 100%); min-width: 0; margin: 48px auto 0; color: #f1f1f1; }
.ps-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 15px; }
.ps-nav a, .ps-grid a {
  display: inline-block; padding: 6px 12px; border: 1px solid #ffffff32;
  border-radius: 99px; background: #101010e8; color: #eee; text-decoration: none;
}
.ps-nav a:hover, .ps-grid a:hover { background: #303030; }
.ps-panel {
  display: grid; align-content: center; gap: 15px; scroll-margin-top: 18px;
  margin: 0 0 14px; padding: clamp(18px, 4vw, 35px); border: 1px solid #ffffff2e;
  border-radius: 20px; background: #101010ed; overflow-wrap: anywhere;
}
.profile-sections[data-layout="full"] .ps-panel { min-height: 82svh; }
.ps-panel h2 { margin: 0; font-size: clamp(21px, 4vw, 34px); letter-spacing: -.035em; }
.ps-panel p { margin: 0; white-space: pre-line; color: #c4c4c4; }
.ps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.ps-grid article { display: grid; align-content: start; justify-items: start; gap: 7px; padding: 12px; border: 1px solid #ffffff22; border-radius: 12px; background: #181818; }
.ps-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 8px; }
.ps-grid h3 { font-size: 15px; }
