/* Full story, season and episode features. */
/* Serial season AJAX blocks. */
.serial-seasons-box,
.serial-episodes-box {
    margin: 0 0 22px;
}

.serial-section-title {
    margin: 0 0 15px;
    font-size: 18px;
    font-weight: 600;
    color: #1d1d25;
}

.serial-season-panel {
    padding: 16px 18px;
    background: #f7f7f7;
    border-left: 4px solid #1d1d25;
}

.serial-season-panel-title {
    margin: 0 0 12px;
    color: #686868;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.serial-season-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.season-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 14px;
    border: 1px solid #e1e1e1;
    background: #fff;
    color: #1d1d25;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.season-btn:hover,
.season-btn.active {
    background: #c41f32;
    border-color: #c41f32;
    color: #fff;
    text-decoration: none;
}

a.season-btn:hover {
    color: #fff;
}

.season-name {
    margin-right: 4px;
}

.serial-current-season-title {
    margin: 0 0 12px;
    color: #1d1d25;
    font-size: 16px;
    font-weight: 600;
}

.serial-episodes-list {
    position: relative;
}

.serial-adaptive-browser [hidden],
.serial-episode-selector[hidden],
.serial-episode-selector [hidden] {
    display: none !important;
}

.serial-adaptive-controls {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    margin: 0 0 16px;
    padding: 14px 16px;
    background: #f7f7f7;
}

.serial-range-list {
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    gap: 7px;
}

.serial-number-search {
    display: flex;
    align-items: flex-end;
    gap: 7px;
}

.serial-control-label {
    display: block;
    margin: 0;
    color: #686868;
    font-size: 13px;
    font-weight: 600;
}

.serial-number-input,
.serial-episode-select {
    display: block;
    min-height: 36px;
    margin-top: 5px;
    padding: 6px 10px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #1d1d25;
}

.serial-number-input {
    width: 110px;
    font-size: 16px;
}

.serial-control-button,
.serial-range-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #d7d7d7;
    background: #fff;
    color: #1d1d25;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.serial-control-button:hover,
.serial-range-button:hover,
.serial-range-button[aria-pressed="true"] {
    border-color: #c41f32;
    background: #c41f32;
    color: #fff;
}

.serial-empty-message {
    margin: 0 0 20px;
    padding: 18px;
    background: #f7f7f7;
    color: #686868;
    text-align: center;
}

.serial-local-loader,
.serial-selector-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 34px;
}

.serial-local-loader span,
.serial-selector-loader span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #c41f32;
    animation: serial-loader-pulse .9s ease-in-out infinite alternate;
}

.serial-local-loader span:nth-child(2),
.serial-selector-loader span:nth-child(2) {
    animation-delay: .15s;
}

.serial-local-loader span:nth-child(3),
.serial-selector-loader span:nth-child(3) {
    animation-delay: .3s;
}

@keyframes serial-loader-pulse {
    from { opacity: .3; transform: scale(.8); }
    to { opacity: 1; transform: scale(1); }
}

.serial-episode-navigation {
    margin: 22px 0 30px;
}

.serial-episode-navigation .episode-nav {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.serial-episode-navigation .episode-nav > div {
    display: flex;
    padding: 0 !important;
}

.serial-episode-navigation .episode-nav > div:last-child {
    justify-content: flex-end;
}

.serial-episode-navigation .episode-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 14px;
    border: 1px solid #1d1d25;
    border-radius: 4px;
    background: #1d1d25;
    color: #fff;
    text-decoration: none;
}

.serial-episode-navigation .episode-nav a:hover,
.serial-episode-navigation .episode-nav a:focus {
    border-color: #c41f32;
    background: #c41f32;
    color: #fff;
}

#init-links .c-btn.c-btn_style-1:hover,
#init-links .c-btn.c-btn_style-1:focus {
    border-color: #c41f32;
    background: #c41f32;
    color: #fff;
}

