/* START: Activity Stream Container - Light */
html.light-mode .entry-content {
    background: transparent !important;
    background-color: transparent !important;
}

html.light-mode .kol-as-container {
    max-width: 680px;
    margin: 0 auto;
    background: transparent !important;
    background-color: transparent !important;
    border-radius: 8px;
    padding: 8px;
}

html.light-mode .kol-as-single-activity-page {
    max-width: 680px;
    margin: 0 auto;
}
/* END: Activity Stream Container - Light */

/* START: Feed Header - Light */
html.light-mode .kol-as-feed-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

html.light-mode .kol-as-feed-tabs {
    display: flex;
    flex: 1;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
    min-width: 0;
}

html.light-mode .kol-as-feed-tabs::-webkit-scrollbar {
    display: none;
}

html.light-mode .kol-as-tab {
    background: transparent;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #6b7280;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
    flex-shrink: 0;
}

html.light-mode .kol-as-tab:hover {
    background: #f3f4f6;
    color: #1f2937;
}

html.light-mode .kol-as-tab-active {
    background: #ffffff;
    color: #1f2937;
}

html.light-mode .kol-as-feed-sort {
    position: relative;
    flex-shrink: 0;
    margin-left: auto;
}

html.light-mode .kol-as-sort-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    padding: 8px 12px;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.15s, background 0.15s, color 0.15s;
}

html.light-mode .kol-as-sort-toggle:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

html.light-mode .kol-as-sort-current-label {
    white-space: nowrap;
}

html.light-mode .kol-as-sort-chevron {
    font-size: 11px;
    transition: transform 0.15s ease;
}

html.light-mode .kol-as-sort-open .kol-as-sort-chevron {
    transform: rotate(180deg);
}

html.light-mode .kol-as-sort-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    display: none;
    min-width: 180px;
    padding: 6px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    z-index: 30;
}

html.light-mode .kol-as-sort-open .kol-as-sort-menu {
    display: block;
}

html.light-mode .kol-as-sort-option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    padding: 10px 12px;
    color: #374151;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
}

html.light-mode .kol-as-sort-option:hover {
    background: #f3f4f6;
    color: #111827;
}

html.light-mode .kol-as-sort-option i {
    opacity: 0;
    color: #2563eb;
    font-size: 12px;
}

html.light-mode .kol-as-sort-option-active {
    background: #eff6ff;
    color: #1d4ed8;
}

html.light-mode .kol-as-sort-option-active i {
    opacity: 1;
}
/* END: Feed Header - Light */

/* START: Composer - Light */
html.light-mode .kol-as-composer-wrap {
    margin-bottom: 12px;
}

html.light-mode .kol-as-composer-card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    padding: 12px;
    position: relative;
}

html.light-mode .kol-as-composer-header {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

html.light-mode .kol-as-composer-avatar-link {
    flex-shrink: 0;
}

html.light-mode .kol-as-composer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-as-composer-input-area {
    flex: 1;
    min-width: 0;
}

html.light-mode .kol-as-composer-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    font-family: inherit;
    resize: vertical;
    max-height: 120px;
    outline: none;
    transition: border-color 0.15s;
}

html.light-mode .kol-as-composer-input:focus {
    border-color: #3b82f6;
}

html.light-mode .kol-as-composer-input::placeholder {
    color: #9ca3af;
}

html.light-mode .kol-as-composer-char-count {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 4px;
    text-align: right;
}

html.light-mode .kol-as-composer-emoji-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

html.light-mode .kol-as-composer-emoji-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #f8fafc;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

html.light-mode .kol-as-composer-emoji-btn:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

html.light-mode .kol-as-composer-media-section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

html.light-mode .kol-as-media-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

html.light-mode .kol-as-media-icon-btn {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 16px;
    transition: background 0.15s, border-color 0.15s;
}

html.light-mode .kol-as-media-icon-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

html.light-mode .kol-as-selected-files {
    margin-bottom: 10px;
}

html.light-mode .kol-as-files-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    margin-bottom: 6px;
}

html.light-mode .kol-as-files-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

html.light-mode .kol-as-file-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 8px;
    background: #f9fafb;
    border-radius: 6px;
    margin-bottom: 4px;
    font-size: 13px;
}

html.light-mode .kol-as-file-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

html.light-mode .kol-as-file-name {
    color: #1f2937;
    word-break: break-word;
}

html.light-mode .kol-as-file-size {
    color: #9ca3af;
    font-size: 12px;
}

html.light-mode .kol-as-file-remove {
    background: transparent;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
    flex-shrink: 0;
}

