.field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.field-label {
    font-size: 14px;
    font-weight: 520;
    color: var(--text);
}

.field-hint {
    font-size: 13px;
    color: var(--text-3);
}

.field-error {
    font-size: 13px;
    color: var(--danger);
    display: none;
}

.field.has-error .field-error,
.field-error:not([hidden]):not(:empty) {
    display: block;
}

.field.has-error .input,
.field.has-error .dd-trigger,
.field.has-error .dial-btn,
.field.has-error .check input:not(:checked) {
    border-color: var(--danger);
}

.input {
    width: 100%;
    min-height: var(--field-h);
    padding: var(--field-pad);
    background: var(--field);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    color: var(--text);
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input::placeholder {
    color: var(--text-3);
}


.input:disabled,
.is-locked > .input {
    color: var(--text-3);
    background: var(--surface-2);
    user-select: none;
    pointer-events: none;
}

textarea.input {
    min-height: 110px;
    padding-block: 12px;
    resize: vertical;
}

.input-group {
    display: flex;
    align-items: stretch;
}

.input-group > .input {
    border-radius: 0 var(--radius) var(--radius) 0;
    border-left: 0;
}

.input-group-prefix {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius) 0 0 var(--radius);
    font-size: 14px;
    font-weight: 520;
    color: var(--text-2);
    white-space: nowrap;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.form-stack {
    display: grid;
    gap: 16px;
}

.form-grid .field-full {
    grid-column: 1 / -1;
}

.check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    font-size: 14px;
    color: var(--text-2);
}

.check input {
    appearance: none;
    flex: none;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1.5px solid var(--check-edge, var(--edge, var(--border)));
    border-radius: 6px;
    background: var(--field);
    display: grid;
    place-content: center;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.check input::before {
    content: "";
    width: 10px;
    height: 10px;
    transform: scale(0);
    transition: transform 0.15s ease;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
    background: var(--accent-contrast);
}

.check input:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.check.is-invalid {
    color: var(--danger);
}

.check.is-invalid input:not(:checked) {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 18%, transparent);
}

.check-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.tick-circle {
    width: 14px;
    height: 14px;
    padding: 2px;
    box-sizing: border-box;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1.3px solid var(--border);
    color: transparent;
    stroke-width: 3;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.pw-rules {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 16px;
    list-style: none;
    margin-top: 4px;
}

.pw-rules li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    color: var(--text-3);
    transition: color 0.15s ease;
}

.pw-rules li.ok {
    color: var(--text-2);
}

.pw-rules li.ok .tick-circle {
    border-color: var(--text);
    color: var(--text);
}

.check-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.check input:checked::before {
    transform: scale(1);
}

.strength {
    display: none;
    flex-direction: column;
    gap: 6px;
}

.strength.visible {
    display: flex;
}

.strength-bars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--surface-2);
    transition: background 0.25s ease;
}

.strength:is([data-level="1"], [data-level="2"], [data-level="3"]) .strength-bar:nth-child(1) {
    background: var(--text-3);
}

.strength:is([data-level="2"], [data-level="3"]) .strength-bar:nth-child(2) {
    background: var(--text-2);
}

.strength[data-level="3"] .strength-bar:nth-child(3) {
    background: var(--text);
}

.strength-text {
    font-size: 12px;
    color: var(--text-3);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alert {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 14px;
    border-radius: var(--radius);
    font-size: 14px;
    margin-bottom: 18px;
}

.alert-danger {
    background: color-mix(in srgb, var(--danger) 10%, transparent);
    color: var(--danger);
}

.alert > .icon,
.alert > svg {
    flex-shrink: 0;
}
.field-adorn {
    position: relative;
}

.field-adorn .input {
    padding-right: var(--adorn-pad, 104px);
}

.field-adorn-end {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
}


.field-link {
    height: 34px;
    padding: 0 10px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-2);
    font: inherit;
    font-size: 13.5px;
    font-weight: 520;
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.15s ease;
}

.field-link:hover {
    color: var(--text);
}

.field-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    color: var(--text-2);
    font: inherit;
    font-size: 12.5px;
    font-weight: 520;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.field-chip:not(.is-ok, .is-tag):hover {
    background: var(--border);
    color: var(--text);
}

.forgot-link {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 13.5px;
    font-weight: 520;
    color: var(--text-2);
    cursor: pointer;
    transition: color 0.15s ease;
}

.forgot-link:hover {
    color: var(--text);
}

.field-foot {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

.field-foot:not(:has(> :not([hidden]))) {
    display: none;
}

.field-hint-link {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text);
    font: inherit;
    font-weight: 520;
    text-decoration: underline;
    text-decoration-color: color-mix(in srgb, var(--text) 35%, transparent);
    text-underline-offset: 3px;
    cursor: pointer;
}

.field-hint-link:hover {
    text-decoration-color: var(--text);
}

@media (max-width: 640px) {
    .field-chip-text {
        display: none;
    }

    .field-chip {
        padding: 7px 9px;
    }

    .field-chip.is-ok .field-chip-text {
        display: inline;
    }
}

.field-chip.is-tag {
    cursor: default;
}

