/**
 * Coquille auth — wp-login.php, /creer-un-compte/, réutilisable ensuite.
 * S’appuie sur tokens.css (--an-*). Le CSS cœur login reste chargé.
 */
html:has(body.an-auth) {
  height: auto;
}

body.an-auth {
  --an-gold: #f6c945;
  height: auto;
  min-height: 100vh;
  overflow-x: clip;
  display: flex;
  flex-direction: column;
  margin: 0;
  background: var(--an-bg);
  color: var(--an-text);
  font-family: var(--an-font-body);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.an-auth,
body.an-auth *,
body.an-auth *::before,
body.an-auth *::after {
  box-sizing: border-box;
}

body.an-auth a {
  color: inherit;
  text-decoration: none;
}

body.an-auth .hd {
  height: 72px;
  background: rgba(13, 15, 18, 0.96);
  border-bottom: 1px solid var(--an-border-subtle);
  position: sticky;
  top: 0;
  z-index: 50;
}

body.an-auth .hd .w {
  max-width: 1328px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 16px;
}

body.an-auth .hd .an-header__logo,
body.an-auth .hd .an-header__logo img,
body.an-auth .hd img {
  height: 34px;
  width: auto;
  max-width: 168px;
  display: block;
}

body.an-auth .hd nav {
  margin-left: auto;
  display: flex;
  gap: 2px;
  font-size: 14px;
  color: var(--an-text-muted);
  min-width: 0;
}

body.an-auth .hd nav a {
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--an-text-muted);
  white-space: nowrap;
}

body.an-auth .hd nav a:hover,
body.an-auth .hd nav a:focus-visible {
  color: var(--an-text);
}

body.an-auth .hd .r {
  margin-left: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex: none;
}

body.an-auth .hd .lang {
  display: inline-flex;
  border: 1px solid var(--an-border);
  border-radius: 99px;
  padding: 3px;
  gap: 2px;
}

body.an-auth .hd .lang a {
  font: 700 11.5px/1 var(--an-font-body);
  padding: 6px 9px;
  border-radius: 99px;
  color: var(--an-text-muted);
}

body.an-auth .hd .lang a.on {
  background: #232a35;
  color: var(--an-text);
}

body.an-auth .hd .back {
  font: 600 13px var(--an-font-body);
  color: var(--an-text-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.an-auth .hd .back:hover {
  color: var(--an-text);
}

body.an-auth .ic {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

body.an-auth .auth {
  flex: 1 0 auto;
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
}

body.an-auth .auth::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 420px at 18% 10%, rgba(129, 215, 66, 0.1), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  pointer-events: none;
}

body.an-auth .auth .in-w {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 452px);
  gap: 72px;
  align-items: center;
}

body.an-auth .pitch .kick {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font: 700 12.5px/1 var(--an-font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--an-accent);
}

body.an-auth .pitch .kick .ic {
  width: 16px;
  height: 16px;
}

body.an-auth .pitch h2 {
  margin: 0;
  font: 800 52px/1.02 var(--an-font-display);
  letter-spacing: -0.015em;
  color: var(--an-text);
}

body.an-auth .pitch h2 em {
  font-style: normal;
  color: var(--an-accent);
}

body.an-auth .pitch .lead {
  color: var(--an-text-muted);
  font-size: 16px;
  margin: 14px 0 0;
  max-width: 480px;
}

body.an-auth .ben {
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

body.an-auth .ben li {
  list-style: none;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 14px;
  background: rgba(22, 26, 32, 0.7);
  border: 1px solid var(--an-border-subtle);
}

body.an-auth .ben .ib {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(129, 215, 66, 0.12);
  color: var(--an-accent);
}

body.an-auth .ben .ib.o {
  background: rgba(129, 215, 66, 0.13);
  color: #81d742;
}

body.an-auth .ben .ib.g {
  background: rgba(246, 201, 69, 0.13);
  color: var(--an-gold);
}

body.an-auth .ben .ib .ic {
  width: 20px;
  height: 20px;
}

body.an-auth .ben b {
  display: block;
  font: 700 15.5px/1.25 var(--an-font-display);
  color: var(--an-text);
}

body.an-auth .ben span {
  font-size: 13px;
  color: var(--an-text-subtle);
}

body.an-auth .live {
  margin-top: 22px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: var(--an-text-subtle);
}

body.an-auth .live b {
  color: var(--an-text);
  font: 800 15px var(--an-font-display);
  margin-right: 4px;
}

body.an-auth #login {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 30px;
  background: var(--an-bg-elevated);
  border: 1px solid var(--an-border);
  border-radius: 20px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.7);
  min-width: 0;
  position: relative;
}