html.light-mode .kol-as-file-remove:hover {
    color: #dc2626;
}

html.light-mode .kol-as-upload-limits {
    margin-bottom: 10px;
    padding: 8px;
    background: #f0fdf4;
    border-left: 3px solid #22c55e;
    border-radius: 4px;
}

html.light-mode .kol-as-limits-label {
    font-size: 12px;
    font-weight: 600;
    color: #166534;
    text-transform: uppercase;
    margin-bottom: 4px;
}

html.light-mode .kol-as-limits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
    color: #15803d;
}

html.light-mode .kol-as-limits-list li {
    padding: 2px 0;
}

html.light-mode .kol-as-upload-errors {
    margin-bottom: 10px;
    padding: 8px;
    background: #fef2f2;
    border-left: 3px solid #ef4444;
    border-radius: 4px;
}

html.light-mode .kol-as-upload-error-item {
    font-size: 12px;
    color: #991b1b;
    padding: 3px 0;
}

html.light-mode .kol-as-inline-edit-wrap {
    margin-top: 8px;
}

html.light-mode .kol-as-inline-edit-textarea {
    width: 100%;
    min-height: 100px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #1f2937;
    background: #ffffff;
    resize: vertical;
}

html.light-mode .kol-as-inline-edit-actions {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

html.light-mode .kol-as-edit-save,
html.light-mode .kol-as-edit-cancel {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
}

html.light-mode .kol-as-edit-save {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

html.light-mode .kol-as-edit-cancel {
    background: #ffffff;
    color: #374151;
}

html.light-mode .kol-as-composer-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #e5e7eb;
}

html.light-mode .kol-as-composer-left {
    flex: 1;
}

html.light-mode .kol-as-composer-media-toggle {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 14px;
    transition: background 0.15s;
}

html.light-mode .kol-as-composer-media-toggle:hover {
    background: #f3f4f6;
}

html.light-mode .kol-as-composer-right {
    display: flex;
    gap: 8px;
}

html.light-mode .kol-as-composer-cancel {
    background: transparent;
    border: 1px solid #e5e7eb;
    padding: 6px 16px;
    border-radius: 6px;
    cursor: pointer;
    color: #6b7280;
    font-size: 13px;
    font-weight: 500;
    transition: background 0.15s;
}

html.light-mode .kol-as-composer-cancel:hover {
    background: #f3f4f6;
}

html.light-mode .kol-as-composer-post {
    background: linear-gradient(to bottom, #2d7c2d, #1f5f1f);
    border-top: 1px solid #3d9d3d;
    border-left: 1px solid #3d9d3d;
    border-right: 1px solid #1a4d1a;
    border-bottom: 1px solid #1a4d1a;
    height: 32px;
    padding: 0 15px;
    border-radius: 6px;
    color: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    transition: opacity 0.15s;
}

html.light-mode .kol-as-composer-post:hover:not(:disabled) {
    opacity: 0.95;
}

html.light-mode .kol-as-composer-post:disabled {
    opacity: 0.5;
    cursor: default;
}

html.light-mode .kol-as-inline-message {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    z-index: 10000;
    box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}

html.light-mode .kol-as-inline-message-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 3px solid #10b981;
}

html.light-mode .kol-as-inline-message-error {
    background: #fee2e2;
    color: #7f1d1d;
    border-left: 3px solid #ef4444;
}
/* END: Composer - Light */

/* START: Stories - Light */
html.light-mode .kol-as-stories-module {
    margin: -2px 0 14px;
    position: relative;
}

html.light-mode .kol-as-stories-rail-wrap {
    position: relative;
}

html.light-mode .kol-as-stories-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 8px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}

html.light-mode .kol-as-story-items {
    display: flex;
    gap: 8px;
}

html.light-mode .kol-as-story-create-card,
html.light-mode .kol-as-story-card {
    width: 128px;
    height: 212px;
    flex: 0 0 128px;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
    padding: 0;
    text-align: left;
}

html.light-mode .kol-as-story-create-card {
    background: #ffffff;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.16);
}

html.light-mode .kol-as-story-create-preview {
    display: block;
    height: 154px;
    background: #e5e7eb;
    overflow: hidden;
}

html.light-mode .kol-as-story-create-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

html.light-mode .kol-as-story-create-plus {
    position: absolute;
    left: 50%;
    top: 136px;
    width: 42px;
    height: 42px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: #1877f2;
    border: 4px solid #ffffff;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
}

html.light-mode .kol-as-story-create-label {
    display: flex;
    min-height: 58px;
    align-items: flex-end;
    justify-content: center;
    padding: 0 10px 12px;
    color: #111827;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
}

