:root {
  --paper: #f4efe2;
  --card: #fff8e8;
  --card-border: #eadfc8;
  --ink: #1b2430;
  --muted: #6e6658;
  --accent: #1b2430;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: Manrope, sans-serif;
  background: var(--paper);
  color: var(--ink);
}

.app {
  width: min(420px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 64px;
}

h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.04em;
}

.kicker,
.sub {
  margin: 0;
  color: var(--muted);
}

.kicker {
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sub {
  margin-top: 8px;
  font-size: 0.95rem;
}

.caption {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}

.actions {
  position: sticky;
  top: 0;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 8px;
  margin: 22px 0 18px;
  padding: 12px 0;
  background: var(--paper);
}

button {
  font: inherit;
  font-weight: 800;
  border-radius: 14px;
  cursor: pointer;
}

button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.make {
  border: 0;
  background: var(--accent);
  color: #fff8e8;
  padding: 14px 16px;
}

.ghost {
  border: 1px solid var(--card-border);
  background: transparent;
  color: var(--ink);
  padding: 14px 12px;
}

.teams {
  display: grid;
  gap: 22px;
}

.combo {
  display: grid;
  gap: 10px;
}

.combo-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycle-break {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 8px 0 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cycle-break::before,
.cycle-break::after {
  content: "";
  flex: 1;
  height: 2px;
  background: var(--ink);
  opacity: 0.18;
}

.cycle-break span {
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 999px;
  background: #ffe566;
  color: #1b2430;
  box-shadow: 0 0 0 3px rgba(255, 229, 102, 0.35);
}

.empty {
  padding: 28px 18px;
  border: 1px dashed var(--card-border);
  border-radius: 16px;
  color: var(--muted);
  text-align: center;
}

.team {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 14px;
  font-size: 1.15rem;
  font-weight: 800;
}

.team.frontend {
  background: #fff;
}
