/* WM 2026 Spielplan – sportwetten-test.org
   Alle Regeln unter #wm2026-root gescoped – kein Einfluss auf Theme/Artikel */

#wm2026-root { box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; }
#wm2026-root *, #wm2026-root *::before, #wm2026-root *::after { box-sizing: inherit; margin: 0; padding: 0; }

#wm2026-root .wm-wrap { max-width: 900px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.1); }

/* Header */
#wm2026-root .wm-hdr { background: #1a2540; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#wm2026-root .wm-logo { display: flex; align-items: center; }
#wm2026-root .wm-l1 { background: #1a2540; color: #fff; font-weight: 700; font-size: 16px; padding: 6px 10px; border: 2px solid #334155; border-right: none; border-radius: 5px 0 0 5px; letter-spacing: .3px; }
#wm2026-root .wm-l2 { background: #dc2626; color: #fff; font-weight: 700; font-size: 16px; padding: 6px 10px; border-radius: 0 5px 5px 0; }
#wm2026-root .wm-hdr-right { color: #94a3b8; font-size: 12px; text-align: right; line-height: 1.5; }
#wm2026-root .wm-hdr-right strong { color: #e2e8f0; display: block; font-size: 13px; font-weight: 500; }

/* Tabs */
#wm2026-root .wm-tabs { background: #fff; display: flex; border-bottom: 2px solid #e2e8f0; flex-wrap: wrap; overflow-x: auto; }
#wm2026-root .wm-tab { padding: 11px 16px; cursor: pointer; font-size: 13px; color: #64748b; border: none; border-bottom: 3px solid transparent; margin-bottom: -2px; background: none; font-weight: 400; white-space: nowrap; transition: color .15s; }
#wm2026-root .wm-tab:hover { color: #1a2540; }
#wm2026-root .wm-tab.on { color: #1a2540; border-bottom-color: #dc2626; font-weight: 500; }
#wm2026-root .wm-tab.live-tab { color: #dc2626; }
#wm2026-root .wm-tab.live-tab.on { color: #dc2626; border-bottom-color: #dc2626; }

/* Live dot */
#wm2026-root .wm-dot { display: inline-block; width: 7px; height: 7px; background: #dc2626; border-radius: 50%; margin-right: 5px; animation: wm-blink 1.2s infinite; }
@keyframes wm-blink { 0%,100%{opacity:1} 50%{opacity:.2} }

/* Body */
#wm2026-root .wm-body { padding: 16px; background: #f4f5f7; }

/* Section heading */
#wm2026-root .wm-sh { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
#wm2026-root .wm-sb { width: 4px; height: 22px; background: #dc2626; flex-shrink: 0; }
#wm2026-root .wm-st { font-size: 16px; font-weight: 600; color: #1a2540; }

/* Card */
#wm2026-root .wm-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }

/* Deutschland */
#wm2026-root .wm-de-head { background: #1a2540; padding: 11px 16px; display: flex; align-items: center; gap: 10px; }
#wm2026-root .wm-de-flag { display: flex; flex-direction: column; width: 28px; height: 20px; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
#wm2026-root .wm-de-row { padding: 11px 16px; border-bottom: 1px solid #f1f5f9; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
#wm2026-root .wm-de-row:last-child { border-bottom: none; }
#wm2026-root .wm-badge-tv { display: inline-block; font-size: 10px; font-weight: 600; padding: 2px 8px; border-radius: 4px; margin-top: 4px; background: #1a2540; color: #fff; }

/* Groups */
#wm2026-root .wm-g-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
#wm2026-root .wm-g-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; }
#wm2026-root .wm-g-head { padding: 8px 12px; border-bottom: 1px solid #e2e8f0; }
#wm2026-root .wm-g-team { display: flex; align-items: center; padding: 6px 12px; font-size: 13px; color: #1e293b; border-bottom: 1px solid #f8fafc; }
#wm2026-root .wm-g-team:last-child { border-bottom: none; }
#wm2026-root .wm-g-num { font-size: 11px; color: #94a3b8; width: 14px; margin-right: 8px; flex-shrink: 0; }
#wm2026-root .wm-g-team.de { font-weight: 600; color: #1a2540; }

