:root {
    --blue: #2f6fed;
    --blue-dark: #1d4ed8;
    --blue-soft: #eaf3ff;
    --ink: #1f2937;
    --text: #374151;
    --muted: #8a97a8;
    --line: #e4eaf1;
    --bg: #eef3f9;
    --white: #ffffff;
    --orange: #f59e0b;
    --green: #10b981;
    --red: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button,
input {
    font: inherit;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #e8edf4;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    background: linear-gradient(135deg, #48a8ff, #1768e5);
    box-shadow: 0 4px 12px rgba(47, 111, 237, .22);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    color: #172033;
    font-size: 17px;
    letter-spacing: .3px;
}

.brand-text small {
    color: #9aa6b6;
    font-size: 9px;
    margin-top: 3px;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 3px;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    flex: 1 1 auto;
}

.main-nav::-webkit-scrollbar {
    display: none;
}

.main-nav a {
    padding: 8px 10px;
    border-radius: 5px;
    color: #546172;
    font-size: 13px;
    white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue);
    background: #f2f7ff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.header-search {
    width: 222px;
    height: 34px;
    display: flex;
    align-items: center;
    border: 1px solid #e1e8f0;
    background: #f8fafc;
    border-radius: 4px;
    overflow: hidden;
}

.header-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    padding: 0 10px;
    font-size: 12px;
}

.header-search input::placeholder {
    color: #9aa7b7;
}

.header-search button {
    border: 0;
    background: transparent;
    color: var(--blue);
    font-size: 18px;
    padding: 0 10px;
    cursor: pointer;
}

.publish-link {
    color: var(--blue);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.publish-link:hover {
    color: var(--blue-dark);
}

.site-main {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
}

.flash {
    margin: 14px auto 0;
    width: min(1180px, calc(100% - 36px));
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 12px;
}

.flash-success {
    background: #e9f9f0;
    color: #087f5b;
}

.flash-error {
    background: #fff0f0;
    color: #b42318;
}

.page-grid {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr) 280px;
    gap: 14px;
    align-items: start;
    padding: 18px 0 24px;
}

.left-sidebar,
.right-sidebar {
    min-width: 0;
}

.side-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: 0 2px 8px rgba(31, 41, 55, .025);
}

.side-title {
    color: #26364b;
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 11px;
}

.side-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 4px 8px;
    border-radius: 4px;
    color: #536174;
    font-size: 12px;
}

.side-nav a span {
    width: 17px;
    text-align: center;
    font-size: 13px;
}

.side-nav a:hover {
    background: #f7faff;
    color: var(--blue);
}

.side-nav a.active {
    background: var(--blue-soft);
    color: var(--blue);
    font-weight: 700;
}

.side-note p {
    color: #7c899a;
    font-size: 11px;
    line-height: 1.8;
}

.content-column {
    min-width: 0;
}

.content-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(31, 41, 55, .025);
}

.save-notice {
    margin: 12px;
    padding: 10px 12px;
    border: 1px solid #cfe6ff;
    background: #eaf4ff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c66b1;
    font-size: 12px;
}

.save-notice strong {
    font-weight: 700;
}

.save-notice .notice-icon {
    font-size: 14px;
}

.save-notice a {
    margin-left: auto;
    color: #1f5dae;
    font-size: 11px;
    white-space: nowrap;
}

.pinned-row {
    margin: 0 12px 0;
    padding: 13px 4px;
    border-bottom: 1px solid #edf1f6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pin-badge {
    flex: 0 0 auto;
    background: var(--blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 3px;
}

.pinned-row a {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    color: #26364b;
}

.pinned-row a:hover {
    color: var(--blue);
}

.pin-date {
    flex: 0 0 auto;
    margin-left: auto;
    color: #9aa6b6;
    font-size: 11px;
}

.post-list {
    padding: 0 12px;
}

.post-row {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid #edf1f6;
}

.post-row:last-child {
    border-bottom: 0;
}

.post-row-main {
    min-width: 0;
    flex: 1;
}

.post-row h3 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #253246;
}

.post-row h3 a {
    transition: color .18s;
}

.post-row h3 a:hover {
    color: var(--blue);
}

.mini-tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.6;
    background: #edf5ff;
    color: #2f6fed;
}

.mini-tag:nth-child(3n) {
    background: #fff6e5;
    color: #d68000;
}

.mini-tag:nth-child(4n) {
    background: #f0edff;
    color: #6d4bd1;
}

.post-row-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 5px;
    color: #9aa6b6;
    font-size: 11px;
}

.post-row-meta a {
    color: #6b7a8f;
}

.post-row-meta a:hover {
    color: var(--blue);
}