@media (max-width: 767px) {
    #init-links.nav-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

.serial-episode-navigation .episode-nav .svg-icon {
    display: inline-flex;
    align-items: center;
}

.serial-episode-navigation .episode-nav .name {
    font-weight: 400;
}

.serial-episode-navigation .episode-nav .ml-3 {
    margin-left: 5px !important;
}

.serial-episode-navigation .episode-nav .mr-3 {
    margin-right: 5px !important;
}

.serial-episode-navigation .episode-nav .no-active {
    display: none;
}

.serial-episode-selector {
    margin-top: 14px;
    padding: 14px 16px;
    background: #f7f7f7;
}

.serial-episode-select {
    width: min(100%, 360px);
}

.serial-watch-page {
    margin-bottom: 28px;
}

.serial-episode-post-title h1 {
    margin: 30px 0 30px;
    font-size: 20px;
    font-weight: normal;
    line-height: 1.2;
    color: #1a1920;
}

body.page .c-page-content.reading-content-wrap.chapter-type-video > .content-area {
    margin-top: 0;
}

.serial-watch-toolbar {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 12px;
}

.serial-watch-control {
    position: relative;
    flex: 0 1 190px;
}

.serial-watch-label,
.serial-watch-control > label {
    display: block;
    margin: 0 0 6px;
    color: #686868;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.serial-watch-select {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 38px 9px 13px;
    border: 1px solid #d8d8dc;
    border-radius: 4px;
    background-color: #ebebeb;
    color: #1d1d25;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

select.serial-watch-select {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
    cursor: pointer;
}

.serial-select-field {
	position: relative;
}

.serial-select-arrows {
	position: absolute;
	top: 50%;
	right: 13px;
	display: block;
	width: 12px;
	height: 14px;
	color: #8d8d94;
	pointer-events: none;
	transform: translateY(-50%);
}

.serial-watch-select.active,
.serial-watch-select:focus {
    border-color: #c41f32;
    box-shadow: 0 0 0 2px rgba(196, 31, 50, .12);
}

.serial-watch-toolbar .serial-episode-selector {
    margin: 0;
    padding: 0;
    background: transparent;
}

.serial-watch-toolbar .serial-episode-select {
    width: 100%;
    min-height: 44px;
    margin: 0;
}

.serial-selector-field {
    position: relative;
}

.serial-selector-field .serial-selector-loader {
    position: absolute;
    top: 50%;
    right: 38px;
    min-height: 0;
    transform: translateY(-50%);
}

.serial-selector-field .serial-selector-loader span {
    width: 6px;
    height: 6px;
}

.serial-episode-select[aria-busy="true"] {
    padding-right: 78px;
}

.serial-watch-toolbar .serial-episode-navigation {
    flex: 1 1 auto;
    margin: 0;
}

.serial-watch-toolbar .episode-nav {
    justify-content: flex-end;
    margin: 0;
}

.serial-watch-toolbar .episode-nav > div {
    flex: 0 0 auto;
    margin: 0 !important;
}

.serial-watch-toolbar .episode-nav .svg-icon svg {
    stroke: currentColor;
    stroke-width: .8;
    stroke-linejoin: round;
}

.serial-player-stage {
    position: relative;
    width: 100%;
    min-height: 360px;
    overflow: hidden;
    border-radius: 4px;
    background: #25242b;
}

.serial-player-box,
.serial-player-box iframe {
    display: block;
    width: 100%;
}

.serial-player-box iframe {
    height: clamp(350px, 40vw, 430px);
    border: 0;
}

.serial-player-cover {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(350px, 40vw, 430px);
    overflow: hidden;
    padding: 28px;
    background: #25242b;
    color: #fff;
    text-align: center;
}

.serial-player-cover-image {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.serial-player-cover::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .6) linear-gradient(to top right, rgba(72, 165, 218, .2), #2c2c2c);
    content: "";
}

.serial-player-cover-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 12px;
    padding: 0;
    font-size: 15px;
    font-weight: 600;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
}

.serial-player-cover-content .fa {
    font-size: 64px;
    color: #c41f32;
    transition: color .2s ease, transform .2s ease;
}

.serial-player-cover-content:hover,
.serial-player-cover-content:focus {
    background: transparent;
}

.serial-player-cover-content:hover .fa,
.serial-player-cover-content:focus .fa {
    color: #e32c42;
    transform: scale(1.06);
}

.serial-player-gate {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(350px, 40vw, 430px);
    padding: 24px;
    color: #fff;
    text-align: center;
}

.serial-player-captcha p {
    margin: 0 0 16px;
    color: #fff;
}

.serial-player-spinner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.serial-player-spinner span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #c41f32;
    animation: serial-loader-pulse .9s ease-in-out infinite alternate;
}

.serial-player-spinner span:nth-child(2) {
    animation-delay: .15s;
}

.serial-player-spinner span:nth-child(3) {
    animation-delay: .3s;
}

.serial-player-stage .d-none {
    display: none !important;
}