/* Spielplan */
#wm2026-root .wm-sp-filter { display: flex; gap: 5px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-bottom: 10px; }
#wm2026-root .wm-sp-filter::-webkit-scrollbar { display: none; }
#wm2026-root .wm-sp-btn { padding: 4px 10px; border-radius: 6px; cursor: pointer; font-size: 12px; border: 1px solid #d1d5db; background: #fff; color: #64748b; transition: all .15s; }
#wm2026-root .wm-sp-btn:hover { border-color: #1a2540; color: #1a2540; }
#wm2026-root .wm-sp-btn.on { background: #1a2540; color: #fff; border-color: #1a2540; }
#wm2026-root .wm-sp-scroll { max-height: 500px; overflow-y: auto; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; margin-bottom: 8px; }
#wm2026-root .wm-sp-day { background: #f8fafc; padding: 7px 14px; font-size: 12px; font-weight: 600; color: #475569; position: sticky; top: 0; z-index: 1; border-bottom: 1px solid #e2e8f0; }
#wm2026-root .wm-sp-row { display: block; padding: 8px 14px; border-bottom: 1px solid #f8fafc; font-size: 13px; }
#wm2026-root .wm-sp-row:last-child { border-bottom: none; }
#wm2026-root .wm-sp-row.de-row { background: #fffbeb; }
#wm2026-root .wm-sp-time { color: #94a3b8; font-size: 12px; width: 36px; flex-shrink: 0; }
#wm2026-root .wm-sp-grp { font-size: 10px; font-weight: 600; color: #94a3b8; background: #f1f5f9; border-radius: 3px; padding: 1px 5px; flex-shrink: 0; }
#wm2026-root .wm-sp-match { flex: 1; color: #1e293b; }
#wm2026-root .wm-sp-match.de { color: #1a2540; font-weight: 600; }
#wm2026-root .wm-sp-venue { font-size: 11px; color: #94a3b8; }
#wm2026-root .wm-cal-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 6px; border: 1px solid #e2e8f0; background: #fff; cursor: pointer; flex-shrink: 0; transition: all .15s; text-decoration: none; color: #64748b; margin-left: 2px; }
#wm2026-root .wm-cal-btn:hover { background: #1a2540; border-color: #1a2540; color: #fff; }
#wm2026-root .wm-cal-btn svg { width: 14px; height: 14px; display: block; }

/* KO */
#wm2026-root .wm-ko-row { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 13px 16px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
#wm2026-root .wm-ko-row.finale { background: #1a2540; border-color: #1a2540; }

/* Live */
#wm2026-root .wm-live-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 16px; margin-bottom: 12px; }
#wm2026-root .wm-live-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f1f5f9; gap: 8px; }
#wm2026-root .wm-live-row:last-child { border-bottom: none; }
#wm2026-root .wm-live-team { font-size: 14px; font-weight: 500; color: #1e293b; flex: 1; }
#wm2026-root .wm-live-score { font-size: 22px; font-weight: 700; color: #1a2540; min-width: 52px; text-align: center; }
#wm2026-root .wm-live-status { font-size: 11px; padding: 2px 7px; border-radius: 4px; white-space: nowrap; font-weight: 500; }
#wm2026-root .wm-live-status.live { background: #fee2e2; color: #dc2626; }
#wm2026-root .wm-live-status.ft { background: #f0fdf4; color: #16a34a; }
#wm2026-root .wm-live-status.soon { background: #f8fafc; color: #64748b; }

/* Info boxes */
#wm2026-root .wm-info { border-radius: 10px; padding: 12px 16px; font-size: 13px; line-height: 1.7; }
#wm2026-root .wm-info.green { background: #f0fdf4; border: 1px solid #86efac; color: #166534; }
#wm2026-root .wm-info.blue { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
#wm2026-root .wm-info.gray { background: #f8fafc; border: 1px solid #e2e8f0; color: #475569; }

