/* drawer.css: 공통 드로어(메뉴·알림·프로필·설정) 전용 스타일 */

.darkthread-site-drawers {
    position: relative;
    z-index: 80;
    isolation: isolate;
}

.darkthread-chrome-overlay-root {
    position: relative;
    z-index: 80;
}

.darkthread-chrome-overlay-backdrop,
.darkthread-nav-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.2s ease;
}

.darkthread-chrome-nav-drawer,
.darkthread-nav-drawer-root .darkthread-nav-drawer {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 70;
    display: flex;
    width: min(18rem, calc(100vw - 2.5rem));
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    min-height: 100dvh;
    margin: 0;
    flex-direction: column;
    overflow: hidden;
    border: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 3, 3, 0.95);
    color: var(--dt-fg);
    box-shadow: 24px 0 48px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateX(-100%);
    transition: transform 0.2s ease-out;
}

.darkthread-chrome-nav-drawer-head {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.darkthread-chrome-nav-drawer-title,
#darkthread-nav-drawer-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.darkthread-chrome-nav-drawer-nav,
.darkthread-nav-drawer-nav {
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 0.5rem;
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.darkthread-notification-root {
    position: relative;
    z-index: 80;
    pointer-events: none;
}

.darkthread-notification-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.darkthread-notification-drawer {
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: min(25rem, calc(100vw - 1.5rem));
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 3, 3, 0.95);
    overflow: hidden;
    /* 닫힌 상태(off-screen)에서도 그림자가 본문 우측과 body 비네트에 겹칠 수 있음 → 열릴 때만 적용 */
    box-shadow: none;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint style;
}

.darkthread-notification-root--open {
    pointer-events: auto;
}

.darkthread-notification-root--open .darkthread-notification-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.darkthread-notification-root--open .darkthread-notification-drawer {
    transform: translate3d(0, 0, 0);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.4);
}

.darkthread-notification-drawer-head-frame {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.darkthread-notification-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.darkthread-notification-drawer-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 0.5rem;
}

.darkthread-notification-title {
    margin: 0;
    flex: 1 1 auto;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.darkthread-notification-head-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.darkthread-notification-mark-all,
.darkthread-notification-refresh,
.darkthread-notification-close,
.darkthread-notification-login-link {
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #090909;
    color: var(--dt-fg);
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-notification-mark-all {
    display: inline-flex;
    align-items: center;
    height: 2.25rem;
    padding: 0 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.darkthread-notification-refresh {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
}

.darkthread-notification-mark-all[hidden] {
    display: none;
}

.darkthread-notification-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
}

.darkthread-notification-mark-all:hover,
.darkthread-notification-refresh:hover,
.darkthread-notification-close:hover,
.darkthread-notification-login-link:hover {
    border-color: rgba(185, 28, 28, 0.45);
    background: rgba(24, 24, 24, 0.96);
    color: #fff;
}

.darkthread-notification-refresh:disabled,
.darkthread-notification-mark-all:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.darkthread-notification-summary {
    font-size: 0.875rem;
    color: var(--dt-fg-muted);
}

.darkthread-notification-error {
    border-radius: 1rem;
    border: 1px solid rgba(248, 113, 113, 0.25);
    background: rgba(127, 29, 29, 0.2);
    padding: 0.85rem 1rem;
    color: #fecaca;
    font-size: 0.875rem;
}

.darkthread-notification-empty,
.darkthread-notification-loading {
    border-radius: 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    background: rgba(9, 9, 9, 0.92);
    padding: 1.25rem 1rem;
    color: var(--dt-fg-muted);
    font-size: 0.875rem;
    text-align: center;
}

.darkthread-notification-loading {
    display: flex;
    min-height: 10rem;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.9rem;
    border: none;
    background: transparent;
}

.darkthread-notification-loading-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    border: 3px solid rgba(148, 163, 184, 0.22);
    border-top-color: #f87171;
    border-right-color: rgba(248, 113, 113, 0.65);
    animation: darkthreadNotificationSpin 0.8s linear infinite;
    box-shadow: 0 0 22px rgba(248, 113, 113, 0.14);
}

.darkthread-notification-loading-text {
    margin: 0;
    color: var(--dt-fg-muted);
    font-size: 0.875rem;
}

.darkthread-notification-empty p {
    margin: 0;
}

@keyframes darkthreadNotificationSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.darkthread-notification-login-link {
    display: inline-flex;
    margin-top: 0.9rem;
    padding: 0.55rem 0.95rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.darkthread-notification-list {
    display: flex;
    min-height: 0;
    flex-direction: column;
    gap: 0.65rem;
}

.darkthread-notification-item {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.45rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
    padding: 0.95rem 1rem;
    text-align: left;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease;
}

.darkthread-notification-item:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: #181818;
}

.darkthread-notification-item-message {
    color: var(--dt-fg);
    font-size: 0.875rem;
    line-height: 1.55;
}

.darkthread-notification-item-meta {
    color: var(--dt-fg-muted);
    font-size: 0.75rem;
}

body.darkthread-notification-open {
    overflow: hidden;
}

body.darkthread-profile-open,
body.darkthread-settings-open {
    overflow: hidden;
}

.darkthread-profile-root {
    position: relative;
    z-index: 80;
    pointer-events: none;
}

.darkthread-profile-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.darkthread-profile-drawer {
    position: fixed;
    right: 0;
    top: 0;
    display: flex;
    height: 100vh;
    height: 100dvh;
    width: min(25rem, calc(100vw - 1.5rem));
    flex-direction: column;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 3, 3, 0.95);
    overflow: hidden;
    /* 알림 드로어와 동일: 닫힌 상태에서 좌측으로 번지는 그림자가 본문·전역 비네트와 중첩되지 않도록 */
    box-shadow: none;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translate3d(100%, 0, 0);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    backface-visibility: hidden;
    contain: layout paint style;
}

