/* boards.css — Kweb bulletin board styles */
/* 2026-06-10: Week 7 BaseBoard package */

.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; }
.board-list-table th, .board-list-table td { padding: 12px 14px; border-bottom: 1px solid var(--site-border); text-align: left; font-size: 0.9rem; vertical-align: middle; }
.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; }
.board-list-table .board-list-title-link:hover { color: var(--site-accent); text-decoration: none; }
.board-list-title-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.board-list-badges { display: inline-flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.board-list-title-link { color: var(--site-text); font-size: 0.88rem; font-weight: 600; line-height: 1.45; word-break: break-word; }
.board-list-title-link:hover { color: var(--site-accent); text-decoration: none; }
.board-list-col-views { width: 72px; text-align: center; }
.board-list-col-date { width: 108px; white-space: nowrap; }
.board-list-col-author { width: 120px; }
.board-list-meta-mobile { display: none; margin: 8px 0 0; font-size: 0.8rem; color: var(--site-muted); line-height: 1.4; }
.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(240px, 1fr)); gap: 14px; }
.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; }
.board-card h3 a { color: var(--site-text); text-decoration: none; }
.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; }
.board-video-body h3 { margin: 0 0 6px; font-size: 0.95rem; }
.board-video-body h3 a { color: var(--site-text); text-decoration: none; }

/* 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; 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-11: Align board content width with --site-content-max-width */
.board-shell--pixel { width: 100%; max-width: var(--site-content-max-width, 1200px); margin: 0 auto; padding-bottom: 72px; box-sizing: border-box; }
/* 2026-06-12: Board/page hero bar — title left, breadcrumb right */
.board-hero.page-hero--bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 0 0 20px; padding: 18px 20px; box-sizing: border-box; background: color-mix(in srgb, var(--site-accent) 5%, var(--site-surface)); border-bottom: 1px solid color-mix(in srgb, var(--site-border) 85%, transparent); }
.board-hero.page-hero--bar .page-hero-main { flex: 1 1 240px; min-width: 0; }
.board-hero.page-hero--bar .board-hero-title { margin: 0; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 600; letter-spacing: -0.02em; color: var(--site-text); line-height: 1.25; word-break: break-word; }
.page-hero-side { flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.page-hero-breadcrumb { flex: 0 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px; margin: 0; font-size: 0.82rem; line-height: 1.4; color: var(--site-muted); }
.page-hero-breadcrumb-link { display: inline-flex; align-items: center; gap: 5px; color: var(--site-muted); text-decoration: none; white-space: nowrap; }
.page-hero-breadcrumb-link i { font-size: 0.72rem; opacity: 0.82; line-height: 1; }
.page-hero-breadcrumb-link:hover { color: var(--site-accent); text-decoration: none; }
.page-hero-breadcrumb-link:hover span { text-decoration: underline; }
.page-hero-breadcrumb-link.is-current { color: var(--site-text); font-weight: 600; }
.page-hero-breadcrumb-link.is-current i { color: var(--site-accent); opacity: 1; }
.page-hero-breadcrumb-sep { color: var(--site-muted); opacity: 0.55; user-select: none; }
.board-hero { margin-bottom: 24px; }
.board-hero-eyebrow { display: block; font-size: 0.68rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--site-accent); }
.board-hero-title { margin: 6px 0 0; font-size: clamp(1.5rem, 4vw, 1.85rem); font-weight: 900; letter-spacing: -0.02em; color: var(--site-text); line-height: 1.2; }
.board-hero-desc { margin: 6px 0 0; font-size: 0.88rem; color: var(--site-muted); line-height: 1.5; }
.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; }
.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 { margin: 0; font-size: 0.88rem; font-weight: 500; line-height: 1.4; color: var(--site-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* boards.css — 2026-06-17: post reply — depth indent only (no badges) */
/* boards.css — 2026-06-17: post reply list — indent + reply icon */
.board-feed-row-title--reply { display: flex; align-items: center; flex-wrap: nowrap; 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--reply .board-feed-row-title-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.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: 600; 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; }
.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-feed-row--counsel .board-feed-row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.board-counsel-title-row { display: flex; align-items: flex-start; gap: 6px; margin-top: 6px; }
.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: 700; 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: 700; 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: 700; line-height: 1.35; color: var(--site-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.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); }
.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; }
.board-video-info h3 { margin: 0 0 8px; font-size: 1rem; font-weight: 600; }
.board-video-info h3 a { color: var(--site-text); text-decoration: none; }
.board-video-info h3 a:hover { color: var(--site-accent); }
.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-blog-card:hover .board-blog-title { color: var(--site-accent); }
}
/* boards.css — gallery detail grid + lightbox */
.board-gallery-detail { margin-bottom: 18px; }
.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-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: 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); overflow: hidden; }
.board-detail-card--bulletin { overflow: visible; }
.board-detail-card--bulletin .board-detail-body { overflow: visible; }
.site-main:has(.board-bulletin-viewer), .board-shell:has(.board-bulletin-viewer) { overflow: visible; }
.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; }
.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: 1024px) {
  .board-gallery-grid--pixel { grid-template-columns: repeat(4, 1fr); }
  .board-video-grid--pixel { grid-template-columns: repeat(4, 1fr); }
}
@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-feed-row-title:not(.board-feed-row-title--reply) { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .board-feed-row-title--reply { display: flex; flex-wrap: nowrap; align-items: center; white-space: nowrap; }
  .board-feed-row-title--reply .board-feed-row-title-text { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; -webkit-line-clamp: unset; -webkit-box-orient: unset; }
}

.board-post-title { margin: 0; font-size: 1.05rem; line-height: 1.4; word-break: break-word; }
.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.84rem; font-weight: 500; 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.72rem; 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.86rem; 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; }
.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; }
.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) {
  /* 2026-06-17: Mobile — prevent title/breadcrumb stretching to top & bottom */
  .board-hero.page-hero--bar { flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 8px; padding: 12px 14px; }
  .board-hero.page-hero--bar .page-hero-main { flex: 0 1 auto; min-width: 0; }
  .board-hero.page-hero--bar .board-hero-title { font-size: clamp(1.05rem, 4.5vw, 1.3rem); }
  .page-hero-side { width: 100%; justify-content: flex-start; }
  .page-hero-breadcrumb { justify-content: flex-start; font-size: 0.78rem; }
  .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; }
  .board-list-row-link { padding: 14px 16px; }
  .board-list-meta-mobile { display: block; }
  .board-list-title-wrap { flex-direction: column; align-items: flex-start; gap: 6px; }
  .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: 600; }
  .board-counsel-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  /* 2026-06-12: --pixel video grid keeps 2/3 cols like gallery; legacy .board-video-grid only → 1 col */
  .board-card-grid, .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 { border-radius: 10px; }
  .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-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-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 .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; }
.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; }
.board-bulletin-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.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: flex-end; }
.board-bulletin-toolbar--detail .board-bulletin-toolbar-side { margin-left: 0; }
.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; gap: 16px; }
.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); }
.board-bulletin-page img { display: block; width: 100%; height: auto; }
.board-bulletin-page-no { padding: 8px 12px; font-size: 0.76rem; color: var(--site-muted); text-align: center; background: var(--site-header-bg, var(--site-surface)); }
.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: visible; }
.board-bulletin-flip-wrap { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 8px 0; overflow: visible; position: relative; z-index: 1; background: transparent; width: 100%; }
.board-bulletin-viewer:not(.board-bulletin-viewer--fullscreen) .board-bulletin-flip-book { width: auto; max-width: 720px; 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); }
.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-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; }
}
