.board {
  --fp-ink: #161311;
  --fp-muted: #6d6458;
  --fp-line: #e6dfd3;
  --fp-paper: #fffcf7;
  --fp-red: #c81e1e;
  --fp-gold: #b45309;
  font-family: "Pretendard", "Noto Sans KR", sans-serif;
  color: var(--fp-ink);
  background: var(--fp-paper);
  border: 1px solid var(--fp-line);
  border-radius: 18px;
  padding: 8px 0 20px;
  overflow: hidden;
}
.board a { color: var(--fp-ink); text-decoration: none; }
.board a:hover { color: var(--fp-red); }
.board h1, .board h2, .board p { margin: 0; }
.board .cTab {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 16px 18px 0;
  border: 0;
}
.board .cTab li { margin: 0; padding: 0; border: 0; background: none; }
.board .cTab a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f3efe6;
  font-size: 13px;
  font-weight: 700;
}
.board .cTab .on a { background: #161311; color: #fffcf7 !important; }
.board .cTab ul { display: none; }

.board_list {
  margin: 8px 0 0;
  padding: 0 10px;
}
.board_list table {
  width: 100%;
  border: 0 !important;
  border-collapse: collapse;
}
.board_list thead { display: none; }
.board_list td, .board_list th {
  border: 0 !important;
  background: none !important;
  vertical-align: middle;
}
.board_list tbody tr {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 12px;
  padding: 14px 8px;
  border-bottom: 1px solid var(--fp-line);
}
.board_list tbody tr.notice { background: #fff7ed; border-radius: 12px; margin: 6px 0; border-bottom: 0; padding: 14px 12px; }
.board_list td { display: none; padding: 0; }
.board_list td.title,
.board_list td.author,
.board_list td.time {
  display: block;
}
.board_list td.title {
  grid-column: 1 / -1;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.4;
}
.board_list td.author { color: var(--fp-muted); font-size: 13px; }
.board_list td.time { color: var(--fp-muted); font-size: 12px; text-align: right; }
.board_list .replyNum, .board_list .trackbackNum {
  display: inline-block;
  margin-left: 6px;
  color: var(--fp-red);
  font-size: 13px;
  font-weight: 800;
}
.board_list .no_article td {
  display: block;
  grid-column: 1 / -1;
  padding: 48px 12px;
  color: var(--fp-muted);
}
.board_list td.check { display: block; grid-column: 1 / -1; }

.list_footer {
  display: grid;
  gap: 12px;
  padding: 16px 18px 0;
}
.list_footer .btnArea { display: flex; flex-wrap: wrap; gap: 8px; }
.board .btn, .list_footer .btn, .board_write .btn, .feedback .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: #161311;
  color: #fffcf7 !important;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  text-decoration: none !important;
}
.board .btn i { color: inherit; }
.board_search {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.board_search select, .board .iText, .board_write input[type=text], .board_write input[type=password], .write_header input, .write_header select, .secretForm input {
  min-height: 40px;
  border: 1px solid var(--fp-line);
  border-radius: 10px;
  padding: 0 12px;
  background: #fff;
  font-size: 15px;
}
.search_input { position: relative; flex: 1; min-width: 160px; }
.search_input input { width: 100%; box-sizing: border-box; padding-left: 32px; }
.search_input i { position: absolute; left: 10px; top: 12px; color: var(--fp-muted); }
.pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.pagination a, .pagination strong {
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-weight: 700;
}
.pagination strong { background: #161311; color: #fff; }

.board_read { padding: 8px 18px 0; }
.read_header { padding: 12px 0 16px; border-bottom: 1px solid var(--fp-line); }
.read_header h1 { font-size: clamp(22px, 4vw, 32px); letter-spacing: -0.04em; line-height: 1.3; margin-bottom: 10px; }
.read_header .category {
  display: inline-block;
  margin-right: 8px;
  font-size: 12px;
  color: var(--fp-gold) !important;
  font-weight: 800;
}
.read_header .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  color: var(--fp-muted);
  font-size: 13px;
}
.read_body { padding: 22px 0; font-size: 16.5px; line-height: 1.75; }
.read_body .xe_content img { max-width: 100%; height: auto; border-radius: 12px; }
.read_footer { padding: 8px 0 16px; }
.read_footer .sns, .read_footer .troll { display: none !important; }
.read_footer .tags { color: var(--fp-muted); font-size: 13px; }
.fileList { margin: 12px 0; padding: 12px; background: #f3efe6; border-radius: 12px; }

.feedback { padding: 0 18px; }
.feedback h2, .feedback .title { font-size: 16px; margin: 18px 0 10px; }
.feedback .item {
  padding: 12px 0;
  border-top: 1px solid var(--fp-line);
}
.feedback .item .author { font-weight: 800; }
.feedback .item .time { color: var(--fp-muted); font-size: 12px; margin-left: 8px; }
.feedback textarea, .comment_form textarea {
  width: 100%;
  min-height: 96px;
  border: 1px solid var(--fp-line);
  border-radius: 12px;
  padding: 12px;
  box-sizing: border-box;
}

.board_write { padding: 8px 18px 0; display: grid; gap: 12px; }
.write_header { display: grid; gap: 8px; }
.write_header .iText { width: 100%; box-sizing: border-box; font-size: 18px; font-weight: 700; min-height: 48px; }
.write_editor { border: 1px solid var(--fp-line); border-radius: 12px; overflow: hidden; }
.write_footer { display: grid; gap: 12px; }
.write_option, .write_author { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--fp-muted); font-size: 13px; }
.exForm table, .exOut table { width: 100%; border: 0 !important; }
.exForm th, .exOut th { text-align: left; color: var(--fp-muted); font-size: 13px; padding: 8px 0; }
.secretForm { padding: 24px 18px; }
.message { padding: 32px 18px; text-align: center; }

@media (min-width: 901px) {
  .board { padding: 12px 8px 24px; }
  .board_list thead {
    display: table-header-group;
  }
  .board_list thead th {
    display: table-cell;
    font-size: 12px;
    color: var(--fp-muted);
    font-weight: 700;
    padding: 8px;
    text-align: left;
  }
  .board_list tbody tr {
    display: table-row;
    padding: 0;
  }
  .board_list td {
    display: table-cell;
    padding: 14px 8px;
    font-size: 14px;
  }
  .board_list td.title { font-size: 16px; }
  .board_list td.no, .board_list td.readNum, .board_list td.voteNum { color: var(--fp-muted); font-variant-numeric: tabular-nums; }
}
