.ui-notice { display:flex; align-items:center; gap:8px 14px; flex-wrap:wrap; padding:9px 12px; margin-bottom:18px; border:1px dashed #aebed3; border-radius:7px; background:#f0f5fc; font-size:.78rem; color:#435a78; }
.ui-notice a { margin-left:auto; }
.ui-subnav { display:flex; gap:6px; flex-wrap:wrap; margin:-6px 0 18px; padding-bottom:14px; border-bottom:1px solid #dce5f0; }
.ui-subnav a { padding:7px 11px; border-radius:6px; color:var(--blue); text-decoration:none; font-size:.82rem; }
.ui-subnav a[aria-current="page"] { background:#e8eef9; box-shadow:inset 0 -2px var(--orange); font-weight:700; }
.ui-subnav a:hover { background:#e8eef9; }
.main-menu a { flex:1 1 auto; text-align:center; }
.ui-warning { margin:12px 0 18px; border:1px solid #e6c8b4; border-radius:7px; background:#fff8f2; color:#795033; font-size:.8rem; }
.ui-issues > summary { display:flex; align-items:center; gap:12px; cursor:pointer; list-style:none; padding:11px 13px; }
.ui-issues > summary::-webkit-details-marker { display:none; }
.ui-details-label { margin-left:auto; white-space:nowrap; font-size:.75rem; text-decoration:underline; }
.ui-issues > p,.ui-issues > ul { margin:8px 14px 14px; }
.ui-data-status { margin:10px 2px 18px; color:var(--muted); font-size:.72rem; }
.ui-filter-summary { color:var(--muted); font-size:.8rem; margin:8px 0 14px; }
.team-filter #team-filter-count { display:none; }
.ui-reset,.ui-jump { border:1px solid #b7c7da; border-radius:6px; background:white; color:var(--blue); padding:10px 13px; font:inherit; font-size:.82rem; cursor:pointer; min-height:42px; }
.ui-jump { background:var(--blue); color:white; border-color:var(--blue); }
.ui-reset:hover { background:#edf3fa; }
.ui-jump:hover { background:#153c88; }
.ui-reset:focus-visible,.ui-jump:focus-visible,.ui-subnav a:focus-visible,.ui-issues > summary:focus-visible { outline:3px solid var(--orange); outline-offset:2px; }
.ui-unconfirmed { color:#805331; font-size:.83rem; }
.schedule-scroll { max-height:70vh; overflow:auto; scroll-behavior:smooth; }
.schedule-scroll thead th { position:sticky; top:0; z-index:2; }
.schedule-scroll thead th:first-child { left:0; z-index:3; }
.schedule-scroll td.ui-date { position:sticky; left:0; background:white; z-index:1; min-width:112px; border-right:1px solid #dce5f0; }
.ui-time { display:block; color:var(--muted); font-size:.76rem; }
.schedule-scroll td:nth-child(2) { white-space:normal; min-width:175px; }
.schedule-scroll td:nth-child(3) { min-width:155px; }
.schedule-scroll td:nth-child(4) { min-width:140px; }
.schedule-scroll td:nth-child(5) { min-width:110px; }
.schedule-scroll td:nth-child(6) { min-width:165px; }
.ui-next-highlight td { background:#fff4e8!important; box-shadow:inset 0 2px #ea754d,inset 0 -2px #ea754d; }
@media(max-width:600px) {
  .club-brand { gap:12px; padding-bottom:14px; }
  .club-logo { width:54px; height:54px; }
  .club-brand-name { font-size:.87rem; }
  .club-brand-subtitle { font-size:.72rem; }
  .club-brand-link { display:none; }
  .club-brand { flex-wrap:nowrap; }
  .club-brand > div:not(.club-brand-actions) { min-width:0; }
  .club-brand .club-brand-actions { margin:0 0 0 auto; flex-shrink:0; }
  .club-brand .club-login { padding:6px 12px; font-size:.8rem; }
  .main-menu { gap:6px; margin-bottom:14px; }
  .main-menu a { flex:1 1 calc(50% - 6px); padding:10px 6px; font-size:.87rem; }
  .ui-subnav { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:2px; }
  .ui-subnav a { padding:8px 3px; font-size:.72rem; text-align:center; overflow-wrap:anywhere; }
  header { padding:19px; }
  .ui-notice { margin-bottom:14px; }
  .ui-notice > span { display:none; }
  .schedule-scroll td.ui-date { min-width:98px; font-size:.77rem; }
  .schedule-scroll td:nth-child(2) { min-width:155px; }
  .schedule-scroll td:nth-child(3) { min-width:140px; }
}
@media(prefers-reduced-motion:reduce) { .schedule-scroll { scroll-behavior:auto; } }
/* ---- Spieleseite: Spiele nach oben, kompakte Bedienung ---- */
main > header { padding:18px 22px; }
main > header h1 { font-size:clamp(1.35rem,3vw,1.9rem); margin:0 0 2px; }
main > header > p { margin:0; opacity:.85; font-size:.92rem; }
main > header .counts { margin-top:10px; }
.next-label { background:var(--orange); color:#1b1b3a; font-size:.78rem; font-weight:700; padding:2px 9px; border-radius:999px; }
.week-bar { display:grid; grid-template-columns:52px minmax(0,1fr) 52px; align-items:stretch; gap:8px; margin:14px 0 8px; }
.week-step { display:flex; align-items:center; justify-content:center; line-height:1; color:#00008b; background:white; border:1px solid #dce5f0; border-radius:10px; text-decoration:none; min-height:56px; }
a.week-step:hover { background:#edf7ff; }
a.week-step:focus-visible,.week-current:focus-within { outline:3px solid var(--orange); outline-offset:2px; }
span.week-step { visibility:hidden; }
.week-current { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px; background:#00008b; color:white; border-radius:10px; box-shadow:inset 0 -4px var(--orange); padding:8px 12px 10px; cursor:pointer; text-align:center; }
.week-name { font-weight:700; font-size:1.02rem; }
.week-detail { font-size:.8rem; opacity:.85; }
.week-open { font-size:.75rem; }
.week-current select { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; font-size:16px; }
.week-today { display:inline-block; margin:0 0 8px; font-size:.85rem; font-weight:700; color:#00008b; }
.team-filter { margin:8px 0 14px; padding:10px 12px; gap:10px; }
.team-filter label { font-size:.8rem; }
.team-filter select { flex:1 1 200px; }
.my-team { font:inherit; font-size:.82rem; font-weight:700; padding:9px 12px; border-radius:8px; border:1px solid #dce5f0; background:white; color:#00008b; cursor:pointer; white-space:nowrap; }
.my-team[hidden] { display:none; }
.my-team[aria-pressed="true"] { background:#fff1e9; border-color:#f2b796; color:#8a3a0c; }
.my-team:focus-visible { outline:3px solid var(--orange); outline-offset:2px; }
footer .accordion-hint,footer .ui-data-status { margin:0 0 8px; font-size:.78rem; color:var(--muted); }
@media (max-width:600px) {
  main > header { padding:14px 16px; }
  main > header > p { display:none; }  /* Datum steht in der Wochenleiste */
  main > header .counts { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
  main > header .counts .badge { font-size:.78rem; padding:3px 10px; margin:0; }
    .team-filter .ui-reset { display:none; }  /* „Alle Mannschaften“ in der Auswahl setzt zurück */
  .week-bar { grid-template-columns:44px minmax(0,1fr) 44px; gap:6px; }
  .week-step { min-height:52px; }
  .team-filter { flex-wrap:nowrap; }
  .team-filter label { display:none; }
  .team-filter select { flex:1 1 auto; }
}

.week-step svg { width:24px; height:24px; fill:none; stroke:currentColor; stroke-width:2.4; stroke-linecap:round; stroke-linejoin:round; }
.week-open svg { width:14px; height:14px; fill:none; stroke:currentColor; stroke-width:2.6; stroke-linecap:round; stroke-linejoin:round; vertical-align:-2px; }
.my-team { display:inline-flex; align-items:center; gap:6px; }
.my-team svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linejoin:round; }
.my-team.is-saved svg { fill:currentColor; }
.week-name { letter-spacing:0; }

/* ---- Kopfbereich: Mein-Team-Karte und Vereins-Wochenende ---- */
.hero-team[hidden],.club-weekend[hidden] { display:none; }
.hero-team,.club-weekend { margin:14px 0 4px; }
.hero-kicker { margin:0; font-size:.82rem; opacity:.85; }
.hero-big { margin:2px 0 10px; font-size:1.15rem; font-weight:700; }
.result-chips { display:flex; flex-wrap:wrap; gap:6px; }
.result-chip { display:inline-flex; align-items:center; gap:7px; background:white; color:#15213a; border-radius:8px; padding:5px 10px 5px 5px; font-size:.85rem; text-decoration:none; line-height:1.2; }
a.result-chip:hover { background:#edf7ff; }
.result-chip strong { font-variant-numeric:tabular-nums; }
.result-letter,.tc-letter,.tc-badge { display:inline-flex; align-items:center; justify-content:center; width:22px; height:22px; border-radius:6px; color:white; font-weight:700; font-size:.78rem; flex-shrink:0; }
.result-S .result-letter,.tc-S.tc-badge,.tc-result.tc-S .tc-letter { background:#1d7a43; }
.result-N .result-letter,.tc-N.tc-badge,.tc-result.tc-N .tc-letter { background:#b3261e; }
.result-U .result-letter,.tc-U.tc-badge,.tc-result.tc-U .tc-letter { background:#6b7a88; }
.weekend-day { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:6px 0; }
.weekend-label { font-weight:700; min-width:64px; }
.hall-chip { background:#ffffff1f; border:1px solid #ffffff40; border-radius:8px; padding:4px 10px; font-size:.84rem; }
.hall-chip.away { opacity:.85; }
.tc-head { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 12px; margin-bottom:10px; }
.tc-name { font-size:1.2rem; }
.tc-table { color:white; background:#ffffff1f; border:1px solid #ffffff40; border-radius:999px; padding:2px 10px; font-size:.85rem; text-decoration:none; }
.tc-table:hover { background:#ffffff33; }
.tc-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.tc-box { display:flex; flex-direction:column; gap:2px; background:white; color:#15213a; border-radius:10px; padding:10px 12px; min-width:0; }
.tc-label { font-size:.75rem; font-weight:700; color:#58667a; }
.tc-big { font-size:1.08rem; font-weight:700; color:#00008b; text-decoration:none; display:inline-flex; align-items:center; gap:6px; }
a.tc-big:hover { text-decoration:underline; }
.tc-muted { font-size:.8rem; color:#58667a; overflow-wrap:anywhere; }
.tc-form { display:flex; gap:4px; margin:2px 0; }
.tc-result { font-variant-numeric:tabular-nums; }
@media (max-width:760px) { .tc-grid { grid-template-columns:1fr 1fr; } .tc-grid .tc-box:first-child { grid-column:1 / -1; } }
@media (max-width:600px) { .hero-big { font-size:1.02rem; } .weekend-label { min-width:auto; width:100%; } }

.more-results { width:100%; margin:4px 0 0; }
.more-results summary { cursor:pointer; font-size:.85rem; font-weight:700; color:white; opacity:.9; padding:4px 0; }
.more-results .result-chips { margin-top:6px; }
@media (max-width:600px) {
  .result-chips { display:grid; grid-template-columns:1fr 1fr; gap:6px; }
  .result-chip { font-size:.8rem; padding:4px 8px 4px 4px; gap:6px; min-width:0; }
  .result-chip strong { margin-left:auto; }
  .more-results { grid-column:1 / -1; }
}

/* Ergebnisse: gleich breite Kärtchen im Raster; Desktop zeigt alle, Handy die ersten acht */
.result-chips { display:grid; grid-template-columns:repeat(auto-fill,minmax(158px,1fr)); gap:6px; }
.result-chip { min-width:0; }
.result-chip strong { margin-left:auto; padding-left:6px; }
.more-results { display:none; }
@media (max-width:760px) {
  .result-chips { grid-template-columns:1fr 1fr; }
  .result-chips > .result-chip.extra { display:none; }
  .more-results { display:block; grid-column:1 / -1; }
}
.result-team { white-space:nowrap; overflow:hidden; text-overflow:ellipsis; min-width:0; }
.result-chip strong { white-space:nowrap; }
/* Zweizeiliges Ergebnis-Kärtchen: Mannschaft oben, Ergebnis darunter */
.result-chips { grid-template-columns:repeat(auto-fill,minmax(118px,1fr)); }
.result-chip { display:grid; grid-template-columns:auto minmax(0,1fr); grid-template-rows:auto auto; column-gap:8px; row-gap:1px; align-items:center; padding:6px 10px 6px 6px; }
.result-chip .result-letter { grid-row:1 / 3; width:24px; height:24px; }
.result-team { font-size:.8rem; font-weight:600; color:#3d4a5c; }
.result-chip strong { margin:0; padding:0; font-size:.98rem; line-height:1.15; }
@media (max-width:760px) { .result-chips { grid-template-columns:repeat(2,minmax(0,1fr)); } .result-chip { font-size:inherit; padding:6px 10px 6px 6px; } }
.result-chips { grid-template-columns:repeat(var(--cols, 6),minmax(0,1fr)); }
@media (max-width:760px) { .result-chips { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (min-width:761px) and (max-width:1000px) { .result-chips { grid-template-columns:repeat(4,minmax(0,1fr)); } }
.hero-hint { margin:8px 0 0; font-size:.78rem; opacity:.75; }
/* Teilen-Knöpfe */
.share-week,.tc-share { display:inline-flex; align-items:center; gap:6px; font:inherit; font-size:.82rem; font-weight:700; cursor:pointer; border-radius:8px; white-space:nowrap; }
.share-week { padding:9px 12px; border:1px solid #dce5f0; background:white; color:#00008b; }
.share-week:hover { background:#edf7ff; }
.tc-share { margin-left:auto; padding:4px 10px; border:1px solid #ffffff55; background:#ffffff1f; color:white; }
.tc-share:hover { background:#ffffff33; }
.share-week svg,.tc-share svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.share-week:focus-visible,.tc-share:focus-visible { outline:3px solid var(--orange); outline-offset:2px; }
.share-week:disabled,.tc-share:disabled { cursor:default; opacity:.85; }
@media (max-width:600px) { .share-week span { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); } .share-week { padding:9px 10px; } }

/* Spiel des Monats: hervorgehobene Karte im Kopf der Spielseiten */
.spotlight { display:grid; gap:3px; margin:16px 0 6px; padding:14px 16px 14px 18px; border-radius:12px; text-decoration:none; color:#1b1b2f;
  background:linear-gradient(120deg,#fff3e6 0%,#ffe2c4 100%); border-left:6px solid #e8743b; box-shadow:0 6px 18px rgba(0,0,0,.18); position:relative; }
a.spotlight:hover { background:linear-gradient(120deg,#fff7ee 0%,#ffe9d3 100%); }
.spotlight:focus-visible { outline:3px solid #fff; outline-offset:3px; }
.spotlight-badge { justify-self:start; font-size:.74rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#fff; background:#e8743b; border-radius:999px; padding:3px 10px; }
.spotlight-match { font-size:1.22rem; font-weight:800; line-height:1.25; color:#0b1f6b; margin-top:4px; }
.spotlight-when { font-size:.92rem; font-weight:600; color:#2b2b40; }
.spotlight-note { font-size:.9rem; color:#4a3a2a; font-style:italic; }
.spotlight-count { justify-self:start; margin-top:4px; font-size:.8rem; font-weight:700; color:#0b1f6b; background:rgba(255,255,255,.75); border-radius:999px; padding:2px 10px; }
.spotlight.played .spotlight-when strong { font-variant-numeric:tabular-nums; font-size:1.05rem; }
@media (max-width:600px) { .spotlight { padding:12px 13px 12px 15px; } .spotlight-match { font-size:1.05rem; } .spotlight-badge { font-size:.68rem; letter-spacing:.03em; } }
