/* _auth.html: the rules that were its <style> block (#753). Linked from the page's head, after app.css and the skin, so the cascade is the one the block had. */
  .page:has(.auth) { max-width: none; padding: 0; gap: 0; min-height: 100vh; min-height: 100dvh; }
  .auth { min-height: 100vh; min-height: 100dvh; box-sizing: border-box; display: flex; flex-direction: column; align-items: center;
          padding: 0 20px; color: var(--ink);
          background: var(--front-art), radial-gradient(720px 360px at 50% -10%, var(--accent-tint), transparent 70%); }
  .auth-top { width: 100%; max-width: 1120px; display: flex; align-items: center; justify-content: space-between; padding: 18px 4px; }
  .auth-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 700; font-size: 16px; color: var(--ink); text-decoration: none; }
  .auth-mark { width: 48px; height: 34px; color: var(--accent); display: flex; flex: 0 0 auto; }
  .auth-lang { background: none; border: 0; color: var(--ink-2); font: inherit; font-size: 14px; cursor: pointer; padding: 8px 10px; min-height: 40px; border-radius: 8px; }
  .auth-lang:hover { background: var(--surface-2); color: var(--ink); }

  .auth-card { width: 100%; max-width: 420px; box-sizing: border-box; margin: 6vh 0 auto; padding: 32px 32px 28px;
               background: var(--surface); border: 1px solid var(--edge); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow); }
  .auth-eyebrow { font-family: var(--font-head); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }
  :root .auth-card h1 { font-size: 28px; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 8px; }
  .auth-sub { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }
  .auth-sub strong { color: var(--ink); }

  .auth-msg { margin: 0 0 18px; padding: 10px 14px; border-radius: 10px; font-size: 14px; line-height: 1.5; border: 1px solid transparent; }
  .auth-msg.bad { background: var(--critical-tint); color: var(--critical); border-color: color-mix(in srgb, var(--critical) 30%, transparent); }
  .auth-msg.good { background: var(--good-tint); color: var(--good); border-color: color-mix(in srgb, var(--good) 30%, transparent); }

  .auth-form { display: flex; flex-direction: column; gap: 16px; }
  .auth-form label { gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
  .auth-form .lbl { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .auth-form .lbl a { font-weight: 500; font-size: 13px; color: var(--accent); text-decoration: none; padding: 8px 0; margin: -8px 0; }
  .auth-form .lbl a:hover { text-decoration: underline; }
  .auth-form label .hint-text { font-weight: 400; color: var(--ink-3); }
  .auth-form input:not([type=checkbox]) { width: 100%; box-sizing: border-box; font-size: 16px; padding: 12px 14px; border-radius: 10px; }
  .auth-form input[readonly] { color: var(--ink-2); background: var(--surface-2); }
  .auth-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
  .auth-form input.code { font-family: var(--font-num); font-size: 22px; letter-spacing: .18em; text-align: center; }
  .auth-form .check-row { font-size: 14px; font-weight: 500; max-width: none; align-items: center; }
  .auth-form .check-row { min-height: 36px; }
  .auth-form .check-row input[type=checkbox] { width: 20px; height: 20px; margin: 0; accent-color: var(--accent); }
  .auth-form button { width: 100%; min-height: 48px; font-size: 16px; border-radius: 12px; margin-top: 4px;
                      box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--accent) 70%, transparent); }

  /* signup.html (#1121): the email as a line under the heading, «Vis» inside the password's field, a note under each way */
  .auth-form input.auth-email { border: 0; background: none; padding: 0; margin: 0 0 2px; font-size: 15px; color: var(--ink-2); border-radius: 0; }
  .auth-form input.auth-email:focus-visible { outline: none; }
  .auth-pw { position: relative; }
  .auth-form .auth-pw input:not([type=checkbox]) { padding-right: 72px; }  /* room for «Vis», over the fields' padding above (#1163) */
  .auth-form .auth-show { position: absolute; right: 4px; bottom: 4px; width: auto; min-height: 40px; margin: 0; padding: 0 12px;
                          font-size: 14px; background: none; color: var(--accent); border: 0; box-shadow: none; }
  .auth-form .auth-show:hover { background: var(--surface-2); }
  .auth-form .auth-second { background: none; color: var(--accent); border: 1px solid var(--accent); box-shadow: none; }
  .auth-way-note { margin: -10px 0 0; text-align: center; font-size: 13px; color: var(--ink-3); }
  .auth-card .gs-film { margin-top: 14px; }

  .auth-links { margin: 18px 0 0; font-size: 14px; color: var(--ink-2); text-align: center; }
  .auth-links a { color: var(--accent); font-weight: 600; text-decoration: none; }
  .auth-links a:hover { text-decoration: underline; }
  .auth-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--ink-3); }
  .auth-note a { color: var(--ink-2); }

  .auth-foot { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; align-items: center; padding: 20px 0 16px; font-size: 13px; color: var(--ink-3); }
  .auth-foot a { color: var(--ink-3); text-decoration: none; padding: 10px 6px; }
  .auth-foot a:hover { color: var(--ink); }

  @media (max-width: 620px) {
    body:has(.auth) { padding-bottom: 0; }  /* no phone bar here to leave room for */
    .auth { padding: 0 16px; background: var(--front-art); }
    .auth-top { padding: 12px 0; }
    .auth-card { margin-top: 10px; padding: 24px 20px 22px; }
    :root .auth-card h1 { font-size: 26px; }
    .auth-foot { padding: 14px 0 10px; }
  }
