/* 주석260921-2 */
:root {
  --navy: #f7931e;
  --navy-mid: #b55a00;
  --navy-light: #ffcf6b;
  --navy-pale: #fff2e0;
  --navy-bg: #fff9f1;
  --navy-deep: #3f2400;
  --navy-hover: #ffcf6b;
  --navy-active: #865814;
  --navy-soft: #ebc285;
  --navy-soft-2: #eecd9c;
  --navy-soft-3: #e0af66;
  --navy-line: #e8ded0;
  --navy-tint-1: #f5ebdb;
  --navy-tint-2: #fbf3e8;
  --navy-tint-3: #f4e0c2;
  --navy-tint-4: #f5e5cc;
  --navy-tint-5: #f4e5cf;
  --navy-tint-6: #f7eddd;
  --navy-tint-7: #fdf5e8;
  --navy-tint-8: #f0dbbc;
  --navy-tint-9: #eee7dd;
  --navy-tint-10: #f5f0e8;
  --navy-tint-11: #f1e8db;
  --navy-tint-12: #faf8f5;
  --navy-tint-13: #fcf9f5;
  --navy-tint-14: #faf5ee;
  --navy-tint-15: #fdfbf8;
  --navy-tint-16: #fcfbfa;
  --navy-tint-17: #fff8ee;
  --navy-tint-18: #fff9ef;
  --navy-tint-19: #fffbf5;
  --navy-dk-mid: #e3ad5b;
  --navy-dk-light: #de9e3d;
  --navy-dk-hover: #e8ab4f;
  --navy-dk-pale: #47351b;
  --navy-dk-bg: #1b160e;
  --navy-dk-1: #2c251a;
  --navy-dk-2: #362d20;
  --navy-dk-3: #4f422f;
  --navy-dk-4: #3b3123;
  --navy-dk-5: #3b2f1d;
  --navy-dk-6: #2b2317;
  --navy-dk-7: #5c4c35;
  --navy-dk-8: #40311a;
  --navy-dk-9: #5c4727;
  --navy-dk-10: #40321e;
  --navy-dk-11: #362c1d;
  --navy-dk-12: #30271a;
  --navy-dk-13: #3f2f16;
  --navy-dk-14: #604b2c;
  --navy-dk-15: #2c2316;
  --navy-dk-16: #4a3e2c;
  --text: var(--navy-deep);
  --brown: #6b3d0f;
  --btn-bg: var(--navy-light);
  --btn-text: var(--brown);
  --title-text: var(--brown);
}

/* 주석260604-1 */
@font-face {
  font-family: 'SUIT Variable';
  src: url('/assets/SUIT-Variable.woff2?v=202609041220') format('woff2');
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}

/* 주석260701-1 */
:root {
  --font-main: 'SUIT Variable', SUIT, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
  /* 주석260714-1 */
  --cc-nudge: 0px;
}
@media (hover: hover) and (pointer: fine) {
  :root {
    --font-main: 'Malgun Gothic', 'Apple SD Gothic Neo', -apple-system, BlinkMacSystemFont, sans-serif;
    --cc-nudge: -1.5px;
  }
}

/* 주석260918-1 */
:root {
  --thumb-row-pad: 4px;
}
@media (max-width: 768px) {
  :root { --thumb-row-pad: 2px; }
}

/* 주석260918-2 */
.ql-align-center { text-align: center; }
.ql-align-right { text-align: right; }
.ql-align-justify { text-align: justify; }

/* 주석260918-3 */
select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
  line-height: 1.4;
  box-sizing: border-box;
}

/* 주석260918-4 */
html {
  overflow-y: scroll;
  /* 주석260520-1 */
  scroll-padding-top: 0;
  -webkit-tap-highlight-color: transparent;
}
body {
  max-width: 100%;
  overflow-x: clip;
  font-weight: 500;
  /* 주석260511-1 */
  word-break: break-all;
  overflow-wrap: break-word;
}
/* 주석260918-5 */
a, button, input, select, textarea, label, [role="button"], [onclick], .side-item, .cta-btn, .nav-link {
  -webkit-tap-highlight-color: transparent;
}

/* 주석260918-6 */
input, textarea, button, select {
  font-family: inherit;
}

/* 주석260918-7 */
.nav-logo img { max-height: 46px; width: auto; }
.footer-logo img { max-height: 36px; width: auto; }


/* 주석260918-8 */
/* 주석260918-9 */
.sticker-slot,
.level-badge {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: #d1d5db center/cover no-repeat;
  border: 1px solid var(--gray-400);
  border-radius: 5px;
  vertical-align: middle;
  flex-shrink: 0;
  box-sizing: border-box;
  margin-right: 7px;
  overflow: hidden;
}
.sticker-slot-xs,
.level-badge-xs {
  width: 24px;
  height: 24px;
  border-width: 1px;
  border-radius: 5px;
  margin-right: 6px;
}
.sticker-slot-sm,
.level-badge-sm {
  width: 26px;
  height: 26px;
  border-width: 1px;
  border-radius: 5px;
  margin-right: 6px;
}
.sticker-slot-lg,
.level-badge-lg {
  width: 40px;
  height: 40px;
  border-width: 1px;
  border-radius: 7px;
  margin-right: 10px;
}
.sticker-slot.staff,
.level-badge.staff,
.sticker-slot-xs.staff,
.level-badge-xs.staff,
.sticker-slot-sm.staff,
.level-badge-sm.staff,
.sticker-slot-lg.staff,
.level-badge-lg.staff {
  border-color: #d4a017;
}
/* 주석260918-10 */
@media (max-width: 768px) {
  .sticker-slot:not(.sticker-slot-xs):not(.sticker-slot-sm):not(.sticker-slot-lg),
  .level-badge:not(.level-badge-xs):not(.level-badge-sm):not(.level-badge-lg) {
    width: 26px;
    height: 26px;
    margin-right: 6px;
  }
}
@media (max-width: 360px) {
  .sticker-slot:not(.sticker-slot-xs):not(.sticker-slot-sm):not(.sticker-slot-lg),
  .level-badge:not(.level-badge-xs):not(.level-badge-sm):not(.level-badge-lg) {
    width: 24px;
    height: 24px;
    margin-right: 6px;
  }
}
.sticker-slot > img,
.level-badge > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* 주석260918-11 */
.author-inline {
  display: inline-flex;
  align-items: center;
  vertical-align: middle;
  white-space: nowrap;
  min-width: 0;
}

/* 주석260918-12 */
.post-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 6px;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  color: var(--navy-mid);
  background: var(--navy-pale);
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}
.post-badge.debate { background: var(--red); color: #fff; border-radius: 4px; margin-left: 5px; }
.post-badge.flair { background: var(--gray-100); color: var(--gray-800); }

/* 주석260918-13 */
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item::after { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 10px; }
.nav-dropdown { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--white); border: 1px solid #adb5bd; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.14); padding: 10px; z-index: 500; display: grid; grid-auto-flow: column; grid-template-rows: repeat(5, auto); gap: 2px; opacity: 0; visibility: hidden; transition: opacity 0.15s, visibility 0.15s; pointer-events: none; min-width: 120px; }
/* 주석260918-14 */
.nav-item.nav-expanded .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; }
/* 주석260912-1 */
@media (hover: hover) and (pointer: fine) { .nav-item:hover .nav-dropdown { opacity: 1; visibility: visible; pointer-events: auto; } } /* 주석260912-2 */
.nav-dropdown-item { font-size: 12px; font-weight: 500; padding: 5px 8px; border-radius: 6px; text-decoration: none; text-align: center; display: block; transition: background 0.1s; white-space: nowrap; }
.nav-dropdown-item:hover { background: #e2e6ea; }

/* 주석260918-15 */
.user-popup {
  display: none;
  position: fixed;
  z-index: 99; /* 주석260721-1 */
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  min-width: 180px;
  overflow: hidden;
}
.user-popup .popup-profile {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--navy-tint-5) 0%, var(--navy-tint-6) 100%); /* 주석260717-1 */
  border-bottom: 1px solid #adb5bd; /* 주석260804-1 */
}
.user-popup .popup-profile .user-info { flex: 1; min-width: 0; }
.user-popup .popup-nick {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.user-popup .popup-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.1s;
}
.user-popup .popup-btn:hover { background: var(--gray-50); }
.user-popup .popup-arrow { color: var(--gray-400); font-size: 14px; }

