@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap");
#loading-layer { background: var(--wa-color-neutral-05); padding: var(--wa-space-m); text-align: center; color: var(--wa-color-neutral-95); border-radius: var(--wa-border-radius-s) }

#loading-layer.withouttext {
    background: rgb(0 0 0 / 60%);
    padding: var(--wa-space-xs) 5px 0px 5px;
    text-align: center;
    color: var(--wa-color-neutral-95);
    border-radius: 50%;
}

#loading-layer.withtext {
	padding: var(--wa-space-m);
    background: rgb(0 0 0 / 60%);
    color: var(--wa-color-neutral-95);
    border-radius: var(--wa-border-radius-m);
	box-shadow: var(--wa-shadow-m);
}

.scriptcode, .title_quote,
	.title_spoiler, .text_spoiler, .quote { padding: var(--wa-space-m); background: var(--wa-color-surface-lowered); border: 1px solid var(--wa-color-neutral-80); }

	.title_quote { border-left: 2px solid var(--wa-color-danger-40); border-bottom: 0; margin-top: 2px; font-weight: bold; }
	.quote, blockquote { border-left: 2px solid var(--wa-color-danger-40);}
	.quote_block {margin-bottom: .7rem;}
	.title_spoiler { margin-top: 2px; }
	.text_spoiler { margin-bottom: 2px; }
	.title_spoiler img { vertical-align: middle; margin: -1px 0 0 !important }
	.scriptcode { color: var(--wa-color-success-30); text-align: left; font-family: "Courier New" }
	.title_spoiler { font-weight: normal; }
	.text_spoiler { border-top: 0; text-align: justify; }

	.hide { background-color: var(--wa-color-neutral-90); padding: var(--wa-space-xs); color: var(--wa-color-success-30); margin: 0 0 1em 0 }
	.hide a { text-decoration: underline; } .hide a:hover { text-decoration: none }

.sort { list-style: none; padding: 0; margin: 0; }
	.sort > li, .sort { display: inline; }
	.sort > li { margin: 0 0 0 3%; }
	.sort > li a { color: var(--wa-color-neutral-10); }
	.sort > li.asc a, .sort > li.desc a { color: var(--wa-color-brand-50); }
	.sort > li.asc a:after, .sort > li.desc a:after {
		content: "";
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAsBAMAAACj90TiAAAAG1BMVEUAAAAzlOYzlOYzlOYzlOYzlOYzlOYzlOYzlOar6gzlAAAACHRSTlMAjesv90eHRuQt1XUAAABSSURBVBjTzdCxDQAhDENRSyzAEFdQ0zDB9axEgzw2DokEI1A9/S4OyAxADEcpPGlpFKWoSpEKp0Dlb6SvG2jY4Fka4tw4PqbEsDNTcb8gn/d4LPQHQDdjhblbAAAAAElFTkSuQmCC);
		display: inline-block;
		vertical-align: middle;
		margin: -1px 0 0 .4em;
		width: 6px; height: 11px;
		-webkit-background-size: 6px auto; background-size: 6px auto;
	}
	.sort > li.asc a:after { background-position: 0 -11px; }

/*--- Calendario (WebAwesome Design) ---*/
.wa-calendar-wrapper {
  overflow: hidden;
  width: 100%;
}

.wa-calendar,
.wa-calendar tr,
.wa-calendar th,
.wa-calendar td {
  border: none !important;
}

.wa-calendar { 
  width: 100%; 
  border-collapse: collapse; 
  table-layout: fixed; 
}
.wa-calendar th {
  padding-bottom: var(--wa-space-s);
  font-weight: 500;
  text-align: center;
  font-size: 13px;
}
.wa-calendar td {
  text-align: center;
  padding: 6px 0;
  vertical-align: middle;
}

/* Modificar el botón webawesome para ser un cuadrado/circulo estricto y prevenir que revienten el div al ser 7 por fila */
.wa-calendar td .cal-day-btn::part(base) {
  padding: 0 !important;
  width: 32px !important;
  height: 32px !important;
  min-height: 32px !important;
  border-radius: var(--wa-border-radius-m) !important;
  margin: 0 auto;
}

/* Días de calendario sin enlace */
.wa-calendar td .cal-day-bare {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  margin: 0 auto;
  border-radius: var(--wa-border-radius-m);
  color: var(--wa-color-neutral-40);
  font-size: var(--wa-font-size-s);
}

.wa-calendar td .cal-day-bare.is-current {
  background-color: var(--wa-color-success-20);
  color: var(--wa-color-success-70);
  font-weight: bold;
}

.voteprogress, .pollprogress {
	overflow: hidden;
	height: 6px;
	margin-bottom: var(--wa-space-m);
	background-color: var(--wa-color-neutral-80);
	border-radius: var(--wa-border-radius-pill);
	margin-top: 6px;
}
	.voteprogress span, .pollprogress span {
		text-indent: -9999px;
		height: 6px;
		display: block;
		overflow: hidden;
		background: var(--wa-color-brand-50);
	}
	.voteprogress .vote2, .pollprogress .poll2 { background-color: var(--wa-color-danger-50); }
	.voteprogress .vote3, .pollprogress .poll3 { background-color: var(--wa-color-success-50); }
	.voteprogress .vote4, .pollprogress .poll4 { background-color: var(--wa-color-cyan-50); }
	.voteprogress .vote5, .pollprogress .poll5 { background-color: var(--wa-color-warning-50); }


/* Removed legacy rating stars CSS */
	.ratingplus {
		color: var(--wa-color-success-50);
	}

	.ratingminus {
		color: var(--wa-color-danger-40);
	}

	.ratingzero {
		color: var(--wa-color-neutral-40);
	}


.userstop td { border-bottom: 1px solid var(--wa-color-neutral-80); padding: .833em .555em; }
table.userstop { width: 100%; margin-bottom: 0; }
.userstop thead td { border-bottom: 1px solid var(--wa-color-neutral-80); font-weight: bold; }
.pm_progress_bar { background-color: var(--wa-color-neutral-95); border-radius: var(--wa-border-radius-m); }
.pm_progress_bar span { background: var(--wa-color-brand-50); font-size: 0; height: 20px; border-radius: var(--wa-border-radius-m); display: block; overflow: hidden }

