.stardll-support,
.stardll-support * {
    box-sizing: border-box;
}

.stardll-support {
    position: fixed;
    right: 70px;
    bottom: 100px;
    bottom: clamp(16px, calc(100vh - 160px), 100px);
    z-index: 1000;
    display: none;
    width: 64px;
    color: #333;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

.stardll-support__service {
    position: relative;
    width: 64px;
    height: 72px;
}

.stardll-support__entry {
    display: flex;
    width: 64px;
    height: 72px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 4px;
    background: #0077ff;
    color: #fff;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.stardll-support__entry:visited {
    color: #fff;
}

.stardll-support__entry:hover,
.stardll-support__entry:focus-visible,
.stardll-support.is-open .stardll-support__entry {
    background: #0045ff;
    color: #fff;
    text-decoration: none;
}

.stardll-support__icon {
    display: block;
    width: 26px;
    height: 26px;
    flex: none;
}

.stardll-support__label {
    display: block;
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
}

.stardll-support__card {
    position: absolute;
    top: 0;
    right: 100%;
    width: 264px;
    max-height: calc(100vh - 32px);
    padding-right: 16px;
}

.stardll-support__card[hidden],
.stardll-support__top-button[hidden] {
    display: none;
}

.stardll-support__card-body {
    width: 248px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding: 20px;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 0 0 1px #e8edf3, 0 4px 24px rgba(20, 45, 80, 0.16);
    text-align: center;
}

.stardll-support__title {
    margin: 0 0 12px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
}

.stardll-support__qrcode {
    display: block;
    width: 200px;
    height: 260px;
    max-width: none;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
}

.stardll-support__hint {
    margin: 12px 0;
    color: #666;
    font-size: 12px;
    line-height: 20px;
    white-space: nowrap;
}

.stardll-support__contact-link {
    display: flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 4px;
    background: #0077ff;
    color: #fff;
    font-size: 14px;
    line-height: 24px;
    text-decoration: none;
    cursor: pointer;
}

.stardll-support__contact-link:visited {
    color: #fff;
}

.stardll-support__contact-link:hover,
.stardll-support__contact-link:focus-visible {
    background: #0045ff;
    color: #fff;
    text-decoration: none;
}

.stardll-support__top-slot {
    width: 64px;
    height: 64px;
    margin-top: 8px;
}

.stardll-support__top-button {
    display: flex;
    width: 64px;
    height: 64px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid #e8edf3;
    border-radius: 4px;
    background: #fff;
    color: #697586;
    box-shadow: 0 2px 10px rgba(20, 45, 80, 0.08);
    font: inherit;
    cursor: pointer;
}

.stardll-support__top-button:hover,
.stardll-support__top-button:focus-visible {
    border-color: #0045ff;
    color: #0045ff;
}

.stardll-support__entry:focus-visible,
.stardll-support__contact-link:focus-visible,
.stardll-support__top-button:focus-visible {
    outline: 3px solid #ffbf47;
    outline-offset: 3px;
}

@media (min-width: 1024px) {
    .stardll-support {
        display: block;
    }
}
