@media (max-width: 600px) {
    #topbar {
        padding: 0 10px;
        gap: 0;
        justify-content: space-between;
    }
    .topbar-center {
        flex: 1;
        justify-content: center;
    }
    .topbar-official-link {
        display: none;
    }
    .theme-btn {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
    .article-wrap {
        padding-bottom: 24px;
    }
    .ft-inner { padding: 0 14px; }
    .ft-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px 0 20px;
    }
    .ft-copy, .ft-badge { font-size: 10px; }
    .ft-link { font-size: 11px; }
}

h1.site-title__h1-seo {
    color: #8b949e !important;
    text-shadow: none !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    margin: 4px 0 0 !important;
    letter-spacing: 0.1px;
    text-align: center;
    line-height: 1.4;
}
[data-theme="light"] h1.site-title__h1-seo {
    color: #64748b !important;
}
@media (max-width: 600px) {
    h1.site-title__h1-seo { font-size: 12px !important; }
}

footer {
    margin-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 0;
    text-align: left;
    color: inherit;
    font-size: inherit;
}
footer a { color: inherit; }

.ft-inner {
    max-width: 940px;
    margin: 0 auto;
    padding: 0 20px;
}
.ft-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 0 20px;
}
.ft-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #3a3f48;
    cursor: default;
}
.ft-badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2f9e52;
    flex-shrink: 0;
    animation: ftDotPulse 2.5s ease-in-out infinite;
}
@keyframes ftDotPulse {
    0%, 100% { opacity: 1;   transform: scale(1);    }
    50%       { opacity: 0.4; transform: scale(0.75); }
}
.ft-mid {
    display: flex;
    align-items: center;
    gap: 2px;
}
.ft-link {
    font-size: 12px;
    color: #555d66;
    text-decoration: none;
    padding: 4px 7px;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    -webkit-tap-highlight-color: transparent;
}
.ft-link:hover { color: #8b949e; background: rgba(255,255,255,0.04); }
.ft-sep {
    font-size: 11px;
    color: #2a2f38;
    user-select: none;
    padding: 0 1px;
}
.ft-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.ft-copy { font-size: 11px; color: #3a3f48; }
.ft-version {
    font-size: 10px;
    color: #2d3138;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.04);
    border-radius: 4px;
    padding: 1px 6px;
    font-family: "Courier New", monospace;
    letter-spacing: 0.2px;
}

[data-theme="light"] footer         { border-top-color: rgba(0,0,0,0.07); }
[data-theme="light"] .ft-badge      { color: #94a3b8; }
[data-theme="light"] .ft-badge-dot  { background: #16a34a; }
[data-theme="light"] .ft-link       { color: #94a3b8; }
[data-theme="light"] .ft-link:hover { color: #475569; background: rgba(0,0,0,0.04); }
[data-theme="light"] .ft-sep        { color: #cbd5e1; }
[data-theme="light"] .ft-copy       { color: #94a3b8; }
[data-theme="light"] .ft-version    { color: #94a3b8; background: rgba(0,0,0,0.03); border-color: rgba(0,0,0,0.07); }

a.art-teaser,
a.art-teaser:link,
a.art-teaser:visited {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 13px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.018);
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s, transform 0.12s;
    -webkit-tap-highlight-color: transparent;
}
a.art-teaser:hover {
    border-color: rgba(88, 166, 255, 0.35);
    background: rgba(88, 166, 255, 0.06);
    transform: translateX(2px);
}
.art-teaser__icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(88, 166, 255, 0.1);
    border: 1px solid rgba(88, 166, 255, 0.22);
    color: var(--accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.2px;
}
.art-teaser__title {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: #e6edf3;
    line-height: 1.35;
}
.art-teaser__arrow {
    flex-shrink: 0;
    color: var(--muted);
    font-size: 15px;
    transition: color 0.15s, transform 0.15s;
}
a.art-teaser:hover .art-teaser__arrow {
    color: var(--accent);
    transform: translateX(2px);
}
[data-theme="light"] a.art-teaser,
[data-theme="light"] a.art-teaser:visited {
    background: rgba(0, 0, 0, 0.018);
    border-color: rgba(0, 0, 0, 0.065);
}
[data-theme="light"] a.art-teaser:hover {
    border-color: rgba(37, 99, 235, 0.28);
    background: rgba(37, 99, 235, 0.05);
}
[data-theme="light"] .art-teaser__title { color: #0f172a; }
[data-theme="light"] .art-teaser__icon {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.18);
}
.home-articles-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.home-articles-list .art-teaser {
    margin-top: 0;
}