.darkthread-profile-drawer-main {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    overflow: hidden;
}

.darkthread-profile-root--open {
    pointer-events: auto;
}

.darkthread-profile-root--open .darkthread-profile-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.darkthread-profile-root--open .darkthread-profile-drawer {
    transform: translate3d(0, 0, 0);
    box-shadow: -24px 0 48px rgba(0, 0, 0, 0.4);
}

.darkthread-profile-drawer-head-frame {
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.darkthread-profile-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.darkthread-profile-title {
    margin: 0;
    flex: 1 1 auto;
    text-align: right;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
}

.darkthread-profile-close,
.darkthread-profile-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #090909;
    color: var(--dt-fg);
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-profile-close:hover,
.darkthread-profile-icon-button:hover {
    border-color: rgba(185, 28, 28, 0.45);
    background: rgba(24, 24, 24, 0.96);
    color: #fff;
}

.darkthread-profile-drawer-footer {
    flex-shrink: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.65) 0%, rgba(3, 3, 3, 0.98) 100%);
    padding: 0.85rem 0.65rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
}

.darkthread-profile-drawer-footer-title {
    margin: 0 0 0.55rem;
    padding: 0 0.25rem;
    color: var(--dt-fg-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.darkthread-profile-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.darkthread-profile-footer-action {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 8, 0.72);
    padding: 0.65rem 0.75rem;
    color: var(--dt-fg);
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.darkthread-profile-footer-action:hover {
    border-color: rgba(255, 255, 255, 0.16);
    background: rgba(20, 20, 20, 0.85);
}

.darkthread-profile-footer-action--primary {
    border-color: rgba(185, 28, 28, 0.4);
    background: linear-gradient(135deg, rgba(69, 10, 10, 0.55), rgba(24, 24, 24, 0.9));
    box-shadow: 0 0 0 1px rgba(185, 28, 28, 0.12), 0 0.5rem 1.25rem rgba(0, 0, 0, 0.35);
}

.darkthread-profile-footer-action--primary:hover {
    border-color: rgba(248, 113, 113, 0.45);
    background: linear-gradient(135deg, rgba(91, 15, 15, 0.65), rgba(28, 28, 28, 0.95));
}

.darkthread-profile-footer-action-icon {
    display: inline-flex;
    flex: 0 0 auto;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.65rem;
    background: rgba(0, 0, 0, 0.35);
    color: #fecaca;
    font-size: 0.95rem;
}

.darkthread-profile-footer-action--primary .darkthread-profile-footer-action-icon {
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.35);
}

.darkthread-profile-footer-action-icon .fa-buromobelexperte {
    font-size: 1.35rem;
    line-height: 1;
}

.darkthread-profile-footer-action-text {
    display: flex;
    min-width: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.12rem;
}

.darkthread-profile-footer-action-text [data-app-install-label],
.darkthread-profile-footer-action-text [data-cache-clear-label] {
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.25;
}

.darkthread-profile-footer-action-hint {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--dt-fg-muted);
    line-height: 1.3;
}

