:root {
  --page: #07090a;
  --panel: #0d1112;
  --panel-soft: #111617;
  --panel-raised: #151a1c;
  --line: #30383a;
  --line-bright: #485355;
  --text: #eee9dc;
  --muted: #90999a;
  --dim: #5b6465;
  --gold: #d8b456;
  --gold-bright: #f2d378;
  --cyan: #50cfe1;
  --red: #bb6266;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Malgun Gothic", "Noto Sans KR", Arial, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  min-width: 1180px;
  background: var(--page);
  scroll-behavior: smooth;
}
body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: var(--sans);
  background:
    radial-gradient(circle at 50% -10%, rgba(63, 77, 78, 0.2), transparent 34%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.012) 0 1px,
      transparent 1px 7px
    ),
    #07090a;
}
button,
input,
select {
  font: inherit;
}
a,
button {
  -webkit-tap-highlight-color: transparent;
}
button {
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
.hidden-input {
  display: none !important;
}
.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.35;
  background:
    linear-gradient(
      90deg,
      transparent 49.9%,
      rgba(255, 255, 255, 0.018) 50%,
      transparent 50.1%
    ),
    linear-gradient(
      transparent 49.9%,
      rgba(255, 255, 255, 0.012) 50%,
      transparent 50.1%
    );
  background-size: 80px 80px;
}
.guide-shell {
  position: relative;
  width: 1120px;
  min-height: calc(100vh - 60px);
  margin: 30px auto;
  padding: 18px;
  border: 1px solid #252c2e;
  background: rgba(8, 11, 12, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}
.guide-shell:after,
.guide-shell:before {
  position: absolute;
  z-index: 2;
  content: "";
  width: 42px;
  height: 42px;
  pointer-events: none;
}
.guide-shell:before {
  top: 8px;
  left: 8px;
  border-top: 1px solid #8d9693;
  border-left: 1px solid #8d9693;
}
.guide-shell:after {
  right: 8px;
  bottom: 8px;
  border-right: 1px solid #8d9693;
  border-bottom: 1px solid #8d9693;
}
.guide-header {
  display: flex;
  align-items: center;
  min-height: 125px;
  padding: 20px 26px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(216, 180, 86, 0.045), transparent 34%), #0d1011;
}
.brand-mark {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  margin-right: 27px;
  transform: rotate(45deg);
  cursor: pointer;
  border: 1px solid #816b32;
  background: 0 0;
  box-shadow: inset 0 0 18px rgba(216, 180, 86, 0.08);
}
.brand-mark span {
  color: #f1d37b;
  font: 700 28px/1 var(--serif);
  transform: rotate(-45deg);
}
.brand-copy p,
.section-kicker {
  margin: 0 0 8px;
  color: var(--cyan);
  font: 700 11px/1 var(--serif);
  letter-spacing: 0.26em;
}
.brand-copy h1 {
  margin: 0;
  color: #f4efe2;
  font: 700 42px/0.95 var(--serif);
  letter-spacing: 0.06em;
  text-shadow: 1px 1px 0 #795b2a;
}
.brand-copy > span {
  display: block;
  margin-top: 12px;
  color: #8d9693;
  font: 700 10px/1 var(--sans);
  letter-spacing: 0.34em;
}
.header-actions {
  display: flex;
  gap: 7px;
  margin-left: auto;
}
.header-actions button {
  height: 38px;
  padding: 0 15px;
  color: #7c8586;
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.08em;
  cursor: pointer;
  border: 1px solid transparent;
  background: 0 0;
}
.header-actions button.is-active,
.header-actions button:hover {
  color: #eadbaf;
  border-color: #5b512f;
  background: #17160f;
}

