/* START: Media Grid Container */
html.dark-mode .kol-media-container {
    background: transparent;
    padding: 0;
    vertical-align: top;
}

html.dark-mode .kol-media-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

html.dark-mode .kol-media-tab {
    padding: 8px 15px;
    background: linear-gradient(to bottom, #383838, #343434);
    border-top: 1px solid #555555;
    border-left: 1px solid #555555;
    border-right: 1px solid #282828;
    border-bottom: 1px solid #282828;
    border-radius: 6px;
    height: 32px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.1s ease;
    font-size: 14px;
    display: flex;
    align-items: center;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

html.dark-mode .kol-media-tab:hover {
    background: linear-gradient(to bottom, #454545, #3a3a3a);
}

html.dark-mode .kol-media-tab:active {
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.3);
}

html.dark-mode .kol-media-tab.active {
    background: linear-gradient(to bottom, #343434, #2e2e2e);
    border-top: 1px solid #4a4a4a;
    border-left: 1px solid #4a4a4a;
    border-right: 1px solid #1f1f1f;
    border-bottom: 1px solid #1f1f1f;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.3);
}

html.dark-mode .kol-media-card-linked-blog {
    margin-top: 10px;
    padding: 8px 10px;
    background: #2a2a2a;
    border: 1px solid #333333;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.35;
}

html.dark-mode .kol-media-card-blog-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 600;
}

html.dark-mode .kol-media-card-blog-link:hover {
    text-decoration: underline;
}

html.dark-mode .kol-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    animation: fadeIn 0.3s ease;
}

@media (max-width: 768px) {
    html.dark-mode .kol-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
}
/* END: Media Grid Container */

/* START: Media Card */
html.dark-mode .kol-media-card {
    background: #1a1a1a;
    border: 0px 0px 2px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

html.dark-mode .kol-media-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

html.dark-mode .kol-media-card-image {
    width: 100%;
    padding-top: 100%;
    position: relative;
    background: #2a2a2a;
    overflow: hidden;
    cursor: pointer;
}

html.dark-mode .kol-media-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.dark-mode .kol-media-video-card .kol-media-card-image {
    aspect-ratio: 16 / 9;
    background-color: #000000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 6px;
    min-height: 0;
    padding-top: 0;
}

html.dark-mode .kol-media-video-card-preview.no-poster {
    background: radial-gradient(circle at center, #1f2937 0%, #000000 68%);
}

html.dark-mode .kol-media-video-card-shade {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.2));
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

html.dark-mode .kol-media-video-card-play {
    align-items: center;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 999px;
    color: #020617;
    display: inline-flex;
    height: 54px;
    justify-content: center;
    left: 50%;
    padding-left: 4px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    z-index: 2;
}

html.dark-mode .kol-media-video-card-play i {
    font-size: 22px;
    line-height: 1;
}

html.dark-mode .kol-site-media-vid-engagement {
    bottom: 8px;
    left: 8px;
    min-height: 28px;
    position: absolute;
    right: 8px;
    z-index: 3;
}

html.dark-mode .kol-media-card-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

html.dark-mode .kol-media-card-title {
    font-weight: 600;
    color: #e0e0e0;
    font-size: 14px;
    margin: 0 0 8px 0;
    word-break: break-word;
    line-height: 1.3;
}

html.dark-mode .kol-media-card-meta {
    font-size: 12px;
    color: #808080;
    margin-bottom: 8px;
}

html.dark-mode .kol-media-card-permission {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #a0a0a0;
    margin-bottom: 8px;
}

html.dark-mode .kol-media-card-permission .icon {
    width: 14px;
    height: 14px;
}

html.dark-mode .kol-media-card-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
    opacity: 0;
    transition: opacity 0.2s ease;
}

html.dark-mode .kol-media-card:hover .kol-media-card-actions {
    opacity: 1;
}


/* END: Media Card */

/* START: Permission Badge */
html.dark-mode .kol-permission-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 11px;
    font-weight: 600;
    color: #b0b0b0;
    display: flex;
    align-items: center;
    gap: 4px;
}

html.dark-mode .kol-permission-badge.public {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #93c5fd;
}

