:root {
	--ill-bg: #07080b;
	--ill-bg-soft: #0c0e13;
	--ill-surface: #11131a;
	--ill-surface-2: #1a1d26;
	--ill-line: rgba(215, 182, 111, .28);
	--ill-line-strong: rgba(215, 182, 111, .52);
	--ill-gold: #d7b66f;
	--ill-gold-soft: #f0d99a;
	--ill-text: #f4efe5;
	--ill-muted: #a8a095;
	--ill-wine: #7f1d2d;
	--ill-copper: #1d6f68;
	--ill-shadow: 0 18px 54px rgba(0, 0, 0, .38);
	color-scheme: dark;
}

body,
.page_form_style body {
	background:
		radial-gradient(circle at 18% 6%, rgba(127, 29, 45, .2), transparent 26rem),
		radial-gradient(circle at 90% 10%, rgba(29, 111, 104, .16), transparent 22rem),
		linear-gradient(135deg, #050608 0%, var(--ill-bg) 44%, #101218 100%);
	color: var(--ill-text);
}

body, select, input, textarea, button { color: var(--ill-text); }
a, .meta a, .speedbar a, .tag_list a, .vote_more a, .story_tools .category a { color: var(--ill-gold-soft); }
a:hover, .story .title > a:hover, .relnews > li > a:hover > b, .lastcomm > li > a:hover > b { color: var(--ill-gold); }
.grey, .grey .icon { color: var(--ill-muted); fill: var(--ill-muted); }
.blue, .orange { color: var(--ill-gold); }
.icon { fill: var(--ill-gold); }

.wrp { max-width: 112em; }
#header_menu {
	background: rgba(7, 8, 11, .93);
	border: 1px solid var(--ill-line);
	border-top: 0;
	border-radius: 0 0 6px 6px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .32);
}
.logotype { color: var(--ill-text); text-decoration: none; }
.logo_title {
	color: var(--ill-gold-soft);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: 0;
}
.illuminy_mark {
	width: 2.92em;
	height: 2.92em;
	display: inline-grid;
	place-items: center;
}
.illuminy_mark svg {
	width: 2.5em;
	height: 2.5em;
	fill: none;
	stroke: var(--ill-gold);
	stroke-width: 3;
	filter: drop-shadow(0 0 10px rgba(215, 182, 111, .26));
}
#top_menu a, .cat_menu a { color: var(--ill-text); }
#top_menu a.active, #top_menu a:hover, .cat_menu a:hover { color: var(--ill-gold-soft); text-decoration: none; }
.cat_menu a:hover:after { background-color: var(--ill-gold); }

#q_search .q_search,
.dropdown-menu,
.dropdown-form,
.box,
.block,
.block_bg,
.story,
.comments .box,
.page_form__body,
.pm_status,
.berrors,
.searchtable,
.addcomment,
.userinfo,
.statistics,
.poll,
.vote_list,
.gr-box {
	background: rgba(17, 19, 26, .92);
	border: 1px solid var(--ill-line);
	border-radius: 6px;
	box-shadow: var(--ill-shadow);
	color: var(--ill-text);
}
.box_in, .story .box_in { background: transparent; }
.story > .meta, .meta, .footer_menu, .footer, .dropdown-form.logged:before, .dropdown-form.logged:after {
	background: rgba(10, 12, 18, .9);
	color: var(--ill-muted);
	border-color: var(--ill-line);
}
.title, .heading, h1, h2, h3, h4, h5,
.story .title, .block .title, .carousel-caption .title {
	color: var(--ill-gold-soft);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
}
.text, .story .text, .share-content, .comment, .com-cont, .post-cont { color: var(--ill-text); }
.category, .story_tools, .tag_list, .speedbar, .pages { color: var(--ill-muted); }

.carousel {
	border: 1px solid var(--ill-line-strong);
	border-radius: 6px;
	overflow: hidden;
	background: var(--ill-bg);
	box-shadow: var(--ill-shadow);
}
.carousel-caption {
	background: linear-gradient(90deg, rgba(7, 8, 11, .86), rgba(7, 8, 11, .36));
}
.carousel-caption .title { font-size: 3.6rem; }
.carousel-caption .text { color: var(--ill-text); max-width: 34rem; }
.carousel-indicators li:after,
.carousel-indicators li:hover:after,
.carousel-indicators li.active:after { background-color: var(--ill-gold); }
.carousel-indicators li.active { border-color: var(--ill-gold); }
.cover { filter: saturate(.88) contrast(1.08); }

.btn,
.bbcodes,
.ui-button,
.more a,
a .pprev,
a .pnext,
.q_search_btn {
	background: linear-gradient(135deg, var(--ill-gold) 0%, #9f7831 100%);
	border-color: rgba(240, 217, 154, .3);
	color: #08090c !important;
	text-shadow: none;
	border-radius: 5px;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .26);
}
.btn:hover, .bbcodes:hover, .ui-button:hover, .more a:hover { background: linear-gradient(135deg, var(--ill-gold-soft), var(--ill-gold)); color: #050608 !important; }
.btn .icon, .q_search_btn .icon { fill: #08090c; }

input, select, textarea,
.f_input, .f_textarea, .textin, .xfields input, .xfields textarea, .xprofile input, .xprofile textarea,
.fieldtr select, .tdfield select, .pm select, .editor input[type="text"], #category {
	background: rgba(5, 6, 8, .82) !important;
	border: 1px solid var(--ill-line) !important;
	color: var(--ill-text) !important;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}
input:focus, select:focus, textarea:focus,
.f_input:focus, .f_textarea:focus, .textin:focus {
	border-color: var(--ill-gold) !important;
	box-shadow: 0 0 0 3px rgba(215, 182, 111, .14);
}
::placeholder { color: rgba(244, 239, 229, .52); }

.story_icons span,
.story_icons i,
.rate_like > a,
.rate_like-dislike > a,
.pages a,
.pages span,
.page_next-prev > span,
#upper,
.styled_select,
.tag_list a,
.com-num,
.pm_progress_bar,
.voteprogress,
.pollprogress {
	border-color: var(--ill-line);
	background-color: rgba(17, 19, 26, .86);
	color: var(--ill-gold-soft);
}
.pages a:hover, .pages span, .navigation .pages > span,
.voteprogress span, .pollprogress span {
	background: var(--ill-gold);
	color: #08090c;
}
.rate_like > a:hover,
.rate_like-dislike > a:hover,
#pm-menu a:hover { border-color: var(--ill-gold); color: var(--ill-gold); }
.rate_like-dislike > a:hover .icon, .fav_btn:hover .icon-fav { fill: var(--ill-gold); }

.comment {
	border-color: var(--ill-line);
	background: rgba(10, 12, 18, .74);
	border-radius: 6px;
}
.comment .photo, .profile_popup .avatar img, .userinfo .avatar img {
	border: 1px solid var(--ill-line);
	box-shadow: 0 0 0 3px rgba(215, 182, 111, .08);
}
.mass_comments_action,
.ux-form,
.c-captcha-box,
figure.image figcaption {
	background: rgba(10, 12, 18, .86);
	border-color: var(--ill-line);
	color: var(--ill-muted);
}

.rightside .banner,
.banner,
.illuminy_counter {
	border: 1px solid var(--ill-line);
	background: linear-gradient(135deg, rgba(127, 29, 45, .26), rgba(29, 111, 104, .18));
	border-radius: 6px;
	overflow: hidden;
}
.rightside .banner img,
.banner img,
.illuminy_counter img { opacity: .42; filter: sepia(.24) saturate(.7); }

.foot_menu > li > b, .footer_menu a, #upper { color: var(--ill-gold-soft); }
.foot_menu nav a { color: var(--ill-text); }
.foot_menu nav a:hover { color: var(--ill-gold); }
.footer, .footer_menu { border-top: 1px solid var(--ill-line); }
.copyright { color: var(--ill-muted); }

.page_form__body {
	background:
		radial-gradient(circle at 50% 0, rgba(215, 182, 111, .14), transparent 20rem),
		rgba(17, 19, 26, .94);
}
.illuminy_form_mark {
	width: 84px;
	height: 84px;
	display: inline-block;
	background: url("../images/illuminy-sigil.svg") center/contain no-repeat;
	filter: drop-shadow(0 0 18px rgba(215, 182, 111, .22));
}

@media (max-width: 900px) {
	#header_menu, .box, .story, .block { border-radius: 5px; }
	.carousel-caption .title { font-size: 2rem; }
	.carousel-caption .text { font-size: 1rem; }
}

/* W-1025: Illuminy identity layer over default DLE surfaces. */
.rightside .block,
.hblock,
.tags_block,
.arch_block,
.block_grey,
#votes,
.change_skin,
.relnews,
.splitnewsnavigation {
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .96), rgba(18, 21, 28, .93)),
		url("../images/illuminy-pattern.svg") center/cover;
	border: 1px solid var(--ill-line);
	border-radius: 6px;
	box-shadow: var(--ill-shadow);
	color: var(--ill-text);
}
.rightside .block > .title,
.hblock > .title,
.block_grey > .title,
.change_skin > .title,
.tags_block > .title,
.arch_block > .title,
.title_tabs {
	background:
		linear-gradient(90deg, rgba(127, 29, 45, .32), rgba(29, 111, 104, .16)),
		rgba(7, 8, 11, .74) !important;
	border-bottom: 1px solid var(--ill-line);
	color: var(--ill-gold-soft) !important;
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
	text-transform: none;
}
.hblock > .title,
.rightside .block > .title,
.block_grey > .title {
	padding: 1rem 1.35rem;
	margin: 0;
}
.rightside .block .box_in,
.hblock .box_in,
.block_grey .box_in { background: transparent; }

