.wcl {
    --wcl-blue: #25a9e0;
    --wcl-blue-d: #1786bb;
    --wcl-navy: #0d2f4a;
    --wcl-gold: #f7c948;
    --wcl-gold2: #e0a414;
    --wcl-green: #16a34a;
    --wcl-red: #e3344d;
    --wcl-tint: #eaf6fc;
    --wcl-tint2: #d5edf9;
    --wcl-line: #d6ecf8;
    --wcl-ink: #14202c;
    --wcl-mut: #6b7a88;
    color: var(--wcl-ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
}
.wcl, .wcl *, .wcl *::before, .wcl *::after { box-sizing: border-box; }

.wcl-board {
    background: #fff;
    border: 1px solid var(--wcl-line);
    border-top: 4px solid var(--wcl-blue);
    border-radius: 14px;
    box-shadow: 0 14px 34px rgba(13, 47, 74, 0.12);
    margin: 10px 0 18px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}
.wcl-board.is-loading { opacity: .65; transition: opacity .2s; }

/* ===== GRID (table thay bằng grid để theme không can thiệp) ===== */
.wcl-grid { width: 100%; }
.wcl-ghead, .wcl-orow { display: grid; grid-template-columns: 84px minmax(0, 1fr) 88px 88px 88px; align-items: center; }
.wcl-frow { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; }

.wcl-ghead { background: var(--wcl-tint); border-bottom: 2px solid var(--wcl-line); }
.wcl-ghead > div { color: var(--wcl-blue-d); font-size: 12px; font-weight: 800; padding: 10px 6px; text-align: center; }
.wcl-ghead > .wcl-gl { text-align: left; }

.wcl-gdate {
    background: linear-gradient(180deg, var(--wcl-tint), var(--wcl-tint2));
    color: var(--wcl-navy); font-weight: 800; padding: 7px 12px;
}
.wcl-gdate.is-today { background: linear-gradient(180deg, #fff2cf, #ffe29a); }
.wcl-cal { margin-right: 8px; }
.wcl-today-tag { background: var(--wcl-red); color: #fff; border-radius: 999px; font-size: 10px; font-weight: 900; margin-left: 8px; padding: 2px 8px; }

.wcl-orow, .wcl-frow { border-bottom: 1px solid #eef5fa; overflow: hidden; }
.wcl-orow:hover, .wcl-frow:hover { background: #f6fbfe; }
.wcl-frow.is-live { background: linear-gradient(180deg, #fff6f7, #fff 60%); }
.wcl-orow > div { padding: 9px 6px; }
.wcl-ocell { text-align: center; }

/* time + group */
.wcl-time { text-align: center; padding: 9px 6px; }
.wcl-clock { color: var(--wcl-blue-d); display: block; font-weight: 800; white-space: nowrap; }
.wcl-group {
    background: linear-gradient(180deg, var(--wcl-gold), var(--wcl-gold2));
    border-radius: 999px; color: #4a2d00; display: inline-block;
    font-size: 10px; font-weight: 900; margin-top: 4px; padding: 2px 9px;
}
.wcl-round { background: var(--wcl-tint2); color: var(--wcl-blue-d); }
.wcl-livepill {
    background: var(--wcl-red); border-radius: 999px; color: #fff; display: inline-block;
    font-size: 10px; font-weight: 900; margin-bottom: 3px; padding: 1px 8px;
    animation: wcl-blink 1.2s ease-in-out infinite;
}
@keyframes wcl-blink { 0%,100%{opacity:1} 50%{opacity:.4} }

/* flags */
.wcl-flag { background: #eef3f7; border-radius: 3px; box-shadow: 0 0 0 1px rgba(13,47,74,.12); flex: 0 0 auto; height: 17px; object-fit: cover; width: 24px; }
.wcl-flag-fb { background: radial-gradient(circle at 30% 30%, #fff, #bcd9ea); border-radius: 50%; height: 22px; width: 22px; }

/* odds matchup (stacked) */
.wcl-match { text-align: left; min-width: 0; padding: 9px 6px; }
.wcl-team { align-items: center; display: flex; gap: 8px; min-width: 0; padding: 3px 0; }
.wcl-team + .wcl-team { border-top: 1px dashed #e8f2f8; }
.wcl-team span { font-weight: 700; color: var(--wcl-navy); min-width: 0; overflow-wrap: anywhere; }

/* odds values (interactive) */
.wcl-odds-cell { display: flex; flex-direction: column; gap: 4px; align-items: center; }
.wcl-odd {
    background: linear-gradient(180deg, #eef7fd, #dceefb);
    border: 1px solid rgba(37,169,224,.22); border-radius: 6px;
    color: var(--wcl-navy); cursor: pointer; font-weight: 700;
    width: 100%; max-width: 78px; padding: 3px 6px; outline: none; text-align: center;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.wcl-odd-line { background: linear-gradient(180deg, #fff2cf, #ffe6a3); border-color: rgba(224,164,20,.45); color: #7a5200; }
.wcl-odd:hover { background: var(--wcl-blue); border-color: var(--wcl-blue-d); color: #fff; box-shadow: 0 5px 12px rgba(37,169,224,.4); }
.wcl-odd-line:hover { background: linear-gradient(180deg, #f7c948, #e0a414); color: #3a2600; box-shadow: 0 5px 12px rgba(224,164,20,.4); }
.wcl-odd:active { transform: scale(.93); }
.wcl-odd:focus-visible { box-shadow: 0 0 0 3px rgba(37,169,224,.45); border-color: var(--wcl-blue); }
.wcl-na { color: #b8cdda; }

/* flash realtime */
@keyframes wcl-flash { 0% { background: var(--wcl-gold); border-color: var(--wcl-gold2); color: #3a2600; box-shadow: 0 0 0 3px rgba(247,201,72,.55); } 100% {} }
.wcl-odd.wcl-flash { animation: wcl-flash 1.6s ease; }
@keyframes wcl-flash-red { 0% { background: var(--wcl-red); color: #fff; box-shadow: 0 0 0 4px rgba(227,52,77,.4); } 100% {} }
.wcl-score.wcl-flash, .wcl-caro-sc.wcl-flash { animation: wcl-flash-red 1.8s ease; }

/* fixture match — vs/tỉ số làm tâm, 2 đội cân đối đối xứng (grid 1fr auto 1fr) */
.wcl-vs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; width: min(680px, 100%); margin: 0 auto; padding: 9px 10px; }
.wcl-side { display: flex; align-items: center; gap: 9px; min-width: 0; }
.wcl-home { justify-content: flex-end; text-align: right; }
.wcl-away { justify-content: flex-start; text-align: left; }
.wcl-tn { font-weight: 700; color: var(--wcl-navy); overflow-wrap: anywhere; }
.wcl-mid { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 56px; }

.wcl-score { background: var(--wcl-navy); border-radius: 8px; color: var(--wcl-gold); display: inline-flex; font-size: 15px; font-weight: 900; gap: 3px; justify-content: center; min-width: 50px; padding: 4px 10px; }
.wcl-score i { color: rgba(255,255,255,.45); font-style: normal; }
.wcl-score.is-live { background: var(--wcl-red); color: #fff; }
span.wcl-vs { all: revert; color: var(--wcl-mut); font-weight: 800; }
.wcl-ht { color: var(--wcl-mut); font-size: 11px; }

/* standings — BXH theo bảng (đủ cột) */
.wcl-group-badge { align-items: center; background: linear-gradient(180deg, var(--wcl-gold), var(--wcl-gold2)); border-radius: 8px; color: #4a2d00; display: inline-flex; font-weight: 900; height: 24px; justify-content: center; width: 24px; }
.wcl-gname { font-weight: 700; color: var(--wcl-navy); }
.wcl-st-stage { color: var(--wcl-navy); font-size: 15px; font-weight: 900; padding: 4px 2px 12px; }
.wcl-sttable-wrap { border: 1px solid var(--wcl-line); border-radius: 12px; overflow: hidden; margin: 0 0 16px; box-shadow: 0 6px 16px rgba(13,47,74,.07); }
.wcl-st-cap { align-items: center; background: linear-gradient(118deg, var(--wcl-blue), var(--wcl-blue-d)); color: #fff; display: flex; font-weight: 800; gap: 9px; padding: 9px 12px; }
.wcl-sttable-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wcl-board .wcl-sttable { border-collapse: collapse !important; margin: 0 !important; width: 100% !important; background: #fff; table-layout: auto; }
.wcl-board .wcl-sttable thead th { background: var(--wcl-tint) !important; border: 0 !important; border-bottom: 2px solid var(--wcl-line) !important; color: var(--wcl-blue-d); font-size: 12px; font-weight: 800; padding: 9px 6px !important; text-align: center; white-space: nowrap; }
.wcl-board .wcl-sttable td { background: #fff !important; border: 0 !important; border-bottom: 1px solid #eef5fa !important; color: var(--wcl-navy); font-weight: 600; padding: 8px 6px !important; text-align: center; }
.wcl-board .wcl-sttable tbody tr:last-child td { border-bottom: 0 !important; }
.wcl-board .wcl-sttable tbody tr:hover td { background: #f6fbfe !important; }
.wcl-st-rkc { width: 40px; }
.wcl-st-team { text-align: left !important; min-width: 120px; }
.wcl-st-team-inner { align-items: center; display: flex; gap: 8px; min-width: 0; }
.wcl-st-rank { align-items: center; background: var(--wcl-tint); border-radius: 6px; color: var(--wcl-blue-d); display: inline-flex; font-weight: 900; height: 22px; justify-content: center; min-width: 22px; }
.wcl-st-pts { color: var(--wcl-blue-d); font-weight: 900; }
@media (max-width: 600px) {
    .wcl-board .wcl-sttable .wcl-stm { display: none; }
    .wcl-st-stage { font-size: 14px; }
}

/* footer */
.wcl-foot { align-items: center; background: #f4fbfe; border-top: 1px solid var(--wcl-line); color: var(--wcl-mut); display: flex; gap: 7px; font-size: 11px; padding: 7px 12px; }
.wcl-live-dot { background: var(--wcl-green); border-radius: 50%; height: 8px; width: 8px; animation: wcl-blink 1.4s ease-in-out infinite; }
.wcl-empty { color: var(--wcl-mut); font-weight: 700; padding: 24px; text-align: center; }

/* ===== TABS (1 shortcode tổng hợp) ===== */
.wcl-tabs { width: 100%; }
.wcl-tabnav { display: flex; gap: 7px; flex-wrap: wrap; margin: 0 0 12px; }
.wcl-tabbtn {
    background: var(--wcl-tint); border: 1px solid var(--wcl-line); border-radius: 999px;
    color: var(--wcl-blue-d); cursor: pointer; font-family: inherit; font-size: 13px; font-weight: 800;
    padding: 9px 18px; transition: background .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}
.wcl-tabbtn:hover { background: var(--wcl-tint2); }
.wcl-tabbtn:active { transform: scale(.96); }
.wcl-tabbtn.is-active { background: linear-gradient(180deg, var(--wcl-blue), var(--wcl-blue-d)); border-color: var(--wcl-blue-d); color: #fff; box-shadow: 0 5px 14px rgba(37,169,224,.35); }
.wcl-tabpanel { position: relative; transition: opacity .15s ease; }
.wcl-tabpanel.wcl-tab-loading { opacity: .45; pointer-events: none; }
.wcl-tabpanel .wcl-board { margin-top: 0; }
@media (max-width: 600px) {
    .wcl-tabnav { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
    .wcl-tabnav::-webkit-scrollbar { display: none; }
    .wcl-tabbtn { flex: 0 0 auto; font-size: 12px; padding: 8px 13px; }
}

/* ===== LIVESCORE ===== */
.wcl-live { border-top-color: var(--wcl-red); }
.wcl-live-bar { align-items: center; background: linear-gradient(110deg, #b91c2c, var(--wcl-red)); color: #fff; display: flex; font-size: 13px; font-weight: 900; gap: 9px; letter-spacing: .5px; padding: 10px 14px; }
.wcl-live-pulse { background: #fff; border-radius: 50%; height: 9px; width: 9px; animation: wcl-blink 1s ease-in-out infinite; }

/* ===== CAROUSEL ===== */
.wcl-carousel { border-top: 0; }
.wcl-caro-banner {
    align-items: center; display: flex; gap: 12px;
    background: radial-gradient(circle at 92% 30%, rgba(247,201,72,.35), transparent 45%), linear-gradient(110deg, var(--wcl-navy), var(--wcl-blue-d) 70%, var(--wcl-blue));
    color: #fff; padding: 12px 16px;
}
.wcl-caro-trophy { align-items: center; background: linear-gradient(180deg, var(--wcl-gold), var(--wcl-gold2)); border-radius: 50%; box-shadow: 0 4px 12px rgba(224,164,20,.5), inset 0 0 0 3px rgba(255,255,255,.3); display: inline-flex; flex: 0 0 auto; font-size: 22px; height: 46px; justify-content: center; width: 46px; }
.wcl-caro-bantext { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.wcl-caro-bantext strong { font-size: 20px; font-weight: 900; letter-spacing: .5px; }
.wcl-caro-bantext span { color: rgba(255,255,255,.82); font-size: 12px; font-weight: 600; letter-spacing: 1px; }

.wcl-caro-wrap { position: relative; }
.wcl-caro-track { display: flex; gap: 12px; overflow-x: auto; padding: 14px 48px; scroll-behavior: smooth; scrollbar-width: none; }
.wcl-caro-track::-webkit-scrollbar { display: none; }
.wcl-caro-card { background: #fff; border: 1px solid var(--wcl-line); border-radius: 12px; box-shadow: 0 6px 16px rgba(13,47,74,.08); flex: 0 0 auto; overflow: hidden; width: 210px; }
.wcl-caro-card.is-live { border-color: var(--wcl-red); box-shadow: 0 6px 16px rgba(227,52,77,.18); }
.wcl-caro-head { align-items: center; background: var(--wcl-tint); color: var(--wcl-blue-d); display: flex; font-size: 11px; font-weight: 800; justify-content: space-between; padding: 6px 10px; }
.wcl-caro-body { padding: 10px; }
.wcl-caro-team { align-items: center; display: flex; gap: 8px; padding: 5px 0; }
.wcl-caro-team .wcl-tn { flex: 1 1 auto; }
.wcl-caro-sc { background: var(--wcl-navy); border-radius: 6px; color: var(--wcl-gold); font-weight: 900; min-width: 24px; padding: 1px 7px; text-align: center; }
.wcl-caro-card.is-live .wcl-caro-sc { background: var(--wcl-red); color: #fff; }
.wcl-caro-foot { background: #f6fbfe; border-top: 1px solid var(--wcl-line); color: var(--wcl-mut); font-size: 11px; font-weight: 700; padding: 5px 10px; text-align: center; }
.wcl-caro-nav { align-items: center; background: #fff; border: 1px solid var(--wcl-line); border-radius: 50%; box-shadow: 0 4px 12px rgba(13,47,74,.18); color: var(--wcl-blue-d); cursor: pointer; display: flex; font-size: 22px; height: 38px; justify-content: center; line-height: 1; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; z-index: 2; }
.wcl-caro-nav:hover { background: var(--wcl-blue); border-color: var(--wcl-blue); color: #fff; }
.wcl-caro-prev { left: 8px; }
.wcl-caro-next { right: 8px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .wcl { font-size: 12px; }
    .wcl-ghead, .wcl-orow { grid-template-columns: 60px minmax(0,1fr) 60px 60px 60px; }
    .wcl-frow { grid-template-columns: 70px minmax(0,1fr); }
    .wcl-ghead > div, .wcl-orow > div, .wcl-time, .wcl-match { padding: 8px 3px; }
    .wcl-flag { height: 15px; width: 21px; }
    .wcl-odd { font-size: 11px; padding: 3px 3px; }
    .wcl-vs { gap: 8px; }
    .wcl-score { font-size: 14px; min-width: 42px; padding: 3px 7px; }
    .wcl-groups { grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px; }
}
@media (max-width: 520px) {
    .wcl-side { gap: 6px; }
    .wcl-mid { min-width: 46px; }
    .wcl-caro-bantext strong { font-size: 16px; }
    .wcl-caro-card { width: 168px; }
    .wcl-caro-track { padding: 12px 14px; }
    .wcl-caro-nav { display: none; }
    .wcl-group-teams li { padding: 7px 9px; gap: 6px; }
}
@media (max-width: 400px) {
    .wcl-ghead, .wcl-orow { grid-template-columns: 46px minmax(0,1fr) 52px 52px 52px; }
    .wcl-ghead > div { font-size: 11px; }
    .wcl-groups { grid-template-columns: 1fr; }
}

/* ============ [wc_predict] bảng soi kèo AI ============ */
.wcl-ptable { width: 100%; }
.wcl-phead, .wcl-prow {
    display: grid;
    grid-template-columns: 104px 96px minmax(0,1fr) 92px 108px;
    align-items: center;
}
.wcl-phead { background: var(--wcl-tint); border-bottom: 2px solid var(--wcl-line); }
/* Header dính: bỏ overflow:hidden của board (phá sticky) + bù bo góc; offset theo header theme (Flatsome) */
.wcl-predict { overflow: visible; }
.wcl-predict .wcl-ptable { overflow: visible; }
.wcl-predict .wcl-phead {
    position: sticky; top: var(--wcl-sticky-top, 0px); z-index: 30;
    border-radius: 12px 12px 0 0; box-shadow: 0 3px 8px rgba(13, 47, 74, .07);
}
.wcl-predict .wcl-prow:last-child { border-bottom-left-radius: 12px; border-bottom-right-radius: 12px; }
.wcl-phead > div { color: var(--wcl-blue-d); font-size: 12px; font-weight: 800; padding: 11px 8px; text-align: center; text-transform: uppercase; letter-spacing: .3px; }
.wcl-phead .wcl-pl { text-align: center; }
.wcl-pdate {
    background: linear-gradient(180deg, var(--wcl-tint), var(--wcl-tint2));
    color: var(--wcl-navy); font-weight: 800; padding: 7px 12px; font-size: 13px;
    border-bottom: 1px solid var(--wcl-line);
}
.wcl-pdate.is-today { background: linear-gradient(180deg, #fff2cf, #ffe29a); }
.wcl-prow { border-bottom: 1px solid #eef5fa; transition: background .15s; }
.wcl-prow:hover { background: #f6fbfe; }
.wcl-prow.is-live { background: linear-gradient(180deg, #fff6f7, #fff 60%); }
.wcl-pcol { padding: 10px 8px; text-align: center; }
.wcl-pgroup .wcl-group { white-space: nowrap; }
.wcl-ptime .wcl-clock { font-weight: 800; color: var(--wcl-blue-d); }
.wcl-ptime .wcl-livepill { display: inline-block; margin-bottom: 3px; }
.wcl-pmatch { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.wcl-pmatch .wcl-side { display: flex; align-items: center; gap: 8px; min-width: 0; }
.wcl-pmatch .wcl-home { justify-content: flex-end; }
.wcl-pmatch .wcl-away { justify-content: flex-start; }
.wcl-pmatch .wcl-tn { font-weight: 700; color: var(--wcl-navy); overflow-wrap: anywhere; }
.wcl-pmatch .wcl-mid { min-width: 54px; }
.wcl-podds { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.wcl-oline {
    display: inline-block; background: linear-gradient(180deg, #fff2cf, #ffe6a3);
    border: 1px solid rgba(224,164,20,.45); border-radius: 7px; color: #7a5200;
    font-weight: 800; font-size: 13px; padding: 3px 9px; min-width: 40px;
}
.wcl-podds .wcl-ou { color: var(--wcl-mut); font-size: 11px; font-weight: 700; }
.wcl-ou-short { display: none; }
.wcl-oline-est { cursor: help; }
.wcl-predict-btn {
    display: inline-flex !important; align-items: center; justify-content: center; gap: 4px; cursor: pointer;
    background: linear-gradient(135deg, #6d28d9, #8b5cf6) !important; color: #fff !important;
    border: none !important; border-radius: 999px !important; font-weight: 700 !important; font-size: 11px !important;
    width: auto !important; max-width: 100% !important; min-width: 0 !important; height: auto !important;
    padding: 5px 11px !important; margin: 0 !important; line-height: 1 !important; letter-spacing: 0 !important;
    box-shadow: 0 3px 9px rgba(109,40,217,.3); text-transform: none !important;
    transition: transform .15s, box-shadow .15s, filter .15s; white-space: nowrap; box-sizing: border-box;
}
.wcl-predict-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 14px rgba(109,40,217,.42); filter: brightness(1.06); }
.wcl-predict-btn:active { transform: scale(.96); }
.wcl-pbtn-ic { font-size: 10px; }
.wcl-ftpill { display: inline-block; background: #64748b; color: #fff; border-radius: 999px; font-size: 10px; font-weight: 900; padding: 2px 7px; margin-bottom: 3px; line-height: 1; }
.wcl-prow.is-finished { background: #fafbfc; }
.wcl-prow.is-finished .wcl-tn { color: #51606e; }
.wcl-prow.is-finished .wcl-score { background: linear-gradient(180deg, #e9f7ef, #d6efe0); color: #15803d; }

/* Mobile: GIỮ dạng bảng gọn (mọi cột trên 1 hàng) — vẫn đủ Bảng/Giờ/Trận/Tỉ lệ/Nhận định */
@media (max-width: 560px) {
    .wcl-phead, .wcl-prow { grid-template-columns: 36px 42px minmax(0,1fr) 44px 54px; }
    .wcl-phead > div { font-size: 9px; padding: 8px 2px; letter-spacing: 0; }
    .wcl-pdate { font-size: 12px; padding: 6px 10px; }
    .wcl-pcol { padding: 8px 2px; }
    .wcl-pgroup .wcl-group { font-size: 8px; padding: 2px 4px; }
    .wcl-ptime .wcl-clock { font-size: 11px; }
    .wcl-ptime .wcl-livepill, .wcl-ftpill { font-size: 8px; padding: 1px 4px; }
    .wcl-pmatch { gap: 3px; }
    .wcl-pmatch .wcl-side { gap: 4px; }
    .wcl-pmatch .wcl-tn { font-size: 11px; line-height: 1.15; }
    .wcl-pmatch .wcl-mid { min-width: 32px; }
    .wcl-pmatch .wcl-score { font-size: 12px; padding: 2px 5px; min-width: 30px; }
    .wcl-pmatch .wcl-flag { width: 18px; height: 13px; }
    /* ô kèo mobile: bỏ viền/nền cho gọn (ảnh #21) */
    .wcl-oline { font-size: 12px; padding: 0 !important; min-width: 0; border: 0 !important; background: none !important; box-shadow: none !important; color: #b06f00; font-weight: 800; }
    .wcl-podds .wcl-ou { font-size: 8px; }
    .wcl-ou-long { display: none; }
    .wcl-ou-short { display: inline; }
    .wcl-popt { padding: 6px 3px; }
    .wcl-predict-btn { width: 100% !important; padding: 6px 4px !important; font-size: 10px !important; white-space: normal !important; line-height: 1.15; gap: 0; }
    .wcl-predict-btn .wcl-pbtn-ic { display: none; }
}

/* ============ Popup nhận định AI ============ */
.wcl-pm-overlay {
    position: fixed; inset: 0; z-index: 1000000;
    background: rgba(8, 15, 30, .62); backdrop-filter: blur(3px);
    display: flex; align-items: center; justify-content: center; padding: 16px;
    opacity: 0; transition: opacity .22s ease;
}
.wcl-pm-overlay.is-open { opacity: 1; }
.wcl-pm-overlay[hidden] { display: none; }
.wcl-pm {
    position: relative; width: 100%; max-width: 560px; max-height: 88vh; overflow: hidden;
    background: #fff; border-radius: 18px; display: flex; flex-direction: column;
    box-shadow: 0 24px 60px rgba(0,0,0,.4); transform: translateY(18px) scale(.97);
    transition: transform .26s cubic-bezier(.2,.9,.3,1.2);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.wcl-pm-overlay.is-open .wcl-pm { transform: translateY(0) scale(1); }
.wcl-pm-x {
    position: absolute !important; top: 10px !important; right: 12px !important; z-index: 5 !important; cursor: pointer;
    width: 34px !important; height: 34px !important; min-width: 0 !important; min-height: 0 !important; max-width: 34px !important; max-height: 34px !important;
    margin: 0 !important; padding: 0 !important; border: none !important; border-radius: 50% !important;
    background: rgba(255,255,255,.22) !important; color: #fff !important;
    font-size: 22px !important; font-weight: 400 !important; line-height: 1 !important;
    display: flex !important; align-items: center !important; justify-content: center !important;
    box-shadow: none !important; text-shadow: none !important; text-indent: 0 !important;
}
.wcl-pm-x:hover { background: rgba(255,255,255,.4) !important; }
.wcl-pm-head {
    background: linear-gradient(135deg, #4c1d95, #6d28d9 55%, #7c3aed);
    color: #fff; padding: 16px 18px 14px; text-align: center;
}
.wcl-pm-title { font-size: 13px; font-weight: 800; letter-spacing: .4px; opacity: .95; text-transform: uppercase; }
.wcl-pm-spark { margin-right: 5px; }
.wcl-pm-match { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 9px; font-size: 16px; }
.wcl-pm-team { display: flex; align-items: center; gap: 7px; flex: 1; min-width: 0; }
.wcl-pm-team b { overflow-wrap: anywhere; }
.wcl-pm-team:not(.wcl-pm-team-a) { justify-content: flex-end; }
.wcl-pm-team-a { justify-content: flex-start; }
.wcl-pm-vs { font-size: 12px; font-weight: 900; background: rgba(255,255,255,.18); padding: 4px 9px; border-radius: 999px; flex: 0 0 auto; }
.wcl-pm-meta { margin-top: 6px; font-size: 12px; opacity: .85; }
.wcl-pm-body { padding: 16px 18px 18px; overflow-y: auto; }

/* thinking steps */
.wcl-pm-steps { transition: opacity .18s; }
.wcl-pm-steps.wcl-pm-fade { opacity: 0; }
.wcl-pm-step { display: flex; align-items: center; gap: 10px; padding: 7px 2px; color: var(--wcl-mut); font-size: 14px; opacity: .45; transform: translateY(4px); transition: opacity .25s, transform .25s; }
.wcl-pm-step.is-active { opacity: 1; transform: none; color: var(--wcl-ink); font-weight: 600; }
.wcl-pm-step.is-done { opacity: .7; }
.wcl-pm-dot { width: 16px; height: 16px; flex: 0 0 auto; border-radius: 50%; border: 2px solid #c7b4ee; border-top-color: #6d28d9; animation: wcl-spin .7s linear infinite; }
.wcl-pm-step.is-done .wcl-pm-dot { border: none; animation: none; background: #16a34a; position: relative; }
.wcl-pm-step.is-done .wcl-pm-dot::after { content: "✓"; color: #fff; font-size: 11px; font-weight: 900; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
@keyframes wcl-spin { to { transform: rotate(360deg); } }

/* analysis typing */
.wcl-pm-analysis { }
.wcl-pm-line { display: flex; gap: 9px; align-items: flex-start; padding: 5px 0; animation: wcl-pm-in .25s ease; }
.wcl-pm-bullet { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #ede9fe; color: #6d28d9; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.wcl-pm-ltext { font-size: 14px; line-height: 1.5; color: var(--wcl-ink); }
.wcl-pm-cursor { display: inline-block; width: 7px; height: 15px; background: #6d28d9; margin-left: 2px; vertical-align: -2px; animation: wcl-blink .8s steps(1) infinite; }
@keyframes wcl-blink { 50% { opacity: 0; } }
@keyframes wcl-pm-in { from { opacity: 0; transform: translateY(6px); } }
.wcl-pm-err { color: var(--wcl-red); font-weight: 700; padding: 12px 4px; text-align: center; }

/* result */
.wcl-pm-result { margin-top: 14px; padding-top: 14px; border-top: 1px dashed #e5e0f5; }
.wcl-pm-result.wcl-pm-pop { animation: wcl-pm-pop .4s ease; }
@keyframes wcl-pm-pop { from { opacity: 0; transform: translateY(10px); } }
.wcl-pm-probs { display: flex; flex-direction: column; gap: 9px; }
.wcl-pm-pl { display: flex; justify-content: space-between; font-size: 13px; font-weight: 700; color: var(--wcl-navy); margin-bottom: 3px; }
.wcl-pm-bar { height: 9px; background: #eef0f5; border-radius: 999px; overflow: hidden; }
.wcl-pm-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .9s cubic-bezier(.2,.8,.3,1); }
.wcl-pm-fh { background: linear-gradient(90deg, #2563eb, #3b82f6); }
.wcl-pm-fd { background: linear-gradient(90deg, #94a3b8, #cbd5e1); }
.wcl-pm-fa { background: linear-gradient(90deg, #dc2626, #f87171); }
.wcl-pm-verdict { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.wcl-pm-vbox { flex: 1 1 120px; text-align: center; padding: 12px 8px; border-radius: 12px; background: #f7f6fc; border: 1px solid #ece8f7; }
.wcl-pm-vlabel { display: block; font-size: 11px; font-weight: 700; color: var(--wcl-mut); text-transform: uppercase; letter-spacing: .3px; }
.wcl-pm-vval { display: block; font-size: 16px; font-weight: 800; color: var(--wcl-navy); margin-top: 4px; }
.wcl-pm-vwin { background: linear-gradient(180deg, #ecfdf5, #d1fae5); border-color: #a7f3d0; }
.wcl-pm-vwin .wcl-pm-vval { color: #047857; }
.wcl-pm-score { font-size: 22px !important; letter-spacing: 1px; color: #6d28d9 !important; }
.wcl-pm-disc { margin-top: 14px; font-size: 11.5px; color: var(--wcl-mut); text-align: center; line-height: 1.45; }
.wcl-pm-cached { display: inline-block; background: #ede9fe; color: #6d28d9; border-radius: 4px; padding: 1px 6px; font-weight: 700; }

@media (max-width: 520px) {
    .wcl-pm { border-radius: 14px; max-height: 92vh; }
    .wcl-pm-body { padding: 14px 14px 16px; }
    .wcl-pm-match { font-size: 14px; gap: 8px; }
    .wcl-pm-ltext { font-size: 13.5px; }
    .wcl-pm-result { margin-top: 12px; padding-top: 12px; }
    .wcl-pm-probs { gap: 7px; }
    .wcl-pm-verdict { gap: 6px; margin-top: 12px; }
    /* 3 ô kết quả về 1 hàng cho gọn (thay vì xếp dọc cao) */
    .wcl-pm-vbox { flex: 1 1 0; min-width: 0; padding: 9px 4px; border-radius: 10px; }
    .wcl-pm-vlabel { font-size: 9px; }
    .wcl-pm-vval { font-size: 13px; margin-top: 3px; }
    .wcl-pm-score { font-size: 17px !important; }
    .wcl-pm-disc { margin-top: 10px; font-size: 11px; }
}

/* ===== Bản rút gọn (compact list + "Xem thêm") ===== */
.wcl-cmp .wcl-cmp-list { width: 100%; }
.wcl-cmp-row {
    align-items: center;
    border-bottom: 1px solid var(--wcl-line);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    padding: 9px 12px;
}
.wcl-cmp-row:last-child { border-bottom: 0; }
.wcl-cmp-row.is-live { background: rgba(227, 52, 77, .05); }
.wcl-cmp-row.is-finished .wcl-cmp-date { color: var(--wcl-mut); }

.wcl-cmp-meta {
    align-items: center;
    color: var(--wcl-blue-d);
    display: flex;
    flex: 0 0 auto;
    flex-wrap: wrap;
    font-size: 12px;
    font-weight: 800;
    gap: 6px;
    min-width: 104px;
}
.wcl-cmp-date.is-today { color: var(--wcl-red); }
.wcl-cmp-time { color: var(--wcl-navy); }

.wcl-cmp-match {
    align-items: center;
    display: flex;
    flex: 1 1 220px;
    gap: 8px;
    justify-content: center;
    min-width: 0;
}
.wcl-cmp-team { align-items: center; display: flex; flex: 1 1 0; gap: 6px; min-width: 0; }
.wcl-cmp-team.wcl-cmp-h { justify-content: flex-end; text-align: right; }
.wcl-cmp-team.wcl-cmp-a { justify-content: flex-start; text-align: left; }
.wcl-cmp-team .wcl-tn { font-weight: 700; color: var(--wcl-navy); overflow-wrap: anywhere; }
.wcl-cmp-mid { flex: 0 0 auto; text-align: center; }

/* odds rút gọn: đội xếp dọc + ô kèo chấp */
.wcl-cmp-orow { align-items: center; }
.wcl-cmp-omatch { display: flex; flex: 1 1 200px; flex-direction: column; gap: 3px; min-width: 0; }
.wcl-cmp-omatch .wcl-cmp-team { flex: 0 0 auto; justify-content: flex-start; }
.wcl-cmp-odds { align-items: center; display: flex; flex: 0 0 auto; gap: 8px; margin-left: auto; }
.wcl-cmp-otag {
    background: linear-gradient(180deg, var(--wcl-gold), var(--wcl-gold2));
    border-radius: 6px; color: #3a2600; font-size: 11px; font-weight: 800; padding: 2px 8px;
}
.wcl-cmp-ocell .wcl-odds-cell { justify-content: flex-end; }

/* nút Xem thêm */
.wcl-cmp-more { padding: 12px; text-align: center; }
.wcl-more-btn {
    background: linear-gradient(180deg, var(--wcl-blue), var(--wcl-blue-d));
    border: 0; border-radius: 999px; color: #fff; cursor: pointer;
    font-size: 13px; font-weight: 800; padding: 9px 24px;
    transition: transform .12s, box-shadow .12s, opacity .12s;
}
.wcl-more-btn:hover { box-shadow: 0 8px 18px rgba(37, 169, 224, .4); transform: translateY(-1px); }
.wcl-more-btn.is-loading { opacity: .65; pointer-events: none; }
.wcl-more-n { font-weight: 600; opacity: .85; }

@media (max-width: 560px) {
    .wcl-cmp-row { gap: 4px 8px; padding: 9px 10px; }
    .wcl-cmp-meta { flex: 1 0 100%; min-width: 0; }
    .wcl-cmp-match { flex: 1 1 100%; }
    .wcl-cmp-omatch { flex: 1 1 60%; }
    .wcl-cmp-odds { margin-left: auto; }
    .wcl-cmp-team .wcl-tn { font-size: 13px; }
}

/* ===================================================================== */
/*  [wc_fixtures] — Khối 3 tab: Xem theo ngày / bảng / vòng loại trực tiếp */
/* ===================================================================== */
.wcl-fixtures-wrap {
    --fx-blue: #0a2c73;
    --fx-blue-2: #0d357f;
    --fx-red: #e01a2b;
    --fx-line: #e6e9f0;
    background: var(--fx-blue);
    border-radius: 10px;
    padding: 14px;
    color: #fff;
    box-sizing: border-box;
}
.wcl-fixtures-wrap * { box-sizing: border-box; }
/* Board bên trong kế thừa nền trắng mặc định -> ẩn tiêu đề trắng của bracket. Ép trong suốt. */
.wcl-fx-board {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0;
    overflow: visible;
}

/* --- Thanh trên: tab + chọn đội --- */
.wcl-fx-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.wcl-fx-tabs {
    display: inline-flex;
    background: #fff;
    border-radius: 8px;
    padding: 5px;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
.wcl-fx-tab {
    border: 1px solid transparent;
    background: transparent;
    color: #2a2f3a;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .2px;
}
.wcl-fx-tab.is-active { border-color: var(--fx-red); color: var(--fx-red); }
.wcl-fx-tab:hover { color: var(--fx-red); }

.wcl-fx-teamsel select {
    background: #fff;
    color: #2a2f3a;
    border: 1px solid #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 600;
    min-width: 190px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.wcl-fx-note {
    text-align: right;
    font-size: 11px;
    font-style: italic;
    color: rgba(255, 255, 255, .6);
    margin: 6px 2px 10px;
}

/* --- Panel --- */
.wcl-fx-panel { display: none; }
.wcl-fx-panel.is-active { display: block; }
.wcl-fixtures-wrap .wcl-empty {
    background: rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 22px;
    text-align: center;
    color: #fff;
}
.wcl-fx-nomatch {
    background: rgba(255, 255, 255, .08);
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, .85);
    font-size: 13px;
}

/* --- Tab 1: theo ngày --- */
.wcl-fx-dayhead {
    background: var(--fx-blue-2);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    padding: 9px 12px;
    border-radius: 6px;
    margin: 12px 0 8px;
    text-transform: uppercase;
    letter-spacing: .3px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.wcl-fx-dayhead.is-today { background: var(--fx-red); }
.wcl-fx-dayhead .wcl-today-tag {
    background: #fff; color: var(--fx-red); font-size: 10px; font-weight: 800;
    padding: 2px 7px; border-radius: 10px; margin-left: 8px; vertical-align: middle;
}
.wcl-fx-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.wcl-fxc {
    background: #fff;
    color: #1c2431;
    border-radius: 8px;
    padding: 10px 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
}
.wcl-fxc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: #8a90a0;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.wcl-fxc-grp { color: #3a4152; }
.wcl-fxc-body { display: flex; align-items: center; gap: 8px; }
.wcl-fxc-teams { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wcl-fxc-team { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.wcl-fxc-team b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcl-fxc-team .wcl-flag { flex: 0 0 auto; width: 22px; height: 16px; border-radius: 2px; }
.wcl-fxc-meta { flex: 0 0 auto; text-align: right; }
.wcl-fxc-time { font-size: 18px; font-weight: 800; color: #121823; line-height: 1.1; }
.wcl-fxc-date {
    display: inline-block; margin-top: 4px;
    background: var(--fx-red); color: #fff; font-size: 10px; font-weight: 700;
    padding: 2px 7px; border-radius: 4px;
}
.wcl-fxc-foot {
    margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--fx-line);
    font-size: 12px; font-weight: 600; color: #5a6172; display: flex; align-items: center; gap: 6px;
}
.wcl-fxdot { width: 7px; height: 7px; border-radius: 50%; background: var(--fx-red); flex: 0 0 auto; }
.wcl-fxc-foot.is-live .wcl-fxdot, .wcl-fxr-status.is-live .wcl-fxdot { animation: wcl-fxpulse 1s infinite; }
@keyframes wcl-fxpulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* --- Tab 2: theo bảng --- */
.wcl-fx-chips-wrap { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.wcl-fx-chips {
    display: flex; gap: 8px; overflow-x: auto; scroll-behavior: smooth;
    flex: 1 1 auto; padding: 2px; scrollbar-width: none;
}
.wcl-fx-chips::-webkit-scrollbar { display: none; }
.wcl-fx-chip {
    flex: 0 0 auto; background: #fff; color: #2a2f3a; border: 2px solid #fff;
    border-radius: 20px; padding: 8px 16px; font-weight: 700; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.wcl-fx-chip.is-active { border-color: var(--fx-red); color: var(--fx-red); }
.wcl-fx-chevron {
    flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%;
    border: none; background: rgba(255, 255, 255, .16); color: #fff;
    font-size: 20px; line-height: 1; cursor: pointer;
}
.wcl-fx-chevron:hover { background: rgba(255, 255, 255, .28); }

.wcl-fx-grpsec { display: none; background: #fff; color: #1c2431; border-radius: 8px; overflow: hidden; }
.wcl-fx-grpsec.is-active { display: block; }
.wcl-fx-grpcap {
    text-align: right; font-weight: 800; color: var(--fx-red);
    padding: 10px 14px 4px; text-transform: uppercase; font-size: 13px;
}
.wcl-fxr {
    display: flex; align-items: center; gap: 8px;
    padding: 12px 14px; border-top: 1px solid var(--fx-line);
}
.wcl-fxr:first-of-type { border-top: none; }
.wcl-fxr-status { flex: 0 0 130px; font-size: 12px; color: #8a90a0; display: flex; align-items: center; gap: 6px; }
.wcl-fxr-status.is-done { color: #5a6172; font-weight: 600; }
.wcl-fxr-soon { color: #a7adba; }
.wcl-fxr-home, .wcl-fxr-away { flex: 1 1 0; display: flex; align-items: center; gap: 8px; min-width: 0; }
.wcl-fxr-home { justify-content: flex-end; text-align: right; }
.wcl-fxr-home b, .wcl-fxr-away b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcl-fxr .wcl-flag { flex: 0 0 auto; width: 22px; height: 16px; border-radius: 2px; }
.wcl-fxr-mid { flex: 0 0 auto; text-align: center; min-width: 76px; }
.wcl-fxr-time { display: block; font-size: 15px; font-weight: 800; color: #121823; }
.wcl-fxr-date {
    display: inline-block; margin-top: 3px; background: #f0f2f6; color: #6a7180;
    font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 4px;
}

/* --- Tab 3: vòng loại trực tiếp (bracket) --- */
.wcl-fx-ko-wrap { display: flex; align-items: stretch; gap: 6px; }
.wcl-fx-ko-scroll { flex: 1 1 auto; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.wcl-fx-ko { display: flex; gap: 14px; align-items: flex-start; min-width: max-content; }
.wcl-fx-ko-col { flex: 0 0 220px; display: flex; flex-direction: column; gap: 12px; }
.wcl-fx-ko-title {
    text-align: center; font-weight: 800; font-size: 13px; color: #fff;
    text-transform: uppercase; letter-spacing: .3px; padding: 6px 0;
    border-bottom: 2px solid rgba(255, 255, 255, .25); margin-bottom: 2px;
}
.wcl-fx-ko-match { background: #fff; color: #1c2431; border-radius: 8px; padding: 10px 12px; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.wcl-fx-ko-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; font-size: 13px; }
.wcl-fx-ko-row + .wcl-fx-ko-row { border-top: 1px dashed #eceef3; }
.wcl-fx-ko-row.is-win { font-weight: 800; }
.wcl-fx-ko-row.is-win .wcl-fx-ko-tn { color: #0a7a2f; }
.wcl-fx-ko-tn { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wcl-fx-ko-ph { color: #9aa0ae; font-style: italic; font-weight: 500; }
.wcl-fx-ko .wcl-flag { flex: 0 0 auto; width: 20px; height: 14px; border-radius: 2px; }
.wcl-flag-ph { background: #e7eaf0; border-radius: 2px; }
.wcl-fx-ko-foot {
    margin-top: 8px; padding-top: 7px; border-top: 1px solid var(--fx-line);
    font-size: 11px; color: #a7adba; display: flex; align-items: center; gap: 6px;
}
.wcl-fx-ko-foot.is-done { color: #5a6172; font-weight: 700; }

/* --- Responsive --- */
@media (max-width: 640px) {
    .wcl-fixtures-wrap { padding: 10px; }
    .wcl-fx-topbar { gap: 8px; }
    .wcl-fx-tab { padding: 7px 9px; font-size: 11px; }
    .wcl-fx-teamsel select { min-width: 0; width: 100%; }
    .wcl-fx-teamsel { flex: 1 1 100%; }
    .wcl-fx-note { text-align: left; }
    .wcl-fx-cards { grid-template-columns: 1fr; }
    .wcl-fxr-status { flex-basis: 58px; font-size: 11px; }
    .wcl-fxr-st { display: none; } /* ẩn "(Kết thúc)" trên mobile, chỉ còn tỉ số */
    .wcl-fxr-mid { min-width: 52px; }
    .wcl-fxr-home b, .wcl-fxr-away b { font-size: 12px; }
    .wcl-fxc-team { font-size: 13px; }
}