body.an-auth #login .t {
  font: 800 28px/1.1 var(--an-font-display);
  color: var(--an-text);
  margin: 0;
}

body.an-auth #login .s {
  color: var(--an-text-subtle);
  font-size: 13.5px;
  margin: 6px 0 20px;
}

body.an-auth .message,
body.an-auth #login-message,
body.an-auth #login_error {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  margin: 0 0 18px;
  border-left: 0;
  box-shadow: none;
  word-wrap: break-word;
  float: none;
}

body.an-auth .message,
body.an-auth #login-message {
  background: rgba(129, 215, 66, 0.09);
  border: 1px solid rgba(129, 215, 66, 0.4);
  color: var(--an-text);
}

body.an-auth .message::before,
body.an-auth #login-message::before,
body.an-auth #login_error::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 1px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='m8 12 3 3 5-6'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='m8 12 3 3 5-6'/></svg>") center / contain no-repeat;
}

body.an-auth .message,
body.an-auth #login-message {
  color: var(--an-text);
}

body.an-auth .message::before,
body.an-auth #login-message::before {
  color: var(--an-accent);
}

body.login-action-checkemail.an-auth .message::before,
body.login-action-checkemail.an-auth #login-message::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='5' width='18' height='14' rx='2'/><path d='m3 7 9 6 9-6'/></svg>");
}

body.an-auth .message.an-claim-notice {
  background: rgba(246, 201, 69, 0.08);
  border-color: rgba(246, 201, 69, 0.45);
}

body.an-auth .message.an-claim-notice::before {
  content: none;
}

body.an-auth .message.an-claim-notice .ic {
  width: 20px;
  height: 20px;
  color: var(--an-gold);
}

body.an-auth .message strong,
body.an-auth #login-message strong,
body.an-auth #login_error strong {
  display: block;
  font: 700 14px var(--an-font-display);
}

body.an-auth #login_error {
  background: rgba(239, 68, 68, 0.09);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: var(--an-text);
}

body.an-auth #login_error::before {
  color: #f87171;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v6M12 16.5h.01'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='9'/><path d='M12 7v6M12 16.5h.01'/></svg>");
}

body.an-auth #login_error a {
  color: #fca5a5;
  text-decoration: underline;
}

body.an-auth #login .message p,
body.an-auth #login #login_error p,
body.an-auth #login #login-message p {
  margin: 0;
}

body.an-auth #login form,
body.an-auth #login .f {
  margin: 0;
}

body.an-auth #login .f {
  margin-bottom: 16px;
  min-width: 0;
}

body.an-auth #login form label,
body.an-auth #login .f label {
  display: block;
  font: 600 13px/1.3 var(--an-font-body);
  color: var(--an-text-muted);
  margin: 0 0 7px;
}

body.an-auth #login .input,
body.an-auth #login input.input,
body.an-auth #login input[type="text"],
body.an-auth #login input[type="email"],
body.an-auth #login input[type="password"] {
  height: 50px;
  min-height: 50px;
  width: 100%;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid var(--an-border);
  background: #0f1317;
  color: var(--an-text);
  font-family: var(--an-font-body);
  font-size: 14.5px;
  line-height: 1.3;
  padding: 0 14px;
  margin: 0;
  box-shadow: none;
}

body.an-auth #login input.password-input,
body.an-auth #login input[type="password"] {
  font-family: var(--an-font-body);
  padding-right: 46px;
}

body.an-auth #login .input:focus,
body.an-auth #login input.input:focus,
body.an-auth #login input[type="text"]:focus,
body.an-auth #login input[type="email"]:focus,
body.an-auth #login input[type="password"]:focus {
  border-color: rgba(129, 215, 66, 0.7);
  box-shadow: 0 0 0 3px rgba(129, 215, 66, 0.14);
  outline: none;
  color: var(--an-text);
}

body.an-auth #login .input.err,
body.an-auth #login input.err {
  border-color: rgba(239, 68, 68, 0.6);
}

body.an-auth .pw-field {
  position: relative;
}

