/* Tippseite: compact fixtures, clear saved state, responsive controls. */
#tipps { --tip-surface:#fff; --tip-border:#d7e0e6; --tip-muted:#526475; --tip-inset:#f3f6f8; }
body.theme-dark #tipps { --tip-surface:#151c20; --tip-border:#34434b; --tip-muted:#b2c1ca; --tip-inset:#10171b; }
#tipps .tip-week-header { display:grid; grid-template-columns:minmax(0,1fr) minmax(160px,260px); gap:18px; padding:22px; margin-bottom:16px; border:1px solid var(--tip-border); border-top:3px solid var(--accent,#00856a); border-radius:18px; background:var(--tip-surface); }
#tipps .tip-week-title h2 { margin:6px 0 0; font-size:clamp(1.15rem,2.5vw,1.65rem); line-height:1.25; }
#tipps .week-picker { display:flex; flex-direction:column; align-items:stretch; gap:6px; color:var(--tip-muted); font-size:.8rem; min-width:0; }
#tipps .week-picker select { width:100%; min-width:0; border:1px solid var(--tip-border); border-radius:10px; padding:10px; background:var(--tip-inset); color:inherit; min-height:44px; }
#tipps .tip-week-stats { grid-column:1/-1; display:flex; align-items:center; flex-wrap:wrap; gap:20px; border-top:1px solid var(--tip-border); padding-top:14px; }
#tipps .tip-week-stats>div { display:flex; align-items:baseline; gap:8px; } #tipps .tip-week-stats strong { font-size:1.25rem; } #tipps .tip-week-stats span { font-size:.78rem; color:var(--tip-muted); }
#tipps .tip-week-stats .tip-matchday-meta { margin:0 0 0 auto; }
#tipps .tip-week-breakdown { margin:0 0 24px; } #tipps summary { min-height:40px; padding:10px 0; cursor:pointer; font-weight:650; font-size:.85rem; }
#tipps .tip-week-breakdown>summary { color:var(--tip-muted); padding:12px 16px; border:1px solid var(--tip-border); border-radius:12px; background:var(--tip-surface); }
#tipps #weekPoints { margin-top:8px; background:var(--tip-surface); }
#tipps .matchday { display:block; } #tipps .tip-day { margin-bottom:28px; }
#tipps .tip-day-heading { display:flex; align-items:center; gap:14px; margin:0 0 12px; } #tipps .tip-day-heading h3 { font-size:1rem; margin:0; } #tipps .tip-day-heading span { color:var(--tip-muted); font-size:.8rem; } #tipps .tip-day-heading::after { content:''; flex:1; height:1px; background:var(--tip-border); }
#tipps .tip-day-games { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; align-items:start; }
#tipps .game { width:100%; min-width:0; padding:18px; border:1px solid var(--tip-border); background:var(--tip-surface); border-radius:16px; box-shadow:none; }
#tipps .game-head { display:flex; align-items:center; gap:8px; justify-content:space-between; flex-wrap:wrap; font-size:.75rem; color:var(--tip-muted); }
#tipps .tip-status { border-radius:7px; padding:5px 8px; background:#ede8d2; color:#655009; font-size:.7rem; font-weight:800; }
#tipps [data-tip-state=saved] .tip-status { background:#d8f0e6; color:#135339; }
#tipps [data-tip-state=locked] .tip-status { background:#e1e7ed; color:#3d4e61; }
#tipps [data-tip-state=final] .tip-status { background:#dceafa; color:#1d466f; }
#tipps [data-tip-state=changed] .tip-status { background:#ffe0c4; color:#793709; }
#tipps .teams { grid-template-columns:minmax(0,1fr) 22px minmax(0,1fr); margin:24px 0 18px; gap:8px; }
#tipps .team,#tipps .team.away { flex-direction:column; justify-content:center; align-items:center; text-align:center; gap:7px; width:auto; }
#tipps .team img { width:64px; height:64px; object-fit:contain; flex:none; } #tipps .team-name { width:100%; font-size:.95rem; line-height:1.3; min-height:2.6em; white-space:normal; overflow:visible; }
#tipps .team small { font-size:.65rem; text-transform:uppercase; letter-spacing:.08em; color:var(--tip-muted); font-weight:500; } #tipps .versus { color:var(--tip-muted); font-size:.9rem; }
#tipps .special-event-logos:not(.has-logo) { display:none; } #tipps .special-event-logos.has-logo { height:38px; min-height:0; margin:12px 0 0; } #tipps .special-event-logos img { max-height:38px; }
#tipps .tip-event-title { text-align:center; font-size:.8rem; color:var(--tip-muted); margin:12px 0 0; }
#tipps .scoreline { display:block; margin:0; padding:14px; background:var(--tip-inset); border:1px solid var(--tip-border); border-radius:12px; }
#tipps .tip-state { display:block; text-align:center; font-size:.72rem; color:var(--tip-muted); margin:0 0 10px; }
#tipps .score-inputs { display:flex; align-items:center; justify-content:center; gap:14px; width:100%; }
#tipps .score-inputs input { width:72px; height:56px; max-width:35%; font-size:1.55rem; font-weight:800; text-align:center; background:var(--tip-surface); border:1px solid var(--tip-border); border-radius:10px; color:inherit; }
#tipps .score-inputs input:focus { outline:2px solid var(--accent,#00856a); outline-offset:2px; }
#tipps .tip-final-grid { display:grid; grid-template-columns:1fr 1fr .8fr; gap:8px; text-align:center; align-items:center; }
#tipps .tip-final-grid span { display:block; font-size:.67rem; color:var(--tip-muted); margin-bottom:6px; } #tipps .tip-final-grid strong { font-size:1.1rem; } #tipps .tip-earned strong { font-size:1.6rem; }
#tipps .tip-bonus-line { display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin:10px 0; } #tipps .tip-bonus-line:empty { display:none; } #tipps .tip-bonus-line span { padding:4px 7px; border:1px solid var(--tip-border); border-radius:6px; font-size:.66rem; color:var(--tip-muted); }
#tipps .tip-game-details,#tipps .week-comparison,#tipps .tip-quick-details { margin:10px 0 0; padding:0; border-top:1px solid var(--tip-border); } #tipps .tip-game-details p { font-size:.78rem; line-height:1.5; color:var(--tip-muted); }
#tipps .ingo-card { background:var(--tip-surface); border:1px solid var(--tip-border); border-left:3px solid var(--accent,#00856a); padding:20px; }
#tipps .ingo-pick-summary { display:flex; align-items:center; gap:16px; } #tipps .ingo-pick-summary>div:nth-child(2) { flex:1; min-width:0; } .ingo-kicker { font-size:.66rem; font-weight:800; letter-spacing:.11em; text-transform:uppercase; color:var(--tip-muted,#a5b8c3); }
#tipps .ingo-pick-summary h3 { font-size:1.15rem; margin:6px 0; overflow-wrap:anywhere; } #tipps .ingo-pick-summary p { margin:0; font-size:.75rem; } #tipps .ingo-pick-logos { display:flex; flex-wrap:wrap; width:68px; flex:none; justify-content:center; } #tipps .ingo-pick-logos img { width:40px; height:40px; object-fit:contain; }
#tipps .ingo-points { font-size:1.7rem; text-align:center; } #tipps .ingo-points small { font-size:.65rem; margin:0; }
#tipps #ingoEvaluation { margin:16px 0 0; font-size:.8rem; line-height:1.55; } #tipps #ingoEditor { margin-top:12px; border-top:1px solid var(--tip-border); }
.tip-save-bar[hidden] { display:none !important; } .tip-save-bar { position:fixed; z-index:70; bottom:calc(14px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); width:min(650px,calc(100% - 28px)); display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 16px; background:#15282e; color:#fff; border:1px solid #69858b; border-radius:14px; box-shadow:0 12px 38px #0007; } .tip-save-bar span { font-size:.85rem; } .tip-save-bar button { flex:none; min-height:44px; }
body.tip-save-visible { padding-bottom:100px; } body.tip-save-visible .scroll-to-top { bottom:110px; }
#tipps #tipSaveStatus { font-size:.8rem; color:var(--tip-muted); margin-top:14px; }
@media(max-width:700px) { #tipps .tip-day-games { grid-template-columns:1fr; } #tipps .tip-week-header { grid-template-columns:1fr; padding:16px; gap:12px; } #tipps .tip-week-stats { gap:12px; } #tipps .tip-week-stats>div { flex-direction:column; gap:4px; } #tipps .game { padding:16px; } #tipps .ingo-card { padding:16px; } #tipps .ingo-pick-summary { gap:10px; } #tipps .ingo-pick-logos { width:44px; } .tip-save-bar { padding:10px 12px; } .tip-save-bar span { font-size:.75rem; } }
@media(prefers-reduced-motion:reduce) { .tip-save-bar,#tipps * { scroll-behavior:auto; transition:none; } }
#tipps .team .mark,#tipps .team.away .mark { width:68px; height:68px; flex:0 0 68px; order:0; margin:0; background:transparent; border-radius:0; }
#tipps .team .mark img { width:64px; height:64px; }
#tipps .team.away .team-name { text-align:center; flex:none; }
#tipps .week-picker { padding:0; border-radius:0; background:transparent; } #tipps .week-picker select { text-align:left; flex:none; }
#tipps .ingo-pick-logos .mark { background:transparent; width:40px; height:40px; flex:none; }

#tipps .tip-quick-details > h4, #tipps .tip-game-details > h4 { margin:12px 0 8px; font-size:.85rem; font-weight:650; color:var(--tip-muted); }

/* Keep team records directly below the name on every screen size. */
#tipps .team .team-record{display:block!important;width:100%;margin:0;font-size:.85rem!important;font-weight:700;line-height:1.4;letter-spacing:0;text-transform:none}
/* Rapid score taps are individual clicks, never a double-tap zoom gesture. */
#tipps .tip-quick-details,#tipps [data-score-add]{touch-action:manipulation}
#tipps [data-score-add]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
