/* rueckseite.css — Strichliste, Teamaufstellung, Rangliste, Einstellungen.
   Gleiche Schiefertafel-Hülle wie die Vorderseite. */

.rueckseite {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ---------- Strichliste ---------- */
.strichliste-block {
  flex: none;
  padding: 20px 34px 4px;
}
.strichliste-block--b {
  transform: rotate(180deg);
}
.strichliste-block--a {
  margin-top: auto;
  padding-top: 8px;
}
.strichliste-titel {
  font: 500 13px/1 var(--font-cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 232, 220, 0.5);
  padding-bottom: 8px;
}

.strichliste {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border: 2px solid var(--kreide-linie);
}
.strichliste__h {
  padding: 9px 10px;
  border-right: 1px solid rgba(233, 232, 220, 0.3);
  border-bottom: 1px solid var(--kreide-linie);
  font: 500 14px/1 var(--font-cond);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--kreide-linie);
}
.strichliste__h:nth-child(5) {
  border-right: none;
}
.strichliste__cell {
  padding: 12px 10px;
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid rgba(233, 232, 220, 0.3);
  border-right: 1px solid rgba(233, 232, 220, 0.3);
}
.strichliste__cell:last-child {
  border-right: none;
}
.strichliste__cell.is-tapbar {
  cursor: pointer;
}
.strichliste__cell.is-tapbar:active {
  background: rgba(233, 232, 220, 0.08);
}
.strichliste__cell .strich {
  height: 32px;
}
.strichliste__cell .gruppe {
  gap: 7px;
}
.strichliste__cell .querstrich {
  left: -6px;
  width: calc(100% + 12px);
}

/* ---------- Teamaufstellung + Rangliste ---------- */
.teams-rangliste {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 30px;
  padding: 14px 34px 16px;
}

.teamaufstellung {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.roster-row {
  display: grid;
  grid-template-columns: 46px 1fr 46px;
  gap: 14px;
  align-items: center;
}
.roster-head {
  padding-bottom: 9px;
  font: 500 13px/1 var(--font-cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 232, 220, 0.55);
}
.roster-head span:last-child {
  text-align: right;
}
.roster-row + .roster-row,
.teamaufstellung .roster-row:not(.roster-head) {
  border-top: 1px solid rgba(233, 232, 220, 0.16);
}
.roster-pick {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.roster-box {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(233, 232, 220, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  color: var(--kreide);
}
.roster-pick.is-set .roster-box {
  background: var(--akzent);
  border-color: var(--akzent);
  color: var(--papier);
}
.roster-name {
  font: 600 25px/1 var(--font-cond);
  color: var(--kreide);
}
.roster-name.is-frei {
  color: rgba(233, 232, 220, 0.5);
}
.roster-gast {
  width: 100%;
  height: 40px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(233, 232, 220, 0.3);
  font: 600 25px/1 var(--font-cond);
  color: var(--kreide);
  padding: 0 2px;
}
.roster-gast:focus {
  outline: 2px solid var(--akzent);
  outline-offset: 1px;
}

.rangliste {
  width: 250px;
  flex: none;
  border-left: 1px solid rgba(233, 232, 220, 0.22);
  padding-left: 26px;
  display: flex;
  flex-direction: column;
}
.rangliste-titel {
  padding-bottom: 9px;
  font: 500 13px/1 var(--font-cond);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(233, 232, 220, 0.55);
}
.rang-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 6px 0;
  border-top: 1px solid rgba(233, 232, 220, 0.16);
}
.rang-nr {
  width: 22px;
  font: 600 22px/1 var(--font-cond);
  color: rgba(233, 232, 220, 0.55);
}
.rang-name {
  font: 600 25px/1 var(--font-cond);
  color: var(--kreide);
}
.rang-striche {
  margin-left: auto;
  font: 600 25px/1 var(--font-cond);
  color: var(--kreide);
}

/* ---------- Bedienleiste Rückseite ---------- */
.bedienleiste--back .punktezeile__row {
  justify-content: flex-start;
}
.ziel-feld {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: none;
}
.ziel-feld span {
  font: italic 600 19px/1 var(--font-cond);
  color: var(--kreide);
}
.ziel-input {
  width: 104px;
  height: 56px;
  border: 1px solid var(--hairline-stark);
  background: var(--kreide);
  color: var(--leiste-grund);
  font: 600 26px/1 var(--font-cond);
  text-align: center;
  padding: 0 8px;
}

/* ---------- Einstellungen ---------- */
.einstellungen {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 22px 34px 20px;
}
.einstellung-row {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  cursor: pointer;
}
.einstellung-row .roster-pick {
  flex: none;
}
.einstellung-label {
  font: 600 26px/1 var(--font-cond);
  color: var(--kreide);
}
