/* ── 기본 및 공통 스타일 ── */
body { background-color: var(--gray-5); } 
.board-wrap { max-width: 860px; margin: 0 auto; } 
.card { background: #fff; border: 1px solid #f3f3f3; border-radius: 14px; padding: 20px; margin-bottom: var(--space-md); } 

/* ── 게시판 목록 (테이블형) ── */
.board-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--gray-30); margin-bottom: 20px; text-decoration: none; } 
.board-back:hover { color: #1b498c; } 
.board-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; } 
.board-header__title { font-size: var(--space-lg); font-weight: 700; color: var(--gray-50); } 
.btn-write { display: inline-flex; align-items: center; gap: 4px; padding: var(--space-sm) 20px; border-radius: var(--radius-lg); background: #1b498c; color: #fff; font-size: 14px; font-weight: 600; text-decoration: none; } 
.board-table { width: 100%; border-collapse: collapse; } 
.board-table th { padding: 12px var(--space-md); font-size: 13px; font-weight: 600; color: var(--gray-30); text-align: left; border-bottom: 2px solid var(--gray-50); } 
.board-table th.col-id { width: 60px; text-align: center; } 
.board-table th.col-nickname { width: 130px; text-align: center; } 
.board-table th.col-views { width: 70px; text-align: center; } 
.board-table th.col-date { width: 110px; text-align: center; } 
.board-table td { padding: 12px var(--space-md); font-size: 14px; border-bottom: 1px solid #f3f3f3; color: var(--gray-50); } 
.board-table td.col-id,
.board-table td.col-nickname { text-align: center; color: var(--gray-40); font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } 
.board-table td.col-views,
.board-table td.col-date { text-align: center; color: var(--gray-30); font-size: 13px; } 
.board-table tr:hover { background: #fafafa; } 
.board-table tr.pinned { background: #f8f9fb; } 
.board-table .post-title { color: var(--gray-50); font-weight: 500; text-decoration: none; } 
.board-table .post-title:hover { color: #1b498c; } 
.board-table .badge-pin { display: inline-block; font-size: 11px; font-weight: 600; color: #fff; background: #1b498c; border-radius: 4px; padding: 2px 6px; margin-right: 6px; } 
.board-empty td { text-align: center; padding: 60px var(--space-md); color: #999; } 
.custom-pagination { display: flex; align-items: center; justify-content: center; padding: 30px 0; font-family: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; } 
.custom-pagination a,
.custom-pagination span { text-decoration: none; display: flex; align-items: center; justify-content: center; height: 34px; color: #666; font-size: 14px; box-sizing: border-box; } 
.custom-pagination .nav-btn { color: #999; margin: 0 var(--space-sm); } 
.custom-pagination a.nav-btn:hover { color: #333; } 
.custom-pagination .disabled { color: #ccc !important; cursor: default; pointer-events: none; } 
.custom-pagination .page-num { min-width: 34px; padding: 0 5px; font-weight: bold; color: #444; margin: 0 2px; } 
.custom-pagination a.page-num:hover { text-decoration: underline; } 
.custom-pagination .page-num.active { border: 1px solid #ddd; color: #e64d3d !important; background: #fff; } 
.custom-pagination .divider { color: #eee; margin: 0 15px; font-size: 18px; font-weight: 100; } 

/* ── 반응 및 통계 공통 ── */
.lw-reaction { display: inline-flex; align-items: center; gap: 4px; } 
.lw-reaction__btn { display: flex; align-items: center; gap: 4px; background: none; border: none; cursor: pointer; padding: 4px; color: var(--gray-30); transition: color 0.2s ease; } 
.lw-reaction__count { font-size: 13px; font-weight: 600; } 
.lw-reaction__btn:hover { color: var(--gray-40); } 
.lw-reaction__btn--like-active { color: #1b498c; } 
.lw-reaction__btn--like-active:hover { color: #14366b; } 
.lw-reaction__btn--dislike-active { color: #dc2626; } 
.lw-reaction__btn--dislike-active:hover { color: #b91c1c; } 
.detail-stats,
.lw-post__stats { display: flex; align-items: center; justify-content: space-between; background: var(--gray-5); border-radius: var(--radius-lg); padding: 12px var(--space-md); margin-top: var(--space-md); } 
.detail-stats { margin: 0 var(--space-md) var(--space-lg); } 
.lw-stat { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-40); font-weight: 500; } 
.lw-stat-icon { width: 20px; height: 20px; object-fit: contain; transition: filter 0.2s; } 
.lw-stat-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font-size: inherit; color: inherit; font-family: inherit; font-weight: inherit; cursor: pointer; transition: color 0.2s; } 
.lw-stat-reaction { display: flex; align-items: center; gap: var(--space-sm); } 
.lw-stat-btn.is-like-active { color: #1b498c; font-weight: 600; } 
.lw-stat-btn.is-like-active .lw-stat-icon { filter: invert(24%) sepia(85%) saturate(1814%) hue-rotate(202deg)
brightness(91%) contrast(93%); } 
.lw-stat-btn.is-dislike-active { color: #e53935; font-weight: 600; } 
.lw-stat-btn.is-dislike-active .lw-stat-icon { filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(354deg)
brightness(92%) contrast(92%); } 

/* ── 글쓰기 폼 ── */
.form-container { background: #fff; border-radius: var(--space-md); padding: 40px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); } 
.form-header { display: flex; align-items: center; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--gray-10); margin-bottom: var(--space-lg); } 
.header-left { display: flex; align-items: center; gap: 12px; } 
.back-btn { display: none; } 
.form-title { font-size: var(--space-lg); font-weight: 700; color: var(--gray-90); margin: 0; } 
.temp-save-link { background: none; border: none; display: flex; align-items: center; color: var(--gray-60); font-size: 14px; cursor: pointer; padding: 0; } 
.temp-save-link span { display: inline-block; } 
.section-group { margin-bottom: 36px; } 
.section-label { display: block; font-size: 12px; font-weight: 600; color: var(--gray-50); margin-bottom: var(--space-sm); } 
.section-label .req { color: var(--color-red); margin-left: 2px; } 
.select-row { display: flex; align-items: center; justify-content: space-between; width: 100%; } 
.select-btn { display: flex; align-items: center; justify-content: center; gap: 4px; height: 36px; padding: 9px 12px; background: var(--gray-0); border: 1px solid var(--gray-10); border-radius: 30px; font-size: 14px; color: var(--gray-50); font-weight: 400; line-height: 1.3; cursor: pointer; } 
.select-btn.is-selected { background: var(--gray-50); color: var(--gray-0); border-color: var(--gray-50); font-weight: 600; } 
.select-btn.is-selected .btn-arrow { display: none; } 
.btn-arrow { width: 18px; height: 18px; object-fit: contain; filter: brightness(0); } 
.btn-avatar { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; } 
.rules-link { font-size: 14px; color: var(--gray-30); text-decoration: underline; font-weight: 600; text-underline-offset: 3px; } 
.guide-link { float: right; font-size: 13px; color: var(--gray-30); text-decoration: underline; margin-top: -36px; position: relative; z-index: 1; } 
.type-pills { display: flex; flex-wrap: wrap; gap: var(--space-sm); } 
.type-pill { padding: var(--space-sm) 12px; border-radius: 30px; border: 1px solid var(--gray-10); background: var(--gray-0); font-size: 14px; color: var(--gray-50); cursor: pointer; font-weight: 400; } 
.type-pill.active { background: var(--gray-50); color: var(--gray-0); border-color: var(--gray-50); font-weight: 600; } 
.input-wrapper input { width: 100%; height: 48px; padding: 0 var(--space-md); border: 1px solid var(--gray-10); border-radius: var(--space-sm); font-size: 14px; color: var(--gray-50); outline: none; box-sizing: border-box; } 
.input-wrapper input:focus { border-color: var(--gray-50); border-width: 2px; } 
.input-wrapper input::placeholder { color: var(--gray-30); } 
.char-count { text-align: right; font-size: 12px; color: var(--gray-50); margin-top: 4px; } 
.action-buttons { display: flex; gap: var(--space-sm); margin-top: 28px; } 
.btn { height: 52px; border-radius: 30px; font-size: var(--space-md); font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; } 
.btn-temp { flex: 2; background: var(--gray-0); border: 1px solid var(--gray-10); color: var(--gray-40); } 
.btn-submit { flex: 3; background: var(--color-primary); border: none; color: var(--gray-0); } 
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5); z-index: 100; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: var(--space-md); } 
.modal-content { background: var(--gray-0); border-radius: 14px; width: 100%; max-width: 440px; max-height: 80vh; display: flex; flex-direction: column; } 
.modal-header { display: flex; align-items: center; padding: var(--space-lg) 20px; } 
.modal-title { font-size: 20px; font-weight: 600; color: var(--gray-50); flex: 1; } 
.modal-close { background: none; border: none; color: var(--gray-50); padding: 4px; cursor: pointer; } 
.modal-search-wrapper { padding: 0px 20px; margin-bottom: var(--space-sm); } 
.cat-modal-desc { font-size: 14px; font-weight: 400; color: var(--gray-50); line-height: 1.4; margin-bottom: var(--space-md); } 
.modal-search-input { width: 100%; height: 48px; background: #f3f3f3; border: none; border-radius: var(--space-sm); padding: 14px 12px; font-size: 14px; font-weight: 400; color: var(--gray-50); outline: none; box-sizing: border-box; } 
.modal-search-icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; } 
.modal-search-icon img { width: var(--space-lg); height: var(--space-lg); display: block; object-fit: contain; } 
.board-list { flex: 1; overflow-y: auto; padding: var(--space-md) 20px; } 
.board-item { padding: var(--space-md); border: 1px solid var(--gray-10); border-radius: var(--space-sm); margin-bottom: var(--space-sm); cursor: pointer; } 
.board-item.selected { border-color: var(--color-primary); border-width: 2px; } 
.board-info { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; } 
.board-avatar { width: 44px; height: 44px; border-radius: 50%; background: #f3f3f3; } 
.board-name { font-size: var(--space-md); font-weight: 600; color: var(--gray-50); line-height: 1.4; } 
.board-stats { margin: 0; padding: 0; font-size: 12px; font-weight: 400; color: var(--gray-40); line-height: 1.4; margin-top: 2px; } 
.board-categories { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: var(--space-sm); padding-bottom: 2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; } 
.board-categories::-webkit-scrollbar { display: none; } 
.cat-badge { display: inline-flex; align-items: center; justify-content: center; height: 36px; padding: var(--space-sm) 12px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; box-sizing: border-box; background-color: var(--bg); border: 1px solid var(--gray-10); color: var(--gray-50); flex-shrink: 0; } 
.cat-badge.has-color { border: none; color: var(--gray-0); } 
.category-row { display: flex; align-items: center; cursor: pointer; gap: 12px; margin: 12px 0; } 
.custom-radio-icon { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--gray-10); background-color: var(--gray-0); display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-sizing: border-box; } 
.custom-radio-icon::after { content: ""; width: var(--space-sm); height: var(--space-sm); background-color: var(--gray-10); border-radius: 50%; } 
.category-row.active .custom-radio-icon { border-color: var(--color-primary); background-color: var(--color-primary); } 
.category-row.active .custom-radio-icon::after { background-color: var(--gray-0); } 
.category-label-text { font-size: 14px; color: var(--gray-50); font-weight: 600; } 
.check-mark { margin-left: auto; display: flex; align-items: center; justify-content: center; } 
.check-mark img { width: 18px; height: 18px; object-fit: contain; } 
.photo-upload-box { width: 80px; height: 80px; background: #f5f5f5; border-radius: var(--space-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #999; font-size: 12px; cursor: pointer; } 
.photo-upload-box svg { width: var(--space-lg); height: var(--space-lg); color: #b3b3b3; } 

/* ── 이용수칙 모달 스타일 ── */
.modal-overlay.is-centered { justify-content: center; align-items: center; padding: var(--space-md); } 
.modal-content.is-centered { border-radius: 14px; width: 100%; max-width: 400px; max-height: 80vh; } 
.rules-modal-content { overflow: hidden; display: flex; flex-direction: column; } 
.rules-body { flex: 1; overflow-y: auto; padding: var(--space-md) 20px; -ms-overflow-style: none; scrollbar-width: none; border-top: 1px solid var(--gray-10); } 
.rules-body::-webkit-scrollbar { display: none; } 
.rules-desc { font-size: 14px; color: var(--gray-50); font-weight: 400; line-height: 1.4; margin: 0; word-break: keep-all; margin-bottom: var(--space-md); } 
.rule-item-container { border-bottom: 1px solid var(--gray-10); } 
.rule-item-header { display: flex; align-items: center; justify-content: space-between; padding: var(--space-md) var(--space-sm); cursor: pointer; } 
.rule-title { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--space-md); font-weight: 400; color: var(--gray-50); } 
.rule-num { color: var(--gray-50); font-weight: 600; min-width: 20px; } 
.rule-arrow { width: 20px; height: 20px; } 
.rule-detail { padding: var(--space-md); background: var(--gray-5); font-size: 14px; color: var(--gray-40); line-height: 1.4; } 
.modal-footer { padding: 20px; } 
.btn-confirm { width: 100%; height: 52px; background: var(--color-primary); color: var(--gray-0); border: none; border-radius: 30px; font-size: var(--space-md); font-weight: 600; cursor: pointer; } 

/* ── 미디어 업로드 및 미리보기 ── */
.media-upload-wrap { display: flex; flex-direction: column; gap: 6px; width: 100%; } 
.media-upload-btn { flex-shrink: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; width: 98px; height: 98px; background-color: var(--gray-5); border-radius: var(--space-sm); cursor: pointer; } 
.media-upload-btn img { width: var(--space-lg); height: var(--space-lg); margin-bottom: 4px; } 
.media-count { font-size: 14px; font-weight: 400; color: var(--gray-30); } 
.media-count strong { font-weight: 600; color: var(--color-primary); } 
.hidden-input { display: none; } 
.media-preview-list { display: flex; gap: 6px; overflow-x: auto; flex-wrap: nowrap; width: 100%; padding-top: 12px; padding-right: 12px; -ms-overflow-style: none; scrollbar-width: none; } 
.media-preview-list::-webkit-scrollbar { display: none; } 
.media-preview-item { position: relative; width: 62px; height: 62px; flex-shrink: 0; border-radius: 6px; overflow: visible; cursor: pointer; } 
.preview-img { width: 100%; height: 100%; object-fit: cover; background-color: #000; border-radius: 6px; } 
.btn-delete-media { position: absolute; top: 0; right: 0; transform: translate(50%, -50%); background: none; border: none; cursor: pointer; padding: 0; z-index: 40; } 
.btn-delete-media img { width: 15px; height: 15px; display: block; } 
.video-indicator { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 5; background: rgba(0, 0, 0, 0.4); border-radius: 6px; display: flex; justify-content: center; align-items: center; pointer-events: none; } 
.video-indicator img { width: var(--space-lg); height: var(--space-lg); } 

/* ── 커뮤니티 레이아웃 및 피드 ── */
.community-wrap { display: flex; justify-content: center; gap: 20px; max-width: 1280px; margin: 0 auto; width: 100%; } 
.community-sidebar { width: 380px; flex-shrink: 0; } 
.community-main { width: 880px; flex-shrink: 0; min-width: 0; display: flex; flex-direction: column; } 

/* ── 가로 스크롤 탭 메뉴 ── */
.lw-tabs { display: flex; flex-wrap: nowrap; align-items: center; gap: var(--space-sm); height: 64px; padding: 0 var(--space-md); background: var(--gray-5); overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; box-sizing: border-box; width: 100%; } 
.lw-tabs::-webkit-scrollbar { display: none; } 
.lw-tab { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; height: 36px; padding: 0 var(--space-md); border-radius: 999px; font-size: 14px; font-weight: 400; line-height: 1; white-space: nowrap; border: 1px solid var(--gray-10); background: var(--gray-0); color: var(--gray-50) !important; text-decoration: none !important; cursor: pointer; box-sizing: border-box; -webkit-tap-highlight-color: transparent; transition: all 0.2s ease; } 
.lw-tab.is-active { background: var(--gray-50); color: var(--gray-0) !important; border-color: var(--gray-50); font-weight: 600; } 

/* ── 게시판 목록 그리드 모드 ── */
.lw-board-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-sm); padding: var(--space-md); background: var(--gray-0); box-sizing: border-box; } 
.lw-board-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: var(--space-lg) var(--space-md); background: var(--gray-5); border-radius: var(--radius-lg); cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease; -webkit-tap-highlight-color: transparent; text-decoration: none; box-sizing: border-box; } 
.lw-board-card:active { transform: scale(0.97); background: #f3f4f5; } 
.lw-board-card__title { font-size: var(--space-md); font-weight: 700; color: var(--gray-50); margin-bottom: 4px; } 
.lw-board-card__stats { font-size: 12px; font-weight: 400; color: var(--gray-30); } 

/* ── 게시판 메타 정보 및 툴바 ── */
.board-meta-section { padding: 0 var(--space-md); background: var(--gray-5); width: 100%; box-sizing: border-box; } 
.board-meta-cover { width: 100%; height: 90px; border-radius: 14px; background-color: #2c3e50; overflow: hidden; margin-bottom: var(--space-md); } 
.board-meta-cover img { width: 100%; height: 100%; object-fit: cover; } 
.board-meta-header { display: flex; gap: 12px; margin-bottom: var(--space-md); align-items: center; } 
.board-meta-avatar { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--gray-10); overflow: hidden; flex-shrink: 0; background: var(--gray-0); } 
.board-meta-avatar img { width: 100%; height: 100%; object-fit: cover; } 
.board-meta-info { flex: 1; min-width: 0; } 
.board-meta-title-row { display: flex; justify-content: space-between; align-items: center; margin: 0 0 3px 0; } 
.board-meta-title { font-size: var(--space-md); font-weight: 600; color: var(--gray-50); margin: 0; line-height: 1.2; } 
.board-meta-actions { display: flex; gap: 4px; flex-shrink: 0; align-items: center; } 
.board-meta-actions button { background: none; border: none; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; } 
.board-meta-actions img { width: 18px; height: 18px; } 
.board-meta-actions .btn-more img { width: var(--space-lg); height: var(--space-lg); } 
.board-meta-stats { font-size: 12px; color: var(--gray-40); margin: 0 0 3px 0; line-height: 1.2; } 
.board-meta-stats a { color: var(--color-primary); font-weight: 600; text-decoration: none; } 
.board-meta-desc { font-size: 13px; color: var(--gray-30); line-height: 1.4; margin: 0; } 
.board-meta-buttons { display: flex; gap: var(--space-sm); margin-top: 12px; } 
.board-meta-buttons button,
.board-meta-buttons a { flex: 1; height: 32px; display: flex; align-items: center; justify-content: center; border-radius: 20px; font-size: 14px; font-weight: 600; cursor: pointer; text-decoration: none; box-sizing: border-box; } 
.btn-join { background: #2c4a86; color: var(--gray-0); border: none; } 
.btn-write { background: var(--gray-0); color: var(--gray-50); border: 1px solid var(--gray-10); } 
.lw-toolbar { display: flex; justify-content: space-between; align-items: center; padding: var(--space-sm) var(--space-md); background: var(--gray-5); width: 100%; box-sizing: border-box; } 
.lw-toolbar.is-best { background: var(--gray-0); } 
.lw-sort { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 400; color: var(--gray-50); cursor: pointer; } 
.lw-view-toggles { display: flex; align-items: center; gap: 2px; } 
.lw-view-toggles button { background: none; border: none; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; } 
.lw-view-toggles button img { width: 18px; height: 18px; filter: brightness(0) saturate(100%) invert(48%) sepia(0%) saturate(0%)
brightness(95%) contrast(89%); } 
.lw-view-toggles button.is-active img { filter: brightness(0) saturate(100%) invert(4%) sepia(0%) saturate(0%)
brightness(96%) contrast(95%); } 

/* ── 게시판 메인 피드 영역 ── */
.lw-feed { background: var(--gray-0); padding: 0 var(--space-md); width: 100%; box-sizing: border-box; } 
.lw-feed a { text-decoration: none; color: inherit; } 
.lw-post__stats { display: flex !important; width: 100% !important; align-items: center; justify-content: space-between; background: var(--gray-5); border-radius: var(--space-sm); padding: 13px 12px; box-sizing: border-box; } 
.lw-stat { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray-40); font-weight: 400; } 
.lw-stat-icon { width: 18px; height: 18px; object-fit: contain; } 
.lw-stat-btn { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font-size: inherit; color: inherit; font-family: inherit; font-weight: inherit; cursor: pointer; transition: color 0.2s; } 
.lw-stat-reaction { display: flex; align-items: center; gap: var(--space-sm); } 
.lw-stat-btn.is-like-active { color: var(--color-primary); font-weight: 600; } 
.lw-stat-btn.is-like-active .lw-stat-icon { filter: invert(24%) sepia(85%) saturate(1814%) hue-rotate(202deg)
brightness(91%) contrast(93%); } 
.lw-stat-btn.is-dislike-active { color: var(--color-red); font-weight: 600; } 
.lw-stat-btn.is-dislike-active .lw-stat-icon { filter: invert(15%) sepia(95%) saturate(6932%) hue-rotate(354deg)
brightness(92%) contrast(92%); } 
.lw-post { padding: 28px 0; border-bottom: 1px solid var(--gray-10); display: block; width: 100%; box-sizing: border-box; } 
.lw-post:last-child { border-bottom: none; } 
.lw-post__top { display: flex; gap: var(--space-md); align-items: flex-start; width: 100%; } 
.lw-post__avatar { width: 40px; height: 40px; border-radius: 100px; background: #f3f3f3; overflow: hidden; flex-shrink: 0; margin-top: 6px; } 
.lw-post__avatar img { width: 100%; height: 100%; object-fit: cover; } 
.lw-post__info { flex: 1; min-width: 0; } 
.lw-post__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; width: 100%; } 
.lw-post__author { font-size: 14px; font-weight: 600; color: var(--gray-50); } 
.lw-post__title { font-size: 14px; font-weight: 600; color: var(--gray-50); line-height: 1.4; margin-bottom: var(--space-md); } 
.lw-post__body { font-size: 14px; font-weight: 400; color: var(--gray-50); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: var(--space-md); } 
.lw-post-checklist { display: block; width: 100%; padding: 20px 0; border-bottom: 1px solid #f3f3f3; box-sizing: border-box; } 
.lw-post-checklist:last-child { border-bottom: none; } 
.lw-post-checklist__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-sm); width: 100%; } 
.lw-post-checklist__user { display: flex; align-items: center; gap: var(--space-sm); } 
.lw-avatar-sm { width: var(--space-lg); height: var(--space-lg); border-radius: 50%; object-fit: cover; } 
.lw-author-name { font-size: 14px; font-weight: 600; color: var(--gray-50); } 
.lw-post-checklist__body { display: flex; gap: var(--space-md); text-decoration: none; margin-bottom: var(--space-md); width: 100%; align-items: flex-start; }
.lw-post-checklist__body--no-media { gap: 0; } 
.lw-post-checklist__thumb { width: 64px; height: 64px; border-radius: var(--space-sm); overflow: hidden; flex-shrink: 0; background: #f5f5f5; } 
.lw-post-checklist__thumb img { width: 100%; height: 100%; object-fit: cover; } 
.lw-post-checklist__info { flex: 1; min-width: 0; } 
.lw-post-checklist__title { font-size: 14px; font-weight: 600; color: var(--gray-50); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 4px; } 
.lw-post-checklist__desc { font-size: 14px; font-weight: 400; color: var(--gray-50); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; } 
.lw-btn-more { background: none; border: none; padding: 4px; cursor: pointer; display: flex; align-items: center; flex-shrink: 0; } 
.lw-btn-more img { width: var(--space-lg); height: var(--space-lg); } 
.lw-post-simple { display: block; width: 100%; padding: 28px 0; border-bottom: 1px solid var(--gray-10); box-sizing: border-box; } 
.lw-post-simple:last-child { border-bottom: none; } 
.lw-post-simple__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--space-sm); width: 100%; margin-bottom: var(--space-sm); } 
.lw-post-simple__title { font-size: var(--space-md); font-weight: 600; color: var(--gray-50); line-height: 1.4; } 
.text-blue { color: var(--color-accent); font-size: var(--space-md); font-weight: 600; } 
.lw-post-simple__meta { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--gray-30); width: 100%; } 
.lw-post-simple__author { font-weight: 600; color: var(--gray-50); } 
.lw-post-simple__stats { display: flex; align-items: center; gap: var(--space-md); } 
.lw-post-simple__stats span { display: flex; align-items: center; gap: 4px; } 
.icon-sm { width: 18px; height: 18px; } 
.btn-write-float { position: fixed; bottom: 80px; right: 40px; z-index: 50; display: inline-flex; align-items: center; justify-content: center; gap: var(--space-sm); padding: 0 20px; height: 52px; border-radius: 100px; background: #1b498c; color: #fff; font-family: Pretendard, sans-serif; font-size: var(--space-md); font-weight: 600; line-height: 1.4; white-space: nowrap; box-shadow: 0 4px 12px rgba(27, 73, 140, 0.3); text-decoration: none; -webkit-tap-highlight-color: transparent; } 
.lw-load-more { display: flex; justify-content: center; padding: 20px; } 
.lw-load-more button { padding: 10px var(--space-lg); border-radius: var(--space-sm); border: 1px solid var(--gray-10); background: var(--gray-0); font-size: 14px; color: var(--gray-40); cursor: pointer; font-family: inherit; } 
.lw-empty { padding: 60px 0; text-align: center; color: #999; font-size: 14px; } 

/* ── 바텀 시트 (정렬/기간 선택) ── */
.lw-sort { cursor: pointer; } 
.lw-bottom-sheet-dim { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.7); z-index: 9998; } 
.lw-bottom-sheet { position: fixed; bottom: 0; left: 0; right: 0; background: var(--gray-0); border-radius: var(--radius-lg) var(--radius-lg) 0 0; z-index: 9999; padding: var(--space-lg) var(--space-md); animation: slideUp 0.3s ease-out; } 
.lw-sheet-header { position: relative; display: flex; justify-content: center; align-items: center; padding-bottom: var(--space-lg); border-bottom: 1px solid #ededed; margin-bottom: 32px; min-height: 28px; } 
.lw-sheet-title { margin: 0; font-size: 20px; font-weight: 600; color: var(--gray-50); text-align: center; } 
.lw-sheet-btn-icon { position: absolute; top: 0; background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; height: var(--space-lg); } 
.lw-sheet-btn-icon img { width: var(--space-lg); height: var(--space-lg); } 
.lw-sheet-header button:first-child { left: 0; } 
.lw-sheet-header button:last-child { right: 0; } 
.lw-sheet-body-sort { display: flex; flex-direction: column; gap: 0px; } 
.lw-sheet-item { height: 48px; position: relative; padding: 0 var(--space-md); border-radius: var(--space-sm); cursor: pointer; display: flex; justify-content: center; align-items: center; background: transparent; transition: background 0.2s; } 
.lw-sheet-item.is-active { background: #f6f6f6; } 
.lw-sheet-item-text { font-size: 18px; font-weight: 400; color: var(--gray-50); line-height: 1; } 
.lw-sheet-item.is-active .lw-sheet-item-text { font-size: 18px; font-weight: 600; color: var(--color-accent); } 
.lw-sheet-item-arrow { position: absolute; left: calc(50% + var(--space-lg)); display: flex; align-items: center; } 
.lw-sheet-item-arrow img { width: 18px; height: 18px; } 
.lw-sheet-item.is-active .lw-sheet-item-arrow img { filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(199deg)
brightness(101%) contrast(98%); } 
.lw-sheet-body-period { display: flex; flex-direction: column; gap: 4px; text-align: center; } 
.lw-sheet-period-item { height: 48px; padding: 0 var(--space-md); border-radius: var(--space-sm); cursor: pointer; display: flex; justify-content: center; align-items: center; font-size: var(--space-md); font-weight: 500; color: var(--gray-50); background: transparent; } 
.lw-sheet-period-item.is-active { font-weight: 600; color: #4285f4; background: #f5f5f5; } 
@keyframes slideUp { 
 from { transform: translateY(100%); } 
to { transform: translateY(0); } 
 }

/* ── 더보기 바텀시트 전용 ── */
.lw-sheet-header-center { position: relative; display: flex; justify-content: center; align-items: center; padding-bottom: var(--space-lg); border-bottom: 1px solid #ededed; margin-bottom: 32px; min-height: 28px; } 
.lw-sheet-title-center { margin: 0; font-size: 20px; font-weight: 600; color: var(--gray-50); text-align: center; } 
.lw-sheet-btn-close { position: absolute; top: 0; right: 0; background: none; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; height: var(--space-lg); } 
.lw-sheet-btn-close img { width: var(--space-lg); height: var(--space-lg); } 
.lw-more-socials { display: flex; justify-content: center; gap: var(--space-md); margin-bottom: var(--space-md); } 
.lw-more-socials button { background: none; border: none; padding: 0; cursor: pointer; border-radius: 50%; display: flex; } 
.lw-more-socials img { width: 40px; height: 40px; object-fit: contain; } 
.lw-more-actions { display: flex; flex-direction: column; gap: 0px; } 
.lw-more-btn { height: 48px; display: flex; align-items: center; justify-content: flex-start; padding-left: calc(50% - 65px); gap: 12px; width: 100%; background: transparent; border: none; font-size: 18px; font-weight: 400; color: var(--gray-50); cursor: pointer; border-radius: var(--space-sm); font-family: inherit; transition: all 0.2s; } 
.lw-more-btn img { width: 18px; height: 18px; object-fit: contain; flex-shrink: 0; filter: brightness(0); } 
.lw-more-btn.is-active { background: #f6f6f6; color: var(--color-accent); font-weight: 600; } 
.lw-more-btn.is-active img { filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(199deg)
brightness(101%) contrast(98%); } 

/* ── 사이드바 컴포넌트 ── */
.profile-card { display: flex; flex-direction: column; gap: var(--space-md); } 
.profile-header { display: flex; justify-content: space-between; align-items: center; } 
.profile-info { display: flex; flex-direction: column; gap: var(--space-sm); } 
.profile-name { display: flex; align-items: center; gap: var(--space-sm); } 
.profile-nickname { font-size: 18px; font-weight: 600; margin: 0; color: var(--gray-50); } 
.profile-badge { background: var(--gray-50); color: var(--gray-0); font-size: 12px; font-weight: 600; padding: 4px 6px; border-radius: var(--radius-md); } 
.profile-btns { display: flex; gap: 10px; } 
.profile-btn { border: 1px solid var(--gray-10); border-radius: 25px; padding: 6px var(--space-sm) 6px 12px; font-size: 12px; font-weight: 400; display: flex; align-items: center; gap: 4px; color: var(--gray-50); text-decoration: none; } 
.profile-btn img { width: 18px; height: 18px; object-fit: contain; } 
.profile-sub { display: flex; flex-direction: column; padding: var(--space-md); background: var(--gray-5); border-radius: var(--radius-md); } 
.profile-sub-label { display: flex; align-items: center; gap: 4px; font-weight: 600; color: var(--gray-50); font-size: var(--space-md); } 
.profile-sub-header { display: flex; align-items: center; justify-content: space-between; text-decoration: none; } 
.profile-stats { display: flex; border-top: 1px dashed #dcdcdc; padding-top: 12px; margin-top: var(--space-md); } 
.profile-stat { flex: 1; text-align: center; display: flex; flex-direction: column; gap: 2px; align-items: center; } 
.profile-stat-label { font-size: 12px; font-weight: 600; color: var(--gray-30); } 
.profile-stat-value { font-size: 18px; font-weight: 600; color: var(--gray-50); } 
.login-card { padding: 40px 20px; } 
.login-action-btn { display: flex; justify-content: center; align-items: center; width: 100%; height: 52px; background-color: var(--color-primary); color: var(--gray-0); border-radius: var(--space-sm); font-weight: 600; font-size: var(--space-md); text-decoration: none; margin-bottom: var(--space-md); } 
.login-action-links { display: flex; justify-content: center; align-items: center; gap: var(--space-md); } 
.login-action-links a { font-size: 14px; font-weight: 600; color: var(--gray-40); text-decoration: none; } 
.login-action-links .divider { font-size: 10px; color: var(--gray-10); } 
.popular-section { padding: 20px; } 
.popular-title { font-size: 16px; font-weight: 600; margin-bottom: 16px; display: flex; align-items: center; gap: 4px; } 
.popular-list { display: flex; flex-direction: column; gap: 18px; } 
.popular-rank { font-size: 14px; font-weight: 700; color: var(--color-primary); min-width: 14px; font-style: italic; } 
.popular-item { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: 18px; font-size: 14px; font-weight: 600; line-height: 1.4; text-decoration: none; color: inherit; } 
.popular-item:not(:last-child) { border-bottom: 1px solid var(--gray-10); } 
.popular-item:last-child { padding-bottom: 0; } 
.text-truncate { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } 
.popular-item--empty { justify-content: center; color: #999; font-size: 13px; padding: 20px 0; } 
.popular-comment-count { color: var(--color-accent); font-size: 12px; font-weight: 600; white-space: nowrap; } 

/* ── 인기차량 섹션 스타일 ── */
.popular-car { display: flex; align-items: center; gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--gray-10); } 
.popular-car:last-child { border-bottom: none; padding-bottom: 0; } 
.popular-car-body { display: flex; align-items: flex-start; gap: 12px; flex: 1; min-width: 0; } 
.popular-car-rank { font-size: 24px; font-weight: 600; color: var(--gray-50); line-height: 1; margin-top: 2px; } 
.popular-car-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; } 
.popular-car-name { font-size: 16px; font-weight: 600; color: var(--gray-50); line-height: 1.8; word-break: keep-all; } 
.popular-car-price { color: var(--gray-50); font-size: 16px; font-weight: 600; } 
.popular-car-unit { font-size: 16px; font-weight: 400; color: var(--gray-50); margin-left: 1px; } 
.popular-car-thumb { width: 100px; height: 75px; border-radius: 14px; background: #f3f3f3; overflow: hidden; flex-shrink: 0; } 
.popular-car-thumb img { width: 100%; height: 100%; object-fit: cover; } 

.popular-car-thumb img { width: 100%; height: 100%; object-fit: cover; } 
.sidebar-banner { background: #f3f3f3; border-radius: 14px; padding: 32px 20px; text-align: center; font-size: 14px; color: var(--gray-30); line-height: 1.6; margin-bottom: var(--space-md); } 
.profile-upload { display: flex; flex-direction: column; align-items: center; } 
.profile-upload__label { cursor: pointer; position: relative; } 
.profile-upload__container { width: 62px; height: 62px; border-radius: 50%; background-color: #f3f3f3; position: relative; display: flex; align-items: center; justify-content: center; } 
.profile-upload__preview { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; } 
.profile-upload__badge { position: absolute; bottom: 0; right: 0; background-color: #fff; width: var(--space-lg); height: var(--space-lg); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } 
.profile-upload__icon { width: 12px; height: 12px; } 
.profile-upload__input { display: none; } 
.profile-upload__loading { margin-top: var(--space-sm); font-size: 11px; color: #1b498c; } 

/* ── 게시글 상페 페이지 ── */
.article { background: #fff; border: 1px solid #f3f3f3; border-radius: 14px; padding: 44px 120px; } 
.detail-post-container { display: flex; align-items: flex-start; gap: 16px; width: 100%; box-sizing: border-box; background: var(--gray-0); } 
.detail-post__avatar { width: 40px; height: 40px; border-radius: 50%; background: #f3f3f3; object-fit: cover; flex-shrink: 0; } 
.detail-post__right { flex: 1; min-width: 0; display: flex; flex-direction: column; } 
.detail-post__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; } 
.detail-post__name { font-size: var(--space-md); font-weight: 600; color: var(--gray-50); } 
.detail-post__name span { margin-left: 4px; font-size: 12px; color: var(--gray-30); font-weight: 400; } 
.detail-post__more { background: none; border: none; padding: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--gray-50); } 
.detail-post__title { font-size: 14px; font-weight: 600; color: var(--gray-50); line-height: 1.4; margin: 0 0 16px 0; word-break: break-word; overflow-wrap: break-word; } 
.detail-post__content { font-size: 14px; font-weight: 400; color: var(--gray-50); line-height: 1.4; word-break: break-word; } 
.detail-post__content img { width: 100%; max-width: 100%; height: auto; border-radius: var(--space-md); margin: var(--space-md) 0; display: block; object-fit: cover; } 

/* ── 게시판 메타 정보 및 툴바 ── */
.article-citation-notice { display: flex; align-items: center; justify-content: center; padding: var(--space-md); background-color: var(--gray-0); width: 100%; } 
.notice-icon { width: 18px; height: 18px; margin-right: 4px; } 
.notice-text { font-size: 12px; font-weight: 400; color: var(--gray-30); letter-spacing: -0.5px; margin: 0; } 
.notice-brand { font-weight: 600; color: var(--gray-50); border-bottom: 1px solid var(--gray-50); padding-bottom: 1px; } 

/* ── 댓글 스타일 ── */
.section-divider { width: 100%; height: 1px; background-color: var(--gray-10); margin: 10px; border: none; } 
.comments-section { padding: 0 0 var(--space-xl) 0; } 
.lw-comment { display: flex; align-items: stretch; gap: 12px; padding: var(--space-md) var(--space-md); background: var(--gray-0); width: 100%; box-sizing: border-box; } 
.lw-comment:last-child { border-bottom: none; } 
.lw-comment--reply { padding: var(--space-md) 0 0 0; border-bottom: none; } 
.lw-comment__left { display: flex; flex-direction: column; align-items: center; width: 36px; flex-shrink: 0; } 
.lw-comment__avatar { width: var(--space-lg); height: var(--space-lg); border-radius: 50%; background: #f3f3f3; object-fit: cover; flex-shrink: 0; position: relative; z-index: 2; } 
.lw-comment__line { width: 1px; background: var(--gray-10); flex-grow: 1; margin-top: 12px; margin-bottom: var(--space-md); } 
.lw-comment__right { flex: 1; min-width: 0; display: flex; flex-direction: column; } 
.lw-comment__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; height: var(--space-lg); } 
.lw-comment__user-info { display: flex; align-items: center; gap: var(--space-sm); height: 100%; line-height: 1; } 
.lw-comment__author { font-size: 14px; font-weight: 600; color: var(--gray-50); } 
.lw-comment__time { font-size: 12px; font-weight: 400; color: var(--gray-30); } 
.lw-comment__more { background: none; border: none; padding: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #111; margin-right: -4px; } 
.lw-comment__more img { width: 20px; height: 20px; opacity: 0.8; } 
.badge-best { background: #e8f0fe; color: #1b498c; font-size: 11px; padding: 3px 6px; border-radius: 4px; font-weight: 600; } 
.badge-author { background: #e6ffe6; color: #2e7d32; font-size: 11px; padding: 3px 6px; border-radius: 4px; font-weight: 600; } 
.lw-comment__body { font-size: 14px; font-weight: 400; color: var(--gray-50); line-height: 1.4; margin-bottom: 12px; word-break: break-word; } 
.lw-comment__actions { display: flex; align-items: center; gap: 4px; margin-bottom: var(--space-lg); } 
.lw-comment__action-btn { background: none; border: none; padding: 0; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--gray-40); cursor: pointer; font-family: inherit; font-weight: 400; } 
.lw-comment__action-btn img { width: 18px; height: 18px; filter: brightness(0) invert(31%); } 
.lw-comment__reply-toggle { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; color: var(--gray-50); cursor: pointer; padding: var(--space-sm) 0; margin-top: -4px; } 
.lw-comment--deleted { color: #999; font-size: 14px; padding: var(--space-md) var(--space-md); border-bottom: 1px solid #f3f3f3; text-align: center; } 
.lw-comment-empty { padding: 40px 0; text-align: center; color: #999; font-size: 14px; } 
.lw-comment-form { padding: 12px var(--space-md) var(--space-lg); background: var(--gray-0); } 
.lw-comment-form__reply { display: flex; justify-content: space-between; align-items: center; background: #f7f8f9; height: 52px; padding: 0 120px; font-size: 14px; color: var(--gray-30); margin-left: calc(-120px - var(--space-md)); margin-right: calc(-120px - var(--space-md)); margin-bottom: 26px; box-sizing: border-box; gap: 10px; } 
.lw-comment-form__reply span { display: flex; overflow: hidden; flex: 1; align-items: center; } 
.lw-comment-form__reply .lw-comment-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-style: normal; } 
.lw-comment-form__reply strong { color: var(--gray-50); flex-shrink: 0; white-space: nowrap; margin-left: 4px; } 
.lw-comment-form__reply button { background: none; border: none; font-size: 14px; font-weight: 400; color: var(--gray-50); cursor: pointer; padding: 0 15px; height: 100%; flex-shrink: 0; } 
.lw-comment-form__row { display: flex; align-items: center; gap: 10px; } 
.lw-comment-form__input { flex: 1; background: #f3f3f3; border: none; border-radius: var(--radius-md); height: 48px; padding: 0 var(--space-md); font-size: 14px; font-weight: 400; color: var(--gray-50); outline: none; box-sizing: border-box; } 
.lw-comment-form__input::placeholder { color: var(--gray-30); } 
.lw-comment-form__btn { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0; } 
.lw-comment-form__btn:disabled { opacity: 0.5; cursor: not-allowed; } 
.lw-comment-form__btn img { width: 24px; height: 24px; object-fit: contain; } 
.lw-comment-form__loading { width: 18px; height: 18px; border: 2px solid var(--gray-20); border-top-color: var(--gray-50); border-radius: 50%; animation: spin 0.8s linear infinite; } 
@keyframes spin { to { transform: rotate(360deg); } 
 }
.lw-comment-form--login { text-align: center; padding: var(--space-lg) var(--space-md); background: var(--gray-5); margin: 0 var(--space-md) var(--space-lg); border-radius: var(--space-sm); border: none; } 
.lw-comment-form__login-text { font-size: 14px; color: var(--gray-30); } 
.lw-comment-form__login-link { color: var(--color-primary); font-weight: 600; text-decoration: underline; } 

/* ── 임시저장 불러오기 모달 ── */
.draft-modal-content { max-width: 480px; padding: 24px; background: #fff; border-radius: 12px; } 
.draft-modal-header { display: flex; align-items: center; justify-content: space-between; margin: 0 -24px 16px; padding: 0 24px 16px; border-bottom: 1px solid #f0f0f0; } 
.draft-modal-title { font-size: 18px; font-weight: 700; color: #111; display: flex; align-items: center; gap: 8px; } 
.draft-count { font-size: 15px; color: #888; font-weight: 500; } 
.draft-list { display: flex; flex-direction: column; gap: 12px; max-height: 400px; overflow-y: auto; -ms-overflow-style: none; scrollbar-width: none; } 
.draft-list::-webkit-scrollbar { display: none; } 
.draft-item { display: flex; justify-content: space-between; align-items: center; padding: 16px; border: 1px solid #e0e0e0; border-radius: 8px; cursor: pointer; transition: background-color 0.2s ease; } 
.draft-item:hover { background-color: #fafafa; border-color: #ccc; } 
.draft-info { display: flex; flex-direction: column; gap: 6px; } 
.draft-title { font-size: 15px; font-weight: 700; color: #111; } 
.draft-meta { font-size: 13px; color: #888; } 
.draft-meta .draft-time { color: #000; font-weight: 600; } 
.btn-delete-draft { background: none; border: none; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; } 

/* ── 피드 미디어 스타일 ── */
.ratio { position: relative; width: 100%; }
.ratio::before { display: block; content: ""; }
.ratio iframe, .ratio blockquote { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.ratio-16x9::before { padding-top: 56.25%; }
.ratio-tiktok::before { padding-top: 177.77%; }
.ratio-instagram::before { padding-top: 120%; }

.lw-post__media { margin-top: 12px; border-radius: 12px; overflow: hidden; background: #f5f5f5; width: 100%; }
.lw-post__image { width: 100%; height: auto; display: block; object-fit: cover; }
.lw-post__video { width: 100%; display: block; background: #000; }
.lw-post__embed { width: 100%; }
.lw-post__embed.is-vertical { position: relative; padding-bottom: 177.77%; height: 0; overflow: hidden; }
.lw-post__embed.is-vertical iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.lw-post__video-thumb { width: 100%; height: 100%; object-fit: cover; background: #000; }
