/* Generated by scripts/build-site-css.js; edit style.css. */
.box + .post-list,
.box + .report-tabs,
.post-list + .box {
    border-top: none;
}
.box + .post-list > .post-item:first-child {
    border-top: none;
}
.report-tabs {
    display: flex;
    border: 1px solid var(--border);
    border-bottom: none;
}

.report-tab {
    flex: 1;
    padding: 10px 16px;
    background: var(--bg-surface);
    color: var(--text-muted);
    border: none;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    font-family: inherit;
    transition: background-color 0.15s, color 0.15s;
}

.report-tab:not(:first-child) {
    border-left: 1px solid var(--border);
}

.report-tab:hover {
    background-color: var(--bg-surface-hover);
    color: var(--text-primary);
}

.report-tab.active {
    background: var(--card-bg);
    color: var(--text-primary);
    border-bottom: 1px solid var(--accent);
}

.report-panel {
    display: none;
}

.report-panel.active {
    display: block;
}
.commu-dict-search .commu-role-icon {
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.commu-people-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.commu-people-search-icon {
    position: absolute;
    left: 0.85rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: color 0.15s ease;
}

.commu-people-search-icon .commu-role-icon {
    width: 18px;
    height: 18px;
}

.commu-people-search:focus-within .commu-people-search-icon {
    color: var(--link);
}

.commu-people-search-input {
    flex: 1 1 auto;
    width: 100%;
    padding: 0.72rem 2.4rem 0.72rem 2.5rem;
    font: inherit;
    color: var(--text-primary);
    background: var(--search-bg);
    border: 1px solid var(--border);
    border-radius: 0;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.commu-people-search-input::placeholder { color: var(--text-muted); opacity: 1; }

.commu-people-search-input:hover {
    border-color: color-mix(in srgb, var(--text-muted) 55%, var(--border));
}

.commu-people-search-input:focus {
    border-color: var(--link);
    box-shadow: inset 0 -2px 0 0 var(--link);
}

.commu-people-search-input::-webkit-search-cancel-button { display: none; }

.commu-people-search-clear {
    position: absolute;
    right: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.9rem;
    height: 1.9rem;
    padding: 0;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: 0;
    cursor: pointer;
}

.commu-people-search-clear .commu-role-icon {
    width: 15px;
    height: 15px;
}

.commu-people-search-clear:hover {
    color: var(--text-primary);
    background: color-mix(in srgb, var(--link) 16%, transparent);
}

.commu-people-search-clear[hidden],
.commu-dict-search-count[hidden] {
    display: none;
}

.commu-search-hl {
    background: color-mix(in srgb, var(--link) 34%, transparent);
    color: inherit;
    padding: 0 1px;
    border-radius: 0;
}

.commu-dict-search-count {
    position: absolute;
    right: 2.6rem;
    padding-left: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    white-space: nowrap;
    pointer-events: none;
    background: var(--search-bg);
}

.commu-dict-search-status {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.commu-dict-search-status.is-empty {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    padding: 18px 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border: 1px dashed var(--border);
    border-top: none;
}
.post-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.post-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-bottom: none;
    padding: 20px 24px;
    border-radius: 0;
    transition: border-color 0.15s, background-color 0.15s;
    position: relative;
}
.post-item :is(h2, h3) a::after {
    content: '';
    position: absolute;
    inset: 0;
}

.post-item .post-excerpt a {
    position: relative;
    z-index: 1;
}
.post-item:hover {
    background-color: var(--accent);
}

.post-item:hover .post-excerpt {
    color: var(--clr-cream);
}

.post-item:hover .post-meta {
    color: color-mix(in srgb, var(--clr-cream) 72%, var(--accent));
}

.post-item:hover .commu-update-kind {
    color: var(--clr-cream);
}

.post-item:hover .commu-update-moment {
    color: color-mix(in srgb, var(--clr-cream) 82%, var(--accent));
    border-left-color: color-mix(in srgb, var(--clr-cream) 60%, var(--accent));
}

.post-item:hover .post-excerpt a {
    color: var(--clr-cream);
    text-decoration: underline;
}

.post-item + .post-item {
    border-top: none;
}

.post-item:last-child {
    border-bottom: 1px solid var(--border);
}

.post-item :is(h2, h3) {
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 600;
    line-height: var(--leading-snug);
}
.post-item :is(h2, h3) a {
    color: var(--text-primary);
    -webkit-tap-highlight-color: transparent;
    transition: color 0.15s;
}

.post-item:hover :is(h2, h3) a {
    color: var(--clr-cream);
    text-decoration: none;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-bottom: 10px;
}

.commu-update-kind {
    color: var(--link);
    font-weight: 700;
}

.commu-update-preview {
    display: grid;
    gap: 0.5rem;
}

.commu-update-preview .post-excerpt {
    margin: 0;
}

.commu-update-moment {
    border-left: 2px solid color-mix(in srgb, var(--link) 72%, var(--border));
    color: var(--text-secondary);
    font-style: italic;
    padding-left: 0.6rem;
}

.post-excerpt {
    color: var(--text-primary);
    font-size: 0.85rem;
    line-height: var(--leading-relaxed);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
@media (max-width: 768px) {

    .post-item {
        padding: 16px;
    }

    .post-item :is(h2, h3) {
        font-size: 0.95rem;
    }
}
.hub-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-bottom: 18px;
}
.hub-source,
.hub-author,
.hub-source-date {
    font-size: 0.85rem;
    opacity: 0.75;
}
.hub-source::before { content: '📰 '; }
.hub-author::before { content: '✍️  '; }
