
.wk-header,
.wk-header2 {
	padding: 4px;
	text-align: left;
}

.wk-header2 {
	border-top-width: 0;
}

.wk-header-links {
	list-style-type: none;
}

.wk-header-links li {
	display: inline-block;
	line-height: 16px;
	margin-left: 10px;
}

.wk-header-links li a {
	display: block;
	padding: 5px 8px;
	text-decoration: none;
}

.wk-header-links a.active {
	background-color: #006E89;
	color: #fff;
}

.wk-panel {
	background: #FFF;
	font-size: 11px;
	margin: 10px 0;
	padding: 6px;
}

.wk-content {
	margin: 0 240px 10px 0;
}

.wk-slide {
	border-left: 1px solid #ccc;
	float: right;
	padding-left: 4px;
	width: 220px;
}

.wk-item-leftarea {
	float: left;
	text-align: center;
	width: 230px;
}

.wk-item-image {
	border: 3px solid #FFF;
	width: 100%;
	height: auto;
}

.wk-item-points {
	/*gradient*/
	background-color: #ff7171;
	border: 1px solid #ff3232;
	border-radius: 5px;
	color: #fff;
	display: inline-block;
	list-style-type: none;
	padding: 2px 0;
}

.wk-item-points li {
	border-left: 1px solid #ddd;
	display: inline-block;
	font-weight: bold;
	max-width: 46%;
	overflow: hidden;
	padding: 5px;
	vertical-align: middle;
}

.wk-item-points li:first-child {
	border-left-width: 0;
}

.wk-item-point {
	display: block;
	font-size: 1.8em;
	font-weight: bold;
	margin-top: 4px;
}

.wk-item-content {
	min-height: 300px;
	margin-left: 240px;
	line-height: 1rem;
	font-size: 0.7rem;
}
}

.wk-item-content .wk-header {
	font-weight: bold;
	margin-bottom: 5px;
}

.wk-item-porlet {
	display: inline-block;
	margin: 5px 0;
	min-width: 260px;
	vertical-align: top;
	width: 48%;
}

.wk-item-info {
	list-style-type: none;
}

.wk-item-info li {
	padding: 4px 3px;
}

.wk-stats {
	margin: 3px;
}

.wk-stats dt {
	float: left;
	clear: left;
	line-height: 28px;
}

.wk-stats dd {
	align-items: center;
	display: flex;
	line-height: 28px;
	margin-left: 130px;
}

.no-border {
	border: none;
	padding: 0;
}

.wk-actionlist {
	float: right;
	list-style-type: none;
}

.wk-actionlist  li {
	display: inline-block;
	margin: 4px 6px;
}

.wk-actionlist li a {
	display: block;
	font-size: 1.4em;
	text-decoration: none;
}

.wk-chapterlist li {
	padding: 4px 20px;
}

.wk-chapterlist li.season {
	font-weight: bold;
	margin-top: 5px;
	padding-left: 5px;
	text-decoration: underline;
}

.wk-header, .wk-header2, .wk-chapterlist {
	font-size: 12px;
}

.wk-image-preview {
	background-color: #fff;
	border: 1px solid #b2b2b2;
	border-radius: 4px;
	display: inline-block;
	padding: 4px;
	width: 100px;
}

.wk-image-preview .preview-actions {
	font-size: 1.4em;
	margin-top: 10px;
	padding: 0 5px;
	text-align: right;
}

.wk-slide {
	font-size: 11px;
}

.wk-small-details {
	font-size: 0.9em;
	font-style: italic;
}

#wk-search {
	margin: 5px 0 10px 0;
	text-align: center;
}

.wk-item-add {
	float: right;
}

/* Posting and Search
------------------------------- */
fieldset.wk-posting-fields dt {
	width: 18em;
}

fieldset.wk-posting-fields dd {
	margin-left: 18em;
}

fieldset.wk-posting-fields input,
fieldset.wk-posting-fields select {
	min-width: 160px;
	max-width: calc(100vw - 300px);
}

fieldset.wk-posting-fields select[multiple] {
	width: auto;
}

.wk-fieldset p {
	font-size: 1em;
	margin-bottom: 2px;
}

.wk-editor-container {
	display: flex;
    gap: 10px;
}

.wk-editor-container > .smileys {
	width: 20%;
}

.wk-editor-container .editor-wrapper {
	flex: auto;
}

/* Lists
------------------------------- */
.wk-list {
	display: block;
	font-size: 11px;
	list-style-type: none;
	margin: 10px;
}

.wk-list li {
	padding: 7px 10px 7px 20px;
	border: none;
}