.carousel-control_in {
	background:
		linear-gradient(180deg, rgba(17, 19, 26, .96), rgba(7, 8, 11, .96)) !important;
	border: 1px solid var(--ill-line);
	box-shadow: 0 14px 32px rgba(0, 0, 0, .42);
}
.carousel-control .icon,
.carousel-control a:hover > .icon {
	fill: var(--ill-gold) !important;
}
.carousel-control .up,
.carousel-control .down {
	color: var(--ill-gold);
}

.calendar {
	background: rgba(7, 8, 11, .62);
	border: 1px solid var(--ill-line);
	border-radius: 6px;
	overflow: hidden;
}
.calendar tr th,
.calendar tr th.weekday,
.calendar tr td,
.calendar tr td.weekday {
	background: rgba(10, 12, 18, .84) !important;
	border-color: rgba(215, 182, 111, .16);
	color: var(--ill-text) !important;
}
.calendar tr th,
.calendar tr th.monthselect {
	color: var(--ill-gold-soft) !important;
}
.calendar tr th.weekday,
.calendar tr td.weekday {
	color: var(--ill-copper) !important;
}
.calendar tr td a {
	color: var(--ill-gold-soft) !important;
}
.calendar tr td a:hover {
	color: var(--ill-gold) !important;
}
.title_tabs ul li > a,
.title_tabs ul li.active > a {
	background: rgba(10, 12, 18, .88) !important;
	border: 1px solid var(--ill-line);
	box-shadow: none;
}
.title_tabs ul li > a > .icon,
.title_tabs ul li.active > a > .icon {
	fill: var(--ill-gold) !important;
}

.block_grey .vote_more,
#votes .vote_more,
.vote_more {
	color: var(--ill-muted);
}
.vote_more a {
	color: var(--ill-gold-soft) !important;
}
.vote_list {
	background: rgba(7, 8, 11, .54);
	border: 1px solid rgba(215, 182, 111, .18);
	border-radius: 6px;
	margin: 1rem 0;
	padding: .9rem;
}
.vote_list .vote,
.vote_list .pollanswer {
	color: var(--ill-text);
}
.vote_list .vote > input + label:before,
.vote_list .pollanswer > input + label:before {
	background: rgba(7, 8, 11, .92) !important;
	border-color: var(--ill-line-strong) !important;
	box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .4);
}
.vote_list .vote > input + label:hover:before,
.vote_list .pollanswer > input + label:hover:before,
.vote_list .vote > input:checked + label:before,
.vote_list .pollanswer > input:checked + label:before {
	background: var(--ill-gold) !important;
	border-color: var(--ill-gold-soft) !important;
}
.voteprogress,
.pollprogress {
	background: rgba(244, 239, 229, .12) !important;
	border: 1px solid rgba(215, 182, 111, .2);
}
.voteprogress span,
.pollprogress span,
.voteprogress .vote2,
.voteprogress .vote3,
.voteprogress .vote4,
.voteprogress .vote5,
.pollprogress .poll2,
.pollprogress .poll3,
.pollprogress .poll4,
.pollprogress .poll5 {
	background: linear-gradient(90deg, var(--ill-gold), var(--ill-copper)) !important;
}
.btn-border,
#votes .btn-border,
.block_grey .btn-border {
	background: rgba(7, 8, 11, .82);
	border: 1px solid var(--ill-line-strong);
	border-radius: 5px;
	color: var(--ill-gold-soft) !important;
}
.btn-border:hover,
#votes .btn-border:hover,
.block_grey .btn-border:hover {
	background: rgba(215, 182, 111, .14);
	color: var(--ill-gold) !important;
}
.btn-border .icon {
	fill: var(--ill-gold) !important;
}

.rate_stars {
	display: inline-flex;
	align-items: center;
	min-height: 27px;
	padding: 2px 7px;
	background: rgba(7, 8, 11, .8);
	border: 1px solid var(--ill-line);
	border-radius: 999px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}
.unit-rating {
	background: rgba(244, 239, 229, .08) !important;
	border-radius: 999px;
	overflow: hidden;
	position: relative;
}
.unit-rating:before {
	content: "*****";
	position: absolute;
	inset: 0;
	color: rgba(215, 182, 111, .42);
	font-size: 18px;
	line-height: 23px;
	letter-spacing: 3px;
	text-align: center;
}
.unit-rating li a:hover,
.unit-rating li.current-rating {
	background: linear-gradient(90deg, rgba(215, 182, 111, .92), rgba(29, 111, 104, .72)) !important;
	border-radius: 999px;
}
.ratingplus,
.ratingminus,
.ratingzero,
.rate_like-dislike .ratingplus,
.rate_like-dislike .ratingminus {
	color: var(--ill-gold-soft) !important;
}

.change_skin {
	background:
		linear-gradient(135deg, rgba(127, 29, 45, .26), rgba(29, 111, 104, .18)),
		rgba(7, 8, 11, .92) !important;
}
.change_skin .styled_select {
	background: rgba(7, 8, 11, .86) !important;
	border: 1px solid var(--ill-line) !important;
	border-radius: 5px;
	box-shadow: none;
}
.change_skin .styled_select select {
	color: var(--ill-text) !important;
	background: transparent !important;
}
.change_skin .styled_select option {
	background: var(--ill-surface);
	color: var(--ill-text);
}
.change_skin .styled_select > .icon,
.change_skin .styled_select:hover > .icon {
	fill: var(--ill-gold) !important;
}

.tag_list > span > a,
.tags_block .tag_list a {
	background: rgba(7, 8, 11, .82);
	border-color: var(--ill-line) !important;
	color: var(--ill-text) !important;
	border-radius: 999px;
}
.tag_list > span > a:hover,
.tags_block .tag_list a:hover {
	background: rgba(215, 182, 111, .16) !important;
	border-color: var(--ill-gold) !important;
	color: var(--ill-gold-soft) !important;
	box-shadow: none;
}

.informer_list li .title a:hover,
ol.topnews > li > a:hover > b,
.relnews > li > a:hover > b {
	color: var(--ill-gold) !important;
}
.more_icon {
	background: linear-gradient(90deg, var(--ill-wine), var(--ill-copper)) !important;
	border: 1px solid var(--ill-line);
}
.more_icon > i {
	background-color: var(--ill-gold-soft) !important;
}
.hblock .banner {
	border-top: 1px solid var(--ill-line) !important;
}
.rightside .banner,
.banner {
	background:
		linear-gradient(135deg, rgba(127, 29, 45, .3), rgba(29, 111, 104, .22)),
		rgba(7, 8, 11, .92) !important;
}
.rightside .banner img,
.banner img,
.illuminy_counter img {
	opacity: .78;
	filter: saturate(.82) contrast(1.05);
}

.story .text mark,
.text mark,
.story .text [style*="color:red"],
.story .text [style*="color: red"],
.story .text [style*="#ff0000"],
.story .text [style*="#FF0000"] {
	color: var(--ill-gold-soft) !important;
	background: rgba(127, 29, 45, .36);
	border-radius: 3px;
	padding: 0 .18em;
}
.title_spoiler,
.text_spoiler,
.quote,
blockquote {
	background: rgba(10, 12, 18, .88) !important;
	border-color: var(--ill-line-strong) !important;
	color: var(--ill-text);
}

