.site-header {
    background: #a29bfe;
    color: #fff;
}

.site-header-inner {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px clamp(16px, 4vw, 36px);
}

.site-header-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.site-social-links {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.site-social-links a {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 6px;
    background: rgba(108, 92, 231, 0.35);
    color: #fff !important;
    font-size: 18px;
    transition: background-color 0.25s;
}

.site-social-links a:hover {
    background: #6c5ce7;
}

.site-social-youtube i {
    color: #fff;
}

.site-social-bilibili img {
    filter: brightness(0) invert(1);
}

.site-header a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.site-header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header-affiliation {
    text-align: center;
}

.site-header-wordmark {
    color: #fff;
    font: 28px/1.05 Helvetica, Arial, sans-serif;
}

.site-header-wordmark-bars {
    font-size: 8px;
}

.site-header-wordmark-small {
    font-size: 20px;
}

.site-header-affiliation a:any-link {
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: 13px;
}

.site-header-affiliation a:hover {
    color: #fff !important;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.site-header-seal-link {
    display: block;
    border-radius: 50%;
    transition: transform 0.25s, opacity 0.25s;
}

.site-header-seal-link:hover {
    transform: scale(1.04);
    opacity: 0.92;
}

.site-header-seal {
    display: block;
}

@media (hover: none) and (pointer: coarse) {
    .site-header-title {
        font-size: 42px;
    }

    .site-social-links a {
        width: 54px;
        height: 54px;
        font-size: 25px;
    }

    .site-social-links img {
        width: 24px;
        height: 24px;
    }
}