.darkthread-profile-footer-action:disabled {
    cursor: progress;
    opacity: 0.72;
}

/* 토글 스위치 본체: asset/css/toggle-switch.css */

.darkthread-mascot-enable-switch {
    margin-bottom: 0.75rem;
}

.darkthread-radio-sub-switch {
    margin-bottom: 0.55rem;
}

.darkthread-pseudonym-switch {
    flex: 1 1 auto;
    min-width: 0;
}

.darkthread-radio-bg-enable-switch .darkthread-mascot-enable-switch-text {
    gap: 0.5rem;
}

.darkthread-radio-volume-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.55rem;
    margin-bottom: 0.45rem;
}

.darkthread-radio-volume-label-main {
    color: var(--dt-fg);
    font-size: 0.86rem;
    font-weight: 750;
    line-height: 1.25;
}

.darkthread-radio-volume-hint {
    margin: 0.35rem 0 0;
    color: var(--dt-fg-soft);
    font-size: 0.65rem;
    font-weight: 600;
    line-height: 1.38;
}

.darkthread-radio-volume-value {
    flex-shrink: 0;
    min-width: 2.6rem;
    text-align: right;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--dt-fg-muted);
    font-variant-numeric: tabular-nums;
}

.darkthread-radio-volume-range {
    display: block;
    width: 100%;
    height: 1.35rem;
    margin: 0;
    accent-color: #b91c1c;
    cursor: pointer;
}

.darkthread-radio-volume-range:focus-visible {
    outline: 2px solid rgba(248, 113, 113, 0.65);
    outline-offset: 3px;
    border-radius: 0.25rem;
}

.darkthread-radio-volume-range:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.darkthread-mascot-picker-profile {
    margin-top: 0.15rem;
}

.darkthread-profile-drawer-body {
    display: flex;
    min-height: 0;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0.75rem 0.5rem;
}

.darkthread-profile-card,
.darkthread-profile-section,
.darkthread-profile-menu {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.darkthread-profile-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
}

.darkthread-profile-card--with-pseudonym {
    align-items: flex-start;
}

.darkthread-profile-card--with-pseudonym .darkthread-profile-avatar {
    margin-top: 0.2rem;
}

.darkthread-profile-name-row {
    display: flex;
    max-width: 100%;
    flex-wrap: nowrap;
    align-items: baseline;
    gap: 0.35rem;
    min-width: 0;
}

.darkthread-profile-name-row .darkthread-profile-name--primary {
    flex: 0 1 auto;
}

.darkthread-profile-card-pseudonym-tools {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.45rem;
}

.darkthread-profile-card-pseudonym-tools .darkthread-pseudonym-switch {
    flex: 1 1 auto;
    margin-bottom: 0;
    min-width: 0;
}

.darkthread-profile-icon-button--pseudonym-refresh {
    flex: 0 0 auto;
}

.darkthread-profile-caption--under-pseudonym {
    margin-top: 0.35rem;
}

.darkthread-pseudonym-switch--compact .darkthread-pseudonym-switch-desc {
    display: none;
}

.darkthread-pseudonym-switch--compact .darkthread-pseudonym-switch-title {
    font-size: 0.78rem;
    font-weight: 700;
}

.darkthread-pseudonym-switch--compact .darkthread-pseudonym-switch-track {
    margin-top: 0.05rem;
}

.darkthread-profile-avatar {
    width: 2.5rem;
    height: 2.5rem;
}

.darkthread-profile-name {
    margin: 0;
    overflow: hidden;
    color: var(--dt-fg);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.darkthread-profile-caption {
    margin: 0.2rem 0 0;
    color: var(--dt-fg-muted);
    font-size: 0.75rem;
}

.darkthread-profile-section {
    padding: 0.85rem;
}

.darkthread-profile-section-title {
    margin: 0 0 0.6rem;
    color: var(--dt-fg-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.darkthread-read-limit-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0.7rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 8, 0.54);
}

.darkthread-read-limit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.darkthread-read-limit-label {
    margin: 0;
    color: var(--dt-fg-muted);
    font-size: 0.75rem;
    font-weight: 700;
}

.darkthread-read-limit-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    background: rgba(127, 29, 29, 0.28);
    color: #fecaca;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
}