html.light-mode .kol-as-story-card {
    background: #111827;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}

html.light-mode .kol-as-story-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #111827;
}

html.light-mode .kol-as-story-thumb-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d1d5db;
    font-size: 30px;
}

html.light-mode .kol-as-story-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.72));
}

html.light-mode .kol-as-story-avatar {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1877f2;
    background: #ffffff;
}

html.light-mode .kol-as-story-name {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 12px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.55);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

html.light-mode .kol-as-story-scroll-next {
    position: absolute;
    top: 50%;
    right: 10px;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: #374151;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

html.light-mode .kol-as-story-scroll-next[hidden] {
    display: none !important;
}

html.light-mode .kol-as-story-is-busy::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.62);
}

html.light-mode .kol-as-story-trim-modal,
html.light-mode .kol-as-story-viewer {
    position: fixed;
    inset: 0;
    z-index: 10030;
}

html.light-mode .kol-as-story-trim-modal[hidden],
html.light-mode .kol-as-story-viewer[hidden],
html.light-mode .kol-as-story-viewer-delete[hidden] {
    display: none !important;
}

html.light-mode .kol-as-story-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

html.light-mode .kol-as-story-trim-panel,
html.light-mode .kol-as-story-viewer-panel {
    position: relative;
    z-index: 1;
    width: min(430px, calc(100vw - 24px));
    margin: 32px auto;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}

html.light-mode .kol-as-story-viewer-panel {
    width: min(420px, calc(100vw - 24px));
    background: #050505;
}

html.light-mode .kol-as-story-modal-head {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 14px;
    border-bottom: 1px solid #e5e7eb;
    font-size: 15px;
    font-weight: 700;
    color: #111827;
}

html.light-mode .kol-as-story-modal-close,
html.light-mode .kol-as-story-viewer-close {
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

html.light-mode .kol-as-story-trim-video,
html.light-mode .kol-as-story-viewer-video {
    width: 100%;
    max-height: calc(100vh - 180px);
    display: block;
    background: #000000;
}

html.light-mode .kol-as-story-trim-controls {
    padding: 14px;
}

html.light-mode .kol-as-story-trim-controls label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
}

html.light-mode .kol-as-story-trim-range {
    width: 100%;
}

html.light-mode .kol-as-story-trim-times {
    display: flex;
    justify-content: space-between;
    color: #6b7280;
    font-size: 12px;
    margin-top: 8px;
}

html.light-mode .kol-as-story-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 14px 14px;
}

html.light-mode .kol-as-story-trim-cancel,
html.light-mode .kol-as-story-trim-use,
html.light-mode .kol-as-story-viewer-delete {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    height: 34px;
    padding: 0 13px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
}

html.light-mode .kol-as-story-trim-use {
    background: #1877f2;
    border-color: #1877f2;
    color: #ffffff;
}

html.light-mode .kol-as-story-viewer-close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 4;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.42);
    border-radius: 50%;
}

html.light-mode .kol-as-story-viewer-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 58px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.75);
}

html.light-mode .kol-as-story-viewer-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #1877f2;
}

html.light-mode .kol-as-story-viewer-delete {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.95);
    border-color: rgba(239, 68, 68, 0.95);
    color: #ffffff;
}

@media (max-width: 520px) {
    html.light-mode .kol-as-story-create-card,
    html.light-mode .kol-as-story-card {
        width: 108px;
        height: 180px;
        flex-basis: 108px;
    }

    html.light-mode .kol-as-story-create-preview {
        height: 130px;
    }

    html.light-mode .kol-as-story-create-plus {
        top: 112px;
    }

    html.light-mode .kol-as-story-scroll-next {
        display: none;
    }
}
/* END: Stories - Light */

/* START: Activity Item Card - Light */
html.light-mode .kol-as-activity-item {
    background: #e5e7eb;
    color: #1f2937;
    border: 0px;
    border-radius: 8px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
    padding: 4px;
    margin-bottom: 12px;
    max-width: 650px;
}

html.light-mode .kol-as-activity-item.kol-as-has-media.kol-as-media-count-1 {
    /* Preserve the media section width while accounting for the card's 4px side padding. */
    width: calc(var(--kol-as-activity-width, 650px) + 8px);
    max-width: 100%;
    box-sizing: border-box;
}

html.light-mode .kol-as-activity-header,
html.light-mode .kol-as-activity-middle {
    max-width: 650px;
    box-sizing: border-box;
}

html.light-mode .kol-as-activity-middle {
    background: #ffffff;
}

html.light-mode .kol-as-activity-footer {
    max-width: 650px;
    box-sizing: border-box;
    background: #eef2f7;
}

