/* W-1032: mobile UI color overrides loaded after DLE engine.css/styles.css. */
:root {
	--ill-ui-field: rgba(6, 7, 10, .92);
	--ill-ui-line: rgba(215, 182, 111, .3);
	--ill-ui-line-strong: rgba(215, 182, 111, .56);
}

/* W-1041: mobile PM editor buttons and single dialog close control. */
.pm-edit-area {
	margin: .82rem 0 !important;
	padding: .78rem !important;
	background: linear-gradient(135deg, rgba(7, 8, 11, .92), rgba(16, 19, 26, .9)) !important;
	border: 1px solid rgba(215, 182, 111, .22) !important;
	border-radius: 9px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02) !important;
}

.pm-edit-area .dlepm-editor,
.pm-edit-area .wseditor,
.pm-edit-area .bb-editor,
.pm-edit-area .tox.tox-tinymce {
	width: 100% !important;
	max-width: 100% !important;
	background: rgba(5, 6, 9, .96) !important;
	border: 1px solid rgba(215, 182, 111, .26) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.pm-edit-area .tox .tox-editor-header,
.pm-edit-area .tox .tox-toolbar-overlord,
.pm-edit-area .tox .tox-toolbar__primary,
.pm-edit-area .tox .tox-toolbar {
	background: linear-gradient(180deg, rgba(45, 52, 65, .98), rgba(27, 32, 42, .98)) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.pm-edit-area .tox .tox-edit-area,
.pm-edit-area .tox .tox-edit-area__iframe {
	background: #050608 !important;
}

.pm-edit-area textarea,
.pm-edit-area textarea.ajaxpmeditor,
.pm-edit-area textarea.ajaxwysiwygeditor {
	width: 100% !important;
	min-height: 10rem !important;
	padding: .8rem .9rem !important;
	background: #050608 !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
}

.pm-edit-area .save-buttons {
	display: flex !important;
	flex-direction: column-reverse !important;
	align-items: stretch !important;
	gap: .58rem !important;
	width: 100% !important;
	padding-top: .8rem !important;
	text-align: right !important;
}

.pm-edit-area .save-buttons .bbcodes,
.pm-edit-area .save-buttons input[type="button"],
.pm-edit-area .save-buttons input[type="submit"],
.tox .tox-dialog__footer .tox-button,
.tox .tox-button,
.tox-tinymce-aux .tox-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 2.72rem !important;
	padding: .68rem 1rem !important;
	border-radius: 8px !important;
	border: 1px solid rgba(240, 217, 154, .36) !important;
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	color: #07080b !important;
	font-size: .94rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	text-shadow: none !important;
	box-shadow: 0 .75rem 1.55rem rgba(0, 0, 0, .22) !important;
	cursor: pointer !important;
}

.pm-edit-area .save-buttons .cancelchanges,
.tox .tox-dialog__footer .tox-button--secondary,
.tox .tox-button--secondary,
.tox-tinymce-aux .tox-button--secondary {
	background: rgba(215, 182, 111, .08) !important;
	border-color: rgba(215, 182, 111, .28) !important;
	color: var(--ill-gold-soft) !important;
	box-shadow: none !important;
}

.tox .tox-dialog,
.tox-tinymce-aux .tox-dialog {
	background: linear-gradient(135deg, rgba(13, 15, 21, .98), rgba(19, 22, 30, .96)) !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 9px !important;
	color: var(--ill-text) !important;
}

.tox .tox-dialog__header,
.tox .tox-dialog__footer,
.tox-tinymce-aux .tox-dialog__header,
.tox-tinymce-aux .tox-dialog__footer {
	background: rgba(5, 6, 9, .78) !important;
	border-color: rgba(215, 182, 111, .18) !important;
	color: var(--ill-text) !important;
}

.tox .tox-dialog__title,
.tox .tox-label,
.tox-tinymce-aux .tox-dialog__title,
.tox-tinymce-aux .tox-label {
	color: var(--ill-text) !important;
}

.ui-dialog-titlebar-close,
.ui-button.ui-dialog-titlebar-close,
.ui-button.ui-button-icon-only.ui-dialog-titlebar-close {
	position: absolute !important;
	top: 50% !important;
	right: .72rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.1rem !important;
	height: 2.1rem !important;
	min-width: 2.1rem !important;
	min-height: 2.1rem !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: rgba(215, 182, 111, .14) !important;
	border: 1px solid rgba(215, 182, 111, .42) !important;
	border-radius: 8px !important;
	color: var(--ill-gold-soft) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-align: center !important;
	text-indent: 0 !important;
	transform: translateY(-50%) !important;
}

.ui-dialog-titlebar-close:before,
.ui-dialog-titlebar-close:after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: .94rem !important;
	height: 2px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: currentColor !important;
	border: 0 !important;
	border-radius: 999px !important;
	text-indent: 0 !important;
	transform-origin: center !important;
}

.ui-dialog-titlebar-close:before {
	transform: translate(-50%, -50%) rotate(45deg) !important;
}

.ui-dialog-titlebar-close:after {
	transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.ui-dialog-titlebar-close:hover,
.ui-dialog-titlebar-close:focus-visible {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border-color: rgba(240, 217, 154, .72) !important;
	color: #07080b !important;
	outline: 0 !important;
}

.ui-dialog-titlebar-close .ui-icon,
.ui-dialog-titlebar-close .ui-button-icon,
.ui-dialog-titlebar-close .ui-button-icon-space,
.ui-dialog-titlebar-close .ui-button-text {
	position: absolute !important;
	display: block !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	background: none !important;
	border: 0 !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: 0 !important;
	pointer-events: none !important;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea {
	background: var(--ill-ui-field) !important;
	border: 1px solid var(--ill-ui-line) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02) !important;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--ill-gold) !important;
	box-shadow: 0 0 0 3px rgba(215, 182, 111, .14) !important;
	outline: 0;
}

input[type="button"],
input[type="submit"],
input[type="reset"],
.bbcodes,
.btn {
	border-radius: 999px !important;
	border: 1px solid rgba(215, 182, 111, .3) !important;
	font-weight: 700;
}

input[type="button"],
input[type="submit"],
.bbcodes,
.btn {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	color: #07080b !important;
}

input[type="reset"] {
	background: rgba(215, 182, 111, .09) !important;
	color: var(--ill-gold-soft) !important;
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--ill-gold);
}

.sort > li.asc a,
.sort > li.desc a,
.sortbar a.active,
.sortbar a:hover,
.sortbar a:focus {
	background: rgba(215, 182, 111, .11) !important;
	border-radius: 999px;
	color: var(--ill-gold-soft) !important;
	text-decoration: none !important;
}

.illuminy-mobile-comment-form {
	background: linear-gradient(135deg, rgba(13, 15, 21, .96), rgba(19, 22, 30, .93)) !important;
	border-color: rgba(215, 182, 111, .24) !important;
}

.illuminy-mobile-comment-editor .dleaddcomments-editor,
.illuminy-mobile-comment-editor .tox-tinymce {
	height: 10.8rem !important;
	min-height: 10.8rem !important;
	background: var(--ill-ui-field) !important;
	border-color: rgba(215, 182, 111, .28) !important;
}