#fullsearch input[type="submit"],
#fullsearch input[type="button"],
#dofullsearch input[type="submit"],
#dofullsearch input[type="button"],
.searchtable input[type="submit"],
.searchtable input[type="button"] {
	background: linear-gradient(135deg, var(--ill-gold), #9f7831) !important;
	border: 1px solid rgba(240, 217, 154, .34) !important;
	border-radius: 5px;
	color: #08090c !important;
	min-height: 2.8rem;
	padding: .65rem 1rem;
}
.fixed_label:before {
	background-color: var(--ill-wine) !important;
}
.fixed_label:after {
	border-bottom-color: var(--ill-bg) !important;
}

/* W-1026: hidden DLE surfaces and overflow polish. */
.rightside,
.rightside *,
.ui-dialog,
.ui-dialog *,
#dropmenudiv,
#dropmenudiv *,
.dropdown-menu,
.dropdown-menu *,
.dropdown-form,
.dropdown-form * {
	box-sizing: border-box;
}

.rightside .block,
.rightside .block_bg,
.rightside .block_grey,
.rightside .rel_block,
.rightside .tags_block,
.rightside .arch_block,
#votes,
.change_skin,
.rel_block,
.tags_block {
	overflow: hidden;
}

.rightside .block > .title,
.rightside .block_bg > .title,
.rightside .block_grey > .title,
.rightside .tags_block > .title,
.rightside .rel_block > .title,
#votes > .title,
.change_skin > .title {
	display: block;
	position: relative;
	width: 100%;
	min-height: 3.4rem;
	margin: 0 !important;
	padding: 1rem 1.35rem !important;
	overflow: hidden;
	line-height: 1.25;
}

.rightside .block > .title:after,
.rightside .block_bg > .title:after,
.rightside .block_grey > .title:after,
.rightside .tags_block > .title:after,
.rightside .rel_block > .title:after,
#votes > .title:after,
.change_skin > .title:after,
.title_tabs:after {
	display: none !important;
}

.arch_block .title_tabs {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	min-height: 4.1rem;
	margin: 0 !important;
	padding: .85rem 1.15rem !important;
	overflow: hidden;
}

.arch_block .title_tabs h4 {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.arch_block .title_tabs ul {
	display: flex !important;
	flex: 0 0 auto;
	align-items: center;
	gap: .45rem;
	margin: 0 !important;
	padding: 0;
	list-style: none;
}

.arch_block .title_tabs li,
.arch_block .title_tabs li > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
}

.arch_block .title_tabs li > a {
	width: 2.6rem !important;
	height: 2.6rem !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 999px;
	background: rgba(7, 8, 11, .84) !important;
	border: 1px solid var(--ill-line) !important;
}

.arch_block .title_tabs li.active > a,
.arch_block .title_tabs li > a:hover {
	background: rgba(215, 182, 111, .16) !important;
	border-color: var(--ill-gold) !important;
}

.arch_block .title_tabs .icon {
	width: 1.15rem !important;
	height: 1.15rem !important;
	margin: 0 !important;
	fill: var(--ill-gold) !important;
}

.arch_block .tab-content,
.arch_block .calendar,
.arch_block #arch_list {
	width: 100%;
	max-width: 100%;
	overflow: hidden;
}

.arch_block .calendar {
	border-width: 0;
	border-top: 1px solid var(--ill-line);
	border-radius: 0;
}

#q_search .q_search {
	height: 2.85rem;
	margin-top: 0;
	overflow: hidden;
}

#q_search .q_search > input {
	height: 2.85rem;
	padding: .65rem 5.7rem .65rem 1rem !important;
	line-height: 1.2;
}

#q_search .q_search > .btn,
#q_search .q_search .q_search_adv {
	top: 0 !important;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.85rem !important;
	height: 2.85rem !important;
	margin: 0 !important;
	padding: 0 !important;
}

#q_search .q_search > .btn {
	right: 0 !important;
	border-radius: 0 5px 5px 0;
}

#q_search .q_search .q_search_adv {
	right: 2.85rem !important;
	color: var(--ill-gold-soft);
}

#q_search .q_search .icon-search,
#q_search .q_search .icon-set {
	position: static !important;
	width: 1.1rem !important;
	height: 1.1rem !important;
	margin: 0 !important;
	fill: var(--ill-gold) !important;
}

.block_grey,
#votes {
	padding: 0 !important;
}

.block_grey .vote_more,
#votes .vote_more,
.vote_more {
	display: block;
	max-width: 100%;
	margin: 0 !important;
	padding: .2rem 1.35rem .95rem;
	overflow: hidden;
	color: var(--ill-muted);
	line-height: 1.3;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.block_grey .vote_list,
#votes .vote_list {
	margin: 0 1.35rem 1rem !important;
}

.block_grey .btn,
.block_grey .btn-border,
#votes .btn,
#votes .btn-border {
	margin: 0 0 1.2rem 1.35rem;
	vertical-align: middle;
}

.vote_votes,
.pollallvotes {
	padding: 0 1.35rem 1rem;
}

#dlevotespopupcontent,
#dlevotespopupcontent fieldset,
#dlevotespopupcontent .vote_list {
	background: transparent !important;
	color: var(--ill-text) !important;
	border-color: var(--ill-line) !important;
}

.change_skin {
	padding: 0 !important;
}

.change_skin .styled_select {
	display: flex;
	align-items: center;
	width: auto !important;
	min-height: 2.9rem;
	margin: 0 1.35rem 1.35rem;
	overflow: hidden;
	position: relative;
}

.change_skin .styled_select select {
	width: 100% !important;
	min-height: 2.9rem;
	padding: .7rem 2.75rem .7rem .95rem !important;
	line-height: 1.25;
	cursor: pointer;
}

.change_skin .styled_select option,
select option {
	background: var(--ill-surface) !important;
	color: var(--ill-text) !important;
}

.change_skin .styled_select > .icon {
	left: auto !important;
	right: 1rem !important;
	top: 50% !important;
	width: 1rem !important;
	height: .7rem !important;
	margin: -.35rem 0 0 0 !important;
	pointer-events: none;
}

.tags_block .tag_list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .45rem;
	padding: 1rem 1.35rem 1.2rem;
	color: transparent;
}

.tag_list > a,
.tag_list > span,
.tag_list > span > a,
.tags_block .tag_list a {
	display: inline-flex;
	align-items: center;
	max-width: 100%;
}

.tag_list > a,
.tag_list > span > a,
.tags_block .tag_list a {
	min-height: 2rem;
	padding: .35rem .72rem !important;
	border: 1px solid var(--ill-line) !important;
	border-radius: 999px !important;
	background: rgba(7, 8, 11, .82) !important;
	color: var(--ill-text) !important;
	text-decoration: none !important;
	white-space: nowrap;
}

.rel_block .relnews {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.rel_block .relnews > li > a {
	position: relative;
	min-height: 4.6rem;
	padding: 1.05rem 1.2rem 1.05rem 2.85rem !important;
	border-bottom: 1px solid rgba(215, 182, 111, .18) !important;
	color: var(--ill-text) !important;
	overflow: hidden;
}

.rel_block .relnews > li:last-child > a {
	border-bottom-width: 0 !important;
}

.rel_block .relnews > li > a .icon {
	float: none !important;
	position: absolute;
	left: 1rem;
	top: 1.25rem;
	width: 1rem;
	height: 1rem;
	margin: 0 !important;
	fill: var(--ill-gold) !important;
}

.rel_block .relnews > li > a > b,
.rel_block .relnews > li > a > span {
	margin: 0 !important;
	overflow-wrap: anywhere;
}

.dropdown-menu,
.dropdown-form,
#dropmenudiv {
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .98), rgba(18, 21, 28, .96)),
		url("../images/illuminy-pattern.svg") center/cover !important;
	border: 1px solid var(--ill-line-strong) !important;
	border-radius: 6px !important;
	box-shadow: 0 22px 54px rgba(0, 0, 0, .52) !important;
	color: var(--ill-text) !important;
}

.dropdown-menu.dot:before,
.dropdown-form.dot:before {
	background: var(--ill-surface) !important;
	border: 1px solid var(--ill-line) !important;
	box-shadow: none !important;
}

.dropdown-menu li a,
#dropmenudiv a {
	color: var(--ill-text) !important;
	padding: .58rem 1rem !important;
}

.dropdown-menu li a:hover,
#dropmenudiv a:hover {
	background: rgba(215, 182, 111, .14) !important;
	color: var(--ill-gold-soft) !important;
}

