/* inlined: ./board/variables.css */
/* =====================================================
   News Page CSS Variables
   임고봇 뉴스 페이지 변수 정의
   ===================================================== */

:root {
    /* Color System - Eye-Comfort Warm Palette (sz 테마 기반) */
    --page-background: #f5f5f0;
    --surface: #ffffff;
    --surface-subtle: #fafaf9;
    --border-subtle: #e7e5e4;
    --accent: #578e7e;
    --accent-strong: #437063;
    --accent-light: rgba(87, 142, 126, 0.12);
    --text-strong: #44403c;
    --text-medium: #78716c;
    --text-muted: #a8a29e;

    /* Reaction Colors */
    --helpful-color: #4d7c74;
    --helpful-bg: rgba(77, 124, 116, 0.12);
    --helpful-border: rgba(77, 124, 116, 0.35);
    --not-helpful-color: #be123c;
    --not-helpful-bg: rgba(190, 18, 60, 0.12);
    --not-helpful-border: rgba(190, 18, 60, 0.35);
    --like-color: #578e7e;
    --like-bg: rgba(87, 142, 126, 0.15);

    /* Shadows - Warm tones */
    --shadow-soft: 0 12px 28px rgba(68, 64, 60, 0.08);
    --shadow-subtle: 0 2px 8px rgba(68, 64, 60, 0.06);
    --shadow-glow: 0 8px 32px rgba(87, 142, 126, 0.18);
    --shadow-card: 0 4px 16px rgba(68, 64, 60, 0.06);
    --shadow-card-hover: 0 12px 32px rgba(68, 64, 60, 0.12);

    /* Spacing & Sizing */
    --radius-large: 24px;
    --radius-medium: 16px;
    --radius-small: 12px;
    --header-height: 64px;
}
/* inlined: ./board/base.css */
/* =====================================================
   Base Styles
   ===================================================== */

body {
    font-family: var(--font-family-sans);
    background: var(--page-background);
    -webkit-font-smoothing: antialiased;
    color: var(--text-strong);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.news-main {
    flex: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 32px);
    padding-bottom: clamp(32px, 6vh, 48px);
    width: 100%;
    box-sizing: border-box;
}

.community-guard-message {
    margin: 0 0 12px;
    padding: 12px 14px;
    border-radius: var(--radius-small);
    background: var(--not-helpful-bg);
    border: 1px solid var(--not-helpful-border);
    color: var(--not-helpful-color);
    font-size: 0.9rem;
    font-weight: 600;
}
/* inlined: ./board/hero.css */
/* =====================================================
   Hero Section
   ===================================================== */

.news-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(20px, 4vw, 32px);
    margin-bottom: clamp(16px, 3vw, 24px);
    border-radius: var(--radius-large);
    background: linear-gradient(135deg, #437063 0%, #578e7e 50%, #7eb5a5 100%);
    color: #ffffff;
    overflow: hidden;
    box-shadow: var(--shadow-glow);
}

.news-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.news-hero__content {
    position: relative;
    z-index: 1;
}

.news-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
    margin-bottom: 12px;
}

.news-hero__title {
    margin: 0;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.news-hero__subtitle {
    margin: 8px 0 0;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    opacity: 0.9;
    font-weight: 500;
}

.news-hero__decoration {
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
    pointer-events: none;
}
/* inlined: ./board/search.css */
/* =====================================================
   Search Toolbar
   ===================================================== */

.news-toolbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: clamp(16px, 3vw, 24px);
    padding: clamp(12px, 2vw, 16px);
    background: var(--surface);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

/* Search Box */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--surface-subtle);
    border: 2px solid var(--border-subtle);
    border-radius: 999px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-box__icon {
    color: var(--text-muted);
    font-size: 1rem;
    flex-shrink: 0;
}

.search-box:focus-within .search-box__icon {
    color: var(--accent);
}

.search-box__input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.95rem;
    color: var(--text-strong);
    outline: none;
}

.search-box__input::placeholder {
    color: var(--text-muted);
}

