﻿:root {
  --primary: #ffa800;
  --primary-strong: #e79600;
  --surface-soft: #fff6e7;
  --bg: #fff9ed;
  --card: #ffffff;
  --text: #1f2430;
  --muted: #616b7f;
  --line: #ecd9b2;
  --shadow: 0 10px 28px rgba(38, 24, 0, 0.08);
  --radius: 18px;
  --ok: #1f9d55;
  --warn: #c58600;
  --bad: #cb2f2f;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Noto Sans KR", "Segoe UI", sans-serif;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

body.mobile-menu-open {
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
.container { width: min(1120px, 100%); margin: 0 auto; padding: 0 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(8px);
  background: rgba(255, 246, 231, 0.94);
  border-bottom: 1px solid #ecd9b2;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  min-width: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid #f2d08e;
}

.brand-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #2f3646;
}

.brand-sub {
  font-size: 11px;
  color: #85662a;
}

.nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.nav a {
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  color: #2f3646;
  font-size: 14px;
}

.nav a:hover, .nav a.active {
  border-color: #ecd9b2;
  background: #ffffff;
}

.auth-action {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  white-space: nowrap;
  color: #2f3646;
  border-color: #d7b777;
}

.auth-action:hover {
  background: #fffaf0;
  border-color: #bf8a1d;
}

.mobile-header-title,
.mobile-menu-toggle,
.mobile-menu-layer {
  display: none;
}

.mobile-menu-toggle {
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid #d7b777;
  border-radius: 12px;
  background: #fffdf8;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #5e4a1e;
}

.mobile-menu-layer {
  position: fixed;
  top: 60px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 120;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(22, 24, 31, 0.52);
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  padding: 18px 16px;
  background: rgba(255, 253, 248, 0.98);
  border-left: 1px solid #ead8b4;
  border-top-left-radius: 18px;
  box-shadow: -18px 0 32px rgba(24, 16, 2, 0.18);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-menu-head strong {
  font-size: 16px;
  color: #2f3646;
}

.mobile-menu-close {
  width: 36px;
  height: 36px;
  border: 1px solid #e4cfaa;
  border-radius: 10px;
  background: #fff;
  color: #5e4a1e;
  font-size: 22px;
  line-height: 1;
}

.mobile-menu-nav {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  flex: 1 1 auto;
  align-content: start;
}

.mobile-menu-nav a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #ead8b4;
  border-radius: 12px;
  background: #fff;
  color: #2f3646;
  font-size: 15px;
  font-weight: 700;
}

.mobile-menu-nav a.active {
  border-color: #da9300;
  background: #fff4d3;
  color: #6f4a00;
}

.mobile-menu-account {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #eddcba;
}

.mobile-menu-account-meta {
  display: grid;
  gap: 4px;
}

.mobile-menu-account-meta strong {
  font-size: 15px;
  color: #25324a;
  font-weight: 800;
}

.mobile-menu-account-meta span {
  font-size: 12px;
  color: #66748d;
  font-weight: 600;
}

.mobile-menu-account-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.mobile-menu-account-actions .btn {
  width: 100%;
  min-width: 0;
  height: 42px;
  border-radius: 12px;
}

main { padding: 28px 0 56px; flex: 1; }

.hero {
  background: linear-gradient(145deg, #ffe7b5 0%, #ffd58a 55%, #ffca6a 100%);
  border-radius: 24px;
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid #f6c165;
}

.hero h1 {
  margin: 0;
  font-size: clamp(24px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero p {
  margin: 12px 0 22px;
  color: #47370f;
  max-width: 700px;
}

.cta-row { display: flex; gap: 10px; flex-wrap: wrap; }

.btn {
  height: 44px;
  border-radius: 12px;
  padding: 0 16px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(180deg, #ffbc34, var(--primary));
  color: #2c2104;
  box-shadow: 0 8px 16px rgba(255, 168, 0, 0.24);
}

.btn-outline {
  background: transparent;
  border-color: #cb9d43;
  color: #3f2d06;
}

.grid-2 {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card h2, .card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.card p { margin: 0; color: var(--muted); }

.pay-hero {
  margin: 24px 0 8px;
  padding: 22px 24px;
  border: 1px solid #ecd4a5;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(245, 176, 40, 0.22), transparent 34%),
    linear-gradient(135deg, #fffaf0 0%, #fff4da 52%, #fffdf8 100%);
  box-shadow: 0 16px 34px rgba(31, 45, 77, 0.08);
}

.pay-eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a6d1f;
}

.pay-title {
  margin: 0;
}

.pay-subtitle {
  margin-top: 10px;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: #5d6474;
}

.pay-plan-grid {
  margin-top: 18px;
}

.pay-plan-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 24px;
  padding: 22px;
}

.pay-plan-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -52px auto;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
  pointer-events: none;
}

.pay-plan-free {
  background: linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.pay-plan-vip {
  border-color: #e0b14a;
  background: linear-gradient(145deg, #203452 0%, #2a446c 52%, #19304d 100%);
  color: #f7f3e9;
  box-shadow: 0 18px 34px rgba(22, 40, 64, 0.22);
}

.pay-plan-vip p,
.pay-plan-vip li,
.pay-plan-vip h2 {
  color: inherit;
}

.pay-plan-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.pay-tier-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.pay-tier-free {
  background: #fff3d4;
  color: #8a5b12;
  border: 1px solid #efd197;
}

.pay-tier-vip {
  background: linear-gradient(135deg, #ffd46b 0%, #f5b028 100%);
  color: #21344d;
  border: 1px solid rgba(255, 225, 154, 0.6);
}

.pay-tier-icon {
  display: inline-flex;
  width: 16px;
  height: 16px;
}

.pay-tier-icon svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pay-tier-caption {
  font-size: 12px;
  font-weight: 700;
  color: #8b6f38;
}

.pay-plan-vip .pay-tier-caption {
  color: #f6d98c;
}

.pay-plan-copy {
  margin-top: 8px;
  line-height: 1.65;
}

.pay-plan-price {
  margin-top: 6px;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffd980;
}

.pay-kpi-list {
  gap: 10px;
  margin-top: 16px;
}

.pay-kpi-list li {
  position: relative;
  padding: 10px 12px 10px 28px;
  border-radius: 14px;
  border: 1px solid #efdcb9;
  background: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  line-height: 1.5;
}

.pay-kpi-list li::before {
  content: "";
  position: absolute;
  top: 16px;
  left: 12px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #f5b028;
}

.pay-plan-vip .pay-kpi-list li {
  border-color: rgba(255, 220, 150, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.pay-plan-vip .pay-kpi-list li::before {
  background: #ffd980;
}

.pay-payment-card {
  border-radius: 24px;
  border-color: #e6c98f;
  background: linear-gradient(180deg, #fffdf9 0%, #fff7e8 100%);
}

.pay-payment-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.pay-payment-head h3 {
  margin-bottom: 6px;
}

.pay-payment-head p {
  font-size: 14px;
  color: #6b7280;
}

.kpi-list, .rank-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.rank-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid #f0dfbe;
  border-radius: 12px;
  background: #fffefb;
}

.coin-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.coin-title-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.coin-logo {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  object-fit: cover;
  border: 1px solid #e7ebf3;
  flex: 0 0 26px;
}

.badge {
  display: inline-flex;
  align-items: center;
  height: 25px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #fff1d0;
  color: #774f00;
  border: 1px solid #f2d08e;
}

.copy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.copy-chip {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: #6a4a06;
  background: #fff3d9;
  border: 1px solid #f0cd89;
}

.copy-more {
  margin-top: 6px;
}

.copy-more summary {
  cursor: pointer;
  font-size: 12px;
  color: #7a5a14;
}

.copy-more p {
  margin-top: 6px;
  font-size: 12px;
  color: #616b7f;
}

.copy-more .impact {
  color: #4e5b73;
}

.copy-more .risk {
  color: #7b4a10;
}

.result-brief-title {
  margin: 2px 0 6px;
  font-weight: 800;
  color: #1f2b43;
}

.result-brief-sub {
  margin: 0 0 4px;
  color: #4e5b73;
}

.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-top: 10px;
}

.mini-cal-week {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}

.mini-cal-cell {
  min-height: 44px;
  border: 1px solid #f0dfbe;
  border-radius: 10px;
  background: #fffefb;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px;
}

.mini-cal-cell .d {
  font-size: 12px;
  font-weight: 700;
  color: #2f3646;
}

.mini-cal-cell.empty {
  background: transparent;
  border-color: transparent;
}

.mini-cal-cell.green { background: #e9f8ef; border-color: #b6e3c6; }
.mini-cal-cell.yellow { background: #fff8df; border-color: #f2d08e; }
.mini-cal-cell.red { background: #fdeced; border-color: #f2b8bc; }
.mini-cal-cell.locked-mask { background: #f4f4f4; border-color: #ececec; }

.calendar-month-wrap {
  position: relative;
}

.calendar-grid-blur {
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
}

.calendar-lock-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.52);
  border-radius: 12px;
}

.section-title {
  font-size: clamp(24px, 3.6vw, 34px);
  margin: 26px 0 14px;
  letter-spacing: -0.03em;
}

.zodiac-hero {
  min-height: 430px;
}

.zodiac-nav {
  display: inline-flex;
  gap: 8px;
}

.zodiac-nav-btn {
  height: 34px;
  min-width: 64px;
  padding: 0 12px;
}

.zodiac-carousel {
  position: relative;
  height: 340px;
  margin-top: 12px;
  overflow: hidden;
}

.zodiac-card {
  position: absolute;
  top: 12px;
  left: 50%;
  width: min(360px, 62vw);
  min-height: 308px;
  border-radius: 16px;
  padding: 14px;
  border: 1px solid #f0d8a6;
  background: #fffdf8;
  box-shadow: 0 12px 24px rgba(40, 30, 8, 0.12);
  transform: translateX(calc(-50% + (var(--offset, 0) * 56%))) scale(var(--scale, 1));
  opacity: var(--opacity, 1);
  z-index: var(--z, 10);
  transition: transform .25s ease, opacity .25s ease;
  cursor: pointer;
}

.zodiac-card.active {
  border-color: #e0a63a;
  box-shadow: 0 14px 30px rgba(54, 36, 7, 0.18);
  background: #fff8e8;
}

.zodiac-card-year {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #2e3648;
}

.zodiac-card-sub {
  margin-top: 4px;
  color: #6a7387;
  font-size: 13px;
}

.zodiac-year-list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  max-height: 220px;
  overflow: auto;
  display: grid;
  gap: 6px;
}

.zodiac-year-list li {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 7px 8px;
  border: 1px solid #f0dfbe;
  border-radius: 10px;
  background: #fffefb;
  font-size: 12px;
}

.zodiac-year-list li span {
  font-weight: 700;
  color: #2e3648;
}

.zodiac-year-list li strong {
  color: #8b5d00;
}

.zodiac-year-list li em {
  font-style: normal;
  color: #556076;
  grid-column: 1 / -1;
}

.zodiac-year-list li small {
  grid-column: 1 / -1;
  color: #7b4a10;
}

.zodiac-year-list li .zodiac-year-more {
  color: #556076;
}

.my-title {
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: -0.03em;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

input, select, textarea {
  width: 100%;
  border: 1px solid #e9d7b3;
  border-radius: 12px;
  height: 42px;
  padding: 0 12px;
  background: #fff;
  color: #242b3a;
}

textarea { height: 120px; padding: 10px 12px; resize: vertical; }

label { display: block; font-size: 13px; margin: 0 0 6px; color: #505a6f; }

.row { display: flex; gap: 10px; flex-wrap: wrap; }

.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.tab-btn {
  border: 1px solid #e7d5af;
  background: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  cursor: pointer;
}
.tab-btn.active { background: #ffe7b8; border-color: #eab44d; }

.locked {
  position: relative;
}
.locked::after {
  content: "👑 VIP";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 250, 238, 0.85);
  color: #7a560f;
  font-weight: 800;
  border: 1px dashed #dbb362;
}

.progress {
  width: 100%;
  height: 10px;
  background: #f4ebda;
  border-radius: 999px;
  overflow: hidden;
}
.progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #ffd45f, #ffae00);
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #2a3142;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

.site-footer {
  background: var(--surface-soft);
  border-top: 1px solid #ecd9b2;
  padding: 18px 0 28px;
  color: #5f6676;
  font-size: 13px;
  margin-top: auto;
  text-align: center;
}

.footer-main {
  margin-bottom: 4px;
  color: #3f4759;
}

.footer-links {
  margin-bottom: 6px;
}

.footer-links a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.split {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.table th, .table td {
  border-bottom: 1px solid #f0e1c1;
  padding: 10px 8px;
  text-align: left;
}

.board-list-card {
  padding: 0;
  border: 1px solid #d8dce5;
  border-radius: 0;
  box-shadow: none;
  overflow-x: auto;
  overflow-y: hidden;
}

.board-list-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px;
  background: #f5f6f8;
  border-bottom: 1px solid #d8dce5;
  min-height: 72px;
}

.board-tabs {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.board-tab {
  min-width: 72px;
  height: 36px;
  border: 1px solid #f0cd89;
  background: #fff7e5;
  color: #6f4a00;
  font-weight: 700;
  cursor: pointer;
  border-radius: 0;
  padding: 0 16px;
}

.board-tab.active {
  background: #ffb325;
  border-color: #da9300;
  color: #2c1f00;
}

#writePostBtn {
  border-radius: 0;
  height: 42px;
  min-width: 80px;
}

.board-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  font-size: 13px;
  background: #fff;
}

.board-table thead th {
  background: #f9fafc;
  border-bottom: 1px solid #cfd6e6;
  border-top: 1px solid #cfd6e6;
  color: #2f3a55;
  font-weight: 700;
  text-align: center;
  padding: 10px 6px;
}

.board-table tbody td {
  border-bottom: 1px solid #edf1f7;
  color: #3e4558;
  padding: 8px 6px;
  text-align: center;
  line-height: 1.4;
}

.board-table thead th:nth-child(1),
.board-table tbody td:nth-child(1) {
  width: 64px;
}

.board-table thead th:nth-child(2),
.board-table tbody td:nth-child(2) {
  width: 70px;
}

.board-table thead th:nth-child(4),
.board-table tbody td:nth-child(4) {
  width: 120px;
}

.board-table thead th:nth-child(5),
.board-table tbody td:nth-child(5) {
  width: 82px;
}

.board-table thead th:nth-child(6),
.board-table tbody td:nth-child(6) {
  width: 56px;
}

.board-col-title {
  text-align: left !important;
}

.board-list-title-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px;
}

.board-list-title {
  color: #20315f;
  font-weight: 700;
}

.board-list-title:hover {
  text-decoration: underline;
}

.board-comment-count {
  color: #3f63b0;
  font-weight: 700;
}

.board-list-empty {
  padding: 18px;
  color: #68758d;
  text-align: center;
}

.board-list-mobile-meta {
  display: none;
}

.board-pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  padding: 6px 0 0;
}

.pg-num {
  color: #1b2130;
  font-weight: 600;
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.01em;
}

.pg-num.active {
  color: #ff9800;
  text-decoration: underline;
}

.pg-next {
  color: #9b9b9b;
  font-weight: 700;
  font-size: 34px;
}

.board-detail-card h2 {
  margin-bottom: 2px;
}

.board-detail-head p {
  font-size: 13px;
  color: #6a748a;
}

.board-post-content {
  color: #2f3749;
  line-height: 1.7;
}

.board-post-content p {
  margin: 0 0 10px;
  color: #2f3749;
}

.board-post-content a {
  color: #0f5bb8;
  text-decoration: underline;
}

.board-post-content img {
  display: block;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid #eddab3;
  margin: 10px 0;
}

.board-action-row {
  margin-top: 12px;
}

.board-comment-card {
  margin-top: 12px;
}

.board-comment-list {
  display: grid;
  gap: 8px;
}

.board-comment-item {
  border-bottom: 1px solid #f2e4c6;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.board-comment-item p {
  margin: 0;
  color: #2d3649;
}

.board-comment-actions {
  gap: 6px;
}

.board-comment-write {
  margin-top: 10px;
}

.board-login-required {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid #efdcb2;
  border-radius: 12px;
  background: #fffdf8;
}

.board-login-required p {
  margin: 0;
}

.write-card {
  display: grid;
  gap: 8px;
  border-radius: 0;
  box-shadow: none;
  border-color: #d8dce5;
  background: #fff;
}

.write-toolbar {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 6px;
  border: 1px solid #d7dbe6;
  background: #f7f8fb;
}

.write-toolbar .btn {
  height: 30px;
  padding: 0 10px;
  border-radius: 2px;
  font-size: 12px;
  border-color: #d3d8e4;
  color: #3d4660;
}

.write-toolbar-main {
  border-bottom: none;
}

.write-toolbar-sub {
  margin-top: 0;
}

.write-notice {
  margin: 0;
  font-size: 12px;
  color: #66708a;
  line-height: 1.5;
}

.write-ad-box {
  border: 1px solid #e7dac2;
  background: #f7f0e5;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.write-ad-box p {
  margin: 4px 0;
  color: #666;
  font-size: 12px;
}

.write-ad-box small {
  color: #7d7d7d;
}

.write-html-toggle {
  margin-left: auto;
  font-size: 12px;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.write-actions {
  justify-content: flex-end;
}

.write-card textarea {
  min-height: 480px;
  border-radius: 0;
  border: 1px solid #d7dbe6;
  font-size: 14px;
}

.write-card input {
  border-radius: 0;
  border: 1px solid #d7dbe6;
  height: 44px;
}

.write-preview .muted {
  color: #7a859a;
}

.write-ai-box {
  border: 1px solid #d7dbe6;
  background: #f8f9fc;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  color: #8a90a1;
  font-size: 13px;
}

.write-adult {
  color: #6f778a;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.write-btn-cancel {
  border-radius: 0;
  min-width: 72px;
  height: 40px;
  border-color: #666;
  color: #fff;
  background: #666;
}

.write-btn-submit {
  border-radius: 0;
  min-width: 72px;
  height: 40px;
  background: #ffb325;
  border: 1px solid #da9300;
  color: #2c1f00;
  box-shadow: none;
}

.board-editor-modal {
  width: min(760px, 100%);
  max-height: 82vh;
  overflow: auto;
}

.board-editor-modal textarea {
  min-height: 180px;
}

.board-page {
  padding-top: 20px;
  padding-bottom: 40px;
}

.board-list-toolbar {
  padding: 10px 12px;
  min-height: 58px;
  background: #f4f6fa;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
}

.board-tabs {
  gap: 0;
}

.board-tab {
  min-width: 74px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid #cfd6e6;
  border-right: none;
  background: #f9fbff;
  color: #3f4a63;
  font-size: 13px;
  font-weight: 700;
}

.board-tab:last-child {
  border-right: 1px solid #cfd6e6;
}

.board-tab.active {
  background: var(--surface-soft);
  border-color: var(--primary-strong);
  color: #8f5d00;
  position: relative;
  z-index: 1;
}

#writePostBtn {
  min-width: 78px;
  height: 34px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 700;
}

.board-center-filter {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #616d87;
  font-size: 12px;
  font-weight: 600;
}

.board-center-filter span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
}

.board-write-note {
  margin: 2px 0 2px;
  font-size: 12px;
  line-height: 1.5;
  color: #6f7a92;
}

.board-write-ad {
  display: grid;
  grid-template-columns: 112px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid #d8dce5;
  background: #f5f6f8;
}

.board-write-ad-thumb {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f6c3da, #ffd6a3);
  color: #6e3951;
  font-size: 20px;
  font-weight: 800;
}

.board-write-ad-copy strong {
  display: block;
  font-size: 14px;
  color: #2f3a55;
}

.board-write-ad-copy p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #677289;
}

.board-write-ad-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 0;
  font-size: 12px;
}

.board-search-row {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  padding: 10px 12px 14px;
  border-top: 1px solid #d8dce5;
  background: #fff;
}

.board-search-select-wrap {
  position: relative;
  width: 140px;
  flex: 0 0 140px;
}

.board-search-row select,
.board-search-row input,
.board-write-top select,
.board-write-top input {
  height: 40px;
  border: 1px solid #cfd6e6;
  border-radius: 0;
  padding: 0 10px;
  background: #fff;
}

.board-search-row select {
  width: 100%;
  border-right: none;
  appearance: none;
  padding-right: 28px;
}

.board-search-row input {
  width: min(620px, calc(100vw - 260px));
  border-right: none;
}

.board-search-row .btn {
  height: 40px;
  min-width: 74px;
  border-radius: 0;
  padding: 0 14px;
}

.board-search-btn {
  margin-left: 0;
}

.board-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 24px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid #cfd6e6;
  background: #fff;
  color: #475067;
}

.board-tag.notice {
  border-color: var(--primary-strong);
  background: var(--surface-soft);
  color: #915f00;
}

.board-write-card,
.board-post-card {
  border-radius: 0;
  border: 1px solid #d8dce5;
  box-shadow: none;
}

.board-write-top {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 8px;
}

.board-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 6px;
  border: 1px solid #d8dce5;
  background: #f8fafc;
  align-items: center;
}

.board-editor-toolbar .btn,
.board-editor-toolbar select,
.board-editor-toolbar input[type="color"] {
  height: 30px;
  border-radius: 0;
  font-size: 12px;
}

.board-editor-toolbar-media {
  margin-top: 2px;
  justify-content: space-between;
}

.board-editor-toolbar-format {
  margin-top: -1px;
  min-height: 44px;
  padding: 0 8px;
  gap: 0;
  border-top: none;
  background: #fff;
}

.board-tool-group {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding-right: 5px;
  margin-right: 4px;
  border-right: 1px solid #dde3ee;
}

.board-tool-group:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.board-toolbar-secondary-scroll {
  display: contents;
}

.board-tool-group-font {
  gap: 4px;
}

.board-tool-group-flat {
  gap: 0;
}

.board-editor-toolbar select {
  border: 1px solid #cfd6e6;
  padding: 0 26px 0 8px;
  background: #fff;
  appearance: none;
}

.board-select-wrap {
  position: relative;
  display: inline-flex;
}

.board-select-wrap select {
  min-width: 116px;
}

.board-select-wrap-flat {
  height: 24px;
}

.board-select-wrap-flat select {
  height: 24px;
  min-width: 94px;
  border: none;
  border-right: 1px solid #d8dce5;
  padding: 0 16px 0 4px;
  background: transparent;
  color: #30394f;
  font-size: 12px;
}

.board-select-wrap-size select {
  min-width: 58px;
}

.board-select-wrap-line select {
  min-width: 74px;
}

.board-editor-toolbar-format .board-select-wrap-line select {
  min-width: 66px;
}

.board-editor-toolbar-format .board-select-wrap-flat + .board-select-wrap-flat select {
  min-width: 48px;
}

.board-editor-toolbar-format .board-select-caret {
  right: 4px;
  border-left-width: 3px;
  border-right-width: 3px;
  border-top-width: 4px;
  border-top-color: #707b92;
}

.board-editor-toolbar-format .board-tool-group {
  height: 24px;
  gap: 1px;
  padding-right: 6px;
  margin-right: 6px;
  border-right: 1px solid #e1e5ed;
}

.board-editor-toolbar-format .board-tool-group:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.board-flat-btn {
  height: 24px;
  min-width: 18px;
  padding: 0 4px;
  border: none;
  background: transparent;
  color: #36405a;
  font: inherit;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.board-flat-btn:hover,
.board-flat-color:hover {
  color: var(--primary-strong);
}

.board-flat-btn-glyph {
  font-size: 18px;
  font-family: "Malgun Gothic", sans-serif;
}

.board-flat-btn-bold {
  font-weight: 800;
}

.board-flat-btn-italic {
  font-style: italic;
}

.board-flat-btn-underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.board-flat-btn-strike {
  text-decoration: line-through;
}

.board-flat-btn-muted {
  color: #7f879b;
}

.board-flat-btn-symbol {
  min-width: 22px;
  padding: 0 3px;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.board-flat-color {
  position: relative;
  width: 12px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.board-flat-color input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

.board-flat-caret,
.board-flat-caret::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-flat-caret::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #707b92;
}

.board-editor-toolbar-format .board-menu-wrap {
  align-items: center;
}

.board-editor-toolbar-format .board-menu-trigger {
  width: auto;
  min-width: 18px;
  padding: 0 1px;
  gap: 1px;
  border: none;
  background: transparent;
}

.board-editor-toolbar-format .board-mini-menu {
  top: calc(100% + 6px);
  min-width: 96px;
  padding: 4px;
}

.board-dc-menu-wrap {
  position: relative;
}

.board-dc-trigger {
  min-width: 24px;
  padding: 0 2px !important;
  gap: 2px !important;
}

.board-dc-icon-btn {
  padding: 0 1px;
}

.board-dc-color-icon {
  position: relative;
  width: 13px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-dc-color-back {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1px;
  height: 3px;
  background: transparent;
}

.board-dc-color-text {
  position: relative;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  color: #202020;
}

.board-dc-color-menu {
  top: calc(100% + 8px);
  left: 0;
  width: 346px;
  min-width: 346px !important;
  grid-template-columns: 149px 149px;
  gap: 24px;
  padding: 10px 12px 12px !important;
  border: 1px solid #cfd5e3;
  box-shadow: 0 12px 28px rgba(23, 34, 54, 0.16);
}

.board-dc-color-column {
  display: grid;
  gap: 8px;
}

.board-dc-color-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #28324a;
}

.board-dc-color-reset,
.board-dc-color-custom {
  height: 22px;
  border: none;
  background: transparent;
  padding: 0;
  font-size: 12px;
  color: #222;
  cursor: pointer;
  text-align: center;
}

.board-dc-color-reset:hover,
.board-dc-color-custom:hover {
  color: #c5411e;
}

.board-dc-color-grid {
  display: grid;
  grid-template-columns: repeat(8, 18px);
  gap: 0;
  width: 144px;
}

.board-dc-color-btn {
  width: 18px;
  height: 18px;
  border: none;
  padding: 0;
  cursor: pointer;
}

.board-dc-color-btn:hover {
  outline: 1px solid #2b3244;
  outline-offset: -1px;
}

.board-dc-color-custom {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-dc-color-custom input[type="color"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

.board-dc-table-icon {
  width: 14px;
  height: 14px;
  display: inline-block;
  background:
    linear-gradient(#55627d, #55627d) 0 0 / 100% 1px no-repeat,
    linear-gradient(#55627d, #55627d) 0 50% / 100% 1px no-repeat,
    linear-gradient(#55627d, #55627d) 0 100% / 100% 1px no-repeat,
    linear-gradient(#55627d, #55627d) 0 0 / 1px 100% no-repeat,
    linear-gradient(#55627d, #55627d) 50% 0 / 1px 100% no-repeat,
    linear-gradient(#55627d, #55627d) 100% 0 / 1px 100% no-repeat;
}

.board-dc-table-menu {
  top: calc(100% + 8px);
  left: 0;
  min-width: 0 !important;
  padding: 8px !important;
  gap: 6px;
}

.board-dimension-picker {
  font-size: 18px;
  position: relative;
  width: 10em;
  height: 10em;
}

.board-dimension-picker-mousecatcher,
.board-dimension-picker-highlighted,
.board-dimension-picker-unhighlighted {
  position: absolute;
  top: 0;
  left: 0;
  width: 10em;
  height: 10em;
}

.board-dimension-picker-mousecatcher {
  z-index: 3;
  cursor: crosshair;
}

.board-dimension-picker-highlighted,
.board-dimension-picker-unhighlighted {
  z-index: 1;
  background-repeat: repeat;
}

.board-dimension-picker-highlighted {
  z-index: 2;
  width: 5em;
  height: 5em;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIjd6vvD2f9LKLW+AAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKwNDEVT0AAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC");
}

.board-dimension-picker-unhighlighted {
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASAgMAAAAroGbEAAAACVBMVEUAAIj4+Pjp6ekKlAqjAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfYAR0BKhmnaJzPAAAAG0lEQVQI12NgAAOtVatWMTCohoaGUY+EmIkEAEruEzK2J7tvAAAAAElFTkSuQmCC");
}

.board-dimension-display {
  font-size: 12px;
  color: #3b4a68;
}

.board-dc-list-icon,
.board-dc-ordered-icon,
.board-dc-link-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: inline-block;
}

.board-dc-list-icon::before {
  content: "";
  position: absolute;
  inset: 1px 1px 1px 5px;
  background:
    linear-gradient(#5a6782, #5a6782) 0 1px / 100% 1px no-repeat,
    linear-gradient(#5a6782, #5a6782) 0 6px / 100% 1px no-repeat,
    linear-gradient(#5a6782, #5a6782) 0 11px / 100% 1px no-repeat;
}

.board-dc-list-icon::after {
  content: "";
  position: absolute;
  left: 1px;
  top: 2px;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #5a6782;
  box-shadow: 0 5px 0 #5a6782, 0 10px 0 #5a6782;
}

.board-dc-ordered-icon::before {
  content: "1.";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 8px;
  line-height: 1;
  font-weight: 700;
  color: #40506d;
}

.board-dc-ordered-icon::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 1px;
  top: 2px;
  height: 1px;
  background: #5a6782;
  box-shadow: 0 5px 0 #5a6782, 0 10px 0 #5a6782;
}

.board-dc-link-icon::before,
.board-dc-link-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 4px;
  border: 1px solid #5a6782;
  border-radius: 4px;
}

.board-dc-link-icon::before {
  left: 0;
  top: 5px;
  transform: rotate(-28deg);
}

.board-dc-link-icon::after {
  right: 0;
  top: 5px;
  transform: rotate(-28deg);
}

.board-select-caret {
  position: absolute;
  right: 10px;
  top: 50%;
  width: 0;
  height: 0;
  margin-top: -2px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #66728a;
  pointer-events: none;
}

.board-media-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px !important;
  padding: 0 9px;
  border-color: #d5dbe7;
  background: #fff;
  color: #3d4961;
  font-weight: 700;
  font-size: 12px;
}

.board-icon-btn,
.board-color-wrap {
  width: 30px;
  min-width: 30px;
  height: 30px !important;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d5dbe7;
  background: #fff;
  color: #39455e;
}

.board-icon-btn:hover,
.board-media-btn:hover,
.board-color-wrap:hover {
  border-color: var(--primary-strong);
  color: #8f5d00;
  background: var(--surface-soft);
}

.board-toolbar-icon {
  width: 12px;
  height: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-toolbar-icon svg {
  width: 12px;
  height: 12px;
  display: block;
}

.board-color-wrap {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.board-color-split {
  width: 40px;
  min-width: 40px;
  justify-content: stretch;
}

.board-color-main,
.board-color-caret {
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-color-main {
  width: 28px;
}

.board-color-caret {
  width: 12px;
  border-left: 1px solid #dde3ee;
  position: relative;
}

.board-color-caret::before,
.board-mini-caret::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #66728a;
}

.board-color-wrap input[type="color"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  border: none;
  padding: 0;
}

.board-html-toggle {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #5f6b84;
}

.board-html-toggle input {
  accent-color: var(--primary);
}

.board-menu-wrap {
  position: relative;
  display: inline-flex;
}

.board-menu-trigger {
  width: auto;
  min-width: 34px;
  padding: 0 4px;
  gap: 4px;
}

.board-mini-caret {
  width: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.board-mini-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 20;
  min-width: 92px;
  display: grid;
  gap: 1px;
  padding: 4px;
  border: 1px solid #d5dbe7;
  background: #fff;
  box-shadow: 0 10px 24px rgba(23, 34, 54, 0.14);
}

.board-mini-menu button {
  height: 28px;
  border: none;
  background: #fff;
  text-align: left;
  padding: 0 8px;
  font-size: 12px;
  color: #44506a;
  cursor: pointer;
}

.board-mini-menu button:hover {
  background: var(--surface-soft);
  color: #8f5d00;
}

.board-editor-surface {
  min-height: 520px;
  border: 1px solid #d8dce5;
  padding: 16px;
  outline: none;
  line-height: 1.7;
  font-size: 15px;
}

.board-media-resize-overlay {
  position: absolute;
  border: 1px solid #2f4a92;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85);
  pointer-events: none;
  z-index: 8;
  will-change: width, height, transform;
}

.board-media-resize-handle {
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 12px;
  height: 12px;
  border: 1px solid #111827;
  background: #1d4ed8;
  pointer-events: auto;
  cursor: nwse-resize;
}

.board-table-axis-overlay {
  position: absolute;
  pointer-events: none;
  z-index: 7;
}

.board-table-axis-handle {
  position: absolute;
  border: 0;
  background: rgba(47, 74, 146, 0.18);
  pointer-events: auto;
  padding: 0;
}

.board-table-axis-handle.col {
  width: 12px;
  cursor: col-resize;
}

.board-table-axis-handle.row {
  height: 12px;
  cursor: row-resize;
}

.board-table-axis-handle:hover {
  background: rgba(47, 74, 146, 0.32);
}

body.board-resize-dragging {
  user-select: none;
  cursor: nwse-resize;
}

.board-editor-statusbar {
  height: 12px;
  border: 1px solid #d8dce5;
  border-top: none;
  background: #f3f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.board-status-handle {
  width: 18px;
  height: 4px;
  position: relative;
}

.board-status-handle::before,
.board-status-handle::after,
.board-status-handle {
  background: linear-gradient(to bottom, #c6ccd7, #c6ccd7) no-repeat center/18px 1px;
}

.board-status-handle::before,
.board-status-handle::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 1px;
  background: #c6ccd7;
}

.board-status-handle::before {
  top: 0;
}

.board-status-handle::after {
  bottom: 0;
}

.board-editor-surface:focus {
  border-color: var(--primary-strong);
}

.board-editor-surface img,
.board-post-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

.board-editor-surface video,
.board-post-content video {
  display: block;
  max-width: 100%;
  margin: 12px 0;
}

.board-editor-surface table,
.board-post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}

.board-editor-surface td,
.board-editor-surface th,
.board-post-content td,
.board-post-content th {
  border: 1px solid #cfd6e6;
  padding: 8px;
}

.board-embed-wrap,
.board-poll-box {
  margin: 14px 0;
  padding: 12px;
  border: 1px solid #d8dce5;
  background: #fafbfd;
}

.board-link-card {
  margin: 14px 0;
}

.board-link-card > a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border: 1px solid #d8dce5;
  background: linear-gradient(180deg, #f9fbff 0%, #f2f6fc 100%);
  color: #1f2a44;
  text-decoration: none;
}

.board-link-card > a:hover {
  border-color: #b8c7e6;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  text-decoration: none;
}

.board-link-card strong {
  display: block;
  font-size: 14px;
  line-height: 1.45;
  color: #172554;
}

.board-link-card span {
  display: block;
  font-size: 12px;
  line-height: 1.4;
  color: #5b6b86;
  word-break: break-all;
}

.board-embed-wrap iframe {
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
}

.board-post-head {
  display: grid;
  gap: 10px;
}

.board-post-detail {
  padding: 0;
  overflow: hidden;
}

.board-post-title-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 16px 18px 14px;
  border-bottom: 2px solid #24304c;
  background: #fff;
}

.board-post-title-row h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.board-post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: #58627a;
  padding: 10px 18px 12px;
  border-bottom: 1px solid #e6ebf3;
  background: #fafbfd;
}

.board-post-meta strong {
  color: #2f3a55;
  font-weight: 700;
  margin-right: 4px;
}

.board-post-content {
  padding: 18px;
  min-height: 240px;
  line-height: 1.8;
}

.board-vote-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
  padding: 14px 18px 8px;
}

.board-vote-btn {
  min-width: 126px;
  height: 38px;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
}

.board-vote-btn strong {
  font-size: 14px;
}

.board-action-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 0;
  padding: 0 18px 16px;
  border-bottom: 1px solid #e6ebf3;
}

.board-action-btn {
  min-width: 68px;
  height: 32px;
  padding: 0 12px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.board-comment-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 12px 16px;
  border-bottom: 1px solid #d8dce5;
  background: #f7f9fc;
}

.board-comment-top h3 {
  margin: 0;
  font-size: 14px;
}

.board-comment-body {
  flex: 1;
}

.board-comment-meta {
  display: flex;
  gap: 10px;
  font-size: 12px;
  color: #69748b;
  margin-bottom: 6px;
}

.board-comment-text {
  line-height: 1.6;
}

.board-comment-actions {
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.board-comment-vote-btn,
.board-comment-edit-toggle,
.board-comment-reply-toggle,
.board-comment-delete-btn {
  height: 28px;
  min-width: 58px;
  padding: 0 10px;
  font-size: 12px;
}

.board-comment-vote-btn strong {
  margin-left: 4px;
}

.board-comment-item.is-reply {
  margin-top: 10px;
  margin-left: 18px;
  padding: 10px 12px;
  border: 1px solid #edf1f7;
  background: #fbfcff;
}

.board-comment-detail {
  margin-top: 10px;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  border: 1px solid #d8dce5;
}

.board-comment-list {
  gap: 0;
}

.board-comment-item {
  padding: 12px 16px;
  border-bottom: 1px solid #edf1f7;
  align-items: flex-start;
}

.board-comment-write {
  margin-top: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 8px;
  padding: 14px 16px 16px;
  border-top: 1px solid #e6ebf3;
  background: #fbfcfe;
}

.board-comment-write textarea,
.board-comment-edit textarea {
  width: 100%;
  min-height: 76px;
  border: 1px solid #cfd6e6;
  border-radius: 0;
  padding: 10px;
  resize: vertical;
  font: inherit;
}

.board-comment-edit {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.board-comment-reply {
  margin-top: 10px;
  display: grid;
  gap: 8px;
}

.board-comment-submit {
  height: 32px;
  min-width: 62px;
  border-radius: 0;
  font-size: 12px;
  font-weight: 700;
}

.write-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 2px;
}

.write-actions .btn {
  min-width: 76px;
  height: 34px;
  padding: 0 18px;
}

.board-dialog {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.board-dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 26, 39, 0.56);
}

.board-dialog-panel {
  position: relative;
  width: min(420px, 100%);
  display: grid;
  gap: 10px;
  padding: 18px;
  background: #fff;
  border: 1px solid #d8dce5;
  box-shadow: 0 24px 50px rgba(18, 28, 45, 0.24);
}

.board-dialog-panel-wide {
  width: min(520px, 100%);
}

.board-dialog-panel h2 {
  margin: 0 0 4px;
  font-size: 20px;
}

.board-dialog-panel label {
  font-size: 13px;
  font-weight: 700;
  color: #44506a;
}

.board-dialog-panel input {
  height: 42px;
  border: 1px solid #cfd6e6;
  border-radius: 0;
  padding: 0 10px;
}

.board-dialog-panel textarea {
  width: 100%;
  min-height: 126px;
  border: 1px solid #cfd6e6;
  border-radius: 0;
  padding: 10px;
  resize: vertical;
  font: inherit;
}

.board-poll-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.board-poll-option-list {
  display: grid;
  gap: 8px;
}

.board-poll-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
  align-items: center;
}

.board-poll-option-row input {
  width: 100%;
}

.board-poll-option-remove,
.board-poll-option-add {
  height: 34px;
  min-width: 42px;
  padding: 0 10px;
}

.board-check-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #44506a;
}

.board-check-row input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--primary-strong);
}

.board-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 6px;
}

.board-poll-result {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid #d8dce5;
  background: #fafbfd;
}

.board-poll-status {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 12px;
  font-size: 13px;
  color: #5b677f;
}

.board-poll-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border: 1px solid #cfd6e6;
  background: #fff;
  font-size: 12px;
  font-weight: 700;
}

.board-poll-badge.closed {
  border-color: #c44a4a;
  color: #a52d2d;
  background: #fff3f3;
}

.board-poll-options {
  display: grid;
  gap: 10px;
}

.board-poll-option {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid #d8dce5;
  background: #fff;
}

.board-poll-option.selected {
  border-color: #b9c8e8;
  background: #f8fbff;
}

.board-poll-option.leader {
  border-color: #f0c96a;
  background: linear-gradient(180deg, #fffdf6 0%, #fff8de 100%);
  box-shadow: inset 0 0 0 1px rgba(240, 201, 106, 0.25);
}

.board-poll-option-head {
  display: flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.board-poll-option-head input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.board-poll-check {
  width: 18px;
  height: 18px;
  border: 1px solid #b7c2d8;
  background: #fff;
  position: relative;
  flex: 0 0 18px;
}

.board-poll-option-head input:checked + .board-poll-check {
  border-color: #1d4ed8;
  background: #1d4ed8;
}

.board-poll-option-head input:checked + .board-poll-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.board-poll-option-label {
  font-weight: 600;
  color: #23314f;
  flex: 1 1 auto;
}

.board-poll-crown {
  flex: 0 0 auto;
  font-size: 15px;
  line-height: 1;
}

.board-poll-meter {
  position: relative;
  height: 8px;
  border-radius: 999px;
  background: #e9edf4;
  overflow: hidden;
}

.board-poll-meter span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2f61d8 0%, #6ea3ff 100%);
}

.board-poll-option.leader .board-poll-meter span {
  background: linear-gradient(90deg, #d49b00 0%, #ffd86b 100%);
}

.board-poll-numbers {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12px;
  color: #5d6880;
}

.board-poll-numbers strong {
  font-size: 13px;
  color: #22304b;
  font-weight: 800;
}

.board-poll-numbers span {
  display: inline-flex;
  align-items: center;
  min-width: 52px;
  justify-content: flex-end;
  font-weight: 700;
  color: #5f6f8d;
}

.board-poll-submit {
  margin-top: 12px;
  min-width: 110px;
}

#boardPagination {
  padding: 12px 8px 4px;
}

.board-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 0;
}

.board-pagination .pg-nav,
.board-pagination .pg-num {
  min-width: 26px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 1px solid transparent;
  color: #51607b;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
}

.board-pagination .pg-nav {
  color: #6a758d;
}

.board-pagination .pg-nav:hover,
.board-pagination .pg-num:hover {
  border-color: #d8dce5;
  background: #f7f9fc;
}

.board-pagination .pg-num.active {
  color: var(--primary-strong);
  font-weight: 800;
  border-color: rgba(231, 150, 0, 0.22);
  background: var(--surface-soft);
}

.board-list-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 4px;
}

.board-list-bottom-left,
.board-list-bottom-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.board-list-bottom-btn,
.board-list-bottom-write {
  min-width: 78px;
  height: 34px;
  padding: 0 14px;
  border-radius: 0;
  font-size: 13px;
  font-weight: 700;
}

.board-page-move-row {
  display: flex;
  justify-content: flex-end;
  padding: 0 10px 12px;
}

.board-page-move-btn {
  height: 28px;
  padding: 0 10px;
  border-radius: 16px;
  font-size: 12px;
  color: #4a5774;
}

.board-page-move-panel {
  width: min(320px, 100%);
}

.board-page-move-panel p {
  margin: 0;
  font-size: 12px;
  color: #62708a;
}

.board-page-move-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin-top: 2px;
}

.board-page-move-confirm,
.board-page-move-cancel {
  height: 34px;
  border-radius: 0;
  font-size: 12px;
}

.board-page-move-cancel {
  margin-top: 2px;
}

.board-list-type {
  display: inline-flex;
  width: 14px;
  height: 14px;
  margin-right: 4px;
  vertical-align: middle;
  border-radius: 50%;
  background: #d5dbe7;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
}

.board-list-type.image,
.board-list-type.video {
  background: #2fa16f;
}

.board-list-type.text {
  background: #9aa4b8;
}

.board-author-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 12px;
  height: 12px;
  margin-left: 2px;
  border-radius: 2px;
  background: #d7dde9;
  color: #5c6880;
  font-size: 8px;
  font-weight: 800;
}

