.wsg-c-nav {
	display: flex;
	gap: 18px;
	padding: 14px 18px;
	background: #111;
}

.wsg-c-nav a {
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.wsg-c-container {
	margin: 20px auto;
	padding: 0 14px;
}

.wsg-c-title {
	font-size: 30px;
	line-height: 1.2;
	margin: 0 0 14px;
}

.wsg-c-subtitle {
	color: #555;
	margin: 0 0 14px;
}

.wsg-c-container-play .wsg-c-title,
.wsg-c-container-play .wsg-c-subtitle {
	text-align: center;
}

.wsg-c-container-play .wsg-c-actions {
	margin-top: 40px;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
}

.wsg-c-play-message {
	display: block;
	text-align: center;
}

.wsg-c-play-admin-ribbon {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	width: 100%;
	margin: 0;
	padding: 10px 12px;
	padding-left: 18px;
	padding-right: 18px;
	border-bottom: 1px solid #e5e7eb;
	background: #f8fafc;
}

.wsg-c-play-admin-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wsg-c-play-admin-actions {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto;
}

.wsg-c-play-admin-label {
	font-weight: 600;
	margin-right: 8px;
}

.wsg-c-play-admin-date {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	border: 1px solid #cbd5e1;
	background: #ffffff;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	color: #1f2937;
}

.wsg-c-play-notice {
	max-width: 760px;
	margin: 0 auto;
	padding: 12px;
	border: 1px solid #f2cc3f;
	border-radius: 10px;
	background: #fff8dc;
	color: #6b4f00;
	font-weight: 600;
	text-align: center;
}

.wsg-c-play-actions-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
}

.wsg-c-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 12px;
}

.wsg-c-grid-play {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wsg-c-card,
.wsg-c-word {
	border: 1px solid #ddd;
	background: #f1f3f5;
	border-radius: 10px;
	padding: 18px 14px;
	min-height: 62px;
	text-align: center;
	cursor: pointer;
}

.wsg-c-card:hover,
.wsg-c-word:hover {
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.wsg-c-emoji {
	font-size: 40px;
}

.wsg-c-card-title {
	margin-top: 8px;
	font-weight: 600;
}

.wsg-c-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
}

.wsg-c-actions {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
}

.wsg-c-btn {
	border: 1px solid #ccc;
	background: #fff;
	border-radius: 8px;
	padding: 8px 12px;
	cursor: pointer;
}

.wsg-c-btn:disabled {
	opacity: 0.55;
	cursor: not-allowed;
}

.wsg-c-btn-primary {
	background: #fc026b;
	color: #fff;
	border-color: #fc026b;
}

.wsg-c-btn-danger {
	background: #b30f2d;
	color: #fff;
	border-color: #b30f2d;
}

.wsg-c-btn-queued {
	background: #e9fbe7;
	border-color: #3b963f;
	color: #1f6d2c;
}

.wsg-c-checkmark {
	display: inline-block;
	width: 7px;
	height: 12px;
	margin-right: 6px;
	border-right: 2px solid #2e7d32;
	border-bottom: 2px solid #2e7d32;
	transform: rotate(45deg);
	vertical-align: -1px;
}

.wsg-c-btn-sm {
	padding: 6px 10px;
	font-size: 13px;
}

.wsg-c-btn-queue {
	width: 86px;
	text-align: center;
}

.wsg-c-table {
	width: 100%;
	border-collapse: collapse;
}

.wsg-c-queue-table {
	table-layout: fixed;
}

.wsg-c-queue-table th:nth-child(1),
.wsg-c-queue-table td:nth-child(1) {
	width: 42px;
}

.wsg-c-queue-table th:nth-child(2),
.wsg-c-queue-table td:nth-child(2) {
	width: 30%;
}

.wsg-c-queue-table th:nth-child(3),
.wsg-c-queue-table td:nth-child(3) {
	width: 34%;
}

.wsg-c-queue-table th:nth-child(4),
.wsg-c-queue-table td:nth-child(4) {
	width: 140px;
}

.wsg-c-queue-table th:nth-child(5),
.wsg-c-queue-table td:nth-child(5) {
	width: 150px;
}

.wsg-c-queue-section-heading {
	margin-top: 22px;
}

.wsg-c-table th,
.wsg-c-table td {
	padding: 10px;
	border-bottom: 1px solid #e7e7e7;
	text-align: left;
	vertical-align: middle;
}

.wsg-c-table thead th:nth-child(5) {
	white-space: nowrap;
}

.wsg-c-table thead th:nth-child(6),
.wsg-c-table tbody td:nth-child(6) {
	width: 120px;
	white-space: nowrap;
}

.wsg-c-table td:last-child {
	white-space: nowrap;
}

.wsg-c-table tbody tr.wsg-c-row-pending td {
	background: #fff9d6;
}

.wsg-c-disclosure-col {
	width: 28px;
}

.wsg-c-row-actions {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	flex-wrap: nowrap;
}

.wsg-c-disclosure-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.wsg-c-disclosure-icon {
	width: 0;
	height: 0;
	border-top: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-left: 7px solid #4b5563;
	transition: transform 0.15s ease;
}

.wsg-c-disclosure-icon.is-open {
	transform: rotate(90deg);
}

.wsg-c-details-row td {
	background: #fafbfd;
	padding-top: 8px;
	padding-bottom: 8px;
}

.wsg-c-details-content {
	font-size: 13px;
	color: #4b5563;
}

.wsg-c-details-separator {
	margin: 0 8px;
	color: #9ca3af;
}

.wsg-c-status-tag {
	display: inline-block;
	padding: 3px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
	border: 1px solid transparent;
}

.wsg-c-status-published {
	background: #e9fbe7;
	color: #1f6d2c;
	border-color: #3b963f;
}

.wsg-c-status-in-review {
	background: #fff6d6;
	color: #7a5b00;
	border-color: #d8b24d;
}

.wsg-c-status-draft {
	background: #f3ebff;
	color: #5a2ea6;
	border-color: #9e78db;
}

.wsg-c-status-archived {
	background: #f4f4f5;
	color: #52525b;
	border-color: #a1a1aa;
}

.wsg-c-queued-date {
	font-size: 12px;
}

.wsg-c-form-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
}

