/* Ajuste client-side conservador mantendo o template original do player. */
.template-loading,
.template-empty {
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    padding: 22px;
    color: #fff;
    margin: 15px 0 30px;
}
#template-login-error,
#tpl-alert {
    margin: 15px 0;
}
.template-user-box {
    color: #fff;
    padding-top: 18px;
    line-height: 1.7;
}
.template-search-form {
    margin: 0;
}
.template-search-form input[type="text"] {
    color: #111;
    border: 0;
    border-radius: 20px;
    padding: 8px 14px;
    min-width: 220px;
}
.template-card-wrap .post-medium {
    min-height: 470px;
}
.template-poster {
    width: 100%;
    height: 350px !important;
    object-fit: cover;
    background: #111;
}
.template-card-wrap .infor h4 {
    min-height: 42px;
    overflow: hidden;
}
.template-card-wrap .title {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}
.template-video-box {
    background: #000;
    min-height: 420px;
}
.template-video-player {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #000;
    display: block;
}
.template-player-article .video-info {
    overflow: hidden;
}
.template-info-box {
    margin-top: 22px;
}
.template-info-box h3 {
    font-size: 17px;
    line-height: 1.45;
}
.template-series-cover {
    width: 100%;
    max-height: 430px;
    object-fit: cover;
    background: #111;
}
.template-series-info {
    padding: 18px;
    margin-bottom: 24px;
}
.template-episode-row {
    margin-bottom: 14px;
}
.template-episode-row .post {
    background: rgba(0,0,0,.25);
    padding: 12px;
    border-radius: 8px;
}
.template-episode-row img {
    width: 100%;
    max-height: 140px;
    object-fit: cover;
    background: #111;
}
.template-search-title {
    margin: 20px 0 10px;
}
.dropdown-menu {
    max-height: 440px;
    overflow-y: auto;
}
@media (max-width: 1200px) {
    .template-card-wrap .post-medium { min-height: 430px; }
    .template-poster { height: 310px !important; }
}
@media (max-width: 991px) {
    .template-user-box { padding: 10px 15px 18px; }
    .template-search-form input[type="text"] { min-width: 100%; width: 100%; margin: 8px 0; }
    .template-poster { height: 300px !important; }
    .template-card-wrap .post-medium { min-height: 420px; }
}
@media (max-width: 640px) {
    .template-poster { height: 260px !important; }
    .template-card-wrap .post-medium { min-height: 380px; }
    .template-video-box, .template-video-player { min-height: 240px; }
}
