/**
 * WP Tea — third-party / plugin chrome
 * (WPCC, WP ULike, Super Web Share, coupons, git-embed, WPAvatar)
 */

.wp-block-group.side-wpcs,
span#wpcs_original_link,
span#wpcs_zh-cn_link,
span#wpcs_zh-tw_link,
span#wpcs_zh-hk_link {
	margin-left: 2%;
	padding: 1% 3% !important;
	border-radius: 6px;
	text-align: center;
	zoom: 95%;
}

span#wpcs_original_link,
span#wpcs_zh-cn_link,
span#wpcs_zh-tw_link,
span#wpcs_zh-hk_link {
	margin-left: 10px;
	padding: 1% 8%;
	border-radius: 8px;
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	border: 2px solid rgb(51 51 51 / 60%);
	color: #707070;
	font-weight: 400;
	font-size: 11pt;
}

.wptea .wpcc-lang-item .wpcc-link {
	display: inline-block;
	padding: 2px 12px;
	margin-left: 5px;
	font-size: 9pt;
	white-space: nowrap;
	text-decoration: none;
	align-items: center;
	border-radius: 8px !important;
	background: #0a0a0a !important;
	border: 1px solid #666666 !important;
	color: #ffffff;
	transition: all 0.2s ease-in-out;
}

.wptea .wpcc-lang-item.wpcc-no-conversion .wpcc-link {
	background: #0a0a0a;
	border-color: #666;
}

.wptea .wpcc-lang-item .wpcc-link:hover {
	background: #05b930 !important;
	border-color: #0a0a0a !important;
}

img.avatar.avatar-64.photo.wpavatar {
	height: 30px;
	aspect-ratio: auto 30 / 30;
	width: 30px;
	display: inline-block;
	overflow: hidden;
	margin: -15px 5px -8px 0;
	border-radius: 50%;
	box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.1);
}

.wpulike {
	padding: 2em 0 !important;
}

.superwebshare_prompt {
	background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0));
	font-weight: 400 !important;
}

.superwebshare_prompt.superwebshare-button-medium {
	padding: 0 30px !important;
}

@media (max-width: 1264px) {
	.superwebshare_tada:not(.on-block-preview) {
		height: 40px !important;
		width: 120px !important;
	}
}

body .wp-coupons-button,
body a.wp-coupons-button {
	padding: 8px !important;
	border-radius: 50px !important;
}

body .wp-coupons-banner .coupon-title {
	margin: 20px 0 !important;
}

.wp-coupons-banner-text {
	padding: 15px 35px 35px !important;
}

.wp-coupons-coupon-content {
	padding: 15px 35px 20px !important;
}

.wp-coupons-type-cta-container {
	padding: 5%;
}

.wp-coupons-coupon-panel .coupon-title {
	margin: 15% 0 5%;
	font-weight: 400 !important;
}

.wp-coupons-coupon-panel {
	border-radius: 10px !important;
	border-width: 3px;
	border-color: #0a0a0a;
	border-style: dashed;
}

.git-embed-card p {
	text-indent: 0 !important;
}

.git-embed-site-info.platform-forgejo .git-embed-site-name a {
	color: revert;
}

.site-statistics code {
	background-color: #39bf44 !important;
	color: #ffffff !important;
	border-radius: 6px;
	line-height: 2;
	padding: 0.15em 0.45em !important;
	font-size: 0.95em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Super Web Share: close control must not paint when modal is closed */
.sws-modal-bg:not(.sws-open):not([style*="display: flex"]):not([style*="display:flex"]) .sws-modal-close {
	pointer-events: none;
}

.sws-modal-bg[style*="display: none"] .sws-modal-close,
.sws-modal-bg[style*="display:none"] .sws-modal-close {
	display: none !important;
}