body.an-auth .pw-toggle,
body.login.an-auth .wp-pwd .wp-hide-pw {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  padding: 0;
  width: 32px;
  height: 32px;
  min-height: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  box-shadow: none;
  color: var(--an-text-subtle);
  display: grid;
  place-items: center;
  cursor: pointer;
}

body.an-auth .pw-toggle .ic {
  width: 18px;
  height: 18px;
}

body.login.an-auth .wp-pwd {
  position: relative;
}

body.login.an-auth .wp-pwd .wp-hide-pw .dashicons {
  width: 18px;
  height: 18px;
  font-size: 18px;
  top: 0;
  color: var(--an-text-subtle);
}

body.an-auth .row,
body.login.an-auth #loginform {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 12px;
  align-items: center;
}

body.login.an-auth #loginform > p,
body.login.an-auth #loginform > .user-pass-wrap,
body.login.an-auth #loginform > .submit {
  grid-column: 1 / -1;
  margin: 0 0 16px;
  padding: 0;
  float: none;
}

body.login.an-auth #loginform > .forgetmenot {
  grid-column: 1;
  grid-row: 3;
  margin: -2px 0 20px;
  float: none;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: var(--an-text-muted);
  font-weight: 400;
}

body.login.an-auth #loginform > .an-auth-lost {
  grid-column: 2;
  grid-row: 3;
  justify-self: end;
  margin: -2px 0 20px;
}

body.login.an-auth .forgetmenot input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--an-accent);
  background: #0f1317;
}

body.login.an-auth .forgetmenot label {
  display: inline;
  margin: 0;
  font: 400 13px/1.4 var(--an-font-body);
  color: var(--an-text-muted);
}

body.an-auth .lk {
  color: var(--an-accent);
  font-weight: 600;
  font-size: 13px;
}

body.an-auth .lk:hover {
  color: var(--an-accent-hover);
}

body.an-auth .button-primary,
body.login.wp-core-ui.an-auth #login .button-primary,
body.login.wp-core-ui.an-auth #login #wp-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 52px;
  min-height: 52px;
  line-height: 1.2;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: var(--an-accent);
  color: #0d0f12;
  font-family: var(--an-font-body);
  font-weight: 800;
  font-size: 15.5px;
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  float: none;
  cursor: pointer;
}

body.an-auth .button-primary:hover,
body.an-auth .button-primary:focus,
body.login.wp-core-ui.an-auth #login .button-primary:hover,
body.login.wp-core-ui.an-auth #login .button-primary:focus,
body.login.wp-core-ui.an-auth #login #wp-submit:hover,
body.login.wp-core-ui.an-auth #login #wp-submit:focus {
  background: var(--an-accent-hover);
  color: #0d0f12;
  border: 0;
  box-shadow: none;
}

body.an-auth .button-secondary,
body.login.wp-core-ui.an-auth #login #nav .button-secondary,
body.login.wp-core-ui.an-auth #login .wp-generate-pw {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--an-border);
  background: transparent;
  color: var(--an-text);
  font: 700 14px/1 var(--an-font-body);
  text-decoration: none;
  text-shadow: none;
  box-shadow: none;
  float: none;
  cursor: pointer;
}

body.an-auth .button-secondary:hover,
body.login.wp-core-ui.an-auth #login .wp-generate-pw:hover,
body.login.wp-core-ui.an-auth #login .wp-generate-pw:focus {
  background: #232a35;
  color: var(--an-text);
  border-color: var(--an-border);
}

body.an-auth .or {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--an-text-subtle);
  font-size: 12.5px;
  margin: 22px 0 14px;
  width: 100%;
}

body.an-auth .or::before,
body.an-auth .or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--an-border-subtle);
}

body.an-auth .fine {
  margin-top: 18px;
  font-size: 12px;
  color: var(--an-text-subtle);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

body.an-auth .fine .ic {
  width: 14px;
  height: 14px;
}

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

body.an-auth .hint,
body.login.an-auth #login .indicator-hint,
body.login.an-auth #login #pass-strength-result + .indicator-hint {
  font-size: 12px;
  color: var(--an-text-subtle);
  margin: 6px 0 0;
}

body.an-auth .pw2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

body.an-auth .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