.post-row-side {
    flex: 0 0 auto;
    color: #a0aab8;
    font-size: 11px;
}

.empty-state {
    margin: 16px;
    padding: 38px 16px;
    border: 1px dashed #d7e1ec;
    border-radius: 4px;
    text-align: center;
    color: #8d9aab;
    font-size: 12px;
}

.category-head {
    margin: 16px 16px 6px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf1f6;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-head-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: var(--blue-soft);
    font-size: 23px;
    flex: 0 0 auto;
}

.category-head h1 {
    font-size: 23px;
    line-height: 1.3;
    color: #253246;
}

.category-head p {
    color: #8d9aab;
    font-size: 11px;
    margin-top: 2px;
}

.category-head-count {
    margin-left: auto;
    color: var(--blue);
    font-size: 11px;
    white-space: nowrap;
}

.home-about-card {
    margin-top: 14px;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #edf1f6;
    color: #26364b;
    font-size: 13px;
    font-weight: 800;
}

.section-title a {
    color: var(--blue);
    font-size: 11px;
    font-weight: 500;
}

.home-about-card p {
    padding: 14px 16px 18px;
    color: #768496;
    font-size: 12px;
    line-height: 1.9;
}

.announcement-text {
    color: #728094;
    font-size: 11px;
    line-height: 1.9;
}

.side-search {
    display: flex;
    height: 34px;
    border: 1px solid #dfe7f0;
    border-radius: 3px;
    overflow: hidden;
}

.side-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 9px;
    color: #374151;
    font-size: 11px;
}

.side-search input::placeholder {
    color: #9aa7b7;
}

.side-search button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 11px;
    font-size: 11px;
    cursor: pointer;
}

.hot-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.hot-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.hot-number {
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border-radius: 3px;
    background: #eef2f7;
    color: #8491a4;
    font-size: 10px;
    font-weight: 700;
    display: grid;
    place-items: center;
    margin-top: 1px;
}

.hot-number.hot-top {
    background: #fff1f0;
    color: #e2483d;
}

.hot-list a {
    color: #66768a;
    font-size: 11px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hot-list a:hover {
    color: var(--blue);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px;
    border-bottom: 1px solid #edf1f6;
    color: #9aa6b6;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
}

.breadcrumb a:hover {
    color: var(--blue);
}

.breadcrumb span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.article-card {
    padding-bottom: 4px;
}

.article-head {
    padding: 22px 26px 18px;
}

.article-category {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
}

.article-head h1 {
    color: #1f2937;
    font-size: 27px;
    line-height: 1.4;
    margin: 9px 0 8px;
    letter-spacing: -.3px;
}

.article-excerpt {
    color: #7b8899;
    font-size: 12px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 12px;
    color: #9aa6b6;
    font-size: 11px;
}

.article-meta span:last-child {
    color: #7b8899;
}

.article-cover {
    margin: 0 26px 10px;
    border-radius: 4px;
    overflow: hidden;
    max-height: 400px;
}

.article-cover img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.article-content {
    padding: 12px 26px 26px;
    color: #3b4758;
    font-size: 14px;
    line-height: 1.95;
}

.article-content h2 {
    color: #1f2937;
    font-size: 21px;
    margin: 28px 0 10px;
}

.article-content h3 {
    color: #1f2937;
    font-size: 17px;
    margin: 22px 0 8px;
}

.article-content p,
.article-content div {
    margin: 12px 0;
}

.article-content ul,
.article-content ol {
    margin: 12px 0;
    padding-left: 22px;
}

.article-content li {
    margin: 5px 0;
}

.article-content a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content blockquote {
    margin: 18px 0;
    padding: 10px 15px;
    border-left: 3px solid #b9d7ff;
    background: #f7fbff;
    color: #5a6b7f;
}

.article-content code {
    background: #f1f5f9;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
}

.article-content img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border-radius: 8px;
}

.article-content video {
    display: block;
    width: 100%;
    max-height: 78vh;
    margin: 18px 0;
    border-radius: 8px;
    background: #0f1722;
}

.article-foot {
    margin: 0 26px;
    padding: 14px 0 18px;
    border-top: 1px solid #edf1f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tag-row span {
    padding: 2px 6px;
    border-radius: 3px;
    background: #f1f5f9;
    color: #7b8899;
    font-size: 10px;
}

.back-link {
    color: var(--blue);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

.search-head {
    padding: 20px 18px 5px;
}

.search-head h1 {
    color: #253246;
    font-size: 23px;
    margin-bottom: 12px;
}

.main-search {
    display: flex;
    max-width: 620px;
    height: 38px;
    border: 1px solid #dfe7f0;
    border-radius: 4px;
    overflow: hidden;
}

.main-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    padding: 0 12px;
    font-size: 12px;
}

