/* ============================================================
   原点体育 · 登录 / 开通 / 球队概览
   ============================================================ */

body.auth-body {
  background: var(--paper);
  min-height: 100vh;
}

.auth {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

/* ---------- 左侧品牌区 ---------- */
.auth__aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 48px 56px;
  color: #fff;
  background:
    radial-gradient(720px 420px at 80% 8%, rgba(255, 107, 53, 0.26), transparent 62%),
    linear-gradient(160deg, #0b1f2a 0%, #0e2b38 52%, #123d4f 100%);
}

.auth__aside::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -160px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 46px rgba(255, 255, 255, 0.03), 0 0 0 104px rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.auth__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.auth__brand img {
  height: 30px;
  width: auto;
}

.auth__brand b {
  font-size: 17px;
  letter-spacing: 0.06em;
}

.auth__brand span {
  display: block;
  margin-top: 3px;
  font-family: var(--font-num);
  font-size: 8.5px;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.42);
}

.auth__pitch {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-bottom: 8px;
}

.auth__kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.58);
}

.auth__kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--orange);
}

.auth__aside h1 {
  margin-top: 20px;
  max-width: 520px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.auth__aside h1 em {
  font-style: normal;
  color: #ff9a6d;
}

.auth__points {
  margin-top: 32px;
  display: grid;
  gap: 14px;
  max-width: 460px;
}

.auth__point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(235, 243, 247, 0.62);
}

.auth__point i {
  flex: none;
  margin-top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  display: grid;
  place-items: center;
  background: rgba(255, 107, 53, 0.18);
  color: #ffb79c;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
}

.auth__point b {
  color: #fff;
  font-weight: 600;
}

.auth__foot {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.34);
}

/* ---------- 右侧表单区 ---------- */
.auth__main {
  display: grid;
  place-items: center;
  padding: 48px 40px;
}

.auth-card {
  width: min(440px, 100%);
  padding: 36px 34px 30px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 31, 42, 0.08);
}

.auth-card__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.auth-card__back:hover {
  color: var(--orange);
}

.auth-card h2 {
  font-size: 24px;
  letter-spacing: -0.01em;
}

.auth-card__sub {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.auth-form {
  margin-top: 24px;
}

.auth-form .field {
  margin-bottom: 16px;
}

.auth-form .field label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #41525f;
}

.auth-form .field label span {
  font-weight: 500;
  color: var(--muted-2);
}

.auth-form .input {
  height: 46px;
  font-size: 15px;
}

.auth-form .input--code {
  font-family: var(--font-num);
  font-size: 22px;
  letter-spacing: 10px;
  text-align: center;
  padding-left: 24px;
}

.auth-form .btn {
  height: 46px;
  border-radius: 12px;
}

.auth-hint {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted-2);
}

.auth-hint b {
  color: var(--ink);
  font-family: var(--font-num);
  letter-spacing: 2px;
}

.auth-error {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 9px;
  background: #fff1f0;
  border: 1px solid #ffd6d2;
  font-size: 12.5px;
  color: #b42318;
}

.auth-error[hidden] {
  display: none;
}

.auth-terms {
  margin-top: 18px;
  font-size: 11.5px;
  line-height: 1.7;
  color: var(--muted-2);
  text-align: center;
}

.auth-terms a {
  color: var(--muted);
  text-decoration: underline;
}

.auth-switch {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}

.auth-switch button {
  border: 0;
  background: none;
  color: var(--navy);
  font-size: 12.5px;
  cursor: pointer;
  text-decoration: underline;
}

.auth-switch button:disabled {
  color: var(--muted-2);
  cursor: default;
  text-decoration: none;
}

.auth-steps {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 11.5px;
  color: var(--muted-2);
}

.auth-steps i {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef2f6;
  color: var(--muted);
  font-style: normal;
  font-size: 10.5px;
  font-weight: 700;
}

.auth-steps i.is-on {
  background: var(--orange);
  color: #fff;
}

.auth-steps span.is-on {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 开通球队 ---------- */
.onboard {
  width: min(560px, 100%);
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(11, 31, 42, 0.08);
}

.onboard h2 {
  font-size: 23px;
}

.onboard > p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.75;
  color: var(--muted);
}

.onboard__tabs {
  margin: 22px 0 18px;
  display: inline-flex;
  padding: 3px;
  gap: 2px;
  border-radius: 10px;
  background: #eef2f6;
}

.onboard__tabs button {
  height: 32px;
  padding: 0 16px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-size: 12.5px;
  color: var(--muted);
  cursor: pointer;
}

.onboard__tabs button.is-on {
  background: #fff;
  color: var(--ink);
  font-weight: 600;
  box-shadow: 0 1px 3px rgba(11, 31, 42, 0.1);
}

.onboard .field {
  margin-bottom: 14px;
}

.onboard .field label {
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #41525f;
}

.onboard .row-2 {
  display: grid;
  grid-template-columns: 1fr 140px;
  gap: 12px;
}

/* ---------- 球队概览 ---------- */
.account {
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 24px 64px;
}

.account__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0 26px;
  border-bottom: 1px solid var(--line);
}

.account__bar img {
  height: 26px;
  width: auto;
}

.account__bar b {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.account__bar .spacer {
  flex: 1;
}

.account__user {
  font-size: 12.5px;
  color: var(--muted);
}

.account__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: 30px 0 20px;
  flex-wrap: wrap;
}

.account__head h1 {
  font-family: var(--font-serif);
  font-size: 30px;
}

.account__head p {
  margin-top: 8px;
  font-size: 13px;
  color: var(--muted);
}

.account__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
  align-items: start;
}

.acc-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}

.acc-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}

.acc-card__head h2 {
  font-size: 14px;
}

.acc-card__body {
  padding: 18px;
}

.invite {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px dashed #d5dfe8;
}

.invite b {
  font-family: var(--font-num);
  font-size: 20px;
  letter-spacing: 2px;
}

.invite span {
  font-size: 11.5px;
  color: var(--muted-2);
}

.acc-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.acc-stat {
  padding: 14px;
  border-radius: 10px;
  background: #fafbfc;
  border: 1px solid var(--line-soft);
}

.acc-stat span {
  font-size: 11px;
  color: var(--muted-2);
}

.acc-stat b {
  display: block;
  margin-top: 4px;
  font-family: var(--font-num);
  font-size: 22px;
}

.acc-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f1f8f4;
  border: 1px solid #cfe9da;
  font-size: 12px;
  line-height: 1.7;
  color: #1f5f3f;
}

.acc-empty {
  padding: 28px 18px;
  text-align: center;
  font-size: 12.5px;
  color: var(--muted-2);
}

.acc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

@media (max-width: 900px) {
  .auth {
    grid-template-columns: 1fr;
  }
  .auth__aside {
    padding: 28px 24px 32px;
  }
  .auth__pitch {
    margin-top: 24px;
  }
  .auth__aside h1 {
    font-size: 28px;
  }
  .auth__points,
  .auth__foot {
    display: none;
  }
  .auth__main {
    padding: 24px 18px 40px;
  }
  .account__grid {
    grid-template-columns: 1fr;
  }
  .acc-stats {
    grid-template-columns: 1fr 1fr;
  }
}
