/* ==========================================================================
   ELITE TRIP: THE ACCOUNT PAGES
   Sign in, create account, password reset, your emails and the creator
   sign-in. A calm sand page, the mark, one large headline, one line, then
   a single white card holding the form, and the way out beneath it.
   Motion is Elite's own (motion.css): sheets Unfold, steps cross-fade
   under the Flight Path, busy buttons show Beads. Nothing scales.

   Only layout and the few pieces these forms own live here; every colour,
   radius, shadow and curve comes from the tokens in elite.css. Classes the
   inline scripts write (modal-*, acct-status, cs-option, is-shown,
   reg-step, active, selected, valid, show) are styled here by those names.
   ========================================================================== */

/* --- the page and its single column ------------------------------------------ */
.au-page {
    display: flex; flex-direction: column; align-items: center;
    min-height: calc(100vh - var(--nav-h));
    min-height: calc(100dvh - var(--nav-h));
    padding: clamp(44px, 7vw, 96px) var(--pad) clamp(56px, 7vw, 96px);
    background: var(--c-bg);
}
.au-col { width: 100%; max-width: 480px; margin-inline: auto; text-align: center; }
.au-col--wide { max-width: 600px; }

/* The lockup: the official mark (navy square, white arc, gold dot) above
   the name in the site face, the same brand as the header (2026-10-31). */
.au-mark { display: block; width: 56px; height: 56px; margin: 0 auto 12px; border-radius: 14px; box-shadow: 0 8px 20px -10px rgba(15, 26, 44, 0.45); }
.au-brand {
    margin: 0;
    font-family: var(--f-sans); font-size: 1.25rem; font-weight: 800; line-height: 1.1; letter-spacing: -0.02em;
    color: var(--c-ink);
}
.au-brand span {
    display: block; margin-top: 4px;
    font-size: 0.85rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--c-muted);
}
.au-brand a { color: inherit; text-decoration: none; }

/* The headline block. */
.au-kicker { margin: 28px 0 0; font-size: var(--t-lead); font-weight: 600; letter-spacing: 0.011em; color: var(--c-bronze); }
.au-title {
    margin-top: 28px;
    font-size: clamp(2rem, 3.6vw, 2.75rem); font-weight: 600; line-height: 1.08; letter-spacing: -0.015em;
    color: var(--c-ink);
}
.au-title span { font: inherit; letter-spacing: inherit; color: inherit; }
.au-kicker + .au-title { margin-top: 8px; }
.au-lead {
    max-width: 40ch; margin: 14px auto 0;
    font-size: var(--t-lead); line-height: 1.38; letter-spacing: 0.011em; color: var(--c-muted);
}

/* The card: one white surface. */
.au-card {
    position: relative; margin-top: clamp(28px, 4vw, 40px);
    padding: clamp(26px, 4vw, 44px);
    background: var(--c-bg); border: 1px solid var(--c-line); border-radius: var(--r-xl);
    box-shadow: var(--sh-3);
    text-align: left;
}
.au-card__head { margin-bottom: 24px; }
.au-card__head h2 { font-size: 1.5rem; line-height: 1.17; letter-spacing: 0.009em; }
.au-card__head p { margin-top: 6px; font-size: var(--t-small); color: var(--c-muted); }

/* The form inside it. */
.au-form { display: grid; gap: 20px; }
.au-form .et-input { font-size: var(--t-body); }

/* A password field with its show/hide control inside the right edge. */
.au-pw { position: relative; }
.au-pw .et-input, .au-pw .reg-input { padding-right: 54px; }
.au-eye, .reg-toggle-pw {
    position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
    display: grid; place-items: center; width: 44px; height: 44px;
    border: 0; border-radius: 50%; background: transparent; color: var(--c-muted);
    font-size: 0.95rem; cursor: pointer;
    transition: color 200ms var(--ease), background-color 200ms var(--ease);
}
.au-eye:hover, .reg-toggle-pw:hover { color: var(--c-ink); background: var(--c-bg-alt); }
.au-eye .et-i, .reg-toggle-pw .et-i { font-size: 1.1rem; }
/* While the password is visible the eye is crossed by a hairline: the
   button always shows what a tap will do next. */
