/**
 * DXCMS — boards/skins/blog/style.css
 * 블로그 스킨 전용 스타일시트
 * gallery 스킨 기반 — 블로그형 레이아웃으로 디자인 변경
 * 모든 기능(정렬, 검색, 관리자, 소켓, 페이지네이션, 공지, 태그) 완전 지원
 */

/* ─── 공통 래퍼 ──────────────────────────────────────────────────── */
.dx-list-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
}
.dx-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 22px;
  border-bottom: 1px solid var(--border);
  gap: 12px;
  flex-wrap: wrap;
}
.dx-list-head-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.dx-list-title { font-size: 1.1rem; font-weight: 800; color: var(--text-main); margin: 0; }

/* 정렬 버튼 */
.dx-sort-btn-wrap {
  display: flex;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.dx-sort-btn {
  padding: 5px 12px;
  border-radius: 6px;
  border: none;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: all .15s;
  background: transparent;
  color: var(--text-muted);
}
.dx-sort-btn.active {
  background: var(--bg-card);
  color: var(--p);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

/* 갤러리 테이블 행 숨김 (gallery 와 동일) */
.dx-thead  { display: none !important; }
.dx-row-pc { display: none !important; }
.dx-row-mo { display: none !important; }
@media (min-width: 768px) {
  .dx-row-mo { display: none !important; }
}

/* 아바타 / HOT / 하이라이트 */
.dx-ava {
  width: 26px; height: 26px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 800; color: #fff; flex-shrink: 0;
}
.dx-hot {
  font-size: 9px; font-weight: 900; color: #f97316;
  background: rgba(249,115,22,.1); padding: 2px 6px;
  border-radius: 4px; font-style: italic; flex-shrink: 0; letter-spacing: .02em;
}
.dx-adm-bar {
  padding: 9px 16px; background: #fffbeb; border-bottom: 1px solid #fde68a;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
body.dark .dx-adm-bar { background: #1c1a0a; border-color: #78350f; }
.dx-hl { background: #fef08a; color: #78350f; border-radius: 2px; padding: 0 1px; font-weight: 800; }
body.dark .dx-hl { background: #713f12; color: #fef08a; }


/* ═══════════════════════════════════════════════════════════════════
   ─── 블로그 목록 카드 (list.php / blog-grid) ─────────────────────
   ═══════════════════════════════════════════════════════════════════ */

/* 블로그형: 1열 세로 카드 목록 */
.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

/* 카드 래퍼 */
.blog-card-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.blog-card-wrap:last-child { border-bottom: none; }

/* 카드 링크 — 좌 썸네일 + 우 텍스트 */
.blog-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  padding: 22px 22px;
  text-decoration: none;
  color: inherit;
  background: var(--bg-card);
  transition: background .15s;
}
.blog-card:hover { background: var(--hover-row, rgba(26,115,232,.03)); text-decoration: none; }

/* ── 썸네일 (좌측 고정 박스) ── */
.blog-thumb-wrap {
  width: 200px;
  min-width: 200px;
  height: 130px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  position: relative;
  margin-right: 20px;
}
body.dark .blog-thumb-wrap { background: var(--bg-body); }

.blog-thumb {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s;
}
.blog-card:hover .blog-thumb { transform: scale(1.04); }

.blog-empty-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: #cbd5e1;
}

/* 썸네일 위 오버레이 뱃지 */
.blog-thumb-cat {
  position: absolute; top: 7px; left: 7px; z-index: 1;
  padding: 3px 9px; border-radius: 99px;
  background: rgba(255,255,255,.92); color: var(--p);
  font-size: .68rem; font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(26,115,232,.15);
  white-space: nowrap;
}
body.dark .blog-thumb-cat { background: rgba(15,23,42,.85); color: #7dd3fc; }

.blog-thumb-cmt {
  position: absolute; bottom: 7px; right: 7px; z-index: 1;
  display: flex; align-items: center; gap: 3px;
  padding: 3px 8px; border-radius: 99px;
  background: rgba(255,255,255,.92); color: #64748b;
  font-size: .68rem; font-weight: 700;
  backdrop-filter: blur(4px);
}
body.dark .blog-thumb-cmt { background: rgba(15,23,42,.85); color: #94a3b8; }

/* ── 카드 본문 (우측 텍스트 영역) ── */
.blog-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 2px 0;
}

/* 카테고리 + 제목 + N */
.blog-title {
  font-size: 1rem; font-weight: 800;
  color: var(--text-main);
  margin: 0 0 7px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color .12s;
}
.blog-card:hover .blog-title { color: var(--p); }

/* 본문 요약 */
.blog-excerpt {
  font-size: .83rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 10px;
  flex: 1;
}

/* 태그 */
.blog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.blog-tag {
  display: inline-block; padding: 3px 9px;
  background: var(--bg-body);
  border: 1px solid var(--border);
  border-radius: 99px;
  font-size: .68rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
  transition: all .12s;
}
.blog-tag:hover { border-color: var(--p); color: var(--p); }

/* 하단 메타 */
.blog-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 9px; border-top: 1px solid var(--border);
  font-size: .74rem; color: var(--text-muted);
  gap: 8px; flex-wrap: wrap;
}
.blog-foot-author {
  display: flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--text-muted);
}
.blog-foot-stats {
  display: flex; align-items: center; gap: 10px;
}
.blog-ava {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--p); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; flex-shrink: 0;
}

/* 공지 뱃지 */
.blog-notice-badge {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  padding: 2px 9px;
  background: #ef4444; color: #fff;
  border-radius: 99px; font-size: .66rem; font-weight: 700;
  pointer-events: none;
}

/* 관리자 체크박스 */
.blog-admin-check {
  position: absolute; top: 24px; right: 24px; z-index: 3;
  background: #fff; border-radius: 4px; padding: 1px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
body.dark .blog-admin-check { background: var(--bg-card); }

/* NEW 뱃지 */
.blog-new {
  display: inline-block; padding: 1px 5px;
  background: var(--p); color: #fff;
  border-radius: 3px; font-size: .6rem; font-weight: 700;
  vertical-align: middle; margin-left: 4px;
}

/* 테이블 행 완전 숨김 */
.dx-thead, .dx-row-pc, .dx-row-mob, .dx-row-mo { display: none !important; }

/* ── 빈 상태 ── */
.blog-grid-empty {
  text-align: center; padding: 72px 24px;
  background: var(--bg-card); border-radius: 14px;
}

/* ─── 전체 공지 ── */
.dx-global-notice-wrap {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg-card, #fff);
}
.dx-gn-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-bottom: 1px solid var(--border, #e2e8f0);
  transition: background .12s;
}
.dx-gn-row:last-child { border-bottom: none; }
.dx-gn-row:hover { background: rgba(239,68,68,.04); }
.dx-gn-badge {
  flex-shrink: 0; display: inline-block;
  padding: 2px 7px; background: #ef4444; color: #fff;
  font-size: 10px; font-weight: 800; border-radius: 5px;
  letter-spacing: .02em; white-space: nowrap;
}
.dx-gn-title {
  flex: 1; min-width: 0;
  font-size: .875rem; font-weight: 700; color: var(--text-main, #1e293b);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dx-gn-link { text-decoration: none; transition: opacity .12s; }
.dx-gn-link:hover { opacity: .75; }
body.dark .dx-global-notice-wrap { background: var(--bg-card); border-color: var(--border); }
body.dark .dx-gn-row:hover { background: rgba(239,68,68,.08); }


/* ─── 반응형 — 블로그 목록 ─────────────────────────────────────── */
@media (max-width: 768px) {
  .blog-card {
    flex-direction: column;
    padding: 16px 16px;
    gap: 12px;
  }
  .blog-thumb-wrap {
    width: 100%; min-width: unset;
    height: 180px;
    margin-right: 0;
    border-radius: 10px;
  }
  .blog-notice-badge { top: 16px; left: 16px; }
  .blog-admin-check  { top: 16px; right: 16px; }
}
@media (max-width: 480px) {
  .blog-thumb-wrap { height: 150px; }
  .blog-title { font-size: .92rem; }
  .blog-excerpt { -webkit-line-clamp: 2; }
}


/* ═══════════════════════════════════════════════════════════════════
   ─── 블로그 행 (_list_rows.php / blog-lt-*) ──────────────────────
   ═══════════════════════════════════════════════════════════════════ */

.blog-lt-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}
.blog-lt-card-wrap {
  position: relative;
  border-bottom: 1px solid var(--border);
}
.blog-lt-card-wrap:last-child { border-bottom: none; }

.blog-lt-card {
  display: flex; flex-direction: row; align-items: stretch;
  gap: 0; padding: 18px 20px;
  text-decoration: none; color: inherit;
  background: var(--bg-card);
  transition: background .15s;
  height: 100%;
}
.blog-lt-card:hover { background: var(--hover-row, rgba(26,115,232,.03)); text-decoration: none; }
.blog-lt-card.blog-lt-cur {
  border-left: 3px solid var(--p);
  background: rgba(26,115,232,.04);
  cursor: default; pointer-events: none;
}

/* 썸네일 */
.blog-lt-thumb-wrap {
  width: 160px; min-width: 160px; height: 110px;
  border-radius: 9px; overflow: hidden;
  background: #f1f5f9; flex-shrink: 0; position: relative;
  margin-right: 16px;
}
body.dark .blog-lt-thumb-wrap { background: var(--bg-body); }
.blog-lt-thumb { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.blog-lt-card:hover .blog-lt-thumb { transform: scale(1.04); }
.blog-lt-empty-img {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: #cbd5e1;
}

/* 오버레이 뱃지 */
.blog-lt-cat {
  position: absolute; top: 6px; left: 6px; z-index: 1;
  padding: 2px 8px; border-radius: 99px;
  background: rgba(255,255,255,.92); color: var(--p);
  font-size: .66rem; font-weight: 700;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(26,115,232,.15);
}
body.dark .blog-lt-cat { background: rgba(15,23,42,.85); color: #7dd3fc; }
.blog-lt-cmt-badge {
  position: absolute; bottom: 6px; right: 6px; z-index: 1;
  display: flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 99px;
  background: rgba(255,255,255,.92); color: #64748b;
  font-size: .66rem; font-weight: 700; backdrop-filter: blur(4px);
}
body.dark .blog-lt-cmt-badge { background: rgba(15,23,42,.85); color: #94a3b8; }
.blog-lt-notice-badge {
  position: absolute; top: 6px; left: 6px; z-index: 2;
  padding: 2px 8px; background: #ef4444; color: #fff;
  border-radius: 99px; font-size: .64rem; font-weight: 700;
}

/* 카드 본문 */
.blog-lt-body {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; justify-content: space-between;
}
.blog-lt-title {
  font-size: .9rem; font-weight: 800; color: var(--text-main);
  margin: 0 0 5px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45;
  transition: color .12s;
}
.blog-lt-card:hover .blog-lt-title { color: var(--p); }
.blog-lt-cur .blog-lt-title { color: var(--p); }
.blog-lt-excerpt {
  font-size: .76rem; color: var(--text-muted); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; margin: 0 0 8px; flex: 1;
}
.blog-lt-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 8px; }
.blog-lt-tag {
  display: inline-block; padding: 2px 7px;
  background: var(--bg-body); border: 1px solid var(--border);
  border-radius: 99px; font-size: .65rem; font-weight: 600; color: var(--text-muted);
}
.blog-lt-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 8px; border-top: 1px solid var(--border);
  font-size: .7rem; color: var(--text-muted);
  gap: 6px; flex-wrap: wrap;
}
.blog-lt-foot-author { display: flex; align-items: center; gap: 5px; font-weight: 600; }
.blog-lt-foot-stats  { display: flex; align-items: center; gap: 7px; }
.blog-lt-ava {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--p); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 800; flex-shrink: 0;
}
.blog-lt-adm-check {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: #fff; border-radius: 4px; padding: 1px;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
body.dark .blog-lt-adm-check { background: var(--bg-card); }
.blog-lt-new {
  display: inline-block; padding: 1px 5px;
  background: var(--p); color: #fff; border-radius: 3px;
  font-size: .6rem; font-weight: 700; vertical-align: middle; margin-left: 3px;
}

/* 하이라이트 */
.dx-hl { background: #fef08a; color: #78350f; border-radius: 2px; padding: 0 1px; font-weight: 800; }
body.dark .dx-hl { background: #713f12; color: #fef08a; }

/* ─── 반응형 — _list_rows ── */
@media (max-width: 768px) {
  .blog-lt-card { flex-direction: column; padding: 14px 16px; gap: 10px; }
  .blog-lt-thumb-wrap { width: 100%; min-width: unset; height: 160px; margin-right: 0; }
}
@media (max-width: 480px) {
  .blog-lt-thumb-wrap { height: 130px; }
}


/* ─── 갤러리 뷰 (view.php) — 갤러리 스킨과 동일 유지 ──────────── */
/* 라이트박스 */
#gl5-lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9998; align-items: center; justify-content: center; flex-direction: column; }
#gl5-lightbox.open { display: flex; }
#gl5-lb-img { max-width: 92vw; max-height: 85vh; border-radius: 10px; object-fit: contain; }
#gl5-lb-close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 2rem; cursor: pointer; background: none; border: none; line-height: 1; opacity: .7; }
#gl5-lb-close:hover { opacity: 1; }
#gl5-lb-name { color: rgba(255,255,255,.5); font-size: .8rem; margin-top: 10px; max-width: 80vw; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#gl5-lb-nav-l, #gl5-lb-nav-r { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,.12); border: none; color: #fff; font-size: 1.4rem; width: 44px; height: 44px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#gl5-lb-nav-l { left: 16px; } #gl5-lb-nav-r { right: 16px; }
#gl5-lb-nav-l:hover, #gl5-lb-nav-r:hover { background: rgba(255,255,255,.25); }

/* 이미지 라이트박스 (본문) */
@media (max-width: 768px) {
  .dx-post-body table, .dx-post-content table, .post-content table, .ck-content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; white-space: nowrap; max-width: 100%; }
  .dx-post-body figure.table, .dx-post-content figure.table, .post-content figure.table { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
}
.dx-post-body img, .dx-post-body figure img, .dx-post-body figure.image img { cursor: zoom-in !important; }
.dx-post-body a > img { cursor: zoom-in !important; pointer-events: auto !important; }

#dx-lb-ov { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.95); z-index: 999999; }
#dx-lb-ov.on { display: block; }
#dx-lb-track { position: absolute; top: 0; left: 0; bottom: 0; display: flex; align-items: center; transition: transform .28s cubic-bezier(.4,0,.2,1); will-change: transform; }
.dx-lb-slide { flex-shrink: 0; display: flex; align-items: center; justify-content: center; padding: 56px 12px 72px; box-sizing: border-box; }
.dx-lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; display: block; -webkit-user-drag: none; user-select: none; -webkit-user-select: none; pointer-events: none; }
#dx-lb-close { position: fixed; top: 12px; right: 14px; z-index: 10; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.3); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; font-family: sans-serif; }
.dx-lb-arr { position: fixed; top: 50%; transform: translateY(-50%); z-index: 10; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.15); border: 1.5px solid rgba(255,255,255,.22); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; }
#dx-lb-prev { left: 12px; } #dx-lb-next { right: 12px; }
#dx-lb-counter { position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); font-size: .8rem; font-weight: 600; background: rgba(0,0,0,.55); padding: 5px 16px; border-radius: 99px; pointer-events: none; white-space: nowrap; }
#dx-lb-dots { position: fixed; bottom: 48px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; align-items: center; pointer-events: none; }
.dx-lb-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.3); transition: all .2s; }
.dx-lb-dot.on { background: #fff; width: 16px; border-radius: 3px; }
@media (max-width: 640px) { .dx-lb-arr { display: none !important; } }

/* 모바일 카테고리 */
.dx-mob-cat-wrap { display: none; margin-bottom: 10px; }
@media (max-width: 1023px) { .dx-mob-cat-wrap { display: block; } }
.dx-mob-cat-toggle { display: flex; align-items: center; gap: 6px; width: 100%; padding: 7px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 10px; font-size: .78rem; font-weight: 600; color: var(--text-muted); cursor: pointer; transition: all .15s; }
.dx-mob-cat-toggle:hover { border-color: var(--p); color: var(--p); }
.dx-mob-cat-toggle-arrow { margin-left: auto; font-size: .65rem; transition: transform .22s; }
.dx-mob-cat-toggle.open .dx-mob-cat-toggle-arrow { transform: rotate(180deg); }
.dx-mob-cat-slider { display: none; overflow: hidden; padding: 8px 0 4px; }
.dx-mob-cat-slider.open { display: block; }
.dx-mob-cat-inner { display: flex; gap: 7px; overflow-x: auto; padding: 2px 0 8px; -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none; }
.dx-mob-cat-inner::-webkit-scrollbar { display: none; }
.dx-mob-cat-pill { display: inline-flex; align-items: center; white-space: nowrap; flex-shrink: 0; padding: 6px 14px; border-radius: 99px; font-size: .78rem; font-weight: 600; border: 1.5px solid var(--border); background: var(--bg-card); color: var(--text-muted); text-decoration: none; transition: all .15s; }
.dx-mob-cat-pill:hover { border-color: var(--p); color: var(--p); }
.dx-mob-cat-pill.active { background: var(--p); color: #fff; border-color: var(--p); font-weight: 700; }

/* 액션 버튼 모바일 */
.dx-btn-txt { white-space: nowrap; }
@media (max-width: 480px) {
  .dx-action-btn { padding: 7px 10px !important; font-size: .72rem !important; gap: 4px !important; }
  .dx-btn-txt { display: none; }
}

@keyframes dxDelIn {
  from { opacity: 0; transform: scale(.94) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}


/* ─── 쓰기 (write.php) — gallery와 동일 유지 ──────────────────── */
.dx-link-row { display: flex; gap: 6px; align-items: center; }
.dx-link-label { width: 128px; flex-shrink: 0; }
@media (max-width: 540px) {
  .dx-link-row { flex-wrap: wrap; }
  .dx-link-row input[type="url"] { width: 100% !important; flex: none !important; min-width: 0; }
  .dx-link-label { flex: 1 !important; width: auto !important; min-width: 0; }
  input[name="tags"]::placeholder { font-size: .78rem; }
}
#dx-file-zone p { word-break: break-all; white-space: normal; }
@media (max-width: 480px) {
  #dx-write-form .flex.items-center.justify-end.gap-3.flex-wrap { justify-content: stretch; }
  #dx-write-form .flex.items-center.justify-end.gap-3.flex-wrap > * { flex: 1; text-align: center; justify-content: center; }
}
@media (max-width: 480px) {
  .dx-sq-row > div[style*="grid-template-columns:1fr auto"] { grid-template-columns: 1fr !important; }
}


/* ─── 아코디언 패널 (_list_rows) ─────────────────────────────── */
.blog-lt-card.blog-lt-cur {
  border-left: 3px solid var(--p);
  background: rgba(26,115,232,.04);
  cursor: default; pointer-events: none;
}
.dx-acc-content { font-size: .92rem; line-height: 1.75; color: var(--text-main); word-break: break-word; }
.dx-acc-content img { max-width: 100%; border-radius: 8px; margin: 6px 0; }
.dx-acc-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--border); font-size: .78rem; color: var(--text-muted); }
.dx-acc-meta-author { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-main); }
.dx-acc-actions { display: flex; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.dx-acc-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 14px; border-radius: 8px; font-size: .8rem; font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid var(--border); background: var(--bg-card); color: var(--text-main); transition: all .12s; }
.dx-acc-btn:hover { border-color: var(--p); color: var(--p); }
.dx-acc-btn-primary { background: var(--p); color: #fff; border-color: var(--p); }
.dx-acc-btn-primary:hover { opacity: .88; color: #fff; }
.dx-acc-spinner { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 28px 0; color: var(--text-muted); font-size: .85rem; }
.dx-acc-spinner-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--p); animation: dx-acc-bounce .8s ease-in-out infinite; }
.dx-acc-spinner-dot:nth-child(2) { animation-delay: .15s; }
.dx-acc-spinner-dot:nth-child(3) { animation-delay: .3s; }
@keyframes dx-acc-bounce { 0%, 80%, 100% { transform: scale(0.7); opacity: .5; } 40% { transform: scale(1); opacity: 1; } }
