/**
 * DX_DEBATE 게시판 스킨 — debate.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; }
.dxdb a { color: inherit; text-decoration: none; }
.dxdb { --pro: #d7fb55; --con: #ff775e; --ink0: #20231f; }
.dxdb-wrap { max-width: 1040px; margin: 0 auto; padding: 40px 8px 96px; display: flex; flex-direction: column; gap: 32px; }
.dxdb-wrap.is-view { gap: 36px; }
.dxdb-wrap.is-narrow { max-width: 760px; }

.dxdb-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.dxdb-ttl { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.dxdb-kick { display: flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; color: var(--nb-ink); }
.dxdb-kick::before { content: ""; width: 26px; height: 3px; background: var(--nb-ink); }
.dxdb-ttl h1 { margin: 0; font-size: clamp(30px, 4.4vw, 52px); line-height: 1.02; font-weight: 900; letter-spacing: -.08em; color: var(--nb-ink); overflow-wrap: anywhere; }

.dxdb-btn { height: 44px; padding: 0 22px; 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: 700; font-family: inherit; cursor: pointer; }
.dxdb-btn:hover { background: var(--nb-hover); }
.dxdb-btn.is-ink { background: var(--nb-btn); border-color: var(--nb-btn); color: var(--nb-on-btn); }
.dxdb-btn.is-ink:hover { background: var(--nb-acid); border-color: var(--nb-acid); color: #20231f; }
.dxdb-btn.is-sm { height: 34px; padding: 0 14px; font-size: 12px; }
.dxdb-btn.is-line { border-color: var(--nb-strong); color: var(--nb-mute); }
.dxdb-btn:disabled { opacity: .35; cursor: not-allowed; }
.dxdb-inl { display: inline; margin: 0; }
.dxdb-back { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--nb-mute); }
.dxdb-back:hover { color: var(--nb-ink); }
.dxdb-by { font-size: 12px; color: var(--nb-mute); }
.dxdb-note { border: 1px solid var(--nb-line); padding: 18px 22px; font-size: 14px; line-height: 1.7; color: var(--nb-mute); }
.dxdb-empty { padding: 36px 12px; border-bottom: 1px solid var(--nb-line); font-size: 14px; color: var(--nb-mute); text-align: center; }
.dxdb-dot { display: inline-block; width: 10px; height: 10px; border: 1px solid var(--nb-ink); flex: 0 0 auto; }
.dxdb-dot.is-pro { background: var(--pro); }
.dxdb-dot.is-con { background: var(--con); }

/* 걸러 보기 */
.dxdb-tabs { display: flex; flex-wrap: wrap; padding-bottom: 1px; }
.dxdb-tabs a { height: 44px; padding: 0 20px; box-sizing: border-box; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--nb-ink); margin-right: -1px; margin-bottom: -1px; font-size: 13px; font-weight: 700; color: var(--nb-ink); }
.dxdb-tabs a small { font-size: 11px; font-weight: 500; color: var(--nb-mute); }
.dxdb-tabs a b { font-size: 11px; font-weight: 800; color: var(--nb-mute); }
.dxdb-tabs a.on { background: var(--nb-btn); color: var(--nb-on-btn); }
.dxdb-tabs a.on b, .dxdb-tabs a.on small { color: var(--nb-acid); }