#dropmenudiv {
	min-width: 14rem !important;
	padding: .45rem !important;
}

#login_pane .dropdown-form {
	right: 0;
	left: auto;
	width: min(24rem, calc(100vw - 2rem));
	padding: 1.35rem !important;
}

.login_pane__menu a,
.login_pane__foot a {
	color: var(--ill-text);
}

.login_pane__menu a:hover,
.login_pane__foot a:hover {
	color: var(--ill-gold-soft);
}

.soc_links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .65rem;
	justify-content: flex-start;
}

#cat_menu .soc_links {
	justify-content: center;
	padding: 0 1.1rem;
}

.soc_links > a,
fieldset .soc_links > a {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	margin: 0 !important;
	border: 1px solid var(--ill-line);
	border-radius: 999px;
	background: rgba(7, 8, 11, .82) !important;
	box-shadow: 0 8px 18px rgba(0, 0, 0, .22);
	transition: transform .15s ease, border-color .15s ease, background-color .15s ease;
}

.soc_links > a:hover,
fieldset .soc_links > a:hover {
	transform: translateY(-1px);
	border-color: var(--ill-gold);
	background: rgba(215, 182, 111, .16) !important;
}

.soc_links > a > .icon {
	width: 1.05rem;
	height: 1.05rem;
	margin: 0 !important;
	fill: var(--ill-gold-soft) !important;
}

#upper {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ill-line);
	background: rgba(17, 19, 26, .92) !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .34);
}

#upper .icon {
	position: static !important;
	width: 1.25rem !important;
	height: 1.8rem !important;
	margin: 0 !important;
	fill: var(--ill-gold) !important;
}

#upper:hover {
	background: rgba(215, 182, 111, .16) !important;
	border-color: var(--ill-gold);
}

.ui-widget-overlay {
	background: rgba(0, 0, 0, .72) !important;
}

.ui-dialog {
	max-width: calc(100vw - 2rem);
	overflow: hidden !important;
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .98), rgba(18, 21, 28, .96)),
		url("../images/illuminy-pattern.svg") center/cover !important;
	border: 1px solid var(--ill-line-strong) !important;
	border-radius: 7px !important;
	color: var(--ill-text) !important;
	box-shadow: 0 28px 70px rgba(0, 0, 0, .62) !important;
}

.ui-dialog-titlebar {
	min-height: 3.4rem;
	padding: .9rem 3.5rem .9rem 1.15rem !important;
	background: linear-gradient(90deg, rgba(127, 29, 45, .34), rgba(29, 111, 104, .2)) !important;
	border-bottom: 1px solid var(--ill-line) !important;
	color: var(--ill-gold-soft) !important;
}

.ui-dialog-title {
	color: var(--ill-gold-soft) !important;
	text-shadow: none !important;
}

.ui-dialog-titlebar-close {
	top: .7rem !important;
	right: .85rem !important;
	width: 2rem !important;
	height: 2rem !important;
	border-radius: 5px !important;
	background: linear-gradient(135deg, var(--ill-gold), #9f7831) !important;
	border: 1px solid rgba(240, 217, 154, .34) !important;
	color: #08090c !important;
}

.ui-dialog-titlebar-close span.ui-button-text,
.ui-dialog-titlebar-close .ui-icon {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	opacity: 1 !important;
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2308090c'%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") center/1rem 1rem no-repeat !important;
	text-indent: -9999px !important;
}

.ui-dialog-content,
.ui-dialog .ui-dialog-content,
.ui-dialog .ui-dialog-buttonpane {
	background: rgba(7, 8, 11, .88) !important;
	border-color: var(--ill-line) !important;
	color: var(--ill-text) !important;
}

.ui-dialog .ui-dialog-content {
	padding: 1.2rem !important;
}

.ui-dialog label,
.ui-dialog legend,
.ui-dialog fieldset,
.ui-dialog p,
.ui-dialog .grey {
	color: var(--ill-text) !important;
}

.ui-dialog textarea,
.ui-dialog input,
.ui-dialog select {
	background: rgba(5, 6, 8, .86) !important;
	border: 1px solid var(--ill-line-strong) !important;
	color: var(--ill-text) !important;
}

.ui-dialog .ui-dialog-buttonpane {
	padding: .95rem 1.2rem !important;
}

.ui-dialog-buttonset {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
	justify-content: flex-end;
}

.ui-dialog-buttonset button {
	margin: 0 !important;
}

.wideDialog,
.file-preview-card,
.mediaupload-box,
.dle-popup-mediaupload .mediaupload-insert-params {
	background: rgba(10, 12, 18, .94) !important;
	border-color: var(--ill-line) !important;
	color: var(--ill-text) !important;
}

.mass_comments_action select,
.bbeditor select,
select.rating,
.timezoneselect,
.twofactorselect,
select#category {
	min-height: 2.45rem;
	padding: .45rem .75rem !important;
}

@media only screen and (max-width: 1279px) {
	.rightside .block > .title,
	.rightside .block_bg > .title,
	.rightside .block_grey > .title,
	.rightside .tags_block > .title,
	.rightside .rel_block > .title,
	#votes > .title,
	.change_skin > .title {
		padding-left: 1rem !important;
		padding-right: 1rem !important;
	}

	.arch_block .title_tabs {
		padding-left: .9rem !important;
		padding-right: .9rem !important;
	}
}

@media only screen and (max-width: 600px) {
	#login_pane .dropdown-form,
	.dropdown-form,
	.ui-dialog {
		width: calc(100vw - 2rem) !important;
		max-width: calc(100vw - 2rem);
	}

	.rel_block .relnews > li > a {
		padding: 1rem 1rem 1rem 2.55rem !important;
	}
}

/* W-1027: UI defect pass, comments surfaces and registration rules. */
.pagetools,
.pagetools *,
.comments,
.comments *,
.addcomment,
.addcomment *,
.illuminy-reg-rules,
.illuminy-reg-rules * {
	box-sizing: border-box;
}

.pagetools {
	height: auto !important;
	min-height: 3.858em;
	padding-left: 0 !important;
	overflow: hidden !important;
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .96), rgba(18, 21, 28, .93)),
		url("../images/illuminy-pattern.svg") center/cover;
	border: 1px solid var(--ill-line) !important;
	border-radius: 6px !important;
	color: var(--ill-muted);
}

#combo-tools .pagetools_in,
#combo-tools.active > .pagetools_in {
	height: auto !important;
	margin-top: 0 !important;
	transition: none !important;
}

.sortbar,
.breadcrumb {
	position: relative;
	width: 100%;
	min-width: 0;
	overflow: hidden !important;
}

.breadcrumb {
	border-top: 1px solid rgba(215, 182, 111, .16);
}

.sortbar_in,
.speedbar,
.breadcrumb_in {
	height: auto !important;
	min-height: 3.1rem;
	padding: .85rem 1rem !important;
	line-height: 1.35 !important;
	white-space: normal !important;
	color: var(--ill-muted);
}

.sortbar_in {
	display: flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: .55rem .95rem;
	overflow: visible !important;
}

.sortbar_in > form,
.sortbar_in .sort {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: .5rem;
	min-width: 0;
	max-width: 100%;
}

.sortbar_in a,
.sortbar_in span,
.breadcrumb_in,
.breadcrumb_in .over {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.pagetools_back {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 3.35rem !important;
	height: 3.1rem !important;
	border-right: 1px solid rgba(215, 182, 111, .18) !important;
	background: rgba(7, 8, 11, .66);
}

.pagetools_back .icon {
	position: static !important;
	width: 1.45rem !important;
	height: 1.45rem !important;
	margin: 0 !important;
	fill: var(--ill-gold) !important;
}

.breadcrumb_in {
	padding-left: 4.2rem !important;
}

.carousel-control,
.illuminy_counter {
	display: none !important;
}

#upper {
	width: 3.45rem !important;
	height: 3.45rem !important;
}

ol.topnews {
	padding: 0;
}

ol.topnews > li > a {
	display: grid !important;
	grid-template-columns: 2.75rem minmax(0, 1fr);
	align-items: center;
	gap: .3rem .85rem;
	min-width: 0;
	padding: .95rem 1rem !important;
}

ol.topnews > li > a:after {
	display: none !important;
}

ol.topnews > li > a:before {
	grid-column: 1;
	grid-row: 1 / span 2;
	float: none !important;
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 2.55rem !important;
	height: 2.55rem !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
	border: 1px solid var(--ill-line-strong);
	background: rgba(7, 8, 11, .9) !important;
	color: var(--ill-gold-soft) !important;
}