#dropmenudiv {
	padding: var(--wa-space-2xs) 0;
	min-width: 12em;
	width: auto !important;
	background-color: var(--wa-color-surface-raised);
	border: 1px solid var(--wa-color-warning-50);
	border-radius: var(--wa-border-radius-m);
	box-shadow: var(--wa-shadow-l);
	background-clip: padding-box;
	overflow: hidden;
}
#dropmenudiv a {
	text-decoration: none !important;
	color: var(--wa-color-text-normal);
	display: flex;
	align-items: center;
	gap: var(--wa-space-s);
	padding: var(--wa-space-s) var(--wa-space-l);
	border: 0 none;
	white-space: nowrap;
	line-height: 1.4;
	transition: background-color var(--wa-transition-fast), color var(--wa-transition-fast);
}
#dropmenudiv a:hover {
	background-color: var(--wa-color-warning-50);
	color: var(--wa-color-text-normal);
}

#searchsuggestions {
	z-index: 2200;
	width: 23.15em;
	border-radius: var(--wa-border-radius-m);
	background: var(--wa-color-surface-raised);
	box-shadow: var(--wa-shadow-xl);
	border: 1px solid var(--wa-color-neutral-80);
	background-clip: padding-box;
	font-size: .9em;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
	}
	#searchsuggestions a, #searchsuggestions span.notfound { padding: 15px 25px; display: block; text-decoration: none; border-bottom: 1px solid var(--wa-color-neutral-80); }
	#searchsuggestions a { color: inherit; }
	#searchsuggestions a:hover { background-color: var(--wa-color-neutral-90); }
	#searchsuggestions a span { display: block; cursor: pointer; }
	#searchsuggestions span.searchheading { display: block; font-weight: bold; margin-bottom: .2em; }
	#searchsuggestions span.seperator { display: block; }
	#searchsuggestions span.seperator a { padding: var(--wa-space-m) 0; text-align: center; border: 0 none; background-color: transparent; color: var(--wa-color-neutral-90); }
	#searchsuggestions span.notfound { padding: 15px 25px; display: block; }
	#searchsuggestions .break { display: none; }

.ui-front { z-index: 1000; }
.ui-widget-overlay {
	background: var(--wa-color-neutral-05);
	opacity: 0.5;
	left: 0; top: 0; right: 0; bottom: 0;
	position: fixed;
	}
	.ui-helper-clearfix:after { clear: both; content: "."; display: block; height: 0; visibility: hidden }
	.ui-helper-clearfix { display: inline-block }
	* html .ui-helper-clearfix { height: 1% }
	.ui-helper-clearfix { display: block }
	.ui-dialog {
		text-align: left;
		overflow: hidden;
		padding: 0;
		position: absolute;
		width: 370px;
		border-radius: var(--wa-border-radius-m);
		box-shadow: var(--wa-shadow-l);
		background-color: var(--wa-color-surface-raised);
		background-clip: padding-box;
		outline: none;
		font-family: var(--wa-font-sans);
	}
	.ui-dialog-titlebar { 
		padding: var(--wa-space-l) var(--wa-space-xl);
		position: relative;
		background-color: var(--wa-color-brand-50) !important;
		color: var(--wa-color-neutral-95);
		border-bottom: none;
	}
	.ui-dialog-title { 
		float: left; 
		font-weight: 600;
		font-size: var(--wa-font-size-m);
		text-shadow: none;
	}
	.ui-dialog-titlebar-close {
		position: absolute;
		right: var(--wa-space-m); top: 50%;
		margin-top: -1.11em !important;
		height: 1.597em !important;
		width: 2.22em;
		border: 0 none !important;
		background-color: transparent !important;
		box-shadow: none !important;
		padding: 0px !important;
		cursor: pointer;
		opacity: 0.75;
		transition: opacity var(--wa-transition-fast);
	}
	.ui-dialog-titlebar-close:hover { opacity: 1; }
	.ui-dialog-titlebar-close .ui-icon {
		display: block;
    	margin: 0.56em auto 0 auto;
    	width: 0.75em;
    	height: 0.75em;
    	opacity: .8;
    	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
	}

	.ui-dialog-titlebar-close span.ui-button-text {
    	display: block;
    	margin: 0.56em auto 0 auto;
    	width: 0.75em;
    	height: 0.75em;
   		background-size: .694em auto;
    	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e");
    	text-indent: -9999px;
    	opacity: .75;
	}

	.ui-dialog-titlebar-close span.ui-button-text:hover {
		opacity: 1;
	}

	.ui-button {
		font-family: var(--wa-font-sans);
		font-size: var(--wa-font-size-s);
		font-weight: 500;
		border: 0 none;
		vertical-align: middle;
		cursor: pointer;
		border-radius: var(--wa-border-radius-m);
		outline: none;
		background-color: var(--wa-color-brand-50);
		padding: var(--wa-space-s) var(--wa-space-l);
		text-decoration: none !important;
		box-shadow: var(--wa-shadow-s);
		box-sizing: border-box;
		-webkit-transition: all ease .1s; transition: all ease .1s;
		text-shadow: none;
		margin: 0 var(--wa-space-2xs);
	}
	.ui-icon, .ui-button-icon-only { overflow: hidden; text-indent: -9999px; }
	.ui-dialog label { color: var(--wa-color-neutral-30); }
	.ui-dialog-content { padding: var(--wa-space-m) var(--wa-space-l); border: none !important; overflow: auto; position: relative; zoom: 1; }
	.loginbox.ui-dialog, .loginbox .ui-dialog-content { overflow: visible !important; }
	.ui-dialog-content h2 { display: inline; font-size: 1em; font-weight: bold }
	.ui-dialog .ui-dialog-buttonpane { padding: var(--wa-space-s) var(--wa-space-l) var(--wa-space-m); text-align: right; }
	.ui-dialog .ui-dialog-buttonset { display: flex; gap: var(--wa-space-xs); justify-content: flex-end; }
	.ui-draggable .ui-dialog-titlebar { cursor: move; }
	.ui-state-error { background: var(--wa-color-danger-50) 50% 50% repeat-x !important; border: 1px solid var(--wa-color-danger-40); color: var(--wa-color-danger-30); }
	.ui-helper-hidden-accessible{display: none;}

	.ui-button:hover { background-color: var(--wa-color-brand-40); }

	.ui-dialog-buttonset button:last-child {
			background-color: var(--wa-color-brand-50);
			color: var(--wa-color-neutral-95);
	}
	.ui-dialog-buttonset button:last-child:hover {
		background-color: var(--wa-color-brand-40);
	}

	.ui-dialog-buttonset button:first-child {
	  background-color: var(--wa-color-neutral-90);
	}
	.ui-dialog-buttonset button:first-child:hover {
		background-color: var(--wa-color-neutral-40);
	}
	.ui-dialog-buttonset button.ui-button-delete {
		background-color: var(--wa-color-danger-40);
	    border-color: var(--wa-color-danger-40);
	    color: var(--wa-color-neutral-95);
	}
	.ui-dialog-buttonset button.ui-button-delete:hover {
		background-color: var(--wa-color-danger-30);
	    border-color: var(--wa-color-danger-30);
	    color: var(--wa-color-neutral-95);
	}