.search-box__clear {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: none;
    background: rgba(148, 163, 184, 0.3);
    border-radius: 50%;
    color: var(--text-medium);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.search-box__clear:hover {
    background: rgba(220, 38, 38, 0.15);
    color: #dc2626;
}

/* Filter Chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--surface);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    background: var(--surface-subtle);
    border-color: var(--text-muted);
}

.filter-chip.is-active {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-strong);
    font-weight: 600;
}

.filter-chip i {
    font-size: 0.85rem;
}

/* Search Results Info */
.search-results-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 14px;
    background: var(--accent-light);
    border-radius: var(--radius-small);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.search-results-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent-strong);
}

.search-results-text strong {
    font-weight: 700;
}

.search-reset-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border: none;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

.search-reset-btn:hover {
    background: var(--accent-strong);
}

/* No Results State */
.news-card--no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
    background: var(--surface);
    border-radius: var(--radius-medium);
    border: 2px dashed var(--border-subtle);
}

.news-card--no-results i {
    font-size: 3rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.news-card--no-results h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-strong);
}

.news-card--no-results p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* Hidden state for filtered cards */
.news-card.is-hidden {
    display: none;
}

/* Highlight matched text */
.search-highlight {
    background: rgba(250, 204, 21, 0.4);
    padding: 1px 2px;
    border-radius: 3px;
}
/* inlined: ./board/cards.css */
/* =====================================================
   News List
   ===================================================== */

.news-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* =====================================================
   News Card (List Item)
   ===================================================== */

.news-card {
    background: var(--surface);
    border-radius: var(--radius-medium);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(148, 163, 184, 0.12);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.news-card:hover {
    box-shadow: var(--shadow-card-hover);
}

.news-card.is-expanded {
    box-shadow: var(--shadow-soft);
}

/* Card Preview (Collapsed State) */
.news-card__preview {
    position: relative;
    padding: clamp(16px, 3vw, 24px);
    cursor: pointer;
    transition: background 0.2s ease;
}

.news-card__preview:hover {
    background: var(--surface-subtle);
}

.news-card__preview:focus-visible {
    outline: none;
}

.news-card__header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.news-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.news-card__stats {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

.stat-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
}

.stat-item--helpful {
    background: var(--helpful-bg);
    color: var(--helpful-color);
}

.stat-item--comments {
    background: var(--accent-light);
    color: var(--accent-strong);
}

.news-card__title {
    margin: 0 0 8px;
    font-size: clamp(1.05rem, 2.5vw, 1.2rem);
    font-weight: 700;
    line-height: 1.4;
    color: var(--text-strong);
    padding-right: 32px;
}

.news-card__excerpt {
    margin: 0 0 12px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-medium);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.meta-separator {
    color: rgba(148, 163, 184, 0.6);
}

/* Source Button - Only visible when expanded */
.source-btn {
    display: none;
    align-items: center;
    gap: 4px;
    margin-left: auto;
    padding: 4px 10px;
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-strong);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-card.is-expanded .source-btn {
    display: inline-flex;
}

.source-btn:hover {
    background: var(--accent);
    color: #fff;
}

.source-btn i {
    font-size: 0.7rem;
}

/* Info Tooltip for Summary */
.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-header h3 {
    margin: 0 !important;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
}

.info-tooltip__trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.info-tooltip__trigger:hover {
    color: var(--accent);
}

.info-tooltip__content {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 260px;
    padding: 12px 14px;
    background: var(--text-strong);
    color: #fff;
    border-radius: 12px;
    font-size: 0.78rem;
    line-height: 1.6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 100;
}

.info-tooltip__content::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: var(--text-strong);
    transform: rotate(45deg);
}

.info-tooltip.is-active .info-tooltip__content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.info-tooltip__content strong {
    color: #facc15;
}

.news-card__expand-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-muted);
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, background 0.2s ease, border-color 0.2s ease;
}

.news-card__preview:hover .news-card__expand-icon {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.news-card.is-expanded .news-card__expand-icon {
    transform: rotate(180deg);
}

.news-card.is-expanded .news-card__excerpt {
    display: none;
}

/* Card Detail (Expanded State) */
.news-card__detail {
    border-top: 1px solid var(--border-subtle);
    animation: slideDown 0.35s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }

    to {
        opacity: 1;
        max-height: 5000px;
    }
}

