/* ── pill buttons ────────────────────────────────────────────────────────── */

.pk-pills {
  display: flex;
  gap: 0.4rem;
  margin: 0.5rem 0 1rem;
}

.pk-pill {
  font-family: inherit;
  font-size: 0.84rem;
  padding: 0.38rem 1.3rem;
  border-radius: 20px;
  border: 1.5px solid #e0e0e0;
  background: #fff;
  color: #666;
  cursor: pointer;
  transition: background .12s, border-color .12s, color .12s;
}

.pk-pill:hover:not(.pk-pill-active) { background: #f5f5f5; }

.pk-pill-active {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

/* ── chapter list ────────────────────────────────────────────────────────── */

.pk-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 400px;
}

.pk-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-inline-end: 0.75rem;
  border: 1px solid #efefef;
  border-radius: 7px;
  background: #fff;
  transition: border-color .1s;
}

.pk-row:hover { border-color: #d4d4d4; }

.pk-row.pk-done {
  background: #fafafa;
}

.pk-row-link {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 0.9rem;
}

.pk-name  { flex: 1; white-space: nowrap; }

.pk-check {
  font-size: 0.78rem;
  color: #888;
  flex-shrink: 0;
}

.pk-score {
  font-size: 0.78rem;
  color: #aaa;
  flex-shrink: 0;
}

/* ── simulations list ────────────────────────────────────────────────────── */

.simul-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-top: 0.5rem;
  max-width: 400px;
}

.simul-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 7px;
  border: 1px solid #efefef;
  background: #fff;
  transition: border-color .1s;
}

.simul-row:hover { border-color: #d4d4d4; }

.simul-done {
  background: #fafafa;
}

.simul-title {
  flex: 1;
  text-decoration: none;
  font-size: 0.9rem;
  color: #1a1a1a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.simul-check { font-size: 0.78rem; color: #888; }

.simul-btn {
  font-family: inherit;
  font-size: 0.78rem;
  padding: 0.25rem 0.75rem;
  border-radius: 5px;
  border: 1.5px solid #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity .12s;
}

.simul-btn:hover { opacity: .8; }

.simul-btn-ghost {
  background: transparent;
  color: #555;
  border-color: #ccc;
}

.simul-btn-ghost:hover { background: #f5f5f5; opacity: 1; }

/* ── tikhkor button (chapters + simulations) ────────────────────────────────── */

.pk-tk-btn {
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 6px;
  border: none;
  background: #1a1a1a;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.pk-tk-btn:hover { background: #333; }

.pk-tk-btn-resume {
  background: transparent;
  color: #555;
  font-weight: 400;
}

.pk-tk-btn-resume:hover { color: #1a1a1a; background: transparent; }