.tox .tox-dialog__footer .tox-button--secondary {
    background-color: var(--wa-color-neutral-90) !important;
    border-color: var(--wa-color-neutral-90) !important;
    color: var(--wa-color-neutral-95) !important;
}

.tox .tox-button {
    background-color: var(--wa-color-brand-50) !important;
    border-color: var(--wa-color-brand-50) !important;
}

.dle-popup-userprofileadmin .ui-button-delete {
	float: left;
}

.dle-popup-userprofileadmin .ui-dialog-buttonset button:nth-child(2) {
	background-color: var(--wa-color-neutral-90);
}

.ui-autocomplete { position: absolute; cursor: default; }

.ui-menu {
	list-style:none;
	padding: 2px; margin: 0;
	float: left;
	background: var(--wa-color-surface-raised) 50% bottom repeat-x;
	border: 1px solid var(--wa-color-neutral-80);
	color: var(--wa-color-neutral-10);
}
.ui-menu .ui-menu { margin-top: -3px; }
.ui-menu .ui-menu-item { margin:0; padding:.2em .4em; cursor: pointer; width: 100%; }

.bb-editor textarea { 
    -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
    padding: 7px; border: 1px solid var(--wa-color-neutral-70); width: 100%;
    -webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	margin-top: -1px;
	outline: none;
}

.bb-editor textarea:focus{
		border-color: var(--wa-color-brand-50) !important;
}
	
	.emoji_box {
		width:100%;
		max-width: 390px;
	}
	.emoji_category {
		padding:7px;
		clear:both;
	}
	.emoji_list {
		margin-top: var(--wa-space-xs);
		margin-bottom: var(--wa-space-xs);
		width:100%;
		font-family:'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
		font-size:2em;
	}
	.emoji_symbol {
		float:left;
		margin-bottom: var(--wa-space-m);
		width:12.5%;
		text-align:center;
	}
	
	.emoji_symbol a,  .emoji_symbol a:hover {
		cursor: pointer;
		text-decoration:none;
	}
	
.quick-edit-text { padding: .4em; width: 350px; }
	.quick-edit-textarea {
		height: 250px; padding: 2px;
		border: 1px solid var(--wa-color-neutral-70);
		width: 100%;
		box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);
		-webkit-transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
		transition:border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
	}

#dlefastreplycomments {
	padding: 0 4% 10px 4%;
}
#dle-comments-list > .comments-tree-list > li .comments-tree-list > li #dlefastreplycomments { padding: 0 0 10px 0; }

#marker-bar,
	#txtselect_marker {
		display: block;
		visibility: hidden;
		position: absolute;
		z-index: 1200;
		opacity: 0;
		-webkit-transition: opacity .4s, visibility .1s linear .4s;
		transition: opacity .4s, visibility .1s linear .4s;
	}
	#txtselect_marker {
		cursor: pointer;
		background:url(../dleimages/marker.png) no-repeat 0 0;
	}
	#txtselect_marker:hover { background-position: 0 -32px; }
	#marker-bar{
		border: 1px solid var(--wa-color-neutral-70);
		border-radius: var(--wa-border-radius-pill);
		background: var(--wa-color-surface-raised);
		padding: var(--wa-space-xs) var(--wa-space-m);
		cursor: default;
		box-shadow: var(--wa-shadow-s);
		-webkit-box-shadow: var(--wa-shadow-s);
	}
	#marker-bar.show {
		-webkit-transition: opacity .4s, visibility 0s;
		transition: opacity .4s, visibility 0s;
		opacity: 1;
		visibility: visible;
	}
	#txtselect_marker.show {
		visibility: visible;
		width: 32px; height: 32px;
		-webkit-transition: opacity .4s, visibility 0s;
		transition: opacity .4s, visibility 0s;
		opacity: 1;
	}
	#marker-bar .masha-social,
	#marker-bar .masha-marker{
		cursor: pointer;
		display: block;
		margin: 0 5px;
		float: left;
	}
	#marker-bar .masha-marker{
		line-height: 1em;
		color: var(--wa-color-neutral-90);
		border-bottom: 1px dotted var(--wa-color-neutral-60);
		margin-right: 10px;
	}
	#marker-bar .masha-marker:hover {
		color: var(--wa-color-danger-40);
		border-color: var(--wa-color-danger-40);
	}
	.user_selection, .user_selection_true {
		background: var(--wa-color-warning-50);
		padding: 2px 0;
	}
	.user_selection a.txtsel_close,
	.user_selection_true a.txtsel_close { display: none; }
	.user_selection .closewrap, .user_selection_true .closewrap { position: relative; }
	.user_selection.hover a.txtsel_close, .user_selection_true.hover a.txtsel_close {
		display: inline-block;
		position: absolute;
		top: -7px; left: -5px;
		width: 33px; height: 33px;
		background: url(../dleimages/closemarker.png) 0 0 no-repeat;
	}
	.user_selection.hover a.txtsel_close:hover,
	.user_selection_true.hover a.txtsel_close:hover { background-position: -0px -33px; }

	#share-popup {
		border: 1px solid var(--wa-color-neutral-80);
		border-radius: var(--wa-border-radius-m);
		background: var(--wa-color-surface-raised);
		position: absolute; z-index: 100;
		width: 414px;
		display: none;
		padding: var(--wa-space-xl) 0;
		opacity: 0;
		box-shadow: var(--wa-shadow-xl);
		background-clip: padding-box;
		-webkit-transition: opacity .4s, visibility .1s linear .4s;
		transition: opacity .4s, visibility .1s linear .4s;
	}
	#share-popup.show {
		display: block; opacity: 1;
		-webkit-transition: opacity .4s, visibility 0s;
		transition: opacity .4s, visibility 0s;
	}
	#share-popup .social { padding: 0 0 10px 17px; }
	#share-popup .social p { padding-bottom: 10px; margin: 0; font-weight: bold;}
	#share-popup .social ul { list-style: none; margin: 0; padding: 0; }
	#share-popup .social ul li { display: inline; margin-right: 20px; padding-top: 2px; }
	#share-popup .social ul a {
		text-decoration: none;
		font-size: 12px;
		display: inline-block;
		color: var(--wa-color-neutral-40);
	}
	#share-popup .social ul a:hover { text-decoration: underline; }
	#share-popup .social a span {
		cursor: pointer;
		width: 20px; height: 20px;
		background: url(../dleimages/social-icons.png) 20px 20px no-repeat;
		display: inline-block;
		vertical-align: middle;
		margin: -3px 5px 0 0;
	}
	#share-popup .social .tw span { background-position: 0 -20px; }
	#share-popup .social .tw:hover span { background-position: 0 0; }
	#share-popup .social .fb span { background-position: -20px -20px; } 
	#share-popup .social .fb:hover span { background-position: -20px 0; }
	#share-popup .social .vk span{ background-position: -40px -20px; }
	#share-popup .social .vk:hover span { background-position: -40px 0; }
	#share-popup .social .gp span{ background-position: -60px -20px; }
	#share-popup .social .gp:hover span { background-position: -60px 0; }
	#share-popup .link {
		clear: both;
		border-top: 1px solid var(--wa-color-neutral-80);
		padding: var(--wa-space-m) 5px 0 10px;
		line-height: 1.2;
		overflow: hidden;
		margin: 0 7px;
	}
	#share-popup .link p {
		font-weight: bold;
		padding: 0 0 3px 0;
		margin: 0;
	}
	#share-popup .link span {
		color: var(--wa-color-neutral-90);
		font-size: 10px;
		display: block;
		padding-top: 3px;
	}
	#share-popup .link a { display: block; }
	.dle-alert, .dle-confirm, .dle-promt { padding: var(--wa-space-xl) 1em !important; }