.code-channel {
    gap: 4px;
    margin-inline: 2px;
    padding: 1px 7px;
    font-size: 12px;
    line-height: 1.5;
    vertical-align: 1px;
}

.field-chip.is-ok {
    padding-inline: 4px;
    border-color: transparent;
    background: transparent;
    color: var(--text-3);
    cursor: default;
}

.field-timer {
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 520;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
}

.code-stage.is-in {
    animation: field-in 0.28s ease;
}

.code-adorn {
    --adorn-pad: 196px;
}

.code-input {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.3em;
    font-variant-numeric: tabular-nums;
}

.code-input::placeholder {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: normal;
}

@keyframes field-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-wrap {
    position: relative;
}

.password-wrap .input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-3);
    cursor: pointer;
}

.password-toggle:hover {
    color: var(--text);
}

.password-toggle .eye-closed {
    display: none;
}

.password-wrap.revealed .eye-open {
    display: none;
}

.password-wrap.revealed .eye-closed {
    display: inline-flex;
}



.mode-switch {
    display: flex;
    align-self: center;
    margin-inline: auto;
    gap: 4px;
    padding: 4px;
    margin-bottom: 22px;
    border-radius: 999px;
    background: var(--surface-2);
    width: fit-content;
}

[data-theme="dark"] .mode-switch {
    background: var(--field);
}

.mode-item {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 560;
    color: var(--text-2);
    transition: background 0.2s ease, color 0.2s ease;
}

a.mode-item:hover {
    color: var(--text);
}

.mode-item.active {
    background: var(--accent);
    color: var(--accent-contrast);
}


.alert-warning,
.alert-success {
    background: var(--surface-2);
    border: 1px solid var(--border);
    color: var(--text-2);
}

[data-focus-group] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.input,
select.input,
textarea.input,
[data-focus-group] {
    scroll-margin: 80px 0;
}

@media (max-width: 860px) {
    .input,
    select.input,
    textarea.input,
    [data-focus-group] {
        scroll-margin: 96px 0;
    }
}

@media (max-width: 640px) {
    .field-label {
        font-size: 12.5px;
    }

    .field-hint,
    .field-error {
        font-size: 11.5px;
    }

    .input {
        padding: 10px 13px;
        font-size: 13.5px;
    }

    textarea.input {
        min-height: 96px;
    }

    .input-group-prefix {
        padding: 0 12px;
        font-size: 13.5px;
    }

    .alert {
        padding: 10px 12px;
        font-size: 12.5px;
    }

    .check {
        gap: 9px;
        font-size: 12.5px;
    }

    .check input {
        width: 17px;
        height: 17px;
        border-radius: 5px;
    }

    .check input::before {
        width: 8.5px;
        height: 8.5px;
    }
}

.unit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.unit-switch {
    display: inline-flex;
    gap: 2px;
    padding: 2px;
    border-radius: 999px;
    background: var(--surface-2);
}

.unit-opt {
    padding: 2px 9px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--text-3);
    font: inherit;
    font-size: 11.5px;
    font-weight: 560;
    line-height: 1.5;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.unit-opt:hover {
    color: var(--text);
}

.unit-opt.selected {
    background: color-mix(in srgb, var(--text) 14%, var(--surface-2));
    color: var(--text-2);
}

.unit-alt {
    display: flex;
    gap: 8px;
}

.unit-box {
    position: relative;
    flex: 1;
    min-width: 0;
}

.unit-box .input {
    width: 100%;
    padding-right: 34px;
}

.unit-box span {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--text-3);
    font-size: 13px;
    font-weight: 520;
    pointer-events: none;
    transform: translateY(-50%);
}

.input:-webkit-autofill,
.input:-webkit-autofill:hover,
.input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px var(--field) inset;
    -webkit-text-fill-color: var(--text);
    caret-color: var(--text);
    transition: background-color 9999s ease-out 0s;
}
.split-layout {
    --split-ink: #0f0f0f;
    --split-ink-text: #ffffff;
    --split-ink-muted: rgba(255, 255, 255, 0.6);
    position: relative;
    min-height: calc(var(--dvh) * 100);
    display: flex;
    flex-direction: column;
    background: var(--surface);
}

[data-theme="dark"] .split-layout {
    --split-ink: var(--field);
}

.split-dark {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: calc(50% - 250px);
    min-width: 300px;
    background: var(--split-ink);
}

@media (min-width: 861px) {
    .split-layout .auth-visual,
    .split-layout .wizard-rail {
        margin-left: calc(-1 * max(0px, (100vw - 1100px) / 2));
        padding: 28px 40px;
        background: transparent;
        border-radius: 0;
    }

    .split-layout .auth-visual .brand-logo-svg,
    .split-layout .wizard-rail .brand-logo-svg {
        filter: brightness(0) invert(1);
    }

    .split-layout .auth-visual .brand-tagline,
    .split-layout .wizard-rail .brand-tagline {
        color: #ffffff;
    }

    .split-layout .wizard-rail .rail-steps {
        align-self: flex-end;
        width: 236px;
        margin-block: auto;
    }
}

