/* Spielblock (tools/spielblock) – auf tools.css (Nachtblau, Gelb, Exo 2). */
.sb-inhalt { width: min(100% - 2 * clamp(12px, 4vw, 32px), 1180px); padding-bottom: 40px; }
.sb-emo { display: inline-grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, var(--f, #ffc61a) 22%, transparent); font-size: 1.5rem; line-height: 1; }
.sb-emo.gross { width: 64px; height: 64px; border-radius: 18px; font-size: 2.1rem; }
.sb-link { margin-top: .6rem; padding: 0; border: 0; background: none; color: var(--text-3); font: 600 .85rem 'Exo 2', sans-serif; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.sb-link:hover { color: var(--gelb); }
.sb-x { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 0; border-radius: 10px; background: transparent; color: var(--text-3); cursor: pointer; }
.sb-x:hover:not(:disabled) { background: var(--flaeche-2); color: #fff; } .sb-x:disabled { opacity: .3; cursor: default; }
.sb-karte { padding: 1.1rem 1.2rem; border-radius: 20px; border: 1px solid var(--rand); background: var(--flaeche); }
.sb-karte > h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: .8rem; font-size: 1.1rem; } .sb-karte > h2 i { color: var(--gelb); } .sb-karte > h2 small { margin-left: auto; color: var(--text-3); font-size: .78rem; font-weight: 600; }
.sb-hinweis { display: flex; gap: .55rem; margin: .4rem 0 0; padding: .7rem .9rem; border-radius: 14px; background: rgba(255, 198, 26, .07); color: var(--text-2); font-size: .88rem; line-height: 1.5; } .sb-hinweis i { margin-top: .2rem; color: var(--gelb); }
.sb-klein-mitte { margin: .8rem 0 0; color: var(--text-3); font-size: .82rem; text-align: center; }
.sb-name { display: inline-flex; align-items: center; gap: .45rem; min-width: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-name i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--f); box-shadow: 0 0 0 3px color-mix(in srgb, var(--f) 25%, transparent); }

/* Start */
.sb-weiter, .sb-spiele, .sb-chronik { margin-top: 1.6rem; } .sb-weiter h2, .sb-spiele h2, .sb-chronik h2 { margin-bottom: .8rem; font-size: 1.15rem; }
.sb-weiter-liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: .6rem; }
.sb-weiter-karte { display: flex; align-items: center; border-radius: 18px; border: 1px solid color-mix(in srgb, var(--f) 45%, var(--rand)); background: linear-gradient(135deg, color-mix(in srgb, var(--f) 14%, transparent), transparent 70%), var(--flaeche); }
.sb-weiter-auf { display: flex; flex: 1; align-items: center; gap: .8rem; min-width: 0; padding: .75rem .9rem; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; }
.sb-weiter-auf > span:last-child { display: grid; min-width: 0; } .sb-weiter-auf small { color: var(--text-3); font-size: .8rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-weiter-karte .sb-x { margin-right: .5rem; }
.sb-spiele-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: .7rem; }
.sb-spiel-karte { display: grid; gap: .35rem; align-content: start; padding: 1rem; border: 1px solid var(--rand); border-radius: 20px; background: radial-gradient(circle at 0 0, color-mix(in srgb, var(--f) 22%, transparent), transparent 60%), var(--flaeche); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: transform .25s var(--feder), border-color .2s; animation: sb-ein .45s var(--kurve) calc(var(--i) * 30ms) both; }
.sb-spiel-karte:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--f) 70%, var(--rand)); }
.sb-spiel-karte b { margin-top: .3rem; font-size: 1.08rem; } .sb-spiel-karte small { color: var(--text-2); font-size: .82rem; line-height: 1.45; }
@keyframes sb-ein { from { opacity: 0; transform: translateY(10px); } }
.sb-chronik ul { display: grid; gap: .4rem; margin: 0; padding: 0; list-style: none; }
.sb-chronik li { display: flex; align-items: center; gap: .7rem; padding: .55rem .7rem; border-radius: 14px; background: var(--flaeche); }
.sb-chronik li .sb-emo { width: 36px; height: 36px; font-size: 1.1rem; --f: #ffc61a; } .sb-chronik li > span:last-child { display: grid; } .sb-chronik small { color: var(--text-3); font-size: .78rem; }

/* Setup */
.sb-zurueck { border: 0; background: none; font: inherit; cursor: pointer; }
.sb-setup-kopf { display: flex; align-items: center; gap: 1rem; margin: .4rem 0 1.2rem; } .sb-setup-kopf h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); } .sb-setup-kopf p { margin: .2rem 0 0; color: var(--text-2); }
.sb-setup { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 1rem; align-items: start; }
.sb-spieler { display: grid; gap: .4rem; margin: 0 0 .7rem; padding: 0; list-style: none; counter-reset: sp; }
.sb-spieler li { display: flex; align-items: center; gap: .4rem; padding: .3rem .3rem .3rem .45rem; border-radius: 14px; background: var(--flaeche-2); border: 1px solid var(--rand); }
.sb-spieler li::before { counter-increment: sp; content: counter(sp); width: 1.2rem; color: var(--text-3); font-size: .8rem; font-weight: 700; text-align: center; }
.sb-farbe { flex: none; width: 26px; height: 26px; border: 3px solid rgba(255, 255, 255, .15); border-radius: 50%; background: var(--f); cursor: pointer; }
.sb-spieler input { flex: 1; min-width: 0; padding: .5rem .4rem; border: 0; background: transparent; color: #fff; font: 600 1rem 'Exo 2', sans-serif; }
.sb-spieler input:focus { outline: none; }
.sb-neu-spieler { display: flex; gap: .5rem; } .sb-neu-spieler input { flex: 1; min-width: 0; padding: .65rem .85rem; border: 1px solid var(--rand-2); border-radius: 12px; background: rgba(0, 0, 0, .25); color: #fff; font: 500 1rem 'Exo 2', sans-serif; } .sb-neu-spieler input:focus { outline: none; border-color: var(--gelb); }
.sb-bekannt { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .7rem; } .sb-bekannt small { color: var(--text-3); margin-right: .2rem; }
.sb-bekannt button { padding: .3rem .7rem; border: 1px dashed var(--rand-2); border-radius: 99px; background: none; color: var(--text-2); font: 600 .85rem 'Exo 2', sans-serif; cursor: pointer; } .sb-bekannt button:hover { border-color: var(--gelb); color: #fff; }
.sb-opt { display: grid; gap: .4rem; margin-bottom: .9rem; } .sb-opt > span:first-child { color: var(--text-2); font-size: .85rem; font-weight: 600; }
.sb-wahl { display: flex; flex-wrap: wrap; gap: .35rem; }
.sb-wahl button { padding: .5rem .85rem; border: 1px solid var(--rand-2); border-radius: 12px; background: var(--flaeche-2); color: var(--text-2); font: 600 .9rem 'Exo 2', sans-serif; cursor: pointer; }
.sb-wahl button[aria-pressed="true"] { background: var(--gelb); border-color: var(--gelb); color: #111; }
.sb-opt-zahl { display: flex; align-items: center; gap: .6rem; } .sb-opt-zahl input { width: 8rem; padding: .55rem .8rem; border: 1px solid var(--rand-2); border-radius: 12px; background: rgba(0, 0, 0, .25); color: #fff; font: 700 1rem 'Exo 2', sans-serif; } .sb-opt-zahl small { color: var(--text-3); }
.sb-los { position: sticky; bottom: 12px; z-index: 4; display: flex; justify-content: center; margin-top: 1.2rem; }
.sb-los-knopf { min-width: min(100%, 320px); padding: 1rem 1.6rem; font-size: 1.1rem; box-shadow: 0 16px 40px -14px rgba(255, 198, 26, .7); }

/* Spielkopf */
.sb-spiel-kopf { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: .6rem; margin: -.4rem calc(-1 * clamp(12px, 4vw, 32px)) 1rem; padding: .6rem clamp(12px, 4vw, 32px); background: rgba(7, 11, 31, .86); border-bottom: 1px solid var(--rand); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.sb-spiel-titel { display: flex; flex: 1; align-items: center; gap: .6rem; min-width: 0; } .sb-spiel-titel .sb-emo { width: 38px; height: 38px; font-size: 1.2rem; } .sb-spiel-titel h1 { font-size: 1.25rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-spiel-knoepfe { display: flex; gap: .35rem; }
.sb-rund { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border: 1px solid var(--rand-2); border-radius: 50%; background: var(--flaeche); color: #fff; font-size: 1rem; cursor: pointer; } .sb-rund:disabled { opacity: .35; cursor: default; } .sb-rund:hover:not(:disabled) { border-color: var(--gelb); }
.sb-rund.gross { width: 64px; height: 64px; font-size: 1.4rem; background: var(--gelb); border-color: var(--gelb); color: #111; }
.sb-ende-band { display: flex; align-items: center; gap: .7rem; margin-bottom: 1rem; padding: .75rem 1rem; border-radius: 16px; background: linear-gradient(90deg, rgba(255, 198, 26, .18), rgba(255, 198, 26, .05)); border: 1px solid rgba(255, 198, 26, .45); font-weight: 650; } .sb-ende-band i { color: var(--gelb); } .sb-ende-band span { flex: 1; } .sb-ende-band .t-knopf { padding: .45rem .9rem; }
.sb-spiel { display: grid; gap: 1rem; }
.sb-aktionen { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sb-gross { padding: .9rem 1.5rem; font-size: 1.05rem; }

/* Tabellen */
.sb-tabelle-box { overflow-x: auto; border-radius: 18px; border: 1px solid var(--rand); background: var(--flaeche); }
.sb-tabelle { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.sb-tabelle th, .sb-tabelle td { padding: .3rem .35rem; border-bottom: 1px solid var(--rand); text-align: center; white-space: nowrap; }
.sb-tabelle thead th { position: sticky; top: 0; padding: .65rem .5rem; background: #0e1433; color: #fff; font-size: .9rem; box-shadow: inset 0 -3px 0 var(--f, transparent); }
.sb-tabelle tbody th, .sb-tabelle tfoot th { padding-left: .8rem; color: var(--text-3); font-size: .82rem; font-weight: 650; text-align: left; }
.sb-tabelle tfoot td, .sb-tabelle tfoot th { padding: .7rem .4rem; border-bottom: 0; background: rgba(255, 198, 26, .06); font-size: 1.15rem; font-weight: 800; }
.sb-tabelle tfoot td.vorn { color: var(--gelb); }
.sb-zelle { width: 100%; min-width: 3.6rem; min-height: 40px; padding: .4rem; border: 0; border-radius: 10px; background: transparent; color: #fff; font: 700 1.02rem 'Exo 2', sans-serif; cursor: pointer; transition: background .15s; }
.sb-zelle:hover { background: var(--flaeche-2); } .sb-zelle.leer { color: var(--text-3); font-weight: 500; } .sb-zelle.leer:hover { color: var(--gelb); } .sb-zelle.minus { color: #fb7185; } .sb-zelle.null { color: var(--text-3); }
.sb-stand-leiste { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: .5rem; }
.sb-stand { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .5rem; padding: .7rem .8rem .9rem; border-radius: 16px; background: var(--flaeche); border: 1px solid var(--rand); overflow: hidden; }
.sb-stand.vorn { border-color: rgba(255, 198, 26, .6); background: linear-gradient(135deg, rgba(255, 198, 26, .12), transparent), var(--flaeche); }
.sb-stand-platz { color: var(--text-3); font-weight: 800; } .sb-stand b { font-size: 1.35rem; font-variant-numeric: tabular-nums; }
.sb-stand-balken { position: absolute; left: 0; bottom: 0; height: 4px; width: var(--p); max-width: 100%; background: var(--f); transition: width .5s var(--kurve); }

/* Dialog */
.sb-dialog { width: min(440px, calc(100vw - 20px)); max-height: calc(100vh - 20px); padding: 0; border: 1px solid var(--rand-2); border-radius: 24px; background: #0e1433; color: #fff; box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .9); overflow: auto; }
.sb-dialog::backdrop { background: rgba(2, 4, 16, .7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sb-dialog[open] { animation: sb-dlg .25s var(--feder); } @keyframes sb-dlg { from { opacity: 0; transform: scale(.94); } }
.sb-d { display: grid; gap: .9rem; padding: 1.2rem; }
.sb-d-kopf { display: grid; gap: .15rem; } .sb-d-kopf b { font-size: 1.15rem; } .sb-d-kopf small { color: var(--text-3); font-size: .85rem; }
.sb-d-text { margin: 0; font-size: 1.05rem; }
.sb-d-fuss { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; }
.sb-d-eingabe { padding: .7rem .9rem; border: 1px solid var(--rand-2); border-radius: 12px; background: rgba(0, 0, 0, .3); color: #fff; font: 600 1.1rem 'Exo 2', sans-serif; }
.sb-anzeige { display: block; padding: .5rem 1rem; border-radius: 16px; background: rgba(0, 0, 0, .35); font-size: 2.6rem; font-weight: 800; text-align: right; font-variant-numeric: tabular-nums; }
.sb-anzeige.leer { color: var(--text-3); } .sb-anzeige.falsch { animation: sb-wackeln .35s; color: #fb7185; } @keyframes sb-wackeln { 25% { transform: translateX(-8px); } 75% { transform: translateX(8px); } }
.sb-tasten { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; }
.sb-tasten button { height: 58px; border: 0; border-radius: 14px; background: var(--flaeche-2); color: #fff; font: 700 1.4rem 'Exo 2', sans-serif; cursor: pointer; touch-action: manipulation; } .sb-tasten button:active { background: rgba(255, 198, 26, .3); }
.sb-schnell { display: flex; flex-wrap: wrap; gap: .35rem; } .sb-schnell button { flex: 1 0 auto; padding: .45rem .7rem; border: 1px solid var(--rand-2); border-radius: 10px; background: none; color: var(--text-2); font: 700 .95rem 'Exo 2', sans-serif; cursor: pointer; } .sb-schnell button:hover { border-color: var(--gelb); color: #fff; }
.sb-auswahl { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; } .sb-auswahl.zwei { grid-template-columns: 1fr 1fr; }
.sb-auswahl button { display: grid; justify-items: center; gap: .3rem; padding: .7rem .4rem; border: 1px solid var(--rand-2); border-radius: 14px; background: var(--flaeche-2); color: #fff; font: inherit; cursor: pointer; } .sb-auswahl button:hover { border-color: var(--gelb); } .sb-auswahl b { font-size: 1.5rem; } .sb-auswahl small { display: flex; align-items: center; gap: .3rem; color: var(--text-3); font-size: .78rem; }
.sb-menue button { display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem; border: 1px solid var(--rand); border-radius: 14px; background: var(--flaeche); color: #fff; font: 600 1rem 'Exo 2', sans-serif; text-align: left; cursor: pointer; } .sb-menue button i { width: 1.3rem; color: var(--gelb); } .sb-menue button.gefahr { color: #fb7185; } .sb-menue button.gefahr i { color: #fb7185; } .sb-menue button.zweit { justify-content: center; color: var(--text-2); }

/* Ergebnis, Konfetti */
.sb-ergebnis { justify-items: center; text-align: center; } .sb-ergebnis h2 { font-size: 1.6rem; }
.sb-podest { display: flex; align-items: flex-end; justify-content: center; gap: .5rem; width: 100%; margin: .4rem 0 0; padding: 0; list-style: none; }
.sb-podest li { display: grid; justify-items: center; gap: .15rem; flex: 1 1 0; min-width: 0; padding: .8rem .4rem; border-radius: 16px 16px 6px 6px; background: var(--flaeche-2); border-top: 4px solid var(--f); overflow-wrap: anywhere; } .sb-podest span { font-size: 1.9rem; } .sb-podest small { color: var(--text-3); font-size: .76rem; }
.sb-podest .p1 { order: 2; padding-top: 1.6rem; background: linear-gradient(rgba(255, 198, 26, .2), transparent), var(--flaeche-2); } .sb-podest .p2 { order: 1; } .sb-podest .p3 { order: 3; }
.sb-rest { width: 100%; margin: 0; padding-left: 1.6rem; text-align: left; color: var(--text-2); } .sb-rest small { color: var(--text-3); }
.sb-ergebnis .sb-d-fuss { justify-content: center; }
.sb-konfetti { position: fixed; inset: 0; z-index: 9999; pointer-events: none; overflow: hidden; }
.sb-konfetti i { position: absolute; top: -20px; left: var(--x); width: 9px; height: 14px; border-radius: 2px; background: var(--c); opacity: 0; }
.sb-konfetti.los i { animation: sb-fallen var(--d) cubic-bezier(.25, .6, .4, 1) var(--v) forwards; }
@keyframes sb-fallen { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: .9; transform: translateY(105vh) rotate(var(--r)); } }

/* Munchkin */
.sb-mk-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: .8rem; }
.sb-mk { display: grid; gap: .7rem; padding: 1rem; border-radius: 22px; border: 1px solid var(--rand); background: radial-gradient(circle at 50% 0, color-mix(in srgb, var(--f) 18%, transparent), transparent 70%), var(--flaeche); }
.sb-mk.sieg { border-color: var(--gelb); box-shadow: 0 0 0 2px var(--gelb), 0 0 40px -10px var(--gelb); }
.sb-mk-kopf { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.sb-mk-g { width: 34px; height: 34px; border: 1px solid var(--rand-2); border-radius: 10px; background: none; color: var(--text-2); font-size: 1.15rem; cursor: pointer; }
.sb-mk-stufe { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: .6rem; }
.sb-mk-stufe > button { height: 56px; border: 0; border-radius: 16px; background: var(--flaeche-2); color: #fff; font-size: 1.8rem; font-weight: 800; cursor: pointer; touch-action: manipulation; } .sb-mk-stufe > button:last-child { background: var(--f); } .sb-mk-stufe > button:disabled { opacity: .3; }
.sb-mk-ring { display: grid; place-items: center; justify-self: center; width: 110px; height: 110px; border-radius: 50%; background: conic-gradient(var(--f) var(--p), rgba(255, 255, 255, .07) 0); position: relative; }
.sb-mk-ring::before { content: ''; position: absolute; inset: 8px; border-radius: 50%; background: #0e1433; }
.sb-mk-ring b, .sb-mk-ring small { position: relative; grid-area: 1 / 1; } .sb-mk-ring b { margin-top: -10px; font-size: 2.6rem; font-weight: 900; } .sb-mk-ring small { margin-top: 44px; color: var(--text-3); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sb-mk-zeile { display: grid; grid-template-columns: 1fr 36px 3rem 36px; align-items: center; gap: .3rem; color: var(--text-2); font-size: .88rem; }
.sb-mk-zeile button { height: 36px; border: 1px solid var(--rand-2); border-radius: 10px; background: none; color: #fff; font-size: 1.1rem; cursor: pointer; } .sb-mk-zeile b { color: #fff; font-size: 1.1rem; text-align: center; }
.sb-mk-kraft { padding: .5rem .7rem; border-radius: 12px; background: rgba(0, 0, 0, .25); color: var(--text-2); font-size: .9rem; } .sb-mk-kraft i { color: var(--f); } .sb-mk-kraft b { float: right; color: #fff; font-size: 1.15rem; }
.sb-kampf-raster { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem; align-items: stretch; }
.sb-kampf-seite { display: grid; gap: .6rem; align-content: start; padding: .9rem; border-radius: 16px; background: rgba(59, 130, 246, .08); } .sb-kampf-seite.monster { background: rgba(225, 29, 72, .1); }
.sb-kampf-seite label { display: grid; gap: .25rem; color: var(--text-2); font-size: .82rem; } .sb-kampf-seite select { padding: .5rem; border: 1px solid var(--rand-2); border-radius: 10px; background: #0e1433; color: #fff; font: 600 .95rem 'Exo 2', sans-serif; }
.sb-kampf-zahl { margin-top: .2rem; font-size: 2.6rem; font-weight: 900; text-align: center; }
.sb-kampf-gegen { display: grid; place-items: center; align-content: center; gap: .3rem; min-width: 110px; text-align: center; } .sb-kampf-gegen i { font-size: 2rem; } .sb-kampf-gegen small { color: var(--text-3); font-size: .75rem; }
.sb-kampf-gegen.sieg { color: #4ade80; } .sb-kampf-gegen.nieder { color: #fb7185; }
.sb-kampf-fuss { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: 1rem; }
@media (max-width: 640px) { .sb-kampf-raster { grid-template-columns: 1fr; } .sb-kampf-gegen { grid-row: 2; padding: .4rem; } }

/* Kniffel */
.sb-kniffel tbody th small { display: block; color: var(--text-3); font-size: .7rem; font-weight: 500; }
.sb-kniffel td.dran, .sb-kniffel th.dran { background: rgba(255, 198, 26, .06); } .sb-kniffel thead th.dran { color: var(--gelb); }
.sb-kniffel .sb-summe th, .sb-kniffel .sb-summe td { background: rgba(255, 255, 255, .03); color: var(--text-2); font-weight: 700; } .sb-kniffel .sb-summe small { color: var(--text-3); font-weight: 500; font-size: .75rem; }
.sb-kniffel .gesamt td { color: var(--gelb); font-size: 1.25rem; } .sb-kniffel .gesamt th { color: #fff; }
.sb-zelle.vorschlag { color: rgba(255, 198, 26, .75); font-weight: 600; outline: 1px dashed rgba(255, 198, 26, .45); outline-offset: -4px; } .sb-zelle.vorschlag:hover { background: rgba(255, 198, 26, .18); color: var(--gelb); }
.sb-kn-extra { margin-top: .15rem; padding: .1rem .4rem; border: 1px solid var(--rand-2); border-radius: 8px; background: none; color: var(--gelb); font: 700 .7rem 'Exo 2', sans-serif; cursor: pointer; }
.sb-wuerfel { display: grid; justify-items: center; gap: .8rem; text-align: center; }
.sb-wuerfel-reihe { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.sb-w { width: 64px; height: 64px; padding: 8px; border: 0; border-radius: 16px; background: #fff; box-shadow: 0 6px 0 #c9cfe0, 0 12px 24px -10px rgba(0, 0, 0, .6); cursor: pointer; transition: transform .2s var(--feder); } .sb-w.aus { opacity: .25; }
.sb-w.halt { transform: translateY(6px); box-shadow: 0 0 0 4px var(--gelb), 0 2px 0 #c9cfe0; } .sb-w.rollt { animation: sb-rollen .5s var(--feder); } @keyframes sb-rollen { 30% { transform: rotate(-25deg) scale(.85); } 60% { transform: rotate(15deg) scale(1.08); } }
.sb-augen { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); width: 100%; height: 100%; }
.sb-augen i { width: 10px; height: 10px; place-self: center; border-radius: 50%; background: #111; }
.sb-auswahl .sb-augen { width: 18px; height: 18px; padding: 2px; border-radius: 4px; background: #fff; } .sb-auswahl .sb-augen i { width: 3px; height: 3px; }
.a1 i { grid-area: 2 / 2; } .a2 i:nth-child(1) { grid-area: 1 / 1; } .a2 i:nth-child(2) { grid-area: 3 / 3; } .a3 i:nth-child(1) { grid-area: 1 / 1; } .a3 i:nth-child(2) { grid-area: 2 / 2; } .a3 i:nth-child(3) { grid-area: 3 / 3; }
.a4 i:nth-child(1) { grid-area: 1 / 1; } .a4 i:nth-child(2) { grid-area: 1 / 3; } .a4 i:nth-child(3) { grid-area: 3 / 1; } .a4 i:nth-child(4) { grid-area: 3 / 3; }
.a5 i:nth-child(1) { grid-area: 1 / 1; } .a5 i:nth-child(2) { grid-area: 1 / 3; } .a5 i:nth-child(3) { grid-area: 2 / 2; } .a5 i:nth-child(4) { grid-area: 3 / 1; } .a5 i:nth-child(5) { grid-area: 3 / 3; }
.a6 i:nth-child(1) { grid-area: 1 / 1; } .a6 i:nth-child(2) { grid-area: 2 / 1; } .a6 i:nth-child(3) { grid-area: 3 / 1; } .a6 i:nth-child(4) { grid-area: 1 / 3; } .a6 i:nth-child(5) { grid-area: 2 / 3; } .a6 i:nth-child(6) { grid-area: 3 / 3; }
.sb-wuerfel-fuss { display: grid; justify-items: center; gap: .3rem; } .sb-wuerfel-fuss small { color: var(--text-3); }

/* Wizard */
.sb-wiz-runde { display: grid; gap: 1rem; }
.sb-wiz-kopf { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; text-align: center; }
.sb-wiz-kopf div { display: grid; padding: .6rem; border-radius: 14px; background: rgba(99, 102, 241, .12); } .sb-wiz-kopf small { color: var(--text-3); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; } .sb-wiz-kopf b { font-size: 1.8rem; } .sb-wiz-kopf b span { color: var(--text-3); font-size: .9rem; } .sb-klein-name { font-size: 1.1rem !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sb-wiz-phasen { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; } .sb-wiz-phasen span { padding: .45rem; border-radius: 10px; background: var(--flaeche-2); color: var(--text-3); font-weight: 700; text-align: center; } .sb-wiz-phasen .aktiv { background: #6366f1; color: #fff; } .sb-wiz-phasen .fertig { color: #4ade80; }
.sb-wiz-eingabe { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.sb-wiz-eingabe li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 3.5rem; align-items: center; gap: .6rem; padding: .45rem .55rem .45rem .8rem; border-radius: 14px; background: var(--flaeche-2); border-left: 4px solid var(--f); }
.sb-wiz-ansage { color: var(--text-3); font-size: .78rem; }
.sb-stepper { display: inline-flex; align-items: center; gap: .2rem; } .sb-stepper button { width: 44px; height: 44px; border: 0; border-radius: 12px; background: #0e1433; color: #fff; font-size: 1.4rem; font-weight: 800; cursor: pointer; touch-action: manipulation; } .sb-stepper button:disabled { opacity: .3; }
.sb-stepper output { min-width: 2.6rem; font-size: 1.6rem; font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; } .sb-stepper output.leer { color: var(--text-3); } .sb-stepper output.verboten { color: #fb7185; text-decoration: line-through; }
.sb-wiz-vorschau { font-weight: 800; text-align: right; } .sb-wiz-vorschau.gut { color: #4ade80; } .sb-wiz-vorschau.schlecht { color: #fb7185; }
.sb-wiz-info { margin: 0; color: var(--text-2); text-align: center; } .sb-wiz-info.warn { color: #fbbf24; }
.sb-wiz-zelle { display: grid; line-height: 1.15; } .sb-wiz-zelle small { font-size: .72rem; color: var(--text-3); } .sb-wiz-zelle.gut small { color: #4ade80; } .sb-wiz-zelle.schlecht small { color: #fb7185; }
.sb-wiz td { padding: .45rem; }
@media (max-width: 520px) { .sb-wiz-eingabe li { grid-template-columns: minmax(0, 1fr) auto; } .sb-wiz-ansage { grid-row: 2; } .sb-wiz-vorschau { grid-row: 2; } }

/* Phase 10 */
.sb-ph-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .7rem; }
.sb-ph { display: grid; gap: .5rem; padding: 1rem; border-radius: 20px; background: var(--flaeche); border: 1px solid var(--rand); border-top: 4px solid var(--f); }
.sb-ph-zahl { display: flex; align-items: baseline; gap: .4rem; } .sb-ph-zahl small { color: var(--text-3); } .sb-ph-zahl b { font-size: 2.6rem; font-weight: 900; } .sb-ph-zahl span { color: #4ade80; font-size: 1.4rem; }
.sb-ph p { margin: 0; color: var(--text-2); font-size: .9rem; min-height: 2.6em; }
.sb-ph-leiste { display: grid; grid-template-columns: repeat(10, 1fr); gap: 3px; } .sb-ph-leiste i { height: 7px; border-radius: 4px; background: var(--flaeche-2); } .sb-ph-leiste .fertig { background: var(--f); } .sb-ph-leiste .jetzt { background: color-mix(in srgb, var(--f) 45%, transparent); animation: tu-puls 1.6s infinite; }
@keyframes tu-puls { 50% { opacity: .4; } }
.sb-ph-pkt { color: var(--text-3); }
.sb-phasen-liste summary { font-weight: 700; cursor: pointer; } .sb-phasen-liste ol { margin: .6rem 0 0; color: var(--text-2); line-height: 1.8; }
.sb-ph-eingabe { display: grid; gap: .45rem; margin: 0; padding: 0; list-style: none; }
.sb-ph-eingabe li { display: grid; grid-template-columns: minmax(0, 1fr) auto 5.5rem; grid-template-rows: auto auto; align-items: center; column-gap: .6rem; padding: .5rem .7rem; border-radius: 14px; background: var(--flaeche); border-left: 4px solid var(--f); }
.sb-ph-eingabe li > small { grid-column: 1; color: var(--text-3); font-size: .75rem; } .sb-ph-eingabe .sb-haken { grid-row: 1 / 3; grid-column: 2; } .sb-ph-eingabe input[type=number] { grid-row: 1 / 3; grid-column: 3; width: 100%; padding: .55rem; border: 1px solid var(--rand-2); border-radius: 10px; background: rgba(0, 0, 0, .3); color: #fff; font: 700 1.1rem 'Exo 2', sans-serif; text-align: center; }
.sb-haken { display: inline-flex; align-items: center; gap: .35rem; font-size: .85rem; cursor: pointer; } .sb-haken input { width: 22px; height: 22px; accent-color: #22c55e; }

/* Qwixx */
.sb-qw-reiter { display: flex; gap: .35rem; overflow-x: auto; }
.sb-qw-reiter button { flex: none; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem .9rem; border: 1px solid var(--rand-2); border-bottom: 3px solid var(--f); border-radius: 12px; background: var(--flaeche); color: var(--text-2); font: 600 .95rem 'Exo 2', sans-serif; cursor: pointer; } .sb-qw-reiter button[aria-pressed="true"] { background: #fff; color: #111; }
.sb-qw-blatt { display: grid; gap: .4rem; padding: clamp(.6rem, 2vw, 1.1rem); border-radius: 20px; background: #f8fafc; color: #111; }
.sb-qw-reihe { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)) 1.1fr; gap: .25rem; padding: .35rem; border-radius: 12px; background: var(--q); }
.sb-qw-reihe.zu { filter: grayscale(.6) brightness(.85); }
.sb-qw-feld { aspect-ratio: 1; min-width: 0; border: 0; border-radius: 8px; background: rgba(255, 255, 255, .88); color: var(--q); font: 800 clamp(.8rem, 2.6vw, 1.25rem) 'Exo 2', sans-serif; cursor: pointer; position: relative; padding: 0; }
.sb-qw-feld.an::after { content: '✕'; position: absolute; inset: 0; display: grid; place-items: center; color: #111; font-size: 1.7em; font-weight: 900; }
.sb-qw-feld.weg { opacity: .35; cursor: default; }
.sb-qw-schloss { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .88); color: var(--q); font-size: clamp(.8rem, 2.4vw, 1.1rem); } .sb-qw-schloss.an { background: #111; color: #fff; }
.sb-qw-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem; margin-top: .4rem; }
.sb-qw-fehl { display: flex; align-items: center; gap: .3rem; font-weight: 700; } .sb-qw-fehl span { margin-right: .3rem; color: #475569; font-size: .85rem; }
.sb-qw-fehl button { width: 34px; height: 34px; border: 2px solid #94a3b8; border-radius: 8px; background: #fff; color: #111; font-size: 1.1rem; font-weight: 900; cursor: pointer; } .sb-qw-fehl button.an { border-color: #111; }
.sb-qw-summe { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; font-weight: 800; } .sb-qw-summe span { min-width: 2.4rem; padding: .3rem .4rem; border: 2px solid var(--q, #475569); border-radius: 8px; text-align: center; } .sb-qw-summe span.fehl { --q: #475569; } .sb-qw-summe i { color: #475569; font-style: normal; } .sb-qw-summe b { min-width: 3rem; padding: .3rem .5rem; border-radius: 8px; background: #111; color: #fff; text-align: center; }

/* Darts */
.sb-da-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: .7rem; }
.sb-da { display: grid; gap: .3rem; padding: 1rem; border-radius: 20px; background: var(--flaeche); border: 1px solid var(--rand); } .sb-da.dran { border-color: var(--f); box-shadow: 0 0 0 2px var(--f); } .sb-da.sieg { border-color: var(--gelb); }
.sb-da-rest { font-size: 3rem; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; } .sb-da small { color: var(--text-3); }
.sb-da-letzte { display: flex; flex-wrap: wrap; gap: .25rem; } .sb-da-letzte span { padding: .1rem .45rem; border-radius: 7px; background: var(--flaeche-2); font-size: .82rem; font-weight: 700; } .sb-da-letzte .bust { color: #fb7185; text-decoration: line-through; }
.sb-da-check { color: var(--gelb) !important; font-weight: 700; }

/* Zähler */
.sb-zl-raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: .8rem; }
.sb-zl-raster.zwei { grid-template-columns: 1fr; }
.sb-zl { display: grid; justify-items: center; gap: .4rem; padding: 1rem; border-radius: 24px; background: radial-gradient(circle at 50% 30%, color-mix(in srgb, var(--f) 30%, transparent), transparent 70%), var(--flaeche); border: 1px solid var(--rand); }
.sb-zl.gedreht { transform: rotate(180deg); } .sb-zl.null .sb-zl-zahl { color: #fb7185; }
.sb-zl-zahl { border: 0; background: none; color: #fff; font: 900 clamp(4rem, 16vw, 7.5rem)/1 'Exo 2', sans-serif; font-variant-numeric: tabular-nums; cursor: pointer; }
.sb-zl-knoepfe { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; width: 100%; } .sb-zl-knoepfe button { height: 56px; border: 0; border-radius: 16px; background: var(--flaeche-2); color: #fff; font: 800 1.3rem 'Exo 2', sans-serif; cursor: pointer; touch-action: manipulation; } .sb-zl-knoepfe button:nth-child(n+3) { background: color-mix(in srgb, var(--f) 55%, #0e1433); }
.sb-zl-log summary { font-weight: 700; cursor: pointer; } .sb-zl-log ol { display: grid; gap: .2rem; margin: .6rem 0 0; padding: 0; list-style: none; max-height: 260px; overflow: auto; } .sb-zl-log li { display: flex; gap: .4rem; color: var(--text-2); font-size: .88rem; } .sb-zl-log small { margin-left: auto; color: var(--text-3); }

/* Uhr */
.sb-uhr { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: .7rem; }
.sb-uhr.zwei { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; height: min(72vh, 640px); }
.sb-uhr-feld { display: grid; place-items: center; align-content: center; gap: .3rem; min-height: 170px; padding: 1rem; border: 2px solid var(--rand); border-radius: 26px; background: var(--flaeche); color: var(--text-2); font: inherit; cursor: pointer; touch-action: manipulation; transition: background .2s, border-color .2s; }
.sb-uhr-feld.gedreht { transform: rotate(180deg); }
.sb-uhr-feld b { font-size: clamp(3.4rem, 13vw, 7rem); font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.sb-uhr-name { font-weight: 700; } .sb-uhr-feld small { color: var(--text-3); }
.sb-uhr-feld.dran { border-color: var(--f); background: radial-gradient(circle, color-mix(in srgb, var(--f) 40%, transparent), transparent 75%), var(--flaeche); }
.sb-uhr-feld.knapp b { color: #fb7185; animation: tu-puls 1s infinite; }
.sb-uhr-feld.aus { border-color: #e11d48; background: rgba(225, 29, 72, .25); } .sb-uhr-feld.aus b { color: #fb7185; }
.sb-uhr-mitte { display: flex; justify-content: center; gap: .6rem; }
.sb-uhr.zwei .sb-uhr-mitte { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.sb-uhr:not(.zwei) .sb-uhr-mitte { grid-column: 1 / -1; }
.sb-vollbreit .sb-spiel { max-width: 900px; margin: 0 auto; width: 100%; }
@media (prefers-reduced-motion: reduce) { .sb-konfetti { display: none; } }