select, textarea, input[type="text"], input[type="password"], input[type="file"],
input[type="datetime"], input[type="datetime-local"], input[type="date"],
input[type="month"], input[type="time"], input[type="week"], input[type="number"],
input[type="email"], input[type="url"], input[type="search"], input[type="tel"],
input[type="color"] {
	display: inline-block;
	width: 302px;
	padding: 6px;
	vertical-align: middle;
	border-radius: var(--wa-border-radius-m);
	background: var(--wa-color-surface-lowered);
	color: var(--wa-color-text-normal);
	border: 1px solid var(--wa-color-neutral-70);
	-webkit-transition: border 0.2s linear 0s; transition: border 0.2s linear 0s;
	-moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
}

select {
		width: auto;
    padding: .35rem 2.2rem .35rem .65rem;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    appearance: none;
}

select[multiple] {
    padding-right: .75rem;
    background-image: none;
}

	textarea { margin: 0; overflow: auto; vertical-align: top; resize: vertical; }
	textarea:focus, select:focus, input[type="text"]:focus, input[type="password"]:focus,
	input[type="file"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus,
	input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus,
	input[type="week"]:focus, input[type="number"]:focus, input[type="email"]:focus,
	input[type="url"]:focus, input[type="search"]:focus, input[type="tel"]:focus,
	input[type="color"]:focus, .uneditable-input:focus {
		border-color: var(--wa-color-brand-50);
		outline: none;
	}
	input[type="file"], input[type="image"],
	input[type="submit"], input[type="reset"],
	input[type="button"] { width: auto; }
	input[type="search"] {
		-webkit-box-sizing: content-box;
		-moz-box-sizing: content-box;
		box-sizing: content-box;
	}
	input[type="search"]::-webkit-search-cancel-button,
	input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; }
	select[multiple], select[size], textarea { height: auto; }
	input::-moz-placeholder, textarea::-moz-placeholder, input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { opacity: 0.6; }

	input:focus { outline: none; }
	input[type="file"], input[type="image"] { padding: 0; border-width: 0; background-color: transparent; }
	.wide, .bb-editor textarea, .ui-dialog textarea, select#category, .timezoneselect, .twofactorselect, .quick-edit-text { width: 100%!important;}
	select#category {max-width: 24.31em !important;height: 9.72em !important;}
	
	.form_submit .c-captcha { float: right; }
	.c-captcha { position: relative; }
	.c-captcha:after { clear: both; display: block; content: ""; }
	.c-captcha > a { float: left; margin-right: 5px; }
	.c-captcha img {
		position: relative;
		display: block;
		width: 9.03em; height: 3.194em;
		z-index: 1;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.c-captcha > input { float: left; width: 9.03em; height: 3.194em;}

	.dle-captcha { position: relative; }
	.dle-captcha:after { clear: both; display: block; content: ""; }
	.dle-captcha > a { float: left; margin-right: 5px; }
	.dle-captcha img {
		position: relative;
		display: block;
		width: 9.03em; height: 3.194em;
		-webkit-transition: all ease .2s; transition: all ease .2s;
	}
	.dle-captcha > input { float: left; width: 9.03em; height: 3.194em; }

.btn, .bbcodes, .btn-border {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	border-radius: var(--wa-border-radius-m);
	outline: none;
	background-color: var(--wa-color-brand-50);
	color: var(--wa-color-neutral-95);
	text-shadow: none;
	border: 0 none;
	padding: var(--wa-space-s) var(--wa-space-l);
	text-decoration: none !important;
	box-shadow: var(--wa-shadow-s);
	box-sizing: border-box;
	transition: all ease var(--wa-transition-fast);
}
	.btn > .icon { fill: var(--wa-color-neutral-95); }
	.btn-white > .icon { fill: var(--wa-color-brand-50); }
	.btn-white { background-color: var(--wa-color-neutral-95); color: var(--wa-color-brand-50); }
		.btn-white:hover > .icon { fill: var(--wa-color-neutral-95); }
		.btn-white:hover { background-color: var(--wa-color-brand-50); color: var(--wa-color-neutral-95); }
	.btn:hover, .bbcodes:hover { background-color: var(--wa-color-brand-40); }

.bbcodes.cancelchanges {
	background-color: var(--wa-color-neutral-90);
}
.bbcodes.cancelchanges:hover {
	background-color: var(--wa-color-neutral-40);
}

	.btn-big { padding: var(--wa-space-m) var(--wa-space-xl); border-radius: var(--wa-border-radius-l); }

	.btn-border {
		color: var(--wa-color-brand-50);
		border: 2px solid var(--wa-color-brand-50) !important;
		line-height: 1.528em;
		padding: var(--wa-space-xs) var(--wa-space-l);
		background-color: transparent !important;
		overflow: hidden;
		box-shadow: inset 0 0 0 0 transparent;
		text-shadow: none;
	}

	.btn-border.btn-big{
		padding: var(--wa-space-s) var(--wa-space-l);
	}

table.xfields {
	width: 100%;
}
.xfields textarea, .xprofile textarea {
    width: 100%;
    height: 12.92em;
    margin-top: var(--wa-space-s);
}
.xfields input[type="text"] {
	width: 100%;
}

.xfieldsdescr {
	width: 13.89em;
}
.xfields .bb-pane + textarea {
    margin-top: 0px;
}
.xfieldsnote {
	color: var(--wa-color-neutral-90);
    font-size: .9em;
}

.xfields_table td {
    vertical-align: top;
}
.xfieldsrow {
	padding-top:10px;
	clear: both;
}
.xfieldscolleft {
	float: left;
	width: 30%;
	padding-top: 6px;
}
.xfieldscolright {
	float: left;
	width: 70%;
}
.file-box {
	width: 95%;
	max-width: 437px;
	border: 1px solid var(--wa-color-neutral-70);
	border-radius: var(--wa-border-radius-m);
	background-color: var(--wa-color-neutral-90);
	padding: var(--wa-space-m);
	margin-top: var(--wa-space-m);
}

.xfieldimagegallery, .comments-image-gallery {
  margin: 0;
  padding: 0;  
  list-style: none;
  clear: both;
}

.xfieldimagegallery li, .comments-image-gallery li{
	list-style: none;
	margin: 0;
	padding: 0;  
}

.xfieldimagegallery li img, .comments-image-gallery li img{
  float: left;
  margin-right: 5px;
  border: 5px solid var(--wa-color-neutral-95);
  width: 100px;
  height: 100px;
  transition: box-shadow 0.5s ease;
}

.xfieldimagegallery li img:hover, .comments-image-gallery li img:hover {
  box-shadow: 0px 0px 7px rgba(0,0,0,0.4);
}

.qq-uploader { position:relative; width: 100%;}

.qq-upload-button {
    display:inline-block;
    margin-top: var(--wa-space-xs);
    margin-bottom: var(--wa-space-xs);
	cursor:pointer;
}
.qq-upload-drop-area {
    position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
	max-width: 437px;
    background: var(--wa-color-danger-70); text-align:center; 
}
.qq-upload-drop-area span {
    display:block; position:absolute; top: 50%; width:100%; margin-top:-8px; font-size:16px;
}

.qq-upload-drop-area-active {background: var(--wa-color-danger-60);}

.sortable-ghost {
	opacity: 0.4;
}

.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor:not-allowed;
    pointer-events:none;
    opacity:0.65;
    filter:alpha(opacity=65);
    -webkit-box-shadow:none;
    box-shadow:none;
}