.header-actions button.is-active {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.header-actions .write {
  color: #77cbd4;
  border-color: #365e63;
  background: #0c1719;
}
.admin-session-form {
  margin: 0;
}
.header-actions .admin-access {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 13px;
  color: #7c8586;
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.1em;
  cursor: pointer;
  border: 1px solid #30383a;
  background: #0b0f10;
}
.header-actions .admin-access:hover {
  color: #eadbaf;
  border-color: #5b512f;
  background: #17160f;
}
.header-meta {
  margin-left: 22px;
  padding-left: 24px;
  text-align: right;
  border-left: 1px solid #282f31;
}
.header-meta small {
  display: block;
  margin-bottom: 8px;
  color: #697273;
  font-size: 10px;
  letter-spacing: 0.18em;
}
.header-meta strong {
  color: #72d5c0;
  font: 700 12px/1 var(--serif);
  letter-spacing: 0.12em;
}
.archive-heading {
  display: flex;
  align-items: end;
  padding: 48px 30px 22px;
}
.archive-heading h2,
.board-toolbar h2,
.editor-heading h2 {
  margin: 0;
  color: #f2ede0;
  font-size: 31px;
  line-height: 1.1;
}
.section-description {
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.terminal-position {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-left: auto;
  color: #626b6c;
  font: 700 13px/1 var(--serif);
}
.terminal-position strong {
  color: var(--gold-bright);
  font-size: 25px;
}
.terminal-section {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 42px;
  align-items: center;
  gap: 13px;
  padding: 0 6px 46px;
}
.terminal-viewport {
  overflow: hidden;
}
.terminal-track {
  display: flex;
  column-gap: 16px;
  transition: transform 330ms;
}
.terminal-card {
  --accent: var(--gold);
  --terminal-image: none;
  position: relative;
  isolation: isolate;
  flex: 0 0 calc((100% - 48px) / 4);
  height: 178px;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  border: 1px solid #40494b;
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 9, 0.04) 0,
      rgba(5, 8, 9, 0.12) 30%,
      rgba(5, 8, 9, 0.7) 68%,
      rgba(5, 8, 9, 0.98) 100%
    ),
    var(--terminal-image) center/cover no-repeat,
    linear-gradient(135deg, #171c1e, #090c0d 70%);
  transition:
    border-color 0.18s,
    transform 0.18s,
    filter 0.18s;
}
.terminal-card:before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.6;
  background:
    linear-gradient(
      110deg,
      transparent 45%,
      rgba(255, 255, 255, 0.035) 46%,
      transparent 48%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      rgba(255, 255, 255, 0.015) 12px 13px
    );
}
.terminal-card:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  content: "";
  background: linear-gradient(
    90deg,
    transparent 8%,
    var(--accent) 50%,
    transparent 92%
  );
  box-shadow: 0 0 14px color-mix(in srgb, var(--accent) 46%, transparent);
}
.terminal-card:hover {
  z-index: 1;
  border-color: color-mix(in srgb, var(--accent) 65%, #586264);
  filter: brightness(1.12);
}
.terminal-card--red {
  --accent: #a94c4f;
}
.terminal-card--violet {
  --accent: #76558f;
}
.terminal-card--cyan {
  --accent: #3f9fac;
}
.terminal-card--green {
  --accent: #4d8c75;
}
.terminal-card--blue {
  --accent: #4e719b;
}
.terminal-code {
  position: absolute;
  top: 14px;
  left: 16px;
  color: var(--accent);
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.14em;
}
.terminal-signal {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.terminal-content {
  position: absolute;
  right: 20px;
  bottom: 22px;
  left: 20px;
}
.terminal-content em,
.terminal-content small,
.terminal-content strong {
  display: block;
}
.terminal-content small {
  margin-bottom: 9px;
  color: var(--accent);
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.18em;
}
.terminal-content strong {
  font-size: 17px;
}
.terminal-content em {
  margin-top: 8px;
  font-size: 12px;
  font-style: normal;
}
.terminal-corner {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 24px;
  height: 24px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  border-left: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
}
.terminal-arrow {
  display: grid;
  width: 42px;
  height: 76px;
  place-items: center;
  padding: 0 0 5px;
  color: #c7cfcc;
  font: 400 40px/1 var(--serif);
  cursor: pointer;
  border: 1px solid #3b4446;
  background: #101415;
  transition: 0.16s;
}
.terminal-arrow:hover:not(:disabled) {
  color: var(--gold-bright);
  border-color: #8c753a;
  background: #181710;
}
.terminal-arrow:disabled {
  color: #333a3b;
  cursor: default;
}
.guide-board {
  margin: 0 12px 12px;
  border: 1px solid var(--line);
  background: #0b0e0f;
}
.board-toolbar {
  display: flex;
  align-items: end;
  padding: 28px 28px 22px;
  border-bottom: 1px solid var(--line);
  background: #101415;
}
.board-toolbar h2 {
  font-size: 25px;
}
.board-toolbar > div > p:last-child {
  margin: 8px 0 0;
  color: #667071;
  font-size: 11px;
}
.board-toolbar > div > p strong {
  color: var(--gold-bright);
}
.guide-search {
  width: 470px;
  margin-left: auto;
}
.guide-search label {
  display: block;
  margin-bottom: 8px;
  color: #879091;
  font-size: 11px;
}
.guide-search > div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 82px;
}

.guide-search select {
  min-width: 0;
  height: 42px;
  padding: 0 10px;
  color: #aeb8b7;
  outline: 0;
  cursor: pointer;
  border: 1px solid #3c4648;
  border-right: 0;
  background: #101516;
}

.guide-search select:focus {
  color: #dfe7e5;
  border-color: #60878d;
}

.guide-search input {
  min-width: 0;
  height: 42px;
  padding: 0 14px;
  color: #e5e8e5;
  outline: 0;
  border: 1px solid #3c4648;
  border-right: 0;
  background: #090c0d;
}
.guide-search input:focus {
  border-color: #60878d;
}
.guide-search button {
  color: var(--cyan);
  cursor: pointer;
  border: 1px solid #477a81;
  background: #0b181a;
}
.category-filter {
  display: flex;
  gap: 7px;
  padding: 14px 18px;
  border-bottom: 1px solid #272e30;
}
.category-filter button {
  min-width: 82px;
  height: 34px;
  padding: 0 13px;
  color: #7f898a;
  cursor: pointer;
  border: 1px solid transparent;
  background: 0 0;
}
.category-filter button.is-active,
.category-filter button:hover {
  color: #eadbaf;
  border-color: #61552f;
  background: #17160f;
}
.category-filter .write-shortcut {
  margin-left: auto;
  color: #65c3cd;
  border-color: #31545a;
}
.board-table-wrap {
  min-height: 435px;
  padding: 0 18px 10px;
}
.board-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.column-category {
  width: 128px;
}
.column-number {
  width: 85px;
}
.column-author {
  width: 120px;
}
.column-date {
  width: 125px;
}
.column-views {
  width: 90px;
}
.board-table th {
  height: 48px;
  color: #7f8889;
  font-size: 11px;
  font-weight: 400;
  text-align: center;
  border-bottom: 1px solid #343c3e;
}
.board-table td {
  height: 58px;
  padding: 0 12px;
  color: #a7aeae;
  font-size: 13px;
  text-align: center;
  border-bottom: 1px solid #22292a;
}
.board-table tr:hover td {
  background: #111617;
}
.board-table .board-title {
  color: #deded8;
  font-size: 14px;
  text-align: left;
}
.board-title button {
  width: 100%;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border: 0;
  background: 0 0;
}
.board-title button:hover {
  color: var(--gold-bright);
}

.featured-dot {
  display: inline-block;
  margin-right: 10px;
  color: #58cbd5;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.featured-dot::before,
.featured-dot::after {
  content: none;
}

.board-title button:hover .featured-dot {
  color: #9ce9ef;
}

.category-badge {
  display: inline-grid;
  min-width: 76px;
  height: 25px;
  place-items: center;
  color: #9ca8a7;
  font-size: 11px;
  border: 1px solid #364042;
}
.category-badge.notice {
  color: #ead696;
  border-color: #6b5e35;
  background: #1d1a10;
}

/* 게시글 카테고리별 은은한 구분색 */
.board-table tr[data-category="초보자"] .category-badge {
  color: #d9c98e;
  border-color: rgba(166, 143, 73, 0.5);
  background: rgba(72, 61, 27, 0.16);
}

.board-table tr[data-category="이벤트 · 보스"] .category-badge {
  color: #d79797;
  border-color: rgba(160, 79, 79, 0.48);
  background: rgba(76, 31, 31, 0.17);
}

.board-table tr[data-category="특화 아이템"] .category-badge {
  color: #b9a0d8;
  border-color: rgba(119, 88, 153, 0.5);
  background: rgba(57, 39, 75, 0.18);
}

.board-table tr[data-category="기능"] .category-badge {
  color: #88aee0;
  border-color: rgba(70, 103, 153, 0.58);
  background: rgba(24, 40, 67, 0.28);
}

.board-table tr[data-category="성장"] .category-badge {
  color: #89d49c;
  border-color: rgba(69, 151, 91, 0.58);
  background: rgba(27, 72, 40, 0.25);
}

.board-table tr[data-category="기타"] .category-badge {
  color: #aeb5b5;
  border-color: rgba(104, 116, 117, 0.48);
  background: rgba(48, 56, 57, 0.17);
}

.notice-mark,
.draft-mark,
.scheduled-mark {
  display: inline-grid;
  min-width: 55px;
  height: 25px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.04em;
  border: 1px solid;
  border-radius: 2px;
  place-items: center;
  white-space: nowrap;
}

.notice-mark {
  color: #f4d66f;
  border-color: #75632d;
  background: rgba(58, 48, 17, 0.62);
  box-shadow: inset 0 0 11px rgba(221, 183, 70, 0.08);
}
.board-table tr.is-draft td {
  background: rgba(86, 197, 216, 0.045);
}
.board-table tr.is-draft .board-title button {
  color: #a9cbd0;
}
.draft-mark {
  color: #63d9e7;
  border-color: #34636a;
  background: rgba(20, 53, 58, 0.58);
  box-shadow: inset 0 0 11px rgba(83, 207, 222, 0.08);
}
.board-empty {
  padding: 105px 0;
  color: #8d9798;
  text-align: center;
}
.board-empty > span {
  display: block;
  margin-bottom: 13px;
  color: var(--gold);
  font-size: 28px;
}
.board-empty strong {
  color: #d9dad5;
  font-size: 17px;
}
.board-empty p {
  margin: 9px 0 20px;
  color: #616a6b;
  font-size: 12px;
}
.board-empty button {
  height: 34px;
  padding: 0 18px;
  color: #c3b47e;
  cursor: pointer;
  border: 1px solid #584e2d;
  background: #17160f;
}
.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 4px 0 28px;
}
.pagination button {
  min-width: 38px;
  height: 35px;
  padding: 0 12px;
  color: #7d8788;
  cursor: pointer;
  border: 1px solid #30383a;
  background: #0c1011;
}
.pagination button.is-current {
  color: var(--gold-bright);
  border-color: #76632f;
}
.pagination button:disabled {
  color: #353c3d;
  cursor: default;
}
.article-page {
  padding: 30px 12px 0;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 8px 18px;
  color: #626b6c;
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.08em;
}
.breadcrumb button {
  padding: 0;
  color: var(--cyan);
  cursor: pointer;
  border: 0;
  background: 0 0;
}
.breadcrumb strong {
  color: #a99c70;
}
.guide-article {
  border: 1px solid var(--line);
  background: #0b0e0f;
  overflow: hidden;
}
.article-header {
  position: relative;
  padding: 42px 48px 34px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(110deg, rgba(216, 180, 86, 0.06), transparent 45%), #101415;
}
.article-header:after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, var(--gold), transparent 35%);
}
.article-label {
  display: flex;
  align-items: center;
  gap: 9px;
}
.article-label em,
.article-label span {
  display: inline-grid;
  height: 25px;
  place-items: center;
  padding: 0 10px;
  color: #d5c078;
  font: 700 9px/1 var(--serif);
  font-style: normal;
  letter-spacing: 0.1em;
  border: 1px solid #665a33;
}
.article-label em {
  color: #5ec7d4;
  border-color: #315e64;
}
.article-header h2 {
  max-width: 860px;
  margin: 18px 0;
  color: #f1ede2;
  font-size: 30px;
  letter-spacing: -0.03em;
}
.article-meta {
  display: flex;
  gap: 0;
  color: #737d7e;
  font-size: 11px;
}
.article-meta span {
  padding: 0 14px;
  border-right: 1px solid #303638;
}
.article-meta span:first-child {
  padding-left: 0;
}
.article-meta span:last-child {
  border: 0;
}
.article-meta strong {
  color: #c7cdca;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 700px;
}

