/* 💬 Calculator Comments — yorum sistemi UI */

/* CRITICAL — [hidden] attribute öncelik: display:flex/grid'i ezer */
.calc-comments-card [hidden],
.cc-lightbox[hidden],
.cc-attachments-preview[hidden],
.cc-mention-dropdown[hidden],
.cc-reply-composer[hidden],
.cc-fab[hidden],
.calc-tab-badge[hidden] { display: none !important; }

/* DUOTONE FIX — SADECE yorum sistemi içindeki dark butonlar için.
 * Header/navbar'a hiçbir etkisi yok (selector'lar cc-* prefixli).
 * 'Yorum Gönder', 'Tüm yorumları gör', FAB, Beğendin butonlarında
 * iconun beyazlığını/renk uyumunu garanti eder. */
.cc-btn-submit i.fad,
.cc-cta-go i.fad,
.cc-fab i.fad,
.cc-action.cc-like.is-liked i.fad {
    --fa-primary-color: currentColor;
    --fa-secondary-color: currentColor;
    --fa-primary-opacity: 1;
    --fa-secondary-opacity: 0.6;
}

/* ─────────────────────────────────────────────────
 * TOP COMMENT PREVIEW BANNER (article kartının üstünde)
 * Yorumdan haberdar olmayan kullanıcı için "1. fold" görünürlük
 * ───────────────────────────────────────────────── */