.darkthread-read-limit-track {
    position: relative;
    display: block;
    width: 100%;
    height: 0.45rem;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
}

.darkthread-read-limit-fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f87171 0%, #ef4444 100%);
    transition: width 0.2s ease;
}

/* progress 태그는 스크린리더 등 보조기기 접근성용. 시각 표현은 .darkthread-read-limit-track 가 담당한다. */
.darkthread-read-limit-progress {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.darkthread-read-limit-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    color: var(--dt-fg-muted);
    font-size: 0.7rem;
    font-weight: 600;
}

.darkthread-read-limit-card.is-warn .darkthread-read-limit-badge {
    border-color: rgba(251, 191, 36, 0.55);
    background: rgba(120, 53, 15, 0.85);
    color: #fef3c7;
}

.darkthread-read-limit-card.is-warn .darkthread-read-limit-fill {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

.darkthread-read-limit-card.is-danger .darkthread-read-limit-badge {
    border-color: rgba(252, 165, 165, 0.5);
    background: rgba(127, 29, 29, 0.42);
    color: #fee2e2;
}

.darkthread-read-limit-card.is-danger .darkthread-read-limit-fill {
    background: #b91c1c;
}

.darkthread-read-limit-auth-caption {
    margin: 0;
    color: var(--dt-fg-muted);
    font-size: 0.72rem;
    line-height: 1.45;
}

.darkthread-read-limit-card.is-authenticated .darkthread-read-limit-badge {
    border-color: rgba(34, 197, 94, 0.5);
    background: rgba(20, 83, 45, 0.85);
    color: #dcfce7;
}

.darkthread-language-switcher-profile {
    width: 100%;
    justify-content: space-between;
    border-radius: 0.85rem;
    background: rgba(8, 8, 8, 0.54);
}

.darkthread-language-switcher-profile .darkthread-language-switcher-link {
    flex: 1 1 0;
    padding-block: 0.55rem;
    text-align: center;
}

.darkthread-pseudonym-control-profile {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    min-width: 0;
}

.darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline {
    flex: 1 1 auto;
    overflow: hidden;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--dt-fg-muted);
    font-size: 0.82rem;
    font-weight: 650;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline::before {
    content: '·';
    margin-right: 0.3rem;
    color: var(--dt-fg-soft);
    font-weight: 800;
}

.darkthread-mascot-picker {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
}

.darkthread-mascot-option {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(8, 8, 8, 0.54);
    color: var(--dt-fg-muted);
    padding: 0.55rem;
    font-size: 0.75rem;
    font-weight: 800;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-mascot-option:hover,
.darkthread-mascot-option.is-active {
    border-color: rgba(248, 113, 113, 0.42);
    background: rgba(127, 29, 29, 0.38);
    color: #fff;
}

.darkthread-mascot-option-thumb {
    display: flex;
    width: 100%;
    height: 4.5rem;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.7rem;
    background: rgba(0, 0, 0, 0.58);
}

.darkthread-mascot-option-thumb img {
    display: block;
    max-width: 100%;
    max-height: 5.6rem;
    object-fit: contain;
}

.darkthread-profile-menu {
    display: flex;
    flex-direction: column;
    padding: 0.35rem;
}

.darkthread-profile-menu-embedded {
    border-radius: 0.85rem;
    background: rgba(8, 8, 8, 0.34);
}

.darkthread-profile-menu-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    width: 100%;
    border-radius: 0.85rem;
    padding: 0.8rem 0.85rem;
    color: var(--dt-fg);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-profile-menu-button {
    border: 0;
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.darkthread-profile-menu-button:disabled {
    cursor: progress;
    opacity: 0.7;
}

.darkthread-profile-menu-link:hover {
    background: #181818;
    color: #fff;
}

.darkthread-profile-menu-link-danger {
    color: #fecaca;
}

.darkthread-notification-title,
.darkthread-profile-title,
#darkthread-nav-drawer-title {
    font-size: 1.05rem;
    line-height: 1.35;
}

.darkthread-profile-section-title,
.darkthread-profile-drawer-footer-title {
    font-size: 0.875rem;
    line-height: 1.3;
}

.darkthread-notification-mark-all,
.darkthread-notification-summary,
.darkthread-notification-error,
.darkthread-notification-empty,
.darkthread-notification-loading,
.darkthread-notification-loading-text,
.darkthread-notification-login-link,
.darkthread-notification-item-message,
.darkthread-profile-name,
.darkthread-profile-menu-link,
.darkthread-mascot-enable-switch-title,
.darkthread-pseudonym-switch-title,
.darkthread-radio-volume-label-main,
.darkthread-read-limit-label,
.darkthread-profile-footer-action-text [data-app-install-label],
.darkthread-profile-footer-action-text [data-cache-clear-label],
.darkthread-nav-drawer-link,
.darkthread-nav-drawer-summary {
    font-size: 1rem;
    line-height: 1.35;
}

.darkthread-notification-item-meta,
.darkthread-profile-caption,
.darkthread-mascot-enable-switch-desc,
.darkthread-pseudonym-switch-desc,
.darkthread-radio-volume-hint,
.darkthread-read-limit-meta,
.darkthread-read-limit-auth-caption,
.darkthread-profile-footer-action-hint {
    font-size: 0.875rem;
    line-height: 1.45;
}

.darkthread-radio-volume-value,
.darkthread-language-switcher-profile .darkthread-language-switcher-link,
.darkthread-language-switcher-drawer .darkthread-language-switcher-link,
.darkthread-nav-drawer-sublink,
.darkthread-read-limit-badge,
.darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline,
.darkthread-mascot-option {
    font-size: 0.95rem;
    line-height: 1.35;
}

@media (max-width: 639px) {
    .darkthread-notification-drawer {
        width: min(22rem, calc(100vw - 1rem));
    }

    .darkthread-profile-drawer {
        width: min(22rem, calc(100vw - 1rem));
    }

    .darkthread-notification-drawer-head-frame {
        padding-inline: 0.9rem;
    }

    .darkthread-profile-drawer-head-frame {
        padding-inline: 0.9rem;
    }

    .darkthread-notification-drawer-body {
        padding-inline: 0.4rem;
    }

    .darkthread-profile-drawer-body {
        padding-inline: 0.4rem;
    }

    .darkthread-profile-drawer-footer {
        padding-inline: 0.4rem;
    }

    .darkthread-nav-drawer-root .darkthread-nav-drawer,
    #darkthread-settings-drawer {
        width: min(22rem, calc(100vw - 1rem));
    }

    .darkthread-notification-title,
    .darkthread-profile-title,
    #darkthread-nav-drawer-title {
        font-size: 1rem;
    }

    .darkthread-profile-section-title,
    .darkthread-profile-drawer-footer-title {
        font-size: 0.8125rem;
    }

    .darkthread-notification-mark-all,
    .darkthread-notification-summary,
    .darkthread-notification-error,
    .darkthread-notification-empty,
    .darkthread-notification-loading,
    .darkthread-notification-loading-text,
    .darkthread-notification-login-link,
    .darkthread-notification-item-message,
    .darkthread-profile-name,
    .darkthread-profile-menu-link,
    .darkthread-mascot-enable-switch-title,
    .darkthread-pseudonym-switch-title,
    .darkthread-radio-volume-label-main,
    .darkthread-read-limit-label,
    .darkthread-profile-footer-action-text [data-app-install-label],
    .darkthread-profile-footer-action-text [data-cache-clear-label],
    .darkthread-nav-drawer-link,
    .darkthread-nav-drawer-summary {
        font-size: 1rem;
    }

    .darkthread-notification-item-meta,
    .darkthread-profile-caption,
    .darkthread-mascot-enable-switch-desc,
    .darkthread-pseudonym-switch-desc,
    .darkthread-radio-volume-hint,
    .darkthread-read-limit-meta,
    .darkthread-read-limit-auth-caption,
    .darkthread-profile-footer-action-hint {
        font-size: 0.8125rem;
        line-height: 1.45;
    }

    .darkthread-radio-volume-value,
    .darkthread-language-switcher-profile .darkthread-language-switcher-link,
    .darkthread-language-switcher-drawer .darkthread-language-switcher-link,
    .darkthread-nav-drawer-sublink,
    .darkthread-read-limit-badge,
    .darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline,
    .darkthread-mascot-option {
        font-size: 0.875rem;
    }
}

