@import url('tab-bar-variants.css');
/* boards.css — Kweb bulletin board styles */
/* 2026-06-26: Tailwind-aligned tokens (complements site-tailwind.css) */
:root {
  --board-radius: 0.75rem;
  --board-radius-lg: 1rem;
  --board-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --board-shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.board-shell { width: 100%; max-width: 100%; margin: 0; box-sizing: border-box; }
.board-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.board-header h1 { margin: 0; font-size: 1.35rem; color: var(--site-text); }
.board-meta { font-size: 0.85rem; color: var(--site-muted); }
.board-meta--muted { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: var(--site-surface); border: 1px solid var(--site-border); }
.board-meta--danger { margin: 12px 0; padding: 12px 14px; border-radius: 10px; background: color-mix(in srgb, #dc3545 8%, var(--site-surface)); border: 1px solid color-mix(in srgb, #dc3545 35%, var(--site-border)); color: var(--site-text); }
.board-actions a, .board-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 6px 12px; border-radius: 10px; background: var(--site-accent); color: var(--site-accent-contrast); text-decoration: none; font-size: 0.8rem; font-weight: 700; border: 1px solid transparent; cursor: pointer; transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.1s; min-height: 34px; box-sizing: border-box; }
.board-btn--sm { padding: 5px 10px; font-size: 0.76rem; min-height: 30px; border-radius: 9px; gap: 4px; }
.board-btn--xs { padding: 3px 8px; font-size: 0.68rem; min-height: 24px; border-radius: 7px; gap: 3px; font-weight: 700; }
.board-actions a:hover, .board-btn:hover { filter: brightness(1.03); }
.board-actions a:active, .board-btn:active { transform: scale(0.97); }
.board-btn.secondary { background: var(--site-surface); color: var(--site-on-surface, var(--site-text)); border: 1px solid var(--site-border); }
.board-icon-toolbar { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.board-header-main { flex: 1; min-width: 0; }

.board-list-table { width: 100%; border-collapse: collapse; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 10px; overflow: hidden; table-layout: fixed; }
/* boards.css — 2026-06-25: table list — category/attach columns, secret before title */
.board-list-table th, .board-list-table td { padding: 12px 14px; border-bottom: 1px solid var(--site-border); text-align: center; font-size: 0.9rem; vertical-align: middle; }
.board-list-table th.board-list-col-title { text-align: center; }
.board-list-table td.board-list-cell--title { text-align: left; }
.board-list-table th { background: var(--site-header-bg); color: var(--site-header-text, var(--site-text)); font-weight: 600; }
.board-list-table tbody tr:last-child td { border-bottom: none; }
.board-list-table a { color: var(--site-accent); text-decoration: none; }
.board-list-table a:hover { text-decoration: underline; }
.board-list-table .board-list-title-link { color: var(--site-text); text-decoration: none; display: block; min-width: 0; max-width: 100%; overflow: hidden; font-size: 0.88rem; font-weight: 500; line-height: 1.45; }
.board-list-table .board-list-title-link:hover { color: var(--site-accent); text-decoration: none; }
.board-list-title-wrap { display: flex; align-items: center; gap: 6px; min-width: 0; width: 100%; }
.board-list-title-wrap--single { flex-direction: row; }
.board-list-pin-badge,
.board-list-secret-badge { flex-shrink: 0; }
.board-status-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0; font-size: 0.82rem; line-height: 1; vertical-align: middle; }
.board-status-icon--pin { background: #fef3c7; color: #b45309; }
.board-status-icon--secret { background: #f1f5f9; color: #475569; }
.board-status-icon--current { background: color-mix(in srgb, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.board-list-title-wrap .board-status-icon { width: 26px; height: 26px; font-size: 0.78rem; }
.board-list-title-wrap .board-post-title-with-new,
.board-list-title-wrap .board-feed-row-title--reply { min-width: 0; flex: 0 1 auto; max-width: 100%; overflow: hidden; }
.board-list-title-wrap .board-feed-row-title-text,
.board-list-title-wrap .board-feed-row-title--reply .board-feed-row-title-text { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list-title-wrap .board-post-title-with-new > .board-feed-row-title-text { flex: 0 1 auto; }
.board-list-secret-open { display: block; width: 100%; padding: 0; border: none; background: transparent; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.board-list-secret-open:hover { color: var(--site-accent); }
.board-list-cell-empty { color: var(--site-muted); font-size: 0.82rem; }
.board-list-table td.board-list-cell--title { overflow: hidden; width: auto; }
.board-list-table td.board-list-cell--category,
.board-list-table th.board-list-col-category { width: 88px; max-width: 104px; padding-left: 10px; padding-right: 10px; white-space: nowrap; }
.board-list-table td.board-list-cell--category .board-type-pill--category { max-width: 100%; overflow: hidden; text-overflow: ellipsis; display: inline-block; vertical-align: middle; }
.board-list-table td.board-list-cell--attach,
.board-list-table th.board-list-col-attach { width: 56px; padding-left: 8px; padding-right: 8px; white-space: nowrap; }
.board-list-attach-badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 8px; background: #e0e7ff; color: #3730a3; font-size: 0.82rem; }
.board-list-col-status { width: 92px; }
.board-list-col-views { width: 68px; text-align: center; }
.board-list-col-date { width: 104px; white-space: nowrap; }
.board-list-col-author { width: 112px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-list-col-link { width: 148px; max-width: 180px; }
.board-list-link-domain { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--site-accent); font-size: 0.82rem; }
.board-list-meta-inline { display: none; margin: 0 0 6px; }
.board-list-category-mobile { display: none; }
.board-list-table--link .board-list-col-title { width: auto; }
.board-list-table--link th.board-list-col-title { text-align: center; }
.board-list-table--link .board-list-col-date { width: 104px; }
.board-list-table--link .board-list-col-link { width: 160px; }
.board-list-table--counsel .board-list-col-title { width: auto; }
.board-list-table--counsel .board-list-col-author { width: 108px; }
.board-list-meta-mobile { display: none; margin: 8px 0 0; font-size: 0.8rem; color: var(--site-muted); line-height: 1.4; }
.board-list-attach-mobile { display: none; }
.board-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: #fee2e2; color: #b91c1c; }
.board-badge.answered, .board-badge--done { background: #dcfce7; color: #15803d; }
.board-badge.attach { background: #e0e7ff; color: #3730a3; }
.board-badge--pin { background: #fef3c7; color: #b45309; }
.board-badge--secret { background: #f1f5f9; color: #475569; }
.board-status-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; }
.board-status-badge--waiting { background: #fffbeb; color: #b45309; }
.board-status-badge--done { background: #ecfdf5; color: #047857; }

.board-card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 14px; }
/* boards.css — 2026-06-17: Card list (list_style=card) — mobile 1 / tablet 2 / PC 3 columns */
.board-card-grid--pixel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; }
.board-card-grid > .board-card-tile,
.board-card-grid--pixel > .board-card-tile { min-width: 0; max-width: 100%; }
.board-card-tile { display: flex; flex-direction: column; min-height: 100%; min-width: 0; max-width: 100%; padding: 16px; border-radius: 12px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); color: inherit; text-decoration: none; box-sizing: border-box; overflow: hidden; transition: box-shadow 0.15s, border-color 0.15s; }
.board-card-tile:hover { box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); }
.board-card-tile-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; min-height: 0; min-width: 0; max-width: 100%; }
.board-card-tile-title { display: flex; align-items: center; gap: 6px; margin: 0; min-width: 0; max-width: 100%; width: 100%; font-size: 0.9rem; font-weight: 500; line-height: 1.4; color: var(--site-text); overflow: hidden; }
.board-card-tile-title .board-feed-row-title-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.board-card-tile-title .board-post-title-with-new { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.board-card-tile-title .board-post-title-with-new > .board-feed-row-title-text { flex: 0 1 auto; }
.board-card-tile-excerpt { margin: 8px 0 0; flex: 1; min-width: 0; max-width: 100%; font-size: 0.78rem; color: var(--site-muted); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: break-word; overflow-wrap: anywhere; }
.board-card-tile-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--site-border) 45%, transparent); font-size: 0.72rem; color: var(--site-muted); min-width: 0; max-width: 100%; }
.board-card-tile-foot > span:first-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-card-tile-stats { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.board-card-tile-stat { display: inline-flex; align-items: center; gap: 4px; }
.board-card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; padding: 16px; transition: box-shadow 0.15s; }
.board-card:hover { box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); }
.board-card h3 { margin: 0 0 8px; font-size: 0.88rem; font-weight: 500; }
.board-card h3 a { color: var(--site-text); text-decoration: none; font-weight: 500; }
.board-card p { margin: 0; font-size: 0.85rem; color: var(--site-muted); line-height: 1.5; }
.board-card-footer { margin-top: 12px; font-size: 0.78rem; color: var(--site-muted); display: flex; justify-content: space-between; gap: 8px; }
.board-required { color: #dc2626; font-weight: 700; }

/* boards.css — video board list */
.board-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.board-video-card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; overflow: hidden; }
.board-video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0f172a; overflow: hidden; }
.board-video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-video-thumb-fallback { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: #94a3b8; font-size: 2rem; }
.board-video-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1.5rem; background: rgba(15, 23, 42, 0.28); }
.board-video-body { padding: 12px 14px; min-width: 0; }
.board-video-body h3 { margin: 0 0 6px; font-size: 0.95rem; font-weight: 500; min-width: 0; overflow: hidden; }
.board-video-body h3 a { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--site-text); text-decoration: none; font-weight: 500; }

/* boards.css — site link board list */
.board-link-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.board-link-card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.board-link-card-main { display: flex; gap: 12px; text-decoration: none; color: inherit; }
.board-link-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 10px; background: rgba(37, 99, 235, 0.1); color: var(--site-accent); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.board-link-text h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 500; color: var(--site-text); }
.board-link-domain { margin: 0 0 6px; font-size: 0.82rem; color: var(--site-accent); word-break: break-all; }
.board-link-desc { margin: 0; font-size: 0.85rem; color: var(--site-muted); line-height: 1.45; }
.board-link-visit { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; padding: 6px 12px; border-radius: 8px; background: var(--site-accent); color: var(--site-accent-contrast); text-decoration: none; font-size: 0.82rem; font-weight: 600; }
.board-link-meta { margin: 0; }

/* boards.css — post detail video/link */
.board-post-video { margin-bottom: 16px; }
.board-post-link-cta { margin-bottom: 16px; padding: 16px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-surface); }
.board-post-link-cta .board-meta { margin: 8px 0 0; word-break: break-all; }

/* boards.css — PixelBoard list UI (2026-06-10 code_artifact.html) */
/* 2026-06-26: Board hero/shell spacing — see site-pages.css (page title parity) */
.board-toolbar { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; padding: 12px; border-radius: 14px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 65%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.board-toolbar-form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.board-toolbar-search { position: relative; flex: 1; min-width: 140px; }
.board-toolbar-search-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--site-muted); font-size: 0.78rem; pointer-events: none; }
.board-toolbar-input { width: 100%; min-height: 34px; padding: 7px 12px 7px 32px; border: 1px solid color-mix(in srgb, var(--site-border) 75%, transparent); border-radius: 10px; background: var(--site-bg); color: var(--site-text); font-family: var(--site-font-family, inherit); font-size: 0.82rem; box-sizing: border-box; transition: border-color 0.15s, box-shadow 0.15s; }
.board-toolbar-input:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent) 18%, transparent); }
.board-btn--search { flex-shrink: 0; min-width: 64px; }
.board-toolbar-actions { display: flex; justify-content: flex-end; }

/* boards.css — 상·하단 안내 문구 (테마 변수 기반 가독성) 2026-07-02
   상단: top margin은 site-pages.css adjacency 규칙 — 요소 없으면 여백도 없음 */
.board-ui-top { margin: 0 0 18px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--site-accent) 8%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-accent) 22%, var(--site-border)); color: var(--site-text); font-size: 0.9rem; line-height: 1.65; word-break: break-word; box-sizing: border-box; }
.board-ui-top:empty { display: none; margin: 0; padding: 0; border: 0; }
.board-ui-top a { color: var(--site-link, var(--site-accent)); text-decoration: underline; text-underline-offset: 2px; }
.board-ui-top a:hover { color: var(--site-accent); }
.board-ui-top p { margin: 0 0 0.55em; }
.board-ui-top p:last-child { margin-bottom: 0; }
.board-ui-top ul, .board-ui-top ol { margin: 0.35em 0 0.55em 1.2em; padding: 0; }
.board-ui-top li { margin: 0.2em 0; }
.board-ui-top strong, .board-ui-top b { color: var(--site-on-surface, var(--site-text)); font-weight: 700; }
.board-ui-bottom { margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--site-accent) 6%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-border) 80%, transparent); color: var(--site-text); font-size: 0.9rem; line-height: 1.65; word-break: break-word; box-sizing: border-box; }
.board-ui-bottom a { color: var(--site-link, var(--site-accent)); text-decoration: underline; text-underline-offset: 2px; }
.board-ui-bottom a:hover { color: var(--site-accent); }
.board-ui-bottom p { margin: 0 0 0.55em; }
.board-ui-bottom p:last-child { margin-bottom: 0; }
.board-ui-bottom ul, .board-ui-bottom ol { margin: 0.35em 0 0.55em 1.2em; padding: 0; }
.board-ui-bottom li { margin: 0.2em 0; }
.board-ui-bottom strong, .board-ui-bottom b { color: var(--site-on-surface, var(--site-text)); font-weight: 700; }

