.xpublisher-player {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 180px;
    overflow: hidden;
    background: #080808;
    color: #fff;
}

.xpublisher-player-poster,
.xpublisher-player-frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.xpublisher-player-poster {
    object-fit: cover;
    background: #111;
}

.xpublisher-player-poster-empty {
    background: linear-gradient(135deg, #121212, #252525);
}

.xpublisher-player-play {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 74px;
    height: 74px;
    transform: translate(-50%, -50%);
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .72);
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.xpublisher-player-play::before {
    content: "";
    position: absolute;
    left: 30px;
    top: 22px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    border-left: 22px solid #fff;
}

.xpublisher-player-status {
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 8px;
    min-height: 18px;
    color: #ddd;
    font: 12px/18px Arial, sans-serif;
    text-align: center;
    text-shadow: 0 1px 2px #000;
    pointer-events: none;
}

.xpublisher-player.is-loaded .xpublisher-player-play,
.xpublisher-player.is-loaded .xpublisher-player-status {
    display: none;
}

.xpublisher-player.is-loading .xpublisher-player-play {
    opacity: .55;
}

.xpublisher-player.is-error .xpublisher-player-play {
    display: none;
}

.xpublisher-player-report {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 4;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 3px;
    padding: 4px 8px;
    color: #fff;
    background: rgba(0, 0, 0, .62);
    font: 12px/16px Arial, sans-serif;
    cursor: pointer;
}

.xpublisher-report-panel {
    position: absolute;
    right: 8px;
    top: 38px;
    z-index: 5;
    width: min(320px, calc(100% - 16px));
    padding: 10px;
    color: #f5f5f5;
    background: rgba(12, 12, 12, .94);
    border: 1px solid rgba(255, 255, 255, .18);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .4);
    font: 12px/16px Arial, sans-serif;
}

.xpublisher-report-form label {
    display: block;
    margin-bottom: 7px;
}

.xpublisher-report-form label span {
    display: block;
    margin-bottom: 2px;
    color: #cfcfcf;
}

.xpublisher-report-form select,
.xpublisher-report-form textarea,
.xpublisher-report-form input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #555;
    border-radius: 3px;
    padding: 5px 6px;
    color: #111;
    background: #fff;
    font: 12px Arial, sans-serif;
}

.xpublisher-report-close {
    position: absolute;
    right: 5px;
    top: 5px;
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
}

.xpublisher-report-captcha {
    display: flex;
    align-items: center;
    min-height: 46px;
    margin: 4px 0 2px;
}

.xpublisher-report-challenge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-sizing: border-box;
    min-width: 116px;
    min-height: 50px;
    padding: 4px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 4px;
}

.xpublisher-report-challenge img {
    display: block;
    height: 40px;
    width: 26px;
    object-fit: contain;
    background: #fff;
}

.xpublisher-report-captcha-slot {
    display: block;
    width: 26px;
    height: 40px;
    background: rgba(255, 255, 255, .14);
    border-radius: 2px;
}

.xpublisher-report-equals {
    min-width: 18px;
    color: #fff;
    font: 700 20px/40px Arial, sans-serif;
    text-align: center;
}

.xpublisher-report-answer-row {
    display: flex;
    gap: 8px;
}

.xpublisher-report-answer-row input {
    flex: 1 1 auto;
}

.xpublisher-report-reload {
    flex: 0 0 auto;
    border: 0;
    border-radius: 3px;
    padding: 5px 9px;
    color: #fff;
    background: #444;
    cursor: pointer;
    font: 12px Arial, sans-serif;
}

.xpublisher-report-actions {
    text-align: right;
}

.xpublisher-report-actions button {
    border: 0;
    border-radius: 3px;
    padding: 5px 10px;
    color: #fff;
    background: #356ad8;
    cursor: pointer;
}

.xpublisher-report-actions button:disabled,
.xpublisher-report-reload:disabled {
    cursor: default;
    opacity: 0.62;
}

.xpublisher-report-status {
    min-height: 16px;
    margin-top: 6px;
    color: #ddd;
}

.xpublisher-player-error {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    padding: 16px;
    color: #ddd;
    background: #111;
    font: 14px Arial, sans-serif;
}
