div.kfm-tx-card {
    max-width: 720px;
    margin: 20px auto;
    background: #100d0b;
    border-radius: 16px;
    padding: 28px 32px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
    /*overflow: hidden;*/ 
    color: #e8ddc7;
}
.kfm-tx-card::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(142, 27, 46), rgb(226, 177, 92));
    border-radius: 25px 25px 0 0;
    width: 99%;
    margin: auto;
}
.zsr-home-recording-card::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgb(142, 27, 46), rgb(226, 177, 92));
    border-radius: 25px 25px 0 0;
    width: 99%;
    margin: auto;
    }


.kfm-tx-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    margin-bottom: 10px;
}
.kfm-tx-pagination {
    text-align: center;
}
.kfm-tx-pagination a.kfm-tx-page-link, .kfm-tx-pagination span {
    border: 1px solid #F3E9DA;
    padding: 4px 10px;
    margin: 0 4px;
    border-radius: 4px;
    color: #F3E9DA;
    font-size: 15px;
    font-weight: normal;
}
.kfm-tx-pagination span.kfm-tx-page-link.kfm-tx-page-current {
    background: #E2B15C;
    color: #000;
    border: 1px solid #000;
}
.kfm-tx-eyebrow {
    color: #E2B15C;
    font-weight: 700;
    letter-spacing: 3px;
}
.kfm-tx-date {
    color: rgba(243, 233, 218, 0.5);
    font-style: italic;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    font-weight: 500;
}

.kfm-tx-title {
    font-size: 26px;
    margin: 6px 0 20px;
    color: #f5ecd9;
}

/* ---- Audio Player ---- */
.kfm-tx-player {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #070606;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.kfm-tx-play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #e8c766, #b8860b);
    border: none;
    color: #1a1400;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.kfm-tx-progress-wrap { flex: 1; }

.kfm-tx-progress-bar {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    cursor: pointer;
    overflow: hidden;
}

.kfm-tx-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E2B15C, #f0d878);
}

.kfm-tx-time {
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    color: #b8ae95;
    white-space: nowrap;
}

.kfm-tx-download {
    font-family: "Source Sans 3", sans-serif;
    font-size: 12px;
    color: #E2B15C !important;
    border: 1px solid #E2B15C;
    border-radius: 6px;
    padding: 6px 12px;
    text-decoration: none;
    white-space: nowrap;
}
button img.emoji, button img.emojioneemoji { 
    width: 16px;
    height: 16px;
}
.kfm-tx-download:hover { background: rgba(212,175,55,0.1); }