/* ——— 기본 레이아웃: xl 미만에서 헤더 대신 좌측 드로어 메뉴 ——— */
.darkthread-nav-drawer-root .darkthread-nav-drawer {
    transform: translateX(-100%);
    will-change: transform;
    /* dialog 기본 max-height/margin 제약으로 하단이 잘리는 현상 방지 */
    margin: 0;
    max-height: none;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
}

.darkthread-nav-drawer-language {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1rem;
}

.darkthread-language-switcher-drawer {
    width: 100%;
    justify-content: center;
    min-height: 2.25rem;
}

.darkthread-nav-drawer-root--open .darkthread-nav-drawer {
    transform: translateX(0);
}

.darkthread-nav-drawer-root--open .darkthread-nav-drawer-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.darkthread-nav-drawer-open {
    overflow: hidden;
}

body.darkthread-header-nav-desktop.darkthread-nav-drawer-open {
    overflow: unset;
}

.darkthread-nav-drawer-link {
    display: block;
    border-radius: 0.75rem;
    border: 1px solid transparent;
    padding: 0.65rem 0.75rem;
    font-family: "NanumSquareRound", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dt-fg);
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-nav-drawer-link:hover {
    border-color: rgba(255, 255, 255, 0.08);
    background: #181818;
    color: #fff;
}