.auth-visual-body {
    position: relative;
    z-index: 1;
    padding-bottom: 40px;
}

.auth-visual-body h2 {
    font-size: clamp(24px, 2.4vw, 33.5px);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--split-ink-text);
}

.auth-visual-body p {
    margin-top: 12px;
    max-width: 380px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--split-ink-muted);
}

.split-topbar {
    position: absolute;
    top: 18px;
    right: calc(max((100% - 1100px) / 2, 0px) + 28px);
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.split-page {
    flex: 1;
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

.split-card {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    width: 100%;
    max-width: 1100px;
    background: transparent;
}

@media (max-width: 860px) {
    .split-dark,
    .split-topbar {
        display: none;
    }

    .split-card {
        grid-template-columns: minmax(0, 1fr);
    }
}

.auth-footer {
    padding: 20px 0 6px;
    text-align: center;
}

.auth-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 22px;
}

.auth-footer-links a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-3);
    transition: color 0.15s ease;
}

.auth-footer-links a:hover {
    color: var(--text);
}

.auth-footer p {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-3);
}

.auth-header {
    display: none;
}

@media (max-width: 860px) {
    .auth-header {
        position: relative;
        z-index: 6;
        display: flex;
        align-items: center;
        gap: 2px;
        padding: 10px 12px 10px 6px;
    }

    body:has(.auth-header) .a11y-fab {
        display: none;
    }

    body:has(.auth-header) .a11y-panel {
        top: 58px;
        right: 12px;
        bottom: auto;
        left: auto;
        max-height: calc(calc(var(--dvh) * 100) - 76px);
    }

    .auth-header-back {
        flex-shrink: 0;
        display: grid;
        place-items: center;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--text-2);
        cursor: pointer;
    }

    .auth-header-back:hover {
        background: var(--surface-2);
        color: var(--text);
    }

    .auth-header .brand {
        font-size: 16px;
    }

    .auth-header .brand {
        --logo-cap: 104px;
    }

    .auth-header-actions {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .auth-header-actions .locale-trigger {
        padding: 0 6px;
    }

    .auth-header-actions .locale-panel {
        right: 0;
        left: auto;
    }

    .split-layout .auth-top,
    .split-layout .rail-head {
        display: none;
    }

    .auth-footer {
        padding-inline: 4px;
    }

    .auth-footer-links {
        gap: 10px 14px;
    }
}

@media (max-width: 640px) {
    .auth-header {
        gap: var(--hdr-gap-mobile);
        padding-left: var(--gutter-mobile);
    }

    .auth-header .brand {
        --logo-cap: var(--logo-cap-mobile);
    }
}

.split-dark:has(.ascii-waves) {
    overflow: hidden;
}

.ascii-waves {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: rgba(150, 151, 151, 0.85);
    pointer-events: none;
}

@media (min-width: 861px) {
    .split-layout:has(.ascii-waves) .auth-visual-dots {
        display: none;
    }
}

.captcha-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    container-type: inline-size;
}

.captcha-image {
    --captcha-ratio: 190 / 58;
    position: relative;
    flex: 0 0 auto;
    height: var(--field-h);
    aspect-ratio: var(--captcha-ratio);
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
    line-height: 0;
}

.captcha.is-zoomed .captcha-image {
    height: calc(var(--field-h) * 2);
}

@media (max-width: 640px) {
    .captcha.is-zoomed .captcha-image {
        width: 100%;
        height: auto;
    }

    .captcha.is-zoomed .captcha-input {
        flex-basis: 100%;
    }
}