/* ---- Content ---- */
.kfm-tx-content { line-height: 1.7; color: #cfc4ac; margin-bottom: 18px; }

/* ---- Reactions ---- */
.kfm-tx-reactions {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.kfm-tx-reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    padding: 6px 14px;
    color: #d9c9a3;
    cursor: pointer;
    font-family: Arial, sans-serif;
    font-size: 13px;
    transition: all 0.2s ease;
}
.kfm-tx-reaction-btn:hover { border-color: #E2B15C; background: rgba(212,175,55,0.08); }
.kfm-tx-reaction-btn.is-active { background: rgba(139,0,0,0.35); border-color: #b02a2a; color: #f5e6c8; }

.kfm-tx-add-reaction-wrap { position: relative; }

.kfm-tx-add-reaction-btn {
    border-style: dashed;
    opacity: 0.85;
}
.kfm-tx-add-reaction-btn:hover { opacity: 1; }

.kfm-tx-emoji-picker {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 0;
    background: #1a1610;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 8px;
    display: grid;
    /*grid-template-columns: repeat(6, 1fr);*/
    gap: 4px;
    z-index: 20;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    z-index: 9999;
}

.kfm-tx-picker-emoji {
    background: transparent;
    border: none;
    font-size: 18px;
    padding: 6px;
    cursor: pointer;
    border-radius: 6px;
    line-height: 1;
}
.kfm-tx-picker-emoji:hover { background: rgba(212, 175, 55, 0.15); }

/* ---- Initials Avatar ---- */
.kfm-tx-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #f5ecd9;
    font-family: Arial, sans-serif;
    font-weight: 700;
    flex-shrink: 0;
    text-align: center;
    user-select: none;
}

/* ---- Comments ---- */
.kfm-tx-comments { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 18px; }

.kfm-tx-comment { display: flex; gap: 10px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.kfm-tx-comment img { border-radius: 50%; }
.kfm-tx-comment-body { flex: 1; font-family: Arial, sans-serif; }
.kfm-tx-comment-body strong {
    color: #eee9e4;
    font-size: 16px;
}
.kfm-tx-comment-time { color: #6f695c; font-size: 12px; margin-left: 8px; }
.kfm-tx-comment-body p { margin: 4px 0 6px; font-size: 14px; color: #d6cbb2; }
.kfm-tx-comment-actions a { font-size: 12px; color: #E2B15C; text-decoration: none; margin-right: 12px; }
.kfm-tx-replies { margin-top: 10px; margin-left: 20px; border-left: 2px solid rgba(212,175,55,0.15); padding-left: 12px; }

.kfm-tx-reply-box { display: flex; gap: 8px; margin-top: 8px; }
.kfm-tx-reply-input, .kfm-tx-comment-input {
    flex: 1;
    background: #070606;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 999px;
    padding: 8px 14px;
    color: #e8ddc7;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
}

.kfm-tx-add-comment { display: flex; align-items: center; gap: 10px; margin-top: 14px; }
.kfm-tx-add-comment img { border-radius: 50%; }
.kfm-tx-comment-submit, .kfm-tx-reply-submit {
    background: #E2B15C;
    color: #1a1400;
    border: none;
    border-radius: 999px;
    padding: 8px 16px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 13px;
    cursor: pointer;
    font-weight: 700;
}

.kfm-tx-no-comments, .kfm-tx-login-note { font-family:"Source Sans 3", sans-serif; font-size: 16px; }
p.kfm-tx-login-note a {
    font-size: 16px;
    color: rgb(240, 197, 114);
}
 
.kfm-transmission-list span.kfm-tx-eyebrow {
    font-size: 11px;
}
.kfm-tx-list {
    display: grid;
    /* grid-template-columns: repeat(3, 1fr); */
    gap: 24px;
    max-width: 1100px;
    margin: 20px 0;
}
.kfm-tx-comment-body button.kfm-tx-creaction-chip {
    padding: 4px 10px;
}
.kfm-transmission-list button.kfm-tx-play-btn {
    width: 40px;
    height: 40px;
    padding: 0;
    font-size: 14px;
}
.kfm-transmission-list a.kfm-tx-download {
    font-size: 12px;
    padding: 1px 5px;
}
.kfm-tx-list .kfm-tx-card {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 20px 18px;
    display: flex;
    flex-direction: column;
    position: relative;
    background: #100e0d;
    border-radius: 8px;
}
.kfm-tx-list .kfm-tx-title {
    font-size: 29px;
    margin: 0 0 20px;
}

.kfm-tx-list .kfm-tx-content {
    font-size: 14px;
    max-height: 90px;
    overflow: hidden;
}

.kfm-tx-list .kfm-tx-reactions {
    margin-bottom: 14px;
}

.kfm-tx-list .kfm-tx-comments {
    margin-top: auto;
}
.announcements-list .announcement-item {
    width: 33%;
}
.announcements-list {
    display: flex;
    justify-content: space-between;
}
.announcements-list .announcement-item img {
    width: 100%;
}
.announcements-list .announcement-item {
    width: 33%;
    background: #0d0d0d;
    border: 1px solid #3a3532;
    border-radius: 6px;
    overflow: hidden;
}
.announcements-list h3 {
    margin: 10px 0;
    padding: 0 15px;
}
.announcements-list h3 a {
    font-size: 18px;
    color: rgb(243, 233, 218);
}
.announcement-excerpt {
    padding: 0px 15px 10px;
    color: rgba(243, 233, 218, 0.5);
}



@media (max-width: 900px) {
    .kfm-tx-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
h2.kfm-tx-title {
    font-size: 22px; 
}
.kfm-tx-eyebrow { 
    letter-spacing: 2px;
    font-size: 10px;
}
.kfm-tx-date { 
    font-size: 13px; 
}
.zsr-home-recording-card::before { 
    width: 96%; 
}
.kfm-tx-card::before { 
    width: 96%; 
}
.kfm-tx-list .kfm-tx-title {
    font-size: 22px; 
}
.elementor-kit-63 h1 { 
    font-size: 22px; 
}
.kfm-transmission-list span.kfm-tx-eyebrow {
    font-size: 10px;
}
}

@media (max-width: 600px) {
    .kfm-tx-list .kfm-tx-card { 
        padding: 20px 10px; 
    }
    .kfm-tx-list {
        grid-template-columns: 1fr;
    }
    .kfm-tx-card { 
    padding: 20px 10px; 
}
div.kfm-tx-card { 
    padding: 20px 20px; 
}
input.kfm-tx-comment-input {
    width: 80%;
}
input.zsr-comment-input { 
    width: 80%;
}
.kfm-tx-comment-body {
    word-wrap: anywhere;
}
}

.kfm-tx-player-video {
    position: relative;
}

.kfm-tx-player-video .kfm-tx-video-el {
    width: 100%;
    display: block;
    border-radius: 8px;
}

.kfm-tx-player-video .kfm-tx-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(178, 34, 52, 0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kfm-tx-player-video .kfm-tx-play-icon {
    color: #fff;
    font-size: 20px;
    position: relative;
    left: 2px;
}
.kfm-tx-player-video .kfm-tx-progress-wrap {
    position: absolute;
    left: 12px;
    right: 100px;
    bottom: 10px;
    z-index: 2;
}

.kfm-tx-player-video .kfm-tx-time {
    position: absolute;
    right: 12px;
    bottom: 10px;
    z-index: 2;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.kfm-tx-player-video .kfm-tx-download {
    position: absolute;
    top: -45px;
    right: 0px;
    z-index: 2;
    padding: 2px 10px;
}
/*.kfm-tx-emoji-picker {
    padding: 4px;
}*/

.kfm-tx-emoji-picker-el,
.kfm-tx-comment-emoji-picker emoji-picker {
    --num-columns: 8;
    --emoji-size: 1.3rem;
    --background: #1a1610;
    --border-color: rgba(212, 175, 55, 0.3);
    --input-border-color: rgba(212, 175, 55, 0.3);
    --input-font-color: #e8ddc7;
    --category-font-color: #b8ae95;
    --indicator-color: #E2B15C;
    width: 320px;
    max-width: 85vw;
    height: 230px;
    border-radius: 10px;
}

.kfm-tx-comment-emoji-picker {
    position: relative;
    margin-top: 8px;
    background: #1a1610;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 8px;
    z-index: 20;
}

.kfm-tx-comment-reaction-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}


/* ===== Reactions summary + "who reacted" popup (shared: Zoom feed + Fellow Magi) ===== */
.mag-reactions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.mag-react-summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px 4px 8px;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 999px;
    color: #d9c9a3;
    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mag-react-summary:hover {
    border-color: #E2B15C;
    background: rgba(212, 175, 55, 0.08);
    color: #d9c9a3;
}
.mag-react-summary-emojis { display: inline-flex; align-items: center; }
.mag-react-summary-emoji {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 14px;
    border-radius: 50%;
    background: #1a1610;
    border: 2px solid #100d0b;
    margin-left: -7px;
}
.mag-react-summary-emoji:first-child { margin-left: 0; }
.mag-react-summary-total { font-weight: 700; color: #f5ecd9; }

/* quick emoji row inside the React picker */
.zsr-add-reaction-wrap, .kfm-tx-add-reaction-wrap { position: relative; }
.zsr-emoji-picker {
    bottom: calc(100% + 8px);
    left: 0;
    background: #1a1610;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.mag-react-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.mag-react-quick-btn { padding: 4px 12px; }
.mag-react-quick-btn .zsr-emoji,
.mag-react-quick-btn .kfm-tx-emoji { font-size: 20px; line-height: 1.2; }

/* popup */
body.mag-react-modal-open { overflow: hidden; }
.mag-react-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.75);
}
.mag-react-modal {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 480px;
    max-height: 80vh;
    background: #100d0b;
    color: #e8ddc7;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    font-family: Arial, sans-serif;
}
.mag-react-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mag-react-modal-title { font-size: 18px; font-weight: 700; color: #f5ecd9; }
.mag-react-close {
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    background: transparent;
    color: #E2B15C;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}
.mag-react-close:hover { background: rgba(212, 175, 55, 0.12); color: #E2B15C; }
.mag-react-modal-body { display: flex; flex-direction: column; min-height: 0; flex: 1; }

.mag-react-tabs {
    display: flex;
    gap: 4px;
    padding: 8px 14px 0;
    overflow-x: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.mag-react-tab {
    flex: 0 0 auto;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: #8a8378;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.mag-react-tab:hover { background: rgba(212, 175, 55, 0.08); color: #d9c9a3; }
.mag-react-tab.is-active { color: #E2B15C; border-bottom-color: #E2B15C; background: transparent; }

.mag-react-list { list-style: none; margin: 0; padding: 6px 10px 12px; overflow-y: auto; }
.mag-react-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px;
    border-radius: 8px;
}
.mag-react-row:hover { background: rgba(212, 175, 55, 0.07); }
.mag-react-user { display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-decoration: none; }
.mag-react-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 50%;
    object-fit: cover;
    background: #2a2118;
}
.mag-react-name {
    font-size: 15px;
    font-weight: 600;
    color: #eee9e4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mag-react-user:hover .mag-react-name { color: #E2B15C; text-decoration: underline; }
.mag-react-row-emoji { font-size: 22px; line-height: 1; }
.mag-react-loading, .mag-react-empty { margin: 0; padding: 26px 16px; text-align: center; color: #8a8378; }
/* remove-my-reaction button in the popup */
.mag-react-row-right { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.mag-react-remove {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: #E2B15C;
    border-radius: 999px;
    padding: 3px 11px;
    font-size: 12px;
    line-height: 1.4;
    cursor: pointer;
}
.mag-react-remove:hover { background: rgba(212, 175, 55, 0.12); }
.mag-react-remove:disabled { opacity: 0.5; cursor: default; }
/* ===== end reactions summary ===== */