.account-not-found-page {
    min-height: 100vh;
    margin: 0;
    background: #ffffff;
    color: #212121;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.account-not-found-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 28px;
    background:
        linear-gradient(90deg, rgba(255, 0, 51, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(33, 33, 33, 0.045) 1px, transparent 1px);
    background-size: 44px 44px;
}

.account-not-found-card {
    position: relative;
    width: min(100%, 1120px);
    min-height: 640px;
    display: grid;
    grid-template-columns: minmax(280px, 42%) minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(33, 33, 33, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(33, 33, 33, 0.12);
}

.account-not-found-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 8px;
    background: #ff0033;
}

.account-not-found-visual {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    background: #212121;
}

.account-not-found-visual::before,
.account-not-found-visual::after {
    content: "";
    position: absolute;
    background: #ff0033;
    transform: rotate(-18deg);
}

.account-not-found-visual::before {
    width: 180px;
    height: 620px;
    top: -120px;
    left: 48px;
}

.account-not-found-visual::after {
    width: 72px;
    height: 460px;
    right: 52px;
    bottom: -110px;
    opacity: .82;
}

.account-not-found-brand {
    position: absolute;
    left: 36px;
    top: 34px;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 82px;
    height: 82px;
    border: none !important;
    border-radius: 50%;
    color: #ffffff;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .02em;
}

.account-not-found-route {
    position: absolute;
    z-index: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    transform-origin: left center;
}

.account-not-found-route-primary {
    width: 320px;
    left: 96px;
    top: 278px;
    transform: rotate(28deg);
}

.account-not-found-route-secondary {
    width: 220px;
    right: 34px;
    bottom: 168px;
    transform: rotate(-34deg);
}

.account-not-found-marker {
    position: absolute;
    right: 58px;
    top: 170px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: #ff0033;
    color: #ffffff;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.account-not-found-marker svg {
    width: 44px;
    height: 44px;
}

.account-not-found-content {
    position: relative;
    z-index: 1;
    align-self: center;
    max-width: 620px;
    padding: 72px clamp(28px, 6vw, 76px);
}

.account-not-found-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid rgba(255, 0, 51, 0.24);
    border-radius: 999px;
    background: rgba(255, 0, 51, 0.08);
    color: #ff0033;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.account-not-found-badge svg,
.account-not-found-button svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.account-not-found-code {
    display: block;
    margin: 34px 0 0;
    color: #ff0033;
    font-size: clamp(78px, 11vw, 132px);
    line-height: .78;
    font-weight: 950;
}

.account-not-found-title {
    margin: 26px 0 0;
    max-width: 560px;
    color: #212121;
    font-size: clamp(34px, 5vw, 56px);
    line-height: .98;
    font-weight: 950;
}

.account-not-found-copy {
    margin: 22px 0 0;
    max-width: 540px;
    color: rgba(33, 33, 33, 0.72);
    font-size: 18px;
    line-height: 1.65;
}

.account-not-found-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    margin-top: 30px;
    padding: 0 24px;
    border: 2px solid #ff0033;
    border-radius: 8px;
    background: #ff0033;
    color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 26px rgba(255, 0, 51, 0.18);
}

.account-not-found-button:hover,
.account-not-found-button:focus-visible {
    background: #212121;
    border-color: #212121;
}

.account-not-found-note {
    margin: 20px 0 0;
    max-width: 520px;
    color: rgba(33, 33, 33, 0.68);
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 820px) {
    .account-not-found-shell {
        padding: 16px;
    }

    .account-not-found-card {
        min-height: calc(100vh - 32px);
        grid-template-columns: 1fr;
    }

    .account-not-found-visual {
        min-height: 180px;
    }

    .account-not-found-visual::before {
        width: 140px;
        height: 360px;
        top: -128px;
        left: 42%;
    }

    .account-not-found-visual::after,
    .account-not-found-route {
        display: none;
    }

    .account-not-found-brand {
        left: 22px;
        top: 26px;
        width: 64px;
        height: 64px;
        font-size: 22px;
    }

    .account-not-found-marker {
        right: 22px;
        top: 48px;
        width: 72px;
        height: 72px;
    }

    .account-not-found-marker svg {
        width: 36px;
        height: 36px;
    }

    .account-not-found-content {
        padding: 44px 24px 52px;
    }

    .account-not-found-copy {
        font-size: 16px;
    }
}
