:root {
  --bg: #050505;
  --panel: #0d0f10;
  --panel2: #121516;
  --text: #f4f4ef;
  --muted: #a3aaa6;
  --line: rgba(255,255,255,.11);
  --acid: #c9ff2f;
  --ice: #66f2ff;
  --orange: #ff7a1a;
  --max: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 12%, rgba(201,255,47,.16), transparent 28%),
    radial-gradient(circle at 10% 80%, rgba(102,242,255,.10), transparent 30%),
    linear-gradient(135deg, #030303 0%, #080a0b 48%, #111516 100%);
  color: var(--text);
  font-family: "Arial Narrow", "Roboto Condensed", Impact, system-ui, sans-serif;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .08;
  background-image:
    linear-gradient(90deg, transparent 98%, rgba(255,255,255,.25) 100%),
    linear-gradient(0deg, transparent 98%, rgba(255,255,255,.2) 100%);
  background-size: 34px 34px;
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}


/* ─── NAV ─────────────────────────────────────────────── */

header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background:
    radial-gradient(circle at 80% 0%, rgba(201,255,47,.08), transparent 40%),
    rgba(5,5,5,.88);
  backdrop-filter: blur(14px);
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--text);
  text-decoration: none;
  flex-shrink: 0;
}

.mark {
  width: 42px;
  height: 42px;
  background: var(--acid);
  color: #050505;
  display: grid;
  place-items: center;
  font-weight: 1000;
  font-size: .95rem;
  letter-spacing: -2px;
  transform: skew(-10deg);
  box-shadow: 6px 6px 0 rgba(102,242,255,.22);
}

.brand-name {
  font-size: 1.5rem;
  font-weight: 1000;
  letter-spacing: -1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: color .18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-username {
  color: var(--muted);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.btn-nav {
  background: var(--acid);
  color: #050505 !important;
  padding: 9px 18px;
  font-weight: 1000 !important;
  font-size: .8rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 5px 5px 0 rgba(255,122,26,.4);
}

.btn-nav:hover {
  transform: translate(-2px,-2px);
  box-shadow: 8px 8px 0 rgba(255,122,26,.5);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform .22s ease, opacity .22s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
  padding: 16px 0;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  color: var(--muted);
  text-decoration: none;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color .18s ease;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--text); }
.nav-mobile .btn-nav {
  margin-top: 12px;
  justify-content: center;
  box-shadow: none;
}

.nav-mobile .nav-username {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}


/* ─── BUTTONS ──────────────────────────────────────────── */

.btn {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 1000;
  letter-spacing: .08em;
  font-size: .88rem;
  transition: transform .18s ease, box-shadow .18s ease;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-main {
  background: var(--acid);
  color: #050505;
  box-shadow: 9px 9px 0 rgba(255,122,26,.45);
}

.btn-main:hover {
  transform: translate(-2px,-2px);
  box-shadow: 12px 12px 0 rgba(255,122,26,.55);
}

.btn-ghost {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,.25);
  background: rgba(255,255,255,.06);
}

.btn-full { width: 100%; }


/* ─── FOOTER ───────────────────────────────────────────── */

footer {
  padding: 32px 0;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  font-size: .88rem;
  text-align: center;
  border-top: 1px solid var(--line);
  margin-top: auto;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color .18s ease;
}

footer a:hover { color: var(--acid); }

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 10px;
  flex-wrap: wrap;
}


/* ─── FORMS (shared) ───────────────────────────────────── */

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: .85rem;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: .03em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  outline: none;
  transition: border-color .18s ease;
  width: 100%;
}

.form-group input:focus { border-color: var(--acid); }

.form-panel {
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 48px 40px;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.form-panel h2 {
  font-size: 2.6rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin-bottom: 32px;
}

.form-panel form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-hint {
  font-family: system-ui, sans-serif;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 16px;
}

.form-hint a {
  color: var(--acid);
  text-decoration: none;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: system-ui, sans-serif;
  font-size: .88rem;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--acid);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.checkbox-group a {
  color: var(--acid);
  text-decoration: none;
}

.form-page {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pw-wrap {
  position: relative;
}

.pw-wrap input {
  padding-right: 48px;
}

.pw-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: .8rem;
  font-family: system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 4px;
  transition: color .18s ease;
}

.pw-toggle:hover { color: var(--text); }


/* ─── ALERTS ───────────────────────────────────────────── */

.alert {
  padding: 14px 18px;
  border-left: 4px solid;
  font-family: system-ui, sans-serif;
  font-size: .92rem;
  margin-bottom: 20px;
}

.alert-error { border-color: #ff4444; background: rgba(255,68,68,.08); color: #ff8888; }
.alert-success { border-color: var(--acid); background: rgba(201,255,47,.08); color: var(--acid); }
.alert-info { border-color: var(--ice); background: rgba(102,242,255,.08); color: var(--ice); }


/* ─── HOME — HERO ──────────────────────────────────────── */

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  padding: 64px 0 80px;
  flex: 1;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: .88rem;
  font-weight: 900;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.kicker::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--acid);
  flex-shrink: 0;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  line-height: .9;
  letter-spacing: -4px;
  text-transform: uppercase;
  max-width: 760px;
  margin-bottom: 28px;
  font-weight: 1000;
}