.wk-list .header {
	background-color: #353535;
	background: linear-gradient(to bottom, #6a6a6a, #5b5b5b);
	color: #fff;
	margin-top: 10px;
}

.wk-list .row {
	background-color: #fff;
	line-height: 23px;
	margin: 0 8px;
}

.wk-list .row:nth-child(even) {
	background-color: #fbfbfb;
}

.wk-list .row:hover {
	background-color: #eef5f9;
}

.wk-list .actions {
	display: none;
	float: right;
}

.wk-list .row:hover .actions,
.hastouch .wk-list .row .actions {
	display: block;
}

.wk-list .actions a {
	display: inline-block;
	font-size: 1.2em;
	margin-left: 5px;
}

.wk-list-columns {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}

.wk-list-columns li {
	flex: 0 1 auto;
	padding: 2px 10px;
	width: 15%;
}

.wk-list-columns li:first-child {
	flex: auto;
}

.wk-list-columns li:not(:first-child) {
	text-align: center;
}

.wk-list-columns li.status-column {
	width: 25%;
}

.wk-list-columns li.actions-column {
	width: 8%;
}

.wk-panel .wk-list .row {
	border-color: #ccc;
	border-style: solid;
	border-width: 0 1px;
}

.wk-panel .wk-list .row:last-child {
	border-bottom-width: 1px;
}

.wk-comment-list {
	color: #000;
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.wk-comment-list li {
	background-color: #fff;
	border: 1px solid #ccc;
	display: block;
	padding: 2px 2px 0 2px;
	position: relative;
	margin-bottom: 10px;
}

.wk-comment-list .avatar {
	border: 0px solid #ccc;
	border-right-width: 1px;
	float: left;
	font-size: 10px;
	overflow-x: hidden;
	padding: 3px 0;
	position: relative;
	text-align: center;
	vertical-align: top;
	width: 120px;
	
}

.wk-comment-list .avatar img {
	border-radius: 4px;
	display: block;
	height: auto;
	margin: 0 auto 5px auto;
	max-width: 110px;
}

.wk-comment-list .comment-body {
	margin: 0 0 25px 125px;
	padding: 6px;
	text-align: left;
	vertical-align: top;
}

.wk-comment-list .comment-actions {
	float: right;
	position: relative;
}

.wk-comment-list .comment-footer {
	border-top: 1px solid #ddd;
	color: #888;
	font-size: 0.9em;
	padding-top: 4px;
	position: absolute;
	bottom: 8px;
	left: 130px;
	right: 4px;
}

/* CharBar
------------------------------- */
.wk-charbar {
	background-color: #fafafa;
	border: 1px solid #ccc;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 26px;
	margin: 15px 0;
}

.wk-charbar-title {
	background-color: #ff9b08;
	float: left;
	padding: 0 8px;
}

.wk-charbar-title,
.wk-charbar-title a {
	color: #fff;
}

.wk-charbar-letters {
	display: block;
	list-style-type: none;
	text-align: center;
}

.wk-charbar-letters li {
	display: inline-block;
	padding: 0 8px;
}

.wk-charbar-letters li.active {
	background-color: #ddd;
}

.wk-charbar-letters li a {
	text-decoration: none;
}

/* PUREZA TÉCNICA: Estandarización de la cuadrícula de miniaturas */
.wk-item-thumbnail {
	display: inline-flex;
	flex-direction: column;
	margin: 8px;
	text-align: center;
	vertical-align: top;
	width: 140px;
}

.wk-item-thumbnail .wk-thumbnail {
	background-color: #f4f4f4;
	border: 1px solid #e2e8f0;
	border-radius: 6px;
	height: 200px; /* Proporción estándar de póster anime (~1:1.4) */
	margin-bottom: 8px;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.wk-item-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover; /* Fuerza a la imagen a llenar el marco sin deformarse */
	display: block;
	border-radius: 0;
	position: static;
	transform: none;
}

.wk-item-thumbnail > a {
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	/* Truncar texto a un máximo de 2 líneas */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Pagination
------------------------------- */
.wk-pagination {
	float: none;
	font-size: 11px;
	text-align: right;
}

.wk-header .wk-pagination,
.wk-header2 .wk-pagination {
	float: right;
	margin-top: 5px;
}

/* Trees and Lists
------------------------------- */
.wk-tree {
	padding-left: 5px;
}

.wk-tree ul {
	padding: 5px 0px 5px 15px;
}

.wk-tree li {
	list-style-type: circle;
	padding: 3px;
}

.wk-tree li.active {
	list-style-type: disc;
}

.wk-tree li.active > a {
	font-weight: bold;
}

.wk-genre-list ul {
	display: block;
	font-size: 12px;
	list-style-type: none;
}

.wk-genre-list li {
	display: inline-block;
	padding: 5px;
	width: 23%;
}

/* ProgressBar
------------------------------- */
.wk-progressbar {
	background: #000;
	display: inline-block;
	height: 14px;
	vertical-align: middle;
}

/* Dialog
------------------------------- */
.cbb-dialog fieldset.wk-dialog-fieldset2 dl {
	align-items: stretch;
	flex-direction: column;
}

.cbb-dialog fieldset.wk-dialog-fieldset2 dt,
.cbb-dialog fieldset.wk-dialog-fieldset2 dd {
	width: auto;
}

.wk-dialog-fieldset2 textarea {
	width: 100%;
}

.cbb-dialog .cbb-group > span {
	min-width: 20px;
    padding: 0 10px;
}

/* Messages and States
------------------------------- */
.wk-message {
	border: 1px solid #000;
	font-weight: bold;
	padding: 6px;
}

.wk-state-error  {
	background: #fef1ec;
	border-color: #cd0a0a;
	color: #cd0a0a;
}

.wk-state-info  {
	background: #FDFDCD;
	border-color: #FFD700;
	color: #373737;
	text-align: center;
}

.wk-state-ok, a.wk-state-ok {
	background: green;
	color: #FFFFFF;
}

.wk-state-abandon { background-color: #000; }
.wk-state-inproccess { background-color: #B5CD14; }
.wk-state-complete { background-color: #0391D3; }
.wk-state-leave { background-color: #D73706; }
.wk-state-undefined { background-color: #ccc; }
.wk-state-want { background-color: #F1B000; }

/* Borders
------------------------------- */
.wk-header-links a, .wk-item-content, .wk-panel, .wk-item-points,
.wk-progressbar, .wk-charbar,
.wk-list .header, .wk-message,
.wk-comment-list li {
	border-radius: 4px;
	overflow: hidden;
}

/* Responsive
------------------------------- */
@media only screen and (max-width: 900px) {
	.wk-editor-container {
		flex-direction: column;
	}

	.wk-editor-container > * {
		width: auto !important;
	}
}

@media only screen and (max-width: 835px) {
	.wk-item-porlet {
		display: block;
		width: auto;
	}
}

@media only screen and (max-width: 720px) {
	.wk-content {
		margin-right: 0;
	}
	
	.wk-slide {
		display: none;
	}

	.wk-charbar-title {
		float: none;
	}
}

@media only screen and (max-width: 700px) {
	fieldset.wk-posting-fields dt {
		width: auto;
	}

	fieldset.wk-posting-fields dd {
		margin-left: 0;
	}

	.wk-item-leftarea {
		float: none;
		margin-bottom: 10px;
		width: auto;
	}

	.wk-item-content {
		margin-left: 0;
	}

	.wk-header-links {
		text-align: center;
	}

	.wk-actionlist {
		float: none;
		margin-bottom: 5px;
		text-align: right;
	}
}

@media only screen and (max-width: 600px) {
	.wk-list-columns li:not(:first-child):not(.actions-column) {
		display: none;
	}

	.wk-list-columns li.actions-column {
		width: 20%;
	}
}

@media only screen and (max-width: 500px) {
	.wk-item-add {
		float: none;
		text-align: right;
	}
	
	.wk-comment-list .avatar {
		border-bottom-width: 1px;
		border-right-width: 0;
		float: none;
		padding: 5px;
		text-align: left;
		width: auto;
	}

	.wk-comment-list .avatar img {
		display: inline-block;
		margin: 0 5px 0 0;
		max-width: 30px;
	}

	.wk-comment-list .comment-body {
		margin-left: 0;
	}

	.wk-comment-list .comment-footer {
		left: 5px;
	}
}

/* PUREZA TÉCNICA: Control Responsivo para Listas Originales */
.wk-nav-select { width: 100%; padding: 10px; margin-bottom: 15px; border: 1px solid #ccc; border-radius: 4px; background: #fff; }

@media (max-width: 850px) {
    .hidden-mobile { display: none !important; }
    .hidden-desktop { display: block !important; }
}
@media (min-width: 851px) {
    .hidden-mobile { display: block !important; }
    .hidden-desktop { display: none !important; }
}

.wk-banner-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: var(--color03); 
    border-radius: var(--kronic-border-radius-l) var(--kronic-border-radius-l) 0 0;
    overflow: hidden;
    margin-bottom: 20px; /* Espacio para que el panel inferior no se pegue */
}

/* El banner inyectado por JS */
#wk-live-banner {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center 20%;
    z-index: 1;
    transition: background-image 0.5s ease-in-out;
}

/* Degradado inferior para fusionarse con el panel de abajo usando tus colores nativos */
#wk-live-banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to top, var(--color04) 0%, transparent 80%);
}

/* Contenedor de la Portada Vertical (limpio de margen negativo) */
.wk-cover-container {
    text-align: center;
    position: relative;
    z-index: 10;
}

/* Diseño de la Portada (limpio de borde grueso) */
.wk-modern-cover {
    width: 100%;
    max-width: 220px;
    border-radius: var(--kronic-border-radius-m);
    /* Borde fino y limpio */
    object-fit: cover;
    background-color: var(--color04);
}

/* Ocultamos el título h2 viejo si lo deseas (opcional, ahora mismo lo dejé visible arriba) */
/* .wk-old-title { display: none; } */

/* =========================================
   MODO RESPONSIVE (MÓVILES Y TABLETS)
========================================= */
@media (max-width: 768px) {
    .wk-banner-wrapper { height: 200px; margin-bottom: 10px; }
    .wk-modern-cover { max-width: 150px; }
}