/**
 * DX_HABIT 게시판 스킨 — habit.css v1.0.0
 * Copyright © DesignOneX — designonex.com · All Rights Reserved.
 * License: DesignOneX License 1.0 (https://designonex.com/notice/view/1787577858493247)
 * style.css 뒤에 불러옵니다. 그림자 없음, 둥근 모서리 없음. 색은 사이트(테마) 색을 따라가고, 표시는 고정 형광색입니다.
 */
.nb *, .nb *::before, .nb *::after { border-radius: 0 !important; box-shadow: none !important; }
.dxhb a { color: inherit; text-decoration: none; }
.dxhb-wrap { max-width: 1180px; margin: 0 auto; padding: 40px 8px 112px; display: flex; flex-direction: column; gap: 32px; }
.dxhb-wrap.is-view { max-width: 1040px; gap: 36px; }
.dxhb-wrap.is-narrow { max-width: 780px; }
.dxhb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 56px 48px 40px; }
.dxhb-head.is-plain { padding: 0; }
.dxhb-ttl { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dxhb-kick { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--nb-ink); }
.dxhb-kick::before { content: ""; width: 3px; height: 12px; background: #d7fb55; flex: none; }
.dxhb-ttl h1 { margin: 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; font-weight: 900; letter-spacing: -.08em; color: var(--nb-ink); overflow-wrap: anywhere; }
.dxhb-btn { height: 46px; padding: 0 24px; border: 1px solid var(--nb-ink); background: transparent; color: var(--nb-ink); display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 800; font-family: inherit; cursor: pointer; white-space: nowrap; }
.dxhb-btn:hover { background: var(--nb-hover); }
.dxhb-btn:disabled { opacity: .5; cursor: default; }
.dxhb-btn.is-ink { background: var(--nb-btn); border-color: var(--nb-btn); color: var(--nb-on-btn); }
.dxhb-btn.is-sm { height: 38px; padding: 0 16px; font-size: 12px; }
.dxhb-btn.is-line { border-color: var(--nb-strong); color: var(--nb-mute); }
.dxhb-self { margin-top: 14px; }
.dxhb-inl { display: inline; margin: 0; }
.dxhb-back { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--nb-mute); }
.dxhb-back:hover { color: var(--nb-ink); }
.dxhb-empty { padding: 64px 12px; font-size: 14px; color: var(--nb-mute); text-align: center; }
.dxhb-state { border: 1px solid var(--nb-line); padding: 24px; font-size: 14px; line-height: 1.8; color: var(--nb-mute); }
.dxhb-note { padding: 20px 4px; font-size: 13px; color: var(--nb-mute); }
.dxhb-noimg { display: grid; place-items: center; width: 100%; height: 100%; font-size: 10px; font-weight: 900; letter-spacing: .14em; color: var(--nb-mute); }

/* 목록 */
.dxhb-board { border: 1px solid var(--nb-line); background: var(--nb-card); min-width: 0; }
.dxhb-bar2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px 48px; font-size: 12px; font-weight: 800; color: var(--nb-mute); }
.dxhb-srt { display: flex; }
.dxhb-srt a { padding: 7px 14px; border: 1px solid var(--nb-line); margin-left: -1px; font-size: 12px; font-weight: 800; }
.dxhb-srt a.on { background: #d7fb55; border-color: #20231f; color: #20231f; }
.dxhb-pager { display: flex; justify-content: center; padding-bottom: 56px; }
.dxhb-pager a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--nb-line); margin-left: -1px; font-size: 13px; font-weight: 700; }
.dxhb-pager a.on { background: var(--nb-btn); color: var(--nb-on-btn); border-color: var(--nb-btn); }