/* 목록 */
.dxdb-list { border-top: 1px solid var(--nb-ink); }
.dxdb-row { display: flex; flex-direction: column; gap: 18px; padding: 28px 0; border-bottom: 1px solid var(--nb-line); color: var(--nb-ink); }
.dxdb-row:hover { background: var(--nb-hover); }
.dxdb-row-top { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dxdb-row-t { flex: 1 1 420px; min-width: 0; font-size: 24px; line-height: 1.3; font-weight: 900; letter-spacing: -.06em; word-break: keep-all; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.dxdb-row-n { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--nb-mute); }

/* 찬반 막대 */
.dxdb-bar { display: flex; height: 44px; border: 1px solid var(--nb-ink); background: var(--nb-card); overflow: hidden; }
.dxdb-bar.is-empty { align-items: center; justify-content: center; font-size: 13px; font-weight: 700; color: var(--nb-mute); }
.dxdb-fill { box-sizing: border-box; min-width: 0; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px; font-weight: 900; font-style: normal; white-space: nowrap; overflow: hidden; color: #20231f; }
.dxdb-fill.is-pro { background: var(--pro); border-right: 1px solid var(--ink0); }
.dxdb-fill.is-pro:last-child { border-right: 0; }
.dxdb-fill.is-con { background: var(--con); }
.dxdb-bar.is-hero { height: 28px; }

/* 움직임 (시스템에서 동작 줄이기를 켜면 꺼집니다) */
@keyframes dxdbGrow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes dxdbPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes dxdbPop { 0% { transform: translate(-50%, -50%) scale(0); } 70% { transform: translate(-50%, -50%) scale(1.25); } 100% { transform: translate(-50%, -50%) scale(1); } }
@keyframes dxdbPop2 { 0% { transform: scale(0); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.dxdb .gl { transform-origin: left center; animation: dxdbGrow .9s cubic-bezier(.2, .8, .2, 1) both; }
.dxdb .gr { transform-origin: right center; animation: dxdbGrow .9s cubic-bezier(.2, .8, .2, 1) both; }
.dxdb .vs { animation: dxdbPop .5s .7s both; }
.dxdb .vs2 { animation: dxdbPop2 .5s .7s both; }
.dxdb .lead-l { display: inline-block; transform-origin: left bottom; animation: dxdbPulse 1.8s ease-in-out 1.2s infinite; }
.dxdb .lead-r { display: inline-block; transform-origin: right bottom; animation: dxdbPulse 1.8s ease-in-out 1.2s infinite; }
@media (prefers-reduced-motion: reduce) { .dxdb .gl, .dxdb .gr, .dxdb .vs, .dxdb .vs2, .dxdb .lead-l, .dxdb .lead-r { animation: none; } }

.dxdb-pager { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.dxdb-pager a { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 6px; border: 1px solid var(--nb-line); font-size: 13px; font-weight: 700; color: var(--nb-ink); }
.dxdb-pager a:hover { background: var(--nb-hover); }
.dxdb-pager a.on { background: var(--nb-btn); border-color: var(--nb-btn); color: var(--nb-on-btn); }

/* 토론 보기 */
.dxdb-q { display: flex; flex-direction: column; gap: 20px; border-top: 1px solid var(--nb-ink); padding-top: 28px; }
.dxdb-q h1 { margin: 0; font-size: clamp(26px, 4.2vw, 44px); line-height: 1.2; font-weight: 900; letter-spacing: -.07em; word-break: keep-all; overflow-wrap: anywhere; color: var(--nb-ink); }
.dxdb-q-body { font-size: 17px; line-height: 1.9; color: var(--nb-ink); word-break: keep-all; overflow-wrap: anywhere; }
.dxdb-q-body img { max-width: 100%; height: auto; }
.dxdb-q-acts { display: flex; gap: 8px; flex-wrap: wrap; }

/* 찬반 비율(위) */
.dxdb-hero { display: flex; flex-direction: column; gap: 20px; }
.dxdb-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 16px; }
.dxdb-side { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dxdb-side.is-l { align-items: flex-start; }
.dxdb-side.is-r { align-items: flex-end; }
.dxdb-side-h { display: inline-flex; align-items: center; gap: 8px; }
.dxdb-side-h b { font-size: 20px; font-weight: 900; color: var(--nb-ink); }
.dxdb-side-h em { height: 22px; padding: 0 8px; display: inline-flex; align-items: center; background: var(--pro); border: 1px solid var(--ink0); font-size: 10px; font-weight: 900; font-style: normal; color: #20231f; }
.dxdb-side.is-r .dxdb-side-h em { background: var(--con); }
.dxdb-num { font-size: clamp(60px, 11vw, 112px); line-height: .85; font-weight: 900; letter-spacing: -.09em; color: var(--nb-ink); }
.dxdb-num span { font-size: .36em; letter-spacing: -.04em; }
.dxdb-vs { width: 72px; height: 72px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: var(--ink0); color: #d7fb55; font-size: 22px; font-weight: 900; letter-spacing: 0; margin-bottom: 6px; }

/* 두 칸 */
.dxdb-mtabs { display: none; }
.dxdb-cols { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--nb-ink); }
.dxdb-vs-mid { position: absolute; left: 50%; top: 28px; z-index: 1; width: 40px; height: 40px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; background: var(--ink0); color: #d7fb55; font-size: 13px; font-weight: 900; letter-spacing: 0; }
.dxdb-col { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.dxdb-col.is-pro { padding-right: 24px; border-right: 1px solid var(--nb-ink); }
.dxdb-col.is-con { padding-left: 24px; }
.dxdb-col-h { display: flex; align-items: center; justify-content: space-between; height: 56px; padding: 0 20px; border-bottom: 1px solid var(--nb-ink); font-size: 15px; font-weight: 900; color: #20231f; }
.dxdb-col.is-pro .dxdb-col-h { background: var(--pro); margin-right: -24px; }
.dxdb-col.is-con .dxdb-col-h { background: var(--con); margin-left: -24px; }
.dxdb-form { border: 1px solid var(--nb-ink); background: var(--nb-card); display: flex; flex-direction: column; }
.dxdb-form textarea { display: block; width: 100%; box-sizing: border-box; border: 0; outline: 0; resize: vertical; min-height: 92px; background: transparent; padding: 16px 16px 6px; font-family: inherit; font-size: 15px; line-height: 1.7; color: var(--nb-ink); }
.dxdb-form textarea::placeholder { color: var(--nb-mute); opacity: .8; }
.dxdb-form-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 16px; min-height: 56px; border-top: 1px solid var(--nb-line); }
.dxdb-me { display: flex; align-items: center; gap: 8px; font-size: 13px; min-width: 0; }
.dxdb-me b { font-weight: 800; color: var(--nb-ink); }
.dxdb-name { width: 120px; height: 36px; padding: 0 10px; border: 1px solid var(--nb-line); background: var(--nb-bg); color: var(--nb-ink); font-family: inherit; font-size: 13px; font-weight: 700; outline: none; }
.dxdb-name:focus { border-color: var(--nb-ink); }
.dxdb-ops { display: flex; flex-direction: column; }
.dxdb-op { padding: 20px 0; border-bottom: 1px solid var(--nb-line); display: flex; flex-direction: column; gap: 10px; }
.dxdb-op-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.dxdb-op-who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.dxdb-op-who b { font-weight: 800; color: var(--nb-ink); }
.dxdb-op-who time { color: var(--nb-mute); }
.dxdb-op-body { font-size: 15px; line-height: 1.8; color: var(--nb-ink); word-break: keep-all; overflow-wrap: anywhere; }
.dxdb-misc { display: flex; flex-direction: column; gap: 8px; }
.dxdb-misc-h { padding-bottom: 12px; border-bottom: 1px solid var(--nb-ink); font-size: 16px; font-weight: 900; color: var(--nb-ink); }
.dxdb-misc-h em { font-style: normal; color: var(--nb-mute); font-weight: 700; }

/* 쓰기 */
.dxdb-wform { display: flex; flex-direction: column; gap: 14px; }
.dxdb-lab { font-size: 11px; font-weight: 800; letter-spacing: .1em; color: var(--nb-mute); margin-top: 12px; }
.dxdb-in { width: 100%; height: 52px; padding: 0 16px; border: 1px solid var(--nb-ink); background: var(--nb-card); color: var(--nb-ink); font-family: inherit; font-size: 16px; font-weight: 700; outline: none; box-sizing: border-box; }
.dxdb-in::placeholder { color: var(--nb-mute); opacity: .8; font-weight: 400; }
.dxdb-wacts { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }

/* 링크 색이 버튼 글자를 덮지 않게 */
html body .dxdb a.dxdb-btn.is-ink, html body .dxdb button.dxdb-btn.is-ink { color: var(--nb-on-btn) !important; background: var(--nb-btn); opacity: 1; }
html body .dxdb a.dxdb-btn.is-ink:hover, html body .dxdb button.dxdb-btn.is-ink:hover { color: #20231f !important; background: var(--nb-acid); }
html body .dxdb button.dxdb-btn.is-ink:disabled { opacity: .35; }
html body .dxdb .dxdb-tabs a.on { color: var(--nb-on-btn) !important; }
html body .dxdb .dxdb-pager a.on { color: var(--nb-on-btn) !important; }
html body .dxdb .dxdb-fill, html body .dxdb .dxdb-col-h, html body .dxdb .dxdb-side-h em { color: #20231f !important; }
html body .dxdb .dxdb-vs, html body .dxdb .dxdb-vs-mid { color: #d7fb55 !important; background: #20231f !important; border: 1px solid #3a3f33; }
html body .dxdb #dx-write-btn-area button.dxdb-btn.is-ink { background: var(--nb-btn) !important; border-color: var(--nb-btn) !important; color: var(--nb-on-btn) !important; opacity: 1 !important; }
html body .dxdb #dx-write-btn-area button.dxdb-btn.is-ink:hover { background: var(--nb-acid) !important; border-color: var(--nb-ink) !important; color: #20231f !important; }

@media (max-width: 760px) {
  .dxdb-wrap { padding: 28px 4px 72px; gap: 24px; }
  .dxdb-row-t { font-size: 20px; }
  .dxdb-row { gap: 14px; padding: 22px 0; }
  .dxdb-vs { width: 44px; height: 44px; font-size: 14px; margin-bottom: 4px; }
  .dxdb-side-h b { font-size: 13px; }
  .dxdb-side-h em { height: 18px; padding: 0 6px; font-size: 9px; }
  .dxdb-hero-row { gap: 8px; }
  .dxdb-bar.is-hero { height: 22px; }
  .dxdb-vs-mid { display: none; }
  .dxdb-mtabs { display: flex; }
  .dxdb-mtabs button { flex: 1; height: 48px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border: 1px solid var(--nb-ink); background: transparent; color: var(--nb-ink); font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
  .dxdb-mtabs button + button { margin-left: -1px; }
  .dxdb-mtabs button b { font-size: 13px; font-weight: 800; color: var(--nb-mute); }
  .dxdb-mtabs button.on { font-weight: 900; color: #20231f; }
  .dxdb-mtabs button.on b { color: #20231f; }
  .dxdb-mtabs button.on.is-pro { background: var(--pro); }
  .dxdb-mtabs button.on.is-con { background: var(--con); }
  .dxdb-cols { display: block; border-top: 0; margin-top: -8px; }
  .dxdb-col { display: none; padding: 0 !important; border-right: 0 !important; }
  .dxdb-cols[data-show="pro"] .dxdb-col.is-pro, .dxdb-cols[data-show="con"] .dxdb-col.is-con { display: flex; }
  .dxdb-col-h { display: none; }
}