h1 span {
  display: block;
  color: transparent;
  -webkit-text-stroke: 1px rgba(244,244,239,.78);
}

.hero-text {
  font-family: system-ui, sans-serif;
  max-width: 600px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.visual {
  position: relative;
  min-height: 680px;
  display: grid;
  place-items: center;
}

.athlete-card {
  width: min(100%, 500px);
  min-height: 660px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255,255,255,.05), transparent 35%),
    linear-gradient(180deg, #171b1c, #070808);
  border: 1px solid var(--line);
  box-shadow: 0 38px 100px rgba(0,0,0,.55);
  clip-path: polygon(0 0, 100% 0, 100% 88%, 84% 100%, 0 100%);
}

.athlete-card::before {
  content: "SCULPTIQ";
  position: absolute;
  left: -34px;
  top: 80px;
  font-size: 7rem;
  font-weight: 1000;
  letter-spacing: -7px;
  color: rgba(255,255,255,.03);
  transform: rotate(90deg);
  transform-origin: left top;
  white-space: nowrap;
}

.figure {
  position: absolute;
  inset: 0 0 80px 0;
  background-image: url(/themes/performance/images/athlete.jpg);
  background-size: cover;
  background-position: top center;
}

.figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 70%, #070808 97%);
}

.ring {
  position: absolute;
  width: 390px;
  height: 390px;
  border: 2px solid rgba(201,255,47,.75);
  border-radius: 50%;
  top: 78px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 42px rgba(201,255,47,.14);
}

.ring::before,
.ring::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  inset: 34px;
  border: 1px dashed rgba(102,242,255,.34);
}

.ring::after {
  inset: 78px;
  border-style: solid;
  border-color: rgba(255,122,26,.32);
}

.data-tag {
  position: absolute;
  background: rgba(5,5,5,.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  padding: 13px 15px;
  font-family: system-ui, sans-serif;
  min-width: 148px;
  z-index: 4;
}

.data-tag small {
  display: block;
  color: var(--muted);
  font-size: .7rem;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.data-tag strong {
  font-size: 1.3rem;
  color: var(--text);
}

.tag-one { top: 66px; right: 6px; border-left: 4px solid var(--acid); }
.tag-two { top: 150px; left: 0; border-left: 4px solid var(--ice); }
.tag-three { bottom: 102px; right: 34px; border-left: 4px solid var(--orange); }

.slash { display: none; }

.bottom-strip {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  z-index: 5;
}

.strip-item {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  padding: 12px;
  font-family: system-ui, sans-serif;
}

.strip-item strong {
  display: block;
  font-size: .92rem;
  color: var(--acid);
  margin-bottom: 3px;
}

.strip-item span {
  color: var(--muted);
  font-size: .74rem;
}


/* ─── HOME — SECTIONS ──────────────────────────────────── */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-title {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-title p {
  color: var(--acid);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-weight: 900;
  font-size: .88rem;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  line-height: .92;
  letter-spacing: -3px;
  text-transform: uppercase;
}

.tiles {
  display: grid;
  grid-template-columns: 1.1fr .9fr .9fr;
  gap: 16px;
}

.tile {
  min-height: 260px;
  padding: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.07), rgba(255,255,255,.025));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.tile.large {
  min-height: 420px;
  grid-row: span 2;
  background:
    radial-gradient(circle at 80% 20%, rgba(201,255,47,.12), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,.075), rgba(255,255,255,.025));
}

.tile h3 {
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: -1.2px;
  margin-bottom: 14px;
}

.tile p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

.tile-number {
  position: absolute;
  right: 20px;
  bottom: 12px;
  font-size: 5rem;
  font-weight: 1000;
  color: rgba(255,255,255,.05);
  letter-spacing: -5px;
}

.ai-note {
  padding: 46px;
  background:
    linear-gradient(90deg, rgba(201,255,47,.13), transparent 32%),
    linear-gradient(145deg, #111516, #070808);
  border: 1px solid rgba(201,255,47,.2);
  display: grid;
  grid-template-columns: 1fr .65fr;
  gap: 32px;
  align-items: center;
}

.ai-note h2 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: .92;
  letter-spacing: -3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ai-note p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.launch-box {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  padding: 26px;
}

.launch-box strong {
  display: block;
  font-size: 1.7rem;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--acid);
  letter-spacing: -1px;
}

.launch-box span {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.6;
  font-size: .96rem;
}


/* ─── LEGAL PAGES ──────────────────────────────────────── */

.legal-hero {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: -3px;
  margin-bottom: 14px;
}

.legal-hero p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  font-size: 1rem;
  max-width: 580px;
}