.serial-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.serial-control-button:focus,
.serial-range-button:focus,
.btn-reverse-order:focus,
.serial-player-cover-content:focus,
.serial-number-input:focus,
.serial-episode-select:focus {
    border-color: #c41f32;
    box-shadow: 0 0 0 2px rgba(196, 31, 50, .12);
}

.serial-episode-item.active > a {
    color: #c41f32;
}

.serial-episodes-list .chapter-release-date,
.serial-episodes-list .chapter-release-date i {
    color: #737373;
}

.serial-episode-item.serial-episode-search-match {
    background: rgba(196, 31, 50, .08);
    box-shadow: 0 0 0 3px rgba(196, 31, 50, .12);
}

.serial-season-loader {
    padding: 18px 0;
    text-align: center;
}

.serial-season-loader img {
    width: 24px;
    height: 24px;
    margin-right: 8px;
    vertical-align: middle;
}

.serial-season-loader span {
    color: #686868;
    font-size: 13px;
    font-weight: 600;
}

body.manga-page .profile-manga .tab-summary .summary-heading .summary-label,
body.manga-page .profile-manga .post-status .summary-heading .summary-label {
    display: block;
    margin-top: 0;
    margin-bottom: 8px;
    color: #333333;
    font-size: 14px;
    font-weight: 600;
}

@media (max-width: 480px) {
    body.manga-page .profile-manga .tab-summary .summary-heading .summary-label,
    body.manga-page .profile-manga .post-status .summary-heading .summary-label {
        margin-bottom: 3px;
    }
}

/* Keep secondary full-story text gray while meeting contrast on white. */
body.manga-page .description-summary .summary__content,
body.manga-page .description-summary .summary__content p,
#manga-discussion .comment-selection-wrapper .comment-selection,
#madara-comments .must-log-in,
#madara-comments .comment-metadata,
#madara-comments .comment-metadata a,
#madara-comments .comment-metadata i {
    color: #737373;
}

.c-blog__heading.style-2 .btn-reverse-order {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.c-blog__heading.style-2 .btn-reverse-order i {
    margin: 0 20px;
    background: none;
    color: #000;
    font-size: 22px;
    transform: rotate(90deg);
}

.text-ui-light .c-blog__heading.style-2 .btn-reverse-order i {
    color: #fff;
}

.c-blog__heading.style-2 .btn-reverse-order i::after {
    display: none;
}

.c-blog__heading.style-2 .btn-reverse-order.active i {
    color: #c41f32;
}

@media (max-width: 480px) {
    .season-btn {
        flex: 1 1 calc(50% - 8px);
    }

    .serial-adaptive-controls,
    .serial-number-search {
        align-items: stretch;
        flex-direction: column;
    }

    .serial-number-input,
    .serial-control-button {
        width: 100%;
    }

    .serial-episode-navigation .episode-nav a {
        padding: 9px 11px;
    }

    .serial-watch-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .serial-watch-control,
    .serial-watch-toolbar .serial-episode-navigation {
        width: 100%;
        flex-basis: auto;
    }

    .serial-watch-toolbar .episode-nav {
        justify-content: flex-end;
    }

    .serial-watch-toolbar .episode-nav > div {
        flex: 0 0 auto;
    }

    .serial-player-stage,
    .serial-player-cover,
    .serial-player-gate,
    .serial-player-box iframe {
        min-height: 240px;
        height: clamp(350px, 40vw, 430px);
    }
}

/* Voirdrama comment form. */

.ac-textarea {
    margin-top: 5px;
}

#madara-comments.comments-area {
    margin-top: 10px;
}

#madara-comments.comments-area .comment-reply-title,
#madara-comments.comments-area .comments-title {
    color: #1d1d25;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/*
#madara-comments.comments-area #respond.comment-respond {
    margin-bottom: 18px;
}
*/

#madara-comments.comments-area .comment-form {
    margin-bottom: 34px;
    padding: 22px;
    background: #fff;
    border: 1px solid #ebebeb;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .035);
}

#madara-comments .voirdrama-comment-form {
    width: 100%;
}

#madara-comments .comment-author-field {
    max-width: 360px;
    margin: 16px 0 0;
}

#madara-comments .comment-author-field label {
    display: block;
    margin: 0 0 8px;
    color: #1d1d25;
    font-size: 13px;
    font-weight: 600;
}

#madara-comments .comment-author-field input,
#madara-comments .bb-editor textarea,
#madara-comments textarea {
    width: 100%;
    border: 1px solid #dedede;
    background: #fff;
    color: #1d1d25;
    font-size: 14px;
    line-height: 1.6;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