/* 주석260918-16 */
.bell-dot {
  display: none;
  position: absolute;
  top: 2px;
  right: 2px;
  width: 7px;
  height: 7px;
  background: #e53935;
  border-radius: 50%;
}

/* 주석260918-17 */
.bell-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  /* 주석260808-1 */
  background: var(--white);
  border: 1px solid #adb5bd;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.16);
  width: 340px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 140px);
  overflow: hidden;
}
.bell-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(135deg, var(--navy-tint-2) 0%, var(--navy-bg) 100%);
  border-bottom: 1px solid #adb5bd;   /* 주석260804-2 */
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
/* 주석260918-18 */
html.dark .bell-popup-header {
  background: var(--gray-100);
}
.bell-popup-list {
  max-height: 300px;
  overflow-y: auto;
}
.bell-popup-item {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 14px;
  font-size: 12px;
  color: var(--text);
  cursor: pointer;
  transition: background 0.1s;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
  position: relative;
}
.bell-popup-item .notif-label {
  color: var(--gray-400);
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 1px;
  width: 58px;
  text-align: center;
}
.bell-popup-item .notif-title {
  font-weight: 700;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
  flex: 1;
  text-align: left;
}
.bell-popup-item .notif-time {
  color: var(--gray-400);
  font-size: 11px;
  flex-shrink: 0;
  white-space: nowrap;
  padding-top: 1px;
}
.bell-popup-item:hover { background: var(--gray-50); }
.bell-popup-item.notif-unread { background: rgba(255, 235, 59, 0.15); }
.notif-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #e53935;
  border-radius: 50%;
}
.bell-popup-empty {
  padding: 20px 14px;
  text-align: center;
  font-size: 12px;
  color: var(--gray-400);
}

/* 주석260918-19 */
.ad-placeholder {
  background: #e5e7eb;
  border: 1px dashed #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  box-sizing: border-box;
}
.ad-placeholder .ad-ph-label { display: block; font-size: 13px; }
.ad-placeholder .ad-ph-size  { display: block; font-size: 11px; font-weight: 500; color: #9ca3af; margin-top: 2px; }

/* 주석260729-1 */
.ad-rail-col {
  position: absolute;
  width: 160px;
  pointer-events: none; /* 주석260918-20 */
}
/* 주석260729-2 */
@media (max-width: 1459.98px) { .ad-rail-col { display: none; } }
.ad-rail-col-left  { left: calc(50% - 720px); }
.ad-rail-col-right { left: calc(50% + 560px); }
.ad-rail {
  position: sticky;
  position: -webkit-sticky;
  top: max(10px, calc((100vh - 600px) / 2)); /* 주석260729-3 */
  width: 160px;
  height: 600px;
  z-index: 50;
  display: none; /* 주석260918-21 */
  pointer-events: auto;
}

/* 주석260918-22 */
.ad-slot[data-slot] { display: block; box-sizing: border-box; }
.ad-slot[data-slot]:not(.has-ad) .ad-placeholder { visibility: hidden; }
/* 주석260918-23 */
.ad-slot:not(.has-ad) { display: none !important; }
/* 주석260918-24 */
.ad-slot.ad-empty { display: none !important; height: 0 !important; min-height: 0 !important; }
/* 주석260918-25 */
.ad-slot.ad-reserve:not(.has-ad):not(.ad-empty) { display: block !important; }

/* 주석260918-26 */
.ad-sidebar {
  width: 100%;
  height: 250px;
}

/* 주석260918-27 */
.ad-banner-728 {
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
}

/* 주석260918-28 */
.ad-slot[data-slot="post_top"],
.ad-slot[data-slot="post_middle"],
.ad-slot[data-slot="post_bottom"],
.ad-slot[data-slot="top_banner"],
.ad-slot[data-slot="main_best"],
.ad-slot[data-slot="main_bottom"],
.ad-slot[data-slot="board_top"],
.ad-slot[data-slot="board_bottom"],
.ad-slot[data-slot="write_top"],
.ad-slot[data-slot="write_bottom"] {
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

/* 주석260918-29 */
.ad-slot[data-slot="sidebar_top"],
.ad-slot[data-slot="sidebar_mid"] {
  width: 100%;
  max-width: 250px;
  height: 250px;
  overflow: hidden;
}
/* 주석260918-30 */
.admin-only-nav[class] { display: none !important; }
html.is-admin .admin-only-nav.nav-link,
body.is-admin .admin-only-nav.nav-link { display: inline-flex !important; }
html.is-admin .admin-only-nav.nav-mobile-dropdown-item,
body.is-admin .admin-only-nav.nav-mobile-dropdown-item { display: block !important; }
html.is-admin option.admin-only-nav,
body.is-admin option.admin-only-nav { display: initial !important; }
/* 주석260918-31 */
.admin-only { display: none !important; }
html.is-admin .admin-only,
body.is-admin .admin-only { display: block !important; }

/* 주석260507-1 */
.side-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; min-height: 250px; }
.side-card-head { background: var(--navy); padding: 10px 14px; font-size: 13px; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 6px; }
.side-card-head-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--navy-soft); }
/* 주석260814-1 */
.side-list { padding: 0; min-height: 200px; display: flex; flex-direction: column; }
.side-empty { flex: 1; display: flex; align-items: center; justify-content: center; font-size: 12px; color: var(--gray-400); }
.side-item { padding: 8px 8px; min-height: 40px; box-sizing: border-box; display: flex; align-items: center; gap: 4px; cursor: pointer; transition: background 0.1s; border-bottom: 1px solid var(--border); color: inherit; text-decoration: none; }
.side-item:visited { color: inherit; }
.side-item:last-child { border-bottom: none; }
.side-item:hover { background: var(--navy-bg); }
.side-rank { font-size: 13px; font-weight: 700; color: var(--navy-mid); width: 18px; text-align: center; flex-shrink: 0; font-family: var(--font-main); }
.side-rank.r1 { color: #e03131; }
.side-rank.r2 { color: #d97706; }
.side-rank.r3 { color: var(--navy-mid); }
.side-text { font-size: 12px; color: var(--text); line-height: 1.4; flex: 1; min-width: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: break-all; }
/* 주석260825-1 */
.side-vote-mini { display: flex; align-items: baseline; justify-content: flex-start; gap: 0; width: auto; min-width: 48px; font-size: 11px; color: var(--gray-400); white-space: nowrap; font-family: var(--font-main); flex-shrink: 0; }
.side-vote-label { flex-shrink: 0; width: auto; }
.side-vote-label::after { content: '\00a0'; }
.side-vote-num { font-variant-numeric: tabular-nums; flex-shrink: 0; width: 26px; text-align: left; }

/* 주석260918-32 */
/* 주석260526-1 */
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1px; background: var(--border); min-height: 214px; }
.stat-box { background: var(--white); padding: 12px; text-align: center; container-type: inline-size; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.stat-num { font-size: clamp(12px, 16cqi, 20px); font-weight: 700; color: var(--navy-mid); line-height: 1; margin-bottom: 3px; white-space: nowrap; font-family: var(--font-main); }
.stat-lbl { font-size: 11px; color: var(--gray-600); }

/* 주석260918-33 */
.ad-slot[data-slot="sidebar_bottom"] {
  width: 100%;
  max-width: 250px;
  height: 200px;          /* 주석260918-34 */
  overflow: hidden;
  position: relative;
}
.ad-slot[data-slot="post_top"]:not(.ad-empty),
.ad-slot[data-slot="post_middle"]:not(.ad-empty),
.ad-slot[data-slot="main_best"]:not(.ad-empty),
.ad-slot[data-slot="top_banner"]:not(.ad-empty) {
  display: block !important; /* 주석260918-35 */
  width: 100%;
  max-width: 728px;
  height: 90px;
  margin: 0 auto;
  overflow: hidden;
}
/* 주석260904-1 */
@media (max-width: 747.98px) {
  .ad-slot[data-slot="post_top"],
  .ad-slot[data-slot="post_middle"],
  .ad-slot[data-slot="main_best"],
  .ad-slot[data-slot="top_banner"] {
    max-width: 320px;
    height: 100px;
  }
}

/* 주석260918-36 */
.board-table tbody tr.ad-row { background: var(--navy-tint-19); }
.board-table tbody tr.ad-row:hover { background: var(--navy-tint-7); }
.board-table tbody tr.ad-row td { padding: 11px 14px; }
@media (min-width: 769px) {
  .board-table tbody tr.ad-row td { padding: 2px 14px; }
}
.board-table tbody tr.ad-row td.col-title { overflow: visible; }
.board-table tbody tr.ad-row td.col-title .td-title,
.board-table tbody tr.ad-row td.col-title .td-title-main { overflow: visible; }
.board-table tbody tr.ad-row td.col-title .td-title-text {
  color: var(--text);
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}
.flair-ad { color: var(--navy-mid) !important; font-weight: 700 !important; }

/* 주석260918-37 */
@media (max-width: 1099px) {
  .layout,
  .page-wrap {
    grid-template-columns: 1fr !important;
    min-width: 0 !important;
  }
  .sidebar,
  .admin-menu {
    display: none !important;
  }
}

/* 주석260918-38 */
.nav-search {
  height: 36px;
  box-sizing: border-box;
}
.nav-search input,
.nav-search-btn {
  height: 100%;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}
/* 주석260520-2 */
.nav-search input { scroll-margin-top: 0 !important; }
.nav-search-btn {
  flex-shrink: 0;
  /* 주석260717-2 */
  width: 36px !important;
  max-width: 36px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  justify-content: center !important;
}
/* 주석260717-3 */
.nav-chip-x { width: 36px !important; max-width: 36px !important; padding: 0 !important; justify-content: center !important; box-sizing: border-box !important; flex-shrink: 0; }
.nav-chip-x svg { width: 15px; height: 15px; }
/* 주석260717-4 */
@media (max-width: 768px) {
  .nav-search-btn, .nav-chip-x { width: 30px !important; max-width: 30px !important; }
  .nav-search-btn svg { width: 14px; height: 14px; }
  .nav-chip-x svg { width: 14px; height: 14px; }
}
@media (max-width: 360px) {
  .nav-search-btn, .nav-chip-x { width: 28px !important; max-width: 28px !important; }
  .nav-search-btn svg { width: 13px; height: 13px; }
  .nav-chip-x svg { width: 13px; height: 13px; }
}

/* 주석260918-39 */
.combo-wrap { position: relative; display: inline-block; }
.combo-wrap .flair-select {
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
  width: 100%;
}
/* 주석260918-40 */
.combo-wrap .flair-select option {
  color: var(--text) !important;
  -webkit-text-fill-color: var(--text) !important;
  background: var(--white); /* 주석260717-5 */
}
.combo-face {
  position: absolute;
  inset: 0;
  padding: 0 26px 0 10px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-family: var(--font-main);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  color: var(--text);
}
.combo-face .label-prefix {
  color: var(--navy-mid);
  font-weight: 500;
  margin-right: 4px;
  flex-shrink: 0;
}

/* 주석260918-41 */
.nav-search.has-query {
  background: var(--navy-tint-3); /* 주석260717-6 */
  border: 1px solid var(--navy-mid);
}
.nav-chip {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 12px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 700;
  font-family: var(--font-main);
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
}
.nav-chip-scope {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex-shrink: 1;
}
.nav-chip-sep {
  color: var(--navy-mid);
  flex-shrink: 0;
  opacity: 0.5;
  font-weight: 500;
}
.nav-chip-query {
  flex-shrink: 0;
}
.nav-chip-x {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 10px;
  color: var(--navy);
  display: flex;
  align-items: center;
  height: 100%;
  opacity: 0.7;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.nav-chip-x:hover { opacity: 1; }

/* 주석260918-42 */
.nav-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: start;
  gap: 4px;
  min-height: 48px;
  height: auto;
  padding: 6px 10px;
}
/* 주석260918-43 */
@media (min-width: 1100px) {
  .nav-bottom { grid-template-columns: auto minmax(0, 1fr) auto; }
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  row-gap: 4px;
  align-items: center;
  padding: 0 12px;
  justify-content: flex-start;
  column-gap: 14px;
  min-height: 36px;
  width: 100%;
}
/* 주석260918-44 */
.nav-temp-break { display: none; }
html.is-admin .nav-temp-break,
body.is-admin .nav-temp-break { display: block; flex-basis: 100%; width: 100%; height: 0; margin: 0; padding: 0; border: 0; }
.nav-link {
  white-space: nowrap;
  height: 36px !important;
  padding: 0 9.5px !important;
  display: inline-flex !important;
  align-items: center !important;
  box-sizing: border-box !important;
}
/* 주석260918-45 */
.btn-write {
  height: 36px !important;
  padding: 0 16px !important;
  display: inline-flex !important;
  align-items: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}
/* 주석260918-46 */
@media (max-width: 768px) {
  .btn-write { width: 78px !important; padding: 0 !important; justify-content: center !important; }
  /* 주석260918-47 */
  .propose-card-stats { display: none !important; }
}
.btn-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--navy-light);
  border: none;
  color: #e03131;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-main);
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
  box-sizing: border-box;
}
.btn-hamburger:hover { background: var(--navy-hover); }
html.logged-in .btn-hamburger { color: #22c55e; }

/* 주석260918-48 */
html.logged-in #authStateLogin { display: none !important; }
html.logged-in #authStateUser  { display: block !important; }
.btn-hamburger svg { display: block; }
@media (max-width: 1099px) {
  .btn-hamburger { display: inline-flex; }
}

/* 주석260918-49 */
.btn-mobile-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--btn-bg);
  border: none;
  color: var(--btn-text);
  border-radius: 8px;
  cursor: pointer;
  flex-shrink: 0;
  box-sizing: border-box;
  transition: background 0.15s;
  text-decoration: none;
}
.btn-mobile-home:hover { background: var(--navy-hover); }
.btn-mobile-home svg { display: block; }