.illuminy-mobile-comment-editor .tox-editor-header,
.illuminy-mobile-comment-editor .tox-toolbar__primary,
.illuminy-mobile-comment-editor .tox-toolbar-overlord,
.illuminy-mobile-comment-editor .tox-toolbar {
	background: linear-gradient(180deg, #343b49, #252b36) !important;
	border-color: rgba(215, 182, 111, .12) !important;
}

.illuminy-mobile-comment-editor .tox-edit-area,
.illuminy-mobile-comment-editor .tox-edit-area__iframe,
.illuminy-mobile-comment-editor textarea#comments {
	background: #07080b !important;
	color: var(--ill-text) !important;
}

.dle-alert,
.DLEPush,
.dle-push,
.dle-toast,
.ui-pnotify,
.noty_bar {
	background: linear-gradient(135deg, rgba(19, 22, 30, .98), rgba(29, 16, 18, .96)) !important;
	border: 1px solid rgba(198, 106, 87, .5) !important;
	border-radius: 8px !important;
	box-shadow: 0 18px 52px rgba(0, 0, 0, .45) !important;
	color: var(--ill-text) !important;
}

.dle-alert *,
.DLEPush *,
.dle-push *,
.dle-toast *,
.ui-pnotify *,
.noty_bar * {
	color: var(--ill-text) !important;
}

/* W-1033: DLE comments parity fixes. Keep core tags and JS intact. */
.illuminy-mobile-comment-editor .dleaddcomments-editor.wseditor {
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
	background: transparent !important;
	border: 0 !important;
}

.illuminy-mobile-comment-editor .tox-tinymce {
	height: 14rem !important;
	min-height: 14rem !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.illuminy-mobile-comment-editor .bb-editor textarea#comments {
	visibility: visible !important;
	min-height: 12rem !important;
}