.legal-body {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child { border-bottom: none; }

.legal-section h2 {
  font-size: 1.6rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 16px;
  color: var(--text);
}

.legal-section p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: .97rem;
}

.legal-section p:last-child { margin-bottom: 0; }

.legal-section a {
  color: var(--acid);
  text-decoration: none;
}


/* ─── 404 ──────────────────────────────────────────────── */

.page-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-block h1 {
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 1000;
  color: var(--acid);
  letter-spacing: -8px;
  line-height: 1;
  margin-bottom: 12px;
}

.error-block h2 {
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.error-block p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}


/* ─── CONFIRMATION (email verified, etc.) ──────────────── */

.confirm-panel {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-top: 4px solid var(--acid);
  padding: 56px 48px;
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 24px 72px rgba(0,0,0,.55);
}

.confirm-panel .confirm-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  display: block;
}

.confirm-panel h2 {
  font-size: 2.4rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -1.5px;
  margin-bottom: 16px;
}

.confirm-panel p {
  font-family: system-ui, sans-serif;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 32px;
  font-size: .98rem;
}


/* ─── RESPONSIVE ───────────────────────────────────────── */

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding: 48px 0 64px; }
  .visual { min-height: 680px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .tile.large { grid-row: auto; min-height: 260px; }
  .ai-note { grid-template-columns: 1fr; padding: 36px; }
  .input-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
}

@media (max-width: 640px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  h1 { font-size: clamp(2.5rem, 13vw, 4rem); letter-spacing: -2.5px; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .visual { min-height: 600px; }
  .athlete-card { min-height: 580px; }
  .ring { width: 300px; height: 300px; }
  .figure { inset: 0 0 80px 0; }
  .tag-one { top: 48px; right: 0; }
  .tag-two { top: 150px; left: 0; }
  .tag-three { bottom: 104px; right: 10px; }
  .data-tag { min-width: 124px; padding: 10px 12px; }
  .data-tag strong { font-size: 1.05rem; }
  .bottom-strip { left: 14px; right: 14px; bottom: 12px; grid-template-columns: 1fr; }
  .strip-item:nth-child(2), .strip-item:nth-child(3) { display: none; }
  .tiles { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .section-title h2, .ai-note h2 { letter-spacing: -2px; }
  .ai-note { padding: 26px; }
  .form-panel { padding: 36px 24px; }
  .confirm-panel { padding: 40px 24px; }
  .legal-hero { padding: 48px 0 32px; }
}


/* ─── MEMBER PROFILE PAGE ──────────────────────────────── */

.profile-page {
  flex: 1;
  padding: 60px 0;
}

.profile-page-header {
  margin-bottom: 32px;
}

.profile-overline {
  color: var(--acid);
  font-weight: 900;
  letter-spacing: .2em;
  font-size: .78rem;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.profile-heading {
  font-size: 2.4rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -1.5px;
}

.profile-panel {
  background: var(--panel2);
  border: 1px solid var(--line);
  padding: 36px 32px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.profile-avatar-panel {
  margin-bottom: 24px;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.avatar-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--acid);
  flex-shrink: 0;
}

.avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-initials {
  width: 100%;
  height: 100%;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 1000;
  color: var(--acid);
}

.avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.avatar-display-name {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -.5px;
}

.avatar-username {
  font-size: .88rem;
  color: var(--muted);
  font-family: system-ui, sans-serif;
  margin-bottom: 8px;
}

.avatar-upload-form {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.avatar-upload-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease;
  font-family: inherit;
}

.avatar-upload-btn:hover {
  border-color: var(--acid);
  color: var(--acid);
}

.avatar-upload-btn input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.avatar-hint {
  font-family: system-ui, sans-serif;
  font-size: .8rem;
  color: var(--muted);
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.profile-panel-title {
  font-size: 1.1rem;
  font-weight: 1000;
  text-transform: uppercase;
  letter-spacing: -.3px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.profile-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-password-panel {
  max-width: 640px;
}

.profile-field-hint {
  font-family: system-ui, sans-serif;
  font-size: .78rem;
  color: var(--muted);
  margin-top: 4px;
}

.form-group select {
  padding: 13px 16px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 1rem;
  font-family: system-ui, sans-serif;
  outline: none;
  transition: border-color .18s ease;
  width: 100%;
  cursor: pointer;
}

.form-group select:focus {
  border-color: var(--acid);
}

.form-group select option,
.form-group select optgroup {
  background: var(--panel);
  color: var(--text);
}

.form-group input:disabled {
  opacity: .45;
  cursor: not-allowed;
}

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

@media (max-width: 580px) {
  .profile-avatar-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .profile-panel {
    padding: 28px 20px;
  }
  .profile-password-panel {
    max-width: 100%;
  }
}
