/* WM 2026 Wettquoten Plugin – sportwetten-test.org
   Alles unter #wq-root gescoped – kein Einfluss auf Theme */

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

/* ── Wrapper ── */
#wq-root .wq-wrap { max-width: 960px; margin: 0 auto; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 16px rgba(0,0,0,.1); }

/* ── Header ── */
#wq-root .wq-header { background: #1a2540; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
#wq-root .wq-logo { display: flex; }
#wq-root .wq-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; }
#wq-root .wq-l2 { background: #dc2626; color: #fff; font-weight: 700; font-size: 16px; padding: 6px 10px; border-radius: 0 5px 5px 0; }
#wq-root .wq-header-right { color: #94a3b8; font-size: 12px; text-align: right; line-height: 1.6; }
#wq-root .wq-header-right strong { color: #e2e8f0; display: block; font-size: 14px; font-weight: 600; }

/* ── Filterbar ── */
#wq-root .wq-filterbar { background: #fff; padding: 10px 16px; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; border-bottom: 1px solid #e2e8f0; }
#wq-root .wq-filter-label { font-size: 12px; color: #64748b; font-weight: 500; margin-right: 4px; }
#wq-root .wq-fbtn { padding: 4px 11px; border-radius: 6px; cursor: pointer; font-size: 12px; border: 1px solid #d1d5db; background: #fff; color: #64748b; font-weight: 400; transition: all .15s; }
#wq-root .wq-fbtn:hover { border-color: #1a2540; color: #1a2540; }
#wq-root .wq-fbtn.on { background: #1a2540; color: #fff; border-color: #1a2540; font-weight: 500; }
#wq-root .wq-fbtn.de { border-color: #f59e0b; color: #92400e; background: #fef3c7; }
#wq-root .wq-fbtn.de.on { background: #f59e0b; color: #fff; border-color: #f59e0b; }

/* ── Disclaimer ── */
#wq-root .wq-disclaimer { background: #f8fafc; padding: 7px 16px; font-size: 11px; color: #94a3b8; border-bottom: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; }

/* ── Tabelle ── */
#wq-root .wq-table-wrap { background: #f4f5f7; padding: 16px; }

#wq-root .wq-section { margin-bottom: 16px; }
#wq-root .wq-section-head { background: #1a2540; color: #fff; padding: 8px 16px; font-size: 12px; font-weight: 600; letter-spacing: .4px; border-radius: 8px 8px 0 0; display: flex; align-items: center; gap: 8px; }
#wq-root .wq-section-badge { background: #dc2626; color: #fff; font-size: 10px; padding: 2px 7px; border-radius: 4px; font-weight: 600; }

#wq-root .wq-table { background: #fff; border: 1px solid #e2e8f0; border-top: none; border-radius: 0 0 8px 8px; overflow: hidden; }

#wq-root .wq-thead { display: grid; grid-template-columns: 42px 1fr 64px 64px 64px 150px; gap: 0; padding: 8px 14px; background: #f8fafc; border-bottom: 1px solid #e2e8f0; font-size: 11px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: .4px; align-items: center; }
#wq-root .wq-trow { display: grid; grid-template-columns: 42px 1fr 64px 64px 64px 150px; gap: 0; padding: 10px 14px; border-bottom: 1px solid #f8fafc; align-items: center; transition: background .1s; }
#wq-root .wq-trow:last-child { border-bottom: none; }
#wq-root .wq-trow:hover { background: #f8fafc; }
#wq-root .wq-trow.de-row { background: #fffbeb; }
#wq-root .wq-trow.de-row:hover { background: #fef9c3; }
#wq-root .wq-trow.live-row { background: #fef2f2; }

/* Zellen */
#wq-root .wq-time { font-size: 12px; color: #94a3b8; }
#wq-root .wq-time .wq-live-badge { display: inline-block; background: #dc2626; color: #fff; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; animation: wq-blink 1.2s infinite; }
@keyframes wq-blink { 0%,100%{opacity:1} 50%{opacity:.4} }

#wq-root .wq-game { font-size: 13px; color: #1e293b; line-height: 1.3; }
#wq-root .wq-game strong { font-weight: 600; color: #1a2540; }
#wq-root .wq-game small { display: block; font-size: 11px; color: #94a3b8; font-weight: 400; margin-top: 1px; }