html.light-mode .kol-as-activity-item.kol-as-has-media.kol-as-media-count-1 .kol-as-activity-middle {
    max-width: 100%;
}

/* END: Activity Item Card - Light */

/* START: Activity Header - Light */
html.light-mode .kol-as-activity-header {
    display: flex;
    align-items: center;
    padding: 12px 12px 8px 12px;
    background: #f9fafb;
}

html.light-mode .kol-as-avatar-link {
    flex-shrink: 0;
    margin-right: 10px;
}

html.light-mode .kol-as-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-as-activity-meta {
    flex: 1;
    min-width: 0;
}

html.light-mode .kol-as-user-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.3;
}

html.light-mode .kol-as-time-ago {
    font-size: 12px;
    color: #9ca3af;
}

html.light-mode .kol-as-activity-permalink {
    text-decoration: none;
}

html.light-mode .kol-as-activity-permalink:hover {
    color: #6b7280;
    text-decoration: underline;
}

html.light-mode .kol-as-activity-actions {
    flex-shrink: 0;
    position: relative;
    overflow: visible;
}

html.light-mode .kol-as-more-btn {
    background: transparent;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    color: #9ca3af;
    border-radius: 4px;
}

html.light-mode .kol-as-more-btn:hover {
    background: #f3f4f6;
    color: #6b7280;
}

html.light-mode .kol-as-activity-actions.kol-as-menu-open .kol-as-more-btn {
    background: #f3f4f6;
    color: #6b7280;
}

html.light-mode .kol-as-activity-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 20;
    display: none;
    min-width: 164px;
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.14);
    overflow: visible;
}

html.light-mode .kol-as-activity-menu::before {
    content: '';
    position: absolute;
    top: -18px;
    left: var(--kol-as-menu-pointer-center, calc(100% - 16px));
    transform: translateX(-50%);
    width: 28px;
    height: 20px;
    background: #e5e7eb;
    clip-path: polygon(50% 0, 14% 100%, 86% 100%);
    z-index: 0;
    pointer-events: none;
}

html.light-mode .kol-as-activity-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: var(--kol-as-menu-pointer-center, calc(100% - 16px));
    transform: translateX(-50%);
    width: 24px;
    height: 18px;
    background: #ffffff;
    clip-path: polygon(50% 0, 15% 100%, 85% 100%);
    z-index: 1;
    pointer-events: none;
}

html.light-mode .kol-as-activity-actions.kol-as-menu-open .kol-as-activity-menu {
    display: block;
}

html.light-mode .kol-as-activity-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: #1f2937;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

html.light-mode .kol-as-activity-menu-item:hover {
    background: #f9fafb;
}

html.light-mode .kol-as-menu-delete {
    color: #dc2626;
}

html.light-mode .kol-as-menu-delete:hover {
    background: #fef2f2;
    color: #b91c1c;
}
/* END: Activity Header - Light */

/* START: Activity Content - Light */
html.light-mode .kol-as-activity-content {
    padding: 0 12px 8px 12px;
    background: #ffffff;
}

html.light-mode .kol-as-activity-action {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 4px;
}

html.light-mode .kol-as-activity-action a {
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
}

html.light-mode .kol-as-activity-body {
    font-size: 14px;
    color: #1f2937;
    line-height: 1.5;
    word-wrap: break-word;
}

html.light-mode .kol-as-activity-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 8px;
}
/* END: Activity Content - Light */

/* START: Engagement Meter - Light */
html.light-mode .kol-as-engagement-meter {
    padding: 6px 12px;
    background: #f3f4f6;
}

html.light-mode .kol-as-meter-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
}

html.light-mode .kol-as-meter-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.4s ease;
}

html.light-mode .kol-as-meter-cold {
    background: #9ca3af;
}

html.light-mode .kol-as-meter-warm {
    background: #f59e0b;
}

html.light-mode .kol-as-meter-hot {
    background: linear-gradient(90deg, #f97316, #ef4444);
}

html.light-mode .kol-as-meter-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    font-size: 12px;
}

html.light-mode .kol-as-meter-label {
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.5px;
}

html.light-mode .kol-as-meter-counts {
    color: #9ca3af;
    font-size: 12px;
}

html.light-mode .kol-as-count-separator {
    margin: 0 4px;
}
/* END: Engagement Meter - Light */

/* START: Reaction Summary - Light */
html.light-mode .kol-as-reaction-summary {
    display: flex;
    gap: 8px;
    padding: 4px 12px;
    flex-wrap: wrap;
    background: #eef2f7;
}

