/* board/view v2 reading layout */

.darkthread-board-view-v2 {
    position: relative;
    width: 100%;
    min-width: 0;
}

.darkthread-board-view-v2 .dt-v2-theme-input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

body.darkthread-board-view-v2-page {
    --dt-v2-bg: #08090b;
    --dt-v2-surface: rgba(8, 9, 11, 0.92);
    --dt-v2-toolbar: rgba(12, 13, 16, 0.92);
    --dt-v2-border: rgba(255, 255, 255, 0.1);
    --dt-v2-border-strong: rgba(255, 255, 255, 0.16);
    --dt-v2-chip: rgba(255, 255, 255, 0.08);
    --dt-v2-avatar-bg: #f5f5f5;
    --dt-v2-avatar-text: #111;
    color: var(--dt-v2-text);
}

body.darkthread-board-view-v2-page.darkthread-main-bg {
    background: transparent;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light {
    --dt-v2-bg: rgba(255, 255, 255, 0.92);
    --dt-v2-surface: rgba(255, 255, 255, 0.92);
    --dt-v2-toolbar: rgba(255, 255, 255, 0.92);
    --dt-v2-border: rgba(0, 0, 0, 0.1);
    --dt-v2-border-strong: rgba(0, 0, 0, 0.14);
    --dt-v2-chip: rgba(0, 0, 0, 0.06);
    --dt-v2-avatar-bg: #242424;
    --dt-v2-avatar-text: #fff;
}

/* 라이트 view/write/modify: 다크와 동일 — 크롬·툴바 반투명·블러 (목록 페이지 제외) */
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page #darkthread-chrome-sticky-stack.darkthread-site-chrome,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light #darkthread-chrome-sticky-stack.darkthread-site-chrome {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.91) 66%, rgba(255, 255, 255, 0.72) 100%) !important;
    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.06),
        0 18px 48px rgba(15, 23, 42, 0.08),
        0 42px 82px rgba(15, 23, 42, 0.05) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page #darkthread-header.darkthread-chrome-header,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light #darkthread-header.darkthread-chrome-header {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    box-shadow:
        inset 0 -1px 0 rgba(0, 0, 0, 0.06),
        0 12px 34px rgba(15, 23, 42, 0.08) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-chrome-subbars,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .chrome-subbars,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-chrome-subbars,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .chrome-subbars {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page #darkthread-search-bar .darkthread-chrome-v2-search .dt-v2-toolbar,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light #darkthread-search-bar .darkthread-chrome-v2-search .dt-v2-toolbar {
    background: var(--dt-v2-toolbar) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border-top: 1px solid var(--dt-v2-border);
    border-bottom: 1px solid var(--dt-v2-border-strong);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 12px 32px rgba(15, 23, 42, 0.06);
}

body.darkthread-board-view-v2-page #darkthread-content,
body.darkthread-board-view-v2-page .content-frame,
body.darkthread-board-view-v2-page .darkthread-page-shell,
body.darkthread-board-view-v2-page .darkthread-page-content,
body.darkthread-board-view-v2-page .darkthread-page-body {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.darkthread-board-view-v2-page .darkthread-page-shell {
    display: block !important;
    padding: 0 !important;
    color: inherit;
}

body.darkthread-board-view-v2-page .darkthread-page-shell > .darkthread-page-sidebar,
body.darkthread-board-view-v2-page .darkthread-page-shell > .darkthread-page-sidebar-right {
    display: none;
}

body.darkthread-board-view-v2-page .darkthread-page-shell > .darkthread-page-content,
body.darkthread-board-view-v2-page .darkthread-page-body {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.dt-v2-view-surface {
    width: 100%;
    min-width: 0;
    background: var(--dt-v2-surface, rgba(8, 9, 11, 0.92));
    color: var(--dt-v2-text);
}

body.darkthread-board-view-v2-page.darkthread-main-bg .dt-v2-view-surface {
    background: transparent;
}

.dt-v2-view-shell {
    --dt-v2-view-sticky-top: calc(var(--dt-v2-toolbar-top, var(--dt-v2-chrome-top, 0px)) + var(--dt-v2-toolbar-offset-height, 52px) + 10px);
    /* 우측 사이드바 애드핏 250×250 슬롯과 동일 */
    --dt-v2-view-sidebar-ad-width: 250px;
    --dt-v2-view-center-max: 680px;
    --dt-v2-view-column-gap: 48px;
    --dt-v2-view-shell-padding-inline: 48px;
    --dt-v2-view-side-width: var(--dt-v2-view-sidebar-ad-width);
    /* 좁은 데스크톱: 우측(광고) 250px 유지, 좌측 레일만 남는 폭까지 축소 */
    --dt-v2-view-available-for-rail: max(
        0px,
        100vw - var(--dt-v2-view-center-max) - (var(--dt-v2-view-column-gap) * 2) -
            var(--dt-v2-view-shell-padding-inline) - var(--dt-v2-view-side-width)
    );
    --dt-v2-view-rail-width: min(var(--dt-v2-view-sidebar-ad-width), var(--dt-v2-view-available-for-rail));
    --dt-v2-view-shell-max: calc(
        var(--dt-v2-view-rail-width) + var(--dt-v2-view-side-width) + (var(--dt-v2-view-column-gap) * 2) +
            var(--dt-v2-view-center-max)
    );
    display: grid;
    grid-template-columns: var(--dt-v2-view-rail-width) minmax(0, var(--dt-v2-view-center-max)) var(--dt-v2-view-side-width);
    column-gap: var(--dt-v2-view-column-gap);
    align-items: start;
    width: min(100%, var(--dt-v2-view-shell-max));
    max-width: 100%;
    margin: 0 auto;
    padding: 42px 24px 104px;
}

.dt-v2-view-main {
    grid-column: 2;
    min-width: 0;
}

.dt-v2-view-column {
    width: 100%;
    max-width: 680px;
    min-width: 0;
    margin: 0;
}

.dt-v2-view-rail {
    grid-column: 1;
    width: 100%;
    max-width: var(--dt-v2-view-rail-width);
    min-width: 0;
    position: sticky;
    top: var(--dt-v2-view-sticky-top);
    align-self: start;
    overflow: visible;
}

.dt-v2-view-rail__inner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100dvh - var(--dt-v2-view-sticky-top) - 24px);
    overflow: visible;
    overscroll-behavior: contain;
    padding-top: 14px;
    padding-right: 6px;
    padding-bottom: 8px;
    padding-left: 0;
    color: var(--dt-v2-muted);
    text-align: left;
}

