.zsr-card {
    background: #0e0b0b;
    color: #f5eeee;
    border: 1px solid #302727;
    border-radius: 3px;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto 32px;
    box-sizing: border-box;
}

.zsr-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.zsr-eyebrow {
    color: #E2B15C;
    font-weight: 700;
    font-family: "Source Sans 3", sans-serif;
    letter-spacing: 3px;
    font-size: 12.5px;
}
.zsr-date {
    color: rgba(243, 233, 218, 0.5);
    font-style: italic;
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    font-weight: 500;
}
input.zsr-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;
}
.zsr-title { 
    font-size: 27px;
    font-weight: 400;
    margin: 5px 0 18px;
    color: #f4eeee;
}

.zsr-player {
    position: relative;
    background: #000;
    overflow: hidden;
    border-radius: 2px;
}

.zsr-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    background: #000;
}

.zsr-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #a52d43;
    color: #fff;
    cursor: pointer;
    font-size: 21px;
}

.zsr-play:hover {
    background: #c13952;
}

.zsr-progress-wrap {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 47px;
}

.zsr-progress {
    height: 4px;
    background: rgba(255,255,255,.25);
    cursor: pointer;
}

.zsr-progress-fill {
    width: 0;
    height: 100%;
    background: #b72f49;
}

.zsr-controls {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ddd;
    font-size: 11px;
}

.zsr-download {
    margin-left: auto;
    color: #ddd;
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 1px;
}

.zsr-download:hover {
    color: #fff;
}

.zsr-reactions {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #282020;
}

.zsr-reaction-btn {
    border: 1px solid #3c3232;
    background: #181313;
    color: #fff;
    border-radius: 18px;
    padding: 5px 10px;
    cursor: pointer;
}

.zsr-reaction-btn:hover,
.zsr-reaction-btn.is-active {
    background: #2a2020;
    border-color: #725151;
}

.zsr-emoji {
    font-size: 16px;
}

.zsr-count {
    font-size: 11px;
    color: #aaa;
    margin-left: 3px;
}

.zsr-add-reaction-wrap {
    position: relative;
}

.zsr-emoji-picker,
.zsr-comment-emoji-picker {
    position: absolute;
    z-index: 20;
}

.zsr-comments {
    padding-top: 16px;
}

.zsr-comment {
    display: flex;
    gap: 10px;
    margin-bottom: 17px;
}

.zsr-avatar {
    flex: 0 0 auto;
    display: inline-block;
    border-radius: 50%;
    color: #fff;
    text-align: center;
    font-weight: 600;
}

.zsr-comment-body {
    flex: 1;
    min-width: 0;
}

.zsr-comment-body strong {
    font-size: 13px;
}

.zsr-comment-time {
    color: #777;
    font-size: 11px;
    margin-left: 7px;
}

.zsr-comment-body p {
    margin: 5px 0;
    color: #c7bebe;
    font-size: 13px;
    line-height: 1.55;
}

.zsr-comment-actions {
    display: flex;
    gap: 14px;
    margin-top: 5px;
}

.zsr-comment-actions a {
    color: #927e6d;
    font-size: 11px;
    text-decoration: none;
}

.zsr-comment-reactions {
    display: flex;
    gap: 5px;
}

.zsr-creaction-chip {
    background: #191414;
    color: #ddd;
    border: 1px solid #352b2b;
    border-radius: 12px;
    padding: 3px 7px;
    cursor: pointer;
}
emoji-picker {
    height: 230px;
}
.zsr-add-comment {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 15px;
}

.zsr-comment-input,
.zsr-reply-input {
    flex: 1;
    background: #171313;
    border: 1px solid #352b2b;
    color: #fff;
    padding: 10px 12px;
    border-radius: 3px;
    outline: none;
}

.zsr-comment-submit,
.zsr-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;
}

.zsr-replies {
    margin-top: 13px;
    margin-left: 20px;
    padding-left: 15px;
    border-left: 1px solid #332929;
}