html.light-mode .kol-as-reaction-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    cursor: pointer;
}

html.light-mode .kol-as-reaction-badge-count {
    font-size: 12px;
    color: #6b7280;
}
/* END: Reaction Summary - Light */

/* START: Action Bar - Light */
html.light-mode .kol-as-action-bar {
    display: flex;
    border-top: 1px solid #e5e7eb;
    padding: 4px 8px;
    background: #e5e7eb;
}

html.light-mode .kol-as-action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

html.light-mode .kol-as-action-btn:hover {
    background: #f3f4f6;
    color: #1f2937;
}

html.light-mode .kol-as-action-btn.kol-as-reacted {
    font-weight: 600;
}
/* END: Action Bar - Light */

/* START: Reaction Picker - Light */
html.light-mode .kol-as-reaction-trigger-wrap {
    flex: 1;
    position: relative;
}

html.light-mode .kol-as-reaction-picker {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    padding: 6px 8px;
    display: flex;
    gap: 2px;
    z-index: 100;
    white-space: nowrap;
}

html.light-mode .kol-as-reaction-option {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s, background 0.15s;
}

html.light-mode .kol-as-reaction-option:hover {
    transform: scale(1.25);
    background: #f3f4f6;
}
/* END: Reaction Picker - Light */

/* START: Comments Section - Light */
html.light-mode .kol-as-comments-section {
    border-top: 1px solid #e5e7eb;
    padding: 8px 12px;
    background: #f9fafb;
}

html.light-mode .kol-as-comments-list {
    max-height: none;
    overflow-y: visible;
}

html.light-mode .kol-as-comment-item {
    display: block;
    margin-bottom: 12px;
}

html.light-mode .kol-as-comment-highlighted {
    border: 1px solid #fcd34d;
    background: #fffbeb;
    border-radius: 14px;
    padding: 12px;
}

html.light-mode .kol-as-comment-nested {
    margin-bottom: 0;
}

html.light-mode .kol-as-comment-main {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

html.light-mode .kol-as-comment-avatar-link {
    flex-shrink: 0;
}

html.light-mode .kol-as-comment-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-as-comment-body {
    flex: 1;
    min-width: 0;
}

html.light-mode .kol-as-comment-bubble {
    background: #f3f4f6;
    border-radius: 14px;
    padding: 10px 12px;
    box-shadow: inset 0 0 0 1px rgba(229, 231, 235, 0.9);
}

html.light-mode .kol-as-comment-highlight-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #b45309;
    margin: 0 0 6px 12px;
}

html.light-mode .kol-as-comment-author {
    font-weight: 600;
    font-size: 13px;
    color: #1f2937;
    text-decoration: none;
    display: block;
    margin-bottom: 2px;
}

html.light-mode .kol-as-comment-text {
    font-size: 13px;
    color: #1f2937;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}

html.light-mode .kol-as-comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 2px 12px;
}

html.light-mode .kol-as-comment-time {
    font-size: 11px;
    color: #9ca3af;
}

html.light-mode .kol-as-comment-reactions-row {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px 0;
}

html.light-mode .kol-as-comment-reactions-total {
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
}

html.light-mode .kol-as-comment-reaction-trigger-wrap {
    position: relative;
    display: inline-flex;
}

html.light-mode .kol-as-comment-meta-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
}

html.light-mode .kol-as-comment-meta-btn:hover {
    color: #1f2937;
}