.illuminy-mobile-comment-editor .tox-editor-header,
.illuminy-mobile-comment-editor .tox-toolbar-overlord {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.illuminy-mobile-comment-editor .tox-toolbar__primary,
.illuminy-mobile-comment-editor .tox-toolbar {
	display: flex !important;
	flex-wrap: wrap !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.illuminy-mobile-comment-subscribe {
	margin: .2rem 0 .45rem !important;
	color: var(--ill-text) !important;
}

.illuminy-mobile-comment-subscribe .form-check-label {
	display: inline-flex !important;
	align-items: center !important;
	gap: .65rem !important;
	cursor: pointer !important;
	color: var(--ill-text) !important;
	line-height: 1.35 !important;
}

.illuminy-mobile-comment-subscribe .form-check-input {
	position: relative !important;
	flex: 0 0 1.22rem !important;
	width: 1.22rem !important;
	height: 1.22rem !important;
	margin: 0 !important;
	appearance: none !important;
	-webkit-appearance: none !important;
	background-color: rgba(7, 8, 11, .88) !important;
	background-image: none !important;
	background-repeat: no-repeat !important;
	background-position: center !important;
	background-size: .86rem .86rem !important;
	border: 1px solid rgba(215, 182, 111, .58) !important;
	border-radius: 5px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025), 0 0 0 0 rgba(215, 182, 111, 0) !important;
	cursor: pointer !important;
	transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.illuminy-mobile-comment-subscribe .form-check-input:checked[type=checkbox] {
	background-color: rgba(215, 182, 111, .18) !important;
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23f1d896' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m5 10 4 4 7-8'/%3e%3c/svg%3e") !important;
	border-color: rgba(241, 216, 150, .92) !important;
	box-shadow: 0 0 0 3px rgba(215, 182, 111, .14) !important;
}

.illuminy-mobile-comment-subscribe .form-check-input:focus-visible {
	outline: 0 !important;
	box-shadow: 0 0 0 3px rgba(215, 182, 111, .22) !important;
}

.illuminy-mobile-comment-subscribe .form-check-label span {
	color: var(--ill-muted) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader-area {
	margin-top: .85rem !important;
	color: var(--ill-muted) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader-area > a {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 2.25rem !important;
	padding: .48rem .82rem !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 999px !important;
	background: rgba(215, 182, 111, .08) !important;
	color: var(--ill-gold-soft) !important;
	text-decoration: none !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader,
.illuminy-mobile-comment-editor .comments-image-uploader .plupload_wrapper,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_wrapper {
	background: rgba(7, 8, 11, .92) !important;
	border: 1px dashed rgba(215, 182, 111, .42) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .025) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_content,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_content {
	background: transparent !important;
	color: var(--ill-text) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_droptext,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_droptext,
.illuminy-mobile-comment-editor .comments-image-uploader .plupload_droptext:before,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_droptext:before {
	color: rgba(215, 182, 111, .72) !important;
	opacity: 1 !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_button.plupload_add,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_button.plupload_add {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border-color: rgba(215, 182, 111, .55) !important;
	border-radius: 999px !important;
	color: #07080b !important;
	text-shadow: none !important;
	box-shadow: 0 8px 22px rgba(0, 0, 0, .24) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_view_thumbs .plupload_file,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_view_thumbs .plupload_file {
	background: rgba(19, 22, 30, .86) !important;
	border-color: rgba(215, 182, 111, .22) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	box-shadow: none !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_view_thumbs div.plupload_file_name,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_view_thumbs div.plupload_file_name {
	border-top-color: rgba(215, 182, 111, .16) !important;
	color: var(--ill-text) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_message,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_message {
	background: rgba(29, 16, 18, .92) !important;
	border: 1px solid rgba(198, 106, 87, .55) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	box-shadow: none !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_message *,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_message * {
	color: var(--ill-text) !important;
}

.DLEPush:not(.DLEPush-notification) {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
}

.DLEPush-notification.wrapper {
	overflow: hidden !important;
	background: linear-gradient(135deg, rgba(19, 22, 30, .98), rgba(24, 20, 18, .97)) !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 10px !important;
	box-shadow: 0 18px 52px rgba(0, 0, 0, .45) !important;
	color: var(--ill-text) !important;
}

.DLEPush-notification.wrapper.push-error {
	background: linear-gradient(135deg, rgba(28, 17, 20, .98), rgba(19, 22, 30, .97)) !important;
	border-color: rgba(198, 106, 87, .55) !important;
}

.DLEPush-notification.wrapper.push-warning {
	background: linear-gradient(135deg, rgba(30, 25, 16, .98), rgba(19, 22, 30, .97)) !important;
	border-color: rgba(215, 182, 111, .5) !important;
}

.DLEPush-notification.wrapper.push-success {
	background: linear-gradient(135deg, rgba(16, 31, 25, .98), rgba(19, 22, 30, .97)) !important;
	border-color: rgba(122, 177, 138, .48) !important;
}

.DLEPush-notification .DLEPush-icon {
	background: rgba(215, 182, 111, .16) !important;
	color: var(--ill-gold-soft) !important;
	border-right: 1px solid rgba(215, 182, 111, .14) !important;
}

.DLEPush-notification.wrapper.push-error .DLEPush-icon {
	background: rgba(198, 106, 87, .28) !important;
	color: #f0b2a6 !important;
}

.DLEPush-notification.wrapper.push-success .DLEPush-icon {
	background: rgba(122, 177, 138, .22) !important;
	color: #bde5c6 !important;
}

.DLEPush-notification .DLEPush-header,
.DLEPush-notification .DLEPush-message,
.DLEPush-notification .DLEPush-message li,
.DLEPush-notification .DLEPush-message ul {
	color: var(--ill-text) !important;
}

.DLEPush-notification .DLEPush-message {
	margin: 1.05rem 2.65rem 1.05rem 1.05rem !important;
	line-height: 1.45 !important;
}

.DLEPush-notification .DLEPush-close {
	top: .7rem !important;
	right: .82rem !important;
	color: rgba(241, 216, 150, .82) !important;
	text-shadow: none !important;
}

.DLEPush-notification .DLEPush-close:hover {
	color: var(--ill-gold-soft) !important;
	opacity: 1 !important;
}

/* W-1034: mobile comments polish and WYSIWYG cleanup. */
.illuminy-mobile-comment-form,
.commentbox,
.comments > .box,
.mass_comments_action {
	background: linear-gradient(135deg, rgba(10, 12, 18, .97), rgba(17, 20, 28, .95)) !important;
	border: 1px solid rgba(215, 182, 111, .22) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .018) !important;
}

.illuminy-mobile-comment-form {
	padding: 1rem !important;
}

.illuminy-mobile-comment-form h3,
.comments .heading,
#comment .heading {
	color: var(--ill-gold-soft) !important;
	border-bottom: 1px solid rgba(215, 182, 111, .16) !important;
	padding-bottom: .75rem !important;
	margin-bottom: 1rem !important;
}

.illuminy-mobile-comment-editor .dleaddcomments-editor.wseditor {
	position: relative !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	overflow: visible !important;
}

.illuminy-mobile-comment-editor .dleaddcomments-editor.wseditor textarea#comments,
.dleaddcomments-editor.wseditor textarea.ajaxwysiwygeditor,
.dleaddcomments-editor.wseditor textarea.wysiwygeditor {
	position: absolute !important;
	left: -9999px !important;
	top: auto !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	max-height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
	box-shadow: none !important;
}

.illuminy-mobile-comment-editor .bb-editor textarea#comments {
	position: static !important;
	left: auto !important;
	width: 100% !important;
	height: 12.5rem !important;
	min-height: 12.5rem !important;
	padding: .85rem 1rem !important;
	visibility: visible !important;
	opacity: 1 !important;
	pointer-events: auto !important;
	background: #050608 !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
}

.illuminy-mobile-comment-editor .tox.tox-tinymce {
	height: 15rem !important;
	min-height: 15rem !important;
	background: rgba(5, 6, 9, .96) !important;
	border: 1px solid rgba(215, 182, 111, .3) !important;
	border-radius: 8px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .018) !important;
}

.illuminy-mobile-comment-editor .tox .tox-editor-header,
.illuminy-mobile-comment-editor .tox .tox-toolbar-overlord,
.illuminy-mobile-comment-editor .tox .tox-toolbar__primary,
.illuminy-mobile-comment-editor .tox .tox-toolbar {
	background: linear-gradient(180deg, rgba(42, 49, 62, .98), rgba(29, 34, 45, .98)) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.illuminy-mobile-comment-editor .tox .tox-toolbar__primary {
	gap: .16rem !important;
	padding: .35rem !important;
	border-bottom: 1px solid rgba(215, 182, 111, .16) !important;
}

.illuminy-mobile-comment-editor .tox .tox-tbtn {
	width: 2rem !important;
	height: 2rem !important;
	margin: 0 .04rem !important;
	border-radius: 6px !important;
	color: rgba(244, 239, 229, .88) !important;
}

.illuminy-mobile-comment-editor .tox .tox-tbtn svg {
	fill: currentColor !important;
}

.illuminy-mobile-comment-editor .tox .tox-tbtn:hover,
.illuminy-mobile-comment-editor .tox .tox-tbtn--enabled {
	background: rgba(215, 182, 111, .14) !important;
	color: var(--ill-gold-soft) !important;
}

.illuminy-mobile-comment-editor .tox .tox-edit-area,
.illuminy-mobile-comment-editor .tox .tox-edit-area__iframe {
	background: #050608 !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader-area {
	margin-top: .95rem !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader-area > a {
	min-height: 2.5rem !important;
	padding: .58rem .95rem !important;
	border-radius: 7px !important;
	background: linear-gradient(135deg, rgba(215, 182, 111, .14), rgba(170, 126, 54, .1)) !important;
}

.illuminy-mobile-comment-editor #hidden-image-uploader {
	margin-top: .75rem !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_wrapper,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_wrapper {
	padding: .7rem !important;
	border-style: dashed !important;
	border-color: rgba(215, 182, 111, .34) !important;
	background: rgba(4, 5, 8, .88) !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_content,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_content {
	height: auto !important;
	min-height: 8rem !important;
	padding: .65rem !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_view_thumbs .plupload_filelist_content,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_view_thumbs .plupload_filelist_content {
	gap: .65rem !important;
}

.illuminy-mobile-comment-editor .comments-image-uploader .plupload_view_thumbs .plupload_file,
.illuminy-mobile-comment-editor #hidden-image-uploader .plupload_view_thumbs .plupload_file {
	width: calc((100% - .65rem) / 2) !important;
	min-height: 8rem !important;
	overflow: hidden !important;
	background: rgba(14, 17, 24, .96) !important;
	border: 1px solid rgba(215, 182, 111, .2) !important;
}

.illuminy-mobile-comment-editor .plupload_file_name,
.illuminy-mobile-comment-editor .plupload_file_size {
	color: var(--ill-text) !important;
}

.illuminy-mobile-comment-subscribe {
	margin-top: .35rem !important;
}

.illuminy-mobile-comment-form__submit .btn {
	width: 100% !important;
	min-height: 3rem !important;
	border-radius: 7px !important;
	box-shadow: 0 14px 32px rgba(0, 0, 0, .24) !important;
}

.comment,
.com_list div.comment {
	background: linear-gradient(135deg, rgba(13, 16, 23, .94), rgba(18, 21, 30, .88)) !important;
	border-color: rgba(215, 182, 111, .16) !important;
	color: var(--ill-text) !important;
}

.comment .meta .left,
.mass_comments_action {
	display: flex !important;
	align-items: center !important;
	flex-wrap: wrap !important;
	gap: .5rem !important;
}

.comment .meta .left a,
.mass_comments_action .btn,
.mass_comments_action button,
.mass_comments_action input[type="submit"],
.mass_comments_action input[type="button"] {
	border-radius: 7px !important;
}

.comments-image-gallery {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: .55rem !important;
	margin: .75rem 0 !important;
	padding: 0 !important;
}

.comments-image-gallery img {
	width: 4.65rem !important;
	height: 4.65rem !important;
	object-fit: cover !important;
	background: rgba(7, 8, 11, .82) !important;
	border: 1px solid rgba(215, 182, 111, .34) !important;
	border-radius: 6px !important;
}

/* W-1035: mobile comment actions and inline edit polish. */
.illuminy-comment-actions,
.comment .meta > ul.left {
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: wrap !important;
	gap: .38rem !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.illuminy-comment-actions > li:empty,
.comment .meta > ul.left > li:empty {
	display: none !important;
}

.illuminy-comment-actions .comment-action,
.comment .meta > ul.left > .comment-action {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	margin: 0 !important;
	padding: 0 !important;
	min-width: 0 !important;
}

.illuminy-comment-actions .comment-action a,
.illuminy-comment-actions .comment-action .form-check-label,
.comment .meta > ul.left > .comment-action a,
.comment .meta > ul.left > .comment-action .form-check-label {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	gap: .36rem !important;
	min-height: 2.25rem !important;
	min-width: 2.25rem !important;
	width: auto !important;
	padding: .48rem .64rem !important;
	border: 1px solid rgba(215, 182, 111, .22) !important;
	border-radius: 8px !important;
	background: linear-gradient(180deg, rgba(21, 24, 32, .94), rgba(7, 8, 12, .94)) !important;
	color: rgba(244, 239, 229, .84) !important;
	text-decoration: none !important;
	line-height: 1 !important;
}

.illuminy-comment-actions .comment-action--complaint a,
.illuminy-comment-actions .comment-action--delete a,
.illuminy-comment-actions .comment-action--mass .form-check-label,
.comment .meta > ul.left > .comment-action--complaint a,
.comment .meta > ul.left > .comment-action--delete a,
.comment .meta > ul.left > .comment-action--mass .form-check-label {
	width: 2.25rem !important;
	padding-inline: 0 !important;
}

.illuminy-comment-actions .comment-action__editmark {
	position: relative;
	width: .9rem;
	height: .9rem;
	display: inline-block;
	flex: 0 0 auto;
}

.illuminy-comment-actions .comment-action__editmark:before,
.illuminy-comment-actions .comment-action__editmark:after {
	content: "";
	position: absolute;
	display: block;
	background: currentColor;
	border-radius: 999px;
}

.illuminy-comment-actions .comment-action__editmark:before {
	width: .68rem;
	height: .15rem;
	left: .11rem;
	top: .4rem;
	transform: rotate(-35deg);
}

.illuminy-comment-actions .comment-action__editmark:after {
	width: .25rem;
	height: .25rem;
	right: .03rem;
	top: .18rem;
	transform: rotate(-35deg);
}

.illuminy-comment-actions .comment-action--mass input[type="checkbox"],
.comment .meta > ul.left .comment-action--mass input[type="checkbox"] {
	appearance: none !important;
	-webkit-appearance: none !important;
	width: 1.05rem !important;
	height: 1.05rem !important;
	margin: 0 !important;
	border: 1px solid rgba(215, 182, 111, .44) !important;
	border-radius: 5px !important;
	background: rgba(6, 7, 10, .96) !important;
	box-shadow: inset 0 0 0 2px rgba(6, 7, 10, .96) !important;
}

.illuminy-comment-actions .comment-action--mass input[type="checkbox"]:checked,
.comment .meta > ul.left .comment-action--mass input[type="checkbox"]:checked {
	background: var(--ill-gold-soft) !important;
	border-color: var(--ill-gold-soft) !important;
}

#dle-comments-list .comments-edit-area,
.comment .comments-edit-area {
	width: 100% !important;
	max-width: 100% !important;
	margin: .85rem 0 0 !important;
	padding: .82rem !important;
	background: linear-gradient(135deg, rgba(9, 11, 16, .96), rgba(17, 20, 28, .92)) !important;
	border: 1px solid rgba(215, 182, 111, .18) !important;
	border-radius: 9px !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .018), 0 1rem 2rem rgba(0, 0, 0, .22) !important;
	box-sizing: border-box !important;
	clear: both !important;
}

#dle-comments-list .comments-edit-area *,
.comment .comments-edit-area * {
	box-sizing: border-box;
}

.comments-edit-area .wseditor.dlecomments-editor,
.comments-edit-area .dlecomments-editor.wseditor,
.comments-edit-area .bb-editor {
	position: relative !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	overflow: visible !important;
}

.comments-edit-area .wseditor.dlecomments-editor textarea.ajaxwysiwygeditor,
.comments-edit-area .dlecomments-editor.wseditor textarea.ajaxwysiwygeditor {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	min-height: 0 !important;
	max-height: 1px !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	opacity: 0 !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

.comments-edit-area .bb-editor textarea[id^="dleeditcomments"] {
	position: static !important;
	width: 100% !important;
	min-height: 11rem !important;
	padding: .85rem .95rem !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 8px !important;
	background: #050608 !important;
	color: var(--ill-text) !important;
	visibility: visible !important;
	opacity: 1 !important;
}

.comments-edit-area .tox.tox-tinymce {
	width: 100% !important;
	max-width: 100% !important;
	height: 13rem !important;
	min-height: 13rem !important;
	border: 1px solid rgba(215, 182, 111, .3) !important;
	border-radius: 8px !important;
	background: #050608 !important;
	overflow: hidden !important;
}

.comments-edit-area .tox .tox-editor-header,
.comments-edit-area .tox .tox-toolbar-overlord,
.comments-edit-area .tox .tox-toolbar__primary,
.comments-edit-area .tox .tox-toolbar {
	background: linear-gradient(180deg, rgba(42, 49, 62, .98), rgba(29, 34, 45, .98)) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.comments-edit-area .comments-image-uploader-area {
	margin-top: .8rem !important;
}

.comments-edit-area .comments-image-uploader-area > a {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 2.45rem !important;
	padding: .58rem .9rem !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 8px !important;
	background: linear-gradient(135deg, rgba(215, 182, 111, .14), rgba(170, 126, 54, .1)) !important;
	color: var(--ill-gold-soft) !important;
	text-decoration: none !important;
}

.comments-edit-area .qq-uploader {
	display: flex !important;
	flex-direction: column !important;
	gap: .7rem !important;
	padding: .7rem 0 0 !important;
}

.comments-edit-area .file-preview-card,
.comments-edit-area .qq-uploader .file-preview-card {
	width: 100% !important;
	max-width: 100% !important;
	overflow: hidden !important;
	border: 1px solid rgba(215, 182, 111, .22) !important;
	border-radius: 9px !important;
	background: rgba(12, 14, 20, .96) !important;
	color: var(--ill-text) !important;
}

.comments-edit-area .save-buttons {
	display: flex !important;
	flex-direction: column-reverse !important;
	align-items: stretch !important;
	gap: .6rem !important;
	width: 100% !important;
	padding-top: .9rem !important;
	text-align: right !important;
}

.comments-edit-area .save-buttons .bbcodes {
	width: 100% !important;
	min-height: 2.75rem !important;
	padding: .72rem 1rem !important;
	border-radius: 8px !important;
	font-weight: 800 !important;
	cursor: pointer !important;
}

.comments-edit-area .save-buttons .cancelchanges {
	border: 1px solid rgba(215, 182, 111, .24) !important;
	background: rgba(6, 7, 10, .92) !important;
	color: rgba(244, 239, 229, .8) !important;
}

.comments-edit-area .save-buttons .applychanges {
	border: 0 !important;
	background: linear-gradient(135deg, var(--ill-gold-soft), #b8893c) !important;
	color: #07080b !important;
	box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, .24) !important;
}

/* W-1036: mobile parity for comment action, rating and sort-arrow cleanup. */
.comment .rate_like,
.comment .rate_like-dislike {
	min-height: 1.85rem !important;
	padding: .1rem .18rem !important;
	background: transparent !important;
	border-color: transparent !important;
	box-shadow: none !important;
}

.comment .rate_like > a,
.comment .rate_like-dislike > a,
.comment .rate_like span[title],
.comment .rate_like-dislike span[title] {
	min-width: 1.8rem !important;
	min-height: 1.8rem !important;
	padding: .24rem .42rem !important;
	background: rgba(215, 182, 111, .045) !important;
	border-color: rgba(215, 182, 111, .12) !important;
	border-radius: 999px !important;
	box-shadow: none !important;
}

.comment .rate_like .icon,
.comment .rate_like-dislike .icon,
.comment .rate_like svg[title],
.comment .rate_like-dislike svg[title] {
	min-width: 1em !important;
	min-height: 1em !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.illuminy-comment-actions .comment-action__editmark,
.illuminy-comment-actions .comment-action__editmark:before,
.illuminy-comment-actions .comment-action__editmark:after,
.comment .meta .left .edit_btn > a:before,
.comment .meta .left .edit_btn > a:after,
.illuminy-comment-actions .comment-action--edit a:before,
.illuminy-comment-actions .comment-action--edit a:after {
	display: none !important;
	content: none !important;
}

.sortbar {
	height: auto !important;
	min-height: 3.2rem !important;
	overflow: visible !important;
}

.sortbar_in {
	height: auto !important;
	min-height: 3.2rem !important;
	padding: .72rem .82rem !important;
	white-space: normal !important;
	overflow: visible !important;
}

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

.sortbar_in .sort > li {
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	flex: 0 0 auto !important;
}

.sortbar_in .sort > li > a,
.sortbar_in .sort > li.asc > a,
.sortbar_in .sort > li.desc > a,
.sortbar_in .sort > li.asc a,
.sortbar_in .sort > li.desc a {
	display: inline-flex !important;
	align-items: center !important;
	gap: .42rem !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.sortbar_in .sort > li.asc a:after,
.sortbar_in .sort > li.desc a:after {
	content: "" !important;
	display: inline-block !important;
	width: .48em !important;
	height: .48em !important;
	flex: 0 0 .48em !important;
	margin: 0 0 0 .06em !important;
	background: none !important;
	border-right: 2px solid currentColor !important;
	border-bottom: 2px solid currentColor !important;
	border-radius: 1px !important;
	box-sizing: border-box !important;
	opacity: .95 !important;
	filter: none !important;
}

.sortbar_in .sort > li.desc a:after {
	transform: translateY(-.08em) rotate(45deg) !important;
}

.sortbar_in .sort > li.asc a:after {
	transform: translateY(.08em) rotate(-135deg) !important;
}

/* W-1037: mobile parity for comment actions, search settings and poll selected states. */
.illuminy-comment-actions,
.comment .meta > ul.left {
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

.illuminy-comment-actions .comment-action a,
.illuminy-comment-actions .comment-action .form-check-label,
.comment .meta > ul.left > .comment-action a,
.comment .meta > ul.left > .comment-action .form-check-label,
.comment .meta .left .edit_btn > a {
	background: rgba(12, 14, 20, .72) !important;
	border-color: rgba(215, 182, 111, .18) !important;
	box-shadow: none !important;
}

.illuminy-comment-actions .comment-action a:hover,
.illuminy-comment-actions .comment-action a:focus-visible,
.comment .meta > ul.left > .comment-action a:hover,
.comment .meta > ul.left > .comment-action a:focus-visible,
.comment .meta .left .edit_btn > a:hover {
	background: rgba(32, 28, 19, .82) !important;
	border-color: rgba(215, 182, 111, .36) !important;
}

#fullsearch .searchtable fieldset {
	margin: .45rem 0 !important;
	padding: .78rem !important;
	background: rgba(7, 8, 11, .18) !important;
	border: 1px solid rgba(215, 182, 111, .09) !important;
	border-radius: 8px !important;
	box-shadow: none !important;
}

#fullsearch .searchtable fieldset:hover,
#fullsearch .searchtable fieldset:focus-within {
	border-color: rgba(215, 182, 111, .18) !important;
	background: rgba(10, 12, 17, .24) !important;
}

#fullsearch .searchtable legend {
	padding: 0 .35rem !important;
	color: var(--ill-gold-soft) !important;
	background: transparent !important;
}

#fullsearch .searchtable #doreset,
#fullsearch .searchtable input[type="reset"].bbcodes,
.searchtable #doreset,
.searchtable input[type="reset"].bbcodes {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border: 1px solid rgba(240, 217, 154, .38) !important;
	color: #07080b !important;
}

#fullsearch .searchtable #doreset:hover,
#fullsearch .searchtable input[type="reset"].bbcodes:hover,
.searchtable #doreset:hover,
.searchtable input[type="reset"].bbcodes:hover {
	background: linear-gradient(135deg, #f0d99a, #bd8d3d) !important;
	border-color: rgba(240, 217, 154, .52) !important;
	color: #07080b !important;
}

#votes .vote_list .vote,
#votes .vote_list .pollanswer,
.block_grey .vote_list .vote,
.block_grey .vote_list .pollanswer,
#dlevotespopupcontent .vote_list .vote,
#dlevotespopupcontent .vote_list .pollanswer {
	position: relative !important;
	border-radius: 8px !important;
}

#votes .vote_list .vote > input + label,
#votes .vote_list .pollanswer > input + label,
.block_grey .vote_list .vote > input + label,
.block_grey .vote_list .pollanswer > input + label,
#dlevotespopupcontent .vote_list .vote > input + label,
#dlevotespopupcontent .vote_list .pollanswer > input + label {
	display: flex !important;
	align-items: center !important;
	gap: .55rem !important;
	width: 100% !important;
	min-height: 2.15rem !important;
	padding: .42rem .58rem !important;
	border: 1px solid transparent !important;
	border-radius: 8px !important;
	transition: background .16s ease, border-color .16s ease, color .16s ease !important;
}

#votes .vote_list .vote > input:checked + label,
#votes .vote_list .pollanswer > input:checked + label,
.block_grey .vote_list .vote > input:checked + label,
.block_grey .vote_list .pollanswer > input:checked + label,
#dlevotespopupcontent .vote_list .vote > input:checked + label,
#dlevotespopupcontent .vote_list .pollanswer > input:checked + label {
	background: linear-gradient(135deg, rgba(215, 182, 111, .2), rgba(173, 127, 52, .12)) !important;
	border-color: rgba(215, 182, 111, .32) !important;
	color: var(--ill-gold-soft) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .035) !important;
}

#votes .vote_list .vote > input + label:before,
#votes .vote_list .pollanswer > input + label:before,
.block_grey .vote_list .vote > input + label:before,
.block_grey .vote_list .pollanswer > input + label:before,
#dlevotespopupcontent .vote_list .vote > input + label:before,
#dlevotespopupcontent .vote_list .pollanswer > input + label:before {
	flex: 0 0 1.08rem !important;
	width: 1.08rem !important;
	height: 1.08rem !important;
	margin: 0 !important;
	background: rgba(6, 7, 10, .92) !important;
	border: 1px solid rgba(215, 182, 111, .38) !important;
	box-shadow: inset 0 0 0 3px rgba(6, 7, 10, .92) !important;
}

#votes .vote_list .vote > input:checked + label:before,
#votes .vote_list .pollanswer > input:checked + label:before,
.block_grey .vote_list .vote > input:checked + label:before,
.block_grey .vote_list .pollanswer > input:checked + label:before,
#dlevotespopupcontent .vote_list .vote > input:checked + label:before,
#dlevotespopupcontent .vote_list .pollanswer > input:checked + label:before {
	background: var(--ill-gold-soft) !important;
	border-color: var(--ill-gold-soft) !important;
	box-shadow: inset 0 0 0 3px rgba(6, 7, 10, .86), 0 0 0 2px rgba(215, 182, 111, .18) !important;
}

#votes input[type="checkbox"]:checked,
#votes input[type="radio"]:checked,
.block_grey input[type="checkbox"]:checked,
.block_grey input[type="radio"]:checked {
	accent-color: var(--ill-gold-soft) !important;
}

/* W-1038: mobile parity for DLE native vote markup and comment actions. */
.illuminy-comment-card__meta,
.comment .meta {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.illuminy-comment-card__meta:before,
.illuminy-comment-card__meta:after,
.comment .meta:before,
.comment .meta:after {
	display: none !important;
	content: none !important;
}

.illuminy-comment-actions,
.comment .meta > ul.left,
.comment .meta ul.left {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.mass_comments_action {
	background: transparent !important;
	border-left: 0 !important;
	border-right: 0 !important;
	border-bottom: 0 !important;
	box-shadow: none !important;
}

#votes .vote_list .vote > label.form-check-label,
#votes .vote_list .pollanswer > label.form-check-label,
.block_grey .vote_list .vote > label.form-check-label,
.block_grey .vote_list .pollanswer > label.form-check-label,
#dlevotespopupcontent .vote_list .vote > label.form-check-label,
#dlevotespopupcontent .vote_list .pollanswer > label.form-check-label {
	display: flex !important;
	align-items: center !important;
	gap: .56rem !important;
	width: 100% !important;
	min-height: 2.1rem !important;
	padding: .44rem .56rem !important;
	background: rgba(8, 9, 12, .22) !important;
	border: 1px solid rgba(215, 182, 111, .08) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	cursor: pointer !important;
	transition: background .16s ease, border-color .16s ease, color .16s ease !important;
}

#votes .vote_list .vote > label.form-check-label:hover,
#votes .vote_list .pollanswer > label.form-check-label:hover,
.block_grey .vote_list .vote > label.form-check-label:hover,
.block_grey .vote_list .pollanswer > label.form-check-label:hover,
#dlevotespopupcontent .vote_list .vote > label.form-check-label:hover,
#dlevotespopupcontent .vote_list .pollanswer > label.form-check-label:hover,
#votes .vote_list .vote > label.form-check-label:has(input.form-check-input:checked),
#votes .vote_list .pollanswer > label.form-check-label:has(input.form-check-input:checked),
.block_grey .vote_list .vote > label.form-check-label:has(input.form-check-input:checked),
.block_grey .vote_list .pollanswer > label.form-check-label:has(input.form-check-input:checked),
#dlevotespopupcontent .vote_list .vote > label.form-check-label:has(input.form-check-input:checked),
#dlevotespopupcontent .vote_list .pollanswer > label.form-check-label:has(input.form-check-input:checked) {
	background: linear-gradient(135deg, rgba(215, 182, 111, .2), rgba(173, 127, 52, .12)) !important;
	border-color: rgba(215, 182, 111, .34) !important;
	color: var(--ill-gold-soft) !important;
}

#votes .vote_list label.form-check-label input.form-check-input,
.block_grey .vote_list label.form-check-label input.form-check-input,
#dlevotespopupcontent .vote_list label.form-check-label input.form-check-input {
	-webkit-appearance: none !important;
	appearance: none !important;
	display: inline-grid !important;
	place-content: center !important;
	flex: 0 0 1.08rem !important;
	width: 1.08rem !important;
	height: 1.08rem !important;
	margin: 0 !important;
	background: rgba(5, 6, 9, .92) !important;
	border: 1px solid rgba(215, 182, 111, .42) !important;
	border-radius: 50% !important;
	box-shadow: inset 0 0 0 3px rgba(5, 6, 9, .92) !important;
	cursor: pointer !important;
}

#votes .vote_list label.form-check-label input[type="checkbox"].form-check-input,
.block_grey .vote_list label.form-check-label input[type="checkbox"].form-check-input,
#dlevotespopupcontent .vote_list label.form-check-label input[type="checkbox"].form-check-input {
	border-radius: 5px !important;
}

#votes .vote_list label.form-check-label input[type="radio"].form-check-input:checked,
.block_grey .vote_list label.form-check-label input[type="radio"].form-check-input:checked,
#dlevotespopupcontent .vote_list label.form-check-label input[type="radio"].form-check-input:checked {
	background:
		radial-gradient(circle at center, var(--ill-gold-soft) 0 .32rem, transparent .34rem),
		rgba(5, 6, 9, .92) !important;
	border-color: var(--ill-gold-soft) !important;
	box-shadow: inset 0 0 0 3px rgba(5, 6, 9, .9), 0 0 0 2px rgba(215, 182, 111, .2) !important;
}

#votes .vote_list label.form-check-label input[type="checkbox"].form-check-input:checked,
.block_grey .vote_list label.form-check-label input[type="checkbox"].form-check-input:checked,
#dlevotespopupcontent .vote_list label.form-check-label input[type="checkbox"].form-check-input:checked {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border-color: var(--ill-gold-soft) !important;
	box-shadow: inset 0 0 0 2px rgba(5, 6, 9, .72), 0 0 0 2px rgba(215, 182, 111, .2) !important;
}

#votes .vote_list .vote > label.form-check-label:hover,
#votes .vote_list .pollanswer > label.form-check-label:hover,
.block_grey .vote_list .vote > label.form-check-label:hover,
.block_grey .vote_list .pollanswer > label.form-check-label:hover,
#dlevotespopupcontent .vote_list .vote > label.form-check-label:hover,
#dlevotespopupcontent .vote_list .pollanswer > label.form-check-label:hover {
	background: linear-gradient(135deg, rgba(215, 182, 111, .2), rgba(173, 127, 52, .12)) !important;
	border-color: rgba(215, 182, 111, .34) !important;
	color: var(--ill-gold-soft) !important;
}

#votes .vote_list label.form-check-label input.form-check-input:checked + span,
.block_grey .vote_list label.form-check-label input.form-check-input:checked + span,
#dlevotespopupcontent .vote_list label.form-check-label input.form-check-input:checked + span {
	color: var(--ill-gold-soft) !important;
}

/* W-1039: mobile popup and private messages polish. */
.ui-dialog-titlebar-close,
.ui-button.ui-dialog-titlebar-close,
.ui-button.ui-button-icon-only.ui-dialog-titlebar-close {
	position: absolute !important;
	top: .65rem !important;
	right: .72rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.15rem !important;
	height: 2.15rem !important;
	min-width: 2.15rem !important;
	min-height: 2.15rem !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: rgba(215, 182, 111, .16) !important;
	border: 1px solid rgba(215, 182, 111, .45) !important;
	border-radius: 8px !important;
	color: var(--ill-gold-soft) !important;
	font-size: 0 !important;
	line-height: 1 !important;
	text-indent: -9999px !important;
}

.ui-dialog-titlebar-close:before {
	content: "\00d7" !important;
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	color: currentColor !important;
	font-size: 1.58rem !important;
	font-weight: 700 !important;
	line-height: 1.95rem !important;
	text-indent: 0 !important;
}

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

.ui-dialog[aria-describedby="dlevotespopupcontent"],
.ui-dialog:has(#dlevotespopupcontent) {
	width: calc(100vw - .8rem) !important;
	max-width: calc(100vw - .8rem) !important;
	max-height: calc(100vh - .8rem) !important;
	overflow: hidden !important;
	border-radius: 10px !important;
}

.ui-dialog[aria-describedby="dlevotespopupcontent"] .ui-dialog-titlebar,
.ui-dialog:has(#dlevotespopupcontent) .ui-dialog-titlebar {
	min-height: 3.25rem !important;
	padding: .7rem 3.45rem .7rem .92rem !important;
}

.ui-dialog[aria-describedby="dlevotespopupcontent"] .ui-dialog-content,
.ui-dialog:has(#dlevotespopupcontent) .ui-dialog-content {
	max-height: calc(100vh - 5.65rem) !important;
	padding: .7rem !important;
	overflow: auto !important;
}

#dlevotespopupcontent {
	height: auto !important;
	max-height: none !important;
	overflow: visible !important;
}