/* 주석260918-50 */
.nav-mobile-dropdown {
  display: none;
  position: relative;
  flex: 1;
  min-width: 0;
}
.nav-mobile-dropdown-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: var(--navy-light);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-main);
  padding: 0 14px;
  cursor: pointer;
  gap: 8px;
  height: 36px;
  box-sizing: border-box;
  line-height: 1;
  transition: background 0.15s;
}
.nav-mobile-dropdown-btn:active { background: var(--navy-hover); }
.nav-mobile-dropdown-arrow {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #fff;
  flex-shrink: 0;
  transition: transform 0.2s;
}
.nav-mobile-dropdown.open .nav-mobile-dropdown-arrow { transform: rotate(180deg); }
.nav-mobile-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 200;
  max-height: 320px;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.nav-mobile-dropdown-menu::-webkit-scrollbar { width: 6px; -webkit-appearance: none; }
.nav-mobile-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.nav-mobile-dropdown-menu::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }
.nav-mobile-dropdown-menu::-webkit-scrollbar-thumb:hover { background: var(--gray-400); }
.nav-mobile-dropdown.open .nav-mobile-dropdown-menu { display: block; }
.nav-mobile-dropdown-item {
  display: block;
  width: 100%;
  padding: 9px 12px;
  border: none;
  background: none;
  text-align: left;
  font-size: 13px;
  font-family: var(--font-main);
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.12s;
  box-sizing: border-box;
}
.nav-mobile-dropdown-item:visited { color: var(--text); }
.nav-mobile-dropdown-item:active,
.nav-mobile-dropdown-item:hover { background: var(--gray-100); }
.nav-mobile-dropdown-item.active {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}
@media (max-width: 768px) {
  /* 주석260918-51 */
  html { overflow-x: clip; }
  body { max-width: 100vw; overflow-x: clip; }
  .nav-inner,
  .layout,
  .nav-bottom { max-width: 100% !important; box-sizing: border-box !important; }
  .nav-links { display: none !important; }
  .nav-mobile-dropdown { display: block; }
  .nav-bottom-wrap { overflow: visible; }
  .nav-bottom {
    overflow: visible;
    align-items: center;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }
  .nav-top-bg {
    height: auto !important;
    overflow: hidden !important;
    background: var(--navy) !important;
  }
  .nav-top {
    flex-direction: row !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
    align-items: center !important;
  }
  /* 주석260918-52 */
  nav { background: var(--navy) !important; }
  .nav-inner {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 6px 10px 0 !important;
    gap: 0 !important;
    align-items: center !important;
    background: var(--navy) !important;
  }
  .nav-logo {
    display: inline-flex !important;
    align-items: center !important;
    flex: 0 0 128px !important;
    flex-shrink: 0;
    margin-left: 0 !important;
    margin-right: 4px !important; /* 주석260717-7 */
    /* 주석260918-53 */
    width: 128px !important;
    height: 32px !important;
  }
  /* 주석260918-54 */
  .nav-logo img { max-height: 32px !important; width: auto !important; }
  .footer-logo img { max-height: 32px !important; width: auto !important; }
  .nav-search {
    position: static !important;
    transform: none !important;
    flex: 1 !important;
    width: 0 !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .nav-search input { min-width: 0 !important; flex: 1 !important; }
  .nav-search .search-chip {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  /* 주석260918-55 */
  .nav-search.has-query {
    background: var(--navy-tint-3) !important;
    border-color: rgba(255,255,255,0.4) !important;
  }
  .hero { display: none !important; }
  img, video, iframe { max-width: 100% !important; }
  table { max-width: 100% !important; }
  pre, code { overflow-x: auto; max-width: 100%; }
  .board-area, .board-section, .post-list,
  .best-top-grid-b,
  .post-card-simple, .post-title-simple,
  .board-section-head { min-width: 0 !important; }
  .post-title-simple { word-break: break-all; overflow-wrap: anywhere; }
  .layout > * { min-width: 0; }
  /* 주석260918-56 */
  .best-top-grid-b {
    grid-auto-rows: 1fr !important;
    align-items: stretch !important;
  }
  .best-top-b-card {
    width: 100% !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }
  .best-top-b-thumb {
    flex: 1 1 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
  .best-top-b-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
  .best-top-b-title {
    word-break: break-all !important;
  }
  /* 주석260918-57 */
  .post-title { font-size: 13px !important; }
}

/* 주석260918-58 */
@media (max-width: 360px) {
  .post-title { font-size: 12px !important; }
  .post-title-simple { font-size: 12px !important; }
  .simple-extra { font-size: 12px !important; } /* 주석260714-2 */
  .flair-simple { font-size: 12px !important; }   /* 주석260910-1 */
  .card-stats { font-size: 11px !important; }
  /* 주석260918-59 */
  /* 주석260918-60 */
  .nav-logo { flex: 0 0 120px !important; width: 120px !important; height: 30px !important; }
  .nav-logo img { max-height: 30px !important; }
  .footer-logo img { max-height: 30px !important; }
  .nav-search { height: 34px !important; }
  /* 주석260720-1 */
  .nav-search input { font-size: 12px !important; }
  .nav-link { height: 34px !important; font-size: 12px !important; }
  .nav-bottom { min-height: 46px !important; padding: 6px 10px !important; }
  .btn-write { height: 34px !important; font-size: 12px !important; width: 64px !important; padding: 0 !important; }
  .btn-hamburger { width: 34px !important; height: 34px !important; }
  .btn-mobile-home { width: 34px !important; height: 34px !important; }
  .nav-mobile-dropdown-btn { height: 34px !important; font-size: 12px !important; padding: 0 12px !important; }
  /* 주석260918-61 */
  .combo-wrap { height: 34px !important; position: relative !important; overflow: hidden !important; }
  .combo-wrap > select.flair-select {
    position: absolute !important;
    top: 0 !important; left: 0 !important; right: 0 !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    width: 100% !important;
    font-size: 12px !important;
    line-height: 1 !important;
    padding: 0 24px 0 8px !important;
    box-sizing: border-box !important;
  }
  .combo-face { font-size: 12px !important; line-height: 1 !important; }
  .nav-chip { font-size: 12px !important; }
  /* 주석260918-62 */
  .page-btn,
  .btn-page {
    width: 34px !important;
    height: 34px !important;
    font-size: 12px !important;
  }
  .page-select {
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    font-size: 12px !important;
    line-height: 32px !important;
    min-width: 56px !important;
    padding: 0 10px !important;
  }
}

/* 주석260918-63 */
.sidebar-drawer {
  position: fixed;
  inset: 0;
  z-index: 1500;
  pointer-events: none;
  visibility: hidden;
  overflow: hidden;
}
.sidebar-drawer.open { pointer-events: auto; visibility: visible; }
.sidebar-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.25s;
}
.sidebar-drawer.open .sidebar-drawer-overlay { background: rgba(0,0,0,0.45); }
.sidebar-drawer-panel {
  position: absolute;
  top: 6px;   /* 주석260911-1 */
  right: 10px;
  width: 250px;
  max-width: calc(100vw - 20px);
  max-height: calc(100vh - 20px);
  max-height: calc(100dvh - 20px);
  overflow-y: auto;
  transform: translateX(calc(100% + 20px));
  transition: transform 0.25s;
  filter: drop-shadow(0 12px 36px rgba(0,0,0,0.2));
}
.sidebar-drawer.open .sidebar-drawer-panel { transform: translateX(0); }

/* 주석260918-64 */
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15,45,82,0.07);
}
.auth-head {
  background: var(--navy);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.2px;
}
.auth-head-x {
  margin-left: auto;
  background: none;
  border: 0;
  padding: 0 0 0 8px;
  color: #fff;
  opacity: 0.75;
  cursor: pointer;
  display: flex;
  align-items: center;
  line-height: 0;
}
.auth-head-x:hover { opacity: 1; }
.auth-head-dot,
.auth-card .side-card-head-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--navy-soft);
  flex-shrink: 0;
}
.auth-inputs {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 14px 14px 0;
}
.auth-input {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 11px;
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--gray-50);
  outline: none;
  transition: border-color 0.15s, background 0.15s;
  box-sizing: border-box;
}
.auth-input:focus { border-color: var(--navy-mid); background: #fff; }
.auth-input::placeholder { color: var(--gray-400); }
.pw-wrap { position: relative; }
.pw-wrap .auth-input {
  padding-right: 36px;
  /* 주석260515-1 */
  /* 주석260918-65 */
  font-family: -apple-system, BlinkMacSystemFont, system-ui, 'Apple SD Gothic Neo', 'Malgun Gothic', '맑은 고딕', sans-serif;
}
.pw-toggle {
  position: absolute; right: 9px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; padding: 0;
  color: var(--gray-400); display: flex; align-items: center;
  transition: color 0.15s;
}
.pw-toggle:hover { color: var(--navy-mid); }
.auth-btn-login {
  display: block;
  width: calc(100% - 28px);
  margin: 7px 14px 0;
  padding: 9px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: background 0.15s;
}
.auth-btn-login:hover { background: var(--navy-mid); }
.auth-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 14px 12px;
}
.auth-auto {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--gray-600);
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.auth-auto input { cursor: pointer; }
.auth-links {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
}
.auth-link {
  background: none; border: none;
  font-family: var(--font-main);
  font-size: 11px;
  color: var(--gray-600);
  cursor: pointer;
  padding: 0;
  transition: color 0.15s;
}
.auth-link:hover { color: var(--navy-mid); }
.auth-divider { color: var(--gray-200); }