.news-card__body {
    padding: clamp(16px, 3vw, 24px);
    padding-top: clamp(12px, 2vw, 16px);
}

/* Keyword Tags (Text-only) */
.keyword-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-medium);
    white-space: nowrap;
}

.keyword-tag::before {
    content: "#";
    color: var(--text-muted);
    margin-right: 1px;
}

/* Separator between keywords */
.news-card__keywords {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
}

.news-card__keywords .keyword-tag:not(:last-child)::after {
    content: "·";
    margin-left: 10px;
    color: var(--text-muted);
}

/* Star Rating Badge (Importance) */
.importance-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.15);
    color: #ca8a04;
    font-size: 0.7rem;
    letter-spacing: -1px;
}

.importance-badge .star {
    color: #facc15;
}

.importance-badge .star--empty {
    color: #d1d5db;
}

/* Article Content */
.news-article__lead {
    margin: 0 0 20px;
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    font-weight: 500;
    color: var(--text-medium);
    line-height: 1.7;
    padding: 14px 18px;
    background: var(--surface-subtle);
    border-left: 4px solid var(--accent);
    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}

.news-article__content {
    color: var(--text-strong);
    font-size: clamp(0.9rem, 2.5vw, 0.98rem);
    line-height: 1.8;
}

/* Content Split Layout (1:1) */
.content-split {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.content-split__left,
.content-split__right {
    flex: 1;
    padding: 16px;
    background: var(--surface-subtle);
    border-radius: var(--radius-small);
    border: 1px solid var(--border-subtle);
}

.content-split__left h3,
.content-split__right h3 {
    margin: 0 0 12px;
    font-size: 0.95rem;
}

.content-split__left ul,
.content-split__right ul {
    margin: 0;
    padding-left: 16px;
}

.content-split__left li,
.content-split__right li {
    margin-bottom: 6px;
    font-size: 0.88rem;
}

.content-split__right {
    background: linear-gradient(135deg, rgba(87, 142, 126, 0.08), rgba(87, 142, 126, 0.04));
    border-color: rgba(87, 142, 126, 0.25);
}

.content-split__right h3 {
    color: var(--accent-strong);
}

.summary-list {
    list-style: none;
    padding-left: 0 !important;
}

.summary-list li {
    position: relative;
    padding-left: 20px;
    color: var(--text-medium);
    text-decoration: underline;
    text-decoration-color: var(--text-strong);
    text-underline-offset: 3px;
}

.summary-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

@media (max-width: 640px) {
    .content-split {
        flex-direction: column;
        gap: 12px;
    }
}

.news-article__content h3 {
    margin: 24px 0 12px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-strong);
}

.news-article__content h3:first-child {
    margin-top: 0;
}

.news-article__content p {
    margin: 0 0 18px;
    line-height: 1.8;
    color: var(--text-strong);
    font-size: 0.92rem;
}

.news-article__content ul {
    margin: 0 0 18px;
    padding-left: 18px;
}

.news-article__content li {
    margin-bottom: 8px;
    padding-left: 6px;
}

.news-article__content li::marker {
    color: var(--accent);
}
/* inlined: ./board/reactions.css */
/* =====================================================
   Reaction Buttons
   ===================================================== */

.news-reactions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: clamp(20px, 4vw, 28px);
    margin: 0 clamp(16px, 3vw, 24px);
    background: linear-gradient(135deg, var(--surface-subtle), rgba(226, 232, 240, 0.5));
    border-radius: var(--radius-medium);
    border: 1px solid var(--border-subtle);
}

.news-reactions__label {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-medium);
}

.news-reactions__buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--surface);
    box-shadow: var(--shadow-subtle);
}

.reaction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.reaction-btn:active {
    transform: translateY(0);
}

.reaction-btn--helpful {
    color: var(--helpful-color);
    border-color: var(--helpful-border);
}

.reaction-btn--helpful:hover,
.reaction-btn--helpful[aria-pressed="true"] {
    background: var(--helpful-bg);
    border-color: var(--helpful-color);
}

