added ranking and fetching sync
dongho-repo/worldcup2026/pipeline/head This commit looks good

This commit is contained in:
Dongho Kim
2026-06-15 16:51:24 +02:00
parent d5c9765970
commit 3938bfae5b
5 changed files with 1052 additions and 89 deletions
+155
View File
@@ -1168,6 +1168,161 @@ body {
color: #ef4444;
}
/* ── Live Match indicators ── */
.mc-status-badge.status-live {
background: #ef4444;
color: #ffffff;
animation: pulse-live 1.5s infinite alternate;
}
.match-card.match-live {
border-color: #ef4444;
box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
}
@keyframes pulse-live {
from { opacity: 0.8; box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
to { opacity: 1; box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}
/* ── View Switcher Tabs ── */
.view-tabs {
display: flex;
gap: 6px;
flex-wrap: wrap;
}
.view-tab-btn {
background: var(--bg-element);
border: 1px solid var(--border);
border-radius: 20px;
color: var(--text-muted);
cursor: pointer;
font-family: inherit;
font-size: 13px;
font-weight: 600;
padding: 6px 14px;
transition: all var(--transition);
white-space: nowrap;
}
.view-tab-btn:hover {
background: var(--bg-element-hover);
border-color: var(--border-hover);
color: var(--text-primary);
}
.view-tab-btn.active {
background: linear-gradient(135deg, var(--gold) 0%, #ffaa00 100%);
border-color: var(--gold);
color: #000000;
box-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}
.controls-divider {
width: 1px;
height: 24px;
background: var(--border);
flex-shrink: 0;
margin: 0 4px;
}
/* ── View Header & Content ── */
.view-header {
margin-bottom: 24px;
}
.view-title {
font-size: 24px;
font-weight: 800;
letter-spacing: -0.5px;
margin-bottom: 6px;
}
.view-description {
font-size: 14px;
color: var(--text-muted);
}
/* ── Overall Rankings ── */
.table-group-badge {
font-size: 9px;
font-weight: 700;
background: var(--bg-element);
color: var(--text-muted);
padding: 1px 6px;
border-radius: 8px;
margin-left: 6px;
text-transform: uppercase;
}
/* ── Top Scorers ── */
.scorers-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 16px;
}
.scorer-card {
background: var(--bg-card);
border: 1px solid var(--border);
border-radius: var(--radius-sm);
padding: 14px 18px;
display: flex;
align-items: center;
gap: 14px;
transition: all var(--transition);
}
.scorer-card:hover {
border-color: var(--border-hover);
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.scorer-rank {
font-size: 20px;
font-weight: 800;
width: 36px;
height: 36px;
display: flex;
align-items: center;
justify-content: center;
border-radius: 50%;
background: var(--bg-element);
color: var(--text-muted);
}
.scorer-rank.rank-gold { background: rgba(255, 215, 0, 0.2); color: var(--gold); }
.scorer-rank.rank-silver { background: rgba(192, 192, 192, 0.2); color: #c0c0c0; }
.scorer-rank.rank-bronze { background: rgba(205, 127, 50, 0.2); color: #cd7f32; }
.scorer-details {
display: flex;
flex-direction: column;
flex-grow: 1;
}
.scorer-name {
font-size: 16px;
font-weight: 700;
color: var(--text-primary);
}
.scorer-team {
font-size: 12px;
color: var(--text-muted);
margin-top: 2px;
}
.scorer-goals {
text-align: right;
display: flex;
flex-direction: column;
align-items: flex-end;
}
.goals-count {
font-size: 22px;
font-weight: 900;
color: var(--gold);
line-height: 1;
}
.goals-label {
font-size: 10px;
font-weight: 600;
color: var(--text-muted);
text-transform: uppercase;
margin-top: 2px;
letter-spacing: 0.5px;
}
@media (min-width: 1200px) {
.groups-grid { grid-template-columns: repeat(4, 1fr); }
}