.progress {
    overflow:hidden;
    margin-top: var(--wa-space-m);
	margin-bottom: var(--wa-space-m);
    background-color: var(--wa-color-neutral-90);
    height:10px;
    -webkit-border-radius: var(--wa-border-radius-pill);
    border-radius: var(--wa-border-radius-pill);
    -webkit-box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
    box-shadow:0 1px 0 white, 0 0px 0 1px rgba(0, 0, 0, 0.1) inset, 0 1px 4px rgba(0, 0, 0, 0.2) inset;
}
 .progress .progress-bar {
    float:left;
    width:0%;
    font-size:12px;
    line-height:20px;
    color: var(--wa-color-neutral-95);
    text-align:center;
    background-color: var(--wa-color-brand-50);
    -webkit-box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    box-shadow:inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    -webkit-transition:width 0.6s ease;
    transition:width 0.6s ease;
    border-radius: var(--wa-border-radius-pill);
    height:8px;
}
.progress-bar span{
    position:absolute;
    width:1px;
    height:1px;
    margin:-1px;
    padding:0;
    overflow:hidden;
    clip:rect(0 0 0 0);
    border:0;
}
.progress-blue {
    background-image:-webkit-gradient(linear, left 0%, left 100%, from(#9bcff5), to(#6db9f0));
    background-image:-webkit-linear-gradient(top, #9bcff5, 0%, #6db9f0, 100%);
    background-image:-moz-linear-gradient(top, #9bcff5 0%, #6db9f0 100%);
    background-image:linear-gradient(to bottom, #9bcff5 0%, #6db9f0 100%);
    background-repeat:repeat-x;
    border:1px solid #55aeee;
}

/*---Смайлы---*/

span.emoji {
    margin-left: 0.313rem;
    margin-right: 0.313rem;
}

.emoji {
    border: none;
    vertical-align: bottom;
}

.native-emoji {
    font-size: 1.3em;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
}

.wseditor {
    border-top: 3px solid var(--wa-color-brand-50);
    border-top-left-radius: var(--wa-border-radius-s);
    border-top-right-radius: var(--wa-border-radius-s);
}

.wseditor .tox-tinymce {
    border-top: none;
}

#dlefastreplycomments .wseditor {
	margin-bottom: var(--wa-space-m);
}

.dlecomments-editor .tox .tox-toolbar__primary,  .dlefastedit-editor .tox .tox-toolbar__primary{
    border-top: 0;
    box-shadow: none;
}

.mce-toc {
  border: 1px solid var(--wa-color-neutral-70);
	margin: 0 0 .7rem 0;
}

.mce-toc h2 {
  margin: 4px;
}

.mce-toc ul {
	padding-left: 20px;
  list-style: none;
  margin-top: 0;
  margin-bottom: 0;
  margin-block-start: 1em;
  margin-block-end: 1em;
}

.mce-toc ul ul {
	padding-left: 20px;
	margin-block-start: 0;
  margin-block-end: 0;
}

.mce-toc li {
  list-style-type: none;
}

.image-bordered {
	border: 1px solid var(--wa-color-neutral-70);
}

.image-shadows {
	box-shadow: var(--wa-shadow-m);
}

.image-padded {
	padding: var(--wa-space-xs);
}

.comments-user-profile {
  font-weight: bold;
  cursor: pointer;
  color: var(--wa-color-brand-50);
}

.tox .tox-dialog__header {
    color: var(--wa-color-neutral-95) !important;
    background-color: var(--wa-color-brand-50) !important;
    border-bottom: var(--wa-color-brand-50) !important;
}

.title_spoiler svg{
	vertical-align: middle;
	margin-top: -.28em;
	margin-right: .47em;
	height: 1.11em;
	width: 1.11em;
}

.mce-accordion summary {
	cursor: pointer;
}

.mobilewseditor .tox:not(.tox-tinymce-inline) .tox-editor-header {
	border-bottom: none;
}

input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: var(--wa-space-m);
}

.user_fields .xfieldscolright {
    float: none;
    width: auto;
}
.user_fields .form-check-input {
	margin: 0.417em 0.694em 0 0;
}

.DLEPush {
	z-index: 2001;
	position: fixed;
	right: var(--wa-space-xl);
	top: var(--wa-space-xl);
}

@keyframes DLEPush-show {
	0% {
		transform: translateY(100%);
		opacity: 0;
	}

	100% {
		transform: translateY(0);
		opacity: 1;
	}
}

.DLEPush-notification.wrapper {
	animation-name: DLEPush-show;
	animation-duration: 1s;
	position: relative;
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	color: var(--wa-color-text-normal);
	margin-bottom: var(--wa-space-m);
	width: 100%;
	max-width: 27.78em;
	box-shadow: var(--wa-shadow-l);
	background-color: var(--wa-color-surface-raised);
	border-radius: var(--wa-border-radius-l);
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--wa-color-neutral-95);
	width: 3.125em;
	height: 100%;
	border-top-left-radius: var(--wa-border-radius-l);
	border-bottom-left-radius: var(--wa-border-radius-l);
	text-align: center;
}

.DLEPush-notification .DLEPush-icon svg {
	width: 1.78em;
	height: 1.78em;
}

.DLEPush-notification .DLEPush-header {
	font-weight: 500;
	grid-column: 2;
	grid-row: 1;
	font-size: var(--wa-font-size-m);
	margin-left: 1em;
	margin-top: .5em;
}
.DLEPush-notification .DLEPush-header:empty {
	margin-top: 0;
}

.DLEPush-notification .DLEPush-message {
	grid-column: 2;
	grid-row: 2;
	font-size: var(--wa-font-size-s);
	margin: 1.163em;
}

.DLEPush-notification .DLEPush-message li, .DLEPush-notification .DLEPush-message ul {
	list-style-type: none;
	padding-left: 0;
}

.DLEPush-notification .DLEPush-close {
	position: absolute;
	top: 8px;
	right: 10px;
	font-weight: 300;
	background: none;
	border: 0;
	font-size: calc(var(--wa-font-size-m) * 1.15);
	cursor: pointer;
	line-height: 1;
	padding: 0;
	color: inherit;
	outline: 0;
	opacity: 0.75;
}

@media only screen and (min-width: 601px) {
	.DLEPush-notification.wrapper {
		min-width: 27.78em;
	}
}

@media only screen and (max-width: 600px) {
	.xfieldscolleft {
		float: none;
		width: 100%;
	}
	.xfieldscolright {
		float: none;
		width: 100%;
	}
}

.DLEPush-notification .DLEPush-close:hover {
	opacity: 1;
}

.DLEPush-notification.wrapper.push-success {
	background-color: var(--wa-color-success-50);
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: var(--wa-color-success-40);
}

.DLEPush-notification.wrapper.push-warning {
	background-color: var(--wa-color-warning-50);
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: var(--wa-color-warning-50);
}

.DLEPush-notification.wrapper.push-error {
	background-color: var(--wa-color-danger-50);
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: var(--wa-color-danger-50);
}
.quote_link {
	float: right;
}
.quote_link svg {
	color: var(--wa-color-neutral-40);
	vertical-align: middle;
}
.clipboard-copy-link svg {
	color: var(--wa-color-neutral-40);
	vertical-align: middle;
	margin-top: -3px;
}

.smart-captcha {
    display: inline-block;
}

.mathml-container {
	font-family: math;
}

div.mathml-block {
	font-size: 1.1em;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .139em .35em;
}

div.mathml-block .katex {
    font-size: 1.1em;
}

span.mathml-inline {
	display: inline-block;
	vertical-align: middle;
	margin: 0 .12em;
}

.dleshowhidden {
	color: var(--wa-color-brand-40);
	background-color: var(--wa-color-brand-50);
	border: 1px solid var(--wa-color-brand-60);
	box-shadow: var(--wa-shadow-s);
	padding: var(--wa-space-m);
}

:root {
  --wa-font-sans: 'Quicksand', sans-serif;
  --wa-font-family-heading: 'Quicksand', var(--wa-font-sans);
}

html, body {
  font-family: var(--wa-font-sans);
}

:not(:defined) {
  visibility: hidden;
}

.wa-light a.wa-dark {
  display: none;
}

.wa-dark a.wa-light {
  display: none;
}

.wa-light wa-page::part(main-content) {
  background-color: var(--wa-color-surface-default);
}

.wa-light [slot="navigation-header"],
.wa-light [slot="navigation"],
.wa-light [slot="navigation-footer"],
html.wa-light wa-page {
  background-color: var(--wa-color-blue-95);
}

.wa-light .topbar {
  background-color: #FFF;
}

.topbar {
  padding: var(--wa-space-s) 0;
  position: sticky;
  top: var(--wa-space-s);
  z-index: 50;
  background-color: #09090B;
}

@media (max-width: 991px) {
  .topbar {
    position: static;
    top: auto;
  }
}

@media (min-width: 992px) {
  .topbar {
    top: 0;
  }
}

.topbar-2 {
  padding: var(--wa-space-s) var(--wa-space-m);
  border-radius: var(--wa-border-radius-m);
  display: flex;
  align-items: center;
  gap: var(--wa-space-s);
  font-size: var(--wa-font-size-s);
}

wa-page {
  --menu-width: 21rem;
}

[slot="navigation-header"],
[slot="navigation"],
[slot="navigation-footer"] {
  width: 100%;
  background-color: #18181B;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  wa-page {
    --menu-width: 0 !important;
  }
  wa-page::part(main-content) {
    margin: 0 !important;
  }
  .my-custom-scroller {
    padding: 0 var(--wa-space-s) !important;
  }
}

[slot="navigation"] wa-details::part(base),
[slot="navigation"] wa-details::part(header) {
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

[slot="navigation"] wa-details::part(content) {
  padding: var(--wa-space-l) 0 !important;
}

[slot="navigation"] wa-details::part(summary-icon) {
  display: none !important;
}

wa-page::part(menu),
wa-page::part(navigation) {
  overflow-y: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  background-color: #18181B;
}

wa-page::part(drawer) {
  --wa-panel-background-color: #18181B;
}

[slot="navigation"] {
  flex-grow: 1 !important;
  overflow-y: auto !important;
  flex-shrink: 1 !important;
}

[slot="navigation-header"] {
  position: relative !important;
  z-index: 10 !important;
}

.main-footer-internal {
  padding: var(--wa-space-l) 0;
}

html, body, wa-page {
  height: 100vh;
  max-height: 100vh;
  overflow: hidden !important;
  background-color: #18181B;
}

wa-page::part(main) {
  overflow-y: hidden !important; 
  padding-bottom: 0 !important;
  height: 100vh;
  display: flex !important;
  flex-direction: column !important;
}

wa-page::part(main-content) {
  background-color: #09090B;
  border-radius: var(--wa-border-radius-l);
  margin: var(--wa-space-m) var(--wa-space-m) var(--wa-space-m) 0;
  flex: 1;
  min-height: 0 !important; 
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
}



.my-custom-scroller {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 0 var(--wa-space-l);
}

.my-custom-scroller::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

* {
  scrollbar-width: none !important;
}
[slot="main-header"] {
  background-color: color-mix(in rgba,#18181B 75%,transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--wa-border-radius-l);
  margin: var(--wa-space-s);
  padding: var(--wa-space-m) var(--wa-space-l);
  z-index: 50;
}

[slot="navigation-header"] img {
  max-height: 50px;
  object-fit: cover;
}

wa-button.nav-item {
  width: 100%;
}

wa-button.nav-item::part(base) {
  justify-content: flex-start;
}

wa-button.nav-item::part(label) {
  flex: 1;
  text-align: left;
}

.shortstory-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.shortstory-grid.shortstory-grid-2col {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .shortstory-grid.shortstory-grid-2col {
    grid-template-columns: 1fr;
  }
}

.shortstory-grid wa-card, 
.shortstory-grid wa-card::part(base) {
  background-color: rgba(23, 23, 26, 0.5);
  --wa-panel-background-color: rgba(23, 23, 26, 0.5);
  border-color: rgba(35, 35, 39, 0.7);
}

.wa-light .shortstory-grid wa-card, 
.wa-light .shortstory-grid wa-card::part(base) {
  background-color: transparent;
  --wa-panel-background-color: transparent;
  border-color: var(--wa-color-surface-border);
}

.shortstory-card {
  width: 100%;
  position: relative;
  --spacing: var(--wa-space-s);
}

.shortstory-card wa-rating, 
.shortstory-card wa-rating::part(base) {
  --symbol-size: 12px !important;
  font-size: 12px !important;
}

.link-category {
  font-size: 0 !important;
}
.link-category a:first-of-type {
  font-size: var(--wa-font-size-s) !important;
}
.link-category a:nth-of-type(n+2) {
  display: none !important;
}

.shortstory-image-wrapper {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: var(--wa-border-radius-m);
}

.shortstory-meta-overlay {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, calc(-100% + 6px));
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  gap: var(--wa-space-xs);
  padding: 0 var(--wa-space-m) var(--wa-space-s) var(--wa-space-m);
  background-color: #101012;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0 0 var(--wa-border-radius-m) var(--wa-border-radius-m);
  width: max-content;
  max-width: 95%;
  z-index: 10;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.8);
}

.wa-light .shortstory-meta-overlay {
  background-color: var(--wa-color-surface-default);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.shortstory-card:hover .shortstory-meta-overlay,
.shortstory-image-wrapper:focus-within .shortstory-meta-overlay {
  transform: translate(-50%, 0);
}

@media (max-width: 991px) {
  .shortstory-meta-overlay {
    transform: translate(-50%, 0) !important;
  }
}

.shortstory-card {
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.shortstory-card h3 { margin-bottom: 0;}

.shortstory-card.is-premium {
  position: relative;
  z-index: 1;
}

.shortstory-card.is-premium::part(base) {
  border-color: transparent !important;
}

@property --premium-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.shortstory-card.is-premium::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--wa-border-radius-m);
  padding: 1px;
  background: conic-gradient(
      from var(--premium-angle), 
      rgba(35, 35, 39, 0.7) 0deg, 
      rgba(35, 35, 39, 0.7) 120deg, 
      var(--wa-color-warning-50) 180deg, 
      rgba(35, 35, 39, 0.7) 240deg, 
      rgba(35, 35, 39, 0.7) 360deg
  );
  
  animation: premiumSpin 2s linear infinite;
  
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  
  z-index: -1;
  pointer-events: none;
}

.wa-light .shortstory-card.is-premium::before {
  background: conic-gradient(
      from var(--premium-angle), 
      var(--wa-color-surface-border) 0deg, 
      var(--wa-color-surface-border) 120deg, 
      var(--wa-color-warning-50) 180deg, 
      var(--wa-color-surface-border) 240deg, 
      var(--wa-color-surface-border) 360deg
  );
}

@keyframes premiumSpin {
  0%   { --premium-angle: 0deg; }
  100% { --premium-angle: 360deg; }
}

.card-media-wrapper {
  position: relative;
  display: block;
  overflow: hidden;
}

.premium-badge {
  position: absolute;
  top: var(--wa-space-s);
  right: var(--wa-space-s);
  z-index: 2;
  box-shadow: var(--wa-shadow-l);
}

.disc-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: max-content;
  height: max-content;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border-radius: 50%;
  padding: 16px;
  font-size: 2.5rem;
  backdrop-filter: blur(4px);
  z-index: 5;
}

