body.world-account {
  min-height: 100vh;
  background: #fff5df;
  color: #14363a;
}

.world-account main {
  overflow: hidden;
}

.world-account .account-page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0;
}

.account-welcome {
  display: grid;
  grid-template-columns: minmax(420px, 0.82fr) minmax(620px, 1.18fr);
  min-height: 820px;
  background: #fff8e9;
}

.account-welcome-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  padding: 64px 0 70px clamp(32px, 6vw, 92px);
}

.account-overline {
  margin: 0 0 18px;
  color: #566e59;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.account-welcome h1 {
  max-width: 590px;
  margin: 0;
  color: #14363a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 4.5vw, 68px);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.account-welcome h1 em {
  color: #3e623c;
  font-weight: 500;
}

.account-welcome-lede {
  max-width: 550px;
  margin: 28px 0 32px;
  color: #4f6258;
  font-size: 18px;
  line-height: 1.65;
}

.account-welcome .account-panel {
  width: min(100%, 470px);
  margin: 0;
  padding: 24px 26px;
  background: rgba(255, 250, 241, 0.96);
  border: 1px solid rgba(191, 165, 107, 0.5);
  border-radius: 18px;
  box-shadow: 0 20px 52px rgba(48, 75, 69, 0.13);
}

.account-welcome .account-panel h2 {
  margin: 0 0 5px;
  color: #2f5942;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.account-welcome .account-panel > p {
  margin: 0 0 18px;
  color: #60706a;
}

.account-summary-panel {
  border-color: rgba(62, 98, 60, 0.28) !important;
  background: rgba(251, 247, 231, 0.98) !important;
}

.account-summary-kicker,
.account-section-kicker {
  margin: 0 0 8px !important;
  color: #8b6941 !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.account-summary-panel h2 {
  font-size: clamp(27px, 3vw, 36px) !important;
  line-height: 1.04;
}

.account-summary-email {
  margin-bottom: 4px !important;
  color: #31534a !important;
  overflow-wrap: anywhere;
}

.account-summary-verified {
  margin-bottom: 18px !important;
  color: #66766a !important;
  font-size: 14px;
}

.account-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.account-summary-stats div {
  padding: 11px 9px;
  border: 1px solid rgba(191, 165, 107, 0.32);
  border-radius: 10px;
  background: #fffaf0;
  text-align: center;
}

.account-summary-stats strong,
.account-summary-stats span {
  display: block;
}

.account-summary-stats strong {
  color: #2f5942;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
}

.account-summary-stats span {
  color: #68756c;
  font-size: 11px;
  line-height: 1.2;
}

.account-summary-primary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border-radius: 8px;
  background: #3e623c;
  color: #fffaf0;
  font-weight: 800;
  text-decoration: none;
}

.account-summary-primary:hover { background: #294f38; }

.account-books-header {
  align-items: end;
}

.account-books-header .account-section-kicker {
  margin-bottom: 5px !important;
}

.account-books-header h2 { margin-top: 0; }

.account-welcome-art {
  position: relative;
  min-width: 0;
  min-height: 820px;
  margin: 0;
}

.account-welcome-art::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, #fff8e9 0%, rgba(255, 248, 233, 0) 100%);
  content: "";
  pointer-events: none;
}

.account-welcome-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 61% center;
}

.world-account .provider-auth-button,
.world-account .account-fields input,
.world-account .account-actions button {
  min-height: 48px;
  border-radius: 8px;
}

.world-account .account-actions .account-primary-action {
  background: #3e623c;
}

.world-account .account-dashboard {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 58px 0 72px;
}

.world-account .account-page-status {
  grid-column: 1 / -1;
}

.world-account .account-books-panel {
  grid-column: 1 / -1;
}

.world-account .app-download-strip {
  margin-top: 0;
}

.world-account .world-footer {
  min-height: 58px;
  background: #fff8e9;
  border-top: 1px solid rgba(191, 165, 107, 0.25);
}

@media (max-width: 1050px) {
  .account-welcome {
    grid-template-columns: minmax(370px, 0.9fr) minmax(430px, 1.1fr);
  }

  .account-welcome-copy {
    padding-left: 32px;
  }
}

@media (max-width: 800px) {
  .account-welcome {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  .account-welcome-copy {
    order: 0;
    padding: 46px 24px 54px;
  }

  .account-welcome h1 {
    font-size: clamp(48px, 13vw, 68px);
  }

  .account-welcome-lede {
    font-size: 17px;
  }

  .account-welcome .account-panel {
    width: 100%;
  }

  .account-welcome-art {
    order: 1;
    min-height: 360px;
    height: 46vw;
    max-height: 520px;
  }

  .account-welcome-art::before {
    inset: auto 0 0;
    width: auto;
    height: 24%;
    background: linear-gradient(0deg, #fff8e9 0%, rgba(255, 248, 233, 0) 100%);
  }

  .account-welcome-art img {
    object-position: 68% center;
  }

  .world-account .account-dashboard {
    width: min(100% - 32px, 680px);
    padding: 42px 0 56px;
  }
}

@media (max-width: 480px) {
  .account-welcome-art {
    min-height: 300px;
    height: 76vw;
  }

  .account-welcome-copy {
    padding: 36px 16px 46px;
  }

  .account-welcome h1 {
    font-size: 50px;
  }

  .account-welcome .account-panel {
    padding: 22px 18px;
  }

  .account-summary-stats { gap: 5px; }
  .account-summary-stats div { padding-inline: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .world-account *,
  .world-account *::before,
  .world-account *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