.main-search button {
    border: 0;
    background: var(--blue);
    color: #fff;
    padding: 0 16px;
    font-size: 12px;
    cursor: pointer;
}

.search-hint {
    color: #8d9aab;
    font-size: 11px;
    padding: 10px 0 8px;
}

.not-found {
    padding: 70px 24px;
    text-align: center;
}

.not-found h1 {
    color: #253246;
    font-size: 30px;
    margin: 8px 0;
}

.not-found p {
    color: #8d9aab;
    margin-bottom: 18px;
}

.primary-btn {
    display: inline-block;
    background: var(--blue);
    color: #fff;
    padding: 9px 18px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 18px 12px 22px;
}

.pagination a,
.pagination .current {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    display: grid;
    place-items: center;
    border: 1px solid #e1e8f0;
    border-radius: 3px;
    background: #fff;
    color: #7b8899;
    font-size: 11px;
}

.pagination a:hover,
.pagination .current {
    background: var(--blue);
    border-color: var(--blue);
    color: #fff;
}

.about-page {
    padding: 24px 26px 32px;
}

.about-page h1 {
    color: #253246;
    font-size: 27px;
    margin-bottom: 8px;
}

.about-page .article-content {
    padding: 8px 0 0;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
    margin-top: 10px;
}

.footer-inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0 12px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer-brand {
    color: #26364b;
    font-size: 14px;
    font-weight: 800;
}