.reaction-btn--helpful[aria-pressed="true"] {
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.2);
}

.reaction-btn--not-helpful {
    color: var(--not-helpful-color);
    border-color: var(--not-helpful-border);
}

.reaction-btn--not-helpful:hover,
.reaction-btn--not-helpful[aria-pressed="true"] {
    background: var(--not-helpful-bg);
    border-color: var(--not-helpful-color);
}

.reaction-btn--not-helpful[aria-pressed="true"] {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.2);
}

.reaction-btn__text {
    font-weight: 600;
}

.reaction-btn__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    padding: 2px 7px;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}
/* inlined: ./board/comments.css */
/* =====================================================
   Comments Section
   ===================================================== */

.comments-section {
    padding: clamp(16px, 3vw, 24px);
    border-top: 1px solid var(--border-subtle);
}

.comments-header {
    margin-bottom: 16px;
}

.comments-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-strong);
}

.comments-title i {
    color: var(--accent);
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    padding: 2px 8px;
    background: var(--accent-light);
    color: var(--accent-strong);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Comment Form - Minimal Design (Upward Expanding) */
.comment-form {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
}

.comment-form__avatar {
    display: none;
}

.comment-form__input-group {
    display: flex;
    align-items: flex-end;
    gap: 0;
    position: relative;
    background: var(--surface);
    border: 2px solid var(--border-subtle);
    border-radius: 24px;
    padding: 0 4px 0 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form__input-group:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(87, 142, 126, 0.15);
}

.comment-form__textarea {
    flex: 1;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 10px 0;
    margin: 0;
    resize: none;
    min-height: 40px;
    max-height: 130px;
    line-height: 1.5;
    color: var(--text-strong);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-subtle) transparent;
}

.comment-form__textarea::-webkit-scrollbar {
    width: 4px;
}

.comment-form__textarea::-webkit-scrollbar-track {
    background: transparent;
}

.comment-form__textarea::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

.comment-form__textarea::placeholder {
    color: var(--text-muted);
}

.comment-form__textarea:focus {
    outline: none;
    box-shadow: none;
}

.comment-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    margin: 2px 0;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.comment-form__submit i {
    margin: 0;
}

.comment-form.has-text .comment-form__submit {
    opacity: 1;
    transform: scale(1);
}

.comment-form__submit:hover {
    background: var(--accent-strong);
    transform: scale(1.05);
}

.comment-form__submit:active {
    transform: scale(0.95);
}

/* Comments List */
.comments-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Individual Comment */
.comment {
    display: flex;
    gap: 10px;
    padding: 14px;
    background: var(--surface);
    border-radius: var(--radius-medium);
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.comment:hover {
    background: var(--surface-subtle);
    border-color: var(--border-subtle);
}

.comment__avatar {
    flex-shrink: 0;
}

.comment__avatar img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-subtle);
}

.comment__content {
    flex: 1;
    min-width: 0;
}

.comment__header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
    flex-wrap: wrap;
}

.comment__author {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-strong);
}

.comment__time {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.comment__text {
    margin: 0 0 10px;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--text-medium);
}

/* Comment Actions */
.comment__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.comment-action {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-action:hover {
    background: var(--surface-subtle);
    border-color: var(--text-muted);
    color: var(--text-medium);
}

.comment-action--like:hover,
.comment-action--like[aria-pressed="true"] {
    background: var(--like-bg);
    border-color: var(--like-color);
    color: var(--like-color);
}

.comment-action--like[aria-pressed="true"] {
    font-weight: 600;
}

.comment-action--reply:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent);
}

.comment-action--report:hover {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.3);
    color: #dc2626;
}

/* =====================================================
   Replies
   ===================================================== */

.replies-container {
    margin-top: 10px;
    padding-left: 0;
}

.replies-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    background: var(--accent-light);
    border: none;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-strong);
    cursor: pointer;
    transition: background 0.2s ease;
}

.replies-toggle:hover {
    background: rgba(37, 99, 235, 0.18);
}

.replies-toggle i {
    transition: transform 0.3s ease;
    font-size: 0.7rem;
}

