.wc-word-counter {
	box-sizing: border-box;
	width: 100%;
	max-width: 980px;
	margin: 24px auto;
	padding: 28px;
	border: 1px solid #e5e7eb;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
	color: #111827;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.wc-word-counter *,
.wc-word-counter *::before,
.wc-word-counter *::after { box-sizing: border-box; }

.wc-wc-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 18px;
}
.wc-wc-title {
	margin: 0 0 6px;
	font-size: 28px;
	line-height: 1.2;
	font-weight: 750;
	letter-spacing: -0.02em;
}
.wc-wc-subtitle {
	margin: 0;
	color: #6b7280;
	font-size: 14px;
	line-height: 1.6;
}
.wc-wc-clear {
	border: 1px solid #d1d5db;
	border-radius: 9px;
	background: #fff;
	color: #374151;
	padding: 9px 14px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: .18s ease;
}
.wc-wc-clear:hover {
	border-color: #9ca3af;
	background: #f9fafb;
}
.wc-wc-textarea {
	display: block;
	width: 100%;
	min-height: 280px;
	resize: vertical;
	padding: 18px;
	border: 1px solid #d1d5db;
	border-radius: 13px;
	background: #f9fafb;
	color: #111827;
	font: inherit;
	font-size: 16px;
	line-height: 1.7;
	outline: none;
	transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.wc-wc-textarea:focus {
	border-color: #6366f1;
	background: #fff;
	box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
}
.wc-wc-stats {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 12px;
	margin-top: 16px;
}
.wc-wc-stat {
	padding: 16px 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #f9fafb;
	text-align: center;
}
.wc-wc-stat-value {
	display: block;
	margin-bottom: 5px;
	font-size: 21px;
	font-weight: 750;
	line-height: 1.2;
}
.wc-wc-stat-label {
	display: block;
	color: #6b7280;
	font-size: 11px;
	line-height: 1.35;
}
.wc-wc-footer {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin-top: 14px;
	color: #9ca3af;
	font-size: 12px;
	line-height: 1.5;
}
@media (max-width: 800px) {
	.wc-wc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
	.wc-word-counter { padding: 18px; border-radius: 14px; }
	.wc-wc-header { align-items: center; }
	.wc-wc-title { font-size: 24px; }
	.wc-wc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.wc-wc-footer { flex-direction: column; }
}