.zsr-reply-box {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.zsr-list .zsr-card {
    margin-bottom: 25px;
}

.zsr-pagination {
    text-align: center;
    margin: 30px 0;
}

.zsr-pagination .page-numbers {
    display: inline-block;
    margin: 3px;
    padding: 7px 11px;
    color: #ddd;
    background: #171313;
    border: 1px solid #342b2b;
    text-decoration: none;
}

.zsr-pagination .current {
    background: #9e3045;
    border-color: #9e3045;
}
article.zsr-home-recording-card {
    background: #100d0b;
    border-radius: 16px;
    padding: 28px 32px;
    position: relative;
    border: 1px solid rgba(212, 175, 55, 0.15);
    color: #e8ddc7;
}
section.zsr-next-live-call {
    padding: 40px 0;
    text-align: center;
    position: relative;
    background-size: cover;
}
section.zsr-next-live-call span.zsr-next-live-call-label {
    font-size: 12.5px;
    letter-spacing: 0.32em;
    color: rgb(240, 197, 114);
    z-index: 123;
    position: relative;
}
section.zsr-next-live-call h1.zsr-next-live-call-title {
    font-family: "Cinzel Decorative", serif;
    font-weight: 700;
    font-size: 32px;
    color: rgb(243, 233, 218);
    z-index: 123;
    position: relative;
    margin: 15px 0 10px;
}
.zsr-next-live-call a.zsr-add-to-calendar {
    background: rgb(142, 27, 46);
    border: 1px solid rgba(226, 177, 92, 0.45);
    color: rgb(243, 233, 218);
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: 0.08em;
    padding: 12px 26px;
    border-radius: 3px;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    display: inline-block;
}
.zsr-next-live-call-time {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 21px;
    color: rgba(243, 233, 218, 0.75);
    position: relative;
    z-index: 1;
}
.section.zsr-next-live-call span.zsr-next-live-call-label {
    font-size: 11px;
    letter-spacing: 0.32em;
    color: rgb(240, 197, 114);
}
section.zsr-past-calls {
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px 0;
}
.live-calls-recording .container {
    max-width: inherit;
    padding: 0;
}
section.zsr-next-live-call:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(7, 6, 6, 0.55), rgba(7, 6, 6, 0.94) 82%);
    z-index: 0;
}
.zsr-past-calls .zsr-past-calls-header span.zsr-past-calls-label:before {
    content: "";
    display: block;
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, rgba(226, 177, 92, 0.4), transparent);
    position: absolute;
    left: 100px;
    top: 12px;
}
.zsr-past-calls .zsr-past-calls-header span.zsr-past-calls-label {
    position: relative;
    font-size: 12.5px;
    letter-spacing: 0.3em;
    color: rgb(226, 177, 92);
    margin-bottom: 20px;
    display: block;
}
.zsr-home-next-live-call {
    background: linear-gradient(135deg, #8E1B2E66 0%, #8E1B2E1F 100%);
    border: 1px solid #3F3428;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}
.zsr-home-next-live-call span.zsr-home-next-live-call-text {
    font-family: "Source Sans 3", Sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #F3E9DA;
}
.zsr-home-next-live-call-info span.zsr-home-next-live-call-icon {
    color: #f0c572;
    margin-right: 5px;
    font-size: 17px;
}
.zsr-home-next-live-call a.zsr-home-add-to-calendar {
    background-color: #61CE7000;
    fill: #F0C572;
    color: #F0C572;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-color: #F0C572;
    padding: 10px 20px;
    border-radius: 4px;
    letter-spacing: 1px;
}
.zsr-home-next-live-call span.zsr-home-next-live-call-none {
    text-align: center;
    display: block;
    width: 100%;
    color: #ffffff63;
}


@media (max-width: 767px) {
    section.zsr-past-calls { 
    padding: 50px 0 0;
}
    section.zsr-next-live-call h1.zsr-next-live-call-title { 
    font-size: 22px; 
}
section.zsr-next-live-call span.zsr-next-live-call-label {
    font-size: 10px;
    letter-spacing: 2px; 
}
.zsr-next-live-call a.zsr-add-to-calendar { 
    padding: 8px 26px; 
}
.zsr-next-live-call-time { 
    font-size: 16px; 
}
.zsr-past-calls .zsr-past-calls-header span.zsr-past-calls-label { 
    font-size: 10px;
    letter-spacing: 2px; 
}
    h2.zsr-title {
        font-size: 22px;
    }
    .zsr-eyebrow { 
    letter-spacing: 2px;
    font-size: 10px;
}
.zsr-home-next-live-call {
    padding: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.zsr-home-add-to-calendar-wrap {
    margin-top: 10px;
}
article.zsr-home-recording-card { 
    padding: 20px; 
}
.zsr-play { 
    width: 38px;
    height: 38px; 
    font-size: 18px; 
    top: 40%;
}
.zsr-home-next-live-call span.zsr-home-next-live-call-text { 
    font-size: 13px; 
}

}

@media (max-width: 700px) {

    .zsr-card {
        padding: 13px;
    }

    .zsr-topbar {
        display: block;
    }

    .zsr-date {
        display: block;
        margin-top: 5px;
    }

    .zsr-title {
        font-size: 22px;
    }

    .zsr-add-comment {
        align-items: stretch;
    }

    .zsr-comment-submit {
        padding-left: 12px;
        padding-right: 12px;
    }
}

.zsr-player {
    position: relative;
    background: #000;
    overflow: hidden;
    border-radius: 12px;
}

.zsr-video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 620px;
    background: #000;
    cursor: pointer;
}

.zsr-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 50%;
    background: #a52d43;
    color: #fff;
    cursor: pointer;
    font-size: 21px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.zsr-play:hover {
    background: #c13952;
}

.zsr-player.zsr-is-playing .zsr-play {
    display: none;
}

.zsr-duration-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 5;
    line-height: 1.4;
}


.zsr-home-recordings-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}