.wsg-c-group {
	border: 1px solid #ececec;
	border-radius: 10px;
	padding: 10px;
	margin-top: 12px;
}

.wsg-c-words {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.wsg-c-container input {
	width: 100%;
	padding: 8px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 8px;
}

.wsg-c-container input.wsg-c-input-error {
	border-color: #b30f2d;
	box-shadow: 0 0 0 1px rgba(179, 15, 45, 0.2);
}

.wsg-c-container select {
	width: 100%;
	padding: 8px;
	margin-top: 4px;
	border: 1px solid #ccc;
	border-radius: 8px;
	background: #fff;
}

.wsg-c-validation-error {
	margin: 8px 0 12px;
	color: #b30f2d;
	font-weight: 600;
}

.wsg-c-word.selected {
	border-color: #1e66f5;
	background: #eef4ff;
}

.wsg-c-word.solved {
	border-color: #3b963f;
	background: #e9fbe7;
}

.wsg-c-solved {
	margin-bottom: 12px;
	display: grid;
	gap: 8px;
}

.wsg-c-solved-group {
	padding: 12px 14px;
	border: 1px solid #d8d8de;
	background: #f4f4f7;
	border-radius: 8px;
	text-align: center;
}

.wsg-c-solved-group-color-0 {
	border-color: #ead87a;
	background: #f9f0b8;
}

.wsg-c-solved-group-color-1 {
	border-color: #7bbf84;
	background: #dff3d8;
}

.wsg-c-solved-group-color-2 {
	border-color: #7da8d8;
	background: #dce9f8;
}

.wsg-c-solved-group-color-3 {
	border-color: #b69adf;
	background: #ece1fb;
}

.wsg-c-spinner {
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 6px;
	border: 2px solid #c6c6c6;
	border-top-color: #4c4c4c;
	border-radius: 50%;
	animation: wsg-c-spin 0.7s linear infinite;
	vertical-align: -1px;
}

.wsg-c-save-btn {
	min-width: 102px;
}

@keyframes wsg-c-spin {
	to {
		transform: rotate(360deg);
	}
}

.wsg-c-toast-root {
	position: fixed;
	top: 16px;
	right: 16px;
	z-index: 9999;
	display: flex;
	flex-direction: column;
	gap: 8px;
	pointer-events: none;
}

.wsg-c-toast {
	min-width: 220px;
	max-width: 360px;
	padding: 10px 12px;
	border-radius: 8px;
	color: #fff;
	font-weight: 600;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
	opacity: 0;
	transform: translateY(-4px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.wsg-c-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.wsg-c-toast-success {
	background: #2f7a34;
}

.wsg-c-toast-error {
	background: #b30f2d;
}