.article-content {
  color: #c9cfcb;
  font-size: 15px;
}
.article-content .article-lead {
  margin: 0 0 28px;
  color: #eef0e9;
  font-size: 17px;
  line-height: 1.9;
}
.article-content h1,
.article-content h2,
.article-content h3 {
  color: #f0ece1;
}
.article-content h2 {
  position: relative;
  padding: 0 0 12px;
  border-bottom: 1px solid #303839;
}
.article-content h2:after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 1px;
  content: "";
  background: var(--gold);
}
.article-content ol,
.article-content ul {
  padding-left: 23px;
}
.article-content blockquote {
  padding: 18px 22px;
  color: #d9d6ca;
  border-left: 3px solid #847036;
  background: #14150f;
}
.article-content a {
  color: #72d2de;
  text-decoration: underline;
}
.article-alert {
  display: grid;
  grid-template-columns: 120px 1fr;
  margin: 30px 0;
  padding: 18px 20px;
  border: 1px solid #5b5030;
  background: linear-gradient(90deg, #19170f, #101211);
}
.article-alert strong {
  color: var(--gold-bright);
  font: 700 11px/1.7 var(--serif);
  letter-spacing: 0.12em;
}
.article-alert p {
  margin: 0 !important;
  color: #aaa99f;
  font-size: 13px;
}
.guide-figure {
  margin: 32px 0;
  text-align: center;
}
.figure-art {
  display: flex;
  height: 255px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #394345;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(80, 207, 225, 0.14),
      transparent 28%
    ),
    radial-gradient(
      circle at 50% 50%,
      rgba(216, 180, 86, 0.08),
      transparent 55%
    ),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.018) 0 1px,
      transparent 1px 10px
    ),
    #101719;
}
.figure-art span {
  color: #5d6c6f;
  font: 700 54px/1 var(--serif);
  letter-spacing: 0.14em;
}
.figure-art strong {
  margin-top: -5px;
  color: #d6c27d;
  font: 700 18px/1 var(--serif);
  letter-spacing: 0.22em;
}
.figure-art small {
  margin-top: 14px;
  color: #669aa1;
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.18em;
}
.guide-figure > p {
  margin: 8px 0 !important;
  color: #667071 !important;
  font-size: 11px;
}
.article-content table {
  margin: 25px 0;
  color: #bfc5c1;
}
.article-content td,
.article-content th {
  text-align: left;
  border: 1px solid #394143;
}
.article-content th {
  color: #dfd4a6;
  background: #171810;
}
.article-content td {
  background: #0f1314;
}
.article-footer {
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
  border-top: 1px solid var(--line);
  background: #0f1314;
}
.article-footer > div {
  display: flex;
  gap: 7px;
}
.article-footer button {
  height: 37px;
  padding: 0 17px;
  color: #939c9d;
  cursor: pointer;
  border: 1px solid #394244;
  background: #0b0f10;
}
.article-footer .primary {
  color: #e7d696;
  border-color: #675a32;
  background: #1a180f;
}
.article-footer .danger {
  color: #d88989;
  border-color: #693c3c;
  background: #1b1011;
}
.article-footer .danger:hover {
  color: #ffd2d2;
  border-color: #a75656;
  background: #2a1416;
}
.article-footer button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 14px;
  border: 1px solid #2c3436;
}
.post-navigation button {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 6px;
  padding: 18px 23px;
  text-align: left;
  cursor: pointer;
  border: 0;
  background: #0d1112;
}
.post-navigation button + button {
  border-left: 1px solid #2c3436;
}
.post-navigation small {
  color: #5d6869;
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.12em;
}
.post-navigation span {
  grid-row: 1/3;
  grid-column: 2;
  color: #776936;
}
.post-navigation strong {
  color: #bfc3bd;
  font-size: 12px;
}
.editor-page {
  padding: 42px 12px 0;
}
.editor-page.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 20;
  width: 100vw;
  height: 100vh;
  padding: 18px 24px;
  overflow: auto;
  background: #07090a;
}
.editor-page.is-fullscreen .editor-heading,
.editor-page.is-fullscreen form {
  max-width: 1500px;
  margin: auto;
}
.editor-heading {
  display: flex;
  align-items: end;
  padding: 0 6px 22px;
}
.editor-heading h2 {
  font-size: 29px;
}
.editor-heading > div > p:last-child {
  margin: 10px 0 0;
  color: #7a8485;
  font-size: 12px;
}
.autosave {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  padding: 10px 13px;
  border: 1px solid #2f393a;
  background: #0c1011;
}
.autosave > span {
  color: #55c4a8;
  font-size: 9px;
}
.autosave small,
.autosave strong {
  display: block;
}
.autosave small {
  color: #5d6768;
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.12em;
}
.autosave strong {
  margin-top: 5px;
  color: #a0aaa8;
  font-size: 10px;
  font-weight: 400;
}
.editor-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 14px;
}
.editor-main {
  min-width: 0;
}
.title-field {
  position: relative;
  padding: 19px 21px;
  border: 1px solid var(--line);
  background: #0e1213;
}
.title-field label {
  display: block;
  margin-bottom: 9px;
  color: #8a9495;
  font-size: 11px;
}
.title-field label span {
  color: #d46666;
}
.title-field input {
  width: 100%;
  height: 50px;
  padding: 0 55px 0 15px;
  color: #eff0e9;
  font-size: 16px;
  outline: 0;
  border: 1px solid #3b4547;
  background: #080b0c;
}
.title-field input:focus {
  border-color: #6c6039;
  box-shadow: inset 3px 0 0 var(--gold);
}
.title-field > small {
  position: absolute;
  right: 35px;
  bottom: 38px;
  color: #596263;
  font-size: 9px;
}
.editor-card {
  margin-top: 12px;
  border: 1px solid var(--line);
  background: #0b0e0f;
}
.paste-guide {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 54px;
  padding: 10px 14px;
  border-bottom: 1px solid #384041;
  background:
    linear-gradient(90deg, rgba(75, 173, 181, 0.08), transparent), #101617;
}
.clean-indicator {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}
.clean-indicator span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #081011;
  font-size: 11px;
  border-radius: 50%;
  background: #66c6b6;
}
.clean-indicator strong {
  color: #89ddd0;
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.06em;
}
.paste-guide p {
  margin: 0;
  color: #859091;
  font-size: 11px;
}
.paste-guide p strong {
  color: #c5ccc8;
}
.editor-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  border-bottom: 1px solid #3a4345;
  background: #151a1b;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