.cc-cta-banner {
    background: #fff;
    border: 1px solid var(--color-border, #e2e8f0);
    border-left: 4px solid var(--cta-color, #1976D2);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
}
.cc-cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding-right: 1rem;
    border-right: 1px solid #e2e8f0;
    min-width: 90px;
}
.cc-cta-stat i { font-size: 1.5rem; color: var(--cta-color, #1976D2); margin-bottom: 4px; }
.cc-cta-stat strong { font-size: 1.5rem; font-weight: 800; color: #1e293b; line-height: 1; font-variant-numeric: tabular-nums; }
.cc-cta-stat span { font-size: 0.75rem; color: #64748b; text-align: center; }

.cc-cta-preview { display: flex; gap: 0.75rem; align-items: flex-start; min-width: 0; }
.cc-cta-avatar {
    width: 36px;
    height: 36px;
    background: var(--cta-color, #1976D2);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.cc-cta-body { flex: 1; min-width: 0; }
.cc-cta-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}
.cc-cta-badge {
    background: #fee2e2;
    color: #b91c1c;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 8px;
    text-transform: uppercase;
}
/* Likes badge — kullanıcı adının yanında inline (sağa fırlamasın) */
.cc-cta-likes {
    background: rgba(25, 118, 210, 0.10);
    color: var(--cta-color, #1976D2);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 1px 8px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    line-height: 1.4;
}
.cc-cta-likes i { font-size: 0.78rem; color: inherit; }
.cc-cta-text {
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.5;
    font-style: italic;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cc-cta-go {
    background: var(--cta-color, #1976D2);
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.15s, transform 0.15s;
    font-family: inherit;
    white-space: nowrap;
}
.cc-cta-go:hover { opacity: 0.88; }
.cc-cta-go:active { transform: scale(0.97); }

/* "Henüz yorum yok" varyasyonu */
.cc-cta-empty {
    display: flex;
    align-items: center;
    gap: 1rem;
    grid-column: 1 / -1;
    flex-wrap: wrap;
}
.cc-cta-empty .cc-cta-icon {
    font-size: 1.8rem;
    color: var(--cta-color, #1976D2);
}
.cc-cta-empty strong {
    display: block;
    color: #1e293b;
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}
.cc-cta-empty span { color: #64748b; font-size: 0.88rem; }
.cc-cta-empty > div { flex: 1; min-width: 200px; }

@media (max-width: 768px) {
    .cc-cta-banner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .cc-cta-stat {
        flex-direction: row;
        justify-content: flex-start;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-right: 0;
        padding-bottom: 0.75rem;
        min-width: 0;
    }
    .cc-cta-stat i { font-size: 1.1rem; margin-bottom: 0; margin-right: 0.5rem; }
    .cc-cta-stat strong { font-size: 1.1rem; margin-right: 0.4rem; }
    .cc-cta-go { width: 100%; justify-content: center; }
}

/* ─────────────────────────────────────────────────
 * FLOATING ACTION BUTTON — sağ alt köşe
 * Scroll boyunca görünür, yorum bölümüne girince gizlenir
 * ───────────────────────────────────────────────── */
.cc-fab {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    background: var(--cta-color, #1976D2);
    color: #fff;
    border: none;
    border-radius: 28px;
    padding: 0.8rem 1.1rem;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.18s, box-shadow 0.18s, opacity 0.2s;
    animation: ccFabIn 0.4s ease;
}
@keyframes ccFabIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cc-fab:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}
.cc-fab:active { transform: translateY(0) scale(0.98); }
.cc-fab i { font-size: 1.15rem; }
.cc-fab-count {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 1px 8px;
    font-size: 0.78rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 18px;
    text-align: center;
}
.cc-fab-count:empty,
.cc-fab[data-count="0"] .cc-fab-count { display: none; }
.cc-fab-label { font-size: 0.85rem; font-weight: 700; }

/* Pulse animation (30s aktiflikten sonra kullanıcının dikkatini çek) */
.cc-fab.is-pulsing {
    animation: ccFabPulse 1.4s ease-in-out 2;
}
@keyframes ccFabPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
    50% { transform: scale(1.08); box-shadow: 0 12px 32px rgba(25, 118, 210, 0.45); }
}

/* Mobile: sadece icon, label gizli */
@media (max-width: 640px) {
    .cc-fab { padding: 0.7rem 0.9rem; bottom: 16px; right: 16px; }
    .cc-fab-label { display: none; }
}

.calc-comments-card {
    background: #fff;
    border: 1px solid var(--color-border, #e0e0e0);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.calc-comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 0.85rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.calc-comments-title {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.calc-comments-title i { color: #1976D2; }
.calc-comments-count { color: #64748b; font-weight: 600; font-size: 0.95rem; }

.calc-comments-sort { display: flex; gap: 4px; }
.calc-comments-sort .sort-btn {
    background: transparent;
    border: 1px solid #e2e8f0;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    border-radius: 6px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}
.calc-comments-sort .sort-btn:hover { background: #f1f5f9; }
.calc-comments-sort .sort-btn.active { background: #1976D2; color: #fff; border-color: #1976D2; }

/* ── Composer (yorum yazma alanı) ── */
.calc-comment-composer {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
}
/* Yorumların altında konumlandırıldığında biraz daha vurgulu */
.calc-composer--bottom {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    border-top: 3px solid #1976D2;
    background: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.04);
}
.cc-composer-label { color: #64748b; font-weight: 500; font-size: 0.82rem; margin-left: 4px; }
/* SCOPED: sadece composer'ın WRAPPER cc-author'una grid uygula —
 * cc-meta-row-top içindeki <strong class="cc-author"> bu kuralı YEMEZ */
.calc-comment-composer > .cc-author {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.75rem;
    align-items: start;
    margin-bottom: 0.85rem;
}
.calc-comment-composer > .cc-author > .cc-avatar { align-self: start; }
.cc-avatar {
    width: 32px;
    height: 32px;
    background: #1976D2;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    line-height: 1;
}
/* Composer username + composer-label tek satır, admin altında — cc-meta-author-block kullanır */
.cc-composer-label { color: #64748b; font-weight: 500; font-size: 0.82rem; }

/* Author block — 1. satır: username · zaman · pill,  2. satır: admin */
.cc-meta-author-block {
    display: flex;
    flex-direction: column;
    gap: 0;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}
.cc-meta-row-top {
    display: flex;
    align-items: baseline; /* text baseline'lar tam hizalı — center 1px sapıyordu */
    gap: 0.45rem;
    flex-wrap: wrap;
    line-height: 1.25;
}
.cc-meta-row-top .cc-author { color: #1e293b; font-size: 0.95rem; font-weight: 700; }
.cc-meta-sep { color: #cbd5e1; font-weight: 400; font-size: 0.85rem; line-height: 1.25; }
.cc-meta-row-top .cc-time { color: #94a3b8; font-size: 0.8rem; }
.cc-author-role {
    color: #b91c1c;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    line-height: 1.2;
    margin-top: 1px;
}
.cc-author-role--supporter { color: #166534; }

/* Soru/Sabit pill — küçük, dikkat çekici (yorum içinde) */
.cc-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.3;
    height: fit-content;
}
.cc-pill-question { background: #dbeafe; color: #1e40af; }
.cc-pill-pinned { background: #fef3c7; color: #92400e; }

/* Editor wrapper */
.cc-editor-wrapper {
    position: relative;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.cc-editor-wrapper:focus-within {
    border-color: #1976D2;
    box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.12);
}

.cc-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    background: #fafbfc;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 8px 8px 0 0;
}
.cc-toolbar button {
    background: transparent;
    border: none;
    padding: 6px 8px;
    cursor: pointer;
    color: #64748b;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: background 0.12s, color 0.12s;
    font-family: inherit;
}
.cc-toolbar button:hover { background: #e2e8f0; color: #1976D2; }
.cc-toolbar button.active { background: #dbeafe; color: #1976D2; }
.cc-toolbar button i { font-size: 0.9rem; }
.cc-tb-sep { width: 1px; height: 18px; background: #e2e8f0; margin: 0 4px; }

.cc-editor {
    min-height: 96px;
    max-height: 320px;
    overflow-y: auto;
    padding: 12px 14px;
    outline: none;
    line-height: 1.6;
    color: #1e293b;
    font-family: inherit;
}
.cc-editor:empty::before {
    content: attr(data-placeholder);
    color: #94a3b8;
    pointer-events: none;
}
.cc-editor p { margin: 0 0 0.5rem; }
.cc-editor p:last-child { margin-bottom: 0; }
.cc-editor blockquote {
    border-left: 3px solid #1976D2;
    background: #f0f9ff;
    padding: 0.5rem 0.85rem;
    margin: 0.5rem 0;
    color: #475569;
    border-radius: 0 6px 6px 0;
}
.cc-editor pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.88rem;
    overflow-x: auto;
}
.cc-editor code {
    background: #f1f5f9;
    color: #be185d;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-family: ui-monospace, monospace;
    font-size: 0.88em;
}
.cc-editor a { color: #1976D2; text-decoration: underline; }
.cc-editor img {
    max-width: 100%;
    max-height: 320px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    margin: 0.5rem 0;
}
.cc-editor ul, .cc-editor ol { margin: 0.5rem 0 0.5rem 1.5rem; }

/* Mention dropdown */
.cc-mention-dropdown {
    position: absolute;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    max-height: 220px;
    overflow-y: auto;
    z-index: 100;
    min-width: 200px;
}
.cc-mention-item {
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.12s;
    font-size: 0.9rem;
}
.cc-mention-item:hover, .cc-mention-item.active { background: #f1f5f9; }
.cc-mention-item .ma { width: 24px; height: 24px; background: #1976D2; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; }
.cc-mention-item strong { color: #1e293b; font-weight: 600; }
.cc-mention-item .badge-mini { background: #fee2e2; color: #b91c1c; font-size: 0.65rem; padding: 1px 5px; border-radius: 8px; margin-left: auto; font-weight: 700; }

/* Attachments preview (composer içinde) */
.cc-attachments-preview {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
    flex-wrap: wrap;
}
.cc-attach-preview-item {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
}
.cc-attach-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cc-attach-preview-item .remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.cc-attach-preview-item .remove:hover { background: #dc2626; }

.cc-composer-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.85rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.cc-hint { color: #64748b; font-size: 0.8rem; }
.cc-btn-submit {
    background: #1976D2;
    color: #fff;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: 6px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: opacity 0.15s;
    font-size: 0.9rem;
}
.cc-btn-submit:hover:not(:disabled) { opacity: 0.88; }
.cc-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.cc-btn-cancel {
    background: transparent;
    border: 1px solid #cbd5e1;
    color: #64748b;
    padding: 0.55rem 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-right: 6px;
    font-size: 0.9rem;
}

/* Login CTA (giriş yapmamışlar için) */
.calc-comments-login-cta {
    background: #FFF8E1;
    border: 1px solid #FFE082;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #5d4037;
    text-align: center;
    font-size: 0.95rem;
}
.calc-comments-login-cta i { color: #f59e0b; margin-right: 6px; }
.calc-comments-login-cta a { color: #1976D2; font-weight: 700; text-decoration: underline; }

/* ── Yorum Listesi ── */
.calc-comments-list { display: flex; flex-direction: column; gap: 1rem; }

.cc-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #64748b;
}
.cc-empty i { font-size: 2.5rem; color: #cbd5e1; display: block; margin-bottom: 0.75rem; }
.cc-empty p { margin: 0; font-size: 0.95rem; }

.cc-item {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.85rem;
    align-items: start;
    padding: 1rem 0;
    border-top: 1px solid #f1f5f9;
}
.cc-item > .cc-avatar { align-self: start; }
.cc-item:first-child { border-top: none; padding-top: 0; }
.cc-item.cc-pinned {
    background: #FFFDE715;
    border-left: 3px solid #FFB300;
    padding-left: 0.85rem;
    border-radius: 0 6px 6px 0;
}

.cc-body { flex: 1; min-width: 0; }
.cc-edited { color: #94a3b8; font-size: 0.78rem; font-style: italic; }

.cc-content {
    color: #334155;
    line-height: 1.6;
    word-wrap: break-word;
}
.cc-content p { margin: 0 0 0.5rem; }
.cc-content p:last-child { margin-bottom: 0; }
.cc-content blockquote {
    border-left: 3px solid #1976D2;
    background: #f0f9ff;
    padding: 0.5rem 0.85rem;
    margin: 0.5rem 0;
    color: #475569;
    border-radius: 0 6px 6px 0;
}
.cc-content pre {
    background: #1e293b;
    color: #e2e8f0;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.88rem;
    overflow-x: auto;
}
.cc-content code {
    background: #f1f5f9;
    color: #be185d;
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
    font-family: ui-monospace, monospace;
    font-size: 0.88em;
}
.cc-content a { color: #1976D2; text-decoration: underline; }

.calc-comment-mention {
    background: #dbeafe;
    color: #1e40af;
    padding: 1px 6px;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-block;
}

/* Resim attachment */
.cc-attachments {
    display: flex;
    gap: 0.5rem;
    margin: 0.5rem 0;
    flex-wrap: wrap;
}
.cc-attach-img {
    max-width: 280px;
    max-height: 220px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    cursor: zoom-in;
    transition: opacity 0.15s;
}
.cc-attach-img:hover { opacity: 0.92; }

/* Aksiyonlar */
.cc-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.6rem;
    flex-wrap: wrap;
}
.cc-action {
    background: transparent;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 6px;
    border-radius: 5px;
    font-family: inherit;
    transition: background 0.12s, color 0.12s;
}
.cc-action:hover:not(:disabled) { background: #f1f5f9; color: #1976D2; }
.cc-action:disabled { opacity: 0.5; cursor: not-allowed; }
.cc-action.cc-like.is-liked { color: #1976D2; cursor: default; opacity: 0.85; }
.cc-action.cc-like.is-liked i { color: #1976D2; }
.cc-action.cc-like.is-liked:hover { background: transparent; }
.cc-action.cc-like.is-own { opacity: 0.5; cursor: not-allowed; }
.cc-action.cc-like.is-own:hover { background: transparent; color: #64748b; }
.cc-reply-count { color: #94a3b8; font-size: 0.83rem; display: inline-flex; align-items: center; gap: 4px; }

/* Replies */
.cc-replies {
    margin-top: 0.85rem;
    padding-left: 1rem;
    border-left: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cc-replies .cc-item { padding: 0.65rem 0; }
.cc-replies .cc-avatar { width: 30px; height: 30px; font-size: 0.8rem; }
.cc-replies .cc-meta-author-block { line-height: 1.2; }

.cc-reply-composer { margin-top: 0.75rem; }

/* Lightbox */
.cc-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
    animation: ccLightboxIn 0.2s ease;
}
@keyframes ccLightboxIn { from { opacity: 0; } to { opacity: 1; } }
.cc-lightbox img {
    max-width: 95vw;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.cc-lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.cc-lightbox-close:hover { background: rgba(255, 255, 255, 0.3); }

@media (max-width: 768px) {
    .calc-comments-card { padding: 1rem 1rem; }
    .cc-toolbar { gap: 0; }
    .cc-toolbar button { padding: 5px 6px; }
    .cc-tb-sep { margin: 0 2px; }
    .cc-replies { padding-left: 0.5rem; }
}
