/* ================================================================
   웹툰협회 홈페이지 - 모노톤 고급스러운 테마
   주색: #111 / 배경: #fafafa / 회색: #6b6b6b / 테두리: #e5e5e5
   ================================================================ */

:root {
  --c-bg: #fafafa;
  --c-bg-alt: #ffffff;
  --c-ink: #111111;
  --c-ink-2: #2a2a2a;
  --c-gray: #6b6b6b;
  --c-gray-2: #9a9a9a;
  --c-line: #e5e5e5;
  --c-line-2: #ececec;
  --c-accent: #111111;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --radius: 4px;
  --font: "Pretendard Variable","Pretendard",-apple-system,BlinkMacSystemFont,system-ui,"Segoe UI","Apple SD Gothic Neo",sans-serif;
  --maxw: 1280px;
}

* { box-sizing: border-box; }
html, body { margin:0; padding:0; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #000; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: auto; }
.skip:focus { left: 16px; top: 16px; background:#000; color:#fff; padding: 8px 14px; z-index: 999; }

/* ─────────── HEADER ─────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(150%) blur(6px);
  border-bottom: 1px solid var(--c-line);
}
.header-inner {
  display: flex; align-items: center; gap: 40px;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; flex-shrink: 0; }
.brand-logo { height: 40px; width: auto; }
.brand-text { font-size: 20px; font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }

/* ─────────── NAV ─────────── */
.gnb { flex: 1; }
.gnb-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.gnb-item { position: relative; }
.gnb-link {
  display: inline-flex; align-items: center; height: 72px; padding: 0 18px;
  font-size: 15px; font-weight: 600; color: var(--c-ink-2);
  white-space: nowrap;
  transition: color .15s ease;
}
.gnb-link:hover, .gnb-item:hover > .gnb-link, .gnb-item.open > .gnb-link { color: #000; }
.gnb-item.has-sub > .gnb-link::after {
  content: ""; margin-left: 8px;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .55;
}
.gnb-sub {
  position: absolute; top: 100%; left: 0;
  min-width: 200px; padding: 8px 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.gnb-item:hover .gnb-sub, .gnb-item.open .gnb-sub,
.gnb-item:focus-within .gnb-sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.gnb-sub a {
  display: block; padding: 10px 18px;
  font-size: 14.5px; color: var(--c-ink-2);
}
.gnb-sub a:hover { background: var(--c-bg); color:#000; }

/* 모바일 토글 */
.gnb-toggle { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; }
.gnb-toggle span { display: block; height: 1.5px; background: var(--c-ink); transition: transform .2s; }

.user-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.hello { font-size: 13.5px; color: var(--c-gray); white-space: nowrap; }
.btn-ghost, .btn-solid {
  display: inline-flex; align-items: center; height: 36px; padding: 0 14px;
  font-size: 13.5px; font-weight: 600; border-radius: var(--radius);
  border: 1px solid var(--c-line); color: var(--c-ink-2); background: #fff;
  white-space: nowrap;
  transition: background .15s, border-color .15s, color .15s;
}
.btn-ghost:hover { background: var(--c-bg); }
.btn-solid { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
.btn-solid:hover { background: #000; color:#fff; }

/* ─────────── MAIN ─────────── */
.site-main { padding: 48px 0 96px; min-height: 60vh; }
.page-title {
  font-size: 32px; font-weight: 800; letter-spacing: -0.03em;
  margin: 0 0 6px;
}
.page-sub { color: var(--c-gray); margin: 0 0 32px; font-size: 15px; }
.section { margin-bottom: 56px; }
.section h2 { font-size: 22px; font-weight: 800; margin: 0 0 18px; letter-spacing: -0.02em; }
.section-header { display:flex; align-items:center; justify-content:space-between; margin:0 0 18px; }
.section-header h2 { margin:0; font-size:22px; font-weight:800; letter-spacing:-0.02em; }
.more-link { font-size:12px; color:var(--c-gray); font-weight:500; }
.hr { border: 0; border-top: 1px solid var(--c-line); margin: 32px 0; }

/* 카드 */
.card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}

/* ─────────── 히어로 ─────────── */
.hero {
  background: linear-gradient(180deg, #fff 0%, #f5f5f5 100%);
  border: 1px solid var(--c-line); border-radius: 8px;
  padding: 64px 48px; margin-bottom: 56px;
  text-align: center;
}
.hero h1 { font-size: 42px; font-weight: 800; letter-spacing: -0.035em; margin: 0 0 12px; }
.hero p { font-size: 17px; color: var(--c-gray); margin: 0; }

/* 단일 배너 — 1280×480 비율 */
.hero-banner {
  aspect-ratio: 1280/480; min-height: 200px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  border-radius: 8px; border: 1px solid var(--c-line);
  margin-bottom: 56px; position: relative; overflow: hidden;
}

/* 슬라이더 배너 — 1280×480 비율 */
.hero-slider {
  aspect-ratio: 1280/480; min-height: 200px;
  position: relative; overflow: hidden;
  border-radius: 8px; border: 1px solid var(--c-line);
  margin-bottom: 56px;
}
.hero-track {
  display: flex; height: 100%;
  transition: transform 0.6s cubic-bezier(.4,0,.2,1);
}
.hero-slide {
  flex: 0 0 100%; height: 100%;
  background-size: cover; background-position: center;
  position: relative;
}
.hero-slide-link { position: absolute; inset: 0; z-index: 1; }

/* 캡션 — 절대 위치 */
.hero-caption {
  position: absolute; z-index: 2;
  max-width: 55%; padding: 14px 22px;
}
.hero-caption h1 { font-size: 36px; font-weight: 800; margin: 0 0 6px; line-height: 1.2; white-space: nowrap; }
.hero-caption p  { font-size: 16px; margin: 0; white-space: nowrap; }

/* ── 9방향 위치 ── */
.hpos-tl { top:8%;  left:5%;                                   text-align:left;   }
.hpos-tc { top:8%;  left:50%; transform:translateX(-50%);      text-align:center; }
.hpos-tr { top:8%;  right:5%;                                  text-align:right;  }
.hpos-ml { top:50%; left:5%;  transform:translateY(-50%);      text-align:left;   }
.hpos-mc { top:50%; left:50%; transform:translate(-50%,-50%);  text-align:center; }
.hpos-mr { top:50%; right:5%; transform:translateY(-50%);      text-align:right;  }
.hpos-bl { bottom:8%; left:5%;                                 text-align:left;   }
.hpos-bc { bottom:8%; left:50%; transform:translateX(-50%);    text-align:center; }
.hpos-br { bottom:8%; right:5%;                                text-align:right;  }

/* ── 글자 색상 ── */
.hcol-white h1, .hcol-white p { color:#fff; text-shadow:0 1px 5px rgba(0,0,0,.6); }
.hcol-black h1, .hcol-black p { color:#111; text-shadow:0 1px 4px rgba(255,255,255,.8); }

/* 도트 */
.hero-dots {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,.5); border: none; cursor: pointer; padding: 0;
  transition: background .3s;
}
.hero-dot.active { background: #fff; }

/* 메인 보드 그리드 */
.main-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 860px) { .main-grid { grid-template-columns: 1fr; } }

/* 메인 레이아웃: 좌(공지+만화웹툰) 넓게 / 우(자유게시판) 사이드 */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
  align-items: start;
}
.main-content { display: flex; flex-direction: column; }
.main-sidebar  { position: sticky; top: 88px; }
@media (max-width: 900px) {
  .main-layout { grid-template-columns: 1fr; }
  .main-sidebar { position: static; }
}

.board-box { background:#fff; border:1px solid var(--c-line); border-radius: var(--radius); padding: 24px; }
.board-box h3 { display:flex; align-items:center; justify-content:space-between; margin:0 0 14px; font-size:17px; font-weight:800;}
.board-box h3 a { font-size:12px; color:var(--c-gray); font-weight:500; }
.board-box ul { list-style:none; margin:0; padding:0; }
.board-box li {
  display:flex; justify-content:space-between; gap: 12px;
  padding: 10px 0; border-top: 1px solid var(--c-line-2);
  font-size: 14.5px;
}
.board-box li:first-child { border-top: 0; }
.board-box li a { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.board-box li time { color: var(--c-gray-2); font-size: 13px; flex-shrink:0; }

/* ─────────── 테이블(게시판) ─────────── */
.bbs {
  width: 100%; border-collapse: collapse;
  border-top: 2px solid var(--c-ink);
}
.bbs th, .bbs td {
  padding: 14px 12px; border-bottom: 1px solid var(--c-line-2);
  text-align: left; font-size: 14.5px;
}
.bbs thead th { background: #fafafa; color: var(--c-gray); font-weight: 600; font-size: 13px; letter-spacing: .02em; }
.bbs tbody tr:hover { background: #fafafa; }
.bbs .col-no    { width: 70px; text-align: center; color: var(--c-gray-2); }
.bbs .col-date  { width: 110px; text-align: center; color: var(--c-gray); font-size: 13.5px; }
.bbs .col-views { width: 80px; text-align: center; color: var(--c-gray-2); font-size: 13.5px; }
.bbs .col-author{ width: 120px; color: var(--c-gray); }
.bbs .notice-row { background: #f9f9f9; font-weight: 600; }
.bbs .notice-badge { display: inline-block; padding: 2px 8px; border: 1px solid var(--c-ink); border-radius: 2px; font-size: 11.5px; margin-right: 8px; }

/* 카드형 (사진첩) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 20px; }
.card-item { background:#fff; border:1px solid var(--c-line); border-radius: var(--radius); overflow:hidden; transition: transform .2s, box-shadow .2s; }
.card-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.card-thumb { aspect-ratio: 4/3; background: #eee; overflow: hidden; }
.card-thumb img { width:100%; height:100%; object-fit: cover; }
.card-thumb.empty { display:flex; align-items:center; justify-content:center; color:var(--c-gray-2); font-size:12px; }
.card-body { padding: 14px 16px; }
.card-body h4 { font-size: 15px; font-weight:700; margin: 0 0 6px; line-height:1.45;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-body time { font-size: 12.5px; color: var(--c-gray-2); }

/* 툴바 */
/* ── 공개자료 탭 ── */
.data-tabs { display:flex; gap:8px; margin-bottom:28px; flex-wrap:wrap; }
.data-tab {
  display:inline-block; padding:9px 22px; font-size:14px; font-weight:600;
  border:1.5px solid var(--c-line); border-radius:999px;
  text-decoration:none; color:var(--c-gray);
  background:#fff; transition:all .15s;
}
.data-tab:hover { border-color:#aaa; color:var(--c-ink); }
.data-tab.active { background:var(--c-ink); border-color:var(--c-ink); color:#fff; }
.data-tab.disabled { color:#ccc; border-color:var(--c-line); cursor:not-allowed; background:#fafafa; }

.bbs-toolbar { display:flex; justify-content:space-between; align-items:center; margin: 0 0 20px; }
.bbs-toolbar .search input { height: 36px; padding: 0 12px; border: 1px solid var(--c-line); border-radius: var(--radius); font-size: 14px; min-width: 220px; }
.bbs-toolbar .search button { height: 36px; padding: 0 14px; border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff; font-size: 14px; }

/* 페이지네이션 */
.pagination { display:flex; justify-content:center; gap: 4px; margin: 32px 0 0; }
.pagination a {
  display:inline-flex; align-items:center; justify-content:center;
  min-width: 36px; height: 36px; padding: 0 10px;
  border: 1px solid var(--c-line); border-radius: var(--radius);
  font-size: 13.5px; background: #fff;
}
.pagination a:hover { border-color: var(--c-ink); }
.pagination a.active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }

/* ─────────── 글보기·작성 ─────────── */
.doc-view header { border-bottom: 1px solid var(--c-line); padding-bottom: 20px; margin-bottom: 24px; }
.doc-view h1 { font-size: 28px; font-weight: 800; margin: 0 0 10px; letter-spacing: -0.025em; }
.doc-meta { display: flex; gap: 16px; color: var(--c-gray); font-size: 13.5px; }
.doc-content { line-height: 1.8; font-size: 16px; min-height: 240px; }
.doc-content img { margin: 16px 0; border-radius: var(--radius); }
.doc-content a { color: #000; text-decoration: underline; text-underline-offset: 3px; }
.doc-nav { display:flex; justify-content:space-between; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--c-line); }

/* 폼 */
.form { display:flex; flex-direction:column; gap: 16px; max-width: 720px; }
.form .row { display:flex; flex-direction:column; gap: 6px; }
.form label { font-size: 13.5px; font-weight:600; color: var(--c-ink-2); }
.form input[type=text], .form input[type=email], .form input[type=password],
.form input[type=search], .form select, .form textarea {
  width: 100%; padding: 11px 14px; font-size: 14.5px;
  border: 1px solid var(--c-line); border-radius: var(--radius); background: #fff;
  font-family: inherit;
}
.form textarea { min-height: 320px; resize: vertical; line-height: 1.7; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--c-ink); outline-offset: -1px; border-color: var(--c-ink); }
.form .actions { display:flex; gap: 10px; justify-content:flex-end; margin-top: 8px; }
.btn-primary { background: var(--c-ink); color:#fff; border:0; padding: 11px 22px; border-radius: var(--radius); font-size: 14px; font-weight:700; cursor:pointer; }
.btn-primary:hover { background: #000; }
.btn-primary:disabled { background: #999; cursor:not-allowed; }
.btn-secondary { background:#fff; border:1px solid var(--c-line); padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight:600; }

/* ── 본문 에디터 (contenteditable) ── */
.editor-toolbar { margin-bottom:6px; display:flex; gap:8px; }
.editor-body {
  width:100%; min-height:200px; padding:12px 14px;
  border:1px solid var(--c-line); border-radius:var(--radius);
  font-size:15px; line-height:1.7; outline:none;
  background:#fff; box-sizing:border-box; word-break:break-word;
}
.editor-body:focus { border-color:#aaa; }
.editor-body img { max-width:100%; height:auto; display:block; margin:8px 0; border-radius:4px; }

/* 플래시 */
.flash { padding: 12px 0; font-size: 14px; border-bottom: 1px solid var(--c-line); }
.flash-success { background: #f5faf5; color: #135e13; }
.flash-error   { background: #fbf4f4; color: #7a1b1b; }
.flash-info    { background: #f4f7fb; color: #12366b; }

/* ─────────── FOOTER ─────────── */
.site-footer {
  background: #0e0e0e;
  color: #c9c9c9;
  padding: 40px 0 48px;
  margin-top: 80px;
}

.foot-brand {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.foot-info {
  display: flex;
  flex-direction: column;   /* ← 가로 → 세로 정렬로 변경 */
  gap: 6px;                 /* ← 줄 간격 조정 (기존 20px → 6px) */
  font-size: 13.5px;
  margin-bottom: 18px;
  color: #999;
}

.foot-copy {
  font-size: 12.5px;
  color: #666;
}


/* ─────────── 반응형 ─────────── */
@media (max-width: 860px) {
  .header-inner { height: 60px; gap: 16px; }
  .gnb-toggle { display: flex; }
  .gnb-list {
    position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; background:#fff; border-bottom:1px solid var(--c-line);
    padding: 8px 0; gap: 0;
    display: none;
  }
  .gnb.open .gnb-list { display: flex; }
  .gnb-link { height: auto; width: 100%; padding: 14px 24px; justify-content: space-between; }
  .gnb-sub {
    position: static; box-shadow: none; border: 0;
    border-top: 1px solid var(--c-line-2); border-radius: 0;
    opacity: 1; visibility: visible; transform: none;
    display: none; padding: 0;
  }
  .gnb-item.open .gnb-sub { display: block; }
  .gnb-sub a { padding: 12px 40px; font-size: 14px; }
  .user-area .hello { display: none; }
  .hero { padding: 40px 24px; }
  .hero h1 { font-size: 28px; }
  .page-title { font-size: 24px; }
  .bbs .col-views, .bbs .col-author { display: none; }
}

/* ─────────── 자유게시판 피드 (트위터형) ─────────── */
.feed-wrap { max-width: 60%; margin: 0 auto; }
.feed-login-notice { text-align:center; padding:24px 0; color:var(--c-gray); font-size:14px; }
.feed-login-notice a { color:var(--c-black); font-weight:600; }

.feed-compose {
  background:#fff; border:1px solid var(--c-line);
  border-radius:10px; padding:20px; margin-bottom:24px;
}
.feed-compose textarea {
  width:100%; min-height:80px; resize:vertical;
  border:1px solid var(--c-line); border-radius:6px;
  padding:10px 12px; font-size:15px; font-family:inherit;
  line-height:1.6; outline:none; box-sizing:border-box;
}
.feed-compose textarea:focus { border-color:#aaa; }
.feed-compose-footer {
  display:flex; justify-content:space-between; align-items:center;
  margin-top:10px;
}
#feed-char { font-size:13px; color:var(--c-gray); }

#feed-list { display:flex; flex-direction:column; gap:12px; }
.feed-empty { text-align:center; padding:48px 0; color:var(--c-gray); }

.feed-card {
  background:#fff; border:1px solid var(--c-line);
  border-radius:10px; padding:18px 20px;
  transition: border-color .15s;
}
.feed-card:hover { border-color:#bbb; }

.feed-meta {
  display:flex; align-items:center; gap:10px;
  margin-bottom:10px; font-size:13px;
}
.feed-author { font-weight:700; color:var(--c-black); }
.feed-time   { color:var(--c-gray); margin-left:auto; }
.feed-del    { color:#c00; font-size:12px; cursor:pointer; text-decoration:none; }
.feed-del:hover { text-decoration:underline; }

.feed-body {
  display:inline-block; max-width:85%;
  background:var(--c-line-2); border-radius:0 12px 12px 12px;
  padding:10px 14px; margin-bottom:12px;
  font-size:15px; line-height:1.75; color:#222;
  word-break:break-word; white-space:pre-wrap;
}

.feed-actions { display:flex; gap:16px; }
.feed-cmt-toggle {
  background:none; border:none; cursor:pointer;
  font-size:13px; color:var(--c-gray); padding:4px 0;
  display:flex; align-items:center; gap:4px;
}
.feed-cmt-toggle:hover { color:var(--c-black); }

.feed-comments { margin-top:12px; border-top:1px solid var(--c-line); padding-top:12px; }

/* ── 카카오톡형 댓글 UI ── */
.cmt-list { list-style:none; padding:0; margin:0 0 12px; display:flex; flex-direction:column; gap:6px; }
.cmt-item { display:flex; flex-direction:column; align-items:flex-start; }
.cmt-item.mine { align-items:flex-end; }

/* 작성자 글 (왼쪽) */
.cmt-bubble {
  display:inline-block; max-width:75%; padding:8px 12px;
  background:var(--c-line-2); border-radius:0 12px 12px 12px;
  font-size:14px; line-height:1.6; color:var(--c-ink); word-break:break-word;
}
/* 내 글 (오른쪽) */
.cmt-item.mine .cmt-bubble {
  background:#c8c8c8; border-radius:12px 12px 0 12px; color:var(--c-ink);
}
.cmt-meta { display:flex; gap:6px; align-items:center; margin-bottom:3px; }
.cmt-item.mine .cmt-meta { flex-direction:row-reverse; }
.cmt-author { font-weight:700; font-size:12px; color:var(--c-black); }
.cmt-time   { font-size:11px; color:var(--c-gray); }
.cmt-actions { display:flex; gap:4px; margin-left:4px; }
.cmt-actions button { font-size:11px; color:var(--c-gray); background:none; border:none; cursor:pointer; padding:0; }
.cmt-actions button:hover { color:var(--c-ink); text-decoration:underline; }
.cmt-del-btn:hover { color:#c00 !important; }
.cmt-empty  { color:var(--c-gray); font-size:13px; padding:8px 0; }
.cmt-loading { color:var(--c-gray); font-size:13px; }
.cmt-more-btn {
  display:block; width:100%; margin:6px 0;
  padding:7px 0; background:none; border:1px solid var(--c-line);
  border-radius:8px; font-size:13px; color:var(--c-gray);
  cursor:pointer; text-align:center; transition:background .15s;
}
.cmt-more-btn:hover { background:var(--c-line-2); color:var(--c-ink); }
.cmt-hidden-list { flex-direction:column; gap:6px; }

/* 원글 작성자 답변 = 왼쪽 (짙은 회색) */
.cmt-item.owner .cmt-bubble {
  background:#d0d0d0; border-radius:0 12px 12px 12px; color:var(--c-ink);
}

.cmt-form { display:flex; gap:8px; margin-top:12px; align-items:flex-end; }
.cmt-form textarea {
  flex:1; resize:none; min-height:40px; max-height:120px; padding:8px 12px;
  border:1px solid var(--c-line); border-radius:20px;
  font-size:14px; font-family:inherit; line-height:1.5; outline:none;
  box-sizing:border-box; overflow:hidden;
}
.cmt-form textarea:focus { border-color:#aaa; }
.cmt-form button {
  flex-shrink:0; padding:8px 16px;
  background:#333; color:#fff; border:none;
  border-radius:20px; font-size:13px; font-weight:700; cursor:pointer;
  white-space:nowrap;
}
.cmt-form button:hover { background:#000; }

@media (max-width:600px) {
  .feed-compose, .feed-card { padding:14px; }
  .feed-body { font-size:14px; }
}

/* ─────────── 첨부파일 UI ─────────── */
.attach-hint-label { font-weight:400; color:var(--c-gray); font-size:12.5px; margin-left:6px; }
.attach-exist { display:flex; flex-direction:column; gap:6px; margin-bottom:12px; }
.attach-item {
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 12px; background:#f9f9f9; border:1px solid var(--c-line); border-radius:6px;
  font-size:14px;
}
.attach-del-label { font-size:13px; color:#c00; cursor:pointer; white-space:nowrap; margin-left:12px; }
.attach-dropzone {
  border:2px dashed var(--c-line); border-radius:8px;
  padding:20px 18px; display:flex; align-items:center;
  background:#fafafa; transition: border-color .15s, background .15s;
}
.attach-dropzone.drag-over { border-color:#888; background:#f0f0f0; }
.attach-queue { list-style:none; padding:0; margin:10px 0 0; display:flex; flex-direction:column; gap:6px; }
.attach-q-item {
  display:flex; align-items:center; gap:10px;
  padding:7px 12px; background:#fff; border:1px solid var(--c-line); border-radius:6px; font-size:13.5px;
}
.attach-q-item span:first-child { flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.q-status { font-size:12px; color:var(--c-gray); white-space:nowrap; }
.attach-q-item button { background:none; border:none; cursor:pointer; color:var(--c-gray); font-size:14px; padding:0 4px; }
.attach-q-item button:hover { color:#c00; }

/* ─────────── 사이드바 바로가기 버튼 ─────────── */
.sidebar-btns { display:flex; flex-direction:row; gap:10px; margin-bottom:16px; }
.sidebar-btn {
  flex:1; display:flex; flex-direction:column; justify-content:center;
  padding:18px 14px; background:#1a1a1a; color:#fff;
  border-radius:10px; text-decoration:none;
  border: 2px solid #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: background .15s, box-shadow .15s;
}
.sidebar-btn:hover { background:#333; box-shadow: 0 4px 16px rgba(0,0,0,0.22); }
.sidebar-btn .btn-line1 {
  font-size:11px; font-weight:400; color:rgba(255,255,255,.6);
  margin-bottom:5px;
}
.sidebar-btn .btn-line2 {
  font-size:16px; font-weight:800; letter-spacing:-0.02em; color:#fff;
}

/* ─────────── 메인 자유게시판 프리뷰 ─────────── */
.feed-preview-box { display:flex; flex-direction:column; gap:0; }
.feed-preview-empty { color:var(--c-gray); font-size:14px; padding:12px 0; }
.feed-preview-item {
  display:block; padding:10px 0; border-bottom:1px solid var(--c-line);
  color:inherit; text-decoration:none;
}
.feed-preview-item:hover .feed-preview-body { color:#000; text-decoration:underline; }
.feed-preview-item:last-child { border-bottom:none; }
.feed-preview-body { font-size:14px; color:#333; line-height:1.5; margin-bottom:4px; }
.feed-preview-meta { display:flex; justify-content:space-between; font-size:12px; color:var(--c-gray); }