.color-tool,
.editor-toolbar button,
.editor-toolbar select {
  display: grid;
  place-items: center;
  padding: 0 8px;
  color: #b6bdbb;
  cursor: pointer;
  border: 1px solid #343d3f;
  background: #0e1213;
}
.color-tool:hover,
.editor-toolbar button.is-active,
.editor-toolbar button:hover,
.editor-toolbar select:hover {
  color: #f0d987;
  border-color: #6a5b31;
  background: #1b190f;
}
.editor-toolbar select {
  display: block;
  outline: 0;
}
.tool-divider {
  width: 1px;
  height: 23px;
  margin: 0 3px;
  background: #354042;
}
.toolbar-break {
  flex-basis: 100%;
  height: 0;
}
.toolbar-spacer {
  flex: 1;
}
.editor-toolbar button[title^="굵게"] {
  font-weight: 700;
}
.editor-toolbar button[title^="기울임"] {
  font-style: italic;
}
.editor-toolbar button[title^="밑줄"] {
  text-decoration: underline;
}
.color-tool {
  position: relative;
  padding: 0;
}
.color-tool span {
  display: grid;
  place-items: center;
  font-weight: 700;
  border-bottom: 3px solid #eee9dc;
}
.color-tool.highlight span {
  border-color: #66531f;
}
.color-tool input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.content-editor {
  min-height: 590px;
  padding: 42px 48px;
  color: #d3d7d2;
  font-size: 15px;
  line-height: 1.85;
  outline: 0;
  background:
    radial-gradient(
      circle at 50% 0,
      rgba(255, 255, 255, 0.018),
      transparent 28%
    ),
    #0b0e0f;
}
.content-editor:focus {
  box-shadow: inset 0 0 0 1px #4b5556;
}
.content-editor h1,
.content-editor h2,
.content-editor h3 {
  color: #f0ece1;
}
.content-editor h2 {
  margin: 30px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #384143;
}
.content-editor h3 {
  margin: 22px 0 10px;
}
.content-editor p {
  margin: 10px 0;
}
.content-editor blockquote {
  margin: 22px 0;
  padding: 15px 18px;
  border-left: 3px solid var(--gold);
  background: #15150f;
}
.content-editor img {
  margin: 20px auto;
  border: 1px solid #3a4344;
}
.content-editor figure {
  margin: 25px 0;
}
.content-editor figcaption {
  color: #687273;
  font-size: 11px;
  text-align: center;
}
.content-editor table {
  margin: 20px 0;
}
.content-editor td,
.content-editor th {
  border: 1px solid #465052;
}
.content-editor a {
  color: #68c7d3;
  text-decoration: underline;
}
.content-editor hr {
  border-top: 1px solid #40494a;
}
.editor-status {
  display: flex;
  justify-content: space-between;
  padding: 9px 13px;
  color: #596364;
  font-size: 9px;
  border-top: 1px solid #2d3536;
  background: #0d1112;
}
.attachment-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
  padding: 17px 20px;
  border: 1px solid var(--line);
  background: #0e1213;
}
.attachment-card > div span,
.attachment-card > div strong {
  display: block;
}
.attachment-card > div strong {
  color: #c9ceca;
  font-size: 12px;
}
.attachment-card > div span {
  margin-top: 5px;
  color: #616b6c;
  font-size: 9px;
}
.attachment-card > button {
  margin-left: auto;
  height: 33px;
  padding: 0 13px;
  color: #aeb6b4;
  cursor: pointer;
  border: 1px solid #3a4445;
  background: #0a0e0f;
}
.attachment-card ul {
  flex-basis: 100%;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.attachment-card li {
  display: flex;
  justify-content: space-between;
  padding: 9px 11px;
  color: #9fa8a6;
  font-size: 10px;
  border-top: 1px solid #252d2e;
}
.editor-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.setting-card {
  padding: 20px;
  border: 1px solid var(--line);
  background: #0e1213;
}
.setting-title {
  margin-bottom: 20px;
}
.setting-title small,
.setting-title strong {
  display: block;
}
.setting-title small {
  color: var(--cyan);
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.15em;
}
.setting-title strong {
  margin-top: 8px;
  color: #e2dfd6;
  font-size: 16px;
}
.setting-card > label {
  display: block;
  margin-top: 15px;
  color: #858f90;
  font-size: 10px;
}
.setting-card select {
  width: 100%;
  height: 39px;
  margin-top: 7px;
  padding: 0 10px;
  color: #bbc3c0;
  outline: 0;
  border: 1px solid #394345;
  background: #090d0e;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.checklist p {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 12px 0;
  color: #717b7c;
  font-size: 10px;
}
.checklist p span {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  color: #818a8b;
  border: 1px solid #3a4344;
  border-radius: 50%;
}
.checklist p.done {
  color: #9fb0aa;
}
.checklist p.done span {
  color: #66c5aa;
  border-color: #396b5e;
}
.editor-help {
  padding: 17px 18px;
  border: 1px solid #4b4329;
  background: #15140e;
}
.editor-help strong {
  color: #dac479;
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.1em;
}
.editor-help p {
  margin: 9px 0 0;
  color: #77766e;
  font-size: 10px;
  line-height: 1.7;
}
.editor-actions {
  display: flex;
  gap: 7px;
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  background: #101415;
}
.editor-actions span {
  flex: 1;
}
.editor-actions button {
  height: 40px;
  padding: 0 18px;
  color: #9ca5a4;
  cursor: pointer;
  border: 1px solid #3a4345;
  background: #0a0e0f;
}
.editor-actions button:hover {
  color: #e0d5ad;
  border-color: #625732;
}
.editor-actions .publish {
  min-width: 125px;
  color: #f0dc96;
  border-color: #726231;
  background: linear-gradient(#252113, #17160f);
}
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 35px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(5px);
}
.preview-window {
  display: flex;
  width: 900px;
  max-height: 90vh;
  flex-direction: column;
  border: 1px solid #556062;
  background: #0b0e0f;
  box-shadow: 0 25px 80px #000;
}
.preview-window > header {
  display: flex;
  align-items: center;
  padding: 18px 21px;
  border-bottom: 1px solid #394244;
  background: #101516;
}
.preview-window header small,
.preview-window header strong {
  display: block;
}
.preview-window header small {
  color: var(--cyan);
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.14em;
}
.preview-window header strong {
  margin-top: 7px;
  color: #e9e6dc;
  font-size: 15px;
}
.preview-window header button {
  margin-left: auto;
  color: #9ba4a3;
  font-size: 24px;
  cursor: pointer;
  border: 0;
  background: 0 0;
}
.preview-window > .article-content {
  max-width: none;
  overflow: auto;
}
.preview-window > footer {
  padding: 13px;
  text-align: right;
  border-top: 1px solid #303839;
}
.preview-window footer button {
  height: 35px;
  padding: 0 15px;
  color: #d1c188;
  cursor: pointer;
  border: 1px solid #5b5030;
  background: #17160f;
}
.toast {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 11px;
  max-width: 440px;
  padding: 16px 20px;
  color: #d8ddd9;
  font-size: 12px;
  border: 1px solid #5b5132;
  background: #12150f;
  box-shadow: 0 16px 45px #000;
  animation: 0.24s toast-in;
}
.toast span {
  color: var(--gold);
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.guide-footer {
  padding: 25px 0 12px;
  color: #4c5556;
  font: 700 9px/1 var(--serif);
  text-align: center;
  letter-spacing: 0.22em;
}
.preview-modal[hidden],
.screen[hidden],
.toast[hidden],
[hidden] {
  display: none !important;
}
.screen {
  display: block;
}
.toast p {
  margin: 0;
}
.attachment-card ul[hidden] {
  display: none !important;
}
#previewContent,
.article-content,
.article-layout,
.content-editor {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}
#previewContent td:has(img),
.article-content td:has(img),
.content-editor td:has(img) {
  padding: 5px !important;
}
#previewContent tr[style*="background-color"] > td,
#previewContent tr[style*="background-color"] > th,
.article-content tr[style*="background-color"] > td,
.article-content tr[style*="background-color"] > th,
.content-editor tr[style*="background-color"] > td,
.content-editor tr[style*="background-color"] > th {
  background-color: inherit;
}
#previewContent tr[style*="color"] > td,
#previewContent tr[style*="color"] > th,
.article-content tr[style*="color"] > td,
.article-content tr[style*="color"] > th,
.content-editor tr[style*="color"] > td,
.content-editor tr[style*="color"] > th {
  color: inherit;
}
#previewContent img,
.article-content img,
.content-editor img {
  display: block;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  object-fit: contain;
  margin-right: auto;
  margin-left: auto;
}
#previewContent figure,
.article-content figure,
.content-editor figure {
  width: auto !important;
  max-width: 100% !important;
  margin-right: 0;
  margin-left: 0;
}
#previewContent table,
.article-content table,
.content-editor table {
  width: 100%;
  table-layout: fixed;
}
#previewContent table img,
.article-content table img,
.content-editor table img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}
#previewContent td,
#previewContent th,
.article-content td,
.article-content th,
.content-editor td,
.content-editor th {
  padding: 7px 10px !important;
  line-height: 1.45 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal !important;
}
#previewContent code,
#previewContent pre,
.article-content code,
.article-content pre,
.content-editor code,
.content-editor pre {
  max-width: 100%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}
#previewContent iframe,
#previewContent video,
.article-content iframe,
.article-content video,
.content-editor iframe,
.content-editor video {
  max-width: 100% !important;
}
@media print {
  html {
    min-width: 0;
  }
  .guide-shell {
    width: 100%;
    margin: 0;
    border: 0;
  }
  .article-footer,
  .article-index,
  .breadcrumb,
  .guide-footer,
  .guide-header,
  .post-navigation {
    display: none !important;
  }
  .article-layout {
    display: block;
  }
  .article-content {
    max-width: none;
    color: #111;
    background: #fff;
  }
  .guide-article {
    border: 0;
    background: #fff;
  }
}
@media (max-width: 1240px) {
  html {
    min-width: 1024px;
  }
  .guide-shell {
    width: 1000px;
  }
  .brand-copy h1 {
    font-size: 35px;
  }
  .brand-copy > span {
    letter-spacing: 0.22em;
  }
  .header-actions button {
    padding: 0 9px;
  }
  .header-meta {
    display: none;
  }
  .article-content {
    padding: 42px 45px;
  }
  .editor-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }
  .editor-toolbar select {
    min-width: 75px;
  }
  .content-editor {
    padding: 35px;
  }
}