.captcha-image img {
    display: block;
    width: 100%;
    height: 100%;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.captcha.is-zoomed .captcha-image img {
    cursor: zoom-out;
}

.captcha-image img:not([src]) {
    visibility: hidden;
}

.captcha-reload {
    position: absolute;
    top: 4px;
    right: 4px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: color-mix(in srgb, var(--surface) 70%, transparent);
    color: var(--text-2);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.captcha-reload:hover {
    background: var(--surface);
    color: var(--text);
}

.captcha-reload .icon {
    transition: transform 0.35s ease;
}

.captcha-reload.is-spinning .icon {
    transform: rotate(-360deg);
}

.captcha-input {
    flex: 1 1 140px;
    min-width: 0;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 600;
}

.captcha-input::placeholder {
    letter-spacing: normal;
    text-transform: none;
    font-weight: 400;
}

.captcha.is-invalid .captcha-image,
.captcha.is-invalid .captcha-input {
    border-color: var(--danger);
}

@container (max-width: 300px) {
    .captcha-image {
        width: 100%;
        height: auto;
    }

    .captcha-input {
        flex-basis: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .captcha-reload .icon {
        transition: none;
    }
}

.busy-host {
    position: relative;
}

.busy-layer {
    --busy-pad: 16px;
    position: absolute;
    inset: 0;
    z-index: 20;
    display: grid;
    place-items: center;
    border-radius: inherit;
    background: color-mix(in srgb, var(--surface) 62%, transparent);
    cursor: progress;
    animation: busy-in 0.18s ease both;
}

.busy-layer[data-fit] {
    border-radius: var(--radius-lg);
}

.busy-ring {
    position: sticky;
    top: calc(calc(var(--vh) * 50) - 15px);
    bottom: calc(calc(var(--vh) * 50) - 15px);
    width: 30px;
    height: 30px;
    border: 2.5px solid color-mix(in srgb, var(--text) 14%, transparent);
    border-top-color: var(--text);
    border-radius: 50%;
    animation: busy-spin 0.75s linear infinite;
}

@keyframes busy-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes busy-in {
    from {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .busy-layer {
        animation: none;
    }

    .busy-ring {
        animation-duration: 1.6s;
    }
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block: -6px;
    color: var(--text-3);
    font-size: 12.5px;
}

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

.btn-google {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-weight: 520;
}

.btn-google:hover {
    background: var(--surface-2);
}

.btn-google .google-icon {
    flex-shrink: 0;
}

.email-wrap.has-google .input {
    padding-right: 196px;
}

.google-chip {
    color: var(--text);
}

@media (max-width: 640px) {
    .email-wrap.has-google .input {
        padding-right: 172px;
    }
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: transparent;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: none;
    transition: display 0.4s allow-discrete, background-color 0.4s var(--dialog-ease);
}

.modal-backdrop.open {
    display: flex;
    background: var(--overlay);
    pointer-events: auto;
}

.modal-backdrop.open {
    animation: dialog-backdrop-in 0.4s var(--dialog-ease);
}

.modal {
    --dialog-from: perspective(240px) rotateX(-20deg) scale(0.8);
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
}

.modal-text {
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--text);
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.modal-actions .btn {
    min-width: 96px;
    min-height: var(--btn-h-step);
    padding: 0 16px;
    font-size: 13.5px;
}

.modal-actions .btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 640px) {
    .modal-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .modal-actions .btn {
        min-width: 0;
    }
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
}

.btn-danger:hover {
    background: color-mix(in srgb, var(--danger) 85%, #000000);
}

.confirm-backdrop {
    z-index: 130;
}

.confirm-modal {
    max-width: 400px;
}

.confirm-modal .modal-header {
    position: relative;
    justify-content: center;
    min-height: 32px;
    padding: 0 40px;
}

.confirm-modal .modal-title {
    text-align: center;
}

.confirm-modal .confirm-x,
.cc-head .confirm-x {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    color: var(--text-3);
    cursor: pointer;
    transition: color 0.15s ease;
}

.confirm-modal .confirm-x {
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
}

.confirm-modal .confirm-x:hover,
.cc-head .confirm-x:hover {
    border: 0;
    background: transparent;
    color: var(--text);
}

.confirm-modal .modal-text {
    margin: 0;
    color: var(--text-2);
    text-align: center;
}

.confirm-modal .confirm-field {
    margin-top: 16px;
}

.confirm-modal .modal-actions {
    justify-content: center;
    margin-top: 20px;
}

.confirm-modal .modal-actions:has(> .confirm-no[hidden]) {
    grid-template-columns: minmax(0, 240px);
    justify-content: center;
}

@media (max-width: 640px) {
    .modal-title {
        font-size: 14px;
    }

    .modal .modal-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .confirm-modal {
        padding: 18px 18px 16px;
    }

    .confirm-modal .modal-actions {
        margin-top: 16px;
    }
}

.email-wrap {
    position: relative;
}

.email-suggest {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 60;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    max-height: 264px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 6px;
}

.email-suggest button {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    font-size: 14.5px;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.email-suggest button:hover,
.email-suggest button.active {
    background: var(--surface-2);
}

.email-suggest button strong {
    color: var(--accent);
    font-weight: 520;
}

.auth-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 28px 24px;
    overflow: hidden;
}

.auth-visual .brand,
.auth-visual .brand span {
    color: var(--split-ink-text);
}

.auth-visual .brand,
.wizard-rail .brand {
    position: relative;
    z-index: 2;
    align-self: flex-start;
}

.auth-visual-dots {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.5px, transparent 1.5px);
    background-size: 26px 26px;
    mask-image: linear-gradient(160deg, transparent 35%, black 90%);
    -webkit-mask-image: linear-gradient(160deg, transparent 35%, black 90%);
}

.auth-panel {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 28px;
}


.auth-top {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.auth-top .brand {
    display: none;
    margin-right: auto;
}

.auth-top-actions {
    display: flex;
    gap: 8px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    margin: auto;
    padding-block: 32px;
}


.auth-card h1 {
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.auth-sub {
    margin-top: 6px;
    margin-bottom: 26px;
    color: var(--text-2);
    font-size: 14px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.btn-block {
    width: 100%;
    margin-top: 6px;
}

.auth-alt {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-alt > span {
    font-size: 14px;
    color: var(--text-3);
}

.auth-alt-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.auth-alt-links .btn {
    font-size: 14px;
    padding-inline: 10px;
}

@media (max-width: 860px) {
    .auth-visual {
        display: none;
    }

    .auth-top .brand {
        display: inline-block;
    }

    .auth-card {
        padding-block: 20px;
    }

    .auth-panel {
        padding: 0 24px 8px;
    }

    .auth-panel .auth-footer {
        margin-inline: -10px;
    }
}


.email-wrap.is-locked .input {
    padding-right: 104px;
}


.remember-check {
    align-self: flex-start;
}

.auth-terms,
.auth-signup {
    font-size: 13px;
    line-height: 1.65;
    color: var(--text-3);
    text-align: center;
}

.auth-terms {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.auth-signup {
    margin: 18px 0 0;
}

.auth-signup[hidden] {
    display: none;
}

.auth-terms a,
.auth-signup a,
.auth-terms .auth-link-btn {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    cursor: pointer;
    color: var(--text);
    font-weight: 520;
    text-decoration: underline;
    text-underline-offset: 3px;
}




.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.auth-card h1,
.auth-card .auth-sub {
    text-align: center;
}

.auth-footer {
    text-align: center;
}

.auth-footer-links {
    justify-content: center;
}

@media (max-width: 860px) {
    .auth-panel .auth-footer {
        margin-inline: 0;
    }
}



.auth-card:has(#twofa-form:not([hidden])) > .mode-switch,
.auth-card:has(#twofa-form:not([hidden])) > h1,
.auth-card:has(#twofa-form:not([hidden])) > .auth-sub {
    display: none;
}

.site-header.mm-open {
    background: var(--surface);
    border-bottom-color: var(--border);
}

.mm-panel {
    border-top: 1px solid var(--border);
    background: var(--surface);
}

.mm-panel:not([hidden]) {
    animation: mm-reveal 0.32s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes mm-reveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.mm-veil {
    position: fixed;
    inset: 0;
    z-index: 45;
}

.mm-grid {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    padding-block: 30px 38px;
}

.mm-label {
    display: block;
    margin: 0 0 20px;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--text-3);
    text-decoration: none;
}

a.mm-label:hover {
    color: var(--text);
}

.mm-spot {
    display: flex;
    flex-direction: column;
    padding-right: 34px;
    border-right: 1px solid var(--border);
}

.mm-act {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 18px;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.mm-act + .mm-act {
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.mm-act strong {
    font-size: 17px;
    font-weight: 600;
}

.mm-act span {
    font-size: 13px;
    line-height: 1.45;
    color: var(--text-3);
}

.mm-act:hover {
    opacity: 0.7;
}

.mm-cols {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 56px;
    padding-left: 56px;
}

.mm-col {
    min-width: 160px;
    max-width: 240px;
}

.mm-col.is-wide {
    max-width: 340px;
}

.mm-list {
    display: grid;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-list li {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mm-list a {
    display: flex;
    flex-direction: column;
    gap: 6px;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.mm-list a:hover {
    opacity: 0.7;
}

.mm-list strong {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.2;
}

.mm-list small {
    font-size: 12px;
    line-height: 1.35;
    color: var(--text-3);
}




.mm-drill {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.mm-drill-root,
.mm-drill-view {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mm-drill-root {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mm-drill.is-deep .mm-drill-root {
    transform: translateX(-30%);
    opacity: 0;
    pointer-events: none;
}

.mm-drill-view:not([hidden]) {
    animation: mm-slide 0.3s ease both;
}

@keyframes mm-slide {
    from {
        transform: translateX(100%);
    }
    to {
        transform: none;
    }
}

.mm-row {
    position: relative;
    display: block;
    width: 100%;
    padding: 14px 44px 14px 20px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: none;
    font: 500 19px/1.2 var(--font);
    color: var(--text);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.mm-row::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 8px;
    height: 8px;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
}

.mm-row::after {
    right: calc(var(--mm-chevron-x, 26px) - 4px);
    transform: translateY(-50%) rotate(45deg);
}

.mm-drawer {
    --mm-chevron-x: 26px;
}

.mm-drawer .drawer-head {
    padding-right: calc(var(--mm-chevron-x) - 19px);
}

.mm-row.is-link::after {
    content: none;
}

.drawer-back {
    display: none;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-left: -4px;
    padding: 6px 4px;
    border: 0;
    background: none;
    font: 500 17px/1.2 var(--font);
    color: var(--text);
    cursor: pointer;
}

.drawer-back span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-drawer.is-deep .drawer-back {
    display: inline-flex;
}

.site-drawer.is-deep .drawer-head > .brand {
    display: none;
}

.mm-drill-view .mm-sep {
    margin: 0;
    padding: 18px 20px 6px;
}

.mm-drill-view .mm-list {
    gap: 0;
}

.mm-drill-view .mm-list > li > a {
    gap: 4px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
}

.mm-drill-view .mm-list strong {
    font-size: 16.5px;
    font-weight: 500;
}

.mm-drill-view .mm-list small {
    font-size: 13.5px;
}





.mm-opts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mm-opts a,
.mm-opts button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 13px 20px;
    border: 0;
    border-bottom: 1px solid var(--border);
    background: none;
    font: 500 16px/1.3 var(--font);
    color: var(--text-3);
    text-align: left;
    cursor: pointer;
}

.mm-opts small {
    margin-left: 6px;
    font-size: 13px;
    color: var(--text-3);
}

.mm-opts .current,
.mm-opts .active {
    font-weight: 600;
    color: var(--text);
}

.mm-pref-row {
    position: relative;
}

.mm-pref-row .mm-row {
    padding-right: 196px;
}

.mm-pref-icons {
    position: absolute;
    top: 50%;
    right: 44px;
    display: flex;
    gap: 6px;
    transform: translateY(-50%);
}

.mm-pref-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--text) 5%, transparent);
    font: 600 11px var(--font);
    color: var(--text-3);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.mm-pref-ico .icon {
    width: 13px;
    height: 13px;
}

.mm-pref-ico[aria-expanded="true"] {
    background: color-mix(in srgb, var(--text) 12%, transparent);
    color: var(--text);
}

.mm-pref-pop {
    display: grid;
    padding: 0 0 8px;
    border-bottom: 1px solid var(--border);
}

.mm-pref-pop a {
    padding: 10px 20px 10px 36px;
    font: 500 15px/1.3 var(--font);
    color: var(--text-3);
}

.mm-pref-pop small {
    margin-left: 4px;
    font-size: 12.5px;
    color: var(--text-3);
}

.mm-pref-pop .current {
    font-weight: 600;
    color: var(--text);
}

.mm-pref-pop[hidden] {
    display: none;
}

.mm-pref:has(.mm-pref-pop:not([hidden])) .mm-pref-row .mm-row {
    border-bottom-color: transparent;
}

.mm-drawer-foot {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    flex: none;
    gap: 10px;
    padding: 14px 16px calc(20px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
}

.mm-drawer-foot .btn {
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: center;
}

.mm-drawer-foot.is-join {
    display: block;
    border-top: 0;
}

.mm-join {
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
}

.mm-join__title {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.mm-join__text {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-3);
}

.mm-join__actions {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.mm-join__actions .btn {
    min-height: var(--btn-h-step);
    font-size: 13px;
}

@media (max-width: 1080px) {
    .mm-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .mm-spot {
        display: none;
    }

    .mm-cols {
        padding-left: 0;
    }
}

@media (max-width: 820px) {
    .mm-panel,
    .mm-veil {
        display: none;
    }
}

.mm-open .mega-nav > a,
.mm-open .mega-nav .mega-trigger {
    color: var(--text-3);
    transition: color 0.18s ease;
}

.mm-open .mega-nav > a:hover,
.mm-open .mega-nav .mega-trigger:hover,
.mm-open .mega-nav .mega.open .mega-trigger {
    color: var(--text);
}

html.drawer-open,
html.drawer-open body {
    overscroll-behavior: none;
}

.site-drawer {
    overscroll-behavior: contain;
}

.site-drawer .drawer-head,
.site-drawer .mm-drawer-foot,
.drawer-backdrop {
    touch-action: none;
}

.site-header {
    --pill-ease: cubic-bezier(0.65, 0, 0.35, 1);
    --pill-out: cubic-bezier(0.25, 1, 0.5, 1);
    transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header::before {
    transition: opacity 0.35s ease;
}

.site-header .header-inner {
    interpolate-size: allow-keywords;
    border: 1px solid transparent;
    transition:
        width 0.38s var(--pill-ease),
        max-width 0.38s var(--pill-ease),
        height 0.28s var(--pill-ease),
        margin 0.28s var(--pill-ease),
        padding 0.28s var(--pill-ease),
        border-radius 0.38s var(--pill-ease),
        gap 0.28s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header .mega-nav {
    transition: opacity 0.18s ease 0.12s, visibility 0s linear 0s;
}

.site-header.is-pill:not(.mm-open):not(.is-peek) {
    background: transparent;
    border-bottom-color: transparent;
}

.site-header.is-pill:not(.mm-open):not(.is-peek)::before {
    opacity: 0;
}

.site-header.is-pill:not(.mm-open):not(.is-peek) .mega-nav {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.1s ease, visibility 0s linear 0.1s;
}

@media (min-width: 821px) {
    .site-header.is-pill:not(.is-peek):not(.mm-open) .nav-burger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border: 0;
        border-radius: 50%;
        background: transparent;
        color: var(--text);
        cursor: pointer;
    }

    .site-header.is-pill:not(.is-peek):not(.mm-open) .nav-burger:hover {
        background: color-mix(in srgb, var(--text) 6%, transparent);
    }
}

.site-header.is-pill:not(.mm-open):not(.is-peek) .brand-tagline {
    display: none;
}

.site-header.is-pill:not(.mm-open):not(.is-peek) .brand {
    --logo-cap: 96px;
}

.site-header.is-pill:not(.mm-open):not(.is-peek) .header-inner {
    width: fit-content;
    max-width: min(var(--container-w), calc(100% - 20px));
    height: 50px;
    margin-block: 6px;
    padding-inline: 12px 8px;
    gap: 14px;
    border-color: var(--border);
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 0 12px 32px -14px rgb(0 0 0 / 0.35);
    transition:
        width 0.38s var(--pill-out),
        max-width 0.38s var(--pill-out),
        height 0.28s var(--pill-out),
        margin 0.28s var(--pill-out),
        padding 0.28s var(--pill-out),
        border-radius 0.38s var(--pill-out),
        gap 0.28s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.is-pill:not(.mm-open):not(.is-peek) .hdr-locale {
    display: none;
}

@media (max-width: 820px) {
    .site-header.is-pill:not(.mm-open):not(.is-peek) .header-inner {
        margin-top: 12px;
        gap: 8px;
    }

    .site-header.is-pill:not(.mm-open):not(.is-peek) .brand {
        --logo-cap: var(--logo-cap-mobile);
    }

    .site-header .hdr-locale {
        display: none;
    }
}

.fv-f {
    --footer-mark-w: min(1560px, 100%);
    --footer-mark-bottom: -6%;
    --footer-top-pad: 16px;
}

.fv-main {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "intro groups" "cities groups" "stores groups";
    gap: 24px 80px;
    align-items: start;
}

.fv-intro {
    grid-area: intro;
    display: grid;
    gap: 24px;
}

.fv-logo {
    --logo-scale: 1.9;
    justify-self: start;
    margin-bottom: 12px;
}

.fv-join {
    display: grid;
    gap: 6px;
}

.site-footer .fv-join__title {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--footer-text);
}

.fv-join__text {
    margin: 0;
    font-size: var(--fs-md);
    line-height: 1.55;
    color: var(--footer-muted);
}

.fv-choices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px 32px;
    margin-top: 4px;
}

.fv-choice {
    display: grid;
    justify-items: start;
}

.fv-choice .fv-head {
    display: block;
    margin-bottom: 8px;
}

.fv-switch {
    display: none;
    padding: 3px;
    border: 1px solid var(--footer-line);
    border-radius: 999px;
}

.fv-switch a {
    padding: 8px 22px;
    border-radius: 999px;
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    color: var(--footer-muted);
    transition: background 0.15s ease, color 0.15s ease;
}

.fv-switch a:first-child {
    background: var(--footer-text);
    color: var(--footer-bg);
}

.fv-switch a:not(:first-child):hover {
    background: var(--footer-chip);
    color: var(--footer-text);
}

.fv-stores {
    grid-area: stores;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.fv-groups {
    --fv-group-gap: 36px;
    grid-area: groups;
    margin-bottom: calc(-1 * var(--fv-group-gap));
    columns: 3 180px;
    column-gap: 56px;
}

.fv-group {
    display: inline-block;
    width: 100%;
    margin-bottom: var(--fv-group-gap);
    break-inside: avoid;
}

.site-footer .fv-head {
    margin: 0 0 14px;
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    letter-spacing: 0;
    text-transform: none;
    color: var(--footer-dim);
}

.fv-head a {
    color: inherit;
    transition: color 0.15s ease;
}

.fv-head a:hover {
    color: var(--footer-muted);
}

.fv-group ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fv-link {
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--footer-text);
    transition: color 0.15s ease;
}

.fv-link:hover {
    color: var(--footer-muted);
}

.store-badge {
    --badge-bg: #000;
    --badge-fg: #fff;
    --badge-line: color-mix(in srgb, var(--footer-text) 20%, transparent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 18px 0 12px;
    border: 1px solid var(--badge-line);
    border-radius: 10px;
    background: var(--badge-bg);
    color: var(--badge-fg);
    cursor: pointer;
    transition: border-color 0.15s ease;
}

a.store-badge:hover,
.store-badge.tip:hover {
    border-color: color-mix(in srgb, var(--footer-text) 45%, transparent);
}

.store-badge__logo {
    flex: none;
    width: 26px;
    height: 26px;
}

.store-badge__text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
    white-space: nowrap;
}

.store-badge__line {
    font-size: var(--fs-xs);
}

.store-badge__name {
    font-size: 19px;
    font-weight: var(--fw-semibold);
    letter-spacing: -0.01em;
}

.fv-quiet {
    grid-area: cities;
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid var(--footer-line);
}

.fv-quiet > summary {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    font-size: var(--fs-xs);
    color: var(--footer-dim);
    list-style: none;
    cursor: pointer;
}

.fv-quiet > summary::-webkit-details-marker {
    display: none;
}

.fv-quiet > summary .icon {
    transition: transform 0.2s ease;
}

.fv-quiet[open] > summary {
    margin-bottom: 8px;
}

.fv-quiet[open] > summary .icon {
    transform: rotate(180deg);
}

.fv-quiet__rows {
    display: grid;
    gap: 8px;
}

.fv-city {
    font-size: var(--fs-xs);
    line-height: 1.7;
    color: var(--footer-dim);
}

.fv-city__name {
    margin-right: 8px;
    color: var(--footer-dim);
}

.fv-city__name::after {
    content: ":";
}

.fv-city__links {
    display: inline;
    margin: 0;
}

.fv-city__links a {
    margin-right: 12px;
    color: var(--footer-dim);
    transition: color 0.15s ease;
}

.fv-city a:hover {
    color: var(--footer-muted);
}

@media (max-width: 1080px) {
    .fv-main {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: none;
        grid-template-areas: "intro" "groups" "cities" "stores";
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .fv-f {
        --footer-mark-w: 160%;
    }

    .fv-main {
        gap: 24px;
    }

    .fv-groups {
        --fv-group-gap: 28px;
        columns: 2;
        column-gap: 24px;
    }

    .fv-link {
        font-size: var(--fs-md);
    }

    .fv-group ul {
        gap: 12px;
    }

    .fv-intro,
    .fv-join,
    .fv-quiet {
        justify-items: center;
        text-align: center;
    }

    .fv-logo {
        justify-self: center;
    }

    .fv-choices {
        display: none;
    }

    .fv-switch {
        display: inline-flex;
        justify-self: center;
    }

    .fv-quiet > summary {
        margin-inline: auto;
    }

    .fv-stores {
        flex-wrap: nowrap;
        justify-content: center;
        gap: 8px;
    }

    .store-badge {
        gap: 7px;
        height: 40px;
        padding: 0 12px 0 9px;
        border-radius: 8px;
    }

    .store-badge__logo {
        width: 20px;
        height: 20px;
    }

    .store-badge__line {
        font-size: 9px;
    }

    .store-badge__name {
        font-size: 15px;
    }
}

.fv-choices.is-split .fv-link__tail {
    display: block;
}

.cc-bar {
    --cc-gap: var(--corner-gap);
    position: fixed;
    bottom: var(--cc-gap);
    left: var(--cc-gap);
    z-index: 80;
    width: min(400px, calc(100vw - var(--cc-gap) * 2));
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
}

body:has(.locale-suggest) .cc-bar {
    display: none;
}

.cc-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}

.cc-head .icon {
    flex-shrink: 0;
    color: var(--text-2);
}

.cc-head .confirm-x {
    margin: -8px -10px -8px auto;
}

.cc-head .confirm-x .icon {
    color: inherit;
}

.cc-text {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-2);
}

.cc-text a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cc-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.cc-actions .btn {
    min-height: var(--btn-h-sm);
    padding: 6px 16px;
    font-size: 13.5px;
    white-space: nowrap;
}

.cc-manage {
    margin-right: auto;
    white-space: nowrap;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 520;
    color: var(--text-2);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-underline-offset: 3px;
    cursor: pointer;
    transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.cc-manage:hover {
    color: var(--text);
    text-decoration-color: currentColor;
}

.cc-modal {
    display: flex;
    flex-direction: column;
    max-width: 560px;
    max-height: min(720px, calc(calc(var(--dvh) * 100) - 40px));
}

.cc-modal .modal-text {
    margin-bottom: 16px;
}

.cc-scroll {
    flex: 1;
    min-height: 0;
    margin: 0 -24px;
    padding: 0 16px;
    overflow-y: auto;
    scrollbar-gutter: stable both-edges;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: var(--scroll-thumb-muted) transparent;
}

.cc-cats {
    display: grid;
    gap: 8px;
}

.cc-cat {
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.cc-cat-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.cc-cat-toggle {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    text-align: left;
    cursor: pointer;
}

.cc-cat-toggle .icon {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--text-3);
    transition: transform 0.22s ease;
}

.cc-cat.is-open .cc-cat-toggle .icon {
    transform: rotate(90deg);
}

.cc-cat strong {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.cc-count {
    font-size: 11.5px;
    font-weight: 520;
    color: var(--text-3);
}

.cc-cat-desc {
    display: block;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--text-2);
}

.cc-cat .switch {
    flex-shrink: 0;
}

.cc-always {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 520;
    color: var(--text-3);
    white-space: nowrap;
}

.cc-cat-body {
    padding: 0 12px 12px;
}

.cc-cookie {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2px 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    background: var(--surface-2);
    font-size: 12.5px;
    line-height: 1.5;
}

.cc-cookie + .cc-cookie {
    margin-top: 6px;
}

.cc-cookie code {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
}

.cc-cookie span {
    color: var(--text-3);
    text-align: right;
}

.cc-cookie p {
    grid-column: 1 / -1;
    color: var(--text-2);
}

.cc-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4px 16px;
    margin-top: 14px;
    padding: 12px 2px 0;
    border-top: 1px solid var(--border);
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-3);
}

.cc-meta b {
    font-weight: 520;
    color: var(--text-2);
}

.cc-modal .modal-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

@media (max-width: 640px) {
    .cc-bar {
        padding: 14px;
    }

    .cc-head {
        font-size: 13.5px;
    }

    .cc-text {
        font-size: 12.5px;
        line-height: 1.5;
    }

    .cc-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin-top: 10px;
    }

    .cc-manage {
        grid-column: 1 / -1;
        justify-self: start;
        margin: 0 0 4px;
        font-size: 12.5px;
    }

    .cc-actions .btn {
        min-height: var(--btn-h-sm);
        padding: 6px 12px;
        font-size: 13px;
    }

    .cc-modal .modal-actions {
        grid-template-columns: 1fr 1fr;
    }

    .cc-modal .modal-actions .btn-primary {
        grid-column: 1 / -1;
        order: -1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cc-cat-toggle .icon {
        transition: none;
    }
}