.link-category a {
  text-decoration: none;
}

.link-category a:not(:first-child) {
  margin-left: var(--wa-space-s);
  color: var(--wa-color-yellow-80);
}

.link-category a:not(:first-child)::before {
  content: "";
  display: inline-block;
  width: var(--wa-font-size-s);
  height: var(--wa-font-size-s);
  margin-right: var(--wa-space-2xs);
  vertical-align: calc(var(--wa-space-3xs) * -1);
  background-color: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.4 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");
  mask-repeat: no-repeat;
  mask-size: contain;
  mask-position: center;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M316.9 18C311.6 7 300.4 0 288.1 0s-23.4 7-28.8 18L195 150.3 51.4 171.5c-12 1.8-22 10.2-25.7 21.7s-.7 24.2 7.9 32.7L137.8 329 113.2 474.7c-2 12 3 24.2 12.9 31.3s23 8 33.8 2.3l128.3-68.5 128.3 68.5c10.8 5.7 23.9 4.9 33.8-2.3s14.9-19.3 12.9-31.3L438.5 329 542.4 225.9c8.6-8.5 11.7-21.2 7.9-32.7s-13.7-19.9-25.7-21.7L381.2 150.3 316.9 18z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  -webkit-mask-position: center;
}

.text-muted {
  color: var(--wa-color-gray-60);
}