/* 쓰기 */
.dxhb-wform { display: flex; flex-direction: column; gap: 20px; border: 1px solid var(--nb-line); background: var(--nb-card); padding: 48px; }
.dxhb-lab { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--nb-mute); margin-top: 14px; line-height: 1.6; }
.dxhb-in { width: 100%; height: 48px; border: 1px solid var(--nb-ink); background: var(--nb-card); color: var(--nb-ink); font: inherit; font-size: 15px; padding: 0 14px; outline: none; box-sizing: border-box; }
.dxhb-ta { width: 100%; border: 1px solid var(--nb-ink); background: var(--nb-card); color: var(--nb-ink); font: inherit; font-size: 14px; line-height: 1.8; padding: 14px; outline: none; box-sizing: border-box; resize: vertical; min-height: 120px; }
.dxhb-in:focus, .dxhb-ta:focus { outline: 2px solid var(--nb-ink); outline-offset: 1px; }
.dxhb-g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.dxhb-g3 > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dxhb-g3 .dxhb-lab { margin-top: 0; }
.dxhb-opt { display: flex; gap: 8px; flex-wrap: wrap; }
.dxhb-opt button { height: 44px; min-width: 48px; padding: 0 18px; border: 1px solid var(--nb-ink); background: transparent; color: var(--nb-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.dxhb-opt button.on { background: #d7fb55; border-color: #20231f; color: #20231f; }
.dxhb-drop { border: 1px dashed var(--nb-ink); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.dxhb-pa { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.dxhb-wacts { display: flex; justify-content: flex-end; gap: 10px; margin-top: 18px; flex-wrap: wrap; }

html body .dxhb a.dxhb-btn.is-ink, html body .dxhb button.dxhb-btn.is-ink { color: var(--nb-on-btn) !important; background: var(--nb-btn); opacity: 1; }
html body .dxhb a.dxhb-btn.is-ink:hover, html body .dxhb button.dxhb-btn.is-ink:hover { color: #20231f !important; background: var(--nb-acid); }
html body .dxhb 
@media (max-width: 820px) {
  .dxhb-wrap { padding: 24px 0 80px; gap: 24px; }
  .dxhb-head { padding: 36px 20px 28px; }
  .dxhb-head.is-plain { padding: 0 16px; }
  .dxhb-bar2 { padding: 18px 20px; }
  .dxhb-acts { padding: 20px; }
  .dxhb-wform { padding: 24px 18px; }
  .dxhb-g3 { grid-template-columns: 1fr; }
  }

.dxhb-msg.is-err { border-color: #ff775e; }
.dxhb-wrap.is-view > .dxhb-msg { margin: 0; }
.dxhb-lab { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: var(--nb-mute); }
.dxhb-hint { font-size: 12px; color: var(--nb-mute); margin: 0; }
.dxhb-none { margin: 14px 0 0; font-size: 13px; color: var(--nb-mute); }
.dxhb-pv { max-width: 100%; max-height: 260px; width: auto; height: auto; border: 1px solid var(--nb-line); align-self: flex-start; display: block; }
.dxhb-x { border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 800; color: var(--nb-mute); cursor: pointer; padding: 6px 0; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.dxhb-x:hover { color: var(--nb-ink); }
.dxhb-inl { display: inline; margin: 0; }
.dxhb-stars { display: inline-flex; gap: 3px; vertical-align: middle; }


.dxhb-msg { margin: 0 0 4px; border: 1px solid #d7fb55; border-left: 4px solid #d7fb55; padding: 14px 18px; font-size: 13px; font-weight: 700; color: var(--nb-ink); background: var(--nb-card); }
.dxhb-msg.is-err { border-color: #ff775e; }
.dxhb-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 40px; border-top: 1px solid var(--nb-line); font-size: 12px; color: var(--nb-mute); }
.dxhb-ab { display: flex; gap: 8px; align-items: center; }
.dxhb-pad { padding: 48px; }
.dxhb-body { font-size: 15px; line-height: 2; color: var(--nb-ink); }
.dxhb-cm2 { border-top: 1px solid var(--nb-line); padding: 32px 40px 40px; display: flex; flex-direction: column; gap: 20px; }
.dxhb-cm2 h3 { margin: 0; font-size: 14px; font-weight: 800; }
.dxhb-cf { display: flex; flex-direction: column; gap: 10px; }
.dxhb-cf .dxhb-in { max-width: 240px; height: 42px; }
.dxhb-cf .dxhb-wacts { margin-top: 0; }
.dxhb-ci { border-top: 1px solid var(--nb-line); padding: 16px 0 0; }
.dxhb-ct2 { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; margin-bottom: 6px; }
.dxhb-ct2 b { font-size: 13px; font-weight: 800; }
.dxhb-ct2 time { color: var(--nb-mute); font-weight: 600; }
.dxhb-ct2 .dxhb-x { margin-left: auto; }
.dxhb-cb { font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; padding-bottom: 14px; }
/* 쓰기 */
.dxhb-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dxhb-g2 > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dxhb-ct2 em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 2px 8px; background: #d7fb55; color: #20231f; }

.dxhb-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.dxhb-g2 > div { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dxhb-g2 .dxhb-lab { margin-top: 0; }
.dxhb-h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; font-weight: 900; letter-spacing: -.07em; overflow-wrap: anywhere; color: var(--nb-ink); }
.dxhb-acts { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 18px 40px; border-top: 1px solid var(--nb-line); font-size: 12px; color: var(--nb-mute); }
.dxhb-ab { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

.dxhb-head { padding: 80px 64px 56px; }
.dxhb-sub { margin: 18px 0 0; font-size: 13px; line-height: 1.8; color: var(--nb-mute); font-weight: 600; }
.dxhb-ct2 em { font-style: normal; font-size: 10px; font-weight: 900; letter-spacing: .08em; padding: 2px 8px; background: #d7fb55; color: #20231f; }
.dxhb-ci { padding: 28px 0 14px; }


.dxhb-cm2 { padding: 64px; gap: 28px; }
.dxhb-cm2 h3 { font-size: 17px; }
.dxhb-hint { line-height: 1.9; }
.dxhb-g2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.dxhb-g2 > div { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dxhb-g2 .dxhb-lab { margin-top: 0; }
.dxhb-wform { padding: 64px; gap: 28px; }
.dxhb-h1 { margin: 0; font-size: clamp(24px, 3.4vw, 32px); line-height: 1.25; font-weight: 900; letter-spacing: -.07em; overflow-wrap: anywhere; color: var(--nb-ink); }
.dxhb-acts { padding: 22px 64px; }






/* ===== 습관 챌린지 전용 ===== */
.dxhb-sum { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--nb-ink); }
.dxhb-sum > div { padding: 40px; border-right: 1px solid var(--nb-line); min-width: 0; }
.dxhb-sum > div:last-child { border-right: 0; }
.dxhb-sum small { display: block; font-size: 11px; font-weight: 900; letter-spacing: .12em; color: var(--nb-mute); margin-bottom: 16px; }
.dxhb-sum b { font-size: 48px; line-height: 1; letter-spacing: -.08em; font-weight: 900; color: var(--nb-ink); }
.dxhb-sum b i { font-style: normal; font-size: 14px; color: var(--nb-mute); margin-left: 6px; letter-spacing: 0; font-weight: 800; }
.dxhb-bar { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; padding: 28px 40px; border-bottom: 1px solid var(--nb-line); }
.dxhb-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.dxhb-fc { height: 36px; padding: 0 18px; border: 1px solid var(--nb-line); color: var(--nb-ink); font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; }
.dxhb-fc.on { background: var(--nb-btn); color: var(--nb-on-btn); border-color: var(--nb-btn); }
.dxhb-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.dxhb-ch { padding: 40px; border-bottom: 1px solid var(--nb-line); border-right: 1px solid var(--nb-line); display: flex; flex-direction: column; gap: 24px; min-width: 0; color: var(--nb-ink); }
.dxhb-ch:nth-child(2n) { border-right: 0; }
.dxhb-ch:hover { background: var(--nb-hover); }
.dxhb-t { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.dxhb-tg { font-size: 11px; font-weight: 900; letter-spacing: .06em; padding: 4px 10px; border: 1px solid #20231f; color: #20231f; display: inline-block; white-space: nowrap; }
.dxhb-tg.is-on { background: #d7fb55; } .dxhb-tg.is-wt { background: #ffd84d; } .dxhb-tg.is-dn { background: #20231f; color: #fffefa; }
.dxhb-m { font-size: 12px; font-weight: 700; color: var(--nb-mute); }
.dxhb-m.is-top { display: block; margin-top: 8px; }
.dxhb-ch h3 { margin: 0; font-size: 22px; letter-spacing: -.06em; line-height: 1.35; font-weight: 900; color: var(--nb-ink); overflow-wrap: anywhere; }
.dxhb-cells { display: flex; flex-wrap: wrap; gap: 4px; }
.dxhb-cells span { width: 20px; height: 20px; border: 1px solid var(--nb-line); }
.dxhb-cells span.on { background: #d7fb55; border-color: #20231f; }
.dxhb-cells span.td { border-color: var(--nb-ink); border-width: 2px; }
.dxhb-cells span.mi { background: repeating-linear-gradient(45deg, transparent 0 4px, var(--nb-line) 4px 5px); }
.dxhb-pr { display: flex; justify-content: space-between; align-items: baseline; font-size: 12px; font-weight: 800; color: var(--nb-mute); }
.dxhb-pr b { font-size: 28px; letter-spacing: -.07em; color: var(--nb-ink); font-weight: 900; }
.dxhb-pr b i { font-style: normal; font-size: 13px; color: var(--nb-mute); margin-left: 3px; }
.dxhb-track { display: block; height: 10px; border: 1px solid var(--nb-ink); margin-top: 10px; }
.dxhb-track span { display: block; height: 100%; background: #d7fb55; }
.dxhb-pager { padding: 40px 0 56px; }
.dxhb-vw { padding: 64px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 64px; }
.dxhb-vl { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.dxhb-vl .dxhb-h1 { margin: 20px 0 0; }
.dxhb-desc2 { margin: 28px 0 0; font-size: 15px; line-height: 2; color: var(--nb-ink); overflow-wrap: anywhere; }
.dxhb-flash { margin-top: 28px; padding: 16px 20px; border: 1px solid #20231f; background: #d7fb55; color: #20231f; font-size: 13px; font-weight: 800; width: 100%; }
.dxhb-flash.is-err { background: #ffd84d; }
.dxhb-kv { margin: 36px 0; border: 1px solid var(--nb-ink); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
.dxhb-kv > div { padding: 24px 28px; border-right: 1px solid var(--nb-line); min-width: 0; }
.dxhb-kv > div:last-child { border-right: 0; }
.dxhb-kv span { display: block; font-size: 11px; font-weight: 900; letter-spacing: .1em; color: var(--nb-mute); margin-bottom: 10px; }
.dxhb-kv b { font-size: 20px; font-weight: 900; letter-spacing: -.04em; color: var(--nb-ink); }
.dxhb-cal { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; width: 100%; }
.dxhb-cal .h { font-size: 11px; font-weight: 800; color: var(--nb-mute); text-align: center; padding-bottom: 6px; }
.dxhb-cal span:not(.h) { aspect-ratio: 1; border: 1px solid var(--nb-line); display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--nb-ink); }
.dxhb-cal span.no { border: 0; }
.dxhb-cal span.on { background: #d7fb55; color: #20231f; border-color: #20231f; }
.dxhb-cal span.fu { color: var(--nb-mute); opacity: .6; }
.dxhb-cal span.mi { background: repeating-linear-gradient(45deg, transparent 0 5px, var(--nb-line) 5px 6px); }
.dxhb-cal span.td { border: 2px solid var(--nb-ink); }
.dxhb-big { height: 56px; width: 100%; margin-top: 28px; }
.dxhb-vl form { width: 100%; }
.dxhb-vl .dxhb-hint { margin-top: 14px; }
.dxhb-ab.is-mt { margin-top: 48px; display: flex; gap: 10px; }
.dxhb-rk { min-width: 0; display: flex; flex-direction: column; }
.dxhb-rk h3 { margin: 0 0 20px; font-size: 15px; color: var(--nb-ink); }
.dxhb-rk .r { display: grid; grid-template-columns: 28px minmax(0, 1fr) 60px; gap: 12px; align-items: center; padding: 18px 0; border-top: 1px solid var(--nb-line); font-size: 13px; font-weight: 700; color: var(--nb-ink); }
.dxhb-rk .r b { font-weight: 900; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dxhb-rk .r small { font-weight: 800; color: var(--nb-mute); text-align: right; }
.dxhb-rk .r .dxhb-track { margin: 0; grid-column: 2 / 4; height: 6px; }
.dxhb-rk .dxhb-hint { margin-top: 20px; }
.dxhb-cl2 { display: flex; flex-direction: column; }
.dxhb-opt { display: flex; gap: 10px; flex-wrap: wrap; }
.dxhb-opt button { height: 46px; padding: 0 20px; border: 1px solid var(--nb-line); background: transparent; color: var(--nb-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.dxhb-opt button.on { background: #d7fb55; color: #20231f; border-color: #20231f; }
.dxhb-opt button:disabled { cursor: default; opacity: .7; }
.dxhb-lab em { font-style: normal; font-weight: 600; letter-spacing: 0; }
.dxhb-fld { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dxhb-fld .dxhb-lab { margin-top: 0; }
.dxhb-hint { font-size: 12px; line-height: 1.8; color: var(--nb-mute); }
html body .dxhb .dxhb-tg { color: #20231f !important; }
html body .dxhb .dxhb-tg.is-dn { color: #fffefa !important; }
html body .dxhb .dxhb-opt button.on, html body .dxhb .dxhb-flash, html body .dxhb .dxhb-cal span.on { color: #20231f !important; }
html body .dxhb .dxhb-fc.on { color: var(--nb-on-btn) !important; }
@media (max-width: 900px) {
  .dxhb-grid { grid-template-columns: 1fr; }
  .dxhb-ch { border-right: 0; }
  .dxhb-sum > div { padding: 28px; } .dxhb-sum b { font-size: 36px; }
  .dxhb-vw { grid-template-columns: 1fr; padding: 40px; gap: 48px; }
  .dxhb-bar { padding-left: 28px; padding-right: 28px; }
  .dxhb-cm2, .dxhb-wform, .dxhb-acts { padding-left: 40px; padding-right: 40px; }
}
@media (max-width: 560px) {
  .dxhb-sum > div { padding: 24px 14px; } .dxhb-sum b { font-size: 26px; } .dxhb-sum b i { display: none; }
  .dxhb-ch { padding: 28px 20px; } .dxhb-bar { padding: 20px; }
  .dxhb-vw { padding: 32px 20px; } .dxhb-cm2, .dxhb-wform { padding: 40px 24px; } .dxhb-acts { padding: 20px 24px; }
  .dxhb-g2 { grid-template-columns: 1fr; }
  .dxhb-kv { grid-template-columns: 1fr; } .dxhb-kv > div { border-right: 0; border-bottom: 1px solid var(--nb-line); } .dxhb-kv > div:last-child { border-bottom: 0; }
  .dxhb-cal { gap: 4px; }
}