.article-content {
  width: 100%;
  max-width: none;
  padding: 44px 38px 68px;
  line-height: 1.7;
}
.article-content h2 {
  margin: 44px 0 18px;
  padding-bottom: 10px;
  font-size: 20px;
}
.article-content h3 {
  margin: 25px 0 10px;
  font-size: 16px;
}
.article-content p {
  margin: 9px 0;
}
.article-content li {
  margin: 5px 0;
}
.article-content blockquote {
  margin: 22px 0;
}
.article-content .article-alert {
  margin: 24px 0;
}
.article-content .guide-figure,
.article-content figure {
  margin-top: 26px;
  margin-bottom: 26px;
}
.article-content table {
  margin-top: 20px;
  margin-bottom: 20px;
}

.article-footer--right {
  justify-content: flex-end;
}
.article-load-error,
.database-error {
  margin: 18px;
  padding: 22px 24px;
  border: 1px solid rgba(226, 99, 99, 0.42);
  background: rgba(96, 23, 23, 0.12);
  color: #c9d2d2;
}
.article-load-error strong,
.database-error strong {
  color: #ff8585;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.4px;
}
.article-load-error p,
.database-error p {
  margin: 8px 0 0;
}
.article-content.is-loading {
  min-height: 420px;
}
.article-loading {
  color: #6f8184;
  font-family: var(--font-mono);
  letter-spacing: 0.8px;
}
.board-title button:disabled,
.editor-actions button:disabled {
  cursor: wait;
  opacity: 0.55;
}
body[data-admin="0"] #editorScreen {
  display: none !important;
}
.admin-auth-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 60px 0;
}
.admin-login-shell {
  position: relative;
  width: 460px;
  padding: 48px 48px 38px;
  border: 1px solid #30383a;
  background: rgba(12, 17, 18, 0.98);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.58);
}
.admin-login-shell:after,
.admin-login-shell:before {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
  pointer-events: none;
}
.admin-login-shell:before {
  top: 10px;
  left: 10px;
  border-top: 1px solid #768083;
  border-left: 1px solid #768083;
}
.admin-login-shell:after {
  right: 10px;
  bottom: 10px;
  border-right: 1px solid #768083;
  border-bottom: 1px solid #768083;
}
.admin-login-mark {
  display: grid;
  width: 48px;
  height: 48px;
  margin-bottom: 27px;
  place-items: center;
  color: var(--gold-bright);
  font: 700 18px/1 var(--serif);
  border: 1px solid #66582f;
  background: #17160f;
  transform: rotate(45deg);
}
.admin-login-mark span {
  transform: rotate(-45deg);
}
.admin-login-shell h1 {
  margin: 8px 0 0;
  color: #f2ede0;
  font: 700 30px/1.1 var(--serif);
  letter-spacing: 0.08em;
}
.admin-login-description {
  margin: 12px 0 28px;
  color: #899294;
  font-size: 13px;
}
.admin-login-error {
  margin-bottom: 22px;
  padding: 14px 16px;
  border: 1px solid rgba(187, 98, 102, 0.48);
  background: rgba(87, 24, 27, 0.16);
}
.admin-login-error strong {
  color: #df777c;
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.14em;
}
.admin-login-error p {
  margin: 7px 0 0;
  color: #c9d0cf;
  font-size: 12px;
}
.admin-login-form {
  display: grid;
  gap: 9px;
}
.admin-login-form label {
  margin-top: 9px;
  color: #7f898a;
  font: 700 10px/1 var(--serif);
  letter-spacing: 0.13em;
}
.admin-login-form input {
  width: 100%;
  height: 45px;
  padding: 0 14px;
  color: #eee9dc;
  outline: 0;
  border: 1px solid #394244;
  background: #090d0e;
}
.admin-login-form input:focus {
  border-color: #85723e;
  box-shadow: 0 0 0 2px rgba(216, 180, 86, 0.08);
}
.admin-login-form button {
  height: 45px;
  margin-top: 14px;
  color: #f1d985;
  font: 700 11px/1 var(--serif);
  letter-spacing: 0.12em;
  cursor: pointer;
  border: 1px solid #78652e;
  background: #1a180e;
}
.admin-login-form button:hover {
  border-color: #b69a45;
  background: #24200f;
}
.admin-login-form button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}
.admin-login-back {
  display: inline-block;
  margin-top: 25px;
  color: #718082;
  font-size: 12px;
}
.admin-login-back:hover {
  color: #d8c891;
}
.admin-login-foot {
  display: block;
  margin-top: 34px;
  color: #4f595a;
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.18em;
}
.board-table tr.is-scheduled td {
  background: rgba(216, 180, 86, 0.035);
}
.board-table tr.is-scheduled .board-title button {
  color: #d8cb9f;
}
.scheduled-mark {
  color: #cbb4f2;
  border-color: #5d4b75;
  background: rgba(47, 36, 62, 0.62);
  box-shadow: inset 0 0 11px rgba(174, 133, 230, 0.09);
}
.editor-toolbar {
  gap: 5px;
  padding: 11px;
}
.color-tool,
.editor-toolbar button,
.editor-toolbar select {
  min-width: 38px;
  height: 38px;
  font-size: 13px;
}
.editor-toolbar button {
  padding: 0 10px;
  font-weight: 600;
}
.editor-toolbar select {
  padding: 0 30px 0 10px;
}
.color-tool span {
  width: 37px;
  height: 36px;
  font-size: 14px;
}
.content-editor:empty::before {
  display: block;
  color: #687273;
  font-size: 15px;
  content: attr(data-placeholder);
  pointer-events: none;
}
.content-editor table.is-selected-table {
  outline: rgba(92, 205, 217, 0.72) solid 2px;
  outline-offset: 3px;
}
.setting-card .schedule-field {
  padding: 14px;
  border: 1px solid #4d452b;
  background: #15140e;
}
.schedule-field input {
  width: 100%;
  height: 39px;
  margin-top: 8px;
  padding: 0 10px;
  color: #e1d7b6;
  color-scheme: dark;
  outline: 0;
  border: 1px solid #5b5130;
  background: #0b0e0f;
}
.schedule-field small {
  display: block;
  margin-top: 8px;
  color: #847c62;
  font-size: 9px;
  line-height: 1.5;
}
.attachment-card {
  align-items: flex-start;
}
.attachment-group {
  flex-basis: 100%;
  width: 100%;
  margin-top: 10px;
  padding-top: 13px;
  border-top: 1px solid #293132;
}
.attachment-group > strong {
  display: block;
  margin-bottom: 8px;
  color: #83cbd2;
  font: 700 9px/1 var(--serif);
  letter-spacing: 0.1em;
}
.attachment-card .attachment-group ul {
  margin: 0;
}
.attachment-card .attachment-group li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 8px;
  border: 1px solid #2e3738;
  border-top: 1px solid #2e3738;
  background: #0a0e0f;
}
.attachment-card .attachment-group li + li {
  margin-top: 7px;
}
.attachment-file-icon,
.attachment-thumbnail {
  display: grid;
  width: 56px;
  height: 50px;
  place-items: center;
  object-fit: cover;
  color: #8fa0a1;
  font: 700 9px/1 var(--font-mono);
  border: 1px solid #3a4546;
  background: #13191a;
}
.attachment-copy {
  min-width: 0;
}
.attachment-copy small,
.attachment-copy span,
.attachment-copy strong {
  display: block;
}
.attachment-copy strong {
  overflow: hidden;
  color: #d5d9d5;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.attachment-copy small,
.attachment-copy span {
  margin-top: 5px;
  color: #707b7c;
  font-size: 10px;
}
.attachment-card li .attachment-remove,
.attachment-card li button {
  min-width: 54px;
  height: 30px;
  padding: 0 10px;
  color: #e08a8e;
  font-size: 11px;
  cursor: pointer;
  border: 1px solid #6f373b;
  background: #221113;
}
.attachment-card li button:hover {
  color: #ffd8d8;
  border-color: #a84d53;
  background: #341518;
}
.article-attachments {
  padding: 22px 28px;
  border-top: 1px solid #303839;
  background: #0d1112;
}
.article-attachments header small,
.article-attachments header strong {
  display: block;
}
.article-attachments header small {
  color: var(--cyan);
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.13em;
}
.article-attachments header strong {
  margin-top: 7px;
  color: #e3dfd3;
  font-size: 15px;
}
.article-attachments ul {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.article-attachments li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 9px;
  border: 1px solid #30393a;
  background: #090d0e;
}
.article-attachments a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.article-attachments .attachment-file-icon,
.article-attachments .attachment-thumbnail {
  width: 64px;
  height: 54px;
}
.article-attachments .attachment-delete {
  min-width: 58px;
  height: 32px;
  color: #f09a9e;
  font-size: 11px;
  cursor: pointer;
  border: 1px solid #743c40;
  background: #241315;
}
.article-attachments .attachment-delete:hover {
  color: #ffe3e3;
  border-color: #a85056;
}
.table-dialog {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}
.table-dialog[hidden] {
  display: none !important;
}
.table-dialog-window {
  width: 500px;
  border: 1px solid #525e60;
  background: #0d1112;
  box-shadow: 0 24px 75px #000;
}
.table-dialog-window > header {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #343e40;
  background: #121718;
}
.table-dialog-window header small,
.table-dialog-window header strong {
  display: block;
}
.table-dialog-window header small {
  color: var(--cyan);
  font: 700 8px/1 var(--serif);
  letter-spacing: 0.13em;
}
.table-dialog-window header strong {
  margin-top: 7px;
  color: #ebe6d8;
  font-size: 16px;
}
.table-dialog-window header button {
  margin-left: auto;
  color: #a8b1af;
  font-size: 24px;
  cursor: pointer;
  border: 0;
  background: 0 0;
}
.table-dialog-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 22px 12px;
}
.table-dialog-body label {
  color: #899394;
  font-size: 11px;
}
.table-dialog-body input,
.table-dialog-body select {
  width: 100%;
  height: 40px;
  margin-top: 8px;
  padding: 0 10px;
  color: #e3e5df;
  outline: 0;
  border: 1px solid #3c4749;
  background: #080c0d;
}
.table-dialog-window > p {
  margin: 4px 22px 20px;
  color: #6e7879;
  font-size: 10px;
  line-height: 1.6;
}
.table-dialog-window footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding: 15px 20px;
  border-top: 1px solid #30393a;
}
.table-dialog-window footer button {
  height: 36px;
  padding: 0 16px;
  color: #aeb6b4;
  cursor: pointer;
  border: 1px solid #3a4446;
  background: #090d0e;
}
.table-dialog-window footer .primary {
  color: #eedb99;
  border-color: #763;
  background: #1c190f;
}
#previewContent table,
.article-content table,
.content-editor table {
  margin-right: auto;
  margin-left: auto;
  max-width: 100% !important;
  border-collapse: collapse;
}
#previewContent .editor-divider,
#previewContent hr,
.article-content .editor-divider,
.article-content hr,
.content-editor .editor-divider,
.content-editor hr {
  display: block !important;
  width: 100%;
  height: 1px !important;
  margin: 30px 0 !important;
  clear: both;
  border: 0 !important;
  background: linear-gradient(
    90deg,
    #c9aa4c 0,
    #c9aa4c 50px,
    #303a3c 50px,
    #303a3c 100%
  ) !important;
  opacity: 1 !important;
}
#previewContent td,
#previewContent th,
.article-content td,
.article-content th {
  border-color: #394446 !important;
}
.terminal-card::after {
  z-index: 3;
  pointer-events: none;
}
.terminal-code,
.terminal-content,
.terminal-corner,
.terminal-signal {
  z-index: 2;
}
.terminal-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  opacity: 0.82;
  filter: brightness(0.55) saturate(0.62) contrast(1.08);
  transform: scale(1.015);
  transition:
    opacity 0.25s,
    filter 0.25s;
  transform: none;
}
.terminal-card::before {
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(5, 8, 9, 0.12) 0,
      rgba(5, 8, 9, 0.28) 38%,
      rgba(5, 8, 9, 0.78) 70%,
      rgba(5, 8, 9, 0.98) 100%
    ),
    linear-gradient(
      90deg,
      rgba(5, 8, 9, 0.3) 0,
      transparent 65%,
      rgba(5, 8, 9, 0.12) 100%
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0 12px,
      rgba(255, 255, 255, 0.012) 12px 13px
    );
  transition: opacity 0.25s;
}
.terminal-card--violet .terminal-image {
  filter: brightness(0.46) saturate(0.55) contrast(1.08);
}
.terminal-card--green .terminal-image {
  filter: brightness(0.43) saturate(0.52) contrast(1.08);
}
.terminal-content strong {
  color: #ede9df;
  text-shadow:
    0 2px 4px #000,
    0 0 14px rgba(0, 0, 0, 0.95);
}
.terminal-content em {
  color: #929b9b;
  text-shadow: 0 2px 5px #000;
}
.terminal-card:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--accent) 30%, transparent),
    0 8px 22px rgba(0, 0, 0, 0.26);
  transform: none;
  filter: none;
}
.terminal-card:hover .terminal-image {
  opacity: 0.9;
  opacity: 0.96;
  filter: brightness(0.76) saturate(0.78) contrast(1.08);
  opacity: 1;
  filter: brightness(0.96) saturate(0.95) contrast(1.08);
}
.terminal-card:hover::before {
  opacity: 0.72;
}
#previewContent col,
.article-content col,
.content-editor col {
  min-width: 0;
}
.content-editor > [data-editor-starter] {
  position: relative;
}
.content-editor > h2[data-editor-starter="title"] {
  min-height: 35px;
  margin: 0 0 16px;
  padding: 0 0 13px;
  color: #f0ece1;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.45;
  outline: 0;
  border-bottom: 1px solid #303a3c;
}
.content-editor > h2[data-editor-starter="title"]::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50px;
  height: 1px;
  content: "";
  background: var(--gold);
}
.content-editor > p[data-editor-starter="intro"] {
  min-height: 24px;
  margin: 0;
  color: #c9cfcb;
  font-size: 15px;
  line-height: 1.8;
  outline: 0;
}
.content-editor > [data-editor-starter]:empty::before,
.content-editor > [data-editor-starter]:has(> br:only-child)::before {
  color: #ece8dd;
  content: attr(data-placeholder);
  pointer-events: none;
}
.content-editor > p[data-editor-starter="intro"]:empty::before,
.content-editor > p[data-editor-starter="intro"]:has(> br:only-child)::before {
  color: #aab1ae;
}
.content-editor:focus > [data-editor-starter]:empty::before,
.content-editor:focus > [data-editor-starter]:has(> br:only-child)::before {
  content: "" !important;
}
#previewContent h2:not(:first-of-type),
.article-content h2:not(:first-of-type),
.content-editor h2:not(:first-of-type) {
  border-bottom: 1px solid rgba(76, 87, 89, 0.18) !important;
}
#previewContent h2:not(:first-of-type)::after,
.article-content h2:not(:first-of-type)::after,
.content-editor h2:not(:first-of-type)::after {
  display: none !important;
}
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 17px;
  padding-top: 17px;
  border-top: 1px solid #283031;
}
.toggle-row small,
.toggle-row strong {
  display: block;
}
.toggle-row strong {
  color: #b6bebb;
  font-size: 11px;
}
.toggle-row small {
  margin-top: 5px;
  color: #5d6768;
  font-size: 9px;
}
.toggle-row > button {
  position: relative;
  flex: 0 0 38px;
  width: 38px;
  height: 20px;
  padding: 0;
  cursor: pointer;
  border: 1px solid #3c4647;
  border-radius: 20px;
  background: #191e1f;
}
.toggle-row > button span {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #697273;
  transition:
    left 0.18s,
    background-color 0.18s;
}
.toggle-row > button.is-on {
  border-color: #766430;
  background: #282313;
}
.toggle-row > button.is-on span {
  left: 21px;
  background: var(--gold-bright);
}

