.page-header {
background: linear-gradient(135deg, var(--primary-dark), var(--primary), #d9261f);
color: #fff;
padding: 28px 0 20px;
margin-bottom: 24px;
position: relative;
overflow: hidden;
}
.page-header::before {
content: '';
position: absolute;
inset: 0;
background: url(https://images.unsplash.com/photo-1540747913346-19e32dc3e97e?auto=format&fit=crop&q=80&w=1200) center/cover;
opacity: 0.1;
mix-blend-mode: overlay;
}
.page-title {
font-size: 26px;
font-weight: 800;
margin: 0 0 6px;
letter-spacing: -0.02em;
position: relative;
z-index: 1;
}
.page-subtitle {
font-size: 14px;
opacity: 0.8;
position: relative;
z-index: 1;
} .page-tabs {
display: flex;
gap: 4px;
background: var(--surface);
padding: 8px 16px;
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
margin-bottom: 20px;
overflow-x: auto;
border: 1px solid var(--line);
}
.page-tab {
padding: 8px 16px;
font-weight: 700;
font-size: 13px;
color: var(--text-soft);
border-radius: 8px;
white-space: nowrap;
transition: all 0.2s ease;
}
.page-tab:hover {
background: var(--surface-soft);
color: var(--text);
}
.page-tab.active {
background: var(--primary-soft);
color: var(--primary);
}
.scorecard-tabs-plain {
background: transparent;
border: none;
box-shadow: none;
border-bottom: 2px solid var(--line);
border-radius: 0;
padding: 0 0 0 0;
margin-bottom: 32px;
}
.scorecard-tabs-plain .page-tab {
border-radius: 8px 8px 0 0;
}
.scorecard-tabs-plain .page-tab.active {
background: var(--primary);
color: #fff;
} .sub-tabs {
display: flex;
gap: 12px;
margin-bottom: 24px;
}
.sub-tab {
padding: 8px 16px;
border-radius: 20px;
font-size: 13px;
font-weight: 700;
border: 1px solid var(--line);
color: var(--text-soft);
background: var(--surface);
transition: 0.2s;
}
.sub-tab.active {
background: var(--text);
border-color: var(--text);
color: #fff;
} .page-layout {
display: grid;
grid-template-columns: 1fr 340px;
gap: 24px;
align-items: start;
}
@media (max-width: 992px) {
.page-layout {
grid-template-columns: 1fr;
}
} .table-card {
background: var(--surface);
border-radius: var(--radius-md);
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
overflow: hidden;
margin-bottom: 24px;
}
.table-header {
padding: 12px 20px;
border-bottom: 1px solid var(--line);
display: flex;
justify-content: space-between;
align-items: center;
background: var(--surface-soft);
}
.table-title {
font-size: 16px;
font-weight: 800;
margin: 0;
color: var(--text);
}
.table-responsive {
overflow-x: auto;
}
.data-table {
width: 100%;
border-collapse: collapse;
font-size: 14px;
}
.data-table th,
.data-table td {
padding: 10px 16px;
text-align: left;
border-bottom: 1px solid var(--line);
}
.data-table th {
font-weight: 700;
color: var(--text-soft);
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
background: #fafafa;
}
.data-table tbody tr:hover {
background: var(--surface-soft);
}
.data-table tbody tr:last-child td {
border-bottom: none;
}
.data-table td.fw-bold {
font-weight: 700;
color: var(--text);
}
.text-right {
text-align: right !important;
}
.text-center {
text-align: center !important;
} .match-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
gap: 20px;
}
.match-card-full {
display: block;
background: var(--surface);
border-radius: var(--radius-md);
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
padding: 20px;
transition: 0.2s;
color: inherit;
text-decoration: none;
cursor: pointer;
}
.match-card-full:hover {
transform: translateY(-2px);
box-shadow: var(--shadow-md);
}
.match-card-link:focus-visible {
outline: 2px solid var(--primary);
outline-offset: 3px;
}
.match-meta-top {
display: flex;
justify-content: space-between;
font-size: 12px;
color: var(--text-soft);
margin-bottom: 16px;
font-weight: 600;
}
.match-status {
padding: 4px 8px;
border-radius: 4px;
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
}
.status-result { background: var(--surface-soft); color: var(--text-soft); }
.status-live { background: #ffebee; color: var(--primary); animation: pulse 2s infinite; }
.status-upcoming { background: #e3f2fd; color: #1976d2; }
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.6; }
100% { opacity: 1; }
}
.match-team-row {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 12px;
}
.match-team-name {
display: flex;
align-items: center;
gap: 12px;
font-weight: 700;
font-size: 15px;
min-width: 0;
}
.match-team-copy {
display: flex;
min-width: 0;
flex-direction: column;
gap: 4px;
}
.match-team-copy > span:first-child {
overflow: hidden;
text-overflow: ellipsis;
}
.match-batted-first {
width: fit-content;
padding: 3px 8px;
border-radius: 999px;
background: var(--primary-soft);
color: var(--primary-dark);
font-size: 10px;
font-weight: 900;
line-height: 1;
text-transform: uppercase;
white-space: nowrap;
}
.match-score {
text-align: right;
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
}
.score-runs {
font-size: 18px;
font-weight: 800;
}
.match-score-line {
display: flex;
align-items: baseline;
justify-content: flex-end;
gap: 4px;
white-space: nowrap;
}
.match-score-line small {
color: var(--text-soft);
font-size: 10px;
font-weight: 900;
}
.match-score-line strong {
color: var(--primary-dark);
font-size: 18px;
font-weight: 900;
}
.score-overs {
font-size: 12px;
color: var(--text-soft);
}
.score-empty {
color: var(--text-soft);
}
.match-result-text {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid var(--line);
font-size: 13px;
font-weight: 600;
color: var(--primary);
}
.match-adjustment-text {
margin-top: 14px;
padding: 9px 10px;
border-radius: 10px;
border: 1px solid var(--line);
background: var(--surface-soft);
color: var(--text-soft);
font-size: 12px;
font-weight: 700;
}
.match-venue {
margin-top: 8px;
color: var(--text-faint);
font-size: 13px;
font-weight: 600;
} .event-matches-layout {
display: grid;
grid-template-columns: minmax(0, 1fr) 340px;
gap: 24px;
align-items: start;
}
.event-sidebar-panel {
position: sticky;
top: 18px;
display: flex;
flex-direction: column;
gap: 16px;
}
.event-glance-card {
margin-bottom: 18px;
padding: 20px;
border-radius: 16px;
background: linear-gradient(180deg, #fff, #f8fafc);
border: 1px solid rgba(15, 23, 42, 0.08);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}
.event-glance-pills {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.event-glance-pill {
display: inline-flex;
align-items: baseline;
gap: 7px;
padding: 8px 12px;
border-radius: 999px;
border: 1px solid rgba(15, 23, 42, 0.08);
background: #f8fafc;
color: #334155;
font-size: 13px;
font-weight: 700;
}
.event-glance-pill strong {
color: #0f172a;
font-size: 17px;
font-weight: 900;
}
.event-glance-pill.is-live {
color: #991b1b;
background: #fee2e2;
border-color: rgba(239, 68, 68, 0.28);
}
.event-top-venue {
margin-top: 14px;
color: #475569;
font-size: 14px;
font-weight: 600;
}
.event-status-tabs {
display: flex;
gap: 8px;
margin-bottom: 18px;
padding: 8px;
border-radius: 16px;
background: linear-gradient(180deg, #fff, #f8fafc);
border: 1px solid rgba(15, 23, 42, 0.08);
box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
overflow-x: auto;
}
.event-status-tab {
min-width: 116px;
padding: 12px 18px;
border-radius: 10px;
border: 1px solid rgba(15, 23, 42, 0.1);
background: #f8fafc;
color: #334155;
font-size: 13px;
font-weight: 900;
letter-spacing: 0.05em;
text-align: center;
text-decoration: none;
text-transform: uppercase;
}
.event-status-tab:hover {
background: #fff;
border-color: rgba(189, 34, 27, 0.22);
color: var(--primary);
}
.event-status-tab.active {
background: var(--primary);
border-color: var(--primary);
color: #fff;
box-shadow: 0 10px 20px rgba(189, 34, 27, 0.22);
}
.event-match-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
.event-match-card {
display: block;
overflow: hidden;
border-radius: 18px;
background: #fff;
color: inherit;
text-decoration: none;
border: 1px solid rgba(100, 116, 139, 0.18);
box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.event-match-card:hover {
transform: translateY(-2px);
border-color: rgba(189, 34, 27, 0.24);
box-shadow: 0 18px 34px rgba(15, 23, 42, 0.1);
}
.event-match-card.is-live {
border-color: rgba(22, 163, 74, 0.28);
}
.event-match-card-head {
display: flex;
justify-content: space-between;
align-items: center;
gap: 12px;
padding: 12px 16px;
background: #f1f5f9;
}
.event-match-time {
color: #5c6f91;
font-size: 12px;
font-weight: 800;
}
.event-match-time span {
margin: 0 5px;
}
.event-match-status {
flex-shrink: 0;
padding: 5px 10px;
border-radius: 999px;
border: 1px solid rgba(100, 116, 139, 0.22);
background: #f8fafc;
color: var(--text);
font-size: 11px;
font-weight: 900;
}
.event-match-status.live {
color: #166534;
background: #dcfce7;
border-color: rgba(22, 163, 74, 0.22);
}
.event-match-status.upcoming {
color: var(--primary-dark);
background: var(--primary-soft);
border-color: rgba(189, 34, 27, 0.18);
}
.event-match-body {
padding: 16px;
}
.event-match-team {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
gap: 14px;
align-items: center;
}
.event-team-main {
display: flex;
min-width: 0;
align-items: center;
gap: 12px;
}
.event-match-logo {
display: grid;
place-items: center;
flex: 0 0 auto;
width: 42px;
height: 42px;
overflow: hidden;
border-radius: 50%;
border: 2px solid rgba(255, 255, 255, 0.86);
background: #e11d48;
color: #fff;
font-size: 12px;
font-weight: 900;
box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.12), 0 8px 18px rgba(15, 23, 42, 0.12);
}
.event-match-logo.team-2 {
background: #e98d73;
}
.event-match-logo img {
width: 100%;
height: 100%;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
}
.event-team-name-wrap {
display: flex;
min-width: 0;
flex-direction: column;
gap: 4px;
}
.event-team-name {
color: var(--text);
font-size: 15px;
font-weight: 900;
line-height: 1.25;
}
.event-batted-first {
width: fit-content;
padding: 3px 9px;
border-radius: 999px;
background: var(--primary-soft);
color: var(--primary-dark);
font-size: 11px;
font-weight: 900;
}
.event-score-lines {
display: flex;
flex-direction: column;
align-items: flex-end;
gap: 4px;
color: var(--primary-dark);
text-align: right;
}
.event-score-line {
display: flex;
align-items: baseline;
justify-content: flex-end;
gap: 4px;
white-space: nowrap;
}
.event-score-line small {
color: #64748b;
font-size: 10px;
font-weight: 900;
}
.event-score-line strong {
font-size: 20px;
font-weight: 900;
}
.event-score-line em {
color: #475569;
font-size: 11px;
font-style: normal;
font-weight: 700;
}
.event-score-line.empty {
color: #94a3b8;
font-size: 16px;
font-weight: 800;
}
.event-match-divider {
height: 1px;
margin: 14px 0;
background: #e2e8f0;
}
.event-result-pill,
.event-adjustment-pill {
margin-top: 14px;
padding: 10px 12px;
border-radius: 12px;
font-size: 13px;
font-weight: 900;
}
.event-result-pill {
color: var(--primary-dark);
background: var(--primary-soft);
border: 1px solid rgba(189, 34, 27, 0.16);
}
.event-adjustment-pill {
color: #334155;
background: #f8f8f8;
border: 1px solid var(--line);
}
.event-match-footer {
padding: 12px 16px 14px;
color: #475569;
font-size: 12px;
font-weight: 800;
}
.event-empty-state {
grid-column: 1 / -1;
display: flex;
flex-direction: column;
gap: 6px;
padding: 36px;
border-radius: 16px;
background: #fff;
border: 1px solid var(--line);
color: var(--text-soft);
text-align: center;
}
.event-empty-state strong {
color: var(--text);
font-size: 18px;
}
.event-side-card {
padding: 16px;
border-radius: 16px;
background: linear-gradient(180deg, #fff, #f8fafc);
border: 1px solid rgba(15, 23, 42, 0.08);
box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}
.event-side-card h3 {
margin: 0 0 12px;
padding-bottom: 10px;
border-bottom: 1px solid rgba(148, 163, 184, 0.28);
color: #0f172a;
font-size: 14px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.event-leader-list {
display: flex;
flex-direction: column;
gap: 9px;
}
.event-leader-list p {
display: grid;
grid-template-columns: auto minmax(0, 1fr);
gap: 6px;
margin: 0;
align-items: baseline;
}
.event-leader-list span {
color: #64748b;
font-size: 11px;
font-weight: 900;
letter-spacing: 0.05em;
text-transform: uppercase;
white-space: nowrap;
}
.event-leader-list strong {
min-width: 0;
overflow: hidden;
color: #334155;
font-size: 13px;
font-weight: 900;
text-overflow: ellipsis;
white-space: nowrap;
}
.event-sidebar-table-wrap {
max-height: 360px;
overflow: auto;
border: 1px solid rgba(148, 163, 184, 0.24);
border-radius: 10px;
background: #fff;
}
.event-sidebar-pt-table {
width: 100%;
border-collapse: collapse;
font-size: 12px;
}
.event-sidebar-pt-table th {
position: sticky;
top: 0;
z-index: 1;
padding: 8px 7px;
border-bottom: 1px solid #cbd5e1;
background: #f1f5f9;
color: #475569;
font-weight: 900;
text-align: center;
}
.event-sidebar-pt-table th.text-start {
text-align: left;
}
.event-sidebar-pt-table td {
padding: 8px 7px;
border-bottom: 1px solid rgba(226, 232, 240, 0.7);
text-align: center;
}
.event-sidebar-pt-table td.text-start {
color: #1f2937;
font-weight: 900;
text-align: left;
}
.event-sidebar-phase-row td {
background: var(--primary-soft);
color: var(--primary);
font-weight: 900;
text-align: left;
}
.event-more-link {
display: inline-flex;
margin-top: 12px;
color: var(--primary);
font-size: 13px;
font-weight: 900;
text-decoration: none;
}
.event-stats-filter {
flex-wrap: wrap;
}
.event-stats-filter label {
display: flex;
align-items: center;
gap: 10px;
font-size: 14px;
font-weight: 700;
}
.event-stats-filter .search-input {
min-width: 240px;
}
@media (max-width: 1100px) {
.event-matches-layout {
grid-template-columns: 1fr;
}
.event-sidebar-panel {
position: static;
}
}
@media (max-width: 760px) {
.event-glance-card {
padding: 16px;
}
.event-status-tab {
min-width: 0;
flex: 1;
padding: 10px 12px;
font-size: 11px;
}
.event-match-list {
grid-template-columns: 1fr;
}
.event-match-card-head {
align-items: flex-start;
flex-direction: column;
gap: 8px;
}
.event-match-team {
grid-template-columns: 1fr;
gap: 8px;
}
.match-team-row {
align-items: flex-start;
flex-direction: column;
gap: 8px;
}
.match-score {
align-items: flex-start;
padding-left: 34px;
text-align: left;
}
.match-score-line {
justify-content: flex-start;
white-space: normal;
}
.event-score-lines {
align-items: flex-start;
padding-left: 54px;
text-align: left;
}
.event-score-line {
justify-content: flex-start;
white-space: normal;
}
.event-stats-filter,
.event-stats-filter label {
align-items: stretch;
flex-direction: column;
}
.event-stats-filter .search-input,
.event-stats-filter .select-input {
min-width: 0;
width: 100%;
}
} .filter-bar {
display: flex;
gap: 12px;
background: var(--surface);
padding: 10px 16px;
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
margin-bottom: 16px;
border: 1px solid var(--line);
align-items: center;
}
.search-input {
flex: 1;
border: none;
background: var(--surface-soft);
padding: 9px 14px;
border-radius: 8px;
font-size: 13px;
outline: none;
font-family: inherit;
}
.search-input:focus {
box-shadow: 0 0 0 2px var(--primary-soft);
}
.select-input {
border: 1px solid var(--line);
padding: 9px 14px;
border-radius: 8px;
font-size: 13px;
background: #fff;
outline: none;
font-family: inherit;
cursor: pointer;
min-width: 140px;
} .event-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
padding: 18px;
display: flex;
flex-direction: column;
gap: 8px;
transition: 0.2s;
}
.event-card:hover {
border-color: var(--primary);
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
.event-title {
font-size: 16px;
font-weight: 800;
margin: 0;
line-height: 1.3;
} .scorecard-banner {
background: linear-gradient(135deg, #0f1b29, #1b2636);
color: #fff;
border-radius: var(--radius-lg);
padding: 22px 28px;
margin-bottom: 20px;
display: flex;
flex-direction: column;
gap: 16px;
position: relative;
overflow: hidden;
}
.scorecard-banner::after {
content: '';
position: absolute;
right: 0;
top: 0;
bottom: 0;
width: 40%;
background: linear-gradient(90deg, transparent, rgba(189, 34, 27, 0.1) 50%, rgba(189, 34, 27, 0.2));
pointer-events: none;
}
.scorecard-teams {
display: flex;
justify-content: space-between;
align-items: center;
}
.sc-team {
flex: 1;
}
.sc-team.right {
text-align: right;
}
.sc-team-name {
font-size: 18px;
font-weight: 800;
margin-bottom: 6px;
}
.sc-score {
font-size: 34px;
font-weight: 800;
line-height: 1;
}
.sc-score span {
font-size: 18px;
font-weight: 600;
opacity: 0.8;
}
.sc-vs {
width: 48px;
height: 48px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.1);
display: grid;
place-items: center;
font-weight: 800;
font-size: 14px;
backdrop-filter: blur(4px);
}
.sc-result {
background: rgba(189, 34, 27, 0.15);
border: 1px solid rgba(189, 34, 27, 0.3);
padding: 12px;
border-radius: 8px;
text-align: center;
font-weight: 700;
color: #ff8a85;
}
.match-summary-poster {
padding: 14px;
margin-bottom: 24px;
border-radius: var(--radius-lg);
border: 1px solid rgba(255, 255, 255, 0.12);
background: linear-gradient(145deg, #9f1d24, #3d0b10 58%, #160406);
color: #fff;
box-shadow: 0 18px 42px rgba(15, 23, 42, 0.22);
}
.summary-poster-shell {
padding: 14px;
border-radius: 16px;
background: linear-gradient(180deg, rgba(20, 4, 6, 0.82), rgba(20, 4, 6, 0.72));
border: 1px solid rgba(255, 255, 255, 0.1);
}
.summary-poster-top,
.summary-score-zone,
.summary-innings-head,
.summary-perf-row {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
}
.summary-poster-top {
margin-bottom: 10px;
text-transform: uppercase;
font-size: 13px;
letter-spacing: 0.04em;
}
.summary-poster-top span,
.summary-meta-row span {
color: rgba(255, 255, 255, 0.74);
}
.summary-meta-row {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-bottom: 10px;
}
.summary-meta-row span {
padding: 4px 8px;
border-radius: 999px;
background: rgba(255, 255, 255, 0.08);
font-size: 11px;
font-weight: 700;
}
.summary-score-zone {
position: relative;
overflow: hidden;
padding: 16px;
border-radius: 14px;
background: linear-gradient(120deg, rgba(255, 255, 255, 0.08) 0 52%, rgba(244, 148, 126, 0.72) 52% 100%);
border: 1px solid rgba(255, 255, 255, 0.12);
}
.summary-team-right {
text-align: right;
}
.summary-team-name {
font-size: 15px;
font-weight: 900;
text-transform: uppercase;
}
.summary-team-score {
margin-top: 6px;
font-size: 32px;
font-weight: 900;
line-height: 1;
}
.summary-vs {
display: grid;
place-items: center;
width: 38px;
height: 38px;
border-radius: 50%;
background: rgba(15, 23, 42, 0.34);
border: 1px solid rgba(255, 255, 255, 0.25);
font-weight: 900;
font-size: 12px;
}
.summary-result-pill {
width: fit-content;
max-width: 100%;
margin: 12px auto 0;
padding: 8px 18px;
border-radius: 999px;
border: 1px solid rgba(255, 255, 255, 0.28);
background: rgba(255, 255, 255, 0.12);
font-size: 13px;
font-weight: 900;
text-align: center;
text-transform: uppercase;
}
.summary-section {
margin-top: 14px;
padding: 14px;
border-radius: 16px;
background: rgba(18, 4, 5, 0.64);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.summary-section h3 {
margin: 0 0 12px;
color: rgba(255, 255, 255, 0.74);
font-size: 13px;
letter-spacing: 0.12em;
text-transform: uppercase;
}
.summary-innings-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 12px;
}
.summary-innings-card {
padding: 12px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.08);
}
.summary-innings-head {
padding-bottom: 8px;
margin-bottom: 10px;
border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.summary-innings-head strong {
color: #fca5a5;
font-size: 13px;
text-transform: uppercase;
}
.summary-innings-head span {
font-weight: 900;
}
.summary-perf-block + .summary-perf-block {
margin-top: 12px;
}
.summary-subhead {
margin-bottom: 6px;
color: rgba(255, 255, 255, 0.62);
font-size: 11px;
font-weight: 900;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.summary-perf-row {
padding: 3px 0;
font-size: 13px;
font-weight: 800;
}
.summary-perf-row strong {
color: #fca5a5;
}
.summary-perf-row small {
color: rgba(255, 255, 255, 0.56);
font-weight: 700;
}
.summary-player-card {
margin-top: 14px;
padding: 16px;
border-radius: 14px;
background: linear-gradient(135deg, rgba(248, 113, 113, 0.46), rgba(255, 255, 255, 0.09));
border: 1px solid rgba(255, 255, 255, 0.12);
}
.summary-player-card span,
.summary-player-card small,
.summary-stat-grid span {
display: block;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.66);
font-size: 11px;
font-weight: 900;
letter-spacing: 0.08em;
}
.summary-player-card strong {
display: block;
margin: 4px 0 2px;
font-size: 24px;
font-weight: 900;
text-transform: uppercase;
}
.summary-stat-grid {
display: grid;
grid-template-columns: repeat(6, 1fr);
gap: 12px;
margin-top: 18px;
}
.summary-stat-grid div {
padding: 14px 10px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.08);
border: 1px solid rgba(255, 255, 255, 0.1);
text-align: center;
}
.summary-stat-grid strong {
display: block;
color: #fca5a5;
font-size: 26px;
font-weight: 900;
}
.summary-empty {
padding: 16px;
color: rgba(255, 255, 255, 0.72);
}
.milestones-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 22px;
}
.milestone-card {
overflow: hidden;
border-radius: var(--radius-md);
border: 1px solid var(--line);
background: var(--surface);
box-shadow: var(--shadow-sm);
}
.milestone-card h3 {
margin: 0;
padding: 14px 18px;
background: var(--primary);
color: #fff;
font-size: 15px;
font-weight: 900;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.milestone-card-list {
padding: 18px;
}
.milestone-card-item {
padding: 10px 0;
border-bottom: 1px solid var(--line);
color: var(--text);
font-size: 15px;
line-height: 1.55;
}
.milestone-card-item:last-child {
border-bottom: none;
}
.milestone-card-item span,
.milestone-card-item em {
color: var(--text-soft);
}
.fow-text {
font-size: 13px;
line-height: 1.8;
color: var(--text-soft);
padding: 16px 24px;
}
.fow-text span {
font-weight: 700;
color: var(--text);
}
.bbb-innings-tray {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 8px;
padding: 8px;
margin-bottom: 14px;
border-radius: var(--radius-md);
border: 1px solid var(--line);
background: var(--surface);
box-shadow: var(--shadow-sm);
}
.bbb-innings-pill {
display: grid;
place-items: center;
min-height: 42px;
padding: 10px 14px;
border-radius: 8px;
color: var(--text-soft);
font-size: 13px;
font-weight: 800;
text-align: center;
text-decoration: none;
}
.bbb-innings-pill.active {
background: var(--primary);
color: #fff;
}
.bbb-current-strip,
.bbb-over-summary {
background: linear-gradient(135deg, var(--primary-dark), var(--primary));
color: #fff;
border-radius: var(--radius-md);
border: 1px solid rgba(255, 255, 255, 0.16);
box-shadow: var(--shadow-sm);
}
.bbb-current-strip {
padding: 12px 16px;
margin-bottom: 12px;
position: sticky;
top: 0;
z-index: 4;
}
.bbb-current-head {
display: flex;
justify-content: space-between;
gap: 18px;
align-items: flex-start;
padding-bottom: 8px;
border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.bbb-current-team {
font-size: 14px;
font-weight: 800;
}
.bbb-current-last {
margin-top: 3px;
font-size: 12px;
color: rgba(255, 255, 255, 0.78);
}
.bbb-current-score {
display: flex;
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
align-items: baseline;
font-size: 12px;
font-weight: 700;
color: rgba(255, 255, 255, 0.84);
}
.bbb-current-score strong {
font-size: 22px;
color: #fcd34d;
}
.bbb-current-players,
.bbb-over-players {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.bbb-current-players {
padding-top: 8px;
}
.bbb-current-side,
.bbb-over-players > div {
display: flex;
flex-direction: column;
gap: 4px;
min-width: 0;
}
.bbb-current-side + .bbb-current-side,
.bbb-over-players > div + div {
padding-left: 16px;
border-left: 1px solid rgba(255, 255, 255, 0.18);
}
.bbb-current-side div,
.bbb-over-players p {
display: flex;
justify-content: space-between;
gap: 12px;
margin: 0;
font-size: 12px;
font-weight: 700;
}
.bbb-current-side span,
.bbb-over-players span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.bbb-controls {
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 12px;
padding: 12px 14px;
margin-bottom: 14px;
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--shadow-sm);
}
.bbb-filter-row {
display: flex;
align-items: center;
flex-wrap: wrap;
gap: 7px;
}
.bbb-filter-row span,
.bbb-jump {
color: var(--text);
font-size: 13px;
font-weight: 800;
}
.bbb-filter-pill {
padding: 6px 10px;
border-radius: 999px;
border: 1px solid var(--line);
background: var(--surface-soft);
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
text-decoration: none;
}
.bbb-filter-pill.active {
border-color: var(--primary);
background: var(--primary);
color: #fff;
}
.bbb-jump {
display: flex;
align-items: center;
gap: 8px;
}
.bbb-jump select {
min-width: 130px;
padding: 7px 10px;
border-radius: 6px;
border: 1px solid var(--line);
background: var(--surface);
color: var(--text);
font-size: 12px;
font-weight: 700;
}
.bbb-feed-card {
border: 1px solid var(--line);
border-radius: var(--radius-md);
background: var(--surface);
box-shadow: var(--shadow-sm);
overflow: hidden;
}
.bbb-over-block {
scroll-margin-top: 18px;
}
.bbb-over-summary {
margin: 10px;
padding: 10px 12px;
}
.bbb-over-top,
.bbb-over-mid {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
}
.bbb-over-top {
padding-bottom: 5px;
}
.bbb-over-top strong {
font-size: 13px;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.bbb-over-top span {
color: #fcd34d;
font-size: 15px;
font-weight: 900;
}
.bbb-over-mid {
padding: 4px 0 8px;
margin-bottom: 8px;
border-top: 1px solid rgba(255, 255, 255, 0.16);
border-bottom: 1px solid rgba(255, 255, 255, 0.16);
color: rgba(255, 255, 255, 0.84);
font-size: 12px;
font-weight: 700;
}
.bbb-feed-row {
position: relative;
display: grid;
grid-template-columns: 38px 54px 1fr;
gap: 10px;
align-items: start;
padding: 10px 14px;
margin: 0 10px;
border-radius: 8px;
}
.bbb-feed-row::before {
content: '';
position: absolute;
left: 32px;
top: -8px;
bottom: -8px;
width: 2px;
background: var(--line);
z-index: 0;
}
.bbb-feed-row.is-wicket {
background: #fff1f2;
border-left: 3px solid #dc2626;
}
.bbb-badge {
position: relative;
z-index: 1;
width: 30px;
height: 30px;
border-radius: 50%;
display: grid;
place-items: center;
color: #fff;
font-size: 11px;
font-weight: 900;
box-shadow: 0 2px 6px rgba(15, 23, 42, 0.16);
}
.bbb-badge.dot { background: #64748b; }
.bbb-badge.run { background: #2563eb; }
.bbb-badge.four { background: #16a34a; }
.bbb-badge.six { background: #7c3aed; }
.bbb-badge.wicket { background: #dc2626; }
.bbb-badge.wide,
.bbb-badge.noball { background: #f97316; }
.bbb-badge.extra { background: #0d9488; }
.bbb-feed-ball {
padding-top: 6px;
color: var(--text);
font-size: 12px;
font-weight: 900;
}
.bbb-feed-copy {
min-width: 0;
padding-top: 4px;
}
.bbb-feed-meta {
color: var(--text-soft);
font-size: 13px;
font-weight: 700;
line-height: 1.45;
}
.bbb-feed-commentary {
margin-top: 2px;
color: var(--text);
font-size: 13px;
line-height: 1.45;
}
.bbb-milestone {
margin: 8px 12px;
padding: 10px 14px;
border-radius: 8px;
border: 1px solid #fde68a;
background: #fffbeb;
color: #92400e;
font-size: 13px;
font-weight: 800;
}
.bbb-end-note {
padding: 14px;
color: var(--text-soft);
font-size: 13px;
font-weight: 800;
text-align: center;
}
.graph-list {
padding: 18px 22px;
display: flex;
flex-direction: column;
gap: 12px;
}
.graph-row {
display: grid;
grid-template-columns: 72px 1fr 56px;
gap: 12px;
align-items: center;
}
.graph-label,
.graph-value {
font-size: 12px;
font-weight: 800;
color: var(--text-soft);
}
.graph-value {
text-align: right;
color: var(--text);
}
.graph-track {
height: 12px;
border-radius: 999px;
overflow: hidden;
background: var(--surface-soft);
}
.graph-bar {
height: 100%;
border-radius: inherit;
background: var(--primary);
} .stats-widget {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 16px;
margin-bottom: 24px;
}
.stat-box {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
padding: 14px;
text-align: center;
}
.stat-box-value {
font-size: 22px;
font-weight: 800;
color: var(--primary);
margin-bottom: 2px;
}
.stat-box-label {
font-size: 13px;
color: var(--text-soft);
font-weight: 600;
text-transform: uppercase;
}
.points-phase-tabs {
display: flex;
flex-wrap: wrap;
gap: 10px;
padding: 0 0 12px;
margin-bottom: 16px;
border-bottom: 2px solid var(--line);
}
.points-phase-tab {
padding: 9px 16px;
border: none;
border-bottom: 2px solid transparent;
border-radius: 0;
background: transparent;
color: var(--text-soft);
font-size: 13px;
font-weight: 800;
cursor: pointer;
}
.points-phase-tab.active {
color: var(--primary);
border-bottom-color: var(--primary);
}
.points-phase-pane[hidden] {
display: none;
}
.points-rank {
display: inline-flex;
width: 24px;
height: 24px;
align-items: center;
justify-content: center;
border-radius: 50%;
border: 1px solid var(--line);
background: var(--surface-soft);
color: var(--text);
font-size: 12px;
font-weight: 800;
}
.points-rank.is-leader {
border-color: #ffeeba;
background: #fff3cd;
color: #856404;
}
.points-nrr {
font-weight: 700;
}
.points-nrr.positive {
color: #15803d;
}
.points-nrr.negative {
color: #b91c1c;
}
.event-squads-selector,
.event-squads-selector label {
align-items: center;
}
.event-squads-selector label {
display: flex;
gap: 8px;
color: var(--text-soft);
font-size: 13px;
font-weight: 700;
}
.event-squad-card {
overflow: visible;
}
.event-squad-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
gap: 14px;
padding: 16px;
}
.event-player-card {
display: grid;
grid-template-columns: 64px minmax(0, 1fr);
gap: 14px;
padding: 14px;
border: 1px solid var(--line);
border-radius: var(--radius-sm);
background: var(--surface);
box-shadow: 0 6px 18px rgba(0, 0, 0, .04);
}
.event-player-avatar {
width: 64px;
height: 64px;
border-radius: 50%;
overflow: hidden;
background: var(--primary-soft);
color: var(--primary);
display: grid;
place-items: center;
font-weight: 800;
border: 1px solid var(--line);
}
.event-player-avatar img {
width: 100%;
height: 100%;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
}
.event-player-body {
min-width: 0;
}
.event-player-body h3 {
margin: 0 0 6px;
color: var(--text);
font-size: 15px;
line-height: 1.25;
font-weight: 800;
}
.event-player-body h3 a {
color: var(--text);
}
.event-player-body h3 a:hover {
color: var(--primary);
}
.event-player-body p {
margin: 3px 0 0;
color: var(--text-soft);
font-size: 12px;
line-height: 1.4;
}
.event-player-badges {
display: flex;
gap: 6px;
flex-wrap: wrap;
margin-bottom: 4px;
}
.event-player-badges span {
display: inline-flex;
align-items: center;
border-radius: 999px;
background: var(--primary-soft);
color: var(--primary);
padding: 3px 8px;
font-size: 10px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: .03em;
}
.event-officials-table td {
white-space: nowrap;
}
.scorecard-player-link {
color: inherit;
text-decoration: none;
border-bottom: 1px solid rgba(189, 34, 27, .25);
}
.scorecard-player-link:hover {
color: var(--primary-dark);
border-bottom-color: currentColor;
}
@media (max-width: 640px) {
.scorecard-teams {
align-items: stretch;
gap: 14px;
}
.sc-score {
font-size: 24px;
line-height: 1.15;
}
.match-summary-poster {
padding: 10px;
}
.summary-poster-top,
.summary-score-zone,
.summary-innings-head,
.summary-perf-row {
align-items: flex-start;
flex-direction: column;
}
.summary-score-zone {
background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(244, 148, 126, 0.42));
}
.summary-team-right {
text-align: left;
}
.summary-team-score {
font-size: 26px;
line-height: 1.1;
}
.summary-vs {
width: 32px;
height: 32px;
}
.summary-stat-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.milestones-grid {
grid-template-columns: 1fr;
gap: 16px;
}
.bbb-innings-tray,
.bbb-current-players,
.bbb-over-players {
grid-template-columns: 1fr;
}
.bbb-current-head,
.bbb-controls {
align-items: stretch;
flex-direction: column;
}
.bbb-current-score {
justify-content: flex-start;
}
.bbb-current-side + .bbb-current-side,
.bbb-over-players > div + div {
padding-left: 0;
padding-top: 8px;
border-left: none;
border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.bbb-feed-row {
grid-template-columns: 34px 42px 1fr;
margin: 0 6px;
padding: 10px 8px;
}
.bbb-feed-row::before {
left: 25px;
}
.graph-row {
grid-template-columns: 54px 1fr 44px;
}
.stats-widget {
grid-template-columns: repeat(2, 1fr);
}
.points-phase-tabs {
gap: 6px;
}
.points-phase-tab {
padding: 8px 10px;
}
.event-squads-selector,
.event-squads-selector label {
align-items: stretch;
flex-direction: column;
}
.event-squads-selector .select-input {
width: 100%;
}
.event-squad-grid {
grid-template-columns: 1fr;
padding: 12px;
}
} .content-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
padding: 32px;
}
.content-card h2 {
font-size: 22px;
font-weight: 800;
margin: 0 0 16px;
color: var(--text);
}
.content-card p {
font-size: 15px;
line-height: 1.7;
color: var(--text-soft);
margin: 0 0 16px;
}
.sidebar {
position: sticky;
top: 100px;
} .vision-mission {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin: 24px 0;
}
.vm-box {
background: var(--surface-soft);
border: 1px solid var(--line);
border-radius: var(--radius-md);
padding: 24px;
}
.vm-icon {
width: 48px;
height: 48px;
border-radius: 12px;
background: var(--primary-soft);
color: var(--primary);
display: grid;
place-items: center;
margin-bottom: 12px;
}
.vm-box h3 {
font-size: 16px;
font-weight: 800;
margin: 0 0 8px;
}
@media (max-width: 640px) {
.vision-mission {
grid-template-columns: 1fr;
}
} .album-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 24px;
}
.album-card {
display: block;
border-radius: var(--radius-md);
overflow: hidden;
background: var(--surface);
border: 1px solid var(--line);
box-shadow: var(--shadow-sm);
transition: transform 0.25s, box-shadow 0.25s;
text-decoration: none;
color: inherit;
}
.album-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
}
.album-card img {
width: 100%;
height: 200px;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
border: 1px solid transparent;
box-sizing: border-box;
display: block;
transition: transform 0.3s;
}
.album-card:hover img {
transform: scale(1.05);
}
.album-info {
padding: 18px;
}
.album-title {
font-size: 16px;
font-weight: 800;
margin: 0 0 8px;
line-height: 1.3;
color: var(--text);
}
.album-meta {
font-size: 13px;
color: var(--text-soft);
display: flex;
align-items: center;
gap: 6px;
} .news-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
gap: 24px;
}
.news-card {
display: flex;
flex-direction: column;
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
overflow: hidden;
box-shadow: var(--shadow-sm);
transition: transform 0.25s, box-shadow 0.25s;
text-decoration: none;
color: inherit;
}
.news-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
}
.news-card-featured {
grid-column: 1 / -1;
flex-direction: row;
align-items: stretch;
}
.news-card-featured .news-thumb {
width: 42%;
flex: 0 0 42%;
height: 320px;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
border-right: 1px solid transparent;
object-position: center;
}
.news-content-featured {
padding: 28px;
justify-content: center;
}
.news-title-featured {
font-size: 24px;
}
.news-thumb {
width: 100%;
height: 200px;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
border-bottom: 1px solid transparent;
display: block;
}
.news-content {
padding: 20px;
display: flex;
flex-direction: column;
flex: 1;
}
.news-date {
font-size: 12px;
color: var(--text-faint);
font-weight: 600;
margin-bottom: 6px;
text-transform: uppercase;
letter-spacing: 0.05em;
}
.news-title {
font-size: 18px;
font-weight: 800;
margin: 0 0 10px;
line-height: 1.3;
color: var(--text);
}
.news-excerpt {
font-size: 14px;
line-height: 1.6;
color: var(--text-soft);
margin: 0 0 16px;
}
.cricbook-pagination {
display: flex;
flex-wrap: wrap;
gap: 8px;
margin-top: 28px;
}
.cricbook-pagination .page-numbers {
display: inline-flex;
align-items: center;
justify-content: center;
min-width: 38px;
height: 38px;
padding: 0 12px;
border: 1px solid var(--line);
border-radius: 8px;
background: var(--surface);
color: var(--text);
font-size: 14px;
font-weight: 700;
text-decoration: none;
}
.cricbook-pagination .page-numbers.current,
.cricbook-pagination .page-numbers:hover {
background: var(--primary);
border-color: var(--primary);
color: #fff;
} .article-hero {
position: relative;
color: #fff;
}
.article-hero__inner {
position: relative;
min-height: min(42vh, 400px);
max-height: min(52vh, 520px);
overflow: hidden;
display: flex;
align-items: flex-end;
padding: 72px 0 56px;
background: linear-gradient(135deg, #0b1a2c 0%, #18314d 50%, #243e5c 100%);
}
.article-hero__inner--plain {
min-height: 280px;
max-height: none;
}
.article-hero__img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: contain;
object-position: center center;
z-index: 0;
}
.article-hero__scrim {
position: absolute;
inset: 0;
z-index: 1;
background: linear-gradient(0deg, rgba(8, 17, 28, 0.96) 0%, rgba(8, 17, 28, 0.55) 45%, rgba(8, 17, 28, 0.35) 100%);
pointer-events: none;
}
.article-hero__content {
position: relative;
z-index: 2;
width: 100%;
}
.article-hero__body {
margin-top: 20px;
max-width: 900px;
padding: 24px 28px;
border-radius: 16px;
background: rgba(5, 10, 18, 0.36);
backdrop-filter: blur(2px);
}
.article-hero__title {
font-size: clamp(32px, 4vw, 48px);
font-weight: 800;
line-height: 1.1;
margin: 0 0 16px;
max-width: 900px;
}
.article-hero__meta {
display: flex;
gap: 16px;
font-size: 14px;
font-weight: 600;
opacity: 0.88;
}
@media (max-width: 800px) {
.news-card-featured {
flex-direction: column !important;
}
.news-card-featured .news-thumb {
width: 100% !important;
height: 220px !important;
flex-basis: auto !important;
}
.article-layout {
grid-template-columns: 1fr !important;
}
.article-hero__inner {
min-height: 220px;
max-height: min(40vh, 340px);
padding: 48px 0 36px;
}
.article-hero__body {
margin-top: 14px;
padding: 14px 16px;
border-radius: 12px;
}
} .contact-layout {
display: grid;
grid-template-columns: 1fr 400px;
gap: 32px;
align-items: start;
}
.contact-address-acf p {
margin: 0 0 12px;
}
.contact-address-acf p:last-child {
margin-bottom: 0;
}
.contact-address-acf a {
color: var(--primary);
font-weight: 600;
}
@media (max-width: 992px) {
.contact-layout {
grid-template-columns: 1fr;
}
}
.form-group {
margin-bottom: 20px;
}
.form-label {
display: block;
font-size: 14px;
font-weight: 700;
color: var(--text);
margin-bottom: 6px;
}
.form-control {
width: 100%;
padding: 12px 16px;
border: 1px solid var(--line);
border-radius: 8px;
font-size: 14px;
font-family: inherit;
background: var(--surface-soft);
color: var(--text);
outline: none;
transition: border-color 0.2s, box-shadow 0.2s;
box-sizing: border-box;
}
.form-control:focus {
border-color: var(--primary);
box-shadow: 0 0 0 3px var(--primary-soft);
}
textarea.form-control {
resize: vertical;
min-height: 120px;
}
.contact-info-item {
display: flex;
gap: 16px;
margin-bottom: 28px;
}
.ci-icon {
width: 48px;
height: 48px;
border-radius: 12px;
background: var(--primary-soft);
color: var(--primary);
display: grid;
place-items: center;
flex-shrink: 0;
}
.ci-text h4 {
font-size: 15px;
font-weight: 800;
margin: 0 0 4px;
color: var(--text);
}
.ci-text p {
font-size: 14px;
color: var(--text-soft);
margin: 0;
line-height: 1.5;
} .officials-grid {
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
gap: 24px;
margin-bottom: 40px;
}
@media (max-width: 1300px) {
.officials-grid {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
}
@media (max-width: 1024px) {
.officials-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
}
@media (max-width: 768px) {
.officials-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 16px;
}
}
@media (max-width: 520px) {
.officials-grid {
grid-template-columns: 1fr;
}
}
.official-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
padding: 24px;
text-align: center;
transition: transform 0.25s, box-shadow 0.25s;
}
.official-card:hover {
transform: translateY(-3px);
box-shadow: var(--shadow-md);
}
.official-role {
display: inline-block;
background: var(--primary-soft);
color: var(--primary);
font-size: 11px;
font-weight: 800;
padding: 4px 12px;
border-radius: 20px;
margin-bottom: 16px;
text-transform: uppercase;
letter-spacing: 0.04em;
}
.official-avatar {
width: 100%;
max-width: 120px;
aspect-ratio: 4 / 5;
height: auto;
border-radius: 12px;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
display: block;
margin: 0 auto 12px;
border: 3px solid var(--line);
}
.official-avatar-placeholder {
width: 100%;
max-width: 120px;
aspect-ratio: 4 / 5;
height: auto;
border-radius: 12px;
background: var(--surface-soft);
border: 3px solid var(--line);
display: grid;
place-items: center;
margin: 0 auto 12px;
color: var(--text-faint);
}
.official-name {
font-size: 15px;
font-weight: 800;
margin: 0 0 4px;
color: var(--text);
}
.official-date {
font-size: 12px;
color: var(--text-faint);
font-weight: 500;
} .download-btn {
display: inline-flex;
align-items: center;
gap: 6px;
background: var(--primary);
color: #fff;
padding: 8px 16px;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
text-decoration: none;
transition: background 0.2s, transform 0.2s;
white-space: nowrap;
}
.download-btn:hover {
background: var(--primary-dark);
transform: translateY(-1px);
} .teams-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 20px;
}
.team-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
padding: 24px;
text-align: center;
text-decoration: none;
color: inherit;
transition: transform 0.25s, box-shadow 0.25s;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: var(--shadow-sm);
}
.team-card:hover {
transform: translateY(-4px);
box-shadow: var(--shadow-md);
border-color: var(--primary);
}
.team-card-logo {
width: 80px;
height: 80px;
border-radius: 50%;
overflow: hidden;
margin-bottom: 16px;
border: 2px solid var(--line);
background: var(--surface-soft);
}
.team-card-logo img {
width: 100%;
height: 100%;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
}
.team-card-logo-fallback {
width: 100%;
height: 100%;
display: grid;
place-items: center;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
color: #fff;
font-size: 24px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.team-card-logo-fallback.is-hidden {
display: none;
}
.team-card-info {
margin-bottom: 16px;
}
.team-card-name {
font-size: 18px;
font-weight: 800;
margin: 0 0 6px;
color: var(--text);
}
.team-card-meta {
font-size: 13px;
color: var(--text-soft);
}
.team-card-stats {
width: 100%;
padding-top: 16px;
border-top: 1px solid var(--line);
display: flex;
justify-content: space-between;
align-items: center;
}
.team-card-record {
font-size: 13px;
font-weight: 700;
color: var(--text);
}
.team-hero {
background: linear-gradient(135deg, #0f172a, #1e293b);
color: #fff;
padding: 32px 0 0;
margin-bottom: 24px;
}
.team-hero-inner {
display: flex;
gap: 24px;
align-items: center;
padding-bottom: 32px;
}
.team-hero-logo {
width: 120px;
height: 120px;
border-radius: 50%;
border: 4px solid rgba(255, 255, 255, 0.1);
overflow: hidden;
background: #fff;
flex-shrink: 0;
}
.team-hero-logo img {
width: 100%;
height: 100%;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
}
.team-hero-info {
flex: 1;
}
.team-hero-name {
font-size: 32px;
font-weight: 800;
margin: 0 0 12px;
line-height: 1.1;
}
.team-hero-badges {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 16px;
}
.team-hero-season {
display: flex;
align-items: center;
gap: 12px;
}
.back-link {
display: inline-block;
color: rgba(255,255,255,0.7);
font-size: 13px;
font-weight: 600;
margin-bottom: 20px;
text-decoration: none;
transition: color 0.2s;
}
.back-link:hover {
color: #fff;
} .player-link {
display: flex;
align-items: center;
gap: 12px;
text-decoration: none;
color: var(--text);
font-weight: 700;
}
.player-link:hover {
color: var(--primary);
}
.player-mini-avatar {
width: 32px;
height: 32px;
border-radius: 50%;
object-fit: contain;
background: linear-gradient(135deg, #0b0f14 0%, #2a1015 52%, #8b1a1a 100%);
border: 1px solid transparent;
}
.role-badge {
font-size: 11px;
font-weight: 700;
padding: 4px 10px;
border-radius: 20px;
text-transform: uppercase;
letter-spacing: 0.04em;
display: inline-block;
}
.role-bat { background: #e0f2fe; color: #0284c7; }
.role-bowl { background: #dcfce7; color: #16a34a; }
.role-ar { background: #fef08a; color: #a16207; }
.role-wk { background: #f3e8ff; color: #9333ea; }
.player-hero {
background: linear-gradient(135deg, #15263a 0%, var(--primary-dark) 52%, var(--primary) 100%);
color: #fff;
padding: 32px 0 0;
margin-bottom: 32px;
position: relative;
overflow: hidden;
}
.player-hero::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(120deg, rgba(255,255,255,0.08), transparent 44%);
opacity: 1;
}
.player-hero-inner {
display: flex;
gap: 32px;
align-items: center;
padding-bottom: 32px;
position: relative;
z-index: 2;
}
.player-hero-avatar {
width: 140px;
height: 140px;
border-radius: 50%;
border: 4px solid #fff;
overflow: hidden;
background: #fff;
flex-shrink: 0;
color: var(--primary);
display: grid;
place-items: center;
font-size: 52px;
font-weight: 900;
}
.player-hero-avatar img {
width: 100%;
height: 100%;
object-fit: contain;
background: linear-gradient(135deg, #0f1b2d 0%, #15304a 52%, #8b1a1a 100%);
}
.player-hero-info {
flex: 1;
}
.player-hero-name {
font-size: 36px;
font-weight: 800;
margin: 0 0 8px;
line-height: 1.1;
}
.player-hero-meta {
margin-bottom: 20px;
}
.player-team {
display: inline-flex;
align-items: center;
gap: 6px;
background: rgba(255,255,255,0.1);
border: 1px solid rgba(255,255,255,0.2);
padding: 6px 12px;
border-radius: 6px;
font-size: 14px;
font-weight: 700;
}
.player-hero-details {
display: flex;
gap: 32px;
border-top: 1px solid rgba(255,255,255,0.1);
padding-top: 20px;
}
.player-detail-item {
display: flex;
flex-direction: column;
gap: 4px;
}
.detail-label {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 0.05em;
opacity: 0.6;
font-weight: 600;
}
.detail-value {
font-size: 15px;
font-weight: 700;
}
.player-profile-page {
padding-top: 4px;
}
.player-error-card,
.player-empty-card {
padding: 24px;
color: #b91c1c;
}
.player-empty-card {
color: var(--text-soft);
}
.player-profile-grid {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 24px;
align-items: start;
}
.player-profile-card-body {
padding: 20px;
}
.player-profile-fields {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 12px;
margin-bottom: 18px;
}
.player-profile-fields div,
.player-team-row {
border: 1px solid var(--line);
border-radius: 10px;
padding: 12px;
background: var(--surface-soft);
}
.player-profile-fields span,
.player-team-row span {
display: block;
color: var(--text-soft);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.04em;
text-transform: uppercase;
margin-bottom: 5px;
}
.player-profile-fields strong,
.player-team-row strong {
display: block;
color: var(--text);
font-size: 14px;
line-height: 1.45;
}
.player-team-row + .player-team-row {
margin-top: 10px;
}
.player-bio {
color: var(--text);
line-height: 1.7;
font-size: 15px;
}
.player-muted {
margin: 0;
color: var(--text-soft);
line-height: 1.6;
}
.player-section {
margin-top: 8px;
}
.section-heading {
display: flex;
justify-content: space-between;
align-items: flex-end;
gap: 16px;
margin: 22px 0 14px;
}
.section-heading h2 {
margin: 0;
font-size: 22px;
line-height: 1.2;
}
.section-heading span {
color: var(--text-soft);
font-size: 13px;
font-weight: 700;
}
.player-stat-card {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
overflow: hidden;
margin-bottom: 18px;
}
.player-stats-table th,
.player-stats-table td {
white-space: nowrap;
}
.player-stats-table .overall-row td {
background: #fff8f8;
}
.player-details-panel {
background: var(--surface);
border: 1px solid var(--line);
border-radius: var(--radius-md);
box-shadow: var(--shadow-sm);
padding: 0;
margin-bottom: 18px;
overflow: hidden;
}
.player-details-panel > summary {
list-style: none;
cursor: pointer;
padding: 14px 18px;
font-weight: 800;
color: var(--text);
background: var(--surface-soft);
border-bottom: 1px solid var(--line);
}
.player-details-panel > summary::-webkit-details-marker {
display: none;
}
.player-details-panel > summary::after {
content: '+';
float: right;
color: var(--primary);
font-size: 18px;
line-height: 1;
}
.player-details-panel[open] > summary::after {
content: '-';
}
.player-details-panel .player-stat-card {
margin: 18px;
}
.player-event-group {
padding-top: 2px;
}
.player-event-group h3 {
font-size: 16px;
margin: 18px 18px 0;
}
@media (max-width: 900px) {
.player-hero-inner,
.player-hero-details {
flex-direction: column;
align-items: flex-start;
}
.player-hero-details {
gap: 14px;
}
.player-profile-grid {
grid-template-columns: 1fr;
}
.player-profile-fields {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.player-hero-name {
font-size: 28px;
}
.section-heading {
align-items: flex-start;
flex-direction: column;
gap: 6px;
}
}