.replies-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.replies-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    animation: slideDown 0.3s ease;
}

/* Individual Reply */
.reply {
    display: flex;
    gap: 8px;
    padding: 10px 12px;
    margin-left: 16px;
    background: rgba(241, 245, 249, 0.6);
    border-radius: var(--radius-small);
    border-left: 3px solid var(--accent-light);
}

.reply__avatar img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--surface);
}

.reply__content {
    flex: 1;
    min-width: 0;
}

.reply__header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.reply__author {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-strong);
}

.reply__time {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.reply__text {
    margin: 0 0 6px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-medium);
}

.reply__actions {
    display: flex;
    gap: 5px;
}

.reply__actions .comment-action {
    padding: 3px 8px;
    font-size: 0.7rem;
}

/* Reply Form */
.reply-form {
    display: flex;
    gap: 6px;
    margin: 10px 0 0 16px;
    padding: 8px;
    background: var(--surface);
    border-radius: var(--radius-small);
    border: 1px solid var(--border-subtle);
}

.reply-form__input {
    flex: 1;
    padding: 7px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    font-size: 0.8rem;
    transition: border-color 0.2s ease;
}

.reply-form__input:focus {
    outline: none;
    border-color: var(--accent);
}

.reply-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.reply-form__submit:hover {
    background: var(--accent-strong);
    transform: scale(1.05);
}

/* Load More Button */
.comments-load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    background: var(--surface-subtle);
    border: 2px dashed var(--border-subtle);
    border-radius: var(--radius-medium);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-medium);
    cursor: pointer;
    transition: all 0.2s ease;
}

.comments-load-more:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-strong);
}
/* inlined: ./board/toast.css */
/* =====================================================
   Toast Notification
   ===================================================== */

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--text-strong);
    color: #fff;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.25);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.toast__icon {
    color: #22c55e;
}

.toast--error .toast__icon {
    color: #ef4444;
}
/* inlined: ./board/responsive.css */
/* =====================================================
   Responsive Design
   ===================================================== */

