.member-auth-body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(213,173,90,.09), transparent 28%),
    radial-gradient(circle at 86% 22%, rgba(96,183,255,.12), transparent 30%),
    linear-gradient(145deg, #070b12, #0a111d 56%, #080c14);
}

.member-auth-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

.member-auth-header {
  position: relative;
  z-index: 4;
  width: min(1180px, calc(100% - 42px));
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto;
}

.member-auth-header > a:last-child {
  color: #8e9bae;
  font-size: .78rem;
  font-weight: 700;
}

.member-auth-header > a:last-child:hover { color: white; }

.member-auth-main {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 42px));
  min-height: calc(100vh - 150px);
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(390px, .62fr);
  align-items: center;
  gap: 78px;
  margin: 0 auto;
  padding: 42px 0 72px;
}

.member-auth-intro h1 {
  max-width: 680px;
  margin: 18px 0 20px;
  font-family: "Manrope", sans-serif;
  font-size: clamp(3.1rem, 5.8vw, 5.6rem);
  line-height: .96;
  letter-spacing: -.067em;
}

.member-auth-intro > p {
  max-width: 620px;
  margin: 0;
  color: #8e9bb0;
  font-size: 1rem;
  line-height: 1.7;
}

.member-auth-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin-top: 34px;
}

.member-auth-points > div {
  padding: 17px;
  border: 1px solid rgba(255,255,255,.075);
  border-radius: 16px;
  background: rgba(255,255,255,.022);
}

.member-auth-points strong {
  display: block;
  color: #dfe7f2;
  font-size: .77rem;
}

.member-auth-points small {
  display: block;
  margin-top: 5px;
  color: #68768b;
  font-size: .66rem;
  line-height: 1.45;
}

.member-auth-card {
  padding: 31px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 24px;
  background: linear-gradient(155deg, rgba(17,25,40,.97), rgba(9,15,25,.96));
  box-shadow: 0 40px 90px rgba(0,0,0,.35), inset 0 1px rgba(255,255,255,.05);
}

.member-auth-mark {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid rgba(213,173,90,.17);
  border-radius: 19px;
  background: rgba(213,173,90,.055);
}

.member-auth-kicker {
  color: #ddb964;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.member-auth-card h2 {
  margin: 8px 0 8px;
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  letter-spacing: -.04em;
}

.member-auth-card > p,
.member-auth-card .auth-copy {
  margin: 0;
  color: #7e8ba0;
  font-size: .77rem;
  line-height: 1.55;
}

.member-form {
  display: grid;
  gap: 15px;
  margin-top: 23px;
}

.member-form label {
  display: grid;
  gap: 7px;
}

.member-form label > span {
  color: #a4b0c2;
  font-size: .7rem;
  font-weight: 700;
}

.member-input {
  min-height: 50px;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 13px;
  background: rgba(0,0,0,.18);
}

.member-input:focus-within {
  border-color: rgba(96,183,255,.42);
  box-shadow: 0 0 0 4px rgba(96,183,255,.065);
}

.member-input input,
.member-input textarea {
  width: 100%;
  border: 0;
  outline: 0;
  color: white;
  background: transparent;
  font: inherit;
  font-size: .79rem;
}

.member-input textarea {
  min-height: 110px;
  padding: 13px 0;
  resize: vertical;
}

.member-input input::placeholder,
.member-input textarea::placeholder { color: #4f5d71; }

.member-input button {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #78869a;
  cursor: pointer;
}

.member-input button:hover { background: rgba(255,255,255,.05); color: white; }

.member-input button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

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

.member-check {
  display: grid !important;
  grid-template-columns: 17px 1fr;
  align-items: start;
  gap: 9px !important;
  color: #7f8ca1;
  font-size: .68rem;
  line-height: 1.5;
  cursor: pointer;
}

.member-check input { margin-top: 2px; }
.member-check a { color: #95c7f0; }

.member-auth-submit {
  width: 100%;
  min-height: 51px;
  border: 0;
  cursor: pointer;
}

.member-auth-submit:disabled { opacity: .65; cursor: wait; transform: none; }

.auth-message {
  margin-top: 17px;
  padding: 12px 13px;
  border: 1px solid rgba(255,101,116,.20);
  border-radius: 11px;
  color: #ffbdc3;
  background: rgba(229,71,86,.07);
  font-size: .72rem;
  line-height: 1.5;
}

.auth-message.success {
  border-color: rgba(103,215,162,.22);
  color: #a9eccd;
  background: rgba(103,215,162,.07);
}

.auth-message.info {
  border-color: rgba(96,183,255,.20);
  color: #b7ddff;
  background: rgba(96,183,255,.07);
}

.member-auth-links {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  color: #8090a6;
  font-size: .69rem;
}

.member-auth-links a { color: #9ecbf0; font-weight: 700; }

.member-auth-divider {
  height: 1px;
  margin: 23px 0;
  background: rgba(255,255,255,.075);
}

.member-support-note {
  color: #68768a;
  font-size: .67rem;
  line-height: 1.55;
}

.member-support-note a { color: #9fc8ea; }

.member-auth-state {
  display: grid;
  justify-items: center;
  gap: 13px;
  padding: 18px 0 4px;
  text-align: center;
}

.member-auth-state .state-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: rgba(96,183,255,.08);
  color: #8acbff;
  font-size: 1.5rem;
  font-weight: 800;
}

.account-main {
  width: min(980px, calc(100% - 42px));
  margin: 0 auto;
  padding: 130px 0 90px;
}

.account-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.account-header h1 {
  margin: 8px 0 0;
  font-family: "Manrope", sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.account-grid {
  display: grid;
  grid-template-columns: 270px minmax(0,1fr);
  gap: 20px;
}

.account-card {
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15,22,36,.95), rgba(10,16,27,.94));
  box-shadow: 0 22px 50px rgba(0,0,0,.2);
}

.account-summary { padding: 24px; text-align: center; }
.account-avatar {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  border-radius: 24px;
  background: linear-gradient(145deg, #2b3c56, #121a28);
  border: 1px solid rgba(255,255,255,.1);
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
}
.account-summary h2 { margin: 0; font-size: 1.05rem; }
.account-summary p { margin: 5px 0 0; color: #758398; font-size: .72rem; }
.account-role {
  display: inline-flex;
  margin-top: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(96,183,255,.09);
  color: #9fd1f7;
  font-size: .65rem;
  font-weight: 800;
}
.account-content { padding: 25px; }
.account-content h2 { margin: 0 0 5px; font-family: "Manrope", sans-serif; font-size: 1.25rem; }
.account-content > p { margin: 0 0 22px; color: #78869a; font-size: .76rem; }
.account-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 7px; }

@media (max-width: 900px) {
  .member-auth-main { grid-template-columns: 1fr; gap: 42px; }
  .member-auth-intro { text-align: center; }
  .member-auth-intro > p { margin-inline: auto; }
  .member-auth-points { max-width: 650px; margin-inline: auto; }
  .member-auth-card { width: min(480px, 100%); margin: 0 auto; }
  .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .member-auth-header { width: min(100% - 28px, 1180px); }
  .member-auth-main { width: min(100% - 28px, 1120px); padding-top: 20px; }
  .member-auth-intro h1 { font-size: 2.7rem; }
  .member-auth-points { grid-template-columns: 1fr; }
  .member-auth-card { padding: 24px 20px; }
  .member-form-row { grid-template-columns: 1fr; }
  .member-auth-links { flex-direction: column; }
  .account-main { width: min(100% - 28px, 980px); padding-top: 110px; }
  .account-header { align-items: flex-start; flex-direction: column; }
}
