.wcp-wrap {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Tahoma, Arial, sans-serif;
	max-width: 720px;
	margin: 0 auto;
	color: #0f172a;
}

.wcp-empty {
	text-align: center;
	padding: 30px 10px;
	color: #64748b;
}

/* Match card */
.wcp-match-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 16px 18px;
	margin-bottom: 14px;
	box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.wcp-match-meta {
	display: flex;
	justify-content: space-between;
	font-size: 12px;
	color: #64748b;
	margin-bottom: 10px;
}

.wcp-match-teams {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.wcp-team {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
}

.wcp-team:last-child {
	justify-content: flex-end;
}

.wcp-flag {
	font-size: 22px;
}

.wcp-score-inputs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-shrink: 0;
}

.wcp-score-inputs input {
	width: 44px;
	height: 40px;
	text-align: center;
	font-size: 18px;
	font-weight: 700;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
}

.wcp-score-inputs input:disabled {
	background: #f1f5f9;
	color: #94a3b8;
}

.wcp-final-score {
	font-size: 20px;
	font-weight: 800;
	padding: 0 10px;
}

.wcp-vs {
	color: #94a3b8;
}

.wcp-match-footer {
	margin-top: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.wcp-btn-predict {
	background: #0f172a;
	color: #fff;
	border: none;
	padding: 9px 22px;
	border-radius: 9px;
	font-weight: 700;
	cursor: pointer;
	font-size: 14px;
}

.wcp-btn-predict:hover {
	background: #1e293b;
}

.wcp-save-msg {
	font-size: 13px;
}

.wcp-points-pill {
	background: #ecfdf5;
	color: #047857;
	border-radius: 20px;
	padding: 5px 14px;
	font-size: 13px;
	font-weight: 600;
}

.wcp-points-pill.wcp-muted {
	background: #f1f5f9;
	color: #64748b;
}

/* Leaderboard */
.wcp-leaderboard-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
}

.wcp-leaderboard-table th,
.wcp-leaderboard-table td {
	padding: 10px 14px;
	text-align: right;
	border-bottom: 1px solid #e2e8f0;
}

.wcp-leaderboard-table th {
	background: #f8fafc;
	font-size: 13px;
	color: #475569;
}

.wcp-leaderboard-table tr.wcp-me {
	background: #fff7ed;
}

.wcp-you-tag {
	color: #ea580c;
	font-size: 12px;
}

.wcp-total-points-banner {
	background: #0f172a;
	color: #fff;
	padding: 14px 18px;
	border-radius: 12px;
	margin-bottom: 16px;
	font-size: 16px;
}

.wcp-subheading {
	margin-top: 24px;
}

/* Modal */
.wcp-modal-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
	z-index: 99999;
	align-items: center;
	justify-content: center;
}

.wcp-modal-overlay.open {
	display: flex;
}

.wcp-modal {
	background: #fff;
	border-radius: 16px;
	padding: 24px;
	width: 90%;
	max-width: 380px;
	position: relative;
}

.wcp-modal-close {
	position: absolute;
	top: 10px;
	left: 14px;
	background: none;
	border: none;
	font-size: 24px;
	cursor: pointer;
	color: #64748b;
}

.wcp-tabs {
	display: flex;
	margin-bottom: 18px;
	border-bottom: 1px solid #e2e8f0;
}

.wcp-tab {
	flex: 1;
	background: none;
	border: none;
	padding: 10px;
	cursor: pointer;
	font-weight: 600;
	color: #94a3b8;
	border-bottom: 2px solid transparent;
}

.wcp-tab.active {
	color: #0f172a;
	border-bottom-color: #0f172a;
}

.wcp-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.wcp-form input {
	padding: 11px 12px;
	border: 1px solid #cbd5e1;
	border-radius: 9px;
	font-size: 14px;
}

.wcp-btn-primary {
	background: #0f172a;
	color: #fff;
	border: none;
	padding: 11px;
	border-radius: 9px;
	font-weight: 700;
	cursor: pointer;
	margin-top: 4px;
}

.wcp-form-msg {
	font-size: 13px;
	color: #dc2626;
	min-height: 14px;
	margin: 0;
}

.wcp-form-msg.success {
	color: #16a34a;
}
