.hljs { background: transparent !important; }
.dark .d2h-wrapper { background: transparent; }
.dark .d2h-file-header { background: #18181b; border-color: #27272a; color: #fafafa; }
.dark .d2h-file-stats { color: #a1a1aa; }
.dark .d2h-code-side-linenumber { background: #09090b; border-color: #27272a; color: #71717a; }
.dark .d2h-code-side-line { background: #09090b; color: #fafafa; }
.dark .d2h-info { background: #18181b; border-color: #27272a; color: #a1a1aa; }
.dark .d2h-ins { background: #14261f; }
.dark .d2h-ins .d2h-code-side-line { background: #14261f; }
.dark .d2h-code-line ins, .dark .d2h-code-side-line ins { background: #277346; }
.dark .d2h-del { background: #26181c; }
.dark .d2h-del .d2h-code-side-line { background: #26181c; }
.dark .d2h-code-line del, .dark .d2h-code-side-line del { background: #7c2727; }
.dark .d2h-code-line-ctn { color: #fafafa; }
.dark .d2h-file-wrapper { border: 1px solid #27272a; border-radius: 0.5rem; overflow: hidden; }
.dark .d2h-file-diff { background: #09090b; }
.dark .d2h-code-line { background: #09090b; }
.dark .d2h-emptyplaceholder { background: #09090b; border-color: #27272a; }
.dark .d2h-file-side-diff { background: #09090b; }
.dark .d2h-code-linenumber { background: #09090b; border-color: #27272a; color: #71717a; }
.d2h-code-side-line { position: relative; }
.d2h-code-side-line .d2h-code-line-ctn { padding-left: 30px; }
.comment-btn { position: absolute; left: 5px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; background: #3b82f6; color: white; border-radius: 50%; display: none; align-items: center; justify-content: center; cursor: pointer; font-size: 14px; line-height: 1; border: none; z-index: 10; }
.d2h-code-side-line:hover .comment-btn { display: flex; }
.comment-box { position: fixed; bottom: 16px; left: 16px; right: 16px; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 8px; padding: 16px; z-index: 1000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.dark .comment-box { background: #18181b; border-color: #27272a; box-shadow: 0 4px 12px rgba(0,0,0,0.5); }
.comment-box textarea { width: 100%; background: #fff; border: 1px solid #d1d5db; border-radius: 4px; padding: 8px; color: #111827; resize: vertical; min-height: 100px; }
.dark .comment-box textarea { background: #09090b; border-color: #27272a; color: #fafafa; }
.comment-box button { padding: 6px 12px; border-radius: 4px; font-size: 14px; cursor: pointer; }
.comment-box .submit { background: #22c55e; color: white; border: none; margin-right: 8px; }
.comment-box .cancel { background: transparent; color: #6b7280; border: 1px solid #d1d5db; }
.dark .comment-box .cancel { color: #a1a1aa; border-color: #27272a; }
.comment-display { margin-top: 8px; }
.comment-container { background: #f6f8fa; border: 1px solid #d0d7de; border-radius: 6px; overflow: hidden; }
.dark .comment-container { background: #161b22; border-color: #30363d; }
.comment-header { padding: 10px 16px; background: #f6f8fa; border-bottom: 1px solid #d0d7de; font-size: 14px; color: #656d76; cursor: pointer; display: flex; align-items: center; gap: 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; }
.dark .comment-header { background: #0d1117; border-color: #30363d; color: #7d8590; }
.comment-header:hover { background: #eaeef2; }
.dark .comment-header:hover { background: #161b22; }
.comment-header-line { font-weight: 600; color: #24292f; }
.dark .comment-header-line { color: #c9d1d9; }
.comment-chevron { transition: transform 0.2s; flex-shrink: 0; }
.comment-chevron.collapsed { transform: rotate(-90deg); }
.comment-list { display: block; }
.comment-list.collapsed { display: none; }
.comment-item { background: transparent; border: none; border-bottom: 1px solid #d0d7de; border-radius: 0; padding: 16px; margin: 0; font-size: 14px; }
.comment-item:last-child { border-bottom: none; }
.dark .comment-item { border-color: #30363d; }
.comment-header-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.comment-avatar { width: 20px; height: 20px; color: #656d76; flex-shrink: 0; }
.dark .comment-avatar { color: #7d8590; }
.comment-author { font-weight: 600; color: #24292f; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; }
.dark .comment-author { color: #c9d1d9; }
.comment-time { color: #656d76; font-size: 12px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; }
.dark .comment-time { color: #7d8590; }
.comment-content { color: #24292f; line-height: 1.5; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif; }
.dark .comment-content { color: #c9d1d9; }