#wq-root .wq-odd { text-align: center; }
#wq-root .wq-odd-val { display: inline-block; font-size: 14px; font-weight: 700; color: #1a2540; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 4px 8px; min-width: 48px; text-align: center; cursor: pointer; text-decoration: none; transition: all .15s; }
#wq-root .wq-odd-val:hover { background: #1a2540; color: #fff; border-color: #1a2540; }
#wq-root .wq-odd-val.best { color: #16a34a; border-color: #86efac; background: #f0fdf4; }
#wq-root .wq-odd-val.best:hover { background: #16a34a; color: #fff; border-color: #16a34a; }
#wq-root .wq-odd-val.loading { color: #cbd5e1; background: #f8fafc; border-color: #f1f5f9; font-size: 18px; cursor: default; }
#wq-root .wq-odd-val.na { color: #cbd5e1; background: #f8fafc; border-color: #f1f5f9; font-size: 13px; font-weight: 400; cursor: default; }
#wq-root .wq-odd-label { font-size: 10px; color: #94a3b8; display: block; margin-top: 2px; font-weight: 500; }

/* CTA-Zelle */
#wq-root .wq-cta-cell { display: flex; justify-content: flex-end; }
#wq-root .wq-bet-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; background: #16a34a; color: #fff; border-radius: 7px; font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s; border: none; cursor: pointer; }
#wq-root .wq-bet-btn:hover { background: #15803d; color: #fff; }
#wq-root .wq-bet-btn svg { width: 11px; height: 11px; flex-shrink: 0; }
#wq-root .wq-bet-btn.na { background: #e2e8f0; color: #94a3b8; cursor: default; }
#wq-root .wq-bet-btn.na:hover { background: #e2e8f0; }

/* ── Loading & Error ── */
#wq-root .wq-loading { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 48px; color: #64748b; font-size: 14px; background: #fff; border-radius: 10px; }
#wq-root .wq-spinner { width: 24px; height: 24px; border: 3px solid #e2e8f0; border-top-color: #1a2540; border-radius: 50%; animation: wq-spin .8s linear infinite; flex-shrink: 0; }
@keyframes wq-spin { to { transform: rotate(360deg); } }

#wq-root .wq-error { background: #fff; border-radius: 10px; padding: 24px; text-align: center; }
#wq-root .wq-error-title { font-size: 15px; font-weight: 600; color: #dc2626; margin-bottom: 8px; }
#wq-root .wq-error-msg { font-size: 13px; color: #64748b; line-height: 1.6; }

#wq-root .wq-no-odds { background: #fff; border-radius: 10px; padding: 28px; text-align: center; }
#wq-root .wq-no-odds p { font-size: 14px; color: #64748b; line-height: 1.7; }
#wq-root .wq-no-odds strong { color: #1a2540; }

/* ── Zoccer CTA-Banner ── */
#wq-root .wq-cta-banner { background: #1a2540; padding: 14px 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
#wq-root .wq-cta-left { display: flex; align-items: center; gap: 10px; flex: 1; flex-wrap: wrap; }
#wq-root .wq-cta-badge { background: #f59e0b; color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 4px; white-space: nowrap; }
#wq-root .wq-cta-name { color: #fff; font-size: 16px; font-weight: 700; }
#wq-root .wq-cta-bonus { color: #94a3b8; font-size: 13px; }
#wq-root .wq-cta-btn { display: inline-flex; align-items: center; gap: 7px; padding: 10px 20px; background: #16a34a; color: #fff; border-radius: 8px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .15s; flex-shrink: 0; }
#wq-root .wq-cta-btn:hover { background: #15803d; color: #fff; }
#wq-root .wq-cta-btn svg { width: 14px; height: 14px; }
#wq-root .wq-cta-legal { color: #475569; font-size: 11px; width: 100%; padding-top: 4px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  #wq-root .wq-thead { grid-template-columns: 40px 1fr 52px 52px 52px; }
  #wq-root .wq-trow  { grid-template-columns: 40px 1fr 52px 52px 52px; }
  #wq-root .wq-cta-cell { display: none; }
  #wq-root .wq-odd-val { min-width: 40px; font-size: 13px; padding: 3px 5px; }
  #wq-root .wq-game small { display: none; }
}
