/* One explicit public identity, in the same mint/navy account family. */
html body .public-username-field,
html body #accountUsernamePanel {
  box-sizing: border-box;
  min-width: 0;
}
html body .public-username-field {
  display: grid;
  gap: 6px;
}
html body .public-username-field > label,
html body #accountUsernameEditor > label {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px !important;
  align-items: baseline;
  margin: 0;
  color: #174453;
  font-size: .8rem;
  line-height: 1.4;
  font-weight: 750;
}
html body .public-username-field > label > small {
  color: #58777c;
  font-size: .72rem;
  font-weight: 500;
}
html body .public-username-input {
  display: flex;
  min-width: 0;
  min-height: 48px;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #bed4d5;
  border-radius: 15px;
  color: #174453;
  background: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9);
}
html body .public-username-input:focus-within {
  border-color: #188d7c;
  box-shadow: 0 0 0 3px rgba(39, 160, 137, .12);
}
html body .public-username-input > span {
  display: grid;
  width: 40px;
  flex: 0 0 40px;
  place-items: center;
  color: #288376;
  font-size: 1.1rem;
  font-weight: 700;
  background: #f0faf6;
}
html body .auth-card .public-username-input input,
html body #accountUsernamePanel .public-username-input input {
  box-sizing: border-box !important;
  flex: 1 1 0 !important;
  width: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  height: auto !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 11px 13px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #174453 !important;
  background: transparent !important;
  box-shadow: none !important;
  font: inherit !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
  text-align: left !important;
}
html body .public-username-input input:focus { outline: 0 !important; }
html body .public-username-input input::placeholder { color: #71868d !important; opacity: 1; }
html body .public-username-field > small,
html body .public-username-status,
html body .public-username-preview {
  min-width: 0;
  margin: 0;
  color: #53727a;
  font-size: .72rem;
  font-weight: 450;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body .public-username-status {
  min-height: 1.5em;
  padding-left: 1px;
}
html body .public-username-status[data-state="available"],
html body .public-username-status[data-state="saved"] { color: #197368; }
html body .public-username-status[data-state="checking"] { color: #53727a; }
html body .public-username-status[data-state="invalid"],
html body .public-username-status[data-state="taken"],
html body .public-username-status[data-state="error"] { color: #99494c; }
html body .public-username-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 7px;
  align-items: baseline;
  padding: 8px 10px;
  border: 1px solid #d6e8e3;
  border-radius: 11px;
  background: #eff9f4;
}
html body .public-username-preview strong {
  color: #1d695f;
  font-size: inherit;
  font-weight: 750;
  overflow-wrap: anywhere;
}
html body .public-username-preview[hidden],
html body #accountUsernamePanel[hidden],
html body #accountUsernameCurrent[hidden],
html body #accountUsernameEditor[hidden] { display: none !important; }
html body #accountUsernameBadge[hidden],
html body #accountUsernameSavedStatus[hidden] { display: none !important; }
html body #accountUsernamePanel {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 4px 0 8px;
  padding: 20px 18px;
  border: 1px solid #365f70;
  border-radius: 18px;
  color: #f6fcff;
  background: #0a2e46;
  text-align: center;
}
html body #accountUsernamePanel .public-username-account-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  justify-items: center;
  min-width: 0;
}
html body #accountUsernamePanel .public-username-account-heading > span:first-child {
  display: grid;
  box-sizing: border-box;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid #477e79;
  border-radius: 15px;
  color: #a8ebdb;
  background: #153f4e;
  font-size: 1.25rem;
  font-weight: 750;
}
html body #accountUsernamePanel .public-username-account-heading > div { min-width: 0; width: 100%; }
html body #accountUsernamePanel .public-username-account-heading strong {
  display: block;
  color: #f6fcff;
  font-size: 1rem;
  font-weight: 750;
  line-height: 1.35;
  letter-spacing: -.01em;
  overflow-wrap: anywhere;
}
html body #accountUsernamePanel .public-username-account-heading p {
  margin: 3px 0 0;
  color: #c1d6df;
  font-size: .75rem;
  line-height: 1.5;
  font-weight: 450;
}
html body #accountUsernamePanel .public-username-eyebrow {
  display: block;
  margin: 0 0 3px;
  color: #92dfcc;
  font-size: .66rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
html body #accountUsernamePanel .public-username-account-badge {
  display: inline-flex;
  justify-self: center;
  justify-content: center;
  align-items: center;
  gap: 5px;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid #477e79;
  border-radius: 999px;
  color: #b5f1e0;
  background: #153f4e;
  font-size: .69rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
html body #accountUsernamePanel .public-username-account-badge::before {
  content: "\2713";
  font-size: .8rem;
  line-height: 1;
}
html body #accountUsernamePanel .public-username-account-privacy {
  width: 100%;
  max-width: 46ch;
  margin: 0 auto;
  color: #c4d8e3;
  font-size: .75rem;
  font-weight: 450;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