html.light-mode .kol-as-comment-inline-edit-wrap {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

html.light-mode .kol-as-comment-edit-textarea {
    width: 100%;
    min-height: 72px;
    resize: none;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    background: #ffffff;
    color: #1f2937;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.5;
    font-family: inherit;
    box-sizing: border-box;
}

html.light-mode .kol-as-comment-edit-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

html.light-mode .kol-as-comment-inline-edit-actions {
    display: flex;
    gap: 8px;
}

html.light-mode .kol-as-comment-edit-save,
html.light-mode .kol-as-comment-edit-cancel {
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

html.light-mode .kol-as-comment-edit-save {
    border: 1px solid #166534;
    background: #16a34a;
    color: #ffffff;
}

html.light-mode .kol-as-comment-edit-save:disabled {
    opacity: 0.65;
    cursor: default;
}

html.light-mode .kol-as-comment-edit-cancel {
    border: 1px solid #d1d5db;
    background: #ffffff;
    color: #4b5563;
}

html.light-mode .kol-as-comment-edit-cancel:hover {
    background: #f8fafc;
}

html.light-mode .kol-as-comment-edit-flash .kol-as-comment-bubble {
    background: #f0fdf4;
    box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.2), 0 0 0 2px rgba(34, 197, 94, 0.12);
}

html.light-mode .kol-as-comment-reacted {
    color: #1f2937;
}

html.light-mode .kol-as-comment-reply-slot {
    margin-top: 10px;
}

html.light-mode .kol-as-comment-children {
    margin: 12px 0 0 42px;
    padding-left: 18px;
    border-left: 2px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.light-mode .kol-as-comment-reaction-picker {
    left: 0;
    transform: none;
    bottom: calc(100% + 8px);
}

html.light-mode .kol-as-comments-more-btn {
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
    font-weight: 500;
}

html.light-mode .kol-as-comments-more-btn:hover {
    color: #1f2937;
}
/* END: Comments Section - Light */

/* START: Comment Form - Light */
html.light-mode .kol-as-comment-form {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

html.light-mode .kol-as-comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

html.light-mode .kol-as-comment-input-shell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

html.light-mode .kol-as-comment-replying-to {
    font-size: 11px;
    font-weight: 600;
    color: #6b7280;
    padding: 0 4px;
}

html.light-mode .kol-as-comment-input-wrap {
    flex: 1;
    display: flex;
    align-items: flex-end;
    background: #f3f4f6;
    border-radius: 18px;
    padding: 4px 4px 4px 12px;
}

html.light-mode .kol-as-comment-input {
    flex: 1;
    border: none;
    background: transparent;
    resize: none;
    outline: none;
    font-size: 13px;
    line-height: 1.4;
    padding: 6px 0;
    max-height: 120px;
    color: #1f2937;
    font-family: inherit;
}

html.light-mode .kol-as-comment-input::placeholder {
    color: #9ca3af;
}

html.light-mode .kol-as-comment-submit {
    background: transparent;
    border: none;
    color: #3b82f6;
    cursor: pointer;
    padding: 6px 8px;
    font-size: 14px;
    border-radius: 50%;
    transition: background 0.15s;
}

html.light-mode .kol-as-comment-submit:hover:not(:disabled) {
    background: #e5e7eb;
}

html.light-mode .kol-as-comment-submit:disabled {
    color: #d1d5db;
    cursor: default;
}

html.light-mode .kol-as-comment-reply-cancel {
    align-self: flex-start;
    background: transparent;
    border: none;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0 4px;
}

html.light-mode .kol-as-comment-reply-cancel:hover {
    color: #1f2937;
}
/* END: Comment Form - Light */

/* START: Loading / Empty - Light */
html.light-mode .kol-as-loading {
    text-align: center;
    padding: 20px;
}

html.light-mode .kol-as-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: kol-as-spin 0.6s linear infinite;
    margin: 0 auto;
}

@keyframes kol-as-spin {
    to { transform: rotate(360deg); }
}

html.light-mode .kol-as-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-size: 14px;
}

html.light-mode .kol-as-load-more-wrap {
    text-align: center;
    padding: 12px;
}

html.light-mode .kol-as-load-more-btn {
    background: linear-gradient(to bottom, #e2e2e2, #d4d4d4);
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #b0b0b0;
    border-bottom: 1px solid #b0b0b0;
    height: 32px;
    padding: 0 15px;
    border-radius: 6px;
    color: #2d2d2d;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
}
/* END: Loading / Empty - Light */

/* START: Video Embeds - Light */
html.light-mode .kol-as-video-embed,
html.light-mode .kol-as-youtube-embed {
    margin: 10px 0 0 0;
}

html.light-mode .kol-as-video-landscape-wrap,
html.light-mode .kol-as-youtube-video-wrap {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .kol-as-video-landscape-wrap iframe,
html.light-mode .kol-as-youtube-video-wrap iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none;
}

html.light-mode .kol-as-video-vertical-wrap,
html.light-mode .kol-as-youtube-shorts-wrap {
    width: 280px;
    max-width: 100%;
    height: 498px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .kol-as-video-vertical-wrap iframe,
html.light-mode .kol-as-youtube-shorts-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

html.light-mode .kol-as-video-audio {
    border-radius: 8px;
    overflow: hidden;
}

html.light-mode .kol-as-video-link {
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    text-align: center;
}

html.light-mode .kol-as-video-link a {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
}

html.light-mode .kol-as-video-link a i {
    margin-right: 6px;
}

html.light-mode .kol-as-video-vertical-wrap .fluid-width-video-wrapper,
html.light-mode .kol-as-youtube-shorts-wrap .fluid-width-video-wrapper,
html.light-mode .kol-as-video-landscape-wrap .fluid-width-video-wrapper,
html.light-mode .kol-as-youtube-video-wrap .fluid-width-video-wrapper,
html.light-mode .kol-as-video-audio .fluid-width-video-wrapper {
    padding-top: 0 !important;
    position: static !important;
    width: 100%;
    height: 100%;
}
/* END: Video Embeds - Light */

/* START: Reactions Row - Light */
html.light-mode .kol-as-reactions-row {
    padding: 4px 12px 0 12px;
    background: #eef2f7;
}

html.light-mode .kol-as-reactions-icons-btn {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 2px 0;
}

html.light-mode .kol-as-reaction-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    margin-right: -4px;
    font-size: 10px;
    color: #ffffff;
}

html.light-mode .kol-as-reactions-total {
    margin-left: 8px;
    font-size: 13px;
    color: #6b7280;
}

html.light-mode .kol-as-reactions-icons-btn:hover .kol-as-reactions-total {
    text-decoration: underline;
}
/* END: Reactions Row - Light */

/* START: Reactors Popup - Light */
html.light-mode .kol-as-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

html.light-mode .kol-as-popup {
    background: #ffffff;
    border-radius: 8px;
    width: 420px;
    max-width: 95vw;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.2);
}

html.light-mode .kol-as-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
}