.darkthread-nav-drawer-link:focus-visible,
.darkthread-nav-drawer-summary:focus-visible,
.darkthread-nav-drawer-sublink:focus-visible {
    outline: 2px solid rgba(248, 113, 113, 0.72);
    outline-offset: 2px;
    background: rgba(24, 24, 24, 0.92);
    color: var(--dt-fg);
}

.darkthread-nav-drawer-link[aria-current="page"],
.darkthread-nav-drawer-sublink[aria-current="page"],
.darkthread-nav-drawer-details.is-current > .darkthread-nav-drawer-summary {
    color: #fecaca;
    background: transparent;
}

.darkthread-nav-drawer-link.darkthread-nav-link--subscription-glow {
    position: relative;
    z-index: 0;
    isolation: isolate;
    font-weight: 800;
    letter-spacing: 0.01em;
    color: #bf5a70;
    text-shadow:
        0 0 0.34rem rgba(79, 16, 31, 0.58),
        0 0 0.9rem rgba(58, 10, 23, 0.44);
}

.darkthread-nav-drawer-link.darkthread-nav-link--subscription-glow::before {
    content: "";
    position: absolute;
    inset: 0.15rem 0.1rem;
    z-index: -1;
    border-radius: 0.75rem;
    background:
        radial-gradient(98% 132% at 22% 53%, rgba(165, 38, 52, 0.42) 0%, rgba(122, 23, 38, 0.24) 50%, rgba(122, 23, 38, 0) 100%),
        radial-gradient(78% 108% at 80% 47%, rgba(139, 31, 46, 0.34) 0%, rgba(98, 20, 33, 0.2) 54%, rgba(98, 20, 33, 0) 100%);
    filter: blur(5px) saturate(98%);
    opacity: 0.88;
    transform: rotate(-1.3deg);
    pointer-events: none;
}

.darkthread-nav-drawer-link.darkthread-nav-link--subscription-glow:hover {
    color: #dc859b;
    text-shadow:
        0 0 0.4rem rgba(98, 24, 39, 0.62),
        0 0 1rem rgba(72, 16, 29, 0.48);
}

.darkthread-nav-drawer-link.darkthread-nav-link--subscription-glow:hover::before {
    opacity: 0.98;
    filter: blur(5.8px) saturate(104%);
}