#dlevotespopupcontent fieldset {
	margin: 0 !important;
	padding: .72rem .78rem .82rem !important;
	border-radius: 8px !important;
}

#dlevotespopupcontent legend {
	max-width: calc(100% - .6rem) !important;
	padding: 0 .38rem !important;
	font-size: 1.12rem !important;
	line-height: 1.2 !important;
}

#dlevotespopupcontent .vote_list {
	display: grid !important;
	gap: .38rem !important;
	margin: .52rem 0 .66rem !important;
}

#dlevotespopupcontent .vote_list .vote,
#dlevotespopupcontent .vote_list .pollanswer {
	margin: 0 !important;
}

#dlevotespopupcontent .vote_list .vote > label.form-check-label,
#dlevotespopupcontent .vote_list .pollanswer > label.form-check-label {
	min-height: 1.75rem !important;
	padding: .24rem .42rem !important;
	gap: .46rem !important;
	font-size: .93rem !important;
	line-height: 1.22 !important;
}

#dlevotespopupcontent .voteprogress,
#dlevotespopupcontent .pollprogress {
	height: .42rem !important;
	margin: .18rem 0 .42rem !important;
	overflow: hidden !important;
	background: rgba(215, 182, 111, .11) !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 999px !important;
}

#dlevotespopupcontent .voteprogress span,
#dlevotespopupcontent .pollprogress span {
	display: block !important;
	height: 100% !important;
	min-width: .18rem !important;
	background: linear-gradient(90deg, var(--ill-gold-soft), #ad7f34) !important;
	border-radius: inherit !important;
	color: transparent !important;
	font-size: 0 !important;
}