html.light-mode .kol-as-popup-tabs {
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}

html.light-mode .kol-as-popup-tabs::-webkit-scrollbar {
    display: none;
}

html.light-mode .kol-as-popup-tab {
    background: transparent;
    border: none;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

html.light-mode .kol-as-popup-tab:hover {
    background: #f3f4f6;
}

html.light-mode .kol-as-popup-tab-active {
    background: #e5e7eb;
    color: #1f2937;
}

html.light-mode .kol-as-popup-close {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #6b7280;
    padding: 4px 8px;
    border-radius: 50%;
}

html.light-mode .kol-as-popup-close:hover {
    background: #f3f4f6;
}

html.light-mode .kol-as-popup-body {
    padding: 8px 0;
    overflow-y: auto;
    flex: 1;
}

html.light-mode .kol-as-popup-reactor {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    gap: 10px;
}

html.light-mode .kol-as-popup-reactor:hover {
    background: #f9fafb;
}

html.light-mode .kol-as-popup-reactor-avatar-link {
    position: relative;
    flex-shrink: 0;
}

html.light-mode .kol-as-popup-reactor-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

html.light-mode .kol-as-popup-reactor-reaction {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #ffffff;
    border: 2px solid #ffffff;
}

html.light-mode .kol-as-popup-reactor-info {
    flex: 1;
    min-width: 0;
}

html.light-mode .kol-as-popup-reactor-name {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: #1f2937;
    text-decoration: none;
    line-height: 1.3;
}

html.light-mode .kol-as-popup-reactor-mutual {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

html.light-mode .kol-as-add-friend-btn {
    background: linear-gradient(to bottom, #e2e2e2, #d4d4d4);
    border-top: 1px solid #f0f0f0;
    border-left: 1px solid #f0f0f0;
    border-right: 1px solid #b0b0b0;
    border-bottom: 1px solid #b0b0b0;
    height: 32px;
    padding: 0 15px;
    border-radius: 6px;
    color: #2d2d2d;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

html.light-mode .kol-as-add-friend-btn.kol-as-friend-pending,
html.light-mode .kol-as-add-friend-btn.kol-as-friend-is {
    opacity: 0.6;
    cursor: default;
}

html.light-mode .kol-as-popup-loading {
    text-align: center;
    padding: 30px;
}

html.light-mode .kol-as-popup-empty {
    text-align: center;
    padding: 30px;
    color: #9ca3af;
    font-size: 14px;
}

html.light-mode .kol-as-popup-load-more {
    display: block;
    width: 100%;
    background: transparent;
    border: none;
    border-top: 1px solid #e5e7eb;
    padding: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
}

html.light-mode .kol-as-popup-load-more:hover {
    background: #f3f4f6;
}
/* END: Reactors Popup - Light */

/* START: Comments Modal - Light */
html.light-mode .kol-as-comments-modal {
    width: 760px;
    max-width: 98vw;
    max-height: 88vh;
}

html.light-mode .kol-as-comments-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

html.light-mode .kol-as-comments-modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
}

html.light-mode .kol-as-comments-hot-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: #fff7ed;
    color: #c2410c;
}

html.light-mode .kol-as-comments-modal-toolbar {
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #e5e7eb;
    overflow-x: auto;
}

html.light-mode .kol-as-comments-sort-btn {
    background: transparent;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    white-space: nowrap;
}

html.light-mode .kol-as-comments-sort-btn:hover {
    background: #f9fafb;
    color: #1f2937;
}

html.light-mode .kol-as-comments-sort-btn-active {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}

html.light-mode .kol-as-comments-modal-body {
    padding: 0;
}

html.light-mode .kol-as-comments-modal-activity-wrap {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    background: #fcfcfd;
}

html.light-mode .kol-as-comments-modal-activity {
    margin-bottom: 0;
    box-shadow: none;
}

html.light-mode .kol-as-comments-modal-comments {
    padding: 12px 16px 0;
}

html.light-mode .kol-as-comments-modal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

html.light-mode .kol-as-comments-modal-footer {
    border-top: 1px solid #e5e7eb;
    padding: 12px 16px;
}

html.light-mode .kol-as-comments-modal .kol-as-comment-form {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

html.light-mode .kol-as-comments-modal-load-more {
    display: block;
    width: 100%;
    margin: 8px 0 16px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #4b5563;
    cursor: pointer;
}

html.light-mode .kol-as-comments-modal-load-more:hover {
    background: #f3f4f6;
    color: #1f2937;
}

html.light-mode .kol-as-comments-modal .kol-as-popup-empty {
    padding: 16px 0 24px;
}
/* END: Comments Modal - Light */

/* START: Composer Media Previews - Light */
html.light-mode .kol-as-media-previews {
    margin: 12px 0;
    padding: 12px;
    background: #f3f4f6;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

html.light-mode .kol-as-previews-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 8px;
}

html.light-mode .kol-as-previews-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 8px;
}

html.light-mode .kol-as-preview-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.1);
}