body.an-auth .aft {
  position: relative;
  border-top: 1px solid var(--an-border-subtle);
  padding: 20px 24px;
  color: var(--an-text-subtle);
  font-size: 12.5px;
}

body.an-auth .aft .w {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

body.an-auth .aft a {
  margin-left: 14px;
  color: var(--an-text-subtle);
}

body.an-auth .aft a:first-child {
  margin-left: 0;
}

body.an-auth .aft a:hover {
  color: var(--an-text);
}

/* wp-login.php : le formulaire cœur reste, on écrase le gris WordPress. */
body.login.an-auth {
  height: auto;
  min-height: 100vh;
  overflow-x: clip;
  background: var(--an-bg);
  color: var(--an-text);
  font-family: var(--an-font-body);
  min-width: 0;
}

body.login.an-auth .wp-tooltip__toggle,
body.login.an-auth .wp-tooltip__bubble {
  display: none !important;
}

body.login.an-auth h1.screen-reader-text,
body.login.an-auth #login > h1.wp-login-logo {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

body.login.an-auth #login {
  display: flex;
  flex-direction: column;
}

body.login.an-auth #login > .an-auth-head { order: 0; }
body.login.an-auth #login > .notice,
body.login.an-auth #login > .message,
body.login.an-auth #login > #login_error,
body.login.an-auth #login > #login-message,
body.login.an-auth #login > .an-claim-notice { order: 1; }
body.login.an-auth #login > .an-auth-back { order: 2; }
body.login.an-auth #login > form { order: 3; }
body.login.an-auth #login > #nav { order: 4; }
body.login.an-auth #login > #backtoblog,
body.login.an-auth #login > .privacy-policy-page-link { order: 6; }

body.login.an-auth #backtoblog,
body.login.an-auth .privacy-policy-page-link,
body.login.an-auth .language-switcher {
  display: none;
}

body.login.an-auth #login form {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  font-weight: 400;
}

body.login.an-auth #login form p {
  margin-bottom: 0;
}

body.login.an-auth #login .user-pass-wrap,
body.login.an-auth #lostpasswordform > p,
body.login.an-auth #resetpassform .user-pass1-wrap {
  margin: 0 0 16px;
}

body.login.an-auth #lostpasswordform .submit {
  margin-top: 4px;
}

body.login.an-auth #login #nav {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0;
  font-size: inherit;
}

body.login.an-auth.login-action-lostpassword #nav,
body.login.an-auth.login-action-retrievepassword #nav,
body.login.an-auth.login-action-rp #nav,
body.login.an-auth.login-action-resetpass #nav {
  margin-top: 20px;
  align-items: center;
}

body.login.an-auth.login-action-lostpassword #nav a,
body.login.an-auth.login-action-retrievepassword #nav a,
body.login.an-auth.login-action-rp #nav a,
body.login.an-auth.login-action-resetpass #nav a {
  color: var(--an-accent);
  font-weight: 600;
  text-decoration: none;
}

body.login.an-auth #pass-strength-result {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0 0;
  padding: 0;
  width: auto;
  background: transparent;
  border: 0;
  box-shadow: none;
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  color: var(--an-accent);
  float: none;
}

body.login.an-auth #pass-strength-result::before {
  content: "";
  flex: 1;
  height: 4px;
  border-radius: 9px;
  background:
    linear-gradient(var(--an-accent), var(--an-accent)) 0 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 33.33% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 66.66% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 100% 0 / calc(25% - 5px) 100% no-repeat;
  -webkit-mask: none;
  mask: none;
}

body.login.an-auth #pass-strength-result.short::before,
body.login.an-auth #pass-strength-result.bad::before {
  background:
    linear-gradient(#f87171, #f87171) 0 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#f87171, #f87171) 33.33% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 66.66% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 100% 0 / calc(25% - 5px) 100% no-repeat;
}

body.login.an-auth #pass-strength-result.short::before {
  background:
    linear-gradient(#f87171, #f87171) 0 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 33.33% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 66.66% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 100% 0 / calc(25% - 5px) 100% no-repeat;
}

body.login.an-auth #pass-strength-result.good::before {
  background:
    linear-gradient(var(--an-accent), var(--an-accent)) 0 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(var(--an-accent), var(--an-accent)) 33.33% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(var(--an-accent), var(--an-accent)) 66.66% 0 / calc(25% - 5px) 100% no-repeat,
    linear-gradient(#2a3140, #2a3140) 100% 0 / calc(25% - 5px) 100% no-repeat;
}

