* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: #eef1f5;
  font-family: "Malgun Gothic", "맑은 고딕", Arial, sans-serif; font-size: 14px; color: #222; }
.wrap { max-width: 720px; margin: 0 auto; padding: 40px 12px; }
.card { background: #fff; border-radius: 10px; box-shadow: 0 2px 12px rgba(0,0,0,.08); padding: 20px 24px; margin-bottom: 16px; }
.topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.topbar a { color: #2e7d32; text-decoration: none; font-weight: bold; }
.topbar .brand { font-size: 26px; font-weight: bold; color: #222; }
.topbar .auth { font-size: 13px; color: #555; }
.topbar .auth a { font-weight: normal; margin-left: 10px; }
h1 { font-size: 20px; margin: 0 0 16px; }
table.list { width: 100%; border-collapse: collapse; }
table.list td { padding: 9px 6px; border-bottom: 1px solid #eee; }
table.list td.num { color: #999; width: 44px; }
table.list td.meta { color: #888; font-size: 12px; white-space: nowrap; text-align: right; }
table.list a { color: #222; text-decoration: none; }
table.list a:hover { text-decoration: underline; }
.count { color: #2e7d32; font-size: 12px; }
table.list tr.notice-row td { background: #f2f8f2; }
table.list tr.notice-row a { font-weight: bold; }
.btn { display: inline-block; padding: 7px 14px; border: 1px solid #2e7d32; border-radius: 6px;
  background: #2e7d32; color: #fff; font-family: inherit; font-size: 13px; line-height: 1.4;
  cursor: pointer; text-decoration: none; }
.btn.ghost { background: #fff; color: #2e7d32; }
.btn.danger { border-color: #c62828; background: #fff; color: #c62828; }
.btn:disabled { opacity: .5; cursor: default; }
.btn.sm { padding: 3px 8px; font-size: 12px; }
.adminnav { font-size: 13px; margin: 0 0 14px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.adminnav a { color: #2e7d32; text-decoration: none; }
.tabs { font-size: 12px; color: #888; margin: 0 0 10px; }
.tabs a { color: #888; text-decoration: none; }
.tabs a:hover { color: #2e7d32; }
.tabs b { color: #2e7d32; }
.pager { text-align: center; margin-top: 14px; }
.pager a { margin: 0 8px; color: #2e7d32; text-decoration: none; }
input[type=text], textarea { width: 100%; padding: 9px; border: 1px solid #ccc; border-radius: 6px;
  font: inherit; margin-bottom: 10px; }
textarea { min-height: 220px; resize: vertical; }
.post-meta { color: #888; font-size: 12px; margin-bottom: 14px; }
.post-body { line-height: 1.8; white-space: pre-wrap; word-break: break-word; padding: 8px 0 16px; }
.comment { border-top: 1px solid #eee; padding: 10px 0; }
.comment:target { background: #f2f8f2; }
.comment .who { font-size: 12px; color: #888; margin-bottom: 4px; }
.comment .body { white-space: pre-wrap; word-break: break-word; line-height: 1.6; }
.comment .ops { font-size: 12px; margin-top: 4px; }
.comment .ops a { color: #888; margin-right: 8px; cursor: pointer; }
/* 텍스트형 액션 링크(수정·삭제, 전체 보기, 복구 등) 호버 시 밑줄 */
.comment .ops a:hover, a[data-i]:hover, a[data-restore]:hover { text-decoration: underline; }
.badge { display: inline-block; padding: 1px 5px; border: 1px solid #2e7d32; border-radius: 4px;
  color: #2e7d32; font-size: 11px; vertical-align: 1px; }
.notice { color: #c62828; font-size: 13px; margin: 8px 0; }
footer { margin-top: 28px; text-align: center; color: #667; font-size: 12px; }
footer a { color: inherit; }
