/* ─── World Cup 2026 supplement — layered on football.ae's football.css ─── */

/* Scroll-reveal: cards default VISIBLE (fail-safe); JS hides off-screen ones, removes the
   class as they scroll in → the transition fades them up. Resting state is always visible. */
.wc-reveal { transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1); }
.wc-reveal.wc-hidden { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .wc-reveal { transition: none; } .wc-reveal.wc-hidden { opacity: 1; transform: none; } }

/* Disable double-tap / pinch zoom on mobile */
html { touch-action: manipulation; -ms-touch-action: manipulation; }
* { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Wider canvas than the 640px league site so 12 groups can breathe on desktop */
.container { max-width: 1080px; }
.wc-narrow { max-width: 680px; margin: 0 auto; }

/* Light header & footer matching the logo background (#f2f2f2), logo centered top */
.wc-header {
  background: #f2f2f2;
  color: var(--text);
  box-shadow: inset 0 -1px 0 var(--border);
  padding: 0.85rem 0;
}
.wc-header-inner {
  position: relative; display: flex; align-items: center; justify-content: center; min-height: 52px;
}
.wc-logo-link { display: inline-flex; }
.wc-logo { height: 56px; width: auto; display: block; }
@media (min-width: 640px)  { .wc-logo { height: 72px; } }
@media (min-width: 1080px) { .wc-logo { height: 84px; } }

/* Right-side header cluster: subscribe icon + language toggle */
.wc-header-actions {
  position: absolute; inset-inline-end: 0.6rem; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; gap: 0.45rem;
}
.wc-lang {
  position: static; transform: none; inset-inline-end: auto; top: auto;
  background: #fff; color: var(--primary); border: 1.5px solid var(--border);
}
.wc-lang:hover { background: var(--bg); border-color: var(--accent-muted); }
.wc-sub-btn {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%; background: #fff; border: 1.5px solid var(--border);
  color: var(--accent); cursor: pointer; transition: border-color 0.15s, background 0.15s;
}
.wc-sub-btn:hover { background: var(--bg); border-color: var(--accent-muted); }
.wc-sub-btn[hidden] { display: none; }
.wc-sub-btn .wc-ic { width: 1.2rem; height: 1.2rem; }
/* Subscribe panel (modal) */
.wc-modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(10,10,26,0.55); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.wc-modal {
  position: relative; width: min(420px, 100%); box-sizing: border-box; text-align: center;
  background: var(--card-bg); border-radius: 20px; box-shadow: 0 20px 60px rgba(0,0,0,0.32); padding: 1.7rem 1.4rem 1.4rem;
}
.wc-modal-x { position: absolute; top: 0.7rem; inset-inline-end: 0.9rem; background: none; border: 0; font-size: 1.1rem; color: var(--text-secondary); cursor: pointer; line-height: 1; }
.wc-modal-ic { display: inline-flex; width: 58px; height: 58px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); margin-bottom: 0.7rem; }
.wc-modal-ic .wc-ic { width: 1.8rem; height: 1.8rem; }
.wc-modal-title { font-size: 1.25rem; font-weight: 900; color: var(--primary); margin: 0 0 0.55rem; }
.wc-modal-text { font-size: 0.9rem; font-weight: 500; line-height: 1.6; color: var(--text-secondary); margin: 0 0 1.2rem; }
.wc-modal-cta { margin: 0 auto; max-width: 320px; }
.wc-modal-steps { font-size: 0.8rem; font-weight: 700; color: var(--text); margin: 0.85rem 0 0; }
.wc-modal-note { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); margin: 0.5rem 0 0; line-height: 1.5; }
/* Add-to-calendar app picker */
.wc-cal-modal { max-height: 92vh; overflow-y: auto; text-align: center; }
.wc-cal-flag { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 0.7rem; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border), 0 3px 10px rgba(0,0,0,0.15); }
.wc-cal-apps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 0.7rem; margin: 1.3rem 0 0.4rem; }
.wc-cal-app { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; min-width: 0; }
.wc-cal-badge { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border); box-shadow: 0 3px 12px rgba(0,0,0,0.12); }
.wc-cal-logo { width: 32px; height: 32px; display: block; }
.wc-cal-name { font-weight: 800; font-size: 0.92rem; color: var(--text); }
.wc-cal-langs { display: flex; flex-direction: column; gap: 0.4rem; width: 100%; }
.wc-cal-lang { text-decoration: none; text-align: center; font-family: inherit; font-weight: 800; font-size: 0.74rem; padding: 0.4rem 0.3rem; border-radius: 999px; border: 1.5px solid var(--border); color: var(--text); background: var(--card-bg); white-space: nowrap; }
.wc-cal-lang.primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.wc-cal-lang:hover { border-color: var(--accent-muted); }
.wc-cal-how { margin-top: 1.2rem; background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: 0.85rem 0.95rem; font-size: 0.8rem; font-weight: 600; line-height: 1.55; color: var(--text-secondary); text-align: start; }
.wc-cal-how b { color: var(--text); font-weight: 800; }