ol.topnews > li > a > b,
ol.topnews > li > a > span {
	grid-column: 2;
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
	hyphens: auto;
}

ol.topnews > li > a > b {
	line-height: 1.25;
}

ol.topnews > li > a > span {
	line-height: 1.35;
}

.change_skin {
	padding-bottom: 1rem;
}

.change_skin .styled_select {
	position: relative;
	display: block;
	width: auto !important;
	max-width: none;
	height: 2.85rem !important;
	min-height: 2.85rem;
	margin: 1rem 1.15rem 0;
	padding: 0 !important;
	overflow: hidden;
	color-scheme: dark;
}

.change_skin .styled_select select {
	display: block !important;
	width: 100% !important;
	height: 2.85rem !important;
	min-height: 2.85rem;
	padding: .65rem 2.7rem .65rem .9rem !important;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background:
		linear-gradient(135deg, rgba(5, 6, 8, .96), rgba(17, 19, 26, .92)) !important;
	border: 0 !important;
	color: var(--ill-text) !important;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.change_skin .styled_select select::-ms-expand {
	display: none;
}

.change_skin .styled_select > .icon {
	position: absolute !important;
	right: .9rem !important;
	top: 50% !important;
	width: 1rem !important;
	height: 1rem !important;
	margin: 0 !important;
	transform: translateY(-50%) !important;
	pointer-events: none;
}

@keyframes illuminy-gear-turn {
	to { transform: rotate(180deg); }
}

#q_search .q_search .q_search_adv:hover .icon-set,
#q_search .q_search .q_search_adv:focus .icon-set {
	transform-origin: center !important;
	animation: illuminy-gear-turn .45s ease both;
}

.dropdown-menu,
#dropmenudiv,
.dropdown-form {
	max-width: calc(100vw - 2rem);
	max-width: min(24rem, calc(100vw - 2rem));
	overflow: auto !important;
	overscroll-behavior: contain;
}

.dropdown-menu li,
.dropdown-menu li a,
#dropmenudiv a {
	min-width: 0;
	max-width: 100%;
	overflow-wrap: anywhere;
}

.ui-button.ui-button-icon-only.ui-dialog-titlebar-close,
.ui-dialog-titlebar-close {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	top: .72rem !important;
	right: .85rem !important;
	width: 2.05rem !important;
	height: 2.05rem !important;
	padding: 0 !important;
	margin: 0 !important;
	text-indent: 0 !important;
	overflow: hidden !important;
}

.ui-dialog-titlebar-close .ui-icon,
.ui-dialog-titlebar-close span.ui-button-text {
	display: none !important;
}

.ui-dialog-titlebar-close:before {
	content: "";
	display: block;
	width: .9rem;
	height: .9rem;
	background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2308090c'%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") center/contain no-repeat;
}

.comments {
	clear: both;
	min-width: 0;
	overflow: visible;
}

.comments > .box,
.addcomment {
	width: 100%;
	min-width: 0;
}

.addcomment {
	margin-top: 1rem;
	overflow: visible;
}

.addcomment .box_in {
	padding: 1.35rem !important;
}

.addcomment .ui-form {
	display: grid;
	gap: .9rem;
	margin: 0;
}

.addcomment .form-group.combo {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .75rem;
}

#comment-editor,
#comment-editor .bb-editor,
#comment-editor .wseditor,
#comment-editor textarea,
.dleaddcomments-editor,
.dleaddcomments-editor textarea,
textarea.ajaxwysiwygeditor,
textarea.wysiwygeditor {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	box-sizing: border-box;
}

#comment-editor .bb-pane,
#comment-editor .bb-editor .bb-pane,
.addcomment .bb-pane {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: .35rem;
	max-width: 100%;
	padding: .5rem !important;
	background: rgba(7, 8, 11, .78) !important;
	border: 1px solid var(--ill-line) !important;
	border-radius: 5px 5px 0 0;
}

.illuminy-reg-rules {
	margin: 1.25rem 0 .25rem;
	padding: 1.2rem;
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .94), rgba(18, 21, 28, .91)),
		url("../images/illuminy-pattern.svg") center/cover;
	border: 1px solid var(--ill-line-strong);
	border-radius: 6px;
	color: var(--ill-text);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
}

.illuminy-reg-rules__head {
	display: flex;
	align-items: center;
	gap: .9rem;
	margin-bottom: 1rem;
}

.illuminy-reg-rules__mark {
	flex: 0 0 3rem;
	width: 3rem;
	height: 3rem;
	background: url("../images/illuminy-sigil.svg") center/contain no-repeat;
	filter: drop-shadow(0 0 12px rgba(215, 182, 111, .26));
}

.illuminy-reg-rules__head b {
	display: block;
	color: var(--ill-gold-soft);
	font-family: Georgia, "Times New Roman", serif;
	line-height: 1.25;
}

.illuminy-reg-rules__head span {
	display: block;
	margin-top: .3rem;
	color: var(--ill-muted);
	line-height: 1.45;
}

.illuminy-reg-rules ol {
	display: grid;
	gap: .7rem;
	margin: 0;
	padding: 0 0 0 1.2rem;
}

.illuminy-reg-rules li {
	padding-left: .25rem;
	line-height: 1.55;
	overflow-wrap: anywhere;
}

.illuminy-reg-rules li::marker {
	color: var(--ill-gold);
	font-weight: 700;
}

@media only screen and (max-width: 700px) {
	.pagetools_back {
		width: 3rem !important;
	}

	.breadcrumb_in {
		padding-left: 3.75rem !important;
	}

	.addcomment .form-group.combo {
		grid-template-columns: 1fr;
	}

	.illuminy-reg-rules {
		padding: 1rem;
	}

	.illuminy-reg-rules__head {
		align-items: flex-start;
	}
}

/* W-1028: restore hero controls, soften rightside and repair fullstory flow. */
body,
.page_form_style body {
	min-height: 100vh;
	background-repeat: no-repeat !important;
	background-attachment: fixed;
	background-size: cover;
}

.carousel-control {
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.carousel-control_in {
	width: 3.15rem;
	border: 0 !important;
	border-radius: 999px !important;
	background: rgba(10, 12, 18, .72) !important;
	box-shadow: 0 18px 42px rgba(0, 0, 0, .34) !important;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

.carousel-control .up,
.carousel-control .down {
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-height: 3.1rem;
	padding: .72rem !important;
	color: var(--ill-gold);
}

.carousel-control .icon,
.carousel-control a:hover > .icon {
	fill: var(--ill-gold-soft) !important;
}

.carousel-indicators li:before {
	border-color: rgba(240, 217, 154, .38) !important;
}

.carousel-indicators li:after {
	background: var(--ill-gold) !important;
}

.illuminy_counter {
	display: none !important;
}

.pagetools {
	height: 3.858em !important;
	min-height: 0 !important;
	padding-left: 0 !important;
	overflow: hidden !important;
	background:
		linear-gradient(135deg, rgba(8, 9, 13, .9), rgba(18, 21, 28, .78)),
		url("../images/illuminy-pattern.svg") center/cover !important;
	border: 0 !important;
	border-radius: 8px !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .22) !important;
}

#combo-tools .pagetools_in {
	height: 7.716em !important;
	margin-top: 0;
	transition: margin-top .24s ease !important;
}

#combo-tools.active > .pagetools_in {
	margin-top: -3.858em !important;
}

.sortbar,
.breadcrumb {
	height: 3.858em !important;
	overflow: hidden !important;
	border-top: 0 !important;
}

.sortbar_in,
.speedbar,
.breadcrumb_in {
	display: flex !important;
	align-items: center;
	height: 3.858em !important;
	min-height: 0 !important;
	padding: 0 1.25rem !important;
	line-height: 1.25 !important;
	white-space: nowrap !important;
	color: var(--ill-muted);
}

.sortbar_in {
	gap: .95rem;
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scrollbar-width: thin;
	scrollbar-color: rgba(215, 182, 111, .45) transparent;
}

.sortbar_in::-webkit-scrollbar {
	height: 4px;
}

.sortbar_in::-webkit-scrollbar-thumb {
	background: rgba(215, 182, 111, .45);
	border-radius: 999px;
}

.sortbar_in > form,
.sortbar_in .sort {
	display: inline-flex !important;
	align-items: center;
	flex: 0 0 auto;
	gap: .9rem;
	min-width: max-content;
	max-width: none;
}

.sortbar_in a,
.sortbar_in span {
	flex: 0 0 auto;
	max-width: none;
	color: var(--ill-muted);
	overflow-wrap: normal;
	text-decoration: none;
}