.footer-inner p {
    color: #9aa6b6;
    font-size: 10px;
    margin-top: 3px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-links a {
    color: #7b8899;
    font-size: 11px;
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-friends {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    padding-bottom: 8px;
}

.footer-friends-label {
    color: #9aa6b6;
}

.footer-friends a {
    color: #7b8899;
    font-size: 10px;
}

.footer-friends a:hover {
    color: var(--blue);
}

.footer-copy {
    color: #a5b0be;
    font-size: 10px;
}

.footer-bottom {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 10px 0 18px;
    border-top: 1px solid #f1f5f9;
    color: #a5b0be;
    font-size: 10px;
}

@media (max-width: 1120px) {
    .page-grid {
        grid-template-columns: 190px minmax(0, 1fr) 250px;
    }
    .header-inner {
        gap: 14px;
    }
    .main-nav a {
        padding: 7px 7px;
        font-size: 12px;
    }
    .header-search {
        width: 170px;
    }
}

@media (max-width: 900px) {
    .page-grid {
        grid-template-columns: minmax(0, 1fr) 250px;
    }
    .left-sidebar {
        display: none;
    }
    .header-search {
        display: none;
    }
}

@media (max-width: 700px) {
    .header-inner,
    .site-main,
    .footer-inner,
    .footer-bottom,
    .flash {
        width: calc(100% - 24px);
    }
    .header-inner {
        min-height: 60px;
        flex-wrap: wrap;
        padding: 9px 0;
        gap: 8px;
    }
    .brand-mark {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    .brand-text strong {
        font-size: 15px;
    }
    .brand-text small {
        display: none;
    }
    .main-nav {
        order: 3;
        flex-basis: 100%;
        padding-bottom: 3px;
    }
    .main-nav a {
        padding: 5px 7px;
        font-size: 11px;
    }
    .publish-link {
        margin-left: auto;
        font-size: 11px;
    }
    .page-grid {
        display: block;
        padding-top: 10px;
    }
    .right-sidebar {
        margin-top: 14px;
    }
    .save-notice {
        margin: 9px;
        font-size: 11px;
    }
    .save-notice a {
        display: none;
    }
    .pinned-row {
        margin: 0 9px;
        gap: 7px;
    }
    .pinned-row a {
        font-size: 12px;
    }
    .post-list {
        padding: 0 9px;
    }
    .post-row {
        padding: 13px 3px;
        gap: 8px;
    }
    .post-row h3 {
        font-size: 14px;
    }
    .post-row-side {
        font-size: 10px;
    }
    .post-row-meta {
        gap: 8px;
    }
    .article-head {
        padding: 18px 15px 14px;
    }
    .article-head h1 {
        font-size: 23px;
    }
    .article-content {
        padding: 8px 15px 20px;
        font-size: 13px;
    }
    .article-content h2 {
        font-size: 19px;
        margin-top: 24px;
    }
    .article-foot {
        margin: 0 15px;
        align-items: start;
        flex-direction: column;
    }
    .category-head {
        margin: 12px 12px 4px;
    }
    .category-head h1 {
        font-size: 21px;
    }
    .category-head-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    .search-head {
        padding: 15px 12px 4px;
    }
    .main-search {
        height: 36px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 8px;
        padding-top: 16px;
    }
    .footer-links {
        flex-wrap: wrap;
        gap: 9px;
    }
    .about-page {
        padding: 18px 15px 24px;
    }
    .about-page h1 {
        font-size: 23px;
    }
}

/* 内容类型徽章 */
.post-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
    vertical-align: 1px;
    white-space: nowrap;
}

.post-type-badge.type-article { background: #eef2f7; color: #5b6b7f; }
.post-type-badge.type-image { background: #eaf3ff; color: #1d63c8; }
.post-type-badge.type-video { background: #f3eaff; color: #7a3fc0; }
.post-type-badge.type-moment { background: #fff2e6; color: #b05a12; }

.article-head-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

/* 图片九宫格 / 视频 */
.moment-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    margin: 14px 0 4px;
    overflow: hidden;
    border-radius: 10px;
}

.moment-gallery.single {
    grid-template-columns: 1fr;
}

.moment-media-item {
    display: block;
    overflow: hidden;
    background: #eef2f7;
}

.moment-gallery[data-count="2"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moment-gallery[data-count="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.moment-gallery:not(.single) .moment-media-item {
    aspect-ratio: 1 / 1;
}

.moment-gallery.single .moment-media-item {
    max-height: 620px;
}

.moment-media-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.moment-gallery.single .moment-media-item img {
    height: auto;
    max-height: 620px;
    object-fit: contain;
}

.moment-media-item:hover img {
    transform: scale(1.02);
}

.moment-video {
    margin: 14px 0 4px;
    border-radius: 10px;
    overflow: hidden;
    background: #0f1722;
}

.moment-video video {
    display: block;
    width: 100%;
    max-height: 78vh;
    background: #0f1722;
}

/* 动态信息流 */
.moments-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line, #e8edf4);
}

.moments-head h1 {
    margin: 4px 0 6px;
    font-size: 28px;
}

.moments-head p {
    margin: 0;
    color: #66768a;
    font-size: 14px;
    line-height: 1.8;
}

.moment-list {
    display: flex;
    flex-direction: column;
}

.moment-card {
    padding: 22px 2px;
    border-bottom: 1px solid var(--line, #e8edf4);
}

.moment-card:last-child {
    border-bottom: 0;
    padding-bottom: 4px;
}

.moment-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

.moment-category {
    color: #4d5f75;
    text-decoration: none;
}

.moment-head time {
    margin-left: auto;
    color: #97a3b3;
    font-size: 12px;
}

.moment-title {
    margin: 9px 0 0;
    font-size: 20px;
    line-height: 1.45;
}

.moment-title a {
    color: #162235;
    text-decoration: none;
}

.moment-title a:hover {
    color: #2563eb;
}

.moment-text {
    margin: 8px 0 0;
    color: #3f4d61;
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
}

.moment-text p {
    margin: 0 0 8px;
}

.moment-foot {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
    color: #97a3b3;
    font-size: 12px;
}

.moment-foot a {
    color: #60728a;
    text-decoration: none;
}

/* 首页最新动态 */
.home-moments {
    margin: 12px 0 14px;
    padding: 14px 0 16px;
    border-top: 1px dashed #e4eaf3;
    border-bottom: 1px dashed #e4eaf3;
}

.home-moment-strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}

.home-moment-strip.single {
    grid-template-columns: 1fr;
}

.home-moment-strip.single .home-moment-item {
    gap: 12px;
    padding: 10px 12px;
}

.home-moment-strip.single .home-moment-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
    font-size: 24px;
}

.home-moment-strip.single .home-moment-body strong {
    -webkit-line-clamp: 1;
    font-size: 14px;
}

.home-moment-item {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    padding: 8px;
    border: 1px solid #e6ecf4;
    border-radius: 10px;
    background: #fbfcfe;
    text-decoration: none;
    transition: border-color .15s ease, background .15s ease;
}

.home-moment-item:hover {
    border-color: #bcd0ef;
    background: #f4f8ff;
}

.home-moment-thumb {
    flex: 0 0 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border-radius: 8px;
    background: #eaf0f8;
    font-size: 20px;
}

.home-moment-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-moment-body {
    min-width: 0;
}

.home-moment-body strong {
    display: -webkit-box;
    overflow: hidden;
    color: #26364b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.home-moment-body small {
    display: block;
    margin-top: 3px;
    color: #93a0b0;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 900px) {
    .home-moment-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .moment-gallery {
        gap: 3px;
    }
    .moments-head {
        flex-direction: column;
    }
    .moment-title {
        font-size: 18px;
    }
    .home-moment-strip {
        grid-template-columns: 1fr;
    }
    .home-moment-item {
        padding: 7px;
    }
}