/* 사이드 프로필: 작성자 텍스트와 동일한 왼쪽 기준선 */
.dt-v2-view-rail__avatar-slot {
    position: relative;
    z-index: 4;
    display: block;
    width: auto;
    max-width: 100%;
    margin: 0;
    padding: 0 0 0.35rem;
    overflow: visible;
    text-align: left;
}

body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell {
    display: inline-flex;
    margin: 0;
    overflow: visible;
    vertical-align: top;
}

/* 레일 휘광: 슬롯 padding 없이 왼쪽·위로만 확장해 원형 프레임은 텍스트 기준선에 유지 */
body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-master::before,
body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-admin::before {
    inset: -0.85rem -0.5rem -0.6rem -1rem;
    z-index: 0;
}

body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-guest::before {
    inset: -0.65rem -0.45rem -0.5rem -0.85rem;
    z-index: 0;
}

body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-master::after,
body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-admin::after,
body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-shell.is-guest::after {
    z-index: 1;
}

body.darkthread-board-view-v2-page .dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-frame {
    position: relative;
    z-index: 2;
}

.dt-v2-view-rail__avatar-slot .dt-v2-view-rail__avatar-shell {
    width: 2.5rem;
    height: 2.5rem;
}

.dt-v2-view-rail__avatar-slot .darkthread-comment-avatar-fallback {
    font-size: 15px;
}

.dt-v2-view-rail__label,
.dt-v2-view-rail__name,
.dt-v2-view-rail__bio {
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    text-align: left;
}

.dt-v2-view-rail__label {
    margin: 10px 0 0;
    color: var(--dt-v2-soft);
    font-size: 12px;
    font-weight: 700;
}