.au-eye.is-shown, .reg-toggle-pw.is-shown { color: var(--c-ink); }
.au-eye.is-shown::after, .reg-toggle-pw.is-shown::after {
    content: ""; position: absolute; top: 50%; left: 50%; width: 20px; height: 1.5px;
    background: currentColor; transform: translate(-50%, -50%) rotate(-40deg); pointer-events: none;
}
.au-eye:focus-visible, .reg-toggle-pw:focus-visible { outline: none; box-shadow: var(--ring); }

.au-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; }
.au-row .et-check { align-items: center; color: var(--c-ink); }
.au-quiet-link { font-size: var(--t-small); color: var(--c-link); }

/* "or continue with", between two hairlines. */
.au-or { display: flex; align-items: center; gap: 14px; font-size: var(--t-micro); color: var(--c-muted); }
.au-or::before, .au-or::after { content: ""; flex: 1 1 0; height: 1px; background: var(--c-line); }

/* Continue with Google: a quiet white pill with the real Google colours. */
.au-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 12px 22px;
    border: 1px solid var(--c-line-2); border-radius: var(--r-pill);
    background: var(--c-bg); color: var(--c-ink);
    font-size: var(--t-body); font-weight: 500; text-decoration: none;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.au-google:hover { border-color: var(--c-ink); color: var(--c-ink); text-decoration: none; }
.au-google svg { flex: 0 0 auto; }

/* The way out beneath the card. */
.au-switch { margin-top: 28px; font-size: var(--t-body); color: var(--c-muted); }
.au-switch a { color: var(--c-link); }
.au-foot {
    margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--c-line);
    font-size: var(--t-small); line-height: 1.5; color: var(--c-muted);
}
.au-foot a { color: var(--c-link); }
.au-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 24px; }
.au-links .ap-link { font-size: var(--t-small); }

/* How every booking works: three honest facts, never figures. On a phone
   they become one sideways swipe row of small cards. */
.au-facts {
    position: relative;
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
    width: 100%; max-width: 860px; margin: clamp(48px, 6vw, 72px) auto 0; padding: 0;
    list-style: none; text-align: left;
}
.au-facts li { display: flex; align-items: flex-start; gap: 14px; font-size: var(--t-small); line-height: 1.43; color: var(--c-muted); }
.au-facts li > .et-i { flex: none; margin-top: 2px; font-size: 1.35rem; color: var(--c-bronze); }
.au-facts b { display: block; margin-bottom: 2px; font-size: var(--t-body); font-weight: 600; color: var(--c-ink); }

.au-reassure { margin-top: 18px; font-size: var(--t-small); color: var(--c-muted); }

/* Notices inside the card. */
.au-card .et-note { margin-bottom: 20px; }
.au-error { display: none; margin: 2px 0 0; font-size: 0.8125rem; color: var(--c-danger); }

/* --- primary buttons the scripts read by class ------------------------------- */
.login-btn, .acct-btn, .reg-btn-primary { width: 100%; }
.au-card .et-btn--lg { min-height: 52px; }

/* Busy buttons show Beads (motion.css). On a gold button they are ink. */
.login-btn .et-beads, .acct-btn .et-beads, .reg-btn .et-beads { margin-right: 6px; color: var(--c-ink); }
.reg-btn-skip .et-beads { color: var(--c-muted); }

