.smpt-comment-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	align-items: center;
	margin-top: 1rem;
}

#commentform {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1rem;
	align-items: flex-start;
}

#commentform > p {
	margin: 0;
}

.comment-reply-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.comment-reply-title small {
	margin-left: auto;
	display: inline-flex;
}

#commentform .comment-form-author,
#commentform .comment-form-email {
	flex: 1 1 calc(50% - 0.5rem);
	width: calc(50% - 0.5rem);
	order: 1;
}

#commentform .comment-form-email {
	order: 2;
}

#commentform .comment-form-url {
	flex: 1 1 100%;
	width: 100%;
	order: 3;
}

#commentform .comment-form-comment {
	flex: 1 1 100%;
	width: 100%;
	order: 4;
}

#commentform .comment-form-cookies-consent {
	flex: 1 1 100%;
	width: 100%;
	order: 5;
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
}

#commentform .comment-form-smpt-reply-email-notifications {
	flex: 1 1 100%;
	width: 100%;
	order: 6;
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0;
}

#commentform .comment-form-smpt-reply-email-notifications label {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.55rem;
}

#commentform .comment-form-smpt-reply-email-notifications input[type="checkbox"] {
	margin-top: 0.25rem;
	flex: 0 0 auto;
}

#commentform .form-submit {
	flex: 1 1 100%;
	width: 100%;
	order: 7;
}

.smpt-comment-form__message {
	flex: 1 1 100%;
	width: 100%;
	display: none;
	margin: 0;
	padding: 0.8rem 0.95rem;
	border-radius: 10px;
	font-size: 0.95rem;
	line-height: 1.45;
}

#commentform .smpt-comment-form__message {
	order: 8;
}

.smpt-comment-form__message.is-error,
.smpt-comment-form__message.is-success {
	display: block;
}

.smpt-comment-form__message.is-error {
	background: color-mix(in srgb, var(--base-3) 70%, #f2b6b6);
	color: #7a1f1f;
}

.smpt-comment-form__message.is-success {
	background: color-mix(in srgb, var(--base-3) 72%, #b7e1c0);
	color: #215a2d;
}

#commentform .comment-form-author input,
#commentform .comment-form-email input,
#commentform .comment-form-url input,
#commentform .comment-form-comment textarea {
	width: 100%;
	box-sizing: border-box;
}

#commentform .comment-form-cookies-consent input {
	margin-top: 0.25rem;
	flex: 0 0 auto;
}

.comment-list .comment--native,
.comment-list .enter-other-comment {
	display: grid;
	gap: 0;
	padding: 0;
	border: 1px solid rgba(213, 220, 230, 0.95);
	border-radius: 18px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 248, 252, 0.96) 100%);
	box-shadow: 0 10px 24px rgba(159, 171, 191, 0.16);
	margin-bottom: 30px;
	overflow: hidden;
}

.comment-list li.depth-2 > .comment--native,
.comment-list li.depth-2 > .enter-other-comment,
.comment-list li.depth-3 > .comment--native,
.comment-list li.depth-3 > .enter-other-comment,
.comment-list li.depth-4 > .comment--native,
.comment-list li.depth-4 > .enter-other-comment,
.comment-list li.depth-5 > .comment--native,
.comment-list li.depth-5 > .enter-other-comment {
	margin-left: 1.5rem;
}

@media (max-width: 767px) {
	.comment-list li.depth-2 > .comment--native,
	.comment-list li.depth-2 > .enter-other-comment,
	.comment-list li.depth-3 > .comment--native,
	.comment-list li.depth-3 > .enter-other-comment,
	.comment-list li.depth-4 > .comment--native,
	.comment-list li.depth-4 > .enter-other-comment,
	.comment-list li.depth-5 > .comment--native,
	.comment-list li.depth-5 > .enter-other-comment {
		margin-left: 0.75rem;
	}
}

.comment-list ul.children {
	margin-top: 0.9rem;
	padding-left: 0;
	border-left: 0;
}

.comment-list ul.children > li:last-child > .comment--native,
.comment-list ul.children > li:last-child > .enter-other-comment {
	margin-bottom: 48px;
}

@media (max-width: 767px) {
	.comment-list ul.children > li:last-child > .comment--native,
	.comment-list ul.children > li:last-child > .enter-other-comment {
		margin-bottom: 36px;
	}
}

.comment-list .comment__header,
.comment-list .enter-other-comment__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin: 0;
	padding: 0.7rem  0.6rem 0.6rem 1.1rem;
	background: var(--base-2);
}

.comment-list .comment__meta,
.comment-list .enter-other-comment__identity {
	display: flex;
	flex-direction: column;
	gap: 0;
	min-width: 0;
}

.comment-list .comment__author,
.comment-list .enter-other-comment__author {
	display: inline-flex !important;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin-right: 0;
	min-width: 0;
}

.comment-list .comment__author-name,
.comment-list .enter-other-comment__author .fn {
	font-style: normal;
	font-weight: 700;
}