#madara-comments .comment-author-field input {
    height: 42px;
    padding: 0 14px;
}

#madara-comments .bb-editor {
    width: 100% !important;
    max-width: 100%;
}

#madara-comments .bb-editor textarea,
#madara-comments textarea#comments,
#madara-comments textarea#ACEditor {
    min-height: 180px;
    padding: 14px 16px;
    resize: vertical;
}

#madara-comments .comment-author-field input:focus,
#madara-comments .bb-editor textarea:focus,
#madara-comments textarea:focus {
    border-color: #c41f32;
    box-shadow: 0 0 0 3px rgba(255, 47, 53, .08);
}

#madara-comments .bb-pane {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    height: auto !important;
    margin: 0;
    padding: 10px;
    overflow: visible;
    background: #f7f7f7;
    border: 1px solid #dedede;
    border-bottom: 0;
    border-radius: 4px 4px 0 0;
    box-shadow: none !important;
}

#madara-comments .bb-pane > b,
#madara-comments .bb-sel,
#madara-comments .bb-sep {
    float: none;
    margin: 0;
    padding: 0;
}

#madara-comments .bb-sel select {
    height: 30px;
    border: 1px solid #dedede;
    background: #fff;
    color: #1d1d25;
    font-size: 12px;
}

#madara-comments .bb-btn {
    display: inline-flex;
    float: none;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid #dedede;
    border-radius: 4px;
    background: #fff;
    box-shadow: none;
    color: #1d1d25;
    font-size: 0;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
}

#madara-comments .bb-btn:before {
    color: inherit;
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
}

#madara-comments .bb-btn:hover {
    background: #c41f32;
    border-color: #c41f32;
    color: #fff;
}

#madara-comments #b_up:before {
    content: "\f093";
}

#madara-comments #b_leech:before {
    content: "\f127";
}

#madara-comments #b_video:before {
    content: "\f03d";
}

#madara-comments #b_audio:before {
    content: "\f001";
}

#madara-comments #b_hide:before,
#madara-comments #b_spoiler:before {
    content: "\f070";
}

#madara-comments #b_quote:before {
    content: "\f10d";
}

#madara-comments #b_color:before {
    content: "\f53f";
}

#madara-comments #b_tf:before,
#madara-comments #b_tnl:before {
    content: "\f1da";
}

#madara-comments #b_br:before,
#madara-comments #b_pl:before {
    content: "\f0c4";
}

#madara-comments #b_yt:before {
    content: "\f04b";
}

#madara-comments .submit-comment-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 16px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #1d1d25;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

#madara-comments .submit-comment-btn:hover {
    background: #c41f32;
    color: #fff;
}

#madara-comments.comments-area ol.comment-list {
    margin-top: 10px;
}

#madara-comments.comments-area ol.comment-list li.comment article.comment-body {
    padding: 18px 0;
}

#madara-comments.comments-area ol.comment-list li.comment article.comment-body .block-left {
    background: #f7f7f7;
    border: 1px solid #ebebeb;
}

#madara-comments.comments-area ol.comment-list li.comment article.comment-body .block-right .comment-author .heading {
    color: #1d1d25;
}

#madara-comments.comments-area ol.comment-list li.comment article.comment-body .block-right .comment-content {
    color: #686868;
}

#madara-comments.comments-area ol.comment-list li.comment article.comment-body div.reply {
    top: 18px;
}

/* Native DLE favorite control with live AJAX state. */
.favorite-control,
.favorite-control > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.favorite-control > a {
    width: 38px;
    height: 38px;
}

.favorite-control img {
    display: block;
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    border: 0;
    object-fit: contain;
}

.favorite-control img[src*="plus_fav.gif"] {
    content: url("../images/favorite-add.svg");
}

.favorite-control img[src*="minus_fav.gif"] {
    content: url("../images/favorite-remove.svg");
}

/* Related news cards. */
.related-manga .voirdrama-related-item {
	display: flex;
	margin-bottom: 24px;
}

.voirdrama-related-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	min-width: 0;
}

.voirdrama-related-poster {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	overflow: hidden;
	border-radius: 6px;
	background-color: #ececee;
	background-image: url("../dleimages/loading.gif");
	background-position: center;
	background-repeat: no-repeat;
}

.voirdrama-related-poster img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .3s ease, filter .3s ease;
}