#pmlist,
.pmlist {
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

#pmlist table.pm {
	width: 100% !important;
	min-width: 40rem !important;
	border-spacing: 0 .38rem !important;
	border-collapse: separate !important;
	background: transparent !important;
}

#pmlist table.pm thead th,
#pmlist table.pm .pm_head {
	padding: .5rem .62rem !important;
	background: rgba(215, 182, 111, .08) !important;
	border-top: 1px solid rgba(215, 182, 111, .18) !important;
	border-bottom: 1px solid rgba(215, 182, 111, .14) !important;
	color: var(--ill-gold-soft) !important;
	font-weight: 700 !important;
}

#pmlist table.pm tbody tr {
	background: rgba(10, 12, 17, .72) !important;
	box-shadow: inset 0 0 0 1px rgba(215, 182, 111, .12) !important;
}

#pmlist table.pm tbody tr:hover {
	background: rgba(27, 24, 18, .82) !important;
	box-shadow: inset 0 0 0 1px rgba(215, 182, 111, .3) !important;
}

#pmlist table.pm td.pm_list {
	padding: .68rem .62rem !important;
	background: transparent !important;
	border: 0 !important;
	color: var(--ill-text) !important;
	vertical-align: middle !important;
}

#pmlist table.pm td.pm_icon {
	width: 3rem !important;
	color: var(--ill-gold-soft) !important;
}