html body #accountUsernameCurrent {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  gap: 9px;
  min-width: 0;
  padding: 16px 14px;
  border: 1px solid #386071;
  border-radius: 14px;
  color: #b5f1e0;
  background: #103b50;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.015em;
  overflow-wrap: anywhere;
}
html body #accountUsernameCurrent > strong {
  display: block;
  min-width: 0;
  max-width: 100%;
  color: inherit;
  font: inherit;
  text-align: center;
  overflow-wrap: anywhere;
}
html body #accountUsernameCurrentNote,
html body #accountUsernameHint {
  margin: 0;
  color: #c1d6df;
  font-size: .72rem;
  font-weight: 450;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
html body #accountUsernameCurrentNote { max-width: 38ch; letter-spacing: normal; }
html body #accountUsernameEditor {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding-top: 1px;
}
html body #accountUsernameEditor > label { justify-content: center; color: #ebf7fa; font-size: .8rem; }
html body #accountUsernamePanel .public-username-input {
  border-color: #bed9d7;
  border-radius: 14px;
  background: #f8fffc;
  box-shadow: none;
}
html body #accountUsernamePanel .public-username-input > span {
  width: 44px;
  flex-basis: 44px;
  color: #246d63;
  background: #e5f5ee;
  border-right: 1px solid #d5e8e1;
}
html body #accountUsernamePanel .public-username-input input { font-size: max(16px, 1rem) !important; }
html body #accountUsernamePanel .public-username-input:focus-within {
  border-color: #a8ebdb;
  box-shadow: 0 0 0 3px rgba(168, 235, 219, .2);
}
html body #accountUsernamePanel .public-username-input:has(input:disabled) { background: #eaf3f0; }
html body #accountUsernamePanel .public-username-status {
  min-height: 1.5em;
  margin: 2px 0;
  padding: 6px 9px;
  border: 1px solid #365f70;
  border-radius: 10px;
  color: #c1d6df;
  font-size: .75rem;
}
html body #accountUsernamePanel .public-username-status[data-state="available"],
html body #accountUsernamePanel .public-username-status[data-state="saved"] { color: #a9edd9; border-color: #75d9c3; }
html body #accountUsernamePanel .public-username-status[data-state="invalid"],
html body #accountUsernamePanel .public-username-status[data-state="taken"],
html body #accountUsernamePanel .public-username-status[data-state="error"] { color: #ffb9b1; border-color: #ffb9b1; }
html body #accountUsernamePanel .public-username-preview {
  justify-content: center;
  gap: 4px 8px;
  padding: 10px 12px;
  color: #c1d6df;
  border-color: #365f70;
  border-radius: 12px;
  background: #0c354a;
  font-size: .72rem;
}
html body #accountUsernamePanel .public-username-preview strong { color: #b5f1e0; font-size: .84rem; }
html body #accountUsernamePanel .public-username-account-policy {
  margin: 0;
  padding-top: 10px;
  border-top: 1px solid #365769;
  color: #c1d6df;
  font-size: .72rem;
  font-weight: 450;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
/* Successful claims announce once; the visible Saved badge remains the quiet confirmation. */
html body #accountUsernameSavedStatus {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
html body #accountUsernameSave {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  min-height: 48px;
  margin: 3px 0 0;
  padding: 12px;
  border: 1px solid #75d9c3;
  border-radius: 13px;
  color: #00243f;
  background: #75d9c3;
  box-shadow: none;
  font: inherit;
  font-size: .875rem;
  font-weight: 750;
  line-height: 1.4;
  white-space: normal;
  cursor: pointer;
}
html body #accountUsernameSave:disabled { opacity: .5; cursor: default; }
html body #accountUsernameSave:focus-visible { outline: 2px solid #e5fff6; outline-offset: 3px; }
html body main.app-shell #accountMenu #accountUsernameSave:focus-visible {
  outline: 2px solid #073b4c !important;
  outline-offset: -4px !important;
}
@media (orientation: landscape) and (max-height: 520px) {
  html body #accountUsernamePanel { padding: 14px 16px; gap: 10px; }
  html body #accountUsernamePanel .public-username-account-heading { gap: 7px; }
  html body #accountUsernamePanel .public-username-account-heading > span:first-child { width: 36px; height: 36px; border-radius: 12px; }
  html body #accountUsernameCurrent { padding: 12px 14px; gap: 7px; }
}
@media (forced-colors: active) {
  html body #accountUsernamePanel .public-username-input:focus-within { outline: 2px solid Highlight; outline-offset: 2px; }
  html body #accountUsernameSave:disabled { opacity: 1; color: GrayText; border-color: GrayText; }
}
