/* 一秒互联公司  www.yimiaonet.com */
.community-modern-mark-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 14px 22px;
    border-bottom: 1px solid #edf0f4;
    background: #fff;
}

.community-modern-mark-filters a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid #e2e6ec;
    border-radius: 6px;
    color: #4e5969;
    font-size: 12px;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.community-modern-mark-filters a:hover,
.community-modern-mark-filters a.is-active {
    border-color: #b8d1f6;
    background: #edf4ff;
    color: #1769e0;
}

.community-modern-mark-filters span {
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 5px;
}

.community-modern-mark-filters svg { width: 13px; height: 13px; }
.community-modern-mark-filters .is-recommended { background: #fff0f0; color: #d93838; }
.community-modern-mark-filters .is-featured { background: #fff5df; color: #c77800; }
.community-modern-mark-filters .is-pinned { background: #eaf2ff; color: #1769e0; }
.community-modern-mark-filters .is-must-read { background: #e7f8f0; color: #138a59; }

.community-modern-post-labels .is-recommended { --label-color: #d93838; }
.community-modern-post-labels .is-featured { --label-color: #c77800; }
.community-modern-post-labels .is-pinned { --label-color: #1769e0; }
.community-modern-post-labels .is-must-read { --label-color: #138a59; }

.community-points-card {
    border-top: 3px solid #1769e0;
}

.community-points-balance {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 4px 12px;
    padding: 14px;
    border-radius: 7px;
    background: #f5f8fd;
}

.community-points-balance span,
.community-points-balance small { color: #86909c; font-size: 12px; }
.community-points-balance strong { color: #1769e0; font-size: 24px; line-height: 1; }
.community-points-balance small { grid-column: 1 / -1; line-height: 1.6; }
.community-points-card > button {
    width: 100%;
    min-height: 42px;
    margin-top: 10px;
    border: 0;
    border-radius: 6px;
    background: #1769e0;
    color: #fff;
    cursor: pointer;
    font-weight: 600;
}
.community-points-card > button:disabled { cursor: default; opacity: .7; }
.community-checkin-avatars { display: flex; margin-top: 12px; }
.community-checkin-avatars img { width: 30px; height: 30px; margin-right: -6px; border: 2px solid #fff; border-radius: 50%; object-fit: cover; }

.community-ranking-card ol li { align-items: center; }
.community-ranking-card ol img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.community-ranking-card ol span { min-width: 0; flex: 1; }
.community-ranking-card ol span strong,
.community-ranking-card ol span small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-ranking-card ol span strong { font-size: 13px; }
.community-ranking-card ol span small { margin-top: 2px; color: #86909c; font-size: 10px; }
.community-ranking-card ol em { color: #df651f; font-size: 12px; font-style: normal; font-weight: 600; }

.community-moderator-card > div > a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 9px 0;
    border-bottom: 1px solid #edf0f4;
}
.community-moderator-card > div > a:last-child { border-bottom: 0; }
.community-moderator-card img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.community-moderator-card strong,
.community-moderator-card small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.community-moderator-card strong { font-size: 13px; }
.community-moderator-card small { margin-top: 3px; color: #138a59; font-size: 11px; }

.community-badge-showcase > div { display: flex; flex-wrap: wrap; gap: 7px; }
.community-badge-showcase > div > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 28px;
    padding: 0 8px;
    border: 1px solid color-mix(in srgb, var(--badge-color) 35%, #e5e8ef);
    border-radius: 5px;
    background: color-mix(in srgb, var(--badge-color) 8%, #fff);
    color: var(--badge-color);
    font-size: 11px;
    font-weight: 600;
}
.community-badge-showcase svg { width: 13px; height: 13px; }
.community-point-rules ul { list-style: none; margin: 0; padding: 0; }
.community-point-rules li { display: flex; align-items: center; justify-content: space-between; min-height: 34px; border-bottom: 1px solid #edf0f4; color: #4e5969; font-size: 12px; }
.community-point-rules li:last-child { border-bottom: 0; }
.community-point-rules b { color: #df651f; }

.community-modern-actions button[data-community-reaction="like"].is-active {
    border-color: #f3b4b4;
    background: #fff1f1;
    color: #d93838;
}
.community-modern-actions button[data-community-reaction="like"].is-active svg { fill: currentColor; }

.community-moderation-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 28px 20px;
    padding: 14px;
    border: 1px solid #cfe0f7;
    border-radius: 7px;
    background: #f5f9ff;
}
.community-moderation-toolbar > div:first-child strong,
.community-moderation-toolbar > div:first-child span { display: block; }
.community-moderation-toolbar > div:first-child strong { color: #1d2129; font-size: 13px; }
.community-moderation-toolbar > div:first-child span { margin-top: 3px; color: #86909c; font-size: 11px; }
.community-moderation-toolbar > div:last-child { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.community-moderation-toolbar button,
.community-comment-manage {
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid #b8d1f6;
    border-radius: 5px;
    background: #fff;
    color: #1769e0;
    cursor: pointer;
    font-size: 12px;
}
.community-moderation-toolbar button.is-danger,
.community-comment-manage { border-color: #f2c0c0; color: #c92a2a; }
.community-modern-comment-list footer .community-comment-manage { margin-left: 6px; }

@media (max-width: 800px) {
    .community-modern-mark-filters { flex-wrap: nowrap; overflow-x: auto; padding: 12px 16px; }
    .community-modern-mark-filters a { flex: 0 0 auto; }
    .community-moderation-toolbar { align-items: flex-start; flex-direction: column; margin-right: 18px; margin-left: 18px; }
    .community-moderation-toolbar > div:last-child { justify-content: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    .community-modern-mark-filters a { transition: none; }
}
