#loading-layer { background: #000; padding: 10px; text-align: center; color: #fff; border-radius: 2px }

#loading-layer.withouttext {
    background: rgb(0 0 0 / 60%);
    padding: 5px 5px 0px 5px;
    text-align: center;
    color: #fff;
    border-radius: 50%;
}

#loading-layer.withtext {
	padding: 10px;
    background: rgb(0 0 0 / 60%);
    color: #fff;
    border-radius: 5px;
	box-shadow: 0 3px 6px rgb(0 0 0 / 16%), 0 3px 6px rgb(0 0 0 / 23%);
}

.scriptcode, .title_quote,
	.title_spoiler, .text_spoiler, .quote { padding: 10px; background: #fff; border: 1px solid #dde4ea; }

	.title_quote { border-left: 2px solid #e85319; border-bottom: 0; margin-top: 2px; font-weight: bold; }
	.quote, blockquote { border-left: 2px solid #e85319;}
	.quote_block {margin-bottom: .7rem;}
	.title_spoiler { margin-top: 2px; }
	.title_spoiler img { vertical-align: middle; margin: -1px 0 0 !important }
	.scriptcode { color: #4c6d0f; text-align: left; font-family: "Courier New" }
	.title_spoiler { font-weight: normal; }
	.text_spoiler { margin-bottom: 2px; border-top: 0; display: none;}

	.hide { background-color: #f0f0f0; padding: 5px; color: #4c6d0f; 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: #353535; }
	.sort > li.asc a, .sort > li.desc a { color: #3394e6; }
	.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; }

.calendar { width: 100%; text-align: center; }
.calendar tr td, .calendar tr th { padding: 3px; }
	.calendar tr td a { color: inherit; font-weight: bold; }
	.calendar tr td { padding: 5px 3px; }
	.calendar tr td.weekday { color: #ea5f24; }
	.calendar tr th { background-color: #fff; font-weight: bold; text-transform: uppercase; }
	.calendar tr th.weekday { background-color: #ea5f24; color: #fff; }
	.calendar tr th.monthselect { background-color: transparent; color: #b8b8b8; padding-bottom: 15px; }
	.calendar tr th.monthselect a { color: #b8b8b8; }

.voteprogress, .pollprogress {
	overflow: hidden;
	height: 6px;
	margin-bottom: 10px;
	background-color: #fff;
	border-radius: 3px;
	margin-top: 6px;
}
	.voteprogress span, .pollprogress span {
		text-indent: -9999px;
		height: 6px;
		display: block;
		overflow: hidden;
		background: #3394e6;
	}
	.voteprogress .vote2, .pollprogress .poll2 { background-color: #dd514c; }
	.voteprogress .vote3, .pollprogress .poll3 { background-color: #5eb95e; }
	.voteprogress .vote4, .pollprogress .poll4 { background-color: #4bb1cf; }
	.voteprogress .vote5, .pollprogress .poll5 { background-color: #faa732; }

.rating, .unit-rating { width: 115px; height: 23px; }
	.rating { font-size: 11px; }
	.unit-rating, .unit-rating li a:hover, .unit-rating li.current-rating {
		background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAACKBAMAAAAnGmX8AAAALVBMVEX///+RkZH+12L/w0//7cP/5aj+24X/+u7/9d2tra3Jycne3t7/zGn5+fnx8fHkdmbhAAACEUlEQVRIx+2UuUsDQRTGF+8bp4yiyKDRUhiNFikW73LxwsIiRETL4F2KilpYmFYQklIE0VYbIQQsY2kjWkbwfzDjzvhm3rzCJiCSr1p+SfY7HsT7w2rYp3ltQPO6HpqPDdA8GSVxPeckr+HcJ205T1D8gHPSeJbzPopz7hrvnk4sSL4wcboLdIpb6v0ZxuY+LGB/HRY2ubn2MeB1a5ukxtEUGkEp4bSVchtvhLzfORaE/NV7VCDnlFzJPSKPJmEcczpffhg4x13zvB2nVxXvDdP2oKNHU+FOAyi+r/xRgWn9sOVVRKv8/ycJmlc/0nx8iOYrMRLXC5EibYUIKN4iBGl8KMQoaSsEaZwTIo7Z3tHkoihpdX7mBOiysJSHhJYCWMDExho1JjfXPgP8ZG2T0zhub7SjecJpK+U23gz5iHMsHRJpLuTDzmoqjnNEJRXTbByTv/Gd48YD+WHgHHddtsMnrhb5MO0gih/b/7ZfQQWWA+WPCizph22vojKr7Y3mTec0L7bT/K6T5ukIbctYgbRlLEPxRsbOSVvGuimeZYw0ZiVh9vpwfyX5xfXDJ1CJDHVAQlOQtvXOxMYazSa/9UDvGqIOrWmNI/ZxXjS/xCOrjHjSZ3g7Wg1CmsZZ6Eq9P1LAR1RCXDaOpKGtOV2mGUaD48pGRXliFL8jTNuF4odB2tKoQDaj/FGBG/3w4f0LfQHtX5JXyZBVcwAAAABJRU5ErkJggg==);
		-webkit-background-size: 23px auto; background-size:  23px auto;
	}
	.unit-rating {
		list-style: none;
		margin: 0; padding: 0;
		position: relative;
		background-position: 0 -46px;
	}
	.unit-rating li {
		text-indent: -90000px;
		padding: 0; margin: 0;
		float: left;
	}
	.unit-rating li a {
		display: block;
		width: 23px; height: 23px;
		text-decoration: none;
		border: 0 none !important;
		text-indent: -9000px;
		z-index: 17;
		position: absolute;
		padding: 0;
	}
	.unit-rating li a:hover {
		background-position: 0 -23px;
		z-index: 2;
		left: 0;
	}
	.unit-rating a.r1-unit { left: 0; }
	.unit-rating a.r1-unit:hover { width: 23px; }
	.unit-rating a.r2-unit { left: 23px; }
	.unit-rating a.r2-unit:hover { width: 46px; }
	.unit-rating a.r3-unit { left: 46px; }
	.unit-rating a.r3-unit:hover { width: 69px; }
	.unit-rating a.r4-unit { left: 69px; }
	.unit-rating a.r4-unit:hover { width: 92px; }
	.unit-rating a.r5-unit { left: 92px; }
	.unit-rating a.r5-unit:hover { width: 115px; }
	.unit-rating li.current-rating {
		background-position: 0 0;
		position: absolute;
		height: 23px;
		display: block;
		text-indent: -9000px;
		z-index: 1;
		padding: 0px;
	}

	.ratingplus {
		color: #70bb39;
	}

	.ratingminus {
		color: red;
	}

	.ratingzero {
		color: #6c838e;
	}

.userstop td, .pm td.pm_list, .pm th.pm_head { border-bottom: 1px solid #efefef; padding: .833em .555em; }
	table.pm, table.userstop { width: 100%; margin-bottom: 0; }
	table.pm select { width: 13.194em; }
	.userstop thead td, .pm td.pm_head { border-bottom: 1px solid #efefef; font-weight: bold; }
	table.pm .navigation { border-top-width: 0; margin: 0; }

.pm th{
    text-align: left;
    font-weight: 500;
    white-space: nowrap;
}
.pm th.pm_checkbox {
	text-align: center;
}
.pm_list.pm_subj, .pm_list.pm_icon, .pm_list.pm_last_user {
 cursor: pointer;
}
.pm_list.pm_icon svg {
	width: 1.555em;
	height: 1.555em;
	vertical-align: middle;
}

.pm_list.pm_icon.pm-unread-image {
 color: #3394e6;
}
.pm td.pm_list.pm_icon, .userstop td, th.pm_head.pm_icon {
	border-bottom: none;
}
.pm_list.pm_icon.pm-reply-image {
	color: #087e02c4;
}
.pm_list.pm_icon.pm-read-image {
	color: #afafaf;
}

.pm_list .pm_last_message, .pm_list .pm_last_date, .pm_list .pm_with_user {
	color: #64748b;
	font-size: calc(var(--font-size-lg) * .8);
}
.pm tbody > tr:hover {
    background-color: #e2e8f099;
}
.pm_navigation {
	margin-top: .9em;
}
.pm_navigation .navigation {
	display: inline-block;
	color: #333333;
	background-color: #f5f5f5;
	border-radius: 0.209em;
	padding: .444em;
}

.pm_navigation .navigation a, .pm_navigation .navigation span {
    padding: 0.555em;
    min-width: 2.25rem;
}
.pm_navigation .navigation span {
    background-color: #4581d0;
    color: #fff;
}
.pm_navigation .navigation a {
    text-decoration: none;
    color: #000;
}
.pm_navigation .navigation a:hover {
    background-color: #e2e8f0;
}
#dropmenudiv { padding: .73em 0; min-width: 10.18em; width: auto !important; font-size: var(--font-size-sm);
		box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3); border: 1px solid #e6e6e6; border-color: rgba(0,0,0,0.1); background-clip: padding-box;
	}
	#dropmenudiv { background-color: #fff; }
	#dropmenudiv a { text-decoration: none !important; color: inherit; display: block; padding: 3px 20px; border: 0 none; white-space: nowrap; color: inherit; }
	#dropmenudiv a:hover { background-color: #eeeeef; }

#searchsuggestions {
	z-index: 2200;
	width: 23.15em;
	border-radius: 2px;
	background: #fff;
	box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
	border: 1px solid #ddd; border-color: rgba(0,0,0,0.2);
	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 #e5e5e5; }
	#searchsuggestions a { color: inherit; }
	#searchsuggestions a:hover { background-color: #f7f7f7; }
	#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: 10px 0; text-align: center; border: 0 none; background-color: transparent; color: #919191; }
	#searchsuggestions span.notfound { padding: 15px 25px; display: block; }
	#searchsuggestions .break { display: none; }

.ui-front { z-index: 1000; }
.ui-widget-overlay {
	background: #000;
	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: .58em;
		box-shadow: 0 .555em 2.78em -.694em rgba(0,0,0,0.3);
		background-color: #f7f7f7;
		background-clip: padding-box;
		outline: none;
	}
	.ui-dialog-titlebar { 
		padding: .694em 1.04em; 
		position: relative;
		background-color: #517fa4 !important;
    color: #fff;

	}
	.ui-dialog-title { float: left; font-weight: 600; text-shadow: 0 1px #333;}
	.ui-dialog-titlebar-close {
		position: absolute;
		right: .694em; top: 50%;
		margin-top: -1.11em !important;
		height: 1.597em !important;
		width: 2.22em;
		border: 0 none !important;
		background-color: inherit !important;
		box-shadow: none !important;
		padding: 0px !important;
	}
	.ui-dialog-titlebar-close .ui-icon {
		display: block;
    	margin: 0.56em auto 0 auto;
    	width: 0.75em;
    	height: 0.75em;
    	opacity: .5;
    	font-weight: 600;
    	font-size: var(--font-size-lg);
    	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: .5;
	}

	.ui-dialog-titlebar-close span.ui-button-text:hover {
		opacity: 1;

	}

	.ui-button {
		font-size: var(--font-size-sm);
		border: 0 none;
		vertical-align: middle;
		cursor: pointer;
		border-radius: .58em;
		outline: none;
		background-color: #517fa4;
		color: #fff;
		border: 0 none;
		padding: .58em 1.38em;
		text-decoration: none !important;
		box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
		box-sizing: border-box;
		-webkit-transition: all ease .1s; transition: all ease .1s;
		text-shadow: 0 1px #333;
	}
	.ui-dialog-titlebar-close:hover .ui-icon { opacity: 1; }
	.ui-icon, .ui-button-icon-only { overflow: hidden; text-indent: -9999px; }
	.ui-dialog label { color: #575757; }
	.ui-dialog-content { padding: 1em; border: 1px solid #fff; 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: .694em 1em; text-align: right; }
	.ui-draggable .ui-dialog-titlebar { cursor: move; }
	.ui-state-error { background: #fef1ec 50% 50% repeat-x !important; border: 1px solid #cd0a0a; color: #cd0a0a; }
	.ui-button { margin: 0 3px; }
	.ui-helper-hidden-accessible{display: none;}

	.ui-button:hover { background-color: #5e91bb; }

	.ui-dialog-buttonset button:last-child {
			background-color: #0c5f7eed;
			color: #fff;
	}
	.ui-dialog-buttonset button:last-child:hover {
		background-color: #0c5f7ebf;
	}

	.ui-dialog-buttonset button:first-child {
	  background-color: #888;
	  border-color: #888;
	  color: #fff;
	}
	.ui-dialog-buttonset button:first-child:hover {
		background-color: #888888c7;
	}
	.ui-dialog-buttonset button.ui-button-delete {
		background-color: #f44336;
	    border-color: #f44336;
	    color: #fff;
	    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
	}
	.ui-dialog-buttonset button.ui-button-delete:hover {
		background-color: #db3a2f;
	    border-color: #db3a2f;
	    color: #fff;
	    text-shadow: 1px 1px 2px rgba(51, 51, 51, .5);
	}
.tox .tox-dialog__footer .tox-button--secondary {
    background-color: #888 !important;
    border-color: #888 !important;
    color: #fff !important;
}

.tox .tox-button {
    background-color: #0c5f7eed !important;
    border-color: #0c5f7eed !important;
}

.dle-popup-userprofileadmin .ui-button-delete {
	float: left;
}

.dle-popup-userprofileadmin .ui-dialog-buttonset button:nth-child(2) {
	background-color: #868e96;
}

.ui-autocomplete { position: absolute; cursor: default; }

.ui-menu {
	list-style:none;
	padding: 2px; margin: 0;
	float: left;
	background: #fff 50% bottom repeat-x;
	border: 1px solid #dedede;
	color: #353535;
}
.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 #d7d7d7; 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: #d7d7d7 !important;
}
	
	.emoji_box {
		width:100%;
		max-width: 390px;
	}
	.emoji_category {
		padding:7px;
		clear:both;
	}
	.emoji_list {
		margin-top:5px;
		margin-bottom:5px;
		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: 10px;
		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 #d7d7d7;
		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 #ccc;
		border-radius: 15px;
		background: #fff;
		padding: 5px 10px;
		cursor: default;
		box-shadow: 0 0 4px #ccc; -webkit-box-shadow: 0 0 4px #ccc;
	}
	#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: #aaa;
		border-bottom: 1px dotted #aaa;
		margin-right: 10px;
	}
	#marker-bar .masha-marker:hover {
		color: #ea3e26;
		border-color: #ea3e26;
	}
	.user_selection, .user_selection_true {
		background: #fff5d5;
		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 #e6e6e6; border-color: rgba(0,0,0,0.1);
		border-radius: 2px;
		background: #fff;
		position: absolute; z-index: 100;
		width: 414px;
		display: none;
		padding: 20px 0;
		opacity: 0;
		box-shadow: 0 8px 40px -10px rgba(0,0,0,0.3);
		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: #919191;
	}
	#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 #d9d9d9;
		padding: 10px 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: #999;
		font-size: 10px;
		display: block;
		padding-top: 3px;
	}
	#share-popup .link a { display: block; }
	.dle-alert, .dle-confirm, .dle-promt { padding: 20px 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: 3px;
	background: #fff;
	border: 1px solid #d7d7d7;
	-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: #109aceed;
	}
	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;}
	#searchuser, #searchinput { width: 100% !important; margin-bottom: 10px; }

	.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: 0.55em;
	outline: none;
	background-color: #0c5f7eed;
	color: #fff;
	text-shadow: 0 1px #333;
	border: 0 none;
	padding: .486em 1.528em;
	text-decoration: none !important;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
	box-sizing: border-box;
	transition: all ease .1s; transition: all ease .1s;
}
	.btn > .icon { fill: #fff; }
	.btn-white > .icon { fill: #0c5f7eed; }
	.btn-white { background-color: #fff; color: #0c5f7eed; }
		.btn-white:hover > .icon { fill: #fff; }
		.btn-white:hover { background-color: #0c5f7eed; color: #fff; }
	.btn:hover, .bbcodes:hover { background-color: #0c5f7ebf; }

.bbcodes.cancelchanges {
	background-color: #888;
}
.bbcodes.cancelchanges:hover {
	background-color: #888888c7;
}

	.btn-big { padding: .833em 1.875em; border-radius: .694em; }

	.btn-border {
		color: #0c5f7eed;
		border: 2px solid #0c5f7eed;
		line-height: 1.528em;
		padding: .555em 1.389em;
		background-color: transparent !important;
		overflow: hidden;
		box-shadow: inset 0 0 0 0 transparent;
		text-shadow: none;
	}

	.btn-border.btn-big{
		padding: .694em 1.389em;
	}

table.xfields {
	width: 100%;
}
.xfields textarea, .xprofile textarea {
    width: 100%;
    height: 12.92em;
    margin-top: .555em;
}
.xfields input[type="text"] {
	width: 100%;
}

.xfieldsdescr {
	width: 13.89em;
}
.xfields .bb-pane + textarea {
    margin-top: 0px;
}
.xfieldsnote {
	color: #838383;
    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 #B3B3B3;
	-moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
	background-color: #F5F5F5;
	padding: 10px;
	margin-top: 10px;
}

.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 #fff;
  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:5px;
    margin-bottom:5px;
	cursor:pointer;
}
.qq-upload-drop-area {
    position:absolute; top:0; left:0; width:100%; height:100%; z-index:2;
	max-width: 437px;
    background:#FF9797; 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:#FF7171;}

.qq-upload-file{ margin-left:.555em; margin-right:.555em; }

.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:10px;
	margin-bottom:10px;
    background-color:whitesmoke;
    height:10px;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    background:#eee;
    -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:white;
    text-align:center;
    background-color:#428bca;
    -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;
    -webkit-border-radius:8px;
    -moz-border-radius:8px;
    -ms-border-radius:8px;
    -o-border-radius:8px;
    border-radius:8px;
    -webkit-box-shadow:none;
    box-shadow:none;
    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.2em;
    font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'NotoColorEmoji', 'Segoe UI Symbol', 'Android Emoji', 'EmojiSymbols';
    line-height: 1;
}

.wseditor {
    border-top: 5px solid #0c5f7e;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
}

.wseditor .tox-tinymce {
    border-top: none;
}

#dlefastreplycomments .wseditor {
	margin-bottom: 10px;
}

.dlecomments-editor .tox .tox-toolbar__primary,  .dlefastedit-editor .tox .tox-toolbar__primary{
    border-top: 0;
    box-shadow: none;
}

.mce-toc {
  border: 1px solid #dbdada;
	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 #ddd;
}

.image-shadows {
	box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px;
}

.image-padded {
	padding: 0.5rem;
}

.comments-user-profile {
  font-weight: bold;
  cursor: pointer;
  color: #3394e6;
}

.tox .tox-dialog__header {
    color: rgb(255, 255, 255) !important;
    background-color: #517fa4 !important;
    border-bottom: #517fa4 !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;
}

.self_delete_link {
	border: 0 none;
	display: inline-block;
	vertical-align: middle;
	cursor: pointer;
	padding: .833em 1.875em;
	border-radius: .694em;
	margin-left: 1.04em;
	outline: none;
	background-color: #f44336;
	color: #fff;
	text-shadow: 0 1px #333;
	text-decoration: none !important;
	box-shadow: 0 1px 2px 0 rgba(0,0,0,0.2);
	box-sizing: border-box;
	transition: all ease .1s; transition: all ease .1s;
}
input[type="text"].comments_author_field {
	width: 100%;
	margin-bottom: .694em;
}

.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: 1.389em;
	top: 1.389em
}

@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: #333;
	margin-bottom: .694em;
	width: 100%;
	max-width: 27.78em;
	box-shadow: 0 10px 15px rgb(0 0 0 / 20%);
	background-color: #fff;
	border-radius: .694em
}

.DLEPush-notification .DLEPush-icon {
	grid-column: 1;
	grid-row: 1 / span 2;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	width: 3.125em;
	height: 100%;
	border-top-left-radius: .694em;
	border-bottom-left-radius: .694em;
	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(--font-size-lg);
	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(--font-size-sm);
	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(--font-size-lg) * 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: #e0f2f1;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background-color: #00897b;
}

.DLEPush-notification.wrapper.push-warning {
	background-color: #FFF3E0;
}

.DLEPush-notification.wrapper.push-warning .DLEPush-icon {
	background-color: #FF9800;
}

.DLEPush-notification.wrapper.push-error {
	background-color: #FBE9E7;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background-color: #FF5722;
}
.quote_link {
	float: right;
}
.quote_link svg {
	color: #6c838e;
	vertical-align: middle;
}
.clipboard-copy-link svg {
	color: #6c838e;
	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: #104d92;
	background-color: #E3F2FD;
	border: 1px solid #1E88E5;
	box-shadow: 0 5px 12px rgba(126, 142, 177, 0.2);
	padding: .83em;	
}

.social-list-item, .ignore-list-item, #pmlist_doaction {
	margin-right: .5em;
}

.monthselect-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3em;
}
.monthselect-title {
	display: inline-block;
}

.dlepopupnewsedit .wseditor{
    border-top: none;
}

.dlepopupnewsedit .tox .tox-toolbar-overlord {
    background-color: #f7f7f7;
}

textarea.ajaxwysiwygeditor, textarea.wysiwygeditor, .dleaddcomments-editor.wseditor textarea {
	visibility: hidden;
}
textarea.ajaxwysiwygeditor, .dleaddcomments-editor.wseditor textarea {
	height: 260px;
}
/* Lumon TV — один стиль на ПК, телефон и ТВ. Тёмная тема единственная: это кинотеатр. */
/* Layout: одна колонка с боковым полем; горизонтальные полки на телефоне, сетки на ПК и ТВ. */
:root {
  --bg: #050506; --surface: #14171c; --line: #1f1f23; --hair: #141416;
  --fg: #f2f2f2; --fg-2: #c9c9cd; --muted: #a0a0a4; --dim: #6f6f73; --sep: #4a4a4f;
  --accent: #f2e8d5;
  --display: Geologica, "Segoe UI", system-ui, sans-serif;
  --body: Onest, "Segoe UI", system-ui, sans-serif;
  --gutter: 20px; --radius: 8px;
  color-scheme: dark;
}
@media (min-width: 768px) { :root { --gutter: 64px } }
@media (min-width: 1900px) { :root { --gutter: 96px; --radius: 12px } }

html { height: 100%; scroll-behavior: smooth }
body { margin: 0; background: var(--bg); color: var(--fg); font: 15px/1.5 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden }
a { color: inherit; text-decoration: none }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer }
[hidden] { display: none !important }
img { max-width: 100%; display: block }
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; letter-spacing: -0.02em; text-wrap: balance }
:focus-visible { outline: 0; box-shadow: 0 0 0 1px var(--accent) }
.btn-primary:focus-visible { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--accent) }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important } html { scroll-behavior: auto } }

.wrap { padding-inline: var(--gutter) }
.star { display: inline-flex; align-items: center; gap: 5px; color: var(--fg); font-weight: 600 }
.star svg { width: 12px; height: 12px; fill: currentColor }
.age { border: 1px solid var(--sep); border-radius: 4px; padding: 1px 5px; font-size: 12px; color: var(--fg-2) }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: 14px; color: var(--muted) }
.meta .sep { color: var(--sep) }
.eyebrow { font-size: 13px; font-weight: 500; color: var(--muted) }

/* ---------- Шапка ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; height: 56px; display: flex; align-items: center; gap: 24px; background: linear-gradient(180deg, rgba(5,5,6,0.92), rgba(5,5,6,0.6)); backdrop-filter: blur(12px) }
.site-header.solid { background: var(--bg); border-bottom: 1px solid var(--hair) }
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: #fff }
.logo small { font-weight: 400; font-size: 13px; letter-spacing: 0.08em; color: var(--muted) }
.nav { display: none; align-items: center; gap: 32px }
.nav a { font-weight: 500; color: #8d8d92; padding: 8px 0 }
.nav a[aria-current="page"] { color: #fff }
.nav a:hover { color: #fff }
.spacer { flex-grow: 1 }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--fg) }
.icon-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
@media (min-width: 768px) { .site-header { height: 64px; gap: 48px } .nav { display: flex } .menu-btn { display: none } }

/* ---------- Мобильные табы ---------- */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 0 calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--bg); border-top: 1px solid var(--hair) }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 10px; font-weight: 500; color: var(--dim) }
.tabbar a[aria-current="page"] { color: #fff }
.tabbar svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
body.has-tabbar { padding-bottom: 72px }
@media (min-width: 768px) { .tabbar { display: none } body.has-tabbar { padding-bottom: 0 } }

/* ---------- Герой ---------- */
.hero { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; padding-bottom: 24px; margin-top: -56px; padding-top: 56px; overflow: hidden }
.hero .bg { position: absolute; inset: 0; z-index: -1; background: var(--surface) }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 25% }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 40%, rgba(5,5,6,0.9) 76%, var(--bg) 100%) }
.hero h1, .hero .hero-title { font-size: 34px; line-height: 1.05; color: #fff }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0 }
.hero p { margin: 0; color: var(--fg-2); max-width: 600px }
.hero .actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 6px }
.hero .avail { font-size: 12px; color: var(--muted) }
@media (max-width: 767px) { .hero { align-items: center; text-align: center } .hero .meta { justify-content: center } .hero .actions { width: 100%; justify-content: center } .hero .actions .btn-primary { flex-grow: 1 } }
@media (min-width: 768px) { .hero { min-height: 640px; margin-top: -64px; padding-top: 64px; padding-bottom: 40px; gap: 18px } .hero .bg::after { background: linear-gradient(180deg, rgba(5,5,6,0.55) 0%, rgba(5,5,6,0) 22%, rgba(5,5,6,0) 45%, rgba(5,5,6,0.85) 78%, var(--bg) 100%), linear-gradient(90deg, rgba(5,5,6,0.8) 0%, rgba(5,5,6,0.25) 40%, rgba(5,5,6,0) 62%) } .hero h1, .hero .hero-title { font-size: 60px } .hero .avail { font-size: 13px; margin-left: 8px } }
@media (min-width: 1900px) { .hero { min-height: 900px; gap: 22px } .hero h1, .hero .hero-title { font-size: 88px } .hero p { font-size: 26px; max-width: 900px } .hero .meta { font-size: 24px } .hero .avail { font-size: 22px } .age { font-size: 20px; padding: 2px 8px; border-radius: 6px } }

.btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 26px; border-radius: 999px; background: #fff; color: #0a0a0b; font-weight: 600 }
.btn-primary svg { width: 14px; height: 14px; fill: currentColor }
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid #3a3a3f; background: rgba(20,20,22,0.7); color: var(--fg); font-weight: 500 }
.btn-ghost svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.btn-ghost.round { width: 48px; padding: 0 }
.btn-ghost.round svg { width: 16px; height: 16px }
@media (min-width: 768px) { .btn-primary, .btn-ghost { height: 46px } .btn-ghost.round { width: 46px } }
@media (min-width: 1900px) { .btn-primary, .btn-ghost { height: 68px; padding: 0 36px; font-size: 26px } .btn-ghost.round { width: 68px; padding: 0; flex: 0 0 68px } .btn-primary svg { width: 22px; height: 22px } }

/* ---------- Полки ---------- */
main.page { display: flex; flex-direction: column; gap: 28px; padding-top: 20px }
@media (min-width: 768px) { main.page { gap: 52px; padding-top: 0 } }
.shelf { display: flex; flex-direction: column; gap: 12px }
.shelf-head { display: flex; align-items: baseline; gap: 10px; padding-inline: var(--gutter) }
.shelf-head h2 { font-size: 16px; color: #fff; white-space: nowrap }
@media (max-width: 767px) { .shelf-head .count { display: none } }
.shelf-head .count { font-size: 12px; color: var(--dim) }
.shelf-head .more { margin-left: auto; font-size: 12px; font-weight: 500; color: var(--muted) }
@media (min-width: 768px) { .shelf { gap: 14px } .shelf-head { gap: 16px } .shelf-head h2 { font-size: 18px } .shelf-head .count, .shelf-head .more { font-size: 13px } }
@media (min-width: 1900px) { .shelf { gap: 20px } .shelf-head h2 { font-size: 30px } .shelf-head .count, .shelf-head .more { font-size: 22px } }

.row { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px var(--gutter); scrollbar-width: none }
.row::-webkit-scrollbar { display: none }
.row > * { flex-shrink: 0; scroll-snap-align: start }
@media (min-width: 768px) { .row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; overflow: visible } .row.wide { grid-template-columns: repeat(6, minmax(0, 1fr)) } .row.collections { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (min-width: 1900px) { .row { gap: 24px } }

.card { display: flex; flex-direction: column; gap: 7px; width: 104px; color: var(--fg); border-radius: var(--radius) }
.card .poster { position: relative; aspect-ratio: 2 / 3; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden }
.card .poster img { width: 100%; height: 100%; object-fit: cover }
.card .poster .tag { position: absolute; left: 8px; top: 8px; font-size: 10px; font-weight: 500; color: var(--muted) }
.card .poster .age { position: absolute; right: 6px; top: 6px; font-size: 9px; color: #e6e6e8; background: rgba(5,5,6,0.6); border-color: rgba(255,255,255,0.18); padding: 1px 4px }
.card .title { font-size: 12px; font-weight: 500; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.card .sub { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--dim); white-space: nowrap; overflow: hidden }
.card .sub b { color: var(--fg-2); font-weight: 500 }
.card .sub svg { width: 9px; height: 9px; fill: var(--fg-2); flex-shrink: 0 }
.card[aria-current="true"] .poster { box-shadow: 0 0 0 1px var(--accent) }
.card[aria-current="true"] .title { color: #fff }
.card[aria-current="true"] .tag { color: var(--accent) }
.card:hover .title, .card:focus-visible .title { color: #fff }
.card:focus-visible { box-shadow: none }
.card:focus-visible .poster { box-shadow: 0 0 0 1px var(--accent) }
@media (min-width: 768px) { .card { width: auto; gap: 8px } .card .title { font-size: 13px } .card .sub { font-size: 12px; gap: 5px } .card .sub svg { width: 10px; height: 10px } .card .poster .age { font-size: 10px; right: 8px; top: 8px; padding: 1px 5px } .card .poster .tag { font-size: 11px; left: 10px; top: 9px } }
@media (min-width: 1900px) { .card { gap: 10px } .card .title { font-size: 20px } .card .sub { font-size: 17px } .card .sub svg { width: 14px; height: 14px } .card .poster .age { font-size: 15px; padding: 2px 7px; border-radius: 6px; right: 12px; top: 12px } .card .poster .tag { font-size: 18px; left: 14px; top: 12px } }

.tile { position: relative; display: flex; align-items: flex-end; width: 150px; height: 84px; padding: 10px 12px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; color: #fff; font-family: var(--display); font-weight: 500; font-size: 14px }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,0.1), rgba(5,5,6,0.85)) }
.tile span { position: relative; z-index: 1 }
@media (min-width: 768px) { .tile { width: auto; height: 116px; padding: 14px; font-size: 16px } }
@media (min-width: 1900px) { .tile { height: 120px; font-size: 24px; padding: 18px 20px } }

.coll { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; width: 280px; min-height: 160px; padding: 14px; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; color: var(--fg) }
.coll img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.coll::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,5,6,0.05), rgba(5,5,6,0.9)) }
.coll > span { position: relative; z-index: 1 }
.coll .k { font-size: 11px; font-weight: 500; color: var(--muted) }
.coll .t { font-family: var(--display); font-weight: 500; font-size: 18px; line-height: 1.15; color: #fff }
.coll .d { font-size: 12px; line-height: 1.35; color: var(--fg-2) }
@media (min-width: 768px) { .coll { width: auto; min-height: 232px; padding: 20px; gap: 6px } .coll .k { font-size: 12px } .coll .t { font-size: 22px } .coll .d { font-size: 13px } }
@media (min-width: 1900px) { .coll { min-height: 260px; padding: 26px 28px } .coll .k { font-size: 18px } .coll .t { font-size: 32px } .coll .d { font-size: 20px } }

/* ---------- Футер ---------- */
.site-footer { margin-top: 40px; padding-block: 28px 24px; border-top: 1px solid var(--hair); display: flex; flex-direction: column; gap: 24px; font-size: 12px; color: var(--dim) }
.site-footer .cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px }
.site-footer .col { display: flex; flex-direction: column; gap: 9px }
.site-footer .col b { font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; color: var(--dim) }
.site-footer .col a { font-size: 13px; color: var(--fg-2) }
.site-footer .about { display: flex; flex-direction: column; gap: 8px; color: #8d8d92 }
.site-footer .legal { display: flex; flex-wrap: wrap; gap: 6px 24px }
@media (min-width: 768px) { .site-footer { margin-top: 72px; padding-block: 40px 36px; gap: 36px } .site-footer .top { display: flex; gap: 64px } .site-footer .about { width: 300px; font-size: 13px } .site-footer .cols { grid-template-columns: repeat(4, 180px); gap: 0 64px } .site-footer .col a { font-size: 14px } }
@media (min-width: 1900px) { .site-footer { font-size: 18px } .site-footer .col a { font-size: 20px } .site-footer .col b { font-size: 15px } .site-footer .about { font-size: 20px; width: 460px } .site-footer .cols { grid-template-columns: repeat(4, 260px) } }

/* ---------- Оверлеи: меню, поиск ---------- */
.overlay { position: fixed; inset: 0; z-index: 40; background: var(--bg); display: flex; flex-direction: column; padding: calc(8px + env(safe-area-inset-top, 0px)) var(--gutter) 24px; overflow-y: auto }
.overlay .bar { display: flex; align-items: center; gap: 8px; height: 48px }
.overlay .bar .logo { margin-right: auto }
.menu-list { display: flex; flex-direction: column; margin-top: 16px }
.menu-list a { display: flex; align-items: center; height: 52px; font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--fg-2); border-bottom: 1px solid var(--hair) }
.menu-list a[aria-current="page"] { color: #fff }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--fg-2); box-shadow: 0 0 0 1px #2a2a2e; white-space: nowrap; background: none }
.chip[aria-pressed="true"], .chip[aria-current="true"] { color: #fff; background: rgba(255,255,255,0.06); box-shadow: 0 0 0 1px var(--accent) }
.chip:hover { color: #fff }
@media (min-width: 1900px) { .chip { height: 52px; padding: 0 22px; font-size: 22px; gap: 12px } .chips { gap: 12px } }
.search-box { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 10px; background: #0f141b; box-shadow: 0 0 0 1px var(--line) }
.search-box input { flex-grow: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--fg); font: inherit; font-size: 16px }
.search-box svg { width: 20px; height: 20px; stroke: #7f8fa0; fill: none; stroke-width: 2; stroke-linecap: round; flex-shrink: 0 }
.search-results { display: flex; flex-direction: column; margin-top: 12px }
.search-results a { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--hair); color: var(--fg) }
.search-results a img { width: 44px; height: 66px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--line) }
.search-results .t { font-weight: 500 } .search-results .m { font-size: 12px; color: var(--dim) }
.search-results .empty { padding: 32px 0; color: var(--dim); text-align: center }
@media (min-width: 768px) { .overlay { padding-top: 12px } .overlay .inner { width: 720px; max-width: 100%; margin: 0 auto } }

/* ---------- Каталог ---------- */
.catalog-head { display: flex; align-items: baseline; gap: 10px }
.catalog-head h1 { font-size: 28px; color: #fff }
.catalog-head .count { font-size: 13px; color: var(--dim) }
.filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair) }
.select { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 8px; box-shadow: 0 0 0 1px #2a2a2e; font-size: 13px; font-weight: 500; color: var(--fg) }
.select span { color: var(--muted) }
.select svg { width: 12px; height: 12px; stroke: var(--muted); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round }
.select select { appearance: none; background: none; border: 0; color: inherit; font: inherit; font-weight: 500; outline: none; cursor: pointer }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 10px }
.grid .card { width: auto }
.grid-note { text-align: center; font-size: 12px; color: var(--dim) }
.skeleton { display: flex; flex-direction: column; gap: 7px }
.skeleton .ph { aspect-ratio: 2 / 3; border-radius: var(--radius); background: linear-gradient(90deg, #111114 0%, #1a1a1e 50%, #111114 100%); background-size: 200% 100%; animation: shimmer 1.6s ease-in-out infinite }
.skeleton .l1 { width: 75%; height: 12px; border-radius: 3px; background: #141417 }
.skeleton .l2 { width: 45%; height: 10px; border-radius: 3px; background: #111114 }
@keyframes shimmer { 0% { background-position: 200% 0 } 100% { background-position: -200% 0 } }
@media (min-width: 768px) { .catalog-head h1 { font-size: 36px } .catalog-head .count { font-size: 14px } .filters { gap: 10px } .select { font-size: 14px; padding: 0 14px } .grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 28px 16px } }
@media (min-width: 1900px) { .catalog-head h1 { font-size: 44px } .catalog-head .count { font-size: 22px } .select { height: 52px; font-size: 22px } .grid { gap: 28px 24px } }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 8px; font-weight: 500; color: var(--fg-2) }
.pager a[aria-current="page"] { background: #fff; color: #0a0a0b }
.pager svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }

/* ---------- Плеер ---------- */
.player { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: #000; overflow: hidden; border-radius: 0; scroll-margin-top: 64px }
.player video { width: 100%; height: 100%; object-fit: cover; display: block }
.player .shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 62%, rgba(0,0,0,0.85) 100%); opacity: 1; transition: opacity 0.3s }
.player .top { position: absolute; left: 12px; right: 12px; top: 10px; display: flex; align-items: center; gap: 10px; transition: opacity 0.3s }
.player .top .t { font-family: var(--display); font-weight: 500; font-size: 14px; color: #fff }
.player .top .s { font-size: 12px; color: var(--muted) }
.player .badge { margin-left: auto; font-size: 11px; font-weight: 500; color: #e6e6e8; background: rgba(0,0,0,0.45); box-shadow: 0 0 0 1px rgba(255,255,255,0.18); border-radius: 6px; padding: 3px 7px }
.player .big { position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,0.94); color: #0a0a0b; display: flex; align-items: center; justify-content: center }
.player .big svg { width: 22px; height: 22px; fill: currentColor }
.player.playing .big { display: none }
.player.idle.playing .shade, .player.idle.playing .top, .player.idle.playing .controls { opacity: 0 }
.player.idle.playing { cursor: none }
.controls { position: absolute; left: 12px; right: 12px; bottom: 8px; display: flex; flex-direction: column; gap: 4px; transition: opacity 0.3s }
.seek { position: relative; height: 20px; display: flex; align-items: center; cursor: pointer }
.seek .track, .seek .buf, .seek .played { position: absolute; left: 0; height: 3px; border-radius: 2px }
.seek .track { right: 0; background: rgba(255,255,255,0.22) }
.seek .buf { background: rgba(255,255,255,0.4) }
.seek .played { background: var(--accent) }
.seek .knob { position: absolute; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--accent) }
.seek input { position: absolute; inset: 0; width: 100%; opacity: 0; margin: 0; cursor: pointer }
.ctl { display: flex; align-items: center; gap: 2px }
.ctl button, .ctl a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff }
.ctl svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.ctl svg.solid { fill: currentColor; stroke: none }
.ctl .time { font-size: 12px; font-variant-numeric: tabular-nums; color: #fff; margin: 0 6px; white-space: nowrap }
.ctl .time span { color: var(--muted) }
.ctl .pill { width: auto; height: 32px; padding: 0 10px; border-radius: 8px; box-shadow: 0 0 0 1px rgba(255,255,255,0.18); background: rgba(0,0,0,0.35); font-size: 12px; font-weight: 500; gap: 8px; display: none }
.ctl .pill span { color: var(--muted) }
.ctl .vol { display: none; align-items: center; gap: 8px }
.ctl .vol input { width: 80px; accent-color: #fff }
.ctl .grow { flex-grow: 1 }
@media (min-width: 768px) {
  .player { border-radius: 12px; scroll-margin-top: 80px }
  .player .top { left: 24px; right: 24px; top: 20px } .player .top .t { font-size: 16px } .player .top .s { font-size: 13px } .player .badge { font-size: 12px; padding: 4px 8px }
  .player .big { width: 80px; height: 80px; margin: -40px 0 0 -40px } .player .big svg { width: 28px; height: 28px }
  .controls { left: 24px; right: 24px; bottom: 18px; gap: 10px } .ctl { gap: 4px } .ctl button, .ctl a { width: 44px; height: 44px } .ctl .time { font-size: 13px } .ctl .pill { display: inline-flex } .ctl .vol { display: flex }
}
@media (min-width: 1900px) { .player { border-radius: 16px } .ctl button, .ctl a { width: 56px; height: 56px } .ctl svg { width: 26px; height: 26px } .ctl .time, .ctl .pill { font-size: 18px } .ctl .pill { height: 44px } .player .top .t { font-size: 24px } .player .top .s { font-size: 18px } }
.player:fullscreen { border-radius: 0 }
.player:fullscreen video { object-fit: contain }

/* ---------- Страница тайтла ---------- */
.title-page { display: flex; flex-direction: column; gap: 28px }
@media (min-width: 768px) { .title-page { gap: 48px } }
.player-wrap { margin-inline: calc(var(--gutter) * -1) }
@media (min-width: 768px) { .player-wrap { margin-inline: 0 } }
.two-col { display: flex; flex-direction: column; gap: 24px }
@media (min-width: 768px) { .two-col { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: start } }
.two-col h2, .block h2 { font-size: 16px; color: #fff; margin-bottom: 12px }
@media (min-width: 768px) { .two-col h2, .block h2 { font-size: 18px; margin-bottom: 16px } }
@media (min-width: 1900px) { .two-col h2, .block h2 { font-size: 30px } .two-col { grid-template-columns: minmax(0, 1fr) 560px } }
.prose { margin: 0; color: var(--fg-2); line-height: 1.6; max-width: 720px }
@media (min-width: 768px) { .prose { font-size: 16px } } @media (min-width: 1900px) { .prose { font-size: 24px; max-width: 1000px } }
.facts { display: flex; flex-direction: column; font-size: 13px }
.facts div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #151517 }
.facts div span:first-child { width: 96px; flex-shrink: 0; color: var(--dim) }
@media (min-width: 768px) { .facts { font-size: 14px } .facts div span:first-child { width: 130px } } @media (min-width: 1900px) { .facts { font-size: 20px } .facts div span:first-child { width: 220px } }
.trailer { position: relative; display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 9; border-radius: 10px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); overflow: hidden; color: #fff }
.trailer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.trailer::before { content: ""; position: absolute; inset: 0; background: rgba(5,5,6,0.25) }
.trailer .play { position: relative; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,0.92); color: #0a0a0b; display: flex; align-items: center; justify-content: center }
.trailer .play svg { width: 20px; height: 20px; fill: currentColor }
.trailer .cap { position: absolute; left: 14px; bottom: 12px; font-size: 13px; font-weight: 500 }
.trailer .dur { position: absolute; right: 12px; bottom: 12px; font-size: 12px; color: #e6e6e8; background: rgba(5,5,6,0.6); border-radius: 4px; padding: 2px 6px }
.cast { display: flex; gap: 14px; overflow-x: auto; padding: 2px 0; scrollbar-width: none }
.cast::-webkit-scrollbar { display: none }
.cast a { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 84px; flex-shrink: 0; text-align: center; color: var(--fg) }
.cast img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line) }
.cast .n { font-size: 12px; font-weight: 500; line-height: 1.25 } .cast .r { font-size: 11px; color: var(--dim); line-height: 1.25 }
@media (min-width: 768px) { .cast { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; overflow: visible } .cast a { width: auto; gap: 10px } .cast img { width: 96px; height: 96px } .cast .n { font-size: 13px } .cast .r { font-size: 12px } }
@media (min-width: 1900px) { .cast img { width: 140px; height: 140px } .cast .n { font-size: 20px } .cast .r { font-size: 17px } }

/* ---------- Серии: горизонтальная полоса карточек ---------- */
.episodes { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0; scrollbar-width: none; scroll-snap-type: x proximity }
.episodes::-webkit-scrollbar { display: none }
.episode { display: flex; flex-direction: column; gap: 8px; width: 150px; flex-shrink: 0; scroll-snap-align: start; padding: 0; border: 0; background: none; text-align: left; color: var(--fg); border-radius: var(--radius) }
.episode .th { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); background: var(--surface); overflow: hidden; box-shadow: 0 0 0 1px var(--line) }
.episode .th img { width: 100%; height: 100%; object-fit: cover }
.episode .th .num { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(5,5,6,0.6); border-radius: 4px; padding: 2px 6px }
.episode .th .lbl { position: absolute; left: 8px; bottom: 8px; font-size: 11px; font-weight: 500; border-radius: 4px; padding: 2px 6px; color: #e6e6e8; background: rgba(5,5,6,0.6); box-shadow: 0 0 0 1px rgba(255,255,255,0.18) }
.episode .th .lbl.now { color: #0a0a0b; background: var(--accent); box-shadow: none }
.episode .body { display: flex; flex-direction: column; gap: 3px; min-width: 0 }
.episode .name { font-size: 13px; font-weight: 500; color: var(--fg-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.episode .name i { display: none }
.episode .text { display: none }
.episode .em { font-size: 12px; color: var(--dim); white-space: nowrap }
.episode[aria-current="true"] .th { box-shadow: 0 0 0 1px var(--accent) }
.episode[aria-current="true"] .name { color: #fff }
.episode.soon { opacity: 0.55 }
.episode:focus-visible { box-shadow: none } .episode:focus-visible .th { box-shadow: 0 0 0 1px var(--accent) }
@media (min-width: 768px) { .episodes { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px; overflow: visible } .episode { width: auto } }
@media (min-width: 1900px) { .episodes { gap: 24px } .episode .name { font-size: 20px } .episode .em { font-size: 17px } .episode .th .num { font-size: 16px; padding: 2px 8px } .episode .th .lbl { font-size: 15px; padding: 2px 8px } }
.season-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap }
.season-bar .note { font-size: 13px; color: var(--dim) }

/* ---------- Прочее ---------- */
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--muted) }
.breadcrumb svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round }
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 50; padding: 10px 16px; border-radius: 999px; background: #1a1a1e; color: #fff; font-size: 13px; box-shadow: 0 0 0 1px var(--line); opacity: 0; pointer-events: none; transition: opacity 0.2s }
.toast.show { opacity: 1 }
body.has-tabbar .toast { bottom: calc(96px + env(safe-area-inset-bottom, 0px)) }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.notfound { padding: 80px 0; text-align: center; color: var(--muted) }

@font-face{font-family:Geologica;font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/geologica-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/geologica-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Onest;font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/onest-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Onest;font-style:normal;font-weight:400 600;font-display:swap;src:url('../fonts/onest-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* CMS forms only. Public components are defined in prototype.css. */
.offline-page{min-height:80vh;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:24px}
.box,.comment,.addcomments{background:var(--surface);padding:24px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px}
.box input,.box textarea,.comment textarea,.addcomments textarea,select{background:var(--bg);color:var(--fg);border:1px solid var(--line);border-radius:8px;padding:10px;max-width:100%}
.editor-tools{color:var(--muted)}
.lf-card{display:flex;flex-direction:column;gap:8px}
.lf-card img{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:8px}
.lff-breadcrumbs,.crumbs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px;color:var(--muted)}
.lf-title-row{display:flex;align-items:center;gap:16px}

.js-ready .filter-submit{display:none}
.filter-submit{height:42px;font-size:13px}
.account-menu{position:relative;flex-shrink:0}
.account-menu summary{list-style:none}
.account-menu summary::-webkit-details-marker{display:none}
.account-menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8}
.account-panel{position:absolute;right:0;top:52px;width:300px;max-width:calc(100vw - 40px);padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:0 20px 70px #0009;display:flex;flex-direction:column;gap:14px}
.account-panel strong{font-size:18px}
.account-panel>a{font-size:13px;color:var(--muted)}
.account-panel>a:hover{color:var(--fg)}
.account-panel form{display:flex;flex-direction:column;gap:10px}
.account-panel label{font-size:13px;color:var(--muted)}
.account-panel input{width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:var(--bg);color:var(--fg);font:inherit}
.box,.page_form__inner,.story,.pm-box{min-width:0}
.page_form__inner h1,.box h1{font-size:28px;margin-bottom:20px}
.ui-form{list-style:none;padding:0;margin:24px 0;display:flex;flex-direction:column;gap:18px}
.form-group{display:flex;flex-direction:column;gap:8px}
.ui-form label,.form-group>label{font-size:13px;color:var(--muted)}
.ui-form input:not([type=checkbox]):not([type=radio]),.ui-form textarea,.page_form__inner input,.page_form__inner textarea,.searchtable input[type=text],.searchtable select{min-height:44px;padding:12px;background:var(--bg);color:var(--fg);border:1px solid #34353b;border-radius:8px;font:inherit}
.ui-form textarea{resize:vertical}
.form-submit,.form_submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-top:24px}
.btn{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:999px;font:inherit;cursor:pointer}
.btn-border,.bbcodes{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 20px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--fg);font:inherit;cursor:pointer}
.btn{background:var(--fg);color:var(--bg)}
.btn b{font-weight:500}
.combo{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.login_check{display:flex;gap:10px}
.regtext,.grey{color:var(--muted)}
.regtext a{text-decoration:underline;text-underline-offset:3px}
.box table,.searchtable table{max-width:100%;border-collapse:collapse}
.searchtable fieldset{border:1px solid var(--line);border-radius:8px;padding:16px!important;margin:10px 0!important}
.searchtable input[type=text]{width:100%}
.searchtable select{max-width:100%}
.search_result_num{padding-top:16px}
.berrors{border-color:rgba(var(--accent-rgb),.5)}
.usinf,.user_tab,.com_info ul{list-style:none;padding:0}
.user_tab{display:flex;gap:24px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:16px}
.user_tab .active{color:var(--accent)}
.tab-content>.tab-pane{display:none}
.tab-content>.tab-pane.active{display:block}
.usinf li{display:flex;gap:20px;padding:10px 0;border-bottom:1px solid var(--line)}
.ui-c1{flex-basis:40%}
.ui-c2{flex:1;min-width:0}
.heading{margin:24px 0 12px}
.avatar{width:56px;height:56px;flex-shrink:0}
.avatar .cover{display:block;width:100%;height:100%;background-position:center;background-size:cover;border-radius:50%;font-size:0}
.comment{margin-top:18px}
.com_info{display:flex;gap:16px;align-items:center;flex-wrap:wrap}
.com_info .meta{margin-left:auto;font-size:12px}
.com_user .grey{display:block;font-size:12px}
.com_content{margin-top:16px;overflow-wrap:anywhere}
.com_info ul{display:flex;gap:12px;flex-wrap:wrap}
.signature{font-size:12px;color:var(--muted);margin-top:16px}
.icon{display:inline-block;width:16px;height:16px;fill:currentColor;vertical-align:middle}
.title_hide{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.quote,.title_quote,.title_spoiler,.text_spoiler,.scriptcode,.hide{background:var(--surface);color:var(--fg-2);border-color:var(--line)}
.ui-dialog,.ui-widget-content,.ui-widget-header{background:var(--surface);color:var(--fg);border-color:var(--line)}
.ui-dialog-titlebar{border-bottom:1px solid var(--line)}
.ui-dialog input,.ui-dialog textarea{background:var(--bg);color:var(--fg);border:1px solid var(--line);border-radius:6px;padding:10px}
.lff-page h1,.lf-title-row h1{font-size:32px}
.lff-intro,.lf-collection-desc{color:var(--muted);max-width:900px}
@media(max-width:767px){
.menu-btn{display:inline-flex}
}
@media(max-width:767px){
.lff-page h1,.lf-title-row h1{font-size:24px}
.genre-shelf .chips{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
.filter-submit{align-self:flex-end}
.account-panel{right:-48px;padding:20px}
.logo{margin-right:auto}
.spacer{display:none}
.combo{grid-template-columns:1fr}
.box{padding:20px}
.usinf li{flex-direction:column;gap:4px}
.searchtable td{display:block;width:100%!important}
.searchtable .search{padding:0!important}
.com_info .meta{margin-left:0}
.form_submit{gap:10px}
.lf-title-row{flex-wrap:wrap}
}
html.tv-user-agent .account-panel{width:420px}
html.tv-user-agent .account-panel>a{font-size:20px}
html.tv-user-agent .menu-btn{display:none}


.legal-static{width:min(960px,100%);margin:0 auto}
.legal-static .title{font-size:clamp(28px,4vw,42px);line-height:1.15;margin-bottom:24px}
.legal-document{font-size:15px;line-height:1.75;color:var(--fg-2)}
.legal-document>*+*{margin-top:20px}
.legal-document section{padding-top:8px}
.legal-document h2{font-size:20px;color:#fff;margin:0 0 12px}
.legal-document p{margin:0}
.legal-document ul{padding-left:22px;margin:0}
.legal-document li+li{margin-top:10px}
.legal-document a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.legal-document .legal-status{color:var(--muted);font-size:13px}
.legal-document .legal-crosslink{padding-top:20px;border-top:1px solid var(--line)}
.legal-document>.legal-status+p{margin-top:20px}
.legal-document p+p{margin-top:12px}
.legal-document ol{padding-left:24px;margin:12px 0}
.legal-document h2{overflow-wrap:anywhere}

/* Canonical components and tokens: unchanged prototype.css. DLE mappings only. */
.skip-link{position:fixed;top:8px;left:8px;z-index:100;background:var(--surface);padding:12px;transform:translateY(-160%)}
.skip-link:focus{transform:none}
.hero{isolation:isolate}.hero-copy{display:flex;flex-direction:column;gap:inherit;align-items:inherit}
.hero-description{margin:0;color:var(--fg-2);max-width:600px}.hero-description p{margin:0}
.home-notices:empty{display:none}.home-shelves{display:flex;flex-direction:column;gap:28px;padding-top:20px}
.home-shelves .card{min-width:0}
.row{scroll-padding-inline:var(--gutter)}
/* engine.css reserves .wide for form fields with !important. */
.row.wide{width:auto!important}
.catalog{display:flex;flex-direction:column;gap:20px;padding-top:24px}.catalog-toolbar{display:contents}
.catalog-title{display:flex;align-items:baseline;gap:12px}.catalog-title h1{font-size:28px;color:#fff}.catalog-title .count{font-size:13px;color:var(--dim)}
.catalog-context{margin:0;color:var(--muted)}
.catalog-content,.catalog-content>#dle-content,.cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 10px}
.catalog-content>.card,.catalog-content>#dle-content>.card,.cat-grid>.card{width:auto;min-width:0}
.catalog-content>:not(.card),.catalog-content>#dle-content>:not(.card){grid-column:1/-1}
.filters .select select{padding:0;border:0;border-radius:0;background:none;max-width:100%;font:inherit;color:inherit}.filters .select{max-width:100%}.filters .select svg{flex-shrink:0}
.grid-note{margin:0}.navigation,.navigation .pages{display:flex;justify-content:center;align-items:center;gap:6px;flex-wrap:wrap}
.navigation a,.navigation .pages>span{display:inline-flex;align-items:center;justify-content:center;min-width:40px;height:40px;padding:0 8px;border-radius:8px;font-weight:500;color:var(--fg-2)}
.navigation [aria-current="page"]{background:#fff;color:#0a0a0b}.load-more{justify-self:center}.load-more[hidden]{display:none}
.navigation[hidden]{display:none}.catalog-sentinel{height:1px}
.empty,.lf-empty{padding:32px 0;color:var(--dim);text-align:center}.empty .btn-ghost{margin-top:12px}
.tabbar button{display:flex;flex-direction:column;align-items:center;gap:4px;font-size:10px;font-weight:500;color:var(--dim)}
.tabbar button svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cms-player{position:relative;aspect-ratio:16/9;max-width:100%;background:#000;overflow:hidden;border-radius:0;scroll-margin-top:64px}
.cms-player iframe,.cms-player video,.cms-player video-player{display:block;width:100%;height:100%;aspect-ratio:16/9;border:0}.player-empty{color:var(--dim)}
.title-page .facts{margin-top:18px}.prose p:first-child{margin-top:0}.prose p:last-child{margin-bottom:0}.prose img{height:auto}
.title-trailer .trailer{width:100%}.trailer-frame{display:block;width:100%;aspect-ratio:16/9;border:0;border-radius:10px}
.title-page>.block .row{padding-inline:0}
.cast .cast-person{display:flex;flex-direction:column;align-items:center;gap:8px;width:84px;flex-shrink:0;text-align:center;color:var(--fg);margin:0}
.cast-person figcaption{display:flex;flex-direction:column;align-items:center;gap:0}.cast-avatar{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--surface);color:var(--muted)}
.site-footer .col>span{font-size:13px;color:var(--fg-2)}.site-footer .legal-spacer{flex-grow:1}.site-footer .all-genres{color:#8d8d92}
.collection-index .lf-collection-grid{display:grid;grid-template-columns:1fr;gap:20px}.collection-index .coll{width:auto}
.collection-intro{display:flex;gap:12px;align-items:baseline}.collection-intro .count{font-size:13px;color:var(--dim)}
.collection-detail .catalog-toolbar{display:flex;flex-direction:column;gap:20px}.collection-detail .cat-grid{margin-top:20px}
/* Native dialogs map to the prototype overlay and preserve focus management. */
.search-dialog,.menu-dialog{position:fixed;inset:0;z-index:40;margin:0;width:100%;height:100dvh;max-width:none;max-height:none;box-sizing:border-box;border:0;border-radius:0;background:var(--bg);color:var(--fg);font:inherit;padding:calc(8px + env(safe-area-inset-top,0px)) var(--gutter) 24px;overflow-y:auto}
.search-dialog::backdrop,.menu-dialog::backdrop{background:var(--bg)}.search-inner,.menu-dialog .inner{margin:0 auto}
.search-bar,.menu-dialog .bar{display:flex;align-items:center;gap:8px;height:48px}.menu-dialog .bar .logo{margin-right:auto}
.search-form{min-width:0;flex-grow:1;margin:0}.search-field{display:flex;align-items:center;gap:10px;height:48px;padding:0 14px;border-radius:10px;background:#0f141b;box-shadow:0 0 0 1px var(--line)}
.search-field input{flex-grow:1;min-width:0;width:100%;padding:0;background:none;border:0;outline:none;color:var(--fg);font:inherit;font-size:16px;box-shadow:none}
.search-field>svg{width:20px;height:20px;stroke:#7f8fa0;fill:none;stroke-width:2;stroke-linecap:round;flex-shrink:0}
.search-field input::-webkit-search-cancel-button{appearance:none}.search-close{flex-shrink:0}.search-clear{display:none}
.search-body{margin-top:12px}.search-status{margin:0;padding:8px 0;color:var(--dim);font-size:12px}.search-status:empty{display:none}.search-results{margin-top:0}
.quick-result{margin:0}.quick-poster{display:block;width:44px;height:66px}.quick-copy{min-width:0}.quick-copy .t{font-weight:500}
.quick-copy .m{display:block;font-size:12px;color:var(--dim)}.quick-copy .m>span+span::before{content:" · "}.quick-copy mark{background:none;color:inherit;font-weight:inherit}
.quick-aside{display:flex;align-items:center}.quick-score{display:inline-flex;align-items:center;gap:5px;font-weight:600}.quick-score svg{width:12px;height:12px;fill:currentColor}
.search-message{padding:32px 0;color:var(--dim);text-align:center}.search-message h3{font:inherit}.search-message p{margin:0}.search-message button{margin-top:12px}
.search-skeleton{display:flex;align-items:center;gap:12px;height:82px}.search-skeleton span:first-child{width:44px;height:66px;background:var(--surface);border-radius:4px}.search-skeleton span:last-child{width:60%;height:14px;background:var(--surface)}
.menu-genres{margin-top:28px;display:flex;flex-direction:column;gap:12px}.menu-genres>b{font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--dim)}
html.search-open,html.menu-open{overflow:hidden}
@media(min-width:768px){
.home-shelves{gap:52px;padding-top:0}.catalog-title h1{font-size:36px}.catalog-title .count{font-size:14px}
.catalog-content,.catalog-content>#dle-content,.cat-grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:28px 16px}
.cms-player{border-radius:10px}.cast .cast-person{width:auto;gap:10px}.cast-avatar{width:96px;height:96px}.site-footer .col>span{font-size:14px}
.search-dialog,.menu-dialog{padding-top:12px}.search-inner,.menu-dialog .inner{width:720px;max-width:100%}.collection-index .lf-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(min-width:1900px){.hero-description{font-size:26px;max-width:900px}.catalog-title h1{font-size:44px}.catalog-title .count{font-size:22px}.catalog-content,.catalog-content>#dle-content,.cat-grid{gap:28px 24px}.cast-avatar{width:140px;height:140px}.site-footer .col>span{font-size:20px}}
/* Prevent fixed reference footer columns from extending beyond smaller laptops. */
@media(min-width:768px) and (max-width:1399px){.site-footer .top{flex-wrap:wrap}.site-footer .cols{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:24px}}
@media(min-width:768px) and (max-width:1000px){.site-header{gap:20px}.nav{gap:16px}.two-col{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}}

/* TV user agents receive the canonical 1900px component variant at any CSS viewport. */
html.tv-user-agent{--gutter:96px;--radius:12px}
html.tv-user-agent .site-header{height:64px;gap:48px}
html.tv-user-agent .nav{display:flex}
html.tv-user-agent .menu-btn,html.tv-user-agent .tabbar{display:none}
html.tv-user-agent body.has-tabbar{padding-bottom:0}
html.tv-user-agent .hero{min-height:900px;margin-top:-64px;padding-top:64px;padding-bottom:40px;gap:22px;align-items:stretch;text-align:left}
html.tv-user-agent .hero h1,html.tv-user-agent .hero .hero-title{font-size:88px}
html.tv-user-agent .hero p,html.tv-user-agent .hero-description{font-size:26px;max-width:900px}
html.tv-user-agent .hero .meta{justify-content:flex-start;font-size:24px}
html.tv-user-agent .hero .actions{width:auto;justify-content:flex-start}
html.tv-user-agent .hero .actions .btn-primary{flex-grow:0}
html.tv-user-agent .hero .avail{font-size:22px}
html.tv-user-agent .age{font-size:20px;padding:2px 8px;border-radius:6px}
html.tv-user-agent .btn-primary,html.tv-user-agent .btn-ghost{height:68px;padding:0 36px;font-size:26px}
html.tv-user-agent .btn-ghost.round{width:68px;padding:0;flex:0 0 68px}
html.tv-user-agent .btn-primary svg{width:22px;height:22px}
html.tv-user-agent .home-shelves{gap:52px;padding-top:0}
html.tv-user-agent .shelf{gap:20px}
html.tv-user-agent .shelf-head h2{font-size:30px}
html.tv-user-agent .shelf-head .count,html.tv-user-agent .shelf-head .more{font-size:22px}
html.tv-user-agent .row{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:24px;overflow:visible}
html.tv-user-agent .row.wide{grid-template-columns:repeat(6,minmax(0,1fr))}
html.tv-user-agent .row.collections{grid-template-columns:repeat(3,minmax(0,1fr))}
html.tv-user-agent .card{width:auto;gap:10px}
html.tv-user-agent .card .title{font-size:20px}
html.tv-user-agent .card .sub{font-size:17px}
html.tv-user-agent .card .sub svg{width:14px;height:14px}
html.tv-user-agent .card .poster .age{font-size:15px;padding:2px 7px;border-radius:6px;right:12px;top:12px}
html.tv-user-agent .card .poster .tag{font-size:18px;left:14px;top:12px}
html.tv-user-agent .tile{width:auto;height:120px;padding:18px 20px;font-size:24px}
html.tv-user-agent .coll{width:auto;min-height:260px;padding:26px 28px;gap:6px}
html.tv-user-agent .coll .k{font-size:18px}
html.tv-user-agent .coll .t{font-size:32px}
html.tv-user-agent .coll .d{font-size:20px}
html.tv-user-agent .catalog-title h1,html.tv-user-agent .catalog-head h1{font-size:44px}
html.tv-user-agent .catalog-title .count,html.tv-user-agent .catalog-head .count{font-size:22px}
html.tv-user-agent .select{height:52px;font-size:22px}
html.tv-user-agent .catalog-content,html.tv-user-agent .catalog-content>#dle-content,html.tv-user-agent .cat-grid,html.tv-user-agent .grid{grid-template-columns:repeat(8,minmax(0,1fr));gap:28px 24px}
html.tv-user-agent .collection-index .lf-collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
html.tv-user-agent .chip{height:52px;padding:0 22px;font-size:22px;gap:12px}
html.tv-user-agent .chips{gap:12px}
html.tv-user-agent .cms-player,html.tv-user-agent .player{border-radius:16px}
html.tv-user-agent .two-col h2,html.tv-user-agent .block h2{font-size:30px}
html.tv-user-agent .two-col{grid-template-columns:minmax(0,1fr) 560px;gap:64px}
html.tv-user-agent .prose{font-size:24px;max-width:1000px}
html.tv-user-agent .facts{font-size:20px}
html.tv-user-agent .facts div span:first-child{width:220px}
html.tv-user-agent .cast-avatar,html.tv-user-agent .cast img{width:140px;height:140px}
html.tv-user-agent .cast .n{font-size:20px}
html.tv-user-agent .cast .r{font-size:17px}
html.tv-user-agent .episodes{gap:24px}
html.tv-user-agent .episode .name{font-size:20px}
html.tv-user-agent .episode .em{font-size:17px}
html.tv-user-agent .episode .th .num{font-size:16px;padding:2px 8px}
html.tv-user-agent .episode .th .lbl{font-size:15px;padding:2px 8px}
html.tv-user-agent .site-footer{font-size:18px}
html.tv-user-agent .site-footer .col>a,html.tv-user-agent .site-footer .col>span{font-size:20px}
html.tv-user-agent .site-footer .col b{font-size:15px}
html.tv-user-agent .site-footer .about{font-size:20px;width:460px}
html.tv-user-agent .site-footer .cols{grid-template-columns:repeat(4,260px)}
@media(max-width:1899px){html.tv-user-agent .site-footer .top{flex-wrap:wrap}html.tv-user-agent .site-footer .cols{grid-template-columns:repeat(4,minmax(0,1fr));width:100%;gap:24px}}

/* Server-provided episode schedule, until episode artwork is available. */
.lf-season-list{margin:36px 0}
.lf-season-list__items{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.lf-season-list details{background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.lf-season-list summary{cursor:pointer;padding:18px 22px;display:flex;gap:18px;align-items:center}
.lf-season-list summary small{color:var(--muted);margin-left:auto}
.lf-season-list ol{padding:0 22px 16px;margin:0;list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px}
.lf-season-list li{display:flex;flex-wrap:wrap;gap:8px;align-items:baseline;padding:12px 0;border-top:1px solid var(--line);font-size:13px}
.lf-season-list li>span{color:var(--dim)}
.lf-season-list time{color:var(--muted);margin-left:auto;font-size:12px}
.lf-season-list ol{grid-template-columns:1fr}

/* Shared artwork-effect-native UI-kit component. */
.artwork-effect{position:absolute;inset:0;display:block;width:100%;height:100%;pointer-events:none}

.collection-detail>.grid-note{margin-top:20px}#bottom-nav[hidden]{display:none}

/* Static branded poster while loading and on missing artwork. */
.card .poster,.quick-poster{background:#090a0c url(../images/placeholders/poster-site.jpg) center/cover no-repeat}

/* Shared interactive-card state for posters, genres and collections. */
.card .poster,.tile,.coll{transition:box-shadow .18s ease}
.card[aria-current="true"] .poster,.card:focus .poster,.tile:focus-visible,.coll:focus-visible{box-shadow:0 0 0 1px var(--accent)}
.card .poster>.tag,.card .poster>.age{z-index:2}
@media(hover:hover){.card:hover .poster,.tile:hover,.coll:hover{box-shadow:0 0 0 1px var(--accent)}}

/* Original avatar sizes; swipe on phones, wrapped grid on larger screens. */
.cast-section .cast{flex-wrap:nowrap}
@media(max-width:767px){.cast-section .cast{scroll-snap-type:x proximity;overscroll-behavior-x:contain}.cast-section .cast-person{scroll-snap-align:start}}
@media(min-width:768px){.cast-section .cast{grid-template-columns:repeat(8,minmax(0,1fr));grid-auto-flow:row;overflow:visible}.cast-section .cast-person{min-width:0}.cast-section figcaption{max-width:100%;overflow-wrap:anywhere}}
