.pcw-account {
  --account-lime: var(--pcw-green);
  --account-title: PCWDisplay, Impact, sans-serif;
  --account-copy: #e2ecdd;
  color: #f6f9f3;
  background: #0d150d;
  font: 1rem/1.5 Arial, sans-serif;
}
.pcw-account * { box-sizing: border-box; }
.pcw-account [hidden] { display: none !important; }
.pcw-account :where(h1, h2, h3, p) { margin: 0; }
.account-width { width: min(91%, 75rem); margin-inline: auto; }
.pcw-account :is(h1, h2, h3) {
  color: #f7f9f5;
  font-family: var(--account-title);
  font-weight: 800;
  font-style: italic;
  line-height: .96;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.account-hero {
  display: grid;
  align-items: center;
  min-height: clamp(14rem, 29vw, 25rem);
  padding-block: 1.6rem;
  border-bottom: 2px solid var(--account-lime);
  background: linear-gradient(94deg, #0a140bea 11%, #0b160bd4 35%, #09120837 82%),
              linear-gradient(0deg, #0b130bf5, transparent 74%),
              url(../roster/media/entrance.webp) center 53% / cover no-repeat;
}
.pcw-account h1 { font-size: clamp(3.5rem, 9vw, 8rem); letter-spacing: -.035em; }
.pcw-account h1::after,
.pcw-account h2::after {
  content: "";
  display: block;
  margin: .24em 0 .17em;
  width: 1.75em;
  height: clamp(3px, .4vw, 6px);
  transform: skewX(-16deg);
  background: var(--account-lime);
}
.pcw-account .account-brand-title {
  margin-bottom: .85rem;
}
.pcw-account .account-brand-title::after { content: none; }
.account-brand-title .my-pcw-mark {
  inline-size: clamp(12rem, 38vw, 27rem);
  max-inline-size: 100%;
}
.account-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem 1.4rem;
  margin-top: .8rem;
}
.account-links a:not(.account-cta),
.account-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #c6ff8e;
  text-underline-offset: .22em;
  font-weight: 700;
}
#account-identity { color: #ebf6e8; overflow-wrap: anywhere; }
.account-status { color: var(--account-copy); padding-block: 1.25rem; }
.account-edit,
.account-team { padding-block: clamp(1.5rem, 4.5vw, 4.4rem); }
.account-edit {
  background: linear-gradient(95deg, #0e180ee6, #0e160fe6 49%, #0a130eea),
              url(../assets/ringside.webp) center 51% / cover no-repeat;
}
.account-team {
  border-block-start: 1px solid #4b6546;
  background: linear-gradient(112deg, #131d12f2, #0b140ded), url(../assets/grain.webp);
}
.account-editor {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  align-items: start;
  gap: clamp(1.3rem, 7vw, 7rem);
}
.pcw-account h2 { font-size: clamp(2.3rem, 4.9vw, 4.4rem); }
.account-title p,
.account-team p { color: var(--account-copy); max-width: 54ch; margin-top: .6rem; }
.pcw-account label {
  display: block;
  color: #f5f9f2;
  font: 700 1.18rem/1.2 PCWCondensed, Arial, sans-serif;
  margin-bottom: .35rem;
}
.pcw-account label span {
  margin-left: .35em;
  font: 400 .85rem/1.2 Arial, sans-serif;
  color: #c4d4bf;
}
.pcw-account :is(input, textarea, select) {
  width: 100%;
  color: #f8faf6;
  background: #111b13a8;
  border: 0;
  border-bottom: 2px solid #759b5f;
  border-radius: 0;
  padding: .65rem .58rem;
  font: inherit;
  min-height: 44px;
}
.pcw-account :is(input, textarea) { margin-bottom: 1rem; }
.pcw-account textarea { display: block; resize: vertical; }
.account-form-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .65rem 1.15rem;
}
.account-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--account-lime);
  color: #11170b;
  min-height: 44px;
  padding: .6rem 1.2rem;
  border: 0;
  border-radius: 0;
  clip-path: polygon(.4rem 0, 100% 0, calc(100% - .4rem) 100%, 0 100%);
  font: italic 800 1.08rem/1.2 var(--account-title);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.account-cta:is(:hover,:focus-visible) { background: #c8ff8d; }
.account-cta:focus-visible { text-decoration: underline; text-underline-offset: .2em; }
.account-cta:disabled { opacity: .6; cursor: wait; }
.account-member {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr);
  align-items: baseline;
  gap: .75rem 1.7rem;
  padding: 1.15rem 0;
  border-top: 1px solid #536c4b;
}
.account-member h3 { font-size: clamp(1.45rem, 2vw, 2rem); }
.account-member p { margin-top: .28rem; overflow-wrap: anywhere; }
.account-member-controls {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: .65rem 1rem;
}
.account-member-controls > div { flex: 1 1 13rem; min-width: 0; }
#member-list { margin-top: 1.25rem; }
#profile-status { color: #e8f4dd; }
.pcw-account :is(#account-status, #profile-status, #role-status)[data-error] { color: #ffb4af; }
@media (max-width: 660px) {
  .account-editor,
  .account-member { grid-template-columns: 1fr; }
  .account-hero { min-height: 12rem; }
}

.account-mode-links { margin-top: .5rem; }
button.account-text-link {
  padding: 0;
  background: none;
  border: 0;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
button.account-text-link:disabled { opacity: .6; cursor: wait; }
.account-form-status { margin-top: 1rem; }
.account-field-note { color: var(--account-copy); font-size: .9rem; margin: -.55rem 0 1rem; }
.account-recovery {
  background: linear-gradient(90deg, #111a10f5, #0d160ed9), url(../assets/ring.webp) center / cover no-repeat;
  border-top: 1px solid #678858;
  padding-block: clamp(1.5rem, 4vw, 3rem);
}
.account-recovery h2 { font-size: clamp(1.8rem, 3.5vw, 3.2rem); }
.account-recovery output {
  display: block;
  width: fit-content;
  max-width: 100%;
  padding: .65rem 0;
  color: #c6ff8e;
  font: 700 clamp(.92rem, 2.6vw, 1.4rem)/1.4 monospace;
  word-break: break-word;
  user-select: all;
}
.account-member .email-verification {
  color: #ced9ca;
  font-size: .88rem;
}
.pcw-account :is(#access-status, #recovery-status, #verification-status)[data-error] { color: #ffb4af; }

#account-entry {
  background: linear-gradient(90deg,#09100ef5 3%,#0c1310ae 36%,transparent 80%),
              linear-gradient(0deg,#0a0d0bc9,transparent 70%),
              url('/account/media/starter.webp') center 52% / cover no-repeat;
  align-items: end;
  padding-block: clamp(1.45rem,3.5vw,3.75rem);
}
#account-entry h1 { font-size: clamp(4.8rem,11vw,9rem); line-height: .87; }
#account-entry h1 span { color: var(--account-lime); }
#account-entry h1::after, #account-access h2::after { display: none; }
#account-entry p { max-width: 34ch; margin-block: .9rem .25rem; }
#account-access {
  color: #1b251d; color-scheme: light;
  background: linear-gradient(102deg,#f4efdfed,#e6e0d2ec),url('/assets/grain.webp') center / 24rem;
  border-bottom: .4rem solid #324625;
}
#account-access .account-editor { border-top: 4px double #66705e; padding-top: 1.3rem; }
#account-access .account-title { border-left: .35rem solid #53762f; padding-left: 1rem; }
#account-access h2, #account-access label { color: #15251a; }
#account-access .account-title p, #account-access .account-field-note { color: #354134; }
#account-access .account-text-link { color: #365912; }
#account-access input {
  color: #162218; background: #fffdf44f; border-bottom: 2px solid #6b7766; padding-inline: .5rem;
}
#account-access input:focus-visible { outline: 2px solid #315716; outline-offset: 2px; }
#account-access .account-cta { background: #253a20; color: #eaffbf; padding-inline: 1.5rem; }
#account-access .account-cta:hover { background: #374e2c; }
#account-access #access-status[data-error] { color: #982c25; }
#account-access #access-status:empty { display: none; }
@media (max-width: 660px) {
  #account-entry { min-height: 16rem; background-position: center, center, 70% 50%; }
  #account-entry p { max-width: 24ch; }
  #account-access { padding-block: 1.2rem 2rem; }
}