body.login.an-auth #pass-strength-result.short,
body.login.an-auth #pass-strength-result.bad {
  color: #f87171;
}

body.login.an-auth .reset-pass-submit {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin: 18px 0 0;
}

body.login.an-auth .reset-pass-submit .wp-generate-pw {
  width: auto;
  height: 52px;
  min-height: 52px;
  padding: 0 16px;
}

body.login.an-auth .reset-pass-submit #wp-submit {
  width: 100%;
}

body.login.an-auth .pw-weak {
  margin: 8px 0 0;
  color: var(--an-text-muted);
  font-size: 13px;
}

body.login.an-auth .user-pass2-wrap {
  margin-top: 16px;
}

body.login.an-auth .an-auth-back {
  margin-top: 20px;
}

body.login.an-auth .an-auth-back a {
  text-decoration: none;
  color: var(--an-accent);
}

@media (max-width: 700px) {
  body.an-auth .hd {
    height: 64px;
  }

  body.an-auth .hd .w {
    height: 64px;
    padding: 0 16px;
  }

  body.an-auth .hd nav {
    display: none;
  }

  body.an-auth .hd .r {
    margin-left: auto;
  }

  body.an-auth .hd .lang a {
    padding: 6px 8px;
  }

  body.an-auth .hd .back span {
    display: none;
  }

  body.an-auth .hd .an-header__logo img,
  body.an-auth .hd img {
    height: 30px;
  }

  body.an-auth .auth .in-w {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 18px 16px 36px;
  }

  body.an-auth .pitch {
    order: 2;
  }

  body.an-auth .pitch h2 {
    font-size: 30px;
  }

  body.an-auth .pitch .lead {
    font-size: 14.5px;
    margin-top: 8px;
  }

  body.an-auth .pitch .kick {
    margin-bottom: 8px;
  }

  body.an-auth .ben {
    margin-top: 16px;
    gap: 8px;
  }

  body.an-auth .ben li {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 12px;
    gap: 12px;
  }

  body.an-auth .ben .ib {
    width: 38px;
    height: 38px;
  }

  body.an-auth #login {
    padding: 20px 18px;
    border-radius: 18px;
    order: 1;
  }

  body.an-auth #login .t {
    font-size: 25px;
  }

  body.an-auth #login .s {
    margin-bottom: 16px;
  }

  body.an-auth .pw2 {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }

  body.an-auth .live span:first-child {
    flex-basis: 100%;
  }

  body.an-auth .aft .w {
    flex-direction: column;
    gap: 8px;
  }

  body.an-auth .button-primary,
  body.login.wp-core-ui.an-auth #login #wp-submit {
    font-size: 15px;
  }
}

body.an-auth-b {
  background: #0d0f12;
}

body.an-auth-b #login {
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body.an-auth-b #login > h1,
body.an-auth-b .wp-login-logo,
body.an-auth-b #backtoblog,
body.an-auth-b #nav,
body.an-auth-b .privacy-policy-page-link {
  display: none;
}

body.an-auth-b .an-auth-head .t,
body.an-auth-b #login .t {
  font: 800 28px/1.1 var(--an-font-display, inherit);
}

body.an-auth-b .message.an-claim-notice {
  display: block;
}

body.an-auth-b .message.an-claim-notice > .ic {
  float: left;
  margin: 2px 10px 0 0;
}

body.an-auth-b .message.an-claim-notice .steps3 {
  clear: both;
}

body.an-auth-b .authB .card > .bk {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: var(--mu, #9aa3af);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  text-decoration: none;
}

body.an-auth-b #login .button-secondary {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #81d742;
  font-weight: 700;
  box-shadow: none;
}

body.an-auth-b #login .or {
  display: block;
  text-align: center;
  margin: 16px 0 0;
  color: #9aa3af;
  font-size: 13.5px;
}

body.an-auth-b #login .or::before,
body.an-auth-b #login .or::after {
  content: none;
}

body.an-auth-b #login .fine {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
  color: #6b7280;
  font-size: 12px;
}

@media (max-width: 640px) {
  body.an-auth-b #login {
    padding: 0;
  }

  body.an-auth-b .an-auth-head .t,
  body.an-auth-b #login .t {
    font-size: 25px;
  }
}
