.support-board-section .section-content {
  min-width: 0;
  padding-bottom: 20px;
}

.support-board-dropdown-button {
  display: block;
}

.legacy-board-list,
.legacy-board-view {
  width: 97%;
  margin: 0 auto;
  padding-top: 9px;
}

.legacy-board-total {
  min-height: 24px;
  color: #888;
  text-align: right;
  font-size: 12px;
  font-weight: 700;
}

.legacy-board-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.legacy-board-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
}

.legacy-board-table .col-number { width: 50px; }
.legacy-board-table .col-author { width: 110px; }
.legacy-board-table .col-date { width: 48px; }
.legacy-board-table .col-views { width: 50px; }

.legacy-board-table th {
  height: 34px;
  overflow: hidden;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: linear-gradient(#fff, #f4f4f4);
  color: #333;
  text-align: center;
  white-space: nowrap;
  font-size: 12px;
  font-weight: 700;
}

.legacy-board-table td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  color: #888;
  font-size: 12px;
}

.legacy-board-table tr.bg0 { background: #fafafa; }
.legacy-board-table tr.bg1 { background: #fff; }
.legacy-board-table td.num,
.legacy-board-table td.date,
.legacy-board-table td.views { text-align: center; }
.legacy-board-table td.author { padding-left: 10px; }
.legacy-board-table td.subject { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.legacy-board-table td.subject a { color: #466c8a; }
.legacy-board-table td.subject a:hover { text-decoration: underline; }

.legacy-file-icon {
  display: inline-block;
  margin-left: 3px;
  color: #466c8a;
  font-size: 10px;
  vertical-align: 1px;
}

.legacy-hot {
  display: inline-block;
  margin-left: 4px;
  color: #e15916;
  font-size: 8px;
  font-weight: 700;
  vertical-align: 1px;
}

.legacy-board-empty {
  height: 110px;
  text-align: center;
}

.legacy-board-actions,
.legacy-view-actions {
  min-height: 36px;
  padding-top: 10px;
  text-align: right;
}

.legacy-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  padding: 2px 9px;
  border: 1px solid #c8c8c8;
  border-radius: 2px;
  background: linear-gradient(#fff, #f0f0f0);
  color: #444;
  font-size: 12px;
  font-weight: 500;
}

.legacy-button:hover {
  border-color: #999;
  color: #222;
  text-decoration: none;
}

.legacy-pagination {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin: 4px 0 8px;
}

.legacy-pagination a {
  min-width: 24px;
  padding: 3px 6px;
  color: #777;
  text-align: center;
  font-size: 12px;
}

.legacy-pagination a.active {
  color: #e00014;
  font-weight: 700;
}

.legacy-board-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 3px;
}

.legacy-board-search select,
.legacy-board-search input,
.legacy-board-search button {
  height: 24px;
  margin: 0;
  border: 1px solid #aaa;
  border-radius: 0;
  background: #fff;
  color: #222;
  font: 12px Tahoma, "Noto Sans KR", sans-serif;
}

.legacy-board-search select { width: 108px; padding: 0 4px; }
.legacy-board-search input { width: 155px; padding: 2px 5px; }
.legacy-board-search button {
  padding: 0 9px;
  border-color: #468bd0;
  background: #5ca5ee;
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.legacy-board-search button:hover { background: #408bd5; }

.legacy-board-search .legacy-search-option {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  color: #222;
  font-size: 12px;
  font-weight: 400;
}

.legacy-board-search .legacy-search-option input {
  width: 13px;
  height: 13px;
  margin: 0;
  accent-color: #1684df;
}

.legacy-board-view {
  color: #666;
  font-size: 12px;
}

.legacy-view-top,
.legacy-view-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.legacy-view-top {
  min-height: 38px;
  color: #888;
}

.legacy-view-title {
  min-height: 36px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #ddd;
  background: linear-gradient(#fff, #f4f4f4);
  color: #505050;
  font-size: 13px;
  font-weight: 700;
}

.legacy-view-meta {
  min-height: 31px;
  padding: 0 8px;
  border-bottom: 1px dotted #ddd;
}

.legacy-view-files {
  border-bottom: 1px dotted #ddd;
}

.legacy-view-files a {
  display: block;
  min-height: 31px;
  padding: 7px 8px;
  color: #888;
}

.legacy-view-files a:hover { color: #466c8a; text-decoration: underline; }

.legacy-view-content {
  min-height: 180px;
  padding: 18px 10px;
  border-bottom: 1px solid #ddd;
  color: #444;
  line-height: 1.7;
  word-break: break-word;
}

.legacy-view-navigation {
  border-bottom: 1px solid #ddd;
}

.legacy-view-navigation div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: center;
  min-height: 36px;
  border-top: 1px solid #ddd;
}

.legacy-view-navigation strong { padding-left: 8px; color: #555; }
.legacy-view-navigation a,
.legacy-view-navigation span { overflow: hidden; color: #777; text-overflow: ellipsis; white-space: nowrap; }
.legacy-view-navigation a:hover { color: #466c8a; text-decoration: underline; }

@media (min-width: 1280px) {
  .support-board-dropdown-button { display: none; }
}

@media (max-width: 767px) {
  .legacy-board-list,
  .legacy-board-view {
    padding-top: 9px;
  }

  .legacy-board-table .col-number { width: 42px; }
  .legacy-board-table .col-author { width: 62px; }
  .legacy-board-table .col-date { width: 46px; }
  .legacy-board-table .col-views { width: 46px; }
  .legacy-board-table th,
  .legacy-board-table td { height: 34px; padding: 7px 4px; font-size: 11px; }
  .legacy-board-table td.author { padding-left: 4px; }

  .legacy-board-search {
    flex-wrap: wrap;
  }

  .legacy-board-search select { width: 106px; }
  .legacy-board-search input { width: min(150px, calc(100vw - 210px)); }

  .legacy-view-top { min-height: 34px; }
  .legacy-view-meta { align-items: flex-start; flex-direction: column; gap: 3px; padding: 7px 8px; }
  .legacy-view-content { min-height: 150px; }
}
