/* Container for the footer link */
.fs-vtl-wrapper {
    margin-top: 20px;
    text-align: center;
    clear: both;
}

.fs-vtl-wrapper a.fs-vtl-open {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.fs-vtl-subtext {
    margin-top: -10px;
    margin-bottom: 18px;
    font-size: 14px;
    color: #555;
}

/* The Modal Overlay - Updated with Maximum Z-Index and Flex Centering */
.fs-vtl-modal {
    display: none;
    position: fixed;
    z-index: 2147483647 !important; /* Maximum possible z-index to beat OptimizePress */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85) !important;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
}

/* Modal Open State - Forced Visibility */
.fs-vtl-modal.is-open {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* The White Content Box */
.fs-vtl-modal-inner {
    background: #fff;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    box-sizing: border-box;
    text-align: left;
}

/* Close Button */
.fs-vtl-close {
    position: absolute;
    top: 10px;
    right: 14px;
    font-size: 28px;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 1;
    color: #333;
}

/* Content Typography */
.fs-vtl-content h2 {
    margin-top: 0;
    font-size: 22px;
    color: #333;
}

.fs-vtl-transcript {
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.6;
    background: #f5f5f5;
    padding: 14px;
    border-radius: 8px;
    overflow-wrap: break-word;
    color: #333;
    border: 1px solid #ddd;
}

.fs-vtl-comment {
    padding: 12px 0;
    border-bottom: 1px solid #ddd;
    color: #333;
}

.fs-vtl-comment strong {
    display: block;
    margin-bottom: 5px;
}

.fs-vtl-comment p {
    margin: 0;
}

.fs-vtl-comments-title {
    margin-top: 28px;
    font-size: 20px;
    font-weight: 700;
}

.fs-vtl-empty {
    font-size: 14px;
    color: #666;
    font-style: italic;
}

/* Meta & Cache Helpers */
.fs-vtl-bottom-meta {
    margin-top: 18px;
    padding-top: 12px;
    border-top: 1px solid #ddd;
    font-size: 13px;
    color: #444;
    text-align: center;
}

.fs-vtl-meta {
    margin-top: 6px;
    font-size: 13px;
    color: #666;
}

.fs-vtl-hidden-cache {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}