:root {
  --bg: #0a0f1c;
  --bg-2: #0f1626;
  --panel: #141c2f;
  --panel-2: #1a2440;
  --line: #24304d;
  --text: #e8edf7;
  --muted: #8d9ab8;
  --dim: #5f6b88;
  --accent: #c8f04a;
  --accent-ink: #0a0f1c;
  --teal: #3ee6c1;
  --live: #ff4d6d;
  --win: #3ee6a0;
  --loss: #ff6b7d;
  --void: #9aa6c4;
  --warn: #ffc65c;
  --radius: 14px;
  --radius-s: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --sidebar-w: 224px;
  --slip-w: 340px;
  --top-h: 56px;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 15px; -webkit-font-smoothing: antialiased; }
body { min-height: 100vh; overflow-x: hidden; touch-action: manipulation; }
html.is-app, html.is-app body { overflow-x: clip; max-width: 100%; }
/* iPhone zoomt beim Tippen in Felder unter 16 px hinein und bleibt dann verschoben */
@media (hover: none) and (pointer: coarse) { input, select, textarea, .input, .select { font-size: 16px !important; } }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: var(--text); }
h1, h2, h3 { margin: 0; letter-spacing: -.01em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); }
.dim { color: var(--dim); }
.hide { display: none !important; }

/* ---------- Banner + Topbar ---------- */
.demo-banner { background: linear-gradient(90deg, #2a2108, #1b2610); color: var(--warn); font-size: 12px; font-weight: 600; text-align: center; padding: 6px 12px; letter-spacing: .02em; }
.demo-banner .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--warn); margin-right: 6px; vertical-align: 1px; }
.topbar { position: sticky; top: 0; z-index: 30; height: var(--top-h); display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(10, 15, 28, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { width: 30px; height: 30px; }
.brand-name { font-weight: 800; font-size: 18px; letter-spacing: -.02em; }
.brand-accent { color: var(--accent); }
.brand-ai { margin-left: 5px; font-size: 11px; font-weight: 800; color: var(--accent-ink); background: var(--accent); border-radius: 6px; padding: 2px 5px; vertical-align: 2px; }
.topbar-right { display: flex; align-items: center; gap: 8px; }
.balance-chip { display: flex; flex-direction: column; align-items: flex-end; padding: 5px 12px; border-radius: 10px; background: var(--panel); border: 1px solid var(--line); line-height: 1.15; }
.balance-chip small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.balance-chip b { font-size: 14px; }
.avatar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--accent-ink); }