/* 태블릿 */
@media (max-width: 768px) {
    .news-main {
        padding: clamp(16px, 3vw, 24px) clamp(12px, 3vw, 20px);
    }

    .news-hero {
        padding: clamp(18px, 4vw, 28px);
    }

    .news-hero__title {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .community-board-list {
        grid-template-columns: 1fr;
    }
}

/* 모바일 */
@media (max-width: 640px) {
    /* 메인 레이아웃 */
    .news-main {
        padding: 16px 12px;
        padding-bottom: 24px;
    }

    /* 히어로 섹션 */
    .news-hero {
        padding: 18px 16px;
        border-radius: var(--radius-medium);
        margin-bottom: 14px;
    }

    .news-hero__title {
        font-size: 1.4rem;
    }

    .news-hero__subtitle {
        font-size: 0.85rem;
        margin-top: 4px;
    }

    .news-hero__decoration {
        display: none;
    }

    /* 툴바/검색 */
    .news-toolbar {
        padding: 12px;
        border-radius: var(--radius-medium);
        gap: 10px;
        margin-bottom: 14px;
    }

    .search-box {
        padding: 10px 14px;
        min-height: 46px;
    }

    .search-box__input {
        font-size: 16px; /* iOS 줌 방지 */
    }

    /* 필터 칩 가로 스크롤 */
    .filter-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -12px;
        padding: 0 12px 4px;
    }

    .filter-chips::-webkit-scrollbar {
        display: none;
    }

    .filter-chip {
        flex-shrink: 0;
        min-height: 42px;
        padding: 8px 14px;
        font-size: 0.82rem;
    }

    /* 검색 결과 정보 */
    .search-results-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding: 12px;
    }

    .search-reset-btn {
        width: 100%;
        justify-content: center;
        min-height: 42px;
        padding: 10px 16px;
    }

    /* 카드 */
    .news-card__preview {
        padding: 14px;
    }

    .news-card__title {
        font-size: 0.98rem;
        padding-right: 0;
        line-height: 1.45;
    }

    .news-card__header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .news-card__stats {
        order: -1;
        width: 100%;
        justify-content: flex-start;
    }

    .stat-item {
        padding: 4px 8px;
        font-size: 0.75rem;
    }

    .stat-item span {
        display: none;
    }

    /* 반응 버튼 */
    .news-reactions {
        margin: 0;
        padding: 16px 14px;
        border-radius: 0;
    }

    .reaction-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
        min-height: 44px;
    }

    /* 댓글 */
    .comments-section {
        padding: 14px;
    }

    .comment {
        padding: 12px;
        gap: 10px;
    }

    .comment__avatar img {
        width: 32px;
        height: 32px;
    }

    .comment__text {
        font-size: 0.88rem;
    }

    .comment__actions {
        gap: 6px;
    }

    .comment-action {
        min-height: 36px;
        padding: 6px 10px;
    }

    .comment-action span:not(:first-child) {
        display: none;
    }

    .comment-form__input-group {
        padding: 0 4px 0 14px;
    }

    .comment-form__textarea {
        font-size: 0.92rem;
    }

    /* 답글 */
    .reply {
        margin-left: 0;
        padding: 10px 12px;
    }

    .reply-form {
        margin-left: 0;
    }

    /* 커뮤니티 홈 카드 */
    .community-card-header {
        flex-wrap: wrap;
        gap: 8px;
    }

    .community-card-action {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
    }

    /* 보드 리스트 */
    .board-item {
        min-height: 46px;
        padding: 10px 0;
    }

    .board-item__link {
        min-height: 42px;
        display: flex;
        align-items: center;
    }

    .board-item__title-line {
        font-size: 0.86rem;
    }

    .board-item__time {
        font-size: 0.72rem;
    }

    /* 커뮤니티 폼 */
    .community-input,
    .community-select,
    .community-textarea {
        font-size: 16px; /* iOS 줌 방지 */
        padding: 14px;
    }

    .community-actions {
        flex-direction: column;
    }

    .community-btn {
        min-height: 46px;
        justify-content: center;
        width: 100%;
    }

    /* 필터 칩 그룹 */
    .community-pill-group {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin: 0 -12px;
        padding: 0 12px 4px;
    }

    .community-pill-group::-webkit-scrollbar {
        display: none;
    }

    .community-pill-group .filter-chip {
        flex-shrink: 0;
    }
}

/* 소형 모바일 */
@media (max-width: 380px) {
    .news-main {
        padding: 14px 10px;
    }

    .news-hero {
        padding: 16px 14px;
    }

    .news-hero__title {
        font-size: 1.25rem;
    }

    .news-toolbar {
        padding: 10px;
    }

    .filter-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .news-card__preview {
        padding: 12px;
    }

    .news-card__title {
        font-size: 0.92rem;
    }

    .comments-section {
        padding: 12px;
    }

    .comment {
        padding: 10px;
    }
}
/* inlined: ./board/skeleton.css */
/* =====================================================
   Skeleton Loading Animation
   스켈레톤 로딩 애니메이션
   ===================================================== */