.wa-color-danger {
  color: var(--wa-color-red-60);
}

.wa-color-brand {
  color: var(--wa-color-blue-70);
}

wa-button.facebook::part(base) {
	background-color: #1877F2;
	border-color: #1877F2;
	color: #ffffff;
}
wa-button.facebook::part(base):hover {
	background-color: #166fe5;
	border-color: #166fe5;
}
wa-button.google::part(base) {
	background-color: #DB4437;
	border-color: #DB4437;
	color: #ffffff;
}
wa-button.google::part(base):hover {
	background-color: #c5392d;
	border-color: #c5392d;
}

.img-bg {
	position: absolute;
  top: -30px;
  left: -30px;
  right: -30px;
  bottom: -30px;
  background-size: cover;
  background-position: center;
  filter: blur(25px) brightness(0.35);
  z-index: 0;
}

.img-full {
  margin-right: 0.5rem;
  border-radius: var(--wa-border-radius-l) !important;
  max-width: 600px;
}

@media (max-width: 768px) {
  .img-full {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    display: block;
  }
}

/* Fullstory Redesign Styles */

.dlepl__theme--dark .plyr--audio .plyr__controls {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullstory-header-container {
  position: relative;
  z-index: 1;
  padding: var(--wa-space-xl);
  display: flex !important;
  flex-direction: row;
  gap: var(--wa-space-2xl);
  flex-wrap: wrap;
  color: #FFFFFF !important;
}

.fullstory-img {
  flex: 0 0 auto;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--wa-border-radius-l);
  box-shadow: var(--wa-shadow-large);
}

