.xq-account-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(14, 129, 116, 0.12), transparent 30%),
    radial-gradient(circle at 88% 8%, rgba(37, 99, 235, 0.10), transparent 28%),
    #f7f3eb;
}

.xq-account-main {
  width: min(1040px, calc(100% - 32px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.xq-account-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.xq-kicker {
  margin: 0 0 8px;
  color: #bf684f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.xq-account-hero h1 {
  margin: 0;
  color: #17130f;
  font-family: Georgia, "Times New Roman", "Microsoft YaHei", serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: 0;
}

.xq-account-hero p {
  max-width: 680px;
  margin: 14px 0 0;
  color: #6f665b;
  font-size: 15px;
  line-height: 1.75;
}

.xq-account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.xq-panel {
  border: 1px solid rgba(73, 56, 40, 0.15);
  border-radius: 20px;
  background: rgba(255, 252, 246, 0.86);
  box-shadow: 0 18px 48px rgba(40, 31, 22, 0.08);
  padding: 24px;
}

.xq-panel.full {
  grid-column: 1 / -1;
}

.xq-panel h2 {
  margin: 0 0 8px;
  color: #211b15;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: 0;
}

.xq-panel-note {
  margin: 0 0 18px;
  color: #756c61;
  font-size: 14px;
  line-height: 1.65;
}

.xq-form {
  display: grid;
  gap: 14px;
}

.xq-field {
  display: grid;
  gap: 8px;
}

.xq-field label {
  color: #332b24;
  font-size: 14px;
  font-weight: 800;
}

.xq-field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid rgba(73, 56, 40, 0.16);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.78);
  color: #201b16;
  font-size: 15px;
  outline: none;
  padding: 13px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.xq-field input:focus {
  border-color: #cf745d;
  box-shadow: 0 0 0 4px rgba(207, 116, 93, 0.16);
  background: #fffdfa;
}

.xq-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
}

.xq-button {
  border: 1px solid rgba(20, 17, 13, 0.12);
  border-radius: 999px;
  background: #16120f;
  color: #fff9ef;
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  min-height: 46px;
  padding: 0 22px;
  transition: transform 160ms ease, opacity 160ms ease, background 160ms ease;
}

.xq-button.secondary {
  background: transparent;
  color: #b8614d;
  border-color: rgba(207, 116, 93, 0.32);
}

.xq-button:hover {
  transform: translateY(-1px);
}

.xq-button:disabled {
  cursor: not-allowed;
  opacity: 0.56;
  transform: none;
}

.xq-message {
  min-height: 22px;
  color: #6b6258;
  font-size: 14px;
  line-height: 1.55;
}

.xq-message.ok {
  color: #08756a;
}

.xq-message.err {
  color: #b42318;
}

.xq-current-email {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  border-radius: 999px;
  background: rgba(14, 129, 116, 0.10);
  color: #0a5d54;
  font-size: 14px;
  font-weight: 800;
  padding: 0 12px;
}

.xl-account-security-shortcut {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.10);
  color: #1d4ed8 !important;
  font-weight: 700;
  padding: 0 12px;
  text-decoration: none !important;
}

@media (max-width: 760px) {
  .xq-account-main {
    width: min(100% - 24px, 560px);
    padding-top: 88px;
  }

  .xq-account-hero {
    grid-template-columns: 1fr;
  }

  .xq-account-grid {
    grid-template-columns: 1fr;
  }

  .xq-row {
    grid-template-columns: 1fr;
  }
}