/* 주석260911-2 */
.np-signup-body { display: flex; flex-direction: column; gap: 10px; padding: 12px 14px 0; }
.np-signup-body .field-label { width: auto; padding-top: 0; }
.np-signup-body .msg, .np-signup-body .hint { line-height: 1.6; }
.np-signup-body .msg:not(.show) { display: none; }
.np-signup-body .inp, .np-signup-body .btn-check { height: 36px; font-size: 13px; }
.np-signup-body .btn-check { padding: 0 10px; }
#npSignupModal .auth-btn-login { margin-bottom: 14px; }
#npSignupModal .inp.success { border-color: var(--border); }   /* 주석260911-3 */
#npSignupModal .auth-btn-login:disabled { background: var(--gray-200); color: var(--gray-400); cursor: default; }
@media (max-width: 360px) { .np-signup-body .inp, .np-signup-body .btn-check { height: 34px; font-size: 12px; } }


/* 주석260911-4 */
.auth-soc { display: flex; flex-direction: column; gap: 7px; padding: 14px 14px 0; }
.soc-btn { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 36px; box-sizing: border-box; padding: 0; border-radius: var(--radius); border: 1px solid transparent; font-size: 13px; font-weight: 700; font-family: var(--font-main); cursor: pointer; text-decoration: none; }
.soc-kakao { background: #FEE500; color: #191919; }
.soc-naver { background: #03C75A; color: #fff; }
.soc-google { background: var(--white); color: var(--text); border-color: var(--border); }
html.dark .soc-google { background: var(--gray-50); }
.soc-ico { width: 16px; height: 16px; display: block; flex-shrink: 0; }
.soc-last { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-size: inherit; line-height: inherit; font-weight: 700; color: var(--red); display: none; }
.auth-or { display: flex; align-items: center; gap: 10px; margin: 12px 14px 0; color: var(--gray-400); font-size: 12px; white-space: nowrap; }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-or .soc-last-inline { margin-left: 4px; color: var(--red); font-weight: 700; display: none; }
.auth-or + .auth-inputs { padding-top: 10px; }
@media (max-width: 768px) {
  .soc-last.on, .auth-or .soc-last-inline.on { display: inline; }
}
/* 주석260911-5 */
.auth-card .auth-footer { gap: 6px 8px; flex-wrap: wrap; padding-left: 12px; padding-right: 12px; }   /* 주석260918-66 */
.auth-card .auth-links { margin-left: auto; gap: 3px; }
.auth-card .auth-auto { gap: 4px; }
/* 주석260911-6 */
.auth-card .auth-auto, .auth-card .auth-links, .auth-card .auth-link, .auth-card .auth-divider { line-height: 16px; }
.auth-card .auth-auto input { margin: 0; position: relative; top: 1px; }   /* 주석260918-67 */
/* 주석260918-68 */
.auth-card .auth-input { height: 36px; padding-top: 0; padding-bottom: 0; font-size: 13px; }
.auth-card .auth-btn-login { height: 36px; padding: 0; font-size: 13px; }
.auth-card .auth-auto, .auth-card .auth-links, .auth-card .auth-link { font-size: 12px; }
@media (max-width: 360px) {
  .soc-btn, .auth-card .auth-input, .auth-card .auth-btn-login { height: 34px; font-size: 12px; }
  .auth-card .auth-auto, .auth-card .auth-links, .auth-card .auth-link { font-size: 11px; }
}


/* 주석260918-69 */
/* 주석260918-70 */
.user-profile {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 9px 14px;
  background: linear-gradient(135deg, var(--navy-tint-2) 0%, var(--navy-bg) 100%);
  border-bottom: 1px solid var(--border);
}
.user-name { line-height: 1.1; }
.user-exp {
  margin-top: 4px;
  font-size: 11px;
  font-weight: 500;
  color: var(--navy-mid);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.user-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.user-info { flex: 1; min-width: 0; }
.user-name {
  font-size: 14px;
  font-weight: 700;
  color: #000;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
  flex-shrink: 1;
}
.user-level-label {
  font-size: 11px;
  color: var(--navy-mid);
  font-weight: 500;
  margin-top: 2px;
}
.user-menu { display: flex; flex-direction: column; }
.user-menu-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-main);
  font-size: 12px;
  color: var(--gray-800);
  cursor: pointer;
  transition: background 0.15s;
  text-align: left;
  width: 100%;
}
.user-menu-btn:hover { background: var(--gray-50); color: var(--navy-mid); }
.menu-arrow { color: var(--gray-400); font-size: 15px; line-height: 1; }
.auth-btn-logout {
  display: block;
  width: calc(100% - 28px);
  margin: 10px 14px 12px;
  padding: 7px;
  background: none;
  color: var(--red);
  border: 1px solid #ffd0d0;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  transition: all 0.15s;
}
.auth-btn-logout:hover { background: #fff0f0; border-color: var(--red); }

/* 주석260918-71 */
.sidebar-drawer .drawer-error {
  color: var(--red);
  font-size: 12px;
  padding: 6px 14px 0;
}
.sidebar-drawer .drawer-error:empty { padding: 0; }
.sidebar-drawer .auth-user {
  padding: 12px 14px 14px;
}

/* 주석260911-7 */
.sidebar-drawer .auth-card { border: 1px solid #adb5bd; }
.sidebar-drawer .auth-head { border-bottom: 1px solid #adb5bd; }
.sidebar-drawer .drawer-user-nick {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  padding: 6px 0 12px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.sidebar-drawer .drawer-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  background: none;
  border: none;
  border-radius: 6px;
  font-family: var(--font-main);
  font-size: 13px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: background 0.15s;
}
.sidebar-drawer .drawer-btn:hover { background: var(--gray-50); }
.sidebar-drawer .drawer-btn-arrow { color: var(--gray-400); }
.sidebar-drawer .drawer-btn-logout {
  color: var(--red);
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  border-radius: 0;
}

/* 주석260918-72 */
.btn-hamburger { position: relative; }
.hamburger-dot {
  display: none;
  position: absolute;
  top: 4px;
  right: 4px;
  width: 7px;
  height: 7px;
  background: #e53935;
  border-radius: 50%;
  border: 1px solid var(--navy-light);
}
.hamburger-dot.on { display: block; }
.drawer-menu-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: #e53935;
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
}

/* 주석260918-73 */
.page-select-wrap {
  display: inline-flex;
  align-items: center;
  height: 36px;
  box-sizing: border-box;
}
@media (max-width: 360px) {
  .page-select-wrap { height: 34px; }
}
.page-select {
  background: #fff;
  background-image: none !important;
  border: 1px solid var(--border);
  border-radius: 6px;
  height: 36px !important;
  min-height: 36px !important;
  max-height: 36px !important;
  padding: 0 12px;
  font-size: 13px;
  font-family: var(--font-main);
  color: var(--gray-600);
  cursor: pointer;
  outline: none;
  text-align: center;
  text-align-last: center;
  min-width: 64px;
  line-height: 34px;
  box-sizing: border-box;
  vertical-align: middle;
}
.page-select:hover:not(:disabled) { border-color: var(--navy-mid); color: var(--navy-mid); }
.page-select:disabled { opacity: 0.35; cursor: default; }

/* 주석260918-74 */
.page-btn,
.btn-page {
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  line-height: 1 !important;
  font-size: 13px !important;
  text-align: center;
  -webkit-appearance: none;
  appearance: none;
}

/* 주석260525-1 */
/* 주석260918-75 */
.pg-block { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: nowrap; }
/* 주석260918-76 */
.pg-block .pg-btn {
  width: 36px !important; height: 36px !important; font-size: 12px !important;
  flex: 0 0 auto; display: inline-flex !important; align-items: center !important; justify-content: center !important;
  line-height: 1 !important; padding: 0 !important; box-sizing: border-box;
}
.pg-block .pg-btn svg { display: block; }  /* 주석260918-77 */
/* 주석260918-78 */
.pg-block .pg-btn.pg-active { background: var(--navy-pale) !important; border-color: var(--navy-tint-8) !important; color: var(--navy-mid) !important; font-weight: 700; }
/* 주석260816-1 */
.pg-block .pg-btn:disabled,
.pg-block .pg-btn.disabled { opacity: 0.35; cursor: default; pointer-events: none; }
@media (max-width: 360px) {
  .pg-block { gap: 4px; }
  .pg-block .pg-btn { width: 34px !important; height: 34px !important; font-size: 11px !important; }
}

/* 주석260918-79 */
.footer-links { font-size: 13px; }
.footer-copyright { font-size: 12px; }
@media (max-width: 360px) {
  .footer-links { font-size: 12px; }
  .footer-copyright { font-size: 11px; }
}

/* 주석260918-80 */
.page-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;   /* 주석260918-81 */
  text-align: center;
}

.reg-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 36px;
  margin-top: -6px;
}

.field {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.field:last-of-type { margin-bottom: 0; }

.field-label {
  width: 130px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  padding-top: 10px;
}
.field-label .req { color: var(--red); margin-left: 2px; }

.field-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.inp {
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 13px;
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
}
.inp:focus { border-color: var(--navy-mid); }
.inp.error { border-color: var(--red); }
.inp.success { border-color: var(--green); }
.inp[readonly] { background: var(--gray-50); color: var(--gray-600); cursor: default; }

.inp-row { display: flex; gap: 8px; }
.inp-row .inp { flex: 1; }

.btn-check {
  height: 36px;
  padding: 0 16px;
  background: var(--navy-pale);
  color: var(--navy-mid);
  border: 1px solid var(--navy-light);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-main);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s;
  flex-shrink: 0;
}
@media (hover: hover) { .btn-check:hover { background: var(--navy-mid); color: #fff; } } /* 주석260717-8 */

.msg { font-size: 12px; display: none; word-break: break-all; overflow-wrap: anywhere; }
.msg.show { display: block; }
.msg.ok  { color: var(--green); }
.msg.err { color: var(--red); }
.hint { font-size: 12px; color: var(--gray-400); }
.msg.show ~ .hint { display: none; }

/* 주석260918-82 */
@media (max-width: 768px) {
  .page-title { font-size: 15px; }
  .reg-card { padding: 15px; }
  .field { margin-bottom: 10px; }
  .field-label { width: 90px; font-weight: 500; color: var(--gray-600); padding-top: 7px; } /* 주석260918-83 */
  .btn-check { padding: 0 14px; }
}

/* 주석260918-84 */
@media (max-width: 360px) {
  .page-title { font-size: 14px; }
  .field-label { width: 75px; font-size: 12px; padding-top: 7px; } /* 주석260918-85 */
  .inp { height: 34px; font-size: 12px; }   /* 주석260911-8 */
  .btn-check { height: 34px; font-size: 12px; padding: 0 14px; }
  .hint { font-size: 11px; }
  .msg { font-size: 11px; }
}

/* 주석260918-86 */

/* 주석260918-87 */
/* 주석260918-88 */
/* 주석260729-4 */
nav { background: var(--navy-bg); position: relative; z-index: 100; }
.nav-inner { max-width: 1080px; margin: 0 auto; padding: 0 10px; }
.nav-top { display: flex; align-items: center; height: 56px; gap: 16px; position: relative; }
.nav-logo { font-family: 'DM Serif Display', serif; font-size: 22px; color: var(--navy); letter-spacing: -0.5px; flex-shrink: 0; text-decoration: none; margin-left: 10px; }
.nav-logo span { color: var(--navy-soft); }
.nav-search {
  position: absolute; left: 50%; transform: translateX(-50%);
  width: 360px; display: flex; align-items: center;
  background: var(--gray-100); border: 1px solid var(--border);
  border-radius: 8px; overflow: hidden; transition: border-color 0.15s, background 0.15s;
}
.nav-search:focus-within { border-color: var(--navy-mid); background: #fff; }
.nav-search input { flex: 1; background: transparent; border: none; outline: none; color: var(--text); font-size: 13px; font-family: var(--font-main); padding: 8px 12px; }
.nav-search input::placeholder { color: var(--gray-400); }
.nav-search-btn { background: transparent; border: none; cursor: pointer; padding: 8px 12px; color: var(--gray-600); display: flex; align-items: center; transition: color 0.15s; }
.nav-search-btn:hover { color: var(--navy-mid); }
.nav-bottom-wrap { background: var(--navy); }
.nav-bottom { max-width: 1080px; margin: 0 auto; }
.nav-link { color: rgba(255,255,255,0.7); font-size: 13px; padding: 5px 12px; border-radius: 8px; cursor: pointer; transition: all 0.15s; border: none; background: transparent; text-decoration: none; font-family: var(--font-main); }
.nav-link:visited { color: rgba(255,255,255,0.7); }
.nav-link.active:visited { color: #fff; }
/* 주석260918-89 */
.nav-link.active { background: rgba(255,255,255,0.1); color: #fff; }
html:not(.is-touch) .nav-link:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-write { background: var(--btn-bg); border: none; color: var(--btn-text); padding: 6px 14px; border-radius: 8px; font-size: 13px; cursor: pointer; font-family: var(--font-main); font-weight: 500; transition: background 0.15s; }
html:not(.is-touch) .btn-write:hover { background: var(--navy-hover); }

/* 주석260515-2 */
img[data-fb-applied] { object-fit: contain; background: #f5f5f5; }

/* 주석260516-1 */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* 주석260717-9 */
html.dark {
  color-scheme: dark; /* 주석260918-90 */
  --btn-bg: #ffcf6b;
  --btn-text: var(--navy-dk-1);
  --title-text: var(--navy-dk-mid);
  --navy-mid: var(--navy-dk-mid);
  --navy-light: var(--navy-dk-light);
  --navy-pale: var(--navy-dk-pale);
  --navy-bg: var(--navy-dk-bg);
  --red-pale: #331a1d;
  --white: var(--navy-dk-1);
  --gray-50: var(--navy-dk-2);
  --gray-100: #26313f;
  --gray-200: var(--navy-dk-3);
  --gray-300: #3a4a5e;
  --gray-400: #8494a7;
  --gray-600: #aebccb;
  --gray-800: var(--navy-tint-9);
  --text: var(--navy-tint-10);
  --border: var(--navy-dk-16);
  --gray-500: #99a8b9;   /* 주석260809-1 */
}
:root { --gray-500: #8d959d; }   /* 주석260918-91 */
/* 주석260918-92 */
/* 주석260717-10 */
html.dark .nav-search:focus-within { background: var(--gray-50) !important; }
html.dark .auth-input:focus { background: var(--gray-50); }
html.dark .user-profile { background: linear-gradient(135deg, var(--navy-dk-5) 0%, var(--navy-dk-6) 100%); }
html.dark .user-name { color: var(--text); }
html.dark .auth-btn-logout { border-color: #5a2f33; }
html.dark .auth-btn-logout:hover { background: var(--red-pale); border-color: var(--red); }
html.dark .auth-btn-login { background: var(--navy-light); }
html.dark .auth-btn-login:hover { background: var(--navy-dk-hover); }
html.dark .ad-placeholder { background: var(--navy-dk-4); border-color: #4a5768; color: #8b98a8; }
html.dark .sticker-slot, html.dark .level-badge { background-color: #3a4656; }
html.dark img[data-fb-applied] { background: var(--navy-dk-4); }
/* 주석260918-93 */
html.dark #popupModal > div, html.dark #confirmModal > div { background: var(--white) !important; }
html.dark #popupModalMsg, html.dark #confirmModalMsg { color: var(--text) !important; }

/* 주석260918-94 */
/* 주석260719-1 */
/* 주석260720-2 */
.nav-util-group { display: flex; align-items: center; margin-left: auto; } /* 주석260918-95 */
.nav-util-items { display: flex; align-items: center; gap: 10px; } /* 주석260720-3 */
.nav-util-btn { display: grid; grid-template-rows: 3px 1fr 1fr; align-items: center; justify-items: center; width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; background: none; border: none; padding: 0; color: #000; font-family: var(--font-main); } /* 주석260720-4 */
html.dark .nav-util-btn { color: var(--navy-tint-1); } /* 주석260918-96 */
.nav-util-btn .nav-util-ico { grid-row: 2; display: flex; align-items: center; justify-content: center; }
.nav-util-btn .nav-util-ico svg { width: 20px; height: 20px; display: block; stroke: currentColor; } /* 주석260720-5 */
/* 주석260918-97 */
.nav-util-btn .nav-util-cap { grid-row: 3; transform: translateY(2px); font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1; white-space: nowrap; user-select: none; color: #000; } /* 주석260720-6 */
html.dark .nav-util-btn .nav-util-cap { color: var(--navy-tint-1); }
.nav-util-btn:hover { color: var(--navy-mid); }
/* 주석260720-7 */
.nav-util-arrow { display: none; }
@media (max-width: 768px) {
  /* 주석260720-8 */
  .nav-util-group { margin-left: 4px; border-radius: 8px; }
  /* 주석260720-9 */
  .nav-util-group.expanded { background: #792a4d; }
  .nav-util-arrow { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; padding: 0; cursor: pointer; background: #de3d8e; border: none; border-radius: 8px; color: #fff; } /* 주석260720-10 */
  .nav-util-group.expanded .nav-util-arrow { background: #de3d8e; } /* 주석260918-98 */
  .nav-util-arrow svg { width: 26px; height: 26px; display: block; transition: transform 0.25s ease; } /* 주석260720-11 */
  .nav-util-group.expanded .nav-util-arrow svg { transform: rotate(180deg); } /* 주석260918-99 */
  /* 주석260720-12 */
  .nav-util-items { max-width: 0; opacity: 0; overflow: hidden; gap: 4px; padding: 0; transition: max-width 0.25s ease, opacity 0.18s ease, padding 0.25s ease; }
  .nav-util-group.expanded .nav-util-items { max-width: 106px; opacity: 1; padding: 0 2px 0 0; }
  .nav-util-items .nav-util-btn, .nav-util-items .theme-toggle { display: grid !important; width: 32px !important; height: 32px !important; margin: 0 !important; transform: translateY(-1px); } /* 주석260720-13 */
  /* 주석260720-14 */
  .nav-util-items .nav-util-ico svg, .nav-util-items .tg-bulb svg { width: 18px !important; height: 18px !important; }
  .nav-util-items .nav-util-cap, .nav-util-items .tg-caption { font-size: 9px !important; letter-spacing: 0 !important; } /* 주석260918-100 */
  .nav-util-btn .nav-util-cap { color: var(--navy-tint-1); } /* 주석260918-101 */
  /* 주석260720-15 */
  .nav-util-items .nav-util-btn, html.dark .nav-util-items .nav-util-btn { color: var(--navy-tint-1); } /* 주석260918-102 */
  /* 주석260720-16 */
  .nav-util-items .tg-bulb .bulb-body, .nav-util-items .tg-bulb .bulb-base { stroke: var(--navy-tint-1); }
  html.dark .nav-util-items .tg-bulb .bulb-spark { stroke: var(--navy-tint-1); }
}
@media (max-width: 360px) {
  .nav-util-arrow { width: 34px; height: 34px; } /* 주석260918-103 */
  .nav-util-items .nav-util-btn, .nav-util-items .theme-toggle { width: 30px !important; height: 30px !important; }
  /* 주석260918-104 */
  .nav-util-items .nav-util-ico svg, .nav-util-items .tg-bulb svg { width: 16px !important; height: 16px !important; }
  .nav-util-items .nav-util-cap, .nav-util-items .tg-caption { font-size: 8px !important; }
  .nav-util-group.expanded .nav-util-items { max-width: 100px; } /* 주석260918-105 */
}

/* 주석260719-2 */
.gshare-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 10000; display: none; align-items: center; justify-content: center; }
.gshare-overlay.active { display: flex; }
.gshare-box { background: var(--white); border-radius: 12px; width: 360px; max-width: 90vw; overflow: hidden; box-shadow: 0 8px 32px rgba(0,0,0,0.2); }
.gshare-head { padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #adb5bd; background: var(--navy); } /* 주석260804-3 */
.gshare-head-title { font-size: 15px; font-weight: 700; color: #fff; }
.gshare-close { background: none; border: none; cursor: pointer; color: rgba(255,255,255,0.7); font-size: 20px; padding: 0; line-height: 1; }
.gshare-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 0; padding: 16px 12px; }
.gshare-btn { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 4px; border: none; background: none; cursor: pointer; border-radius: 8px; transition: background 0.15s; }
.gshare-btn:hover { background: var(--gray-100); }
.gshare-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.gshare-label { font-size: 11px; color: var(--gray-600); font-weight: 500; white-space: nowrap; }

/* 주석260918-106 */
.theme-toggle { display: grid; grid-template-rows: 3px 1fr 1fr; align-items: center; justify-items: center; width: 36px; height: 36px; cursor: pointer; flex-shrink: 0; }
.theme-toggle .tg-caption { grid-row: 3; display: inline-grid; align-content: center; transform: translateY(2px); padding: 0; font-size: 10px; font-weight: 700; letter-spacing: 0; line-height: 1; color: #000; user-select: none; font-family: var(--font-main); white-space: nowrap; text-align: center; } /* 주석260720-17 */
.theme-toggle .tg-caption > span { grid-area: 1 / 1; }
html.dark .theme-toggle .tg-caption { color: var(--navy-tint-1); } /* 주석260719-3 */
.theme-toggle .tg-cap-dark { visibility: hidden; }
html.dark .theme-toggle .tg-cap-light { visibility: hidden; }
html.dark .theme-toggle .tg-cap-dark { visibility: visible; }
/* 주석260918-107 */
@media (max-width: 768px) {
  .theme-toggle .tg-caption { color: var(--navy-tint-1) !important; }
}
/* 주석260719-4 */
.theme-toggle .tg-bulb { grid-row: 2; display: flex; align-items: center; justify-content: center; }
.theme-toggle .tg-bulb svg { width: 20px; height: 20px; display: block; }
.tg-bulb .bulb-body  { fill: #f5c518; stroke: #000; stroke-width: 1.8; }   /* 주석260720-18 */
.tg-bulb .bulb-base  { fill: none; stroke: #000; stroke-width: 2; }
.tg-bulb .bulb-spark { fill: #f5c518; stroke: none; }                       /* 주석260918-108 */
html.dark .tg-bulb .bulb-body  { fill: none; stroke: var(--navy-tint-1); stroke-width: 1.8; } /* 주석260720-19 */
html.dark .tg-bulb .bulb-base  { stroke: var(--navy-tint-1); }
html.dark .tg-bulb .bulb-spark { fill: none; stroke: var(--navy-tint-1); stroke-width: 1.4; }

html.dark .nav-dropdown-item:hover { background: var(--gray-200); }
/* 주석260918-109 */
html.dark .popup-card, html.dark .popup-body { background: var(--white); }
html.dark .popup-footer { background: var(--gray-100); }
html.dark { --red-pale-border: #5a2f33; }
/* 주석260918-110 */
html.dark textarea { background: var(--gray-50); color: var(--text); border-color: var(--border); }
html.dark textarea::placeholder { color: var(--gray-600); }
/* 주석260918-111 */
/* 주석260804-4 */
html.dark .nav-dropdown-item { color: var(--text) !important; }
/* 주석260717-11 */
html.dark .user-popup { background: var(--white); }
html.dark .user-popup .popup-profile { background: linear-gradient(135deg, var(--navy-dk-9) 0%, var(--navy-dk-10) 100%); } /* 주석260717-12 */
html.dark .page-title { color: var(--navy-soft-2); } /* 주석260918-112 */
/* 주석260717-13 */
html.dark .inq-card { background: var(--white) !important; }
html.dark #inqCategory { background: var(--gray-50) !important; }
html.dark #inqTitle { background: var(--gray-50); }
html.dark .inq-cancel { background: var(--gray-100) !important; }
html.dark .hint { color: var(--gray-600); } /* 주석260717-14 */
/* 주석260717-15 */
html.dark input::placeholder, html.dark textarea::placeholder { color: var(--gray-600) !important; }
/* 주석260717-16 */
@media (min-width: 769px) {
  .nav-top { position: relative; }
  .nav-logo { position: absolute; left: calc(25% - 90px); top: 50%; transform: translate(-50%, -50%); margin: 0; }
}
/* 주석260717-17 */
.nav-search { border-color: #6c757d; }
html.dark .nav-search { border-color: #9fb1c4; }
html.dark .nav-chip { color: var(--navy-deep); } /* 주석260717-18 */
html.dark .nav-search.has-query { background: var(--navy-tint-3); } /* 주석260717-19 */
html.dark .nav-chip-x { color: var(--navy-deep); } /* 주석260717-20 */
/* 주석260717-21 */
@media (max-width: 768px) {
  .nav-chip { color: var(--navy-deep) !important; }
  .nav-chip-x { color: var(--navy-deep) !important; }
}

/* 주석260729-5 */
html { background: var(--navy-bg, var(--navy-bg)); }

/* 주석260718-1 */
.cbx-host { position: relative; display: inline-block; vertical-align: middle; }
/* 주석260811-1 */
.cbx-face, .cbx-list, .cbx-opt { touch-action: manipulation; }
.cbx-face { appearance: none; -webkit-appearance: none; -moz-appearance: none; text-align: left; }
/* 주석260918-113 */
.cbx-face.cbx-plain {
  display: inline-flex;
  align-items: center;
  background: var(--white, #fff) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>") no-repeat right 10px center;
  border: 1px solid var(--border, var(--navy-line));
  border-radius: 8px;
  color: var(--text, var(--navy-deep));
  font-size: 13px;
  font-family: var(--font-main);
  padding: 0 30px 0 12px;
  height: 36px;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  white-space: nowrap;
}
html.dark .cbx-face.cbx-plain { background-color: var(--gray-50); }
/* 주석260918-114 */
@media (max-width: 360px) {
  .cbx-face.cbx-plain { height: 34px; font-size: 12px; }
  .cbx-opt { padding: 8px 10px; font-size: 12px; }
}
/* 주석260325-1 */
.cbx-face.page-select { text-align: center; justify-content: center; display: inline-flex; align-items: center; }
html.dark .cbx-face.page-select { background-color: var(--gray-50); }
.cbx-face:disabled { opacity: 0.6; cursor: default; }
.cbx-list {
  position: fixed;
  max-height: 264px;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain; /* 주석260718-2 */
  background: var(--white, #fff);
  border: 1px solid var(--navy-mid, var(--navy-mid)); /* 주석260720-20 */
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 12000;
  display: none;
  box-sizing: border-box;
}
.cbx-list.open { display: block; }
/* 주석260718-3 */
.cbx-list { scrollbar-width: none; }
.cbx-list::-webkit-scrollbar { display: none; }
.cbx-thumb { position: fixed; width: 6px; background: var(--gray-400, #adb5bd); border-radius: 3px; z-index: 12001; pointer-events: none; } /* 주석260721-2 */
.cbx-opt { padding: 9px 12px; font-size: 13px; color: var(--text, var(--navy-deep)); cursor: pointer; white-space: nowrap; font-family: var(--font-main); }
.cbx-opt:hover, .cbx-opt.focus { background: var(--gray-100, #f1f3f5); }
.cbx-opt.selected { color: var(--navy-mid, var(--navy-mid)); font-weight: 700; }
.cbx-opt.disabled { color: var(--gray-400, #adb5bd); cursor: default; }
.cbx-opt.disabled:hover { background: none; }
html.dark .cbx-list { box-shadow: 0 6px 20px rgba(0,0,0,0.45); }
/* 주석260918-115 */
@media (max-width: 360px) {
  .combo-wrap .cbx-host { position: absolute; inset: 0; }
  .combo-wrap .cbx-face { width: 100%; height: 100%; font-size: 12px !important; line-height: 1 !important; padding: 0 24px 0 8px !important; }
}

/* 주석260718-4 */
.tt-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 5px 2px; border-bottom: 1px solid var(--gray-200, #e9ecef); padding: 2px 0; position: relative; }
.tt-group { display: flex; align-items: center; gap: 2px; padding-right: 8px; margin-right: 8px; border-right: 1px solid var(--gray-200, #e9ecef); }
.tt-group:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.tt-btn { min-width: 28px; height: 28px; border: none; background: none; border-radius: 4px; color: var(--gray-600, #6c757d); cursor: pointer; display: flex; align-items: center; justify-content: center; flex-direction: column; font-family: var(--font-main); font-size: 14px; font-weight: 700; padding: 0; }
.tt-btn svg { width: 16px; height: 16px; display: block; pointer-events: none; }
.tt-btn:hover { background: var(--gray-100, #f1f3f5); color: var(--text, var(--navy-deep)); }
.tt-btn.active { color: var(--navy-light, var(--navy-light)); background: var(--navy-pale, var(--navy-pale)); }
.tt-btn:disabled { opacity: 0.35; cursor: default; background: none; }
.tt-picker { position: relative; }
.tt-picker-btn { width: auto; padding: 0 6px; font-size: 13px; font-weight: 500; flex-direction: row; gap: 4px; }

/* 주석260719-5 */
.tt-header-label { display: inline-block; min-width: 3.4em; text-align: center; }
.tt-caret { font-size: 9px; color: var(--gray-400, #adb5bd); }
.tt-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 60; background: var(--white, #fff); border: 1px solid var(--border, var(--navy-line)); border-radius: 6px; box-shadow: 0 4px 16px rgba(0,0,0,0.12); padding: 4px; display: none; min-width: 90px; }
.tt-picker.open .tt-menu { display: block; }
.tt-opt { padding: 6px 10px; font-size: 13px; color: var(--text, var(--navy-deep)); border-radius: 4px; cursor: pointer; white-space: nowrap; }
.tt-opt:hover { background: var(--gray-100, #f1f3f5); }
.tt-opt.selected { color: var(--navy-light, var(--navy-light)); font-weight: 700; }
.tt-opt[data-h="1"] { font-size: 17px; font-weight: 700; }
.tt-opt[data-h="2"] { font-size: 15px; font-weight: 700; }
.tt-opt[data-h="3"] { font-size: 14px; font-weight: 700; }
.tt-swatches { display: grid; grid-template-columns: repeat(7, 18px); gap: 4px; padding: 2px; }
.tt-swatch { width: 18px; height: 18px; border-radius: 3px; border: 1px solid rgba(0,0,0,0.15); cursor: pointer; padding: 0; }
.tt-swatch:hover { transform: scale(1.15); }
.tt-reset { grid-column: 1 / -1; font-size: 12px; color: var(--gray-600, #6c757d); text-align: center; padding: 4px 0 2px; cursor: pointer; border-radius: 4px; }
.tt-reset:hover { background: var(--gray-100, #f1f3f5); }
.tt-color-bar { display: block; width: 14px; height: 3px; border-radius: 1px; margin-top: 1px; background: var(--gray-600, #6c757d); }

/* 주석260810-1 */
.tt-btn[aria-label="배경색"] { position: relative; }
/* 주석260810-2 */
/* 주석260918-116 */
.tt-btn[aria-label="배경색"] > span:not(.tt-color-bar) {
  color: var(--white, #fff); position: relative; z-index: 1;
  font-weight: 700; -webkit-text-stroke: 0.2px var(--white, #fff);
  font-size: 14px; /* 주석260811-2 */
}
.tt-btn[aria-label="배경색"] .tt-color-bar {
  position: absolute; left: 4px; right: 4px; top: 6px; bottom: 6px; /* 주석260811-3 */
  width: auto; height: auto; margin: 0;
  border-radius: 0; border: 1px solid rgba(0,0,0,0.12); /* 주석260811-4 */
  background: var(--gray-400, #adb5bd);
}
html.dark .tt-btn[aria-label="배경색"] .tt-color-bar { border-color: rgba(255,255,255,0.18); }html.dark .tt-btn { color: #aebccb; }
html.dark .tt-btn:hover { background: rgba(255,255,255,0.08); color: var(--text); }
html.dark .tt-btn.active { color: var(--navy-light); background: rgba(45,125,210,0.18); }
html.dark .tt-menu { background: var(--white); border-color: var(--border); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
html.dark .tt-opt:hover { background: rgba(255,255,255,0.08); }
html.dark .tt-reset:hover { background: rgba(255,255,255,0.08); }
html.dark .tt-swatch { border-color: rgba(255,255,255,0.25); }

/* 주석260720-21 */
input:not([type=checkbox]):not([type=radio]):focus,
textarea:focus,
select:focus,
.cbx-face:focus,
.cbx-face.cbx-open {
  border-color: var(--navy-mid) !important;
}

/* 주석260808-2 */
#loginModal .auth-head, #npSignupModal .auth-head { border-bottom: 1px solid #adb5bd; }   /* 주석260918-117 */

/* 주석260721-3 */
#popupModal > div, #confirmModal > div, #inquiryModal > div, #reportModal > div,
#loginModal > div, #npSignupModal > div, #adminMoveModal > div, #popupOverlay > div,
#shareModal .share-box, #stickerShopModal > .ssh-box,
.user-popup, .admin-action-menu,
.gshare-box, #auditModeModal > div, .popup-card, .bell-popup {
  border: 1px solid #adb5bd !important;
} /* 주석260804-5 */
/* 주석260804-6 */
.report-reason-btn { width: 100%; padding: 10px; border: none; background: var(--navy-tint-12); color: var(--navy-deep); border-radius: 8px; font-size: 13px; cursor: pointer; font-family: var(--font-main); margin-bottom: 6px; }
.report-reason-btn:hover { background: var(--navy-tint-2); }
html.dark .report-reason-btn { background: var(--gray-50); color: var(--text); }
html.dark .report-reason-btn:hover { background: var(--gray-100); }
/* 주석260921-3 */
.cta-btn, .auth-btn-login, .nav-mobile-dropdown-btn, .btn-mobile-home, .btn-write { background: var(--btn-bg) !important; color: var(--btn-text) !important; }
.cta-btn:hover, .auth-btn-login:hover, .btn-write:hover { background: var(--navy-hover) !important; }
/* 주석260921-4 */
.nav-link, .nav-link.active, .nav-link:hover { color: var(--btn-text) !important; }
.board-section-title { color: var(--title-text) !important; }
/* 주석260921-5 */
.stat-num { color: var(--title-text) !important; }
/* 주석260921-6 */
footer, footer a, footer .footer-links a, footer .footer-copyright, footer .footer-logo { color: var(--brown) !important; }