/* --- the message sheet (login and register): Unfold on an espresso veil --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    display: flex; align-items: center; justify-content: center; padding: 20px;
    background: rgba(17, 12, 9, 0.48);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    opacity: 0; visibility: hidden;
    transition: opacity 280ms linear, visibility 280ms;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
    width: 100%; max-width: 400px; padding: 40px 32px 30px;
    border-radius: var(--r-xl); background: var(--c-bg); box-shadow: var(--sh-4);
    text-align: center;
}
.modal-overlay.show .modal-box { animation: et-unfold 380ms var(--et-ease-rise) backwards; }
/* The icon sits in an arch window: round top, flat feet, like the mark. */
.modal-icon {
    display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 18px;
    border-radius: 30px; font-size: 1.7rem;
    background: var(--c-bg-alt); color: var(--c-ink);
}
.modal-icon.success { background: var(--c-success-bg); color: var(--c-success); }
.modal-icon.error { background: var(--c-danger-bg); color: var(--c-danger); }
.modal-box h2 { margin-bottom: 8px; font-size: 1.5rem; line-height: 1.17; }
.modal-box p { margin-bottom: 26px; font-size: var(--t-body); line-height: 1.47; color: var(--c-muted); }
.modal-close-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 168px; min-height: 48px; padding: 12px 28px;
    border: 0; border-radius: var(--r-pill);
    background: var(--c-ink); color: #fff;
    font-size: var(--t-body); cursor: pointer;
    transition: background-color 200ms var(--ease);
}
.modal-close-btn.success { background: var(--c-gold); color: #fff; }
.modal-close-btn.success:hover { background: var(--c-gold-hover); }
.modal-close-btn.error { background: var(--c-ink); color: #fff; }
.modal-close-btn.error:hover { background: #000; }
.modal-close-btn:focus-visible { outline: none; box-shadow: var(--ring); }

/* ==========================================================================
   CREATE ACCOUNT (register.html)
   ========================================================================== */

/* Two steps under the Flight Path: the plane rides the dotted arc from 01
   to 02, and each step is named under its end of the arc. */
.reg-progress { display: flex; justify-content: center; }
.reg-flight { width: 240px; }
.reg-progress-label { display: flex; justify-content: space-between; gap: 8px; max-width: 280px; margin: 4px auto 28px; }
.reg-progress-label > span { display: inline-flex; align-items: baseline; gap: 6px; font-size: var(--t-micro); color: var(--c-muted); }
.reg-progress-label > span.active-label { font-weight: 600; color: var(--c-ink); }
.reg-progress-step {
    font-family: var(--f-brand); font-size: 0.8125rem; font-weight: 400; letter-spacing: 0.06em;
    color: var(--c-faint); transition: color 320ms var(--ease);
}
.reg-progress-step.active { color: var(--c-gold); }

/* Steps never slide: they cross-fade. */
.reg-step { display: none; }
.reg-step.active { display: block; animation: et-fade-in 240ms linear backwards; }

.reg-step-header { margin-bottom: 26px; }
.reg-step-header h1, .reg-step-header h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em;
    color: var(--c-ink);
}
.reg-step-header p { margin-top: 8px; font-size: var(--t-body); color: var(--c-muted); }

.reg-form { display: grid; gap: 22px; }
.reg-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.reg-row-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }

.reg-group { position: relative; display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.reg-group:has(.custom-select.open) { z-index: 200; }
.reg-group > label, .reg-label { font-size: var(--t-small); font-weight: 600; letter-spacing: -0.01em; color: var(--c-ink); }
.reg-group .req { color: var(--c-bronze); }
.reg-hint { margin: 0; font-size: 0.8125rem; line-height: 1.45; color: var(--c-muted); }

.reg-input-wrap { position: relative; }
.reg-input {
    display: block; width: 100%; min-width: 0; min-height: 52px; padding: 14px 16px;
    border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
    background: var(--c-bg); color: var(--c-ink);
    font-size: var(--t-body); line-height: 1.24;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.reg-input::placeholder { color: var(--c-faint); }
.reg-input:hover { border-color: var(--c-faint); }
.reg-input:focus { outline: none; border-color: var(--c-bronze); box-shadow: var(--ring); }
.reg-input[readonly] { background: var(--c-bg-alt); color: var(--c-muted); cursor: not-allowed; }
textarea.reg-input { min-height: 104px; resize: vertical; line-height: 1.5; }

/* The Google sign-up line: who you are continuing as. */
.au-google-note {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 16px; border-radius: var(--r-md);
    background: var(--c-bg-alt); color: var(--c-ink); font-size: var(--t-small); line-height: 1.43;
}
.au-google-note svg { flex: 0 0 auto; }

/* --- the drop-down pickers (day, month, year, country, work) ------------------- */
.custom-select { position: relative; width: 100%; min-width: 0; z-index: 1; }
.custom-select.open { z-index: 200; }
.custom-select-trigger {
    position: relative; display: flex; align-items: center; gap: 10px;
    width: 100%; min-height: 52px; padding: 14px 40px 14px 16px;
    border: 1px solid var(--c-line-2); border-radius: var(--r-sm);
    background: var(--c-bg); color: var(--c-ink); font-size: var(--t-body); line-height: 1.24;
    cursor: pointer; user-select: none;
    transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.custom-select-trigger:hover { border-color: var(--c-faint); }
.custom-select-trigger:focus-visible { outline: none; border-color: var(--c-bronze); box-shadow: var(--ring); }
.custom-select.open .custom-select-trigger { border-color: var(--c-bronze); box-shadow: var(--ring); }
.custom-select-trigger .cs-placeholder { color: var(--c-faint); }
.custom-select-trigger .cs-placeholder, .custom-select-trigger .cs-value {
    min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.custom-select-trigger .cs-arrow {
    position: absolute; top: 50%; right: 15px; margin-top: -6px;
    display: grid; place-items: center; width: 12px; height: 12px;
    font-size: 0.68rem; color: var(--c-muted);
    transition: transform 240ms var(--ease);
}
.custom-select.open .custom-select-trigger .cs-arrow { transform: rotate(180deg); }

/* The list unfolds downward (Unfold-down); it never slides or grows. */
.custom-select-dropdown {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 100;
    display: none; min-width: 140px; max-height: 264px; overflow-y: auto; overscroll-behavior: contain;
    border-radius: var(--r-md); background: var(--c-bg);
    box-shadow: 0 0 0 1px var(--c-line), var(--sh-3);
}
.custom-select.open .custom-select-dropdown {
    display: block; animation: et-unfold-down 220ms var(--et-ease-settle) backwards;
}
.custom-select-dropdown::-webkit-scrollbar { width: 6px; }
.custom-select-dropdown::-webkit-scrollbar-thumb { border-radius: var(--r-pill); background: var(--c-line-2); }

.cs-search { position: sticky; top: 0; z-index: 1; padding: 10px; background: var(--c-bg); border-bottom: 1px solid var(--c-line); }
.cs-search .et-i { position: absolute; top: 50%; left: 22px; transform: translateY(-50%); font-size: 0.95rem; color: var(--c-muted); pointer-events: none; }
.cs-search input {
    width: 100%; min-height: 40px; padding: 8px 12px 8px 36px;
    border: 1px solid var(--c-line-2); border-radius: var(--r-pill);
    background: var(--c-bg-alt); color: var(--c-ink); font-size: 1rem;
}
.cs-search input:focus { outline: none; border-color: var(--c-bronze); background: var(--c-bg); }

.cs-option {
    display: flex; align-items: center; gap: 8px;
    min-height: 44px; padding: 10px 16px;
    font-size: var(--t-body); color: var(--c-ink); cursor: pointer;
    transition: background-color 150ms var(--ease);
}
.cs-option:hover, .cs-option:focus-visible { outline: none; background: var(--c-bg-alt); }
.cs-option.selected { font-weight: 600; }
/* The chosen option carries the Elite check, drawn as a mask in bronze. */
.cs-option.selected::after {
    content: ""; flex: none; width: 14px; height: 14px; margin-left: auto;
    background: var(--c-bronze);
    -webkit-mask: var(--et-i-check) center / contain no-repeat; mask: var(--et-i-check) center / contain no-repeat;
}
.cs-no-results { padding: 16px; text-align: center; font-size: var(--t-small); color: var(--c-muted); }

/* --- password rules: three small checks that turn green -------------------------- */
.password-rules { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px; }
.password-rule {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 0.8125rem; color: var(--c-muted); transition: color 240ms var(--ease);
}
.password-rule .et-i {
    width: 16px; height: 16px; padding: 3px; border-radius: 50%;
    background: var(--c-bg-alt-2); color: transparent;
    transition: background-color 240ms var(--ease), color 240ms var(--ease);
}
.password-rule.valid { color: var(--c-success); }
.password-rule.valid .et-i { background: var(--c-success); color: #fff; }

/* --- profile picture ------------------------------------------------------------- */
.profile-upload {
    display: flex; align-items: center; gap: 18px;
    padding: 16px 18px; border: 1px dashed var(--c-line-2); border-radius: var(--r-md);
    background: var(--c-bg-alt); cursor: pointer;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease);
}
.profile-upload:hover { border-color: var(--c-ink); }
.profile-upload:focus-visible { outline: none; box-shadow: var(--ring); }
.profile-upload-preview {
    display: grid; place-items: center; flex: 0 0 auto;
    width: 72px; height: 72px; overflow: hidden; border-radius: 50%;
    background: var(--c-bg); color: var(--c-faint); font-size: 1.5rem;
    box-shadow: inset 0 0 0 1px var(--c-line);
}
.profile-upload-preview img { width: 100%; height: 100%; object-fit: cover; }
.profile-upload-preview.has-image { box-shadow: 0 0 0 2px var(--c-bg), 0 0 0 4px var(--c-gold); }
.profile-upload-text { font-size: var(--t-small); line-height: 1.45; color: var(--c-muted); }
.profile-upload-text span { font-weight: 600; color: var(--c-link); }
.profile-upload input[type="file"] { display: none; }

/* --- interests: pill picks ------------------------------------------------------- */
.hobbies-container { display: flex; flex-wrap: wrap; gap: 8px; }
.hobby-tag {
    display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px;
    border: 1px solid var(--c-line-2); border-radius: var(--r-pill);
    background: var(--c-bg); color: var(--c-ink);
    font-size: var(--t-small); cursor: pointer; user-select: none;
    transition: border-color 200ms var(--ease), background-color 200ms var(--ease), color 200ms var(--ease);
}
.hobby-tag:hover { border-color: var(--c-ink); }
.hobby-tag:focus-visible { outline: none; box-shadow: var(--ring); }
.hobby-tag.selected { background: var(--c-ink); border-color: var(--c-ink); color: #fff; }

/* --- consent, buttons ------------------------------------------------------------- */
.reg-consent {
    display: flex; align-items: flex-start; gap: 12px;
    padding: 16px 18px; border-radius: var(--r-md); background: var(--c-bg-alt);
    font-size: var(--t-small); line-height: 1.5; color: var(--c-ink-2); cursor: pointer;
}
.reg-consent input[type="checkbox"] { width: 20px; height: 20px; margin-top: 1px; flex: 0 0 auto; accent-color: var(--c-ink); cursor: pointer; }
.reg-consent a { color: var(--c-link); text-decoration: underline; text-underline-offset: 0.15em; }

.reg-btns { display: flex; gap: 12px; margin-top: 6px; }
.reg-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    flex: 1 1 0; min-height: 52px; padding: 13px 24px;
    border: 1px solid transparent; border-radius: var(--r-pill);
    font-size: var(--t-body); line-height: 1.18; text-align: center; cursor: pointer;
    transition: background-color 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease);
}
.reg-btn:focus-visible { outline: none; box-shadow: var(--ring); }
.reg-btn[disabled] { opacity: 0.6; cursor: progress; }
.reg-btn-primary { background: var(--c-gold); color: #fff; }
.reg-btn-primary:hover { background: var(--c-gold-hover); }
.reg-btn-secondary { flex: 0 0 auto; background: var(--c-bg-alt); color: var(--c-ink); }
.reg-btn-secondary:hover { background: var(--c-bg-alt-2); }
.reg-btn-skip { min-height: 44px; padding: 10px 16px; background: transparent; color: var(--c-link); }
.reg-btn-skip:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.reg-btn .au-btn-ico { font-size: 0.85rem; }
.reg-skip-row { margin-top: 2px; text-align: center; }

.work-custom-wrap { display: none; margin-top: 8px; }
.work-custom-wrap.show { display: block; }

/* --- photo crop sheet. The image moves only under the visitor's own hand
       (the crop slider); the sheet itself unfolds, it never scales. -------- */
.reg-crop-overlay, .reg-upload-overlay {
    position: fixed; inset: 0; z-index: 10001;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(17, 12, 9, 0); pointer-events: none;
    transition: background-color 300ms var(--ease);
}
.reg-upload-overlay { z-index: 10002; }
.reg-crop-overlay.active { background: rgba(17, 12, 9, 0.7); pointer-events: auto; }
.reg-upload-overlay.active { background: rgba(17, 12, 9, 0.55); pointer-events: auto; }
.reg-crop-box, .reg-upload-box {
    overflow: hidden; border-radius: var(--r-lg); background: var(--c-bg); box-shadow: var(--sh-4);
    opacity: 0;
}
.reg-crop-box { width: 380px; max-width: 100%; }
.reg-crop-overlay.active .reg-crop-box, .reg-upload-overlay.active .reg-upload-box {
    opacity: 1; animation: et-unfold 380ms var(--et-ease-rise) backwards;
}
.reg-crop-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--c-line); }
.reg-crop-header h2 { font-size: 1.0625rem; letter-spacing: -0.01em; }
.reg-crop-counter { font-size: var(--t-micro); color: var(--c-muted); }
.reg-crop-viewport { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--c-espresso); cursor: grab; touch-action: none; }
.reg-crop-viewport img { position: absolute; top: 0; left: 0; max-width: none; transform-origin: 0 0; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.reg-crop-grid {
    position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.15) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(255, 255, 255, 0.15) 1px, transparent 1px);
    background-size: 33.333% 33.333%;
}
.reg-crop-border { position: absolute; inset: 0; border: 2px solid rgba(255, 255, 255, 0.55); border-radius: 50%; pointer-events: none; }
.reg-crop-controls { display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--c-line); color: var(--c-muted); }
.reg-crop-slider { flex: 1 1 auto; height: 4px; border-radius: 2px; background: var(--c-line); -webkit-appearance: none; appearance: none; accent-color: var(--c-ink); }
.reg-crop-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: var(--c-ink); box-shadow: var(--sh-1); cursor: pointer; }
.reg-crop-slider::-moz-range-thumb { width: 20px; height: 20px; border: 2px solid #fff; border-radius: 50%; background: var(--c-ink); cursor: pointer; }
.reg-crop-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; border-top: 1px solid var(--c-line); }
.reg-crop-btn { min-height: 44px; padding: 10px 22px; border: 0; border-radius: var(--r-pill); font-size: var(--t-small); cursor: pointer; }
.reg-crop-btn-skip { background: var(--c-bg-alt); color: var(--c-ink); }
.reg-crop-btn-skip:hover { background: var(--c-bg-alt-2); }
.reg-crop-btn-use { background: var(--c-gold); color: #fff; }
.reg-crop-btn-use:hover { background: var(--c-gold-hover); }

.reg-upload-box { width: 100%; max-width: 380px; padding: 32px; text-align: center; }
.reg-upload-title { margin-bottom: 4px; font-size: 1.1875rem; font-weight: 600; color: var(--c-ink); }
.reg-upload-text { margin-bottom: 14px; font-size: var(--t-small); color: var(--c-muted); }
/* Determinate progress: the plane rides the Flight Path. */
.reg-upload-flight { margin: 0 auto; }
.reg-upload-pct { margin-top: 8px; font-size: var(--t-micro); font-weight: 600; color: var(--c-ink); }

/* ==========================================================================
   PASSWORD RESET and EMAIL PREFERENCES
   ========================================================================== */
.acct-status { min-height: 1.2em; margin: 2px 0 0; font-size: var(--t-small); line-height: 1.5; }
.acct-status.ok { font-weight: 600; color: var(--c-success); }
.acct-status.err { font-weight: 600; color: var(--c-danger); }
.acct-status:empty { min-height: 0; margin-top: -12px; }
.au-form + .au-foot { margin-top: 20px; }

.au-actions { display: flex; flex-direction: column; align-items: center; gap: 18px; margin-top: 32px; }

/* A preference: words on the left, a switch on the right. */
.au-prefs { display: grid; margin-bottom: 26px; border-top: 1px solid var(--c-line); }
.au-pref {
    display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
    padding: 18px 0; border-bottom: 1px solid var(--c-line); cursor: pointer;
}
.au-pref b { display: block; margin-bottom: 4px; font-size: var(--t-body); font-weight: 600; color: var(--c-ink); }
.au-pref span { display: block; font-size: var(--t-small); line-height: 1.45; color: var(--c-muted); }
.au-switch-input {
    position: relative; flex: 0 0 auto; width: 51px; height: 31px; margin-top: 2px;
    border-radius: var(--r-pill); background: var(--c-line-2);
    -webkit-appearance: none; appearance: none; cursor: pointer;
    transition: background-color 240ms var(--ease);
}
.au-switch-input::after {
    content: ""; position: absolute; top: 2px; left: 2px;
    width: 27px; height: 27px; border-radius: 50%; background: #fff;
    box-shadow: 0 3px 8px rgba(17, 12, 9, 0.15), 0 1px 1px rgba(17, 12, 9, 0.16);
    transition: transform 240ms var(--ease);
}
.au-switch-input:checked { background: var(--c-success); }
.au-switch-input:checked::after { transform: translateX(20px); }
.au-switch-input:focus-visible { outline: none; box-shadow: var(--ring); }
.au-form-btns { display: grid; gap: 10px; }

/* ==========================================================================
   CREATOR SIGN-IN
   ========================================================================== */
.au-nav-solo { justify-content: flex-start; }
.cr-readonly {
    margin: 0; padding: 14px 16px; border-radius: var(--r-sm);
    background: var(--c-bg-alt); color: var(--c-ink);
    font-size: var(--t-body); font-weight: 600; word-break: break-word;
}
.cr-hint { display: block; font-size: 0.8125rem; line-height: 1.45; color: var(--c-muted); }

/* ==========================================================================
   PHONES
   ========================================================================== */
@media (max-width: 734px) {
    .au-page { min-height: 0; padding-top: 32px; padding-bottom: 48px; }
    .au-mark { width: 44px; margin-bottom: 12px; }
    .au-title { margin-top: 20px; font-size: 1.875rem; }
    .au-lead { font-size: var(--t-body); }
    .au-card { margin-top: 24px; padding: 24px 20px; border-radius: var(--r-lg); }
    .au-card__head { margin-bottom: 18px; }
    .au-form { gap: 16px; }
    /* The three facts: one sideways swipe row of small cards. */
    .au-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible;
        gap: 10px;
        align-self: stretch;
        width: auto;
        max-width: none;
        margin: 32px calc(var(--pad) * -1) 0;
        padding: 0 var(--pad) 4px;
    }
    .au-facts > * { flex: none; width: auto; min-width: 0; scroll-snap-align: none; grid-column: auto; }
    .au-facts::-webkit-scrollbar { display: none; }
    .au-facts li {
        flex: 0 0 74%; gap: 12px; padding: 14px 16px; scroll-snap-align: start;
        border: 1px solid var(--c-line); border-radius: var(--r-md); background: var(--c-bg);
        font-size: var(--t-micro);
    }
    .au-facts b { font-size: var(--t-small); }
    .reg-step-header { margin-bottom: 20px; }
    .reg-step-header h1, .reg-step-header h2 { font-size: 1.75rem; }
    .reg-form { gap: 18px; }
    /* First and last name stay side by side: two short fields, one row. */
    .reg-row { gap: 10px; }
    .reg-row-3 { gap: 8px; }
    .reg-row-3 .custom-select-trigger { padding-left: 12px; padding-right: 30px; }
    .reg-row-3 .custom-select-trigger .cs-arrow { right: 11px; }
    .reg-btns { flex-wrap: wrap; }
    .reg-btn-secondary { flex: 0 0 auto; }
    .profile-upload { padding: 14px; }
    .modal-box { padding: 34px 22px 24px; }
}