/* ---------- Layout ---------- */
.layout { display: grid; grid-template-columns: var(--sidebar-w) minmax(0, 1fr) var(--slip-w); min-height: calc(100vh - var(--top-h) - 28px); }
.main { padding: 20px 24px 120px; min-width: 0; outline: none; }
.sidebar { border-right: 1px solid var(--line); padding: 16px 12px; position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; }
.slip-col { border-left: 1px solid var(--line); position: sticky; top: var(--top-h); height: calc(100vh - var(--top-h)); overflow-y: auto; background: var(--bg-2); }
.side-label { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--dim); padding: 14px 10px 6px; }
.side-link { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 14px; }
.side-link:hover { background: var(--panel); color: var(--text); }
.side-link.active { background: var(--panel-2); color: var(--text); }
.side-link.active svg { color: var(--accent); }
.side-link .count { margin-left: auto; font-size: 12px; color: var(--dim); }
.side-link .soon { margin-left: auto; font-size: 10px; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.side-link.disabled { opacity: .55; cursor: default; }
.side-link.disabled:hover { background: none; color: var(--muted); }
.side-link .flag { width: 20px; text-align: center; }
.ico { width: 18px; height: 18px; flex: none; }

/* ---------- Bottom nav (mobil) ---------- */
.bottom-nav { display: none; }
.slip-mobile { display: none; }

/* ---------- Bausteine ---------- */
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.page-head h1 { font-size: 24px; }
.page-head p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.section { margin-top: 26px; }
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-head h2 { font-size: 16px; display: flex; align-items: center; gap: 8px; }
.section-head a { color: var(--muted); font-size: 13px; font-weight: 600; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); }
.card-pad { padding: 16px; }
.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.chip-row::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 7px 13px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.chip .n { opacity: .7; font-weight: 700; }
.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; letter-spacing: .02em; }
.badge.live { background: rgba(255, 77, 109, .15); color: var(--live); }
.badge.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--live); animation: pulse 1.4s infinite; }
.badge.demo { background: rgba(255, 198, 92, .12); color: var(--warn); }
.badge.won { background: rgba(62, 230, 160, .14); color: var(--win); }
.badge.lost { background: rgba(255, 107, 125, .14); color: var(--loss); }
.badge.void, .badge.partial { background: rgba(154, 166, 196, .14); color: var(--void); }
.badge.open { background: rgba(122, 162, 255, .14); color: #9db8ff; }
.badge.ft { background: var(--panel-2); color: var(--muted); }
@keyframes pulse { 50% { opacity: .3; } }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 16px; border-radius: 12px; font-weight: 700; font-size: 14px; background: var(--panel-2); border: 1px solid var(--line); }
.btn:hover { border-color: #33426a; }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.primary:hover { filter: brightness(1.05); }
.btn.primary:disabled { opacity: .45; cursor: not-allowed; }
.btn.ghost { background: transparent; }
.btn.danger { color: var(--loss); }
.btn.block { width: 100%; }
.btn.sm { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
.icon-btn { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: var(--muted); }
.icon-btn:hover { background: var(--panel-2); color: var(--text); }
.icon-btn.on { color: var(--warn); }
.empty { text-align: center; padding: 34px 16px; color: var(--muted); }
.empty b { display: block; color: var(--text); margin-bottom: 4px; font-size: 15px; }
.notice { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; font-size: 13px; line-height: 1.45; background: rgba(255, 198, 92, .08); border: 1px solid rgba(255, 198, 92, .25); color: #f3dca8; }
.notice.info { background: rgba(122, 162, 255, .08); border-color: rgba(122, 162, 255, .25); color: #c6d4ff; }
.notice .ico { flex: none; margin-top: 1px; }

/* ---------- Spiele ---------- */
.comp-block { margin-bottom: 16px; overflow: hidden; }
.comp-head { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.comp-head .flag { font-size: 16px; }
.comp-head small { color: var(--dim); font-weight: 600; }
.mrow { display: grid; grid-template-columns: 54px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.mrow:last-child { border-bottom: 0; }
.mrow:hover { background: rgba(255, 255, 255, .02); }
.m-time { font-size: 12px; color: var(--muted); line-height: 1.3; font-weight: 600; }
.m-time .live-min { color: var(--live); font-weight: 800; font-size: 13px; }
.m-teams { min-width: 0; display: grid; gap: 5px; }
.m-team { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; min-width: 0; }
.m-team .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-team .sc { margin-left: auto; font-weight: 800; font-variant-numeric: tabular-nums; padding-left: 8px; }
.m-team .red { width: 9px; height: 12px; background: var(--live); border-radius: 2px; flex: none; }
.crest { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: 8.5px; font-weight: 800; color: #fff; flex: none; letter-spacing: -.02em; }
.crest.lg { width: 52px; height: 52px; border-radius: 16px; font-size: 15px; }
.m-side { display: flex; align-items: center; gap: 6px; }
.m-meta { display: flex; gap: 2px; align-items: center; }
.odds3 { display: grid; grid-template-columns: repeat(3, 58px); gap: 6px; }
.odd { height: 42px; border-radius: 10px; background: var(--panel-2); border: 1px solid transparent; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; transition: background .12s, border-color .12s; }
.odd small { font-size: 10px; color: var(--muted); font-weight: 700; line-height: 1; margin-bottom: 3px; }
.odd:hover { border-color: #3a4a74; }
.odd.sel { background: var(--accent); color: var(--accent-ink); }
.odd.sel small { color: rgba(10, 15, 28, .6); }
.odd:disabled, .odd.locked { opacity: .35; cursor: not-allowed; }
.more-link { font-size: 12px; font-weight: 700; color: var(--muted); padding: 4px 6px; border-radius: 6px; white-space: nowrap; }
.more-link:hover { color: var(--text); background: var(--panel-2); }

/* Live-Karten */
.live-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.live-strip::-webkit-scrollbar { display: none; }
.lcard { padding: 14px; cursor: pointer; display: grid; gap: 10px; }
.lcard:hover { border-color: #33426a; }
.lcard-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--muted); font-weight: 600; }

/* ---------- Match-Seite ---------- */
.match-hero { padding: 20px; text-align: center; position: relative; overflow: hidden; }
.match-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 160px at 50% -40px, rgba(200, 240, 74, .08), transparent); pointer-events: none; }
.mh-comp { font-size: 13px; color: var(--muted); font-weight: 600; display: flex; justify-content: center; gap: 8px; align-items: center; flex-wrap: wrap; }
.mh-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 12px; margin-top: 16px; }
.mh-team { display: grid; justify-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.mh-score { margin-top: 8px; font-size: 38px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.mh-score.pre { font-size: 22px; color: var(--muted); }
.mh-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.mh-events { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 14px; font-size: 12px; }
.ev-pill { background: var(--panel-2); border-radius: 999px; padding: 4px 10px; color: var(--muted); }
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--line); margin: 18px 0 14px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: none; padding: 10px 12px; font-weight: 700; font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--accent); }
.market { margin-bottom: 10px; padding: 12px 14px; }
.market-title { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 8px; }
.sels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sels.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sels.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.selbtn { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--panel-2); border: 1px solid transparent; font-size: 13px; font-weight: 600; min-width: 0; text-align: left; }
.selbtn .lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #cbd4e8; }
.selbtn .o { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14px; }
.selbtn:hover { border-color: #3a4a74; }
.selbtn.sel { background: var(--accent); color: var(--accent-ink); }
.selbtn.sel .lbl { color: var(--accent-ink); }
.selbtn:disabled { opacity: .35; cursor: not-allowed; }
.stat-row { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; padding: 8px 0; font-size: 14px; }
.stat-row .lbl { text-align: center; color: var(--muted); font-size: 13px; }
.stat-row .v { font-weight: 800; font-variant-numeric: tabular-nums; }
.stat-row .v:last-child { text-align: right; }
.bar2 { display: flex; height: 5px; border-radius: 3px; overflow: hidden; background: var(--panel-2); margin-top: 6px; gap: 2px; }
.bar2 span:first-child { background: var(--accent); }
.bar2 span:last-child { background: var(--teal); }
.timeline { display: grid; gap: 2px; }
.tl { display: grid; grid-template-columns: 1fr 44px 1fr; align-items: center; font-size: 13px; padding: 6px 0; }
.tl .mn { text-align: center; color: var(--muted); font-weight: 700; font-variant-numeric: tabular-nums; }
.tl .l { text-align: right; padding-right: 8px; }
.tl .r { padding-left: 8px; }
.tl.marker { color: var(--dim); font-size: 12px; text-align: center; grid-template-columns: 1fr; border-top: 1px dashed var(--line); margin-top: 4px; }
.card-y { display: inline-block; width: 9px; height: 12px; border-radius: 2px; background: var(--warn); vertical-align: -1px; }
.card-r { display: inline-block; width: 9px; height: 12px; border-radius: 2px; background: var(--live); vertical-align: -1px; }

/* ---------- Wettschein ---------- */
.slip { display: flex; flex-direction: column; min-height: 100%; min-width: 0; overflow-x: hidden; }
.slip-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--bg-2); z-index: 2; }
.slip-head h2 { font-size: 16px; display: flex; gap: 8px; align-items: center; }
.slip-count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; padding: 0 6px; }
.slip-body { padding: 12px 16px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; align-content: start; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 3px; }
.seg button { padding: 7px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.seg button.on { background: var(--panel-2); color: var(--text); }
.leg { padding: 11px 12px; display: grid; gap: 4px; position: relative; }
.leg-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.leg-pick { font-weight: 700; font-size: 14px; }
.leg-odds { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 15px; display: flex; align-items: center; gap: 4px; }
.leg-odds .up { color: var(--win); font-size: 11px; }
.leg-odds .down { color: var(--loss); font-size: 11px; }
.leg-mkt { font-size: 12px; color: var(--muted); }
.leg-match { font-size: 12px; color: var(--dim); display: flex; gap: 6px; align-items: center; }
.leg.closed { opacity: .6; }
.leg .x { position: absolute; right: 6px; bottom: 6px; }
.stake-box { padding: 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; min-width: 0; }
.stake-input { display: flex; align-items: center; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; }
.stake-input:focus-within { border-color: var(--accent); }
.stake-input input { flex: 1; width: 100%; background: none; border: 0; outline: none; padding: 11px 0; font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; min-width: 0; }
.stake-input span { color: var(--muted); font-weight: 700; font-size: 13px; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.quick button { padding: 7px 0; border-radius: 8px; background: var(--panel-2); font-weight: 700; font-size: 13px; }
.quick button:hover { background: #22305a; }
.sum-row { display: flex; justify-content: space-between; font-size: 14px; }
.sum-row b { font-variant-numeric: tabular-nums; }
.sum-row.big b { font-size: 18px; color: var(--accent); }
.sim-note { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.4; }
.slip-empty { padding: 40px 18px; text-align: center; color: var(--muted); font-size: 14px; line-height: 1.5; }
.slip-empty .big-ico { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 14px; background: var(--panel); display: grid; place-items: center; color: var(--dim); }

/* ---------- Wetten ---------- */
.filters { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin: 12px 0 16px; }
.select { width: 100%; padding: 9px 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; font-size: 13px; font-weight: 600; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 15px) 55%, calc(100% - 10px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 26px; }
.bet { margin-bottom: 10px; overflow: hidden; display: block; }
.bet:hover { border-color: #33426a; }
.bet-head { display: flex; flex-wrap: wrap; gap: 6px; justify-content: space-between; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.bet-head .t { font-weight: 700; display: flex; gap: 8px; align-items: center; }
.bet-legs { padding: 4px 14px; }
.bet-leg { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 10px; padding: 8px 0; font-size: 13px; border-bottom: 1px dashed var(--line); align-items: center; }
.bet-leg:last-child { border-bottom: 0; }
.bet-leg .who { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bet-leg .pk { font-weight: 700; }
.st-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--dim); }
.st-dot.WON { background: var(--win); }
.st-dot.LOST { background: var(--loss); }
.st-dot.VOID { background: var(--void); }
.st-dot.OPEN { background: transparent; border: 2px solid #7aa2ff; }
.bet-foot { display: grid; grid-template-columns: repeat(4, 1fr); padding: 10px 14px; background: rgba(255, 255, 255, .02); border-top: 1px solid var(--line); font-size: 12px; gap: 8px; }
.bet-foot small { display: block; color: var(--dim); margin-bottom: 2px; }
.bet-foot b { font-size: 14px; font-variant-numeric: tabular-nums; }
.pos { color: var(--win); }
.neg { color: var(--loss); }

/* ---------- Performance ---------- */
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.kpi { padding: 14px; }
.kpi small { display: block; color: var(--muted); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.kpi b { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.kpi .sub { font-size: 12px; color: var(--dim); margin-top: 3px; }
.perf-card { padding: 18px; display: grid; gap: 14px; background: linear-gradient(135deg, #18233f, #121a2e); }
.perf-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.perf-top small { color: var(--muted); font-size: 12px; font-weight: 600; }
.perf-bal { font-size: 30px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; margin-top: 2px; }
.perf-mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.perf-mini div small { display: block; color: var(--dim); font-size: 11px; margin-bottom: 2px; }
.perf-mini div b { font-variant-numeric: tabular-nums; font-size: 15px; }
.chart { width: 100%; height: 160px; display: block; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th { text-align: left; color: var(--dim); font-weight: 600; font-size: 12px; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tbl td:not(:first-child), .tbl th:not(:first-child) { text-align: right; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ---------- Formulare ---------- */
.auth-wrap { max-width: 420px; margin: 10px auto; }
.form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input { width: 100%; padding: 11px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); outline: none; font-size: 15px; }
.input:focus { border-color: var(--accent); }
.form-err { color: var(--loss); font-size: 13px; min-height: 18px; }
.pill-opts { display: flex; gap: 6px; flex-wrap: wrap; }
.team-pick { display: flex; flex-wrap: wrap; gap: 6px; max-height: 210px; overflow-y: auto; padding: 2px; }
.team-pick .chip { font-size: 12px; padding: 6px 10px; }

/* ---------- KI Platzhalter ---------- */
.pipeline { display: grid; gap: 8px; }
.pipe-step { display: flex; align-items: center; gap: 12px; padding: 11px 14px; font-size: 14px; }
.pipe-step .n { width: 26px; height: 26px; border-radius: 8px; background: var(--panel-2); display: grid; place-items: center; font-weight: 800; font-size: 12px; color: var(--muted); flex: none; }
.pipe-step .ph { margin-left: auto; font-size: 11px; color: var(--dim); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; white-space: nowrap; }

/* ---------- Modal & Toast ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(3, 6, 14, .7); z-index: 60; display: grid; place-items: center; padding: 16px; animation: fade .15s; }
.modal { width: min(420px, 100%); padding: 20px; display: grid; gap: 14px; box-shadow: var(--shadow); }
.modal h3 { font-size: 18px; }
.modal p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.modal .row { display: flex; gap: 8px; justify-content: flex-end; }
.check { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--muted); }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: 24px; z-index: 70; display: grid; gap: 8px; width: min(420px, calc(100% - 24px)); }
.toast { background: #1f2b4a; border: 1px solid #33426a; border-radius: 12px; padding: 12px 14px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow); animation: up .2s; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.toast a { color: var(--accent); white-space: nowrap; }
.toast.err { border-color: rgba(255, 107, 125, .5); }
@keyframes fade { from { opacity: 0; } }
@keyframes up { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  :root { --slip-w: 0px; }
  .layout { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); }
  .slip-col { display: none; }
  .slip-mobile { display: block; }
  .main { padding-bottom: 140px; }
}
@media (max-width: 820px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .sidebar { display: none; }
  .main { padding: 14px 14px 150px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: rgba(10, 15, 28, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bn { display: grid; justify-items: center; gap: 3px; padding: 4px 0; font-size: 11px; font-weight: 600; color: var(--dim); position: relative; }
  .bn.active { color: var(--accent); }
  .bn .bdg { position: absolute; top: 0; left: calc(50% + 6px); background: var(--live); color: #fff; border-radius: 999px; font-size: 10px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 4px; font-weight: 800; }
  .balance-chip small { display: none; }
  .page-head h1 { font-size: 21px; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perf-mini { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1fr; }
  .bet-foot { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  .slip-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; background: var(--accent); color: var(--accent-ink); border-radius: 14px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; font-weight: 800; box-shadow: var(--shadow); width: auto; }
  .slip-bar .c { background: var(--accent-ink); color: var(--accent); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; margin-right: 8px; }
  .sheet-bg { position: fixed; inset: 0; background: rgba(3, 6, 14, .6); z-index: 50; animation: fade .15s; }
  .sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; max-height: 88vh; overflow-y: auto; background: var(--bg-2); border-radius: 18px 18px 0 0; border-top: 1px solid var(--line); animation: up .2s; padding-bottom: env(safe-area-inset-bottom); }
  .sheet .slip-head { border-radius: 18px 18px 0 0; }
}
@media (max-width: 820px) {
  .slip-bar { bottom: calc(66px + env(safe-area-inset-bottom)); }
  .toasts { bottom: auto; top: calc(8px + env(safe-area-inset-top)); }
}
@media (max-width: 480px) {
  .odds3 { grid-template-columns: repeat(3, 48px); gap: 4px; }
  .odd { height: 40px; font-size: 13px; }
  .mrow { grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; padding: 10px 10px; }
  .m-meta { display: none; }
  .m-team { font-size: 13px; }
  .mh-score { font-size: 32px; }
  .sels.grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .selbtn { padding: 9px 9px; font-size: 12px; }
  .demo-banner { font-size: 11px; }
}

/* ---------- Livescore-Erweiterungen ---------- */
.flag-img { width: 18px; height: 13px; object-fit: cover; border-radius: 2px; flex: none; }
.comp-head { cursor: pointer; user-select: none; }
.comp-head .cname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.comp-head small { white-space: nowrap; }
.comp-right { margin-left: auto; display: flex; align-items: center; gap: 6px; flex: none; }
.comp-right .cnt { color: var(--dim); font-size: 12px; font-weight: 700; min-width: 18px; text-align: right; }
.comp-right .icon-btn { width: 28px; height: 28px; }
.comp-right .chev .ico { transform: rotate(90deg); transition: transform .15s; color: var(--dim); }
.comp-block.collapsed .comp-head { border-bottom: 0; }
.comp-block.collapsed .chev .ico { transform: rotate(0deg); }
.comp-block { margin-bottom: 10px; }
.lc-comp { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.badge.delayed { background: rgba(255, 198, 92, .12); color: var(--warn); font-size: 10px; padding: 1px 6px; }
.odd.more-odds { grid-column: 1 / -1; font-size: 12px; font-weight: 700; color: var(--muted); }

/* Datumsleiste */
.date-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.date-strip::-webkit-scrollbar { display: none; }
.date-chip { flex: none; min-width: 58px; padding: 7px 8px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); text-align: center; display: grid; gap: 1px; }
.date-chip b { font-size: 13px; }
.date-chip small { font-size: 11px; color: var(--dim); font-weight: 600; }
.date-chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.date-chip.active small { color: rgba(10, 15, 28, .65); }

/* Quotenbewegung */
.odd .mv, .selbtn .mv { font-style: normal; font-size: 9px; margin-right: 3px; }
.odd.up, .selbtn.up { border-color: rgba(62, 230, 160, .55); animation: flashUp 1.2s ease 2; }
.odd.down, .selbtn.down { border-color: rgba(255, 107, 125, .55); animation: flashDown 1.2s ease 2; }
.up .mv { color: var(--win); } .down .mv { color: var(--loss); }
.sel.up .mv, .sel.down .mv { color: var(--accent-ink); }
@keyframes flashUp { 50% { background: rgba(62, 230, 160, .18); } }
@keyframes flashDown { 50% { background: rgba(255, 107, 125, .18); } }

/* Tor */
.goal-flash { animation: goalFlash 1.4s ease 4; }
@keyframes goalFlash { 50% { box-shadow: inset 0 0 0 2px var(--accent); background: rgba(200, 240, 74, .08); } }
.sc.goal, .mh-score.goal { color: var(--accent); }

/* Match-Detail */
.mh-scorers { display: grid; grid-template-columns: 1fr 120px 1fr; gap: 8px; font-size: 12px; color: var(--muted); margin-top: 10px; }
.mh-scorers > div:first-child { text-align: right; }
.mh-scorers > div > div { padding: 1px 0; }
.mh-venue { font-size: 12px; text-align: center; margin-top: 8px; }
.mh-comp a { display: inline-flex; align-items: center; gap: 6px; }
.tab .n { font-size: 11px; opacity: .6; }
.mk-groups { margin: -4px 0 12px; }
.mk-groups .chip { padding: 5px 11px; font-size: 12px; }

/* Ticker */
.ticker { display: grid; }
.tk { display: grid; grid-template-columns: 48px 26px 1fr; align-items: start; gap: 6px; padding: 9px 0; border-bottom: 1px solid rgba(36, 48, 77, .6); font-size: 13.5px; line-height: 1.4; }
.tk:last-child { border-bottom: 0; }
.tk .mn { color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }
.tk .ic { text-align: center; }
.tk.goal { background: linear-gradient(90deg, rgba(200, 240, 74, .08), transparent); }
.tk.marker { grid-template-columns: 1fr; text-align: center; color: var(--dim); font-size: 12px; font-weight: 700; background: var(--bg-2); border-radius: 8px; padding: 6px; border: 0; margin: 4px 0; }
.card-y, .card-r { display: inline-block; width: 9px; height: 12px; border-radius: 2px; vertical-align: -1px; }
.card-y { background: #ffd23f; }

/* Aufstellung */
.pitch { background: repeating-linear-gradient(180deg, #14532d 0 40px, #166534 40px 80px); border-radius: var(--radius); padding: 10px 6px; position: relative; overflow: hidden; }
.pitch .half { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.pitch .half:first-child { border-bottom: 2px solid rgba(255, 255, 255, .35); }
.pl-row { display: flex; justify-content: space-around; gap: 4px; }
.pl { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 0; flex: 1; max-width: 90px; }
.pl .no { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 12px; background: #fff; color: #0a0f1c; border: 2px solid rgba(0, 0, 0, .2); }
.pl.a .no { background: var(--accent); }
.pl .pn { font-size: 11px; font-weight: 700; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pl .rt, .lu-list .rt { font-size: 10px; font-weight: 800; background: #0a0f1c; color: var(--accent); border-radius: 4px; padding: 0 4px; }
.lu-list { display: grid; gap: 5px; font-size: 13px; }
.lu-list .no { display: inline-block; min-width: 22px; color: var(--muted); font-weight: 800; font-variant-numeric: tabular-nums; }

/* Tabelle & H2H */
.tbl-wrap { overflow-x: auto; }
.standings td, .standings th { padding: 7px 6px; font-size: 13px; text-align: center; white-space: nowrap; }
.standings td.tn, .standings th:nth-child(2) { text-align: left; max-width: 170px; overflow: hidden; text-overflow: ellipsis; }
.standings tr.hl td { background: rgba(200, 240, 74, .1); }
.standings tr[data-href] { cursor: pointer; }
.standings tr[data-href]:hover td { background: rgba(255, 255, 255, .03); }
.standings td.tn .tcell { display: flex; align-items: center; gap: 6px; min-width: 0; }
.standings td.tn .tname { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
@media (max-width: 560px) {
  .standings { width: 100%; table-layout: fixed; }
  .standings td, .standings th { padding: 7px 2px; font-size: 12.5px; }
  .standings th:nth-child(1), .standings td:nth-child(1) { width: 24px; }
  .standings th:not(:nth-child(1)):not(:nth-child(2)), .standings td:not(:nth-child(1)):not(.tn) { width: 30px; }
  .standings .c-g { display: none; }
  .standings td.tn { max-width: none; }
  .standings td.tn .tlogo { width: 16px; height: 16px; }
}
.fbadges { display: inline-flex; gap: 2px; }
.fbadges i { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 4px; font-size: 10px; font-weight: 800; margin: 0 1px; background: var(--panel-2); }
.fbadges .f-W { background: rgba(62, 230, 160, .25); color: var(--win); }
.fbadges .f-L { background: rgba(255, 107, 125, .22); color: var(--loss); }
.h2h-row { display: grid; grid-template-columns: 82px 1fr 52px 1fr 1fr; gap: 8px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 13px; }
.h2h-row:last-child { border-bottom: 0; }
.h2h-row .h2h-home { text-align: right; }
.kpis.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.h2h-row b { text-align: center; }
.h2h-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Suche & Wettschein-Einstellung */
.search-box { display: flex; gap: 8px; }
.search-box .input { flex: 1; }
.accept-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; }
.seg.sm { grid-template-columns: repeat(3, auto); }
.seg.sm button { padding: 4px 9px; font-size: 12px; }
@media (max-width: 820px) {
  .hide-sm { display: none; }
  .h2h-row { grid-template-columns: 70px 1fr 44px 1fr; }
  .mh-scorers { grid-template-columns: 1fr 40px 1fr; font-size: 11px; }
}

/* ===== Wappen, Flaggen, Liga-Logos ===== */
.crest { position: relative; overflow: hidden; }
.crest.has-img { background: transparent !important; color: transparent; }
.crest > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.crest.is-flag > img { inset: 3px 0; height: calc(100% - 6px); object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.crest.md { width: 34px; height: 34px; border-radius: 10px; font-size: 11px; }
.crest.lg.has-img > img { padding: 2px; }
.lg-logo { width: 20px; height: 20px; display: inline-grid; place-items: center; flex: none; background: #fff; border-radius: 5px; padding: 2px; vertical-align: middle; }
.lg-logo img { width: 100%; height: 100%; object-fit: contain; }
.lg-logo.nologo, .lg-logo:empty { display: none; }
.side-link .lg-logo { width: 20px; height: 20px; }
.chip .lg-logo { width: 16px; height: 16px; border-radius: 4px; padding: 1px; margin-right: 2px; }
.tlogo { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; margin: 0 6px; }
.tn .tlogo { margin-left: 0; }
.kpi small .crest { display: inline-grid; vertical-align: middle; width: 18px; height: 18px; }
.soon-min { color: var(--accent, #3ee6a0); font-size: 11px; font-weight: 700; }

/* ===== Top-Spiele (Highlights) ===== */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.fcard { padding: 14px; display: grid; gap: 12px; cursor: pointer; }
.fcard:hover { border-color: #33426a; }
.fc-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); font-weight: 600; }
.fc-top .lc-comp { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-when { white-space: nowrap; color: var(--text); font-weight: 700; }
.fc-teams { display: grid; gap: 8px; }
.fc-team { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.fc-team > span:not(.crest) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fc-team b { font-size: 18px; min-width: 22px; text-align: right; }
.fc-team b.goal { color: var(--win); }
.fc-odds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.fc-odds .odd { width: 100%; }
.lcard-top .lc-comp, .mh-comp a { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 560px) { .feat-grid { grid-auto-flow: column; grid-auto-columns: 85%; grid-template-columns: none; overflow-x: auto; scrollbar-width: none; } }

/* ===== Phase 2/3: KI-Analyse & Value Picks ===== */
.badge.value { background: rgba(200, 240, 74, .16); color: var(--accent); border-color: rgba(200, 240, 74, .35); }
.verdict { display: flex; align-items: center; gap: 14px; padding: 16px; flex-wrap: wrap; }
.verdict > .ico { width: 30px; height: 30px; flex: none; }
.verdict > div { flex: 1; min-width: 200px; display: grid; gap: 3px; }
.verdict small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.verdict b { font-size: 18px; }
.verdict span { color: var(--muted); font-size: 13px; line-height: 1.45; }
.verdict.value { border-color: rgba(200, 240, 74, .45); background: linear-gradient(135deg, rgba(200, 240, 74, .10), transparent 60%), var(--panel); }
.verdict.value > .ico { color: var(--accent); }
.verdict.nobet > .ico { color: var(--muted); }
.verdict .odd, .pk-main .odd { min-width: 74px; }
.conf { display: inline-block; width: 56px; height: 6px; border-radius: 4px; background: var(--panel-2); overflow: hidden; vertical-align: middle; }
.conf i { display: block; height: 100%; border-radius: 4px; }
.conf i.hi { background: var(--win); } .conf i.mid { background: var(--accent); } .conf i.lo { background: var(--loss); }
.conf-row { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.ai-tbl td { vertical-align: middle; }
.ai-tbl tr.hl td { background: rgba(200, 240, 74, .06); }
.ai-tbl .odd { min-width: 58px; padding: 6px 8px; }
.cmp { display: grid; gap: 8px; margin-top: 12px; }
.cmp-row { display: grid; grid-template-columns: 44px 1fr 44px; gap: 10px; align-items: center; font-size: 12px; }
.cmp-row .v { font-weight: 700; } .cmp-row .v:last-child { text-align: right; }
.cmp-row .lbl { text-align: center; color: var(--muted); margin-bottom: 3px; }
.form-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; font-size: 14px; font-weight: 600; }
.how ol { margin: 10px 0 6px; padding-left: 20px; line-height: 1.6; font-size: 14px; color: var(--muted); }
.how summary { cursor: pointer; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.pick { padding: 14px; display: grid; gap: 10px; cursor: pointer; }
.pick.is-value { border-color: rgba(200, 240, 74, .3); }
.pk-top { display: flex; justify-content: space-between; font-size: 12px; gap: 8px; }
.pk-match { font-weight: 800; font-size: 15px; }
.pk-main { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.pk-main > div { min-width: 0; }
.pk-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.pk-kpis small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.pk-kpis b { font-size: 14px; }

/* ===== Phase 4: Community ===== */
.avatar.sm { width: 26px; height: 26px; font-size: 10px; border-radius: 8px; flex: none; }
.avatar.lg { width: 56px; height: 56px; font-size: 18px; border-radius: 16px; flex: none; }
.u-name { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; min-width: 0; }
.u-name span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.u-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.u-row:last-child { border-bottom: 0; }
.u-row .u-name { flex: 1; }
.u-head { display: flex; align-items: center; gap: 14px; }
.lb td { vertical-align: middle; }
.lb .rk { font-weight: 800; width: 40px; }
.lb tr.hl td { background: rgba(122, 162, 255, .08); }
.chip-row .sep { width: 1px; background: var(--line); margin: 0 4px; }
.invite { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.invite small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; }
.invite .code { font-size: 26px; letter-spacing: .18em; font-family: ui-monospace, monospace; }
.bet-list { display: grid; gap: 10px; }
@media (max-width: 560px) { .pick-grid { grid-template-columns: 1fr; } .verdict b { font-size: 16px; } }
.pick .badge:not(.value):not(.won):not(.lost), .u-row .badge { background: var(--panel-2); color: var(--muted); }
.lb td:nth-child(2), .lb th:nth-child(2), .ai-tbl td:nth-child(2), .ai-tbl th:nth-child(2) { text-align: left; }

/* ===== KI-Kombi-Builder ===== */
.kombi-form { display: grid; gap: 14px; }
.kombi-ask { display: flex; gap: 8px; }
.kombi-ask .input { flex: 1; min-width: 0; }
.kombi-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.kombi-opts small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.seg.wrap { display: flex; flex-wrap: wrap; gap: 2px; }
.seg.wrap a { flex: 1 0 auto; text-align: center; }
.seg a { padding: 7px 11px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); }
.seg a.on { background: var(--accent); color: var(--accent-ink); }
.kombi-busy { display: grid; justify-items: center; gap: 6px; margin-top: 12px; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--accent); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.kombi-res { margin-top: 12px; overflow: hidden; }
.kr-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px; background: linear-gradient(135deg, rgba(200, 240, 74, .12), transparent 70%); }
.kr-head small { display: block; color: var(--muted); font-size: 12px; }
.kr-head b { font-size: 22px; }
.kr-kpi { text-align: right; } .kr-kpi b { font-size: 18px; }
.klegs { display: grid; }
.kleg { padding: 12px 16px; border-top: 1px solid var(--line); display: grid; gap: 4px; }
.kl-top { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; }
.kl-main { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.kl-main > div { min-width: 0; }
.kl-match { font-weight: 800; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kl-pick { font-size: 14px; margin-top: 2px; }
.kl-odds { font-size: 17px; padding: 6px 10px; border-radius: 8px; background: var(--panel-2); flex: none; }
.kr-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-top: 1px solid var(--line); }
.kr-note { font-size: 12px; padding: 0 16px 14px; margin: 0; }
@media (max-width: 560px) { .kombi-ask { flex-direction: column; } .kr-foot .row { width: 100%; } .kr-foot .row > * { flex: 1; } .kr-head b { font-size: 19px; } }

/* ===== Rechtliches & Footer ===== */
.legal-body h2 { font-size: 17px; margin: 20px 0 6px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { line-height: 1.6; color: #c9d2e6; font-size: 14.5px; }
.legal-body ul { padding-left: 20px; }
.legal-body a, .legal-nav a, .sf-links a { color: var(--accent); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 6px 10px; justify-content: center; font-size: 13px; margin-top: 14px; }
.legal-nav span, .sf-links span { color: var(--line); }
.site-footer { margin-top: 32px; padding: 18px 4px 8px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 12.5px; color: var(--muted); }
.sf-note { display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.sf-note .ico { flex: none; margin-top: 2px; }
.sf-links { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.sf-copy { font-size: 11.5px; opacity: .8; }
.check.accept { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; }
.check.accept input { margin-top: 3px; flex: none; width: 18px; height: 18px; }
.check.accept a { color: var(--accent); }
.kombi-more summary { cursor: pointer; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; gap: 8px; list-style: none; }
.kombi-more summary::-webkit-details-marker { display: none; }
.kombi-more summary span { color: var(--accent); flex: none; }
.kombi-more[open] summary { margin-bottom: 12px; }
.nw { white-space: nowrap; }
.mk-sub { display: none; color: var(--muted); font-size: 11px; font-weight: 600; }
@media (max-width: 560px) {
  .ai-tbl .mk-col, .ai-tbl .fair-col { display: none; }
  .ai-tbl .mk-sub { display: block; }
  .ai-tbl td, .ai-tbl th { padding: 8px 5px; font-size: 13px; }
  .ai-tbl .odd { min-width: 50px; padding: 5px 6px; }
  .verdict { padding: 14px; }
}
.u-row .dim { font-size: 12.5px; text-align: right; }
.u-row .u-name { min-width: 40%; }
.kombi-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; border-color: rgba(200, 240, 74, .3); background: linear-gradient(135deg, rgba(200, 240, 74, .08), transparent 60%), var(--panel); }
.kombi-cta > div:first-child { display: grid; gap: 4px; min-width: 220px; flex: 1; }
.kombi-cta b { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; }
.kombi-cta .muted { font-size: 13.5px; }
.kombi-cta .row { flex-wrap: wrap; }

/* ---------- App (Capacitor): Werbebanner unten, Pro ---------- */
:root { --ad-h: 0px; }
html.app-ads .bottom-nav { bottom: calc(var(--ad-h) + env(safe-area-inset-bottom)); padding-bottom: 6px; }
html.app-ads .main { padding-bottom: calc(150px + var(--ad-h)); }
html.app-ads .slip-bar { bottom: calc(66px + var(--ad-h) + env(safe-area-inset-bottom)); }
html.app-ads .sheet { bottom: calc(var(--ad-h) + env(safe-area-inset-bottom)); max-height: calc(88vh - var(--ad-h)); padding-bottom: 0; }
html.is-app { --top-h-app: calc(var(--top-h) + env(safe-area-inset-top)); }
html.is-app .topbar { height: var(--top-h-app); padding-top: env(safe-area-inset-top); }
html.is-app .demo-banner { display: none; }
html.is-app { -webkit-tap-highlight-color: transparent; }
html.is-app body { overscroll-behavior-y: none; }
.pro-benefits { display: grid; gap: 12px; margin-bottom: 12px; }
.pro-b { display: flex; gap: 10px; align-items: flex-start; }
.pro-b .ico { color: var(--accent); flex: none; margin-top: 2px; }
.pro-b b { display: block; }
.pro-b span { color: var(--muted); font-size: 13px; }
.pro-offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 10px; }
.pro-offer { display: grid; gap: 4px; text-align: left; padding: 16px; cursor: pointer; border: 1px solid var(--line); color: inherit; font: inherit; }
.pro-offer.best { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.pro-offer small { color: var(--muted); font-weight: 600; }
.pro-offer b { font-size: 22px; }
.pro-offer span { color: var(--dim); font-size: 12px; }
.pro-offer:disabled { opacity: .6; }
.pro-legal { font-size: 12px; line-height: 1.5; margin-top: 12px; }
.pro-active, .pro-upsell { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 12px; }
.pro-active { border-color: rgba(200, 240, 74, .45); }
.pro-active .ico, .pro-upsell > .ico { color: var(--accent); flex: none; width: 26px; height: 26px; }
.pro-active b, .pro-upsell b { display: block; }
.pro-active span, .pro-upsell span { color: var(--muted); font-size: 13px; }
.pro-upsell > div { flex: 1; }
.pro-card .pro-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 14px; }
.pro-card .pro-row span { display: flex; gap: 8px; align-items: center; color: var(--muted); }
.btn.block { width: 100%; justify-content: center; }
@media (max-width: 520px) { .pro-upsell { flex-wrap: wrap; } .pro-upsell .btn { width: 100%; justify-content: center; } }

/* ===== KI-Analyse: Auswahl, Analyse-Seite, Spielanalyse ===== */
.m-left { display: grid; gap: 5px; justify-items: start; align-content: center; min-width: 0; }
.pick-btn { width: 26px; height: 26px; border-radius: 50%; display: inline-grid; place-items: center; border: 1px solid var(--line); background: var(--bg-2); color: var(--muted); flex: none; }
.pick-btn .ico { width: 15px; height: 15px; }
.pick-btn:hover { color: var(--accent); border-color: rgba(200, 240, 74, .5); }
.pick-btn.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.pick-btn.demo { width: 22px; height: 22px; vertical-align: middle; color: var(--accent); }
.mrow.picked { box-shadow: inset 3px 0 0 var(--accent); background: rgba(200, 240, 74, .04); }
.lcard-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; border-top: 1px solid var(--line); padding-top: 9px; margin-top: 1px; }
.ki-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.ki-link .ico { width: 16px; height: 16px; }
.mh-actions { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; position: relative; }

/* Leiste „x Spiele ausgewählt“ */
.ana-bar { position: fixed; z-index: 44; bottom: 16px; left: calc(var(--sidebar-w) + (100vw - var(--sidebar-w) - var(--slip-w)) / 2); transform: translateX(-50%); width: min(520px, calc(100vw - var(--sidebar-w) - var(--slip-w) - 32px));
  display: flex; align-items: stretch; background: #1d2a12; border: 1px solid rgba(200, 240, 74, .55); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; animation: up .2s; }
.ana-go { flex: 1; display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-weight: 700; font-size: 14px; min-width: 0; }
.ana-go .t { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ana-go .c { background: var(--accent); color: var(--accent-ink); border-radius: 999px; min-width: 22px; height: 22px; display: inline-grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; }
.ana-go b { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); white-space: nowrap; }
.ana-x { width: 44px; display: grid; place-items: center; color: var(--muted); border-left: 1px solid rgba(200, 240, 74, .25); }
.ana-x:hover { color: var(--text); }
html.has-anabar .main { padding-bottom: 190px; }
@media (max-width: 1180px) {
  .ana-bar { left: calc(var(--sidebar-w) + (100vw - var(--sidebar-w)) / 2); width: min(520px, calc(100vw - var(--sidebar-w) - 24px)); bottom: 14px; }
  html.has-slipbar .ana-bar { bottom: 80px; }
}
@media (max-width: 820px) {
  .ana-bar { left: 12px; right: 12px; width: auto; transform: none; bottom: calc(66px + env(safe-area-inset-bottom)); }
  html.has-slipbar .ana-bar { bottom: calc(66px + 58px + env(safe-area-inset-bottom)); }
  html.has-anabar .main { padding-bottom: 210px; }
  html.app-ads .ana-bar { bottom: calc(66px + var(--ad-h) + env(safe-area-inset-bottom)); }
  html.app-ads.has-slipbar .ana-bar { bottom: calc(66px + 58px + var(--ad-h) + env(safe-area-inset-bottom)); }
  html.app-ads.has-anabar .main { padding-bottom: calc(220px + var(--ad-h)); }
}

/* Spielanalyse */
.ins > * + * { margin-top: 12px; }
.ins > .section-head { margin-top: 20px; }
.ins-head { padding: 16px; border-color: rgba(200, 240, 74, .3); background: linear-gradient(135deg, rgba(200, 240, 74, .07), transparent 55%), var(--panel); }
.ins-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; }
.ins-top b { display: inline-flex; align-items: center; gap: 7px; font-size: 16px; }
.ins-top .ico { color: var(--accent); }
.qbadge { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; background: var(--panel-2); color: var(--muted); }
.qbadge.q-hoch { background: rgba(62, 230, 160, .14); color: var(--win); }
.qbadge.q-mittel { background: rgba(255, 198, 92, .12); color: var(--warn); }
.qbadge.q-niedrig { background: rgba(255, 107, 125, .12); color: var(--loss); }
.pbar3 { display: flex; height: 28px; border-radius: 9px; overflow: hidden; gap: 2px; font-size: 12px; font-weight: 800; }
.pbar3 span { display: grid; place-items: center; min-width: 0; overflow: hidden; white-space: nowrap; }
.pbar3 .h { background: var(--accent); color: var(--accent-ink); }
.pbar3 .d { background: var(--panel-2); color: var(--muted); }
.pbar3 .a { background: var(--teal); color: var(--accent-ink); }
.pbar3-l { display: flex; justify-content: space-between; gap: 8px; margin-top: 6px; font-size: 12px; color: var(--muted); font-weight: 600; }
.pbar3-l span { max-width: 40%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pbar3-l span:nth-child(2) { text-align: center; }
.pbar3-l span:last-child { text-align: right; }
.ins-xg { margin-top: 10px; font-size: 13px; color: var(--muted); line-height: 1.45; }
.ins-xg b { color: var(--text); }
.ins-best { margin-top: 12px; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: rgba(200, 240, 74, .07); border: 1px solid rgba(200, 240, 74, .3); }
.ins-best > div { display: grid; gap: 2px; min-width: 0; }
.ins-best small { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.ins-best b { font-size: 16px; }
.ins-best .dim { font-size: 12.5px; }
.ins-best .odd { min-width: 70px; flex: none; }
.fair { font-size: 12px; color: var(--muted); border: 1px dashed var(--line); border-radius: 8px; padding: 5px 8px; white-space: nowrap; display: inline-block; }
.ins-list { list-style: none; margin: 0; padding: 0; display: grid; }
.ins-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px dashed rgba(36, 48, 77, .8); font-size: 14px; line-height: 1.45; }
.ins-list li:last-child { border-bottom: 0; }
.itag { flex: none; min-width: 64px; text-align: center; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; padding: 3px 6px; border-radius: 6px; margin-top: 1px; background: var(--panel-2); color: var(--muted); }
.itag.t-form { background: rgba(122, 162, 255, .14); color: #a9c0ff; }
.itag.t-goals { background: rgba(62, 230, 193, .12); color: var(--teal); }
.itag.t-absent { background: rgba(255, 107, 125, .13); color: var(--loss); }
.itag.t-live { background: rgba(255, 77, 109, .15); color: var(--live); }
.itag.t-verdict { background: rgba(200, 240, 74, .16); color: var(--accent); }
.itag.t-h2h, .itag.t-table { background: rgba(255, 198, 92, .11); color: var(--warn); }
.ip-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.ip-row:last-of-type { border-bottom: 0; }
.ip-main { min-width: 0; }
.ip-main b { font-size: 14px; display: block; line-height: 1.3; overflow-wrap: anywhere; }
.ip-main small { display: block; color: var(--muted); font-size: 12px; margin-top: 1px; }
.ip-p { font-weight: 800; font-size: 14px; text-align: right; }
.ip-o .odd { width: 62px; height: 38px; }
.pmeter { height: 4px; border-radius: 3px; background: var(--panel-2); margin-top: 6px; overflow: hidden; }
.pmeter i { display: block; height: 100%; background: #6f86c9; border-radius: 3px; }
.ip-row.safe .pmeter i, .kleg .pmeter i { background: var(--accent); }
.top-scores { margin-top: 12px; display: grid; gap: 6px; }
.form-card { display: grid; gap: 12px; align-content: start; }
.fc-h { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.fc-h b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
.fgrid small { display: block; color: var(--muted); font-size: 11px; }
.fgrid b { font-size: 15px; font-variant-numeric: tabular-nums; }
.last-list { display: grid; border-top: 1px solid var(--line); }
.last-list .lg { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 8px; padding: 6px 0; font-size: 13px; border-bottom: 1px solid rgba(36, 48, 77, .6); }
.last-list .lg:last-child { border-bottom: 0; }
.last-list .o { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.r-W { color: var(--win); } .r-L { color: var(--loss); } .r-D { color: var(--muted); }
.stack { display: grid; gap: 12px; }
.abs-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.abs-grid ul { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.abs-grid li { font-size: 13.5px; padding-left: 14px; position: relative; line-height: 1.4; }
.abs-grid li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--loss); }
.abs-grid li.doubt::before { background: var(--warn); }
.abs-grid p { margin: 8px 0 0; font-size: 13px; }
.ctx-card { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ctx-card small { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 6px; }
.ctx-row { display: flex; justify-content: space-between; gap: 10px; font-size: 13.5px; padding: 4px 0; }
.ctx-row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ctx-row b { white-space: nowrap; }
.live-ana { border-color: rgba(255, 77, 109, .35); }
.nextgoal small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 6px; }
.live-stats { margin-top: 10px; }
.proj { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.proj-h { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; font-size: 14px; }
.proj-h .dim { font-size: 12.5px; }
.proj-lines { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.proj-lines .pl { display: inline-flex; flex-direction: row; max-width: none; flex: none; gap: 6px; font-size: 12.5px; padding: 5px 9px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.proj-lines .pl b { color: var(--text); }
.proj-lines .pl.hi { background: rgba(62, 230, 160, .12); color: var(--win); }
.proj-lines .pl.lo { opacity: .7; }
.ins-note { font-size: 12px; line-height: 1.5; }

/* Analyse-Seite */
.sel-list { overflow: hidden; margin-bottom: 12px; }
.sel-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.sel-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; gap: 10px; align-items: center; padding: 10px 8px 10px 14px; border-bottom: 1px solid var(--line); cursor: pointer; }
.sel-row:hover { background: rgba(255, 255, 255, .02); }
.sr-main { min-width: 0; display: grid; gap: 4px; }
.sr-main small { display: flex; align-items: center; gap: 6px; font-size: 12px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sr-teams { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; flex-wrap: wrap; row-gap: 3px; }
.sr-teams .crest { width: 20px; height: 20px; }
.sr-when { font-size: 13px; white-space: nowrap; text-align: right; display: grid; justify-items: end; gap: 3px; }
.sel-add { display: flex; align-items: center; gap: 8px; padding: 12px 14px; color: var(--accent); font-weight: 700; font-size: 14px; }
.ana-empty { display: grid; gap: 10px; }
.ana-empty ol { margin: 0; padding-left: 20px; line-height: 1.7; color: #c9d2e6; font-size: 14.5px; }
.ana-empty .row { flex-wrap: wrap; }
.prog { width: min(320px, 80%); height: 6px; border-radius: 4px; background: var(--panel-2); overflow: hidden; margin-top: 10px; }
.prog i { display: block; height: 100%; background: var(--accent); transition: width .3s; }
.kl-right { display: grid; justify-items: end; gap: 2px; flex: none; }
.kl-right small { font-size: 12px; font-weight: 700; }
.kl-why { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; color: var(--muted); line-height: 1.45; display: grid; gap: 2px; }
.skipped { margin-top: 12px; display: grid; gap: 2px; }
.skipped .sk { display: flex; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13px; }
.skipped .sk a { font-weight: 700; }
.ana-match summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px; cursor: pointer; }
.ana-match summary::-webkit-details-marker { display: none; }
.am-h { display: grid; gap: 3px; min-width: 0; }
.am-h small { display: flex; align-items: center; gap: 6px; font-size: 12px; }
.am-h b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-best { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.am-best .ico { width: 15px; height: 15px; }
.ana-match .chev .ico { color: var(--dim); transition: transform .15s; }
.ana-match[open] .chev .ico { transform: rotate(90deg); }
.am-body { padding: 0 14px 14px; display: grid; gap: 10px; }
@media (max-width: 560px) {
  .abs-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .itag { min-width: 56px; font-size: 10px; }
  .ins-list li { font-size: 13.5px; gap: 8px; }
  .ins-best { flex-wrap: wrap; }
  .ins-best .odd { flex: 1; }
  .ip-row { grid-template-columns: minmax(0, 1fr) 42px auto; gap: 8px; }
  .ip-o .odd { width: 56px; }
  .sr-teams { font-size: 13.5px; }
}
.ana-cta { margin-top: 12px; }
.ico.inl { width: 15px; height: 15px; vertical-align: -3px; color: var(--accent); }

/* ===== Handy: mehr Platz für Teamnamen ===== */
@media (max-width: 480px) {
  .main { padding: 12px 10px 150px; }
  .mrow { grid-template-columns: 40px minmax(0, 1fr) auto; gap: 6px; padding: 9px 8px 9px 10px; }
  .odds3 { grid-template-columns: repeat(3, 44px); gap: 3px; }
  .odd { height: 40px; font-size: 13px; border-radius: 9px; }
  .odd small { font-size: 9.5px; margin-bottom: 2px; }
  .m-time { font-size: 11.5px; }
  .m-time .live-min { font-size: 12.5px; }
  .m-time .badge.live { font-size: 9px; padding: 1px 4px !important; gap: 3px; }
  .m-time .badge.live::before { width: 5px; height: 5px; }
  .m-team { gap: 6px; }
  .m-team .crest { width: 20px; height: 20px; }
  .m-team .sc { padding-left: 4px; }
  .comp-head { padding: 10px; gap: 8px; }
  .comp-head small { display: none; }
  .pick-btn { width: 24px; height: 24px; }
  .card-pad { padding: 14px; }
  .page-head h1 { font-size: 20px; }
  .page-head p { font-size: 13px; }
  .ins-head { padding: 14px; }
  .tab { padding: 10px 10px; font-size: 13.5px; }
  .match-hero { padding: 16px 12px; }
  .crest.lg { width: 46px; height: 46px; }
  .mh-team { font-size: 14px; }
  .kleg { padding: 12px 14px; }
  .kr-head { padding: 14px; }
}
@media (max-width: 380px) {
  .odds3 { grid-template-columns: repeat(3, 42px); }
  .mrow { grid-template-columns: 38px minmax(0, 1fr) auto; }
  .balance-chip { padding: 5px 9px; }
  .balance-chip b { font-size: 13px; }
  .brand-name { font-size: 17px; }
}
.fc-r { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.ana-empty .row { gap: 8px; }

/* ===== Einflussfaktoren & KI-Recherche (Claude) ===== */
.itag.t-mot { background: rgba(200, 120, 255, .14); color: #d6a8ff; }
.itag.t-sched { background: rgba(141, 154, 184, .16); color: #c3cde3; }
.factors { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.factors li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13.5px; line-height: 1.45; padding-bottom: 8px; border-bottom: 1px dashed var(--line); }
.factors li:last-child { border-bottom: 0; padding-bottom: 0; }
.fcat { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--panel-2); border-radius: 6px; padding: 2px 6px; }
.fteam { font-weight: 700; font-size: 12.5px; }
.ftxt { flex: 1 1 100%; color: #d3dbec; }
.eff { font-size: 11px; font-weight: 800; letter-spacing: -.05em; }
.eff.ep { color: var(--win); } .eff.en { color: var(--loss); } .eff.e0 { color: var(--dim); }
.new { font-size: 10px; font-weight: 800; color: var(--accent-ink); background: var(--accent); border-radius: 5px; padding: 1px 5px; }
.abs-grid .key { font-size: 10.5px; font-weight: 800; color: var(--warn); border: 1px solid rgba(255, 198, 92, .4); border-radius: 5px; padding: 0 4px; }
.ai-card { padding: 16px; margin-top: 12px; border-color: rgba(62, 230, 193, .35); background: linear-gradient(160deg, rgba(62, 230, 193, .08), transparent 55%), var(--panel); }
.ai-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-h b { font-size: 16px; }
.ai-h .dim { margin-left: auto; font-size: 12px; }
.ai-h .ico { color: var(--teal); }
.ai-card.cta p { font-size: 14px; line-height: 1.55; color: #cdd6ea; margin: 10px 0 12px; }
.ai-card.busy .spinner { width: 18px; height: 18px; border-width: 2px; margin-left: auto; }
.ai-steps { margin: 10px 0 6px; padding-left: 18px; font-size: 13.5px; line-height: 1.7; color: #cdd6ea; }
.ai-steps li::marker { color: var(--teal); }
.ai-q { font-size: 12px; margin: 10px 0 0; }
.ai-live { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.ai-fazit { margin: 10px 0 12px; font-size: 14.5px; line-height: 1.55; }
.ai-rec { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(200, 240, 74, .08); border: 1px solid rgba(200, 240, 74, .3); }
.ai-rec small { display: block; color: var(--accent); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; }
.ai-rec b { display: block; font-size: 17px; margin: 2px 0; }
.ai-rec p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: #cdd6ea; }
.ai-rec .dim { font-size: 12.5px; }
.ai-rec.skip { display: block; background: rgba(255, 107, 125, .08); border-color: rgba(255, 107, 125, .35); }
.ai-rec.skip small { color: var(--loss); }
.ai-rec.skip span { font-size: 13.5px; color: #e6c3c9; }
.ai-alts { margin-top: 10px; display: grid; gap: 6px; }
.ai-alt { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13.5px; padding: 8px 0; border-top: 1px solid var(--line); }
.ai-sec { margin-top: 14px; display: grid; gap: 8px; }
.ai-f .ftxt .src { margin-left: 2px; }
.ai-risks { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 13px; color: #e8d6ad; }
.ai-risks .ico { width: 13px; height: 13px; color: var(--warn); vertical-align: -2px; }
.ai-probs { margin-top: 14px; }
.ai-pgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 6px; }
.ai-pgrid > div { background: var(--panel-2); border-radius: 10px; padding: 8px; text-align: center; min-width: 0; }
.ai-pgrid small { display: block; font-size: 11.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-pgrid b { font-size: 16px; margin-right: 4px; }
.ai-pgrid .pos, .ai-pgrid .neg { font-size: 12px; font-weight: 800; }
.neg { color: var(--loss); }
.ai-src { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.ai-src small { flex: 1 0 100%; }
.src { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--teal); background: rgba(62, 230, 193, .08); border-radius: 999px; padding: 3px 9px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src .ico { width: 12px; height: 12px; flex: none; }
.ai-mini { margin: 10px 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13.5px; }
.ai-mini.done { padding: 8px 10px; border-radius: 10px; background: rgba(62, 230, 193, .08); }
.ai-mini.done .ico { color: var(--teal); }
.ai-mini .dim { margin-left: auto; font-size: 12px; }
.ai-note { font-size: 13px; color: var(--teal); margin: 4px 0; }
.ai-note .ico { width: 13px; height: 13px; vertical-align: -2px; }
.aitag { font-size: 10px; font-weight: 800; color: var(--accent-ink); background: var(--teal); border-radius: 5px; padding: 1px 5px; vertical-align: 1px; }
/* Kombi-Tabelle wie ein Wettschein */
.ktable-wrap { overflow-x: auto; }
.ktable { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.ktable th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; padding: 8px 10px; border-top: 1px solid var(--line); }
.ktable td { padding: 10px; border-top: 1px solid var(--line); vertical-align: top; }
.ktable td small { display: block; font-size: 11.5px; margin-top: 2px; }
.ktable td small.relax-note { color: #f3c46b; white-space: normal; }
.notice.relax { background: rgba(212, 255, 63, .07); border-color: rgba(212, 255, 63, .28); color: #e6f7b5; }
.ktable td.num { text-align: right; white-space: nowrap; }
.ktable th:nth-child(3) { text-align: right; }
.ktable td.fl { width: 1%; white-space: nowrap; font-size: 15px; }
.kt-m { font-weight: 700; }
.kwhy { margin-top: 12px; }
.kwhy summary { cursor: pointer; list-style: none; }
.kwhy summary::-webkit-details-marker { display: none; }
.kw { padding: 10px 0; border-top: 1px solid var(--line); margin-top: 10px; }
.kw b { font-size: 13.5px; }
/* Regeln */
.rules .seg label { flex: 1 0 auto; text-align: center; padding: 7px 11px; border-radius: 8px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.rules .seg label.on { background: var(--accent); color: var(--accent-ink); }
.rules .seg input, .mk input { position: absolute; opacity: 0; pointer-events: none; }
.rules-more { margin-top: 12px; }
.rules-more summary { cursor: pointer; font-size: 13px; color: var(--muted); list-style: none; }
.rules-more summary::-webkit-details-marker { display: none; }
.rules-more summary b { color: var(--text); }
.rules-more[open] summary { margin-bottom: 10px; }
.rgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.rgrid label { display: grid; gap: 4px; min-width: 0; }
.rgrid small { font-size: 11.5px; color: var(--muted); }
.rgrid select, .rgrid input { width: 100%; min-width: 0; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; }
.mk-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.mk { position: relative; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.mk.on { border-color: var(--accent); color: var(--text); background: rgba(200, 240, 74, .1); }
@media (max-width: 560px) {
  .rgrid { grid-template-columns: 1fr 1fr; }
  .ktable th:first-child, .ktable td:first-child { min-width: 120px; }
  .ktable { font-size: 13px; }
  .ktable td { padding: 9px 8px; }
  .ai-rec { flex-direction: column; }
}
.shot { margin-bottom: 12px; }
.shot .spinner { width: 18px; height: 18px; border-width: 2px; margin-left: auto; }
.shot-btn { cursor: pointer; }
.shot-row { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--line); margin-top: 8px; }
.shot-row small { display: flex; gap: 4px; align-items: center; font-size: 12px; margin-top: 2px; }
.shot-row small .ico { width: 12px; height: 12px; color: var(--win); }
.shot-row.miss b { color: var(--muted); }
.shot-odds { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-prog { list-style: none; margin: 10px 0 6px; padding: 0; display: grid; gap: 6px; font-size: 13.5px; }
.ai-prog li { display: flex; gap: 8px; align-items: center; min-width: 0; }
.ai-prog li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ai-prog .ico { width: 14px; height: 14px; color: var(--teal); flex: none; }
/* Einstellungen pro Spiel, Vorlagen, eigene Quoten */

.sel-row .pm { grid-column: 1 / -1; margin-top: -2px; cursor: default; }
.pm summary { cursor: pointer; list-style: none; font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pm summary::-webkit-details-marker { display: none; }
.pm summary .ico { width: 13px; height: 13px; }
.pm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 10px; margin-top: 8px; }
.pm-grid label { display: grid; gap: 4px; min-width: 0; }
.pm-grid small { font-size: 11.5px; color: var(--muted); }
.pm-grid select { width: 100%; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; font: inherit; font-size: 13.5px; }
.pm-bank { grid-column: 1 / -1; display: flex !important; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.pm-bank input { width: 18px; height: 18px; accent-color: var(--accent); }
.pmb { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; color: var(--text); background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 1px 7px; }
.pmb.bank { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.pmb .ico { width: 11px; height: 11px; }
.sel-actions { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
.sel-actions .sel-add { flex: 1 1 auto; border-top: 0; background: none; color: var(--accent); font: inherit; font-weight: 700; cursor: pointer; text-align: left; }
.presets { margin-top: 4px; display: grid; gap: 6px; }
.chip.preset { display: inline-flex; align-items: center; gap: 4px; padding-right: 4px; }
.chip.preset button { display: inline-flex; padding: 2px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.chip.preset button .ico { width: 12px; height: 12px; }
.chip.ghost { background: transparent; border-style: dashed; }
.odd-in { width: 74px; text-align: right; background: var(--panel-2); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; font-weight: 800; font-size: 14px; }
.odd-in:focus { outline: 2px solid var(--accent); outline-offset: 0; }
.odd-in.low { border-color: var(--loss); color: var(--loss); }
.odd-warn { color: var(--loss) !important; font-weight: 700; white-space: normal; max-width: 140px; margin-left: auto; }
@media (max-width: 560px) { .pm-grid { grid-template-columns: 1fr; } .odd-in { width: 64px; font-size: 13.5px; } }

/* ===== Audit Okt. 2026: Lesbarkeit, Tippflächen, Start-Inhalt ===== */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Mindestens 11 px Schrift */
.balance-chip small, .odd small, .side-link .soon, .bn .bdg, .badge.delayed, .pl .rt, .lu-list .rt, .fbadges i, .avatar.sm, .new, .aitag { font-size: 11px; }
.itag, .fcat, .abs-grid .key { font-size: 11px; }
@media (max-width: 560px) { .itag { font-size: 11px; min-width: 58px; } }
/* Grössere Tippflächen (sichtbar gleich, Klickfläche grösser) */
.pick-btn { width: 30px; height: 30px; position: relative; }
.pick-btn::after { content: ""; position: absolute; inset: -7px; }
@media (max-width: 560px) { .pick-btn { width: 30px; height: 30px; } }
.comp-right .icon-btn { width: 36px; height: 36px; }
.section-head a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 2px; }
.sf-links a, .legal-nav a { display: inline-block; padding: 8px 0; }
.balance-chip { min-height: 36px; }
.mh-comp a { display: inline-block; padding: 6px 0; }
.src { padding: 7px 11px; }
/* Start-Inhalt vor dem Laden der App (auch für Suchmaschinen) */
.seo-intro { max-width: 760px; padding: 8px 4px 24px; }
.seo-intro h1 { font-size: clamp(26px, 6vw, 38px); line-height: 1.12; margin: 8px 0 12px; letter-spacing: -.02em; }
.seo-intro .lead { font-size: 16px; line-height: 1.6; color: #c9d2e6; }
.seo-intro h2 { font-size: 18px; margin: 22px 0 6px; }
.seo-intro h3 { font-size: 15px; margin: 14px 0 4px; }
.seo-intro p { color: var(--muted); line-height: 1.55; font-size: 14px; }
.seo-feat { padding-left: 18px; line-height: 1.7; color: #c9d2e6; }
.seo-load { margin-top: 18px; color: var(--accent) !important; font-weight: 700; }
.chip { min-height: 34px; }
.more-link { display: inline-flex; align-items: center; min-height: 32px; padding: 0 6px; }
.last-list .lg { padding: 9px 0; }
.pro-link, .ins-note a { display: inline-block; padding: 6px 0; }

/* ---------- Navigation neu: Analyse im Zentrum ---------- */
.pro-chip { border-color: var(--accent); color: var(--accent); }
.pro-badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-decoration: none; margin-right: 8px; }
.pro-badge .ico { width: 13px; height: 13px; }
.side-link .count.acc { color: var(--accent); font-weight: 800; }
.bn-main svg { color: var(--accent); }
.bn-main span:not(.bdg) { color: var(--text); }
.bn-main.active span:not(.bdg) { color: var(--accent); }
.prof-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.prof-links a { display: grid; gap: 3px; padding: 14px; min-height: 44px; }
.prof-links a svg { width: 20px; height: 20px; color: var(--accent); }
.prof-links small { font-size: 12px; }
@media (min-width: 900px) { .prof-links { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- KI-Analyse: Tabs, Schnellstart ---------- */
.tabs-ana { margin-bottom: 12px; }
.tabs-ana .chip .n { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 6px; font-size: 11px; font-weight: 800; margin-left: 2px; }
.aq-form { margin-top: 12px; display: grid; gap: 10px; }
.aq-form label { font-size: 14px; }
.aq-form.big { border-color: rgba(200, 240, 74, .35); }
.aq-form .qx { gap: 6px; }
.aq-form .qx .chip { font-size: 12px; padding: 6px 10px; background: none; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); }
.aq-form button.btn, .aq-form button.chip { width: auto; }
@media (max-width: 560px) { .aq-form .kombi-ask { flex-direction: row; } }

/* ---------- Trefferbilanz ---------- */
.bil-src, .bil-per { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: 10px; width: fit-content; max-width: 100%; }
.bil-src a, .bil-per a { min-height: 34px; display: inline-flex; align-items: center; }
.conf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.conf-box { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 12px; display: grid; gap: 6px; }
.conf-box .cb-h { display: flex; align-items: center; gap: 6px; }
.conf-box .cb-v { display: flex; align-items: baseline; gap: 8px; }
.conf-box .cb-v b { font-size: 24px; }
.conf-box small { font-size: 12px; line-height: 1.4; }
@media (max-width: 640px) { .conf-grid { grid-template-columns: 1fr; } }
.hitbar { position: relative; height: 6px; background: var(--panel-2); border-radius: 99px; margin-top: 4px; min-width: 60px; }
.hitbar i { position: absolute; inset: 0 auto 0 0; background: var(--win); border-radius: 99px; }
.hitbar s { position: absolute; top: -3px; bottom: -3px; width: 2px; background: var(--text); opacity: .7; text-decoration: none; }
.bil-tbl td { vertical-align: middle; }
.bil-recent { padding: 4px 0; }
.br-row { display: grid; grid-template-columns: 28px minmax(0, 1.3fr) minmax(0, 1fr) 34px; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); min-height: 44px; }
.br-row:first-child { border-top: 0; }
.br-row:hover { background: var(--panel-2); }
.br-row small { display: block; font-size: 12px; }
.br-m b, .br-t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.br-m b { display: block; }
.br-res { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: var(--panel-2); color: var(--void); }
.br-res.won { background: rgba(62, 230, 160, .15); color: var(--win); }
.br-res.lost { background: rgba(255, 107, 125, .15); color: var(--loss); }
.br-row .fl, .conf-box .fl, .trust .fl { white-space: nowrap; }
.br-t small { display: inline; margin-left: 6px; }
@media (max-width: 560px) {
  .br-row { grid-template-columns: 26px minmax(0, 1fr) auto; row-gap: 2px; padding: 9px 12px; }
  .br-res { grid-row: 1 / span 2; }
  .br-m { grid-column: 2; grid-row: 1; }
  .br-t { grid-column: 2; grid-row: 2; font-size: 13px; }
  .br-row .fl { grid-column: 3; grid-row: 1 / span 2; }
}
.trust { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 12px 14px; margin-top: 12px; font-size: 14px; }
.trust .tr-h { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.trust .tr-l { margin-left: auto; color: var(--accent); font-weight: 700; display: inline-flex; align-items: center; gap: 2px; }
@media (max-width: 420px) { .tabs-ana { flex-wrap: nowrap; gap: 6px; } .tabs-ana .chip { padding: 6px 10px; font-size: 13px; } .tabs-ana .chip svg { display: none; } }

.empty-h { font-size: 16px; margin: 0 0 4px; }
.side-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pro-legal .lnk { color: var(--accent); margin-left: 6px; }
.pro-cur { font-size: 13px; text-align: center; margin: 8px 0 0; }
.pro-cur .lnk { color: var(--accent); font: inherit; font-weight: 600; padding: 8px 2px; background: none; border: 0; cursor: pointer; }

/* ---------- KI-Zugang (Gast / Gratis / Pro) ---------- */
.gate { text-align: center; display: grid; justify-items: center; gap: 8px; padding: 22px 18px; border-color: rgba(200, 240, 74, .3); }
.gate h2 { margin: 2px 0 0; font-size: 19px; }
.gate p { margin: 0; max-width: 520px; line-height: 1.5; color: var(--muted); }
.gate p b { color: var(--text); }
.gate p a { color: var(--accent); }
.gate .gate-ico { width: 34px; height: 34px; color: var(--accent); }
.gate .row { justify-content: center; margin-top: 6px; }
.gate-list { list-style: none; padding: 0; margin: 4px 0; display: grid; gap: 4px; text-align: left; font-size: 14px; }
.gate-list li { display: flex; gap: 8px; align-items: center; }
.gate-list svg { color: var(--win); width: 16px; height: 16px; flex: none; }

/* ---------- Website-Werbung (nur Gäste/Gratis) ---------- */
.ad-top { max-width: 100%; overflow: hidden; padding: 6px 12px 0; text-align: center; min-height: 0; }
.ad-top:not([hidden]) { min-height: 60px; }
.ad-rail { padding: 12px; border-top: 1px solid var(--line); }
.ad-label { display: block; font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; text-align: left; }
@media (min-width: 1100px) { .ad-top { display: none !important; } }
html.is-app .ad-top, html.is-app .ad-rail { display: none !important; }

/* ---------- Spielseite: Reiter bleiben oben kleben (wie Sofascore) ---------- */
.sticky-tabs { position: sticky; top: var(--top-h); z-index: 20; background: var(--bg); box-shadow: -24px 0 0 var(--bg), 24px 0 0 var(--bg); scroll-snap-type: x proximity; }
.sticky-tabs .tab { scroll-snap-align: start; }
html.is-app .sticky-tabs { top: var(--top-h-app); }
.tab-body { min-height: calc(100vh - var(--top-h) - 60px); }

/* ---------- Als Nächstes (wenn nichts live ist) ---------- */
.next-up { padding: 6px 0; }
.nu-head { padding: 8px 14px 6px; font-size: 13px; color: var(--muted); font-weight: 700; }
.nu-row { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 4px 10px; padding: 9px 14px; border-top: 1px solid var(--line); align-items: center; }
.nu-time { display: flex; flex-direction: column; line-height: 1.2; }
.nu-time small { color: var(--accent); font-size: 11px; font-weight: 700; }
.nu-teams { display: grid; gap: 3px; min-width: 0; font-weight: 600; font-size: 14px; }
.nu-teams > span { display: flex; align-items: center; gap: 6px; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nu-comp { grid-column: 2; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- App-Gefühl: kein Markieren/Vorschau auf Bedienelementen ---------- */
html.is-app { -webkit-tap-highlight-color: transparent; }
html.is-app .topbar, html.is-app .bottom-nav, html.is-app .tabs, html.is-app .btn, html.is-app .chip, html.is-app .bn, html.is-app .selbtn { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }

/* ---------- Team-Seite ---------- */
.team-hero { display: flex; align-items: center; gap: 14px; padding: 18px; }
.team-hero .th-main { flex: 1; min-width: 0; }
.team-hero h1 { font-size: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-hero .crest.lg { width: 64px; height: 64px; }
.th-form { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.team-next { margin: 0; border-top: 0; }
.tr-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.tr-row:first-child { border-top: 0; }
.tr-row > span:first-child { font-size: 12px; }
.tr-opp { display: flex; align-items: center; gap: 6px; min-width: 0; flex-wrap: wrap; }
.tr-opp small { flex-basis: 100%; font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-res { padding: 3px 8px; border-radius: 6px; background: var(--panel-2); font-variant-numeric: tabular-nums; }
.tr-res.f-W { background: rgba(62, 230, 160, .2); color: var(--win); }
.tr-res.f-L { background: rgba(255, 107, 125, .18); color: var(--loss); }
.ts-grid { display: grid; gap: 8px; }
.ts-row { display: grid; grid-template-columns: 80px 70px 1fr; gap: 8px; font-size: 14px; }
.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.info-grid > div { padding: 12px 14px; border-top: 1px solid var(--line); display: grid; gap: 3px; min-width: 0; }
.info-grid > div:nth-child(-n+2) { border-top: 0; }
.info-grid small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.info-grid b { overflow: hidden; text-overflow: ellipsis; }

/* ---------- Profil-Menü am Avatar ---------- */
.um-wrap { position: relative; }
.avatar-btn { padding: 0; border-radius: 50%; display: block; }
.avatar-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.avatar.has-img { padding: 0; overflow: hidden; background: var(--panel-2); }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar.xl { width: 76px; height: 76px; font-size: 24px; border-radius: 50%; flex: none; }
.umenu { position: absolute; right: 0; top: calc(100% + 10px); width: 280px; max-width: calc(100vw - 24px); z-index: 60; padding: 6px; box-shadow: var(--shadow); animation: up .15s; }
.um-head { display: flex; gap: 12px; align-items: center; padding: 10px 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.um-head .avatar.lg { border-radius: 50%; width: 48px; height: 48px; }
.um-who { display: grid; min-width: 0; }
.um-who b, .um-who small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.um-who small { font-size: 12px; color: var(--muted); }
.um-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 10px; border-radius: 10px; font-weight: 600; font-size: 14px; text-align: left; }
.um-item:hover, .um-item:active { background: var(--panel-2); }
.um-item svg { width: 18px; height: 18px; flex: none; color: var(--muted); }
.um-item span { flex: 1; }
.um-item small { display: block; font-size: 11px; font-weight: 500; margin-top: 1px; }
.um-item.danger, .um-item.danger svg { color: var(--loss); }

/* ---------- Profil-Kopf & Bearbeiten ---------- */
.prof-hero { display: flex; gap: 16px; align-items: center; padding: 18px; margin-bottom: 14px; }
.prof-hero .ph-main { flex: 1; min-width: 0; }
.prof-hero h1 { font-size: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ph-act { display: flex; margin-top: 10px; gap: 8px; flex-wrap: wrap; }
.ava-edit .ae-row { display: flex; gap: 16px; align-items: center; }
.ae-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.field small.dim { font-size: 12px; }

/* ---------- Tippgeber ---------- */
.lb-seg { display: inline-flex; margin-bottom: 4px; }
.lb-seg a { display: inline-flex; align-items: center; gap: 6px; }
.lb-seg svg { width: 15px; height: 15px; }
.lb-rules { font-size: 12px; line-height: 1.5; margin: 14px 2px; display: flex; gap: 6px; }
.lb-rules svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.tip-list { display: grid; gap: 8px; }
.tip-row { display: grid; grid-template-columns: 30px auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 12px 14px; margin: 0; cursor: pointer; }
.tip-row.me { border-color: rgba(122, 162, 255, .5); }
.tip-row .avatar.sm { width: 38px; height: 38px; border-radius: 50%; font-size: 12px; }
.tr-rank { font-weight: 800; text-align: center; font-size: 15px; }
.tr-rank svg { width: 18px; height: 18px; color: var(--accent); }
.tr-main { display: grid; gap: 3px; min-width: 0; }
.tr-main b { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tr-n { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-main small { color: var(--muted); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-meta { display: flex; gap: 10px; align-items: center; }
.tr-side { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.tr-side svg { width: 14px; height: 14px; }
.ki-tip { border-color: rgba(200, 240, 74, .35); background: linear-gradient(90deg, rgba(200, 240, 74, .07), transparent 60%), var(--panel); }
.ki-ava { background: var(--accent); color: var(--accent-ink); font-weight: 900; }
.tier { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 800; padding: 2px 7px; border-radius: 20px; background: var(--panel-2); color: var(--muted); white-space: nowrap; flex: none; }
.tier.pro { background: rgba(255, 198, 92, .15); color: var(--warn); }
.tier.elite { background: rgba(122, 162, 255, .18); color: #9db8ff; }
.tier.ki { background: rgba(200, 240, 74, .15); color: var(--accent); }
.u-name .tier { padding: 1px 5px; }
.risk { display: inline-flex; gap: 2px; vertical-align: middle; }
.risk i { width: 6px; height: 10px; border-radius: 2px; background: var(--panel-2); }
.risk i.on { background: var(--win); }
.risk.r4 i.on, .risk.r5 i.on { background: var(--warn); }
.risk.r6 i.on, .risk.r7 i.on { background: var(--loss); }
.fdots { display: inline-flex; gap: 3px; vertical-align: middle; }
.fdots i { width: 8px; height: 8px; border-radius: 50%; }
.fdots i.w { background: var(--win); }
.fdots i.l { background: var(--loss); opacity: .8; }
.tip-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; border-color: rgba(200, 240, 74, .35); }
.tip-cta > div { display: grid; gap: 3px; min-width: 0; flex: 1; }
.tip-cta span { font-size: 13px; }
.tip-form { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-top: 12px; font-size: 14px; }
.tip-form > span { display: grid; gap: 4px; }
.follow-set { display: grid; gap: 4px; margin-bottom: 14px; padding: 6px 16px; }
.fs-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; }
.follow-set .fs-row + .fs-row { border-top: 1px solid var(--line); }
.fs-row > span { display: grid; gap: 3px; min-width: 0; }
.fs-row > span b { display: inline-flex; align-items: center; gap: 6px; }
.fs-row svg { width: 16px; height: 16px; color: var(--muted); }
.fs-row small { font-size: 12px; line-height: 1.4; }
.fs-stake { width: auto; min-width: 110px; flex: none; }
.switch { appearance: none; -webkit-appearance: none; width: 46px; height: 28px; border-radius: 20px; background: var(--panel-2); border: 1px solid var(--line); position: relative; flex: none; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #cbd4e8; transition: transform .15s; }
.switch:checked { background: var(--accent); border-color: var(--accent); }
.switch:checked::after { transform: translateX(18px); background: var(--accent-ink); }
.bet-copy { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 13px; }
.bet-copy svg { width: 14px; height: 14px; vertical-align: -2px; }
.copy-tag { padding: 6px 14px; font-size: 12px; color: var(--muted); border-bottom: 1px solid var(--line); background: rgba(122, 162, 255, .06); }
.copy-tag svg { width: 13px; height: 13px; vertical-align: -2px; }
.mod-row { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }
.report-opts { display: grid; gap: 8px; margin: 12px 0; }
.tip-state { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--accent); }
.tip-state svg { width: 14px; height: 14px; }
.tip-state.on { color: var(--win); }
.hl-card { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
@media (max-width: 560px) {
  .tip-row { grid-template-columns: 24px auto minmax(0, 1fr); }
  .tip-row .tr-side { grid-column: 3; justify-self: start; }
  .tip-row.ki-tip .tr-side { display: none; }
}
.ins-best.none { background: rgba(255, 198, 92, .07); border-color: rgba(255, 198, 92, .3); }
.res-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); font-size: 14px; }
.res-row:first-child { border-top: 0; }
.rr-main { display: grid; min-width: 0; }
.rr-main b, .rr-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rr-main small { font-size: 12px; }
.rr-odds { color: var(--muted); font-size: 13px; }
.rr-pl { min-width: 64px; text-align: right; }

/* App ohne In-App-Käufe (Version 1.0): keine Pro-Verkaufshinweise */
html.no-iap a[href="#/pro"]:not(.pro-badge), html.no-iap .pro-chip, html.no-iap .pro-upsell,
html.no-iap p:has(a[href="#/pro"]), html.no-iap .fs-row:has(a[href="#/pro"]), html.no-iap .toast a[href="#/pro"] { display: none !important; }

/* „Wer gewinnt?“ im Spielkopf */
.vote-card { margin: 14px auto 0; max-width: 460px; border-top: 1px solid var(--line); padding-top: 12px; text-align: left; }
.vote-card.busy { opacity: .6; pointer-events: none; }
.vc-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; font-size: 14px; }
.vc-cal { flex: none; }
.vc-btns { display: grid; grid-template-columns: 1fr auto 1fr; gap: 8px; }
.vc-btns .btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; justify-content: center; }
.vc-res { display: grid; gap: 6px; }
.vc-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; background: var(--bg-2, rgba(127,127,127,.08)); overflow: hidden; font-size: 13px; }
.vc-fill { position: absolute; inset: 0 auto 0 0; background: rgba(127,127,127,.16); border-radius: inherit; }
.vc-bar.mine .vc-fill { background: color-mix(in srgb, var(--accent) 28%, transparent); }
.vc-l, .vc-bar b { position: relative; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-bar b { font-variant-numeric: tabular-nums; }
.vc-foot { font-size: 12px; margin-top: 6px; }

/* Freunde einladen */
.inv-card { display: grid; gap: 14px; margin-bottom: 12px; }
.inv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.inv-steps > div { display: grid; gap: 2px; font-size: 14px; }
.inv-steps small { color: var(--muted); font-size: 12px; }
.inv-n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #0a0f1c; font-weight: 800; font-size: 13px; margin-bottom: 4px; }
.inv-link { display: grid; gap: 4px; font-size: 12px; }
.inv-link input { width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.inv-code { font-size: 13px; margin: 0; }
.inv-rules ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; }
.kpis.three + .inv-rules { margin-top: 12px; }
@media (max-width: 560px) { .inv-steps { grid-template-columns: 1fr; } .inv-steps > div { grid-template-columns: auto 1fr; column-gap: 10px; } .inv-n { grid-row: span 2; margin: 0; } }

/* KI-Mindestquote gut sichtbar */
.kimin-card { display: grid; gap: 10px; margin-bottom: 14px; border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.kimin-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: 15px; }
.kimin-head b { display: inline-flex; align-items: center; gap: 6px; }
.kimin-card small { font-size: 12px; }
.kimin-chips .chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.kimin-bar { display: grid; gap: 6px; margin: 4px 0 12px; }
.kimin-l { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--muted); }

/* Wettschein-Blatt (Handy): ruhig stehen lassen, Seite dahinter nicht mitscrollen */
@media (max-width: 1180px) {
  .sheet { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  html.sheet-open, html.sheet-open body { overflow: hidden; }
  .sheet .slip-empty .spinner { margin: 0 auto 12px; }
}

/* Tippschein teilen */
.share-prev { width: 100%; aspect-ratio: 1200 / 630; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); display: block; margin: 6px 0 12px; object-fit: cover; }
.share-btns { display: grid; gap: 8px; }
.ts-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.ts-head > div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 16px; }
.ts-q { color: var(--accent); font-size: 20px; font-variant-numeric: tabular-nums; }
.ts-st { font-size: 12px; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--panel-2); color: var(--muted); }
.ts-st.won { background: rgba(62, 230, 160, .16); color: var(--win, #3ee6a0); }
.ts-st.lost { background: rgba(255, 107, 125, .16); color: var(--loss, #ff6b7d); }
.ts-st.live { background: rgba(255, 77, 94, .16); color: #ff4d5e; }
.tl-list { display: grid; gap: 8px; }
.tl-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; color: inherit; border-left: 3px solid var(--line); }
.tl-row.won { border-left-color: var(--win, #3ee6a0); }
.tl-row.lost { border-left-color: var(--loss, #ff6b7d); opacity: .85; }
.tl-row.live { border-left-color: #ff4d5e; }
.tl-main { display: grid; gap: 2px; min-width: 0; }
.tl-main b, .tl-main > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-main > span { font-size: 14px; }
.tl-res { font-size: 12px; font-weight: 700; color: var(--muted); }
.tl-res.won { color: var(--win, #3ee6a0); }
.tl-res.lost { color: var(--loss, #ff6b7d); }
.tl-res.live { color: #ff4d5e; }
.tl-odds { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; }
.ts-act { margin: 14px 0; }
.ts-cta, .ts-mine { display: grid; gap: 8px; margin-top: 12px; }
.ts-mine { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; }

/* Analyse-App (ohne Tipp-Simulation): kein Wettschein, Quoten nur als Marktinfo */
html.no-sim { --slip-w: 0px; }
html.no-sim .slip-col, html.no-sim .slip-mobile { display: none !important; }
@media (min-width: 821px) { html.no-sim .layout { grid-template-columns: var(--sidebar-w) minmax(0, 1fr); } }
.odd.ro, .selbtn.ro { cursor: default; color: var(--text); }
.odd.ro:hover, .selbtn.ro:hover { border-color: transparent; }
.mk-info { font-size: 12px; margin: 0 0 10px; }