#previewContent [data-toc-level],
.article-content [data-toc-level],
.content-editor [data-toc-level] {
  display: block;
  scroll-margin-top: 22vh;
}
#previewContent [data-toc-level="1"],
.article-content [data-toc-level="1"],
.content-editor [data-toc-level="1"] {
  scroll-margin-top: 22vh;
  position: relative;
  margin: 44px 0 18px;
  padding: 0 0 10px;
  color: #f0ece1;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.55;
  border-bottom: 1px solid rgba(76, 87, 89, 0.28);
}
#previewContent [data-toc-level="2"],
.article-content [data-toc-level="2"],
.content-editor [data-toc-level="2"] {
  margin: 25px 0 10px;
  color: #ebe7dc;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.55;
}
#previewContent [data-toc-level="3"],
.article-content [data-toc-level="3"],
.content-editor [data-toc-level="3"] {
  margin: 19px 0 8px;
  color: #ddd9cf;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

/* 목차가 제거된 게시글 본문은 한 열 전체 폭을 사용합니다. */
.article-layout {
  grid-template-columns: minmax(0, 1fr);
}

.article-content {
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

/* ---------- 관리자 휴지통 ---------- */
.trash-board-link {
  color: #d8d2c3 !important;
  border-color: #485052 !important;
  background: #101516 !important;
}

.trash-board-link:hover {
  color: #fff4cf !important;
  border-color: rgba(207, 172, 76, 0.65) !important;
}

.trash-column-check {
  width: 76px;
}

.trash-column-category {
  width: 132px;
}

.trash-column-status {
  width: 125px;
}

.trash-column-date {
  width: 170px;
}

.trash-column-files {
  width: 190px;
}

.trash-column-actions {
  width: 180px;
}

.trash-check-all {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #919a9b;
  cursor: pointer;
}

.trash-row-check,
.trash-check-all input {
  width: 17px;
  height: 17px;
  margin: 0;
  cursor: pointer;
  accent-color: #49c9d2;
}

.trash-title button {
  color: #e7e4dc;
  font-size: 14px;
  text-decoration: none;
}

.trash-title button:hover {
  color: #70d7df;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.trash-actions {
  display: flex;
  justify-content: center;
  gap: 7px;
}

.trash-actions button,
.trash-selection-bar button,
.trash-preview button {
  color: #c8cece;
  font-family: "Malgun Gothic", sans-serif;
  cursor: pointer;
  border: 1px solid #3c4648;
  background: #101617;
}

.trash-actions button {
  min-width: 58px;
  min-height: 31px;
  padding: 0 9px;
  font-size: 11px;
}

.trash-actions .trash-restore:hover {
  color: #8fe2e7;
  border-color: rgba(75, 190, 199, 0.65);
  background: rgba(21, 62, 65, 0.48);
}

.trash-actions .trash-purge {
  color: #d99595;
  border-color: rgba(164, 70, 70, 0.55);
  background: rgba(60, 19, 19, 0.22);
}

.trash-actions .trash-purge:hover {
  color: #ffd0d0;
  border-color: #b95353;
  background: rgba(95, 25, 25, 0.43);
}

.trash-file-summary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px 9px;
}

.trash-file-kind {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-size: 11px;
}

.trash-file-kind.is-image {
  color: #7ad7de;
}

.trash-file-kind.is-file {
  color: #d0b86f;
}

.trash-kind-icon {
  display: inline-flex;
  width: 17px;
  height: 17px;
}

.trash-kind-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trash-file-summary small {
  flex-basis: 100%;
  color: #697273;
  font-size: 10px;
}

.trash-file-empty {
  color: #656e6f;
}

.trash-selection-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  margin-top: 18px;
  padding: 0 18px;
  border: 1px solid #333c3e;
  background: #0e1314;
}

