    /* ── Azure Chronicles Comments (Card-Based Design) ── */
    :root {
        --ark-comments-accent: #d4a853;
        --ark-comments-accent-hover: #e6c47a;
        --ark-comments-accent-soft: rgba(212,168,83,.12);
        --ark-comments-accent-ink: #1f2024;
    }
    .ark-comments {
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        margin-top: 28px;
    }

    /* ── HEADER ── */
    .ark-comments-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 15px;
        border-bottom: 2px solid #2a2a2a;
        margin-bottom: 20px;
        gap: 16px;
    }
    .ark-comments-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 18px;
        font-weight: 700;
        color: #e5e5e5;
        margin: 0;
    }
    .ark-comments-title::before {
        content: '';
        display: block;
        width: 4px;
        height: 22px;
        background: var(--ark-comments-accent);
        border-radius: 2px;
        flex-shrink: 0;
    }
    .ark-comment-tabs {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ark-ctab {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 8px 18px;
        border-radius: 50px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        border: 1px solid transparent;
        background: transparent;
        color: #888;
        font-family: inherit;
        transition: all .15s;
    }
    .ark-ctab i { font-size: 11px; }
    .ark-ctab:hover { color: #ccc; }
    .ark-ctab.active {
        background: var(--ark-comments-accent);
        color: var(--ark-comments-accent-ink);
        border-color: var(--ark-comments-accent);
    }

    /* ── COMMENT FORM ── */
    .ark-post-form {
        border: 1px solid #2a2a2a;
        border-radius: 12px;
        background: #151515;
        margin-bottom: 20px;
        overflow: hidden;
    }
    .ark-form-inner {
        display: flex;
        gap: 12px;
        padding: 16px;
    }
    .ark-form-avatar {
        flex-shrink: 0;
    }
    .ark-form-avatar img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 2px solid #2a2a2a;
        object-fit: cover;
        display: block;
    }
    .ark-form-editor {
        flex: 1;
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    /* Toolbar */
    .ark-toolbar {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 10px 14px;
        background: rgba(13,13,13,.47);
        border: 1px solid #2a2a2a;
        border-bottom: none;
        border-radius: 12px 12px 0 0;
    }
    .ark-toolbar-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        border-radius: 8px;
        color: #888;
        font-size: 13px;
        cursor: pointer;
        border: none;
        background: transparent;
        transition: background .15s, color .15s;
    }
    .ark-toolbar-btn--label {
        width: auto;
        min-width: 0;
        padding: 0 10px;
        gap: 6px;
        flex: 0 0 auto;
        font-weight: 600;
    }
    .ark-toolbar-btn--label span {
        font-size: 11px;
        line-height: 1;
    }
    .ark-toolbar-btn--label .ark-sticker-icon {
        width: 15px;
        height: 15px;
        flex: 0 0 auto;
        fill: none;
        stroke: currentColor;
    }
    .ark-form-tool-btn {
        height: 32px;
        border: 1px solid #2a2a2a;
        border-radius: 8px;
        color: #888;
    }
    .ark-toolbar-btn:hover { background: #2a2a2a; color: #ccc; }
    .ark-toolbar-divider {
        width: 1px;
        height: 20px;
        background: #2a2a2a;
        margin: 0 4px;
    }

    /* Editable area (contenteditable) */
    .ark-editable {
        width: 100%;
        min-height: 80px;
        max-height: 300px;
        padding: 14px;
        border: 1px solid #2a2a2a;
        border-radius: 0 0 12px 12px;
        background: rgba(13,13,13,.47);
        color: #e5e5e5;
        font-family: inherit;
        font-size: 14px;
        line-height: 1.6;
        outline: none;
        box-sizing: border-box;
        overflow-y: auto;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .ark-editable:empty::before {
        content: attr(data-placeholder);
        color: #555;
        pointer-events: none;
    }
    .ark-editable:focus { border-color: #444; }
    .ark-toolbar-btn.active { background: #2a2a2a; color: var(--ark-comments-accent); }

    .ark-form-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 16px 12px;
    }
    .ark-char-counter {
        display: inline-flex;
        align-items: center;
        gap: 3px;
        color: #777;
        font-size: 11px;
        line-height: 1.35;
        font-variant-numeric: tabular-nums;
        transition: color .15s;
    }
    .ark-char-counter.is-under,
    .ark-char-counter.is-over { color: #e88787; }
    .ark-char-counter.is-valid { color: #8fc5a5; }
    .ark-char-count { font-weight: 700; }
    .ark-char-limit-separator { margin: 0 2px; opacity: .7; }

    .ark-form-tools {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }
    .ark-upload-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: transparent;
        border: 1px solid #2a2a2a;
        color: #888;
        border-radius: 8px;
        padding: 6px 14px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        transition: all .15s;
    }
    .ark-upload-btn:hover { border-color: #444; color: #ccc; }
    .ark-image-input { display: none; }

    .ark-image-preview {
        margin: 8px 16px 0;
        background: rgba(13,13,13,.47);
        border: 1px solid #2a2a2a;
        border-radius: 10px;
        padding: 8px;
        display: none;
        align-items: center;
        gap: 12px;
    }
    .ark-image-preview.show { display: flex; }
    .ark-image-preview img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        border-radius: 8px;
        flex-shrink: 0;
    }
    .ark-image-preview span {
        flex: 1;
        color: #aaa;
        font-size: 13px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .ark-image-remove {
        border: none;
        background: rgba(255,255,255,.08);
        border-radius: 50%;
        width: 28px;
        height: 28px;
        color: #fff;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background .15s;
    }
    .ark-image-remove:hover { background: rgba(239,68,68,.7); }

    /* Submit button */
    .ark-btn-submit {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 8px 16px;
        background: var(--ark-comments-accent);
        color: var(--ark-comments-accent-ink);
        border: none;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        font-family: inherit;
        transition: background .15s;
    }
    .ark-btn-submit:hover { background: var(--ark-comments-accent-hover); }
    .ark-btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

    /* Login prompt */
    .ark-login-prompt {
        border: 1px solid #2a2a2a;
        border-radius: 12px;
        background: #151515;
        padding: 20px 24px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
        margin-bottom: 20px;
        flex-wrap: wrap;
    }
    .ark-login-prompt p { margin: 0; color: #888; font-size: 14px; font-weight: 500; }
    .ark-login-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        background: var(--ark-comments-accent);
        color: var(--ark-comments-accent-ink);
        border: none;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        white-space: nowrap;
        transition: background .15s;
    }
    .ark-login-btn:hover { background: var(--ark-comments-accent-hover); color: var(--ark-comments-accent-ink); }

    /* ── COMMENTS LIST ── */
    .ark-comment-list { display: flex; flex-direction: column; gap: 12px; }
    .ark-no-comments {
        text-align: center;
        padding: 40px 20px;
        color: #555;
        font-size: 14px;
    }
    .ark-no-comments i { display: block; font-size: 28px; margin-bottom: 10px; opacity: .5; }

    /* ── COMMENT CARD (Grid: avatar col + content) ── */
    .ark-comment {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 0 14px;
        padding: 16px;
        background: #151515;
        border: 1px solid #2a2a2a;
        border-radius: 12px;
        position: relative;
    }
    .ark-comment > * { grid-column: 2; }
    .ark-comment > .ark-avatar {
        grid-column: 1;
        grid-row: 1 / 3;
        align-self: start;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 2px solid #2a2a2a;
        object-fit: cover;
        flex-shrink: 0;
    }

    /* ── Comment background skin (selected from profile picker) ── */
    .ark-comment.has-comment-bg {
        overflow: hidden;
        border-color: var(--comment-glow-border, rgba(255,215,0,.35));
        background: #151515;
        box-shadow: 0 0 20px var(--comment-glow-shadow, rgba(255,215,0,.10));
    }
    .ark-comment.has-comment-bg:hover {
        border-color: var(--comment-glow-color, rgba(255,215,0,.55));
        box-shadow: 0 0 30px var(--comment-glow-shadow, rgba(255,215,0,.20));
    }
    .ark-comment.has-comment-bg::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 30%;
        background: var(--comment-bg-fill, none);
        background-size: var(--comment-bg-size, cover);
        background-position: var(--comment-bg-position, 70% 50%);
        background-repeat: no-repeat;
        opacity: var(--comment-bg-opacity, 0.4);
        mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 80%, rgba(0,0,0,1) 100%);
        -webkit-mask-image: linear-gradient(to right, rgba(0,0,0,0) 0%, rgba(0,0,0,0.6) 30%, rgba(0,0,0,1) 80%, rgba(0,0,0,1) 100%);
        pointer-events: none;
        z-index: 0;
    }
    .ark-comment.has-comment-bg > * {
        position: relative;
        z-index: 1;
    }
    .ark-comment.has-comment-bg > .ark-avatar,
    .ark-comment.has-comment-bg .ark-avatar-link .ark-avatar {
        border: 2px solid var(--comment-glow-color, #ffd700);
        box-shadow: 0 0 10px var(--comment-glow-avatar-shadow, rgba(255,215,0,0.3));
    }

    /* Keep admin identity styling independent of background selection. */
    .ark-comment.is-admin-comment .ark-comment-author {
        color: #ffd700;
        font-weight: 700;
        background: linear-gradient(90deg, #ffd700, #ffec8b, #ffd700);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: ark-shimmer 3s linear infinite;
    }
    @keyframes ark-shimmer {
        0%   { background-position: 0% 50%; }
        100% { background-position: 200% 50%; }
    }

    /* Premium comment card */
    .ark-comment.is-premium-comment {
        border-color: var(--comment-glow-border, rgba(255,215,0,.35));
        box-shadow: 0 0 20px var(--comment-glow-shadow, rgba(255,215,0,.10));
        overflow: hidden;
    }
    .ark-comment.is-premium-comment .ark-comment-author {
        background: linear-gradient(90deg, #ffd700, #ffec8b, #ffd700);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
        animation: ark-shimmer 3s linear infinite;
    }

    /* ── Comment Header ── */
    .ark-comment-header {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: wrap;
        margin-bottom: 4px;
    }
    .ark-comment-author {
        font-size: 14px;
        font-weight: 600;
        color: #e5e5e5;
    }
    a.ark-profile-link { text-decoration: none; color: inherit; }
    a.ark-profile-link .ark-comment-author { transition: color .15s; }
    a.ark-profile-link:hover .ark-comment-author { color: var(--ark-comments-accent); }
    a.ark-avatar-link {
        grid-column: 1; grid-row: 1 / 3; align-self: start;
        display: block; flex-shrink: 0;
        width: 44px; height: 44px;
        border-radius: 50%; overflow: hidden;
    }
    a.ark-avatar-link .ark-avatar {
        width: 100%; height: 100%;
        border-radius: 50%;
        border: 2px solid #2a2a2a;
        object-fit: cover;
        display: block;
        transition: border-color .15s;
    }
    a.ark-avatar-link:hover .ark-avatar { border-color: var(--ark-comments-accent); }
    .ark-comment-time {
        margin-left: auto;
        font-size: 12px;
        color: #555;
        white-space: nowrap;
    }

    /* Badges */
    .ark-comment-badges {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        flex-wrap: wrap;
    }
    .ark-comment-badge {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 3px 10px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .3px;
    }
    .ark-comment-badge i { font-size: 10px; }
    .ark-badge-admin { color: #ffd700; background: rgba(255,215,0,.15); border: 1px solid rgba(255,215,0,.3); }
    .ark-badge-translator { color: #60a5fa; background: rgba(96,165,250,.15); border: 1px solid rgba(96,165,250,.3); }
    .ark-badge-team { color: #d1d5db; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); }
    .ark-badge-premium { color: #ffd700; background: rgba(255,215,0,.15); border: 1px solid rgba(255,215,0,.3); }
    .ark-badge-role { color: #34d399; background: rgba(52,211,153,0.15); border: 1px solid rgba(52,211,153,0.3); }
    .ark-badge-level {
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 50px;
        letter-spacing: .3px;
        border: 1px solid;
    }
    /* @mention styling */
    .ark-mention {
        color: var(--ark-comments-accent);
        font-weight: 600;
        cursor: pointer;
        transition: opacity .15s;
    }
    .ark-mention:hover { opacity: 0.8; text-decoration: underline; }

    /* ── Comment Body ── */
    .ark-comment-body {
        font-size: 14px;
        line-height: 1.6;
        color: #e5e5e5;
        margin-bottom: 10px;
        overflow-wrap: break-word;
        word-break: break-word;
    }
    .ark-comment-body img:not(.ark-sticker) {
        max-width: min(100%, 260px);
        max-height: 220px;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 8px;
        vertical-align: middle;
    }

    /* Inline Spoiler (Discord-style ||text||) */
    .ark-spoiler {
        display: inline;
        padding: 2px 6px;
        border-radius: 4px;
        background: #444;
        color: transparent;
        cursor: pointer;
        transition: color .2s, background .2s;
        user-select: none;
        caret-color: transparent;
        text-decoration: none;
    }
    .ark-spoiler::selection { background: transparent; }
    .ark-spoiler.revealed {
        color: #e5e5e5;
        background: rgba(255,255,255,.1);
        cursor: text;
        user-select: auto;
        caret-color: auto;
    }

    /* Comment Image */
    .ark-comment-image { margin-bottom: 10px; }
    .ark-comment-image img {
        max-width: 100%;
        max-height: 300px;
        border-radius: 10px;
        border: 1px solid #2a2a2a;
        object-fit: contain;
        cursor: pointer;
    }

    /* ── COMMENT FOOTER (Voting & Actions) ── */
    .ark-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .ark-voting { display: flex; align-items: center; gap: 4px; }

    .ark-vote-btn {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        padding: 4px 10px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        border: none;
        background: transparent;
        color: #888;
        font-family: inherit;
        transition: background .15s, color .15s;
    }
    .ark-vote-btn i { font-size: 14px; pointer-events: none; }
    .ark-vote-btn .ark-vcount { font-size: 12px; font-weight: 600; pointer-events: none; }

    .ark-vote-btn[data-type="like"]:hover { color: #00c853; background: rgba(0,200,83,.1); }
    .ark-vote-btn[data-type="like"].voted { color: #00c853; }
    .ark-vote-btn[data-type="dislike"]:hover { color: #ef4444; background: rgba(239,68,68,.1); }
    .ark-vote-btn[data-type="dislike"].voted { color: #ef4444; }

    .ark-reply-btn {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
        border-radius: 8px;
        cursor: pointer;
        border: none;
        background: transparent;
        color: #888;
        font-size: 13px;
        font-family: inherit;
        transition: background .15s, color .15s;
    }
    .ark-reply-btn:hover { background: #2a2a2a; color: #ccc; }

    .ark-edit-btn, .ark-delete-btn, .ark-report-btn {
        background: transparent;
        border: none;
        color: #888;
        cursor: pointer;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        padding: 4px 6px;
        border-radius: 8px;
        transition: background .15s, color .15s;
    }
    .ark-edit-btn:hover { color: var(--ark-comments-accent); background: var(--ark-comments-accent-soft); }
    .ark-delete-btn:hover { color: #ef4444; background: rgba(239,68,68,.1); }
    .ark-report-btn:hover { color: #f59e0b; background: rgba(245,158,11,.1); }

    /* Pinned comments */
    .ark-pin-btn {
        background: transparent;
        border: none;
        color: #888;
        cursor: pointer;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        padding: 4px 6px;
        border-radius: 8px;
        transition: background .15s, color .15s;
    }
    .ark-pin-btn:hover { color: #f1c40f; background: rgba(241,196,15,.1); }
    .ark-pin-btn.is-pinned { color: #f1c40f; }
    .ark-pinned-badge {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        font-size: 11px;
        font-weight: 600;
        color: #f1c40f;
        margin-left: 6px;
        padding: 2px 8px;
        background: rgba(241,196,15,.12);
        border-radius: 6px;
    }
    .ark-pinned-badge i { font-size: 10px; }
    .ark-comment.is-pinned-comment { border-left: 3px solid #f1c40f; padding-left: 16px; }

    /* Comment report modal */
    .ark-report-modal-bg { position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:9998;opacity:0;pointer-events:none;transition:opacity .2s; }
    .ark-report-modal-bg.on { opacity:1;pointer-events:auto; }
    .ark-report-modal { position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.95);z-index:9999;width:90%;max-width:380px;background:#1a1a2e;border:1px solid rgba(255,255,255,.1);border-radius:16px;padding:20px;opacity:0;pointer-events:none;transition:all .2s; }
    .ark-report-modal.on { opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1); }
    .ark-report-modal h3 { font-size:16px;font-weight:700;color:#fff;margin:0 0 14px;display:flex;align-items:center;gap:8px; }
    .ark-report-modal label { display:block;padding:8px 12px;border-radius:8px;cursor:pointer;font-size:13px;color:#d1d5db;transition:background .15s; }
    .ark-report-modal label:hover { background:rgba(255,255,255,.06); }
    .ark-report-modal label input { margin-right:8px; }
    .ark-report-modal textarea { width:100%;box-sizing:border-box;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);border-radius:10px;color:#e5e7eb;font-size:13px;padding:10px;min-height:60px;margin-top:10px;resize:vertical; }
    .ark-report-modal .ark-rm-btns { display:flex;gap:8px;justify-content:flex-end;margin-top:12px; }
    .ark-report-modal .ark-rm-btn { padding:8px 16px;border-radius:99px;font-size:13px;font-weight:600;cursor:pointer;border:none; }
    .ark-rm-cancel { background:rgba(255,255,255,.08);color:#9ca3af; }
    .ark-rm-submit { background:#f59e0b;color:#1a1a2e; }
    .ark-rm-submit:disabled { opacity:.5;cursor:not-allowed; }

    /* ── NESTED REPLIES ── */
    .ark-show-replies {
        background: none;
        border: none;
        color: var(--ark-comments-accent);
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        font-family: inherit;
        padding: 8px 0;
        margin-top: 8px;
        transition: color .15s;
    }
    .ark-show-replies:hover { color: var(--ark-comments-accent-hover); }

    .ark-replies {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid rgba(255,255,255,.06);
        display: flex;
        flex-direction: column;
    }

    /* Reply card overrides */
    .ark-comment.is-reply {
        grid-template-columns: 36px 1fr;
        gap: 0 10px;
        padding: 10px 0;
        background: transparent;
        border: none;
        border-radius: 0;
        border-top: 1px solid rgba(255,255,255,.06);
    }
    .ark-comment.is-reply:first-child { border-top: none; padding-top: 0; }
    .ark-comment.is-reply > .ark-avatar {
        width: 36px;
        height: 36px;
    }
    .ark-comment.is-reply > .ark-avatar-link {
        width: 36px;
        height: 36px;
    }

    .ark-reply-indicator {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--ark-comments-accent);
        font-size: 12px;
        margin-bottom: 2px;
    }
    .ark-reply-indicator i { font-size: 10px; }

    /* Inline reply form */
    .ark-reply-form { display: none; margin-top: 12px; }
    .ark-reply-form.open { display: flex; gap: 10px; align-items: flex-start; }
    .ark-reply-form .ark-editable {
        flex: 1;
        background: rgba(13,13,13,.47);
        border: 1px solid #2a2a2a;
        border-radius: 10px;
        color: #e5e5e5;
        font-size: 13px;
        font-family: inherit;
        padding: 12px 14px;
        min-height: 70px;
        max-height: 200px;
        overflow-y: auto;
        outline: none;
        transition: border-color .15s;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    .ark-reply-form .ark-editable:empty::before {
        content: attr(data-placeholder);
        color: #555;
        pointer-events: none;
    }
    .ark-reply-form .ark-editable:focus { border-color: #444; }
    .ark-btn-reply-submit {
        background: var(--ark-comments-accent);
        border: none;
        color: var(--ark-comments-accent-ink);
        border-radius: 8px;
        padding: 8px 16px;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
        font-family: inherit;
        transition: background .15s;
        align-self: flex-end;
        white-space: nowrap;
    }
    .ark-btn-reply-submit:hover { background: var(--ark-comments-accent-hover); }
    .ark-btn-reply-submit:disabled,
    .ark-btn-save-edit:disabled {
        opacity: .5;
        cursor: not-allowed;
    }

    .ark-edit-form .ark-edit-textarea {
        min-height: 80px;
        margin-bottom: 8px;
        border-top: 0;
        border-radius: 0 0 10px 10px;
    }
    .ark-edit-form-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        flex-wrap: wrap;
    }
    .ark-edit-form-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }
    .ark-btn-cancel-edit,
    .ark-btn-save-edit {
        min-height: 32px;
        padding: 6px 12px;
        border-radius: 8px;
        font: inherit;
        font-size: 12px;
        font-weight: 600;
        cursor: pointer;
    }
    .ark-btn-cancel-edit {
        border: 1px solid #2a2a2a;
        background: transparent;
        color: #999;
    }
    .ark-btn-cancel-edit:hover { border-color: #444; color: #ccc; }
    .ark-btn-save-edit {
        border: 0;
        background: var(--ark-comments-accent);
        color: var(--ark-comments-accent-ink);
    }
    .ark-btn-save-edit:hover:not(:disabled) { background: var(--ark-comments-accent-hover); }
    .ark-btn-cancel-edit:focus-visible,
    .ark-btn-save-edit:focus-visible,
    .ark-btn-reply-submit:focus-visible,
    .ark-btn-submit:focus-visible {
        outline: 2px solid var(--ark-comments-accent);
        outline-offset: 2px;
    }

    /* ── LOAD MORE ── */
    .ark-load-more {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        width: 100%;
        padding: 10px 24px;
        border: 1px solid rgba(255,255,255,.1);
        border-radius: 8px;
        background: rgba(255,255,255,.05);
        color: #888;
        font-size: 13px;
        font-weight: 500;
        cursor: pointer;
        font-family: inherit;
        margin-top: 16px;
        transition: background .15s, color .15s;
    }
    .ark-load-more:hover { background: rgba(255,255,255,.10); color: #ccc; }

    /* ── STICKER POPUP (fixed to body) ── */
    .ark-sticker-overlay {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 10000;
        background: transparent;
    }
    .ark-sticker-overlay.open { display: block; }
    .ark-sticker-popup {
        position: fixed;
        z-index: 10001;
        width: 340px;
        max-height: 400px;
        background: var(--ac-surface-3, #2b2d31);
        border: 1px solid var(--ac-border, #3f4147);
        border-radius: 14px;
        box-shadow: 0 12px 48px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
        display: flex;
        flex-direction: column;
        overflow: hidden;
        animation: arkStkFadeIn .15s ease;
    }
    @keyframes arkStkFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
    .ark-sticker-popup-header {
        padding: 10px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        display: flex;
        align-items: center;
        gap: 8px;
        flex-shrink: 0;
    }
    .ark-sticker-popup-close {
        width: 28px; height: 28px; border-radius: 6px; border: none;
        background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5);
        cursor: pointer; font-size: 14px; display: flex; align-items: center;
        justify-content: center; flex-shrink: 0; transition: all .12s;
    }
    .ark-sticker-popup-close:hover { background: rgba(255,255,255,0.12); color: #fff; }
    .ark-sticker-search {
        flex: 1;
        height: 34px;
        padding: 0 12px;
        background: rgba(255,255,255,0.06);
        border: 1px solid rgba(255,255,255,0.08);
        border-radius: 8px;
        color: #fff;
        font-size: 13px;
        outline: none;
        font-family: inherit;
    }
    .ark-sticker-search:focus { border-color: rgba(255,255,255,0.2); }
    .ark-sticker-search::placeholder { color: rgba(255,255,255,0.3); }
    .ark-sticker-cats {
        display: flex;
        gap: 4px;
        padding: 6px 14px;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        overflow-x: auto;
        scrollbar-width: none;
        flex-shrink: 0;
    }
    .ark-sticker-cats::-webkit-scrollbar { display: none; }
    .ark-sticker-cat-btn {
        padding: 5px 12px;
        border-radius: 8px;
        border: 1px solid rgba(255,255,255,0.08);
        background: transparent;
        color: rgba(255,255,255,0.5);
        font-size: 11px;
        cursor: pointer;
        white-space: nowrap;
        font-family: inherit;
        transition: all .15s;
    }
    .ark-sticker-cat-btn:hover { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
    .ark-sticker-cat-btn.active { background: var(--ark-comments-accent); color: var(--ark-comments-accent-ink); border-color: var(--ark-comments-accent); }
    .ark-sticker-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        padding: 12px 14px;
        overflow-y: auto;
        flex: 1;
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.15) transparent;
    }
    .ark-sticker-grid::-webkit-scrollbar { width: 4px; }
    .ark-sticker-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }
    .ark-sticker-item {
        aspect-ratio: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        border-radius: 10px;
        cursor: pointer;
        transition: background .12s, transform .12s;
        background: rgba(255,255,255,0.03);
        border: none;
    }
    .ark-sticker-item:hover { background: rgba(255,255,255,0.1); transform: scale(1.06); }
    .ark-sticker-item:active { transform: scale(0.95); }
    .ark-sticker-item img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        border-radius: 4px;
        pointer-events: none;
    }
    .ark-sticker-empty {
        grid-column: 1/-1;
        text-align: center;
        color: rgba(255,255,255,0.35);
        font-size: 13px;
        padding: 32px 0;
    }
    /* Rendered sticker in comment body */
    .ark-sticker {
        display: inline-block;
        width: 80px;
        height: 80px;
        max-width: 80px;
        max-height: 80px;
        object-fit: contain;
        vertical-align: middle;
        margin: 4px 2px;
        border-radius: 4px;
    }

    /* ── MOBILE-FIRST (Touch Targets & Stacking) ── */
    @media (max-width: 639px) {
        .ark-comments-header {
            flex-direction: column;
            align-items: stretch;
            gap: 12px;
        }
        .ark-comment-tabs {
            width: 100%;
            overflow-x: auto;
            scrollbar-width: none;
            -webkit-overflow-scrolling: touch;
        }
        .ark-comment-tabs::-webkit-scrollbar { display: none; }

        .ark-ctab,
        .ark-upload-btn,
        .ark-btn-submit,
        .ark-login-btn,
        .ark-vote-btn,
        .ark-reply-btn,
        .ark-edit-btn,
        .ark-delete-btn,
        .ark-report-btn,
        .ark-btn-reply-submit,
        .ark-load-more,
        .ark-show-replies,
        .ark-toolbar-btn {
            min-height: 44px !important;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .ark-comment {
            grid-template-columns: 36px 1fr;
            gap: 0 10px;
            padding: 14px;
        }
        .ark-comment > .ark-avatar,
        .ark-comment > .ark-avatar-link {
            width: 36px;
            height: 36px;
        }
        .ark-comment.is-reply {
            grid-template-columns: 30px 1fr;
        }
        .ark-comment.is-reply > .ark-avatar,
        .ark-comment.is-reply > .ark-avatar-link {
            width: 30px;
            height: 30px;
        }

        .ark-form-inner { padding: 12px; gap: 10px; }
        .ark-form-avatar img { width: 34px; height: 34px; }
        .ark-form-footer {
            flex-direction: column;
            align-items: stretch;
            gap: 10px;
        }
        .ark-form-tools { justify-content: space-between; width: 100%; }
        .ark-btn-submit { width: 100%; justify-content: center; }

        .ark-toolbar { padding: 8px 10px; overflow-x: auto; }

        .ark-reply-form.open {
            flex-direction: column;
            align-items: stretch;
        }
        .ark-reply-form .ark-editable { min-height: 70px; }
        .ark-btn-reply-submit { width: 100%; text-align: center; justify-content: center; }

        .ark-comment.is-admin-comment::before {
            left: 30%;
            opacity: 0.12;
        }

        .ark-comment-time { margin-left: 0; }
        .ark-comment-header { flex-wrap: wrap; }

        /* Sticker popup mobile — bottom sheet */
        .ark-sticker-overlay.open { background: rgba(0,0,0,0.5); }
        .ark-sticker-popup {
            position: fixed !important;
            top: auto !important;
            left: 0 !important;
            right: 0 !important;
            bottom: 0 !important;
            width: 100% !important;
            max-height: 70vh !important;
            border-radius: 18px 18px 0 0 !important;
            animation: arkStkSlideUp .2s ease !important;
        }
        @keyframes arkStkSlideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
        .ark-sticker-grid { grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px; }
        .ark-sticker-item { min-height: 48px; padding: 8px; }
        .ark-sticker-cat-btn { padding: 8px 14px; font-size: 12px; min-height: 36px; display: flex; align-items: center; }
        .ark-sticker-search { height: 40px; font-size: 14px; }
        .ark-sticker-popup-close { width: 36px; height: 36px; font-size: 16px; }
    }

    /* ══════════════════════════════════════════════
       LIGHT MODE OVERRIDES
    ══════════════════════════════════════════════ */
    [data-theme="light"] .ark-comments-title { color: var(--ac-text, #1a1a2e); }

    /* Tabs */
    [data-theme="light"] .ark-ctab { color: rgba(0,0,0,.45); }
    [data-theme="light"] .ark-ctab:hover { color: rgba(0,0,0,.7); }
    [data-theme="light"] .ark-ctab.active { background: var(--ark-comments-accent); color: var(--ark-comments-accent-ink); }

    /* Form */
    [data-theme="light"] .ark-post-form { background: #fff; border-color: #e0e0e0; }
    [data-theme="light"] .ark-toolbar { background: #f5f5f5; border-color: #e0e0e0; }
    [data-theme="light"] .ark-toolbar-btn { color: rgba(0,0,0,.45); }
    [data-theme="light"] .ark-toolbar-btn:hover { background: #e0e0e0; color: rgba(0,0,0,.7); }
    [data-theme="light"] .ark-form-tool-btn { border-color: #e0e0e0; }
    [data-theme="light"] .ark-toolbar-divider { background: #e0e0e0; }
    [data-theme="light"] .ark-editable { background: #f9f9f9; border-color: #e0e0e0; color: var(--ac-text, #1a1a2e); }
    [data-theme="light"] .ark-editable:focus { border-color: #bbb; }
    [data-theme="light"] .ark-editable:empty::before { color: #aaa; }
    [data-theme="light"] .ark-toolbar-btn.active { background: #e0e0e0; color: #9a6b18; }
    [data-theme="light"] .ark-char-counter { color: #666; }
    [data-theme="light"] .ark-char-counter.is-under,
    [data-theme="light"] .ark-char-counter.is-over { color: #b42318; }
    [data-theme="light"] .ark-char-counter.is-valid { color: #327358; }
    [data-theme="light"] .ark-btn-cancel-edit { border-color: #d8d8d8; color: #555; }
    [data-theme="light"] .ark-btn-cancel-edit:hover { border-color: #aaa; color: #222; }

    /* Form tools */
    [data-theme="light"] .ark-upload-btn { color: rgba(0,0,0,.5); border-color: #e0e0e0; }
    [data-theme="light"] .ark-upload-btn:hover { border-color: #bbb; color: rgba(0,0,0,.7); }
    [data-theme="light"] .ark-image-preview { background: #f5f5f5; border-color: #e0e0e0; }
    [data-theme="light"] .ark-image-preview span { color: rgba(0,0,0,.65); }
    [data-theme="light"] .ark-image-remove { background: rgba(0,0,0,.08); color: #333; }

    /* Login prompt */
    [data-theme="light"] .ark-login-prompt { background: #fff; border-color: #e0e0e0; }
    [data-theme="light"] .ark-login-prompt p { color: rgba(0,0,0,.5); }

    /* Comment card */
    [data-theme="light"] .ark-comment { background: #fff; border-color: #e0e0e0; }
    [data-theme="light"] .ark-comment > .ark-avatar { border-color: #e0e0e0; }
    [data-theme="light"] .ark-avatar-link .ark-avatar { border-color: #e0e0e0; }
    [data-theme="light"] .ark-comment.is-reply { border-color: rgba(0,0,0,.06); background: transparent; }

    /* Admin comment light */
    [data-theme="light"] .ark-comment.is-admin-comment {
        background: #fffdf5;
        border-color: rgba(184,151,0,.45);
        box-shadow: 0 0 20px rgba(184,151,0,.08);
    }
    [data-theme="light"] .ark-comment.is-admin-comment:hover {
        border-color: rgba(184,151,0,.65);
    }
    [data-theme="light"] .ark-comment.is-admin-comment::before { opacity: 0.08; }
    [data-theme="light"] .ark-comment.is-admin-comment > .ark-avatar,
    [data-theme="light"] .ark-comment.is-admin-comment .ark-avatar-link .ark-avatar {
        border-color: #b89700;
        box-shadow: 0 0 8px rgba(184,151,0,.25);
    }
    [data-theme="light"] .ark-comment.is-admin-comment .ark-comment-author {
        background: linear-gradient(90deg, #b89700, #d4af37, #b89700);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Premium comment light */
    [data-theme="light"] .ark-comment.is-premium-comment {
        border-color: rgba(184,151,0,.35);
        box-shadow: 0 0 15px rgba(184,151,0,.06);
    }
    [data-theme="light"] .ark-comment.is-premium-comment .ark-comment-author {
        background: linear-gradient(90deg, #b89700, #d4af37, #b89700);
        background-size: 200%;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    /* Author & time */
    [data-theme="light"] .ark-comment-author { color: var(--ac-text, #1a1a2e); }
    [data-theme="light"] a.ark-profile-link { color: inherit; }
    [data-theme="light"] a.ark-profile-link:hover .ark-comment-author,
    [data-theme="light"] .ark-mention,
    [data-theme="light"] .ark-reply-indicator { color: #9a6b18; }
    [data-theme="light"] a.ark-avatar-link:hover .ark-avatar { border-color: #9a6b18; }
    [data-theme="light"] .ark-comment-time { color: #aaa; }

    /* Comment body */
    [data-theme="light"] .ark-comment-body { color: rgba(0,0,0,.75); }

    /* Inline Spoiler light */
    [data-theme="light"] .ark-spoiler { background: #d0d0d0; color: transparent; }
    [data-theme="light"] .ark-spoiler.revealed { color: rgba(0,0,0,.75); background: rgba(0,0,0,.06); }

    /* Comment image */
    [data-theme="light"] .ark-comment-image img { border-color: #e0e0e0; }

    /* Action buttons */
    [data-theme="light"] .ark-vote-btn { color: rgba(0,0,0,.35); }
    [data-theme="light"] .ark-vote-btn[data-type="like"]:hover { color: #00c853; }
    [data-theme="light"] .ark-vote-btn[data-type="like"].voted { color: #00c853; }
    [data-theme="light"] .ark-vote-btn[data-type="dislike"]:hover { color: #ef4444; }
    [data-theme="light"] .ark-vote-btn[data-type="dislike"].voted { color: #ef4444; }
    [data-theme="light"] .ark-reply-btn { color: rgba(0,0,0,.35); }
    [data-theme="light"] .ark-reply-btn:hover { color: rgba(0,0,0,.7); background: rgba(0,0,0,.05); }
    [data-theme="light"] .ark-edit-btn { color: rgba(0,0,0,.35); }
    [data-theme="light"] .ark-edit-btn:hover { color: #9a6b18; }
    [data-theme="light"] .ark-delete-btn { color: rgba(0,0,0,.35); }
    [data-theme="light"] .ark-delete-btn:hover { color: #ef4444; }
    [data-theme="light"] .ark-report-btn { color: rgba(0,0,0,.35); }
    [data-theme="light"] .ark-report-btn:hover { color: #f59e0b; }

    /* Replies */
    [data-theme="light"] .ark-replies { border-color: rgba(0,0,0,.06); }
    [data-theme="light"] .ark-show-replies { color: #9a6b18; }
    [data-theme="light"] .ark-show-replies:hover { color: #7d5513; }
    [data-theme="light"] .ark-comment.is-reply { border-color: rgba(0,0,0,.06); }

    /* Reply form */
    [data-theme="light"] .ark-reply-form .ark-editable { background: #f9f9f9; border-color: #e0e0e0; color: var(--ac-text, #1a1a2e); }
    [data-theme="light"] .ark-reply-form .ark-editable:focus { border-color: #bbb; }

    /* Load more */
    [data-theme="light"] .ark-load-more { background: rgba(0,0,0,.03); border-color: #e0e0e0; color: rgba(0,0,0,.5); }
    [data-theme="light"] .ark-load-more:hover { background: rgba(0,0,0,.06); color: var(--ac-text, #1a1a2e); }

    /* Badges light */
    [data-theme="light"] .ark-badge-team { color: #555; background: rgba(0,0,0,.06); border-color: rgba(0,0,0,.15); }

    /* Report modal light */
    [data-theme="light"] .ark-report-modal { background: #fff; border-color: rgba(0,0,0,.1); }
    [data-theme="light"] .ark-report-modal h3 { color: #1a1a2e; }
    [data-theme="light"] .ark-report-modal label { color: #374151; }
    [data-theme="light"] .ark-report-modal textarea { background: rgba(0,0,0,.04); border-color: rgba(0,0,0,.1); color: #1a1a2e; }
    [data-theme="light"] .ark-rm-cancel { background: rgba(0,0,0,.06); color: #6b7280; }

    /* Sticker popup light */
    [data-theme="light"] .ark-sticker-popup { background: #fff; border-color: #e0e0e0; box-shadow: 0 12px 48px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.04); }
    [data-theme="light"] .ark-sticker-popup-header { border-color: rgba(0,0,0,0.06); }
    [data-theme="light"] .ark-sticker-popup-close { background: rgba(0,0,0,0.05); color: rgba(0,0,0,0.45); }
    [data-theme="light"] .ark-sticker-popup-close:hover { background: rgba(0,0,0,0.1); color: rgba(0,0,0,0.7); }
    [data-theme="light"] .ark-sticker-search { background: rgba(0,0,0,0.04); border-color: rgba(0,0,0,0.08); color: var(--ac-text, #1a1a2e); }
    [data-theme="light"] .ark-sticker-search:focus { border-color: rgba(0,0,0,0.2); }
    [data-theme="light"] .ark-sticker-search::placeholder { color: rgba(0,0,0,0.3); }
    [data-theme="light"] .ark-sticker-cats { border-color: rgba(0,0,0,0.06); }
    [data-theme="light"] .ark-sticker-cat-btn { color: rgba(0,0,0,0.45); border-color: rgba(0,0,0,0.08); }
    [data-theme="light"] .ark-sticker-cat-btn:hover { color: rgba(0,0,0,0.7); border-color: rgba(0,0,0,0.2); }
    [data-theme="light"] .ark-sticker-cat-btn.active { background: var(--ark-comments-accent); color: var(--ark-comments-accent-ink); border-color: var(--ark-comments-accent); }
    [data-theme="light"] .ark-sticker-item { background: rgba(0,0,0,0.02); }
    [data-theme="light"] .ark-sticker-item:hover { background: rgba(0,0,0,0.06); }
    [data-theme="light"] .ark-sticker-empty { color: rgba(0,0,0,0.35); }
    [data-theme="light"] .ark-sticker-grid { scrollbar-color: rgba(0,0,0,0.1) transparent; }