#pmlist table.pm a.pm_list,
#pmlist table.pm .pm_subj a {
	color: var(--ill-gold-soft) !important;
	text-decoration: none !important;
}

#pmlist table.pm .pm_last_message,
#pmlist table.pm .pm_last_date {
	margin-top: .16rem !important;
	color: rgba(236, 230, 215, .62) !important;
	font-size: .9rem !important;
	line-height: 1.32 !important;
}

#pmlist table.pm input.form-check-input {
	-webkit-appearance: none !important;
	appearance: none !important;
	width: 1.05rem !important;
	height: 1.05rem !important;
	margin: 0 !important;
	background: rgba(5, 6, 9, .92) !important;
	border: 1px solid rgba(215, 182, 111, .42) !important;
	border-radius: 5px !important;
	box-shadow: inset 0 0 0 3px rgba(5, 6, 9, .92) !important;
}

#pmlist table.pm input.form-check-input:checked {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border-color: var(--ill-gold-soft) !important;
	box-shadow: inset 0 0 0 2px rgba(5, 6, 9, .72), 0 0 0 2px rgba(215, 182, 111, .2) !important;
}

#pmlist_doaction {
	background: rgba(5, 6, 9, .9) !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 7px !important;
	color: var(--ill-text) !important;
	min-height: 2.35rem !important;
}