.zsr-social-recording-card {
	background: #0d0d0d;
	border: 1px solid #3a3532;
	border-radius: 6px;
	overflow: hidden;
}



.zsr-social-recording-card .zsr-player {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
}

.zsr-social-recording-card .zsr-video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}



.zsr-social-recording-card .zsr-play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	width: 42px;
	height: 42px;

	border-radius: 50%;
	border: 1px solid rgba(255,255,255,.45);

	background: #a91d35;
	color: #fff;

	display: flex;
	align-items: center;
	justify-content: center;

	padding: 0;
	font-size: 17px;
	line-height: 1;

	cursor: pointer;

	z-index: 5;
}



.zsr-social-recording-card .zsr-duration-badge {
	position: absolute;
	right: 10px;
	bottom: 8px;

	color: #fff;
	font-size: 11px;
	font-weight: 600;

	background: rgba(0,0,0,.65);
	padding: 2px 5px;
	border-radius: 2px;

	z-index: 5;
}



.zsr-social-card-content {
	padding: 14px 14px 15px;
}


.zsr-social-card-content .zsr-title {
    font-family: "Cormorant Garamond", serif;
    font-weight: 600;
    font-size: 22px;
    color: rgb(243, 233, 218);
    margin: 0;
}



.zsr-social-card-meta {
    font-family: "Cormorant Garamond", serif;
    font-style: italic;
    font-size: 16px;
    color: rgba(243, 233, 218, 0.5);
    margin-top: 3px;
}

.zsr-social-comments {
	margin-left: 2px;
}


@media (max-width: 900px) {

	.zsr-home-recordings-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


@media (max-width: 600px) {

	.zsr-home-recordings-list {
		grid-template-columns: 1fr;
	}

}

.live-calls-recording .entry-title {
    display:none;
}


/* ===== 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; }
