/* WK2026 outcomes widget — self-contained styles. Palette matches wk2026.css. */

.wko-widget { font-size: 14px; color: #222; }

/* ─── Spinner / messages ─────────────────────────────────────────────────── */
.wko-spinner      { display: flex; justify-content: center; padding: 24px; }
.wko-spinner span { width: 28px; height: 28px; border: 3px solid #ddd;
                    border-top-color: #555; border-radius: 50%;
                    animation: wko-spin .7s linear infinite; }
@keyframes wko-spin { to { transform: rotate(360deg); } }
.wko-widget.wko-updating .wko-content { opacity: .5; pointer-events: none; }
.wko-msg { color: #999; padding: 16px 0; text-align: center; margin: 0; }

/* ─── Section card ───────────────────────────────────────────────────────── */
.wko-card           { margin-bottom: 16px; border: 1px solid #dee2e6; border-radius: 4px;
                      background: #fff; overflow: hidden; }
.wko-section-header { background: #ff4f01; color: #fff; padding: 10px 16px;
                      font-weight: 600; font-size: 1.05em; }

/* ─── Table ──────────────────────────────────────────────────────────────── */
.wko-table { width: 100%; border-collapse: collapse; font-size: .92em; }
.wko-row   { border-top: 1px solid #eef0f2; }
.wko-row:first-child { border-top: 0; }
.wko-table td { padding: 9px 8px; vertical-align: middle; }

.wko-when      { width: 100px; white-space: nowrap; line-height: 1.25; }
.wko-when-date { color: #6c757d; font-size: .82em; text-transform: lowercase; margin-right: 6px; }
.wko-when-time { font-weight: 700; color: #111; }

.wko-stage { width: 110px; }
.wko-tag   { display: inline-block; padding: 2px 8px; border-radius: 10px;
             background: #f1f3f5; color: #6c757d; font-size: .78em; font-weight: 600;
             white-space: nowrap; }

.wko-home  { text-align: right; }
.wko-away  { text-align: left; }
.wko-home, .wko-away { width: 38%; }
.wko-tname { line-height: 1.2; }
.wko-win .wko-tname { font-weight: 700; color: #111; }

/* Highlight the host-country audience's team (Nederland). */
.wko-nl .wko-tname { color: #ff4f01; font-weight: 700; }
.wko-nl-row { background: rgba(255, 79, 1, 0.06); }

/* Match the odds widget (.wk-team-logo): 16x16 circular icons from logos/wk26/. */
.wko-flag  { display: none; width: 16px; height: 16px; object-fit: contain;
             vertical-align: middle; border-radius: 50%; }
.wko-home .wko-flag, .wko-home .wko-team-ph { margin-left: 8px; }
.wko-away .wko-flag, .wko-away .wko-team-ph { margin-right: 8px; }
.wko-team-ph { display: inline-block; width: 16px; height: 16px;
               background: #cfd2d6; border-radius: 50%; vertical-align: middle; }

.wko-center { width: 72px; text-align: center; white-space: nowrap; }
.wko-score  { font-weight: 800; font-size: 1.05em; color: #111; }
.wko-dash   { padding: 0 4px; color: #adb5bd; font-weight: 600; }
.wko-noscore{ color: #adb5bd; font-weight: 600; }
.wko-decided{ display: block; font-size: .7em; font-weight: 600; color: #ff4f01;
              text-transform: uppercase; letter-spacing: .03em; margin-top: 1px; }

.wko-status { width: 48px; text-align: center; }
.wko-badge  { display: inline-block; padding: 2px 6px; border-radius: 4px;
              font-size: .72em; font-weight: 700; letter-spacing: .03em; }
.wko-ft     { background: #e9ecef; color: #6c757d; }
.wko-live   { background: #ff4f01; color: #fff; }

/* ─── Footer ─────────────────────────────────────────────────────────────── */
.wko-footer { text-align: right; color: #aaa; font-size: .78em; padding: 4px 4px 0; }

/* ─── Narrow screens: drop the stage tag, tighten spacing ────────────────── */
@media (max-width: 540px) {
    .wko-stage { display: none; }
    .wko-table td { padding: 8px 4px; }
    .wko-when      { width: 70px; white-space: normal; }
    .wko-when-date { display: block; margin-right: 0; }
    .wko-tname { font-size: .95em; }
}