/* Skeleton Container */
.skeleton-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    background: var(--page-background, #f5f5f0);
    padding-top: var(--header-height, 64px);
    overflow-y: auto;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.skeleton-container.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.skeleton-content {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(16px, 4vw, 32px);
}

/* Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Base Skeleton Element */
.skeleton {
    background: linear-gradient(90deg,
            rgba(0, 0, 0, 0.06) 25%,
            rgba(0, 0, 0, 0.12) 50%,
            rgba(0, 0, 0, 0.06) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
    border-radius: 8px;
}

/* Skeleton Hero */
.skeleton-hero {
    height: 140px;
    border-radius: 24px;
    margin-bottom: clamp(20px, 4vw, 32px);
    background: linear-gradient(90deg,
            rgba(87, 142, 126, 0.2) 25%,
            rgba(87, 142, 126, 0.35) 50%,
            rgba(87, 142, 126, 0.2) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite ease-in-out;
}

/* Skeleton Toolbar */
.skeleton-toolbar {
    background: #fff;
    border-radius: 16px;
    padding: clamp(14px, 2.5vw, 20px);
    margin-bottom: clamp(16px, 3vw, 24px);
    box-shadow: 0 4px 16px rgba(68, 64, 60, 0.06);
}

.skeleton-search {
    height: 48px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.skeleton-filters {
    display: flex;
    gap: 8px;
}

.skeleton-filter-chip {
    width: 70px;
    height: 36px;
    border-radius: 999px;
}

.skeleton-filter-chip:nth-child(2) {
    width: 85px;
}

.skeleton-filter-chip:nth-child(3) {
    width: 60px;
}

.skeleton-filter-chip:nth-child(4) {
    width: 75px;
}

/* Skeleton Card */
.skeleton-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.skeleton-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(16px, 3vw, 24px);
    box-shadow: 0 4px 16px rgba(68, 64, 60, 0.06);
}

.skeleton-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.skeleton-badges {
    display: flex;
    gap: 6px;
}

.skeleton-badge {
    height: 24px;
    border-radius: 999px;
}

.skeleton-badge--stars {
    width: 60px;
}

.skeleton-badge--category {
    width: 55px;
}

.skeleton-badge--tag {
    width: 40px;
}

.skeleton-stats {
    display: flex;
    gap: 8px;
}

.skeleton-stat {
    width: 50px;
    height: 26px;
    border-radius: 999px;
}

.skeleton-title {
    height: 24px;
    width: 85%;
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-excerpt {
    height: 18px;
    width: 100%;
    border-radius: 6px;
    margin-bottom: 14px;
}

.skeleton-meta {
    display: flex;
    gap: 10px;
}

.skeleton-meta-item {
    height: 16px;
    border-radius: 4px;
}

.skeleton-meta-item:nth-child(1) {
    width: 80px;
}

.skeleton-meta-item:nth-child(2) {
    width: 60px;
}

.skeleton-meta-item:nth-child(3) {
    width: 50px;
}

/* Responsive */
@media (max-width: 640px) {
    .skeleton-hero {
        height: 100px;
    }

    .skeleton-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .skeleton-stats {
        order: -1;
    }

    .skeleton-filter-chip {
        display: none;
    }

    .skeleton-filter-chip:nth-child(1),
    .skeleton-filter-chip:nth-child(2) {
        display: block;
    }
}
/* inlined: ./news-theme.css */
/* Community pages styled to match News UI/UX */

.community-section {
  margin-bottom: clamp(16px, 3vw, 24px);
}

.community-index .news-main {
  max-width: 1200px;
  padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 24px);
}

.community-index .news-hero {
  width: 100%;
}

.community-board-list {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

@media (min-width: 768px) {
  .community-board-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .community-board-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.community-board-list .news-card {
  height: 100%;
}

.community-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.community-card-header .news-card__title {
  margin: 0;
}

.community-card.is-static .news-card__preview {
  cursor: default;
}

.community-card-link {
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
}

.community-card-link:hover {
  color: var(--accent);
}

.community-board-list .news-card__body {
  padding-top: clamp(10px, 2vw, 14px);
}

/* 커뮤니티/공지 보드 전용 hover 완화 */
.news-list[data-post-list] .news-card,
.news-list[data-post-list] .news-card__preview {
  transition: box-shadow 0.2s ease, background 0.2s ease;
}

.news-list[data-post-list] .news-card:hover {
  box-shadow: var(--shadow-soft);
}

.news-list[data-post-list] .news-card__preview:hover {
  background: transparent;
}

.news-list[data-post-list] .news-card__preview:hover .news-card__expand-icon {
  background: var(--surface);
  border-color: var(--border-subtle);
  color: var(--text-muted);
}

@media (hover: none) {
  .news-list[data-post-list] .news-card:hover,
  .news-list[data-post-list] .news-card__preview:hover {
    box-shadow: var(--shadow-card);
    background: transparent;
  }
}

.board-post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-card);
  --board-row-height: 52px;
  min-height: calc(var(--board-row-height) * 10);
}

.board-post-list--related {
  min-height: auto;
  box-shadow: var(--shadow-subtle);
}

.board-post-item + .board-post-item {
  border-top: 1px solid var(--border-subtle);
}

.board-post-link,
.board-post-item.is-muted,
.board-post-item.is-empty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  min-height: var(--board-row-height);
}

.board-post-item--related .board-post-link {
  padding: 12px 16px;
}

.board-post-link {
  text-decoration: none;
  color: var(--text-strong);
  transition: background 0.2s ease, color 0.2s ease;
}

.board-post-link:hover {
  background: var(--surface-subtle);
  color: var(--accent-strong);
}

.board-post-title {
  flex: 1;
  min-width: 0;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-post-date {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.board-post-item.is-muted .board-post-title,
.board-post-item.is-empty .board-post-title {
  color: var(--text-muted);
  font-weight: 500;
}

.board-post-item.is-empty {
  justify-content: center;
}

.board-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.board-page-btn {
  appearance: none;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-medium);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.board-page-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.board-page-btn.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.board-page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

@media (max-width: 640px) {
  .board-post-list {
    --board-row-height: 48px;
  }

  .board-post-link,
  .board-post-item.is-muted,
  .board-post-item.is-empty {
    padding: 12px 14px;
  }

  .board-pagination {
    flex-wrap: wrap;
    gap: 6px;
  }

  .board-post-link {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .board-post-date {
    font-size: 0.75rem;
  }
}

.board-list {
  --board-item-min-height: 44px;
  --board-item-gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--board-item-gap);
  min-height: calc((var(--board-item-min-height) * 5) + (var(--board-item-gap) * 4));
}

.board-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  min-height: var(--board-item-min-height);
  border-bottom: 1px dashed var(--border-subtle);
}

.board-item.is-empty .board-item__title {
  color: var(--text-muted);
  font-weight: 500;
}

.board-item.is-empty .board-item__link {
  pointer-events: none;
}

.board-item.is-empty .board-item__time {
  color: var(--text-muted);
}

.board-item:last-child {
  border-bottom: none;
}

.board-item__link {
  flex: 1;
  min-width: 0;
  display: block;
}

.board-item__title-line {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-strong);
  min-width: 0;
}

.board-item__title {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-item__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-medium);
}

.board-item__count-number {
  color: var(--accent-strong);
}

.board-item__time {
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

.community-profile-preview {
  display: flex;
  align-items: center;
  gap: 20px;
}

.community-profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.community-profile-info {
  flex: 1;
  min-width: 0;
}

.community-profile-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-medium);
}