.comment-list .comment__author .smpt-comment-member-badge,
.comment-list .enter-other-comment__author .smpt-comment-member-badge {
	flex: 0 0 auto;
}

.comment-list .comment__author .smpt-tier-badge__icon,
.comment-list .enter-other-comment__author .smpt-tier-badge__icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.comment-list .comment__date,
.comment-list .enter-other-comment__date {
	margin: 0;
	font-size: 0.92rem;
	color: var(--contrast-2);
}

.comment-list .comment__date-wrapper time,
.comment-list .enter-other-comment__date time {
	display: inline;
}

.comment-list .comment__tools,
.comment-list .enter-other-comment__report {
	flex: 0 0 auto;
	display: flex;
	justify-content: flex-end;
}

.comment-list .comment__report-button,
.comment-list .enter-other-comment__report .smpt-comment-report-button,
.smpt-member-profile-page__title-actions .smpt-comment-report-button {
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid rgba(194, 203, 214, 0.95);
	border-radius: 999px;
	background: rgba(247, 249, 253, 0.9);
	color: var(--contrast-2);
	justify-content: center;
}

.comment-list .comment__report-button:hover,
.comment-list .comment__report-button:focus-visible,
.comment-list .enter-other-comment__report .smpt-comment-report-button:hover,
.comment-list .enter-other-comment__report .smpt-comment-report-button:focus-visible,
.smpt-member-profile-page__title-actions .smpt-comment-report-button:hover,
.smpt-member-profile-page__title-actions .smpt-comment-report-button:focus-visible {
	background: var(--base-3);
	color: var(--contrast);
	text-decoration: none;
}

.comment-list .comment__icon,
.comment-list .enter-other-comment__report .dashicons,
.smpt-member-profile-page__title-actions .smpt-comment-report-button .dashicons {
	width: 18px;
	height: 18px;
	font-size: 18px;
	line-height: 1;
}

.comment-list .comment__content,
.comment-list .enter-other-comment__body {
	padding: 1rem 1.1rem 0 1.1rem;
}

.comment-list .comment__content > :first-child,
.comment-list .enter-other-comment__body > :first-child {
	margin-top: 0;
}

.comment-list .comment__content > :last-child,
.comment-list .enter-other-comment__body > :last-child {
	margin-bottom: 0;
}

.comment-list .comment__footer,
.comment-list .enter-other-comment__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 0.35rem;
	margin-top: 0;
	padding: 0 1.1rem 1rem;
	border-top: 0;
}

.comment-list .comment__footer .comment__action-link,
.comment-list .comment__footer .comment-reply-link,
.comment-list .enter-other-comment__footer .comment-reply-link,
.comment-list .enter-other-comment__footer .smpt-comment-action-link {
	display: inline-flex;
	align-items: center;
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--accent);
	text-decoration: none;
}

.comment-list .comment__footer .comment__action-link:hover,
.comment-list .comment__footer .comment__action-link:focus-visible,
.comment-list .comment__footer .comment-reply-link:hover,
.comment-list .comment__footer .comment-reply-link:focus-visible,
.comment-list .enter-other-comment__footer .comment-reply-link:hover,
.comment-list .enter-other-comment__footer .smpt-comment-action-link:hover,
.comment-list .enter-other-comment__footer .comment-reply-link:focus-visible,
.comment-list .enter-other-comment__footer .smpt-comment-action-link:focus-visible {
	color: var(--contrast);
	text-decoration: underline;
}

.comment-list .comment__footer .comment__action-link--delete,
.comment-list .enter-other-comment__footer .smpt-comment-action-link--delete {
	color: #a33232;
}

.comment-list .comment__footer .comment__action-link--delete:hover,
.comment-list .comment__footer .comment__action-link--delete:focus-visible,
.comment-list .enter-other-comment__footer .smpt-comment-action-link--delete:hover,
.comment-list .enter-other-comment__footer .smpt-comment-action-link--delete:focus-visible {
	color: #7a1f1f;
}

.comment-list .comment__divider,
.comment-list .smpt-comment-actions__divider {
	color: var(--contrast-2);
}

.smpt-comment-actions .reply {
	display: inline-flex;
	align-items: center;
}

.smpt-comment-actions .reply a,
.smpt-comment-report-button {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--accent);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
}

.smpt-comment-report-button--icon {
	justify-content: center;
}

.smpt-comment-actions .reply a:hover,
.smpt-comment-report-button:hover,
.smpt-comment-actions .reply a:focus-visible,
.smpt-comment-report-button:focus-visible {
	color: var(--contrast);
	text-decoration: underline;
}

.comment-list .comment__report-button.is-reported,
.comment-list .comment__report-button[disabled],
.comment-list .comment__report-button[aria-disabled="true"],
.comment-list .enter-other-comment__report .smpt-comment-report-button.is-reported,
.comment-list .enter-other-comment__report .smpt-comment-report-button[disabled],
.comment-list .enter-other-comment__report .smpt-comment-report-button[aria-disabled="true"],
.smpt-member-profile-page__title-actions .smpt-comment-report-button.is-reported,
.smpt-member-profile-page__title-actions .smpt-comment-report-button[disabled],
.smpt-member-profile-page__title-actions .smpt-comment-report-button[aria-disabled="true"] {
	border-color: rgba(210, 216, 224, 0.95);
	background: rgba(238, 241, 245, 0.92);
	background-color: rgba(238, 241, 245, 0.92);
	color: #a8b0ba;
}