/* Small "times shown in <zone>" indicator on the leading side of the header */
.wc-tz-pill {
  position: absolute; inset-inline-start: 0.6rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: flex-start; gap: 1px;
  background: none; border: 0; padding: 2px 4px; cursor: pointer;
  line-height: 1.15; text-align: start; max-width: 38vw;
}
/* RTL: keep both lines hugging the inline-start (right) edge, right-aligned */
[dir="rtl"] .wc-tz-pill { align-items: flex-start; text-align: right; }
.wc-tz-pill-cap { font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3px; color: var(--text-secondary); opacity: 0.85; }
.wc-tz-pill-zone { font-size: 0.78rem; font-weight: 800; color: var(--accent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.wc-tz-pill:hover .wc-tz-pill-zone { text-decoration: underline; }

/* ─── Inline SVG icon sizing (clean line icons, replacing emoji) ─── */
.wc-ic { width: 1.05em; height: 1.05em; flex: 0 0 auto; vertical-align: -0.16em; }
.wc-time-badge .wc-ic { width: 0.95rem; height: 0.95rem; }
.match-capsule .wc-ic { width: 1.12rem; height: 1.12rem; }
.wc-cap-flag { width: 19px; height: 19px; border-radius: 50%; object-fit: cover; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(0,0,0,0.1); }
.wc-group-hosts .wc-ic { width: 22px; height: 22px; }
.wc-stage-title .wc-ic { width: 1.15rem; height: 1.15rem; }
.wc-tz-label .wc-ic { width: 0.92rem; height: 0.92rem; }
.wc-settings-ico { display: inline-flex; }
.wc-settings-ico .wc-ic { width: 1.3rem; height: 1.3rem; }
.wc-cal-toggle > .wc-ic { width: 1.25rem; height: 1.25rem; }
/* Corner buttons: larger + solid black */
.wc-cal-corner, .wc-share-corner { color: #111; opacity: 1; }
.wc-cal-corner .wc-ic, .wc-share-corner .wc-ic { width: 23px; height: 23px; vertical-align: 0; }
.wc-cal-corner .wc-ic, .wc-share-corner .wc-ic { stroke-width: 1.9; }
.wc-cal-all { display: inline-flex; align-items: center; gap: 0.45rem; }
.wc-cal-all .wc-ic { width: 1.2rem; height: 1.2rem; }

.wc-footer { background: #f2f2f2; color: var(--text-secondary); box-shadow: inset 0 1px 0 var(--border); }
.wc-footer .footer-inner { color: var(--text-secondary); }
.wc-footer .footer-inner p { color: var(--text-secondary); font-weight: 600; }
.wc-footer .last-updated { color: var(--text-secondary); opacity: 0.8; }
.wc-credit { margin-top: 0.2rem; }
.wc-credit a { color: var(--accent); font-weight: 700; font-size: 0.78rem; text-decoration: none; }
.wc-credit a:hover { text-decoration: underline; }

/* Sticky header+nav as one bar; logo shrinks on scroll */
.wc-topbar { position: sticky; top: 0; z-index: 100; }
.wc-topbar .nav { position: static; }
.wc-header { transition: padding 0.2s ease, box-shadow 0.2s ease; }
.wc-logo { transition: height 0.2s ease; }
.wc-topbar.shrink .wc-header { padding: 0.3rem 0; box-shadow: inset 0 -1px 0 var(--border), 0 4px 14px rgba(0,0,0,0.06); }
.wc-topbar.shrink .wc-header .wc-logo { height: 36px; }
@media (min-width: 640px) { .wc-topbar.shrink .wc-header .wc-logo { height: 42px; } }

/* Clickable flags / teams → country page */
.wc-clickable { cursor: pointer; }
.wc-team-cell.wc-clickable:hover .wc-team-name { color: var(--accent); }
img.wc-clickable { transition: transform 0.12s ease; }
img.wc-clickable:hover { transform: scale(1.08); }
.team.wc-clickable:hover .team-name { color: var(--accent); }

/* Host-country flags in the group header */
.wc-group-hosts { display: inline-flex; align-items: center; gap: 0.3rem; font-size: 0.78rem; opacity: 0.95; }
.wc-host-flag {
  width: 22px; height: 22px; border-radius: 50%; object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85); box-shadow: 0 1px 3px rgba(0,0,0,0.25); background: #eee;
}

/* Country page */
.wc-back {
  display: inline-flex; align-items: center; gap: 0.35rem; font-family: inherit;
  background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.45rem 1rem; font-size: 0.85rem; font-weight: 800; color: var(--accent);
  cursor: pointer; margin-bottom: 1rem; box-shadow: var(--shadow); transition: all 0.15s;
}
.wc-back:hover { border-color: var(--accent-muted); background: var(--accent-soft); }
/* Keep chevron glyphs from being bidi-mirrored in the Arabic (RTL) UI */
.wc-arrow { display: inline-block; direction: ltr; unicode-bidi: isolate; }
.wc-back .wc-arrow { font-size: 1.1rem; line-height: 1; }
.wc-team-hero {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.5rem 1rem; margin-bottom: 1.3rem;
}
.wc-team-hero-flag {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover;
  border: 3px solid #fff; box-shadow: 0 3px 14px rgba(0,0,0,0.2), 0 0 0 1px var(--border);
}
.wc-team-hero-name { font-size: 1.6rem; font-weight: 800; color: var(--primary); }
.wc-team-hero-group { font-size: 0.85rem; font-weight: 800; color: var(--accent); text-transform: uppercase; letter-spacing: 0.5px; }
/* Tappable stadium chip on match cards → stadium page */
.wc-venue-link { font-family: inherit; cursor: pointer; }
.wc-venue-link:hover { color: var(--accent); }
/* Stadium page hero */
.wc-venue-img { width: 100%; aspect-ratio: 1915 / 821; object-fit: cover; border-radius: 14px; display: block; box-shadow: 0 2px 12px rgba(0,0,0,0.14); }
.wc-venue-hero.has-img { padding-top: 1rem; }
.wc-venue-hero.has-img .wc-venue-ic { display: none; }
.wc-venue-ic { display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: var(--accent-soft); color: var(--accent); }
.wc-venue-ic .wc-ic { width: 2rem; height: 2rem; }
.wc-venue-loc { display: flex; align-items: center; gap: 0.4rem; font-size: 0.95rem; font-weight: 700; color: var(--text-secondary); }
.wc-venue-loc .wc-ic { width: 1rem; height: 1rem; color: var(--accent); }
.wc-venue-loc .wc-host-flag { width: 22px; height: 22px; }
.wc-venue-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; justify-content: center; }
.wc-venue-pill { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.82rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 0.3rem 0.85rem; }
.wc-venue-pill .wc-ic { width: 1rem; height: 1rem; }
.wc-venue-intro { font-size: 0.9rem; font-weight: 500; line-height: 1.6; color: var(--text-secondary); text-align: center; margin: 0.45rem 0 0; }
.wc-venue-ko-body { background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }

/* Controls bar (timezone + clock format) — a modern control panel */
/* Collapsible Settings card */
.wc-settings { margin: 0.2rem 0 1.3rem; }
.wc-settings-toggle {
  display: flex; align-items: center; gap: 0.5rem; width: 100%; box-sizing: border-box; font-family: inherit;
  font-size: 0.82rem; font-weight: 800; color: var(--text);
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; padding: 0.7rem 1rem; cursor: pointer; box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-settings-toggle .wc-settings-caret { margin-inline-start: auto; }
.wc-settings-toggle:hover { border-color: var(--accent-muted); }
.wc-settings-ico { font-size: 1rem; }
.wc-settings-summary { color: var(--text-secondary); font-weight: 700; font-size: 0.78rem; }
.wc-settings-summary::before { content: '· '; }
.wc-settings-caret { color: var(--text-secondary); font-size: 0.7rem; transition: transform 0.2s; }
.wc-settings.open .wc-settings-caret { transform: rotate(180deg); }
/* Top controls row: Settings · Calendar · Filter toggles, stretched full width */
.wc-settings-row { display: flex; align-items: stretch; gap: 0.5rem; }
.wc-icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  flex: 1 1 0; min-width: 0; height: 2.7rem; padding: 0 0.7rem; font-family: inherit; color: var(--text);
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 14px; cursor: pointer; box-shadow: var(--shadow);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
}
.wc-icon-btn .wc-ic { width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
.wc-btn-label { font-size: 0.82rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wc-icon-compact { flex: 0 0 auto; width: 2.7rem; padding: 0; }
/* Search panel (jump to team / stadium / group) */
.wc-search-overlay { align-items: flex-start; }
.wc-search-panel { width: min(480px, 100%); margin-top: 8vh; background: var(--card-bg); border-radius: 18px; box-shadow: 0 20px 60px rgba(0,0,0,0.32); overflow: hidden; }
.wc-search-bar { display: flex; align-items: center; gap: 0.55rem; padding: 0.75rem 0.95rem; border-bottom: 1px solid var(--border); }
.wc-search-ic { width: 1.15rem; height: 1.15rem; flex: 0 0 auto; color: var(--text-secondary); }
.wc-search-input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--text); }
.wc-search-x { flex: 0 0 auto; background: none; border: 0; cursor: pointer; font-size: 1rem; color: var(--text-secondary); line-height: 1; }
.wc-search-results { max-height: 62vh; overflow-y: auto; padding: 0.35rem; }
.wc-search-row { display: flex; align-items: center; gap: 0.65rem; width: 100%; box-sizing: border-box; text-align: start; background: none; border: 0; border-radius: 12px; padding: 0.6rem 0.7rem; cursor: pointer; font-family: inherit; color: var(--text); }
.wc-search-row:hover { background: var(--accent-soft); }
.wc-search-row .wc-search-ic { color: var(--accent); }
.wc-search-label { display: flex; flex-direction: column; min-width: 0; font-weight: 800; font-size: 0.96rem; }
.wc-search-label small { font-weight: 600; font-size: 0.78rem; color: var(--text-secondary); }
.wc-search-empty { padding: 1.3rem; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin: 0; }
.wc-icon-btn:hover { border-color: var(--accent-muted); }
.wc-icon-btn.open { color: var(--accent); border-color: var(--accent); background: var(--accent-soft, rgba(0,0,0,0.03)); }
.wc-icon-btn[hidden] { display: none; }
/* Dot badge when a filter is applied while the panel is collapsed */
.wc-icon-btn.active::after {
  content: ''; position: absolute; top: 0.42rem; inset-inline-end: 0.42rem;
  width: 0.5rem; height: 0.5rem; border-radius: 50%;
  background: var(--accent); border: 1.5px solid var(--card-bg);
}
#calGridSlot:not(:empty) { margin-top: 0.7rem; }
.wc-settings-panel {
  display: flex; align-items: center; gap: 0.8rem 1.2rem; flex-wrap: wrap;
  width: 100%; box-sizing: border-box; margin-top: 0.7rem; padding: 0.85rem 1rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 16px; box-shadow: var(--shadow);
}
.wc-settings-panel[hidden] { display: none; }
.wc-ctl-group { display: flex; align-items: center; gap: 0.55rem; }
.wc-ctl-hint { flex-basis: 100%; width: 100%; margin: 0; font-size: 0.76rem; font-weight: 600; line-height: 1.5; color: var(--text-secondary); }
.wc-tz-label {
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px;
  color: var(--text-secondary); display: flex; align-items: center; gap: 0.35rem; white-space: nowrap;
}
.wc-tz-select {
  appearance: none; -webkit-appearance: none;
  font-family: inherit; font-size: 0.9rem; font-weight: 700; color: var(--text);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230D8ABC' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.75rem center;
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 0.55rem 2.3rem 0.55rem 0.9rem; cursor: pointer; max-width: 100%;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.wc-tz-select:hover { border-color: var(--accent-muted); }
.wc-tz-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
html[dir="rtl"] .wc-tz-select {
  background-position: left 0.75rem center;
  padding: 0.55rem 0.9rem 0.55rem 2.3rem;
}
/* Clock-format segmented control */
.wc-seg .view-toggle-btn { padding: 0.42rem 0.85rem; font-family: 'JetBrains Mono', monospace; }

/* Groups grid — compact packs 3-up; full needs more width so caps at 2-up */
.wc-groups-grid { display: grid; grid-template-columns: 1fr; gap: 1.1rem; }
@media (min-width: 720px)  { .wc-groups-grid { grid-template-columns: 1fr 1fr; gap: 1.2rem; } }
@media (min-width: 1080px) { .wc-groups-grid.compact { grid-template-columns: 1fr 1fr 1fr; } }

.wc-group {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
}
.wc-group-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1rem; color: #fff;
  background: linear-gradient(135deg, #0a0a1a 0%, #14143a 55%, var(--accent) 130%);
}
.wc-group-title { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.3px; }
.wc-group-tag { font-size: 0.68rem; font-weight: 700; opacity: 0.8; text-transform: uppercase; letter-spacing: 0.5px; }

/* Mini standings table inside a group card */
.wc-mini-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.wc-mini { width: 100%; border-collapse: collapse; min-width: max-content; }
.wc-groups-grid.compact .wc-mini { min-width: 0; }
.wc-mini th {
  font-size: 0.62rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px;
  color: var(--text-secondary); padding: 0.5rem 0.3rem; text-align: center; border-bottom: 1px solid var(--border);
}
.wc-mini th.wc-team-col { text-align: start; padding-inline-start: 0.85rem; }
.wc-mini td { padding: 0.55rem 0.3rem; text-align: center; font-size: 0.92rem; border-bottom: 1px solid var(--border); }
.wc-mini tr:last-child td { border-bottom: none; }
.wc-mini .wc-pos { font-family: 'JetBrains Mono', monospace; font-weight: 800; color: var(--text-secondary); width: 1.4rem; }
.wc-mini tr.wc-qual .wc-pos { color: var(--green); }
.wc-mini tr.wc-qual td:first-child { box-shadow: inset 3px 0 0 var(--green); }
.wc-team-cell { display: flex; align-items: center; gap: 0.5rem; text-align: start; padding-inline-start: 0.55rem; }
.wc-team-cell .wc-team-name { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 9.5rem; }
.wc-mini .wc-pts { font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 1.05rem; color: var(--primary); }
.wc-mini .wc-num { font-family: 'JetBrains Mono', monospace; font-weight: 600; }
.wc-mini .wc-mut { color: var(--text-secondary); }
.wc-mini .win { color: var(--green); } .wc-mini .lose { color: var(--live-pulse); }
/* compact mode: hide W/D/L/GF/GA columns, keep P + Pts */
.wc-groups-grid.compact .wc-col-extra { display: none; }

/* Mobile: larger, easier-to-read standings tables (single-column groups have the room) */
@media (max-width: 719px) {
  .wc-mini th { font-size: 0.84rem; padding: 0.7rem 0.35rem; }
  .wc-mini td { font-size: 1.28rem; padding: 0.82rem 0.35rem; }
  .wc-mini .wc-pos { font-size: 1.26rem; width: 1.9rem; }
  .wc-team-cell { gap: 0.7rem; padding-inline-start: 0.7rem; }
  .wc-team-cell .wc-team-name { font-size: 1.28rem; max-width: 13rem; }
  .wc-mini .wc-pts { font-size: 1.7rem; }
  .wc-flag-xs { width: 31px; height: 31px; }
}

/* Flags — circular "national badge" look everywhere */
.wc-flag {
  width: 26px; height: 26px; object-fit: cover; border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 1px 3px rgba(0,0,0,0.18); flex-shrink: 0;
  background: #eee;
}
.wc-flag-xs { width: 22px; height: 22px; }

/* Big circular flags inside football.ae-style match cards (size comes from .team-logo) */
.wc-flag-circle {
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.18), 0 0 0 1px var(--border);
  background: #eee;
}
.wc-flag-blank { display: inline-block; }

/* Kickoff time as the large centerpiece (where the score sits once played) */
.match-score.wc-kickoff { color: var(--accent); letter-spacing: 0.5px; white-space: nowrap; line-height: 1.05; }
/* Small am/pm word under the time (English only; Arabic uses the مساءً pill instead) */
.wc-kick-mer { font-size: 0.78rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--accent); opacity: 0.85; line-height: 1; margin-top: 2px; }

/* Time-of-day match indicators (timezone-aware) — pill UNDER the time */
.wc-night-capsule { background: #1a1a2e; color: #cdd6ff; }
.wc-dawn-capsule { background: #FEF3E2; color: #C2741A; }
.wc-noon-capsule { background: #E0F2FE; color: #0369A1; }
.wc-eve-capsule { background: #EDE9FE; color: #6D28D9; }
/* Center column: time on top, then am/pm (en), then the time-of-day pill */
.wc-center { display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.wc-time-badge-below { margin-top: 6px; }
.wc-time-badge { display: inline-flex; align-items: center; justify-content: center; gap: 0.3rem; min-width: 7rem; font-size: 0.68rem; font-weight: 800; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }

/* Keep flag-above-name (mobile look) on ALL widths — overrides football.css desktop row layout */
.match-teams .team, .match-teams .team.away { flex-direction: column; text-align: center; gap: 0.5rem; }
.match-teams .team-name {
  text-align: center; white-space: normal; -webkit-line-clamp: 2;
  display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden;
}

/* Stadium-capacity capsule */
.wc-cap-capsule { background: var(--accent-soft); color: var(--accent); font-weight: 700; font-family: 'JetBrains Mono', monospace; }

/* Add-to-calendar */
.match-card { position: relative; }
.wc-cal-corner {
  position: absolute; top: 0.5rem; inset-inline-end: 0.5rem; z-index: 2;
  width: 32px; height: 32px; border: none; border-radius: 8px; cursor: pointer;
  background: transparent; font-size: 1.1rem; line-height: 1; opacity: 0.85;
  display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.wc-cal-corner:hover { background: var(--accent-soft); opacity: 1; }
.wc-share-corner {
  position: absolute; top: 0.5rem; inset-inline-start: 0.5rem; z-index: 2;
  width: 32px; height: 32px; border: none; border-radius: 8px; cursor: pointer;
  background: transparent; font-size: 1.05rem; line-height: 1; opacity: 0.85;
  display: inline-flex; align-items: center; justify-content: center; transition: all 0.15s;
}
.wc-share-corner:hover { background: var(--accent-soft); opacity: 1; }

/* Small per-card date (so you always know the day while scrolling) */
.wc-date-capsule { background: var(--bg); color: var(--text-secondary); font-weight: 700; }
.wc-team-actions { display: flex; gap: 0.55rem; justify-content: center; flex-wrap: wrap; margin-top: 0.95rem; }
.wc-cal-all {
  font-family: inherit; font-weight: 800; font-size: 0.92rem;
  color: #fff; background: var(--accent); border: none; border-radius: 999px;
  padding: 0.6rem 1.35rem; cursor: pointer; box-shadow: var(--shadow); transition: all 0.15s;
}
.wc-cal-all:hover { background: var(--accent-muted); transform: translateY(-1px); }
.wc-team-share {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; flex-shrink: 0;
  color: var(--accent); background: var(--accent-soft); border: none; border-radius: 50%;
  cursor: pointer; transition: all 0.15s;
}
.wc-team-share:hover { background: var(--accent-muted); color: #fff; transform: translateY(-1px); }
.wc-team-share .wc-ic { width: 1.2rem; height: 1.2rem; vertical-align: 0; }
.wc-subscribe { text-decoration: none; }
/* "Subscribe to all matches" CTA at the top of the Matches tab */
.wc-sub-all {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  width: 100%; box-sizing: border-box; text-decoration: none;
  font-family: inherit; font-weight: 800; font-size: 0.95rem; color: #fff;
  background: var(--accent); border-radius: 14px; padding: 0.8rem 1rem;
  box-shadow: var(--shadow); transition: background 0.15s, transform 0.15s;
}
.wc-sub-all:hover { background: var(--accent-muted); transform: translateY(-1px); }
.wc-sub-all .wc-ic { width: 1.2rem; height: 1.2rem; flex-shrink: 0; }
.wc-sub-hint { margin: 0.45rem 0 1.1rem; font-size: 0.78rem; font-weight: 600; line-height: 1.5; color: var(--text-secondary); text-align: center; }

/* Clickable group label in the card status line → group standings */
.wc-group-link-inline {
  font: inherit; color: inherit; letter-spacing: inherit; text-transform: inherit;
  background: none; border: none; padding: 0; cursor: pointer;
  text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px;
}
.wc-group-link-inline:hover { text-decoration-style: solid; }
.wc-group-flash { animation: wc-group-flash 1.6s ease; }
@keyframes wc-group-flash { 0%, 100% { box-shadow: var(--shadow); } 25% { box-shadow: 0 0 0 3px var(--accent); } }

/* Live pulse dot in the card status line */
.wc-live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--live-pulse);
  display: inline-block; animation: wc-pulse 1.2s ease-in-out infinite;
}
@keyframes wc-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* Group card → "View matches" link (replaces the old inline fixtures list) */
.wc-group-foot { display: flex; align-items: stretch; border-top: 1px solid var(--border); }
.wc-group-link {
  flex: 1; background: none; border: none;
  cursor: pointer; font-family: inherit; padding: 0.7rem 1rem;
  font-size: 0.8rem; font-weight: 800; color: var(--accent); letter-spacing: 0.2px;
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  transition: background 0.15s;
}
.wc-group-link:hover { background: var(--accent-soft); }
.wc-group-link .wc-arrow { font-size: 1.05rem; line-height: 1; }
.wc-group-share-foot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 50px; flex-shrink: 0; border: none; border-inline-start: 1px solid var(--border);
  background: none; color: var(--text-secondary); cursor: pointer; transition: background 0.15s, color 0.15s;
}
.wc-group-share-foot:hover { background: var(--accent-soft); color: var(--accent); }
.wc-group-share-foot .wc-ic { width: 19px; height: 19px; vertical-align: 0; }

/* Calendar (month grid) toggle + grid */
.wc-cal-toggle {
  display: flex; align-items: center; gap: 0.5rem; width: 100%; box-sizing: border-box;
  font-family: inherit; font-size: 0.85rem; font-weight: 800; color: var(--text);
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px;
  padding: 0.65rem 1rem; cursor: pointer; box-shadow: var(--shadow); margin-bottom: 0.7rem;
  transition: border-color 0.15s;
}
.wc-cal-toggle:hover { border-color: var(--accent-muted); }
.wc-cal-toggle .wc-settings-caret { margin-inline-start: auto; transition: transform 0.2s; }
.wc-cal-toggle.open .wc-settings-caret { transform: rotate(180deg); }
.wc-cal {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); padding: 1rem; margin-bottom: 1rem;
}
.wc-cal-month + .wc-cal-month { margin-top: 1.1rem; }
.wc-cal-mname { text-align: center; font-weight: 800; font-size: 1.05rem; color: var(--primary); margin-bottom: 0.6rem; }
.wc-cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.wc-cal-wd { text-align: center; font-size: 0.62rem; font-weight: 800; text-transform: uppercase; color: var(--text-secondary); padding-bottom: 4px; }
.wc-cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  border-radius: 10px; font-weight: 700; line-height: 1;
}
.wc-cal-day.empty { visibility: hidden; }
.wc-cal-day.nomatch { color: var(--text-secondary); opacity: 0.4; }
.wc-cal-day.match { background: var(--accent-soft); color: var(--accent); cursor: pointer; }
.wc-cal-day.match:hover { background: var(--accent); color: #fff; }
.wc-cal-day.today { box-shadow: inset 0 0 0 2px var(--accent); }
.wc-cal-num { font-size: 0.92rem; font-weight: 800; }
.wc-cal-cnt { font-size: 0.6rem; font-weight: 700; margin-top: 2px; opacity: 0.85; }

/* Schedule group-filter chip bar */
.wc-filter-bar {
  display: flex; gap: 0.4rem; flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem; margin-bottom: 0.4rem; scrollbar-width: none;
}
.wc-filter-bar::-webkit-scrollbar { display: none; }
.wc-filter-chip {
  flex: 0 0 auto; font-family: inherit; font-size: 0.85rem; font-weight: 800;
  color: var(--text-secondary); background: var(--card-bg);
  border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.42rem 0.95rem; cursor: pointer; min-width: 2.4rem; text-align: center;
  transition: all 0.15s;
}
.wc-filter-chip:hover { border-color: var(--accent-muted); color: var(--text); }
.wc-filter-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Time-of-day filter chips (Matches page) */
.wc-time-filter { margin-bottom: 0.6rem; }
.wc-tf-chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: inherit; font-size: 0.82rem; font-weight: 800; color: var(--text-secondary);
  background: var(--card-bg); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0.42rem 0.7rem 0.42rem 0.85rem; cursor: pointer; transition: all 0.15s;
}
[dir="rtl"] .wc-tf-chip { padding: 0.42rem 0.85rem 0.42rem 0.7rem; }
.wc-tf-chip .wc-ic { width: 1rem; height: 1rem; flex-shrink: 0; }
.wc-tf-chip.morning .wc-ic { color: #C2741A; }
.wc-tf-chip.afternoon .wc-ic { color: #0369A1; }
.wc-tf-chip.evening .wc-ic { color: #6D28D9; }
.wc-tf-chip.night .wc-ic { color: #334155; }
.wc-tf-cnt {
  font-family: 'JetBrains Mono', monospace; font-weight: 900; font-size: 0.74rem;
  background: var(--bg); border-radius: 999px; padding: 1px 8px; min-width: 1.4rem; text-align: center;
}
.wc-tf-chip:hover:not(.active) { border-color: var(--accent-muted); color: var(--text); }
.wc-tf-chip.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.wc-tf-chip.active .wc-ic { color: #fff; }
.wc-tf-chip.active .wc-tf-cnt { background: rgba(255,255,255,0.25); color: #fff; }
.wc-tf-chip.all { padding-left: 0.95rem; padding-right: 0.95rem; }
.wc-tf-chip.empty { opacity: 0.4; cursor: default; }
.wc-tf-chip.empty:hover { border-color: var(--border); color: var(--text-secondary); }

/* Keep the "All" chip pinned to the start of each bar while the chips scroll horizontally */
.wc-tf-chip.all,
.wc-filter-bar:not(.wc-time-filter) > .wc-filter-chip:first-child {
  position: sticky; inset-inline-start: 0; z-index: 2;
}
/* solid mask covering the inter-chip gap so chips vanish cleanly behind the pinned All chip */
.wc-tf-chip.all::after,
.wc-filter-bar:not(.wc-time-filter) > .wc-filter-chip:first-child::after {
  content: ''; position: absolute; top: -2px; bottom: -2px; inset-inline-start: 100%;
  width: 0.45rem; background: var(--bg); pointer-events: none;
  box-shadow: 3px 0 6px -1px rgba(0, 0, 0, 0.13);
}
[dir="rtl"] .wc-tf-chip.all::after,
[dir="rtl"] .wc-filter-bar:not(.wc-time-filter) > .wc-filter-chip:first-child::after {
  box-shadow: -3px 0 6px -1px rgba(0, 0, 0, 0.13);
}

/* Schedule day grouping — flat full-width bar that STICKS under the nav while you scroll it */
.wc-day-head {
  display: flex; align-items: center; justify-content: space-between; gap: 0.7rem;
  margin: 1.5rem 0 0.7rem; padding: 0.8rem 0.9rem;
  background: linear-gradient(135deg, #e9f1fb, #f5f8fc);
  border: 1px solid var(--border); border-radius: 0;
  position: sticky; top: var(--topbar-h, 64px); z-index: 5;
}
.wc-day-main { font-size: 1.2rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }
.wc-day-card-right { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.wc-day-rel { font-size: 0.74rem; font-weight: 600; color: var(--text-secondary); background: #fff; border: 1px solid var(--border); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.wc-day-count-pill { font-size: 0.74rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 11px; white-space: nowrap; }
.wc-day-tbd { justify-content: flex-start; }
@media (min-width: 640px) { .wc-day-main { font-size: 1.4rem; } }
/* Mobile: full-bleed band, edge to edge of the screen */
@media (max-width: 639px) {
  .wc-day-head { width: 100vw; margin-inline: calc(50% - 50vw); padding-inline: 1rem; border-inline: 0; }
}
.wc-sched-card {
  background: var(--card-bg); border: 1px solid var(--border); border-radius: 16px;
  box-shadow: var(--shadow); margin-bottom: 0.7rem; padding: 0.4rem 0.9rem 0.7rem;
}

/* Knockout */
.wc-stage { margin-bottom: 1.6rem; }
.wc-stage-title {
  font-size: 1.15rem; font-weight: 800; color: var(--primary); margin-bottom: 0.8rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.wc-stage-pending {
  background: var(--card-bg); border: 1px dashed var(--border); border-radius: 16px;
  padding: 1.3rem; text-align: center; color: var(--text-secondary); font-weight: 600; font-size: 0.9rem;
}

/* ─── Knockout roadmap ─── */
.wc-ko-intro { margin: 0.4rem 0 1rem; }
.wc-ko-h { display: flex; align-items: center; gap: 0.55rem; font-size: 1.3rem; font-weight: 800; color: var(--primary); letter-spacing: -0.3px; }
.wc-ko-h .wc-ic { width: 1.4rem; height: 1.4rem; color: #C9A227; }
.wc-ko-share {
  margin-inline-start: auto; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border: none; border-radius: 50%;
  background: var(--accent-soft); color: var(--accent); cursor: pointer; transition: all 0.15s;
}
.wc-ko-share:hover { background: var(--accent-muted); color: #fff; }
.wc-ko-share .wc-ic { width: 1.1rem; height: 1.1rem; color: currentColor; }
.wc-ko-sub { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.55; margin-top: 0.4rem; }
/* ─── Stage cards — each knockout round in its own section ─── */
.wc-ko-stages { display: flex; flex-direction: column; gap: 1rem; }
/* No overflow:hidden here — it would break the sticky header below. The header's own
   rounded top corners give the card its rounded look instead. */
.wc-ko-stage { background: var(--card-bg); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
.wc-ko-stage-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem 1.15rem; color: #fff;
  background: linear-gradient(115deg, #0a0a1a 0%, #16163a 42%, var(--ko-accent, var(--accent)) 135%);
  border-radius: 17px 17px 0 0;
  position: sticky; top: var(--topbar-h, 64px); z-index: 4;
}
.wc-ko-stage.is-final .wc-ko-stage-head { background: linear-gradient(115deg, #3a2d00 0%, #7c6210 48%, #c9a227 130%); }
.wc-ko-stage-title { min-width: 0; }
.wc-ko-stage-name { display: block; font-size: 1.2rem; font-weight: 800; letter-spacing: -0.2px; }
.wc-ko-stage-range { display: block; font-size: 0.78rem; font-weight: 600; opacity: 0.85; margin-top: 2px; }
.wc-ko-stage-badge {
  flex-shrink: 0; display: inline-flex; flex-direction: column; align-items: center; line-height: 1; text-align: center;
  background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.22); border-radius: 14px;
  padding: 0.42rem 0.7rem; min-width: 3.4rem;
}
.wc-ko-stage-num { font-family: 'JetBrains Mono', monospace; font-size: 1.75rem; font-weight: 900; }
.wc-ko-stage-w { font-size: 0.57rem; font-weight: 700; opacity: 0.88; margin-top: 3px; }
.wc-ko-stage-body { padding: 0.25rem 1.15rem 0.55rem; }
.wc-ko-m { padding: 1.05rem 0; }
.wc-ko-m + .wc-ko-m { border-top: 1px solid var(--border); }
.wc-ko-m-solo { padding-top: 0.85rem; }
.wc-ko-m-top { display: flex; align-items: baseline; gap: 0.6rem; }
.wc-ko-m-no { font-weight: 800; font-size: 1.1rem; color: var(--ko-accent, var(--accent)); }
.wc-ko-m-date { font-weight: 800; font-size: 1.1rem; color: var(--primary); }
.wc-ko-m-time { font-family: 'JetBrains Mono', monospace; font-weight: 800; font-size: 1.1rem; color: var(--ko-accent, var(--accent)); }
.wc-ko-m-venue { display: flex; align-items: center; flex-wrap: wrap; gap: 0.35rem; margin-top: 9px; font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); }
.wc-ko-m-venue .wc-ic { width: 0.98rem; height: 0.98rem; flex-shrink: 0; color: var(--ko-accent, var(--accent)); }
.wc-ko-fx-teams { display: flex; align-items: center; gap: 0.5rem; margin-top: 9px; padding: 0.5rem 0; }
.wc-ko-fx-slot {
  flex: 1 1 0; min-width: 0; font-family: inherit; font-weight: 800; font-size: 0.98rem; color: var(--text);
  background: none; border: 0; padding: 0; cursor: pointer; text-align: start;
  text-decoration: underline dotted var(--accent-muted); text-underline-offset: 4px;
}
.wc-ko-fx-slot:hover { color: var(--accent); }
.wc-ko-fx-lbl { border-radius: 7px; padding: 2px 0; }
/* While its popover is open, highlight the source text like a marker so the link is obvious */
.wc-ko-fx-slot.is-open { text-decoration: none; }
.wc-ko-fx-slot.is-open .wc-ko-fx-lbl { background: var(--accent); color: #fff; padding: 2px 8px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.wc-ko-fx-teams .wc-ko-fx-slot:last-child { text-align: end; }
.wc-ko-fx-vs { flex: 0 0 auto; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
/* Candidate-teams popover for a pre-draw slot */
.wc-pop {
  position: absolute; z-index: 200; box-sizing: border-box;
  background: var(--card-bg); border: 2px solid var(--accent); border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
}
.wc-cand-pop { width: min(360px, calc(100vw - 16px)); max-height: 62vh; overflow-y: auto; padding: 0.7rem 0.85rem; }
/* Match time → host-city local time popover */
.wc-time-pop { width: max-content; max-width: calc(100vw - 16px); padding: 0.7rem 1rem; text-align: center; }
.wc-tp-cap { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.wc-tp-cap .wc-ic { width: 0.95rem; height: 0.95rem; color: var(--accent); flex-shrink: 0; }
.wc-tp-time { display: flex; align-items: baseline; justify-content: center; gap: 0.18em; font-weight: 900; font-size: 1.9rem; color: var(--accent); margin-top: 5px; }
.wc-tp-hm { font-family: 'JetBrains Mono', monospace; letter-spacing: 0.5px; }
.wc-tp-mer { font-size: 0.5em; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; }
.wc-tp-date { font-size: 0.98rem; font-weight: 700; color: var(--text); margin-top: 3px; }
/* The kickoff time is tappable → opens the local-time popover */
.wc-time-btn { background: none; border: 0; cursor: pointer; padding: 1px 9px; border-radius: 12px; transition: background 0.15s; }
.wc-time-btn:hover, .wc-time-btn.is-open { background: var(--accent-soft); }
.wc-cand-title { font-weight: 900; font-size: 0.9rem; color: var(--accent); margin-bottom: 0.5rem; }
.wc-cand-grp + .wc-cand-grp { margin-top: 0.55rem; padding-top: 0.55rem; border-top: 1px solid var(--border); }
.wc-cand-gl { display: block; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); margin-bottom: 0.4rem; }
.wc-cand-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 0.7rem; }
.wc-cand-team { display: flex; align-items: center; gap: 0.45rem; min-width: 0; font-weight: 700; font-size: 0.86rem; line-height: 1.2; color: var(--text); }
.wc-cand-nm { min-width: 0; }
.wc-cand-flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 1px var(--border); }
.wc-ko-flag { width: 16px; height: 16px; }
.wc-ko-cap { display: inline-flex; align-items: center; gap: 0.22rem; color: var(--text-secondary); font-weight: 700; font-family: 'JetBrains Mono', monospace; }
.wc-ko-cap .wc-ic { width: 0.9rem; height: 0.9rem; }

/* ─── توقعاتي / Predictions page ─── */
.wc-predict-field { margin: 0.2rem 0 1.1rem; }
.wc-predict-label { display: block; font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.4px; color: var(--text-secondary); margin-bottom: 0.45rem; }
.wc-predict-input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 1.05rem; font-weight: 700;
  padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 14px; background: var(--card-bg); color: var(--text);
}
.wc-predict-input:focus { outline: none; border-color: var(--accent); }
.wc-predict-slots { display: flex; flex-direction: column; gap: 0.55rem; }
.wc-predict-locked {
  display: flex; align-items: center; gap: 0.4rem; justify-content: center; text-align: center;
  background: #fff4e0; border: 1px solid #f0d9a8; color: #8a6d10; font-weight: 700; font-size: 0.85rem;
  border-radius: 12px; padding: 0.7rem 0.9rem; margin-bottom: 1rem; line-height: 1.4;
}
.wc-predict-note {
  margin: 0.85rem 0 0; font-size: 0.78rem; font-weight: 600; line-height: 1.5;
  color: var(--text-secondary); text-align: center;
}
.wc-predict-slot {
  display: flex; align-items: center; gap: 0.6rem; background: var(--card-bg);
  border: 1px solid var(--border); border-radius: 14px; padding: 0.5rem 0.7rem; box-shadow: var(--shadow);
}
.wc-predict-slot.is-champion { border-color: #e6c558; background: linear-gradient(120deg, rgba(201,162,39,0.08), transparent 60%); }
.wc-predict-rank {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; color: #fff; font-weight: 900;
  font-family: 'JetBrains Mono', monospace; font-size: 1.05rem; display: inline-flex; align-items: center; justify-content: center;
}
.wc-predict-flag { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--border); }
.wc-predict-flag-empty { border-color: #fff; box-shadow: 0 0 0 1.5px var(--border); background: repeating-linear-gradient(45deg, #eef1f6, #eef1f6 5px, #e3e7ee 5px, #e3e7ee 10px); }
.wc-predict-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.wc-predict-pos { display: inline-flex; align-items: center; gap: 0.28rem; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-secondary); }
.wc-predict-pos .wc-ic { width: 0.85rem; height: 0.85rem; }
.is-champion .wc-predict-pos { color: #C9A227; }
.wc-predict-select {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 1rem; font-weight: 700; color: var(--text);
  padding: 0.55rem 0.6rem; border: 1.5px solid var(--border); border-radius: 10px; background: var(--card-bg); cursor: pointer;
}
.wc-predict-select:focus { outline: none; border-color: var(--accent); }
.wc-predict-input:disabled, .wc-predict-select:disabled { opacity: 0.7; cursor: not-allowed; background: var(--bg); }
.wc-predict-share {
  margin-top: 1.15rem; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: inherit; font-weight: 800; font-size: 1rem; color: #fff; background: var(--accent);
  border: none; border-radius: 999px; padding: 0.85rem 1.3rem; cursor: pointer; box-shadow: var(--shadow); transition: all 0.15s;
}
.wc-predict-share:disabled { background: var(--border); color: var(--text-secondary); cursor: not-allowed; box-shadow: none; }
.wc-predict-share:not(:disabled):hover { background: var(--accent-muted); transform: translateY(-1px); }
.wc-predict-share .wc-ic { width: 1.1rem; height: 1.1rem; }
.wc-predict-hint { text-align: center; font-size: 0.82rem; font-weight: 600; color: var(--text-secondary); margin-top: 0.6rem; }

/* Loading / errors */
.wc-loading { text-align: center; padding: 3rem 1rem; color: var(--text-secondary); }

/* RTL niceties */
html[dir="rtl"] .wc-mini th.wc-team-col { text-align: right; }
html[dir="rtl"] .wc-fix .wc-side.home { justify-content: flex-start; text-align: start; }
html[dir="rtl"] .wc-fix .wc-side.away { justify-content: flex-end; text-align: end; }