.sortbar_in a:hover,
.sortbar_in a.active,
.sortbar_in .desc,
.sortbar_in .asc {
	color: var(--ill-gold-soft) !important;
}

.breadcrumb_in {
	padding-left: 4.25rem !important;
	overflow: hidden;
	text-overflow: ellipsis;
}

.breadcrumb_in .over {
	display: block;
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.pagetools_back {
	width: 3.55rem !important;
	height: 3.858em !important;
	border-right: 1px solid rgba(215, 182, 111, .18) !important;
	background: rgba(7, 8, 11, .52) !important;
}

.rightside .block,
.rightside .block_bg,
.rightside .block_grey,
.rightside .rel_block,
.rightside .tags_block,
.rightside .arch_block,
.rightside #votes,
.rightside .change_skin {
	border: 0 !important;
	border-radius: 8px !important;
	background:
		linear-gradient(135deg, rgba(12, 14, 19, .72), rgba(18, 21, 28, .58)),
		url("../images/illuminy-pattern.svg") center/cover !important;
	box-shadow: 0 12px 28px rgba(0, 0, 0, .16) !important;
	overflow: hidden;
}

.rightside .block > .title,
.rightside .block_bg > .title,
.rightside .block_grey > .title,
.rightside .tags_block > .title,
.rightside .rel_block > .title,
.rightside #votes > .title,
.rightside .change_skin > .title {
	display: flex !important;
	align-items: center;
	gap: .85rem;
	min-height: 0;
	padding: 1.05rem 1.2rem .65rem !important;
	margin: 0 !important;
	background: transparent !important;
	border-bottom: 0 !important;
	color: var(--ill-gold-soft) !important;
}

.rightside .block > .title:after,
.rightside .block_bg > .title:after,
.rightside .block_grey > .title:after,
.rightside .tags_block > .title:after,
.rightside .rel_block > .title:after,
.rightside #votes > .title:after,
.rightside .change_skin > .title:after {
	content: "" !important;
	display: block !important;
	flex: 1 1 auto;
	height: 1px;
	margin: .1rem 0 0;
	border: 0 !important;
	background: linear-gradient(90deg, rgba(215, 182, 111, .32), transparent);
}

.rightside .block > .title > b,
.rightside .block > .title > h4,
.rightside .block_bg > .title,
.rightside .block_grey > .title {
	flex: 0 0 auto;
}

.arch_block .title_tabs {
	background: transparent !important;
}

.arch_block .title_tabs:after {
	display: none !important;
}

ol.topnews > li > a {
	border-bottom: 1px solid rgba(215, 182, 111, .16) !important;
}

ol.topnews > li:last-child > a {
	border-bottom: 0 !important;
}

ol.topnews > li > a:before {
	border-color: rgba(215, 182, 111, .72) !important;
	background: rgba(7, 8, 11, .42) !important;
}

.rightside .banner,
.rightside .banner img {
	border-radius: 8px !important;
}

.comments {
	scroll-margin-top: 5.5rem;
}

.commentbox,
.addcomment,
.comments > .box {
	border-radius: 8px !important;
}

/* W-1029: rightside spacing, quieter headings and lighter voting block. */
.rightside .top_block > .title {
	padding-bottom: .95rem !important;
}

.rightside .top_block > .title:after,
.rightside #votes > .title:after,
.rightside .block_grey > .title:after {
	display: none !important;
}

.rightside .top_block ol.topnews {
	margin: .2rem 0 .15rem !important;
}

.rightside .top_block ol.topnews > li:first-child > a {
	padding-top: 1.22rem !important;
}

.rightside .top_block ol.topnews > li > a {
	padding-right: 1.15rem !important;
	padding-bottom: 1.02rem !important;
}

.rightside #votes,
.rightside .block_grey {
	padding-bottom: 1.05rem;
}

.rightside #votes .title,
.rightside .block_grey > .title {
	padding-bottom: .45rem !important;
}

.rightside #votes .vote_more,
.rightside .block_grey .vote_more {
	margin: 0 1.2rem .75rem !important;
	color: var(--ill-gold-soft);
}

.rightside #votes .vote_list,
.rightside .block_grey .vote_list {
	margin: .15rem 1.2rem 1rem !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.rightside #votes .vote_list .vote,
.rightside #votes .vote_list .pollanswer,
.rightside .block_grey .vote_list .vote,
.rightside .block_grey .vote_list .pollanswer {
	margin: 0 !important;
	padding: .58rem 0 !important;
	border-bottom: 1px solid rgba(215, 182, 111, .12);
}

.rightside #votes .vote_list .vote:last-child,
.rightside #votes .vote_list .pollanswer:last-child,
.rightside .block_grey .vote_list .vote:last-child,
.rightside .block_grey .vote_list .pollanswer:last-child {
	border-bottom: 0;
}

.rightside #votes .vote_list label,
.rightside .block_grey .vote_list label {
	display: flex !important;
	align-items: center;
	min-width: 0;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.rightside #votes .btn,
.rightside .block_grey .btn {
	margin-left: 1.2rem;
}

.rightside #votes .btn-border,
.rightside .block_grey .btn-border {
	margin-left: .7rem;
	min-width: 3.5rem;
}

.addcomment textarea#comments,
.dleaddcomments-editor textarea#comments {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* W-1031: comments UI polish and Safari-safe editor sizing. */
#comment.comments { margin-top: 1.35rem; }
#comment .heading { margin-bottom: 1rem; }
.illuminy-comment-card {
	margin: 0 0 .9rem;
	padding: 1rem;
	background: linear-gradient(135deg, rgba(12, 14, 20, .95), rgba(20, 23, 31, .9));
	border: 1px solid rgba(215, 182, 111, .18);
	border-radius: 8px;
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.018);
}
.illuminy-comment-card__head,
.illuminy-comment-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .7rem;
}
.illuminy-comment-card__head { margin-bottom: .75rem; }
.illuminy-comment-card__avatar .cover {
	width: 3rem;
	height: 3rem;
	border: 1px solid rgba(215, 182, 111, .28);
	border-radius: 50%;
	box-shadow: 0 0 18px rgba(215, 182, 111, .12);
}
.illuminy-comment-card__user { min-width: 9rem; flex: 1 1 12rem; }
.illuminy-comment-card__body {
	padding-left: 3.7rem;
	line-height: 1.62;
}
.illuminy-comment-actions { margin: 0; padding: 0; }
.illuminy-comment-actions li,
.illuminy-comment-actions a {
	min-height: 2rem;
	align-items: center;
	color: var(--ill-muted);
}
.comment-form-shell,
.illuminy-comment-form {
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}
.illuminy-comment-form__inner {
	padding: 1.25rem !important;
	background: linear-gradient(135deg, rgba(13, 15, 21, .96), rgba(22, 25, 33, .92));
	border: 1px solid rgba(215, 182, 111, .18);
	border-radius: 8px;
}
.illuminy-comment-form__kicker { display: none; }
.illuminy-comment-form__title {
	margin: 0 0 .95rem !important;
	padding-bottom: .75rem;
	border-bottom: 1px solid rgba(215, 182, 111, .16);
}
.illuminy-comment-editor .dleaddcomments-editor,
.illuminy-comment-editor .tox-tinymce {
	min-height: 14rem !important;
	height: 14rem !important;
	border: 1px solid rgba(215, 182, 111, .2) !important;
	border-radius: 8px !important;
	overflow: hidden;
}
.illuminy-comment-editor .tox-editor-header,
.illuminy-comment-editor .tox-toolbar__primary {
	background: #4f596c !important;
	border: 0 !important;
	box-shadow: none !important;
}
.illuminy-comment-editor .tox-edit-area__iframe,
.illuminy-comment-editor textarea#comments {
	min-height: 10rem !important;
	background: #050608 !important;
	color: var(--ill-text) !important;
}
.illuminy-comment-subscribe .form-check-label {
	display: inline-flex;
	align-items: center;
	gap: .65rem;
}
.illuminy-comment-form__submit {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-top: .95rem;
}
.illuminy-comment-form__submit .btn { min-width: 13rem; }
@media (max-width: 640px) {
	.illuminy-comment-card__body { padding-left: 0; }
	.illuminy-comment-editor .dleaddcomments-editor,
	.illuminy-comment-editor .tox-tinymce { height: 12.5rem !important; min-height: 12.5rem !important; }
}