.voirdrama-related-poster img.voirdrama-poster-lazy:not(.lazy-loaded) {
	object-fit: none;
	background-color: #ececee;
}

.voirdrama-related-poster:hover img,
.voirdrama-related-poster:focus-visible img {
	filter: brightness(.86);
	transform: scale(1.035);
}

.voirdrama-related-title {
	display: block;
	margin: 10px 0 0;
	overflow: hidden;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.voirdrama-related-title a {
	display: block;
	overflow: hidden;
	color: #1d1d25;
	text-decoration: none;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.voirdrama-related-title a:hover,
.voirdrama-related-title a:focus {
	color: #eb3349;
}

.voirdrama-related-meta {
	display: flex;
	min-height: 18px;
	align-items: center;
	gap: 10px;
	margin-top: 7px;
	color: #737373;
	font-size: 12px;
	line-height: 1;
}

.voirdrama-related-rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.voirdrama-related-year + .voirdrama-related-rating {
	padding-left: 10px;
	border-left: 1px solid #dedee3;
}

.voirdrama-related-rating svg {
	display: block;
	width: 14px;
	height: 14px;
	flex: 0 0 14px;
	color: #f0b429;
}

@media (max-width: 480px) {
	.related-manga .voirdrama-related-item {
		margin-bottom: 20px;
	}

	.voirdrama-related-title {
		font-size: 13px;
	}
}

/* Full-story trailer display and the poster shortcut. */
.voirdrama-trailer {
	margin: 30px 0;
	scroll-margin-top: 90px;
}

.voirdrama-lite-video {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #111;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(20, 22, 28, .12);
}

.voirdrama-lite-video__button,
.voirdrama-lite-video iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.voirdrama-lite-video__button {
	display: block;
	padding: 0;
	overflow: hidden;
	cursor: pointer;
	background: #111;
}

.voirdrama-lite-video__poster {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .88;
	transition: opacity .2s ease, transform .3s ease;
}

.voirdrama-lite-video__button:hover .voirdrama-lite-video__poster,
.voirdrama-lite-video__button:focus-visible .voirdrama-lite-video__poster {
	opacity: .72;
	transform: scale(1.015);
}

.voirdrama-lite-video__play {
	position: absolute;
	top: 50%;
	left: 50%;
	display: inline-flex;
	width: 64px;
	height: 48px;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: #c41f32;
	border-radius: 12px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .28);
	transform: translate(-50%, -50%);
}

.voirdrama-lite-video__button:focus-visible {
	outline: 3px solid rgba(196, 31, 50, .42);
	outline-offset: -3px;
}

.voirdrama-poster-media {
	position: relative;
	width: fit-content;
	max-width: 100%;
	margin: 0 auto;
}

/* Reserve the poster box before an external cover is downloaded or decoded. */
.voirdrama-poster-media > a:first-child,
body.manga-page .profile-manga .tab-summary .summary_image > a:first-child {
	display: block;
	width: 193px;
	max-width: 100%;
	aspect-ratio: 193 / 278;
	overflow: hidden;
	background-color: #f0f0f2;
	background-image: url("../dleimages/loading.gif");
	background-position: center;
	background-repeat: no-repeat;
}

.voirdrama-poster-media > a:first-child img,
body.manga-page .profile-manga .tab-summary .summary_image > a:first-child img {
	display: block;
	width: 100%;
	height: 100%;
	aspect-ratio: 193 / 278;
	object-fit: cover;
}

.voirdrama-trailer-jump {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 2;
	display: none;
	width: 54px;
	height: 54px;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #fff;
	background: #c41f32;
	border: 2px solid rgba(255, 255, 255, .92);
	border-radius: 50%;
	box-shadow: 0 7px 22px rgba(0, 0, 0, .34);
	cursor: pointer;
	text-decoration: none;
	transform: translate(-50%, -50%);
	transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.wp-manga:has(#voirdrama-trailer) .voirdrama-trailer-jump,
.wp-manga.has-voirdrama-trailer .voirdrama-trailer-jump {
	display: inline-flex;
}

.voirdrama-trailer-jump:hover,
.voirdrama-trailer-jump:focus-visible {
	color: #fff;
	background: #a9192a;
	text-decoration: none;
	transform: translate(-50%, -50%) scale(1.06);
}

.voirdrama-trailer-jump:focus-visible {
	outline: 3px solid rgba(196, 31, 50, .38);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.voirdrama-lite-video__poster,
	.voirdrama-trailer-jump {
		transition: none;
	}
}