.dt-v2-view-rail__name {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 4px 0 0;
    color: var(--dt-v2-text);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

.dt-v2-view-rail__name .darkthread-comment-admin-crown {
    font-size: 0.82rem;
}

.dt-v2-view-rail__bio {
    display: -webkit-box;
    overflow: hidden;
    margin: 10px 0 0;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    color: var(--dt-v2-muted);
    font-size: 13px;
    line-height: 1.58;
}

.dt-v2-view-rail__links {
    position: relative;
    z-index: 1;
    display: grid;
    align-self: stretch;
    width: 100%;
    max-width: 100%;
    gap: 8px;
    justify-items: start;
    margin-top: 14px;
    text-align: left;
    max-height: calc(100dvh - var(--dt-v2-view-sticky-top) - 14rem);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
}

.dt-v2-view-rail__link-group {
    display: grid;
    gap: 8px;
    justify-items: start;
    width: 100%;
}

.dt-v2-view-rail__links-divider {
    width: 100%;
    margin: 4px 0;
    border: 0;
    border-top: 1px solid var(--dt-v2-border);
}

.dt-v2-view-rail__link {
    display: inline-flex;
    color: var(--dt-v2-text) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dt-v2-view-rail__link--button {
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
}

.dt-v2-view-rail__link-group--manage .dt-v2-view-rail__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: inherit;
    font-weight: 700;
    line-height: 1.35;
    text-decoration: none;
}

.dt-v2-view-rail__link-group--manage .dt-v2-view-rail__link-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dt-v2-view-rail__link-group--manage .dt-v2-view-rail__link-icon {
    flex-shrink: 0;
    width: 1em;
    font-size: 0.95em;
    text-decoration: none;
}

.dt-v2-view-rail__link-group--manage .dt-v2-view-rail__link--button {
    font-size: inherit;
    font-weight: 700;
    line-height: 1.35;
}

.dt-v2-view-side {
    grid-column: 3;
    width: 100%;
    max-width: var(--dt-v2-view-side-width);
    min-width: 0;
    justify-self: end;
    position: sticky;
    top: var(--dt-v2-view-sticky-top);
    align-self: start;
}

.dt-v2-view-side__inner {
    display: grid;
    gap: 34px;
    max-height: calc(100dvh - var(--dt-v2-view-sticky-top) - 24px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-top: 4px;
    padding-bottom: 8px;
    scrollbar-width: thin;
}

.dt-v2-view-side__section {
    display: grid;
    gap: 12px;
}

.dt-v2-view-side__title {
    margin: 0;
    color: var(--dt-v2-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: 0;
}

.dt-v2-view-side__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dt-v2-view-side__link {
    display: grid;
    gap: 4px;
    color: inherit;
    text-decoration: none;
}

.dt-v2-view-side__link:hover .dt-v2-view-side__link-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.dt-v2-view-side__link-title {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    color: var(--dt-v2-text);
    font-size: 13px;
    font-weight: 750;
    line-height: 1.45;
}

.dt-v2-view-side__meta,
.dt-v2-view-side__empty {
    color: var(--dt-v2-muted);
    font-size: 12px;
    line-height: 1.45;
}

.dt-v2-view-side__empty {
    margin: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-view-ad-row {
    margin: 0 0 30px;
}

body.darkthread-board-view-v2-page .notice-view-article .kakao_ad_area,
body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .kakao_ad_area {
    --dt-v2-inline-ad-gap: clamp(1.35rem, 2.2em, 2rem);
    margin-block: var(--dt-v2-inline-ad-gap);
}

body.darkthread-board-view-v2-page .notice-view-panel > .kakao_ad_area {
    margin-top: 44px;
}

body.darkthread-board-view-v2-page .notice-view-panel {
    width: 100%;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-head {
    border: 0;
    background: transparent;
    padding: 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-head-inner {
    padding: 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-title {
    margin: 0;
    color: var(--dt-v2-text) !important;
    font-size: clamp(36px, 4.2vw, 48px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-byline {
    border: 0;
    padding: 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-byline-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    padding-right: 0;
    color: var(--dt-v2-muted) !important;
    font-size: 14px;
    line-height: 1.5;
}

body.darkthread-board-view-v2-page .darkthread-view-post-byline-meta,
body.darkthread-board-view-v2-page .darkthread-list-author,
body.darkthread-board-view-v2-page .darkthread-list-author-name {
    color: inherit !important;
}

body.darkthread-board-view-v2-page .darkthread-view-post-actionbar {
    margin: 28px 0 44px;
    border-width: 1px 0;
    border-style: solid;
    border-color: var(--dt-v2-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--dt-v2-muted);
}

body.darkthread-board-view-v2-page .darkthread-view-post-actionbar-inner {
    min-height: 48px;
    padding: 8px 0;
}

body.darkthread-board-view-v2-page .darkthread-view-post-engage,
body.darkthread-board-view-v2-page .darkthread-view-post-engage:visited {
    color: var(--dt-v2-muted) !important;
}

body.darkthread-board-view-v2-page .notice-view-article {
    width: 100%;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    color: var(--dt-v2-text, #f5f5f5);
    font-size: var(--dt-richtext-body-font-size, 18px);
    line-height: var(--darkthread-reading-line-height, 1.82);
    letter-spacing: var(--darkthread-reading-letter-spacing, -0.012em);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article.darkthread-richtext {
    color: #171717;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article :where(p, li, blockquote, td, th, figcaption) {
    color: #171717;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article :where(h1, h2, h3, h4, h5, h6) {
    color: #0a0a0a;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article li::marker {
    color: #525252;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .notice-view-article :where(p, li, blockquote, span, strong, em, u, s, h1, h2, h3, h4, h5, h6)[style*="color: rgb(0"],
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .notice-view-article :where(p, li, blockquote, span, strong, em, u, s, h1, h2, h3, h4, h5, h6)[style*="color:#0"],
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .notice-view-article :where(p, li, blockquote, span, strong, em, u, s, h1, h2, h3, h4, h5, h6)[style*="color: #0"] {
    color: #d7deea !important;
}

/* 연속 이미지 한 행 — v1 gallery JS + board.css 동작 (스크롤 행은 max-width:100% 예외) */
body.darkthread-board-view-v2-page .notice-view-article :is(.darkthread-richtext-image-row, .darkthread-richtext-image-row-shell) {
    clear: both;
    display: block;
    max-width: 100%;
    margin: calc(var(--darkthread-reading-paragraph-gap, 1.06em) * 0.95) 0 0;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-shell .darkthread-mobile-image-row-scroll {
    margin: 0;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-shell.is-image-row-scrollable .darkthread-richtext-image-row-hint {
    color: var(--dt-v2-soft, #71717a);
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg, #08090b) 35%, transparent);
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg, #08090b) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article .darkthread-richtext-image-row-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg, #fff) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-view-article .darkthread-richtext-image-row-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg, #fff) 35%, transparent);
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-richtext-image-row-track > img {
    float: none !important;
    clear: none !important;
    display: block;
    flex: 0 1 var(--darkthread-richtext-image-width, auto);
    width: var(--darkthread-richtext-image-width, auto) !important;
    min-width: 0;
    max-width: var(--darkthread-richtext-image-width, 100%) !important;
    height: auto;
    margin: 0 !important;
    border-radius: 10px;
    box-shadow: none;
    cursor: zoom-in;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-mobile-image-row-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.2rem;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-mobile-image-row-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    width: max-content;
    min-width: 100%;
}

body.darkthread-board-view-v2-page .notice-view-article .darkthread-mobile-image-row-track > img {
    float: none !important;
    clear: none !important;
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    border-radius: 10px;
    box-shadow: none;
    cursor: zoom-in;
}

body.darkthread-board-view-v2-page .notice-view-article :is(img, .darkthread-richtext-image-placeholder, .darkthread-richtext-image-row, .darkthread-richtext-image-row-shell) + :not(img):not(.darkthread-richtext-image-placeholder):not(.darkthread-richtext-image-row):not(.darkthread-richtext-image-row-shell) {
    clear: both;
}

body.darkthread-board-view-v2-page .darkthread-post-recommend,
body.darkthread-board-view-v2-page .darkthread-author-profile-card,
body.darkthread-board-view-v2-page .darkthread-comment-panel,
body.darkthread-board-view-v2-page .notice-view-post-actions {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

body.darkthread-board-view-v2-page .darkthread-post-recommend,
body.darkthread-board-view-v2-page .darkthread-author-profile-card,
body.darkthread-board-view-v2-page .darkthread-comment-panel {
    border-width: 1px 0 0;
    border-style: solid;
    border-color: var(--dt-v2-border);
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
    color: var(--dt-v2-text);
}

body.darkthread-board-view-v2-page .darkthread-post-recommend {
    margin-top: 56px;
    padding: 22px 0 0;
}

body.darkthread-board-view-v2-page .darkthread-post-actions {
    justify-content: center;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-card {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    margin-top: 34px;
    padding: 28px 0 0;
    overflow: visible;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-card::before {
    content: none;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 4.75rem;
    height: 4.75rem;
    margin-top: 2px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-avatar .darkthread-author-profile-avatar-shell {
    width: 3.5rem;
    height: 3.5rem;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-avatar .darkthread-comment-avatar-fallback {
    font-size: 1.35rem;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-main {
    min-width: 0;
    flex: 1 1 auto;
    padding-top: 0.15rem;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-head {
    gap: 0.5rem 0.65rem;
    align-items: center;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-name {
    font-size: 16px;
    line-height: 1.35;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-role {
    min-height: 20px;
    border-color: var(--dt-v2-border);
    background: var(--dt-v2-chip);
    color: var(--dt-v2-muted) !important;
    font-size: 12px;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-bio {
    min-height: 0;
    height: auto;
    margin-top: 8px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
    color: var(--dt-v2-muted) !important;
    font-size: 14px;
    line-height: 1.62;
    overflow: visible;
}

body.darkthread-board-view-v2-page .darkthread-author-profile-meta {
    margin-top: 12px;
    color: var(--dt-v2-soft);
}

body.darkthread-board-view-v2-page .darkthread-author-profile-meta dt,
body.darkthread-board-view-v2-page .darkthread-author-profile-meta dd {
    color: inherit !important;
}

body.darkthread-board-view-v2-page .darkthread-comment-panel {
    margin-top: 68px;
    padding-top: 30px;
}

body.darkthread-board-view-v2-page .darkthread-comment-divider {
    justify-content: flex-start;
    margin-bottom: 22px;
}

body.darkthread-board-view-v2-page .darkthread-comment-divider::before,
body.darkthread-board-view-v2-page .darkthread-comment-divider::after {
    display: none;
}

body.darkthread-board-view-v2-page .darkthread-comment-divider span {
    padding: 0;
    background: transparent;
    color: var(--dt-v2-text);
    font-size: 18px;
    font-weight: 800;
}

body.darkthread-board-view-v2-page .darkthread-comment-form {
    margin-bottom: 34px;
}

body.darkthread-board-view-v2-page .darkthread-comment-textarea-hint {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dt-v2-muted);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-textarea-hint {
    background: #f1f5f9;
    color: #475569;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-textarea-hint.is-over {
    background: #fef2f2;
    color: #b91c1c;
}

body.darkthread-board-view-v2-page .darkthread-comment-list {
    gap: 0;
}

body.darkthread-board-view-v2-page .notice-view-post-actions {
    margin-top: 24px;
}

body.darkthread-board-view-v2-page .darkthread-comment-item {
    border-color: var(--dt-v2-border) !important;
    border-width: 1px 0 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 22px 0 !important;
}

body.darkthread-board-view-v2-page .darkthread-comment-body,
body.darkthread-board-view-v2-page .darkthread-comment-author,
body.darkthread-board-view-v2-page .darkthread-comment-date,
body.darkthread-board-view-v2-page .darkthread-post-recommend-count,
body.darkthread-board-view-v2-page .darkthread-author-profile-name,
body.darkthread-board-view-v2-page .darkthread-author-profile-bio,
body.darkthread-board-view-v2-page .darkthread-author-profile-role,
body.darkthread-board-view-v2-page .darkthread-comment-empty {
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page .notice-admin-button:not(.dt-btn-crimson),
body.darkthread-board-view-v2-page .darkthread-post-bookmark-button,
body.darkthread-board-view-v2-page .darkthread-post-share-button,
body.darkthread-board-view-v2-page .darkthread-comment-reply-trigger,
body.darkthread-board-view-v2-page .darkthread-comment-delete-button,
body.darkthread-board-view-v2-page .darkthread-comment-report-button {
    border-color: var(--dt-v2-border-strong) !important;
    background: var(--dt-v2-chip) !important;
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page .notice-admin-button.is-primary:not(.dt-btn-crimson),
body.darkthread-board-view-v2-page .darkthread-post-bookmark-button.is-active {
    border-color: color-mix(in srgb, var(--dt-v2-accent) 52%, transparent) !important;
    background: color-mix(in srgb, var(--dt-v2-accent) 18%, transparent) !important;
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page .darkthread-post-recommend-button,
body.darkthread-board-view-v2-page .darkthread-post-report-button,
body.darkthread-board-view-v2-page .darkthread-post-recommend-button.is-active,
body.darkthread-board-view-v2-page .darkthread-post-report-button.is-active,
body.darkthread-board-view-v2-page .darkthread-post-report-button:disabled {
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* 추천·신고 활성 휘광: 다크·라이트 각각 대비 맞춤 */
body.darkthread-board-view-v2-page .darkthread-post-recommend-button:not(.is-active) .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page .darkthread-post-report-button:not(.is-active):not(:disabled) .darkthread-post-action-icon::before {
    content: none;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-recommend-button.is-active .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-recommend-button.is-active .darkthread-post-action-icon::before {
    content: '';
    position: absolute;
    inset: -0.55rem;
    border-radius: 9999px;
    background:
        radial-gradient(
            circle,
            rgba(255, 251, 235, 0.92) 0%,
            rgba(251, 191, 36, 0.78) 24%,
            rgba(245, 158, 11, 0.5) 46%,
            rgba(220, 38, 38, 0.22) 64%,
            transparent 82%
        );
    filter: blur(9px);
    pointer-events: none;
    z-index: 0;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-recommend-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-recommend-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-recommend-button.is-active .darkthread-post-action-icon--symbol i,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-recommend-button.is-active .darkthread-post-action-icon--symbol i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 7px rgba(250, 204, 21, 0.62)) drop-shadow(0 0 14px rgba(251, 191, 36, 0.35));
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button.is-active .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button:disabled .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button.is-active .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button:disabled .darkthread-post-action-icon::before {
    content: '';
    position: absolute;
    inset: -0.55rem;
    border-radius: 9999px;
    background:
        radial-gradient(
            circle,
            rgba(254, 226, 226, 0.92) 0%,
            rgba(248, 113, 113, 0.76) 22%,
            rgba(220, 38, 38, 0.52) 44%,
            rgba(127, 29, 29, 0.28) 64%,
            transparent 82%
        );
    filter: blur(9px);
    pointer-events: none;
    z-index: 0;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button:disabled .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button:disabled .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button.is-active .darkthread-post-action-icon--symbol i,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-post-report-button:disabled .darkthread-post-action-icon--symbol i,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button.is-active .darkthread-post-action-icon--symbol i,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-post-report-button:disabled .darkthread-post-action-icon--symbol i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 7px rgba(248, 113, 113, 0.62)) drop-shadow(0 0 14px rgba(220, 38, 38, 0.38));
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active .darkthread-post-action-icon::before {
    content: '';
    position: absolute;
    inset: -0.5rem;
    border-radius: 9999px;
    background:
        radial-gradient(
            circle,
            rgba(251, 191, 36, 0.72) 0%,
            rgba(245, 158, 11, 0.52) 28%,
            rgba(180, 83, 9, 0.28) 52%,
            rgba(120, 53, 15, 0.1) 68%,
            transparent 84%
        );
    filter: blur(7px);
    pointer-events: none;
    z-index: 0;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active .darkthread-post-action-icon--symbol i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(180, 83, 9, 0.55)) drop-shadow(0 0 12px rgba(251, 191, 36, 0.42));
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button.is-active .darkthread-post-action-icon::before,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:disabled .darkthread-post-action-icon::before {
    content: '';
    position: absolute;
    inset: -0.5rem;
    border-radius: 9999px;
    background:
        radial-gradient(
            circle,
            rgba(254, 202, 202, 0.88) 0%,
            rgba(248, 113, 113, 0.58) 24%,
            rgba(220, 38, 38, 0.38) 46%,
            rgba(153, 27, 27, 0.16) 66%,
            transparent 84%
        );
    filter: blur(7px);
    pointer-events: none;
    z-index: 0;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button.is-active .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:disabled .darkthread-post-action-icon img,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button.is-active .darkthread-post-action-icon--symbol i,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:disabled .darkthread-post-action-icon--symbol i {
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 5px rgba(185, 28, 28, 0.55)) drop-shadow(0 0 12px rgba(248, 113, 113, 0.4));
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button .darkthread-post-action-label {
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button:hover,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active:hover,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button:hover .darkthread-post-action-label,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button.is-active .darkthread-post-action-label {
    color: var(--dt-v2-accent) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button:disabled,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-button:disabled .darkthread-post-action-label {
    color: var(--dt-v2-soft) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button .darkthread-post-action-label {
    color: #dc2626 !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:hover,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button.is-active,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:disabled,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:hover .darkthread-post-action-label,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button.is-active .darkthread-post-action-label,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-report-button:disabled .darkthread-post-action-label {
    color: #b91c1c !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend-count {
    color: var(--dt-v2-muted) !important;
}

body.darkthread-board-view-v2-page .darkthread-comment-textarea,
body.darkthread-board-view-v2-page .notice-admin-input,
body.darkthread-board-view-v2-page .darkthread-report-textarea {
    border-color: var(--dt-v2-border-strong) !important;
    background: rgba(255, 255, 255, 0.06) !important;
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-title,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-title * {
    color: var(--dt-v2-text, #171717) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline-inner,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-actionbar,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-engage {
    color: var(--dt-v2-muted) !important;
}

/* 표시 이름: 본문 톤 — 메타(분류·시간)는 위 muted 규칙 유지 */
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline-author,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline-author .darkthread-list-author,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline-author .darkthread-list-author-name,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline-author .darkthread-author-profile-link {
    color: var(--dt-v2-text) !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-view-post-byline,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .dt-v2-view-rail__bio,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .dt-v2-view-side__meta,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-meta,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-date {
    color: var(--dt-v2-muted);
}

/* 데스크톱 우측 패널(dt-v2-view-side) · 모바일 하단 사이드바(최신/관련 글) */
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .dt-v2-view-side__title,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .dt-v2-view-side__link-title,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .dt-v2-view-side__empty,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .dt-v2-view-side__title,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .dt-v2-view-side__link-title,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .dt-v2-view-side__empty {
    color: var(--dt-v2-text);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-latest-heading,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-related-heading,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-latest-heading,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-related-heading {
    color: var(--dt-v2-soft);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-latest-link,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-related-link,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-latest-link,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-related-link {
    color: var(--dt-v2-text);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-latest-meta,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-related-meta,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-related-empty,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-latest-meta,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-related-meta,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-related-empty {
    color: var(--dt-v2-muted);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-latest-link:hover,
html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-related-link:hover,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-latest-link:hover,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-related-link:hover {
    background: var(--dt-v2-chip);
    color: var(--dt-v2-text);
}

@media (max-width: 1299px) {
    html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-page-sidebar-right,
    body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-page-sidebar-right {
        border-top-color: var(--dt-v2-border) !important;
    }
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light.darkthread-main-bg::before,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-blood-layer,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .noise::before {
    display: none !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-post-recommend,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-author-profile-card,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-panel {
    background: transparent !important;
    box-shadow: none;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-item {
    background: transparent !important;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-comment-textarea,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .notice-admin-input,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-report-textarea {
    background: rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

@media (max-width: 1180px) {
    .dt-v2-view-shell {
        grid-template-columns: minmax(0, 680px);
        justify-content: center;
        padding-right: 24px;
        padding-left: 24px;
    }

    .dt-v2-view-main {
        grid-column: 1;
    }

    .dt-v2-view-rail {
        display: none;
    }

    .dt-v2-view-side {
        display: none;
    }
}

@media (max-width: 760px) {
    .dt-v2-view-shell {
        padding: 24px 16px 70px;
    }

    body.darkthread-board-view-v2-page .darkthread-view-post-title {
        font-size: clamp(26px, 8vw, 34px);
    }

    body.darkthread-board-view-v2-page .notice-view-article :is(.darkthread-richtext-image-row-track, .darkthread-mobile-image-row-track) > img {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content :is(.darkthread-richtext-image-row-track, .darkthread-mobile-image-row-track) > img {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.darkthread-board-view-v2-page .darkthread-view-post-byline-inner {
        padding-left: 0;
        padding-right: 0;
    }

    body.darkthread-board-view-v2-page .darkthread-view-post-actionbar:not(.darkthread-board-editor-actionbar) {
        margin-top: 22px;
        margin-bottom: 34px;
    }

    body.darkthread-board-view-v2-page .darkthread-view-post-actionbar.darkthread-board-editor-actionbar {
        margin-top: 0.25rem;
        margin-bottom: 0.45rem;
    }

    body.darkthread-board-view-v2-page .darkthread-author-profile-card {
        gap: 0.95rem;
    }

    body.darkthread-board-view-v2-page .darkthread-author-profile-avatar {
        width: 4.25rem;
        height: 4.25rem;
    }

    body.darkthread-board-view-v2-page .darkthread-author-profile-avatar .darkthread-author-profile-avatar-shell {
        width: 3.15rem;
        height: 3.15rem;
    }
}

/* read-limit paywall — theme variants (Medium-style wall) */
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-dark .darkthread-read-limit-preview,
body.darkthread-board-view-v2-page:not(.darkthread-board-list-v2-theme-light) .darkthread-read-limit-preview {
    --read-limit-wall-bg: var(--dt-v2-bg, #08090b);
    --read-limit-fade-end: var(--dt-v2-bg, #08090b);
    --read-limit-kicker: var(--dt-v2-soft, #71717a);
    --read-limit-kicker-emphasis: var(--dt-v2-accent, #d6b45c);
    --read-limit-title: var(--dt-v2-text, #f5f5f5);
    --read-limit-body: var(--dt-v2-muted, #a3a3a3);
    --read-limit-btn-primary-bg: #8b1e1e;
    --read-limit-btn-primary-border: #a83232;
    --read-limit-btn-primary-text: #fff;
    --read-limit-btn-primary-hover-bg: #a32525;
    --read-limit-btn-secondary-border: var(--dt-v2-border-strong, rgba(255, 255, 255, 0.16));
    --read-limit-btn-secondary-text: var(--dt-v2-text, #f5f5f5);
    --read-limit-btn-secondary-hover-bg: var(--dt-v2-chip, rgba(255, 255, 255, 0.08));
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-read-limit-preview {
    --read-limit-wall-bg: var(--dt-v2-bg, #fff);
    --read-limit-fade-end: var(--dt-v2-bg, #fff);
    --read-limit-kicker: var(--dt-v2-soft, #737373);
    --read-limit-kicker-emphasis: var(--dt-v2-accent, #8b6f24);
    --read-limit-title: var(--dt-v2-text, #171717);
    --read-limit-body: var(--dt-v2-muted, #525252);
    --read-limit-btn-primary-bg: #1a7f37;
    --read-limit-btn-primary-border: #1a7f37;
    --read-limit-btn-primary-text: #fff;
    --read-limit-btn-primary-hover-bg: #156b2e;
    --read-limit-btn-secondary-border: #cfcfcf;
    --read-limit-btn-secondary-text: #171717;
    --read-limit-btn-secondary-hover-bg: #f7f7f7;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content,
body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content :where(p, li, blockquote, span, strong, em, u, s, h1, h2, h3, h4, h5, h6):not([style*="color"]) {
    color: var(--dt-v2-text, inherit) !important;
}

/* 열람 제한 미리보기 — 연속 이미지 가로 스크롤 (preview-top overflow는 세로 페이드만) */
body.darkthread-board-view-v2-page .darkthread-read-limit-preview-top {
    overflow-x: clip;
    overflow-y: hidden;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content :is(.darkthread-richtext-image-row, .darkthread-richtext-image-row-shell) {
    clear: both;
    display: block;
    max-width: 100%;
    margin: 42px 0 30px;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-shell .darkthread-mobile-image-row-scroll {
    margin: 0;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-shell.is-image-row-scrollable .darkthread-richtext-image-row-hint {
    color: var(--dt-v2-soft, #71717a);
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg, #08090b) 35%, transparent);
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg, #08090b) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-read-limit-preview-content .darkthread-richtext-image-row-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg, #fff) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-read-limit-preview-content .darkthread-richtext-image-row-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg, #fff) 35%, transparent);
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-richtext-image-row-track > img {
    float: none !important;
    clear: none !important;
    display: block;
    flex: 0 1 var(--darkthread-richtext-image-width, auto);
    width: var(--darkthread-richtext-image-width, auto) !important;
    min-width: 0;
    max-width: var(--darkthread-richtext-image-width, 100%) !important;
    height: auto;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    cursor: zoom-in;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-mobile-image-row-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding-bottom: 0.2rem;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-mobile-image-row-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.75rem;
    width: max-content;
    min-width: 100%;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-preview-content .darkthread-mobile-image-row-track > img {
    float: none !important;
    clear: none !important;
    display: block;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none !important;
    height: auto;
    margin: 0 !important;
    border-radius: 0;
    box-shadow: none;
    cursor: zoom-in;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall :where(p, h2) {
    margin-bottom: 0 !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall-title {
    color: var(--read-limit-title) !important;
    font-weight: 700 !important;
    margin-top: 0.55rem !important;
    text-align: center !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall-text {
    margin-top: 1.05rem !important;
    color: var(--read-limit-body) !important;
    text-align: center !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall-kicker {
    color: var(--read-limit-kicker-emphasis, var(--read-limit-kicker)) !important;
    font-size: 0.92rem !important;
    text-align: center !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall .darkthread-read-limit-btn {
    color: var(--read-limit-btn-secondary-text) !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall .darkthread-read-limit-btn.is-primary {
    color: var(--read-limit-btn-primary-text) !important;
}

body.darkthread-board-view-v2-page .darkthread-read-limit-wall .darkthread-read-limit-btn.is-primary:hover {
    color: var(--read-limit-btn-primary-text) !important;
}

/* ===== 게시판 작성·수정 (view v2 DOM) ===== */

body.darkthread-board-view-v2-page .notice-view-panel > .kakao_ad_area:first-child {
    margin: 0 auto 1.25rem;
}

body.darkthread-board-view-v2-page .dt-v2-view-side__inner > .kakao_ad_area {
    margin: 1.25rem auto 0;
}

@media (max-width: 1180px) {
    body.darkthread-board-view-v2-page .dt-v2-view-side__inner > .kakao_ad_area {
        display: none !important;
    }
}

/* 작성·수정: 심플 에디터 도구줄 — 사이트 크롬(검색 툴바 포함) 바로 아래에 맞춤
   v2 검색바는 chrome-sticky-stack 안에 있으므로 toolbar-offset-height 를 더하면 이중 간격이 난다. */
body.darkthread-board-view-v2-page #darkthreadBoardEditorPage .dt-simple-editor__toolbar-sticky,
body.darkthread-board-view-v2-page #darkthreadNoticeEditorPage .dt-simple-editor__toolbar-sticky {
    top: calc(var(--dt-se-editor-toolbar-top, var(--dt-v2-toolbar-top, var(--dt-v2-chrome-top, 0px))) - 1px);
    z-index: 4;
    scroll-margin-top: calc(var(--dt-se-editor-toolbar-top, var(--dt-v2-toolbar-top, 0px)) + 12px);
}

body.darkthread-board-view-v2-page #darkthreadBoardEditorPage .dt-v2-view-rail,
body.darkthread-board-view-v2-page #darkthreadBoardEditorPage .dt-v2-view-side,
body.darkthread-board-view-v2-page #darkthreadNoticeEditorPage .dt-v2-view-rail,
body.darkthread-board-view-v2-page #darkthreadNoticeEditorPage .dt-v2-view-side {
    z-index: 3;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-head-inner .tw-tabs-root {
    margin-bottom: 0.75rem;
}

body.darkthread-board-view-v2-page .notice-view-panel.darkthread-board-editor-locale,
body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar,
body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar-inner {
    min-width: 0;
    max-width: 100%;
}

body.darkthread-board-view-v2-page .darkthread-view-post-actionbar.darkthread-board-editor-actionbar {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0.35rem 0 0.5rem;
    border-width: 0;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    padding-bottom: 0.15rem;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll .darkthread-editor-category-tags {
    display: flex;
    flex-wrap: nowrap !important;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    padding: 0.2rem 0.25rem 0.55rem;
    margin-inline: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll .darkthread-editor-category-tags::-webkit-scrollbar {
    display: none;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll .darkthread-category-pill {
    flex: 0 0 auto;
    margin-block: 0.1rem;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll .darkthread-category-pill:hover,
body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll .darkthread-category-pill:focus-visible {
    transform: none;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll.is-category-scrollable .darkthread-editor-category-scroll-hint {
    position: absolute;
    top: 0.15rem;
    bottom: 0.45rem;
    z-index: 2;
    display: flex;
    align-items: center;
    width: 1.85rem;
    pointer-events: none;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    color: var(--dt-v2-soft);
    opacity: 0;
    transition: opacity 0.2s ease;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll-hint i {
    font-size: 0.7rem;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll-hint--left {
    left: 0;
    justify-content: flex-start;
    padding-left: 0.4rem;
    background: linear-gradient(to right, var(--dt-v2-bg) 35%, transparent);
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll-hint--right {
    right: 0;
    justify-content: flex-end;
    padding-right: 0.4rem;
    background: linear-gradient(to left, var(--dt-v2-bg) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-actionbar .darkthread-editor-category-scroll-hint--left {
    background: linear-gradient(to right, var(--dt-v2-bg) 35%, transparent);
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-editor-actionbar .darkthread-editor-category-scroll-hint--right {
    background: linear-gradient(to left, var(--dt-v2-bg) 35%, transparent);
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll.is-category-scrollable.can-scroll-left .darkthread-editor-category-scroll-hint--left,
body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-editor-category-scroll.is-category-scrollable.can-scroll-right .darkthread-editor-category-scroll-hint--right {
    opacity: 1;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-locale-hint {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--dt-v2-muted);
}

body.darkthread-board-view-v2-page .notice-view-panel.darkthread-board-editor-locale,
body.darkthread-board-view-v2-page .notice-view-panel.darkthread-board-report-panel {
    --dt-se-reading-inline-gutter: clamp(1rem, 2.2vw, 2rem);
    --dt-editor-title-padding-top: clamp(0.75rem, 1.8vw, 1.15rem);
    --dt-editor-title-padding-bottom: clamp(0.65rem, 1.5vw, 0.95rem);
}

@media (max-width: 899px) {
    body.darkthread-board-view-v2-page .notice-view-panel.darkthread-board-editor-locale,
    body.darkthread-board-view-v2-page .notice-view-panel.darkthread-board-report-panel {
        --dt-se-reading-inline-gutter: clamp(0.9rem, 3vw, 1.25rem);
        --dt-editor-title-padding-top: clamp(0.65rem, 2.4vw, 0.9rem);
        --dt-editor-title-padding-bottom: clamp(0.55rem, 2.1vw, 0.8rem);
    }
}

body.darkthread-board-view-v2-page .darkthread-board-editor-article {
    margin-top: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-article .tw-tabs-panels {
    margin-top: 0;
    padding-top: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-title-field {
    margin-top: 0;
    margin-bottom: 0.35rem;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-title-input {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: var(--dt-editor-title-padding-top, clamp(0.75rem, 1.8vw, 1.15rem))
        2.95rem
        var(--dt-editor-title-padding-bottom, clamp(0.65rem, 1.5vw, 0.95rem))
        var(--dt-se-reading-inline-gutter, clamp(1rem, 2.2vw, 2rem));
    border: none;
    background: transparent;
    box-shadow: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
    color: inherit;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-title-input:focus {
    outline: none;
    box-shadow: none;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar {
    margin-top: 0;
    overflow: hidden;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar .darkthread-view-post-actionbar-inner,
body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar-inner {
    min-height: 0;
    padding: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-actionbar-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 0.35rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-category-description {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--dt-v2-muted);
}

body.darkthread-board-view-v2-page .darkthread-board-editor-article .dt-simple-editor__host {
    margin-top: 0.5rem;
}

body.darkthread-board-view-v2-page .darkthread-board-editor-settings {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dt-v2-border);
}

body.darkthread-board-view-v2-page .darkthread-board-editor-guest-input {
    width: 100%;
}

body.darkthread-board-view-v2-page .darkthread-board-report-thanks {
    margin: 0 0 1.25rem;
    padding: 0.85rem 1rem;
    padding-left: var(--dt-se-reading-inline-gutter, clamp(1rem, 2.2vw, 2rem));
    padding-right: var(--dt-se-reading-inline-gutter, clamp(1rem, 2.2vw, 2rem));
}

body.darkthread-board-view-v2-page .darkthread-board-report-intro {
    margin: 0 0 1.25rem;
    padding: 0 var(--dt-se-reading-inline-gutter, clamp(1rem, 2.2vw, 2rem));
    font-size: 0.8125rem;
    line-height: 1.55;
    color: var(--dt-v2-muted);
}

body.darkthread-board-view-v2-page .darkthread-board-report-article {
    margin-top: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-report-body {
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-height: clamp(15rem, 30vh, 24rem);
    margin: 0.5rem 0 0;
    padding: clamp(1rem, 2vw, 1.4rem) var(--dt-se-reading-inline-gutter, clamp(1rem, 2.2vw, 2rem)) clamp(1.75rem, 2vw, 2.4rem);
    border-radius: 0;
    box-shadow: none;
    color: var(--dt-v2-text);
    font-family: inherit;
    font-size: var(--dt-richtext-body-font-size, 18px);
    line-height: var(--darkthread-reading-line-height, 1.82);
    letter-spacing: var(--darkthread-reading-letter-spacing, -0.012em);
    resize: vertical;
}

body.darkthread-board-view-v2-page .darkthread-board-report-body:focus {
    outline: none;
    box-shadow: none;
}

body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-report-body {
    color: var(--dt-v2-text, #242424);
}

body.darkthread-board-view-v2-page .darkthread-board-report-body::placeholder {
    color: var(--dt-v2-muted);
    opacity: 1;
}

body.darkthread-board-view-v2-page .dt-v2-view-side__list--guide {
    list-style: none;
    padding: 0;
    margin: 0;
}

body.darkthread-board-view-v2-page .dt-v2-view-side__guide-item {
    padding: 0.45rem 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--dt-v2-muted);
    border-bottom: 1px solid var(--dt-v2-border);
}

body.darkthread-board-view-v2-page .dt-v2-view-side__guide-item:last-child {
    border-bottom: none;
}

/* ===== 게시글 설문 ===== */
body.darkthread-board-view-v2-page .darkthread-board-poll {
    --dt-v2-crimson-accent: #6f1414;
    --dt-v2-crimson-accent-strong: #861c1c;
    --dt-v2-crimson-accent-soft: rgba(111, 20, 20, 0.24);
    --dt-v2-crimson-accent-glow: rgba(111, 20, 20, 0.36);
    --dt-v2-crimson-on-accent: #fff5f5;
    --dt-v2-poll-row-padding-block: 0.65rem;
    --dt-v2-poll-row-padding-inline: 0.75rem;
    --dt-v2-poll-row-radius: 0.75rem;
    --dt-v2-poll-row-min-height: calc(2 * var(--dt-v2-poll-row-padding-block) + 1.125rem + 2px);
    margin: 1.25rem 0 0;
    padding: 1.15rem 1.1rem 1.2rem;
    border: 1px solid var(--dt-v2-border, rgba(255, 255, 255, 0.1));
    border-radius: 1rem;
    background: rgba(0, 0, 0, 0.22);
}

body.darkthread-board-view-v2-page .darkthread-board-poll + .kakao_ad_area {
    --dt-v2-inline-ad-gap: clamp(1.35rem, 2.2em, 2rem);
    margin-top: var(--dt-v2-inline-ad-gap);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-board-poll,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-poll {
    --dt-v2-crimson-accent: #5c1010;
    --dt-v2-crimson-accent-strong: #721616;
    --dt-v2-crimson-accent-soft: rgba(92, 16, 16, 0.14);
    --dt-v2-crimson-accent-glow: rgba(92, 16, 16, 0.22);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 0.75rem;
    align-items: start;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-head-icon {
    grid-row: 1 / -1;
    grid-column: 1;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    font-size: 1.65rem;
    line-height: 1;
    color: #f5f5f5;
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-board-poll-head-icon,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-poll-head-icon {
    color: var(--dt-v2-crimson-accent-strong);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-head-body {
    grid-column: 2;
    grid-row: 1 / -1;
    min-width: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dt-v2-text, #f5f5f5);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-hint,
body.darkthread-board-view-v2-page .darkthread-board-poll-total {
    margin: 0.35rem 0 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--dt-v2-muted, #94a3b8);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-options {
    border: 0;
    margin: 0.85rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-option {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    box-sizing: border-box;
    min-height: var(--dt-v2-poll-row-min-height);
    padding: var(--dt-v2-poll-row-padding-block) var(--dt-v2-poll-row-padding-inline);
    border-radius: var(--dt-v2-poll-row-radius);
    border: 1px solid var(--dt-v2-border, rgba(255, 255, 255, 0.12));
    cursor: pointer;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-option input[type="radio"] {
    accent-color: var(--dt-v2-crimson-accent-strong);
    flex-shrink: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-option:has(input:checked) {
    border-color: color-mix(in srgb, var(--dt-v2-crimson-accent) 72%, var(--dt-v2-border-strong, rgba(255, 255, 255, 0.16)));
    background: var(--dt-v2-crimson-accent-soft);
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--dt-v2-crimson-accent) 36%, transparent);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-form {
    display: flex;
    flex-direction: column;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.75rem;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    box-sizing: border-box;
    min-height: var(--dt-v2-poll-row-min-height);
    margin: 0;
    padding: var(--dt-v2-poll-row-padding-block) 1rem;
    border: 1px solid var(--dt-v2-crimson-accent-strong);
    border-radius: var(--dt-v2-poll-row-radius);
    background: var(--dt-v2-crimson-accent);
    color: var(--dt-v2-crimson-on-accent);
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--dt-v2-crimson-accent) 24%, transparent),
        0 0 10px var(--dt-v2-crimson-accent-glow);
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-submit i {
    font-size: 0.78rem;
    line-height: 1;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-submit:hover {
    border-color: var(--dt-v2-crimson-accent-strong);
    background: var(--dt-v2-crimson-accent-strong);
    color: var(--dt-v2-crimson-on-accent);
    box-shadow:
        0 0 0 1px color-mix(in srgb, var(--dt-v2-crimson-accent) 30%, transparent),
        0 0 14px var(--dt-v2-crimson-accent-glow);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-submit:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--dt-v2-crimson-accent-strong) 65%, transparent);
    outline-offset: 2px;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-results {
    display: grid;
    gap: 0.7rem;
    margin-top: 0.85rem;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-head {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: center;
    font-size: 0.9rem;
    line-height: 1.35;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-label-row {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-mark {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    color: var(--dt-v2-crimson-accent-strong);
    font-size: 0.72rem;
    line-height: 1;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-label {
    min-width: 0;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-meta {
    display: flex;
    gap: 0.55rem;
    flex-shrink: 0;
    align-items: center;
    color: var(--dt-v2-muted, #94a3b8);
    font-size: 0.82rem;
    line-height: 1.35;
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-bar {
    margin-top: 0.45rem;
    height: 0.55rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-board-poll-result-bar,
body.darkthread-board-view-v2-page.darkthread-board-list-v2-theme-light .darkthread-board-poll-result-bar {
    background: rgba(15, 23, 42, 0.08);
}

body.darkthread-board-view-v2-page .darkthread-board-poll-result-bar-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dt-v2-crimson-accent-strong), var(--dt-v2-crimson-accent));
}

body.darkthread-board-view-v2-page .darkthread-board-poll-total strong {
    color: var(--dt-v2-crimson-accent-strong);
}

html.darkthread-board-list-v2-theme-light body.darkthread-board-view-v2-page .darkthread-board-poll {
    background: #f8fafc;
    border-color: var(--dt-fg);
}
