@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Fraunces";
  src: url("fonts/Fraunces-Italic.ttf") format("truetype");
  font-weight: 100 900;
  font-style: italic;
  font-display: block;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: block;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("fonts/PlusJakartaSans-Italic.ttf") format("truetype");
  font-weight: 200 800;
  font-style: italic;
  font-display: block;
}

:root {
  --cream: #F3EDE1;
  --cream-2: #EBE3D4;
  --ivory: #FFFCF6;
  --ivory-2: #F7F1E6;
  --ink: #1C1916;
  --ink-2: #3A352F;
  --muted: #6F6A62;
  --muted-2: #8A8378;
  --line: #E2DAD0;
  --line-2: #D4CBBE;
  --red: #C7352E;
  --red-soft: #F6E4E2;
  --blue: #1F4E8C;
  --blue-soft: #E3EAF4;
  --black: #242220;
  --black-soft: #E8E6E2;
  --amber: #E09112;
  --amber-soft: #F8EBD2;
  --green: #3B6D4A;
  --shadow: 0 1px 2px rgba(28, 25, 22, 0.05), 0 8px 24px rgba(28, 25, 22, 0.06);
  --shadow-sm: 0 1px 2px rgba(28, 25, 22, 0.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 390px;
  height: 844px;
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body { font-feature-settings: "ss01" on, "cv01" on; }

.phone {
  width: 390px;
  height: 844px;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 420px at 50% -80px, #FFF9F0 0%, transparent 70%),
    var(--cream);
  position: relative;
}

.stripe {
  height: 4px;
  flex-shrink: 0;
  background: linear-gradient(90deg,
    var(--red) 0 25%,
    var(--blue) 25% 50%,
    var(--black) 50% 75%,
    var(--amber) 75% 100%);
}

/* Status bar */
.status {
  height: 48px;
  padding: 14px 26px 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.status .icons { display: flex; align-items: center; gap: 6px; }
.status svg { display: block; }

/* App header */
.appbar {
  padding: 6px 20px 8px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-shrink: 0;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}
.wordmark {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 600;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand-sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.01em;
  margin-top: 5px;
}
.sync {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px 6px 8px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  margin-top: 4px;
}
.sync .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3B6D4A;
  box-shadow: 0 0 0 3px rgba(59, 109, 74, 0.16);
  flex-shrink: 0;
}
.sync-txt {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.sync-txt b {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--ink);
}
.sync-txt span {
  font-size: 9px;
  color: var(--muted);
  font-weight: 500;
}

/* Meta / sample data */
.meta {
  padding: 0 20px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-shrink: 0;
}
.avatars {
  display: flex;
  align-items: center;
}
.avatars .tile {
  margin-right: -8px;
  box-shadow: 0 0 0 2px var(--cream), var(--shadow-sm);
}
.avatars .count {
  margin-left: 14px;
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 550;
  white-space: nowrap;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--amber-soft);
  color: #8A5A08;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.02em;
  padding: 4px 8px;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Tiles */
.tile {
  width: 28px;
  height: 36px;
  border-radius: 4px;
  background: linear-gradient(180deg, #FFFEFA 0%, #F3ECDD 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    inset 0 0 0 1px rgba(28,25,22,0.08),
    0 1px 2px rgba(28,25,22,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fraunces", serif;
  font-weight: 620;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  position: relative;
}
.tile.lg {
  width: 42px;
  height: 54px;
  border-radius: 6px;
  font-size: 26px;
}
.tile.xl {
  width: 48px;
  height: 62px;
  border-radius: 7px;
  font-size: 30px;
}
.tile.c-red { color: var(--red); }
.tile.c-blue { color: var(--blue); }
.tile.c-black { color: var(--black); }
.tile.c-amber { color: var(--amber); }

.content {
  flex: 1;
  padding: 4px 20px 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.section-h {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 4px 0 10px;
}
.section-h h2 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-h span {
  font-size: 11.5px;
  color: var(--muted-2);
  font-weight: 500;
}

/* Hero / ranks */
.hero {
  background: var(--ivory);
  border-radius: 20px;
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.8);
  display: flex;
  gap: 14px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.hero-body { flex: 1; min-width: 0; }
.kicker {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 3px;
}
.hero .name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.placeholder {
  font-size: 10.5px;
  font-weight: 550;
  color: var(--muted-2);
  margin-top: 2px;
}
.hero-stats {
  display: flex;
  gap: 14px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}
.stat b {
  display: block;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat small {
  font-size: 10px;
  color: var(--muted);
  font-weight: 550;
}
.wins-badge {
  text-align: right;
  flex-shrink: 0;
}
.wins-badge .num {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.wins-badge .lbl {
  font-size: 10.5px;
  font-weight: 650;
  color: var(--muted);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.ranks { display: flex; flex-direction: column; gap: 8px; }
.rank {
  background: var(--ivory);
  border-radius: 16px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  min-height: 72px;
}
.rank-n {
  width: 18px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  color: var(--muted-2);
  flex-shrink: 0;
}
.rank-info { flex: 1; min-width: 0; }
.rank-info .name {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.rank-info .sub {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rank-wins {
  text-align: right;
  flex-shrink: 0;
}
.rank-wins .num {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  line-height: 1;
}
.rank-wins .lbl {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 1px;
}

.note {
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--muted);
  font-weight: 500;
  padding: 0 2px;
}

/* Dock / CTA / tabs */
.dock {
  flex-shrink: 0;
  padding: 10px 20px 0;
  background: linear-gradient(180deg, rgba(243,237,225,0) 0%, var(--cream) 18%);
}
.cta {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #F7F1E6;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(28,25,22,0.22);
}
.cta svg { display: block; }
.cta.amber {
  background: var(--ink);
}

.tabs {
  height: 78px;
  display: flex;
  align-items: flex-start;
  justify-content: space-around;
  padding: 8px 8px 0;
  position: relative;
}
.tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--muted-2);
  font-size: 10.5px;
  font-weight: 600;
  padding-top: 4px;
}
.tab.active { color: var(--ink); }
.tab svg { display: block; }
.home-ind {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 128px;
  height: 5px;
  background: var(--ink);
  border-radius: 99px;
  opacity: 0.85;
}

/* ========== Erfassen ========== */
.sheet-bar {
  padding: 4px 16px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--ivory);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.sheet-bar h1 {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  text-align: center;
}
.date-row {
  margin: 4px 0 16px;
  background: var(--ivory);
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.7);
  box-shadow: var(--shadow-sm);
  min-height: 52px;
}
.date-row .when {
  font-size: 14.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.date-row .hint {
  font-size: 11.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.q {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  margin: 2px 0 12px;
}
.chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 18px;
}
.chip {
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: 16px;
  min-height: 72px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
}
.chip.selected {
  border-color: var(--red);
  background: #FBF6F0;
  box-shadow: 0 0 0 3px rgba(199, 53, 46, 0.14), var(--shadow-sm);
}
.chip.selected.p-bruno { border-color: var(--red); box-shadow: 0 0 0 3px rgba(199,53,46,0.14), var(--shadow-sm); }
.chip.selected.p-anna { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31,78,140,0.14), var(--shadow-sm); }
.chip.selected.p-max { border-color: var(--black); box-shadow: 0 0 0 3px rgba(36,34,32,0.12), var(--shadow-sm); }
.chip.selected.p-lisa { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(224,145,18,0.18), var(--shadow-sm); }
.chip .who { flex: 1; min-width: 0; }
.chip .who .name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.chip .who .sub {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}
.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chip.selected.p-bruno .check { background: var(--red); }
.chip.selected.p-anna .check { background: var(--blue); }
.empty-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--line-2);
  flex-shrink: 0;
}

.losers { display: flex; flex-direction: column; gap: 8px; }
.loser {
  background: var(--ivory);
  border-radius: 16px;
  padding: 8px 8px 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
}
.loser .who { flex: 1; min-width: 0; }
.loser .who .name {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.loser .who .sub {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
}
.stepper {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cream-2);
  border: 0;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
}
.points {
  width: 52px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.points .minus-sign {
  font-size: 18px;
  color: var(--muted);
  margin-right: 1px;
}

.summary {
  margin-top: 12px;
  padding: 10px 2px 0;
  font-size: 12px;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.45;
}
.summary b { color: var(--ink); font-weight: 650; }

.save-wrap {
  flex-shrink: 0;
  padding: 12px 20px 0;
}
.save {
  width: 100%;
  height: 56px;
  border: 0;
  border-radius: 16px;
  background: var(--ink);
  color: #F7F1E6;
  font-family: inherit;
  font-size: 16.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(28,25,22,0.22);
}
.home-space {
  height: 26px;
  flex-shrink: 0;
  position: relative;
}

/* ========== Statistik ========== */
.chart-card {
  background: var(--ivory);
  border-radius: 18px;
  padding: 12px 12px 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  margin-bottom: 8px;
}
.chart-card svg {
  width: 100%;
  height: auto;
  display: block;
}
.chart-card h3 {
  font-size: 13.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 2px;
}
.chart-card .caption {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 4px;
}
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 2px;
  padding-top: 4px;
}
.legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--ink-2);
}
.swatch {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  flex-shrink: 0;
}

.bars { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.bar-row { display: flex; align-items: center; gap: 8px; }
.bar-row .lab {
  width: 48px;
  font-size: 12px;
  font-weight: 650;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.bar-track {
  flex: 1;
  height: 14px;
  background: var(--cream-2);
  border-radius: 99px;
  overflow: hidden;
  min-width: 0;
}
.bar-fill {
  height: 100%;
  border-radius: 99px;
}
.bar-val {
  width: 42px;
  text-align: right;
  font-size: 12px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  flex-shrink: 0;
}

.kpi-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 6px;
}
.kpi {
  background: var(--ivory);
  border-radius: 16px;
  padding: 10px 12px 9px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  min-height: 0;
}
.kpi .lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.kpi .val {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.kpi .sub {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 2px;
}

.games { display: flex; flex-direction: column; gap: 6px; }
.game {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 2px;
  border-bottom: 1px solid var(--line);
}
.game:last-child { border-bottom: 0; padding-bottom: 2px; }
.game .g-date {
  width: 42px;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  line-height: 1.2;
}
.game .g-body { flex: 1; min-width: 0; }
.game .g-body .g-win {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.game .g-body .g-sub {
  font-size: 10.5px;
  color: var(--muted);
  font-weight: 500;
  margin-top: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Page titles used in statistik */
.page-title {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 28px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 2px;
}

.appbar.compact { padding: 2px 20px 4px; }
.content.with-tabs { padding-bottom: 4px; }

/* ========== 4-tab bar ========== */
.tabs { padding: 8px 0 0; }
.tab { font-size: 10px; }

/* ========== Erfassen: who plays ========== */
.q-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin: 2px 0 10px;
}
.q-row .q { margin: 0; }
.q-meta {
  font-size: 11px;
  font-weight: 650;
  color: var(--muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.play-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}
.play-pick {
  background: var(--ivory);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 8px 4px 7px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-height: 96px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.play-pick.on {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 25, 22, 0.08), var(--shadow-sm);
}
.play-pick.off {
  background: transparent;
  border-style: dashed;
  box-shadow: none;
  opacity: 0.72;
}
.play-pick .pn {
  font-size: 11.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.play-pick .ph {
  font-size: 9px;
  font-weight: 550;
  color: var(--muted);
  line-height: 1.2;
}
.play-pick .tick {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: #F7F1E6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  flex-shrink: 0;
}
.play-pick .out {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 1px;
  line-height: 1.2;
}

.chips.three {
  grid-template-columns: 1fr 1fr 1fr;
  margin-bottom: 14px;
}
.chips.three .chip {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 10px 6px 8px;
  min-height: 102px;
  gap: 5px;
  position: relative;
}
.chips.three .chip .who { flex: none; }
.chips.three .chip .check,
.chips.three .chip .empty-check {
  position: absolute;
  top: 8px;
  right: 8px;
}

.date-row { margin: 2px 0 12px; }

/* ========== Spieler settings ========== */
.info-card {
  background: var(--ivory);
  border-radius: 16px;
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.info-card .info-ico {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--amber-soft);
  color: #8A5A08;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.info-card p {
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  color: var(--ink-2);
}
.info-card b { font-weight: 700; color: var(--ink); }

.plist { display: flex; flex-direction: column; gap: 8px; }
.prow {
  background: var(--ivory);
  border-radius: 16px;
  padding: 10px 8px 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255,255,255,0.7);
  min-height: 80px;
}
.pinfo { flex: 1; min-width: 0; }
.pinfo .name {
  font-size: 15.5px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.swatches {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
}
.sw {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(28,25,22,0.12);
  flex-shrink: 0;
  display: block;
}
.sw.red { background: var(--red); }
.sw.blue { background: var(--blue); }
.sw.black { background: var(--black); }
.sw.amber { background: var(--amber); }
.sw.on {
  box-shadow: 0 0 0 2px var(--ivory), 0 0 0 3.5px currentColor;
}
.sw.red.on { color: var(--red); }
.sw.blue.on { color: var(--blue); }
.sw.black.on { color: var(--black); }
.sw.amber.on { color: var(--amber); }

.p-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.icon-btn.sm {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: none;
}

.add-player {
  width: 100%;
  min-height: 52px;
  margin-top: 10px;
  border: 1.5px dashed var(--line-2);
  border-radius: 16px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.section-h h2.named {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 12px;
}

/* ========== Fix-Starter ========== */
.fix-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-top: 3px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #8A5A08;
  background: var(--amber-soft);
  padding: 2px 7px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}
.fix-badge svg { display: block; flex-shrink: 0; }
.name-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.name-row .name { margin: 0; }

.play-pick.fix {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(28, 25, 22, 0.08), var(--shadow-sm);
}
.play-pick .fix-lbl {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8A5A08;
  background: var(--amber-soft);
  padding: 2px 6px;
  border-radius: 999px;
  margin-top: 1px;
  line-height: 1.2;
}
.play-pick .fix-lbl svg { display: block; }

.bar-row .lab { width: 58px; }