.darkthread-nav-drawer-details {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.darkthread-nav-drawer-summary-label {
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.darkthread-nav-drawer-children {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0 0.5rem 0.75rem;
}

.darkthread-nav-drawer-summary {
    display: flex;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    list-style: none;
    padding: 0.65rem 0.75rem;
    font-family: "NanumSquareRound", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dt-fg);
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-nav-drawer-summary::-webkit-details-marker {
    display: none;
}

.darkthread-nav-drawer-details[open] > .darkthread-nav-drawer-summary {
    color: #fff;
}

.darkthread-nav-drawer-details[open] .darkthread-nav-drawer-chevron {
    transform: rotate(180deg);
}

.darkthread-nav-drawer-sublink {
    display: block;
    border-radius: 0.65rem;
    padding: 0.5rem 0.65rem 0.5rem 1rem;
    font-family: "NanumSquareRound", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dt-fg-muted);
    text-decoration: none;
    transition:
        background-color 0.15s ease,
        color 0.15s ease;
}

.darkthread-nav-drawer-sublink:hover {
    background: #181818;
    color: var(--dt-fg);
}

.darkthread-nav-drawer-nav {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

.darkthread-profile-card--with-social {
    flex-wrap: wrap;
    align-items: flex-start;
}

.darkthread-profile-card-social {
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    margin-top: 0.15rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.darkthread-profile-card-social-label {
    flex: 0 0 auto;
    color: var(--dt-fg-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.darkthread-profile-social-badges--drawer-card {
    justify-content: flex-end;
}

.darkthread-profile-identity-meta {
    margin: 0.55rem 0.85rem 0;
    padding: 0.65rem 0.75rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(8, 8, 8, 0.48);
}

.darkthread-profile-identity-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0;
}

.darkthread-profile-identity-row + .darkthread-profile-identity-row {
    margin-top: 0.45rem;
}

.darkthread-profile-identity-label {
    flex: 0 0 auto;
    color: var(--dt-fg-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.darkthread-profile-identity-value {
    min-width: 0;
    color: var(--dt-fg);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: right;
}

.darkthread-profile-social-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.darkthread-profile-social-badges--profile {
    justify-content: flex-end;
}

.darkthread-profile-social-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.15rem 0.5rem;
    color: #f1f5f9;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.2;
    background: rgba(15, 23, 42, 0.72);
}

.darkthread-profile-social-badge.is-naver {
    border-color: rgba(3, 199, 90, 0.45);
    background: rgba(3, 199, 90, 0.14);
}

.darkthread-profile-social-badge.is-kakao {
    border-color: rgba(161, 132, 0, 0.55);
    background: rgba(254, 229, 0, 0.42);
    color: #3f3200;
}

.darkthread-profile-social-badge.is-google {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
}

/* ===== Drawer theme: v2 라이트 (html — 페이지 CSS와 분리) ===== */

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-root .darkthread-nav-drawer,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer,
body.darkthread-board-list-v2-page:has(#dtV2ThemeLight:checked) .darkthread-site-drawers .darkthread-nav-drawer-root .darkthread-nav-drawer,
body.darkthread-board-list-v2-page:has(#dtV2ThemeLight:checked) .darkthread-site-drawers .darkthread-notification-drawer,
body.darkthread-board-list-v2-page:has(#dtV2ThemeLight:checked) .darkthread-site-drawers .darkthread-profile-drawer,
body.darkthread-board-list-v2-page:has(#dtV2ThemeLight:checked) .darkthread-site-drawers #darkthread-settings-drawer,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-root .darkthread-nav-drawer,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer {
    border-color: #e5e7eb;
    background: #ffffff;
    color: var(--dt-fg);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-backdrop,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-backdrop,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-backdrop,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-backdrop,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-backdrop,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-backdrop {
    background: rgba(15, 23, 42, 0.32);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer-head-frame,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer-head,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-head-frame,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-head,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-footer,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-language,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-details,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer-head-frame,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-drawer-head,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-head-frame,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-head,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-footer,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-language,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-details {
    border-color: #e5e7eb;
    background: rgba(255, 255, 255, 0.9);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-nav-drawer-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-chrome-nav-drawer-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-name,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-footer-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-switch-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-mascot-enable-switch-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-nav-drawer-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-name,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-drawer-footer-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-switch-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-mascot-enable-switch-title {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-summary,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-empty,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-loading,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-loading-text,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-item-message,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-caption,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action-hint,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-switch-desc,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-mascot-enable-switch-desc,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-language-switcher-drawer .darkthread-language-switcher-link,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-summary,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-empty,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-loading,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-loading-text,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-item-message,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-caption,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action-hint,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-switch-desc,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-mascot-enable-switch-desc,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-pseudonym-control-profile .darkthread-pseudonym-badge--inline,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-language-switcher-drawer .darkthread-language-switcher-link {
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-summary,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-button,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action-text [data-app-install-label],
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action-text [data-cache-clear-label],
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer a,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer button,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer label,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-summary,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-button {
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link:hover,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-summary:hover,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink:hover,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link:hover,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-button:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-summary:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-button:hover {
    border-color: #e5e7eb;
    background: #f1f5f9;
    color: var(--dt-fg-strong);
}

/* 내 메뉴 — 라이트: 메뉴 아이콘 검붉은 강조 (text-red-300 → 진한 적색) */
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link i[class*='text-red'],
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link i[class*='text-red'] {
    color: var(--dt-fg-nav-current) !important;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link:hover i[class*='text-red'],
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link:hover i[class*='text-red'] {
    color: #7f1d1d !important;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger {
    color: var(--dt-fg-nav-current);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger i,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger i {
    color: var(--dt-fg-nav-current) !important;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger:hover,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger:hover {
    color: var(--dt-fg-danger-hover);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger:hover i,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu-link-danger:hover i {
    color: #7f1d1d !important;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link[aria-current="page"],
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink[aria-current="page"],
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-details.is-current > .darkthread-nav-drawer-summary,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-link[aria-current="page"],
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-sublink[aria-current="page"],
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-nav-drawer-details.is-current > .darkthread-nav-drawer-summary {
    color: var(--dt-fg-nav-current);
    text-shadow: none;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-card,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-item,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-empty,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-card,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-menu,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-item,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-empty,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action {
    border-color: #e5e7eb;
    background: #f8fafc;
    color: var(--dt-fg);
    box-shadow: none;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action--primary,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-footer-action--primary {
    border-color: var(--dt-fg-strong);
    background: #111827;
    color: #fff;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-mark-all,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-refresh,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-close,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-login-link,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-close,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-icon-button,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-nav-drawer-close,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-language-switcher-link,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-mascot-option,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-mark-all,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-refresh,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-close,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-notification-login-link,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-close,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-icon-button,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-nav-drawer-close {
    border-color: #e5e7eb;
    background: #f8fafc;
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-drawer-footer-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-section-title,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-drawer-footer-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-section-title {
    color: var(--dt-fg-strong);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile {
    border: 1px solid #e5e7eb;
    background: #f8fafc;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile .darkthread-language-switcher-link,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile .darkthread-language-switcher-link {
    border-color: transparent;
    background: transparent;
    color: var(--dt-fg-soft);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile .darkthread-language-switcher-link.is-active,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-language-switcher-profile .darkthread-language-switcher-link.is-active {
    background: #111827;
    color: #fff;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary span,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary [data-app-install-label],
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary .darkthread-profile-footer-action-hint,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary span,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary [data-app-install-label],
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary .darkthread-profile-footer-action-hint {
    color: #fff;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action-icon,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action-icon {
    background: #e5e7eb;
    color: var(--dt-fg);
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary .darkthread-profile-footer-action-icon,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers #darkthread-settings-drawer .darkthread-profile-footer-action--primary .darkthread-profile-footer-action-icon {
    background: transparent;
    color: var(--dt-fg);
}

/* 내 메뉴 — 글보기 제한 (라이트 모드) */
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section:has(.darkthread-read-limit-card),
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section:has(.darkthread-read-limit-card) {
    border-color: #dee2e6;
    background: #f8f9fa;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section:has(.darkthread-read-limit-card) .darkthread-profile-section-title,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-profile-section:has(.darkthread-read-limit-card) .darkthread-profile-section-title {
    color: #212529;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card {
    border-color: #dee2e6;
    background: #fff;
    color: #6c757d;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-label,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-label {
    color: #adb5bd;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-badge,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-badge {
    border-color: #f8d7da;
    background: #f8d7da;
    color: #721c24;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-track,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-track {
    background: #e9ecef;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-fill,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-fill {
    background: #dc3545;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-meta,
html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-auth-caption,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-meta,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-auth-caption {
    color: #6c757d;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-warn .darkthread-read-limit-badge,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-warn .darkthread-read-limit-badge {
    border-color: #fff3cd;
    background: #fff3cd;
    color: #664d03;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-warn .darkthread-read-limit-fill,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-warn .darkthread-read-limit-fill {
    background: #fd7e14;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-danger .darkthread-read-limit-badge,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-danger .darkthread-read-limit-badge {
    border-color: #f8d7da;
    background: #f8d7da;
    color: #721c24;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-danger .darkthread-read-limit-fill,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-danger .darkthread-read-limit-fill {
    background: #dc3545;
}

html.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-authenticated .darkthread-read-limit-badge,
body.darkthread-board-list-v2-page.darkthread-board-list-v2-theme-light .darkthread-site-drawers .darkthread-read-limit-card.is-authenticated .darkthread-read-limit-badge {
    border-color: #d1e7dd;
    background: #d1e7dd;
    color: #0f5132;
}