html.light-mode .kol-as-preview-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

html.light-mode .kol-as-preview-audio,
html.light-mode .kol-as-preview-video {
    width: 100%;
    height: 100%;
}
/* END: Composer Media Previews - Light */

/* START: Media Gallery - Light */
html.light-mode .kol-as-media-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    padding: 8px 0;
    border-radius: 8px;
    overflow: hidden;
    max-height: 500px;
    background: #ffffff;
}

html.light-mode .kol-as-media-gallery.kol-as-media-count-1 {
    display: block;
    max-width: 100%;
    max-height: none;
    overflow: visible;
}

html.light-mode .kol-as-media-item {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    aspect-ratio: 1;
    max-width: 650px;
    max-height: 500px;
}

html.light-mode .kol-as-media-gallery.kol-as-media-count-1 .kol-as-media-item {
    width: auto;
    max-width: 100%;
    max-height: none;
    aspect-ratio: auto;
    aspect-ratio: var(--kol-as-media-aspect-ratio, auto);
}

html.light-mode .kol-as-media-link {
    display: block;
}

html.light-mode .kol-as-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-width: 650px;
    max-height: 500px;
}

html.light-mode .kol-as-media-audio,
html.light-mode .kol-as-media-video {
    width: 100%;
    height: 100%;
    max-width: 650px;
    max-height: 500px;
}

html.light-mode .kol-as-media-gallery.kol-as-media-count-1 .kol-as-media-image,
html.light-mode .kol-as-media-gallery.kol-as-media-count-1 .kol-as-media-video {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}

html.light-mode .kol-as-media-gallery.kol-as-media-count-1 .kol-as-media-audio {
    width: 300px;
    max-width: 100%;
    height: auto;
}
/* END: Media Gallery - Light */

/* START: Reaction Picker Animation - Light */
@keyframes kol-as-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

@keyframes kol-as-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes kol-as-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes kol-as-wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

@keyframes kol-as-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes kol-as-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

html.light-mode .kol-as-reaction-option {
    transition: all 0.2s ease;
}

html.light-mode .kol-as-reaction-option:hover {
    transform: scale(1.1);
}

html.light-mode .kol-as-reaction-option:nth-child(1):hover {
    animation: kol-as-pulse 0.6s ease-in-out infinite;
}

html.light-mode .kol-as-reaction-option:nth-child(2):hover {
    animation: kol-as-pulse 0.6s ease-in-out infinite;
}

html.light-mode .kol-as-reaction-option:nth-child(3):hover {
    animation: kol-as-bounce 0.6s ease-in-out infinite;
}

html.light-mode .kol-as-reaction-option:nth-child(4):hover {
    animation: kol-as-wiggle 0.5s ease-in-out infinite;
}

html.light-mode .kol-as-reaction-option:nth-child(5):hover {
    animation: kol-as-float 0.7s ease-in-out infinite;
}

html.light-mode .kol-as-reaction-option:nth-child(6):hover {
    animation: kol-as-shake 0.5s ease-in-out infinite;
}
/* END: Reaction Picker Animation - Light */
