﻿:root {
  color-scheme: dark;
  --bg: #09090b; --card: #141417; --card2: #1b1b20; --ink: #f5f5f6; --muted: #9b9ba6; --line: rgba(255,255,255,.08);
  --good: #4ade80; --bad: #f87171; --warn: #fb923c;
  --h: #e4e4e7; --d: #71717a; --a: #a1a1aa;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.45 Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; min-height: 100vh; min-height: 100dvh; overflow-x: clip; }
.top { position: sticky; top: 0; z-index: 10; background: rgba(9,9,11,.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
@media (display-mode: standalone) { .top { padding-top: calc(env(safe-area-inset-top) + 30px); } }
.top-inner { max-width: 760px; margin: 0 auto; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 11px; } .brand img { border-radius: 9px; }
.top h1 { font-size: 1.2rem; margin: 0; font-weight: 800; letter-spacing: -.01em; line-height: 1.1; }
.top small { color: var(--muted); font-size: .74rem; }
main { max-width: 760px; margin: 0 auto; padding: 16px 16px calc(96px + env(safe-area-inset-bottom)); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 16px 18px; margin-bottom: 14px; }
h2 { font-size: 1.1rem; font-weight: 800; margin: 0 0 10px; }
h3.day { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 20px 4px 8px; font-weight: 700; }
p { margin: 8px 0; }
.hint { color: var(--muted); font-size: .84rem; }
.rules { padding-left: 18px; margin: 8px 0; } .rules li { margin: 5px 0; font-size: .92rem; }
label { display: block; margin: 12px 0 0; font-size: .82rem; color: var(--muted); font-weight: 500; }
input, select { width: 100%; margin-top: 6px; padding: 12px 13px; border: 1px solid var(--line); border-radius: 13px; background: var(--bg); color: var(--ink); font: inherit; font-size: 16px; }
input:focus, select:focus { outline: none; border-color: #fff; }
.two { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 10px; }
button { font: inherit; border: 0; border-radius: 13px; padding: 12px 16px; cursor: pointer; color: var(--ink); background: var(--card2); }
button:active { transform: scale(.98); }
button.primary { background: #fff; color: #09090b; font-weight: 700; width: 100%; margin-top: 12px; padding: 14px 16px; }
button.primary:disabled { opacity: .5; }
button.ghost { background: var(--card2); padding: 8px 14px; font-size: 1.1rem; line-height: 1; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; touch-action: pan-x pan-y; }
.chips::-webkit-scrollbar { display: none; }
.chips button { white-space: nowrap; padding: 8px 14px; font-size: .88rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); color: var(--muted); font-weight: 600; flex: none; }
.chips button.on { background: #fff; color: #09090b; border-color: #fff; }

.m { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; }
.m-top { display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.comp { text-transform: uppercase; letter-spacing: .06em; }
.m-main { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; align-items: center; margin: 8px 0 10px; }
.teams { display: grid; gap: 3px; min-width: 0; } .teams b { font-weight: 700; overflow-wrap: anywhere; }
.teams .vs { color: var(--muted); font-size: .8rem; }
.tipbox { text-align: center; background: var(--card2); border-radius: 16px; padding: 8px 14px; min-width: 84px; }
.tipv { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: .02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.tipsub { display: block; font-size: .68rem; color: var(--muted); }
.bar { display: flex; height: 8px; border-radius: 6px; overflow: hidden; background: var(--card2); gap: 2px; }
.bar i { display: block; height: 100%; } .bar .h { background: var(--h); } .bar .d { background: var(--d); } .bar .a { background: var(--a); opacity: .65; }
.bar-l { display: flex; justify-content: space-between; font-size: .74rem; color: var(--muted); margin-top: 5px; font-variant-numeric: tabular-nums; }
.meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pill { font-size: .72rem; padding: 3px 9px; border-radius: 999px; background: var(--card2); color: var(--muted); font-weight: 600; }
.pill.warn { color: var(--warn); } .pill.good { color: var(--good); }
.alts { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.alts b { color: var(--ink); font-variant-numeric: tabular-nums; }

.bet { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; margin-bottom: 10px; }
.bet-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.bet-h b { font-size: 1rem; }
.edge { color: var(--good); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bet-s { font-size: .86rem; color: var(--muted); margin-top: 4px; }
.bet-s b { color: var(--ink); } .bet-s.warn { color: var(--warn); }
.empty { text-align: center; color: var(--muted); padding: 28px 12px; }
.warnbox { font-size: .82rem; color: var(--muted); border-color: rgba(251,146,60,.3); }
details.all summary { cursor: pointer; color: var(--muted); font-size: .88rem; margin: 12px 4px; }
table { width: 100%; border-collapse: collapse; font-size: .82rem; font-variant-numeric: tabular-nums; }
th, td { padding: 6px 4px; text-align: right; border-bottom: 1px solid var(--line); } th:first-child, td:first-child { text-align: left; }
th { color: var(--muted); font-weight: 600; }
td.best { color: var(--good); font-weight: 700; }

.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: center; gap: 4px; background: rgba(9,9,11,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); }
.tabs button { flex: 1; max-width: 200px; background: none; color: var(--muted); font-size: .72rem; font-weight: 600; padding: 6px 4px; display: grid; gap: 2px; justify-items: center; }
.tabs button i { font-style: normal; font-size: 1.25rem; line-height: 1.1; }
.tabs button.on { color: #fff; }
.spin { text-align: center; color: var(--muted); padding: 40px 0; }
@media (prefers-reduced-motion: no-preference) { .m, .bet { animation: rise .3s ease both; } @keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } } }

/* kompakte Zeilen (Kicktipp-Stil), Details per Klick */
.m { padding: 0; margin-bottom: 6px; border-radius: 14px; overflow: hidden; cursor: pointer; }
.row { display: grid; grid-template-columns: 46px minmax(0,1fr) auto 14px; gap: 10px; align-items: center; padding: 9px 12px; }
.when { display: grid; line-height: 1.15; } .when b { font-size: .82rem; font-weight: 700; font-variant-numeric: tabular-nums; } .when span { font-size: .64rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.row .teams { gap: 1px; font-size: .92rem; font-weight: 600; line-height: 1.25; } .row .teams span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .tipbox { padding: 4px 10px; min-width: 56px; border-radius: 10px; position: relative; }
.row .tipv { font-size: 1.15rem; }
.dot { position: absolute; top: 3px; right: 3px; width: 6px; height: 6px; border-radius: 50%; background: var(--warn); }
.chev { color: var(--muted); transition: transform .15s; font-size: 1.1rem; text-align: center; } .m.open .chev { transform: rotate(90deg); }
.detail { display: none; padding: 2px 14px 14px; border-top: 1px solid var(--line); padding-top: 12px; } .m.open .detail { display: block; }
h3.day { margin: 14px 4px 6px; }
.row .teams .bt { color: var(--muted); font-weight: 500; font-size: .84rem; }
.tipv.sm { font-size: .95rem; }
.opts { margin-top: 10px; } .opts td, .opts th { padding: 5px 3px; font-size: .78rem; } .opts td:first-child { overflow-wrap: anywhere; }
.combo h2 { margin-bottom: 6px; } .combo { border-color: rgba(255,255,255,.16); }
.edge { color: var(--good); font-weight: 700; }