/* ============================================================
   LiveBBS「关于」页专属样式（公共基础样式见 common.css）
   ============================================================ */

body {
    padding-top: 65px;
}

h1 {
    font-family: Smileysans;
    background-image: linear-gradient(90deg, #1a6fbf, #4a9eff, #1a3a5c);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    font-size: 45px;
    margin: 10px;
    margin-left: 25px;
}

#avatar {
    max-width: 80%;
    height: auto;
}

@media (min-width: 769px) {
    #avatar {
        max-width: 450px;
    }
}

/* ---- 站点/工具Logo链接（Cloudflare、Copilot、Deepseek、Github） ---- */
main > a,
.opensource a,
main article a {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 6px 10px;
    border-radius: 12px;
    vertical-align: middle;
    transition: transform 240ms cubic-bezier(.2,.9,.2,1),
                background 300ms ease,
                box-shadow 300ms ease;
}

main > a img,
main article a img,
main article a svg {
    display: block;
    flex-shrink: 0;
    width: auto;
    max-height: 46px;
}

main > a span,
main article a span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: color 220ms ease, filter 220ms ease;
    transform: translateY(2px);
}

main > a:hover,
.opensource a:hover,
main article a:hover {
    transform: translateY(-4px) scale(1.04);
}

@media (max-width: 420px) {
    main > a span,
    main article a span {
        transform: translateY(1px);
    }
    main > a img,
    main article a img,
    main article a svg {
        max-height: 38px;
    }
}

h4 {
    margin-top: 5px;
    margin-bottom: 5px;
}

h3 {
    margin-top: 8px;
    margin-bottom: 8px;
    color: #2c5a8c;
}

#friend {
    font-size: 20px;
    background: linear-gradient(90deg, #1a6fbf, #4a9eff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Smileysans';
}

span {
    font-family: 'Smileysans';
    color: #1a3a5c;
    font-size: 30px;
}

.opensource {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.opensource h5,
a {
    margin: 0;
    padding: 0;
}

h4 {
    display: inline-block;
    font-family: Smileysans;
    color: #2c5a8c;
}
