@charset "utf-8";

/* =============================================
   정우화 (Jungwha) Board Skin
   Colors: #b5312a (red), #f5ede0 (beige)
   ============================================= */

:root {
  --jw-red:        #b5312a;
  --jw-red-dark:   #8e2520;
  --jw-red-light:  #f9ecea;
  --jw-beige:      #f5ede0;
  --jw-beige-dark: #e8d9c5;
  --jw-text:       #333;
  --jw-muted:      #888;
  --jw-border:     #e0d8d0;
  --jw-white:      #fff;
  --jw-radius:     6px;
  --jw-shadow:     0 2px 8px rgba(0,0,0,0.08);
}

/* -----------------------------------------------
   공통 버튼
----------------------------------------------- */
.jw-btn {
  display: inline-block;
  padding: 8px 18px;
  border: 1px solid var(--jw-border);
  border-radius: var(--jw-radius);
  background: var(--jw-white);
  color: var(--jw-text);
  font-size: 0.92em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  line-height: 1.4;
  white-space: nowrap;
}
.jw-btn:hover { background: var(--jw-beige); border-color: var(--jw-beige-dark); text-decoration: none; color: var(--jw-text); }
.jw-btn-write {
  background: var(--jw-red);
  border-color: var(--jw-red);
  color: var(--jw-white) !important;
  font-weight: 600;
}
.jw-btn-write:hover { background: var(--jw-red-dark); border-color: var(--jw-red-dark); color: var(--jw-white) !important; }
.jw-btn-cancel { background: #f0f0f0; border-color: #ccc; color: #555; }
.jw-btn-cancel:hover { background: #e0e0e0; color: #333; }
.jw-btn-admin  { background: #4a4a4a; border-color: #333; color: #fff; }
.jw-btn-admin:hover { background: #333; color: #fff; }
.jw-btn-sm { padding: 5px 12px; font-size: 0.85em; }

/* 체크박스 */
.jw-chk { position: absolute; width: 0; height: 0; opacity: 0; z-index: -1; }
.chk_box { position: relative; }
.chk_box label { cursor: pointer; }
.chk_box input[type="checkbox"] + label span {
  display: inline-block; width: 16px; height: 16px; border: 1px solid #ccc;
  border-radius: 3px; background: #fff; vertical-align: middle; margin-right: 5px;
}
.chk_box input[type="checkbox"]:checked + label span {
  background: var(--jw-red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3 4L11 1' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center center;
  background-size: 10px;
  border-color: var(--jw-red);
}

/* -----------------------------------------------
   게시판 목록 (#jw_bo_list)
----------------------------------------------- */
#jw_bo_list { margin-bottom: 30px; }

/* 카테고리 */
#jw_bo_cate { margin: 16px 0; }
#jw_bo_cate ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
#jw_bo_cate li { display: inline-block; }
#jw_bo_cate a { display: inline-block; padding: 4px 14px; border: 1px solid var(--jw-beige-dark); border-radius: 20px; color: #7a5c3a; font-size: 0.9em; text-decoration: none; transition: all 0.15s; }
#jw_bo_cate a:hover, #jw_bo_cate #bo_cate_on { background: var(--jw-red); border-color: var(--jw-red); color: #fff; }

/* 헤더 (총건수 + 버튼) */
.jw-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 12px;
  border-bottom: 2px solid var(--jw-red);
  margin-bottom: 0;
}
.jw-list-info { font-size: 0.9em; color: var(--jw-muted); }
.jw-list-info strong { color: var(--jw-red); font-weight: 700; }
.jw-list-btns { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* 관리자 버튼 그룹 */
.jw-admin-btns { display: flex; gap: 4px; }

/* 테이블 */
.jw-table-wrap { overflow-x: auto; }
.jw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95em;
  color: var(--jw-text);
}
.jw-table caption { position: absolute; font-size: 0; line-height: 0; overflow: hidden; }

.jw-table thead tr { background: var(--jw-red); }
.jw-table thead th {
  padding: 12px 10px;
  color: #fff;
  font-weight: 600;
  border: none;
  white-space: nowrap;
  font-size: 0.9em;
}
.jw-table thead th a { color: rgba(255,255,255,0.85); text-decoration: none; }
.jw-table thead th a:hover { color: #fff; }

.jw-table tbody tr { border-bottom: 1px solid var(--jw-border); transition: background 0.12s; }
.jw-table tbody tr:hover { background: var(--jw-beige); }
.jw-table tbody tr.row-odd { background: #faf9f7; }
.jw-table tbody tr.row-odd:hover { background: var(--jw-beige); }
.jw-table tbody tr.row-notice { background: var(--jw-red-light); }
.jw-table tbody tr.row-notice:hover { background: #f5d8d6; }

.jw-table td { padding: 11px 10px; vertical-align: middle; }

.th-chk, .td-chk  { width: 36px; text-align: center; }
.th-num,  .td-num  { width: 54px; text-align: center; color: var(--jw-muted); }
.th-subject        { text-align: left; }
.th-writer, .td-writer { width: 90px; text-align: center; font-size: 0.9em; color: #555; }
.th-hit            { width: 56px; }
.th-date, .td-date { width: 76px; text-align: center; font-size: 0.85em; color: var(--jw-muted); white-space: nowrap; }
.td-empty { text-align: center; padding: 60px 0; color: var(--jw-muted); }

/* 공지 / 현재 / 카테고리 뱃지 */
.badge-notice {
  display: inline-block; padding: 2px 8px; background: var(--jw-red); color: #fff;
  border-radius: 3px; font-size: 0.78em; font-weight: 700; vertical-align: middle;
}
.badge-current {
  display: inline-block; padding: 2px 8px; background: #555; color: #fff;
  border-radius: 3px; font-size: 0.78em; vertical-align: middle;
}
.badge-cate {
  display: inline-block; padding: 2px 8px; background: var(--jw-beige-dark); color: #7a5c3a;
  border-radius: 3px; font-size: 0.82em; margin-right: 6px; text-decoration: none;
  vertical-align: middle; white-space: nowrap;
}
.badge-cate:hover { background: var(--jw-red); color: #fff; text-decoration: none; }
.badge-new {
  display: inline-block; width: 17px; line-height: 17px; text-align: center;
  background: #23db79; color: #fff; font-size: 0.75em; font-weight: 700;
  border-radius: 3px; margin-left: 3px; vertical-align: middle;
}

/* 제목 */
.post-title { display: inline; }
.post-title a { color: var(--jw-text); text-decoration: none; font-weight: 500; }
.post-title a:hover { color: var(--jw-red); text-decoration: underline; }
.row-notice .post-title a { font-weight: 700; }
.cmt-cnt {
  display: inline-block; padding: 0 5px; background: var(--jw-beige-dark); color: var(--jw-red);
  font-size: 0.8em; border-radius: 3px; margin-left: 4px; vertical-align: middle; font-weight: 600;
}

/* 검색 팝업 */
#jw_sch_wrap { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 9999; }
.jw-sch-bg  { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.35); }
.jw-sch-box {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 360px; background: #fff; border-radius: 10px; padding: 28px 24px 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18); z-index: 1;
}
.jw-sch-close { position: absolute; top: 10px; right: 14px; border: 0; background: none; font-size: 18px; color: #aaa; cursor: pointer; }
.jw-sch-close:hover { color: var(--jw-red); }
.jw-sch-inner { display: flex; flex-direction: column; gap: 10px; }
.jw-sch-sel {
  width: 100%; height: 40px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  padding: 0 10px; background: #fff; font-size: 0.95em;
}
.jw-sch-bar {
  display: flex; border: 1px solid var(--jw-border); border-radius: var(--jw-radius); overflow: hidden;
}
.jw-sch-input { flex: 1; border: 0; padding: 0 12px; height: 40px; font-size: 0.95em; outline: none; }
.jw-sch-btn   { border: 0; background: var(--jw-red); color: #fff; width: 42px; cursor: pointer; font-size: 16px; }
.jw-sch-btn:hover { background: var(--jw-red-dark); }

/* 목록 하단 */
.jw-list-footer { text-align: right; margin-top: 10px; }

/* 페이지네이션 (그누보드 기본 .pg_wrap 활용) */
.pg_wrap { text-align: center; margin: 20px 0; }


/* -----------------------------------------------
   게시물 읽기 (#jw_bo_v)
----------------------------------------------- */
#jw_bo_v { background: #fff; margin-bottom: 30px; border-radius: var(--jw-radius); overflow: hidden; }

/* 헤더 */
.jw-v-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--jw-border);
  background: var(--jw-beige);
}
.jw-v-title {
  font-size: 1.5em;
  font-weight: 700;
  color: #1a1a1a;
  margin: 6px 0 12px;
  line-height: 1.4;
  word-break: break-all;
}
.jw-v-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--jw-muted); font-size: 0.9em; }
.jw-v-author { display: flex; align-items: center; gap: 8px; }
.jw-v-author img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.jw-v-author strong { color: var(--jw-text); font-weight: 600; }
.jw-v-metainfo { display: flex; gap: 14px; flex-wrap: wrap; }
.jw-v-metainfo a { color: var(--jw-muted); text-decoration: none; }
.jw-v-metainfo a:hover { color: var(--jw-red); }
.jw-ip { font-size: 0.85em; color: #aaa; }

/* 상단 버튼 툴바 */
.jw-v-toolbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 24px; border-bottom: 1px solid var(--jw-border);
  background: #fafafa;
}
.jw-v-toolbar-left, .jw-v-toolbar-right { display: flex; gap: 6px; align-items: center; }

/* 드롭다운 */
.jw-dropdown { position: relative; }
.jw-dropdown-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  box-shadow: var(--jw-shadow); z-index: 999; min-width: 90px; list-style: none;
  margin: 0; padding: 4px 0;
}
.jw-dropdown-menu li { border-bottom: 1px solid #f0f0f0; }
.jw-dropdown-menu li:last-child { border-bottom: 0; }
.jw-dropdown-menu a { display: block; padding: 9px 16px; color: var(--jw-text); text-decoration: none; font-size: 0.9em; }
.jw-dropdown-menu a:hover { background: var(--jw-beige); color: var(--jw-red); }

/* 본문 */
.jw-v-body { padding: 24px; min-height: 200px; }
.jw-v-images { margin-bottom: 20px; }
.jw-v-images img { max-width: 100%; height: auto; margin-bottom: 10px; }
#jw_v_con { line-height: 1.8em; word-break: break-all; overflow: hidden; color: var(--jw-text); }
#jw_v_con img { max-width: 100%; height: auto; }
#jw_v_con a { color: var(--jw-red); text-decoration: underline; }
.jw-signature { margin-top: 30px; padding-top: 16px; border-top: 1px dashed var(--jw-border); color: var(--jw-muted); font-size: 0.9em; }

/* 추천/비추천 */
.jw-v-act { text-align: center; padding: 20px 24px; border-top: 1px solid var(--jw-border); border-bottom: 1px solid var(--jw-border); display: flex; justify-content: center; gap: 16px; }
.jw-act-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border: 2px solid var(--jw-border); border-radius: 30px;
  text-decoration: none; color: var(--jw-text); font-size: 1em; transition: all 0.15s; cursor: pointer;
}
.jw-act-btn i { font-size: 1.2em; }
.jw-act-btn strong { font-size: 1.1em; font-weight: 700; }
.jw-act-good:hover  { border-color: var(--jw-red); color: var(--jw-red); background: var(--jw-red-light); }
.jw-act-nogood:hover { border-color: #555; color: #555; background: #f5f5f5; }
.jw-act-good-dis, .jw-act-nogood-dis { display: inline-flex; align-items: center; gap: 8px; padding: 10px 24px; border: 2px solid #e0e0e0; border-radius: 30px; color: #aaa; }
.jw-act-msg { display: none; position: absolute; }

/* SNS/스크랩 */
.jw-v-share { padding: 12px 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* 첨부파일 */
.jw-v-files { margin: 0 24px 16px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius); overflow: hidden; }
.jw-v-files h3 { padding: 10px 16px; background: var(--jw-beige); font-size: 0.95em; font-weight: 600; color: var(--jw-text); margin: 0; border-bottom: 1px solid var(--jw-border); }
.jw-v-files ul { list-style: none; margin: 0; padding: 0; }
.jw-v-files li { padding: 12px 16px; border-bottom: 1px solid var(--jw-border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jw-v-files li:last-child { border-bottom: 0; }
.jw-v-files a { text-decoration: none; color: var(--jw-text); font-size: 0.92em; }
.jw-v-files a:hover { color: var(--jw-red); text-decoration: underline; }
.jw-v-files .file-size { color: var(--jw-muted); font-size: 0.85em; }
.jw-v-files .file-dl-cnt { color: var(--jw-muted); font-size: 0.82em; margin-left: auto; }
.jw-v-files i { color: var(--jw-red); font-size: 1.1em; }

/* 관련링크 */
.jw-v-links { margin: 0 24px 16px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius); overflow: hidden; }
.jw-v-links h3 { padding: 10px 16px; background: var(--jw-beige); font-size: 0.95em; font-weight: 600; color: var(--jw-text); margin: 0; border-bottom: 1px solid var(--jw-border); }
.jw-v-links ul { list-style: none; margin: 0; padding: 0; }
.jw-v-links li { padding: 12px 16px; border-bottom: 1px solid var(--jw-border); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jw-v-links li:last-child { border-bottom: 0; }
.jw-v-links a { color: var(--jw-red); text-decoration: underline; font-size: 0.92em; }
.jw-v-links .link-cnt { color: var(--jw-muted); font-size: 0.82em; margin-left: auto; }

/* 이전글/다음글 */
.jw-v-nb { list-style: none; margin: 0 0 0; padding: 0; border-top: 1px solid var(--jw-border); }
.jw-v-nb li { display: flex; align-items: center; gap: 14px; padding: 12px 24px; border-bottom: 1px solid var(--jw-border); font-size: 0.92em; }
.jw-v-nb li:hover { background: var(--jw-beige); }
.nb-label { flex-shrink: 0; color: var(--jw-muted); width: 70px; }
.jw-v-nb a { color: var(--jw-text); text-decoration: none; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jw-v-nb a:hover { color: var(--jw-red); text-decoration: underline; }
.nb-date { flex-shrink: 0; color: var(--jw-muted); font-size: 0.9em; }


/* -----------------------------------------------
   댓글
----------------------------------------------- */
#jw_bo_vc { margin-top: 20px; }

/* 댓글 토글 버튼 */
.jw-cmt-toggle { border-top: 2px solid var(--jw-red); }
.jw-cmt-btn {
  width: 100%; text-align: left; border: 0; background: var(--jw-beige);
  padding: 14px 24px; font-size: 1em; font-weight: 600; cursor: pointer;
  color: var(--jw-text); display: flex; align-items: center; gap: 8px;
}
.jw-cmt-btn i.fa-commenting-o { color: var(--jw-red); font-size: 1.1em; }
.jw-cmt-btn strong { color: var(--jw-red); }
.jw-cmt-arrow { margin-left: auto; color: var(--jw-muted); transition: transform 0.25s; }
.jw-cmt-arrow.rotated { transform: rotate(180deg); }

/* 댓글 목록 */
.jw-cmt-section { padding: 0; }
.jw-cmt-item {
  display: flex; gap: 14px; padding: 16px 24px;
  border-bottom: 1px solid var(--jw-border); position: relative;
}
.jw-cmt-item.jw-cmt-reply { background: #fafaf8; }
.jw-cmt-avatar img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.jw-cmt-avatar { flex-shrink: 0; }
.jw-cmt-body { flex: 1; min-width: 0; }
.jw-cmt-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.jw-cmt-name { font-weight: 600; color: var(--jw-text); }
.jw-cmt-time { font-size: 0.82em; color: var(--jw-muted); margin-left: auto; }
.jw-cmt-content { color: var(--jw-text); line-height: 1.7em; font-size: 0.95em; }
.jw-cmt-empty { text-align: center; padding: 40px 0; color: var(--jw-muted); }

/* 댓글 옵션 */
.jw-cmt-opts { position: relative; }
.jw-cmt-opt-btn { border: 0; background: none; cursor: pointer; color: var(--jw-muted); padding: 2px 6px; border-radius: 3px; }
.jw-cmt-opt-btn:hover { background: var(--jw-beige); color: var(--jw-text); }
.jw-cmt-opt-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 4px);
  background: #fff; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  box-shadow: var(--jw-shadow); z-index: 999; list-style: none; margin: 0; padding: 4px 0; min-width: 80px;
}
.jw-cmt-opt-menu li { border-bottom: 1px solid #f0f0f0; }
.jw-cmt-opt-menu li:last-child { border-bottom: 0; }
.jw-cmt-opt-menu a { display: block; padding: 8px 16px; color: var(--jw-text); font-size: 0.9em; text-decoration: none; }
.jw-cmt-opt-menu a:hover { color: var(--jw-red); background: var(--jw-beige); }

/* 댓글 쓰기 */
.jw-cmt-write { padding: 16px 24px; background: var(--jw-beige); border-top: 1px solid var(--jw-beige-dark); }
.jw-cmt-textarea {
  width: 100%; min-height: 100px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  padding: 10px 14px; font-size: 0.95em; line-height: 1.6; resize: vertical; box-sizing: border-box;
  outline: none; transition: border-color 0.15s; font-family: inherit;
}
.jw-cmt-textarea:focus { border-color: var(--jw-red); box-shadow: 0 0 0 3px rgba(181,49,42,0.08); }
.jw-cmt-write-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; flex-wrap: wrap; gap: 8px; }
.jw-cmt-write-info { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.jw-cmt-write-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.jw-secret-label { display: inline-flex; align-items: center; gap: 4px; font-size: 0.9em; color: var(--jw-muted); }
.jw-char-count { text-align: right; font-size: 0.85em; color: var(--jw-muted); margin-top: 4px; }


/* -----------------------------------------------
   글쓰기 (#jw_bo_w)
----------------------------------------------- */
#jw_bo_w { margin-bottom: 30px; }
#jw_bo_w form { background: #fff; border-radius: var(--jw-radius); overflow: hidden; }

.jw-w-row { padding: 12px 24px; border-bottom: 1px solid var(--jw-border); }
.jw-w-row:last-child { border-bottom: 0; }
.jw-w-label { display: block; font-size: 0.88em; color: var(--jw-muted); margin-bottom: 5px; font-weight: 600; }
.jw-w-label em { color: var(--jw-red); }
.jw-w-info { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 16px; padding-bottom: 16px; }

.jw-input {
  height: 42px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  padding: 0 14px; font-size: 0.95em; font-family: inherit;
  outline: none; transition: border-color 0.15s; background: #fff; color: var(--jw-text);
  box-sizing: border-box;
}
.jw-input:focus { border-color: var(--jw-red); box-shadow: 0 0 0 3px rgba(181,49,42,0.08); }
.jw-input-full { width: 100%; }
.jw-select { width: 100%; }

.jw-w-options { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.jw-w-options li { display: inline-flex; align-items: center; }

/* 임시저장 */
#autosave_wrapper { position: relative; }
.jw-btn-autosave {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  border: 1px solid var(--jw-border); background: #fafafa; font-size: 0.82em;
  padding: 4px 10px; border-radius: 4px; cursor: pointer; color: var(--jw-muted);
}
.jw-btn-autosave:hover { border-color: var(--jw-red); color: var(--jw-red); }
.jw-input-full:has(~ .jw-btn-autosave) { padding-right: 140px; }
#autosave_pop {
  display: none; position: absolute; top: 48px; right: 0; width: 320px; background: #fff;
  border: 1px solid #ccc; border-radius: var(--jw-radius); box-shadow: var(--jw-shadow); z-index: 20;
}
#autosave_pop strong { display: block; padding: 12px 16px; border-bottom: 1px solid #eee; font-size: 0.9em; }
#autosave_pop ul { list-style: none; margin: 0; padding: 8px 0; max-height: 160px; overflow-y: auto; }
#autosave_pop li { padding: 6px 16px; }
#autosave_pop a { display: block; color: var(--jw-text); font-size: 0.9em; text-decoration: none; }
#autosave_pop a:hover { color: var(--jw-red); }
#autosave_pop div { text-align: center; padding: 8px; border-top: 1px solid #eee; }
.autosave_close { border: 0; background: none; font-size: 0.9em; color: var(--jw-muted); cursor: pointer; }

/* 에디터 영역 */
.jw-editor-wrap textarea {
  width: 100%; min-height: 300px; border: 1px solid var(--jw-border); border-radius: var(--jw-radius);
  padding: 14px; font-size: 0.95em; line-height: 1.7; resize: vertical; box-sizing: border-box;
  outline: none; font-family: inherit; transition: border-color 0.15s;
}
.jw-editor-wrap textarea:focus { border-color: var(--jw-red); }
.jw-char-desc { font-size: 0.88em; color: var(--jw-muted); margin: 0 0 8px; }

/* 링크 / 파일 */
.jw-w-link, .jw-w-file { display: flex; align-items: flex-start; gap: 10px; }
.jw-w-icon { color: var(--jw-muted); font-size: 1.3em; padding-top: 10px; flex-shrink: 0; width: 24px; text-align: center; }
.jw-file-wrap { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.jw-file-input { display: block; }
.jw-file-del { font-size: 0.88em; color: #e74c3c; cursor: pointer; display: flex; align-items: center; gap: 6px; }

/* 제출 버튼 영역 */
.jw-w-submit { display: flex; justify-content: flex-end; gap: 10px; padding: 16px 24px; background: var(--jw-beige); }

/* -----------------------------------------------
   캡챠
----------------------------------------------- */
#captcha { padding: 10px 0; }


/* -----------------------------------------------
   반응형
----------------------------------------------- */
@media (max-width: 768px) {
  .jw-list-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .jw-list-btns   { width: 100%; justify-content: flex-end; }
  .th-writer, .td-writer, .th-date, .td-date { display: none; }
  .th-hit, .td-num:last-child { display: none; }

  .jw-v-header  { padding: 16px; }
  .jw-v-title   { font-size: 1.2em; }
  .jw-v-toolbar { padding: 8px 16px; }
  .jw-v-body    { padding: 16px; }
  .jw-v-nb li   { padding: 10px 16px; }
  .jw-v-files, .jw-v-links { margin: 0 16px 12px; }

  .jw-cmt-item  { padding: 12px 16px; }
  .jw-cmt-write { padding: 12px 16px; }
  .jw-cmt-write-footer { flex-direction: column; align-items: stretch; }
  .jw-cmt-write-actions { justify-content: space-between; }

  .jw-w-row { padding: 10px 16px; }
  .jw-w-submit { padding: 12px 16px; }
  .jw-sch-box { width: calc(100% - 32px); }
}

@media (max-width: 480px) {
  .jw-v-meta { flex-direction: column; align-items: flex-start; gap: 6px; }
  .jw-v-act  { flex-direction: column; align-items: center; }
}