.trash-selection-bar[hidden] {
  display: none;
}

.trash-selection-bar p {
  margin: 0;
  color: #8f9899;
  font-size: 13px;
}

.trash-selection-bar p strong {
  color: #6bd4db;
  font-size: 16px;
}

.trash-selection-bar > div {
  display: flex;
  gap: 9px;
}

.trash-selection-bar button {
  min-height: 38px;
  padding: 0 16px;
  font-size: 12px;
}

.trash-selection-restore:hover {
  color: #9de8ec;
  border-color: #4b9ca2;
}

.trash-selection-delete {
  color: #ef9a9a !important;
  border-color: rgba(174, 66, 66, 0.65) !important;
  background: rgba(70, 20, 20, 0.32) !important;
}

.trash-selection-delete:hover {
  color: #ffd4d4 !important;
  background: rgba(111, 27, 27, 0.5) !important;
}

.trash-selection-bar button:disabled,
.trash-actions button:disabled {
  color: #555d5e !important;
  cursor: not-allowed;
  border-color: #303738 !important;
  background: transparent !important;
}

.trash-preview {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 35px;
  background: rgba(2, 5, 6, 0.86);
  backdrop-filter: blur(4px);
}

.trash-preview[hidden] {
  display: none;
}

.trash-preview-window {
  display: flex;
  flex-direction: column;
  width: min(980px, 94vw);
  max-height: 90vh;
  border: 1px solid #3a4446;
  background: #0b1011;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.trash-preview-window > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0 28px;
  border-bottom: 1px solid #30383a;
  background: #101516;
}