/* W-1040: mobile vote popup and PM editor final polish. */
.title_quote,
.quote,
blockquote,
.scriptcode,
.title_spoiler,
.text_spoiler,
.dleshowhidden {
	box-sizing: border-box !important;
	background: linear-gradient(135deg, rgba(8, 9, 13, .95), rgba(17, 20, 28, .92)) !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02) !important;
}

.title_quote {
	margin: .72rem 0 0 !important;
	padding: .62rem .78rem !important;
	background: linear-gradient(135deg, rgba(215, 182, 111, .16), rgba(12, 14, 20, .94)) !important;
	border-bottom: 0 !important;
	border-radius: 8px 8px 0 0 !important;
	color: var(--ill-gold-soft) !important;
	font-weight: 800 !important;
}

.quote,
blockquote {
	margin: 0 0 .82rem !important;
	padding: .78rem .86rem !important;
	background: rgba(6, 7, 10, .78) !important;
	border-left: 3px solid rgba(215, 182, 111, .58) !important;
	border-radius: 0 8px 8px 0 !important;
	color: rgba(244, 239, 229, .9) !important;
}

.title_quote + .quote,
.title_quote + blockquote {
	border-top-left-radius: 0 !important;
	border-top-right-radius: 0 !important;
}

.scriptcode {
	padding: .82rem .9rem !important;
	color: #f0d99a !important;
	font-family: "Courier New", monospace !important;
	white-space: pre-wrap !important;
}

