.dh-forum-wrapper { max-width: 1000px; margin: 0 auto; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; color: #2d3748; }
.dh-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #edf2f7; padding-bottom: 20px; margin-bottom: 25px; flex-wrap: wrap; gap: 15px; }
.dh-header h2 { margin: 0 0 5px 0; color: #1a202c; font-size: 26px; }
.dh-header p { margin: 0; color: #718096; }
.dh-user-actions { display: flex; align-items: center; gap: 12px; }
.dh-user-status { font-size: 13px; color: #4a5568; }
.dh-logout-link { color: #e53e3e; text-decoration: none; margin-left: 8px; font-weight: 600; }
.dh-btn { display: inline-block; padding: 9px 16px; border-radius: 6px; font-weight: 600; text-decoration: none; cursor: pointer; border: none; font-size: 14px; transition: all 0.2s; }
.dh-btn-primary { background: #3182ce; color: #fff; }
.dh-btn-primary:hover { background: #2b6cb0; }
.dh-btn-outline { border: 1px solid #cbd5e0; color: #4a5568; background: #fff; }
.dh-w-100 { width: 100%; }
.dh-categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 15px; margin-bottom: 30px; }
.dh-cat-card { background: #f7fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 16px; }
.dh-cat-card h3 { margin: 0 0 8px 0; font-size: 16px; }
.dh-cat-card p { font-size: 13px; color: #718096; margin: 0 0 10px 0; }
.dh-count { font-size: 12px; background: #edf2f7; padding: 3px 8px; border-radius: 4px; color: #4a5568; font-weight: bold; }
.dh-topics-list { border: 1px solid #e2e8f0; border-radius: 8px; overflow: hidden; background: #fff; }
.dh-topic-row { display: flex; align-items: center; padding: 15px 20px; border-bottom: 1px solid #edf2f7; gap: 15px; }
.dh-topic-row:last-child { border-bottom: none; }
.dh-vote-box { text-align: center; min-width: 45px; background: #edf2f7; padding: 6px 10px; border-radius: 6px; }
.dh-vote-num { font-weight: 700; font-size: 16px; color: #2d3748; display: block; }
.dh-vote-box small { font-size: 11px; color: #718096; text-transform: uppercase; }
.dh-topic-main { flex: 1; }
.dh-topic-title { font-size: 16px; font-weight: 600; color: #2b6cb0; text-decoration: none; display: inline-block; margin-bottom: 4px; }
.dh-topic-title:hover { text-decoration: underline; }
.dh-topic-meta { font-size: 12px; color: #718096; }
.dh-reply-badge { font-size: 13px; color: #718096; }
.dh-badge { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 12px; font-weight: bold; margin-left: 5px; }
.badge-gold { background: #fefcbf; color: #b7791f; border: 1px solid #ecc94b; }
.badge-silver { background: #edf2f7; color: #4a5568; border: 1px solid #cbd5e0; }
.badge-bronze { background: #feebc8; color: #c05621; border: 1px solid #fbd38d; }
.badge-starter { background: #e2e8f0; color: #718096; }
.dh-form-container { background: #f7fafc; border: 1px solid #e2e8f0; border-radius: 8px; padding: 20px; margin-top: 30px; }
.dh-auth-prompt-box { background: #ebf8ff; border: 1px solid #bee3f8; border-radius: 8px; padding: 20px; text-align: center; margin-top: 25px; }
.dh-auth-prompt-box p { margin: 0 0 12px 0; color: #2b6cb0; font-weight: 500; }
.dh-field { margin-bottom: 15px; }
.dh-field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: 14px; }
.dh-field input[type="text"], .dh-field input[type="email"], .dh-field input[type="password"], .dh-field select, .dh-field textarea { width: 100%; padding: 10px; border: 1px solid #cbd5e0; border-radius: 6px; box-sizing: border-box; font-family: inherit; font-size: 14px; }
.dh-field input[type="file"] { display: block; padding: 6px 0; font-size: 13px; color: #4a5568; }
.dh-toolbar { display: flex; gap: 4px; background: #edf2f7; border: 1px solid #cbd5e0; border-bottom: none; border-radius: 6px 6px 0 0; padding: 5px 8px; }
.dh-tb-btn { background: #fff; border: 1px solid #cbd5e0; border-radius: 4px; padding: 4px 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: #4a5568; }
.dh-tb-btn:hover { background: #e2e8f0; }
.dh-field .dh-toolbar + textarea { border-top-left-radius: 0; border-top-right-radius: 0; }
.dh-pagination { display: flex; justify-content: center; gap: 6px; padding: 16px; border-top: 1px solid #edf2f7; }
.dh-pagination .page-numbers { display: inline-block; padding: 6px 12px; border: 1px solid #cbd5e0; border-radius: 4px; text-decoration: none; color: #4a5568; font-size: 13px; font-weight: 600; }
.dh-pagination .page-numbers.current { background: #3182ce; color: #fff; border-color: #3182ce; }
.dh-pagination .page-numbers:hover:not(.current) { background: #edf2f7; }
.dh-single-topic { background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; padding: 25px; }
.dh-back-link { text-decoration: none; color: #3182ce; font-weight: 600; font-size: 14px; margin-bottom: 15px; display: inline-block; }
.dh-topic-body-box { display: flex; gap: 20px; margin: 20px 0; border-bottom: 1px solid #edf2f7; padding-bottom: 20px; }
.dh-vote-actions { display: flex; flex-direction: column; align-items: center; }
.dh-vote-btn { background: #edf2f7; border: 1px solid #cbd5e0; border-radius: 4px; padding: 6px 12px; cursor: pointer; font-size: 14px; }
.dh-vote-count { font-weight: bold; font-size: 16px; margin: 6px 0; }
.dh-topic-text { flex: 1; font-size: 15px; line-height: 1.6; }
.dh-code-block { background: #2d3748; color: #f7fafc; padding: 12px 16px; border-radius: 6px; overflow-x: auto; font-family: monospace; font-size: 13px; margin: 10px 0; }
.dh-inline-code { background: #edf2f7; color: #c53030; padding: 2px 6px; border-radius: 4px; font-family: monospace; font-size: 13px; }
.dh-quote { border-left: 4px solid #3182ce; margin: 10px 0; padding: 8px 14px; background: #f7fafc; color: #4a5568; font-style: italic; }
.dh-attachment-preview { margin-top: 15px; }
.dh-attachment-preview img { max-width: 100%; max-height: 400px; border-radius: 6px; border: 1px solid #e2e8f0; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.dh-reply-card { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 15px; margin-bottom: 15px; }
.dh-reply-card.is-best-answer { border: 2px solid #38a169; background: #f0fff4; }
.dh-best-badge { color: #38a169; font-weight: bold; font-size: 13px; margin-bottom: 8px; }
.dh-reply-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.dh-btn-text { background: none; border: none; color: #3182ce; font-size: 12px; font-weight: 600; cursor: pointer; padding: 0; margin-top: 8px; }
.dh-no-content { color: #a0aec0; text-align: center; padding: 25px; }
.dh-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; z-index: 999999; }
.dh-modal-box { background: #fff; width: 100%; max-width: 400px; padding: 25px; border-radius: 8px; position: relative; box-shadow: 0 10px 25px rgba(0,0,0,0.2); }
.dh-modal-close { position: absolute; top: 12px; right: 15px; border: none; background: none; font-size: 24px; cursor: pointer; color: #a0aec0; }
.dh-google-auth-area { margin-bottom: 15px; display: flex; justify-content: center; }
.dh-auth-divider { text-align: center; margin: 15px 0; border-bottom: 1px solid #edf2f7; line-height: 0.1em; }
.dh-auth-divider span { background: #fff; padding: 0 10px; font-size: 11px; color: #a0aec0; letter-spacing: 0.5px; }
.dh-modal-tabs { display: flex; border-bottom: 2px solid #edf2f7; margin-bottom: 20px; }
.dh-tab-btn { flex: 1; padding: 10px; background: none; border: none; font-weight: 600; cursor: pointer; color: #718096; }
.dh-tab-btn.active { color: #3182ce; border-bottom: 2px solid #3182ce; margin-bottom: -2px; }
.dh-auth-feedback { margin-top: 12px; font-size: 13px; text-align: center; }