.sb-kopf .sb-suche { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.sb-kopf .game-search { max-width: 320px; flex: 1 1 220px; }
.thema-chip.on { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }
.sb-kacheln { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); margin-bottom: 22px; }
.sb-kachel { display: flex; flex-direction: column; gap: 3px; padding: 10px; color: var(--ink); text-decoration: none; }
.sb-kachel:hover, .sb-kachel:focus-visible { border-color: var(--accent); }
.sb-kachel[hidden] { display: none; }
.sb-k-bild { display: grid; place-items: center; aspect-ratio: 1; border-radius: 10px; background: #1d4a35 center / cover no-repeat; margin-bottom: 6px; overflow: hidden; }
.sb-k-ersatz { padding: 10px; text-align: center; font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: #f4ead2; text-shadow: 0 1px 2px rgba(0, 0, 0, .5); background: repeating-linear-gradient(0deg, transparent 0 22px, rgba(255, 255, 255, .06) 22px 23px); width: 100%; height: 100%; display: grid; place-items: center; }
.sb-meine { margin-bottom: 18px; }
.sb-meine h2 { font-size: 1.1rem; margin: 0 0 10px; }
.sb-meine-liste { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.sb-meine-liste .sb-pz { padding: 10px 12px; color: var(--ink); text-decoration: none; }

.sb-spielkopf { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px; margin-bottom: 16px; }
.sb-spielkopf .sb-k-bild { margin: 0; }
.sb-spielkopf h1 { margin: 0 0 4px; font-size: clamp(1.4rem, 3.2vw, 2rem); }
.sb-spielkopf p { margin: 0; }
.sb-ziel { margin-top: 8px !important; color: var(--ink-soft); }

.sb-app { display: grid; gap: 14px; margin-bottom: 18px; }
.sb-app h2 { font-size: 1.1rem; margin: 0 0 10px; }
.sb-tipp { margin: 0 0 12px; }
.sb-feld { margin-bottom: 12px; }
.sb-lbl { display: block; font-weight: 700; margin-bottom: 6px; }
.sb-anzahl { display: flex; flex-wrap: wrap; gap: 8px; }
.sb-anz { min-width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid var(--field-line); background: var(--card2); color: var(--ink); font-weight: 800; font-size: 1rem; cursor: pointer; }
.sb-anz.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sb-namen { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-bottom: 12px; }
.sb-name { display: flex; align-items: center; gap: 8px; }
.sb-name span { width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--card2); font-weight: 700; font-size: .85rem; }
.sb-name input, .sb-opt input, .sb-opt select { flex: 1; min-height: 42px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--field-line); background: var(--bg2); color: var(--ink); font: inherit; }
.sb-optionen { margin: 0 0 14px; }
.sb-optionen summary { cursor: pointer; font-weight: 700; margin-bottom: 8px; }
.sb-opt { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0; }
.sb-opt input { max-width: 120px; }
.sb-laufend .sb-pz, .sb-pz { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); }
.sb-laufend .sb-pz:first-of-type { border-top: 0; }
.sb-pz > div:first-child { display: flex; flex-direction: column; min-width: 0; }
.sb-pz b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-pz-k { display: flex; gap: 6px; flex: none; }

.sb-stand-kopf h2 small { font-weight: 400; }
.sb-rang { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.sb-rang li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: var(--card2); }
.sb-rang li.vorn { outline: 2px solid var(--gold); }
.sb-platz { color: var(--muted); font-weight: 700; }
.sb-sn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-rang b { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.sb-sieger { margin: 12px 0 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--gold) 18%, transparent); font-weight: 800; }

.sb-spieler { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.sb-sp { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg2); }
.sb-sp-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 8px; }
.sb-wert { font-weight: 800; color: var(--accent); font-variant-numeric: tabular-nums; }
.sb-felder { display: grid; gap: 6px; }
.sb-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sb-f-l { font-size: .9rem; line-height: 1.3; }
.sb-f-l small { color: var(--muted); }
.sb-f-h { display: block; }
.sb-f-e, .sb-schnell { display: flex; align-items: center; gap: 4px; flex: none; }
.sb-step, .sb-vz { width: 40px; height: 40px; border-radius: 8px; border: 1px solid var(--field-line); background: var(--card2); color: var(--ink); font-size: 1.15rem; font-weight: 700; cursor: pointer; }
.sb-v, .sb-q { width: 64px; min-height: 40px; text-align: center; border-radius: 8px; border: 1px solid var(--field-line); background: var(--card); color: var(--ink); font: inherit; font-weight: 700; }
.sb-schnell .sb-q { width: 96px; }
.sb-sp-fuss { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; flex-wrap: wrap; }
.sb-sonder { display: flex; align-items: center; gap: 6px; font-size: .9rem; }
.sb-modus { background: none; border: 0; color: var(--accent); cursor: pointer; font: inherit; font-size: .88rem; text-decoration: underline; padding: 6px 0; }
.sb-fehler { margin: 10px 0 0; color: var(--bad-strong); font-weight: 700; }
.sb-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.sb-tabelle td small { display: block; color: var(--muted); font-size: .75rem; }
.sb-tabelle tr.sb-edit td { background: color-mix(in srgb, var(--accent) 14%, transparent); }

.sb-online { margin-bottom: 16px; }
.sb-online h2 { margin-top: 0; font-size: 1.1rem; }
.sb-online-liste { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.sb-online-kachel { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; background: var(--bg2); }
.sb-online-kachel:hover { border-color: var(--accent); }
.sb-online-kachel img { width: 96px; height: 60px; object-fit: cover; border-radius: 6px; }
.sb-online-kachel span { display: flex; flex-direction: column; }
.sb-online-kachel small { color: var(--muted); }
.sb-regeln { margin-bottom: 16px; }
.sb-hinweis { margin-top: 14px; }
@media (max-width: 560px) {
  .sb-spielkopf { grid-template-columns: 90px minmax(0, 1fr); gap: 12px; }
  .sb-spieler { grid-template-columns: 1fr; }
  .sb-kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.sb-k-bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sb-start { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 16px; border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.sb-start h2 { margin: 0 0 4px; font-size: 1.2rem; }
.sb-start p { margin: 0; max-width: 60ch; }
.sb-start-knopf { min-height: 48px; font-size: 1.05rem; }