.smpt-comment-report-button.is-reported,
.smpt-comment-report-button[disabled],
.smpt-comment-report-button[aria-disabled="true"] {
	color: #a8b0ba;
	cursor: default;
	filter: grayscale(1);
	opacity: 0.55;
	text-decoration: none;
}

.comment-list .comment__report-button.is-reported .dashicons,
.comment-list .comment__report-button[disabled] .dashicons,
.comment-list .comment__report-button[aria-disabled="true"] .dashicons,
.comment-list .enter-other-comment__report .smpt-comment-report-button.is-reported .dashicons,
.comment-list .enter-other-comment__report .smpt-comment-report-button[disabled] .dashicons,
.comment-list .enter-other-comment__report .smpt-comment-report-button[aria-disabled="true"] .dashicons,
.smpt-member-profile-page__title-actions .smpt-comment-report-button.is-reported .dashicons,
.smpt-member-profile-page__title-actions .smpt-comment-report-button[disabled] .dashicons,
.smpt-member-profile-page__title-actions .smpt-comment-report-button[aria-disabled="true"] .dashicons {
	color: #a8b0ba;
}

body.smpt-comment-report-modal-open {
	overflow: hidden;
}

.smpt-comment-report-modal {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.smpt-comment-report-modal.is-open {
	display: flex;
}

.smpt-comment-report-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.55);
	backdrop-filter: blur(4px);
}

.smpt-comment-report-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 34rem);
	max-height: calc(100vh - 2rem);
	overflow: auto;
	background: var(--base-3);
	border: 1px solid var(--base);
	border-radius: 16px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.smpt-comment-report-modal__body {
	padding: 1.5rem;
}

.smpt-comment-report-modal__body h2 {
	margin-bottom: 0.5rem;
}

.smpt-comment-report-modal__description {
	margin-bottom: 1rem;
	color: var(--contrast-2);
}

.smpt-comment-report-modal__close {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--base);
	border-radius: 999px;
	background: var(--base-2);
	color: var(--contrast);
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
}

.smpt-comment-report-field {
	margin-bottom: 1rem;
}

.smpt-comment-report-field label {
	display: block;
	margin-bottom: 0.35rem;
	font-weight: 600;
}

.smpt-comment-report-field select,
.smpt-comment-report-field textarea {
	width: 100%;
}

.smpt-comment-report-field__hint {
	margin-top: 0.35rem;
	margin-bottom: 0;
	font-size: 0.88rem;
	color: var(--contrast-2);
}

.smpt-comment-report-form__message {
	display: none;
	margin-bottom: 1rem;
	padding: 0.8rem 0.95rem;
	border-radius: 10px;
	font-size: 0.95rem;
}

.smpt-comment-report-form__message.is-error,
.smpt-comment-report-form__message.is-success {
	display: block;
}

.smpt-comment-report-form__message.is-error {
	background: color-mix(in srgb, var(--base-3) 70%, #f2b6b6);
	color: #7a1f1f;
}

.smpt-comment-report-form__message.is-success {
	background: color-mix(in srgb, var(--base-3) 72%, #b7e1c0);
	color: #215a2d;
}

.smpt-comment-report-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: flex-end;
}

.smpt-comment-report-modal__button {
	border: 1px solid transparent;
	border-radius: 999px;
	padding: 0.75rem 1.25rem;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.smpt-comment-report-modal__button--secondary {
	background: var(--base-2);
	border-color: var(--base);
	color: var(--contrast);
}

.smpt-comment-report-modal__button--primary {
	background: var(--accent);
	color: var(--base-3);
}

.smpt-comment-report-modal__button[disabled] {
	opacity: 0.7;
	cursor: wait;
}

@media (max-width: 767px) {
	#commentform .comment-form-author,
	#commentform .comment-form-email,
	#commentform .comment-form-url,
	#commentform .comment-form-comment,
	#commentform .comment-form-cookies-consent,
	#commentform .comment-form-smpt-reply-email-notifications,
	#commentform .form-submit,
	#commentform .smpt-comment-form__message {
		width: 100%;
		flex-basis: 100%;
	}

	.smpt-comment-report-modal__body {
		padding: 1.2rem;
	}

	.smpt-comment-report-modal__actions {
		flex-direction: column-reverse;
	}

	.smpt-comment-report-modal__button {
		width: 100%;
	}

	.comment-list .comment--native,
	.comment-list .enter-other-comment {
		padding: 0.95rem 0.9rem;
	}

	.comment-list .comment__header,
	.comment-list .enter-other-comment__header {
		align-items: flex-start;
	}

	.comment-list .comment__footer,
	.comment-list .enter-other-comment__footer {
		justify-content: flex-start;
	}
}
