body.public-route-support {
    min-height: 100dvh;
    min-height: 100dvh;
    margin: 0;
    overflow-x: clip;
    background: var(--public-canvas, #0b0d10);
    color: var(--public-text, #fff8e6);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.support-shell {
    width: 100%;
    max-width: 480px;
    min-height: 100dvh;
    min-height: 100dvh;
    margin: 0 auto;
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    overflow-x: clip;
    background:
        linear-gradient(180deg, rgb(7 17 31 / 98%), rgb(10 28 49 / 96%) 48%, rgb(7 17 31 / 100%)),
        var(--public-canvas, #0b0d10);
}

.support-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    min-height: calc(56px + env(safe-area-inset-top));
    padding: env(safe-area-inset-top) 8px 0;
    background: rgb(7 8 7 / 94%);
    border-bottom: 1px solid var(--public-border-soft, rgb(255 229 154 / 15%));
    color: var(--public-text, #fff8e6);
    backdrop-filter: blur(16px);
}

body.public-route-support .support-header h1 {
    margin: 0;
    overflow: hidden;
    font-size: 16px !important;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.support-back {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    color: var(--public-accent-strong, #ffe59a);
    background: rgb(255 255 255 / 6%);
    border: 1px solid var(--public-border-soft, rgb(255 229 154 / 15%));
    border-radius: 12px;
    text-decoration: none;
}

.support-back:focus-visible,
.support-contact:focus-visible {
    outline: 3px solid var(--public-accent-strong, #ffe59a);
    outline-offset: 2px;
}

.support-header-spacer {
    width: 44px;
    height: 44px;
}

.support-hero {
    position: relative;
    min-height: 230px;
    overflow: hidden;
    margin: 12px;
    background: var(--public-surface, #18212b);
    border: 1px solid var(--public-border-soft, rgb(255 229 154 / 15%));
    border-radius: 18px;
}

.support-hero > img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 230px;
    object-fit: cover;
    object-position: 72% center;
}

.support-hero-copy {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    padding: 16px 22px 24px;
    background:
        linear-gradient(90deg, rgb(5 8 12 / 82%) 0%, rgb(5 8 12 / 58%) 54%, rgb(5 8 12 / 12%) 100%),
        linear-gradient(180deg, rgb(5 8 12 / 32%), rgb(5 8 12 / 82%));
    color: var(--public-text, #fff8e6);
}

.support-logo {
    width: min(128px, 42vw);
    height: auto;
    max-height: 44px;
    object-fit: contain;
    padding: 3px 6px;
    background: rgb(7 17 31 / 58%);
    border: 1px solid rgb(255 229 154 / 16%);
    border-radius: 8px;
}

body.public-route-support .support-hero-copy h2 {
    margin: 0 0 5px;
    font-size: 24px !important;
    line-height: 1.2;
}

body.public-route-support .support-hero-copy p {
    margin: 0;
    font-size: 14px !important;
    line-height: 1.45;
}

.support-contacts {
    display: grid;
    gap: 10px;
    margin: 0 12px;
}

.support-contact {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    min-height: 76px;
    padding: 10px 18px;
    background: linear-gradient(145deg, var(--public-surface, #18212b), var(--public-surface-soft, #121820));
    border: 1px solid var(--public-border-soft, rgb(255 229 154 / 15%));
    border-radius: 14px;
    color: var(--public-text, #fff8e6);
    text-decoration: none;
}

.support-contact.is-disabled {
    opacity: 0.58;
}

.support-contact-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.25rem;
}

.support-contact-icon--chat {
    background: rgb(50 213 131 / 14%);
    color: var(--public-positive, #32d583);
}

.support-contact-icon--telegram {
    background: rgb(56 189 248 / 14%);
}

.support-contact-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.support-contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 3px;
}

body.public-route-support .support-contact-copy strong {
    font-size: 16px !important;
}

body.public-route-support .support-contact-copy small {
    color: var(--public-text-muted, #afa38b);
    font-size: 13px !important;
}

.support-contact-arrow {
    color: var(--public-accent, #dcae49);
}

@media (max-width: 340px) {
    body.public-route-support .support-header h1 {
        font-size: 15px !important;
    }

    .support-hero-copy {
        padding-inline: 18px;
    }

    .support-contact {
        padding-inline: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
