@charset "utf-8";

/*!
 * op_tokens.css - Global Design Tokens (CSS Custom Properties)
 * Unified design system tokens for Light and Dark modes.
 */

:root {
    /* Base Surface & Typography */
    --op-bg: #ffffff;
    --op-surface: #ffffff;
    --op-surface-muted: #f8f8f8;
    --op-text: #333333;
    --op-text-muted: #777777;
    --op-text-subtle: #999999;
    --op-border: #dddddd;
    --op-border-light: #eeeeee;
    --op-link: #333333;
    --op-link-hover: crimson;

    /* Modern Typography Tokens */
    --op-font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
    --op-font-mono: "JetBrains Mono", Consolas, Menlo, Monaco, "Courier New", monospace;
    --op-content-font-size: 15px;
    --op-content-line-height: 1.75;
    --op-content-letter-spacing: -0.015em;
    --op-comment-font-size: 14px;
    --op-comment-line-height: 1.65;
    --op-meta-font-size: 13px;
    --op-attach-font-size: 13.5px;
    --op-cmt-btn-font-size: 12px;

    /* Brand & Accent */
    --op-primary: #3dbf62;
    --op-primary-dark: #2f9a4f;
    --op-accent: #ff490f;
    --op-accent-hover: #e03e0a;
    --op-highlight: #ffeb3b;

    /* Topbar & Header */
    --op-topbar-bg: #f8f8f8;
    --op-topbar-border: #dddddd;
    --op-topbar-btn-text: #555555;
    --op-topbar-btn-hover-bg: #e9e9e9;
    --op-navbar-bg: #ffffff;
    --op-navbar-border: #eeeeee;
    --op-navbar-text: #555555;
    --op-affix-bg: rgba(255, 255, 255, 0.95);

    /* PC Main Selector & Box */
    --op-top-selector-bg: #e5e5e5;
    --op-top-selector-border: rgba(0, 0, 0, 0.04);
    --op-top-selector-input-bg: #ffffff;
    --op-top-selector-input-border: #cccccc;
    --op-top-selector-input-text: #333333;
    --op-top-selector-btn-bg: #ffffff;
    --op-top-selector-btn-text: #333333;

    --op-comp-list-bg: #f1f1f1;
    --op-box-bg: #ffffff;
    --op-box-border: #dadcda;
    --op-box-desc-bg: #ffffff;
    --op-box-name: #ff490f;
    --op-box-cat: #000000;
    --op-box-contact: #777777;
    --op-box-addr: #000000;
    --op-box-btn-bg: #ffffff;
    --op-box-btn-border: #d4d4d4;
    --op-box-btn-text: #333333;
    --op-box-thumb-hover-overlay: rgba(255, 255, 255, 0.27);

    /* Side Menu */
    --op-side-bg: #ffffff;
    --op-side-border: #d2dad4;
    --op-side-sub-border: #bad7c2;
    --op-side-text: #333333;
    --op-side-btn-bg: #ffffff;
    --op-side-btn-border: #cccccc;
    --op-side-btn-text: #333333;

    /* Mobile Main */
    --op-m-search-bg: #f8fafc;
    --op-m-search-btn-bg: #3dbf62;
    --op-m-search-btn-border: #3dbf62;
    --op-m-notice-bg: #ffffff;
    --op-m-notice-lbl-bg: #e6f4ea;
    --op-m-notice-lbl-text: #166534;
    --op-m-quick-bg: #ffffff;
    --op-m-quick-border-t: #e2e8f0;
    --op-m-quick-border-b: #e2e8f0;
    --op-m-menu-bg: #f1f5f9;

    /* Board Header */
    --op-board-header-bg: #ffffff;
    --op-board-header-border: #e2e8f0;
    --op-board-header-title: #0f172a;
    --op-board-header-icon-bg: #ecfdf5;
    --op-board-header-icon-color: #059669;
    --op-board-header-badge-bg: #f8fafc;
    --op-board-header-badge: #0f766e;
    --op-board-header-badge-border: #cbd5e1;
    --op-board-header-desc: #64748b;
    --op-board-header-shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);

    /* Board Skin Components */
    --op-board-btn-bg: #859c8c;
    --op-board-btn-border: #5f6f64;
    --op-board-btn-hover-bg: #3dbf62;
    --op-board-btn-hover-border: #4fad6a;
    --op-board-row-real: antiquewhite;
    --op-board-row-hide: #e7e7e7;
    --op-board-row-lock: #808080;
    /* Title Tone Tokens (Unified High-Contrast Slate Charcoal for Fair Readability & Emoji Clarity) */
    --op-title-tone-slate: #0f172a;
    --op-title-tone-indigo: #0f172a;
    --op-title-tone-wine: #0f172a;
    --op-title-tone-charcoal: #0f172a;
    --op-title-tone-forest: #0f172a;

    /* Footer */
    --op-footer-bg: #2f3542;
    --op-footer-text: #a4b0be;

    /* Sidebar & Outlogin Widgets (Phase 3) */
    --op-partner-btn-blue-bg: #5e8ccb;
    --op-partner-btn-blue-border: #85b4dd;
    --op-partner-btn-orange-bg: #f89e1f;
    --op-partner-btn-orange-border: #ec9415;
    --op-partner-btn-yellow-bg: #ffe500;
    --op-partner-btn-yellow-border: #e8d001;
    --op-partner-btn-yellow-text: #463f01;
    --op-partner-btn-gray-bg: #e7e7e7;
    --op-partner-btn-gray-border: #e0e0e0;
    --op-sidebar-user-grade: #6495ed;

    /* Static Pages & Rank (Phase 4) */
    --op-page-article-title: #0083b9;
    --op-page-table-border-top: #999999;
    --op-page-table-border-bottom: #dddddd;
    --op-rank-border: #dddddd;
    --op-rank-header-bg: #f5f5f5;
    --op-rank-badge-bg: #dddddd;
    --op-rank-badge-color: #403f3f;

    /* ==========================================================================
       Business Category Color Tokens (업종별 시그니처 색상 토큰 - 딥 톤 리마스터)
       - 좌측 사이드바 무지개/신호등 피로도를 없애고 본문 시선을 보호하는 딥 톤
       ========================================================================== */
    /* 1. 오피 (오리지널 시그니처 세룰리안 블루 - 기준 톤) - #518bd6 */
    --op-biz-op: #518bd6;
    --op-biz-op-dark: #3a75be;
    --op-biz-op-light: #eff6ff;
    --op-biz-op-border: #bfdbfe;

    /* 2. 건마 (소프트 코랄 버건디 레드 - 오피와 밝기 일치) - #c25454 */
    --op-biz-gunma: #c25454;
    --op-biz-gunma-dark: #a83e3e;
    --op-biz-gunma-light: #fef2f2;
    --op-biz-gunma-border: #fecaca;

    /* 3. 휴게텔 (소프트 에메랄드 틸) - #2a9d8f */
    --op-biz-rest: #2a9d8f;
    --op-biz-rest-dark: #21867a;
    --op-biz-rest-light: #f0fdfa;
    --op-biz-rest-border: #99f6e4;

    /* 4. 유흥주점 (소프트 바이올렛) - #8b5cf6 */
    --op-biz-bar: #8b5cf6;
    --op-biz-bar-dark: #7c3aed;
    --op-biz-bar-light: #f5f3ff;
    --op-biz-bar-border: #ddd6fe;

    /* 5. 안마 (스파/릴랙스 웜 테라코타 - 블루 충돌 해소) - #e07a5f */
    --op-biz-anma: #e07a5f;
    --op-biz-anma-dark: #c9654b;
    --op-biz-anma-light: #fff7ed;
    --op-biz-anma-border: #fed7aa;

    /* 6. 출장 (소프트 마젠타) - #b85ba6 */
    --op-biz-trip: #b85ba6;
    --op-biz-trip-dark: #9d468c;
    --op-biz-trip-light: #fdf4ff;
    --op-biz-trip-border: #f5d0fe;

    /* 7. 특수/소형 업종들 (키스방, 립카페, 핸플, 패티쉬 등) */
    --op-biz-kiss: #d97706;       /* 키스방: 웜 앰버 */
    --op-biz-lip: #db2777;        /* 립카페: 소프트 로즈 */
    --op-biz-hand: #64748b;       /* 핸플: 쿨 슬레이트 */
    --op-biz-fetish: #059669;     /* 패티쉬: 소프트 에메랄드 */

    /* 8. 기타 공통 & 기본 (차콜 슬레이트) */
    --op-biz-etc: #64748b;
    --op-biz-etc-dark: #475569;
    --op-biz-etc-light: #f8fafc;
    --op-biz-default: #10b981;
}

/* ==========================================================================
   Global Dark Mode Tokens
   ========================================================================== */