.title_spoiler,
.text_spoiler,
.dleshowhidden {
	padding: .78rem .9rem !important;
}

.ux-form .wseditor,
.ux-form .bb-editor,
.commentbox .wseditor,
.commentbox .bb-editor {
	width: 100% !important;
	max-width: 100% !important;
	background: rgba(5, 6, 9, .92) !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.ux-form .tox.tox-tinymce,
.commentbox .tox.tox-tinymce {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 14rem !important;
	background: rgba(5, 6, 9, .96) !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 8px !important;
	overflow: hidden !important;
}

.ux-form .tox .tox-editor-header,
.ux-form .tox .tox-toolbar-overlord,
.ux-form .tox .tox-toolbar__primary,
.ux-form .tox .tox-toolbar,
.commentbox .tox .tox-editor-header,
.commentbox .tox .tox-toolbar-overlord,
.commentbox .tox .tox-toolbar__primary,
.commentbox .tox .tox-toolbar {
	background: linear-gradient(180deg, rgba(45, 52, 65, .98), rgba(27, 32, 42, .98)) !important;
	border: 0 !important;
	box-shadow: none !important;
}

.ux-form .tox .tox-edit-area,
.ux-form .tox .tox-edit-area__iframe,
.commentbox .tox .tox-edit-area,
.commentbox .tox .tox-edit-area__iframe {
	background: #050608 !important;
}

.ux-form .bb-editor textarea,
.commentbox .bb-editor textarea,
.ux-form textarea.wysiwygeditor,
.commentbox textarea.wysiwygeditor {
	width: 100% !important;
	min-height: 12rem !important;
	padding: .85rem .95rem !important;
	background: #050608 !important;
	border: 1px solid rgba(215, 182, 111, .24) !important;
	border-radius: 8px !important;
	color: var(--ill-text) !important;
}

.ux-form .submitline,
.commentbox .submitline {
	display: flex !important;
	flex-direction: column !important;
	align-items: stretch !important;
	gap: .6rem !important;
	margin-top: .9rem !important;
}

.ux-form .submitline .btn,
.ux-form .submitline input[type="button"],
.ux-form .submitline input[type="submit"],
.commentbox .submitline .btn,
.commentbox .submitline input[type="button"],
.commentbox .submitline input[type="submit"] {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 2.85rem !important;
	padding: .68rem 1rem !important;
	border-radius: 8px !important;
	border: 1px solid rgba(215, 182, 111, .34) !important;
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	color: #07080b !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	text-shadow: none !important;
	box-shadow: 0 .8rem 1.8rem rgba(0, 0, 0, .24) !important;
}

/* W-1041-final: keep mobile PM/dialog fixes after W-1039/W-1040 legacy blocks. */
.pm-edit-area .save-buttons {
	display: flex !important;
	flex-direction: column-reverse !important;
	align-items: stretch !important;
	gap: .58rem !important;
	width: 100% !important;
	padding-top: .8rem !important;
	text-align: right !important;
}

.pm-edit-area .save-buttons .bbcodes,
.pm-edit-area .save-buttons input[type="button"],
.pm-edit-area .save-buttons input[type="submit"],
.tox .tox-dialog__footer .tox-button,
.tox .tox-button,
.tox-tinymce-aux .tox-button {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	min-height: 2.72rem !important;
	padding: .68rem 1rem !important;
	border-radius: 8px !important;
	border: 1px solid rgba(240, 217, 154, .36) !important;
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	color: #07080b !important;
	font-size: .94rem !important;
	font-weight: 800 !important;
	line-height: 1.15 !important;
	text-align: center !important;
	text-decoration: none !important;
	text-indent: 0 !important;
	text-shadow: none !important;
	box-shadow: 0 .75rem 1.55rem rgba(0, 0, 0, .22) !important;
	cursor: pointer !important;
}

.pm-edit-area .save-buttons .cancelchanges,
.tox .tox-dialog__footer .tox-button--secondary,
.tox .tox-button--secondary,
.tox-tinymce-aux .tox-button--secondary {
	background: rgba(215, 182, 111, .08) !important;
	border-color: rgba(215, 182, 111, .28) !important;
	color: var(--ill-gold-soft) !important;
	box-shadow: none !important;
}

.tox .tox-dialog,
.tox-tinymce-aux .tox-dialog {
	background: linear-gradient(135deg, rgba(13, 15, 21, .98), rgba(19, 22, 30, .96)) !important;
	border: 1px solid rgba(215, 182, 111, .28) !important;
	border-radius: 9px !important;
	color: var(--ill-text) !important;
}

.tox .tox-dialog__header,
.tox .tox-dialog__footer,
.tox-tinymce-aux .tox-dialog__header,
.tox-tinymce-aux .tox-dialog__footer {
	background: rgba(5, 6, 9, .78) !important;
	border-color: rgba(215, 182, 111, .18) !important;
	color: var(--ill-text) !important;
}

.tox .tox-dialog__title,
.tox .tox-label,
.tox-tinymce-aux .tox-dialog__title,
.tox-tinymce-aux .tox-label {
	color: var(--ill-text) !important;
}

.ui-dialog-titlebar-close,
.ui-button.ui-dialog-titlebar-close,
.ui-button.ui-button-icon-only.ui-dialog-titlebar-close {
	position: absolute !important;
	top: 50% !important;
	right: .72rem !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 2.1rem !important;
	height: 2.1rem !important;
	min-width: 2.1rem !important;
	min-height: 2.1rem !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: rgba(215, 182, 111, .14) !important;
	border: 1px solid rgba(215, 182, 111, .42) !important;
	border-radius: 8px !important;
	color: var(--ill-gold-soft) !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-align: center !important;
	text-indent: 0 !important;
	transform: translateY(-50%) !important;
}

.ui-dialog-titlebar-close:before,
.ui-dialog-titlebar-close:after {
	content: "" !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	display: block !important;
	width: .94rem !important;
	height: 2px !important;
	margin: 0 !important;
	padding: 0 !important;
	background: currentColor !important;
	border: 0 !important;
	border-radius: 999px !important;
	text-indent: 0 !important;
	transform-origin: center !important;
}

.ui-dialog-titlebar-close:before {
	transform: translate(-50%, -50%) rotate(45deg) !important;
}

.ui-dialog-titlebar-close:after {
	transform: translate(-50%, -50%) rotate(-45deg) !important;
}

.ui-dialog-titlebar-close:hover,
.ui-dialog-titlebar-close:focus-visible {
	background: linear-gradient(135deg, var(--ill-gold-soft), #ad7f34) !important;
	border-color: rgba(240, 217, 154, .72) !important;
	color: #07080b !important;
	outline: 0 !important;
}

.ui-dialog-titlebar-close .ui-icon,
.ui-dialog-titlebar-close .ui-button-icon,
.ui-dialog-titlebar-close .ui-button-icon-space,
.ui-dialog-titlebar-close .ui-button-text {
	position: absolute !important;
	display: block !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	opacity: 0 !important;
	background: none !important;
	border: 0 !important;
	color: transparent !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-indent: 0 !important;
	pointer-events: none !important;
}
