.comments-suite-notice {display: flex; flex-wrap: wrap; gap: 3px 14px; margin: 4px 0 12px; color: var(--secondary-text-color); font-size: 12px; line-height: 1.45;}
.comments-suite-list-header {display: flex; justify-content: flex-end; margin: 20px 0 0;}
.comments-sort {display: inline-flex; flex: 0 0 auto; gap: 3px; padding: 3px; border-radius: 5px; background: #e7eef2;}
.comments-sort a {display: inline-flex; align-items: center; justify-content: center; min-height: 30px; padding: 0 11px; border-radius: 3px; color: #667d8b; font-size: 12px; line-height: 1;}
.comments-sort a.is-active {background: var(--primary-color); color: #fff;}
.add-comments-form__register {margin: -2px 0 10px; color: var(--secondary-text-color); font-size: 12px; line-height: 1.5;}
.add-comments-form__register a {color: var(--primary-color); text-decoration: underline;}
.inner-page__comments .message-info.comments-suite-empty {display: none !important;}
.comments-suite-editor {position: relative; max-width: 100%;}
.add-comments-form .comments-suite-editor .bb-editor textarea {height: 100px !important; min-height: 100px !important; max-height: 100px !important; padding-bottom: 40px; resize: none;}
.comments-spoiler-btn {position: absolute; right: 8px; bottom: 8px; z-index: 3; width: auto; height: 22px; min-height: 22px; padding: 0 7px; border: 1px solid #c6d2db; border-radius: 3px; background: #fff; color: #607785; font-size: 11px; font-weight: 400; line-height: 20px; text-transform: none; box-shadow: none;}
.comments-edit-area .bb-editor, #dlereplypopup .bb-editor, .bb-editor:has(> .comments-spoiler-btn) {position: relative; max-width: 100%;}
.bb-editor:has(> .comments-spoiler-btn) textarea {padding-bottom: 40px;}
.comment-item__main .title_spoiler.comments-suite-spoiler {display: inline-flex; align-items: center; justify-content: center; gap: 2px; box-sizing: border-box; width: var(--comments-spoiler-width, auto); max-width: 100%; height: 22px; margin: 0 2px; padding: 0 6px; border: 1px solid #c6d2db; border-radius: 4px; background: #f2f6f9; color: #607785; vertical-align: middle; font-size: 12px; font-weight: 400; line-height: 1; white-space: nowrap; cursor: pointer;}
.comment-item__main .title_spoiler.comments-suite-spoiler a {display: inline-flex; align-items: center; justify-content: center; min-height: 18px; padding: 0; color: inherit; font-weight: 400; line-height: 18px;}
.comment-item__main .title_spoiler.comments-suite-spoiler a:last-child {max-width: 220px; overflow: hidden; text-overflow: ellipsis;}
.comment-item__main .title_spoiler.comments-suite-spoiler svg {width: 12px; height: 12px;}
.comment-item__main .text_spoiler.comments-suite-spoiler-text {max-width: 100%;}
.comment-item__main .text_spoiler.comments-suite-visible {display: inline !important; margin: 0 2px; padding: 1px 3px; border: 0; border-radius: 3px; background: #fff3cd; color: #333; font: inherit; line-height: inherit; text-align: inherit; cursor: pointer;}
.comments-sort a:focus-visible, .comments-spoiler-btn:focus-visible, .comment-item__main .title_spoiler.comments-suite-spoiler a:focus-visible, .comment-item__main .text_spoiler.comments-suite-visible:focus-visible {outline: 2px solid var(--primary-color); outline-offset: 2px;}

@media screen and (max-width: 759px) {
	.comments-suite-notice {display: block;}
	.comments-suite-notice span {display: block;}
	.comments-suite-list-header {justify-content: center;}
	.comments-sort a {min-height: 30px; padding: 0 9px; font-size: 11px;}
	.add-comments-form, .comments-suite-editor, .add-comments-form .bb-editor {max-width: 100%;}
	.add-comments-form textarea, .comments-edit-area textarea, #dlereplypopup textarea {max-width: 100%; font-size: 16px;}
	.add-comments-form textarea::placeholder, .comments-edit-area textarea::placeholder, #dlereplypopup textarea::placeholder {font-size: 16px;}
	.comment-item__main .title_spoiler.comments-suite-spoiler a:last-child {max-width: 180px;}
}

@media screen and (max-width: 360px) {
	body {width: auto;}
	.wrapper {min-width: 0;}
	.add-comments-form-wrapper {margin-left: 0; margin-right: 0;}
	.comments-sort {padding: 2px;}
	.comments-sort a {min-height: 28px; padding: 0 7px; font-size: 10px;}
}