.board-author-badge.member {
  background: var(--surface-soft);
  color: #8f5d00;
}

.member-level-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 2px 6px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid #d8deeb;
  background: #f4f7fb;
  color: #546176;
  vertical-align: middle;
}

.member-level-chip.compact {
  padding: 1px 5px;
  font-size: 10px;
}

.member-level-chip.is-free {
  border-color: #d6deec;
  background: #f4f7fb;
  color: #4f6079;
}

.member-level-chip.is-paid {
  border-color: #e2d8f0;
  background: linear-gradient(180deg, #f8f4ff 0%, #ede4ff 100%);
  color: #5f45a0;
}

.member-level-chip.tier-bronze:not(.is-admin) {
  border-color: #d6b095;
  background: linear-gradient(180deg, #f8ebe1 0%, #eed0b8 100%);
  color: #8b542e;
}

.member-level-chip.tier-silver:not(.is-admin) {
  border-color: #c9d1dd;
  background: linear-gradient(180deg, #f6f8fb 0%, #e3e9f2 100%);
  color: #58677d;
}

.member-level-chip.tier-gold:not(.is-admin) {
  border-color: #ead28f;
  background: linear-gradient(180deg, #fff5d4 0%, #ffe8a2 100%);
  color: #8a5c00;
}

.member-level-chip.is-admin {
  border-color: #e2c5ff;
  background: linear-gradient(180deg, #f8efff 0%, #eadbff 100%);
  color: #5c2f9b;
}

.admin-star-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff3c8 0%, #ffd76a 100%);
  color: #8a5c00;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  vertical-align: middle;
  box-shadow: inset 0 0 0 1px rgba(138, 92, 0, 0.18);
}

.admin-star-badge.compact {
  width: 14px;
  height: 14px;
  font-size: 10px;
}

.admin-star-badge.large {
  width: 18px;
  height: 18px;
  font-size: 12px;
  margin-left: 0;
}

.my-level-box {
  margin-top: 10px;
}

.my-level-panel {
  padding: 12px 14px;
  border: 1px solid #d8deeb;
  background: #f7f9fd;
  border-radius: 12px;
}

.my-level-panel.is-paid {
  border-color: #ead28f;
  background: linear-gradient(180deg, #fff9e7 0%, #fff2c9 100%);
}

.my-level-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.my-level-top strong {
  color: #1f2c44;
}

.my-level-panel p {
  margin: 4px 0 0;
  color: #556176;
  font-size: 13px;
}

.hide { display: none !important; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(24, 28, 39, 0.45);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(980px, 100%);
  max-height: 86vh;
  overflow: auto;
}

.holding-chart {
  width: 100%;
  min-height: 300px;
  border: 1px solid #ecd9b2;
  border-radius: 14px;
  background: #fffefb;
  overflow: hidden;
}

select[multiple] {
  min-height: 108px;
}

.auth-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 230px);
  padding: 12px 0;
}

.auth-card {
  width: min(460px, 100%);
  border-color: #e2d6bf;
  padding: 24px;
}

.auth-title {
  margin: 0 0 20px;
  text-align: center;
  color: var(--primary);
  font-size: clamp(24px, 3.6vw, 34px);
  letter-spacing: -0.03em;
}

.auth-stack {
  display: grid;
  gap: 12px;
}

.auth-submit {
  width: 100%;
  justify-content: center;
}

.auth-actions {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.auth-links {
  margin-top: 16px;
  text-align: center;
  color: #b27a14;
}

.auth-links p {
  margin: 8px 0;
}

.auth-links a {
  color: var(--primary);
  font-weight: 700;
}

.auth-card label {
  color: var(--primary);
  font-weight: 700;
}

.auth-card input {
  color: #7b4d00;
  border-color: #f0c36a;
}

.auth-card input::placeholder {
  color: #c59a4b;
}

.kakao-time {
  accent-color: var(--primary);
  border-color: #f0c36a;
  color: #7b4d00;
}

.kakao-time:focus {
  outline: 2px solid rgba(255, 168, 0, 0.3);
  border-color: var(--primary);
}

@media (max-width: 900px) {
  .site-header {
    backdrop-filter: none;
    background: #fffdf8;
    box-shadow: 0 4px 14px rgba(24, 16, 2, 0.06);
  }

  .grid-2, .form-grid, .split { grid-template-columns: 1fr; }
  .hero { padding: 24px; }
  .header-inner {
    min-height: 60px;
    padding: 8px 6px;
    gap: 10px;
  }
  .brand {
    gap: 0;
    flex: 0 0 auto;
  }
  .brand-logo {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .brand-copy,
  .nav,
  .auth-action {
    display: none;
  }
  .mobile-header-title {
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #24314a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .mobile-menu-toggle,
  .mobile-menu-layer {
    display: flex;
  }
  .zodiac-hero { min-height: 370px; }
  .zodiac-carousel { height: 286px; }
  .zodiac-card {
    width: min(318px, 82vw);
    min-height: 256px;
    transform: translateX(calc(-50% + (var(--offset, 0) * 64%))) scale(var(--scale, 1));
  }
  .zodiac-card-year { font-size: 22px; }
  .zodiac-year-list { max-height: 170px; }
  .zodiac-year-list li { grid-template-columns: auto auto; }
  .zodiac-year-list li em { grid-column: 1 / -1; }
  .board-list-toolbar {
    grid-template-columns: 1fr;
    justify-items: stretch;
    gap: 8px;
  }
  .board-center-filter {
    justify-content: flex-start;
  }
  .board-pagination {
    gap: 4px;
    overflow-x: auto;
    justify-content: center;
    padding-bottom: 4px;
  }
  .board-search-row input {
    width: min(100%, 520px);
  }
  .board-list-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .board-list-bottom-left,
  .board-list-bottom-right {
    justify-content: space-between;
  }
  .write-ad-box,
  .write-ai-box {
    flex-direction: column;
    align-items: flex-start;
  }
  .board-comment-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .board-login-required {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .board-editor-toolbar-media {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    padding: 8px;
  }

  .board-editor-toolbar-media .board-tool-group {
    display: contents;
    width: auto;
  }

  .board-editor-toolbar-media .board-media-btn {
    width: 100%;
    min-width: 0;
    justify-content: center;
  }

  .board-editor-toolbar-format {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    padding: 8px;
    background: #fff;
    position: relative;
    overflow: visible;
  }

  .board-editor-toolbar-format .board-tool-group-font {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    padding-right: 0;
    margin-right: 0;
    border-right: none;
  }

  .board-editor-toolbar-format .board-select-wrap-flat select {
    border: 1px solid #d8dce5;
    background: #fff;
    border-right: 1px solid #d8dce5;
    padding: 0 18px 0 6px;
    min-width: 84px;
  }

  .board-editor-toolbar-format .board-select-wrap-size select {
    min-width: 54px;
  }

  .board-toolbar-secondary-scroll {
    display: flex;
    width: 100%;
    min-width: 0;
    gap: 8px;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .board-toolbar-secondary-scroll .board-tool-group {
    width: auto;
    min-width: 0;
    flex-wrap: wrap;
    border-right: none;
    padding-right: 0;
    margin-right: 0;
  }

  .board-editor-toolbar-format .board-mini-menu {
    top: calc(100% + 6px);
    bottom: auto;
    z-index: 80;
  }

  .board-editor-toolbar-format .board-dc-table-menu,
  .board-editor-toolbar-format .board-dc-color-menu {
    top: calc(100% + 6px);
    bottom: auto;
  }

  .board-editor-toolbar-format .board-dc-menu-wrap {
    position: static;
  }

  .board-editor-toolbar-format .board-dc-color-menu {
    width: min(175px, calc(100vw - 24px));
    min-width: 175px !important;
    grid-template-columns: 149px;
    gap: 0;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: calc(100vw - 24px);
  }

  .board-editor-toolbar-format .board-dc-color-menu .board-dc-color-column:first-child {
    display: none;
  }

  .board-flat-btn,
  .board-editor-toolbar-format .board-menu-trigger {
    min-width: 30px;
    height: 28px;
  }

  .board-table {
    min-width: 0 !important;
    width: 100% !important;
  }

  .board-table thead {
    display: none;
  }

  .board-table,
  .board-table tbody,
  .board-table tr,
  .board-table td {
    display: block;
    width: 100%;
  }

  .board-table tbody tr {
    position: relative;
    padding: 12px 12px 10px;
    border-bottom: 1px solid #e2e7f0;
  }

  .board-table tbody td {
    border: 0;
    padding: 0;
    text-align: left;
  }

  .board-table tbody td:first-child {
    position: absolute;
    left: 12px;
    top: 12px;
    width: auto;
    font-size: 12px;
    font-weight: 700;
    color: #6a758d;
  }

  .board-table tbody td:nth-child(2),
  .board-table tbody td:nth-child(4),
  .board-table tbody td:nth-child(5),
  .board-table tbody td:nth-child(6),
  .board-table tbody td:nth-child(7) {
    display: none;
  }

  .board-table tbody td.board-col-title {
    padding-left: 28px;
  }

  .board-list-title-wrap {
    display: flex;
    align-items: flex-start;
    gap: 4px;
  }

  .board-list-title {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    line-height: 1.45;
  }

  .board-list-mobile-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #66748d;
  }

  .board-list-mobile-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }

  .board-list-mobile-meta .member-level-chip.compact {
    margin-left: 4px;
  }

  .board-list-empty {
    padding: 22px 12px !important;
  }

  .board-table tbody td.board-list-empty {
    position: static;
    width: 100%;
    padding-left: 0;
  }

  .board-list-bottom-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  .board-list-bottom-left,
  .board-list-bottom-right {
    justify-content: flex-start;
    flex: 0 0 auto;
  }

  .board-write-top,
  .board-comment-write {
    grid-template-columns: 1fr;
  }

  .board-write-ad {
    grid-template-columns: 1fr;
  }

  .board-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .board-search-select-wrap,
  .board-search-row input,
  .board-search-row .btn {
    width: 100%;
    flex: 1 1 auto;
  }

  .board-search-row select,
  .board-search-row input {
    border-right: 1px solid #cfd6e6;
  }

  .board-post-title-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .board-vote-row,
  .board-action-row {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .board-vote-row .board-vote-btn,
  .board-action-row .board-action-btn {
    flex: 1 1 calc(50% - 4px);
    min-width: 0;
  }

  .board-action-row {
    gap: 6px;
    flex-wrap: wrap;
    overflow: visible;
    padding-bottom: 2px;
  }

  .board-action-row .board-action-btn {
    flex: 0 0 auto;
    min-width: 0;
    height: 30px;
    padding: 0 9px;
    font-size: 11px;
    white-space: nowrap;
  }

  .board-action-row a.board-action-btn[href="/board/"] {
    order: 1;
    flex: 1 1 calc(25% - 4.5px);
  }

  #boardShareBtn {
    order: 2;
    flex: 1 1 calc(25% - 4.5px);
  }

  #boardScrapBtn {
    order: 3;
    flex: 1 1 calc(25% - 4.5px);
  }

  #boardReportBtn {
    order: 4;
    flex: 1 1 calc(25% - 4.5px);
  }

  .board-action-row a.board-action-btn[href*="mode=edit"] {
    order: 5;
    flex: 1 1 calc(50% - 3px);
  }

  #boardDeleteBtn {
    order: 6;
    flex: 1 1 calc(50% - 3px);
  }

  .board-editor-toolbar-media,
  .board-editor-toolbar-format {
    align-items: flex-start;
  }

  .board-editor-toolbar-media .board-tool-group {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
    width: 100%;
    flex-wrap: wrap;
  }

  .board-html-toggle {
    margin-left: 0;
    padding-top: 4px;
  }

  .board-dc-color-menu {
    width: auto;
    min-width: 252px !important;
    grid-template-columns: repeat(2, minmax(112px, 1fr));
    gap: 8px;
  }

  .board-poll-form-grid {
    grid-template-columns: 1fr;
  }
}