.trash-preview-window > header div {
  display: grid;
  gap: 8px;
}

.trash-preview-window > header small {
  color: #53cbd3;
  font-size: 10px;
  letter-spacing: 0.16em;
}

.trash-preview-window > header strong {
  color: #ece8dd;
  font-size: 23px;
}

.trash-preview-window > header button {
  width: 38px;
  height: 38px;
  color: #b8c0c0;
  font-size: 23px;
}

.trash-preview-meta {
  padding: 14px 28px;
  color: #7e898a;
  font-size: 12px;
  border-bottom: 1px solid #252d2e;
}

.trash-preview-content {
  overflow: auto;
  min-height: 280px;
  padding: 32px 48px;
}

.trash-preview-content img,
.trash-preview-content table {
  max-width: 100%;
}

.trash-preview-files {
  padding: 20px 28px;
  border-top: 1px solid #2e3738;
}

.trash-preview-files > strong {
  color: #d9d4c7;
  font-size: 13px;
}

.trash-preview-files ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.trash-preview-files a {
  display: inline-flex;
  padding: 8px 11px;
  color: #74d6dd;
  font-size: 11px;
  text-decoration: none;
  border: 1px solid #344749;
  background: #101819;
}

.trash-preview-window > footer {
  display: flex;
  justify-content: flex-end;
  padding: 17px 28px;
  border-top: 1px solid #30383a;
}

.trash-preview-window > footer button {
  min-width: 78px;
  min-height: 36px;
}

body.has-trash-preview {
  overflow: hidden;
}

/* 가이드 목록 이미지·첨부파일 표시 */
.board-title-text {
  vertical-align: middle;
}

.board-file-indicators {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 11px;
  vertical-align: middle;
}

.board-file-indicator {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 22px;
  color: #788283;
  vertical-align: middle;
}

.board-file-indicator.is-image {
  color: #64cbd3;
}

.board-file-indicator.is-file {
  color: #c4ab62;
}

.board-file-indicator svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.board-file-indicator small {
  color: inherit;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.board-title button:hover .board-file-indicator {
  filter: brightness(1.25);
}
