/* Farben aus dem Logo: Nachtblau, leuchtendes Blau, Silber */
:root {
  --bg: #f2f5fa; --card: #fff; --text: #0f1b2d; --muted: #64748b; --line: #e2e8f0;
  --dark: #070b14; --dark-2: #0d1830; --accent: #1f8bff; --accent-dark: #0a5fd8; --ok: #16a34a;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
html, body { margin: 0; }
/* Feste Größe: kein Ziehen/Vergrößern, kein Nachladen-Pull, kein Doppel-Tipp-Zoom */
html { overscroll-behavior: none; -webkit-text-size-adjust: 100%; }
body { font: 15px/1.45 -apple-system, "Segoe UI", Roboto, system-ui, sans-serif; color: var(--text); background: var(--bg); padding-bottom: calc(72px + env(safe-area-inset-bottom)); overscroll-behavior: none; touch-action: manipulation; }
h1, h2, h3, h4 { margin: 0; }
button { font: inherit; }

.top { background: var(--dark); color: #fff; padding-top: env(safe-area-inset-top); position: sticky; top: 0; z-index: 10; }
.top-inner { max-width: 640px; margin: 0 auto; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.team { font-weight: 700; font-size: 18px; }
.club { font-size: 12px; opacity: .7; }
.me { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); background: var(--accent); color: #fff; font-weight: 700; cursor: pointer; }

main { max-width: 640px; margin: 0 auto; padding: 14px 14px 20px; }
.loading, .empty { text-align: center; color: var(--muted); padding: 40px 16px; }
.hello { font-size: 17px; font-weight: 600; margin: 4px 2px 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.open-hint { font-size: 12px; font-weight: 600; background: #fff3e0; color: #e65100; padding: 2px 9px; border-radius: 99px; }
.ok-hint { font-size: 12px; font-weight: 600; background: #e7f8ee; color: var(--ok); padding: 2px 9px; border-radius: 99px; }
.chips { display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; padding-bottom: 2px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: 5px 13px; font-size: 13px; cursor: pointer; white-space: nowrap; color: var(--text); }
.chip.on { background: var(--dark); color: #fff; border-color: var(--dark); }
.cat { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; padding: 10px 14px 4px; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; padding-top: 6px; }

.event { display: flex; gap: 12px; background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); border-left: 5px solid var(--c); cursor: pointer; }
.event.big { box-shadow: 0 4px 14px rgba(0,0,0,.1); }
.event.past { opacity: .7; }
.event.cancelled h3 { text-decoration: line-through; }
.ev-date { width: 46px; flex: none; text-align: center; line-height: 1.1; color: var(--c); }
.ev-date b { display: block; font-size: 24px; }
.ev-date small { font-size: 11px; text-transform: uppercase; color: var(--muted); }
.ev-main { flex: 1; min-width: 0; }
.ev-top { display: flex; gap: 6px; }
.type { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--c); }
.cancel-tag { font-size: 11px; font-weight: 700; background: #c62828; color: #fff; padding: 0 6px; border-radius: 4px; }
.event h3 { font-size: 16px; margin: 2px 0 3px; }
.ev-meta { font-size: 13px; color: var(--muted); }
.ev-counts { display: flex; gap: 10px; font-size: 13px; margin-top: 6px; font-weight: 600; }
.c-zu { color: #2e7d32; } .c-vl { color: #f9a825; } .c-ab { color: #c62828; } .c-of { color: var(--muted); font-weight: 400; }
.rsvp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.rsvp-btn { border: 1.5px solid var(--s); color: var(--s); background: #fff; border-radius: 10px; padding: 9px 4px; font-weight: 700; font-size: 13px; cursor: pointer; }
.rsvp-btn.on { background: var(--s); color: #fff; }
.rsvp-btn:active { transform: scale(.97); }
.mine-past { font-size: 13px; margin-top: 6px; color: var(--muted); }
.my-note { font-size: 12px; color: var(--muted); margin-top: 6px; font-style: italic; }
.my-note.abs { font-style: normal; font-weight: 600; color: #c62828; }
/* Abwesenheiten (krank, Urlaub …) */
.abs-bar { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.abs-bar .btn { flex: 1; min-width: 140px; }
.abs-card { display: flex; gap: 10px; align-items: center; background: #fff8e1; border: 1px solid #ffe082; border-radius: 12px; padding: 10px 12px; margin-bottom: 8px; font-size: 14px; }
.abs-card.now { background: #ffebee; border-color: #ffcdd2; }
.abs-card .grow { flex: 1; min-width: 0; }
.chips.wrap { flex-wrap: wrap; overflow: visible; }
.abs-quick { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin: 2px 0 10px; }
.abs-preview { font-size: 13px; background: var(--bg); border-radius: 10px; padding: 8px 12px; margin: 6px 0 4px; }
.abs-preview ul { margin: 4px 0 0; padding-left: 18px; }
.past-toggle { width: 100%; border: 0; background: none; color: var(--muted); text-align: left; padding: 12px 4px; cursor: pointer; font-weight: 600; }

.msg { background: var(--card); border-radius: 14px; padding: 14px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.msg-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.msg-head b { color: var(--text); }
.msg h3 { font-size: 16px; margin-bottom: 4px; }
.msg p { margin: 0; }

.team-list { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.tm { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cat { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; padding: 10px 14px 4px; border-top: 1px solid var(--line); }
.cat:first-of-type { border-top: 0; padding-top: 6px; }
.tm:last-child { border-bottom: 0; }
.tm .num { width: 30px; height: 30px; border-radius: 50%; background: #eef2f6; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.tm .grow { flex: 1; }
.tm .pos { font-size: 12px; color: var(--muted); }
.tm.me-row { background: #eef6ff; }
.tm.me-row .num { background: var(--accent); color: #fff; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--line); display: flex; justify-content: center; padding-bottom: env(safe-area-inset-bottom); z-index: 10; }
.tabbar button { flex: 1; max-width: 200px; border: 0; background: none; padding: 8px 0 10px; display: flex; flex-direction: column; align-items: center; font-size: 11px; color: var(--muted); cursor: pointer; position: relative; transition: color .2s, background .2s; }
.tabbar button span { font-size: 20px; filter: grayscale(1); opacity: .7; transition: transform .2s, color .2s; }
.tabbar button.on { color: var(--accent); font-weight: 700; }
.tabbar button.on span { filter: none; opacity: 1; }
.tabbar button:hover span { transform: scale(1.1); }
.tabbar button.on::after { content: ''; position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%); width: 24px; height: 3px; border-radius: 2px; background: var(--accent); }
.dot { position: absolute; top: 6px; left: calc(50% + 8px); width: 9px; height: 9px; border-radius: 50%; background: #e53935; }

.btn { border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 16px; font-weight: 600; cursor: pointer; color: var(--text); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.danger { background: #c62828; border-color: #c62828; color: #fff; }
.btn.block { width: 100%; }

.login { background: var(--card); border-radius: 16px; padding: 24px 20px; margin-top: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.login h1 { font-size: 22px; margin: 10px 0; }
.login p { color: var(--muted); }
.login label { display: block; text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); margin: 18px 0 12px; }
.login input, textarea { width: 100%; font: inherit; padding: 11px 12px; border: 1px solid #cfd7df; border-radius: 10px; margin-top: 5px; }
.error { color: #c62828 !important; font-weight: 600; }
.login form { text-align: left; }
.login .btn.block { margin-top: 4px; }
.link-btn { border: 0; background: none; color: var(--accent-dark); cursor: pointer; padding: 12px; font-size: 14px; }
.btn:disabled { opacity: .6; }
a.btn { display: block; text-decoration: none; text-align: center; }
.pw-box { margin: 14px 0; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.pw-box summary { cursor: pointer; font-weight: 600; }
.pw-box label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 10px 0; }
.pw-box input { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfd7df; border-radius: 10px; margin-top: 4px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

.backdrop { position: fixed; inset: 0; background: rgba(10,16,24,.0); z-index: 50; display: flex; align-items: flex-end; justify-content: center; transition: background .2s; }
.backdrop.show { background: rgba(10,16,24,.45); }
.sheet { background: #fff; width: 100%; max-width: 640px; max-height: 88vh; overflow: auto; border-radius: 18px 18px 0 0; padding: 8px 18px calc(18px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .2s; }
.backdrop.show .sheet { transform: none; }
.grip { width: 40px; height: 5px; border-radius: 3px; background: #d5dce3; margin: 0 auto 12px; }
.sheet h2 { font-size: 20px; margin: 4px 0 6px; }
.sheet h4 { margin: 16px 0 6px; font-size: 14px; }
.sheet p { margin: 3px 0; }
.d-head .type { color: var(--c); }
.info { background: #f6f8fa; border-radius: 10px; padding: 10px 12px; margin-top: 10px; font-size: 14px; }
.names { margin: 0; padding-left: 20px; }
.names li { padding: 2px 0; }
.sheet-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 18px; }

.update-banner { position: fixed; left: 12px; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 70; max-width: 616px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px; background: #fff; border-left: 5px solid #1e88e5; border-radius: 12px; padding: 10px 12px 10px 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.update-banner span { flex: 1; font-weight: 600; }
#toast { position: fixed; bottom: calc(84px + env(safe-area-inset-bottom)); left: 50%; transform: translate(-50%, 10px); background: var(--dark); color: #fff; padding: 10px 18px; border-radius: 10px; opacity: 0; transition: .2s; pointer-events: none; z-index: 60; white-space: nowrap; }
#toast.show { opacity: 1; transform: translate(-50%, 0); }

/* Nominierung, Rückmeldemodus, Rechte, Teamkasse (1.3.0) */
.tag { font-size: 11px; font-weight: 600; background: #eef2f6; color: var(--muted); padding: 0 6px; border-radius: 4px; }
.tag.nom { background: #e6f1ff; color: var(--accent-dark); }
.event.not-nom { opacity: .65; }
.mode-hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.rsvp-btn.auto.on { background: color-mix(in srgb, var(--s) 75%, #fff); border-style: dashed; }
.field { width: 100%; font: inherit; padding: 10px 12px; border: 1px solid #cfd7df; border-radius: 10px; margin-top: 4px; background: #fff; }
.msg.compose .field { margin: 0 0 8px; }
.msg.compose textarea { margin: 0 0 8px; }
.link-btn.small { font-size: 13px; padding: 6px 0 0; }
.gchips { display: inline-flex; flex-wrap: wrap; gap: 4px; margin-left: 4px; vertical-align: middle; }
.gchip { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: var(--g); border-radius: 99px; padding: 0 7px; line-height: 16px; }
.gdot { width: 14px; height: 14px; border-radius: 50%; flex: none; }
.contact { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; margin-top: 2px; }
.contact a { color: #1565c0; text-decoration: none; }
main h4 { margin: 16px 2px 8px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.neg { color: #c62828; } .ok { color: var(--accent); }
.cash-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; margin-bottom: 12px; }
.cash-head div { background: var(--card); border-radius: 14px; padding: 12px 14px; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cash-head small { display: block; font-size: 12px; color: var(--muted); }
.cash-head b { font-size: 20px; }
.cash-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.cash-list { background: var(--card); border-radius: 14px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.06); }
.cash-row { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.cash-row:last-child { border-bottom: 0; }
.cash-row.open { border-left: 4px solid #c62828; }
.cash-row.inactive { opacity: .55; }
.cash-row .grow { flex: 1; min-width: 0; }
.cash-row .r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.paid-btn { border: 1.5px solid #c62828; color: #c62828; background: #fff; border-radius: 99px; font-size: 12px; font-weight: 700; padding: 3px 10px; cursor: pointer; }
.paid-btn.on { border-color: var(--accent); background: var(--accent); color: #fff; }
.fl { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin: 10px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chk { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 15px; }
.chk input { width: 18px; height: 18px; }
.pick-list { max-height: 34vh; overflow: auto; border: 1px solid var(--line); border-radius: 10px; padding: 4px 12px; }
.others { margin-top: 8px; }
.other-row { display: flex; align-items: center; gap: 6px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.other-row .grow { flex: 1; }
.mini { width: 36px; height: 32px; border: 1.5px solid var(--s); color: var(--s); background: #fff; border-radius: 8px; font-weight: 700; cursor: pointer; }
.mini.on { background: var(--s); color: #fff; }
.tabbar button { max-width: 160px; }
.pay-info { margin-top: 10px; }
.cash-head small.neg { color: #c62828; font-weight: 600; margin-top: 2px; }
.nowrap { white-space: nowrap; }
optgroup { font-weight: 700; }

/* ===== 1.5.0: Chat, Mehr, Umfragen, Übungen, Videos, Testwerte, Gesundheit ===== */
.neg { color: #c62828; } .ok { color: #2e7d32; }
button.tm, a.tm { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left; cursor: pointer; color: var(--text); text-decoration: none; }
.tm small { display: block; }
.thread .grow small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; }
.ch-ico, .mv-ico { width: 36px; height: 36px; border-radius: 50%; background: var(--dark); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.mv-ico { background: #eef2f6; font-size: 18px; }
.badge-n { background: #e53935; color: #fff; font-size: 12px; font-weight: 700; border-radius: 99px; padding: 1px 8px; }
.back-link { display: block; margin: 0 0 8px; padding: 4px 2px; }
.conv-head { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; font-size: 16px; }
.conv { min-height: 50vh; padding-bottom: 70px; }
.ch-day { text-align: center; font-size: 12px; color: var(--muted); margin: 10px 0; }
.bub-row { display: flex; margin: 4px 0; }
.bub-row.mine { justify-content: flex-end; }
.bub { max-width: 80%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 7px 11px; box-shadow: 0 1px 2px rgba(0,0,0,.08); word-wrap: break-word; }
.bub.coach { border-left: 3px solid var(--accent); }
.bub-row.mine .bub { background: #dcf8c6; border-radius: 14px 14px 4px 14px; border-left: 0; }
.bub b { font-size: 12px; color: var(--accent); }
.bub small { display: block; text-align: right; font-size: 11px; color: var(--muted); }
.conv-send { position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); display: flex; gap: 8px; padding: 8px 12px; background: var(--bg); max-width: 640px; margin: 0 auto; }
.conv-send textarea { flex: 1; resize: none; border: 1px solid var(--line); border-radius: 20px; padding: 9px 14px; font: inherit; }
.conv-send .btn { border-radius: 50%; width: 44px; height: 44px; padding: 0; }
.form-card { cursor: pointer; }
.form-card.todo { border-left: 5px solid #e65100; }
.fq { margin: 14px 0; }
.fq-t { font-weight: 600; margin-bottom: 6px; }
.fq textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 8px; font: inherit; }
.scale { display: flex; gap: 4px; flex-wrap: wrap; }
.scale label, .yn label, .chip-radio { cursor: pointer; }
.scale input, .yn input, .chip-radio input { display: none; }
.scale span { display: inline-flex; width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); align-items: center; justify-content: center; font-weight: 700; background: #fff; }
.scale input:checked + span, .yn input:checked + span, .chip-radio input:checked + span { background: var(--dark); color: #fff; border-color: var(--dark); }
.scale-lbl { display: flex; justify-content: space-between; color: var(--muted); }
.yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.yn span, .chip-radio span { display: block; text-align: center; padding: 9px; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; background: #fff; }
.chip-radio span { padding: 6px 14px; border-radius: 99px; }
.choices .chk { display: flex; padding: 6px 0; }
.drill-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.drill-c { background: #fff; border: 0; border-radius: 12px; padding: 8px; text-align: left; box-shadow: 0 1px 3px rgba(0,0,0,.08); cursor: pointer; display: flex; flex-direction: column; gap: 3px; }
.drill-c .thumb svg, .pthumb svg { width: 100%; height: auto; display: block; border-radius: 6px; }
.board-svg { width: 100%; height: auto; display: block; border-radius: 8px; }
.board-view { margin: 10px 0; }
.bv-bar { display: flex; gap: 8px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.bv-play { border: 0; background: #1565c0; color: #fff; border-radius: 10px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.bv-steps button { width: 32px; height: 32px; border: 1px solid var(--line); background: #fff; border-radius: 8px; margin-right: 3px; font-weight: 700; }
.bv-steps button.on { background: #1565c0; color: #fff; border-color: #1565c0; }
.plan { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.plan-row { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 6px 10px; text-align: left; color: var(--text); cursor: pointer; }
.plan-row:disabled { cursor: default; opacity: 1; }
.plan-row small { display: block; }
.pt { font-weight: 700; font-variant-numeric: tabular-nums; width: 44px; flex: none; }
.pthumb { width: 64px; flex: none; }
.video-box { aspect-ratio: 16 / 9; background: #111; border-radius: 10px; overflow: hidden; margin: 8px 0 10px; }
.video-box video, .video-box iframe, .video-box > div { width: 100%; height: 100%; display: block; border: 0; }
.video-box .loading, .video-box .empty { color: #ccc; }
.scenes { display: flex; flex-direction: column; gap: 4px; max-height: 40vh; overflow: auto; }
.scene { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; text-align: left; color: var(--text); cursor: pointer; }
.scene b { font-variant-numeric: tabular-nums; width: 52px; flex: none; }
.scene small { display: block; }
.sdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; }
.me-tag { background: #1565c0; color: #fff; border-radius: 4px; padding: 0 5px; font-size: 11px; }
.test-vals { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; margin: 6px 0; }
.test-vals small { display: block; color: var(--muted); font-size: 11px; }
.mini-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.h-status { border-left: 5px solid var(--c); }
.ok-box { background: #e8f5e9; color: #1b5e20; }
.tabbar button span { font-size: 19px; }

/* ===== Benachrichtigungen ===== */
.push-banner { display: flex; gap: 10px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: #e3f2fd; border: 1px solid #90caf9; border-radius: 12px; padding: 10px 12px; margin-bottom: 12px; font-size: 14px; }
.push-banner .btn.sm { padding: 6px 12px; font-size: 13px; }
.push-prefs label.tm { cursor: pointer; }
.push-prefs input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--accent); }
.small-sel { width: auto; padding: 6px 8px; font-size: 13px; }

/* Mannschaft wechseln (mehrere Mannschaften) */
#team-box.switchable { cursor: pointer; }
#team-box.switchable:active { opacity: .7; }
.team-pick { background: none; border: 0; border-bottom: 1px solid var(--line); color: inherit; display: flex; flex-direction: column; align-items: flex-start; width: 100%; text-align: left; font: inherit; cursor: pointer; }
.team-pick.on { border-color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.team-pick small { opacity: .7; }

/* Teamkasse: mit PayPal bezahlen */
.paypal-box { border-left: 4px solid #0070ba; display: flex; flex-direction: column; gap: 8px; }
.paypal-box .btn.primary { background: #0070ba; border-color: #0070ba; text-align: center; text-decoration: none; }
.paypal-box .btn.disabled { opacity: .45; pointer-events: none; }
.pp-items .chk { font-size: 14px; }
.pp-items .chk b { margin-left: auto; }
.reported { color: #1565c0; }
/* =====================================================================
   Design 2026 – Farben und Stil aus dem Logo (Nachtblau, Neonblau, Silber)
   ===================================================================== */
body { font-family: -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }

/* Kopf: dunkler Verlauf mit blauem Schein, Logo links */
.top { background: radial-gradient(500px 160px at 15% 0%, rgba(31,139,255,.35), transparent 70%), linear-gradient(180deg, var(--dark-2), var(--dark)); box-shadow: 0 6px 24px rgba(7,11,20,.35); }
.top-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.top-logo { border-radius: 11px; flex: none; filter: drop-shadow(0 3px 10px rgba(31,139,255,.55)); }
#team-box { min-width: 0; }
.team { letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.club { color: #9fb3d1; opacity: 1; }
.me { background: linear-gradient(135deg, #1f8bff, #0a5fd8); border-color: rgba(156,200,255,.5); box-shadow: 0 0 0 3px rgba(31,139,255,.18); }

/* Inhalte */
.event, .msg, .team-list, .login { border-radius: 16px; box-shadow: 0 1px 2px rgba(15,27,45,.05), 0 6px 18px rgba(15,27,45,.06); }
.event.big { box-shadow: 0 10px 28px rgba(15,27,45,.12); }
.chip { transition: background .15s, border-color .15s; }
.chip.on { background: linear-gradient(135deg, #10203c, #070b14); border-color: #070b14; }
.info { background: #f4f7fb; border-radius: 12px; }

/* Knöpfe */
.btn { border-radius: 12px; transition: transform .1s, box-shadow .15s; }
.btn:active { transform: scale(.98); }
.btn.primary { background: linear-gradient(135deg, #1f8bff, #0a5fd8); border-color: transparent; box-shadow: 0 6px 16px rgba(31,139,255,.32); }
.login input:focus, textarea:focus, .field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(31,139,255,.18); }

/* Untere Leiste: Glas-Effekt, aktiver Reiter leuchtet blau */
.tabbar { background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-top: 1px solid rgba(226,232,240,.9); }
.tabbar button.on { color: var(--accent-dark); }
.tabbar button.on::after { background: linear-gradient(90deg, #1f8bff, #38bdf8); box-shadow: 0 0 10px rgba(31,139,255,.7); width: 28px; }

/* Anmeldung */
.login-icon img { border-radius: 22px; filter: drop-shadow(0 10px 26px rgba(31,139,255,.45)); }
#toast { background: linear-gradient(135deg, #10203c, #070b14); border-radius: 12px; box-shadow: 0 10px 30px rgba(7,11,20,.35); }
.sheet { border-radius: 22px 22px 0 0; }
/* PayPal-Knopf an jeder offenen Strafe (PayPal-Gelb, Doppel-P) */
.cash-row.payable { cursor: pointer; transition: background .15s, box-shadow .15s; }
.cash-row.payable:active { background: #f3f8ff; }
.pp-btn { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 6px 12px; border-radius: 99px; background: #ffc439; text-decoration: none;
  font-size: 13px; line-height: 1; box-shadow: 0 2px 8px rgba(255,196,57,.45); border: 0; white-space: nowrap; }
.pp-btn:active { transform: scale(.97); }
.pp-btn .pp-pay { color: #003087; font-style: italic; } .pp-btn .pp-pal { color: #009cde; font-style: italic; }
.pp-icon { flex: none; vertical-align: -3px; }
.pp-hint { font-size: 13px; color: var(--muted); margin: -2px 2px 8px; }
.pp-note { margin: 8px 2px 0; }
.paypal-box b .pp-icon { margin-right: 4px; }
/* Bezahl-Ansicht PayPal: Empfänger, Betrag, Zweck zum Kopieren */
.sheet h2 .pp-icon { width: 20px; height: 20px; vertical-align: -3px; margin-right: 4px; }
.pay-fields { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.pay-field { display: flex; align-items: center; gap: 10px; background: #f4f7fb; border-radius: 12px; padding: 10px 12px; }
.pay-field small { display: block; color: var(--muted); font-size: 12px; }
.pay-field b { display: block; word-break: break-word; }
.pay-field .btn.sm { padding: 7px 12px; font-size: 13px; flex: none; }
.pp-btn.pp-big { display: flex; justify-content: center; width: 100%; padding: 13px 16px; font-size: 16px; border-radius: 12px; margin: 4px 0 8px; }
.pp-btn.pp-big span { color: #003087; font-weight: 600; }
button.pp-btn { cursor: pointer; font: inherit; font-size: 13px; }
.btn.pulse { animation: pp-pulse 1.4s ease-in-out 3; }
@keyframes pp-pulse { 0%, 100% { box-shadow: 0 6px 16px rgba(31,139,255,.32); } 50% { box-shadow: 0 0 0 6px rgba(31,139,255,.25), 0 6px 16px rgba(31,139,255,.32); } }
.pay-field .grow { flex: 1; min-width: 0; }

/* PayPal-Knopf je Strafe */
.pay-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; margin-top: 6px; }
.pay-btns .pp-btn { margin-top: 0; }

.cash-row.payable { flex-wrap: wrap; }
.cash-row > .pay-btns { flex-basis: 100%; justify-content: flex-end; margin-top: 8px; }

/* PayPal-Geschäftskonto: Betrag und Bezahlknopf */
.pp-api-box { text-align: center; margin: 12px 0; }
.pp-api-sum { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-bottom: 12px; }
.pp-api-sum b { font-size: 28px; }
/* Rückmeldeschluss */
.deadline-note { font-size: 12px; margin-top: 6px; color: var(--muted); }
.deadline-note.closed { color: #e0a100; font-weight: 600; }
.rsvp-btn:disabled { opacity: .45; cursor: not-allowed; }
.rsvp-btn.on:disabled { opacity: .85; }
/* Rechtliches */
.legal-links { margin-top: 22px; text-align: center; font-size: 12px; color: var(--muted); }
.legal-links a { color: inherit; }
a.tm.thread { text-decoration: none; color: inherit; }
/* Ankündigung des Betreibers (Plattform-Verwaltung → Ankündigungen) */
.announce-bar { display: flex; align-items: flex-start; gap: 8px; margin: 10px 12px 0; padding: 10px 10px 10px 12px; border-radius: 12px; font-size: 14px; line-height: 1.4; }
.announce-bar .ann-txt { flex: 1; }
.announce-bar .ann-x { border: 0; background: none; color: inherit; opacity: .7; font-size: 16px; padding: 0 4px; cursor: pointer; }
.ann-info { background: #e3eefb; color: #0a3d8a; } .ann-warnung { background: #fff3cd; color: #7a4d00; } .ann-wartung { background: #fdecea; color: #8a1c1c; }
/* Eingabefelder mindestens 16px: sonst zoomt das Handy beim Antippen und die Ansicht springt */
input:not([type=checkbox]):not([type=radio]):not([type=range]), textarea, select { font-size: 16px; }