/* W-1068: Codex static page, separated from practical club rules. */
.codex-page {
	display: grid;
	gap: 1.25rem;
	color: var(--ill-text);
}

.codex-page__lead,
.codex-page__law,
.codex-page__note {
	padding: 1.15rem 1.25rem;
	background: linear-gradient(135deg, rgba(9, 11, 16, .82), rgba(24, 27, 35, .68));
	border: 1px solid rgba(215, 182, 111, .18);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.codex-page__lead {
	border-color: rgba(215, 182, 111, .28);
}

.codex-page__kicker {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0 0 .75rem;
	color: var(--ill-gold);
	font-size: .82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
}

.codex-page__kicker::before {
	content: "";
	width: .55rem;
	height: .55rem;
	border: 1px solid currentColor;
	transform: rotate(45deg);
}

.codex-page h2,
.codex-page h3 {
	margin: 0 0 .7rem;
	color: var(--ill-title);
	line-height: 1.22;
}

.codex-page p {
	margin: 0 0 .75rem;
	line-height: 1.68;
}

.codex-page p:last-child {
	margin-bottom: 0;
}

.codex-page__laws {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: .9rem;
	counter-reset: codex-law;
}

.codex-page__law {
	position: relative;
	padding-left: 4.1rem;
	counter-increment: codex-law;
}

.codex-page__law::before {
	content: counter(codex-law, decimal-leading-zero);
	position: absolute;
	left: 1.2rem;
	top: 1.2rem;
	width: 2.1rem;
	height: 2.1rem;
	display: grid;
	place-items: center;
	color: var(--ill-gold);
	font: 700 .78rem/1 var(--ui-font, Arial, sans-serif);
	border: 1px solid rgba(215, 182, 111, .32);
	border-radius: 50%;
	background: rgba(215, 182, 111, .08);
}

.codex-link {
	color: var(--ill-gold);
	border-bottom: 1px solid rgba(215, 182, 111, .45);
}

/* W-1068: auth/register/lost-password form polish. */
.page_form__back {
	background:
		linear-gradient(180deg, rgba(127, 29, 45, .42), rgba(7, 8, 11, .96)),
		radial-gradient(circle at 50% 16%, rgba(215, 182, 111, .2), transparent 9rem) !important;
	border-right: 1px solid rgba(215, 182, 111, .24);
	box-shadow: 18px 0 42px rgba(0, 0, 0, .24);
}

.page_form__back::after {
	background-image: linear-gradient(90deg, rgba(215, 182, 111, .16), rgba(0, 0, 0, 0)) !important;
}

.page_form__back > .icon {
	fill: var(--ill-gold-soft) !important;
	opacity: .78;
}

.page_form__inner > .title {
	color: var(--ill-gold-soft);
	letter-spacing: 0;
}

.page_form__form .form_submit {
	border-top-color: rgba(215, 182, 111, .22) !important;
}

.page_form__form .form-group label {
	color: var(--ill-muted) !important;
}

.page_form__form .login_check {
	display: flex;
	align-items: stretch;
	gap: .75rem;
}

.page_form__form .login_check > input {
	min-width: 0;
	padding-right: 1rem !important;
}

.page_form__form .login_check > .btn {
	position: static !important;
	flex: 0 0 auto;
	width: auto !important;
	min-width: 8.4rem;
	margin: 0 !important;
	padding-left: 1.15rem;
	padding-right: 1.15rem;
	white-space: nowrap;
}

.page_form__form .c-captcha {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: .65rem;
}

.page_form__form .c-captcha img {
	flex: 0 0 auto;
	width: 10rem !important;
	height: 3.75rem !important;
	border: 1px solid rgba(215, 182, 111, .22);
	border-radius: 6px;
	background: #f4efe5;
}

.page_form__form .c-captcha input {
	flex: 1 1 13rem;
	width: auto !important;
	min-width: 13rem;
	height: 3.75rem !important;
}

@media (max-width: 700px) {
	.page_form__back {
		background:
			linear-gradient(90deg, rgba(127, 29, 45, .5), rgba(7, 8, 11, .96)),
			radial-gradient(circle at 12% 50%, rgba(215, 182, 111, .18), transparent 8rem) !important;
		border-right: 0;
		border-bottom: 1px solid rgba(215, 182, 111, .24);
		box-shadow: 0 16px 34px rgba(0, 0, 0, .24);
	}

	.page_form__form .login_check {
		display: grid;
		grid-template-columns: 1fr;
	}

	.page_form__form .login_check > .btn {
		justify-self: start;
	}

	.page_form__form .c-captcha {
		align-items: stretch;
	}

	.page_form__form .c-captcha img,
	.page_form__form .c-captcha input {
		width: 100% !important;
		min-width: 0;
	}
}

.codex-link:hover {
	color: #f4d58a;
	border-bottom-color: transparent;
}

/* W-1069: modern DLE statistics page. */
.illuminy-stats {
	display: grid;
	gap: 1rem;
	color: var(--ill-text);
}

.illuminy-stats__hero,
.illuminy-stats__pulse > article,
.illuminy-stat-card,
.illuminy-stats__leaders {
	background:
		linear-gradient(135deg, rgba(17, 19, 26, .94), rgba(9, 11, 16, .9)),
		radial-gradient(circle at 88% 0, rgba(29, 111, 104, .12), transparent 15rem);
	border: 1px solid rgba(215, 182, 111, .22);
	border-radius: 8px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, .24);
}

.illuminy-stats__hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(12rem, .28fr);
	gap: 1rem;
	align-items: stretch;
	padding: 1.45rem;
	overflow: hidden;
}

.illuminy-stats__intro h1,
.illuminy-stats__section-head h2,
.illuminy-stat-card h2,
.illuminy-stats__leaders h2 {
	margin: 0;
	color: var(--ill-gold-soft);
	font-family: Georgia, "Times New Roman", serif;
	letter-spacing: 0;
	line-height: 1.18;
}

.illuminy-stats__intro h1 {
	font-size: 2rem;
}

.illuminy-stats__intro p {
	max-width: 42rem;
	margin: .6rem 0 0;
	color: var(--ill-muted);
	line-height: 1.58;
}

.illuminy-stats__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: .45rem;
	margin: 0 0 .65rem;
	color: var(--ill-gold);
	font-size: .75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

.illuminy-stats__eyebrow::before {
	content: "";
	width: .5rem;
	height: .5rem;
	border: 1px solid currentColor;
	transform: rotate(45deg);
}

.illuminy-stats__database {
	display: grid;
	align-content: center;
	gap: .3rem;
	min-height: 7.4rem;
	padding: 1rem;
	background: rgba(5, 6, 8, .46);
	border: 1px solid rgba(215, 182, 111, .2);
	border-radius: 8px;
	text-align: center;
}

.illuminy-stats__database span,
.illuminy-stats__pulse span {
	color: var(--ill-muted);
	font-size: .85rem;
}

.illuminy-stats__database b {
	color: var(--ill-gold-soft);
	font-size: 1.55rem;
	line-height: 1.2;
}

.illuminy-stats__pulse {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: .85rem;
}

.illuminy-stats__pulse > article {
	position: relative;
	min-height: 8rem;
	padding: 1.05rem;
	overflow: hidden;
}

.illuminy-stats__pulse > article::after {
	content: "";
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 2.1rem;
	height: 2.1rem;
	border: 1px solid rgba(215, 182, 111, .28);
	clip-path: polygon(50% 0, 100% 86%, 0 86%);
	opacity: .52;
}

.illuminy-stats__pulse b {
	display: block;
	margin-top: .5rem;
	color: var(--ill-gold-soft);
	font-size: 2.05rem;
	line-height: 1;
}

.illuminy-stats__pulse p {
	margin: .65rem 0 0;
	color: var(--ill-text);
	line-height: 1.45;
}

.illuminy-stats__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr) minmax(0, .92fr);
	gap: .85rem;
}

.illuminy-stat-card {
	padding: 1.1rem;
}

.illuminy-stat-card__head {
	display: flex;
	align-items: center;
	gap: .75rem;
	margin-bottom: 1rem;
}

.illuminy-stat-card__mark {
	flex: 0 0 2.25rem;
	width: 2.25rem;
	height: 2.25rem;
	display: grid;
	place-items: center;
	color: var(--ill-gold);
	font: 700 .76rem/1 Arial, sans-serif;
	border: 1px solid rgba(215, 182, 111, .32);
	border-radius: 50%;
	background: rgba(215, 182, 111, .08);
}