html.dark-mode .kol-permission-badge.members {
    background: #4c1d95;
    border-color: #a78bfa;
    color: #ddd6fe;
}

html.dark-mode .kol-permission-badge.followers {
    background: #831843;
    border-color: #f472b6;
    color: #fce7f3;
}

html.dark-mode .kol-permission-badge.private {
    background: #2a2a2a;
    border-color: #444;
    color: #808080;
}

/* END: Permission Badge */

/* START: Modal Styles */
html.dark-mode .kol-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

html.dark-mode .kol-modal-overlay.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

html.dark-mode .kol-modal {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 400px;
    border: 1px solid #333;
}

html.dark-mode .kol-modal-header {
    padding: 16px;
    border-bottom: 1px solid #333;
}

html.dark-mode .kol-modal-header h3 {
    margin: 0;
    color: #e0e0e0;
    font-size: 16px;
}

html.dark-mode .kol-modal-body {
    padding: 16px;
}

html.dark-mode .kol-media-delete-loading {
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
}

html.dark-mode .kol-media-delete-warning {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    margin-top: 14px;
    padding: 12px;
}

html.dark-mode .kol-media-delete-activity-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

html.dark-mode .kol-media-delete-activity-item {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 10px;
    padding: 10px 12px;
}

html.dark-mode .kol-media-delete-activity-title {
    color: #f8fafc;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

html.dark-mode .kol-media-delete-activity-meta {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}

html.dark-mode .kol-media-delete-activity-link {
    color: #60a5fa;
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
    text-decoration: none;
}

html.dark-mode .kol-media-delete-activity-link:hover {
    text-decoration: underline;
}

html.dark-mode .kol-modal-footer {
    padding: 12px 16px;
    border-top: 1px solid #333;
    display: flex;
    gap: 8px;
}

html.dark-mode .kol-modal-field {
    margin-bottom: 16px;
}

html.dark-mode .kol-modal-field label {
    display: block;
    margin-bottom: 6px;
    color: #e0e0e0;
    font-weight: 500;
    font-size: 14px;
}

html.dark-mode .kol-modal-field input,
html.dark-mode .kol-modal-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #444;
    border-radius: 4px;
    font-size: 14px;
    color: #e0e0e0;
    background: #2a2a2a;
    box-sizing: border-box;
}

html.dark-mode .kol-modal-field input:focus,
html.dark-mode .kol-modal-field select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

html.dark-mode .kol-modal-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