html.theme-dark,
html.theme-dark body,
body.theme-dark,
body[data-theme="dark"],
html.theme-dark #thema_wrapper {
    color-scheme: dark;
    /* Base Surface & Typography */
    --op-bg: #121214;
    --op-surface: #1e1e24;
    --op-surface-muted: #18181d;
    --op-text: #e2e8f0;
    --op-text-muted: #a1a1aa;
    --op-text-subtle: #71717a;
    --op-border: #272730;
    --op-border-light: #22222a;
    --op-link: #93c5fd;
    --op-link-hover: #60a5fa;

    /* Brand & Accent */
    --op-primary: #2563eb;
    --op-primary-dark: #1d4ed8;
    --op-accent: #ff6b4a;
    --op-accent-hover: #f97316;
    --op-highlight: #fde047;

    /* Topbar & Header */
    --op-topbar-bg: #18181d;
    --op-topbar-border: #272730;
    --op-topbar-btn-text: #a1a1aa;
    --op-topbar-btn-hover-bg: #22222a;
    --op-navbar-bg: #18181d;
    --op-navbar-border: #272730;
    --op-navbar-text: #e2e8f0;
    --op-affix-bg: rgba(24, 24, 29, 0.95);

    /* PC Main Selector & Box */
    --op-top-selector-bg: #1e1e24;
    --op-top-selector-border: #2d2d38;
    --op-top-selector-input-bg: #282832;
    --op-top-selector-input-border: #3e3e4c;
    --op-top-selector-input-text: #f1f5f9;
    --op-top-selector-btn-bg: #282832;
    --op-top-selector-btn-text: #d1d5db;

    --op-comp-list-bg: #18181e;
    --op-box-bg: #22222a;
    --op-box-border: #2e2e3a;
    --op-box-desc-bg: #22222a;
    --op-box-name: #ff6b4a;
    --op-box-cat: #94a3b8;
    --op-box-contact: #a1a1aa;
    --op-box-addr: #a1a1aa;
    --op-box-btn-bg: #2c2c36;
    --op-box-btn-border: #3e3e4d;
    --op-box-btn-text: #e2e8f0;
    --op-box-thumb-hover-overlay: rgba(59, 130, 246, 0.28);

    /* Side Menu */
    --op-side-bg: #22222a;
    --op-side-border: #2e2e3a;
    --op-side-sub-border: #2e2e3a;
    --op-side-text: #f1f5f9;
    --op-side-btn-bg: #2c2c36;
    --op-side-btn-border: #3e3e4d;
    --op-side-btn-text: #e2e8f0;

    /* Mobile Main */
    --op-m-search-bg: #1e1e24;
    --op-m-search-btn-bg: #2563eb;
    --op-m-search-btn-border: #2563eb;
    --op-m-notice-bg: #18181d;
    --op-m-notice-lbl-bg: #272730;
    --op-m-notice-lbl-text: #e2e8f0;
    --op-m-quick-bg: #1e1e24;
    --op-m-quick-border-t: #2d2d38;
    --op-m-quick-border-b: #272730;
    --op-m-menu-bg: #272730;

    /* Board Header */
    --op-board-header-bg: #18181d;
    --op-board-header-border: #272730;
    --op-board-header-title: #f8fafc;
    --op-board-header-icon-bg: rgba(61, 191, 98, 0.14);
    --op-board-header-icon-color: #4ade80;
    --op-board-header-badge-bg: rgba(255, 255, 255, 0.06);
    --op-board-header-badge: #86efac;
    --op-board-header-badge-border: rgba(255, 255, 255, 0.12);
    --op-board-header-desc: #94a3b8;
    --op-board-header-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);

    /* Board Skin Components */
    --op-board-btn-bg: #2e3832;
    --op-board-btn-border: #3e4d44;
    --op-board-btn-hover-bg: #2f9a4f;
    --op-board-btn-hover-border: #3dbf62;
    --op-board-row-real: #2d251e;
    --op-board-row-hide: #2a2a32;
    --op-board-row-lock: #3a3a44;
    /* Title Tone Tokens (Unified High-Contrast Off-White in Dark Mode) */
    --op-title-tone-slate: #f1f5f9;
    --op-title-tone-indigo: #f1f5f9;
    --op-title-tone-wine: #f1f5f9;
    --op-title-tone-charcoal: #f1f5f9;
    --op-title-tone-forest: #f1f5f9;

    /* Footer */
    --op-footer-bg: #141418;
    --op-footer-text: #71717a;

    /* Sidebar & Outlogin Widgets (Phase 3) */
    --op-partner-btn-blue-bg: #2b4c7e;
    --op-partner-btn-blue-border: #3d68a2;
    --op-partner-btn-orange-bg: #9c5c00;
    --op-partner-btn-orange-border: #c47708;
    --op-partner-btn-yellow-bg: #a69500;
    --op-partner-btn-yellow-border: #c4b000;
    --op-partner-btn-yellow-text: #f0f0f0;
    --op-partner-btn-gray-bg: #2a2a32;
    --op-partner-btn-gray-border: #3f3f4d;
    --op-sidebar-user-grade: #82aaff;

    /* Static Pages & Rank (Phase 4) */
    --op-page-article-title: #4fc3f7;
    --op-page-table-border-top: #555555;
    --op-page-table-border-bottom: #333333;
    --op-rank-border: #333333;
    --op-rank-header-bg: #1e1e24;
    --op-rank-badge-bg: #333333;
    --op-rank-badge-color: #e0e0e0;

    /* ==========================================================================
       Business Category Color Tokens (Dark Mode)
       - 다크 서피스(#18181d/#1e1e24) 상에서 눈부심을 줄이고 최적의 대비를 보장하는 팔레트
       ========================================================================== */
    --op-biz-op: #3b82f6;
    --op-biz-op-dark: #2563eb;
    --op-biz-op-light: rgba(59, 130, 246, 0.15);
    --op-biz-op-border: rgba(59, 130, 246, 0.35);

    --op-biz-gunma: #fb7185;
    --op-biz-gunma-dark: #f43f5e;
    --op-biz-gunma-light: rgba(251, 113, 133, 0.15);
    --op-biz-gunma-border: rgba(251, 113, 133, 0.35);

    --op-biz-rest: #2dd4bf;
    --op-biz-rest-dark: #14b8a6;
    --op-biz-rest-light: rgba(45, 212, 191, 0.15);
    --op-biz-rest-border: rgba(45, 212, 191, 0.35);

    --op-biz-bar: #a78bfa;
    --op-biz-bar-dark: #8b5cf6;
    --op-biz-bar-light: rgba(167, 139, 250, 0.15);
    --op-biz-bar-border: rgba(167, 139, 250, 0.35);

    --op-biz-anma: #22d3ee;
    --op-biz-anma-dark: #06b6d4;
    --op-biz-anma-light: rgba(34, 211, 238, 0.15);
    --op-biz-anma-border: rgba(34, 211, 238, 0.35);

    --op-biz-trip: #e879f9;
    --op-biz-trip-dark: #d946ef;
    --op-biz-trip-light: rgba(232, 121, 249, 0.15);
    --op-biz-trip-border: rgba(232, 121, 249, 0.35);

    --op-biz-kiss: #fb923c;
    --op-biz-lip: #f472b6;
    --op-biz-hand: #94a3b8;
    --op-biz-fetish: #34d399;

    --op-biz-etc: #94a3b8;
    --op-biz-etc-dark: #64748b;
    --op-biz-etc-light: rgba(148, 163, 184, 0.15);
    --op-biz-default: #34d399;
}

/* ========================================================
 * Global Typography & Form Control Reset
 * ======================================================== */
