/* 더덕 v2(2026-11-13) — 블라인드처럼 흰 바탕·검은 굵은 제목·얇은 줄, 디시처럼 숫자(조회·추천·[댓글]). 외부 글꼴·이미지 없음. */
:root {
  --ink: #111;
  --ink-2: #333;
  --muted: #8b8b8b;
  --muted-2: #b3b3b3;
  --line: #f0f0f0;
  --line-2: #e4e4e4;
  --bg: #fff;
  --soft: #f7f7f8;
  --red: #e5372b;
  --blue: #2563eb;
  --gap: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", "맑은 고딕", "Noto Sans KR", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dk-skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.dk-skip:focus { left: 8px; }
.dk-wrap { width: 100%; max-width: 680px; margin: 0 auto; padding: 0 var(--gap); }

/* ── 머리: 로고 + 검색창 + 게시판 탭 ── */
.dk-header { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line-2); }
.dk-header__row { display: flex; align-items: center; gap: 14px; height: 60px; }
.dk-logo { flex: none; display: inline-flex; align-items: center; gap: 7px; font-size: 22px; font-weight: 800; letter-spacing: -0.05em; color: var(--ink); }
.dk-logo__mark { display: block; width: 30px; height: 30px; }
.dk-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); background: #fff; }
.dk-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); -webkit-appearance: none; appearance: none; }
.dk-search input::placeholder { color: var(--muted-2); }
.dk-search:focus-within { border-color: var(--ink); }
.dk-gnb { display: flex; gap: 22px; height: 44px; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.dk-gnb::-webkit-scrollbar { display: none; }
.dk-gnb a { display: flex; align-items: center; font-size: 15px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.dk-gnb a.is-on { color: var(--ink); border-bottom-color: var(--ink); }

/* ── 목록 ── */
.dk-main { padding-bottom: 32px; }
.dk-list { list-style: none; margin: 0; padding: 0; }
.dk-item { border-bottom: 1px solid var(--line); }
.dk-item__link { display: flex; gap: 14px; align-items: center; padding: 16px 0 15px; }
.dk-item__link:active { background: var(--soft); }
.dk-item__body { flex: 1; min-width: 0; }
.dk-item__ch { margin: 0 0 5px; font-size: 13px; color: var(--muted); }
.dk-item__title { margin: 0; font-size: 16.5px; line-height: 1.45; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dk-item__concept { display: inline-block; margin-right: 5px; font-size: 12px; font-weight: 700; color: var(--red); vertical-align: 2px; }
.dk-item__cc { font-weight: 600; font-size: 14px; color: var(--red); }
.dk-item__meta { margin: 7px 0 0; font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; }
.dk-item__meta b { font-weight: 600; color: var(--red); }
.dk-item__thumb { flex: none; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.dk-empty { padding: 48px 0; text-align: center; color: var(--muted); font-size: 15px; }
/* 핫한방(2026-11-13): 더덕 픽 + 순위 탭 + 순위 숫자 */
.dk-pick { margin: 14px 0 6px; padding: 4px 14px; border: 1px solid var(--line-2); border-radius: 12px; }
.dk-pick__h { margin: 10px 0 2px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.dk-pick__h span { margin-left: 6px; font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dk-pick .dk-item:last-child { border-bottom: 0; }
.dk-subtabs { display: flex; gap: 6px; margin: 14px 0 0; overflow-x: auto; scrollbar-width: none; }
.dk-subtabs::-webkit-scrollbar { display: none; }
.dk-subtabs a { flex: none; height: 34px; display: flex; align-items: center; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.dk-subtabs a.is-on { border-color: var(--ink); background: var(--ink); color: #fff; }
.dk-rank-note { margin: 10px 0 0; padding-bottom: 8px; border-bottom: 1px solid var(--line-2); font-size: 12.5px; color: var(--muted); }
.dk-item__rank { flex: none; width: 24px; text-align: center; font-size: 16px; font-weight: 800; color: var(--muted); font-variant-numeric: tabular-nums; }
.dk-item__rank.is-top { color: var(--red); }
.dk-item__pick { display: inline-block; margin-right: 5px; font-size: 12px; font-weight: 700; color: var(--ink); vertical-align: 2px; }
.ddk-hotnom { margin: 0 0 8px; text-align: center; }
.ddk-hotnom__btn { height: 36px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); background: #fff; }
.ddk-hotnom__btn b { margin-left: 2px; color: var(--red); }
.ddk-hotnom__btn.is-mine { border-color: var(--red); background: #fff5f4; color: var(--red); }
.ddk-hotnom__btn:disabled { opacity: .6; }
.dk-pages { display: flex; justify-content: center; gap: 4px; margin: 20px 0; flex-wrap: wrap; }
.dk-pages a, .dk-pages span { min-width: 36px; height: 36px; display: grid; place-items: center; padding: 0 8px; border-radius: 6px; font-size: 14px; color: var(--ink-2); }
.dk-pages .current { font-weight: 700; color: var(--ink); background: var(--soft); }
.dk-archive-head { padding: 20px 0 6px; border-bottom: 1px solid var(--line-2); }
.dk-archive-head__title { margin: 0; font-size: 20px; font-weight: 800; letter-spacing: -0.03em; }
.dk-archive-head__count { font-size: 15px; font-weight: 600; color: var(--muted); }

/* ── 글 ── */
.dk-article { padding-top: 18px; }
.dk-article__ch { margin: 0 0 10px; font-size: 13.5px; color: var(--ink-2); display: flex; gap: 6px; align-items: center; }
.dk-article__ch a { font-weight: 600; }
.dk-article__ch span { color: var(--muted-2); }
.dk-article__title { margin: 0; font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; }
.dk-article__meta { display: flex; align-items: center; gap: 12px; margin: 12px 0 0; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.dk-article__meta b { font-weight: 400; }
.dk-share { margin-left: auto; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; color: var(--ink-2); }
.dk-share:active { background: var(--soft); }
.ddk-hero { margin: 18px 0 0; }
.ddk-hero__img, .ddk-hero img { width: 100%; border-radius: 6px; }
.ddk-credit { margin-top: 6px; font-size: 12px; color: var(--muted); }
.ddk-body { margin: 18px 0 0; font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.ddk-body p { margin: 0 0 14px; }
/* v4: 요약 → 전체 펼쳐 보기 ▼ */
.ddk-brief { margin: 18px 0 0; font-size: 16.5px; line-height: 1.75; color: var(--ink); }
.ddk-brief p { margin: 0; }
.ddk-body[hidden], .ddk-brief[hidden] { display: none; }
.ddk-expand { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 46px; margin: 18px 0 0; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; font: inherit; font-size: 14.5px; font-weight: 600; color: var(--ink); cursor: pointer; }
.ddk-expand:active { background: var(--soft); }
.ddk-expand__arrow { font-size: 11px; color: var(--muted); }
.ddk-talk { margin: 22px 0 0; padding: 14px 16px; background: var(--soft); border-radius: 10px; }
.ddk-talk__h { margin: 0 0 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.ddk-talk__list { list-style: none; margin: 0; padding: 0; }
.ddk-talk__list li { position: relative; padding: 7px 0 7px 12px; font-size: 15px; line-height: 1.55; border-top: 1px solid #ececee; }
.ddk-talk__list li:first-child { border-top: 0; }
.ddk-talk__list li::before { content: ""; position: absolute; left: 0; top: 16px; width: 4px; height: 4px; border-radius: 50%; background: var(--muted-2); }
.ddk-official { margin: 20px 0 0; padding: 12px 14px; border-left: 3px solid var(--ink); background: var(--soft); }
.ddk-official__head { margin: 0 0 4px; font-size: 13px; font-weight: 700; }
.ddk-official__text { margin: 0; font-size: 15px; }
.ddk-official a { text-decoration: underline; }

/* 추천·비추(디시 «개념 추천» 상자) */
.ddk-vote { display: flex; justify-content: center; gap: 12px; margin: 30px 0 8px; }
.ddk-vote__btn { min-width: 108px; height: 64px; display: grid; place-content: center; gap: 1px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.ddk-vote__btn .ddk-react__c { font-size: 20px; font-weight: 800; line-height: 1.1; }
.ddk-vote__btn .ddk-react__n { font-size: 13px; color: var(--muted); }
.ddk-vote__btn--up .ddk-react__c { color: var(--red); }
.ddk-vote__btn--down .ddk-react__c { color: var(--ink-2); }
.ddk-vote__btn.is-mine { border-color: var(--ink); }
.ddk-vote__btn--up.is-mine { border-color: var(--red); background: #fff5f4; }
.ddk-vote__btn:disabled { opacity: .6; }

/* 출처 줄 */
.ddk-src { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 22px 0 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.ddk-src a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.ddk-src .ddk-credit__req { margin-left: auto; color: var(--muted); text-decoration: none; }

/* ── 댓글 ── */
.ddk-comments { margin-top: 26px; }
.ddk-comments__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.ddk-comments__title { margin: 0; font-size: 16px; font-weight: 700; }
.ddk-comments__title b { color: var(--red); }
.ddk-csort { display: flex; gap: 12px; font-size: 13px; color: var(--muted); }
.ddk-csort a.is-on { color: var(--ink); font-weight: 700; }
.ddk-cform { border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; background: #fff; }
.ddk-cform__top { display: flex; align-items: center; gap: 4px; margin-bottom: 6px; }
.ddk-cform__nick input { width: 96px; border: 0; border-bottom: 1px solid var(--line-2); padding: 3px 0; font: inherit; font-size: 14px; outline: 0; background: none; }
.ddk-cform__code { font-size: 13px; color: var(--muted); }
.ddk-cform__code b { font-weight: 400; }
.ddk-cform__body textarea { display: block; width: 100%; border: 0; outline: 0; resize: vertical; font: inherit; font-size: 15px; line-height: 1.5; padding: 4px 0; min-height: 44px; background: none; }
.ddk-cform__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ddk-cform__msg { margin: 0; font-size: 12.5px; color: var(--muted); }
.ddk-cform--reply { margin: 10px 0 4px; }
.ddk-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.ddk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 16px; border-radius: 8px; font-size: 14px; font-weight: 700; }
.ddk-btn--solid { background: var(--ink); color: #fff; }
.ddk-btn--line { border: 1px solid var(--line-2); background: #fff; }
.ddk-btn--wide { display: flex; width: 100%; height: 46px; }
.ddk-btn small { font-weight: 400; color: var(--muted); }
.ddk-btn:disabled { opacity: .5; }
.ddk-best { margin-top: 14px; }
.ddk-best__title { margin: 0 0 2px; font-size: 13px; font-weight: 700; color: var(--red); }
.ddk-clist { list-style: none; margin: 0; padding: 0; }
.ddk-clist--best { border-bottom: 6px solid var(--soft); }
.ddk-c { padding: 13px 0 11px; border-bottom: 1px solid var(--line); }
.ddk-c.is-new { animation: ddk-new 1.6s ease-out; }
@keyframes ddk-new { from { background: #fff8e6; } to { background: transparent; } }
.ddk-c__meta { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.ddk-c__nick { color: var(--ink-2); font-weight: 600; }
.ddk-c__code { font-weight: 400; color: var(--muted); }
.ddk-c__badge { font-size: 11px; font-weight: 800; color: var(--red); }
.ddk-c__body { margin: 4px 0 0; font-size: 15px; line-height: 1.55; white-space: normal; }
.ddk-c__note { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.ddk-c__fold summary { margin-top: 4px; font-size: 14px; color: var(--muted); cursor: pointer; list-style: none; }
.ddk-c__fold summary::-webkit-details-marker { display: none; }
.ddk-c__acts { display: flex; gap: 14px; margin-top: 7px; font-size: 12.5px; color: var(--muted); }
.ddk-c__act b { font-weight: 400; }
.ddk-c__act.is-mine { color: var(--red); }
.ddk-c__act--report { margin-left: auto; }
.ddk-c__replies { list-style: none; margin: 8px 0 0; padding: 0 0 0 14px; border-left: 2px solid var(--line); }
.ddk-c__replies .ddk-c { padding: 10px 0 8px; border-bottom: 0; }
.ddk-comments__empty { padding: 26px 0; margin: 0; text-align: center; font-size: 14px; color: var(--muted); }

/* 글 아래 전체글 */
.dk-more { margin-top: 34px; border-top: 8px solid var(--soft); margin-left: calc(var(--gap) * -1); margin-right: calc(var(--gap) * -1); padding: 0 var(--gap); }
.dk-more__title { margin: 18px 0 2px; font-size: 16px; font-weight: 800; }
.dk-more__all { margin: 14px 0 0; text-align: center; font-size: 14px; }
.dk-more__all a { display: block; padding: 12px; color: var(--ink-2); }

/* ── 광고 자리 ── */
.ddk-ad { margin: 26px calc(var(--gap) * -1); padding: 10px var(--gap) 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.ddk-ad__label { margin: 0 0 6px; font-size: 11px; color: var(--muted-2); }
.ddk-ad ins.adsbygoogle { min-height: 250px; }
.ddk-ad--multiplex ins.adsbygoogle { min-height: 320px; }
.ddk-ad__ph { height: 250px; display: grid; place-items: center; border: 1px dashed var(--line-2); border-radius: 8px; color: var(--muted); font-size: 13px; }
.ddk-ad--multiplex .ddk-ad__ph { height: 320px; }
.ddk-clist__ad { list-style: none; }
.ddk-clist__ad .ddk-ad { margin: 14px calc(var(--gap) * -1); }
.dk-list__ad { list-style: none; }
.dk-list__ad .ddk-ad { margin: 6px calc(var(--gap) * -1); border-top: 0; }
.dk-list__ad .ddk-ad ins.adsbygoogle { min-height: 100px; }

/* ── 원문 인용 페이지 ── */
.ddk-original-page { width: 100%; max-width: 680px; margin: 0 auto; padding: 16px var(--gap) 36px; }
.ddk-back { margin: 0 0 12px; font-size: 14px; color: var(--ink-2); }
.ddk-back--bottom { margin-top: 26px; }
.ddk-original-page__title { margin: 0 0 16px; font-size: 20px; line-height: 1.4; font-weight: 800; letter-spacing: -0.03em; }
.ddk-original-page__title span { display: block; margin-bottom: 4px; font-size: 13px; font-weight: 600; color: var(--muted); }
.ddk-quote { margin: 0 0 16px; padding: 14px 16px; background: var(--soft); border-radius: 10px; font-size: 15.5px; }
.ddk-quote p { margin: 0; }
.ddk-quote footer { margin-top: 8px; font-size: 13px; color: var(--muted); }
.ddk-original__go { margin: 0 0 18px; }
.ddk-original__h { margin: 22px 0 8px; font-size: 15px; font-weight: 700; }
.ddk-sources { list-style: none; margin: 0; padding: 0; }
.ddk-sources li { padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.ddk-sources__site { display: inline-block; margin-right: 8px; font-size: 12.5px; color: var(--muted); }
.ddk-original__note { margin: 22px 0 0; font-size: 12.5px; color: var(--muted); }
.ddk-embeds { display: grid; gap: 14px; }
.ddk-embed--yt { position: relative; aspect-ratio: 16 / 9; }
.ddk-embed--yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
.ddk-embed--link a { text-decoration: underline; }

/* ── 일반 페이지·삭제 요청·404 ── */
.dk-page { padding: 20px 0; }
.dk-page__title { margin: 0 0 14px; font-size: 22px; font-weight: 800; }
.dk-prose { font-size: 16px; line-height: 1.75; }
.dk-prose a { text-decoration: underline; }
.dk-404 { text-align: center; padding: 48px 0 12px; }
.ddk-takedown label { display: block; margin-top: 12px; font-size: 14px; font-weight: 700; }
.ddk-takedown input, .ddk-takedown select, .ddk-takedown textarea { width: 100%; font: inherit; font-size: 16px; padding: 9px 10px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; margin-top: 4px; }
.ddk-takedown button { margin-top: 14px; }
.ddk-takedown__msg { font-size: 14px; color: var(--muted); }

/* ── 바닥 ── */
.dk-footer { margin-top: 24px; padding: 22px 0 36px; background: var(--soft); font-size: 13px; color: var(--muted); }
.dk-footer__nav { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-bottom: 8px; }
.dk-footer__nav a { color: var(--ink-2); }
.dk-footer__copy { margin: 0; }

/* 알림 */
.ddk-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; font-size: 14px; padding: 10px 16px; border-radius: 10px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100% - 32px); }
.ddk-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* 넓은 화면 */
@media (min-width: 720px) {
  .dk-item__title { font-size: 17px; }
  .dk-article__title { font-size: 25px; }
  .ddk-ad { margin-left: 0; margin-right: 0; padding-left: 0; padding-right: 0; }
  .dk-more { margin-left: 0; margin-right: 0; padding: 0; }
}

/* ── v5(2026-11-16) 첫 화면 상자(익판 홈식): 핫한방·이슈방·수다방·개념방 → 방 목록 ── */
.dk-home { padding-top: 10px; }
.dk-box { margin: 12px 0 0; padding: 4px 16px 2px; border: 1px solid var(--line-2); border-radius: 14px; background: #fff; }
.dk-box__h { display: flex; align-items: baseline; gap: 8px; margin: 12px 0 2px; font-size: 16.5px; font-weight: 800; letter-spacing: -0.03em; }
.dk-box__h > span { font-size: 12.5px; font-weight: 500; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-box__more { margin-left: auto; flex: none; font-size: 13px; font-weight: 600; color: var(--muted); }
.dk-box__more::after { content: " ›"; }
.dk-box .dk-item:last-child, .dk-box .tk-item:last-child { border-bottom: 0; }
.dk-box .dk-item__link { padding: 13px 0 12px; }
.dk-box .dk-item__title { font-size: 15.5px; }
.dk-box .dk-item__thumb { width: 60px; height: 60px; }
.dk-box .dk-empty { padding: 26px 0; font-size: 14px; }
.dk-box .tk-item__link { padding: 12px 0 11px; }
.dk-box .tk-item__title { font-size: 15.5px; }
.dk-box .tk-item__pre { -webkit-line-clamp: 1; }
.dk-box__empty { margin: 8px 0 14px; padding: 18px 0; text-align: center; font-size: 14px; color: var(--muted); }
.dk-box__empty a { margin-left: 6px; font-weight: 700; color: var(--ink); text-decoration: underline; }
.dk-box-ad .ddk-ad { margin: 12px 0 0; padding: 8px 0 10px; border: 1px solid var(--line-2); border-radius: 14px; text-align: center; }
.dk-box-ad .ddk-ad__label { padding: 0 16px; text-align: left; }
.dk-rooms__h { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 2px; font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.dk-rooms__h span { font-size: 12.5px; font-weight: 500; color: var(--muted); }
.dk-rooms__list { list-style: none; margin: 8px 0 14px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.dk-rooms__list a { display: grid; gap: 2px; padding: 11px 12px; border: 1px solid var(--line-2); border-radius: 12px; background: #fff; }
.dk-rooms__list a:active { background: var(--soft); }
.dk-rooms__list b { font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
.dk-rooms__list span { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-rooms__list em { font-style: normal; font-size: 12px; color: var(--ink-2); }
@media (max-width: 360px) { .dk-rooms__list { grid-template-columns: 1fr; } }

/* ── v5 목록 광고 = 글 한 줄 크기(디스플레이 단위는 정확한 크기, 인피드 단위는 AdSense 가 맞춤) ── */
.ddk-ad--feed { text-align: center; }
.ddk-ad--feed .ddk-ad__label { text-align: left; }
.ddk-ad ins.ddk-ad__feed { width: 320px; height: 100px; min-height: 0; }
@media (min-width: 700px) { .ddk-ad ins.ddk-ad__feed { width: 640px; height: 100px; } }
.ddk-ad--feed ins.adsbygoogle[data-ad-format="fluid"] { min-height: 0; text-align: left; }
.ddk-ad--feed .ddk-ad__ph { height: 100px; }
.dk-list__ad .ddk-ad ins.adsbygoogle { min-height: 0; }

/* ── v6 참여 장치 1: 요약 바로 아래 «베스트 댓글» 미리보기(네이트판·에펨식) ── */
.ddk-cprev { margin: 16px 0 0; padding: 12px 14px 10px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--soft); }
.ddk-cprev__title { margin: 0 0 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.ddk-cprev__title.is-best { color: var(--red); }
.ddk-cprev__list { margin: 0; padding: 0; list-style: none; }
.ddk-cprev__list li + li { border-top: 1px solid var(--line-2); }
.ddk-cprev__item { display: block; padding: 8px 0; color: var(--ink); text-decoration: none; }
.ddk-cprev__body { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14.5px; line-height: 1.55; word-break: keep-all; overflow-wrap: anywhere; }
.ddk-cprev__meta { display: flex; gap: 8px; margin-top: 3px; font-size: 12px; color: var(--muted); }
.ddk-cprev__up { color: var(--red); font-weight: 600; }
.ddk-cprev__foot { display: flex; justify-content: space-between; align-items: center; margin: 6px 0 0; padding-top: 8px; border-top: 1px solid var(--line-2); font-size: 13px; }
.ddk-cprev__foot a { color: var(--ink-2); text-decoration: none; }
.ddk-cprev__write { padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff !important; font-weight: 600; }
/* ── v7(2026-11-16) 참여 장치 2·4·5·6·7 + 빈 광고 칸 접기 ── */
/* 빈 광고 칸(채울 광고 없음·차단): «광고» 표시와 빈 자리를 통째로 숨김(ads.php 스크립트가 is-empty 를 붙임) */
.ddk-ad.is-empty, .dk-list__ad.is-empty, .ddk-clist__ad.is-empty, .dk-box-ad.is-empty { display: none !important; }
.ddk-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
li.dk-list__ad:has(ins.adsbygoogle[data-ad-status="unfilled"]), li.ddk-clist__ad:has(ins.adsbygoogle[data-ad-status="unfilled"]), .dk-box-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: none; }
/* 본문 펼쳐 보기 = 본문 바로 밑, 베스트 댓글은 그 아래 */
.ddk-expand + .ddk-cprev { margin-top: 12px; }
.ddk-cprev--first { background: #fffbea; border-color: #f3e3a3; }
.ddk-cprev__first { margin: 0 0 2px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.ddk-cprev__first b { color: var(--ink); }
.ddk-cprev--first .ddk-cprev__foot span { color: var(--ink-2); font-weight: 600; }
/* 감정 버튼 5개 — 카톡 공감처럼 작게 */
.ddk-emo { margin: 26px 0 8px; text-align: center; }
.ddk-emo__row { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.ddk-emo__btn { display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 12.5px; color: var(--ink-2); line-height: 1; }
.ddk-emo__e { font-size: 15px; line-height: 1; }
.ddk-emo__btn .ddk-react__c { font-size: 12px; font-weight: 700; color: var(--ink); }
.ddk-emo__btn .ddk-react__c:empty { display: none; }
.ddk-emo__btn.is-mine { border-color: var(--ink); background: var(--soft); color: var(--ink); font-weight: 700; }
.ddk-emo__btn:disabled { opacity: .6; }
@media (max-width: 479px) { .ddk-emo__row { flex-wrap: nowrap; } .ddk-emo__btn { padding: 0 11px; gap: 5px; } .ddk-emo__n { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }  /* 폰: 카톡 공감처럼 이모지+숫자만(이름은 화면 읽기·누른 뒤 안내 문구로) */
.ddk-emo__nudge { margin: 10px 0 0; font-size: 13px; }
.ddk-emo__nudge[hidden] { display: none; }
.ddk-emo__nudge a { color: var(--blue); font-weight: 600; }
/* 댓글 창: 닉 칸 없음 · 등록 / 등록+추천 */
.ddk-cform__foot { flex-wrap: wrap; }
.ddk-cform__who { flex: none; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.ddk-cform__who .ddk-cform__code { font-weight: 400; }
.ddk-cform__foot .ddk-cform__msg { flex: 1; min-width: 0; }
.ddk-cform__btns { display: inline-flex; gap: 6px; margin-left: auto; }
.ddk-cform__btns .ddk-btn { height: 34px; padding: 0 13px; font-size: 13.5px; }
/* 지금 N명 보는 중(진짜 숫자, 2명 이상) */
.ddk-here { color: var(--red); font-weight: 600; }
.ddk-here[hidden] { display: none; }
.ddk-here::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 5px 1px 0; border-radius: 50%; background: var(--red); vertical-align: middle; }
/* 다음 이슈 카드 */
.ddk-next { margin: 26px 0 0; padding: 14px 16px 6px; border: 1px solid var(--line-2); border-radius: 14px; }
.ddk-next__h { margin: 0 0 10px; font-size: 15.5px; font-weight: 800; letter-spacing: -0.02em; }
.ddk-next__main { display: flex; gap: 12px; align-items: center; padding-bottom: 12px; }
.ddk-next__img { flex: none; width: 88px; height: 88px; object-fit: cover; border-radius: 10px; background: var(--soft); }
.ddk-next__txt { flex: 1; min-width: 0; display: grid; gap: 6px; }
.ddk-next__t { font-size: 16.5px; line-height: 1.45; font-weight: 800; letter-spacing: -0.02em; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ddk-next__m { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--muted); }
.ddk-next__more { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ddk-next__more li { border-bottom: 1px solid var(--line); }
.ddk-next__more li:last-child { border-bottom: 0; }
.ddk-next__more a { display: block; padding: 10px 0; font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.ddk-next__cc { color: var(--red); font-size: 13px; }
.ddk-next__more .ddk-here { margin-left: 6px; font-size: 12px; }
/* 폰 아래 고정 막대(720px 미만만) */
.ddk-dock { display: none; }
@media (max-width: 719px) {
  .ddk-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line-2); box-shadow: 0 -2px 10px rgba(0, 0, 0, .05); transition: transform .15s; }
  .ddk-dock.is-typing { transform: translateY(140%); }
  .ddk-dock__c { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 10px; font-size: 14px; color: var(--ink-2); }
  .ddk-dock__c b { font-weight: 700; }
  .ddk-dock__w { flex: 1; min-width: 0; height: 38px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--soft); text-align: left; font-size: 14px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ddk-dock__n { flex: none; display: inline-flex; align-items: center; gap: 4px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; white-space: nowrap; }
  .has-ddk-dock .dk-main { padding-bottom: 84px; }
  .has-ddk-dock .ddk-toast { bottom: 76px; }
}
/* 내 댓글 소식(머리의 종) */
.dk-header__row { position: relative; }
.dk-bell { flex: none; position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; color: var(--ink-2); }
.dk-bell:active { background: var(--soft); }
.dk-bell__n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.dk-bell__n[hidden] { display: none; }
.dk-bell__panel { position: absolute; top: 56px; right: 0; z-index: 40; width: min(360px, calc(100vw - 24px)); max-height: 60vh; overflow-y: auto; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .14); }
.dk-bell__panel[hidden] { display: none; }
.dk-bell__h { margin: 0; padding: 12px 14px 8px; font-size: 14px; font-weight: 800; }
.dk-bell__list { list-style: none; margin: 0; padding: 0; }
.dk-bell__list li { border-top: 1px solid var(--line); }
.dk-bell__list li.is-new { background: #fff8f7; }
.dk-bell__list a { display: grid; gap: 3px; padding: 10px 14px; }
.dk-bell__t { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.dk-bell__mine { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-bell__m { font-size: 12px; color: var(--muted); }
.dk-bell__m b { color: var(--red); }
.dk-bell__empty { margin: 0; padding: 18px 16px; font-size: 13.5px; line-height: 1.6; color: var(--muted); text-align: center; }
/* 이슈방 «댓글 없는 글» 탭 */
.dk-issue-tabs { margin-bottom: 4px; }
/* ── v8(2026-11-16) 회원: 머리 «로그인»·닉네임 · 회원 표시 · /member/ 화면 ── */
.dk-me { flex: none; max-width: 84px; height: 34px; display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13.5px; font-weight: 700; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dk-me--login { border-color: #fee500; background: #fee500; color: #191919; }
@media (max-width: 380px) { .dk-me { padding: 0 9px; font-size: 13px; } }
.ddk-mem { display: inline-block; width: 13px; height: 13px; margin: 0 0 0 3px; border-radius: 50%; background: #ffd400 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.4 2.4L12 5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat; vertical-align: -1px; }
.ddk-cform__join { margin-left: 6px; font-size: 12.5px; font-weight: 600; color: var(--blue); }
.mb { padding-top: 24px; }
.mb-card { max-width: 420px; margin: 0 auto; padding: 28px 22px 22px; border: 1px solid var(--line-2); border-radius: 18px; text-align: center; }
.mb-card__logo { width: 64px; height: 64px; margin: 0 auto 12px; }
.mb-card__h { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.03em; }
.mb-card__lead { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.mb-kakao { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 12px; background: #fee500; color: rgba(0, 0, 0, .85); font-size: 16px; font-weight: 700; }
.mb-kakao:active { filter: brightness(.96); }
.mb-facts { margin: 18px 0 0; padding: 14px 16px 14px 30px; border-radius: 12px; background: var(--soft); text-align: left; font-size: 13px; line-height: 1.65; color: var(--ink-2); }
.mb-small { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.mb-small a { text-decoration: underline; }
.mb-note { margin: 0 0 14px; font-size: 14px; color: var(--ink-2); }
.mb-err { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff1f0; color: var(--red); font-size: 13.5px; }
.mb-ok { margin: 0 0 14px; padding: 10px 12px; border-radius: 10px; background: #f0fbf3; color: #1a7f37; font-size: 13.5px; }
.mb-form { display: grid; gap: 10px; }
.mb-form input[type="text"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 12px; font: inherit; font-size: 16px; text-align: center; outline: 0; }
.mb-form input[type="text"]:focus { border-color: var(--ink); }
.mb-info { display: grid; grid-template-columns: 64px 1fr; gap: 10px 8px; margin: 6px 0 18px; text-align: left; font-size: 14.5px; }
.mb-info dt { color: var(--muted); }
.mb-info dd { margin: 0; font-weight: 700; }
.mb-info dd a { margin-left: 8px; font-size: 13px; font-weight: 600; color: var(--blue); }
.mb-leave { margin-top: 18px; text-align: left; font-size: 13.5px; color: var(--ink-2); }
.mb-leave summary { cursor: pointer; color: var(--muted); }
.mb-leave form { display: grid; gap: 10px; margin-top: 10px; }
/* ── v8 광고 진단(?addebug=1) — 빈 칸도 보이게 + 칸마다 상태 글자 + 위 요약 띠 ── */
.ddk-addebug .ddk-ad.is-empty, .ddk-addebug .dk-list__ad.is-empty, .ddk-addebug .ddk-clist__ad.is-empty, .ddk-addebug .dk-box-ad.is-empty { display: block !important; }
.ddk-addebug .ddk-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]), .ddk-addebug li.dk-list__ad:has(ins.adsbygoogle[data-ad-status="unfilled"]), .ddk-addebug .dk-box-ad:has(ins.adsbygoogle[data-ad-status="unfilled"]) { display: block !important; }
.ddk-addebug__s { margin: 0 0 6px; padding: 4px 8px; border-radius: 6px; background: #fff3cd; color: #6b4e00; font-size: 12px; font-weight: 600; }
#ddk-addebug-bar { position: fixed; left: 0; right: 0; top: 0; z-index: 2147483647; padding: 8px 12px; background: #111; color: #ffe066; font-size: 12.5px; line-height: 1.5; }
/* v8b 네이버로 시작하기(네이버 로그인 버튼 색) */
.mb-naver { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; margin-top: 8px; border-radius: 12px; background: #03c75a; color: #fff; font-size: 16px; font-weight: 700; }
.mb-naver:active { filter: brightness(.95); }
/* ── v9 폰 알림(웹 푸시): 첫 댓글 뒤 묻는 상자 · 종 패널 알림 줄 ── */
.dk-push-ask { position: fixed; left: 12px; right: 12px; bottom: calc(76px + env(safe-area-inset-bottom)); z-index: 60; max-width: 460px; margin: 0 auto; padding: 14px 16px 12px; border-radius: 16px; background: #fff; box-shadow: 0 8px 30px rgba(0, 0, 0, .18); border: 1px solid var(--line-2); }
.dk-push-ask p { margin: 0 0 10px; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.dk-push-ask p b { color: var(--ink); }
.dk-push-ask div { display: flex; justify-content: flex-end; gap: 8px; }
.dk-push-ask button { height: 36px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dk-push-ask button.is-solid { border-color: var(--ink); background: var(--ink); color: #fff; }
@media (min-width: 720px) { .dk-push-ask { bottom: 24px; } }
.dk-push { padding: 10px 14px 12px; border-top: 1px solid var(--line); }
.dk-push:empty { display: none; }
.dk-push__btn { width: 100%; height: 38px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; }
.dk-push__btn.is-on { background: var(--soft); color: var(--ink-2); border: 1px solid var(--line-2); }
.dk-push__ios { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }
/* v2 2026-11-17: 다시 들어왔을 때 «내 글·댓글에 새 답글 N개» 띠(ddk-notice.js) */
.dk-nstrip { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; border: 0; border-bottom: 1px solid #f1d26b; background: #fff7d6; color: var(--ink); font: inherit; font-size: 14px; text-align: left; cursor: pointer; }
.dk-nstrip b { font-weight: 800; }
.dk-nstrip__go { flex: none; font-weight: 700; color: var(--ink-2); }
/* v3(2026-11-17 회원 혜택): 등급 배지 · 가입 혜택 한 줄 · 내 최애 소식 · 내 정보(등급·최애·내 활동·옮기기) */
.ddk-lv { display: inline-block; margin-left: 4px; padding: 0 5px; height: 16px; line-height: 16px; border-radius: 4px; font-size: 10.5px; font-weight: 800; letter-spacing: 0; vertical-align: 1px; background: #eef0f3; color: #59606b; font-style: normal; }
.ddk-lv--2 { background: #fff4c2; color: #8a6a00; }
.ddk-lv--3 { background: #ffe08a; color: #6e5200; }
.ddk-lv--4 { background: #d7f0e3; color: #19734a; }
.ddk-lv--5 { background: #dde8ff; color: #2349b5; }
.ddk-lv--6 { background: linear-gradient(135deg, #ffd84d, #ffb800); color: #4a3300; }
.ddk-join { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 12px 14px; border-radius: 14px; background: #fff8d6; color: #3d3200; font-size: 13.5px; line-height: 1.45; }
.ddk-join__t { flex: 1; min-width: 0; }
.ddk-join__t b { font-weight: 800; }
.ddk-join__go { flex: none; font-weight: 800; white-space: nowrap; }
.ddk-join--fav { background: var(--soft); color: var(--ink-2); }
.ddk-fav__none { margin: 6px 0 12px; font-size: 13.5px; color: var(--muted); }
.mb-card--wide { max-width: 560px; text-align: left; }
.mb-card--wide .mb-card__h, .mb-card--wide .mb-card__lead { text-align: left; }
.mb-perks { list-style: none; margin: 14px 0 18px; padding: 0; display: grid; gap: 8px; text-align: left; }
.mb-perks li { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; background: var(--soft); }
.mb-perks b { font-size: 14px; font-weight: 800; }
.mb-perks span { font-size: 12.5px; color: var(--ink-2); }
.mb-lv { margin: 6px 0 16px; padding: 14px; border-radius: 14px; background: var(--soft); }
.mb-lv__top { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 16px; }
.mb-lv__top .ddk-lv { margin: 0; height: 20px; line-height: 20px; font-size: 12px; }
.mb-lv__sc { margin-left: auto; font-size: 13px; color: var(--muted); }
.mb-lv__bar { height: 8px; margin: 10px 0 8px; border-radius: 99px; background: #e6e7ea; overflow: hidden; }
.mb-lv__bar i { display: block; height: 100%; border-radius: 99px; background: #ffc928; }
.mb-lv__next { margin: 0; font-size: 12.5px; color: var(--ink-2); line-height: 1.5; }
.mb-claim { margin: 16px 0; padding: 14px; border: 1px solid #ffe08a; border-radius: 14px; background: #fffbea; font-size: 13.5px; line-height: 1.55; }
.mb-claim p { margin: 0 0 10px; }
.mb-sub { margin: 22px 0 6px; font-size: 15px; font-weight: 800; }
.mb-acts { list-style: none; margin: 0; padding: 0; }
.mb-acts li { border-bottom: 1px solid var(--line); }
.mb-acts a { display: grid; gap: 2px; padding: 10px 0; }
.mb-acts span { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-acts em { font-style: normal; font-size: 12px; color: var(--muted); }
.mb-fav__q { width: 100%; height: 42px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; }
.mb-fav__count { margin: 8px 0; font-size: 12.5px; color: var(--muted); }
.mb-fav__chips { display: flex; flex-wrap: wrap; gap: 7px; max-height: 46vh; overflow-y: auto; padding: 2px; }
.mb-chip { position: relative; }
.mb-chip[hidden] { display: none; }
.mb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.mb-chip span { display: inline-flex; align-items: center; height: 34px; padding: 0 13px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; font-weight: 600; cursor: pointer; }
.mb-chip input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.mb-chip input:checked + span::before { content: "♥"; margin-right: 5px; color: #ffd84d; }
.mb-chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.mb-fav__foot { display: flex; gap: 8px; justify-content: flex-end; margin: 16px 0 0; }