.fullstory-content {
  flex: 1 1 350px;
  min-width: 0;
}

.fullstory-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--wa-space-m);
}

.fullstory-spec-item {
  display: flex;
  flex-direction: column;
  gap: var(--wa-space-3xs);
  padding: var(--wa-space-s);
  border-radius: var(--wa-border-radius-m);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fullstory-intro-box {
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--wa-border-radius-m);
  line-height: 1.6;
}

.fullstory-rating-badge {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--wa-space-2xs) var(--wa-space-s);
  border-radius: var(--wa-border-radius-pill);
  display: inline-flex;
  align-items: center;
}

@media (max-width: 991px) {
  .fullstory-header-container {
    flex-direction: column;
    padding: var(--wa-space-l);
  }
  .fullstory-img {
    max-width: 100%;
    aspect-ratio: auto;
    height: auto;
  }
}

.fullstory-text {
  color: #FFFFFF !important;
}

wa-copy-button::part(button) {
  width: var(--wa-input-height-large, 3rem);
  height: var(--wa-input-height-large, 3rem);
  font-size: 1.25rem;
  border: 1px solid var(--wa-input-border-color);

}

.related-carousel {
	--aspect-ratio: auto; 
	--slides-per-page: 1;
	--slides-per-move: 1;
	--slide-gap: var(--wa-space-xl);
	margin: 1rem 0;
}

@media (min-width: 768px) { .related-carousel { --slides-per-page: 1; --slides-per-move: 1; } }
@media (min-width: 992px) { .related-carousel { --slides-per-page: 4; --slides-per-move: 2; } }

@media (max-width: 991px) {
  .related-carousel {
    --navigation-button-offset: var(--wa-space-3xs);
  }
}

.top-carousel {
	--aspect-ratio: auto; 
}

[slot="main-footer"] a {
	text-decoration: none;
	color: #FFF;
  font-weight: 500;
}

[slot="main-footer"] a:hover {
	text-decoration: underline;
}

.info-banner {
	padding: var(--wa-space-l);
	background: radial-gradient(circle at center, var(--wa-color-brand-fill-quiet), var(--wa-color-brand-fill-normal));
}

.wa-text-center {
  text-align: center;
}

div[id^="paypal-button-container"] {
  color-scheme: light !important;
  background: transparent !important;
}

wa-avatar {
  background-color: transparent !important;
  box-shadow: none !important;
}

.topbar wa-details {
  display: none !important;
}

[slot="navigation-footer"] .wa-cluster wa-button:last-of-type {
  display: none !important;
}

[slot="navigation-footer"] .quick-actions-cluster {
  gap: var(--wa-space-3xs) !important;
}

.topbar .quick-actions-cluster {
  gap: var(--wa-space-xs) !important;
}

.category-grid {
  grid-template-columns: 1fr 1fr;
  width: 100%;
}

[slot="navigation"] .category-grid wa-button {
  position: relative;
  width: 100%;
}
[slot="navigation"] .category-grid wa-badge {
  position: absolute;
  right: var(--wa-space-s);
  top: 30%;
  transform: translateY(-50%);
  pointer-events: none;
}

.placeholder {
  background-color: transparent;
  border: dashed var(--wa-border-width-m) var(--wa-color-neutral-border-normal);
  border-radius: var(--wa-border-radius-m);
  min-block-size: 120px;
}

/* --- Blog Post Layout --- */
.blog-post-cover {
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: var(--wa-border-radius-l);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  position: relative;
}

.blog-post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 992px) {
  .blog-post-cover img {
    height: 140%;
    position: relative;
    top: -20%;
    will-change: transform;
    transform: translateY(0);
  }
}

.blog-story-content {
  line-height: 1.7;
  font-size: 1.05rem;
}