.board-btn--write { min-height: 34px; padding: 6px 14px; border-radius: 10px; font-size: 0.8rem; box-shadow: 0 2px 8px color-mix(in srgb, var(--site-accent) 18%, transparent); }
.board-fab { display: none; position: fixed; right: 16px; bottom: 20px; z-index: 35; width: 44px; height: 44px; border-radius: 999px; background: var(--site-accent); color: var(--site-accent-contrast); align-items: center; justify-content: center; text-decoration: none; font-size: 1rem; box-shadow: 0 6px 18px color-mix(in srgb, var(--site-accent) 30%, transparent); transition: transform 0.15s; }
.board-fab:active { transform: scale(0.95); }
.board-thumb-g1 { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%); }
.board-thumb-g2 { background: linear-gradient(135deg, #0ea5e9 0%, #22d3ee 100%); }
.board-thumb-g3 { background: linear-gradient(135deg, #f97316 0%, #facc15 100%); }
.board-thumb-g4 { background: linear-gradient(135deg, #10b981 0%, #34d399 100%); }
.board-thumb-g5 { background: linear-gradient(135deg, #64748b 0%, #94a3b8 100%); }
.board-type-pill { display: inline-flex; align-items: center; padding: 3px 8px; border-radius: 8px; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; background: color-mix(in srgb, var(--site-accent) 10%, var(--site-surface)); color: var(--site-accent); }
.board-type-pill--pin { background: #fffbeb; color: #b45309; }
.board-type-pill--muted { background: var(--site-bg); color: var(--site-muted); }
.board-type-pill--story { background: #eef2ff; color: #4f46e5; }
.board-type-pill--link { background: #ecfdf5; color: #059669; }
.board-type-pill--category { text-transform: none; letter-spacing: 0; font-size: 0.68rem; }
.board-status-pill { display: inline-flex; padding: 3px 8px; border-radius: 8px; font-size: 0.62rem; font-weight: 800; border: 1px solid transparent; }
.board-status-pill--waiting { background: #fffbeb; color: #d97706; border-color: #fef3c7; }
.board-status-pill--done { background: #ecfdf5; color: #059669; border-color: #d1fae5; }
.board-feed-stack { display: flex; flex-direction: column; gap: 8px; }
.board-feed-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; padding: 12px 14px; border-radius: 14px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); color: inherit; text-decoration: none; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s; box-sizing: border-box; font: inherit; text-align: left; width: 100%; }
.board-feed-row-main { flex: 1; min-width: 0; }
.board-feed-row-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 6px; }
.board-feed-row-title { display: flex; align-items: center; gap: 6px; margin: 0; min-width: 0; max-width: 100%; font-size: 0.88rem; font-weight: 500; line-height: 1.4; color: var(--site-text); overflow: hidden; }
/* boards.css — 2026-06-17: post reply list — indent + reply icon */
.board-feed-row-title--reply { display: flex; align-items: center; gap: 6px; padding-left: calc(var(--reply-depth, 1) * 0.7rem); min-width: 0; max-width: 100%; overflow: hidden; }
.board-feed-row-reply-icon { flex-shrink: 0; font-size: 0.82rem; font-weight: 800; line-height: 1; color: var(--site-accent); opacity: 0.92; }
.board-feed-row-title-text { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; text-align: left; font-weight: 500; }
.board-feed-row-title .board-post-title-with-new,
.board-faq-q-text .board-post-title-with-new { flex: 0 1 auto; min-width: 0; max-width: 100%; }
.board-post-title-with-new > .board-feed-row-title-text { flex: 0 1 auto; }
.board-feed-row-title--reply { font-weight: 500; }
.board-form-reply-hint { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; font-size: 0.82rem; line-height: 1.5; color: var(--site-text); background: color-mix(in srgb, var(--site-accent) 8%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-accent) 18%, transparent); }
.board-detail-parent-link { margin: 0 0 12px; font-size: 0.84rem; }
.board-detail-parent-link a { color: var(--site-accent); text-decoration: none; font-weight: 600; }
.board-detail-parent-link a:hover { text-decoration: underline; }
.board-post-replies-card { margin: 16px 0 0; padding: 16px 18px; border-radius: 14px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 60%, transparent); }
.board-post-replies-heading { margin: 0 0 12px; font-size: 0.95rem; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--site-text); }
.board-post-replies-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.board-post-replies-item { margin: 0; padding-left: calc(var(--reply-depth, 1) * 1.15rem); }
.board-post-replies-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.board-post-replies-link { flex: 1 1 200px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: inherit; background: var(--site-bg); border: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); transition: border-color 0.15s, background 0.15s; }
.board-post-replies-link:hover { border-color: color-mix(in srgb, var(--site-accent) 35%, transparent); background: color-mix(in srgb, var(--site-accent) 4%, var(--site-bg)); }
.board-post-replies-reply-btn { flex-shrink: 0; }
.board-post-replies-author { font-size: 0.78rem; font-weight: 700; color: var(--site-accent); }
.board-post-replies-title { flex: 1 1 160px; font-size: 0.86rem; font-weight: 500; color: var(--site-text); }
.board-post-replies-date { font-size: 0.72rem; color: var(--site-muted); }
.board-feed-row-meta { margin: 0; font-size: 0.75rem; color: var(--site-muted); }
.board-list-stat { display: inline-flex; align-items: center; gap: 4px; font-size:0.85rem}
.board-list-stat--comment i { font-size: 0.72rem; opacity: 0.85; }
.board-gallery-stats .board-list-stat--comment { gap: 4px; }
.board-feed-row-excerpt { margin: 6px 0 0; font-size: 0.75rem; color: var(--site-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-feed-row-side { flex-shrink: 0; font-size: 0.82rem; color: var(--site-muted); }
.board-feed-row-chevron { flex-shrink: 0; color: color-mix(in srgb, var(--site-muted) 55%, transparent); font-size: 0.85rem; transition: transform 0.15s; }
.board-counsel-title-row { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; min-width: 0; }
.board-counsel-title-row .board-feed-row-title { flex: 1; min-width: 0; }
.board-counsel-lock { flex-shrink: 0; margin-top: 3px; color: #d97706; font-size: 0.85rem; }
.board-inline-lock { color: #d97706; font-size: 0.78rem; margin-right: 4px; }
.board-link-url { margin: 4px 0 0; font-size: 0.75rem; color: var(--site-accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-link-icon-box { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--site-bg); color: var(--site-muted); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: color 0.15s, background 0.15s; }
.board-feed-row--link:hover .board-link-icon-box { color: var(--site-accent); background: color-mix(in srgb, var(--site-accent) 8%, var(--site-bg)); }
/* boards.css — 2026-06-11: gallery list columns 2 / 3 / 4 by breakpoint */
.board-gallery-grid--pixel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
/* 2026-06-12: gallery list card radius slightly reduced */
.board-gallery-card { display: block; overflow: hidden; border-radius: 12px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); color: inherit; text-decoration: none; }
.board-gallery-visual { height: 144px; overflow: hidden; background: #0f172a; }
.board-gallery-visual img, .board-gallery-gradient { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-gallery-info { padding: 16px; }
.board-gallery-title { margin: 0; font-size: 0.88rem; font-weight: 500; line-height: 1.35; color: var(--site-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-gallery-stats { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; font-size: 0.75rem; color: var(--site-muted); }
.board-gallery-stat { display: inline-flex; align-items: center; gap: 4px; }
.board-faq-list--pixel { display: flex; flex-direction: column; gap: 12px; }
.board-faq-item { overflow: hidden; border-radius: 16px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.board-faq-q { width: 100%; min-height: 44px; padding: 16px 20px; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; gap: 12px; text-align: left; color: var(--site-text); font-family: inherit; }
.board-faq-q:hover { background: color-mix(in srgb, var(--site-bg) 50%, var(--site-surface)); }
.board-faq-q-mark { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; background: var(--site-accent); color: var(--site-accent-contrast); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 900; }
.board-faq-q-text { flex: 1; font-size: 0.88rem; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-faq-chevron { flex-shrink: 0; color: var(--site-muted); transition: transform 0.2s ease; }
.board-faq-item.is-open .board-faq-chevron { transform: rotate(180deg); }
.board-faq-a-wrap { display: grid; grid-template-rows: 0fr; min-height: 0; transition: grid-template-rows 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.board-faq-item.is-open .board-faq-a-wrap { grid-template-rows: 1fr; }
.board-faq-a-inner { min-height: 0; overflow: hidden; padding: 0 20px; border-top: 1px solid transparent; background: color-mix(in srgb, var(--site-bg) 45%, var(--site-surface)); }
.board-faq-item.is-open .board-faq-a-inner { padding-bottom: 20px; border-top-color: color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-faq-a { padding-top: 0; font-size: 0.88rem; line-height: var(--site-line-height, 1.8); color: var(--site-muted); }
.board-faq-item.is-open .board-faq-a { padding-top: 16px; }
.board-faq-item:not(.is-open) .board-faq-detail-link { display: none; }
.board-faq-detail-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 0.75rem; font-weight: 800; color: var(--site-accent); text-decoration: none; }
.board-faq-detail-link:hover { text-decoration: underline; }
/* boards.css — 2026-06-17: counsel detail — FAQ-style Q/A thread */
.board-shell--counsel-detail .board-detail-card--counsel { overflow: visible; }
.board-detail-header--counsel { padding-bottom: 16px; }
.board-counsel-detail-status-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.board-detail-body--counsel { padding-top: 0; }
.board-counsel-faq-detail { margin: 0; }
.board-counsel-faq-list { gap: 12px; }
.board-counsel-faq-item--a { margin-left: calc((var(--reply-depth, 1) - 1) * 1.15rem); }
.board-counsel-faq-head { display: flex; flex-direction: column; gap: 8px; width: 100%; box-sizing: border-box; }
.board-counsel-faq-toggle { width: 100%; padding: 14px 16px; box-sizing: border-box; }
.board-counsel-faq-toggle--answer { align-items: flex-start; }
.board-counsel-faq-head-main { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; flex: 1; min-width: 0; text-align: left; }
.board-counsel-faq-q-title, .board-counsel-faq-a-title { font-weight: 500; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-counsel-faq-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 6px; width: 100%; max-width: 100%; padding: 0 16px 12px 52px; box-sizing: border-box; }
.board-counsel-faq-item:not(.is-open) .board-counsel-faq-actions { padding-bottom: 14px; }
.board-counsel-faq-actions .board-inline-form--post-delete { display: inline-flex; align-items: center; gap: 4px; margin: 0; flex-wrap: wrap; }
.board-faq-a-mark { flex-shrink: 0; width: 24px; height: 24px; border-radius: 8px; background: color-mix(in srgb, #6366f1 88%, var(--site-accent)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 900; }
.board-counsel-faq-a-meta { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; }
.board-counsel-faq-a-author { font-size: 0.86rem; font-weight: 500; color: var(--site-text); }
.board-counsel-faq-a-date { font-size: 0.72rem; color: var(--site-muted); }
.board-counsel-faq-body { color: var(--site-text); }
.board-counsel-faq-attachments { margin-top: 14px; }
.board-counsel-faq-attach-title { margin: 0 0 8px; font-size: 0.82rem; font-weight: 500; color: var(--site-muted); }
.board-counsel-faq-empty { margin: 0; padding: 18px 20px; border-radius: 16px; text-align: center; font-size: 0.84rem; color: var(--site-muted); background: color-mix(in srgb, var(--site-bg) 55%, var(--site-surface)); border: 1px dashed color-mix(in srgb, var(--site-border) 60%, transparent); }
.board-counsel-faq-empty i { margin-right: 6px; opacity: 0.75; }
.board-blog-feed--pixel { display: flex; flex-direction: column; gap: 24px; }
/* 2026-06-12: blog list card radius slightly reduced */
.board-blog-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 16px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); color: inherit; text-decoration: none; }
.board-blog-visual { position: relative; height: 192px; flex-shrink: 0; overflow: hidden; }
.board-blog-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.board-blog-content { padding: 24px; display: flex; flex-direction: column; justify-content: space-between; flex: 1; gap: 20px; }
.board-blog-title { margin: 8px 0 0; font-size: clamp(0.92rem, 2vw, 1.05rem); font-weight: 500; line-height: 1.35; color: var(--site-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-blog-title .board-status-icon,
.board-gallery-title .board-status-icon,
.board-faq-q-text .board-status-icon,
.board-feed-row-title .board-status-icon,
.board-video-info h3 .board-status-icon { display: inline-flex; vertical-align: middle; margin-right: 6px; }
.board-blog-excerpt { margin: 8px 0 0; font-size: 0.88rem; color: var(--site-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.board-blog-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); font-size: 0.75rem; color: var(--site-muted); }
.board-blog-views { display: inline-flex; align-items: center; gap: 4px; }
.board-blog-stat-group { display: inline-flex; align-items: center; gap: 10px; }
.board-gallery-stat-group { display: inline-flex; align-items: center; gap: 10px; }
/* boards.css — 2026-06-11: video list columns aligned with gallery (2 / 3 / 4) */
.board-video-grid--pixel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
/* 2026-06-12: video list card radius slightly reduced */
.board-video-card { overflow: hidden; border-radius: 16px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); min-width: 0; }
.board-video-stage { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: none; cursor: pointer; overflow: hidden; background: #0f172a; font: inherit; }
.board-video-stage img, .board-video-gradient { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-video-dim { position: absolute; inset: 0; background: rgba(15, 23, 42, 0.2); transition: background 0.2s; }
.board-video-stage:hover .board-video-dim { background: rgba(15, 23, 42, 0.45); }
.board-video-play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 1; }
.board-video-play-btn i { width: 48px; height: 48px; border-radius: 999px; background: #fff; color: var(--site-accent); display: flex; align-items: center; justify-content: center; font-size: 1rem; padding-left: 3px; box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25); transition: transform 0.2s; }
.board-video-stage:hover .board-video-play-btn i { transform: scale(1.1); }
.board-video-info { padding: 20px; min-width: 0; }
/* boards.css — 2026-06-26: video list title single-line ellipsis */
.board-video-info h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 500; min-width: 0; overflow: hidden; }
.board-video-info h3 a,
.board-video-info h3 .board-text-btn { display: block; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--site-text); text-decoration: none; font-weight: 500; }
.board-video-info h3 a:hover { color: var(--site-accent); }
.board-video-info h3 .board-text-btn { font-weight: 500; text-align: left; width: 100%; }
.board-empty-state--premium { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 24px; border-radius: 24px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); text-align: center; }
.board-empty-icon { width: 72px; height: 72px; border-radius: 999px; background: color-mix(in srgb, var(--site-bg) 60%, var(--site-surface)); color: var(--site-muted); display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin-bottom: 16px; }
.board-empty-title { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--site-text); }
.board-empty-desc { margin: 8px 0 0; font-size: 0.88rem; color: var(--site-muted); }
@media (hover: hover) {
  .board-hover-lift:hover { border-color: color-mix(in srgb, var(--site-accent) 35%, var(--site-border)); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
  .board-feed-row:hover .board-feed-row-title { color: var(--site-accent); }
  .board-feed-row:hover .board-feed-row-chevron { transform: translateX(3px); color: var(--site-accent); }
  .board-gallery-card:hover .board-gallery-title { color: var(--site-accent); }
  .board-video-card:hover .board-video-info h3 a { color: var(--site-accent); }
  .board-blog-card:hover .board-blog-title { color: var(--site-accent); }
}
/* boards.css — gallery detail grid + lightbox */
.board-gallery-detail { margin-bottom: 18px; }
/* boards.css — 목록형 상세: 첨부 이미지 세로 나열. 2026-07-02 */
.board-gallery-detail--stack { margin-bottom: 24px; }
.board-gallery-detail--stack .board-gallery-detail-grid { display: flex; flex-direction: column; gap: 14px; grid-template-columns: unset; }
.board-gallery-detail--stack .board-gallery-detail-item { aspect-ratio: auto; max-height: none; border-radius: 8px; background: color-mix(in srgb, var(--site-bg) 65%, var(--site-surface)); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06); }
.board-gallery-detail--stack .board-gallery-detail-item img { width: 100%; height: auto; max-height: min(80vh, 720px); object-fit: contain; transform: none; }
.board-gallery-detail--stack .board-gallery-detail-item:hover { transform: none; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1); }
.board-gallery-detail--stack .board-gallery-detail-item:hover img { transform: none; }
.bvl-body .board-bulletin-viewer { margin-top: 28px; }
.board-gallery-detail-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: 0.95rem; font-weight: 500; color: var(--site-text); }
.board-gallery-detail-heading i { color: var(--site-accent); }
.board-gallery-detail-count { padding: 2px 8px; border-radius: 999px; background: var(--site-bg); color: var(--site-muted); font-size: 0.72rem; font-weight: 800; }
/* 2026-06-12: Multiple attachments — responsive grid on post detail */
.board-gallery-detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 160px), 1fr)); gap: 10px; }
.board-gallery-detail-grid:has(.board-gallery-detail-item:only-child) { grid-template-columns: 1fr; }
.board-gallery-detail-grid:has(.board-gallery-detail-item:only-child) .board-gallery-detail-item { width: 100%; max-width: none; }
.board-gallery-detail-item:only-child { aspect-ratio: auto; max-height: min(72vh, 520px); background: color-mix(in srgb, var(--site-bg) 70%, var(--site-surface)); }
.board-gallery-detail-item:only-child img { height: auto; max-height: min(72vh, 520px); object-fit: contain; }
.board-gallery-detail-item { display: block; width: 100%; margin: 0; padding: 0; border: none; border-radius: 12px; overflow: hidden; aspect-ratio: 1; cursor: pointer; background: #0f172a; box-shadow: 0 1px 4px rgba(15, 23, 42, 0.08); transition: transform 0.15s, box-shadow 0.15s; }
.board-gallery-detail-item:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12); }
.board-gallery-detail-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s ease; }
.board-gallery-detail-item:hover img { transform: scale(1.04); }
.board-gallery-detail-downloads { list-style: none; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-gallery-detail-download { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px; padding: 7px 11px; border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); border-radius: 10px; background: var(--site-surface); font-size: 0.84rem; word-break: break-all; max-width: 100%; box-sizing: border-box; }
.board-gallery-detail-download a { display: inline-flex; align-items: center; gap: 6px; color: var(--site-accent); text-decoration: none; font-weight: 500; }
.board-gallery-detail-download a:hover { text-decoration: underline; }
.board-gallery-detail-download-size { color: var(--site-muted); font-size: 0.78rem; }
.board-gallery-lightbox-root[hidden] { display: none !important; }
.board-gallery-lightbox-overlay { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 56px 72px 40px; background: rgba(2, 6, 23, 0.88); backdrop-filter: blur(6px); box-sizing: border-box; }
.board-gallery-lightbox-stage { position: relative; width: min(100%, 1100px); max-height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.board-gallery-lightbox-img { display: block; max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35); transition: opacity 0.26s ease, transform 0.26s ease; }
.board-gallery-lightbox-stage.is-slide-next .board-gallery-lightbox-img { opacity: 0; transform: translateX(28px) scale(0.97); }
.board-gallery-lightbox-stage.is-slide-prev .board-gallery-lightbox-img { opacity: 0; transform: translateX(-28px) scale(0.97); }
.board-gallery-lightbox-stage.is-slide-enter .board-gallery-lightbox-img { opacity: 0; transform: scale(0.98); }
.board-gallery-lightbox-caption { margin: 14px 0 0; max-width: min(100%, 1100px); text-align: center; font-size: 0.84rem; color: rgba(255, 255, 255, 0.88); word-break: break-all; }
.board-gallery-lightbox-counter { margin: 6px 0 0; font-size: 0.76rem; font-weight: 700; color: rgba(255, 255, 255, 0.55); }
.board-gallery-lightbox-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.board-gallery-lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border: none; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; transition: background 0.15s, opacity 0.15s; z-index: 2; }
.board-gallery-lightbox-nav:hover:not(:disabled) { background: rgba(255, 255, 255, 0.24); }
.board-gallery-lightbox-nav:disabled { opacity: 0.35; cursor: not-allowed; }
.board-gallery-lightbox-nav--prev { left: 16px; }
.board-gallery-lightbox-nav--next { right: 16px; }

.board-modal-root[hidden] { display: none !important; }
.board-modal-open { overflow: hidden; }
.board-modal-overlay { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(2, 6, 23, 0.6); backdrop-filter: blur(4px); }
.board-modal-close { width: 44px; height: 44px; border: none; border-radius: 12px; background: transparent; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.board-modal-close:hover { background: rgba(255, 255, 255, 0.12); }
/* boards.css — 2026-06-17: square video modal corners (mobile clip fix) */
.board-video-modal { width: 100%; max-width: 960px; overflow: hidden; border-radius: 0; background: #000; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45); }
.board-video-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; background: #0f172a; color: #fff; }
.board-video-modal-title { flex: 1; min-width: 0; font-size: 0.88rem; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* boards.css — 2026-06-11: list modal custom player mount */
.board-video-modal-body { background: #000; display: flex; flex-direction: column; min-height: 0; }
.board-video-modal-body--landscape { aspect-ratio: 16 / 9; }
.board-video-modal-body--portrait { aspect-ratio: 9 / 16; max-width: min(100%, 420px); width: 100%; margin: 0 auto; }
.board-video-modal-body [data-scp-modal-player-mount] { flex: 1 1 auto; width: 100%; min-height: 0; }
@media (max-width: 639px) {
  .board-modal-overlay:has(.board-video-modal) { padding: 0; align-items: stretch; }
  .board-video-modal { max-width: 100%; min-height: 0; box-shadow: none; }
  .board-video-modal-body--landscape { width: 100%; max-width: 100%; }
}
.board-post-video.board-detail-media .scp-player-host { width: 100%; border-radius: 16px; overflow: hidden; }
.board-secret-modal { width: 100%; max-width: 384px; padding: 24px; border-radius: 24px; background: var(--site-surface); box-shadow: 0 25px 60px rgba(15, 23, 42, 0.28); }
.board-secret-modal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #d97706; }
.board-secret-modal-head-icon { width: 40px; height: 40px; border-radius: 12px; background: #fffbeb; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.board-secret-modal-title { margin: 0; font-size: 1.1rem; font-weight: 900; color: var(--site-text); }
.board-secret-modal-lead { margin: 0 0 16px; font-size: 0.75rem; color: var(--site-muted); line-height: 1.55; }
.board-secret-form .board-input { margin-bottom: 12px; min-height: 44px; text-align: center; letter-spacing: 0.08em; font-weight: 700; }
.board-secret-error { margin: 0 0 10px; font-size: 0.8rem; color: #dc2626; text-align: center; }
.board-secret-actions { display: flex; gap: 8px; }
.board-secret-actions .board-btn { flex: 1; min-height: 34px; justify-content: center; font-size: 0.76rem; font-weight: 800; border-radius: 10px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* boards.css — detail & write views (code_artifact.html) */
.board-shell--pixel.board-shell--no-fab { padding-top: 0; padding-bottom: 24px; }
.board-view-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.board-back-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 10px; font-size: 0.8rem; font-weight: 700; color: var(--site-muted); text-decoration: none; transition: background 0.15s, color 0.15s; }
.board-back-link:hover { background: color-mix(in srgb, var(--site-bg) 50%, var(--site-surface)); color: var(--site-text); }
.board-view-badge { display: inline-flex; padding: 4px 10px; border-radius: 999px; font-size: 0.68rem; font-weight: 800; text-transform: uppercase; background: color-mix(in srgb, var(--site-accent) 10%, var(--site-surface)); color: var(--site-accent); }
.board-view-badge--muted { background: var(--site-bg); color: var(--site-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.board-detail-card { border-radius: var(--board-radius); background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); overflow: hidden; }
.board-detail-card--bulletin { overflow: hidden; }
.board-detail-card--bulletin .board-detail-body { overflow: hidden; max-width: 100%; }
.board-shell--pixel:has(.board-bulletin-viewer) { overflow-x: clip; }
.board-detail-card--bulletin .board-bulletin-viewer { max-width: 100%; box-sizing: border-box; }
.board-detail-header { padding: 20px 22px; border-bottom: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-detail-title { margin: 0; font-size: clamp(0.92rem, 1.6vw, 1.08rem); font-weight: 500; line-height: 1.45; color: var(--site-text); word-break: break-word; }
.board-detail-meta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.board-detail-author { display: flex; align-items: center; gap: 12px; }
.board-detail-avatar { width: 40px; height: 40px; border-radius: 11px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.82rem; font-weight: 900; flex-shrink: 0; }
.board-avatar-tone0 { background: #f43f5e; }
.board-avatar-tone1 { background: #3b82f6; }
.board-avatar-tone2 { background: #10b981; }
.board-avatar-tone3 { background: #8b5cf6; }
.board-avatar-tone4 { background: #f59e0b; }
.board-avatar-tone5 { background: #06b6d4; }
.board-detail-author-name { margin: 0; font-size: 0.88rem; font-weight: 500; color: var(--site-text); }
.board-detail-date { margin: 2px 0 0; font-size: 0.72rem; color: var(--site-muted); }
.board-detail-stats { display: flex; align-items: center; gap: 10px; font-size: 0.78rem; color: var(--site-muted); }
.board-detail-stat strong { color: var(--site-text); font-weight: 800; }
.board-detail-body { padding: 20px 22px; }
.board-detail-media { margin-bottom: 16px; border-radius: 14px; overflow: hidden; }
.board-detail-link-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 16px; border-radius: 14px; background: color-mix(in srgb, var(--site-bg) 55%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); text-decoration: none; color: inherit; transition: background 0.15s; }
.board-detail-link-card:hover { background: color-mix(in srgb, var(--site-accent) 6%, var(--site-surface)); }
.board-detail-link-icon { width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--site-accent) 12%, var(--site-surface)); color: var(--site-accent); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.board-detail-link-text { flex: 1; min-width: 0; }
.board-detail-link-label { display: block; font-size: 0.65rem; font-weight: 800; text-transform: uppercase; color: var(--site-muted); }
.board-detail-link-url { display: block; font-size: 0.82rem; font-weight: 700; color: var(--site-accent); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.board-detail-link-go { flex-shrink: 0; padding: 5px 10px; border-radius: 8px; background: var(--site-accent); color: var(--site-accent-contrast); font-size: 0.72rem; font-weight: 800; }
.board-detail-content { border: none !important; border-radius: 0; padding: 0; background: transparent !important; box-shadow: none; font-size: 0.95rem; line-height: var(--site-line-height, 1.8); }
.board-detail-body .board-post-content { border: none !important; border-radius: 0; padding: 0; background: transparent !important; box-shadow: none; }
.board-detail-attachments { margin-top: 16px; }
.board-detail-attachments .board-attachment-list { display: flex; flex-direction: row; flex-wrap: wrap; align-items: stretch; gap: 8px 10px; }
.board-detail-attachments .board-attachment-list li { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 12px; border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); border-radius: 10px; border-bottom: none; background: var(--site-surface); font-size: 0.84rem; word-break: break-all; max-width: 100%; box-sizing: border-box; }
.board-detail-attachments .board-attachment-list a { font-weight: 500; }
.board-detail-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; padding: 16px 22px; border-top: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-text-btn { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: none; background: transparent; color: var(--site-muted); font-size: 0.78rem; font-weight: 700; cursor: pointer; border-radius: 8px; transition: color 0.15s; }
.board-text-btn:hover { color: var(--site-text); }
.board-toolbar-share { margin-left: auto; align-self: center; }
.board-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.board-detail-admin-action { margin: 12px 0 0; }
.board-detail-list-nav { display: flex; justify-content: center; margin-top: 18px; }
.board-detail-list-btn { min-width: 140px; justify-content: center; }
.board-comments-card { margin-top: 18px; padding: 18px 20px; border-radius: 24px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.board-comments-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 1rem; font-weight: 600; color: var(--site-text); }
.board-comments-heading i { color: var(--site-accent); }
.board-comments-count { margin-left: 2px; padding: 2px 8px; border-radius: 999px; background: var(--site-bg); color: var(--site-muted); font-size: 0.72rem; font-weight: 800; }
.board-comment-compose-pixel { display: flex; gap: 10px; align-items: flex-start; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-comment-avatar { width: 30px; height: 30px; border-radius: 8px; background: var(--site-accent); color: var(--site-accent-contrast); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 900; flex-shrink: 0; margin-top: 4px; }
.board-comment-compose-main { flex: 1; min-width: 0; }
.board-comment-textarea--pixel { border-radius: 10px; border: 1px solid color-mix(in srgb, var(--site-border) 70%, transparent); background: var(--site-bg); min-height: 48px; }
.board-comment-compose-bar--pixel { justify-content: flex-end; padding: 6px 8px; }
.board-form-card { padding: 20px 22px; border-radius: 24px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.board-form-card-title { margin: 0 0 4px; font-size: clamp(1.1rem, 3vw, 1.45rem); font-weight: 900; color: var(--site-text); }
.board-form-card-desc { margin: 0 0 18px; font-size: 0.82rem; color: var(--site-muted); }
.board-form--pixel { border: none; box-shadow: none; padding: 0; background: transparent; }
.board-form-label--pixel { font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--site-muted); margin-bottom: 6px; }
.board-form-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin-bottom: 4px; }
.board-input-icon-wrap { position: relative; }
.board-input-icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--site-muted); font-size: 0.82rem; pointer-events: none; }
.board-input--icon { padding-left: 34px; }
.board-form--pixel .board-input, .board-form--pixel .board-textarea { padding: 9px 12px; font-size: 0.86rem; border-radius: 10px; min-height: 0; }
.board-form--pixel .board-textarea { min-height: 140px; }
.board-check-field--pixel { padding: 10px 12px; border-radius: 10px; font-size: 0.84rem; }
.board-form-check-row { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.board-form-check-row .board-check-field { flex: 1 1 0; min-width: 0; margin: 0; align-items: center; }
.board-form-check-row .board-check-field input[type="checkbox"] { margin: 0; }
.board-form-check-row .board-check-field span { font-size: 0.82rem; line-height: 1.35; }
.board-form-notice-box { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 12px; font-size: 0.84rem; margin-bottom: 12px; }
.board-form-notice-box--amber { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.board-form-actions--pixel { margin-top: 16px; padding-top: 14px; border-top: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); justify-content: flex-end; gap: 8px; }
.board-form-actions--pixel .board-btn { min-width: 88px; }
.board-prev-next--pixel, .board-bottom-list--pixel { margin-top: 18px; }
/* boards.css — detail bottom post list (matches board-feed-stack list) */
/* 2026-06-30: Reuse feed-row cards; section is heading + stack only */
.board-bottom-list--pixel { padding: 0; border: none; background: transparent; box-shadow: none; }
.board-bottom-list-heading { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1rem; font-weight: 700; color: var(--site-text); }
.board-bottom-list-heading i { color: var(--site-accent); }
.board-bottom-list-actions { display: flex; justify-content: center; margin-top: 12px; }
.board-bottom-list-actions .board-btn { min-width: 140px; justify-content: center; }
.board-bottom-list--pixel .board-list-panel--detail-bottom { margin: 0; }
.board-secret-page-card { max-width: 420px; margin: 0 auto; padding: 22px; border-radius: 24px; background: var(--site-surface); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
@media (min-width: 640px) {
  .board-toolbar { flex-direction: row; align-items: center; }
  .board-form-grid { grid-template-columns: 1fr 1fr; }
  .board-gallery-grid--pixel { grid-template-columns: repeat(3, 1fr); }
  .board-blog-card { flex-direction: row; }
  .board-blog-visual { width: 33.333%; height: auto; min-height: 192px; }
  .board-video-grid--pixel { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 768px) {
  .board-card-grid--pixel { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1024px) {
  .board-gallery-grid--pixel { grid-template-columns: repeat(4, 1fr); }
  .board-video-grid--pixel { grid-template-columns: repeat(4, 1fr); }
  .board-card-grid--pixel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 767px) {
  .board-toolbar-actions { display: none; }
  .board-fab { display: flex; }
  .board-toolbar-form { width: 100%; }
  .board-btn--search { flex: 0 0 auto; }
  .board-shell--pixel { padding-bottom: 20px; }
  .board-detail-card { border-radius: 16px; }
  .board-detail-header { padding: 16px; }
  .board-detail-body { padding: 16px; }
  .board-detail-meta-row { flex-direction: row; align-items: center; gap: 10px; }
  .board-detail-stats { margin-left: auto; flex-shrink: 0; }
  .board-detail-footer { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; }
  .board-text-btn { flex-shrink: 0; }
  .board-detail-actions { display: inline-flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; width: auto; }
  .board-detail-footer .board-inline-form--post-delete { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; width: auto; margin: 0; }
  .board-comments-card { margin-top: 14px; padding: 14px 16px; border-radius: 16px; }
  .board-comment-compose-pixel { gap: 8px; }
  .board-comment-item--reply { padding-left: 16px; }
  .board-comment-replies { padding-left: 16px; }
}

.board-post-title { margin: 0; font-size: 1.05rem; line-height: 1.4; word-break: break-word; font-weight: 500; }
.board-post-content { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 12px; padding: 20px; line-height: var(--site-line-height, 1.8); white-space: normal; word-break: break-word; overflow-wrap: anywhere; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board-post-content iframe, .board-post-content video, .board-post-content embed { max-width: 100%; }
.board-post-content pre { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.board-header--detail .board-header-main { flex: 1; min-width: 0; }
.board-attachments { margin-top: 20px; }
.board-attachments h3 { font-size: 0.95rem; font-weight: 500; margin: 0 0 10px; }
.board-attachment-list { list-style: none; margin: 0; padding: 0; }
.board-attachment-list li { padding: 8px 0; border-bottom: 1px solid var(--site-border); font-size: 0.875rem; }
.board-attachment-list a { color: var(--site-accent); text-decoration: none; }

/* boards.css — premium nested comments (Slack/Notion-style) */
:root, [data-theme="light"] { --board-comment-line: color-mix(in srgb, #e2e8f0 60%, transparent); }
[data-theme="dark"] { --board-comment-line: color-mix(in srgb, #334155 40%, transparent); }
[data-theme="charcoal"] { --board-comment-line: color-mix(in srgb, var(--site-border) 45%, transparent); }
[data-theme="emerald"], [data-theme="sunset"], [data-theme="amethyst"], [data-theme="rose"], [data-theme="ocean"], [data-theme="lightgreen"] { --board-comment-line: color-mix(in srgb, var(--site-border) 55%, transparent); }

.board-comments { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--site-border); }
.board-comment-list { display: flex; flex-direction: column; gap: 0; }
.board-comment-list--replies { gap: 0; }
.board-comment-item { position: relative; padding: 8px 10px; border-bottom: 1px solid color-mix(in srgb, var(--site-border) 45%, transparent); }
.board-comment-item:last-child { border-bottom: none; }
.board-comment-list--replies .board-comment-item { padding: 6px 8px; }
.board-comment-item--reply { padding-left: 16px; }
.board-comment-connector { position: absolute; left: 0; top: 22px; width: 12px; height: 12px; border-left: 1px solid var(--board-comment-line); border-bottom: 1px solid var(--board-comment-line); border-bottom-left-radius: 8px; pointer-events: none; }
.board-comment-row { display: flex; align-items: flex-start; gap: 0; }
.board-comment-item-main { flex: 1; min-width: 0; overflow: hidden; }
.board-comment-replies { position: relative; margin: 0; padding-left: 16px; border-left: none; }
.board-comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-bottom: 2px; min-width: 0; }
.board-comment-item-avatar { flex-shrink: 0; width: 32px; height: 32px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 900; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.board-comment-item-avatar.board-avatar-tone0 { background: linear-gradient(135deg, #fecdd3 0%, #fda4af 100%); color: #9f1239; }
.board-comment-item-avatar.board-avatar-tone1 { background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%); color: #1e40af; }
.board-comment-item-avatar.board-avatar-tone2 { background: linear-gradient(135deg, #bbf7d0 0%, #86efac 100%); color: #166534; }
.board-comment-item-avatar.board-avatar-tone3 { background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%); color: #5b21b6; }
.board-comment-item-avatar.board-avatar-tone4 { background: linear-gradient(135deg, #fde68a 0%, #fcd34d 100%); color: #92400e; }
.board-comment-item-avatar.board-avatar-tone5 { background: linear-gradient(135deg, #a5f3fc 0%, #67e8f9 100%); color: #0e7490; }
.board-comment-author { font-size: 0.95rem; font-weight: 600; color: var(--site-text); line-height: 1.3; }
.board-comment-reply-tag { font-size: 0.68rem; font-weight: 700; color: color-mix(in srgb, #6366f1 75%, var(--site-muted)); background: transparent; padding: 0; letter-spacing: -0.01em; }
.board-comment-date { font-size: 0.8rem; color: var(--site-muted); white-space: nowrap; }
.board-comment-date::before { content: '·'; margin-right: 8px; color: color-mix(in srgb, var(--site-muted) 55%, transparent); }
.board-comment-body { font-size: 0.95rem; line-height: var(--site-line-height, 1.65); color: var(--site-text); word-break: break-word; overflow-wrap: anywhere; }
.board-comment-foot { margin-top: 2px; }
.board-comment-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; }
.board-comment-action-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 30px; padding: 0 8px; border: none; border-radius: 8px; background: transparent; color: color-mix(in srgb, var(--site-muted) 88%, transparent); font-size: 0.74rem; font-weight: 700; cursor: pointer; transition: color 0.15s, background 0.15s; text-decoration: none; box-sizing: border-box; }
.board-comment-action-btn i { font-size: 0.72rem; opacity: 0.85; }
.board-comment-action-btn:hover { background: color-mix(in srgb, var(--site-bg) 65%, transparent); }
.board-comment-action-btn--reply:hover { color: var(--site-accent); }
.board-comment-action-btn--edit:hover { color: #d97706; }
.board-comment-action-btn--delete:hover { color: #e11d48; }
.board-comment-actions .board-inline-form--comment-delete { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; margin: 0; width: auto; }
.board-comment-actions .board-inline-password-wrap { min-height: 40px; }
.board-comment-actions .board-inline-password { width: 110px; padding: 6px 8px; font-size: 0.72rem; min-height: 36px; box-sizing: border-box; }
.board-comment-inline-panel { display: grid; grid-template-rows: 0fr; margin-top: 0; opacity: 0; transition: grid-template-rows 0.24s ease, opacity 0.24s ease, margin-top 0.24s ease; }
.board-comment-inline-panel.is-open { grid-template-rows: 1fr; margin-top: 10px; opacity: 1; }
.board-comment-inline-panel > form { overflow: hidden; min-height: 0; }
.board-comment-inline-form { display: flex; flex-direction: column; gap: 8px; padding: 10px 12px; border-radius: 12px; background: color-mix(in srgb, var(--site-bg) 70%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-border) 55%, transparent); }
.board-comment-inline-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-comment-textarea--inline { width: 100%; min-height: 44px; max-height: 180px; padding: 10px 12px; border: 1px solid color-mix(in srgb, var(--site-border) 65%, transparent); border-radius: 10px; font-family: var(--site-font-family, inherit); font-size: 0.86rem; line-height: var(--site-line-height, 1.8); box-sizing: border-box; background: var(--site-surface); color: var(--site-text); resize: none; overflow-y: hidden; }
.board-comment-textarea--inline:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 2px color-mix(in srgb, var(--site-accent) 16%, transparent); }
.board-comment-inline-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.board-comment-inline-actions { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; }
.board-comment-inline-error { margin: 0; font-size: 0.78rem; color: #dc2626; }
.board-btn--inline-submit { min-height: 36px; padding: 6px 12px; font-size: 0.78rem; }
.board-btn--inline-cancel { min-height: 36px; padding: 6px 12px; font-size: 0.78rem; }
.board-comment-inline-actions .board-btn--inline-cancel { flex-shrink: 0; }
@media (min-width: 768px) {
  .board-comment-item--reply { padding-left: 32px; }
  .board-comment-replies { padding-left: 32px; }
  .board-comment-connector { left: 16px; }
}
.board-header--detail .board-header-actions { justify-content: flex-start; }
.board-header--detail .board-btn--list { margin-left: auto; }
.board-comment-foot .board-icon-toolbar { justify-content: flex-end; }
.board-comment-form { margin-top: 14px; padding: 0; border: none; border-radius: 0; background: transparent; display: flex; flex-direction: column; gap: 8px; }
.board-comment-form--gated { padding: 0; border: none; background: transparent; }
.board-comment-form--gated .board-gated-btn { width: auto; min-height: 0; }
.board-comment-reply-hint { margin: 0; font-size: 0.8rem; color: var(--site-muted); }
.board-comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.board-comment-compose { border: 1px solid var(--site-border); border-radius: 10px; background: var(--site-surface); overflow: hidden; }
.board-comment-textarea { width: 100%; min-height: 56px; max-height: 200px; padding: 10px 12px; border: none; border-bottom: 1px solid var(--site-border); border-radius: 0; font-family: var(--site-font-family, inherit); font-size: 0.9rem; line-height: var(--site-line-height, 1.8); box-sizing: border-box; background: transparent; color: var(--site-text); resize: none; overflow-y: hidden; }
.board-comment-textarea:focus { outline: none; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--site-accent) 25%, transparent); }
.board-comment-compose-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; padding: 8px 10px; background: color-mix(in srgb, var(--site-bg) 55%, var(--site-surface)); }
.board-comment-password-wrap { flex: 1 1 140px; min-width: 0; }
.board-input--compact { padding: 7px 10px; font-size: 0.86rem; border-radius: 8px; }
.board-input--password-inline { width: 100%; padding-left: 10px; padding-right: 10px; }
.board-btn--compact { padding: 7px 14px; font-size: 0.84rem; font-weight: 600; min-width: 0; white-space: nowrap; }
.board-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.board-form-row .board-form-group { margin-bottom: 0; }
.board-link-btn { background: none; border: none; color: var(--site-accent); cursor: pointer; padding: 0; font-size: inherit; }
.board-header-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.board-inline-form { display: inline-flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0; }
.board-inline-password-wrap { display: inline-flex; align-items: center; position: relative; min-width: 150px; }
.board-inline-password-wrap .board-password-icon { left: 8px; font-size: 0.78rem; }
.board-inline-password { width: 150px; padding: 8px 36px 8px 30px; border: 1px solid var(--site-border); border-radius: 8px; font-family: var(--site-font-family, inherit); font-size: 0.84rem; background: var(--site-bg); color: var(--site-text); box-sizing: border-box; }
.board-inline-password:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15); }
.board-inline-password-wrap .board-password-toggle { width: 28px; height: 28px; right: 2px; }
.board-btn.danger { background: #dc2626; color: #fff; border-color: #dc2626; }
.board-btn.danger:hover { background: #b91c1c; }
.board-btn.mini { padding: 4px 10px; font-size: 0.78rem; }
.board-verify-form { max-width: 420px; }
.board-prev-next { display: grid; gap: 10px; margin-top: 24px; }
.board-prev-next-item { display: block; padding: 12px 14px; border: 1px solid var(--site-border); border-radius: 10px; text-decoration: none; background: var(--site-surface); }
.board-prev-next-item .label { display: block; font-size: 0.78rem; color: var(--site-muted); margin-bottom: 4px; }
.board-prev-next-item .title { color: var(--site-text); font-size: 0.9rem; font-weight: 500; }
.board-bottom-list { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--site-border); }
.board-mini-list { list-style: none; margin: 0 0 12px; padding: 0; }
.board-mini-list li { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--site-border); }
.board-mini-list a { color: var(--site-accent); text-decoration: none; font-size: 0.9rem; }
/* boards.css — board list pagination */
.board-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; padding: 10px 12px; border-radius: 16px; background: color-mix(in srgb, var(--site-bg) 55%, var(--site-surface)); border: 1px solid color-mix(in srgb, var(--site-border) 50%, transparent); }
.board-pagination-group { display: inline-flex; align-items: center; gap: 4px; }
.board-pagination-group--pages { gap: 3px; padding: 0 4px; }
.board-pagination-btn, .board-pagination-num { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-width: 34px; min-height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid color-mix(in srgb, var(--site-border) 60%, transparent); background: var(--site-surface); color: var(--site-text); font-size: 0.76rem; font-weight: 700; text-decoration: none; box-sizing: border-box; transition: border-color 0.15s, color 0.15s, background 0.15s, box-shadow 0.15s; }
.board-pagination-num { min-width: 34px; padding: 0; font-size:1rem;}
.board-pagination-btn:hover:not(.is-disabled), .board-pagination-num:hover { border-color: color-mix(in srgb, var(--site-accent) 45%, var(--site-border)); color: var(--site-accent); background: color-mix(in srgb, var(--site-accent) 6%, var(--site-surface)); }
.board-pagination-num.is-current { background: var(--site-accent); color: var(--site-accent-contrast); border-color: var(--site-accent); box-shadow: 0 2px 8px color-mix(in srgb, var(--site-accent) 22%, transparent); cursor: default; }
.board-pagination-btn.is-disabled { opacity: 0.38; cursor: not-allowed; pointer-events: none; }
.board-pagination-label { line-height: 1; }
.board-pagination-meta { margin: 8px 0 0; text-align: center; font-size: 0.72rem; font-weight: 700; color: var(--site-muted); }

/* boards.css — unified form UI */
.board-form { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 14px; padding: 22px 20px; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04); }
.board-form--verify { max-width: 440px; margin: 0 auto; }
.board-verify-card { background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 14px; padding: 24px 20px; max-width: 440px; margin: 0 auto; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06); }
.board-verify-card .board-verify-icon { width: 48px; height: 48px; margin: 0 auto 14px; border-radius: 12px; background: rgba(37, 99, 235, 0.1); color: var(--site-accent); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.board-verify-card h2 { margin: 0 0 8px; font-size: 1.1rem; text-align: center; color: var(--site-text); }
.board-verify-lead { margin: 0 0 18px; text-align: center; font-size: 0.88rem; color: var(--site-muted); line-height: 1.5; }
.board-verify-card .board-form { border: none; box-shadow: none; padding: 0; background: transparent; }
.board-post-header-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 6px; }
.board-post-header-meta .board-meta { margin: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 0.8rem; }
.board-form-section { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--site-border); }
.board-form-section:last-of-type { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.board-form-section-title { margin: 0 0 12px; font-size: 0.82rem; font-weight: 700; color: var(--site-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.board-form-group { margin-bottom: 16px; }
.board-form-group:last-child { margin-bottom: 0; }
.board-form-label { display: flex; align-items: center; gap: 4px; margin-bottom: 8px; font-size: 0.88rem; font-weight: 600; color: var(--site-text); }
.board-field-hint { margin: 8px 0 0; font-size: 0.8rem; color: var(--site-muted); line-height: 1.45; }
.board-input, .board-textarea, .board-form-group input[type="text"], .board-form-group input[type="email"], .board-form-group input[type="url"], .board-form-group input[type="password"], .board-form-group textarea { width: 100%; padding: 11px 13px; border: 1px solid var(--site-border); border-radius: 10px; font-family: var(--site-font-family, inherit); font-size: 0.92rem; box-sizing: border-box; background: var(--site-bg); color: var(--site-text); transition: border-color 0.15s, box-shadow 0.15s; }
.board-input::placeholder, .board-textarea::placeholder, .board-form-group input::placeholder, .board-form-group textarea::placeholder { color: #94a3b8; }
.board-input:hover, .board-textarea:hover, .board-form-group input:hover, .board-form-group textarea:hover { border-color: #94a3b8; }
.board-input:focus, .board-textarea:focus, .board-form-group input:focus, .board-form-group textarea:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15); }
.board-textarea, .board-form-group textarea { min-height: 160px; resize: vertical; line-height: var(--site-line-height, 1.8); }
.board-password-field { position: relative; display: flex; align-items: stretch; }
.board-password-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--site-muted); font-size: 0.9rem; pointer-events: none; z-index: 1; }
.board-input--password, .board-password-field input[type="password"], .board-password-field input[type="text"] { padding-left: 38px; padding-right: 44px; }
.board-password-toggle { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: none; border-radius: 8px; background: transparent; color: var(--site-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.board-password-toggle:hover { background: rgba(15, 23, 42, 0.06); color: var(--site-text); }
.board-check-field { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--site-border); border-radius: 10px; background: var(--site-bg); cursor: pointer; }
.board-check-field input[type="checkbox"] { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--site-accent); flex-shrink: 0; cursor: pointer; }
.board-check-field span { font-size: 0.9rem; color: var(--site-text); line-height: 1.4; }
.board-form-notice { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: rgba(37, 99, 235, 0.08); border: 1px solid rgba(37, 99, 235, 0.18); font-size: 0.88rem; color: var(--site-text); margin-bottom: 16px; }
.board-form-notice i { color: var(--site-accent); margin-top: 2px; }
.board-form-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--site-border); }
.board-form-actions .board-btn { min-width: 88px; justify-content: center; padding: 7px 14px; font-weight: 700; }
.board-form-error { display: flex; align-items: flex-start; gap: 8px; padding: 10px 12px; border-radius: 10px; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 0.86rem; margin-bottom: 14px; }
.board-form-error::before { content: "!"; flex-shrink: 0; width: 18px; height: 18px; border-radius: 999px; background: #dc2626; color: #fff; font-size: 0.72rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.dropzone { border: 2px dashed var(--site-border); border-radius: 12px; padding: 28px 16px; text-align: center; background: var(--site-bg); transition: border-color 0.15s, background 0.15s; cursor: pointer; }
.dropzone.is-dragover { border-color: var(--site-accent); background: rgba(37, 99, 235, 0.06); }
.dropzone p { margin: 0; color: var(--site-muted); font-size: 0.9rem; }
.dropzone-upload-list { margin-top: 12px; text-align: left; }
.dropzone-upload-item { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px solid var(--site-border); border-radius: 8px; margin-bottom: 6px; font-size: 0.82rem; background: var(--site-surface); }
.dropzone-upload-item.is-error { border-color: #fca5a5; color: #b91c1c; }
.dropzone-upload-item.is-pending { opacity: 0.7; color: var(--site-muted); }
.dropzone-upload-item-info { flex: 1; min-width: 0; word-break: break-all; }
.dropzone-upload-item-info a { color: var(--site-accent); text-decoration: none; font-weight: 700; }
.dropzone-upload-actions { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; flex-shrink: 0; }
.board-edit-attachment-meta { margin-bottom: 8px; }
.board-edit-attachment-empty { margin: 0 0 8px; }

.board-manager-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 16px 20px 24px; max-width: 1200px; margin: 0 auto; }
.board-type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-bottom: 14px; }
.board-type-option, .list-style-option { border: 2px solid #e2e8f0; border-radius: 10px; padding: 10px; cursor: pointer; text-align: center; font-size: 0.82rem; background: #fff; }
.board-type-option.is-selected, .list-style-option.is-selected { border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.board-existing-list { list-style: none; margin: 0; padding: 0; }
.board-existing-list li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 0; border-bottom: 1px solid #e2e8f0; font-size: 0.875rem; }

/* boards.css — inactive board notice */
.board-inactive-shell { padding: 24px 0; }
.board-inactive-card { max-width: 520px; margin: 0 auto; padding: 32px 24px; text-align: center; background: var(--site-surface); border: 1px solid var(--site-border); border-radius: 14px; }
.board-inactive-icon { font-size: 2.2rem; color: var(--site-muted); margin-bottom: 12px; }
.board-inactive-card h1 { margin: 0 0 10px; font-size: 1.35rem; color: var(--site-text); }
.board-inactive-lead { margin: 0 0 8px; font-size: 1rem; color: var(--site-text); }
.board-inactive-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 20px; }

/* boards.css — tablet */
@media (max-width: 1024px) {
  .board-card-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
  .board-video-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
  .board-link-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .board-post-content { padding: 18px 16px; }
}

/* boards.css — mobile icon toolbar */
@media (max-width: 768px) {
  .board-manager-grid { grid-template-columns: 1fr; }
  .board-header { gap: 12px; margin-bottom: 16px; }
  .board-header--list { display: flex; flex-direction: row; align-items: flex-start; justify-content: space-between; }
  .board-header--list .board-header-main { flex: 1; min-width: 0; padding-right: 10px; }
  .board-header--list .board-actions { width: auto; flex-shrink: 0; align-self: flex-start; }
  .board-header--detail { display: flex; flex-direction: column; align-items: stretch; }
  .board-header h1, .board-post-title { font-size: 0.98rem; line-height: 1.4; }
  .board-icon-toolbar { display: flex; flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 2px; padding: 3px; border-radius: 10px; background: color-mix(in srgb, var(--site-surface) 90%, var(--site-bg)); border: 1px solid var(--site-border); box-shadow: 0 1px 6px rgba(15, 23, 42, 0.05); }
  .board-header--detail .board-icon-toolbar { width: auto; max-width: 100%; justify-content: flex-end; box-sizing: border-box; margin-left: auto; }
  .board-header--detail .board-inline-form--post-delete { display: contents; }
  .board-comment-item--reply { padding-left: 16px; }
  .board-comment-replies { padding-left: 16px; }
  .board-comment-item-avatar { width: 30px; height: 30px; font-size: 0.7rem; border-radius: 10px; }
  .board-comment-inline-fields { grid-template-columns: 1fr; }
  .board-icon-toolbar .board-btn,
  .board-icon-toolbar .board-actions > a.board-btn,
  .board-icon-toolbar > a.board-btn { width: 32px; height: 32px; min-height: 32px; padding: 0; flex: 0 0 32px; gap: 0; border-radius: 8px; font-size: 0.8rem; box-sizing: border-box; }
  .board-icon-toolbar .board-btn-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .board-icon-toolbar .board-btn.secondary { background: transparent; border-color: transparent; color: var(--site-text); }
  .board-icon-toolbar .board-btn.secondary:hover { background: color-mix(in srgb, var(--site-accent) 8%, transparent); color: var(--site-accent); }
  .board-icon-toolbar .board-btn.danger { background: color-mix(in srgb, #dc2626 10%, var(--site-surface)); color: #dc2626; border-color: transparent; }
  .board-icon-toolbar .board-btn.danger:hover { background: color-mix(in srgb, #dc2626 16%, var(--site-surface)); }
  .board-icon-toolbar > a.board-btn:not(.secondary):not(.danger), .board-icon-toolbar > .board-btn:not(.secondary):not(.danger) { background: var(--site-accent); color: var(--site-accent-contrast); border-color: transparent; box-shadow: none; }
  .board-comment-compose-bar .board-btn--compact { width: 32px; height: 32px; min-height: 32px; padding: 0; flex: 0 0 32px; border-radius: 8px; font-size: 0.8rem; box-shadow: none; }
  .board-comment-compose-bar .board-btn--compact .board-btn-label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
  .board-post-header-meta { gap: 4px 0; }
  .board-post-header-meta .board-meta + .board-meta::before { content: '·'; margin: 0 8px; color: var(--site-muted); opacity: 0.7; }
  .board-list-panel { border-radius: 16px; }
  .board-list-table { display: block; width: 100%; border: none; border-radius: 0; background: transparent; overflow: hidden; box-sizing: border-box; }
  .board-list-table thead { display: none; }
  .board-list-table tbody { display: block; }
  .board-list-table tr.board-list-row { display: block; padding: 0; border-bottom: 1px solid var(--site-border); background: transparent; border-radius: 0; box-shadow: none; }
  .board-list-table tr.board-list-row:last-child { border-bottom: none; }
  .board-list-table tr.board-list-row:active { background: color-mix(in srgb, var(--site-accent) 6%, var(--site-surface)); }
  .board-list-table td { display: block; padding: 0; border: none; }
  .board-list-cell--desktop-only { display: none !important; }
  /* 2026-06-17: Mobile — board list text area side inset */
  .board-shell--pixel > .board-feed-stack,
  .board-shell--pixel > .board-bottom-list--pixel,
  .board-shell--pixel > .board-list-panel,
  .board-shell--pixel > .board-detail-card,
  .board-shell--pixel > .board-card-grid--pixel,
  .board-shell--pixel > .board-gallery-grid--pixel,
  .board-shell--pixel > .board-blog-feed--pixel,
  .board-shell--pixel > .board-faq-list--pixel,
  .board-shell--pixel > .board-ui-top,
  .board-shell--pixel > .board-ui-bottom { padding-left: 14px; padding-right: 14px; box-sizing: border-box; }
  .board-feed-row { padding: 14px 16px; }
  .board-list-table td.board-list-cell--title.board-list-row-link { padding: 14px 16px; }
  .board-list-meta-mobile { display: block; margin: 6px 0 0; }
  .board-list-meta-inline--mobile { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 6px; }
  .board-list-attach-mobile--inline { display: inline-flex; align-items: center; }
  .board-list-attach-mobile--inline:has(.board-list-cell-empty) { display: none; }
  .board-list-meta-mobile .board-list-attach-mobile--inline { display: inline-flex; margin-right: 6px; }
  .board-list-meta-mobile .board-list-attach-mobile--inline:has(.board-list-cell-empty) { display: none; }
  .board-list-table td.board-list-cell--title { max-width: none; }
  .board-list-table td.board-list-cell--title .board-list-title-link { display: block; width: 100%; font-size: 0.86rem; line-height: 1.45; font-weight: 500; }
  .board-list-title-wrap .board-post-title-with-new,
  .board-list-title-wrap .board-feed-row-title--reply { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .board-list-title-wrap .board-feed-row-title-text,
  .board-list-title-wrap .board-post-title-with-new > .board-feed-row-title-text { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .board-list-title-wrap .board-post-title-with-new { display: inline-flex; width: fit-content; max-width: 100%; -webkit-line-clamp: unset; -webkit-box-orient: unset; white-space: nowrap; }
  /* 2026-06-12: --pixel video grid keeps 2/3 cols like gallery; legacy .board-video-grid only → 1 col */
  .board-card-grid:not(.board-card-grid--pixel), .board-video-grid:not(.board-video-grid--pixel), .board-link-grid { grid-template-columns: 1fr; gap: 12px; }
  .board-card, .board-video-card, .board-link-card, .board-gallery-card, .board-blog-card, .board-card-tile { border-radius: 10px; }
  .board-card-tile { padding: 16px 18px; }
  .board-faq-q { padding: 14px; font-size: 0.9rem; gap: 10px; }
  .board-faq-a-box { margin: 0 12px 12px; padding: 12px 14px; }
  .board-faq-a { font-size: 0.88rem; }
  .board-gallery-grid, .board-card-grid--pixel, .board-video-grid--pixel, .board-video-grid--premium, .board-link-grid--premium, .board-blog-feed, .board-counsel-list { gap: 12px; }
  .board-gallery-detail-grid { gap: 8px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 120px), 1fr)); }
  .board-gallery-lightbox-overlay { padding: 48px 12px 28px; }
  .board-gallery-lightbox-nav { width: 40px; height: 40px; font-size: 0.9rem; }
  .board-gallery-lightbox-nav--prev { left: 6px; }
  .board-gallery-lightbox-nav--next { right: 6px; }
  .board-gallery-lightbox-img { max-height: calc(100vh - 120px); }
  .board-post-content { padding: 16px 14px; border-radius: 10px; font-size: 0.92rem; }
  .board-detail-body .board-post-content, .board-detail-content { padding: 0; border: none !important; border-radius: 0; background: transparent !important; }
  .board-post-link-cta { padding: 14px; }
  .board-post-link-cta .board-btn { width: 100%; justify-content: center; }
  .board-attachments h3 { font-size: 0.9rem; }
  .board-detail-attachments .board-attachment-list li { padding: 7px 10px; font-size: 0.8rem; }
  .board-comments { margin-top: 22px; padding-top: 16px; }
  .board-comments > h3 { font-size: 1rem; margin-bottom: 12px; }
  .board-detail-card { border-radius: 16px; }
  .board-detail-header { padding: 16px; }
  .board-detail-body { padding: 16px; }
  .board-detail-meta-row { flex-direction: row; align-items: center; gap: 10px; }
  .board-detail-stats { margin-left: auto; flex-shrink: 0; }
  .board-detail-footer { flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; }
  .board-text-btn { flex-shrink: 0; }
  .board-detail-actions { display: inline-flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 6px; margin-left: auto; width: auto; flex-shrink: 0; }
  .board-detail-footer .board-inline-form--post-delete { display: inline-flex; flex-wrap: nowrap; align-items: center; gap: 4px; width: auto; margin: 0; }
  .board-comments-card { margin-top: 14px; padding: 14px 16px; border-radius: 16px; }
  .board-comment-compose-pixel { gap: 8px; }
  .board-comment-item { padding: 8px 6px; }
  .board-comment-foot { margin-top: 2px; }
  .board-comment-actions { gap: 0 2px; }
  .board-comment-actions .board-inline-form--comment-delete { width: auto; flex-wrap: nowrap; }
  .board-comment-action-btn { min-height: 40px; padding: 0 8px; }
  .board-comment-action-btn span { display: inline; }
  .board-detail-footer .board-btn--sm span { display: none; }
  .board-detail-footer .board-btn--sm { width: 32px; height: 32px; min-height: 32px; min-width: 32px; padding: 0; justify-content: center; flex: 0 0 auto; }
  .board-comment-actions .board-inline-form--comment-delete,
  .board-detail-footer .board-inline-form--post-delete { width: auto; flex-wrap: nowrap; }
  .board-comment-form-row { grid-template-columns: 1fr; }
  .board-comment-compose-bar { flex-direction: row; align-items: center; gap: 8px; }
  .board-comment-password-wrap { flex: 1 1 auto; min-width: 0; }
  .board-comment-form--member .board-comment-compose-bar { justify-content: flex-end; }
  .board-prev-next-item { padding: 12px; }
  .board-prev-next-item .title { font-size: 0.88rem; word-break: break-word; }
  .board-mini-list li { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 0; }
  .board-mini-list a { font-size: 0.88rem; word-break: break-word; width: 100%; }
  .board-bottom-list-actions .board-btn { width: 100%; }
  .board-pagination { gap: 4px; margin-top: 16px; padding: 8px 6px; border-radius: 14px; }
  .board-pagination-group--pages { padding: 0 2px; }
  .board-pagination-num--mobile-off { display: none; }
  .board-pagination-btn, .board-pagination-num { min-width: 32px; min-height: 36px; font-size: 0.74rem; border-radius: 9px; }
  .board-pagination-btn--edge .board-pagination-label { display: none; }
  .board-pagination-btn--nav .board-pagination-label { display: none; }
  .board-pagination-meta { font-size: 0.68rem; margin-top: 6px; }
  .board-form-check-row { flex-wrap: wrap; gap: 8px; }
  .board-form-check-row .board-check-field { flex: 1 1 calc(50% - 4px); min-width: min(100%, 200px); padding: 8px 10px; }
  .board-form-check-row .board-check-field span { font-size: 0.78rem; }
  .board-form { padding: 18px 14px; border-radius: 12px; }
  .board-form-row { grid-template-columns: 1fr; }
  .board-form-actions { flex-direction: column; }
  .board-form-actions .board-btn { width: 100%; min-width: 0; }
  .board-inline-form:not(.board-inline-form--comment-delete):not(.board-inline-form--post-delete) { width: 100%; flex-wrap: wrap; }
  .board-inline-password-wrap { flex: 1 1 100%; min-width: 0; }
  .board-inline-password { width: 100%; }
  .board-bottom-list-actions .board-btn { width: 100%; justify-content: center; }
  .board-inactive-card { padding: 24px 16px; margin: 0 4px; }
}

@media (max-width: 480px) {
  .board-badge { font-size: 0.68rem; padding: 2px 6px; }
  .board-link-card-main { flex-direction: column; }
  .board-link-icon { width: 40px; height: 40px; }
}

/* boards.css — bulletin (소식지/주보) */
.board-bulletin-visual { position: relative; background: color-mix(in srgb, var(--site-bg) 65%, #0f172a); }
.board-bulletin-card .board-gallery-visual img { width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.board-bulletin-page-badge { position: absolute; right: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; background: rgba(0, 0, 0, 0.62); color: #fff; }
.board-gallery-gradient i.fa-file-pdf { font-size: 2rem; opacity: 0.85; }
.board-bulletin-viewer { margin: 16px 0 20px; max-width: 100%; width: 100%; box-sizing: border-box; }
.board-bulletin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.board-bulletin-detail-hint { margin: 0; flex: 1 1 180px; font-size: 0.76rem; color: var(--site-muted); display: inline-flex; align-items: center; gap: 6px; line-height: 1.35; }
.board-bulletin-toolbar-group { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.board-bulletin-toolbar-side { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-left: auto; }
.board-bulletin-toolbar--detail { justify-content: space-between; }
.board-bulletin-toolbar--detail .board-bulletin-toolbar-side { margin-left: auto; }
.board-bulletin-mode-btn { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--site-border); background: var(--site-surface); color: var(--site-text); font-size: 0.78rem; font-weight: 600; cursor: pointer; }
.board-bulletin-mode-btn.is-active { background: var(--site-accent); color: var(--site-accent-contrast); border-color: transparent; }
.board-bulletin-page-indicator { font-size: 0.82rem; color: var(--site-muted); font-weight: 600; }
.board-bulletin-page-indicator.is-error { color: #e57373; }
.board-bulletin-scroll { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 100%; width: 100%; box-sizing: border-box; }
.board-bulletin-page { margin: 0; border-radius: 12px; overflow: hidden; border: 1px solid var(--site-border); background: var(--site-surface); box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06); width: fit-content; max-width: 100%; box-sizing: border-box; }
.board-bulletin-page__trigger { position: relative; display: flex; align-items: center; justify-content: center; max-width: 100%; margin: 0; padding: 0; border: none; background: color-mix(in srgb, var(--site-bg) 55%, var(--site-surface)); cursor: zoom-in; line-height: 0; }
.board-bulletin-viewer.is-mode-scroll .board-bulletin-page__trigger img { display: block; width: auto; max-width: 100%; height: auto; object-fit: contain; transition: opacity 0.15s ease; }
.board-bulletin-page__trigger:hover img { opacity: 0.92; }
.board-bulletin-page__trigger:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 2px; }
.board-bulletin-page__zoom-badge { position: absolute; right: 10px; top: 10px; display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: rgba(15, 23, 42, 0.62); color: #fff; font-size: 0.82rem; pointer-events: none; opacity: 0; transition: opacity 0.15s ease; }
.board-bulletin-page__trigger:hover .board-bulletin-page__zoom-badge, .board-bulletin-page__trigger:focus-visible .board-bulletin-page__zoom-badge { opacity: 1; }
.board-bulletin-viewer.is-mode-scroll .board-bulletin-flip-wrap { display: none !important; }
.board-bulletin-viewer.is-mode-flipbook .board-bulletin-scroll { display: none !important; }
.board-bulletin-viewer:not(.board-bulletin-viewer--fullscreen) { overflow: hidden; }
.board-bulletin-flip-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; overflow: hidden; position: relative; z-index: 1; background: transparent; width: 100%; max-width: 100%; box-sizing: border-box; }
.board-bulletin-viewer:not(.board-bulletin-viewer--fullscreen) .board-bulletin-flip-book { width: auto; max-width: 100%; min-height: 0; margin: 0 auto; overflow: hidden; background: #fff; border-radius: 10px; border: 1px solid var(--site-border); box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08); box-sizing: border-box; }
.board-bulletin-viewer:not(.board-bulletin-viewer--fullscreen) .board-bulletin-flip-book > div { background: #fff !important; }
.board-bulletin-viewer--fullscreen .board-bulletin-flip-book { width: min(88vw, 1200px); max-width: 100%; min-height: 420px; max-height: min(72vh, 1600px); }
.board-bulletin-flip-nav { display: flex; gap: 8px; }
.board-bulletin-download { margin-top: 18px; }

/* boards.css — bulletin form mode picker + popup viewer */
.board-bulletin-mode-picker { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.board-bulletin-mode-option { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--site-border); border-radius: 12px; background: var(--site-surface); cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.board-bulletin-mode-option input { position: absolute; opacity: 0; pointer-events: none; }
.board-bulletin-mode-option.is-selected { border-color: var(--site-accent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--site-accent) 35%, transparent); }
.board-bulletin-mode-option-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 10px; background: color-mix(in srgb, var(--site-accent) 12%, var(--site-surface)); color: var(--site-accent); flex-shrink: 0; }
.board-bulletin-mode-option-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.board-bulletin-mode-option-text strong { font-size: 0.88rem; color: var(--site-text); }
.board-bulletin-mode-option-text small { font-size: 0.74rem; color: var(--site-muted); line-height: 1.35; }
.board-bulletin-popup-btn span { white-space: nowrap; }
.board-bulletin-viewer--fullscreen { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.board-bulletin-viewer--fullscreen .board-bulletin-flip-wrap { flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0; min-height: 0; }
.board-bulletin-popup-shell--flipbook { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.board-bulletin-popup-shell--flipbook .board-bulletin-viewer--fullscreen { flex: 1; min-height: 0; }
.board-bulletin-toolbar--popup { justify-content: center; margin-bottom: 10px; flex-wrap: wrap; gap: 12px; }
.board-bulletin-toolbar--popup .board-bulletin-toolbar-group--zoom { gap: 6px; }
.board-bulletin-toolbar--popup .board-bulletin-page-indicator { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; min-width: 72px; text-align: center; }
.board-bulletin-toolbar--popup .board-bulletin-zoom-scale { font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); min-width: 48px; text-align: center; }
.board-bulletin-popup-zoom-stage { flex: 1; min-height: 0; height: calc(100vh - 200px); overflow: hidden; border-radius: 12px; background: #111; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; touch-action: none; outline: none; }
.board-bulletin-popup-zoom-stage.is-zoomed { cursor: grab; }
.board-bulletin-popup-zoom-stage.is-dragging { cursor: grabbing; }
.board-bulletin-popup-zoom-canvas { transform-origin: center center; will-change: transform; display: flex; align-items: center; justify-content: center; }
.board-bulletin-popup-hint { margin: 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); text-align: center; width: 100%; }
.board-bulletin-flip-book--popup { box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45); }
.board-bulletin-popup-body { margin: 0; min-height: 100vh; background: #1a1a1a; color: #fff; }
.board-bulletin-popup-shell { min-height: 100vh; display: flex; flex-direction: column; padding: 12px 16px 20px; box-sizing: border-box; }
.board-bulletin-popup-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.board-bulletin-popup-label { margin: 0 0 4px; font-size: 0.76rem; color: rgba(255, 255, 255, 0.65); }
.board-bulletin-popup-title { margin: 0; font-size: clamp(1rem, 2.5vw, 1.25rem); font-weight: 700; color: #fff; line-height: 1.35; word-break: break-word; }
.board-bulletin-popup-actions { display: inline-flex; flex-wrap: wrap; gap: 6px; flex-shrink: 0; }
.board-bulletin-popup-body .board-bulletin-mode-btn { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.board-bulletin-popup-body .board-bulletin-mode-btn.is-active { background: var(--site-accent, #558b2f); color: #fff; border-color: transparent; }
.board-bulletin-popup-body .board-bulletin-page-indicator { color: rgba(255, 255, 255, 0.75); }

/* boards.css — bulletin zoom popup viewer */
.board-bulletin-popup-shell--zoom { flex: 1; min-height: 0; }
.board-bulletin-popup-shell--zoom .board-bulletin-zoom { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.board-bulletin-zoom-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.board-bulletin-zoom-toolbar-group { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.board-bulletin-zoom-indicator { font-size: 0.82rem; font-weight: 600; color: rgba(255, 255, 255, 0.85); min-width: 64px; text-align: center; }
.board-bulletin-zoom-scale { font-size: 0.78rem; font-weight: 600; color: rgba(255, 255, 255, 0.75); min-width: 48px; text-align: center; }
.board-bulletin-zoom-stage { flex: 1; min-height: 0; height: calc(100vh - 170px); overflow: hidden; border-radius: 12px; background: #111; border: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; outline: none; }
.board-bulletin-zoom-stage.is-dragging { cursor: grabbing; }
.board-bulletin-zoom-canvas { transform-origin: center center; will-change: transform; }
.board-bulletin-zoom-canvas img { display: block; max-width: none; max-height: none; width: auto; height: auto; object-fit: contain; user-select: none; pointer-events: none; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45); }
.board-bulletin-zoom-hint { margin: 10px 0 0; font-size: 0.74rem; color: rgba(255, 255, 255, 0.55); text-align: center; }
.board-bulletin-popup-body .board-btn.secondary { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.18); color: #fff; }
.board-bulletin-popup-body .board-btn { background: var(--site-accent, #558b2f); color: #fff; border-color: transparent; }

@media (max-width: 768px) {
  .board-bulletin-mode-picker { grid-template-columns: 1fr; }
  .board-bulletin-toolbar--detail { flex-direction: column; align-items: stretch; }
  .board-bulletin-detail-hint { flex-basis: auto; }
  .board-bulletin-toolbar-side { width: 100%; margin-left: 0; justify-content: space-between; }
  .board-bulletin-popup-btn span { display: none; }
  .board-bulletin-popup-head { flex-direction: column; }
  .board-bulletin-mode-btn span { display: none; }
  .board-bulletin-viewer:not(.board-bulletin-viewer--fullscreen) .board-bulletin-flip-book { min-height: 0; max-width: 100%; }
  .board-bulletin-viewer--fullscreen .board-bulletin-flip-book { min-height: 320px; max-height: min(68vh, 1200px); width: min(94vw, 1200px); }
  .board-bulletin-popup-hint { display: none; }
  .board-bulletin-popup-zoom-stage { height: calc(100vh - 180px); }
  .board-bulletin-toolbar--popup .board-btn span { display: none; }
}

/* boards.css — 2026-07-01: 게시판 타이틀 영역 기본 세로 높이 통일
   빌더에서 세로길이(min_height)를 별도 설정하지 않아도 페이지 타이틀과 비슷한
   시각적 높이를 갖도록 기본 padding/min-height 적용 */
.board-hero.page-hero.page-hero--rich:not(.has-hero-min-height) .page-hero-inner {
  padding-top: clamp(22px, 4vw, 36px);
  padding-bottom: clamp(22px, 4vw, 36px);
}

/* 빌더에서 min-height 설정한 경우는 그 값을 따름 (has-hero-min-height 클래스 존재) */
.board-hero.page-hero.has-hero-min-height .page-hero-inner {
  min-height: var(--hero-min-height);
  box-sizing: border-box;
  align-items: center;
}

@media (max-width: 1024px) {
  .board-hero.page-hero.page-hero--rich:not(.has-hero-min-height) .page-hero-inner {
    padding-top: clamp(18px, 3.5vw, 28px);
    padding-bottom: clamp(18px, 3.5vw, 28px);
  }
}

@media (max-width: 480px) {
  .board-hero.page-hero.page-hero--rich:not(.has-hero-min-height) .page-hero-inner {
    padding-top: 18px;
    padding-bottom: 18px;
  }
}

/* ============================================================
   boards.css — 라운지형(lounge) 목록 스타일 — 2026-07-01
   board_list02.html 참고 다크 스레드 스타일
   site CSS 변수(--site-*)를 활용해 모든 테마에 자동 적용
   ============================================================ */
.bl-lounge { width: 100%; }
.bl-lounge--compact { margin-top: 16px; }
.bl-lounge-list { border-top: 2px solid var(--site-accent, #2563eb); }

.bl-lounge-row { display: flex; align-items: center; gap: 14px; padding: 16px 6px; border-bottom: 1px solid var(--site-border, #e2e8f0); text-decoration: none; color: inherit; position: relative; transition: background-color 0.18s ease; cursor: pointer; }
.bl-lounge-row:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 5%, transparent); }
.bl-lounge-row--pinned { background: color-mix(in srgb, var(--site-accent, #2563eb) 7%, transparent); }
.bl-lounge-row--pinned:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 13%, transparent); }
.bl-lounge-row--current { background: color-mix(in srgb, var(--site-accent, #2563eb) 10%, transparent); border-left: 3px solid var(--site-accent, #2563eb); padding-left: 3px; }
.bl-lounge-row--current:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 16%, transparent); }
.bl-lounge-row--current .bl-lounge-title { color: var(--site-accent, #2563eb); font-weight: 700; }

.bl-lounge-tag { flex-shrink: 0; font-size: 11.5px; font-weight: 700; padding: 3px 9px; border-radius: 2px; letter-spacing: 0.01em; white-space: nowrap; min-width: 36px; text-align: center; }
.bl-lounge-tag--notice { background: var(--site-accent, #2563eb); color: var(--site-accent-contrast, #fff); }
.bl-lounge-tag--outline { border: 1px solid var(--site-border, #cbd5e1); color: var(--site-muted, #64748b); background: transparent; }

.bl-lounge-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.bl-lounge-title-line { display: flex; align-items: baseline; gap: 7px; min-width: 0; }

.bl-lounge-title { font-size: 1rem; font-weight: 400; color: var(--site-text, #0f172a); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; position: relative; transition: color 0.18s ease; }
.bl-lounge-row:hover .bl-lounge-title { color: var(--site-accent, #2563eb); }
.bl-lounge-title::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0%; background: linear-gradient(90deg, var(--site-accent, #2563eb), transparent); transition: width 0.3s ease; }
.bl-lounge-row:hover .bl-lounge-title::after { width: 100%; }

.bl-lounge-comment-count { font-size: 12px; color: var(--site-accent, #2563eb); font-weight: 700; flex-shrink: 0; }

.bl-lounge-sub { font-size: 12px; color: var(--site-muted, #64748b); display: flex; align-items: center; flex-wrap: wrap; }
.bl-lounge-link-url { margin: 0; font-size: 0.72rem; line-height: 1.35; max-width: 100%; }
.bl-lounge-author { color: var(--site-text, #374151); font-weight: 500; }
.bl-lounge-sep { margin: 0 5px; opacity: 0.5; }

.bl-lounge-meta { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 4px; font-size: 14.5px; color: var(--site-muted, #94a3b8); width: 72px; font-variant-numeric: tabular-nums; }
.bl-lounge-meta-item { display: flex; align-items: center; justify-content: flex-end; gap: 5px; width: 100%; padding-right:5px;}
.bl-lounge-meta-item i { flex-shrink: 0; font-size: 15px; width: 13px; text-align: center; opacity: 0.7; }
.bl-lounge-meta-item span, .bl-lounge-meta-item { white-space: nowrap; }

@media (max-width: 640px) {
  .bl-lounge-meta { display: none; }
  .bl-lounge-tag { min-width: 30px; padding: 3px 6px; font-size: 10.5px; }
  .bl-lounge-title { font-size: 14px; }
}

/* ============================================================
   boards.css — 라운지형 상세 뷰 (bvl-*)
   2026-07-01: board-view02.html 디자인 기반 라운지 상세 스타일
   ============================================================ */

/* ── 전체 래퍼 ── */
/* 2026-07-01: 가로폭을 리스트와 동일하게 맞춤 (padding만 유지) */
.bvl-article { width: 100%; padding: 32px 22px 48px; background: transparent; box-sizing: border-box; }

/* board-post-content 기본 테두리·배경·라운드 모두 제거 */
.bvl-article .board-post-content,
.bvl-article .bvl-body .board-post-content { border: none !important; border-radius: 0 !important; padding: 0 !important; background: transparent !important; box-shadow: none !important; }

/* ── 헤더 — 2026-07-02: 오로라 메시 글로우 (repeating stripe → 프리미엄 앰비언트) */
.bvl-header { position: relative; padding-bottom: 24px; overflow: hidden; isolation: isolate; }
.bvl-header > * { position: relative; z-index: 1; }
.bvl-header::before {
  content: "";
  position: absolute;
  top: -72px;
  right: -48px;
  width: min(440px, 78vw);
  height: 240px;
  pointer-events: none;
  z-index: 0;
  background:
    /* 메인 글로우 */
    radial-gradient(ellipse 70% 85% at 80% 20%,
      color-mix(in srgb, var(--site-accent, #2563eb) 32%, transparent) 0%,
      transparent 65%),
    /* 보조 글로우 (깊이감) */
    radial-gradient(circle at 60% 65%,
      color-mix(in srgb, var(--site-accent, #2563eb) 16%, transparent) 0%,
      transparent 55%),
    /* 은은한 화이트 톤 믹스 - 고급스러움 강조 */
    radial-gradient(circle at 40% 40%,
      color-mix(in srgb, #ffffff 18%, transparent) 0%,
      transparent 45%),
    /* 가장자리 미세한 컬러 번짐 */
    radial-gradient(circle at 95% 78%,
      color-mix(in srgb, var(--site-accent, #2563eb) 8%, transparent) 0%,
      transparent 50%);
  filter: blur(38px) saturate(1.15);
  opacity: 0.92;
  transform: translateZ(0);
}

.bvl-header::after {
  content: "";
  position: absolute;
  inset: -20px 0 auto;
  height: calc(100% + 40px);
  pointer-events: none;
  z-index: 0;
  background:
    /* 곡선형 컬러 스윕 */
    conic-gradient(from 225deg at 92% 8%,
      color-mix(in srgb, var(--site-accent, #2563eb) 24%, transparent) 0deg,
      transparent 50deg,
      color-mix(in srgb, var(--site-accent, #2563eb) 8%, transparent) 120deg,
      transparent 200deg),
    /* 굵은 메인 글래스 라인 */
    linear-gradient(115deg,
      transparent 36%,
      color-mix(in srgb, #ffffff 16%, transparent) 47%,
      color-mix(in srgb, #ffffff 7%, transparent) 51%,
      transparent 60%),
    /* 얇은 보조 사선 라인 1 */
    linear-gradient(115deg,
      transparent 12%,
      color-mix(in srgb, #ffffff 10%, transparent) 16%,
      transparent 20%),
    /* 얇은 보조 사선 라인 2 */
    linear-gradient(115deg,
      transparent 66%,
      color-mix(in srgb, #ffffff 8%, transparent) 70%,
      transparent 74%),
    /* 컬러 사선 라인 (accent 톤) */
    linear-gradient(115deg,
      transparent 78%,
      color-mix(in srgb, var(--site-accent, #2563eb) 12%, transparent) 83%,
      transparent 88%),
    /* 미세한 컬러 필름 베이스 */
    linear-gradient(125deg,
      transparent 42%,
      color-mix(in srgb, var(--site-accent, #2563eb) 6%, transparent) 50%,
      transparent 58%);
  opacity: 0.45;
  mask-image: radial-gradient(ellipse 88% 95% at 82% 0%,
    rgba(0, 0, 0, 0.95) 0%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse 88% 95% at 82% 0%,
    rgba(0, 0, 0, 0.95) 0%, transparent 72%);
}

/* 카테고리 태그 */
.bvl-tag { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 2px; letter-spacing: 0.01em; border: 1px solid color-mix(in srgb, var(--site-accent, #2563eb) 35%, transparent); color: var(--site-accent, #2563eb); margin-bottom: 14px; }

/* 제목 */
.bvl-title { font-size: 1.5rem; font-weight: 500; line-height: 1.45; margin: 0 0 18px; color: var(--site-text, #0f172a); letter-spacing: -0.01em; }

/* 작성자·통계 메타 */
.bvl-meta { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;  }
.bvl-author-block { display: flex; align-items: center; gap: 11px; }
.bvl-avatar { width: 38px; height: 38px; border-radius: 50%; background: color-mix(in srgb, var(--site-accent, #2563eb) 15%, var(--site-surface, #f1f5f9)); color: var(--site-accent, #2563eb); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; flex-shrink: 0; }
.bvl-author-name { font-size: 14px; font-weight: 600; color: var(--site-text, #1e293b); margin: 0; max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bvl-author-date { font-size: 12px; color: var(--site-muted, #64748b); margin: 2px 0 0; }
.bvl-stats { display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--site-muted, #64748b); padding-right:10px}
.bvl-stat { display: flex; align-items: center; gap: 5px; }
.bvl-stat i { font-size: 12px; opacity: 0.75; }

/* 구분선 (그라데이션) */
.bvl-rule { margin-top: 24px; height: 1px; background: linear-gradient(90deg, var(--site-accent, #2563eb) 0%, color-mix(in srgb, var(--site-accent, #2563eb) 15%, transparent) 40%, transparent 75%); }

/* ── 본문 ── */
.bvl-body { font-size: 15.5px; line-height: 1.9; color: var(--site-text, #374151); margin-bottom: 36px; padding: 0 15px; }
.bvl-content { font-size: 15.5px; line-height: 1.9; }

/* ── 첨부파일 ── */
.bvl-attachments { margin-top: 24px; padding: 16px 18px; border: 1px solid color-mix(in srgb, var(--site-accent, #2563eb) 20%, transparent); border-radius: 4px; background: color-mix(in srgb, var(--site-accent, #2563eb) 5%, transparent); }
.bvl-attachments h3 { font-size: 13px; font-weight: 600; color: var(--site-muted, #64748b); margin: 0 0 8px; }

/* ── 푸터: 수정·삭제 버튼 ── */
.bvl-footer { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 20px 0 0; border-top: 1px solid color-mix(in srgb, var(--site-text, #0f172a) 12%, transparent); margin-top: 8px; }

/* ── 이전·다음 글 ── */
.bvl-adjacent { width: 100%; border-top: 1px solid color-mix(in srgb, var(--site-text, #0f172a) 10%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--site-text, #0f172a) 10%, transparent); }
.bvl-adj-row { display: flex; align-items: center; gap: 14px; padding: 15px 28px; cursor: pointer; text-decoration: none; color: inherit; transition: background 0.18s ease; }
.bvl-adj-row:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 6%, transparent); }
.bvl-adj-row + .bvl-adj-row { border-top: 1px solid color-mix(in srgb, var(--site-text, #0f172a) 8%, transparent); }
.bvl-adj-row i { font-size: 11px; color: var(--site-muted, #94a3b8); flex-shrink: 0; }
.bvl-adj-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--site-muted, #94a3b8); flex-shrink: 0; width: 44px; }
.bvl-adj-title { font-size: 14.5px; color: var(--site-text, #374151); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; transition: color 0.18s ease; }
.bvl-adj-row:hover .bvl-adj-title { color: var(--site-accent, #2563eb); }
.bvl-adj-row--next { flex-direction: row-reverse; }
.bvl-adj-row--next .bvl-adj-label { text-align: right; }

/* ── 댓글 섹션 ── */
.bvl-comments { width: 100%; padding: 32px 22px 8px; box-sizing: border-box; }
/* 댓글 본문 좌우 여백 */
.bvl-comments .board-comment-body { padding: 10px 15px; }
.bvl-comments-head { display: flex; align-items: baseline; gap: 8px; margin: 0 0 20px; font-size: 18px; font-weight: 700; color: var(--site-text, #1e293b); border: none; background: none; padding: 0; }
.bvl-comments-count { font-size: 13px; font-weight: 700; color: var(--site-accent, #2563eb); }
.bvl-comment-form { margin-top: 8px; }

/* ── 반응형 ── */
@media (max-width: 640px) {
  .bvl-article { padding: 28px 16px 36px; }
  .bvl-title { font-size: 22px; }
  .bvl-body { padding: 0 8px; }
  .bvl-comments { padding: 24px 16px 8px; }
  .bvl-adj-row { padding: 14px 16px; }
  .bvl-header::before { top: -56px; right: -32px; width: min(320px, 92vw); height: 180px; filter: blur(24px); }
  .bvl-header::after { opacity: 0.3; }
}

/* ============================================================
   boards.css — 목록형 프리미엄 테이블 (bll-*)
   2026-07-01: board_list03.html 기반 목록형 재설계
   ============================================================ */

/* ── 테이블 래퍼 ── */
.bll-wrap { margin-top: 12px; width: 100%; overflow-x: auto; }
.bll-table { width: 100%; border-collapse: collapse; table-layout: fixed; }

/* ── 헤더 ── */
.bll-table thead th { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--site-muted, #64748b); padding: 0 10px 13px; border-bottom: 1px solid color-mix(in srgb, var(--site-border, #e2e8f0) 80%, transparent); }
.bll-col-num { width: 68px; text-align: center; }
.bll-col-title { padding-left: 14px !important; }
.bll-col-attach { width: 56px; text-align: center; }
.bll-col-author { width: 110px; }
.bll-col-date { width: 100px; }
.bll-col-views { width: 76px; text-align: right; padding-right: 14px !important; }

/* ── 행 공통 ── */
.bll-row { cursor: pointer; transition: background-color 0.18s ease; }
.bll-row:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 5%, transparent); }
.bll-row td { padding: 16px 10px; border-bottom: 1px solid color-mix(in srgb, var(--site-border, #e2e8f0) 50%, transparent); vertical-align: middle; }

/* ── 공지 행 ── */
.bll-row--pinned { background: color-mix(in srgb, var(--site-accent, #2563eb) 6%, transparent); }
.bll-row--pinned:hover { background: color-mix(in srgb, var(--site-accent, #2563eb) 11%, transparent); }

/* ── 번호 셀 ── */
.bll-num-cell { text-align: center; }
.bll-num { font-size: 14px; color: var(--site-muted, #94a3b8); font-variant-numeric: tabular-nums; }
.bll-pin-badge { display: inline-block; padding: 3px 9px; background: var(--site-accent, #2563eb); color: var(--site-accent-contrast, #fff); font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; border-radius: 2px; }

/* ── 제목 셀 ── */
.bll-title-cell { padding-left: 14px !important; min-width: 0; }
.bll-title-link { display: block; text-decoration: none; color: inherit; }
.bll-title-inner { display: flex; align-items: baseline; gap: 8px; min-width: 0; flex-wrap: nowrap; }

/* 카테고리 태그 */
.bll-cat { flex-shrink: 0; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border: 1px solid color-mix(in srgb, var(--site-border, #e2e8f0) 100%, transparent); color: var(--site-muted, #64748b); border-radius: 2px; white-space: nowrap; }
.bll-cat--notice { background: var(--site-accent, #2563eb); color: var(--site-accent-contrast, #fff); border-color: var(--site-accent, #2563eb); }

/* 제목 텍스트 */
.bll-post-title { font-size: 1rem; font-weight: 400; color: var(--site-text, #1e293b); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; position: relative; display: inline-block; max-width: 100%; transition: color 0.18s ease; }
.bll-post-title::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 1px; width: 0%; background: linear-gradient(90deg, var(--site-accent, #2563eb), transparent); transition: width 0.3s ease; }
.bll-row:hover .bll-post-title { color: var(--site-accent, #2563eb); }
.bll-row:hover .bll-post-title::after { width: 100%; }

/* 제목 + NEW 묶음 — 제목 글자 끝에 NEW 붙임 (댓글·첨부와 분리) */
.board-post-title-with-new { display: inline-flex; align-items: baseline; gap: 0.35em; width: fit-content; max-width: 100%; min-width: 0; vertical-align: baseline; }
.bll-title-inner > .board-post-title-with-new,
.board-list-title-wrap .board-post-title-with-new { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; }
.board-post-title-with-new > .bll-post-title,
.board-post-title-with-new > .board-feed-row-title-text,
.board-post-title-with-new > .board-gallery-title-text,
.board-post-title-with-new > .board-blog-title-text,
.board-post-title-with-new > .board-faq-q-title,
.board-post-title-with-new > .bl-lounge-title,
.board-post-title-with-new > .board-video-title-text,
.board-post-title-with-new > a.board-video-title-text,
.board-post-title-with-new > .board-video-title-text.board-text-btn { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.board-post-title-with-new > .bll-new-badge { flex: 0 0 auto; }

/* 댓글 수 */
.bll-reply-count { font-size: 12px; font-weight: 700; color: var(--site-accent, #2563eb); flex-shrink: 0; }

/* 새 글 NEW — 제목 바로 뒤, 빨간 얇은 글씨 */
.bll-new-badge { flex-shrink: 0; display: inline; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; font-size: 10px; font-weight: 400; line-height: 1; letter-spacing: 0; color: #e53935; vertical-align: baseline; }

.board-gallery-title,
.board-blog-title,
.board-video-title { display: block; min-width: 0; max-width: 100%; margin: 0; }
.board-gallery-title-text,
.board-blog-title-text { min-width: 0; }
.board-faq-q-text { align-items: center; }
.board-faq-q-title { min-width: 0; }
.bl-lounge-title-line { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 4px; min-width: 0; max-width: 100%; }
.bl-lounge-title { min-width: 0; }
.board-video-title a.board-video-title-text,
.board-video-title .board-video-title-text.board-text-btn { text-decoration: none; color: inherit; border: 0; background: none; padding: 0; font: inherit; cursor: pointer; text-align: left; }

/* 첨부 셀 — 제목 열과 분리 (2026-07-03) */
.bll-attach-cell { text-align: center; }
.bll-attach-cell .board-list-cell-empty { color: var(--site-muted, #cbd5e1); font-size: 13px; }
.bll-attach-mobile { display: none; }
.bll-attach-mobile:has(.board-list-cell-empty) { display: none; }

/* 모바일 메타 (데스크탑에서 숨김) */
.bll-meta-mobile { display: none; font-size: 11.5px; color: var(--site-muted, #94a3b8); margin: 0 0 4px; }

/* ── 글쓴이·날짜·조회 셀 ── */
.bll-author-cell {text-align: center; font-size: 15px; color: var(--site-muted, #64748b); max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bll-date-cell { text-align: center;font-size: 15px; color: var(--site-muted, #94a3b8); font-variant-numeric: tabular-nums; }
.bll-views-cell { text-align: center; padding-right: 14px !important; font-size: 15px; color: var(--site-muted, #64748b); font-variant-numeric: tabular-nums; }

/* ── 현재 글 강조 (하단 목록용) ── */
.bll-row--current { background: color-mix(in srgb, var(--site-accent, #2563eb) 9%, transparent) !important; }
.bll-row--current .bll-post-title { color: var(--site-accent, #2563eb); font-weight: 500; }

/* ── 하단 목록 여백 ── */
.bll-wrap--bottom { margin-top: 0; }

/* ── 반응형 ── */
@media (max-width: 720px) {
  .bll-desktop-only { display: none; }
  .bll-col-num { width: 52px; }
  .bll-meta-mobile { display: block; }
  .bll-attach-mobile { display: inline-flex; align-items: center; margin-right: 6px; vertical-align: middle; }
  .bll-attach-mobile:has(.board-list-cell-empty) { display: none; }
  .bll-row td { padding: 13px 8px; }
  .bll-post-title { font-size: 14px; }
}
@media (max-width: 480px) {
  .bll-title-inner { flex-wrap: wrap; gap: 5px; }
  .bll-post-title,
  .board-post-title-with-new .bll-post-title { white-space: normal; }
}