.community-profile-stats strong {
  color: var(--text-strong);
  font-weight: 700;
}

.community-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.community-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.community-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-strong);
}

.community-input,
.community-select,
.community-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  font-size: 0.9rem;
  background: var(--surface);
  color: var(--text-strong);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.community-input:focus,
.community-select:focus,
.community-textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(87, 142, 126, 0.15);
}

.community-textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.7;
}

.community-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.community-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--surface);
  color: var(--text-medium);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.community-btn:hover {
  border-color: var(--text-muted);
  color: var(--text-strong);
  background: var(--surface-subtle);
}

.community-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.community-btn--primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: #fff;
}

.community-card-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-strong);
  text-decoration: none;
  white-space: nowrap;
}

.community-card-action:hover {
  color: var(--accent);
}

.community-card-action i {
  font-size: 0.75rem;
}

.community-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.community-card-meta .meta-separator {
  color: rgba(148, 163, 184, 0.6);
}

.community-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.community-pill-group .filter-chip {
  text-decoration: none;
}

.community-search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: var(--accent-light);
  border-radius: var(--radius-small);
  border: 1px solid rgba(37, 99, 235, 0.2);
}

@media (max-width: 640px) {
  .community-profile-preview {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .community-btn {
    min-height: 44px;
    justify-content: center;
  }

  .community-pill-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin: 0 -16px;
    padding: 0 16px 4px;
  }

  .community-pill-group::-webkit-scrollbar {
    display: none;
  }

  .community-pill-group .filter-chip {
    flex-shrink: 0;
  }

  .community-search-actions {
    flex-direction: column;
    gap: 10px;
  }
}

/* 푸터 마운트 영역 */
#common-footer-mount {
  flex-shrink: 0;
}
