.wct {
	--wct-card: #182033;
	--wct-field: #0f131e;
	--wct-border: #252e44;
	--wct-tile: #2a211f;
	--wct-accent: #ff8a50;
	--wct-text: #ffffff;
	--wct-muted: #94a0b8;

	max-width: 920px;
	margin: 1.5em auto;
	padding: 20px;
	background: var(--wct-card);
	border-radius: 22px;
	color: var(--wct-text);
	box-sizing: border-box;
	font-family: inherit;
}
.wct *, .wct *::before, .wct *::after { box-sizing: border-box; }

.wct .wct__title { margin: 0 0 14px; color: var(--wct-text); font-size: 1.25em; }
.wct .wct__sr {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.wct .wct__input {
	display: block;
	width: 100%;
	min-height: 250px;
	margin: 0;
	padding: 16px;
	background: var(--wct-field);
	color: #e5e9f2;
	border: 1px solid var(--wct-border);
	border-radius: 16px;
	font: inherit;
	font-size: 1.05em;
	line-height: 1.6;
	resize: vertical;
	box-shadow: none;
}
.wct .wct__input::placeholder { color: var(--wct-muted); opacity: 1; }
.wct .wct__input:focus { outline: 2px solid var(--wct-accent); outline-offset: 0; border-color: transparent; }

.wct .wct__limit { margin-top: 10px; color: var(--wct-muted); font-size: .9em; }
.wct .wct__limit.is-over { color: #ff6b6b; font-weight: 600; }

.wct .wct__stats {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 12px;
	margin: 14px 0;
}
.wct .wct__stat {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 18px 8px;
	background: var(--wct-tile);
	border-radius: 16px;
	text-align: center;
}
.wct .wct__value { color: var(--wct-accent); font-size: 1.5em; font-weight: 800; line-height: 1.1; }
.wct .wct__label { color: var(--wct-muted); font-size: .85em; }

.wct .wct__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.wct .wct__btn {
	padding: 14px 24px;
	border-radius: 999px;
	font: inherit;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
	transition: filter .15s, transform .05s;
}
.wct .wct__btn:active { transform: translateY(1px); }
.wct .wct__btn--primary { background: var(--wct-accent); border: 1px solid var(--wct-accent); color: #fff; }
.wct .wct__btn--primary:hover { filter: brightness(1.08); }
.wct .wct__btn--ghost { background: transparent; border: 1px solid var(--wct-border); color: #fff; }
.wct .wct__btn--ghost:hover { border-color: var(--wct-muted); }
.wct .wct__btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.wct .wct__note { color: var(--wct-muted); font-size: .9em; }

@media (max-width: 720px) {
	.wct .wct__stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
	.wct { padding: 14px; border-radius: 18px; }
	.wct .wct__stats { grid-template-columns: repeat(2, 1fr); }
}
