:root {
    color-scheme: dark;
    --text: #f7f2e7;
    --muted: rgba(247, 242, 231, .72);
    --dim: rgba(247, 242, 231, .56);
    --gold: #e9c96e;
    --gold-2: #bf8d3c;
    --danger: #ff2d55;
    --green: #61e486;
    --line: rgba(232, 242, 229, .18);
    --line-strong: rgba(232, 242, 229, .28);
    --gold-line: rgba(233, 201, 110, .72);
    --panel: rgba(5, 20, 17, .84);
    --panel-2: rgba(7, 38, 27, .82);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body.preview-auth-page {
    min-height: 100dvh;
    color: var(--text);
    background:
        radial-gradient(circle at 92% 5%, rgba(72, 222, 118, .34), transparent 26rem),
        radial-gradient(circle at 62% 58%, rgba(19, 130, 101, .24), transparent 34rem),
        linear-gradient(90deg, #071310, #082018 48%, #0f2f1d);
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

a {
    color: #f3d987;
}

.preview-shell {
    width: 100vw;
    height: 100dvh;
    display: grid;
    grid-template-columns: minmax(0, .98fr) minmax(0, 1.02fr);
    gap: 0;
    margin: 0;
    overflow: hidden;
}

.signup-card,
.showcase-card {
    min-width: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.signup-card {
    display: flex;
    flex-direction: column;
    padding:
        clamp(18px, 3.6dvh, 42px)
        clamp(26px, 5.2vw, 86px)
        clamp(12px, 2.3dvh, 28px);
    background:
        radial-gradient(circle at 28% 7%, rgba(59, 201, 126, .16), transparent 22rem),
        linear-gradient(155deg, rgba(7, 38, 29, .92), rgba(4, 15, 13, .94));
    border-right: 1px solid rgba(255, 255, 255, .08);
}

.showcase-card {
    display: flex;
    flex-direction: column;
    padding:
        clamp(18px, 3.2dvh, 42px)
        clamp(28px, 4.6vw, 76px)
        clamp(12px, 2.3dvh, 28px);
    background:
        radial-gradient(circle at 88% 6%, rgba(87, 235, 126, .4), transparent 20rem),
        radial-gradient(circle at 18% 70%, rgba(42, 151, 122, .24), transparent 28rem),
        linear-gradient(145deg, rgba(4, 22, 19, .97), rgba(5, 45, 29, .95));
}

.preview-tabs {
    flex: 0 0 auto;
    width: min(100%, 720px);
    height: clamp(46px, 7.4dvh, 64px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: clamp(14px, 2.2dvh, 18px);
    background: rgba(255, 255, 255, .045);
}

.preview-tab {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .65em;
    border: 0;
    color: var(--text);
    background: rgba(255, 255, 255, .04);
    font-size: clamp(.98rem, 1.55vw, 1.38rem);
    font-weight: 850;
    text-decoration: none;
}

.preview-tab.active {
    color: #070907;
    background: linear-gradient(135deg, #f7dd7d, #bd8c40);
    box-shadow: inset 0 1px rgba(255, 255, 255, .55);
}

.signup-heading {
    flex: 0 0 auto;
    margin: clamp(8px, 1.55dvh, 22px) 0 clamp(7px, 1.25dvh, 16px);
    text-align: center;
}

.signup-heading h1 {
    max-width: 980px;
    margin: 0 auto;
    font-size: clamp(1.08rem, 1.78vw, 1.58rem);
    line-height: 1.12;
}

.signup-heading p {
    margin: clamp(4px, .7dvh, 8px) 0 0;
    color: var(--muted);
    font-size: clamp(.78rem, .98vw, 1rem);
}

.status {
    display: none;
}

.status.visible {
    flex: 0 0 auto;
    min-height: clamp(38px, 6.4dvh, 56px);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: clamp(8px, 1.1vw, 14px);
    margin-bottom: clamp(6px, 1.05dvh, 11px);
    padding: clamp(5px, .85dvh, 9px) clamp(10px, 1.35vw, 15px);
    border: 1px solid rgba(255, 45, 85, .95);
    border-radius: 15px;
    background:
        radial-gradient(circle at 0 50%, rgba(255, 45, 85, .32), transparent 10rem),
        rgba(73, 9, 20, .74);
}

.status.visible::before {
    content: "!";
    width: clamp(24px, 4.1dvh, 34px);
    height: clamp(24px, 4.1dvh, 34px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-size: clamp(.92rem, 1.95dvh, 1.32rem);
    font-weight: 950;
}

.status strong,
.status span {
    grid-column: 2;
}

.status strong {
    font-size: clamp(.66rem, .86vw, .84rem);
    line-height: 1.12;
}

.status span {
    color: rgba(255, 255, 255, .9);
    font-size: clamp(.6rem, .76vw, .76rem);
    line-height: 1.12;
}

.preview-form {
    flex: 0 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.form-grid {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(7px, 1.35dvh, 17px) clamp(14px, 2.4vw, 28px);
}

.field {
    min-width: 0;
}

.field label,
.password-rules strong {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: clamp(3px, .65dvh, 7px);
    color: #f8dfa1;
    font-size: clamp(.72rem, 1.02vw, 1rem);
    font-weight: 880;
}

.field input,
.field select,
.password-field {
    width: 100%;
    height: clamp(34px, 5.8dvh, 54px);
    display: flex;
    align-items: center;
    border: 1px solid var(--line-strong);
    border-radius: clamp(10px, 1.7dvh, 14px);
    background: rgba(2, 13, 11, .54);
    color: var(--text);
}

.field input,
.field select {
    min-width: 0;
    padding: 0 clamp(11px, 1.5vw, 18px);
    outline: 0;
    font-size: clamp(.86rem, 1.2vw, 1.15rem);
}

.field select {
    appearance: none;
    color-scheme: dark;
    cursor: pointer;
    background-image:
        linear-gradient(45deg, transparent 50%, #f8dfa1 50%),
        linear-gradient(135deg, #f8dfa1 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.field select:invalid {
    color: rgba(247, 242, 231, .56);
}

.field select option {
    color: #f7f2e7;
    background: #061a14;
}

.field select option:disabled {
    color: rgba(247, 242, 231, .52);
}

.field input:focus,
.field select:focus {
    border-color: rgba(233, 201, 110, .88);
    box-shadow: 0 0 0 3px rgba(233, 201, 110, .14);
}

.field small {
    display: block;
    margin-top: clamp(2px, .55dvh, 6px);
    color: var(--muted);
    font-size: clamp(.61rem, .8vw, .86rem);
    line-height: 1.22;
}

.password-field input {
    height: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.password-field .reveal {
    flex: 0 0 clamp(38px, 5.5dvh, 54px);
    height: 100%;
    border: 0;
    background: transparent;
    color: rgba(244, 224, 170, .96);
    font-size: clamp(.9rem, 1.3vw, 1.2rem);
}

.password-strength {
    height: clamp(4px, .8dvh, 7px);
    margin-top: clamp(4px, .7dvh, 7px);
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
}

.password-strength span {
    width: 70%;
    height: 100%;
    display: block;
    border-radius: inherit;
    background: var(--green);
}

.password-rules {
    align-self: end;
    padding-bottom: 2px;
}

.password-rules ul {
    margin: clamp(3px, .55dvh, 7px) 0 0;
    padding: 0;
    list-style: none;
    color: rgba(247, 242, 231, .88);
    font-size: clamp(.65rem, .86vw, .9rem);
    line-height: 1.28;
}

.password-rules li::before {
    content: "✓";
    margin-right: 8px;
    color: var(--green);
    font-weight: 950;
}

.avatar-summary {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) clamp(42px, 7dvh, 74px) minmax(130px, .9fr) minmax(110px, .55fr);
    gap: clamp(8px, 1.6vw, 18px);
    align-items: center;
    margin: clamp(9px, 1.7dvh, 22px) 0 clamp(7px, 1.2dvh, 14px);
}

.summary-copy h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #f8dfa1;
    font-size: clamp(.84rem, 1.2vw, 1.14rem);
}

.summary-copy p,
.avatar-note {
    margin: 3px 0 0;
    color: rgba(247, 242, 231, .78);
    font-size: clamp(.62rem, .86vw, .92rem);
    line-height: 1.22;
}

.chosen-avatar {
    width: clamp(42px, 7dvh, 74px);
    height: clamp(42px, 7dvh, 74px);
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(233, 201, 110, .21), rgba(255, 255, 255, .05));
}

.chosen-avatar img {
    width: 84%;
    height: 84%;
}

.avatar-open {
    height: clamp(36px, 6dvh, 58px);
    border: 1px solid var(--gold-line);
    border-radius: 999px;
    background: transparent;
    color: #f4dc91;
    font-size: clamp(.72rem, .98vw, 1rem);
    font-weight: 880;
}

.avatar-note {
    position: relative;
    padding-left: clamp(0px, 1vw, 18px);
    font-weight: 780;
}

.avatar-note::after {
    content: "➜";
    position: absolute;
    right: -10px;
    top: -12px;
    color: #e7c96d;
    font-size: clamp(2rem, 4vw, 3.6rem);
    rotate: -15deg;
}

.legal-confirmation {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: clamp(7px, 1vw, 12px);
    margin: clamp(5px, .9dvh, 11px) 0 clamp(5px, .85dvh, 10px);
    color: #efece1;
    font-size: clamp(.68rem, .95vw, .98rem);
    line-height: 1.22;
}

.legal-confirmation input {
    flex: 0 0 auto;
    width: clamp(16px, 2.7dvh, 22px);
    height: clamp(16px, 2.7dvh, 22px);
    accent-color: var(--gold);
}

.primary-action,
.use-avatar {
    border: 0;
    color: #080c09;
    background: linear-gradient(135deg, #f8dc81, #be9145);
    box-shadow: inset 0 1px rgba(255, 255, 255, .52), 0 14px 32px rgba(0, 0, 0, .22);
    font-weight: 950;
}

.primary-action {
    flex: 0 0 auto;
    width: 100%;
    height: clamp(36px, 5.8dvh, 54px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    border-radius: clamp(12px, 1.9dvh, 16px);
    font-size: clamp(.9rem, 1.3vw, 1.2rem);
    margin: clamp(8px, 1.45dvh, 14px) 0 clamp(8px, 1.45dvh, 14px);
    transform: none;
}

.showcase-footer {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    gap: 11px;
    margin-top: auto;
    padding-top: clamp(5px, .9dvh, 10px);
    color: var(--muted);
    font-size: clamp(.62rem, .78vw, .9rem);
    white-space: nowrap;
}

.showcase-footer a {
    color: var(--text);
    text-decoration: none;
}

.showcase-footer {
    margin-top: clamp(6px, 1dvh, 12px);
    padding-top: 0;
}

.showcase-brand {
    flex: 0 0 auto;
    text-align: center;
}

.showcase-brand img {
    width: min(86%, 680px);
    max-height: clamp(126px, 26dvh, 300px);
    aspect-ratio: 1200 / 577;
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: clamp(14px, 2.2dvh, 22px);
    filter: drop-shadow(0 20px 38px rgba(0, 0, 0, .28));
}

.showcase-brand em {
    display: block;
    margin-top: clamp(3px, .7dvh, 8px);
    color: #f9e8b2;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(1.1rem, 2.15vw, 2.05rem);
    line-height: 1.02;
}

.benefits {
    flex: 0 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(7px, 1.3vw, 16px);
    margin: clamp(12px, 3dvh, 34px) 0 clamp(11px, 2.2dvh, 26px);
    text-align: center;
}

.benefits span {
    display: block;
    min-height: clamp(18px, 3.8dvh, 34px);
    color: var(--gold);
    font-size: clamp(1rem, 2.1vw, 1.9rem);
    font-weight: 950;
}

.benefits strong {
    display: block;
    margin-top: clamp(3px, .8dvh, 8px);
    font-size: clamp(.74rem, 1.05vw, 1.08rem);
}

.benefits small {
    display: block;
    margin-top: 3px;
    color: rgba(247, 242, 231, .82);
    font-size: clamp(.62rem, .86vw, .9rem);
}

.avatar-gallery {
    flex: 1 1 auto;
    min-height: 0;
    max-height: calc(100% - clamp(18px, 2.6dvh, 34px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--gold-line);
    border-radius: clamp(18px, 2.8dvh, 24px);
    background: linear-gradient(145deg, rgba(5, 23, 19, .9), rgba(4, 16, 14, .72));
    box-shadow: inset 0 1px rgba(255, 255, 255, .05);
}

.gallery-actions {
    flex: 0 0 auto;
    align-items: center;
    padding:
        clamp(8px, 1.45dvh, 16px)
        clamp(14px, 2vw, 24px);
}

.avatar-gallery h2 {
    display: flex;
    align-items: center;
    gap: clamp(9px, 1.3vw, 14px);
    margin: 0;
    font-size: clamp(1rem, 1.55vw, 1.55rem);
}

.avatar-gallery header button {
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: clamp(1.35rem, 2.6vw, 2rem);
}

.gallery-body {
    flex: 1 1 auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(178px, 225px) minmax(0, 1fr);
    gap: clamp(14px, 2vw, 24px);
    padding:
        clamp(12px, 2dvh, 22px)
        clamp(20px, 2.5vw, 30px)
        clamp(10px, 1.6dvh, 18px);
}

.avatar-categories {
    min-height: 0;
    display: grid;
    grid-template-rows: repeat(5, 1fr);
    align-content: stretch;
    gap: clamp(8px, 1.25dvh, 14px);
    padding-right: clamp(14px, 1.9vw, 22px);
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.avatar-categories button {
    min-height: 0;
    height: 100%;
    display: grid;
    grid-template-columns: 30px 1fr auto;
    align-items: center;
    gap: 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: var(--text);
    text-align: left;
    font-size: clamp(.92rem, 1.22vw, 1.18rem);
    font-weight: 900;
}

.avatar-categories button.active {
    padding-inline: clamp(8px, 1.2vw, 13px);
    color: #090d0a;
    background: linear-gradient(135deg, #f8dc81, #be9145);
}

.avatar-categories small {
    color: currentColor;
    opacity: .82;
    font-size: .82em;
    font-weight: 850;
}

.avatar-grid {
    min-height: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: stretch;
    justify-items: center;
    grid-auto-rows: 1fr;
    gap: clamp(10px, 1.65dvh, 18px) clamp(18px, 2.5vw, 32px);
    padding-inline: clamp(14px, 1.9vw, 24px);
    overflow: hidden;
}

.avatar-face {
    width: clamp(62px, 10.4dvh, 96px);
    height: clamp(62px, 10.4dvh, 96px);
    display: grid;
    place-items: center;
    justify-self: center;
    align-self: center;
    border: 2px solid transparent;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.avatar-face.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(233, 201, 110, .14);
}

.avatar-face img,
.avatar-face span {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 50%;
}

.avatar-face img {
    object-fit: cover;
}

.avatar-face.generated span {
    color: #fff;
    font-size: clamp(.62rem, .95vw, .9rem);
    font-weight: 950;
}

.avatar-face.teal span { background: linear-gradient(135deg, #25c8d5, #124a68); }
.avatar-face.gold span { background: linear-gradient(135deg, #f8d876, #85651f); }
.avatar-face.rose span { background: linear-gradient(135deg, #d85d75, #552034); }
.avatar-face.blue span { background: linear-gradient(135deg, #579ef5, #203766); }
.avatar-face.green span { background: linear-gradient(135deg, #54d37d, #244d35); }
.avatar-face.violet span { background: linear-gradient(135deg, #b979ff, #442568); }
.avatar-face.amber span { background: linear-gradient(135deg, #ffc66e, #8c3e20); }
.avatar-face.steel span { background: linear-gradient(135deg, #bbc6cc, #27343b); }
.avatar-face.red span { background: linear-gradient(135deg, #f45d5d, #641f21); }

.gallery-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(190px, 300px);
    gap: clamp(12px, 1.8vw, 22px);
    align-items: center;
    padding-inline: clamp(20px, 2.5vw, 30px);
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.avatar-pager {
    display: grid;
    grid-template-columns: 38px minmax(54px, 1fr) 38px;
    align-items: center;
    justify-content: center;
    justify-items: center;
    gap: 8px;
    width: min(100%, 174px);
    justify-self: center;
    grid-column: 1;
}

.pager {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 13px;
    background: rgba(255, 255, 255, .07);
    color: var(--text);
    font-size: 1.65rem;
    line-height: 1;
    padding: 0;
    font-family: inherit;
}

.avatar-pager span {
    min-width: 0;
    text-align: center;
    font-size: clamp(.78rem, 1.1vw, 1.05rem);
    line-height: 1;
}

.use-avatar {
    height: 38px;
    padding: 0 clamp(12px, 1.8vw, 22px);
    border-radius: 13px;
    font-size: clamp(.72rem, 1vw, 1rem);
    justify-self: stretch;
    grid-column: 2;
}

@media (max-height: 760px) and (min-width: 980px) {
    .signup-card {
        padding: 16px clamp(28px, 4.6vw, 54px) 10px;
    }

    .showcase-card {
        padding: 16px clamp(28px, 4.2vw, 54px) 10px;
    }

    .status.visible {
        min-height: 38px;
        padding-block: 5px;
        margin-bottom: 5px;
    }

    .signup-heading h1 {
        font-size: clamp(1.05rem, 1.7vw, 1.42rem);
    }

    .signup-heading p {
        font-size: .86rem;
    }

    .showcase-brand img {
        width: min(82%, 610px);
        max-height: 156px;
    }

    .showcase-brand em {
        font-size: clamp(1.1rem, 2vw, 1.7rem);
    }

    .benefits {
        margin-block: 10px 10px;
    }

    .avatar-note::after {
        display: none;
    }
}

@media (max-height: 620px) and (min-width: 980px) {
    .signup-card,
    .showcase-card {
        padding-top: 10px;
        padding-bottom: 7px;
    }

    .preview-tabs {
        height: 44px;
    }

    .signup-heading {
        margin: 7px 0 6px;
    }

    .signup-heading h1 {
        font-size: clamp(1rem, 1.65vw, 1.28rem);
    }

    .signup-heading p {
        font-size: .78rem;
    }

    .status.visible {
        min-height: 34px;
        padding-block: 5px;
        margin-bottom: 5px;
    }

    .status.visible::before {
        width: 24px;
        height: 24px;
        font-size: .92rem;
    }

    .status strong {
        font-size: .66rem;
    }

    .status span {
        font-size: .58rem;
    }

    .field input,
    .field select,
    .password-field {
        height: 32px;
    }

    .avatar-summary {
        margin-block: 7px 5px;
    }

    .legal-confirmation {
        margin-block: 5px 7px;
    }

    .primary-action {
        height: 32px;
        margin-bottom: 16px;
        transform: translateY(-8px);
    }

    .showcase-brand img {
        max-height: 132px;
        width: min(76%, 520px);
    }

    .showcase-brand em {
        font-size: 1.18rem;
    }

    .benefits {
        margin-block: 9px 9px;
    }

    .avatar-face {
        width: clamp(54px, 9.3dvh, 70px);
        height: clamp(54px, 9.3dvh, 70px);
    }
}

@media (max-width: 979px) {
    body.preview-auth-page {
        overflow-y: auto;
    }

    .preview-shell {
        width: 100%;
        height: auto;
        min-height: 100dvh;
        display: flex;
        flex-direction: column;
    }

    .signup-card,
    .showcase-card {
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        border-radius: 0;
        border-right: 0;
    }

    .signup-card {
        padding: clamp(16px, 4.2vw, 28px);
    }

    .showcase-card {
        padding: clamp(16px, 4.2vw, 28px);
    }

    .status.visible {
        grid-template-columns: auto 1fr;
    }

    .avatar-summary {
        grid-template-columns: auto 1fr;
    }

    .avatar-open {
        grid-column: 1 / -1;
    }

    .avatar-note {
        grid-column: 1 / -1;
        padding-left: 0;
        text-align: center;
    }

    .avatar-note::after {
        display: none;
    }
}

@media (max-width: 680px) {
    .signup-card,
    .showcase-card {
        min-height: auto;
        padding: 16px;
    }

    .preview-tabs {
        width: 100%;
    }

    .signup-heading h1 {
        font-size: clamp(1.3rem, 7vw, 2rem);
    }

    .form-grid,
    .benefits,
    .gallery-body {
        grid-template-columns: 1fr;
    }

    .password-rules {
        display: none;
    }

    .avatar-summary {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .status.visible {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .status.visible::before {
        margin: 0 auto;
    }

    .status strong,
    .status span {
        grid-column: 1;
    }

    .showcase-brand img {
        width: 100%;
        max-height: none;
    }

    .avatar-categories {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        border-right: 0;
        padding: 0 0 8px;
    }

    .avatar-categories button {
        min-width: 128px;
    }

    .avatar-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .gallery-actions {
        grid-template-columns: 1fr;
        justify-items: center;
    }

    .use-avatar {
        width: 100%;
    }
}

@media (max-width: 420px) {
    .signup-card,
    .showcase-card {
        padding-inline: 12px;
    }

    .preview-tab {
        font-size: .95rem;
    }

    .avatar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Selected avatar preview: avoid clipping and stray rings */
.selected-avatar,
.avatar-current,
.avatar-selected,
.register-avatar-preview {
    overflow: visible;
}

.selected-avatar img,
.avatar-current img,
.avatar-selected img,
.register-avatar-preview img {
    display: block;
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 50%;
}

.selected-avatar::before,
.selected-avatar::after,
.avatar-current::before,
.avatar-current::after,
.avatar-selected::before,
.avatar-selected::after,
.register-avatar-preview::before,
.register-avatar-preview::after {
    display: none;
}