html.dark-mode .kol-modal-btn-primary {
    background: linear-gradient(to bottom, #3b82f6, #1d4ed8);
    border-top: 1px solid #60a5fa;
    border-left: 1px solid #60a5fa;
    border-right: 1px solid #1e40af;
    border-bottom: 1px solid #1e40af;
    color: white;
}

html.dark-mode .kol-modal-btn-primary:hover {
    background: linear-gradient(to bottom, #60a5fa, #3b82f6);
}

html.dark-mode .kol-modal-btn-secondary {
    background: linear-gradient(to bottom, #383838, #343434);
    border-top: 1px solid #555555;
    border-left: 1px solid #555555;
    border-right: 1px solid #282828;
    border-bottom: 1px solid #282828;
    color: #e0e0e0;
}

html.dark-mode .kol-modal-btn-secondary:hover {
    background: linear-gradient(to bottom, #454545, #3a3a3a);
}

/* END: Modal Styles */

/* START: Loading & Empty States */
html.dark-mode .kol-media-loading {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

html.dark-mode .kol-media-empty {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

html.dark-mode .kol-media-empty i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* END: Loading & Empty States */

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* START: Modern Media Overrides */
html.dark-mode .kol-media-wrapper {
    background: transparent;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
    margin-top: 0;
    padding: 0;
    vertical-align: top;
}

html.dark-mode .kol-media-header,
html.dark-mode .kol-media-content {
    margin-top: 0;
    padding-top: 0;
    vertical-align: top;
}

html.dark-mode .buddypress-wrap #item-body:has(.kol-media-wrapper),
html.dark-mode .buddypress-wrap .item-body:has(.kol-media-wrapper),
html.dark-mode .buddypress-wrap .bp-profile-content:has(.kol-media-wrapper) {
    margin-top: 0 !important;
    padding-top: 0 !important;
    vertical-align: top;
}

html.dark-mode .kol-media-tabs {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    gap: 8px;
    align-items: flex-start;
    margin-top: 0;
    margin-bottom: 22px;
    padding: 8px;
}

html.dark-mode .kol-media-tab {
    align-items: center;
    background: linear-gradient(to bottom, #383838, #343434);
    border: 1px solid;
    border-top-color: #555555;
    border-left-color: #555555;
    border-right-color: #282828;
    border-bottom-color: #282828;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    cursor: pointer;
    display: inline-flex;
    font-size: 11px;
    font-weight: 700;
    gap: 5px;
    height: 32px;
    justify-content: center;
    min-height: 32px;
    padding: 0 15px;
}

html.dark-mode .kol-media-tab:hover {
    background: linear-gradient(to bottom, #454545, #3a3a3a);
    color: #ffffff;
}

html.dark-mode .kol-media-tab.active {
    background: linear-gradient(to bottom, #343434, #2e2e2e);
    border: 1px solid;
    border-top-color: #4a4a4a;
    border-left-color: #4a4a4a;
    border-right-color: #1f1f1f;
    border-bottom-color: #1f1f1f;
    box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.3);
    color: white;
}

html.dark-mode .kol-media-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 18px;
}

html.dark-mode .kol-media-card {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34);
    padding: 0;
}

html.dark-mode .kol-media-card:hover {
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
    transform: translateY(-2px);
}

html.dark-mode .kol-media-card-image {
    aspect-ratio: 4 / 3;
    background: #020617;
    border-radius: 18px 18px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    padding-top: 0;
}

html.dark-mode .kol-media-card-image img {
    filter: saturate(1.04) contrast(1.04);
    object-fit: cover;
    object-position: center;
}

html.dark-mode .kol-media-card-image:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.55);
    outline-offset: -3px;
}

html.dark-mode .kol-media-card-content {
    padding: 14px;
}

html.dark-mode .kol-media-card-title {
    color: #f8fafc;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 6px;
}

html.dark-mode .kol-media-card-meta {
    color: #94a3b8;
    font-size: 12px;
    margin-bottom: 12px;
}

html.dark-mode .kol-media-card-linked-activity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
}

html.dark-mode .kol-media-card-activity-link {
    color: #60a5fa;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

html.dark-mode .kol-media-card-activity-link:hover {
    text-decoration: underline;
}

html.dark-mode .kol-media-card-activity-time {
    color: #94a3b8;
    font-size: 11px;
}

html.dark-mode .kol-media-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    opacity: 1;
}

html.dark-mode .kol-media-card-btn {
    align-items: center;
    background: linear-gradient(to bottom, #383838, #343434);
    border: 1px solid;
    border-top-color: #555555;
    border-left-color: #555555;
    border-right-color: #282828;
    border-bottom-color: #282828;
    border-radius: 6px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
    display: inline-flex;
    flex: 1 1 auto;
    font-size: 11px;
    font-weight: 700;
    gap: 5px;
    height: 32px;
    justify-content: center;
    min-height: 32px;
    padding: 0 15px;
}

html.dark-mode .kol-media-card-btn:hover {
    background: linear-gradient(to bottom, #454545, #3a3a3a);
    color: #ffffff;
}

html.dark-mode .kol-media-card-btn-danger {
    background: linear-gradient(to bottom, #383838, #343434);
    border: 1px solid;
    border-top-color: #555555;
    border-left-color: #555555;
    border-right-color: #282828;
    border-bottom-color: #282828;
    color: white;
}

html.dark-mode .kol-media-card-btn-danger:hover {
    background: linear-gradient(to bottom, #454545, #3a3a3a);
    color: #ffffff;
}

html.dark-mode .kol-toggle-rating.active {
    background: linear-gradient(to bottom, #2d7c2d, #1f5f1f);
    border: 1px solid;
    border-top-color: #3d9d3d;
    border-left-color: #3d9d3d;
    border-right-color: #1a4d1a;
    border-bottom-color: #1a4d1a;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    color: white;
}

html.dark-mode .kol-toggle-rating.active:hover {
    background: linear-gradient(to bottom, #3d9d3d, #2d7c2d);
    color: white;
}

html.dark-mode .kol-permission-badge {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
    top: 10px;
    right: 10px;
    z-index: 2;
}

html.dark-mode body.kol-media-lightbox-open {
    overflow: hidden;
}

html.dark-mode .kol-media-lightbox {
    align-items: center;
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 20px;
    position: fixed;
    z-index: 99999;
}

html.dark-mode .kol-media-lightbox-backdrop {
    background: rgba(2, 6, 23, 0.84);
    backdrop-filter: blur(10px);
    inset: 0;
    position: absolute;
}

html.dark-mode .kol-media-lightbox-shell {
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 22px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.62);
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    max-width: min(1120px, calc(100vw - 40px));
    overflow: hidden;
    position: relative;
    width: 100%;
}

html.dark-mode .kol-media-lightbox-topbar {
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    display: flex;
    gap: 12px;
    padding: 12px 14px 12px 18px;
}

html.dark-mode .kol-media-lightbox-title {
    color: #f8fafc;
    flex: 1;
    font-size: 15px;
    font-weight: 800;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.dark-mode .kol-media-lightbox-open-link,
html.dark-mode .kol-media-lightbox-file-button {
    background: #e2e8f0;
    border-radius: 999px;
    color: #0f172a;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    text-decoration: none;
}

html.dark-mode .kol-media-lightbox-close {
    align-items: center;
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 999px;
    color: #f8fafc;
    cursor: pointer;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    width: 36px;
}

html.dark-mode .kol-media-lightbox-stage {
    align-items: center;
    background: #020617;
    box-sizing: border-box;
    display: flex;
    flex: 0 1 auto;
    justify-content: center;
    max-height: calc(100vh - 118px);
    min-height: min(420px, calc(100vh - 118px));
    overflow: hidden;
    padding: 18px;
    width: 100%;
}

html.dark-mode .kol-media-lightbox-image,
html.dark-mode .kol-media-lightbox-video {
    background: #000000;
    border-radius: 14px;
    height: auto;
    max-height: calc(100vh - 154px);
    max-width: 100%;
    object-fit: contain;
}

html.dark-mode .kol-media-lightbox-image {
    display: block;
}

html.dark-mode .kol-media-lightbox-video {
    width: min(960px, 100%);
}

html.dark-mode .kol-media-lightbox-audio-panel,
html.dark-mode .kol-media-lightbox-file-panel {
    align-items: center;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
    color: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    text-align: center;
    width: min(520px, 100%);
}

html.dark-mode .kol-media-lightbox-audio-panel i,
html.dark-mode .kol-media-lightbox-file-panel i {
    color: #60a5fa;
    font-size: 52px;
}

html.dark-mode .kol-media-lightbox-audio,
html.dark-mode .kol-media-lightbox-file-frame {
    width: 100%;
}

html.dark-mode .kol-media-lightbox-file-frame {
    border: 0;
    border-radius: 14px;
    height: min(72vh, 760px);
}

@media (max-width: 768px) {
    html.dark-mode .kol-media-wrapper {
        border-radius: 16px;
        padding: 0;
    }

    html.dark-mode .kol-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }

    html.dark-mode .kol-media-card-image {
        min-height: 130px;
    }

    html.dark-mode .kol-media-card-actions {
        grid-template-columns: 1fr;
    }

    html.dark-mode .kol-media-lightbox {
        padding: 10px;
    }

    html.dark-mode .kol-media-lightbox-shell {
        max-height: calc(100vh - 20px);
        max-width: calc(100vw - 20px);
    }

    html.dark-mode .kol-media-lightbox-open-link {
        display: none;
    }

    html.dark-mode .kol-media-lightbox-stage {
        max-height: calc(100vh - 92px);
        min-height: min(300px, calc(100vh - 92px));
        padding: 10px;
    }

    html.dark-mode .kol-media-lightbox-image,
    html.dark-mode .kol-media-lightbox-video {
        max-height: calc(100vh - 112px);
    }
}
/* END: Modern Media Overrides */

/* START: Image and Vids Reel Cards */
html.dark-mode .kol-media-grid {
    align-items: start;
    gap: 8px;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
}

html.dark-mode .kol-media-image-card,
html.dark-mode .kol-media-video-card {
    background: transparent;
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    overflow: visible;
    padding: 0;
    position: relative;
}

html.dark-mode .kol-media-image-card:hover,
html.dark-mode .kol-media-video-card:hover {
    box-shadow: none;
    transform: none;
}

html.dark-mode .kol-media-image-card .kol-media-card-image,
html.dark-mode .kol-media-video-card .kol-media-card-image {
    aspect-ratio: 9 / 16;
    background-color: #000000;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 8px;
    box-shadow: none;
    min-height: 0;
    overflow: hidden;
    padding-top: 0;
    position: relative;
}

html.dark-mode .kol-media-image-card .kol-media-card-image img {
    display: block;
    height: 100%;
    inset: 0;
    object-fit: cover;
    position: absolute;
    width: 100%;
}

html.dark-mode .kol-media-video-card-preview.no-poster {
    background: radial-gradient(circle at center, #1f2937 0%, #000000 68%);
}

html.dark-mode .kol-media-image-card-shade,
html.dark-mode .kol-media-video-card-shade {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.2));
    inset: 0;
    pointer-events: none;
    position: absolute;
    z-index: 1;
}

html.dark-mode .kol-media-video-card-play {
    align-items: center;
    background: rgba(248, 250, 252, 0.9);
    border-radius: 999px;
    color: #020617;
    display: inline-flex;
    height: 50px;
    justify-content: center;
    left: 50%;
    padding-left: 3px;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    z-index: 2;
}

html.dark-mode .kol-media-video-card-play i {
    font-size: 20px;
}

html.dark-mode .kol-media-image-card .kol-permission-badge,
html.dark-mode .kol-media-video-card .kol-permission-badge {
    left: 8px;
    max-width: calc(100% - 56px);
    right: auto;
    top: 8px;
    z-index: 6;
}

html.dark-mode .kol-site-media-engagement {
    bottom: 8px;
    left: 8px;
    min-height: 24px;
    position: absolute;
    right: 8px;
    z-index: 5;
}

html.dark-mode .kol-media-image-card .kol-media-card-content,
html.dark-mode .kol-media-video-card .kol-media-card-content {
    display: none;
}

html.dark-mode .kol-media-card-menu {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 20;
}

html.dark-mode .kol-media-card-menu-toggle {
    align-items: center;
    background: rgba(0, 0, 0, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    color: #ffffff;
    cursor: pointer;
    display: inline-flex;
    height: 32px;
    justify-content: center;
    padding: 0;
    width: 32px;
}

html.dark-mode .kol-media-card-menu-panel {
    background: #111827;
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 8px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.44);
    display: none;
    min-width: 164px;
    overflow: hidden;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 38px;
    z-index: 25;
}

html.dark-mode .kol-media-card-menu.is-open .kol-media-card-menu-panel {
    display: grid;
    gap: 2px;
}

html.dark-mode .kol-media-card-menu-item {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: #f8fafc;
    cursor: pointer;
    display: flex;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    gap: 8px;
    min-height: 34px;
    padding: 0 10px;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

html.dark-mode .kol-media-card-menu-item:hover {
    background: rgba(148, 163, 184, 0.14);
}

html.dark-mode .kol-media-card-menu-item-danger {
    color: #f87171;
}

html.dark-mode .kol-media-pagination {
    display: flex;
    grid-column: 1 / -1;
    justify-content: center;
    padding: 16px 0 6px;
}

html.dark-mode .kol-media-load-more {
    align-items: center;
    background: #e5e7eb;
    border: 0;
    border-radius: 8px;
    color: #111827;
    cursor: pointer;
    display: inline-flex;
    font-size: 14px;
    font-weight: 700;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
}

html.dark-mode .kol-media-load-more:hover {
    background: #ffffff;
}

html.dark-mode .kol-media-load-more:disabled {
    cursor: wait;
    opacity: 0.65;
}

@media (max-width: 768px) {
    html.dark-mode .kol-media-grid {
        grid-template-columns: repeat(auto-fill, minmax(132px, 1fr));
        gap: 8px;
    }
}
/* END: Image and Vids Reel Cards */
