
/* TubeCorporate Monetizer – Frontend Styles */
.tcm-video-wrap {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 18px auto;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
}
.tcm-video-placeholder {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}
.tcm-video-placeholder iframe,
.tcm-video-placeholder .tcm-video-inner {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}
.tcm-banner-wrap {
    display: block;
    width: 100%;
    text-align: center;
    margin: 18px 0;
    overflow: hidden;
}
.tcm-error { color: #c00; font-size: 13px; }
/* Interstitial overlay */
#tcm-interstitial-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#tcm-interstitial-overlay .tcm-int-close {
    position: absolute;
    top: 16px; right: 20px;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    user-select: none;
}
#tcm-interstitial-overlay .tcm-int-content {
    max-width: 900px;
    width: 95%;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
/* Push prompt */
#tcm-push-prompt {
    position: fixed;
    bottom: 24px; left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,.18);
    z-index: 99999;
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 420px;
    animation: tcm-slide-up .35s ease;
}
@keyframes tcm-slide-up {
    from { transform: translateX(-50%) translateY(80px); opacity: 0; }
    to   { transform: translateX(-50%) translateY(0);    opacity: 1; }
}
#tcm-push-prompt .tcm-push-icon { font-size: 28px; }
#tcm-push-prompt .tcm-push-body { flex: 1; }
#tcm-push-prompt .tcm-push-body strong { display: block; margin-bottom: 4px; }
#tcm-push-prompt .tcm-push-body small { color: #888; font-size: 12px; }
#tcm-push-prompt .tcm-push-actions { display: flex; flex-direction: column; gap: 6px; }
#tcm-push-prompt .tcm-push-allow {
    background: #e00;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    font-weight: 600;
}
#tcm-push-prompt .tcm-push-deny {
    background: none;
    border: none;
    color: #888;
    font-size: 12px;
    cursor: pointer;
}