.illuminy-stat-card ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.illuminy-stat-card li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	min-height: 2.65rem;
	padding: .72rem 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid rgba(215, 182, 111, .12);
	border-radius: 0;
	color: var(--ill-muted);
}

.illuminy-stat-card li:last-child {
	border-bottom: 0;
}

.illuminy-stat-card li > b {
	display: inline-grid;
	place-items: center;
	min-width: 2.65rem;
	min-height: 2rem;
	padding: .25rem .62rem;
	color: var(--ill-text);
	font-size: 1.08rem;
	background: rgba(215, 182, 111, .1);
	border: 1px solid rgba(215, 182, 111, .22);
	border-radius: 999px;
}

.illuminy-stat-card a {
	color: var(--ill-gold-soft);
	border-bottom: 1px solid rgba(215, 182, 111, .34);
}

.illuminy-stat-card a:hover {
	color: var(--ill-gold);
	border-bottom-color: transparent;
}

.illuminy-stats__leaders {
	padding: 1.1rem;
	overflow: hidden;
}

.illuminy-stats__section-head {
	margin-bottom: .9rem;
}

.illuminy-stats__table {
	overflow: visible;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.illuminy-stats__table .userstop {
	display: block;
	width: 100%;
	min-width: 0;
	border-collapse: separate;
	border-spacing: 0;
	color: var(--ill-text);
}

.illuminy-stats__table .userstop tbody {
	display: block;
}

.illuminy-stats__table .userstop thead {
	display: none;
}

.illuminy-stats__table .userstop tr {
	display: flex;
	flex-wrap: wrap;
	gap: .72rem 1rem;
	align-items: center;
}

.illuminy-stats__table .userstop thead tr {
	margin-bottom: .45rem;
	padding: 0 .85rem;
	background: transparent;
	border: 0;
}

.illuminy-stats__table .userstop tbody tr,
.illuminy-stats__table .userstop > tr {
	margin-bottom: .55rem;
	padding: .76rem .78rem;
	background: linear-gradient(135deg, rgba(5, 6, 8, .58), rgba(18, 21, 30, .72));
	border: 1px solid rgba(215, 182, 111, .16);
	border-radius: 8px;
	box-shadow: 0 10px 26px rgba(0, 0, 0, .16);
}

.illuminy-stats__table .userstop td,
.illuminy-stats__table .userstop th {
	min-width: 0;
	padding: .2rem 0;
	flex: 1 1 7.2rem;
	border: 0;
	text-align: left;
	vertical-align: middle;
}

.illuminy-stats__table .userstop tbody td:nth-child(1),
.illuminy-stats__table .userstop > tr > td:nth-child(1) { flex: 0 1 7rem; }
.illuminy-stats__table .userstop tbody td:nth-child(2),
.illuminy-stats__table .userstop > tr > td:nth-child(2) { flex: 1 1 9rem; }
.illuminy-stats__table .userstop tbody td:nth-child(3),
.illuminy-stats__table .userstop > tr > td:nth-child(3),
.illuminy-stats__table .userstop tbody td:nth-child(4),
.illuminy-stats__table .userstop > tr > td:nth-child(4) { flex: 1 1 8rem; }
.illuminy-stats__table .userstop tbody td:nth-child(5),
.illuminy-stats__table .userstop > tr > td:nth-child(5),
.illuminy-stats__table .userstop tbody td:nth-child(6),
.illuminy-stats__table .userstop > tr > td:nth-child(6),
.illuminy-stats__table .userstop tbody td:nth-child(7),
.illuminy-stats__table .userstop > tr > td:nth-child(7) { flex: 0 1 5.2rem; }

.illuminy-stats__table .userstop td[align="center"],
.illuminy-stats__table .userstop th[align="center"] {
	text-align: left;
}

.illuminy-stats__table .userstop tr:first-child td,
.illuminy-stats__table .userstop th {
	color: rgba(240, 217, 154, .72);
	font: 700 .72rem/1.3 Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .05em;
	background: transparent;
}

.illuminy-stats__table .userstop tbody td,
.illuminy-stats__table .userstop > tr > td {
	color: var(--ill-text);
	font-size: .88rem;
}

.illuminy-stats__table .userstop tbody td::before,
.illuminy-stats__table .userstop > tr > td::before {
	display: block;
	margin: 0 0 .28rem;
	color: rgba(240, 217, 154, .6);
	font: 700 .64rem/1.2 Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.illuminy-stats__table .userstop tbody td:nth-child(1)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(1)::before { content: "Имя"; }
.illuminy-stats__table .userstop tbody td:nth-child(2)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(2)::before { content: "Группа"; }
.illuminy-stats__table .userstop tbody td:nth-child(3)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(3)::before { content: "Регистрация"; }
.illuminy-stats__table .userstop tbody td:nth-child(4)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(4)::before { content: "Последний визит"; }
.illuminy-stats__table .userstop tbody td:nth-child(5)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(5)::before { content: "Публикаций"; }
.illuminy-stats__table .userstop tbody td:nth-child(6)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(6)::before { content: "Комментариев"; }
.illuminy-stats__table .userstop tbody td:nth-child(7)::before,
.illuminy-stats__table .userstop > tr > td:nth-child(7)::before { content: "Связь"; }

.illuminy-stats__table .userstop tbody td:first-child a,
.illuminy-stats__table .userstop > tr > td:first-child a {
	display: inline-flex;
	align-items: center;
	min-height: 1.92rem;
	padding: .22rem .55rem;
	color: #08090c !important;
	font-weight: 700;
	background: linear-gradient(135deg, var(--ill-gold-soft), var(--ill-gold));
	border: 0;
	border-radius: 999px;
}

.illuminy-stats__table .userstop span[style*="red"] {
	display: inline-flex;
	align-items: center;
	min-height: 1.72rem;
	padding: .2rem .5rem;
	color: var(--ill-gold-soft) !important;
	background: rgba(215, 182, 111, .09);
	border: 1px solid rgba(215, 182, 111, .18);
	border-radius: 999px;
}

.illuminy-stats__table .userstop a {
	color: var(--ill-gold-soft);
}

@media (max-width: 860px) {
	.codex-page__laws { grid-template-columns: 1fr; }

	.illuminy-stats__hero,
	.illuminy-stats__pulse,
	.illuminy-stats__grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	.codex-page__lead,
	.codex-page__law,
	.codex-page__note {
		padding: 1rem;
	}

	.codex-page__law {
		padding-left: 3.6rem;
	}

	.codex-page__law::before {
		left: .95rem;
		top: 1rem;
	}

	.illuminy-stats__hero,
	.illuminy-stat-card,
	.illuminy-stats__leaders,
	.illuminy-stats__pulse > article {
		padding: 1rem;
	}

	.illuminy-stats__intro h1 {
		font-size: 1.55rem;
	}

	.illuminy-stat-card li {
		align-items: flex-start;
		flex-direction: column;
		gap: .35rem;
	}
}

/* W-1073: DLE-native tag cloud polish. Keep {tags}; only make generated chips responsive. */
.tags_block .tag_list,
.text.tag_list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: .48rem;
	max-width: 100%;
	overflow: hidden;
	color: transparent;
}

.rightside .tags_block .tag_list {
	padding: .9rem 1rem 1.08rem;
}

.tag_list > a,
.tag_list > span,
.tag_list > span > a,
.tags_block .tag_list a {
	max-width: 100%;
	min-width: 0;
}

.tag_list > span {
	display: inline-flex;
	margin: 0 !important;
}

.tag_list > a,
.tag_list > span > a,
.tags_block .tag_list a {
	white-space: normal !important;
	overflow-wrap: anywhere;
	word-break: normal;
	text-align: left;
	line-height: 1.28;
}

.tags_block .tag_list a,
.text.tag_list > span > a {
	background:
		linear-gradient(135deg, rgba(215, 182, 111, .12), rgba(29, 111, 104, .08)),
		rgba(7, 8, 11, .72) !important;
	border-color: rgba(215, 182, 111, .24) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025);
}

.tags_block .tag_list a:hover,
.text.tag_list > span > a:hover {
	transform: translateY(-1px);
}

.tags_block .tag_list a:focus-visible,
.text.tag_list > span > a:focus-visible {
	outline: 2px solid rgba(215, 182, 111, .72);
	outline-offset: 2px;
}

.rightside .tags_block .clouds_large > a,
.rightside .tags_block .clouds_xlarge > a {
	font-size: .95rem !important;
}

@media only screen and (max-width: 1279px) {
	.rightside .tags_block .tag_list {
		padding-left: .9rem;
		padding-right: .9rem;
	}
}