html, body {
    font-family: var(--op-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

input, button, select, textarea {
    font-family: var(--op-font-sans);
}

/* ========================================================
 * Board View Content Typography Normalization
 * ======================================================== */
.view-content {
    font-family: var(--op-font-sans);
    font-size: var(--op-content-font-size, 15px);
    line-height: var(--op-content-line-height, 1.75);
    letter-spacing: var(--op-content-letter-spacing, -0.015em);
    color: var(--op-text, #333333);
    word-break: break-word;
    overflow-wrap: break-word;
}

.view-content p {
    margin: 0 0 0.8em 0;
    line-height: inherit;
    font-size: inherit;
}

.view-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .view-content {
        font-size: var(--op-content-font-size, 15px);
        line-height: 1.7;
    }
}

/* ========================================================
 * Comment Typography Normalization
 * ======================================================== */
.comment-media .media .media-content {
    font-family: var(--op-font-sans);
    font-size: var(--op-comment-font-size, 14px);
    line-height: var(--op-comment-line-height, 1.65);
    letter-spacing: -0.01em;
    color: var(--op-text, #333333);
    word-break: break-word;
    overflow-wrap: break-word;
}

.comment-media .media .media-content p {
    margin: 0 0 0.5em 0;
    line-height: inherit;
    font-size: inherit;
}

.comment-media .media .media-content p:last-child {
    margin-bottom: 0;
}

.comment-box textarea#wr_content {
    font-family: var(--op-font-sans);
    font-size: var(--op-comment-font-size, 14px);
    line-height: var(--op-comment-line-height, 1.65);
    color: var(--op-text, #333333);
}

@media (max-width: 768px) {
    .comment-media .media .media-content,
    .comment-box textarea#wr_content {
        font-size: var(--op-comment-font-size, 14px);
        line-height: 1.6;
    }
}

/* ========================================================
 * Blockquote & Code Elements Polish
 * ======================================================== */
.view-content blockquote {
    font-family: var(--op-font-sans);
    font-size: 14px;
    line-height: 1.65;
    padding: 10px 16px;
    margin: 12px 0 16px;
    color: var(--op-text-muted, #777777);
    border-left: 3.5px solid var(--op-primary, #3dbf62);
    background-color: var(--op-surface-muted, #f8f8f8);
    border-radius: 0 4px 4px 0;
}

/* ========================================================
 * View Meta, Attachments & Comment Author Polish
 * ======================================================== */
.view-head .panel-heading,
.view-head .panel-heading .ellipsis {
    font-size: var(--op-meta-font-size, 13px) !important;
}

.view-head .list-group,
.view-head .list-group-item {
    font-size: var(--op-attach-font-size, 13.5px) !important;
    line-height: 1.6;
    padding: 7px 15px;
}

.comment-media .media-heading b {
    font-size: 13.5px;
    font-weight: 700;
}

/* ========================================================
 * Comment Action Buttons (Chip Style) & Submit Button
 * ======================================================== */
.comment-media .media-heading .pull-right.font-11,
.comment-media .media .pull-right.font-11 {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: var(--op-cmt-btn-font-size, 12px) !important;
}

.comment-media .media-heading .pull-right a,
.comment-media .media .pull-right.font-11 a {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    vertical-align: middle;
}

.comment-media .media-heading .pull-right a span,
.comment-media .media .pull-right.font-11 a span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: var(--op-cmt-btn-font-size, 12px) !important;
    line-height: 1.3 !important;
    padding: 2.5px 7px !important;
    border-radius: 4px !important;
    border: 1px solid var(--op-border, #e2e8f0) !important;
    background-color: var(--op-surface-muted, #f8fafc) !important;
    color: var(--op-text-muted, #64748b) !important;
    margin-left: 0 !important;
    font-weight: 500 !important;
    user-select: none !important;
    transition: all 0.15s ease !important;
}

.comment-media .media-heading .pull-right a:hover span,
.comment-media .media .pull-right.font-11 a:hover span {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #1e293b !important;
}

/* 답변 (Reply) 호버 */
.comment-media .media-heading .pull-right a[href*="w=c"]:not([href*="w=cu"]):hover span,
.comment-media .media-heading .pull-right a[onclick*="'c'"]:hover span,
.comment-media .media .pull-right.font-11 a[href*="w=c"]:not([href*="w=cu"]):hover span,
.comment-media .media .pull-right.font-11 a[onclick*="'c'"]:hover span {
    background-color: #f0fdf4 !important;
    border-color: #86efac !important;
    color: var(--op-primary, #3dbf62) !important;
}

/* 수정 (Edit) 호버 */
.comment-media .media-heading .pull-right a[href*="w=cu"]:hover span,
.comment-media .media-heading .pull-right a[onclick*="'cu'"]:hover span,
.comment-media .media .pull-right.font-11 a[href*="w=cu"]:hover span,
.comment-media .media .pull-right.font-11 a[onclick*="'cu'"]:hover span {
    background-color: #eff6ff !important;
    border-color: #93c5fd !important;
    color: #2563eb !important;
}

/* 삭제 (Delete) 호버 */
.comment-media .media-heading .pull-right a[onclick*="delete"]:hover span,
.comment-media .media-heading .pull-right a[onclick*="Del"]:hover span,
.comment-media .media-heading .pull-right a[href*="delete"]:hover span,
.comment-media .media-heading .pull-right a[href*="del"]:hover span,
.comment-media .media .pull-right.font-11 a[onclick*="delete"]:hover span,
.comment-media .media .pull-right.font-11 a[onclick*="Del"]:hover span,
.comment-media .media .pull-right.font-11 a[href*="delete"]:hover span,
.comment-media .media .pull-right.font-11 a[href*="del"]:hover span {
    background-color: #fef2f2 !important;
    border-color: #fca5a5 !important;
    color: #ef4444 !important;
}

/* 신고 (Report) 호버 */
.comment-media .media-heading .pull-right a[onclick*="shingo"]:hover span,
.comment-media .media .pull-right.font-11 a[onclick*="shingo"]:hover span {
    background-color: #fffbeb !important;
    border-color: #fde68a !important;
    color: #d97706 !important;
}

/* 다크모드 대응 */
html.theme-dark .comment-media .media-heading .pull-right a span,
html.theme-dark .comment-media .media .pull-right.font-11 a span,
body.theme-dark .comment-media .media-heading .pull-right a span,
body.theme-dark .comment-media .media .pull-right.font-11 a span {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

html.theme-dark .comment-media .media-heading .pull-right a:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a:hover span,
body.theme-dark .comment-media .media-heading .pull-right a:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a:hover span {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}

html.theme-dark .comment-media .media-heading .pull-right a[href*="w=c"]:not([href*="w=cu"]):hover span,
html.theme-dark .comment-media .media-heading .pull-right a[onclick*="'c'"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[href*="w=c"]:not([href*="w=cu"]):hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="'c'"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[href*="w=c"]:not([href*="w=cu"]):hover span,
body.theme-dark .comment-media .media-heading .pull-right a[onclick*="'c'"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[href*="w=c"]:not([href*="w=cu"]):hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="'c'"]:hover span {
    background-color: #064e3b !important;
    border-color: #059669 !important;
    color: #6ee7b7 !important;
}

html.theme-dark .comment-media .media-heading .pull-right a[href*="w=cu"]:hover span,
html.theme-dark .comment-media .media-heading .pull-right a[onclick*="'cu'"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[href*="w=cu"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="'cu'"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[href*="w=cu"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[onclick*="'cu'"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[href*="w=cu"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="'cu'"]:hover span {
    background-color: #1e3a8a !important;
    border-color: #2563eb !important;
    color: #93c5fd !important;
}

html.theme-dark .comment-media .media-heading .pull-right a[onclick*="delete"]:hover span,
html.theme-dark .comment-media .media-heading .pull-right a[onclick*="Del"]:hover span,
html.theme-dark .comment-media .media-heading .pull-right a[href*="delete"]:hover span,
html.theme-dark .comment-media .media-heading .pull-right a[href*="del"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="delete"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="Del"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[href*="delete"]:hover span,
html.theme-dark .comment-media .media .pull-right.font-11 a[href*="del"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[onclick*="delete"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[onclick*="Del"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[href*="delete"]:hover span,
body.theme-dark .comment-media .media-heading .pull-right a[href*="del"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="delete"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[onclick*="Del"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[href*="delete"]:hover span,
body.theme-dark .comment-media .media .pull-right.font-11 a[href*="del"]:hover span {
    background-color: #450a0a !important;
    border-color: #dc2626 !important;
    color: #fca5a5 !important;
}

/* 댓글 등록 버튼 개선 */
.comment-content .comment-cell.comment-submit,
#btn_submit2 {
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
}

/* 댓글 추천 / 비추천 버튼 모던 칩화 */
.comment-media .cmt-good-btn {
    text-align: right !important;
    margin-top: 8px !important;
    display: flex !important;
    justify-content: flex-end !important;
    gap: 6px !important;
}
.comment-media .cmt-good,
.comment-media .cmt-nogood {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    width: auto !important;
    min-width: 62px !important;
    height: 26px !important;
    line-height: 24px !important;
    padding: 0 9px !important;
    font: 600 11.5px var(--op-font-sans, sans-serif) !important;
    letter-spacing: -0.01em !important;
    border-radius: 4px !important;
    text-decoration: none !important;
    background-image: none !important;
    border: 1px solid transparent !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
}
.comment-media .cmt-good {
    background-color: #fef2f2 !important;
    border-color: #fecaca !important;
    color: #ef4444 !important;
}
.comment-media .cmt-good::before {
    content: "\f087\00a0추천";
    font-family: FontAwesome, var(--op-font-sans, sans-serif);
    font-size: 11px;
    font-weight: 500;
}
.comment-media .cmt-good:hover {
    background-color: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #dc2626 !important;
}
.comment-media .cmt-nogood {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
    color: #64748b !important;
}
.comment-media .cmt-nogood::before {
    content: "\f088\00a0비추천";
    font-family: FontAwesome, var(--op-font-sans, sans-serif);
    font-size: 11px;
    font-weight: 500;
}
.comment-media .cmt-nogood:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

/* Dark Mode Comment Good/Nogood */
html.theme-dark .comment-media .cmt-good,
body.theme-dark .comment-media .cmt-good,
body[data-theme="dark"] .comment-media .cmt-good {
    background-color: rgba(239, 68, 68, 0.14) !important;
    border-color: #7f1d1d !important;
    color: #fca5a5 !important;
}
html.theme-dark .comment-media .cmt-good:hover,
body.theme-dark .comment-media .cmt-good:hover,
body[data-theme="dark"] .comment-media .cmt-good:hover {
    background-color: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
}
html.theme-dark .comment-media .cmt-nogood,
body.theme-dark .comment-media .cmt-nogood,
body[data-theme="dark"] .comment-media .cmt-nogood {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}
html.theme-dark .comment-media .cmt-nogood:hover,
body.theme-dark .comment-media .cmt-nogood:hover,
body[data-theme="dark"] .comment-media .cmt-nogood:hover {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}

/* 모바일 댓글 액션 칩 터치 타겟 강화 */
@media all and (max-width: 768px) {
    body .comment-media .media-heading .pull-right.font-11,
    body .comment-media .media .pull-right.font-11,
    .comment-media .media-heading .pull-right.font-11,
    .comment-media .media .pull-right.font-11 {
        display: inline-flex !important;
        align-items: center !important;
        gap: 5px !important;
        margin-top: 2px !important;
    }
    body .comment-media .media-heading .pull-right a span,
    body .comment-media .media .pull-right.font-11 a span,
    .comment-media .media-heading .pull-right a span,
    .comment-media .media .pull-right.font-11 a span {
        padding: 4px 8px !important;
        min-height: 28px !important;
        line-height: 18px !important;
        font-size: 12px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 4px !important;
    }
}

/* ==========================================================================
   Board View Action Toolbar (.view-btn .btn-group)
   ========================================================================== */
.view-wrap .view-btn,
.view-btn {
    margin: 16px 0 20px !important;
}
.view-wrap .view-btn .btn-group,
.view-btn .btn-group {
    display: inline-flex !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
}
.view-wrap .view-btn .btn-group > .btn,
.view-btn .btn-group > .btn,
.view-wrap .view-btn .btn,
.view-btn .btn {
    float: none !important;
    margin: 0 !important;
    border-radius: 6px !important;
    font-weight: 500 !important;
    font-size: 13px !important;
    padding: 6px 14px !important;
    height: 36px !important;
    line-height: 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    background: #ffffff !important;
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    color: #334155 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    text-shadow: none !important;
    transition: all 0.15s ease !important;
}
.view-wrap .view-btn .btn i,
.view-btn .btn i {
    font-size: 13px !important;
    color: inherit !important;
    margin-right: 2px !important;
}
.view-wrap .view-btn .btn:hover,
.view-btn .btn:hover,
.view-wrap .view-btn .btn:focus,
.view-btn .btn:focus,
.view-wrap .view-btn .btn:active,
.view-btn .btn:active {
    background: #f1f5f9 !important;
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
    text-shadow: none !important;
}

/* 관리자 삭제/수정 등 경고 버튼 대응 (btn-darkred) */
.view-wrap .view-btn .btn.btn-darkred,
.view-btn .btn.btn-darkred {
    background: #fef2f2 !important;
    background-color: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #dc2626 !important;
}
.view-wrap .view-btn .btn.btn-darkred:hover,
.view-btn .btn.btn-darkred:hover {
    background: #fee2e2 !important;
    background-color: #fee2e2 !important;
    border-color: #f87171 !important;
    color: #b91c1c !important;
}

/* 글쓰기 버튼 강조 (.btn-color) */
.view-wrap .view-btn .btn.btn-color,
.view-btn .btn.btn-color {
    background: var(--op-primary, #3dbf62) !important;
    background-color: var(--op-primary, #3dbf62) !important;
    border-color: var(--op-primary-dark, #2f9a4f) !important;
    color: #ffffff !important;
}
.view-wrap .view-btn .btn.btn-color:hover,
.view-btn .btn.btn-color:hover {
    background: var(--op-primary-dark, #2f9a4f) !important;
    background-color: var(--op-primary-dark, #2f9a4f) !important;
    border-color: #24753c !important;
    color: #ffffff !important;
}

/* Dark Mode Toolbar */
html.theme-dark .view-wrap .view-btn .btn,
body.theme-dark .view-wrap .view-btn .btn,
html.theme-dark .view-btn .btn,
body.theme-dark .view-btn .btn,
body[data-theme="dark"] .view-wrap .view-btn .btn,
body[data-theme="dark"] .view-btn .btn {
    background: #18181d !important;
    background-color: #18181d !important;
    border-color: #272730 !important;
    color: #cbd5e1 !important;
    box-shadow: none !important;
    text-shadow: none !important;
}
html.theme-dark .view-wrap .view-btn .btn:hover,
body.theme-dark .view-wrap .view-btn .btn:hover,
html.theme-dark .view-btn .btn:hover,
body.theme-dark .view-btn .btn:hover,
body[data-theme="dark"] .view-wrap .view-btn .btn:hover,
body[data-theme="dark"] .view-btn .btn:hover {
    background: #252530 !important;
    background-color: #252530 !important;
    border-color: #3f3f4e !important;
    color: #f1f5f9 !important;
}

html.theme-dark .view-wrap .view-btn .btn.btn-darkred,
body.theme-dark .view-wrap .view-btn .btn.btn-darkred,
body[data-theme="dark"] .view-wrap .view-btn .btn.btn-darkred {
    background: rgba(239, 68, 68, 0.15) !important;
    background-color: rgba(239, 68, 68, 0.15) !important;
    border-color: #7f1d1d !important;
    color: #f87171 !important;
}
html.theme-dark .view-wrap .view-btn .btn.btn-darkred:hover,
body.theme-dark .view-wrap .view-btn .btn.btn-darkred:hover,
body[data-theme="dark"] .view-wrap .view-btn .btn.btn-darkred:hover {
    background: rgba(239, 68, 68, 0.25) !important;
    background-color: rgba(239, 68, 68, 0.25) !important;
    border-color: #ef4444 !important;
    color: #fca5a5 !important;
}

html.theme-dark .view-wrap .view-btn .btn.btn-color,
body.theme-dark .view-wrap .view-btn .btn.btn-color,
body[data-theme="dark"] .view-wrap .view-btn .btn.btn-color {
    background: var(--op-primary, #2563eb) !important;
    background-color: var(--op-primary, #2563eb) !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}

@media all and (max-width: 768px) {
    .view-wrap .view-btn,
    .view-btn {
        text-align: center !important;
        margin: 15px 0 20px !important;
    }
    .view-wrap .view-btn .btn-group,
    .view-btn .btn-group {
        display: inline-flex !important;
        justify-content: center !important;
        gap: 5px !important;
        flex-wrap: wrap !important;
    }
    .view-wrap .view-btn .btn,
    .view-btn .btn {
        padding: 6px 10px !important;
        font-size: 12.5px !important;
        height: 34px !important;
        min-width: 34px !important;
    }
}

/* ==========================================================================
   Board Write Form Action Buttons (CTA)
   ========================================================================== */
.write-wrap .write-btn,
.write-btn {
    margin: 28px 0 36px !important;
    text-align: center !important;
}
.write-wrap .write-btn .btn,
.write-btn .btn {
    height: 44px !important;
    line-height: 42px !important;
    font-size: 14px !important;
    padding: 0 24px !important;
    border-radius: 6px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    margin: 0 4px !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05) !important;
    text-shadow: none !important;
    transition: all 0.15s ease !important;
}
.write-wrap .write-btn .btn i,
.write-btn .btn i {
    font-size: 14px !important;
    margin-right: 2px !important;
}

/* 작성완료 Primary CTA Button */
.write-wrap .write-btn #btn_submit,
.write-btn #btn_submit {
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 0 32px !important;
    min-width: 120px !important;
    background-color: var(--op-primary, #3dbf62) !important;
    border-color: var(--op-primary-dark, #2f9a4f) !important;
    color: #ffffff !important;
    cursor: pointer !important;
}
.write-wrap .write-btn #btn_submit:hover,
.write-btn #btn_submit:hover {
    background-color: var(--op-primary-dark, #2f9a4f) !important;
    border-color: #24753c !important;
    color: #ffffff !important;
}

/* 취소 Button */
.write-wrap .write-btn a.btn,
.write-btn a.btn {
    background-color: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #475569 !important;
    min-width: 88px !important;
}
.write-wrap .write-btn a.btn:hover,
.write-btn a.btn:hover {
    background-color: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Dark Mode Write Buttons */
html.theme-dark .write-wrap .write-btn #btn_submit,
html.theme-dark .write-btn #btn_submit,
body.theme-dark .write-wrap .write-btn #btn_submit,
body.theme-dark .write-btn #btn_submit,
body[data-theme="dark"] .write-wrap .write-btn #btn_submit,
body[data-theme="dark"] .write-btn #btn_submit {
    background-color: var(--op-primary, #2563eb) !important;
    border-color: #1d4ed8 !important;
    color: #ffffff !important;
}
html.theme-dark .write-wrap .write-btn #btn_submit:hover,
html.theme-dark .write-btn #btn_submit:hover,
body.theme-dark .write-wrap .write-btn #btn_submit:hover,
body.theme-dark .write-btn #btn_submit:hover,
body[data-theme="dark"] .write-wrap .write-btn #btn_submit:hover,
body[data-theme="dark"] .write-btn #btn_submit:hover {
    background-color: #1d4ed8 !important;
    border-color: #1e40af !important;
    color: #ffffff !important;
}

html.theme-dark .write-wrap .write-btn a.btn,
html.theme-dark .write-btn a.btn,
body.theme-dark .write-wrap .write-btn a.btn,
body.theme-dark .write-btn a.btn,
body[data-theme="dark"] .write-wrap .write-btn a.btn,
body[data-theme="dark"] .write-btn a.btn {
    background-color: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
html.theme-dark .write-wrap .write-btn a.btn:hover,
html.theme-dark .write-btn a.btn:hover,
body.theme-dark .write-wrap .write-btn a.btn:hover,
body.theme-dark .write-btn a.btn:hover,
body[data-theme="dark"] .write-wrap .write-btn a.btn:hover,
body[data-theme="dark"] .write-btn a.btn:hover {
    background-color: #334155 !important;
    border-color: #475569 !important;
    color: #f1f5f9 !important;
}

@media all and (max-width: 768px) {
    .write-wrap .write-btn,
    .write-btn {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 10px !important;
    }
    .write-wrap .write-btn #btn_submit,
    .write-btn #btn_submit {
        flex: 1 1 auto !important;
        max-width: 200px !important;
        height: 44px !important;
        font-size: 14.5px !important;
    }
    .write-wrap .write-btn a.btn,
    .write-btn a.btn {
        flex: 0 1 auto !important;
        min-width: 80px !important;
        height: 44px !important;
        font-size: 13.5px !important;
    }
}

/* ==========================================================================
   Business Category Styling Utilities (업종별 시맨틱 스타일 컴포넌트)
   ========================================================================== */

/* 1. 좌측 사이드바 메뉴 헤더 (.item-sort-comp) */
.side-menu .sm_margin .item-sort-comp.op-biz-op,
.side-menu .sm_margin .item-sort-comp.op {
    background-color: var(--op-biz-op) !important;
    border-color: var(--op-biz-op-dark, #1d4ed8) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-gunma,
.side-menu .sm_margin .item-sort-comp.gunma {
    background-color: var(--op-biz-gunma) !important;
    border-color: var(--op-biz-gunma-dark, #be123c) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-rest,
.side-menu .sm_margin .item-sort-comp.rest {
    background-color: var(--op-biz-rest) !important;
    border-color: var(--op-biz-rest-dark, #115e59) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-bar,
.side-menu .sm_margin .item-sort-comp.bar {
    background-color: var(--op-biz-bar) !important;
    border-color: var(--op-biz-bar-dark, #6d28d9) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-anma,
.side-menu .sm_margin .item-sort-comp.anma {
    background-color: var(--op-biz-anma) !important;
    border-color: var(--op-biz-anma-dark, #0e7490) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-trip,
.side-menu .sm_margin .item-sort-comp.trip {
    background-color: var(--op-biz-trip) !important;
    border-color: var(--op-biz-trip-dark, #a21caf) !important;
}
.side-menu .sm_margin .item-sort-comp.op-biz-etc,
.side-menu .sm_margin .item-sort-comp.etc,
.side-menu .sm_margin .item-sort-comp.etc2 {
    background-color: var(--op-biz-etc) !important;
    border-color: var(--op-biz-etc-dark, #334155) !important;
}

/* 2. 업체 카드 대각선 리본 배지 (.card-item-addr) 및 모바일 서브메뉴 알약 배지 (.m-submenu-badge) */
.card-item-addr.op-biz-badge-op,
.m-submenu-badge.op-biz-badge-op {
    background-color: var(--op-biz-op) !important;
}
.card-item-addr.op-biz-badge-gunma,
.m-submenu-badge.op-biz-badge-gunma {
    background-color: var(--op-biz-gunma) !important;
}
.card-item-addr.op-biz-badge-rest,
.m-submenu-badge.op-biz-badge-rest {
    background-color: var(--op-biz-rest) !important;
}
.card-item-addr.op-biz-badge-bar,
.m-submenu-badge.op-biz-badge-bar {
    background-color: var(--op-biz-bar) !important;
}
.card-item-addr.op-biz-badge-anma,
.m-submenu-badge.op-biz-badge-anma {
    background-color: var(--op-biz-anma) !important;
}
.card-item-addr.op-biz-badge-trip,
.m-submenu-badge.op-biz-badge-trip {
    background-color: var(--op-biz-trip) !important;
}
.card-item-addr.op-biz-badge-kiss,
.m-submenu-badge.op-biz-badge-kiss {
    background-color: var(--op-biz-kiss) !important;
}
.card-item-addr.op-biz-badge-lip,
.m-submenu-badge.op-biz-badge-lip {
    background-color: var(--op-biz-lip) !important;
}
.card-item-addr.op-biz-badge-hand,
.m-submenu-badge.op-biz-badge-hand {
    background-color: var(--op-biz-hand) !important;
}
.card-item-addr.op-biz-badge-fetish,
.m-submenu-badge.op-biz-badge-fetish {
    background-color: var(--op-biz-fetish) !important;
}
.card-item-addr.op-biz-badge-etc,
.card-item-addr.op-biz-badge-default,
.m-submenu-badge.op-biz-badge-etc,
.m-submenu-badge.op-biz-badge-default {
    background-color: var(--op-biz-etc) !important;
}

/* 3. 상단 메가메뉴 드롭다운 섹션 인디케이터 점 (op-mega-dot) */
.op-mega-dot.op-biz-dot-op     { background-color: var(--op-biz-op) !important; }
.op-mega-dot.op-biz-dot-gunma  { background-color: var(--op-biz-gunma) !important; }
.op-mega-dot.op-biz-dot-rest   { background-color: var(--op-biz-rest) !important; }
.op-mega-dot.op-biz-dot-bar    { background-color: var(--op-biz-bar) !important; }
.op-mega-dot.op-biz-dot-anma   { background-color: var(--op-biz-anma) !important; }
.op-mega-dot.op-biz-dot-trip   { background-color: var(--op-biz-trip) !important; }
.op-mega-dot.op-biz-dot-etc,
.op-mega-dot.op-biz-dot-default{ background-color: var(--op-biz-etc) !important; }

/* 4. 텍스트 및 소프트 배지 범용 유틸리티 */
.op-biz-tag {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.3;
}
.op-biz-tag-op     { background: var(--op-biz-op-light); color: var(--op-biz-op-dark); border: 1px solid var(--op-biz-op-border); }
.op-biz-tag-gunma  { background: var(--op-biz-gunma-light); color: var(--op-biz-gunma-dark); border: 1px solid var(--op-biz-gunma-border); }
.op-biz-tag-rest   { background: var(--op-biz-rest-light); color: var(--op-biz-rest-dark); border: 1px solid var(--op-biz-rest-border); }
.op-biz-tag-bar    { background: var(--op-biz-bar-light); color: var(--op-biz-bar-dark); border: 1px solid var(--op-biz-bar-border); }
.op-biz-tag-anma   { background: var(--op-biz-anma-light); color: var(--op-biz-anma-dark); border: 1px solid var(--op-biz-anma-border); }
.op-biz-tag-trip   { background: var(--op-biz-trip-light); color: var(--op-biz-trip-dark); border: 1px solid var(--op-biz-trip-border); }
.op-biz-tag-etc    { background: var(--op-biz-etc-light); color: var(--op-biz-etc-dark); border: 1px solid var(--op-border); }

/* ==========================================================================
   Board Action Buttons & Metadata Alignment
   ========================================================================== */

/* 1. 게시판 하단 글쓰기 버튼 일원화 (상단과 100% 동일한 시그니처 그린 매핑) */
.board-list .list-btn a[href*="write.php"],
.board-list a[href*="write.php"].btn,
.board-view .view-btn a[href*="write.php"],
.op-btn-write-primary {
    background-color: var(--op-primary, #3dbf62) !important;
    border-color: var(--op-primary-dark, #2f9a4f) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: background-color 0.15s ease !important;
}
.board-list .list-btn a[href*="write.php"]:hover,
.board-list a[href*="write.php"].btn:hover,
.board-view .view-btn a[href*="write.php"]:hover,
.op-btn-write-primary:hover {
    background-color: var(--op-primary-dark, #2f9a4f) !important;
    border-color: #268041 !important;
    color: #ffffff !important;
}

/* 2. 관리자 설정 버튼 톤다운 (튀는 빨간색 -> 차분한 뉴트럴 그레이) */
.list-admin .btn.win_memo,
.list-admin a[href*="setup.php"],
.list-admin a.win_memo,
.op-btn-admin-setup {
    background-color: var(--op-surface-muted, #f1f5f9) !important;
    border-color: var(--op-border, #cbd5e1) !important;
    color: var(--op-text-muted, #475569) !important;
    font-weight: 500 !important;
}
.list-admin .btn.win_memo:hover,
.list-admin a[href*="setup.php"]:hover,
.list-admin a.win_memo:hover,
.op-btn-admin-setup:hover {
    background-color: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #1e293b !important;
}
html.theme-dark .list-admin .btn.win_memo,
html.theme-dark .list-admin a[href*="setup.php"],
html.theme-dark .list-admin a.win_memo,
html.theme-dark .op-btn-admin-setup {
    background-color: #272730 !important;
    border-color: #3f3f4e !important;
    color: #cbd5e1 !important;
}

/* 3. 리스트 우측 수정일(시간) 텍스트 톤다운 (댓글 수 부각을 위해 주황/빨강 피로도 제거) */
.list-body .wr-date .orangered,
.list-body .wr-date.orangered,
.list-date.orangered,
.list-date .orangered,
.review-date .orangered,
.board-list .wr-date span.orangered,
.board-list .wr-info span.orangered,
.board-list .list-body .wr-date span,
.board-list .list-body .wr-date {
    color: var(--op-text-muted, #64748b) !important;
    font-weight: 500 !important;
}
/* 단, 제목 옆 댓글 수([ 6 ])는 눈에 잘 띄도록 보존 */
.list-title-wrap .count.orangered,
.wr-subject .count.orangered,
.wr-comment.orangered {
    color: #ef4444 !important;
    font-weight: 700 !important;
}

/* 4. Semantic Accessibility & SEO sr-only utility */
.op-sr-only,
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ==========================================================================
   5. Regional Business 2nd Tier Filter Strip (지역 내 2단 업종 필터 칩)
   ========================================================================== */
.list-category .regional-biz-wrap {
    margin-top: 6px !important;
    padding-top: 0 !important;
    border-top: none !important;
}
.list-category .regional-biz-chips {
    gap: 5px !important;
}
.list-category .regional-biz-chips > li > a,
.list-category .regional-biz-chips > li > button {
    height: 32px !important;
    line-height: 30px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    border-radius: 16px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
    gap: 6px;
    box-shadow: none !important;
}
.list-category .regional-biz-chips > li > a:hover,
.list-category .regional-biz-chips > li > button:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #cbd5e1 !important;
}
.list-category .regional-biz-chips > li.active > a,
.list-category .regional-biz-chips > li.active > button {
    background: var(--op-primary, #3dbf62) !important;
    border-color: var(--op-primary, #3dbf62) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(61, 191, 98, 0.25) !important;
}
.list-category .regional-biz-chips .biz-chip-dot {
    display: none !important;
}

/* Dark Mode Pairings */
html.theme-dark .list-category .regional-biz-wrap {
    border-top-color: #334155 !important;
}
html.theme-dark .list-category .regional-biz-chips > li > a,
html.theme-dark .list-category .regional-biz-chips > li > button {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}
html.theme-dark .list-category .regional-biz-chips > li > a:hover,
html.theme-dark .list-category .regional-biz-chips > li > button:hover {
    background: #273548 !important;
    color: #f1f5f9 !important;
}
html.theme-dark .list-category .regional-biz-chips > li.active > a,
html.theme-dark .list-category .regional-biz-chips > li.active > button {
    background: var(--chip-color, var(--op-primary, #3dbf62)) !important;
    border-color: var(--chip-color, var(--op-primary, #3dbf62)) !important;
    color: #ffffff !important;
}

/* ==========================================================================
   6. Regional Navigation Header & Quick Region Switcher Modal
   ========================================================================== */
.regional-nav-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 10px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}
.regional-hero-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.regional-nav-header .reg-nav-left {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
}
.regional-nav-header .reg-nav-pin {
    font-size: 16px;
    color: var(--op-primary, #3dbf62);
    line-height: 1.35;
    flex-shrink: 0;
}
.reg-hero-heading-wrap {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.reg-hero-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.regional-nav-header .reg-nav-name {
    margin: 0;
    padding: 0;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: -0.01em;
    word-spacing: 0.08em;
    line-height: 1.3;
}
.regional-nav-header .reg-nav-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 2px 7px;
    background: rgba(61, 191, 98, 0.12);
    color: var(--op-primary, #3dbf62);
    border-radius: 10px;
    border: 1px solid rgba(61, 191, 98, 0.25);
    white-space: nowrap;
}
.reg-hero-stats-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
    color: #475569;
}
.reg-stat-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.reg-stat-text {
    display: inline;
}
.reg-stat-pill strong {
    color: #1e293b;
    font-weight: 700;
}
.reg-stat-pill.stat-post strong {
    color: var(--op-primary, #3dbf62);
}
.reg-stat-pill.stat-coupon strong,
.reg-stat-pill.stat-review strong {
    color: #1e293b;
}
.reg-stat-sep {
    color: #cbd5e1;
    font-size: 11px;
}
.reg-stat-total {
    font-size: 11px;
    color: #64748b;
    margin-left: 2px;
}
.reg-hero-desc {
    display: none !important;
}
.regional-nav-header .reg-nav-right {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}
.reg-hero-search-form {
    margin: 0;
    padding: 0;
    display: inline-flex;
}
.reg-hero-search-wrap {
    display: inline-flex;
    align-items: center;
    position: relative;
}
.reg-hero-search-input {
    height: 36px;
    line-height: 34px;
    width: 130px;
    padding: 0 30px 0 10px;
    font-size: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #1e293b;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.reg-hero-search-input:focus {
    width: 160px;
    border-color: var(--op-primary, #3dbf62);
    box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.15);
}
.reg-hero-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}
.reg-hero-search-btn:hover {
    color: var(--op-primary, #3dbf62);
}
.regional-nav-header .board-header-fav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #94a3b8;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.15s ease;
    box-sizing: border-box;
}
.regional-nav-header .board-header-fav:hover {
    color: #f59e0b;
    border-color: #fbbf24;
    background: #fffbeb;
}
.regional-nav-header .board-header-fav.is-fav {
    color: #f59e0b;
    background: #fffbeb;
    border-color: #f59e0b;
}
.btn-quick-region-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    line-height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
    font-weight: 600;
    background: var(--op-primary, #3dbf62);
    color: #ffffff !important;
    border: 1px solid var(--op-primary-dark, #2f9a4f);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s ease;
    box-shadow: 0 1px 3px rgba(61, 191, 98, 0.25);
    box-sizing: border-box;
    white-space: nowrap;
}
.btn-quick-region-toggle:hover {
    background: var(--op-primary-dark, #2f9a4f);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(61, 191, 98, 0.35);
}

/* Quick Region Modal / Bottom-Sheet */
body.quick-reg-open {
    overflow: hidden !important;
}
.quick-region-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.quick-region-modal-backdrop.is-open {
    opacity: 1;
}
.quick-region-modal {
    position: relative;
    width: 100%;
    max-width: 660px;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.28);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: scale(0.95);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.quick-region-modal-backdrop.is-open .quick-region-modal {
    transform: scale(1);
}
.quick-reg-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}
.quick-reg-modal-title-wrap {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.quick-reg-modal-title-wrap i {
    font-size: 16px;
    color: var(--op-primary, #3dbf62);
}
.quick-reg-modal-title {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.quick-reg-current-badge {
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}
.btn-quick-reg-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}
.btn-quick-reg-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.quick-reg-search-wrap {
    position: relative;
    padding: 10px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}
.quick-reg-search-icon {
    position: absolute;
    left: 32px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
}
.quick-reg-search-input {
    width: 100%;
    height: 38px;
    padding: 0 36px 0 36px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
    background: #ffffff;
    color: #1e293b;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.quick-reg-search-input:focus {
    border-color: var(--op-primary, #3dbf62);
    box-shadow: 0 0 0 3px rgba(61, 191, 98, 0.15);
    outline: none;
}
.quick-reg-search-clear {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 14px;
    cursor: pointer;
    padding: 4px;
}
.quick-reg-search-clear:hover {
    color: #475569;
}
.quick-reg-group-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 18px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.quick-reg-group-tabs::-webkit-scrollbar {
    display: none;
}
.quick-reg-group-btn {
    height: 28px;
    padding: 0 11px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s ease;
    flex-shrink: 0;
}
.quick-reg-group-btn:hover {
    background: #f1f5f9;
    color: #1e293b;
    border-color: #cbd5e1;
}
.quick-reg-group-btn.active {
    background: #0f172a !important;
    border-color: #0f172a !important;
    color: #ffffff !important;
}
.quick-reg-body {
    padding: 14px 18px;
    overflow-y: auto;
    flex: 1 1 auto;
    max-height: calc(85vh - 200px);
}
.quick-reg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(135px, 1fr));
    gap: 8px;
}
.quick-reg-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 11px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none !important;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    gap: 4px;
}
.quick-reg-chip:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}
.quick-reg-chip.active {
    background: rgba(61, 191, 98, 0.1) !important;
    border-color: var(--op-primary, #3dbf62) !important;
    color: var(--op-primary, #3dbf62) !important;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(61, 191, 98, 0.18);
}
.quick-reg-chip .reg-chip-left {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.quick-reg-chip .reg-chip-star {
    color: #f59e0b;
    font-size: 12px;
}
.quick-reg-chip .reg-chip-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.quick-reg-chip .reg-chip-right {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}
.quick-reg-chip .reg-chip-count {
    font-size: 11.5px;
    color: #94a3b8;
    font-weight: 400;
}
.quick-reg-chip.active .reg-chip-count {
    color: var(--op-primary, #3dbf62);
    font-weight: 600;
}
.quick-reg-chip .reg-chip-check {
    font-size: 11px;
    color: var(--op-primary, #3dbf62);
}
.quick-reg-empty {
    text-align: center;
    padding: 36px 16px;
    color: #64748b;
}
.quick-reg-empty i {
    font-size: 28px;
    color: #cbd5e1;
    margin-bottom: 8px;
}
.quick-reg-empty p {
    font-size: 13.5px;
    margin-bottom: 12px;
}
.btn-quick-reg-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 0 14px;
    background: var(--op-primary, #3dbf62);
    color: #ffffff;
    border: none;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}
.quick-reg-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 18px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 12px;
    color: #64748b;
}
.quick-reg-footer-hub-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--op-primary, #3dbf62) !important;
    font-weight: 600;
    text-decoration: none !important;
}
.quick-reg-footer-hub-link:hover {
    text-decoration: underline !important;
}

/* Mobile Bottom Sheet Adaptation */
@media (max-width: 768px) {
    .quick-region-modal-backdrop {
        align-items: flex-end !important;
        padding: 0 !important;
    }
    .quick-region-modal {
        max-width: 100% !important;
        max-height: 82vh !important;
        border-radius: 18px 18px 0 0 !important;
        transform: translateY(100%) !important;
    }
    .quick-region-modal-backdrop.is-open .quick-region-modal {
        transform: translateY(0) !important;
    }
    .quick-reg-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }
    .quick-reg-chip {
        padding: 9px 12px !important;
        min-height: 40px !important;
    }
    .regional-nav-header {
        padding: 8px 10px !important;
        gap: 6px !important;
    }
    .regional-hero-main {
        gap: 8px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .regional-nav-header .reg-nav-left {
        width: 100% !important;
    }
    .regional-nav-header .reg-nav-right {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }
    .reg-hero-search-form {
        flex: 1 1 auto !important;
    }
    .reg-hero-search-wrap {
        width: 100% !important;
    }
    .reg-hero-search-input {
        width: 100% !important;
    }
    .reg-hero-search-input:focus {
        width: 100% !important;
    }
    .btn-quick-region-toggle {
        flex-shrink: 0 !important;
        padding: 0 10px !important;
        font-size: 12px !important;
    }
    .regional-nav-header .board-header-fav {
        flex-shrink: 0 !important;
    }
    .regional-nav-header .reg-nav-name {
        font-size: 13.5px !important;
    }
    .reg-hero-stats-row {
        font-size: 11px !important;
        gap: 4px !important;
    }
    .reg-hero-desc {
        font-size: 11px !important;
        padding-top: 5px !important;
        line-height: 1.4 !important;
    }
}

/* Dark Mode Pairings for Quick Region */
html.theme-dark .regional-nav-header {
    background: #18181d !important;
    border-color: #272730 !important;
    box-shadow: none !important;
}
html.theme-dark .reg-hero-search-input {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}
html.theme-dark .reg-hero-search-btn {
    color: #94a3b8 !important;
}
html.theme-dark .reg-hero-search-input:focus {
    border-color: var(--op-primary, #3dbf62) !important;
    box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.25) !important;
}
html.theme-dark .regional-nav-header .board-header-fav {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #64748b !important;
}
html.theme-dark .regional-nav-header .board-header-fav.is-fav {
    background: #2a2415 !important;
    border-color: #856404 !important;
    color: #facc15 !important;
}
html.theme-dark .reg-nav-name {
    color: #f1f5f9 !important;
}
html.theme-dark .reg-hero-stats-row {
    color: #94a3b8 !important;
}
html.theme-dark .reg-stat-pill strong {
    color: #f8fafc !important;
}
html.theme-dark .reg-stat-pill.stat-post strong {
    color: var(--op-primary, #3dbf62) !important;
}
html.theme-dark .reg-stat-pill.stat-coupon strong,
html.theme-dark .reg-stat-pill.stat-review strong {
    color: #f8fafc !important;
}
html.theme-dark .reg-stat-sep {
    color: #334155 !important;
}
html.theme-dark .reg-stat-total {
    color: #64748b !important;
}
html.theme-dark .reg-hero-desc {
    border-top-color: #272730 !important;
    color: #94a3b8 !important;
}
html.theme-dark .quick-region-modal {
    background: #1e1e24 !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.6) !important;
}
html.theme-dark .quick-reg-modal-header,
html.theme-dark .quick-reg-modal-footer {
    border-color: #272730 !important;
    background: #18181d !important;
}
html.theme-dark .quick-reg-modal-title {
    color: #f1f5f9 !important;
}
html.theme-dark .quick-reg-current-badge {
    background: #272732 !important;
    border-color: #3f3f4e !important;
    color: #cbd5e1 !important;
}
html.theme-dark .btn-quick-reg-close {
    color: #94a3b8 !important;
}
html.theme-dark .btn-quick-reg-close:hover {
    background: #272732 !important;
    color: #f1f5f9 !important;
}
html.theme-dark .quick-reg-search-wrap {
    background: #18181d !important;
    border-color: #272730 !important;
}
html.theme-dark .quick-reg-search-input {
    background: #272730 !important;
    border-color: #3f3f4e !important;
    color: #f1f5f9 !important;
}
html.theme-dark .quick-reg-group-tabs {
    background: #1e1e24 !important;
    border-color: #272730 !important;
}
html.theme-dark .quick-reg-group-btn {
    background: #272730 !important;
    border-color: #3f3f4e !important;
    color: #94a3b8 !important;
}
html.theme-dark .quick-reg-group-btn:hover {
    background: #333340 !important;
    color: #f1f5f9 !important;
}
html.theme-dark .quick-reg-group-btn.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}
html.theme-dark .quick-reg-chip {
    background: #272730 !important;
    border-color: #333340 !important;
    color: #e2e8f0 !important;
}
html.theme-dark .quick-reg-chip:hover {
    background: #333340 !important;
    border-color: #4b4b5c !important;
    color: #ffffff !important;
}
html.theme-dark .quick-reg-chip.active {
    background: rgba(61, 191, 98, 0.18) !important;
    border-color: var(--op-primary, #3dbf62) !important;
    color: #4ade80 !important;
}
html.theme-dark .quick-reg-chip .reg-chip-count {
    color: #64748b !important;
}
html.theme-dark .quick-reg-chip.active .reg-chip-count {
    color: #4ade80 !important;
}

/* ==========================================================================
   Global Unified Comment Reply Button Tokens & States (.comment-btn-reply)
   ========================================================================== */
.comment-media .comment-btn-reply,
.comment-box .comment-btn-reply,
#bo_vc .comment-btn-reply,
.view-comment-box .comment-btn-reply {
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    height: 24px !important;
    padding: 0 10px !important;
    border-radius: 12px !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    cursor: pointer !important;
    white-space: nowrap !important;
}
.comment-media .comment-btn-reply:hover,
.comment-media .comment-btn-reply:active,
.comment-box .comment-btn-reply:hover,
.comment-box .comment-btn-reply:active,
#bo_vc .comment-btn-reply:hover,
#bo_vc .comment-btn-reply:active,
.view-comment-box .comment-btn-reply:hover,
.view-comment-box .comment-btn-reply:active {
    background: #e2e8f0 !important;
    color: #0f172a !important;
}
.comment-media .comment-btn-reply.active,
.comment-box .comment-btn-reply.active,
#bo_vc .comment-btn-reply.active,
.view-comment-box .comment-btn-reply.active {
    background: var(--op-primary, #3dbf62) !important;
    color: #ffffff !important;
    border-color: var(--op-primary, #3dbf62) !important;
}
.comment-media .comment-btn-reply.active:hover,
.comment-box .comment-btn-reply.active:hover,
#bo_vc .comment-btn-reply.active:hover,
.view-comment-box .comment-btn-reply.active:hover {
    background: var(--op-primary-dark, #2f9a4f) !important;
    color: #ffffff !important;
}

/* Dark mode tokens */
html.theme-dark .comment-media .comment-btn-reply,
body.theme-dark .comment-media .comment-btn-reply,
html.theme-dark .comment-box .comment-btn-reply,
body.theme-dark .comment-box .comment-btn-reply,
html.theme-dark #bo_vc .comment-btn-reply,
body.theme-dark #bo_vc .comment-btn-reply,
html.theme-dark .view-comment-box .comment-btn-reply,
body.theme-dark .view-comment-box .comment-btn-reply {
    background: #272730 !important;
    border-color: #3f3f4e !important;
    color: #cbd5e1 !important;
}
html.theme-dark .comment-media .comment-btn-reply:hover,
body.theme-dark .comment-media .comment-btn-reply:hover,
html.theme-dark .comment-box .comment-btn-reply:hover,
body.theme-dark .comment-box .comment-btn-reply:hover,
html.theme-dark #bo_vc .comment-btn-reply:hover,
body.theme-dark #bo_vc .comment-btn-reply:hover,
html.theme-dark .view-comment-box .comment-btn-reply:hover,
body.theme-dark .view-comment-box .comment-btn-reply:hover {
    background: #333340 !important;
    border-color: #4b4b5c !important;
    color: #ffffff !important;
}
html.theme-dark .comment-media .comment-btn-reply.active,
body.theme-dark .comment-media .comment-btn-reply.active,
html.theme-dark .comment-box .comment-btn-reply.active,
body.theme-dark .comment-box .comment-btn-reply.active,
html.theme-dark #bo_vc .comment-btn-reply.active,
body.theme-dark #bo_vc .comment-btn-reply.active,
html.theme-dark .view-comment-box .comment-btn-reply.active,
body.theme-dark .view-comment-box .comment-btn-reply.active {
    background: var(--op-primary, #3dbf62) !important;
    border-color: var(--op-primary, #3dbf62) !important;
    color: #ffffff !important;
}

/* Original Comment Reply Button Toggle State when Reply Mode is Active (Calm Neutral Gray) */
.comment-media .comment-btn-reply.active.reply-closing,
#bo_vc .comment-btn-reply.active.reply-closing,
.view-comment-box .comment-btn-reply.active.reply-closing {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
    color: #475569 !important;
}

.comment-media .comment-btn-reply.active.reply-closing:hover,
#bo_vc .comment-btn-reply.active.reply-closing:hover,
.view-comment-box .comment-btn-reply.active.reply-closing:hover {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

html.theme-dark .comment-media .comment-btn-reply.active.reply-closing,
body.theme-dark .comment-media .comment-btn-reply.active.reply-closing,
html.theme-dark #bo_vc .comment-btn-reply.active.reply-closing,
body.theme-dark #bo_vc .comment-btn-reply.active.reply-closing {
    background: #272730 !important;
    border-color: #3f3f4e !important;
    color: #cbd5e1 !important;
}

html.theme-dark .comment-media .comment-btn-reply.active.reply-closing:hover,
body.theme-dark .comment-media .comment-btn-reply.active.reply-closing:hover {
    background: #333340 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   Global Reply Mode Input Box Visual Enhancer & Target Bar (Slim & Clean)
   ========================================================================== */
.comment-media [id^="reply_"],
#bo_vc [id^="reply_"],
.view-comment-box [id^="reply_"] {
    display: block !important;
    margin: 8px 0 12px 0 !important;
    padding-left: 12px !important;
    border-left: 2px solid var(--op-primary, #3dbf62) !important;
    animation: opFadeIn 0.15s ease-in-out !important;
}

@keyframes opFadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove all nested duplicate borders and background tints */
.comment-media [id^="reply_"] .comment-box,
.comment-media [id^="reply_"] .comment-form,
#bo_vc [id^="reply_"] .comment-box,
#bo_vc [id^="reply_"] .comment-form,
.view-comment-box [id^="reply_"] .comment-box,
.view-comment-box [id^="reply_"] .comment-form {
    border: none !important;
    border-left: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Textarea Normal Border (Clean Neutral Slate, Not Shouting Green) */
.comment-media [id^="reply_"] textarea[name="wr_content"],
#bo_vc [id^="reply_"] textarea[name="wr_content"],
.view-comment-box [id^="reply_"] textarea[name="wr_content"] {
    border: 1px solid #cbd5e1 !important;
    border-radius: 6px !important;
    transition: border-color 0.15s ease, box-shadow 0.15s ease !important;
    box-shadow: none !important;
}

.comment-media [id^="reply_"] textarea[name="wr_content"]:focus,
#bo_vc [id^="reply_"] textarea[name="wr_content"]:focus,
.view-comment-box [id^="reply_"] textarea[name="wr_content"]:focus {
    border-color: var(--op-primary, #3dbf62) !important;
    box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.18) !important;
    outline: none !important;
}

/* Slim 1-line Target Indicator */
.comment-reply-target-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    padding: 3px 2px 6px 2px !important;
    margin-bottom: 2px !important;
    background: transparent !important;
    border: none !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

.comment-reply-target-bar .reply-target-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    color: #64748b !important;
    font-weight: 500 !important;
}

.comment-reply-target-bar .reply-target-badge i.fa-reply {
    color: var(--op-primary, #3dbf62) !important;
}

.comment-reply-target-bar .reply-target-badge strong {
    font-weight: 700 !important;
    color: #0f172a !important;
}

/* 1-Line Action Bar: [☐ 비밀글] (left) / [취소] [↩ 답글등록] (right) */
.comment-reply-bottom-bar {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-top: 8px !important;
    padding: 0 2px !important;
    gap: 8px !important;
    width: 100% !important;
}

.comment-reply-bottom-bar .reply-bottom-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.comment-reply-bottom-bar .reply-bottom-left label {
    margin: 0 !important;
    font-size: 12px !important;
    color: #64748b !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    user-select: none !important;
}

.comment-reply-bottom-bar .reply-bottom-left label input[type="checkbox"] {
    margin: 0 !important;
    cursor: pointer !important;
    accent-color: var(--op-primary, #3dbf62) !important;
}

.comment-reply-bottom-bar .reply-bottom-right {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

/* Cancel Button in Bottom Bar */
.comment-reply-bottom-bar .reply-cancel-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 32px !important;
    padding: 0 12px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    text-decoration: none !important;
    line-height: 1 !important;
}

.comment-reply-bottom-bar .reply-cancel-btn:hover {
    background: #f1f5f9 !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}

/* Submit Button in Reply Mode */
[id^="reply_"] #btn_submit,
.comment-reply-bottom-bar #btn_submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 32px !important;
    width: auto !important;
    min-width: 88px !important;
    padding: 0 14px !important;
    border-radius: 16px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    background: var(--op-primary, #3dbf62) !important;
    color: #ffffff !important;
    border: 1px solid var(--op-primary, #3dbf62) !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin: 0 !important;
    line-height: 1 !important;
}

[id^="reply_"] #btn_submit:hover,
.comment-reply-bottom-bar #btn_submit:hover {
    background: var(--op-primary-dark, #2f9a4f) !important;
    border-color: var(--op-primary-dark, #2f9a4f) !important;
    color: #ffffff !important;
}

/* Dark Mode Tokens */
html.theme-dark .comment-media [id^="reply_"],
body.theme-dark .comment-media [id^="reply_"],
html.theme-dark #bo_vc [id^="reply_"],
body.theme-dark #bo_vc [id^="reply_"],
html.theme-dark .view-comment-box [id^="reply_"],
body.theme-dark .view-comment-box [id^="reply_"] {
    border-left-color: var(--op-primary, #3dbf62) !important;
}

html.theme-dark .comment-media [id^="reply_"] textarea[name="wr_content"],
body.theme-dark .comment-media [id^="reply_"] textarea[name="wr_content"],
html.theme-dark #bo_vc [id^="reply_"] textarea[name="wr_content"],
body.theme-dark #bo_vc [id^="reply_"] textarea[name="wr_content"],
html.theme-dark .view-comment-box [id^="reply_"] textarea[name="wr_content"],
body.theme-dark .view-comment-box [id^="reply_"] textarea[name="wr_content"] {
    border-color: #334155 !important;
    background: #1e293b !important;
    color: #f1f5f9 !important;
}

html.theme-dark .comment-media [id^="reply_"] textarea[name="wr_content"]:focus,
body.theme-dark .comment-media [id^="reply_"] textarea[name="wr_content"]:focus,
html.theme-dark #bo_vc [id^="reply_"] textarea[name="wr_content"]:focus,
body.theme-dark #bo_vc [id^="reply_"] textarea[name="wr_content"]:focus {
    border-color: var(--op-primary, #3dbf62) !important;
    box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.25) !important;
}

html.theme-dark .comment-reply-target-bar .reply-target-badge,
body.theme-dark .comment-reply-target-bar .reply-target-badge {
    color: #94a3b8 !important;
}

html.theme-dark .comment-reply-target-bar .reply-target-badge strong,
body.theme-dark .comment-reply-target-bar .reply-target-badge strong {
    color: #f1f5f9 !important;
}

html.theme-dark .comment-reply-bottom-bar .reply-bottom-left label,
body.theme-dark .comment-reply-bottom-bar .reply-bottom-left label {
    color: #94a3b8 !important;
}

html.theme-dark .comment-reply-bottom-bar .reply-cancel-btn,
body.theme-dark .comment-reply-bottom-bar .reply-cancel-btn {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #94a3b8 !important;
}

html.theme-dark .comment-reply-bottom-bar .reply-cancel-btn:hover,
body.theme-dark .comment-reply-bottom-bar .reply-cancel-btn:hover {
    background: #334155 !important;
    color: #f1f5f9 !important;
    border-color: #475569 !important;
}

/* ==========================================================================
   Global Modern Board Comment Form & Safe Zone Alignment
   ========================================================================== */
#viewcomment {
    overflow: visible !important;
}

@media (max-width: 768px) {
    #viewcomment {
        padding-left: 16px !important;
        padding-right: 16px !important;
        box-sizing: border-box !important;
    }

    .comment-box {
        padding: 14px 14px 10px 14px !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04) !important;
        margin-bottom: 20px !important;
        box-sizing: border-box !important;
    }

    .comment-content {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
        width: 100% !important;
    }

    .comment-content .comment-cell {
        display: block !important;
        width: 100% !important;
    }

    .comment-content textarea#wr_content {
        width: 100% !important;
        border: 1px solid #e2e8f0 !important;
        padding: 10px 12px !important;
        min-height: 80px !important;
        border-radius: 8px !important;
        font-size: 14px !important;
        line-height: 1.6 !important;
        background: #f8fafc !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
        resize: none !important;
        box-sizing: border-box !important;
    }

    .comment-content textarea#wr_content:focus {
        background: #ffffff !important;
        border-color: var(--op-primary, #3dbf62) !important;
        box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.15) !important;
        outline: none !important;
    }

    .comment-content .comment-cell.comment-submit {
        width: 100% !important;
        height: 42px !important;
        border-radius: 21px !important;
        background: var(--op-primary, #3dbf62) !important;
        color: #ffffff !important;
        border: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 14.5px !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        cursor: pointer !important;
        box-shadow: 0 2px 4px rgba(61, 191, 98, 0.2) !important;
        transition: all 0.15s ease !important;
        box-sizing: border-box !important;
    }

    .comment-content .comment-cell.comment-submit:active {
        transform: scale(0.99) !important;
        background: #33a353 !important;
    }

    .comment-btn {
        margin: 6px 0 0 !important;
        padding: 6px 0 0 !important;
        border-top: 1px solid #f1f5f9 !important;
    }

    .comment-btn .form-group.pull-right {
        float: none !important;
        display: flex !important;
        align-items: center !important;
        margin-bottom: 0 !important;
    }

    .comment-btn label.checkbox-inline {
        font-size: 13px !important;
        color: #64748b !important;
        font-weight: 500 !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }
}

/* Global Dark Mode Comment Form Tokens */
html.theme-dark .comment-box,
body.theme-dark .comment-box {
    background: #141b26 !important;
    border-color: #334155 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2) !important;
}

html.theme-dark .comment-content textarea#wr_content,
body.theme-dark .comment-content textarea#wr_content {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #f1f5f9 !important;
}

html.theme-dark .comment-content textarea#wr_content:focus,
body.theme-dark .comment-content textarea#wr_content:focus {
    border-color: var(--op-primary, #3dbf62) !important;
    box-shadow: 0 0 0 2px rgba(61, 191, 98, 0.25) !important;
}

html.theme-dark .comment-btn,
body.theme-dark .comment-btn {
    border-color: #334155 !important;
}

html.theme-dark .comment-btn label.checkbox-inline,
body.theme-dark .comment-btn label.checkbox-inline {
    color: #94a3b8 !important;
}

html.theme-dark .comment-content .comment-cell.comment-submit,
body.theme-dark .comment-content .comment-cell.comment-submit {
    background: var(--op-primary, #3dbf62) !important;
    color: #ffffff !important;
}

html.theme-dark .view-comment,
body.theme-dark .view-comment {
    border-color: var(--op-primary, #3dbf62) !important;
    color: #f1f5f9 !important;
}

/* ==========================================================================
   Global Modern Board View Action Toolbar (.view-btn, .op-btn-list, .op-view-more-dropdown)
   ========================================================================== */
.view-wrap {
    overflow: visible !important;
}

.view-wrap .view-btn,
.view-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 14px 0 20px 0 !important;
    position: relative !important;
    z-index: 20 !important;
    overflow: visible !important;
    clear: both !important;
}

.view-wrap .view-btn.view-btn-bottom,
.view-btn.view-btn-bottom {
    position: relative !important;
    z-index: 20 !important;
}

.view-wrap .view-btn .view-btn-left {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    overflow: visible !important;
}

.view-wrap .view-btn .view-btn-right {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    margin-left: auto !important;
    gap: 8px !important;
    overflow: visible !important;
}

.view-wrap .view-btn .clearfix {
    display: none !important;
}

/* Modern List Button */
.view-wrap .view-btn .op-btn-list {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 34px !important;
    padding: 0 14px !important;
    border-radius: 17px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
}

.view-wrap .view-btn .op-btn-list:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* Modern Reply Button */
.view-wrap .view-btn .op-btn-reply {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 34px !important;
    padding: 0 14px !important;
    border-radius: 17px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #475569 !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    text-decoration: none !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
}

.view-wrap .view-btn .op-btn-reply:hover {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

/* More Dropdown Menu & Kebab Toggle */
.op-view-more-dropdown {
    display: inline-block !important;
    position: relative !important;
    overflow: visible !important;
}

.op-view-more-dropdown.open {
    z-index: 1050 !important;
}

.op-view-more-dropdown .op-btn-more-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    height: 34px !important;
    padding: 0 12px !important;
    border-radius: 17px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #64748b !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.15s ease !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.op-view-more-dropdown .op-btn-more-toggle:hover,
.op-view-more-dropdown.open .op-btn-more-toggle {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
    color: #0f172a !important;
}

.op-view-more-dropdown .dropdown-menu {
    min-width: 140px !important;
    padding: 6px 0 !important;
    margin: 4px 0 0 0 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05) !important;
    z-index: 1050 !important;
}

.op-view-more-dropdown.dropup .dropdown-menu {
    top: auto !important;
    bottom: 100% !important;
    margin: 0 0 6px 0 !important;
}

.op-view-more-dropdown .dropdown-menu > li > a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    transition: background-color 0.12s ease !important;
}

.op-view-more-dropdown .dropdown-menu > li > a:hover {
    background-color: #f8fafc !important;
    color: #0f172a !important;
}

.op-view-more-dropdown .dropdown-menu > li > a.text-danger:hover {
    background-color: #fef2f2 !important;
    color: #dc2626 !important;
}

.op-view-more-dropdown .dropdown-menu .divider {
    margin: 4px 0 !important;
    background-color: #f1f5f9 !important;
}

/* Write Button in View Toolbar */
.view-wrap .view-btn .op-btn-write-primary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    height: 34px !important;
    padding: 0 14px !important;
    border-radius: 17px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1 !important;
}

/* Mobile Safe Zone Alignment */
@media (max-width: 768px) {
    .view-wrap .view-btn-bottom {
        padding: 0 16px !important;
    }
    .view-wrap .view-btn-top {
        padding: 0 !important;
    }
}

/* Dark Mode Tokens */
html.theme-dark .view-wrap .view-btn .op-btn-list,
body.theme-dark .view-wrap .view-btn .op-btn-list {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.theme-dark .view-wrap .view-btn .op-btn-list:hover,
body.theme-dark .view-wrap .view-btn .op-btn-list:hover {
    background: #272730 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.theme-dark .view-wrap .view-btn .op-btn-reply,
body.theme-dark .view-wrap .view-btn .op-btn-reply {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.theme-dark .view-wrap .view-btn .op-btn-reply:hover,
body.theme-dark .view-wrap .view-btn .op-btn-reply:hover {
    background: #272730 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.theme-dark .op-view-more-dropdown .op-btn-more-toggle,
body.theme-dark .op-view-more-dropdown .op-btn-more-toggle {
    background: #1e293b !important;
    border-color: #334155 !important;
    color: #cbd5e1 !important;
}

html.theme-dark .op-view-more-dropdown .op-btn-more-toggle:hover,
body.theme-dark .op-view-more-dropdown .op-btn-more-toggle:hover,
html.theme-dark .op-view-more-dropdown.open .op-btn-more-toggle,
body.theme-dark .op-view-more-dropdown.open .op-btn-more-toggle {
    background: #272730 !important;
    border-color: #475569 !important;
    color: #ffffff !important;
}

html.theme-dark .op-view-more-dropdown .dropdown-menu,
body.theme-dark .op-view-more-dropdown .dropdown-menu {
    background: #1e293b !important;
    border-color: #334155 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important;
}

html.theme-dark .op-view-more-dropdown .dropdown-menu > li > a,
body.theme-dark .op-view-more-dropdown .dropdown-menu > li > a {
    color: #cbd5e1 !important;
}

html.theme-dark .op-view-more-dropdown .dropdown-menu > li > a:hover,
body.theme-dark .op-view-more-dropdown .dropdown-menu > li > a:hover {
    background-color: #272730 !important;
    color: #ffffff !important;
}

html.theme-dark .op-view-more-dropdown .dropdown-menu .divider,
body.theme-dark .op-view-more-dropdown .dropdown-menu .divider {
    background-color: #334155 !important;
}

/* ==========================================================================
   Visited/Read Post Visual Indicator (.is-visited)
   ========================================================================== */
/* Light Mode Tone-Down */
.list-board .list-item.is-visited,
table.list-pc tbody tr.is-visited,
.list-mobile .list-item.is-visited {
    opacity: 0.65;
    transition: opacity 0.15s ease;
}

.list-board .list-item.is-visited .item-subject,
.list-board .list-item.is-visited .item-subject .subject-title,
.list-board .list-item.is-visited .item-subject .subject-title *,
.list-board .list-item.is-visited .item-subject font,
.list-board .list-item.is-visited .item-subject font *,
table.list-pc tbody tr.is-visited .list-subject .item-subject,
table.list-pc tbody tr.is-visited .list-subject .subject-title,
table.list-pc tbody tr.is-visited .list-subject .subject-title *,
table.list-pc tbody tr.is-visited .list-subject font,
table.list-pc tbody tr.is-visited .list-subject font *,
.list-mobile .list-item.is-visited .item-subject,
.list-mobile .list-item.is-visited .subject-title,
.list-mobile .list-item.is-visited .subject-title * {
    color: #94a3b8 !important;
    opacity: 0.55 !important;
    font-weight: normal !important;
    transition: opacity 0.15s ease, color 0.15s ease;
}

/* Hover Restoration */
.list-board .list-item.is-visited:hover,
table.list-pc tbody tr.is-visited:hover,
.list-mobile .list-item.is-visited:hover {
    opacity: 1 !important;
}

.list-board .list-item.is-visited:hover .item-subject,
.list-board .list-item.is-visited:hover .item-subject .subject-title,
.list-board .list-item.is-visited:hover .item-subject .subject-title *,
.list-board .list-item.is-visited:hover .item-subject font,
.list-board .list-item.is-visited:hover .item-subject font *,
table.list-pc tbody tr.is-visited:hover .list-subject .item-subject,
table.list-pc tbody tr.is-visited:hover .list-subject .subject-title,
table.list-pc tbody tr.is-visited:hover .list-subject .subject-title *,
table.list-pc tbody tr.is-visited:hover .list-subject font,
table.list-pc tbody tr.is-visited:hover .list-subject font *,
.list-mobile .list-item.is-visited:hover .item-subject,
.list-mobile .list-item.is-visited:hover .subject-title,
.list-mobile .list-item.is-visited:hover .subject-title * {
    color: var(--op-primary, #3dbf62) !important;
    opacity: 1 !important;
}

/* Dark Mode Pairings for Visited Posts */
html.theme-dark .list-board .list-item.is-visited,
html.theme-dark table.list-pc tbody tr.is-visited,
html.theme-dark .list-mobile .list-item.is-visited,
body.theme-dark .list-board .list-item.is-visited,
body.theme-dark table.list-pc tbody tr.is-visited,
body.theme-dark .list-mobile .list-item.is-visited {
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

html.theme-dark .list-board .list-item.is-visited .item-subject,
html.theme-dark .list-board .list-item.is-visited .item-subject .subject-title,
html.theme-dark .list-board .list-item.is-visited .item-subject .subject-title *,
html.theme-dark .list-board .list-item.is-visited .item-subject font,
html.theme-dark .list-board .list-item.is-visited .item-subject font *,
html.theme-dark table.list-pc tbody tr.is-visited .list-subject .item-subject,
html.theme-dark table.list-pc tbody tr.is-visited .list-subject .subject-title,
html.theme-dark table.list-pc tbody tr.is-visited .list-subject .subject-title *,
html.theme-dark table.list-pc tbody tr.is-visited .list-subject font,
html.theme-dark table.list-pc tbody tr.is-visited .list-subject font *,
html.theme-dark .list-mobile .list-item.is-visited .item-subject,
html.theme-dark .list-mobile .list-item.is-visited .subject-title,
html.theme-dark .list-mobile .list-item.is-visited .subject-title *,
body.theme-dark .list-board .list-item.is-visited .item-subject,
body.theme-dark .list-board .list-item.is-visited .item-subject .subject-title,
body.theme-dark .list-board .list-item.is-visited .item-subject .subject-title *,
body.theme-dark .list-board .list-item.is-visited .item-subject font,
body.theme-dark .list-board .list-item.is-visited .item-subject font *,
body.theme-dark table.list-pc tbody tr.is-visited .list-subject .item-subject,
body.theme-dark table.list-pc tbody tr.is-visited .list-subject .subject-title,
body.theme-dark table.list-pc tbody tr.is-visited .list-subject .subject-title *,
body.theme-dark table.list-pc tbody tr.is-visited .list-subject font,
body.theme-dark table.list-pc tbody tr.is-visited .list-subject font *,
body.theme-dark .list-mobile .list-item.is-visited .item-subject,
body.theme-dark .list-mobile .list-item.is-visited .subject-title,
body.theme-dark .list-mobile .list-item.is-visited .subject-title * {
    color: #64748b !important;
    opacity: 0.5 !important;
    font-weight: normal !important;
}

html.theme-dark .list-board .list-item.is-visited:hover,
html.theme-dark table.list-pc tbody tr.is-visited:hover,
html.theme-dark .list-mobile .list-item.is-visited:hover,
body.theme-dark .list-board .list-item.is-visited:hover,
body.theme-dark table.list-pc tbody tr.is-visited:hover,
body.theme-dark .list-mobile .list-item.is-visited:hover {
    opacity: 1 !important;
}

html.theme-dark .list-board .list-item.is-visited:hover .item-subject,
html.theme-dark .list-board .list-item.is-visited:hover .item-subject .subject-title,
html.theme-dark .list-board .list-item.is-visited:hover .item-subject .subject-title *,
html.theme-dark .list-board .list-item.is-visited:hover .item-subject font,
html.theme-dark .list-board .list-item.is-visited:hover .item-subject font *,
html.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .item-subject,
html.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .subject-title,
html.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .subject-title *,
html.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject font,
html.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject font *,
html.theme-dark .list-mobile .list-item.is-visited:hover .item-subject,
html.theme-dark .list-mobile .list-item.is-visited:hover .subject-title,
html.theme-dark .list-mobile .list-item.is-visited:hover .subject-title *,
body.theme-dark .list-board .list-item.is-visited:hover .item-subject,
body.theme-dark .list-board .list-item.is-visited:hover .item-subject .subject-title,
body.theme-dark .list-board .list-item.is-visited:hover .item-subject .subject-title *,
body.theme-dark .list-board .list-item.is-visited:hover .item-subject font,
body.theme-dark .list-board .list-item.is-visited:hover .item-subject font *,
body.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .item-subject,
body.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .subject-title,
body.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject .subject-title *,
body.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject font,
body.theme-dark table.list-pc tbody tr.is-visited:hover .list-subject font *,
body.theme-dark .list-mobile .list-item.is-visited:hover .item-subject,
body.theme-dark .list-mobile .list-item.is-visited:hover .subject-title,
body.theme-dark .list-mobile .list-item.is-visited:hover .subject-title * {
    color: #4ade80 !important;
    opacity: 1 !important;
}