/* ── Wettquoten ──────────────────────────────────── */
#wm2026-root .wm-odds-wrap { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
#wm2026-root .wm-odds-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 44px; padding: 3px 6px; border-radius: 6px; border: 1px solid #e2e8f0; background: #f8fafc; cursor: pointer; text-decoration: none; transition: all .15s; }
#wm2026-root .wm-odds-btn:hover { background: #1a2540; border-color: #1a2540; }
#wm2026-root .wm-odds-btn:hover .wm-odds-label { color: #94a3b8; }
#wm2026-root .wm-odds-btn:hover .wm-odds-val { color: #fff; }
#wm2026-root .wm-odds-label { font-size: 9px; font-weight: 600; color: #94a3b8; letter-spacing: .5px; line-height: 1; }
#wm2026-root .wm-odds-val { font-size: 13px; font-weight: 700; color: #1a2540; line-height: 1.3; }
#wm2026-root .wm-odds-val.best { color: #16a34a; }
#wm2026-root .wm-odds-loading { font-size: 11px; color: #94a3b8; min-width: 120px; text-align: center; }
#wm2026-root .wm-bet-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; background: #16a34a; color: #fff; border-radius: 6px; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s; flex-shrink: 0; border: none; cursor: pointer; }
#wm2026-root .wm-bet-btn:hover { background: #15803d; color: #fff; }
#wm2026-root .wm-bet-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 2.5; flex-shrink: 0; }

/* Quoten-Tab */
#wm2026-root .wm-odds-table { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
#wm2026-root .wm-odds-thead { display: grid; grid-template-columns: 1fr 60px 60px 60px 130px; gap: 8px; padding: 8px 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 11px; font-weight: 600; color: #64748b; }
#wm2026-root .wm-odds-trow { display: grid; grid-template-columns: 1fr 60px 60px 60px 130px; gap: 8px; padding: 9px 14px; border-bottom: 1px solid #f8fafc; align-items: center; font-size: 13px; }
#wm2026-root .wm-odds-trow:last-child { border-bottom: none; }
#wm2026-root .wm-odds-trow.de-row { background: #fffbeb; }
#wm2026-root .wm-odds-cell { text-align: center; font-weight: 600; color: #1a2540; }
#wm2026-root .wm-odds-cell.best { color: #16a34a; }
#wm2026-root .wm-odds-game { color: #1e293b; font-size: 13px; }
#wm2026-root .wm-odds-game small { display: block; font-size: 11px; color: #94a3b8; font-weight: 400; }
#wm2026-root .wm-odds-dayhead { background: #f8fafc; padding: 7px 14px; font-size: 12px; font-weight: 600; color: #475569; border-bottom: 1px solid #e2e8f0; }
#wm2026-root .wm-bk-strip { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; align-items: center; }
#wm2026-root .wm-bk-pill { font-size: 12px; color: #64748b; padding: 3px 10px; border: 1px solid #e2e8f0; border-radius: 20px; background: #fff; }
#wm2026-root .wm-bk-pill.active { background: #1a2540; color: #fff; border-color: #1a2540; }

#wm2026-root .wm-tab.odds-tab { color: #16a34a; }
#wm2026-root .wm-tab.odds-tab.on { color: #16a34a; border-bottom-color: #16a34a; font-weight: 500; }

#wm2026-root .wm-sp-top { display: flex; align-items: baseline; gap: 7px; margin-bottom: 3px; }
#wm2026-root .wm-sp-bot { display: flex; align-items: center; justify-content: space-between; padding-left: 43px; }
#wm2026-root .wm-sp-actions { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
#wm2026-root .wm-sp-grp.de { background: #fef3c7; color: #92400e; border-radius: 3px; padding: 1px 4px; }
#wm2026-root .wm-sp-btn.de-grp { border-color: #f59e0b; color: #92400e; }
#wm2026-root .wm-sp-btn.de-grp.on { background: #f59e0b; color: #fff; border-color: #f59e0b; }
#wm2026-root .wm-sp-btn { flex-shrink: 0; white-space: nowrap; }
